diff --git a/src/flightdeck/server/static/assets/index-BKz6lCHf.css b/src/flightdeck/server/static/assets/index-BKz6lCHf.css deleted file mode 100644 index 39eecb6..0000000 --- a/src/flightdeck/server/static/assets/index-BKz6lCHf.css +++ /dev/null @@ -1 +0,0 @@ -:root{color-scheme:light;--fd-bg: #f3f4f6;--fd-surface: #ffffff;--fd-surface-2: #f8f9fb;--fd-border: #dfe3e8;--fd-border-strong: #c4c9d1;--fd-text: #171a1f;--fd-muted: #525a63;--fd-accent: #0d6efd;--fd-accent-hover: #0b5ed7;--fd-pass-bg: #e8f5e9;--fd-pass-fg: #1b5e20;--fd-fail-bg: #ffebee;--fd-fail-fg: #b71c1c;--fd-radius: 10px;--fd-radius-sm: 6px;--fd-shadow: 0 1px 2px rgba(15, 23, 42, .06);--fd-font: "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, sans-serif;--fd-mono: ui-monospace, "Cascadia Code", "Consolas", monospace;--fd-focus-ring: 0 0 0 2px var(--fd-surface), 0 0 0 4px rgba(13, 110, 253, .45);--fd-type-page-title: 1.375rem;--fd-type-page-title--lh: 1.25;--fd-type-page-sub: .9375rem;--fd-type-page-sub--lh: 1.45;--fd-type-card-title: 1.0625rem;--fd-type-card-title--lh: 1.3;--fd-type-table: .875rem;--fd-type-table--lh: 1.45;--fd-type-table-head: .75rem;--fd-sidebar-width: 15.5rem;font-family:var(--fd-font);line-height:1.5;color:var(--fd-text);background:var(--fd-bg)}*,*:before,*:after{box-sizing:border-box}body{margin:0;min-height:100vh}.fd-shell{position:relative;min-height:100vh;display:flex;flex-direction:row;align-items:stretch}.fd-sidebar{position:sticky;top:0;align-self:flex-start;flex:0 0 var(--fd-sidebar-width);width:var(--fd-sidebar-width);max-width:100%;height:100vh;max-height:100vh;overflow-x:hidden;overflow-y:auto;display:flex;flex-direction:column;gap:1.15rem;padding:1.1rem .75rem 1.5rem;background:var(--fd-surface);border-right:1px solid var(--fd-border);box-shadow:1px 0 #0f172a0a}.fd-sidebar__brand{min-width:0;padding:0 .35rem}.fd-sidebar__title{margin:0;font-size:1.125rem;font-weight:700;letter-spacing:-.02em;line-height:1.2}.fd-sidebar__tagline{margin:.35rem 0 0;font-size:.75rem;line-height:1.35;color:var(--fd-muted)}.fd-sidebar__nav{display:flex;flex-direction:column;gap:.12rem;flex:1;min-height:0}.fd-shell__content{flex:1;min-width:0;display:flex;flex-direction:column;background:var(--fd-bg)}.fd-nav__link{display:block;width:100%;padding:.5rem .75rem;border-radius:var(--fd-radius-sm);font-size:.9rem;font-weight:500;color:var(--fd-muted);text-decoration:none;border:1px solid transparent;border-left:3px solid transparent}@media(prefers-reduced-motion:no-preference){.fd-nav__link{transition:background .14s ease,color .14s ease,border-color .14s ease}}.fd-nav__link:hover{color:var(--fd-text);background:var(--fd-surface-2)}.fd-nav__link:focus{outline:none}.fd-nav__link:focus-visible{box-shadow:var(--fd-focus-ring)}.fd-nav__link--active{color:var(--fd-text);background:var(--fd-surface-2);border-color:var(--fd-border);border-left-color:var(--fd-accent)}.fd-main{flex:1;width:100%;max-width:min(72rem,calc(100vw - 1.5rem));margin:0 auto;padding:1.35rem 1.25rem 2.75rem;outline:none}.fd-page-head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:.85rem 1rem;margin-bottom:1.5rem}.fd-page-title{margin:0;font-size:var(--fd-type-page-title);line-height:var(--fd-type-page-title--lh);font-weight:650;letter-spacing:-.015em}.fd-page-sub{margin:.4rem 0 0;max-width:52ch;font-size:var(--fd-type-page-sub);line-height:var(--fd-type-page-sub--lh);color:var(--fd-muted)}.fd-card{background:var(--fd-surface);border:1px solid var(--fd-border);border-radius:var(--fd-radius);padding:1.05rem 1.2rem;margin-bottom:1.125rem;box-shadow:var(--fd-shadow)}.fd-card__head{margin-bottom:.8rem}.fd-card__head--row{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:.75rem 1rem}.fd-card__head--row>.fd-btn{flex-shrink:0;align-self:flex-start}.fd-card__title{margin:0;font-size:var(--fd-type-card-title);line-height:var(--fd-type-card-title--lh);font-weight:600;letter-spacing:-.01em}.fd-card__subtitle{margin:0 0 .5rem;font-size:1rem;font-weight:600}.fd-card__desc{margin:.35rem 0 0;font-size:.85rem;color:var(--fd-muted)}.fd-table-wrap{overflow-x:auto;margin:0 -.15rem;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scrollbar-gutter:stable}.fd-table{width:100%;border-collapse:collapse;font-size:var(--fd-type-table);line-height:var(--fd-type-table--lh)}.fd-table th,.fd-table td{text-align:left;padding:.55rem .65rem;border-bottom:1px solid var(--fd-border);vertical-align:top}.fd-table th{font-weight:600;color:var(--fd-muted);font-size:var(--fd-type-table-head);text-transform:uppercase;letter-spacing:.045em}.fd-table tbody tr:last-child td{border-bottom:none}.fd-table tbody tr:hover td{background:var(--fd-surface-2)}@media(prefers-reduced-motion:no-preference){.fd-table tbody tr:hover td{transition:background .12s ease}}.fd-mono{font-family:var(--fd-mono);font-size:.82rem}.fd-mono--sm{font-size:.78rem}.fd-nowrap{white-space:nowrap}.fd-reason{max-width:18rem;word-break:break-word}.fd-empty{margin:0;padding:.75rem 0;color:var(--fd-muted);font-size:.9rem}.fd-empty-cell{padding:.85rem .65rem;color:var(--fd-muted);font-size:.9rem;font-style:italic}.fd-muted{color:var(--fd-muted);font-size:.9rem}.fd-samples{margin:.5rem 0 1rem}.fd-badge{display:inline-block;padding:.15rem .45rem;border-radius:999px;font-size:.72rem;font-weight:700;letter-spacing:.04em}.fd-badge--pass{background:var(--fd-pass-bg);color:var(--fd-pass-fg)}.fd-badge--fail{background:var(--fd-fail-bg);color:var(--fd-fail-fg)}.fd-badge--neutral{background:var(--fd-surface-2);color:var(--fd-muted)}.fd-badge--warn{background:#fff8e1;color:#6d4c00}.fd-btn{font:inherit;cursor:pointer;border-radius:var(--fd-radius-sm);border:1px solid var(--fd-border-strong);background:var(--fd-surface);color:var(--fd-text);padding:.45rem .95rem;font-size:.9rem;font-weight:500}@media(prefers-reduced-motion:no-preference){.fd-btn{transition:background .12s ease,border-color .12s ease,color .12s ease}}.fd-btn:focus{outline:none}.fd-btn:focus-visible{box-shadow:var(--fd-focus-ring)}.fd-btn:hover:not(:disabled){background:var(--fd-surface-2)}.fd-btn:disabled{opacity:.55;cursor:not-allowed}.fd-btn--primary{background:var(--fd-accent);border-color:var(--fd-accent);color:#fff}.fd-btn--primary:hover:not(:disabled){background:var(--fd-accent-hover);border-color:var(--fd-accent-hover)}.fd-btn--primary:focus-visible{box-shadow:var(--fd-focus-ring)}.fd-btn--ghost{background:transparent}.fd-btn--danger{border-color:#b71c1c73;color:#8b1a1a;background:#b71c1c0f}.fd-btn--danger:hover:not(:disabled){background:#b71c1c1f;border-color:#b71c1c8c}.fd-form-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(14rem,1fr));gap:.85rem 1rem}.fd-field{display:flex;flex-direction:column;gap:.3rem}.fd-field--full{grid-column:1 / -1}.fd-field__label{font-size:.8rem;font-weight:600;color:var(--fd-muted)}.fd-input{font:inherit;padding:.45rem .55rem;border:1px solid var(--fd-border-strong);border-radius:var(--fd-radius-sm);background:var(--fd-surface);color:var(--fd-text)}@media(prefers-reduced-motion:no-preference){.fd-input{transition:border-color .12s ease,box-shadow .12s ease}}.fd-input:focus{outline:none}.fd-input:focus-visible{border-color:var(--fd-accent);box-shadow:0 0 0 1px var(--fd-surface),0 0 0 3px #0d6efd47}.fd-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem}.fd-alert{padding:.65rem .85rem;border-radius:var(--fd-radius-sm);font-size:.9rem}.fd-alert--error{background:var(--fd-fail-bg);color:var(--fd-fail-fg);border:1px solid rgba(183,28,28,.25)}.fd-alert--info{background:#e7f1ff;color:#0d3a66;border:1px solid rgba(13,110,253,.2)}.fd-alert--warn{background:#fff8e1;color:#6d4c00;border:1px solid rgba(180,140,0,.28)}.fd-security-strip{flex-shrink:0;padding:.5rem 1.25rem 0;margin-top:0}.fd-security-strip__msg{margin:0}.fd-json-panel{margin-top:.5rem}.fd-json-panel__toggle{font:inherit;display:inline-flex;align-items:center;gap:.35rem;padding:.35rem .5rem;margin:0;border:none;background:transparent;color:var(--fd-accent);cursor:pointer;font-size:.88rem;font-weight:500}.fd-json-panel__toggle:hover{text-decoration:underline}.fd-json-panel__chevron{font-size:.7rem;opacity:.85}.fd-json-panel__pre{margin:.5rem 0 0;padding:.75rem;border-radius:var(--fd-radius-sm);border:1px solid var(--fd-border);background:#0d1117;color:#e6edf3;font-family:var(--fd-mono);font-size:.78rem;line-height:1.45;overflow-x:auto;white-space:pre-wrap;word-break:break-word}.fd-metric-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(15rem,1fr));gap:1rem}.fd-metric{padding:.75rem;border:1px solid var(--fd-border);border-radius:var(--fd-radius-sm);background:var(--fd-surface-2)}.fd-metric__label{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--fd-muted);margin-bottom:.45rem}.fd-metric__row{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem .5rem;font-size:.88rem}.fd-metric__tag{display:inline-block;min-width:1.25rem;text-align:center;font-size:.68rem;font-weight:700;border-radius:4px;background:var(--fd-border);color:var(--fd-muted)}.fd-metric__arrow{color:var(--fd-muted)}.fd-metric__delta{margin-top:.4rem;font-size:.82rem;color:var(--fd-muted)}.fd-metric__hint{margin:.5rem 0 0;font-size:.78rem;line-height:1.35;color:var(--fd-muted);font-weight:400;text-transform:none;letter-spacing:normal}.fd-checkbox-label{display:inline-flex;align-items:center;gap:.45rem;font-size:.88rem;color:var(--fd-text);cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap}.fd-checkbox-label input{width:1rem;height:1rem;accent-color:var(--fd-accent)}.fd-checkbox-label input:focus{outline:none}.fd-checkbox-label input:focus-visible{outline:2px solid rgba(13,110,253,.5);outline-offset:3px}.fd-trace-groups{display:flex;flex-direction:column;gap:.65rem}.fd-trace-group{border:1px solid var(--fd-border);border-radius:var(--fd-radius-sm);background:var(--fd-surface);padding:.15rem .5rem .5rem}.fd-trace-group__summary{cursor:pointer;font-size:.9rem;padding:.45rem .35rem;list-style-position:outside;border-radius:var(--fd-radius-sm)}.fd-trace-group__summary:focus{outline:none}.fd-trace-group__summary:focus-visible{box-shadow:var(--fd-focus-ring)}.fd-trace-group__summary::-webkit-details-marker{color:var(--fd-muted)}.fd-trace-group .fd-table-wrap{margin:0 -.15rem}.fd-inline{margin-top:.25rem}.fd-reasons{margin:0 0 .75rem;padding-left:1.2rem;font-size:.88rem;color:var(--fd-text)}.fd-reasons li{margin-bottom:.25rem}.fd-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.fd-skip-link{position:absolute;left:.75rem;top:.55rem;z-index:200;padding:.45rem .75rem;font-size:.875rem;font-weight:600;font-family:inherit;line-height:1.3;color:var(--fd-text);background:var(--fd-surface);border:1px solid var(--fd-border-strong);border-radius:var(--fd-radius-sm);box-shadow:var(--fd-shadow);text-decoration:none;transform:translateY(-160%);opacity:0;pointer-events:none}.fd-skip-link:focus{outline:none}.fd-skip-link:focus-visible{transform:translateY(0);opacity:1;pointer-events:auto;box-shadow:var(--fd-focus-ring)}@media(prefers-reduced-motion:reduce){.fd-skip-link{transition:none}}@media(prefers-reduced-motion:no-preference){.fd-skip-link{transition:transform .16s ease,opacity .16s ease}}.fd-btn--sm{padding:.28rem .55rem;font-size:.82rem}.fd-card--hint{background:var(--fd-surface-2);border-style:dashed}.fd-empty-state{padding:.5rem 0 1rem}.fd-empty-state__title{margin:0 0 .35rem;font-size:1rem;font-weight:650;color:var(--fd-text)}.fd-empty-state__body{margin:0;font-size:.9rem;color:var(--fd-muted);max-width:40rem;line-height:1.5}.fd-table__trace-sep td{padding-top:.85rem;padding-bottom:.35rem;font-size:.78rem;color:var(--fd-muted);border-bottom:1px solid var(--fd-border-strong);background:var(--fd-surface-2)}.fd-table__trace-sep-label{font-weight:700;text-transform:uppercase;letter-spacing:.05em;font-size:.68rem}.fd-dl{margin:0 0 1rem;display:grid;gap:.65rem 1rem}.fd-dl>div{display:grid;grid-template-columns:7rem 1fr;gap:.35rem .75rem;align-items:baseline}.fd-dl dt{margin:0;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--fd-muted)}.fd-dl dd{margin:0;min-width:0;word-break:break-word}.fd-drawer-root{position:fixed;inset:0;z-index:50;display:flex;justify-content:flex-end;align-items:stretch}.fd-drawer-backdrop{position:absolute;inset:0;border:none;padding:0;margin:0;background:#0f172a73;cursor:pointer}.fd-drawer{position:relative;width:min(28rem,100vw);max-width:100%;background:var(--fd-surface);border-left:1px solid var(--fd-border-strong);box-shadow:-4px 0 24px #0f172a1f;display:flex;flex-direction:column;min-height:0}.fd-drawer__head{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.85rem 1rem;border-bottom:1px solid var(--fd-border);flex-shrink:0}.fd-drawer__title{margin:0;font-size:1rem;font-weight:650}.fd-drawer__body{padding:1rem;overflow:auto;flex:1;min-height:0}.fd-diff-stack{display:flex;flex-direction:column}.fd-diff-section{padding:.9rem 0;border-top:1px solid var(--fd-border)}.fd-diff-stack>.fd-diff-section:first-child{border-top:none;padding-top:0}.fd-diff-section__title{margin:0 0 .5rem;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--fd-muted)}.fd-diff-section__body{margin:0;font-size:.9rem;line-height:1.5}.fd-dl--inline dt{font-size:.75rem}.fd-dl--inline>div{grid-template-columns:9.5rem 1fr}.fd-loading-panel{padding:.5rem 0 1rem}.fd-skeleton{display:block;height:.82rem;max-width:100%;border-radius:4px;background:linear-gradient(90deg,var(--fd-surface-2) 0%,var(--fd-border) 45%,var(--fd-surface-2) 90%);background-size:200% 100%;animation:fd-skeleton-shimmer 1.1s ease-in-out infinite}.fd-skeleton--w40{width:40%}.fd-skeleton--w60{width:60%}.fd-skeleton--w75{width:75%}.fd-skeleton--mt{margin-top:.55rem}@keyframes fd-skeleton-shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}@media(prefers-reduced-motion:reduce){.fd-skeleton{animation:none;background:var(--fd-surface-2)}}.fd-inline-nav{margin:.65rem 0 0;font-size:.85rem;color:var(--fd-muted)}.fd-inline-nav a{color:var(--fd-accent);font-weight:600;text-decoration:none}.fd-inline-nav a:hover{text-decoration:underline}@media(max-width:42rem){.fd-shell{flex-direction:column}.fd-sidebar{position:relative;top:auto;align-self:stretch;flex:none;width:100%;height:auto;max-height:none;overflow:visible;border-right:none;border-bottom:1px solid var(--fd-border);box-shadow:none;padding:.75rem 1rem .85rem;gap:.65rem}.fd-sidebar__nav{flex-direction:row;flex-wrap:wrap;gap:.25rem}.fd-sidebar__nav .fd-nav__link{width:auto;flex:0 1 auto}.fd-sidebar__nav .fd-nav__link--active{border-color:transparent;border-left-color:var(--fd-accent)}.fd-security-strip{padding-inline:1rem}.fd-main{padding-inline:1rem;max-width:100%}.fd-table th,.fd-table td{overflow-wrap:anywhere;word-break:break-word}.fd-checkbox-label{white-space:normal}} diff --git a/src/flightdeck/server/static/assets/index-Cg8b3N1D.css b/src/flightdeck/server/static/assets/index-Cg8b3N1D.css new file mode 100644 index 0000000..dc406d3 --- /dev/null +++ b/src/flightdeck/server/static/assets/index-Cg8b3N1D.css @@ -0,0 +1 @@ +:root{color-scheme:light;--fd-bg: #f3f4f6;--fd-surface: #ffffff;--fd-surface-2: #f8f9fb;--fd-border: #dfe3e8;--fd-border-strong: #c4c9d1;--fd-text: #171a1f;--fd-muted: #525a63;--fd-accent: #0d6efd;--fd-accent-hover: #0b5ed7;--fd-pass-bg: #e8f5e9;--fd-pass-fg: #1b5e20;--fd-fail-bg: #ffebee;--fd-fail-fg: #b71c1c;--fd-radius: 10px;--fd-radius-sm: 6px;--fd-shadow: 0 1px 2px rgba(15, 23, 42, .06);--fd-font: "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, sans-serif;--fd-mono: ui-monospace, "Cascadia Code", "Consolas", monospace;--fd-focus-ring: 0 0 0 2px var(--fd-surface), 0 0 0 4px rgba(13, 110, 253, .45);--fd-type-page-title: 1.375rem;--fd-type-page-title--lh: 1.25;--fd-type-page-sub: .9375rem;--fd-type-page-sub--lh: 1.45;--fd-type-card-title: 1.0625rem;--fd-type-card-title--lh: 1.3;--fd-type-table: .875rem;--fd-type-table--lh: 1.45;--fd-type-table-head: .75rem;--fd-sidebar-width: 15.5rem;font-family:var(--fd-font);line-height:1.5;color:var(--fd-text);background:var(--fd-bg)}*,*:before,*:after{box-sizing:border-box}body{margin:0;min-height:100vh}.fd-shell{position:relative;min-height:100vh;display:flex;flex-direction:row;align-items:stretch}.fd-sidebar{position:sticky;top:0;align-self:flex-start;flex:0 0 var(--fd-sidebar-width);width:var(--fd-sidebar-width);max-width:100%;height:100vh;max-height:100vh;overflow-x:hidden;overflow-y:auto;display:flex;flex-direction:column;gap:1.15rem;padding:1.1rem .75rem 1.5rem;background:var(--fd-surface);border-right:1px solid var(--fd-border);box-shadow:1px 0 #0f172a0a}.fd-sidebar__brand{min-width:0;padding:0 .35rem}.fd-sidebar__title{margin:0;font-size:1.125rem;font-weight:700;letter-spacing:-.02em;line-height:1.2}.fd-sidebar__tagline{margin:.35rem 0 0;font-size:.75rem;line-height:1.35;color:var(--fd-muted)}.fd-sidebar__nav{display:flex;flex-direction:column;gap:.12rem;flex:1;min-height:0}.fd-shell__content{flex:1;min-width:0;display:flex;flex-direction:column;background:var(--fd-bg)}.fd-nav__link{display:block;width:100%;padding:.5rem .75rem;border-radius:var(--fd-radius-sm);font-size:.9rem;font-weight:500;color:var(--fd-muted);text-decoration:none;border:1px solid transparent;border-left:3px solid transparent}@media(prefers-reduced-motion:no-preference){.fd-nav__link{transition:background .14s ease,color .14s ease,border-color .14s ease}}.fd-nav__link:hover{color:var(--fd-text);background:var(--fd-surface-2)}.fd-nav__link:focus{outline:none}.fd-nav__link:focus-visible{box-shadow:var(--fd-focus-ring)}.fd-nav__link--active{color:var(--fd-text);background:var(--fd-surface-2);border-color:var(--fd-border);border-left-color:var(--fd-accent)}.fd-main{flex:1;width:100%;max-width:min(72rem,calc(100vw - 1.5rem));margin:0 auto;padding:1.35rem 1.25rem 2.75rem;outline:none}.fd-page-head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:.85rem 1rem;margin-bottom:1.5rem}.fd-page-title{margin:0;font-size:var(--fd-type-page-title);line-height:var(--fd-type-page-title--lh);font-weight:650;letter-spacing:-.015em}.fd-page-sub{margin:.4rem 0 0;max-width:52ch;font-size:var(--fd-type-page-sub);line-height:var(--fd-type-page-sub--lh);color:var(--fd-muted)}.fd-card{background:var(--fd-surface);border:1px solid var(--fd-border);border-radius:var(--fd-radius);padding:1.05rem 1.2rem;margin-bottom:1.125rem;box-shadow:var(--fd-shadow)}.fd-card__head{margin-bottom:.8rem}.fd-card__head--row{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:.75rem 1rem}.fd-card__head--row>.fd-btn{flex-shrink:0;align-self:flex-start}.fd-card__title{margin:0;font-size:var(--fd-type-card-title);line-height:var(--fd-type-card-title--lh);font-weight:600;letter-spacing:-.01em}.fd-card__subtitle{margin:0 0 .5rem;font-size:1rem;font-weight:600}.fd-card__desc{margin:.35rem 0 0;font-size:.85rem;color:var(--fd-muted)}.fd-table-wrap{overflow-x:auto;margin:0 -.15rem;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scrollbar-gutter:stable}.fd-table{width:100%;border-collapse:collapse;font-size:var(--fd-type-table);line-height:var(--fd-type-table--lh)}.fd-table th,.fd-table td{text-align:left;padding:.55rem .65rem;border-bottom:1px solid var(--fd-border);vertical-align:top}.fd-table th{font-weight:600;color:var(--fd-muted);font-size:var(--fd-type-table-head);text-transform:uppercase;letter-spacing:.045em}.fd-table tbody tr:last-child td{border-bottom:none}.fd-table tbody tr:hover td{background:var(--fd-surface-2)}@media(prefers-reduced-motion:no-preference){.fd-table tbody tr:hover td{transition:background .12s ease}}.fd-mono{font-family:var(--fd-mono);font-size:.82rem}.fd-mono--sm{font-size:.78rem}.fd-nowrap{white-space:nowrap}.fd-reason{max-width:18rem;word-break:break-word}.fd-empty{margin:0;padding:.75rem 0;color:var(--fd-muted);font-size:.9rem}.fd-empty-cell{padding:.85rem .65rem;color:var(--fd-muted);font-size:.9rem;font-style:italic}.fd-muted{color:var(--fd-muted);font-size:.9rem}.fd-samples{margin:.5rem 0 1rem}.fd-badge{display:inline-block;padding:.15rem .45rem;border-radius:999px;font-size:.72rem;font-weight:700;letter-spacing:.04em}.fd-badge--pass{background:var(--fd-pass-bg);color:var(--fd-pass-fg)}.fd-badge--fail{background:var(--fd-fail-bg);color:var(--fd-fail-fg)}.fd-badge--neutral{background:var(--fd-surface-2);color:var(--fd-muted)}.fd-badge--warn{background:#fff8e1;color:#6d4c00}.fd-btn{font:inherit;cursor:pointer;border-radius:var(--fd-radius-sm);border:1px solid var(--fd-border-strong);background:var(--fd-surface);color:var(--fd-text);padding:.45rem .95rem;font-size:.9rem;font-weight:500}@media(prefers-reduced-motion:no-preference){.fd-btn{transition:background .12s ease,border-color .12s ease,color .12s ease}}.fd-btn:focus{outline:none}.fd-btn:focus-visible{box-shadow:var(--fd-focus-ring)}.fd-btn:hover:not(:disabled){background:var(--fd-surface-2)}.fd-btn:disabled{opacity:.55;cursor:not-allowed}.fd-btn--primary{background:var(--fd-accent);border-color:var(--fd-accent);color:#fff}.fd-btn--primary:hover:not(:disabled){background:var(--fd-accent-hover);border-color:var(--fd-accent-hover)}.fd-btn--primary:focus-visible{box-shadow:var(--fd-focus-ring)}.fd-btn--ghost{background:transparent}.fd-btn--danger{border-color:#b71c1c73;color:#8b1a1a;background:#b71c1c0f}.fd-btn--danger:hover:not(:disabled){background:#b71c1c1f;border-color:#b71c1c8c}.fd-form-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(14rem,1fr));gap:.85rem 1rem}.fd-field{display:flex;flex-direction:column;gap:.3rem}.fd-field--full{grid-column:1 / -1}.fd-field__label{font-size:.8rem;font-weight:600;color:var(--fd-muted)}.fd-input{font:inherit;padding:.45rem .55rem;border:1px solid var(--fd-border-strong);border-radius:var(--fd-radius-sm);background:var(--fd-surface);color:var(--fd-text)}@media(prefers-reduced-motion:no-preference){.fd-input{transition:border-color .12s ease,box-shadow .12s ease}}.fd-input:focus{outline:none}.fd-input:focus-visible{border-color:var(--fd-accent);box-shadow:0 0 0 1px var(--fd-surface),0 0 0 3px #0d6efd47}.fd-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem}.fd-actions--align-center{align-items:center}.fd-grow-soft{flex:1 1 12rem;min-width:0}.fd-alert{padding:.65rem .85rem;border-radius:var(--fd-radius-sm);font-size:.9rem}.fd-alert--error{background:var(--fd-fail-bg);color:var(--fd-fail-fg);border:1px solid rgba(183,28,28,.25)}.fd-alert--info{background:#e7f1ff;color:#0d3a66;border:1px solid rgba(13,110,253,.2)}.fd-alert--warn{background:#fff8e1;color:#6d4c00;border:1px solid rgba(180,140,0,.28)}.fd-security-strip{flex-shrink:0;padding:.5rem 1.25rem 0;margin-top:0}.fd-security-strip__msg{margin:0}.fd-json-panel{margin-top:.5rem}.fd-json-panel__toggle{font:inherit;display:inline-flex;align-items:center;gap:.35rem;padding:.35rem .5rem;margin:0;border:none;background:transparent;color:var(--fd-accent);cursor:pointer;font-size:.88rem;font-weight:500}.fd-json-panel__toggle:hover{text-decoration:underline}.fd-json-panel__toggle:focus{outline:none}.fd-json-panel__toggle:focus-visible{border-radius:var(--fd-radius-sm);box-shadow:var(--fd-focus-ring)}.fd-json-panel__chevron{font-size:.7rem;opacity:.85}.fd-json-panel__pre{margin:.5rem 0 0;padding:.75rem;border-radius:var(--fd-radius-sm);border:1px solid var(--fd-border);background:#0d1117;color:#e6edf3;font-family:var(--fd-mono);font-size:.78rem;line-height:1.45;overflow-x:auto;white-space:pre-wrap;word-break:break-word}.fd-metric-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(15rem,1fr));gap:1rem}.fd-metric{padding:.75rem;border:1px solid var(--fd-border);border-radius:var(--fd-radius-sm);background:var(--fd-surface-2)}.fd-metric__label{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--fd-muted);margin-bottom:.45rem}.fd-metric__row{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem .5rem;font-size:.88rem}.fd-metric__bc{display:inline-flex;align-items:center;flex-wrap:wrap;gap:.35rem .5rem;font-size:1.2rem;font-weight:700;font-variant-numeric:tabular-nums;color:var(--fd-text);line-height:1.25}.fd-metric__tag{display:inline-block;min-width:1.25rem;text-align:center;font-size:.68rem;font-weight:700;border-radius:4px;background:var(--fd-border);color:var(--fd-muted)}.fd-metric__arrow{color:var(--fd-muted)}.fd-metric__delta{margin-top:.4rem;font-size:.82rem;color:var(--fd-muted)}.fd-metric__hint{margin:.5rem 0 0;font-size:.78rem;line-height:1.35;color:var(--fd-muted);font-weight:400;text-transform:none;letter-spacing:normal}.fd-checkbox-label{display:inline-flex;align-items:center;gap:.45rem;font-size:.88rem;color:var(--fd-text);cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap}.fd-checkbox-label input{width:1rem;height:1rem;accent-color:var(--fd-accent)}.fd-checkbox-label input:focus{outline:none}.fd-checkbox-label input:focus-visible{outline:2px solid rgba(13,110,253,.5);outline-offset:3px}.fd-trace-groups{display:flex;flex-direction:column;gap:.65rem}.fd-trace-group{border:1px solid var(--fd-border);border-radius:var(--fd-radius-sm);background:var(--fd-surface);padding:.15rem .5rem .5rem}.fd-trace-group__summary{cursor:pointer;font-size:.9rem;padding:.45rem .35rem;list-style-position:outside;border-radius:var(--fd-radius-sm)}.fd-trace-group__summary:focus{outline:none}.fd-trace-group__summary:focus-visible{box-shadow:var(--fd-focus-ring)}.fd-trace-group__summary::-webkit-details-marker{color:var(--fd-muted)}.fd-trace-group .fd-table-wrap{margin:0 -.15rem}.fd-inline{margin-top:.25rem}.fd-reasons{margin:0 0 .75rem;padding-left:1.2rem;font-size:.88rem;color:var(--fd-text)}.fd-reasons li{margin-bottom:.25rem}.fd-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.fd-skip-link{position:absolute;left:.75rem;top:.55rem;z-index:200;padding:.45rem .75rem;font-size:.875rem;font-weight:600;font-family:inherit;line-height:1.3;color:var(--fd-text);background:var(--fd-surface);border:1px solid var(--fd-border-strong);border-radius:var(--fd-radius-sm);box-shadow:var(--fd-shadow);text-decoration:none;transform:translateY(-160%);opacity:0;pointer-events:none}.fd-skip-link:focus{outline:none}.fd-skip-link:focus-visible{transform:translateY(0);opacity:1;pointer-events:auto;box-shadow:var(--fd-focus-ring)}button.fd-skip-link{width:auto;text-align:left;font-family:inherit;cursor:pointer}@media(prefers-reduced-motion:reduce){.fd-skip-link{transition:none}}@media(prefers-reduced-motion:no-preference){.fd-skip-link{transition:transform .16s ease,opacity .16s ease}}.fd-btn--sm{padding:.28rem .55rem;font-size:.82rem}.fd-card--hint{background:var(--fd-surface-2);border-style:dashed}.fd-empty-state{padding:.5rem 0 1rem}.fd-empty-state__title{margin:0 0 .35rem;font-size:1rem;font-weight:650;color:var(--fd-text)}.fd-empty-state__body{margin:0;font-size:.9rem;color:var(--fd-muted);max-width:40rem;line-height:1.5}.fd-table__trace-sep td{padding-top:.85rem;padding-bottom:.35rem;font-size:.78rem;color:var(--fd-muted);border-bottom:1px solid var(--fd-border-strong);background:var(--fd-surface-2)}.fd-table__trace-sep-label{font-weight:700;text-transform:uppercase;letter-spacing:.05em;font-size:.68rem}.fd-dl{margin:0 0 1rem;display:grid;gap:.65rem 1rem}.fd-dl>div{display:grid;grid-template-columns:7rem 1fr;gap:.35rem .75rem;align-items:baseline}.fd-dl dt{margin:0;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--fd-muted)}.fd-dl dd{margin:0;min-width:0;word-break:break-word}.fd-drawer-root{position:fixed;inset:0;z-index:50;display:flex;justify-content:flex-end;align-items:stretch}.fd-drawer-backdrop{position:absolute;inset:0;border:none;padding:0;margin:0;background:#0f172a73;cursor:pointer}.fd-drawer{position:relative;width:min(28rem,100vw);max-width:100%;background:var(--fd-surface);border-left:1px solid var(--fd-border-strong);box-shadow:-4px 0 24px #0f172a1f;display:flex;flex-direction:column;min-height:0}.fd-drawer__head{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.85rem 1rem;border-bottom:1px solid var(--fd-border);flex-shrink:0}.fd-drawer__title{margin:0;font-size:1rem;font-weight:650}.fd-drawer__body{padding:1rem;overflow:auto;flex:1;min-height:0}.fd-diff-stack{display:flex;flex-direction:column}.fd-diff-section{padding:.9rem 0;border-top:1px solid var(--fd-border)}.fd-diff-stack>.fd-diff-section:first-child{border-top:none;padding-top:0}.fd-diff-section__title{margin:0 0 .5rem;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--fd-muted)}.fd-diff-section__body{margin:0;font-size:.9rem;line-height:1.5}.fd-dl--inline dt{font-size:.75rem}.fd-dl--inline>div{grid-template-columns:9.5rem 1fr}.fd-loading-panel{padding:.5rem 0 1rem}.fd-skeleton{display:block;height:.82rem;max-width:100%;border-radius:4px;background:linear-gradient(90deg,var(--fd-surface-2) 0%,var(--fd-border) 45%,var(--fd-surface-2) 90%);background-size:200% 100%;animation:fd-skeleton-shimmer 1.1s ease-in-out infinite}.fd-skeleton--w40{width:40%}.fd-skeleton--w60{width:60%}.fd-skeleton--w75{width:75%}.fd-skeleton--mt{margin-top:.55rem}@keyframes fd-skeleton-shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}@media(prefers-reduced-motion:reduce){.fd-skeleton{animation:none;background:var(--fd-surface-2)}}.fd-inline-nav{margin:.65rem 0 0;font-size:.85rem;color:var(--fd-muted)}.fd-inline-nav a{color:var(--fd-accent);font-weight:600;text-decoration:none}.fd-inline-nav a:hover{text-decoration:underline}.fd-m-0{margin:0}.fd-mt-sm{margin-top:.35rem}.fd-mt-md{margin-top:.5rem}.fd-mt-lg{margin-top:.65rem}.fd-mt-xl{margin-top:.75rem}.fd-mt-1{margin-top:1rem}.fd-ml-sm{margin-left:.35rem}.fd-ml-md{margin-left:.5rem}.fd-mb-md{margin-bottom:.65rem}.fd-muted-xs{font-size:.78rem;color:var(--fd-muted)}.fd-muted-inline{font-size:.85rem;color:var(--fd-muted)}.fd-muted-p{margin:.35rem 0 0;font-size:.88rem;color:var(--fd-muted)}.fd-flex-inline-gap{display:inline-flex;flex-wrap:wrap;align-items:center;gap:.35rem}.fd-security-strip__loading-line{margin:0 0 .35rem}.fd-security-strip__skeleton{display:block;max-width:26rem}.fd-results-meta{margin:0;font-size:.88rem;color:var(--fd-muted)}.fd-block-mb-065{margin:0 0 .65rem}.fd-block-mt-065-mb-035{margin:.65rem 0 .35rem}.fd-mb-035{margin-bottom:.35rem}.fd-mt-0{margin-top:0}.fd-mb-0{margin-bottom:0}.fd-break-word{overflow-wrap:anywhere;word-break:break-word}.fd-type-desc{font-size:.88rem}@media(max-width:42rem){.fd-shell{flex-direction:column}.fd-sidebar{position:relative;top:auto;align-self:stretch;flex:none;width:100%;height:auto;max-height:none;overflow:visible;border-right:none;border-bottom:1px solid var(--fd-border);box-shadow:none;padding:.75rem 1rem .85rem;gap:.65rem}.fd-sidebar__nav{flex-direction:row;flex-wrap:wrap;gap:.25rem}.fd-sidebar__nav .fd-nav__link{width:auto;flex:0 1 auto}.fd-sidebar__nav .fd-nav__link--active{border-color:transparent;border-left-color:var(--fd-accent)}.fd-security-strip{padding-inline:1rem}.fd-main{padding-inline:1rem;max-width:100%}.fd-table th,.fd-table td{overflow-wrap:anywhere;word-break:break-word}.fd-checkbox-label{white-space:normal}} diff --git a/src/flightdeck/server/static/assets/index-CfYjJfe0.js b/src/flightdeck/server/static/assets/index-DHNA23gJ.js similarity index 74% rename from src/flightdeck/server/static/assets/index-CfYjJfe0.js rename to src/flightdeck/server/static/assets/index-DHNA23gJ.js index 90969f2..da8f2a4 100644 --- a/src/flightdeck/server/static/assets/index-CfYjJfe0.js +++ b/src/flightdeck/server/static/assets/index-DHNA23gJ.js @@ -3,9 +3,9 @@ `+K+e+fe}var ut=!1;function st(e,t){if(!e||ut)return"";ut=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var U=function(){throw Error()};if(Object.defineProperty(U.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(U,[])}catch(A){var T=A}Reflect.construct(e,[],U)}else{try{U.call()}catch(A){T=A}e.call(U.prototype)}}else{try{throw Error()}catch(A){T=A}(U=e())&&typeof U.catch=="function"&&U.catch(function(){})}}catch(A){if(A&&T&&typeof A.stack=="string")return[A.stack,T.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=a.DetermineComponentFrameRoot(),s=u[0],d=u[1];if(s&&d){var v=s.split(` `),N=d.split(` `);for(n=a=0;an||v[a]!==N[n]){var C=` -`+v[a].replace(" at new "," at ");return e.displayName&&C.includes("")&&(C=C.replace("",e.displayName)),C}while(1<=a&&0<=n);break}}}finally{ut=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?re(l):""}function Pe(e,t){switch(e.tag){case 26:case 27:case 5:return re(e.type);case 16:return re("Lazy");case 13:return e.child!==t&&t!==null?re("Suspense Fallback"):re("Suspense");case 19:return re("SuspenseList");case 0:case 15:return st(e.type,!1);case 11:return st(e.type.render,!1);case 1:return st(e.type,!0);case 31:return re("Activity");default:return""}}function Wn(e){try{var t="",l=null;do t+=Pe(e,l),l=e,e=e.return;while(e);return t}catch(a){return` +`+v[a].replace(" at new "," at ");return e.displayName&&C.includes("")&&(C=C.replace("",e.displayName)),C}while(1<=a&&0<=n);break}}}finally{ut=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?re(l):""}function Pe(e,t){switch(e.tag){case 26:case 27:case 5:return re(e.type);case 16:return re("Lazy");case 13:return e.child!==t&&t!==null?re("Suspense Fallback"):re("Suspense");case 19:return re("SuspenseList");case 0:case 15:return st(e.type,!1);case 11:return st(e.type.render,!1);case 1:return st(e.type,!0);case 31:return re("Activity");default:return""}}function Fn(e){try{var t="",l=null;do t+=Pe(e,l),l=e,e=e.return;while(e);return t}catch(a){return` Error generating stack: `+a.message+` -`+a.stack}}var Ti=Object.prototype.hasOwnProperty,Ri=i.unstable_scheduleCallback,Ai=i.unstable_cancelCallback,uh=i.unstable_shouldYield,ih=i.unstable_requestPaint,yt=i.unstable_now,ch=i.unstable_getCurrentPriorityLevel,mf=i.unstable_ImmediatePriority,hf=i.unstable_UserBlockingPriority,Fn=i.unstable_NormalPriority,sh=i.unstable_LowPriority,vf=i.unstable_IdlePriority,fh=i.log,rh=i.unstable_setDisableYieldValue,$a=null,pt=null;function hl(e){if(typeof fh=="function"&&rh(e),pt&&typeof pt.setStrictMode=="function")try{pt.setStrictMode($a,e)}catch{}}var gt=Math.clz32?Math.clz32:mh,oh=Math.log,dh=Math.LN2;function mh(e){return e>>>=0,e===0?32:31-(oh(e)/dh|0)|0}var In=256,Pn=262144,eu=4194304;function Ll(e){var t=e&42;if(t!==0)return t;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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function tu(e,t,l){var a=e.pendingLanes;if(a===0)return 0;var n=0,u=e.suspendedLanes,s=e.pingedLanes;e=e.warmLanes;var d=a&134217727;return d!==0?(a=d&~u,a!==0?n=Ll(a):(s&=d,s!==0?n=Ll(s):l||(l=d&~e,l!==0&&(n=Ll(l))))):(d=a&~u,d!==0?n=Ll(d):s!==0?n=Ll(s):l||(l=a&~e,l!==0&&(n=Ll(l)))),n===0?0:t!==0&&t!==n&&(t&u)===0&&(u=n&-n,l=t&-t,u>=l||u===32&&(l&4194048)!==0)?t:n}function Wa(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function hh(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32: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 t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function yf(){var e=eu;return eu<<=1,(eu&62914560)===0&&(eu=4194304),e}function zi(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function Fa(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function vh(e,t,l,a,n,u){var s=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var d=e.entanglements,v=e.expirationTimes,N=e.hiddenUpdates;for(l=s&~l;0"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var Sh=/[\n"\\]/g;function At(e){return e.replace(Sh,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Hi(e,t,l,a,n,u,s,d){e.name="",s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"?e.type=s:e.removeAttribute("type"),t!=null?s==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Rt(t)):e.value!==""+Rt(t)&&(e.value=""+Rt(t)):s!=="submit"&&s!=="reset"||e.removeAttribute("value"),t!=null?qi(e,s,Rt(t)):l!=null?qi(e,s,Rt(l)):a!=null&&e.removeAttribute("value"),n==null&&u!=null&&(e.defaultChecked=!!u),n!=null&&(e.checked=n&&typeof n!="function"&&typeof n!="symbol"),d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?e.name=""+Rt(d):e.removeAttribute("name")}function zf(e,t,l,a,n,u,s,d){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(e.type=u),t!=null||l!=null){if(!(u!=="submit"&&u!=="reset"||t!=null)){Ui(e);return}l=l!=null?""+Rt(l):"",t=t!=null?""+Rt(t):l,d||t===e.value||(e.value=t),e.defaultValue=t}a=a??n,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=d?e.checked:!!a,e.defaultChecked=!!a,s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(e.name=s),Ui(e)}function qi(e,t,l){t==="number"&&nu(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function oa(e,t,l,a){if(e=e.options,t){t={};for(var n=0;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Gi=!1;if(Ft)try{var tn={};Object.defineProperty(tn,"passive",{get:function(){Gi=!0}}),window.addEventListener("test",tn,tn),window.removeEventListener("test",tn,tn)}catch{Gi=!1}var yl=null,Qi=null,iu=null;function qf(){if(iu)return iu;var e,t=Qi,l=t.length,a,n="value"in yl?yl.value:yl.textContent,u=n.length;for(e=0;e=nn),Qf=" ",Xf=!1;function Zf(e,t){switch(e){case"keyup":return $h.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var va=!1;function Fh(e,t){switch(e){case"compositionend":return Vf(t);case"keypress":return t.which!==32?null:(Xf=!0,Qf);case"textInput":return e=t.data,e===Qf&&Xf?null:e;default:return null}}function Ih(e,t){if(va)return e==="compositionend"||!Ji&&Zf(e,t)?(e=qf(),iu=Qi=yl=null,va=!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:l,offset:t-e};e=a}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=Pf(l)}}function tr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?tr(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function lr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=nu(e.document);t instanceof e.HTMLIFrameElement;){try{var l=typeof t.contentWindow.location.href=="string"}catch{l=!1}if(l)e=t.contentWindow;else break;t=nu(e.document)}return t}function Wi(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")}var iv=Ft&&"documentMode"in document&&11>=document.documentMode,ya=null,Fi=null,fn=null,Ii=!1;function ar(e,t,l){var a=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Ii||ya==null||ya!==nu(a)||(a=ya,"selectionStart"in a&&Wi(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),fn&&sn(fn,a)||(fn=a,a=Pu(Fi,"onSelect"),0>=s,n-=s,Zt=1<<32-gt(t)+n|l<ce?(ye=W,W=null):ye=W.sibling;var je=T(x,W,j[ce],D);if(je===null){W===null&&(W=ye);break}e&&W&&je.alternate===null&&t(x,W),g=u(je,g,ce),xe===null?I=je:xe.sibling=je,xe=je,W=ye}if(ce===j.length)return l(x,W),be&&Pt(x,ce),I;if(W===null){for(;cece?(ye=W,W=null):ye=W.sibling;var Bl=T(x,W,je.value,D);if(Bl===null){W===null&&(W=ye);break}e&&W&&Bl.alternate===null&&t(x,W),g=u(Bl,g,ce),xe===null?I=Bl:xe.sibling=Bl,xe=Bl,W=ye}if(je.done)return l(x,W),be&&Pt(x,ce),I;if(W===null){for(;!je.done;ce++,je=j.next())je=U(x,je.value,D),je!==null&&(g=u(je,g,ce),xe===null?I=je:xe.sibling=je,xe=je);return be&&Pt(x,ce),I}for(W=a(W);!je.done;ce++,je=j.next())je=A(W,x,ce,je.value,D),je!==null&&(e&&je.alternate!==null&&W.delete(je.key===null?ce:je.key),g=u(je,g,ce),xe===null?I=je:xe.sibling=je,xe=je);return e&&W.forEach(function(Ty){return t(x,Ty)}),be&&Pt(x,ce),I}function Oe(x,g,j,D){if(typeof j=="object"&&j!==null&&j.type===Q&&j.key===null&&(j=j.props.children),typeof j=="object"&&j!==null){switch(j.$$typeof){case B:e:{for(var I=j.key;g!==null;){if(g.key===I){if(I=j.type,I===Q){if(g.tag===7){l(x,g.sibling),D=n(g,j.props.children),D.return=x,x=D;break e}}else if(g.elementType===I||typeof I=="object"&&I!==null&&I.$$typeof===se&&Wl(I)===g.type){l(x,g.sibling),D=n(g,j.props),vn(D,j),D.return=x,x=D;break e}l(x,g);break}else t(x,g);g=g.sibling}j.type===Q?(D=Vl(j.props.children,x.mode,D,j.key),D.return=x,x=D):(D=yu(j.type,j.key,j.props,null,x.mode,D),vn(D,j),D.return=x,x=D)}return s(x);case V:e:{for(I=j.key;g!==null;){if(g.key===I)if(g.tag===4&&g.stateNode.containerInfo===j.containerInfo&&g.stateNode.implementation===j.implementation){l(x,g.sibling),D=n(g,j.children||[]),D.return=x,x=D;break e}else{l(x,g);break}else t(x,g);g=g.sibling}D=uc(j,x.mode,D),D.return=x,x=D}return s(x);case se:return j=Wl(j),Oe(x,g,j,D)}if(De(j))return k(x,g,j,D);if(Se(j)){if(I=Se(j),typeof I!="function")throw Error(f(150));return j=I.call(j),te(x,g,j,D)}if(typeof j.then=="function")return Oe(x,g,ju(j),D);if(j.$$typeof===$)return Oe(x,g,bu(x,j),D);Nu(x,j)}return typeof j=="string"&&j!==""||typeof j=="number"||typeof j=="bigint"?(j=""+j,g!==null&&g.tag===6?(l(x,g.sibling),D=n(g,j),D.return=x,x=D):(l(x,g),D=nc(j,x.mode,D),D.return=x,x=D),s(x)):l(x,g)}return function(x,g,j,D){try{hn=0;var I=Oe(x,g,j,D);return Ra=null,I}catch(W){if(W===Ta||W===Su)throw W;var xe=_t(29,W,null,x.mode);return xe.lanes=D,xe.return=x,xe}}}var Il=Tr(!0),Rr=Tr(!1),Sl=!1;function pc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function gc(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function xl(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function jl(e,t,l){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(Ne&2)!==0){var n=a.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),a.pending=t,t=vu(e),rr(e,null,l),t}return hu(e,a,t,l),vu(e)}function yn(e,t,l){if(t=t.updateQueue,t!==null&&(t=t.shared,(l&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,gf(e,l)}}function bc(e,t){var l=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,l===a)){var n=null,u=null;if(l=l.firstBaseUpdate,l!==null){do{var s={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};u===null?n=u=s:u=u.next=s,l=l.next}while(l!==null);u===null?n=u=t:u=u.next=t}else n=u=t;l={baseState:a.baseState,firstBaseUpdate:n,lastBaseUpdate:u,shared:a.shared,callbacks:a.callbacks},e.updateQueue=l;return}e=l.lastBaseUpdate,e===null?l.firstBaseUpdate=t:e.next=t,l.lastBaseUpdate=t}var _c=!1;function pn(){if(_c){var e=Ea;if(e!==null)throw e}}function gn(e,t,l,a){_c=!1;var n=e.updateQueue;Sl=!1;var u=n.firstBaseUpdate,s=n.lastBaseUpdate,d=n.shared.pending;if(d!==null){n.shared.pending=null;var v=d,N=v.next;v.next=null,s===null?u=N:s.next=N,s=v;var C=e.alternate;C!==null&&(C=C.updateQueue,d=C.lastBaseUpdate,d!==s&&(d===null?C.firstBaseUpdate=N:d.next=N,C.lastBaseUpdate=v))}if(u!==null){var U=n.baseState;s=0,C=N=v=null,d=u;do{var T=d.lane&-536870913,A=T!==d.lane;if(A?(ve&T)===T:(a&T)===T){T!==0&&T===Na&&(_c=!0),C!==null&&(C=C.next={lane:0,tag:d.tag,payload:d.payload,callback:null,next:null});e:{var k=e,te=d;T=t;var Oe=l;switch(te.tag){case 1:if(k=te.payload,typeof k=="function"){U=k.call(Oe,U,T);break e}U=k;break e;case 3:k.flags=k.flags&-65537|128;case 0:if(k=te.payload,T=typeof k=="function"?k.call(Oe,U,T):k,T==null)break e;U=E({},U,T);break e;case 2:Sl=!0}}T=d.callback,T!==null&&(e.flags|=64,A&&(e.flags|=8192),A=n.callbacks,A===null?n.callbacks=[T]:A.push(T))}else A={lane:T,tag:d.tag,payload:d.payload,callback:d.callback,next:null},C===null?(N=C=A,v=U):C=C.next=A,s|=T;if(d=d.next,d===null){if(d=n.shared.pending,d===null)break;A=d,d=A.next,A.next=null,n.lastBaseUpdate=A,n.shared.pending=null}}while(!0);C===null&&(v=U),n.baseState=v,n.firstBaseUpdate=N,n.lastBaseUpdate=C,u===null&&(n.shared.lanes=0),Al|=s,e.lanes=s,e.memoizedState=U}}function Ar(e,t){if(typeof e!="function")throw Error(f(191,e));e.call(t)}function zr(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;eu?u:8;var s=O.T,d={};O.T=d,Lc(e,!1,t,l);try{var v=n(),N=O.S;if(N!==null&&N(d,v),v!==null&&typeof v=="object"&&typeof v.then=="function"){var C=vv(v,a);Sn(e,t,C,Et(e))}else Sn(e,t,a,Et(e))}catch(U){Sn(e,t,{then:function(){},status:"rejected",reason:U},Et())}finally{Y.p=u,s!==null&&d.types!==null&&(s.types=d.types),O.T=s}}function Sv(){}function wc(e,t,l,a){if(e.tag!==5)throw Error(f(476));var n=co(e).queue;io(e,n,t,P,l===null?Sv:function(){return so(e),l(a)})}function co(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:P,baseState:P,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:al,lastRenderedState:P},next:null};var l={};return t.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:al,lastRenderedState:l},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function so(e){var t=co(e);t.next===null&&(t=e.alternate.memoizedState),Sn(e,t.next.queue,{},Et())}function Bc(){return lt(Bn)}function fo(){return Ze().memoizedState}function ro(){return Ze().memoizedState}function xv(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var l=Et();e=xl(l);var a=jl(t,e,l);a!==null&&(vt(a,t,l),yn(a,t,l)),t={cache:mc()},e.payload=t;return}t=t.return}}function jv(e,t,l){var a=Et();l={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Uu(e)?mo(t,l):(l=lc(e,t,l,a),l!==null&&(vt(l,e,a),ho(l,t,a)))}function oo(e,t,l){var a=Et();Sn(e,t,l,a)}function Sn(e,t,l,a){var n={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(Uu(e))mo(t,n);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var s=t.lastRenderedState,d=u(s,l);if(n.hasEagerState=!0,n.eagerState=d,bt(d,s))return hu(e,t,n,0),Me===null&&mu(),!1}catch{}if(l=lc(e,t,n,a),l!==null)return vt(l,e,a),ho(l,t,a),!0}return!1}function Lc(e,t,l,a){if(a={lane:2,revertLane:ps(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Uu(e)){if(t)throw Error(f(479))}else t=lc(e,l,a,2),t!==null&&vt(t,e,2)}function Uu(e){var t=e.alternate;return e===ie||t!==null&&t===ie}function mo(e,t){za=Ru=!0;var l=e.pending;l===null?t.next=t:(t.next=l.next,l.next=t),e.pending=t}function ho(e,t,l){if((l&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,gf(e,l)}}var xn={readContext:lt,use:Ou,useCallback:Ye,useContext:Ye,useEffect:Ye,useImperativeHandle:Ye,useLayoutEffect:Ye,useInsertionEffect:Ye,useMemo:Ye,useReducer:Ye,useRef:Ye,useState:Ye,useDebugValue:Ye,useDeferredValue:Ye,useTransition:Ye,useSyncExternalStore:Ye,useId:Ye,useHostTransitionStatus:Ye,useFormState:Ye,useActionState:Ye,useOptimistic:Ye,useMemoCache:Ye,useCacheRefresh:Ye};xn.useEffectEvent=Ye;var vo={readContext:lt,use:Ou,useCallback:function(e,t){return ct().memoizedState=[e,t===void 0?null:t],e},useContext:lt,useEffect:Fr,useImperativeHandle:function(e,t,l){l=l!=null?l.concat([e]):null,Du(4194308,4,to.bind(null,t,e),l)},useLayoutEffect:function(e,t){return Du(4194308,4,e,t)},useInsertionEffect:function(e,t){Du(4,2,e,t)},useMemo:function(e,t){var l=ct();t=t===void 0?null:t;var a=e();if(Pl){hl(!0);try{e()}finally{hl(!1)}}return l.memoizedState=[a,t],a},useReducer:function(e,t,l){var a=ct();if(l!==void 0){var n=l(t);if(Pl){hl(!0);try{l(t)}finally{hl(!1)}}}else n=t;return a.memoizedState=a.baseState=n,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},a.queue=e,e=e.dispatch=jv.bind(null,ie,e),[a.memoizedState,e]},useRef:function(e){var t=ct();return e={current:e},t.memoizedState=e},useState:function(e){e=Dc(e);var t=e.queue,l=oo.bind(null,ie,t);return t.dispatch=l,[e.memoizedState,l]},useDebugValue:Hc,useDeferredValue:function(e,t){var l=ct();return qc(l,e,t)},useTransition:function(){var e=Dc(!1);return e=io.bind(null,ie,e.queue,!0,!1),ct().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,l){var a=ie,n=ct();if(be){if(l===void 0)throw Error(f(407));l=l()}else{if(l=t(),Me===null)throw Error(f(349));(ve&127)!==0||Hr(a,t,l)}n.memoizedState=l;var u={value:l,getSnapshot:t};return n.queue=u,Fr(wr.bind(null,a,u,e),[e]),a.flags|=2048,Ca(9,{destroy:void 0},qr.bind(null,a,u,l,t),null),l},useId:function(){var e=ct(),t=Me.identifierPrefix;if(be){var l=Vt,a=Zt;l=(a&~(1<<32-gt(a)-1)).toString(32)+l,t="_"+t+"R_"+l,l=Au++,0<\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof a.is=="string"?s.createElement("select",{is:a.is}):s.createElement("select"),a.multiple?u.multiple=!0:a.size&&(u.size=a.size);break;default:u=typeof a.is=="string"?s.createElement(n,{is:a.is}):s.createElement(n)}}u[et]=t,u[ft]=a;e:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)u.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break e;for(;s.sibling===null;){if(s.return===null||s.return===t)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=u;e:switch(nt(u,n,a),n){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&ul(t)}}return we(t),Pc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,l),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&ul(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(f(166));if(e=ue.current,xa(t)){if(e=t.stateNode,l=t.memoizedProps,a=null,n=tt,n!==null)switch(n.tag){case 27:case 5:a=n.memoizedProps}e[et]=t,e=!!(e.nodeValue===l||a!==null&&a.suppressHydrationWarning===!0||Ud(e.nodeValue,l)),e||bl(t,!0)}else e=ei(e).createTextNode(a),e[et]=t,t.stateNode=e}return we(t),null;case 31:if(l=t.memoizedState,e===null||e.memoizedState!==null){if(a=xa(t),l!==null){if(e===null){if(!a)throw Error(f(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(f(557));e[et]=t}else Kl(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;we(t),e=!1}else l=fc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),e=!0;if(!e)return t.flags&256?(xt(t),t):(xt(t),null);if((t.flags&128)!==0)throw Error(f(558))}return we(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(n=xa(t),a!==null&&a.dehydrated!==null){if(e===null){if(!n)throw Error(f(318));if(n=t.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(f(317));n[et]=t}else Kl(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;we(t),n=!1}else n=fc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),n=!0;if(!n)return t.flags&256?(xt(t),t):(xt(t),null)}return xt(t),(t.flags&128)!==0?(t.lanes=l,t):(l=a!==null,e=e!==null&&e.memoizedState!==null,l&&(a=t.child,n=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(n=a.alternate.memoizedState.cachePool.pool),u=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),u!==n&&(a.flags|=2048)),l!==e&&l&&(t.child.flags|=8192),Lu(t,t.updateQueue),we(t),null);case 4:return q(),e===null&&Ss(t.stateNode.containerInfo),we(t),null;case 10:return tl(t.type),we(t),null;case 19:if(M(Xe),a=t.memoizedState,a===null)return we(t),null;if(n=(t.flags&128)!==0,u=a.rendering,u===null)if(n)Nn(a,!1);else{if(Ge!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(u=Tu(e),u!==null){for(t.flags|=128,Nn(a,!1),e=u.updateQueue,t.updateQueue=e,Lu(t,e),t.subtreeFlags=0,e=l,l=t.child;l!==null;)or(l,e),l=l.sibling;return X(Xe,Xe.current&1|2),be&&Pt(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&yt()>Zu&&(t.flags|=128,n=!0,Nn(a,!1),t.lanes=4194304)}else{if(!n)if(e=Tu(u),e!==null){if(t.flags|=128,n=!0,e=e.updateQueue,t.updateQueue=e,Lu(t,e),Nn(a,!0),a.tail===null&&a.tailMode==="hidden"&&!u.alternate&&!be)return we(t),null}else 2*yt()-a.renderingStartTime>Zu&&l!==536870912&&(t.flags|=128,n=!0,Nn(a,!1),t.lanes=4194304);a.isBackwards?(u.sibling=t.child,t.child=u):(e=a.last,e!==null?e.sibling=u:t.child=u,a.last=u)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=yt(),e.sibling=null,l=Xe.current,X(Xe,n?l&1|2:l&1),be&&Pt(t,a.treeForkCount),e):(we(t),null);case 22:case 23:return xt(t),xc(),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(l&536870912)!==0&&(t.flags&128)===0&&(we(t),t.subtreeFlags&6&&(t.flags|=8192)):we(t),l=t.updateQueue,l!==null&&Lu(t,l.retryQueue),l=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==l&&(t.flags|=2048),e!==null&&M($l),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),tl(Ke),we(t),null;case 25:return null;case 30:return null}throw Error(f(156,t.tag))}function Av(e,t){switch(cc(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return tl(Ke),q(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Ue(t),null;case 31:if(t.memoizedState!==null){if(xt(t),t.alternate===null)throw Error(f(340));Kl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(xt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(f(340));Kl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return M(Xe),null;case 4:return q(),null;case 10:return tl(t.type),null;case 22:case 23:return xt(t),xc(),e!==null&&M($l),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return tl(Ke),null;case 25:return null;default:return null}}function Lo(e,t){switch(cc(t),t.tag){case 3:tl(Ke),q();break;case 26:case 27:case 5:Ue(t);break;case 4:q();break;case 31:t.memoizedState!==null&&xt(t);break;case 13:xt(t);break;case 19:M(Xe);break;case 10:tl(t.type);break;case 22:case 23:xt(t),xc(),e!==null&&M($l);break;case 24:tl(Ke)}}function En(e,t){try{var l=t.updateQueue,a=l!==null?l.lastEffect:null;if(a!==null){var n=a.next;l=n;do{if((l.tag&e)===e){a=void 0;var u=l.create,s=l.inst;a=u(),s.destroy=a}l=l.next}while(l!==n)}}catch(d){Re(t,t.return,d)}}function Tl(e,t,l){try{var a=t.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var u=n.next;a=u;do{if((a.tag&e)===e){var s=a.inst,d=s.destroy;if(d!==void 0){s.destroy=void 0,n=t;var v=l,N=d;try{N()}catch(C){Re(n,v,C)}}}a=a.next}while(a!==u)}}catch(C){Re(t,t.return,C)}}function Yo(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;try{zr(t,l)}catch(a){Re(e,e.return,a)}}}function Go(e,t,l){l.props=ea(e.type,e.memoizedProps),l.state=e.memoizedState;try{l.componentWillUnmount()}catch(a){Re(e,t,a)}}function Tn(e,t){try{var l=e.ref;if(l!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:a=e.stateNode;break;default:a=e.stateNode}typeof l=="function"?e.refCleanup=l(a):l.current=a}}catch(n){Re(e,t,n)}}function Kt(e,t){var l=e.ref,a=e.refCleanup;if(l!==null)if(typeof a=="function")try{a()}catch(n){Re(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(n){Re(e,t,n)}else l.current=null}function Qo(e){var t=e.type,l=e.memoizedProps,a=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":l.autoFocus&&a.focus();break e;case"img":l.src?a.src=l.src:l.srcSet&&(a.srcset=l.srcSet)}}catch(n){Re(e,e.return,n)}}function es(e,t,l){try{var a=e.stateNode;Wv(a,e.type,l,t),a[ft]=t}catch(n){Re(e,e.return,n)}}function Xo(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Ml(e.type)||e.tag===4}function ts(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Xo(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.tag===27&&Ml(e.type)||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 ls(e,t,l){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(e,t):(t=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,t.appendChild(e),l=l._reactRootContainer,l!=null||t.onclick!==null||(t.onclick=Wt));else if(a!==4&&(a===27&&Ml(e.type)&&(l=e.stateNode,t=null),e=e.child,e!==null))for(ls(e,t,l),e=e.sibling;e!==null;)ls(e,t,l),e=e.sibling}function Yu(e,t,l){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?l.insertBefore(e,t):l.appendChild(e);else if(a!==4&&(a===27&&Ml(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(Yu(e,t,l),e=e.sibling;e!==null;)Yu(e,t,l),e=e.sibling}function Zo(e){var t=e.stateNode,l=e.memoizedProps;try{for(var a=e.type,n=t.attributes;n.length;)t.removeAttributeNode(n[0]);nt(t,a,l),t[et]=e,t[ft]=l}catch(u){Re(e,e.return,u)}}var il=!1,$e=!1,as=!1,Vo=typeof WeakSet=="function"?WeakSet:Set,Ie=null;function zv(e,t){if(e=e.containerInfo,Ns=ci,e=lr(e),Wi(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var a=l.getSelection&&l.getSelection();if(a&&a.rangeCount!==0){l=a.anchorNode;var n=a.anchorOffset,u=a.focusNode;a=a.focusOffset;try{l.nodeType,u.nodeType}catch{l=null;break e}var s=0,d=-1,v=-1,N=0,C=0,U=e,T=null;t:for(;;){for(var A;U!==l||n!==0&&U.nodeType!==3||(d=s+n),U!==u||a!==0&&U.nodeType!==3||(v=s+a),U.nodeType===3&&(s+=U.nodeValue.length),(A=U.firstChild)!==null;)T=U,U=A;for(;;){if(U===e)break t;if(T===l&&++N===n&&(d=s),T===u&&++C===a&&(v=s),(A=U.nextSibling)!==null)break;U=T,T=U.parentNode}U=A}l=d===-1||v===-1?null:{start:d,end:v}}else l=null}l=l||{start:0,end:0}}else l=null;for(Es={focusedElem:e,selectionRange:l},ci=!1,Ie=t;Ie!==null;)if(t=Ie,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Ie=e;else for(;Ie!==null;){switch(t=Ie,u=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(l=0;l title"))),nt(u,a,l),u[et]=e,Fe(u),a=u;break e;case"link":var s=Fd("link","href",n).get(a+(l.href||""));if(s){for(var d=0;dOe&&(s=Oe,Oe=te,te=s);var x=er(d,te),g=er(d,Oe);if(x&&g&&(A.rangeCount!==1||A.anchorNode!==x.node||A.anchorOffset!==x.offset||A.focusNode!==g.node||A.focusOffset!==g.offset)){var j=U.createRange();j.setStart(x.node,x.offset),A.removeAllRanges(),te>Oe?(A.addRange(j),A.extend(g.node,g.offset)):(j.setEnd(g.node,g.offset),A.addRange(j))}}}}for(U=[],A=d;A=A.parentNode;)A.nodeType===1&&U.push({element:A,left:A.scrollLeft,top:A.scrollTop});for(typeof d.focus=="function"&&d.focus(),d=0;dl?32:l,O.T=null,l=rs,rs=null;var u=Ol,s=ol;if(We=0,qa=Ol=null,ol=0,(Ne&6)!==0)throw Error(f(331));var d=Ne;if(Ne|=4,ld(u.current),Po(u,u.current,s,l),Ne=d,Dn(0,!1),pt&&typeof pt.onPostCommitFiberRoot=="function")try{pt.onPostCommitFiberRoot($a,u)}catch{}return!0}finally{Y.p=n,O.T=a,_d(e,t)}}function xd(e,t,l){t=Ot(l,t),t=Xc(e.stateNode,t,2),e=jl(e,t,2),e!==null&&(Fa(e,2),Jt(e))}function Re(e,t,l){if(e.tag===3)xd(e,e,l);else for(;t!==null;){if(t.tag===3){xd(t,e,l);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(zl===null||!zl.has(a))){e=Ot(l,e),l=jo(2),a=jl(t,l,2),a!==null&&(No(l,a,t,e),Fa(a,2),Jt(a));break}}t=t.return}}function hs(e,t,l){var a=e.pingCache;if(a===null){a=e.pingCache=new Dv;var n=new Set;a.set(t,n)}else n=a.get(t),n===void 0&&(n=new Set,a.set(t,n));n.has(l)||(is=!0,n.add(l),e=wv.bind(null,e,t,l),t.then(e,e))}function wv(e,t,l){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,Me===e&&(ve&l)===l&&(Ge===4||Ge===3&&(ve&62914560)===ve&&300>yt()-Xu?(Ne&2)===0&&wa(e,0):cs|=l,Ha===ve&&(Ha=0)),Jt(e)}function jd(e,t){t===0&&(t=yf()),e=Zl(e,t),e!==null&&(Fa(e,t),Jt(e))}function Bv(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),jd(e,l)}function Lv(e,t){var l=0;switch(e.tag){case 31:case 13:var a=e.stateNode,n=e.memoizedState;n!==null&&(l=n.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(f(314))}a!==null&&a.delete(t),jd(e,l)}function Yv(e,t){return Ri(e,t)}var Wu=null,La=null,vs=!1,Fu=!1,ys=!1,Dl=0;function Jt(e){e!==La&&e.next===null&&(La===null?Wu=La=e:La=La.next=e),Fu=!0,vs||(vs=!0,Qv())}function Dn(e,t){if(!ys&&Fu){ys=!0;do for(var l=!1,a=Wu;a!==null;){if(e!==0){var n=a.pendingLanes;if(n===0)var u=0;else{var s=a.suspendedLanes,d=a.pingedLanes;u=(1<<31-gt(42|e)+1)-1,u&=n&~(s&~d),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(l=!0,Rd(a,u))}else u=ve,u=tu(a,a===Me?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(u&3)===0||Wa(a,u)||(l=!0,Rd(a,u));a=a.next}while(l);ys=!1}}function Gv(){Nd()}function Nd(){Fu=vs=!1;var e=0;Dl!==0&&Iv()&&(e=Dl);for(var t=yt(),l=null,a=Wu;a!==null;){var n=a.next,u=Ed(a,t);u===0?(a.next=null,l===null?Wu=n:l.next=n,n===null&&(La=l)):(l=a,(e!==0||(u&3)!==0)&&(Fu=!0)),a=n}We!==0&&We!==5||Dn(e),Dl!==0&&(Dl=0)}function Ed(e,t){for(var l=e.suspendedLanes,a=e.pingedLanes,n=e.expirationTimes,u=e.pendingLanes&-62914561;0d)break;var C=v.transferSize,U=v.initiatorType;C&&Hd(U)&&(v=v.responseEnd,s+=C*(v"u"?null:document;function Jd(e,t,l){var a=Ya;if(a&&typeof t=="string"&&t){var n=At(t);n='link[rel="'+e+'"][href="'+n+'"]',typeof l=="string"&&(n+='[crossorigin="'+l+'"]'),Kd.has(n)||(Kd.add(n),e={rel:e,crossOrigin:l,href:t},a.querySelector(n)===null&&(t=a.createElement("link"),nt(t,"link",e),Fe(t),a.head.appendChild(t)))}}function cy(e){dl.D(e),Jd("dns-prefetch",e,null)}function sy(e,t){dl.C(e,t),Jd("preconnect",e,t)}function fy(e,t,l){dl.L(e,t,l);var a=Ya;if(a&&e&&t){var n='link[rel="preload"][as="'+At(t)+'"]';t==="image"&&l&&l.imageSrcSet?(n+='[imagesrcset="'+At(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(n+='[imagesizes="'+At(l.imageSizes)+'"]')):n+='[href="'+At(e)+'"]';var u=n;switch(t){case"style":u=Ga(e);break;case"script":u=Qa(e)}qt.has(u)||(e=E({rel:"preload",href:t==="image"&&l&&l.imageSrcSet?void 0:e,as:t},l),qt.set(u,e),a.querySelector(n)!==null||t==="style"&&a.querySelector(qn(u))||t==="script"&&a.querySelector(wn(u))||(t=a.createElement("link"),nt(t,"link",e),Fe(t),a.head.appendChild(t)))}}function ry(e,t){dl.m(e,t);var l=Ya;if(l&&e){var a=t&&typeof t.as=="string"?t.as:"script",n='link[rel="modulepreload"][as="'+At(a)+'"][href="'+At(e)+'"]',u=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=Qa(e)}if(!qt.has(u)&&(e=E({rel:"modulepreload",href:e},t),qt.set(u,e),l.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(wn(u)))return}a=l.createElement("link"),nt(a,"link",e),Fe(a),l.head.appendChild(a)}}}function oy(e,t,l){dl.S(e,t,l);var a=Ya;if(a&&e){var n=fa(a).hoistableStyles,u=Ga(e);t=t||"default";var s=n.get(u);if(!s){var d={loading:0,preload:null};if(s=a.querySelector(qn(u)))d.loading=5;else{e=E({rel:"stylesheet",href:e,"data-precedence":t},l),(l=qt.get(u))&&Ds(e,l);var v=s=a.createElement("link");Fe(v),nt(v,"link",e),v._p=new Promise(function(N,C){v.onload=N,v.onerror=C}),v.addEventListener("load",function(){d.loading|=1}),v.addEventListener("error",function(){d.loading|=2}),d.loading|=4,li(s,t,a)}s={type:"stylesheet",instance:s,count:1,state:d},n.set(u,s)}}}function dy(e,t){dl.X(e,t);var l=Ya;if(l&&e){var a=fa(l).hoistableScripts,n=Qa(e),u=a.get(n);u||(u=l.querySelector(wn(n)),u||(e=E({src:e,async:!0},t),(t=qt.get(n))&&Ms(e,t),u=l.createElement("script"),Fe(u),nt(u,"link",e),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function my(e,t){dl.M(e,t);var l=Ya;if(l&&e){var a=fa(l).hoistableScripts,n=Qa(e),u=a.get(n);u||(u=l.querySelector(wn(n)),u||(e=E({src:e,async:!0,type:"module"},t),(t=qt.get(n))&&Ms(e,t),u=l.createElement("script"),Fe(u),nt(u,"link",e),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function kd(e,t,l,a){var n=(n=ue.current)?ti(n):null;if(!n)throw Error(f(446));switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(t=Ga(l.href),l=fa(n).hoistableStyles,a=l.get(t),a||(a={type:"style",instance:null,count:0,state:null},l.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){e=Ga(l.href);var u=fa(n).hoistableStyles,s=u.get(e);if(s||(n=n.ownerDocument||n,s={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(e,s),(u=n.querySelector(qn(e)))&&!u._p&&(s.instance=u,s.state.loading=5),qt.has(e)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},qt.set(e,l),u||hy(n,e,l,s.state))),t&&a===null)throw Error(f(528,""));return s}if(t&&a!==null)throw Error(f(529,""));return null;case"script":return t=l.async,l=l.src,typeof l=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Qa(l),l=fa(n).hoistableScripts,a=l.get(t),a||(a={type:"script",instance:null,count:0,state:null},l.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(f(444,e))}}function Ga(e){return'href="'+At(e)+'"'}function qn(e){return'link[rel="stylesheet"]['+e+"]"}function $d(e){return E({},e,{"data-precedence":e.precedence,precedence:null})}function hy(e,t,l,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),nt(t,"link",l),Fe(t),e.head.appendChild(t))}function Qa(e){return'[src="'+At(e)+'"]'}function wn(e){return"script[async]"+e}function Wd(e,t,l){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+At(l.href)+'"]');if(a)return t.instance=a,Fe(a),a;var n=E({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),Fe(a),nt(a,"style",n),li(a,l.precedence,e),t.instance=a;case"stylesheet":n=Ga(l.href);var u=e.querySelector(qn(n));if(u)return t.state.loading|=4,t.instance=u,Fe(u),u;a=$d(l),(n=qt.get(n))&&Ds(a,n),u=(e.ownerDocument||e).createElement("link"),Fe(u);var s=u;return s._p=new Promise(function(d,v){s.onload=d,s.onerror=v}),nt(u,"link",a),t.state.loading|=4,li(u,l.precedence,e),t.instance=u;case"script":return u=Qa(l.src),(n=e.querySelector(wn(u)))?(t.instance=n,Fe(n),n):(a=l,(n=qt.get(u))&&(a=E({},l),Ms(a,n)),e=e.ownerDocument||e,n=e.createElement("script"),Fe(n),nt(n,"link",a),e.head.appendChild(n),t.instance=n);case"void":return null;default:throw Error(f(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,li(a,l.precedence,e));return t.instance}function li(e,t,l){for(var a=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=a.length?a[a.length-1]:null,u=n,s=0;s title"):null)}function vy(e,t,l){if(l===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;return t.rel==="stylesheet"?(e=t.disabled,typeof t.precedence=="string"&&e==null):!0;case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function Pd(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function yy(e,t,l,a){if(l.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var n=Ga(a.href),u=t.querySelector(qn(n));if(u){t=u._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=ni.bind(e),t.then(e,e)),l.state.loading|=4,l.instance=u,Fe(u);return}u=t.ownerDocument||t,a=$d(a),(n=qt.get(n))&&Ds(a,n),u=u.createElement("link"),Fe(u);var s=u;s._p=new Promise(function(d,v){s.onload=d,s.onerror=v}),nt(u,"link",a),l.instance=u}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(l,t),(t=l.state.preload)&&(l.state.loading&3)===0&&(e.count++,l=ni.bind(e),t.addEventListener("load",l),t.addEventListener("error",l))}}var Us=0;function py(e,t){return e.stylesheets&&e.count===0&&ii(e,e.stylesheets),0Us?50:800)+t);return e.unsuspend=l,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(n)}}:null}function ni(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)ii(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var ui=null;function ii(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,ui=new Map,t.forEach(gy,e),ui=null,ni.call(e))}function gy(e,t){if(!(t.state.loading&4)){var l=ui.get(e);if(l)var a=l.get(null);else{l=new Map,ui.set(e,l);for(var n=e.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(r){console.error(r)}}return i(),Xs.exports=Uy(),Xs.exports}var qy=Hy();var jm="popstate";function Nm(i){return typeof i=="object"&&i!=null&&"pathname"in i&&"search"in i&&"hash"in i&&"state"in i&&"key"in i}function wy(i={}){function r(m,h){let{pathname:_="/",search:R="",hash:S=""}=ua(m.location.hash.substring(1));return!_.startsWith("/")&&!_.startsWith(".")&&(_="/"+_),Is("",{pathname:_,search:R,hash:S},h.state&&h.state.usr||null,h.state&&h.state.key||"default")}function o(m,h){let _=m.document.querySelector("base"),R="";if(_&&_.getAttribute("href")){let S=m.location.href,y=S.indexOf("#");R=y===-1?S:S.slice(0,y)}return R+"#"+(typeof h=="string"?h:Jn(h))}function f(m,h){Bt(m.pathname.charAt(0)==="/",`relative pathnames are not supported in hash history.push(${JSON.stringify(h)})`)}return Ly(r,o,f,i)}function Le(i,r){if(i===!1||i===null||typeof i>"u")throw new Error(r)}function Bt(i,r){if(!i){typeof console<"u"&&console.warn(r);try{throw new Error(r)}catch{}}}function By(){return Math.random().toString(36).substring(2,10)}function Em(i,r){return{usr:i.state,key:i.key,idx:r,masked:i.unstable_mask?{pathname:i.pathname,search:i.search,hash:i.hash}:void 0}}function Is(i,r,o=null,f,m){return{pathname:typeof i=="string"?i:i.pathname,search:"",hash:"",...typeof r=="string"?ua(r):r,state:o,key:r&&r.key||f||By(),unstable_mask:m}}function Jn({pathname:i="/",search:r="",hash:o=""}){return r&&r!=="?"&&(i+=r.charAt(0)==="?"?r:"?"+r),o&&o!=="#"&&(i+=o.charAt(0)==="#"?o:"#"+o),i}function ua(i){let r={};if(i){let o=i.indexOf("#");o>=0&&(r.hash=i.substring(o),i=i.substring(0,o));let f=i.indexOf("?");f>=0&&(r.search=i.substring(f),i=i.substring(0,f)),i&&(r.pathname=i)}return r}function Ly(i,r,o,f={}){let{window:m=document.defaultView,v5Compat:h=!1}=f,_=m.history,R="POP",S=null,y=z();y==null&&(y=0,_.replaceState({..._.state,idx:y},""));function z(){return(_.state||{idx:null}).idx}function E(){R="POP";let w=z(),Z=w==null?null:w-y;y=w,S&&S({action:R,location:Q.location,delta:Z})}function L(w,Z){R="PUSH";let F=Nm(w)?w:Is(Q.location,w,Z);o&&o(F,w),y=z()+1;let $=Em(F,y),G=Q.createHref(F.unstable_mask||F);try{_.pushState($,"",G)}catch(ne){if(ne instanceof DOMException&&ne.name==="DataCloneError")throw ne;m.location.assign(G)}h&&S&&S({action:R,location:Q.location,delta:1})}function B(w,Z){R="REPLACE";let F=Nm(w)?w:Is(Q.location,w,Z);o&&o(F,w),y=z();let $=Em(F,y),G=Q.createHref(F.unstable_mask||F);_.replaceState($,"",G),h&&S&&S({action:R,location:Q.location,delta:0})}function V(w){return Yy(w)}let Q={get action(){return R},get location(){return i(m,_)},listen(w){if(S)throw new Error("A history only accepts one active listener");return m.addEventListener(jm,E),S=w,()=>{m.removeEventListener(jm,E),S=null}},createHref(w){return r(m,w)},createURL:V,encodeLocation(w){let Z=V(w);return{pathname:Z.pathname,search:Z.search,hash:Z.hash}},push:L,replace:B,go(w){return _.go(w)}};return Q}function Yy(i,r=!1){let o="http://localhost";typeof window<"u"&&(o=window.location.origin!=="null"?window.location.origin:window.location.href),Le(o,"No window.location.(origin|href) available to create URL");let f=typeof i=="string"?i:Jn(i);return f=f.replace(/ $/,"%20"),!r&&f.startsWith("//")&&(f=o+f),new URL(f,o)}function Um(i,r,o="/"){return Gy(i,r,o,!1)}function Gy(i,r,o,f){let m=typeof r=="string"?ua(r):r,h=ml(m.pathname||"/",o);if(h==null)return null;let _=Hm(i);Qy(_);let R=null;for(let S=0;R==null&&S<_.length;++S){let y=Py(h);R=Fy(_[S],y,f)}return R}function Hm(i,r=[],o=[],f="",m=!1){let h=(_,R,S=m,y)=>{let z={relativePath:y===void 0?_.path||"":y,caseSensitive:_.caseSensitive===!0,childrenIndex:R,route:_};if(z.relativePath.startsWith("/")){if(!z.relativePath.startsWith(f)&&S)return;Le(z.relativePath.startsWith(f),`Absolute route path "${z.relativePath}" nested under path "${f}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),z.relativePath=z.relativePath.slice(f.length)}let E=Qt([f,z.relativePath]),L=o.concat(z);_.children&&_.children.length>0&&(Le(_.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${E}".`),Hm(_.children,r,L,E,S)),!(_.path==null&&!_.index)&&r.push({path:E,score:$y(E,_.index),routesMeta:L})};return i.forEach((_,R)=>{if(_.path===""||!_.path?.includes("?"))h(_,R);else for(let S of qm(_.path))h(_,R,!0,S)}),r}function qm(i){let r=i.split("/");if(r.length===0)return[];let[o,...f]=r,m=o.endsWith("?"),h=o.replace(/\?$/,"");if(f.length===0)return m?[h,""]:[h];let _=qm(f.join("/")),R=[];return R.push(..._.map(S=>S===""?h:[h,S].join("/"))),m&&R.push(..._),R.map(S=>i.startsWith("/")&&S===""?"/":S)}function Qy(i){i.sort((r,o)=>r.score!==o.score?o.score-r.score:Wy(r.routesMeta.map(f=>f.childrenIndex),o.routesMeta.map(f=>f.childrenIndex)))}var Xy=/^:[\w-]+$/,Zy=3,Vy=2,Ky=1,Jy=10,ky=-2,Tm=i=>i==="*";function $y(i,r){let o=i.split("/"),f=o.length;return o.some(Tm)&&(f+=ky),r&&(f+=Vy),o.filter(m=>!Tm(m)).reduce((m,h)=>m+(Xy.test(h)?Zy:h===""?Ky:Jy),f)}function Wy(i,r){return i.length===r.length&&i.slice(0,-1).every((f,m)=>f===r[m])?i[i.length-1]-r[r.length-1]:0}function Fy(i,r,o=!1){let{routesMeta:f}=i,m={},h="/",_=[];for(let R=0;R{if(z==="*"){let V=R[L]||"";_=h.slice(0,h.length-V.length).replace(/(.)\/+$/,"$1")}const B=R[L];return E&&!B?y[z]=void 0:y[z]=(B||"").replace(/%2F/g,"/"),y},{}),pathname:h,pathnameBase:_,pattern:i}}function Iy(i,r=!1,o=!0){Bt(i==="*"||!i.endsWith("*")||i.endsWith("/*"),`Route path "${i}" will be treated as if it were "${i.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${i.replace(/\*$/,"/*")}".`);let f=[],m="^"+i.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(_,R,S,y,z)=>{if(f.push({paramName:R,isOptional:S!=null}),S){let E=z.charAt(y+_.length);return E&&E!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return i.endsWith("*")?(f.push({paramName:"*"}),m+=i==="*"||i==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):o?m+="\\/*$":i!==""&&i!=="/"&&(m+="(?:(?=\\/|$))"),[new RegExp(m,r?void 0:"i"),f]}function Py(i){try{return i.split("/").map(r=>decodeURIComponent(r).replace(/\//g,"%2F")).join("/")}catch(r){return Bt(!1,`The URL path "${i}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${r}).`),i}}function ml(i,r){if(r==="/")return i;if(!i.toLowerCase().startsWith(r.toLowerCase()))return null;let o=r.endsWith("/")?r.length-1:r.length,f=i.charAt(o);return f&&f!=="/"?null:i.slice(o)||"/"}var ep=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function tp(i,r="/"){let{pathname:o,search:f="",hash:m=""}=typeof i=="string"?ua(i):i,h;return o?(o=wm(o),o.startsWith("/")?h=Rm(o.substring(1),"/"):h=Rm(o,r)):h=r,{pathname:h,search:np(f),hash:up(m)}}function Rm(i,r){let o=xi(r).split("/");return i.split("/").forEach(m=>{m===".."?o.length>1&&o.pop():m!=="."&&o.push(m)}),o.length>1?o.join("/"):"/"}function Js(i,r,o,f){return`Cannot include a '${i}' character in a manually specified \`to.${r}\` field [${JSON.stringify(f)}]. Please separate it out to the \`to.${o}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function lp(i){return i.filter((r,o)=>o===0||r.route.path&&r.route.path.length>0)}function lf(i){let r=lp(i);return r.map((o,f)=>f===r.length-1?o.pathname:o.pathnameBase)}function ji(i,r,o,f=!1){let m;typeof i=="string"?m=ua(i):(m={...i},Le(!m.pathname||!m.pathname.includes("?"),Js("?","pathname","search",m)),Le(!m.pathname||!m.pathname.includes("#"),Js("#","pathname","hash",m)),Le(!m.search||!m.search.includes("#"),Js("#","search","hash",m)));let h=i===""||m.pathname==="",_=h?"/":m.pathname,R;if(_==null)R=o;else{let E=r.length-1;if(!f&&_.startsWith("..")){let L=_.split("/");for(;L[0]==="..";)L.shift(),E-=1;m.pathname=L.join("/")}R=E>=0?r[E]:"/"}let S=tp(m,R),y=_&&_!=="/"&&_.endsWith("/"),z=(h||_===".")&&o.endsWith("/");return!S.pathname.endsWith("/")&&(y||z)&&(S.pathname+="/"),S}var wm=i=>i.replace(/\/\/+/g,"/"),Qt=i=>wm(i.join("/")),xi=i=>i.replace(/\/+$/,""),ap=i=>xi(i).replace(/^\/*/,"/"),np=i=>!i||i==="?"?"":i.startsWith("?")?i:"?"+i,up=i=>!i||i==="#"?"":i.startsWith("#")?i:"#"+i,ip=class{constructor(i,r,o,f=!1){this.status=i,this.statusText=r||"",this.internal=f,o instanceof Error?(this.data=o.toString(),this.error=o):this.data=o}};function cp(i){return i!=null&&typeof i.status=="number"&&typeof i.statusText=="string"&&typeof i.internal=="boolean"&&"data"in i}function sp(i){let r=i.map(o=>o.route.path).filter(Boolean);return Qt(r)||"/"}var Bm=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Lm(i,r){let o=i;if(typeof o!="string"||!ep.test(o))return{absoluteURL:void 0,isExternal:!1,to:o};let f=o,m=!1;if(Bm)try{let h=new URL(window.location.href),_=o.startsWith("//")?new URL(h.protocol+o):new URL(o),R=ml(_.pathname,r);_.origin===h.origin&&R!=null?o=R+_.search+_.hash:m=!0}catch{Bt(!1,` contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:f,isExternal:m,to:o}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Ym=["POST","PUT","PATCH","DELETE"];new Set(Ym);var fp=["GET",...Ym];new Set(fp);var Ja=p.createContext(null);Ja.displayName="DataRouter";var Ni=p.createContext(null);Ni.displayName="DataRouterState";var Gm=p.createContext(!1);function rp(){return p.useContext(Gm)}var Qm=p.createContext({isTransitioning:!1});Qm.displayName="ViewTransition";var op=p.createContext(new Map);op.displayName="Fetchers";var dp=p.createContext(null);dp.displayName="Await";var Tt=p.createContext(null);Tt.displayName="Navigation";var kn=p.createContext(null);kn.displayName="Location";var Xt=p.createContext({outlet:null,matches:[],isDataRoute:!1});Xt.displayName="Route";var af=p.createContext(null);af.displayName="RouteError";var Xm="REACT_ROUTER_ERROR",mp="REDIRECT",hp="ROUTE_ERROR_RESPONSE";function vp(i){if(i.startsWith(`${Xm}:${mp}:{`))try{let r=JSON.parse(i.slice(28));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.location=="string"&&typeof r.reloadDocument=="boolean"&&typeof r.replace=="boolean")return r}catch{}}function yp(i){if(i.startsWith(`${Xm}:${hp}:{`))try{let r=JSON.parse(i.slice(40));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string")return new ip(r.status,r.statusText,r.data)}catch{}}function pp(i,{relative:r}={}){Le(ka(),"useHref() may be used only in the context of a component.");let{basename:o,navigator:f}=p.useContext(Tt),{hash:m,pathname:h,search:_}=$n(i,{relative:r}),R=h;return o!=="/"&&(R=h==="/"?o:Qt([o,h])),f.createHref({pathname:R,search:_,hash:m})}function ka(){return p.useContext(kn)!=null}function kt(){return Le(ka(),"useLocation() may be used only in the context of a component."),p.useContext(kn).location}var Zm="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Vm(i){p.useContext(Tt).static||p.useLayoutEffect(i)}function Km(){let{isDataRoute:i}=p.useContext(Xt);return i?Dp():gp()}function gp(){Le(ka(),"useNavigate() may be used only in the context of a component.");let i=p.useContext(Ja),{basename:r,navigator:o}=p.useContext(Tt),{matches:f}=p.useContext(Xt),{pathname:m}=kt(),h=JSON.stringify(lf(f)),_=p.useRef(!1);return Vm(()=>{_.current=!0}),p.useCallback((S,y={})=>{if(Bt(_.current,Zm),!_.current)return;if(typeof S=="number"){o.go(S);return}let z=ji(S,JSON.parse(h),m,y.relative==="path");i==null&&r!=="/"&&(z.pathname=z.pathname==="/"?r:Qt([r,z.pathname])),(y.replace?o.replace:o.push)(z,y.state,y)},[r,o,h,m,i])}var bp=p.createContext(null);function _p(i){let r=p.useContext(Xt).outlet;return p.useMemo(()=>r&&p.createElement(bp.Provider,{value:i},r),[r,i])}function $n(i,{relative:r}={}){let{matches:o}=p.useContext(Xt),{pathname:f}=kt(),m=JSON.stringify(lf(o));return p.useMemo(()=>ji(i,JSON.parse(m),f,r==="path"),[i,m,f,r])}function Sp(i,r){return Jm(i,r)}function Jm(i,r,o){Le(ka(),"useRoutes() may be used only in the context of a component.");let{navigator:f}=p.useContext(Tt),{matches:m}=p.useContext(Xt),h=m[m.length-1],_=h?h.params:{},R=h?h.pathname:"/",S=h?h.pathnameBase:"/",y=h&&h.route;{let w=y&&y.path||"";$m(R,!y||w.endsWith("*")||w.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${R}" (under ) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. +`+a.stack}}var Ti=Object.prototype.hasOwnProperty,Ri=i.unstable_scheduleCallback,Ai=i.unstable_cancelCallback,uh=i.unstable_shouldYield,ih=i.unstable_requestPaint,yt=i.unstable_now,ch=i.unstable_getCurrentPriorityLevel,mf=i.unstable_ImmediatePriority,hf=i.unstable_UserBlockingPriority,In=i.unstable_NormalPriority,sh=i.unstable_LowPriority,vf=i.unstable_IdlePriority,fh=i.log,rh=i.unstable_setDisableYieldValue,$a=null,pt=null;function hl(e){if(typeof fh=="function"&&rh(e),pt&&typeof pt.setStrictMode=="function")try{pt.setStrictMode($a,e)}catch{}}var gt=Math.clz32?Math.clz32:mh,oh=Math.log,dh=Math.LN2;function mh(e){return e>>>=0,e===0?32:31-(oh(e)/dh|0)|0}var Pn=256,eu=262144,tu=4194304;function Ll(e){var t=e&42;if(t!==0)return t;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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function lu(e,t,l){var a=e.pendingLanes;if(a===0)return 0;var n=0,u=e.suspendedLanes,s=e.pingedLanes;e=e.warmLanes;var d=a&134217727;return d!==0?(a=d&~u,a!==0?n=Ll(a):(s&=d,s!==0?n=Ll(s):l||(l=d&~e,l!==0&&(n=Ll(l))))):(d=a&~u,d!==0?n=Ll(d):s!==0?n=Ll(s):l||(l=a&~e,l!==0&&(n=Ll(l)))),n===0?0:t!==0&&t!==n&&(t&u)===0&&(u=n&-n,l=t&-t,u>=l||u===32&&(l&4194048)!==0)?t:n}function Wa(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function hh(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32: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 t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function yf(){var e=tu;return tu<<=1,(tu&62914560)===0&&(tu=4194304),e}function zi(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function Fa(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function vh(e,t,l,a,n,u){var s=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var d=e.entanglements,v=e.expirationTimes,N=e.hiddenUpdates;for(l=s&~l;0"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var Sh=/[\n"\\]/g;function At(e){return e.replace(Sh,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Hi(e,t,l,a,n,u,s,d){e.name="",s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"?e.type=s:e.removeAttribute("type"),t!=null?s==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Rt(t)):e.value!==""+Rt(t)&&(e.value=""+Rt(t)):s!=="submit"&&s!=="reset"||e.removeAttribute("value"),t!=null?qi(e,s,Rt(t)):l!=null?qi(e,s,Rt(l)):a!=null&&e.removeAttribute("value"),n==null&&u!=null&&(e.defaultChecked=!!u),n!=null&&(e.checked=n&&typeof n!="function"&&typeof n!="symbol"),d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?e.name=""+Rt(d):e.removeAttribute("name")}function zf(e,t,l,a,n,u,s,d){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(e.type=u),t!=null||l!=null){if(!(u!=="submit"&&u!=="reset"||t!=null)){Ui(e);return}l=l!=null?""+Rt(l):"",t=t!=null?""+Rt(t):l,d||t===e.value||(e.value=t),e.defaultValue=t}a=a??n,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=d?e.checked:!!a,e.defaultChecked=!!a,s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(e.name=s),Ui(e)}function qi(e,t,l){t==="number"&&uu(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function oa(e,t,l,a){if(e=e.options,t){t={};for(var n=0;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Gi=!1;if(Ft)try{var tn={};Object.defineProperty(tn,"passive",{get:function(){Gi=!0}}),window.addEventListener("test",tn,tn),window.removeEventListener("test",tn,tn)}catch{Gi=!1}var yl=null,Qi=null,cu=null;function qf(){if(cu)return cu;var e,t=Qi,l=t.length,a,n="value"in yl?yl.value:yl.textContent,u=n.length;for(e=0;e=nn),Qf=" ",Xf=!1;function Zf(e,t){switch(e){case"keyup":return $h.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var va=!1;function Fh(e,t){switch(e){case"compositionend":return Vf(t);case"keypress":return t.which!==32?null:(Xf=!0,Qf);case"textInput":return e=t.data,e===Qf&&Xf?null:e;default:return null}}function Ih(e,t){if(va)return e==="compositionend"||!Ji&&Zf(e,t)?(e=qf(),cu=Qi=yl=null,va=!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:l,offset:t-e};e=a}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=Pf(l)}}function tr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?tr(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function lr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=uu(e.document);t instanceof e.HTMLIFrameElement;){try{var l=typeof t.contentWindow.location.href=="string"}catch{l=!1}if(l)e=t.contentWindow;else break;t=uu(e.document)}return t}function Wi(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")}var iv=Ft&&"documentMode"in document&&11>=document.documentMode,ya=null,Fi=null,fn=null,Ii=!1;function ar(e,t,l){var a=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Ii||ya==null||ya!==uu(a)||(a=ya,"selectionStart"in a&&Wi(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),fn&&sn(fn,a)||(fn=a,a=ei(Fi,"onSelect"),0>=s,n-=s,Zt=1<<32-gt(t)+n|l<ce?(ye=W,W=null):ye=W.sibling;var je=T(x,W,j[ce],D);if(je===null){W===null&&(W=ye);break}e&&W&&je.alternate===null&&t(x,W),g=u(je,g,ce),xe===null?I=je:xe.sibling=je,xe=je,W=ye}if(ce===j.length)return l(x,W),be&&Pt(x,ce),I;if(W===null){for(;cece?(ye=W,W=null):ye=W.sibling;var Bl=T(x,W,je.value,D);if(Bl===null){W===null&&(W=ye);break}e&&W&&Bl.alternate===null&&t(x,W),g=u(Bl,g,ce),xe===null?I=Bl:xe.sibling=Bl,xe=Bl,W=ye}if(je.done)return l(x,W),be&&Pt(x,ce),I;if(W===null){for(;!je.done;ce++,je=j.next())je=U(x,je.value,D),je!==null&&(g=u(je,g,ce),xe===null?I=je:xe.sibling=je,xe=je);return be&&Pt(x,ce),I}for(W=a(W);!je.done;ce++,je=j.next())je=A(W,x,ce,je.value,D),je!==null&&(e&&je.alternate!==null&&W.delete(je.key===null?ce:je.key),g=u(je,g,ce),xe===null?I=je:xe.sibling=je,xe=je);return e&&W.forEach(function(Ty){return t(x,Ty)}),be&&Pt(x,ce),I}function Oe(x,g,j,D){if(typeof j=="object"&&j!==null&&j.type===Q&&j.key===null&&(j=j.props.children),typeof j=="object"&&j!==null){switch(j.$$typeof){case B:e:{for(var I=j.key;g!==null;){if(g.key===I){if(I=j.type,I===Q){if(g.tag===7){l(x,g.sibling),D=n(g,j.props.children),D.return=x,x=D;break e}}else if(g.elementType===I||typeof I=="object"&&I!==null&&I.$$typeof===se&&Wl(I)===g.type){l(x,g.sibling),D=n(g,j.props),vn(D,j),D.return=x,x=D;break e}l(x,g);break}else t(x,g);g=g.sibling}j.type===Q?(D=Vl(j.props.children,x.mode,D,j.key),D.return=x,x=D):(D=pu(j.type,j.key,j.props,null,x.mode,D),vn(D,j),D.return=x,x=D)}return s(x);case V:e:{for(I=j.key;g!==null;){if(g.key===I)if(g.tag===4&&g.stateNode.containerInfo===j.containerInfo&&g.stateNode.implementation===j.implementation){l(x,g.sibling),D=n(g,j.children||[]),D.return=x,x=D;break e}else{l(x,g);break}else t(x,g);g=g.sibling}D=uc(j,x.mode,D),D.return=x,x=D}return s(x);case se:return j=Wl(j),Oe(x,g,j,D)}if(De(j))return k(x,g,j,D);if(Se(j)){if(I=Se(j),typeof I!="function")throw Error(f(150));return j=I.call(j),te(x,g,j,D)}if(typeof j.then=="function")return Oe(x,g,Nu(j),D);if(j.$$typeof===$)return Oe(x,g,_u(x,j),D);Eu(x,j)}return typeof j=="string"&&j!==""||typeof j=="number"||typeof j=="bigint"?(j=""+j,g!==null&&g.tag===6?(l(x,g.sibling),D=n(g,j),D.return=x,x=D):(l(x,g),D=nc(j,x.mode,D),D.return=x,x=D),s(x)):l(x,g)}return function(x,g,j,D){try{hn=0;var I=Oe(x,g,j,D);return Ra=null,I}catch(W){if(W===Ta||W===xu)throw W;var xe=_t(29,W,null,x.mode);return xe.lanes=D,xe.return=x,xe}}}var Il=Tr(!0),Rr=Tr(!1),Sl=!1;function pc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function gc(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function xl(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function jl(e,t,l){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(Ne&2)!==0){var n=a.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),a.pending=t,t=yu(e),rr(e,null,l),t}return vu(e,a,t,l),yu(e)}function yn(e,t,l){if(t=t.updateQueue,t!==null&&(t=t.shared,(l&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,gf(e,l)}}function bc(e,t){var l=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,l===a)){var n=null,u=null;if(l=l.firstBaseUpdate,l!==null){do{var s={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};u===null?n=u=s:u=u.next=s,l=l.next}while(l!==null);u===null?n=u=t:u=u.next=t}else n=u=t;l={baseState:a.baseState,firstBaseUpdate:n,lastBaseUpdate:u,shared:a.shared,callbacks:a.callbacks},e.updateQueue=l;return}e=l.lastBaseUpdate,e===null?l.firstBaseUpdate=t:e.next=t,l.lastBaseUpdate=t}var _c=!1;function pn(){if(_c){var e=Ea;if(e!==null)throw e}}function gn(e,t,l,a){_c=!1;var n=e.updateQueue;Sl=!1;var u=n.firstBaseUpdate,s=n.lastBaseUpdate,d=n.shared.pending;if(d!==null){n.shared.pending=null;var v=d,N=v.next;v.next=null,s===null?u=N:s.next=N,s=v;var C=e.alternate;C!==null&&(C=C.updateQueue,d=C.lastBaseUpdate,d!==s&&(d===null?C.firstBaseUpdate=N:d.next=N,C.lastBaseUpdate=v))}if(u!==null){var U=n.baseState;s=0,C=N=v=null,d=u;do{var T=d.lane&-536870913,A=T!==d.lane;if(A?(ve&T)===T:(a&T)===T){T!==0&&T===Na&&(_c=!0),C!==null&&(C=C.next={lane:0,tag:d.tag,payload:d.payload,callback:null,next:null});e:{var k=e,te=d;T=t;var Oe=l;switch(te.tag){case 1:if(k=te.payload,typeof k=="function"){U=k.call(Oe,U,T);break e}U=k;break e;case 3:k.flags=k.flags&-65537|128;case 0:if(k=te.payload,T=typeof k=="function"?k.call(Oe,U,T):k,T==null)break e;U=E({},U,T);break e;case 2:Sl=!0}}T=d.callback,T!==null&&(e.flags|=64,A&&(e.flags|=8192),A=n.callbacks,A===null?n.callbacks=[T]:A.push(T))}else A={lane:T,tag:d.tag,payload:d.payload,callback:d.callback,next:null},C===null?(N=C=A,v=U):C=C.next=A,s|=T;if(d=d.next,d===null){if(d=n.shared.pending,d===null)break;A=d,d=A.next,A.next=null,n.lastBaseUpdate=A,n.shared.pending=null}}while(!0);C===null&&(v=U),n.baseState=v,n.firstBaseUpdate=N,n.lastBaseUpdate=C,u===null&&(n.shared.lanes=0),Al|=s,e.lanes=s,e.memoizedState=U}}function Ar(e,t){if(typeof e!="function")throw Error(f(191,e));e.call(t)}function zr(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;eu?u:8;var s=O.T,d={};O.T=d,Lc(e,!1,t,l);try{var v=n(),N=O.S;if(N!==null&&N(d,v),v!==null&&typeof v=="object"&&typeof v.then=="function"){var C=vv(v,a);Sn(e,t,C,Et(e))}else Sn(e,t,a,Et(e))}catch(U){Sn(e,t,{then:function(){},status:"rejected",reason:U},Et())}finally{Y.p=u,s!==null&&d.types!==null&&(s.types=d.types),O.T=s}}function Sv(){}function wc(e,t,l,a){if(e.tag!==5)throw Error(f(476));var n=co(e).queue;io(e,n,t,P,l===null?Sv:function(){return so(e),l(a)})}function co(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:P,baseState:P,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:al,lastRenderedState:P},next:null};var l={};return t.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:al,lastRenderedState:l},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function so(e){var t=co(e);t.next===null&&(t=e.alternate.memoizedState),Sn(e,t.next.queue,{},Et())}function Bc(){return lt(Bn)}function fo(){return Ze().memoizedState}function ro(){return Ze().memoizedState}function xv(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var l=Et();e=xl(l);var a=jl(t,e,l);a!==null&&(vt(a,t,l),yn(a,t,l)),t={cache:mc()},e.payload=t;return}t=t.return}}function jv(e,t,l){var a=Et();l={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Hu(e)?mo(t,l):(l=lc(e,t,l,a),l!==null&&(vt(l,e,a),ho(l,t,a)))}function oo(e,t,l){var a=Et();Sn(e,t,l,a)}function Sn(e,t,l,a){var n={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(Hu(e))mo(t,n);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var s=t.lastRenderedState,d=u(s,l);if(n.hasEagerState=!0,n.eagerState=d,bt(d,s))return vu(e,t,n,0),Me===null&&hu(),!1}catch{}if(l=lc(e,t,n,a),l!==null)return vt(l,e,a),ho(l,t,a),!0}return!1}function Lc(e,t,l,a){if(a={lane:2,revertLane:ps(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Hu(e)){if(t)throw Error(f(479))}else t=lc(e,l,a,2),t!==null&&vt(t,e,2)}function Hu(e){var t=e.alternate;return e===ie||t!==null&&t===ie}function mo(e,t){za=Au=!0;var l=e.pending;l===null?t.next=t:(t.next=l.next,l.next=t),e.pending=t}function ho(e,t,l){if((l&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,gf(e,l)}}var xn={readContext:lt,use:Cu,useCallback:Ye,useContext:Ye,useEffect:Ye,useImperativeHandle:Ye,useLayoutEffect:Ye,useInsertionEffect:Ye,useMemo:Ye,useReducer:Ye,useRef:Ye,useState:Ye,useDebugValue:Ye,useDeferredValue:Ye,useTransition:Ye,useSyncExternalStore:Ye,useId:Ye,useHostTransitionStatus:Ye,useFormState:Ye,useActionState:Ye,useOptimistic:Ye,useMemoCache:Ye,useCacheRefresh:Ye};xn.useEffectEvent=Ye;var vo={readContext:lt,use:Cu,useCallback:function(e,t){return ct().memoizedState=[e,t===void 0?null:t],e},useContext:lt,useEffect:Fr,useImperativeHandle:function(e,t,l){l=l!=null?l.concat([e]):null,Mu(4194308,4,to.bind(null,t,e),l)},useLayoutEffect:function(e,t){return Mu(4194308,4,e,t)},useInsertionEffect:function(e,t){Mu(4,2,e,t)},useMemo:function(e,t){var l=ct();t=t===void 0?null:t;var a=e();if(Pl){hl(!0);try{e()}finally{hl(!1)}}return l.memoizedState=[a,t],a},useReducer:function(e,t,l){var a=ct();if(l!==void 0){var n=l(t);if(Pl){hl(!0);try{l(t)}finally{hl(!1)}}}else n=t;return a.memoizedState=a.baseState=n,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},a.queue=e,e=e.dispatch=jv.bind(null,ie,e),[a.memoizedState,e]},useRef:function(e){var t=ct();return e={current:e},t.memoizedState=e},useState:function(e){e=Dc(e);var t=e.queue,l=oo.bind(null,ie,t);return t.dispatch=l,[e.memoizedState,l]},useDebugValue:Hc,useDeferredValue:function(e,t){var l=ct();return qc(l,e,t)},useTransition:function(){var e=Dc(!1);return e=io.bind(null,ie,e.queue,!0,!1),ct().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,l){var a=ie,n=ct();if(be){if(l===void 0)throw Error(f(407));l=l()}else{if(l=t(),Me===null)throw Error(f(349));(ve&127)!==0||Hr(a,t,l)}n.memoizedState=l;var u={value:l,getSnapshot:t};return n.queue=u,Fr(wr.bind(null,a,u,e),[e]),a.flags|=2048,Ca(9,{destroy:void 0},qr.bind(null,a,u,l,t),null),l},useId:function(){var e=ct(),t=Me.identifierPrefix;if(be){var l=Vt,a=Zt;l=(a&~(1<<32-gt(a)-1)).toString(32)+l,t="_"+t+"R_"+l,l=zu++,0<\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof a.is=="string"?s.createElement("select",{is:a.is}):s.createElement("select"),a.multiple?u.multiple=!0:a.size&&(u.size=a.size);break;default:u=typeof a.is=="string"?s.createElement(n,{is:a.is}):s.createElement(n)}}u[et]=t,u[ft]=a;e:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)u.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break e;for(;s.sibling===null;){if(s.return===null||s.return===t)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=u;e:switch(nt(u,n,a),n){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&ul(t)}}return we(t),Pc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,l),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&ul(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(f(166));if(e=ue.current,xa(t)){if(e=t.stateNode,l=t.memoizedProps,a=null,n=tt,n!==null)switch(n.tag){case 27:case 5:a=n.memoizedProps}e[et]=t,e=!!(e.nodeValue===l||a!==null&&a.suppressHydrationWarning===!0||Ud(e.nodeValue,l)),e||bl(t,!0)}else e=ti(e).createTextNode(a),e[et]=t,t.stateNode=e}return we(t),null;case 31:if(l=t.memoizedState,e===null||e.memoizedState!==null){if(a=xa(t),l!==null){if(e===null){if(!a)throw Error(f(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(f(557));e[et]=t}else Kl(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;we(t),e=!1}else l=fc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),e=!0;if(!e)return t.flags&256?(xt(t),t):(xt(t),null);if((t.flags&128)!==0)throw Error(f(558))}return we(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(n=xa(t),a!==null&&a.dehydrated!==null){if(e===null){if(!n)throw Error(f(318));if(n=t.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(f(317));n[et]=t}else Kl(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;we(t),n=!1}else n=fc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),n=!0;if(!n)return t.flags&256?(xt(t),t):(xt(t),null)}return xt(t),(t.flags&128)!==0?(t.lanes=l,t):(l=a!==null,e=e!==null&&e.memoizedState!==null,l&&(a=t.child,n=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(n=a.alternate.memoizedState.cachePool.pool),u=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),u!==n&&(a.flags|=2048)),l!==e&&l&&(t.child.flags|=8192),Yu(t,t.updateQueue),we(t),null);case 4:return q(),e===null&&Ss(t.stateNode.containerInfo),we(t),null;case 10:return tl(t.type),we(t),null;case 19:if(M(Xe),a=t.memoizedState,a===null)return we(t),null;if(n=(t.flags&128)!==0,u=a.rendering,u===null)if(n)Nn(a,!1);else{if(Ge!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(u=Ru(e),u!==null){for(t.flags|=128,Nn(a,!1),e=u.updateQueue,t.updateQueue=e,Yu(t,e),t.subtreeFlags=0,e=l,l=t.child;l!==null;)or(l,e),l=l.sibling;return X(Xe,Xe.current&1|2),be&&Pt(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&yt()>Vu&&(t.flags|=128,n=!0,Nn(a,!1),t.lanes=4194304)}else{if(!n)if(e=Ru(u),e!==null){if(t.flags|=128,n=!0,e=e.updateQueue,t.updateQueue=e,Yu(t,e),Nn(a,!0),a.tail===null&&a.tailMode==="hidden"&&!u.alternate&&!be)return we(t),null}else 2*yt()-a.renderingStartTime>Vu&&l!==536870912&&(t.flags|=128,n=!0,Nn(a,!1),t.lanes=4194304);a.isBackwards?(u.sibling=t.child,t.child=u):(e=a.last,e!==null?e.sibling=u:t.child=u,a.last=u)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=yt(),e.sibling=null,l=Xe.current,X(Xe,n?l&1|2:l&1),be&&Pt(t,a.treeForkCount),e):(we(t),null);case 22:case 23:return xt(t),xc(),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(l&536870912)!==0&&(t.flags&128)===0&&(we(t),t.subtreeFlags&6&&(t.flags|=8192)):we(t),l=t.updateQueue,l!==null&&Yu(t,l.retryQueue),l=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==l&&(t.flags|=2048),e!==null&&M($l),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),tl(Ke),we(t),null;case 25:return null;case 30:return null}throw Error(f(156,t.tag))}function Av(e,t){switch(cc(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return tl(Ke),q(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Ue(t),null;case 31:if(t.memoizedState!==null){if(xt(t),t.alternate===null)throw Error(f(340));Kl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(xt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(f(340));Kl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return M(Xe),null;case 4:return q(),null;case 10:return tl(t.type),null;case 22:case 23:return xt(t),xc(),e!==null&&M($l),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return tl(Ke),null;case 25:return null;default:return null}}function Lo(e,t){switch(cc(t),t.tag){case 3:tl(Ke),q();break;case 26:case 27:case 5:Ue(t);break;case 4:q();break;case 31:t.memoizedState!==null&&xt(t);break;case 13:xt(t);break;case 19:M(Xe);break;case 10:tl(t.type);break;case 22:case 23:xt(t),xc(),e!==null&&M($l);break;case 24:tl(Ke)}}function En(e,t){try{var l=t.updateQueue,a=l!==null?l.lastEffect:null;if(a!==null){var n=a.next;l=n;do{if((l.tag&e)===e){a=void 0;var u=l.create,s=l.inst;a=u(),s.destroy=a}l=l.next}while(l!==n)}}catch(d){Re(t,t.return,d)}}function Tl(e,t,l){try{var a=t.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var u=n.next;a=u;do{if((a.tag&e)===e){var s=a.inst,d=s.destroy;if(d!==void 0){s.destroy=void 0,n=t;var v=l,N=d;try{N()}catch(C){Re(n,v,C)}}}a=a.next}while(a!==u)}}catch(C){Re(t,t.return,C)}}function Yo(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;try{zr(t,l)}catch(a){Re(e,e.return,a)}}}function Go(e,t,l){l.props=ea(e.type,e.memoizedProps),l.state=e.memoizedState;try{l.componentWillUnmount()}catch(a){Re(e,t,a)}}function Tn(e,t){try{var l=e.ref;if(l!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:a=e.stateNode;break;default:a=e.stateNode}typeof l=="function"?e.refCleanup=l(a):l.current=a}}catch(n){Re(e,t,n)}}function Kt(e,t){var l=e.ref,a=e.refCleanup;if(l!==null)if(typeof a=="function")try{a()}catch(n){Re(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(n){Re(e,t,n)}else l.current=null}function Qo(e){var t=e.type,l=e.memoizedProps,a=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":l.autoFocus&&a.focus();break e;case"img":l.src?a.src=l.src:l.srcSet&&(a.srcset=l.srcSet)}}catch(n){Re(e,e.return,n)}}function es(e,t,l){try{var a=e.stateNode;Wv(a,e.type,l,t),a[ft]=t}catch(n){Re(e,e.return,n)}}function Xo(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Ml(e.type)||e.tag===4}function ts(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Xo(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.tag===27&&Ml(e.type)||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 ls(e,t,l){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(e,t):(t=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,t.appendChild(e),l=l._reactRootContainer,l!=null||t.onclick!==null||(t.onclick=Wt));else if(a!==4&&(a===27&&Ml(e.type)&&(l=e.stateNode,t=null),e=e.child,e!==null))for(ls(e,t,l),e=e.sibling;e!==null;)ls(e,t,l),e=e.sibling}function Gu(e,t,l){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?l.insertBefore(e,t):l.appendChild(e);else if(a!==4&&(a===27&&Ml(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(Gu(e,t,l),e=e.sibling;e!==null;)Gu(e,t,l),e=e.sibling}function Zo(e){var t=e.stateNode,l=e.memoizedProps;try{for(var a=e.type,n=t.attributes;n.length;)t.removeAttributeNode(n[0]);nt(t,a,l),t[et]=e,t[ft]=l}catch(u){Re(e,e.return,u)}}var il=!1,$e=!1,as=!1,Vo=typeof WeakSet=="function"?WeakSet:Set,Ie=null;function zv(e,t){if(e=e.containerInfo,Ns=si,e=lr(e),Wi(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var a=l.getSelection&&l.getSelection();if(a&&a.rangeCount!==0){l=a.anchorNode;var n=a.anchorOffset,u=a.focusNode;a=a.focusOffset;try{l.nodeType,u.nodeType}catch{l=null;break e}var s=0,d=-1,v=-1,N=0,C=0,U=e,T=null;t:for(;;){for(var A;U!==l||n!==0&&U.nodeType!==3||(d=s+n),U!==u||a!==0&&U.nodeType!==3||(v=s+a),U.nodeType===3&&(s+=U.nodeValue.length),(A=U.firstChild)!==null;)T=U,U=A;for(;;){if(U===e)break t;if(T===l&&++N===n&&(d=s),T===u&&++C===a&&(v=s),(A=U.nextSibling)!==null)break;U=T,T=U.parentNode}U=A}l=d===-1||v===-1?null:{start:d,end:v}}else l=null}l=l||{start:0,end:0}}else l=null;for(Es={focusedElem:e,selectionRange:l},si=!1,Ie=t;Ie!==null;)if(t=Ie,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Ie=e;else for(;Ie!==null;){switch(t=Ie,u=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(l=0;l title"))),nt(u,a,l),u[et]=e,Fe(u),a=u;break e;case"link":var s=Fd("link","href",n).get(a+(l.href||""));if(s){for(var d=0;dOe&&(s=Oe,Oe=te,te=s);var x=er(d,te),g=er(d,Oe);if(x&&g&&(A.rangeCount!==1||A.anchorNode!==x.node||A.anchorOffset!==x.offset||A.focusNode!==g.node||A.focusOffset!==g.offset)){var j=U.createRange();j.setStart(x.node,x.offset),A.removeAllRanges(),te>Oe?(A.addRange(j),A.extend(g.node,g.offset)):(j.setEnd(g.node,g.offset),A.addRange(j))}}}}for(U=[],A=d;A=A.parentNode;)A.nodeType===1&&U.push({element:A,left:A.scrollLeft,top:A.scrollTop});for(typeof d.focus=="function"&&d.focus(),d=0;dl?32:l,O.T=null,l=rs,rs=null;var u=Ol,s=ol;if(We=0,qa=Ol=null,ol=0,(Ne&6)!==0)throw Error(f(331));var d=Ne;if(Ne|=4,ld(u.current),Po(u,u.current,s,l),Ne=d,Dn(0,!1),pt&&typeof pt.onPostCommitFiberRoot=="function")try{pt.onPostCommitFiberRoot($a,u)}catch{}return!0}finally{Y.p=n,O.T=a,_d(e,t)}}function xd(e,t,l){t=Ot(l,t),t=Xc(e.stateNode,t,2),e=jl(e,t,2),e!==null&&(Fa(e,2),Jt(e))}function Re(e,t,l){if(e.tag===3)xd(e,e,l);else for(;t!==null;){if(t.tag===3){xd(t,e,l);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(zl===null||!zl.has(a))){e=Ot(l,e),l=jo(2),a=jl(t,l,2),a!==null&&(No(l,a,t,e),Fa(a,2),Jt(a));break}}t=t.return}}function hs(e,t,l){var a=e.pingCache;if(a===null){a=e.pingCache=new Dv;var n=new Set;a.set(t,n)}else n=a.get(t),n===void 0&&(n=new Set,a.set(t,n));n.has(l)||(is=!0,n.add(l),e=wv.bind(null,e,t,l),t.then(e,e))}function wv(e,t,l){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,Me===e&&(ve&l)===l&&(Ge===4||Ge===3&&(ve&62914560)===ve&&300>yt()-Zu?(Ne&2)===0&&wa(e,0):cs|=l,Ha===ve&&(Ha=0)),Jt(e)}function jd(e,t){t===0&&(t=yf()),e=Zl(e,t),e!==null&&(Fa(e,t),Jt(e))}function Bv(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),jd(e,l)}function Lv(e,t){var l=0;switch(e.tag){case 31:case 13:var a=e.stateNode,n=e.memoizedState;n!==null&&(l=n.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(f(314))}a!==null&&a.delete(t),jd(e,l)}function Yv(e,t){return Ri(e,t)}var Fu=null,La=null,vs=!1,Iu=!1,ys=!1,Dl=0;function Jt(e){e!==La&&e.next===null&&(La===null?Fu=La=e:La=La.next=e),Iu=!0,vs||(vs=!0,Qv())}function Dn(e,t){if(!ys&&Iu){ys=!0;do for(var l=!1,a=Fu;a!==null;){if(e!==0){var n=a.pendingLanes;if(n===0)var u=0;else{var s=a.suspendedLanes,d=a.pingedLanes;u=(1<<31-gt(42|e)+1)-1,u&=n&~(s&~d),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(l=!0,Rd(a,u))}else u=ve,u=lu(a,a===Me?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(u&3)===0||Wa(a,u)||(l=!0,Rd(a,u));a=a.next}while(l);ys=!1}}function Gv(){Nd()}function Nd(){Iu=vs=!1;var e=0;Dl!==0&&Iv()&&(e=Dl);for(var t=yt(),l=null,a=Fu;a!==null;){var n=a.next,u=Ed(a,t);u===0?(a.next=null,l===null?Fu=n:l.next=n,n===null&&(La=l)):(l=a,(e!==0||(u&3)!==0)&&(Iu=!0)),a=n}We!==0&&We!==5||Dn(e),Dl!==0&&(Dl=0)}function Ed(e,t){for(var l=e.suspendedLanes,a=e.pingedLanes,n=e.expirationTimes,u=e.pendingLanes&-62914561;0d)break;var C=v.transferSize,U=v.initiatorType;C&&Hd(U)&&(v=v.responseEnd,s+=C*(v"u"?null:document;function Jd(e,t,l){var a=Ya;if(a&&typeof t=="string"&&t){var n=At(t);n='link[rel="'+e+'"][href="'+n+'"]',typeof l=="string"&&(n+='[crossorigin="'+l+'"]'),Kd.has(n)||(Kd.add(n),e={rel:e,crossOrigin:l,href:t},a.querySelector(n)===null&&(t=a.createElement("link"),nt(t,"link",e),Fe(t),a.head.appendChild(t)))}}function cy(e){dl.D(e),Jd("dns-prefetch",e,null)}function sy(e,t){dl.C(e,t),Jd("preconnect",e,t)}function fy(e,t,l){dl.L(e,t,l);var a=Ya;if(a&&e&&t){var n='link[rel="preload"][as="'+At(t)+'"]';t==="image"&&l&&l.imageSrcSet?(n+='[imagesrcset="'+At(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(n+='[imagesizes="'+At(l.imageSizes)+'"]')):n+='[href="'+At(e)+'"]';var u=n;switch(t){case"style":u=Ga(e);break;case"script":u=Qa(e)}qt.has(u)||(e=E({rel:"preload",href:t==="image"&&l&&l.imageSrcSet?void 0:e,as:t},l),qt.set(u,e),a.querySelector(n)!==null||t==="style"&&a.querySelector(qn(u))||t==="script"&&a.querySelector(wn(u))||(t=a.createElement("link"),nt(t,"link",e),Fe(t),a.head.appendChild(t)))}}function ry(e,t){dl.m(e,t);var l=Ya;if(l&&e){var a=t&&typeof t.as=="string"?t.as:"script",n='link[rel="modulepreload"][as="'+At(a)+'"][href="'+At(e)+'"]',u=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=Qa(e)}if(!qt.has(u)&&(e=E({rel:"modulepreload",href:e},t),qt.set(u,e),l.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(wn(u)))return}a=l.createElement("link"),nt(a,"link",e),Fe(a),l.head.appendChild(a)}}}function oy(e,t,l){dl.S(e,t,l);var a=Ya;if(a&&e){var n=fa(a).hoistableStyles,u=Ga(e);t=t||"default";var s=n.get(u);if(!s){var d={loading:0,preload:null};if(s=a.querySelector(qn(u)))d.loading=5;else{e=E({rel:"stylesheet",href:e,"data-precedence":t},l),(l=qt.get(u))&&Ds(e,l);var v=s=a.createElement("link");Fe(v),nt(v,"link",e),v._p=new Promise(function(N,C){v.onload=N,v.onerror=C}),v.addEventListener("load",function(){d.loading|=1}),v.addEventListener("error",function(){d.loading|=2}),d.loading|=4,ai(s,t,a)}s={type:"stylesheet",instance:s,count:1,state:d},n.set(u,s)}}}function dy(e,t){dl.X(e,t);var l=Ya;if(l&&e){var a=fa(l).hoistableScripts,n=Qa(e),u=a.get(n);u||(u=l.querySelector(wn(n)),u||(e=E({src:e,async:!0},t),(t=qt.get(n))&&Ms(e,t),u=l.createElement("script"),Fe(u),nt(u,"link",e),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function my(e,t){dl.M(e,t);var l=Ya;if(l&&e){var a=fa(l).hoistableScripts,n=Qa(e),u=a.get(n);u||(u=l.querySelector(wn(n)),u||(e=E({src:e,async:!0,type:"module"},t),(t=qt.get(n))&&Ms(e,t),u=l.createElement("script"),Fe(u),nt(u,"link",e),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function kd(e,t,l,a){var n=(n=ue.current)?li(n):null;if(!n)throw Error(f(446));switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(t=Ga(l.href),l=fa(n).hoistableStyles,a=l.get(t),a||(a={type:"style",instance:null,count:0,state:null},l.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){e=Ga(l.href);var u=fa(n).hoistableStyles,s=u.get(e);if(s||(n=n.ownerDocument||n,s={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(e,s),(u=n.querySelector(qn(e)))&&!u._p&&(s.instance=u,s.state.loading=5),qt.has(e)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},qt.set(e,l),u||hy(n,e,l,s.state))),t&&a===null)throw Error(f(528,""));return s}if(t&&a!==null)throw Error(f(529,""));return null;case"script":return t=l.async,l=l.src,typeof l=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Qa(l),l=fa(n).hoistableScripts,a=l.get(t),a||(a={type:"script",instance:null,count:0,state:null},l.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(f(444,e))}}function Ga(e){return'href="'+At(e)+'"'}function qn(e){return'link[rel="stylesheet"]['+e+"]"}function $d(e){return E({},e,{"data-precedence":e.precedence,precedence:null})}function hy(e,t,l,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),nt(t,"link",l),Fe(t),e.head.appendChild(t))}function Qa(e){return'[src="'+At(e)+'"]'}function wn(e){return"script[async]"+e}function Wd(e,t,l){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+At(l.href)+'"]');if(a)return t.instance=a,Fe(a),a;var n=E({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),Fe(a),nt(a,"style",n),ai(a,l.precedence,e),t.instance=a;case"stylesheet":n=Ga(l.href);var u=e.querySelector(qn(n));if(u)return t.state.loading|=4,t.instance=u,Fe(u),u;a=$d(l),(n=qt.get(n))&&Ds(a,n),u=(e.ownerDocument||e).createElement("link"),Fe(u);var s=u;return s._p=new Promise(function(d,v){s.onload=d,s.onerror=v}),nt(u,"link",a),t.state.loading|=4,ai(u,l.precedence,e),t.instance=u;case"script":return u=Qa(l.src),(n=e.querySelector(wn(u)))?(t.instance=n,Fe(n),n):(a=l,(n=qt.get(u))&&(a=E({},l),Ms(a,n)),e=e.ownerDocument||e,n=e.createElement("script"),Fe(n),nt(n,"link",a),e.head.appendChild(n),t.instance=n);case"void":return null;default:throw Error(f(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,ai(a,l.precedence,e));return t.instance}function ai(e,t,l){for(var a=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=a.length?a[a.length-1]:null,u=n,s=0;s title"):null)}function vy(e,t,l){if(l===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;return t.rel==="stylesheet"?(e=t.disabled,typeof t.precedence=="string"&&e==null):!0;case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function Pd(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function yy(e,t,l,a){if(l.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var n=Ga(a.href),u=t.querySelector(qn(n));if(u){t=u._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=ui.bind(e),t.then(e,e)),l.state.loading|=4,l.instance=u,Fe(u);return}u=t.ownerDocument||t,a=$d(a),(n=qt.get(n))&&Ds(a,n),u=u.createElement("link"),Fe(u);var s=u;s._p=new Promise(function(d,v){s.onload=d,s.onerror=v}),nt(u,"link",a),l.instance=u}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(l,t),(t=l.state.preload)&&(l.state.loading&3)===0&&(e.count++,l=ui.bind(e),t.addEventListener("load",l),t.addEventListener("error",l))}}var Us=0;function py(e,t){return e.stylesheets&&e.count===0&&ci(e,e.stylesheets),0Us?50:800)+t);return e.unsuspend=l,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(n)}}:null}function ui(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)ci(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var ii=null;function ci(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,ii=new Map,t.forEach(gy,e),ii=null,ui.call(e))}function gy(e,t){if(!(t.state.loading&4)){var l=ii.get(e);if(l)var a=l.get(null);else{l=new Map,ii.set(e,l);for(var n=e.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(r){console.error(r)}}return i(),Xs.exports=Uy(),Xs.exports}var qy=Hy();var jm="popstate";function Nm(i){return typeof i=="object"&&i!=null&&"pathname"in i&&"search"in i&&"hash"in i&&"state"in i&&"key"in i}function wy(i={}){function r(m,h){let{pathname:_="/",search:R="",hash:S=""}=ua(m.location.hash.substring(1));return!_.startsWith("/")&&!_.startsWith(".")&&(_="/"+_),Is("",{pathname:_,search:R,hash:S},h.state&&h.state.usr||null,h.state&&h.state.key||"default")}function o(m,h){let _=m.document.querySelector("base"),R="";if(_&&_.getAttribute("href")){let S=m.location.href,y=S.indexOf("#");R=y===-1?S:S.slice(0,y)}return R+"#"+(typeof h=="string"?h:kn(h))}function f(m,h){Bt(m.pathname.charAt(0)==="/",`relative pathnames are not supported in hash history.push(${JSON.stringify(h)})`)}return Ly(r,o,f,i)}function Le(i,r){if(i===!1||i===null||typeof i>"u")throw new Error(r)}function Bt(i,r){if(!i){typeof console<"u"&&console.warn(r);try{throw new Error(r)}catch{}}}function By(){return Math.random().toString(36).substring(2,10)}function Em(i,r){return{usr:i.state,key:i.key,idx:r,masked:i.unstable_mask?{pathname:i.pathname,search:i.search,hash:i.hash}:void 0}}function Is(i,r,o=null,f,m){return{pathname:typeof i=="string"?i:i.pathname,search:"",hash:"",...typeof r=="string"?ua(r):r,state:o,key:r&&r.key||f||By(),unstable_mask:m}}function kn({pathname:i="/",search:r="",hash:o=""}){return r&&r!=="?"&&(i+=r.charAt(0)==="?"?r:"?"+r),o&&o!=="#"&&(i+=o.charAt(0)==="#"?o:"#"+o),i}function ua(i){let r={};if(i){let o=i.indexOf("#");o>=0&&(r.hash=i.substring(o),i=i.substring(0,o));let f=i.indexOf("?");f>=0&&(r.search=i.substring(f),i=i.substring(0,f)),i&&(r.pathname=i)}return r}function Ly(i,r,o,f={}){let{window:m=document.defaultView,v5Compat:h=!1}=f,_=m.history,R="POP",S=null,y=z();y==null&&(y=0,_.replaceState({..._.state,idx:y},""));function z(){return(_.state||{idx:null}).idx}function E(){R="POP";let w=z(),Z=w==null?null:w-y;y=w,S&&S({action:R,location:Q.location,delta:Z})}function L(w,Z){R="PUSH";let F=Nm(w)?w:Is(Q.location,w,Z);o&&o(F,w),y=z()+1;let $=Em(F,y),G=Q.createHref(F.unstable_mask||F);try{_.pushState($,"",G)}catch(ne){if(ne instanceof DOMException&&ne.name==="DataCloneError")throw ne;m.location.assign(G)}h&&S&&S({action:R,location:Q.location,delta:1})}function B(w,Z){R="REPLACE";let F=Nm(w)?w:Is(Q.location,w,Z);o&&o(F,w),y=z();let $=Em(F,y),G=Q.createHref(F.unstable_mask||F);_.replaceState($,"",G),h&&S&&S({action:R,location:Q.location,delta:0})}function V(w){return Yy(w)}let Q={get action(){return R},get location(){return i(m,_)},listen(w){if(S)throw new Error("A history only accepts one active listener");return m.addEventListener(jm,E),S=w,()=>{m.removeEventListener(jm,E),S=null}},createHref(w){return r(m,w)},createURL:V,encodeLocation(w){let Z=V(w);return{pathname:Z.pathname,search:Z.search,hash:Z.hash}},push:L,replace:B,go(w){return _.go(w)}};return Q}function Yy(i,r=!1){let o="http://localhost";typeof window<"u"&&(o=window.location.origin!=="null"?window.location.origin:window.location.href),Le(o,"No window.location.(origin|href) available to create URL");let f=typeof i=="string"?i:kn(i);return f=f.replace(/ $/,"%20"),!r&&f.startsWith("//")&&(f=o+f),new URL(f,o)}function Um(i,r,o="/"){return Gy(i,r,o,!1)}function Gy(i,r,o,f){let m=typeof r=="string"?ua(r):r,h=ml(m.pathname||"/",o);if(h==null)return null;let _=Hm(i);Qy(_);let R=null;for(let S=0;R==null&&S<_.length;++S){let y=Py(h);R=Fy(_[S],y,f)}return R}function Hm(i,r=[],o=[],f="",m=!1){let h=(_,R,S=m,y)=>{let z={relativePath:y===void 0?_.path||"":y,caseSensitive:_.caseSensitive===!0,childrenIndex:R,route:_};if(z.relativePath.startsWith("/")){if(!z.relativePath.startsWith(f)&&S)return;Le(z.relativePath.startsWith(f),`Absolute route path "${z.relativePath}" nested under path "${f}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),z.relativePath=z.relativePath.slice(f.length)}let E=Qt([f,z.relativePath]),L=o.concat(z);_.children&&_.children.length>0&&(Le(_.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${E}".`),Hm(_.children,r,L,E,S)),!(_.path==null&&!_.index)&&r.push({path:E,score:$y(E,_.index),routesMeta:L})};return i.forEach((_,R)=>{if(_.path===""||!_.path?.includes("?"))h(_,R);else for(let S of qm(_.path))h(_,R,!0,S)}),r}function qm(i){let r=i.split("/");if(r.length===0)return[];let[o,...f]=r,m=o.endsWith("?"),h=o.replace(/\?$/,"");if(f.length===0)return m?[h,""]:[h];let _=qm(f.join("/")),R=[];return R.push(..._.map(S=>S===""?h:[h,S].join("/"))),m&&R.push(..._),R.map(S=>i.startsWith("/")&&S===""?"/":S)}function Qy(i){i.sort((r,o)=>r.score!==o.score?o.score-r.score:Wy(r.routesMeta.map(f=>f.childrenIndex),o.routesMeta.map(f=>f.childrenIndex)))}var Xy=/^:[\w-]+$/,Zy=3,Vy=2,Ky=1,Jy=10,ky=-2,Tm=i=>i==="*";function $y(i,r){let o=i.split("/"),f=o.length;return o.some(Tm)&&(f+=ky),r&&(f+=Vy),o.filter(m=>!Tm(m)).reduce((m,h)=>m+(Xy.test(h)?Zy:h===""?Ky:Jy),f)}function Wy(i,r){return i.length===r.length&&i.slice(0,-1).every((f,m)=>f===r[m])?i[i.length-1]-r[r.length-1]:0}function Fy(i,r,o=!1){let{routesMeta:f}=i,m={},h="/",_=[];for(let R=0;R{if(z==="*"){let V=R[L]||"";_=h.slice(0,h.length-V.length).replace(/(.)\/+$/,"$1")}const B=R[L];return E&&!B?y[z]=void 0:y[z]=(B||"").replace(/%2F/g,"/"),y},{}),pathname:h,pathnameBase:_,pattern:i}}function Iy(i,r=!1,o=!0){Bt(i==="*"||!i.endsWith("*")||i.endsWith("/*"),`Route path "${i}" will be treated as if it were "${i.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${i.replace(/\*$/,"/*")}".`);let f=[],m="^"+i.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(_,R,S,y,z)=>{if(f.push({paramName:R,isOptional:S!=null}),S){let E=z.charAt(y+_.length);return E&&E!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return i.endsWith("*")?(f.push({paramName:"*"}),m+=i==="*"||i==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):o?m+="\\/*$":i!==""&&i!=="/"&&(m+="(?:(?=\\/|$))"),[new RegExp(m,r?void 0:"i"),f]}function Py(i){try{return i.split("/").map(r=>decodeURIComponent(r).replace(/\//g,"%2F")).join("/")}catch(r){return Bt(!1,`The URL path "${i}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${r}).`),i}}function ml(i,r){if(r==="/")return i;if(!i.toLowerCase().startsWith(r.toLowerCase()))return null;let o=r.endsWith("/")?r.length-1:r.length,f=i.charAt(o);return f&&f!=="/"?null:i.slice(o)||"/"}var ep=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function tp(i,r="/"){let{pathname:o,search:f="",hash:m=""}=typeof i=="string"?ua(i):i,h;return o?(o=wm(o),o.startsWith("/")?h=Rm(o.substring(1),"/"):h=Rm(o,r)):h=r,{pathname:h,search:np(f),hash:up(m)}}function Rm(i,r){let o=xi(r).split("/");return i.split("/").forEach(m=>{m===".."?o.length>1&&o.pop():m!=="."&&o.push(m)}),o.length>1?o.join("/"):"/"}function Js(i,r,o,f){return`Cannot include a '${i}' character in a manually specified \`to.${r}\` field [${JSON.stringify(f)}]. Please separate it out to the \`to.${o}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function lp(i){return i.filter((r,o)=>o===0||r.route.path&&r.route.path.length>0)}function lf(i){let r=lp(i);return r.map((o,f)=>f===r.length-1?o.pathname:o.pathnameBase)}function ji(i,r,o,f=!1){let m;typeof i=="string"?m=ua(i):(m={...i},Le(!m.pathname||!m.pathname.includes("?"),Js("?","pathname","search",m)),Le(!m.pathname||!m.pathname.includes("#"),Js("#","pathname","hash",m)),Le(!m.search||!m.search.includes("#"),Js("#","search","hash",m)));let h=i===""||m.pathname==="",_=h?"/":m.pathname,R;if(_==null)R=o;else{let E=r.length-1;if(!f&&_.startsWith("..")){let L=_.split("/");for(;L[0]==="..";)L.shift(),E-=1;m.pathname=L.join("/")}R=E>=0?r[E]:"/"}let S=tp(m,R),y=_&&_!=="/"&&_.endsWith("/"),z=(h||_===".")&&o.endsWith("/");return!S.pathname.endsWith("/")&&(y||z)&&(S.pathname+="/"),S}var wm=i=>i.replace(/\/\/+/g,"/"),Qt=i=>wm(i.join("/")),xi=i=>i.replace(/\/+$/,""),ap=i=>xi(i).replace(/^\/*/,"/"),np=i=>!i||i==="?"?"":i.startsWith("?")?i:"?"+i,up=i=>!i||i==="#"?"":i.startsWith("#")?i:"#"+i,ip=class{constructor(i,r,o,f=!1){this.status=i,this.statusText=r||"",this.internal=f,o instanceof Error?(this.data=o.toString(),this.error=o):this.data=o}};function cp(i){return i!=null&&typeof i.status=="number"&&typeof i.statusText=="string"&&typeof i.internal=="boolean"&&"data"in i}function sp(i){let r=i.map(o=>o.route.path).filter(Boolean);return Qt(r)||"/"}var Bm=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Lm(i,r){let o=i;if(typeof o!="string"||!ep.test(o))return{absoluteURL:void 0,isExternal:!1,to:o};let f=o,m=!1;if(Bm)try{let h=new URL(window.location.href),_=o.startsWith("//")?new URL(h.protocol+o):new URL(o),R=ml(_.pathname,r);_.origin===h.origin&&R!=null?o=R+_.search+_.hash:m=!0}catch{Bt(!1,` contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:f,isExternal:m,to:o}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Ym=["POST","PUT","PATCH","DELETE"];new Set(Ym);var fp=["GET",...Ym];new Set(fp);var Ja=p.createContext(null);Ja.displayName="DataRouter";var Ni=p.createContext(null);Ni.displayName="DataRouterState";var Gm=p.createContext(!1);function rp(){return p.useContext(Gm)}var Qm=p.createContext({isTransitioning:!1});Qm.displayName="ViewTransition";var op=p.createContext(new Map);op.displayName="Fetchers";var dp=p.createContext(null);dp.displayName="Await";var Tt=p.createContext(null);Tt.displayName="Navigation";var $n=p.createContext(null);$n.displayName="Location";var Xt=p.createContext({outlet:null,matches:[],isDataRoute:!1});Xt.displayName="Route";var af=p.createContext(null);af.displayName="RouteError";var Xm="REACT_ROUTER_ERROR",mp="REDIRECT",hp="ROUTE_ERROR_RESPONSE";function vp(i){if(i.startsWith(`${Xm}:${mp}:{`))try{let r=JSON.parse(i.slice(28));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.location=="string"&&typeof r.reloadDocument=="boolean"&&typeof r.replace=="boolean")return r}catch{}}function yp(i){if(i.startsWith(`${Xm}:${hp}:{`))try{let r=JSON.parse(i.slice(40));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string")return new ip(r.status,r.statusText,r.data)}catch{}}function pp(i,{relative:r}={}){Le(ka(),"useHref() may be used only in the context of a component.");let{basename:o,navigator:f}=p.useContext(Tt),{hash:m,pathname:h,search:_}=Wn(i,{relative:r}),R=h;return o!=="/"&&(R=h==="/"?o:Qt([o,h])),f.createHref({pathname:R,search:_,hash:m})}function ka(){return p.useContext($n)!=null}function kt(){return Le(ka(),"useLocation() may be used only in the context of a component."),p.useContext($n).location}var Zm="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Vm(i){p.useContext(Tt).static||p.useLayoutEffect(i)}function Km(){let{isDataRoute:i}=p.useContext(Xt);return i?Dp():gp()}function gp(){Le(ka(),"useNavigate() may be used only in the context of a component.");let i=p.useContext(Ja),{basename:r,navigator:o}=p.useContext(Tt),{matches:f}=p.useContext(Xt),{pathname:m}=kt(),h=JSON.stringify(lf(f)),_=p.useRef(!1);return Vm(()=>{_.current=!0}),p.useCallback((S,y={})=>{if(Bt(_.current,Zm),!_.current)return;if(typeof S=="number"){o.go(S);return}let z=ji(S,JSON.parse(h),m,y.relative==="path");i==null&&r!=="/"&&(z.pathname=z.pathname==="/"?r:Qt([r,z.pathname])),(y.replace?o.replace:o.push)(z,y.state,y)},[r,o,h,m,i])}var bp=p.createContext(null);function _p(i){let r=p.useContext(Xt).outlet;return p.useMemo(()=>r&&p.createElement(bp.Provider,{value:i},r),[r,i])}function Wn(i,{relative:r}={}){let{matches:o}=p.useContext(Xt),{pathname:f}=kt(),m=JSON.stringify(lf(o));return p.useMemo(()=>ji(i,JSON.parse(m),f,r==="path"),[i,m,f,r])}function Sp(i,r){return Jm(i,r)}function Jm(i,r,o){Le(ka(),"useRoutes() may be used only in the context of a component.");let{navigator:f}=p.useContext(Tt),{matches:m}=p.useContext(Xt),h=m[m.length-1],_=h?h.params:{},R=h?h.pathname:"/",S=h?h.pathnameBase:"/",y=h&&h.route;{let w=y&&y.path||"";$m(R,!y||w.endsWith("*")||w.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${R}" (under ) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. -Please change the parent to .`)}let z=kt(),E;if(r){let w=typeof r=="string"?ua(r):r;Le(S==="/"||w.pathname?.startsWith(S),`When overriding the location using \`\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${S}" but pathname "${w.pathname}" was given in the \`location\` prop.`),E=w}else E=z;let L=E.pathname||"/",B=L;if(S!=="/"){let w=S.replace(/^\//,"").split("/");B="/"+L.replace(/^\//,"").split("/").slice(w.length).join("/")}let V=Um(i,{pathname:B});Bt(y||V!=null,`No routes matched location "${E.pathname}${E.search}${E.hash}" `),Bt(V==null||V[V.length-1].route.element!==void 0||V[V.length-1].route.Component!==void 0||V[V.length-1].route.lazy!==void 0,`Matched leaf route at location "${E.pathname}${E.search}${E.hash}" does not have an element or Component. This means it will render an with a null value by default resulting in an "empty" page.`);let Q=Tp(V&&V.map(w=>Object.assign({},w,{params:Object.assign({},_,w.params),pathname:Qt([S,f.encodeLocation?f.encodeLocation(w.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?S:Qt([S,f.encodeLocation?f.encodeLocation(w.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:w.pathnameBase])})),m,o);return r&&Q?p.createElement(kn.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...E},navigationType:"POP"}},Q):Q}function xp(){let i=Cp(),r=cp(i)?`${i.status} ${i.statusText}`:i instanceof Error?i.message:JSON.stringify(i),o=i instanceof Error?i.stack:null,f="rgba(200,200,200, 0.5)",m={padding:"0.5rem",backgroundColor:f},h={padding:"2px 4px",backgroundColor:f},_=null;return console.error("Error handled by React Router default ErrorBoundary:",i),_=p.createElement(p.Fragment,null,p.createElement("p",null,"💿 Hey developer 👋"),p.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",p.createElement("code",{style:h},"ErrorBoundary")," or"," ",p.createElement("code",{style:h},"errorElement")," prop on your route.")),p.createElement(p.Fragment,null,p.createElement("h2",null,"Unexpected Application Error!"),p.createElement("h3",{style:{fontStyle:"italic"}},r),o?p.createElement("pre",{style:m},o):null,_)}var jp=p.createElement(xp,null),km=class extends p.Component{constructor(i){super(i),this.state={location:i.location,revalidation:i.revalidation,error:i.error}}static getDerivedStateFromError(i){return{error:i}}static getDerivedStateFromProps(i,r){return r.location!==i.location||r.revalidation!=="idle"&&i.revalidation==="idle"?{error:i.error,location:i.location,revalidation:i.revalidation}:{error:i.error!==void 0?i.error:r.error,location:r.location,revalidation:i.revalidation||r.revalidation}}componentDidCatch(i,r){this.props.onError?this.props.onError(i,r):console.error("React Router caught the following error during render",i)}render(){let i=this.state.error;if(this.context&&typeof i=="object"&&i&&"digest"in i&&typeof i.digest=="string"){const o=yp(i.digest);o&&(i=o)}let r=i!==void 0?p.createElement(Xt.Provider,{value:this.props.routeContext},p.createElement(af.Provider,{value:i,children:this.props.component})):this.props.children;return this.context?p.createElement(Np,{error:i},r):r}};km.contextType=Gm;var ks=new WeakMap;function Np({children:i,error:r}){let{basename:o}=p.useContext(Tt);if(typeof r=="object"&&r&&"digest"in r&&typeof r.digest=="string"){let f=vp(r.digest);if(f){let m=ks.get(r);if(m)throw m;let h=Lm(f.location,o);if(Bm&&!ks.get(r))if(h.isExternal||f.reloadDocument)window.location.href=h.absoluteURL||h.to;else{const _=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(h.to,{replace:f.replace}));throw ks.set(r,_),_}return p.createElement("meta",{httpEquiv:"refresh",content:`0;url=${h.absoluteURL||h.to}`})}}return i}function Ep({routeContext:i,match:r,children:o}){let f=p.useContext(Ja);return f&&f.static&&f.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(f.staticContext._deepestRenderedBoundaryId=r.route.id),p.createElement(Xt.Provider,{value:i},o)}function Tp(i,r=[],o){let f=o?.state;if(i==null){if(!f)return null;if(f.errors)i=f.matches;else if(r.length===0&&!f.initialized&&f.matches.length>0)i=f.matches;else return null}let m=i,h=f?.errors;if(h!=null){let z=m.findIndex(E=>E.route.id&&h?.[E.route.id]!==void 0);Le(z>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(h).join(",")}`),m=m.slice(0,Math.min(m.length,z+1))}let _=!1,R=-1;if(o&&f){_=f.renderFallback;for(let z=0;z=0?m=m.slice(0,R+1):m=[m[0]];break}}}}let S=o?.onError,y=f&&S?(z,E)=>{S(z,{location:f.location,params:f.matches?.[0]?.params??{},unstable_pattern:sp(f.matches),errorInfo:E})}:void 0;return m.reduceRight((z,E,L)=>{let B,V=!1,Q=null,w=null;f&&(B=h&&E.route.id?h[E.route.id]:void 0,Q=E.route.errorElement||jp,_&&(R<0&&L===0?($m("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),V=!0,w=null):R===L&&(V=!0,w=E.route.hydrateFallbackElement||null)));let Z=r.concat(m.slice(0,L+1)),F=()=>{let $;return B?$=Q:V?$=w:E.route.Component?$=p.createElement(E.route.Component,null):E.route.element?$=E.route.element:$=z,p.createElement(Ep,{match:E,routeContext:{outlet:z,matches:Z,isDataRoute:f!=null},children:$})};return f&&(E.route.ErrorBoundary||E.route.errorElement||L===0)?p.createElement(km,{location:f.location,revalidation:f.revalidation,component:Q,error:B,children:F(),routeContext:{outlet:null,matches:Z,isDataRoute:!0},onError:y}):F()},null)}function nf(i){return`${i} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Rp(i){let r=p.useContext(Ja);return Le(r,nf(i)),r}function Ap(i){let r=p.useContext(Ni);return Le(r,nf(i)),r}function zp(i){let r=p.useContext(Xt);return Le(r,nf(i)),r}function uf(i){let r=zp(i),o=r.matches[r.matches.length-1];return Le(o.route.id,`${i} can only be used on routes that contain a unique "id"`),o.route.id}function Op(){return uf("useRouteId")}function Cp(){let i=p.useContext(af),r=Ap("useRouteError"),o=uf("useRouteError");return i!==void 0?i:r.errors?.[o]}function Dp(){let{router:i}=Rp("useNavigate"),r=uf("useNavigate"),o=p.useRef(!1);return Vm(()=>{o.current=!0}),p.useCallback(async(m,h={})=>{Bt(o.current,Zm),o.current&&(typeof m=="number"?await i.navigate(m):await i.navigate(m,{fromRouteId:r,...h}))},[i,r])}var Am={};function $m(i,r,o){!r&&!Am[i]&&(Am[i]=!0,Bt(!1,o))}p.memo(Mp);function Mp({routes:i,future:r,state:o,isStatic:f,onError:m}){return Jm(i,void 0,{state:o,isStatic:f,onError:m})}function Up({to:i,replace:r,state:o,relative:f}){Le(ka()," may be used only in the context of a component.");let{static:m}=p.useContext(Tt);Bt(!m," must not be used on the initial render in a . This is a no-op, but you should modify your code so the is only ever rendered in response to some user interaction or state change.");let{matches:h}=p.useContext(Xt),{pathname:_}=kt(),R=Km(),S=ji(i,lf(h),_,f==="path"),y=JSON.stringify(S);return p.useEffect(()=>{R(JSON.parse(y),{replace:r,state:o,relative:f})},[R,y,f,r,o]),null}function Hp(i){return _p(i.context)}function na(i){Le(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function qp({basename:i="/",children:r=null,location:o,navigationType:f="POP",navigator:m,static:h=!1,unstable_useTransitions:_}){Le(!ka(),"You cannot render a inside another . You should never have more than one in your app.");let R=i.replace(/^\/*/,"/"),S=p.useMemo(()=>({basename:R,navigator:m,static:h,unstable_useTransitions:_,future:{}}),[R,m,h,_]);typeof o=="string"&&(o=ua(o));let{pathname:y="/",search:z="",hash:E="",state:L=null,key:B="default",unstable_mask:V}=o,Q=p.useMemo(()=>{let w=ml(y,R);return w==null?null:{location:{pathname:w,search:z,hash:E,state:L,key:B,unstable_mask:V},navigationType:f}},[R,y,z,E,L,B,f,V]);return Bt(Q!=null,` is not able to match the URL "${y}${z}${E}" because it does not start with the basename, so the won't render anything.`),Q==null?null:p.createElement(Tt.Provider,{value:S},p.createElement(kn.Provider,{children:r,value:Q}))}function wp({children:i,location:r}){return Sp(Ps(i),r)}function Ps(i,r=[]){let o=[];return p.Children.forEach(i,(f,m)=>{if(!p.isValidElement(f))return;let h=[...r,m];if(f.type===p.Fragment){o.push.apply(o,Ps(f.props.children,h));return}Le(f.type===na,`[${typeof f.type=="string"?f.type:f.type.name}] is not a component. All component children of must be a or `),Le(!f.props.index||!f.props.children,"An index route cannot have child routes.");let _={id:f.props.id||h.join("-"),caseSensitive:f.props.caseSensitive,element:f.props.element,Component:f.props.Component,index:f.props.index,path:f.props.path,middleware:f.props.middleware,loader:f.props.loader,action:f.props.action,hydrateFallbackElement:f.props.hydrateFallbackElement,HydrateFallback:f.props.HydrateFallback,errorElement:f.props.errorElement,ErrorBoundary:f.props.ErrorBoundary,hasErrorBoundary:f.props.hasErrorBoundary===!0||f.props.ErrorBoundary!=null||f.props.errorElement!=null,shouldRevalidate:f.props.shouldRevalidate,handle:f.props.handle,lazy:f.props.lazy};f.props.children&&(_.children=Ps(f.props.children,h)),o.push(_)}),o}var gi="get",bi="application/x-www-form-urlencoded";function Ei(i){return typeof HTMLElement<"u"&&i instanceof HTMLElement}function Bp(i){return Ei(i)&&i.tagName.toLowerCase()==="button"}function Lp(i){return Ei(i)&&i.tagName.toLowerCase()==="form"}function Yp(i){return Ei(i)&&i.tagName.toLowerCase()==="input"}function Gp(i){return!!(i.metaKey||i.altKey||i.ctrlKey||i.shiftKey)}function Qp(i,r){return i.button===0&&(!r||r==="_self")&&!Gp(i)}var hi=null;function Xp(){if(hi===null)try{new FormData(document.createElement("form"),0),hi=!1}catch{hi=!0}return hi}var Zp=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function $s(i){return i!=null&&!Zp.has(i)?(Bt(!1,`"${i}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${bi}"`),null):i}function Vp(i,r){let o,f,m,h,_;if(Lp(i)){let R=i.getAttribute("action");f=R?ml(R,r):null,o=i.getAttribute("method")||gi,m=$s(i.getAttribute("enctype"))||bi,h=new FormData(i)}else if(Bp(i)||Yp(i)&&(i.type==="submit"||i.type==="image")){let R=i.form;if(R==null)throw new Error('Cannot submit a