nuxt-devtools-observatory 0.1.8 → 0.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/dist/assets/index-BBp7Dvrp.css +1 -0
- package/client/dist/assets/index-mEAMrJUv.js +17 -0
- package/client/dist/index.html +2 -2
- package/client/src/stores/observatory.ts +1 -0
- package/client/src/views/ComposableTracker.vue +3 -0
- package/client/src/views/FetchDashboard.vue +40 -20
- package/client/src/views/ProvideInjectGraph.vue +252 -58
- package/client/src/views/RenderHeatmap.vue +705 -157
- package/client/src/views/TransitionTimeline.vue +7 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +75 -37
- package/dist/runtime/composables/fetch-registry.d.ts +7 -5
- package/dist/runtime/composables/fetch-registry.js +43 -1
- package/dist/runtime/composables/provide-inject-registry.js +4 -0
- package/dist/runtime/composables/render-registry.d.ts +1 -0
- package/dist/runtime/composables/render-registry.js +48 -2
- package/dist/runtime/nitro/fetch-capture.d.ts +8 -0
- package/dist/runtime/nitro/fetch-capture.js +14 -0
- package/package.json +2 -1
- package/client/dist/assets/index-CVI-arV5.js +0 -17
- package/client/dist/assets/index-RdqCF5ft.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.view[data-v-8c1465c0]{display:flex;flex-direction:column;height:100%;overflow:hidden;padding:12px;gap:10px}.stats-row[data-v-8c1465c0]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;flex-shrink:0}.toolbar[data-v-8c1465c0]{display:flex;align-items:center;gap:6px;flex-shrink:0;flex-wrap:wrap}.split[data-v-8c1465c0]{display:flex;gap:12px;flex:1;overflow:hidden;min-height:0}.table-wrap[data-v-8c1465c0]{flex:1;overflow:auto;border:.5px solid var(--border);border-radius:var(--radius-lg)}.detail-panel[data-v-8c1465c0]{width:280px;flex-shrink:0;display:flex;flex-direction:column;gap:8px;overflow:auto;border:.5px solid var(--border);border-radius:var(--radius-lg);padding:12px;background:var(--bg3)}.detail-empty[data-v-8c1465c0]{width:280px;flex-shrink:0;display:flex;align-items:center;justify-content:center;color:var(--text3);font-size:12px;border:.5px dashed var(--border);border-radius:var(--radius-lg)}.detail-header[data-v-8c1465c0]{display:flex;align-items:center;justify-content:space-between}.meta-grid[data-v-8c1465c0]{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;font-size:11px}.section-label[data-v-8c1465c0]{font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.4px;color:var(--text3);margin-top:6px}.payload-box[data-v-8c1465c0]{font-family:var(--mono);font-size:11px;color:var(--text2);background:var(--bg2);border-radius:var(--radius);padding:8px 10px;overflow:auto;white-space:pre;max-height:160px}.waterfall[data-v-8c1465c0]{flex-shrink:0;background:var(--bg3);border:.5px solid var(--border);border-radius:var(--radius-lg);padding:10px 12px}.waterfall-header[data-v-8c1465c0]{display:flex;align-items:center;justify-content:space-between;gap:8px}.waterfall-body[data-v-8c1465c0]{margin-top:6px}.wf-row[data-v-8c1465c0]{display:flex;align-items:center;gap:8px;margin-bottom:4px}.wf-track[data-v-8c1465c0]{flex:1;position:relative;height:8px;background:var(--bg2);border-radius:2px;overflow:hidden}.wf-bar[data-v-8c1465c0]{position:absolute;top:0;height:100%;border-radius:2px;opacity:.8}.view[data-v-5ed3965a]{display:flex;flex-direction:column;height:100%;overflow:hidden;padding:12px;gap:10px}.toolbar[data-v-5ed3965a]{display:flex;align-items:center;gap:6px;flex-shrink:0;flex-wrap:wrap}.split[data-v-5ed3965a]{display:flex;gap:12px;flex:1;overflow:hidden;min-height:0}.graph-area[data-v-5ed3965a]{flex:1;overflow:auto;border:.5px solid var(--border);border-radius:var(--radius-lg);padding:12px;background:var(--bg3)}.legend[data-v-5ed3965a]{display:flex;align-items:center;gap:12px;font-size:11px;color:var(--text2);margin-bottom:12px}.canvas-stage[data-v-5ed3965a]{display:flex;justify-content:center;align-items:flex-start;min-width:100%}.dot[data-v-5ed3965a]{width:8px;height:8px;border-radius:50%;display:inline-block;margin-right:2px}.canvas-wrap[data-v-5ed3965a]{position:relative}.edges-svg[data-v-5ed3965a]{position:absolute;top:0;left:0;pointer-events:none}.edge[data-v-5ed3965a]{stroke:var(--border);stroke-width:1.5}.graph-node[data-v-5ed3965a]{position:absolute;display:flex;align-items:center;gap:7px;padding:0 10px;height:32px;border-radius:var(--radius);border:.5px solid var(--border);background:var(--bg3);cursor:pointer;transition:border-color .12s,background .12s;overflow:hidden;box-sizing:border-box;white-space:nowrap}.graph-node[data-v-5ed3965a]:hover{border-color:var(--text3)}.graph-node.is-selected[data-v-5ed3965a]{border-color:var(--node-color);background:color-mix(in srgb,var(--node-color) 8%,transparent)}.node-dot[data-v-5ed3965a]{width:7px;height:7px;border-radius:50%;flex-shrink:0}.node-label[data-v-5ed3965a]{font-size:11px;flex:1;overflow:hidden;text-overflow:ellipsis}.badge-xs[data-v-5ed3965a]{font-size:9px;padding:1px 4px}.detail-panel[data-v-5ed3965a]{width:280px;flex-shrink:0;overflow:auto;border:.5px solid var(--border);border-radius:var(--radius-lg);padding:12px;background:var(--bg3);display:flex;flex-direction:column;gap:4px;min-height:0}.detail-empty[data-v-5ed3965a]{width:280px;display:flex;align-items:center;justify-content:center;color:var(--text3);font-size:12px;border:.5px dashed var(--border);border-radius:var(--radius-lg);flex-shrink:0}.graph-empty[data-v-5ed3965a]{display:flex;align-items:center;justify-content:center;min-height:180px;color:var(--text3);font-size:12px}.detail-header[data-v-5ed3965a]{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}.section-label[data-v-5ed3965a]{font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.4px;color:var(--text3);margin:8px 0 5px}.detail-section[data-v-5ed3965a]{display:flex;flex-direction:column;min-height:0}.detail-list[data-v-5ed3965a]{display:flex;flex-direction:column;gap:3px;overflow:auto;max-height:220px;padding-right:2px}.provide-row[data-v-5ed3965a]{display:flex;flex-direction:column;gap:6px;padding:5px 8px;background:var(--bg2);border-radius:var(--radius);margin-bottom:3px}.row-main[data-v-5ed3965a]{display:flex;align-items:center;gap:8px;min-width:0}.row-key[data-v-5ed3965a]{min-width:100px;color:var(--text2);flex-shrink:0}.row-value-preview[data-v-5ed3965a]{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row-toggle[data-v-5ed3965a]{padding:2px 8px;font-size:10px}.value-box[data-v-5ed3965a]{font-family:var(--mono);font-size:11px;color:var(--text2);background:#0000001a;border-radius:var(--radius);padding:8px 10px;white-space:pre-wrap;word-break:break-word;overflow:auto;max-height:180px}.inject-row[data-v-5ed3965a]{display:flex;align-items:center;gap:8px;padding:5px 8px;background:var(--bg2);border-radius:var(--radius);margin-bottom:3px}.row-from[data-v-5ed3965a]{margin-left:auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inject-miss[data-v-5ed3965a]{background:#e24b4a14}.view[data-v-56844e6e]{display:flex;flex-direction:column;height:100%;overflow:hidden;padding:12px;gap:10px}.stats-row[data-v-56844e6e]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;flex-shrink:0}.toolbar[data-v-56844e6e]{display:flex;align-items:center;gap:6px;flex-shrink:0;flex-wrap:wrap}.list[data-v-56844e6e]{flex:1;overflow:auto;display:flex;flex-direction:column;gap:6px;min-height:0}.comp-card[data-v-56844e6e]{background:var(--bg3);border:.5px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;cursor:pointer;flex-shrink:0}.comp-card[data-v-56844e6e]:hover{border-color:var(--text3)}.comp-card.leak[data-v-56844e6e]{border-left:2px solid var(--red);border-radius:0 var(--radius-lg) var(--radius-lg) 0}.comp-card.expanded[data-v-56844e6e]{border-color:var(--purple)}.comp-header[data-v-56844e6e]{display:flex;align-items:center;gap:8px;padding:9px 13px;min-height:44px}.comp-meta[data-v-56844e6e]{display:flex;align-items:center;gap:6px;margin-left:auto}.comp-detail[data-v-56844e6e]{border-top:.5px solid var(--border);padding:10px 13px}.leak-banner[data-v-56844e6e]{background:#e24b4a1a;border-radius:var(--radius);padding:7px 10px;font-size:12px;color:var(--red);margin-bottom:8px}.section-label[data-v-56844e6e]{font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.4px;color:var(--text3);margin-bottom:5px}.ref-row[data-v-56844e6e]{display:flex;align-items:center;gap:8px;padding:5px 8px;background:var(--bg2);border-radius:var(--radius);margin-bottom:3px}.lc-row[data-v-56844e6e]{display:flex;align-items:center;gap:8px;padding:4px 0}.lc-dot[data-v-56844e6e]{width:7px;height:7px;border-radius:50%;flex-shrink:0}.view[data-v-62187cfb]{display:flex;flex-direction:column;height:100%;overflow:hidden;padding:12px;gap:10px}.controls[data-v-62187cfb]{display:flex;align-items:center;gap:8px;flex-shrink:0;flex-wrap:wrap}.mode-group[data-v-62187cfb]{display:flex;gap:2px}.threshold-group[data-v-62187cfb]{display:flex;align-items:center;gap:6px}.stats-row[data-v-62187cfb]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;flex-shrink:0}.inspector[data-v-62187cfb]{display:grid;grid-template-columns:minmax(220px,280px) minmax(0,1fr) minmax(260px,320px);gap:12px;flex:1;min-height:0}.roots-panel[data-v-62187cfb],.tree-panel[data-v-62187cfb],.detail-panel[data-v-62187cfb]{border:.5px solid var(--border);border-radius:var(--radius-lg);background:var(--bg3);min-height:0}.roots-panel[data-v-62187cfb],.detail-panel[data-v-62187cfb]{display:flex;flex-direction:column;overflow:auto;padding:12px;gap:8px}.panel-title[data-v-62187cfb]{font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.4px;color:var(--text3)}.root-item[data-v-62187cfb]{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg2);color:var(--text);text-align:left}.root-item.active[data-v-62187cfb]{border-color:var(--teal);background:color-mix(in srgb,var(--teal) 16%,var(--bg2))}.root-label[data-v-62187cfb]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.root-copy[data-v-62187cfb]{display:flex;flex-direction:column;min-width:0}.root-sub[data-v-62187cfb]{font-size:11px}.root-meta[data-v-62187cfb]{color:var(--text3);font-size:11px}.tree-panel[data-v-62187cfb]{display:flex;flex-direction:column;overflow:hidden}.tree-toolbar[data-v-62187cfb]{padding:12px;border-bottom:.5px solid var(--border)}.search-input[data-v-62187cfb]{width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg2);color:var(--text)}.tree-frame[data-v-62187cfb]{flex:1;min-height:0;overflow:auto;padding:12px}[data-v-62187cfb] .tree-canvas{display:inline-block;min-width:100%;width:max-content}[data-v-62187cfb] .tree-node{margin-bottom:4px}[data-v-62187cfb] .tree-row{display:grid;grid-template-columns:18px 8px minmax(0,1fr) auto;align-items:center;gap:6px;min-width:0;width:100%;padding:4px 8px;padding-left:calc(8px + (var(--tree-depth, 0) * 16px));border:1px solid transparent;border-radius:var(--radius);cursor:pointer;white-space:nowrap}[data-v-62187cfb] .tree-row:hover{background:var(--bg2)}[data-v-62187cfb] .tree-row.selected{background:color-mix(in srgb,var(--teal) 12%,var(--bg2));border-color:var(--teal)}[data-v-62187cfb] .tree-row.hot{box-shadow:inset 2px 0 0 var(--red)}[data-v-62187cfb] .tree-toggle{width:16px;height:16px;border:none;background:transparent;color:var(--text3);padding:0;font-size:11px;display:inline-flex;align-items:center;justify-content:center}[data-v-62187cfb] .tree-toggle:disabled{opacity:.4;cursor:default}[data-v-62187cfb] .tree-rail{display:block;width:2px;height:14px;border-radius:999px;background:color-mix(in srgb,var(--border) 75%,transparent)}[data-v-62187cfb] .tree-copy{display:flex;align-items:center;min-width:0;gap:6px;overflow:hidden}[data-v-62187cfb] .tree-name{font-size:12px;color:var(--text);min-width:0;overflow:hidden;text-overflow:ellipsis}[data-v-62187cfb] .tree-badges{display:flex;gap:6px;flex-shrink:0;overflow:hidden}[data-v-62187cfb] .tree-badge{border:1px solid var(--border);border-radius:999px;padding:2px 7px;font-size:10px;color:var(--text3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:160px}[data-v-62187cfb] .tree-metrics{display:flex;align-items:center;min-width:92px;justify-content:flex-end;flex-shrink:0}[data-v-62187cfb] .tree-metric-pill{display:inline-flex;align-items:center;justify-content:center;min-width:78px;padding:2px 8px;border:1px solid var(--border);border-radius:999px;background:var(--bg2);font-size:10px;color:var(--text3)}[data-v-62187cfb] .tree-children{margin-left:7px;padding-left:11px;border-left:1px solid color-mix(in srgb,var(--border) 72%,transparent)}.detail-empty[data-v-62187cfb]{display:flex;align-items:center;justify-content:center;height:100%;color:var(--text3);font-size:12px}.detail-header[data-v-62187cfb]{display:flex;align-items:center;justify-content:space-between}.meta-grid[data-v-62187cfb]{display:grid;grid-template-columns:auto 1fr;gap:4px 12px}.detail-pill-row[data-v-62187cfb]{display:flex;flex-wrap:wrap;gap:6px}.detail-pill[data-v-62187cfb]{border:1px solid var(--border);border-radius:999px;padding:4px 8px;background:var(--bg2);font-size:11px}.detail-pill.hot[data-v-62187cfb]{border-color:color-mix(in srgb,var(--red) 50%,var(--border));color:var(--red)}.section-label[data-v-62187cfb]{font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.4px;color:var(--text3);margin-top:8px;margin-bottom:4px}.trigger-item[data-v-62187cfb]{background:var(--bg2);border-radius:var(--radius);padding:4px 8px;margin-bottom:3px;color:var(--text2)}@media(max-width:1180px){.inspector[data-v-62187cfb]{grid-template-columns:minmax(200px,240px) minmax(0,1fr)}.detail-panel[data-v-62187cfb]{grid-column:1 / -1;max-height:220px}}.timeline-root[data-v-e629b6b5]{display:flex;flex-direction:column;height:100%;overflow:hidden}.stats-row[data-v-e629b6b5]{display:flex;gap:10px;padding:12px 14px 0;flex-shrink:0}.stat-card[data-v-e629b6b5]{background:var(--bg2);border:.5px solid var(--border);border-radius:var(--radius);padding:8px 14px;min-width:72px;text-align:center}.stat-val[data-v-e629b6b5]{font-size:20px;font-weight:600;font-family:var(--mono);line-height:1.1}.stat-unit[data-v-e629b6b5]{font-size:12px;opacity:.6;margin-left:1px}.stat-label[data-v-e629b6b5]{font-size:10px;color:var(--text3);margin-top:2px;text-transform:uppercase;letter-spacing:.4px}.toolbar[data-v-e629b6b5]{display:flex;align-items:center;gap:8px;padding:10px 14px;flex-shrink:0;border-bottom:.5px solid var(--border)}.search-input[data-v-e629b6b5]{flex:1;max-width:260px}.filter-group[data-v-e629b6b5]{display:flex;gap:4px}.content-area[data-v-e629b6b5]{display:flex;flex:1;overflow:hidden;min-height:0}.table-pane[data-v-e629b6b5]{flex:1;overflow:hidden auto;min-width:0}.bar-cell[data-v-e629b6b5]{width:200px;padding:4px 8px}.bar-track[data-v-e629b6b5]{position:relative;height:8px;background:var(--bg2);border-radius:4px;overflow:hidden}.bar-fill[data-v-e629b6b5]{position:absolute;top:0;height:100%;min-width:3px;border-radius:4px;transition:width .15s}.detail-panel[data-v-e629b6b5]{width:260px;flex-shrink:0;border-left:.5px solid var(--border);overflow-y:auto;background:var(--bg3);padding:0 0 16px}.panel-header[data-v-e629b6b5]{display:flex;align-items:center;justify-content:space-between;padding:10px 14px 8px;border-bottom:.5px solid var(--border);position:sticky;top:0;background:var(--bg3);z-index:1}.panel-title[data-v-e629b6b5]{font-family:var(--mono);font-size:13px;font-weight:500}.close-btn[data-v-e629b6b5]{border:none;background:transparent;color:var(--text3);font-size:11px;padding:2px 6px;cursor:pointer}.panel-section[data-v-e629b6b5]{padding:10px 14px 6px;border-bottom:.5px solid var(--border)}.panel-section-title[data-v-e629b6b5]{font-size:10px;font-weight:500;color:var(--text3);text-transform:uppercase;letter-spacing:.4px;margin-bottom:8px}.panel-row[data-v-e629b6b5]{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:3px 0;font-size:12px}.panel-key[data-v-e629b6b5]{color:var(--text3);flex-shrink:0}.panel-val[data-v-e629b6b5]{color:var(--text);text-align:right;word-break:break-all}.cancel-notice[data-v-e629b6b5],.active-notice[data-v-e629b6b5]{margin:10px 14px 0;font-size:11px;line-height:1.6;padding:8px 10px;border-radius:var(--radius)}.cancel-notice[data-v-e629b6b5]{background:#e24b4a1a;color:var(--red);border:.5px solid rgb(226 75 74 / 30%)}.active-notice[data-v-e629b6b5]{background:#7f77dd1a;color:var(--purple);border:.5px solid rgb(127 119 221 / 30%)}code[data-v-e629b6b5]{font-family:var(--mono);font-size:10px;background:#00000026;padding:1px 4px;border-radius:3px}.panel-slide-enter-active[data-v-e629b6b5],.panel-slide-leave-active[data-v-e629b6b5]{transition:transform .18s ease,opacity .18s ease}.panel-slide-enter-from[data-v-e629b6b5],.panel-slide-leave-to[data-v-e629b6b5]{transform:translate(12px);opacity:0}#app-root[data-v-08e3ddb5]{display:flex;flex-direction:column;height:100vh;overflow:hidden}.tabbar[data-v-08e3ddb5]{display:flex;align-items:center;gap:2px;padding:8px 12px 0;border-bottom:.5px solid var(--border);background:var(--bg3);flex-shrink:0}.tabbar-brand[data-v-08e3ddb5]{font-size:11px;font-weight:500;color:var(--purple);letter-spacing:.5px;margin-right:12px;padding-bottom:8px}.tab-btn[data-v-08e3ddb5]{border:none;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--text3);font-size:12px;padding:6px 12px 8px;cursor:pointer;transition:color .12s,border-color .12s;display:flex;align-items:center;gap:5px}.tab-btn[data-v-08e3ddb5]:hover{color:var(--text);background:transparent}.tab-btn.active[data-v-08e3ddb5]{color:var(--purple);border-bottom-color:var(--purple)}.tab-icon[data-v-08e3ddb5]{font-size:10px;opacity:.6}.tab-content[data-v-08e3ddb5]{flex:1;overflow:hidden;display:flex;flex-direction:column}*{box-sizing:border-box;margin:0;padding:0}body{font-family:var(--font);background:var(--bg);color:var(--text);font-size:13px;line-height:1.5}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}button{font-family:var(--font);font-size:12px;cursor:pointer;border:.5px solid var(--border);background:transparent;color:var(--text2);padding:4px 10px;border-radius:var(--radius);transition:background .12s}button:hover{background:var(--bg2)}button:active{transform:scale(.98)}button.active{background:#7f77dd26;color:var(--purple);border-color:var(--purple)}button.danger-active{background:#e24b4a1f;color:var(--red);border-color:var(--red)}button.success-active{background:#1d9e751f;color:var(--teal);border-color:var(--teal)}input[type=text],input[type=search]{font-family:var(--font);font-size:12px;border:.5px solid var(--border);background:var(--bg2);color:var(--text);padding:5px 10px;border-radius:var(--radius);outline:none;width:100%}input[type=text]:focus,input[type=search]:focus{border-color:var(--purple);box-shadow:0 0 0 2px #7f77dd33}input[type=range]{accent-color:var(--purple);cursor:pointer}.mono{font-family:var(--mono)}.muted{color:var(--text3)}.text-sm{font-size:11px}.text-xs{font-size:10px}.bold{font-weight:500}.badge{display:inline-block;font-size:10px;font-weight:500;padding:2px 7px;border-radius:99px;white-space:nowrap}.badge-ok{background:#1d9e7526;color:var(--teal)}.badge-err{background:#e24b4a1f;color:var(--red)}.badge-warn{background:#ef9f2726;color:var(--amber)}.badge-info{background:#378add1f;color:var(--blue)}.badge-gray{background:var(--bg2);color:var(--text3);border:.5px solid var(--border)}.badge-purple{background:#7f77dd26;color:var(--purple)}.card{background:var(--bg3);border:.5px solid var(--border);border-radius:var(--radius-lg);padding:12px 14px}.data-table{width:100%;border-collapse:collapse;font-size:12px}.data-table th{text-align:left;font-size:10px;font-weight:500;color:var(--text3);padding:6px 8px;border-bottom:.5px solid var(--border);text-transform:uppercase;letter-spacing:.4px;white-space:nowrap}.data-table td{padding:8px;border-bottom:.5px solid var(--border);color:var(--text);vertical-align:middle}.data-table tr:hover td{background:var(--bg2);cursor:pointer}.data-table tr.selected td{background:#7f77dd14}.stat-card{background:var(--bg2);border-radius:var(--radius);padding:10px 12px}.stat-label{font-size:10px;color:var(--text3);text-transform:uppercase;letter-spacing:.4px;margin-bottom:3px}.stat-val{font-size:20px;font-weight:500}.flex{display:flex}.items-center{align-items:center}.gap-2{gap:8px}.gap-3{gap:12px}.flex-1{flex:1}.overflow-auto{overflow:auto}.p-3{padding:12px}.p-4{padding:16px}.mb-2{margin-bottom:8px}.mb-3{margin-bottom:12px}.mt-2{margin-top:8px}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const l of o)if(l.type==="childList")for(const r of l.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&n(r)}).observe(document,{childList:!0,subtree:!0});function s(o){const l={};return o.integrity&&(l.integrity=o.integrity),o.referrerPolicy&&(l.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?l.credentials="include":o.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function n(o){if(o.ep)return;o.ep=!0;const l=s(o);fetch(o.href,l)}})();/**
|
|
2
|
+
* @vue/shared v3.5.30
|
|
3
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
+
* @license MIT
|
|
5
|
+
**/function _n(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const ce={},jt=[],Xe=()=>{},ko=()=>!1,Is=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),bn=e=>e.startsWith("onUpdate:"),ge=Object.assign,yn=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},ql=Object.prototype.hasOwnProperty,se=(e,t)=>ql.call(e,t),K=Array.isArray,Dt=e=>cs(e)==="[object Map]",Mo=e=>cs(e)==="[object Set]",Hn=e=>cs(e)==="[object Date]",q=e=>typeof e=="function",he=e=>typeof e=="string",Ze=e=>typeof e=="symbol",oe=e=>e!==null&&typeof e=="object",Eo=e=>(oe(e)||q(e))&&q(e.then)&&q(e.catch),Ao=Object.prototype.toString,cs=e=>Ao.call(e),Gl=e=>cs(e).slice(8,-1),Oo=e=>cs(e)==="[object Object]",xn=e=>he(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Jt=_n(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ps=e=>{const t=Object.create(null);return(s=>t[s]||(t[s]=e(s)))},Jl=/-\w/g,He=Ps(e=>e.replace(Jl,t=>t.slice(1).toUpperCase())),Yl=/\B([A-Z])/g,Et=Ps(e=>e.replace(Yl,"-$1").toLowerCase()),Io=Ps(e=>e.charAt(0).toUpperCase()+e.slice(1)),zs=Ps(e=>e?`on${Io(e)}`:""),Ye=(e,t)=>!Object.is(e,t),_s=(e,...t)=>{for(let s=0;s<e.length;s++)e[s](...t)},Po=(e,t,s,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},wn=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Xl=e=>{const t=he(e)?Number(e):NaN;return isNaN(t)?e:t};let Vn;const Ls=()=>Vn||(Vn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function xe(e){if(K(e)){const t={};for(let s=0;s<e.length;s++){const n=e[s],o=he(n)?ti(n):xe(n);if(o)for(const l in o)t[l]=o[l]}return t}else if(he(e)||oe(e))return e}const Zl=/;(?![^(]*\))/g,Ql=/:([^]+)/,ei=/\/\*[^]*?\*\//g;function ti(e){const t={};return e.replace(ei,"").split(Zl).forEach(s=>{if(s){const n=s.split(Ql);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Y(e){let t="";if(he(e))t=e;else if(K(e))for(let s=0;s<e.length;s++){const n=Y(e[s]);n&&(t+=n+" ")}else if(oe(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}const si="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ni=_n(si);function Lo(e){return!!e||e===""}function oi(e,t){if(e.length!==t.length)return!1;let s=!0;for(let n=0;s&&n<e.length;n++)s=$n(e[n],t[n]);return s}function $n(e,t){if(e===t)return!0;let s=Hn(e),n=Hn(t);if(s||n)return s&&n?e.getTime()===t.getTime():!1;if(s=Ze(e),n=Ze(t),s||n)return e===t;if(s=K(e),n=K(t),s||n)return s&&n?oi(e,t):!1;if(s=oe(e),n=oe(t),s||n){if(!s||!n)return!1;const o=Object.keys(e).length,l=Object.keys(t).length;if(o!==l)return!1;for(const r in e){const c=e.hasOwnProperty(r),f=t.hasOwnProperty(r);if(c&&!f||!c&&f||!$n(e[r],t[r]))return!1}}return String(e)===String(t)}const Fo=e=>!!(e&&e.__v_isRef===!0),E=e=>he(e)?e:e==null?"":K(e)||oe(e)&&(e.toString===Ao||!q(e.toString))?Fo(e)?E(e.value):JSON.stringify(e,Ro,2):String(e),Ro=(e,t)=>Fo(t)?Ro(e,t.value):Dt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,o],l)=>(s[qs(n,l)+" =>"]=o,s),{})}:Mo(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>qs(s))}:Ze(t)?qs(t):oe(t)&&!K(t)&&!Oo(t)?String(t):t,qs=(e,t="")=>{var s;return Ze(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};/**
|
|
6
|
+
* @vue/reactivity v3.5.30
|
|
7
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
8
|
+
* @license MIT
|
|
9
|
+
**/let Ae;class li{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=Ae,!t&&Ae&&(this.index=(Ae.scopes||(Ae.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].pause();for(t=0,s=this.effects.length;t<s;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].resume();for(t=0,s=this.effects.length;t<s;t++)this.effects[t].resume()}}run(t){if(this._active){const s=Ae;try{return Ae=this,t()}finally{Ae=s}}}on(){++this._on===1&&(this.prevScope=Ae,Ae=this)}off(){this._on>0&&--this._on===0&&(Ae=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(this.effects.length=0,s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){for(s=0,n=this.scopes.length;s<n;s++)this.scopes[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function ii(){return Ae}let ue;const Gs=new WeakSet;class No{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Ae&&Ae.active&&Ae.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Gs.has(this)&&(Gs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Do(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Bn(this),Ho(this);const t=ue,s=Ve;ue=this,Ve=!0;try{return this.fn()}finally{Vo(this),ue=t,Ve=s,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Tn(t);this.deps=this.depsTail=void 0,Bn(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Gs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){on(this)&&this.run()}get dirty(){return on(this)}}let jo=0,Yt,Xt;function Do(e,t=!1){if(e.flags|=8,t){e.next=Xt,Xt=e;return}e.next=Yt,Yt=e}function Cn(){jo++}function Sn(){if(--jo>0)return;if(Xt){let t=Xt;for(Xt=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;Yt;){let t=Yt;for(Yt=void 0;t;){const s=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=s}}if(e)throw e}function Ho(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Vo(e){let t,s=e.depsTail,n=s;for(;n;){const o=n.prevDep;n.version===-1?(n===s&&(s=o),Tn(n),ri(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=o}e.deps=t,e.depsTail=s}function on(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Bo(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Bo(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ss)||(e.globalVersion=ss,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!on(e))))return;e.flags|=2;const t=e.dep,s=ue,n=Ve;ue=e,Ve=!0;try{Ho(e);const o=e.fn(e._value);(t.version===0||Ye(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{ue=s,Ve=n,Vo(e),e.flags&=-3}}function Tn(e,t=!1){const{dep:s,prevSub:n,nextSub:o}=e;if(n&&(n.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=n,e.nextSub=void 0),s.subs===e&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let l=s.computed.deps;l;l=l.nextDep)Tn(l,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function ri(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let Ve=!0;const Uo=[];function rt(){Uo.push(Ve),Ve=!1}function at(){const e=Uo.pop();Ve=e===void 0?!0:e}function Bn(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=ue;ue=void 0;try{t()}finally{ue=s}}}let ss=0;class ai{constructor(t,s){this.sub=t,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class kn{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!ue||!Ve||ue===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==ue)s=this.activeLink=new ai(ue,this),ue.deps?(s.prevDep=ue.depsTail,ue.depsTail.nextDep=s,ue.depsTail=s):ue.deps=ue.depsTail=s,Ko(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=ue.depsTail,s.nextDep=void 0,ue.depsTail.nextDep=s,ue.depsTail=s,ue.deps===s&&(ue.deps=n)}return s}trigger(t){this.version++,ss++,this.notify(t)}notify(t){Cn();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Sn()}}}function Ko(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)Ko(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const ln=new WeakMap,St=Symbol(""),rn=Symbol(""),ns=Symbol("");function ye(e,t,s){if(Ve&&ue){let n=ln.get(e);n||ln.set(e,n=new Map);let o=n.get(s);o||(n.set(s,o=new kn),o.map=n,o.key=s),o.track()}}function lt(e,t,s,n,o,l){const r=ln.get(e);if(!r){ss++;return}const c=f=>{f&&f.trigger()};if(Cn(),t==="clear")r.forEach(c);else{const f=K(e),v=f&&xn(s);if(f&&s==="length"){const d=Number(n);r.forEach((h,_)=>{(_==="length"||_===ns||!Ze(_)&&_>=d)&&c(h)})}else switch((s!==void 0||r.has(void 0))&&c(r.get(s)),v&&c(r.get(ns)),t){case"add":f?v&&c(r.get("length")):(c(r.get(St)),Dt(e)&&c(r.get(rn)));break;case"delete":f||(c(r.get(St)),Dt(e)&&c(r.get(rn)));break;case"set":Dt(e)&&c(r.get(St));break}}Sn()}function Ot(e){const t=te(e);return t===e?t:(ye(t,"iterate",ns),De(e)?t:t.map(Be))}function Fs(e){return ye(e=te(e),"iterate",ns),e}function Ge(e,t){return ct(e)?Bt(Tt(e)?Be(t):t):Be(t)}const ci={__proto__:null,[Symbol.iterator](){return Js(this,Symbol.iterator,e=>Ge(this,e))},concat(...e){return Ot(this).concat(...e.map(t=>K(t)?Ot(t):t))},entries(){return Js(this,"entries",e=>(e[1]=Ge(this,e[1]),e))},every(e,t){return tt(this,"every",e,t,void 0,arguments)},filter(e,t){return tt(this,"filter",e,t,s=>s.map(n=>Ge(this,n)),arguments)},find(e,t){return tt(this,"find",e,t,s=>Ge(this,s),arguments)},findIndex(e,t){return tt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return tt(this,"findLast",e,t,s=>Ge(this,s),arguments)},findLastIndex(e,t){return tt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return tt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ys(this,"includes",e)},indexOf(...e){return Ys(this,"indexOf",e)},join(e){return Ot(this).join(e)},lastIndexOf(...e){return Ys(this,"lastIndexOf",e)},map(e,t){return tt(this,"map",e,t,void 0,arguments)},pop(){return Wt(this,"pop")},push(...e){return Wt(this,"push",e)},reduce(e,...t){return Un(this,"reduce",e,t)},reduceRight(e,...t){return Un(this,"reduceRight",e,t)},shift(){return Wt(this,"shift")},some(e,t){return tt(this,"some",e,t,void 0,arguments)},splice(...e){return Wt(this,"splice",e)},toReversed(){return Ot(this).toReversed()},toSorted(e){return Ot(this).toSorted(e)},toSpliced(...e){return Ot(this).toSpliced(...e)},unshift(...e){return Wt(this,"unshift",e)},values(){return Js(this,"values",e=>Ge(this,e))}};function Js(e,t,s){const n=Fs(e),o=n[t]();return n!==e&&!De(e)&&(o._next=o.next,o.next=()=>{const l=o._next();return l.done||(l.value=s(l.value)),l}),o}const ui=Array.prototype;function tt(e,t,s,n,o,l){const r=Fs(e),c=r!==e&&!De(e),f=r[t];if(f!==ui[t]){const h=f.apply(e,l);return c?Be(h):h}let v=s;r!==e&&(c?v=function(h,_){return s.call(this,Ge(e,h),_,e)}:s.length>2&&(v=function(h,_){return s.call(this,h,_,e)}));const d=f.call(r,v,n);return c&&o?o(d):d}function Un(e,t,s,n){const o=Fs(e),l=o!==e&&!De(e);let r=s,c=!1;o!==e&&(l?(c=n.length===0,r=function(v,d,h){return c&&(c=!1,v=Ge(e,v)),s.call(this,v,Ge(e,d),h,e)}):s.length>3&&(r=function(v,d,h){return s.call(this,v,d,h,e)}));const f=o[t](r,...n);return c?Ge(e,f):f}function Ys(e,t,s){const n=te(e);ye(n,"iterate",ns);const o=n[t](...s);return(o===-1||o===!1)&&On(s[0])?(s[0]=te(s[0]),n[t](...s)):o}function Wt(e,t,s=[]){rt(),Cn();const n=te(e)[t].apply(e,s);return Sn(),at(),n}const fi=_n("__proto__,__v_isRef,__isVue"),Wo=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ze));function di(e){Ze(e)||(e=String(e));const t=te(this);return ye(t,"has",e),t.hasOwnProperty(e)}class zo{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){if(s==="__v_skip")return t.__v_skip;const o=this._isReadonly,l=this._isShallow;if(s==="__v_isReactive")return!o;if(s==="__v_isReadonly")return o;if(s==="__v_isShallow")return l;if(s==="__v_raw")return n===(o?l?wi:Yo:l?Jo:Go).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const r=K(t);if(!o){let f;if(r&&(f=ci[s]))return f;if(s==="hasOwnProperty")return di}const c=Reflect.get(t,s,$e(t)?t:n);if((Ze(s)?Wo.has(s):fi(s))||(o||ye(t,"get",s),l))return c;if($e(c)){const f=r&&xn(s)?c:c.value;return o&&oe(f)?cn(f):f}return oe(c)?o?cn(c):En(c):c}}class qo extends zo{constructor(t=!1){super(!1,t)}set(t,s,n,o){let l=t[s];const r=K(t)&&xn(s);if(!this._isShallow){const v=ct(l);if(!De(n)&&!ct(n)&&(l=te(l),n=te(n)),!r&&$e(l)&&!$e(n))return v||(l.value=n),!0}const c=r?Number(s)<t.length:se(t,s),f=Reflect.set(t,s,n,$e(t)?t:o);return t===te(o)&&(c?Ye(n,l)&<(t,"set",s,n):lt(t,"add",s,n)),f}deleteProperty(t,s){const n=se(t,s);t[s];const o=Reflect.deleteProperty(t,s);return o&&n&<(t,"delete",s,void 0),o}has(t,s){const n=Reflect.has(t,s);return(!Ze(s)||!Wo.has(s))&&ye(t,"has",s),n}ownKeys(t){return ye(t,"iterate",K(t)?"length":St),Reflect.ownKeys(t)}}class pi extends zo{constructor(t=!1){super(!0,t)}set(t,s){return!0}deleteProperty(t,s){return!0}}const hi=new qo,vi=new pi,mi=new qo(!0);const an=e=>e,vs=e=>Reflect.getPrototypeOf(e);function gi(e,t,s){return function(...n){const o=this.__v_raw,l=te(o),r=Dt(l),c=e==="entries"||e===Symbol.iterator&&r,f=e==="keys"&&r,v=o[e](...n),d=s?an:t?Bt:Be;return!t&&ye(l,"iterate",f?rn:St),ge(Object.create(v),{next(){const{value:h,done:_}=v.next();return _?{value:h,done:_}:{value:c?[d(h[0]),d(h[1])]:d(h),done:_}}})}}function ms(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function _i(e,t){const s={get(o){const l=this.__v_raw,r=te(l),c=te(o);e||(Ye(o,c)&&ye(r,"get",o),ye(r,"get",c));const{has:f}=vs(r),v=t?an:e?Bt:Be;if(f.call(r,o))return v(l.get(o));if(f.call(r,c))return v(l.get(c));l!==r&&l.get(o)},get size(){const o=this.__v_raw;return!e&&ye(te(o),"iterate",St),o.size},has(o){const l=this.__v_raw,r=te(l),c=te(o);return e||(Ye(o,c)&&ye(r,"has",o),ye(r,"has",c)),o===c?l.has(o):l.has(o)||l.has(c)},forEach(o,l){const r=this,c=r.__v_raw,f=te(c),v=t?an:e?Bt:Be;return!e&&ye(f,"iterate",St),c.forEach((d,h)=>o.call(l,v(d),v(h),r))}};return ge(s,e?{add:ms("add"),set:ms("set"),delete:ms("delete"),clear:ms("clear")}:{add(o){const l=te(this),r=vs(l),c=te(o),f=!t&&!De(o)&&!ct(o)?c:o;return r.has.call(l,f)||Ye(o,f)&&r.has.call(l,o)||Ye(c,f)&&r.has.call(l,c)||(l.add(f),lt(l,"add",f,f)),this},set(o,l){!t&&!De(l)&&!ct(l)&&(l=te(l));const r=te(this),{has:c,get:f}=vs(r);let v=c.call(r,o);v||(o=te(o),v=c.call(r,o));const d=f.call(r,o);return r.set(o,l),v?Ye(l,d)&<(r,"set",o,l):lt(r,"add",o,l),this},delete(o){const l=te(this),{has:r,get:c}=vs(l);let f=r.call(l,o);f||(o=te(o),f=r.call(l,o)),c&&c.call(l,o);const v=l.delete(o);return f&<(l,"delete",o,void 0),v},clear(){const o=te(this),l=o.size!==0,r=o.clear();return l&<(o,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(o=>{s[o]=gi(o,e,t)}),s}function Mn(e,t){const s=_i(e,t);return(n,o,l)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?n:Reflect.get(se(s,o)&&o in n?s:n,o,l)}const bi={get:Mn(!1,!1)},yi={get:Mn(!1,!0)},xi={get:Mn(!0,!1)};const Go=new WeakMap,Jo=new WeakMap,Yo=new WeakMap,wi=new WeakMap;function $i(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ci(e){return e.__v_skip||!Object.isExtensible(e)?0:$i(Gl(e))}function En(e){return ct(e)?e:An(e,!1,hi,bi,Go)}function Si(e){return An(e,!1,mi,yi,Jo)}function cn(e){return An(e,!0,vi,xi,Yo)}function An(e,t,s,n,o){if(!oe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const l=Ci(e);if(l===0)return e;const r=o.get(e);if(r)return r;const c=new Proxy(e,l===2?n:s);return o.set(e,c),c}function Tt(e){return ct(e)?Tt(e.__v_raw):!!(e&&e.__v_isReactive)}function ct(e){return!!(e&&e.__v_isReadonly)}function De(e){return!!(e&&e.__v_isShallow)}function On(e){return e?!!e.__v_raw:!1}function te(e){const t=e&&e.__v_raw;return t?te(t):e}function Ti(e){return!se(e,"__v_skip")&&Object.isExtensible(e)&&Po(e,"__v_skip",!0),e}const Be=e=>oe(e)?En(e):e,Bt=e=>oe(e)?cn(e):e;function $e(e){return e?e.__v_isRef===!0:!1}function ne(e){return ki(e,!1)}function ki(e,t){return $e(e)?e:new Mi(e,t)}class Mi{constructor(t,s){this.dep=new kn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:te(t),this._value=s?t:Be(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,n=this.__v_isShallow||De(t)||ct(t);t=n?t:te(t),Ye(t,s)&&(this._rawValue=t,this._value=n?t:Be(t),this.dep.trigger())}}function ht(e){return $e(e)?e.value:e}const Ei={get:(e,t,s)=>t==="__v_raw"?e:ht(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const o=e[t];return $e(o)&&!$e(s)?(o.value=s,!0):Reflect.set(e,t,s,n)}};function Xo(e){return Tt(e)?e:new Proxy(e,Ei)}class Ai{constructor(t,s,n){this.fn=t,this.setter=s,this._value=void 0,this.dep=new kn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ss-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&ue!==this)return Do(this,!0),!0}get value(){const t=this.dep.track();return Bo(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Oi(e,t,s=!1){let n,o;return q(e)?n=e:(n=e.get,o=e.set),new Ai(n,o,s)}const gs={},$s=new WeakMap;let wt;function Ii(e,t=!1,s=wt){if(s){let n=$s.get(s);n||$s.set(s,n=[]),n.push(e)}}function Pi(e,t,s=ce){const{immediate:n,deep:o,once:l,scheduler:r,augmentJob:c,call:f}=s,v=k=>o?k:De(k)||o===!1||o===0?it(k,1):it(k);let d,h,_,m,y=!1,b=!1;if($e(e)?(h=()=>e.value,y=De(e)):Tt(e)?(h=()=>v(e),y=!0):K(e)?(b=!0,y=e.some(k=>Tt(k)||De(k)),h=()=>e.map(k=>{if($e(k))return k.value;if(Tt(k))return v(k);if(q(k))return f?f(k,2):k()})):q(e)?t?h=f?()=>f(e,2):e:h=()=>{if(_){rt();try{_()}finally{at()}}const k=wt;wt=d;try{return f?f(e,3,[m]):e(m)}finally{wt=k}}:h=Xe,t&&o){const k=h,A=o===!0?1/0:o;h=()=>it(k(),A)}const H=ii(),B=()=>{d.stop(),H&&H.active&&yn(H.effects,d)};if(l&&t){const k=t;t=(...A)=>{k(...A),B()}}let W=b?new Array(e.length).fill(gs):gs;const P=k=>{if(!(!(d.flags&1)||!d.dirty&&!k))if(t){const A=d.run();if(o||y||(b?A.some((ee,ve)=>Ye(ee,W[ve])):Ye(A,W))){_&&_();const ee=wt;wt=d;try{const ve=[A,W===gs?void 0:b&&W[0]===gs?[]:W,m];W=A,f?f(t,3,ve):t(...ve)}finally{wt=ee}}}else d.run()};return c&&c(P),d=new No(h),d.scheduler=r?()=>r(P,!1):P,m=k=>Ii(k,!1,d),_=d.onStop=()=>{const k=$s.get(d);if(k){if(f)f(k,4);else for(const A of k)A();$s.delete(d)}},t?n?P(!0):W=d.run():r?r(P.bind(null,!0),!0):d.run(),B.pause=d.pause.bind(d),B.resume=d.resume.bind(d),B.stop=B,B}function it(e,t=1/0,s){if(t<=0||!oe(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,$e(e))it(e.value,t,s);else if(K(e))for(let n=0;n<e.length;n++)it(e[n],t,s);else if(Mo(e)||Dt(e))e.forEach(n=>{it(n,t,s)});else if(Oo(e)){for(const n in e)it(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&it(e[n],t,s)}return e}/**
|
|
10
|
+
* @vue/runtime-core v3.5.30
|
|
11
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
12
|
+
* @license MIT
|
|
13
|
+
**/function us(e,t,s,n){try{return n?e(...n):e()}catch(o){Rs(o,t,s)}}function Ue(e,t,s,n){if(q(e)){const o=us(e,t,s,n);return o&&Eo(o)&&o.catch(l=>{Rs(l,t,s)}),o}if(K(e)){const o=[];for(let l=0;l<e.length;l++)o.push(Ue(e[l],t,s,n));return o}}function Rs(e,t,s,n=!0){const o=t?t.vnode:null,{errorHandler:l,throwUnhandledErrorInProduction:r}=t&&t.appContext.config||ce;if(t){let c=t.parent;const f=t.proxy,v=`https://vuejs.org/error-reference/#runtime-${s}`;for(;c;){const d=c.ec;if(d){for(let h=0;h<d.length;h++)if(d[h](e,f,v)===!1)return}c=c.parent}if(l){rt(),us(l,null,10,[e,f,v]),at();return}}Li(e,s,o,n,r)}function Li(e,t,s,n=!0,o=!1){if(o)throw e;console.error(e)}const Se=[];let ze=-1;const Ht=[];let dt=null,Rt=0;const Zo=Promise.resolve();let Cs=null;function Fi(e){const t=Cs||Zo;return e?t.then(this?e.bind(this):e):t}function Ri(e){let t=ze+1,s=Se.length;for(;t<s;){const n=t+s>>>1,o=Se[n],l=os(o);l<e||l===e&&o.flags&2?t=n+1:s=n}return t}function In(e){if(!(e.flags&1)){const t=os(e),s=Se[Se.length-1];!s||!(e.flags&2)&&t>=os(s)?Se.push(e):Se.splice(Ri(t),0,e),e.flags|=1,Qo()}}function Qo(){Cs||(Cs=Zo.then(tl))}function Ni(e){K(e)?Ht.push(...e):dt&&e.id===-1?dt.splice(Rt+1,0,e):e.flags&1||(Ht.push(e),e.flags|=1),Qo()}function Kn(e,t,s=ze+1){for(;s<Se.length;s++){const n=Se[s];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;Se.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function el(e){if(Ht.length){const t=[...new Set(Ht)].sort((s,n)=>os(s)-os(n));if(Ht.length=0,dt){dt.push(...t);return}for(dt=t,Rt=0;Rt<dt.length;Rt++){const s=dt[Rt];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}dt=null,Rt=0}}const os=e=>e.id==null?e.flags&2?-1:1/0:e.id;function tl(e){try{for(ze=0;ze<Se.length;ze++){const t=Se[ze];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),us(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;ze<Se.length;ze++){const t=Se[ze];t&&(t.flags&=-2)}ze=-1,Se.length=0,el(),Cs=null,(Se.length||Ht.length)&&tl()}}let je=null,sl=null;function Ss(e){const t=je;return je=e,sl=e&&e.type.__scopeId||null,t}function nl(e,t=je,s){if(!t||e._n)return e;const n=(...o)=>{n._d&&Ms(-1);const l=Ss(t);let r;try{r=e(...o)}finally{Ss(l),n._d&&Ms(1)}return r};return n._n=!0,n._c=!0,n._d=!0,n}function Ns(e,t){if(je===null)return e;const s=Bs(je),n=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[l,r,c,f=ce]=t[o];l&&(q(l)&&(l={mounted:l,updated:l}),l.deep&&it(r),n.push({dir:l,instance:s,value:r,oldValue:void 0,arg:c,modifiers:f}))}return e}function _t(e,t,s,n){const o=e.dirs,l=t&&t.dirs;for(let r=0;r<o.length;r++){const c=o[r];l&&(c.oldValue=l[r].value);let f=c.dir[n];f&&(rt(),Ue(f,s,8,[e.el,c,e,t]),at())}}function ji(e,t){if(ke){let s=ke.provides;const n=ke.parent&&ke.parent.provides;n===s&&(s=ke.provides=Object.create(n)),s[e]=t}}function bs(e,t,s=!1){const n=Rl();if(n||Vt){let o=Vt?Vt._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return s&&q(t)?t.call(n&&n.proxy):t}}const Di=Symbol.for("v-scx"),Hi=()=>bs(Di);function kt(e,t,s){return ol(e,t,s)}function ol(e,t,s=ce){const{immediate:n,deep:o,flush:l,once:r}=s,c=ge({},s),f=t&&n||!t&&l!=="post";let v;if(rs){if(l==="sync"){const m=Hi();v=m.__watcherHandles||(m.__watcherHandles=[])}else if(!f){const m=()=>{};return m.stop=Xe,m.resume=Xe,m.pause=Xe,m}}const d=ke;c.call=(m,y,b)=>Ue(m,d,y,b);let h=!1;l==="post"?c.scheduler=m=>{Ee(m,d&&d.suspense)}:l!=="sync"&&(h=!0,c.scheduler=(m,y)=>{y?m():In(m)}),c.augmentJob=m=>{t&&(m.flags|=4),h&&(m.flags|=2,d&&(m.id=d.uid,m.i=d))};const _=Pi(e,t,c);return rs&&(v?v.push(_):f&&_()),_}function Vi(e,t,s){const n=this.proxy,o=he(e)?e.includes(".")?ll(n,e):()=>n[e]:e.bind(n,n);let l;q(t)?l=t:(l=t.handler,s=t);const r=fs(this),c=ol(o,l.bind(n),s);return r(),c}function ll(e,t){const s=t.split(".");return()=>{let n=e;for(let o=0;o<s.length&&n;o++)n=n[s[o]];return n}}const Bi=Symbol("_vte"),il=e=>e.__isTeleport,qe=Symbol("_leaveCb"),zt=Symbol("_enterCb");function Ui(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return hl(()=>{e.isMounted=!0}),vl(()=>{e.isUnmounting=!0}),e}const Ne=[Function,Array],rl={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ne,onEnter:Ne,onAfterEnter:Ne,onEnterCancelled:Ne,onBeforeLeave:Ne,onLeave:Ne,onAfterLeave:Ne,onLeaveCancelled:Ne,onBeforeAppear:Ne,onAppear:Ne,onAfterAppear:Ne,onAppearCancelled:Ne},al=e=>{const t=e.subTree;return t.component?al(t.component):t},Ki={name:"BaseTransition",props:rl,setup(e,{slots:t}){const s=Rl(),n=Ui();return()=>{const o=t.default&&fl(t.default(),!0);if(!o||!o.length)return;const l=cl(o),r=te(e),{mode:c}=r;if(n.isLeaving)return Xs(l);const f=Wn(l);if(!f)return Xs(l);let v=un(f,r,n,s,h=>v=h);f.type!==Te&&ls(f,v);let d=s.subTree&&Wn(s.subTree);if(d&&d.type!==Te&&!Ct(d,f)&&al(s).type!==Te){let h=un(d,r,n,s);if(ls(d,h),c==="out-in"&&f.type!==Te)return n.isLeaving=!0,h.afterLeave=()=>{n.isLeaving=!1,s.job.flags&8||s.update(),delete h.afterLeave,d=void 0},Xs(l);c==="in-out"&&f.type!==Te?h.delayLeave=(_,m,y)=>{const b=ul(n,d);b[String(d.key)]=d,_[qe]=()=>{m(),_[qe]=void 0,delete v.delayedLeave,d=void 0},v.delayedLeave=()=>{y(),delete v.delayedLeave,d=void 0}}:d=void 0}else d&&(d=void 0);return l}}};function cl(e){let t=e[0];if(e.length>1){for(const s of e)if(s.type!==Te){t=s;break}}return t}const Wi=Ki;function ul(e,t){const{leavingVNodes:s}=e;let n=s.get(t.type);return n||(n=Object.create(null),s.set(t.type,n)),n}function un(e,t,s,n,o){const{appear:l,mode:r,persisted:c=!1,onBeforeEnter:f,onEnter:v,onAfterEnter:d,onEnterCancelled:h,onBeforeLeave:_,onLeave:m,onAfterLeave:y,onLeaveCancelled:b,onBeforeAppear:H,onAppear:B,onAfterAppear:W,onAppearCancelled:P}=t,k=String(e.key),A=ul(s,e),ee=(M,C)=>{M&&Ue(M,n,9,C)},ve=(M,C)=>{const U=C[1];ee(M,C),K(M)?M.every(S=>S.length<=1)&&U():M.length<=1&&U()},I={mode:r,persisted:c,beforeEnter(M){let C=f;if(!s.isMounted)if(l)C=H||f;else return;M[qe]&&M[qe](!0);const U=A[k];U&&Ct(e,U)&&U.el[qe]&&U.el[qe](),ee(C,[M])},enter(M){if(A[k]===e)return;let C=v,U=d,S=h;if(!s.isMounted)if(l)C=B||v,U=W||d,S=P||h;else return;let z=!1;M[zt]=me=>{z||(z=!0,me?ee(S,[M]):ee(U,[M]),I.delayedLeave&&I.delayedLeave(),M[zt]=void 0)};const X=M[zt].bind(null,!1);C?ve(C,[M,X]):X()},leave(M,C){const U=String(e.key);if(M[zt]&&M[zt](!0),s.isUnmounting)return C();ee(_,[M]);let S=!1;M[qe]=X=>{S||(S=!0,C(),X?ee(b,[M]):ee(y,[M]),M[qe]=void 0,A[U]===e&&delete A[U])};const z=M[qe].bind(null,!1);A[U]=e,m?ve(m,[M,z]):z()},clone(M){const C=un(M,t,s,n,o);return o&&o(C),C}};return I}function Xs(e){if(js(e))return e=vt(e),e.children=null,e}function Wn(e){if(!js(e))return il(e.type)&&e.children?cl(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:s}=e;if(s){if(t&16)return s[0];if(t&32&&q(s.default))return s.default()}}function ls(e,t){e.shapeFlag&6&&e.component?(e.transition=t,ls(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function fl(e,t=!1,s){let n=[],o=0;for(let l=0;l<e.length;l++){let r=e[l];const c=s==null?r.key:String(s)+String(r.key!=null?r.key:l);r.type===re?(r.patchFlag&128&&o++,n=n.concat(fl(r.children,t,c))):(t||r.type!==Te)&&n.push(c!=null?vt(r,{key:c}):r)}if(o>1)for(let l=0;l<n.length;l++)n[l].patchFlag=-2;return n}function Mt(e,t){return q(e)?ge({name:e.name},t,{setup:e}):e}function dl(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function zn(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}const Ts=new WeakMap;function Zt(e,t,s,n,o=!1){if(K(e)){e.forEach((b,H)=>Zt(b,t&&(K(t)?t[H]:t),s,n,o));return}if(Qt(n)&&!o){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Zt(e,t,s,n.component.subTree);return}const l=n.shapeFlag&4?Bs(n.component):n.el,r=o?null:l,{i:c,r:f}=e,v=t&&t.r,d=c.refs===ce?c.refs={}:c.refs,h=c.setupState,_=te(h),m=h===ce?ko:b=>zn(d,b)?!1:se(_,b),y=(b,H)=>!(H&&zn(d,H));if(v!=null&&v!==f){if(qn(t),he(v))d[v]=null,m(v)&&(h[v]=null);else if($e(v)){const b=t;y(v,b.k)&&(v.value=null),b.k&&(d[b.k]=null)}}if(q(f))us(f,c,12,[r,d]);else{const b=he(f),H=$e(f);if(b||H){const B=()=>{if(e.f){const W=b?m(f)?h[f]:d[f]:y()||!e.k?f.value:d[e.k];if(o)K(W)&&yn(W,l);else if(K(W))W.includes(l)||W.push(l);else if(b)d[f]=[l],m(f)&&(h[f]=d[f]);else{const P=[l];y(f,e.k)&&(f.value=P),e.k&&(d[e.k]=P)}}else b?(d[f]=r,m(f)&&(h[f]=r)):H&&(y(f,e.k)&&(f.value=r),e.k&&(d[e.k]=r))};if(r){const W=()=>{B(),Ts.delete(e)};W.id=-1,Ts.set(e,W),Ee(W,s)}else qn(e),B()}}}function qn(e){const t=Ts.get(e);t&&(t.flags|=8,Ts.delete(e))}Ls().requestIdleCallback;Ls().cancelIdleCallback;const Qt=e=>!!e.type.__asyncLoader,js=e=>e.type.__isKeepAlive;function zi(e,t){pl(e,"a",t)}function qi(e,t){pl(e,"da",t)}function pl(e,t,s=ke){const n=e.__wdc||(e.__wdc=()=>{let o=s;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Ds(t,n,s),s){let o=s.parent;for(;o&&o.parent;)js(o.parent.vnode)&&Gi(n,t,s,o),o=o.parent}}function Gi(e,t,s,n){const o=Ds(t,e,n,!0);ml(()=>{yn(n[t],o)},s)}function Ds(e,t,s=ke,n=!1){if(s){const o=s[e]||(s[e]=[]),l=t.__weh||(t.__weh=(...r)=>{rt();const c=fs(s),f=Ue(t,s,e,r);return c(),at(),f});return n?o.unshift(l):o.push(l),l}}const ut=e=>(t,s=ke)=>{(!rs||e==="sp")&&Ds(e,(...n)=>t(...n),s)},Ji=ut("bm"),hl=ut("m"),Yi=ut("bu"),Xi=ut("u"),vl=ut("bum"),ml=ut("um"),Zi=ut("sp"),Qi=ut("rtg"),er=ut("rtc");function tr(e,t=ke){Ds("ec",e,t)}const sr=Symbol.for("v-ndc");function we(e,t,s,n){let o;const l=s,r=K(e);if(r||he(e)){const c=r&&Tt(e);let f=!1,v=!1;c&&(f=!De(e),v=ct(e),e=Fs(e)),o=new Array(e.length);for(let d=0,h=e.length;d<h;d++)o[d]=t(f?v?Bt(Be(e[d])):Be(e[d]):e[d],d,void 0,l)}else if(typeof e=="number"){o=new Array(e);for(let c=0;c<e;c++)o[c]=t(c+1,c,void 0,l)}else if(oe(e))if(e[Symbol.iterator])o=Array.from(e,(c,f)=>t(c,f,void 0,l));else{const c=Object.keys(e);o=new Array(c.length);for(let f=0,v=c.length;f<v;f++){const d=c[f];o[f]=t(e[d],d,f,l)}}else o=[];return o}const fn=e=>e?Nl(e)?Bs(e):fn(e.parent):null,es=ge(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>fn(e.parent),$root:e=>fn(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>_l(e),$forceUpdate:e=>e.f||(e.f=()=>{In(e.update)}),$nextTick:e=>e.n||(e.n=Fi.bind(e.proxy)),$watch:e=>Vi.bind(e)}),Zs=(e,t)=>e!==ce&&!e.__isScriptSetup&&se(e,t),nr={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:o,props:l,accessCache:r,type:c,appContext:f}=e;if(t[0]!=="$"){const _=r[t];if(_!==void 0)switch(_){case 1:return n[t];case 2:return o[t];case 4:return s[t];case 3:return l[t]}else{if(Zs(n,t))return r[t]=1,n[t];if(o!==ce&&se(o,t))return r[t]=2,o[t];if(se(l,t))return r[t]=3,l[t];if(s!==ce&&se(s,t))return r[t]=4,s[t];dn&&(r[t]=0)}}const v=es[t];let d,h;if(v)return t==="$attrs"&&ye(e.attrs,"get",""),v(e);if((d=c.__cssModules)&&(d=d[t]))return d;if(s!==ce&&se(s,t))return r[t]=4,s[t];if(h=f.config.globalProperties,se(h,t))return h[t]},set({_:e},t,s){const{data:n,setupState:o,ctx:l}=e;return Zs(o,t)?(o[t]=s,!0):n!==ce&&se(n,t)?(n[t]=s,!0):se(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(l[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:o,props:l,type:r}},c){let f;return!!(s[c]||e!==ce&&c[0]!=="$"&&se(e,c)||Zs(t,c)||se(l,c)||se(n,c)||se(es,c)||se(o.config.globalProperties,c)||(f=r.__cssModules)&&f[c])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:se(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function Gn(e){return K(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let dn=!0;function or(e){const t=_l(e),s=e.proxy,n=e.ctx;dn=!1,t.beforeCreate&&Jn(t.beforeCreate,e,"bc");const{data:o,computed:l,methods:r,watch:c,provide:f,inject:v,created:d,beforeMount:h,mounted:_,beforeUpdate:m,updated:y,activated:b,deactivated:H,beforeDestroy:B,beforeUnmount:W,destroyed:P,unmounted:k,render:A,renderTracked:ee,renderTriggered:ve,errorCaptured:I,serverPrefetch:M,expose:C,inheritAttrs:U,components:S,directives:z,filters:X}=t;if(v&&lr(v,n,null),r)for(const le in r){const G=r[le];q(G)&&(n[le]=G.bind(s))}if(o){const le=o.call(s,s);oe(le)&&(e.data=En(le))}if(dn=!0,l)for(const le in l){const G=l[le],Oe=q(G)?G.bind(s,s):q(G.get)?G.get.bind(s,s):Xe,Qe=!q(G)&&q(G.set)?G.set.bind(s):Xe,fe=Q({get:Oe,set:Qe});Object.defineProperty(n,le,{enumerable:!0,configurable:!0,get:()=>fe.value,set:Re=>fe.value=Re})}if(c)for(const le in c)gl(c[le],n,s,le);if(f){const le=q(f)?f.call(s):f;Reflect.ownKeys(le).forEach(G=>{ji(G,le[G])})}d&&Jn(d,e,"c");function ae(le,G){K(G)?G.forEach(Oe=>le(Oe.bind(s))):G&&le(G.bind(s))}if(ae(Ji,h),ae(hl,_),ae(Yi,m),ae(Xi,y),ae(zi,b),ae(qi,H),ae(tr,I),ae(er,ee),ae(Qi,ve),ae(vl,W),ae(ml,k),ae(Zi,M),K(C))if(C.length){const le=e.exposed||(e.exposed={});C.forEach(G=>{Object.defineProperty(le,G,{get:()=>s[G],set:Oe=>s[G]=Oe,enumerable:!0})})}else e.exposed||(e.exposed={});A&&e.render===Xe&&(e.render=A),U!=null&&(e.inheritAttrs=U),S&&(e.components=S),z&&(e.directives=z),M&&dl(e)}function lr(e,t,s=Xe){K(e)&&(e=pn(e));for(const n in e){const o=e[n];let l;oe(o)?"default"in o?l=bs(o.from||n,o.default,!0):l=bs(o.from||n):l=bs(o),$e(l)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>l.value,set:r=>l.value=r}):t[n]=l}}function Jn(e,t,s){Ue(K(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function gl(e,t,s,n){let o=n.includes(".")?ll(s,n):()=>s[n];if(he(e)){const l=t[e];q(l)&&kt(o,l)}else if(q(e))kt(o,e.bind(s));else if(oe(e))if(K(e))e.forEach(l=>gl(l,t,s,n));else{const l=q(e.handler)?e.handler.bind(s):t[e.handler];q(l)&&kt(o,l,e)}}function _l(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:o,optionsCache:l,config:{optionMergeStrategies:r}}=e.appContext,c=l.get(t);let f;return c?f=c:!o.length&&!s&&!n?f=t:(f={},o.length&&o.forEach(v=>ks(f,v,r,!0)),ks(f,t,r)),oe(t)&&l.set(t,f),f}function ks(e,t,s,n=!1){const{mixins:o,extends:l}=t;l&&ks(e,l,s,!0),o&&o.forEach(r=>ks(e,r,s,!0));for(const r in t)if(!(n&&r==="expose")){const c=ir[r]||s&&s[r];e[r]=c?c(e[r],t[r]):t[r]}return e}const ir={data:Yn,props:Xn,emits:Xn,methods:Gt,computed:Gt,beforeCreate:Ce,created:Ce,beforeMount:Ce,mounted:Ce,beforeUpdate:Ce,updated:Ce,beforeDestroy:Ce,beforeUnmount:Ce,destroyed:Ce,unmounted:Ce,activated:Ce,deactivated:Ce,errorCaptured:Ce,serverPrefetch:Ce,components:Gt,directives:Gt,watch:ar,provide:Yn,inject:rr};function Yn(e,t){return t?e?function(){return ge(q(e)?e.call(this,this):e,q(t)?t.call(this,this):t)}:t:e}function rr(e,t){return Gt(pn(e),pn(t))}function pn(e){if(K(e)){const t={};for(let s=0;s<e.length;s++)t[e[s]]=e[s];return t}return e}function Ce(e,t){return e?[...new Set([].concat(e,t))]:t}function Gt(e,t){return e?ge(Object.create(null),e,t):t}function Xn(e,t){return e?K(e)&&K(t)?[...new Set([...e,...t])]:ge(Object.create(null),Gn(e),Gn(t??{})):t}function ar(e,t){if(!e)return t;if(!t)return e;const s=ge(Object.create(null),e);for(const n in t)s[n]=Ce(e[n],t[n]);return s}function bl(){return{app:null,config:{isNativeTag:ko,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let cr=0;function ur(e,t){return function(n,o=null){q(n)||(n=ge({},n)),o!=null&&!oe(o)&&(o=null);const l=bl(),r=new WeakSet,c=[];let f=!1;const v=l.app={_uid:cr++,_component:n,_props:o,_container:null,_context:l,_instance:null,version:Br,get config(){return l.config},set config(d){},use(d,...h){return r.has(d)||(d&&q(d.install)?(r.add(d),d.install(v,...h)):q(d)&&(r.add(d),d(v,...h))),v},mixin(d){return l.mixins.includes(d)||l.mixins.push(d),v},component(d,h){return h?(l.components[d]=h,v):l.components[d]},directive(d,h){return h?(l.directives[d]=h,v):l.directives[d]},mount(d,h,_){if(!f){const m=v._ceVNode||Me(n,o);return m.appContext=l,_===!0?_="svg":_===!1&&(_=void 0),e(m,d,_),f=!0,v._container=d,d.__vue_app__=v,Bs(m.component)}},onUnmount(d){c.push(d)},unmount(){f&&(Ue(c,v._instance,16),e(null,v._container),delete v._container.__vue_app__)},provide(d,h){return l.provides[d]=h,v},runWithContext(d){const h=Vt;Vt=v;try{return d()}finally{Vt=h}}};return v}}let Vt=null;const fr=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${He(t)}Modifiers`]||e[`${Et(t)}Modifiers`];function dr(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||ce;let o=s;const l=t.startsWith("update:"),r=l&&fr(n,t.slice(7));r&&(r.trim&&(o=s.map(d=>he(d)?d.trim():d)),r.number&&(o=s.map(wn)));let c,f=n[c=zs(t)]||n[c=zs(He(t))];!f&&l&&(f=n[c=zs(Et(t))]),f&&Ue(f,e,6,o);const v=n[c+"Once"];if(v){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,Ue(v,e,6,o)}}const pr=new WeakMap;function yl(e,t,s=!1){const n=s?pr:t.emitsCache,o=n.get(e);if(o!==void 0)return o;const l=e.emits;let r={},c=!1;if(!q(e)){const f=v=>{const d=yl(v,t,!0);d&&(c=!0,ge(r,d))};!s&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}return!l&&!c?(oe(e)&&n.set(e,null),null):(K(l)?l.forEach(f=>r[f]=null):ge(r,l),oe(e)&&n.set(e,r),r)}function Hs(e,t){return!e||!Is(t)?!1:(t=t.slice(2).replace(/Once$/,""),se(e,t[0].toLowerCase()+t.slice(1))||se(e,Et(t))||se(e,t))}function Zn(e){const{type:t,vnode:s,proxy:n,withProxy:o,propsOptions:[l],slots:r,attrs:c,emit:f,render:v,renderCache:d,props:h,data:_,setupState:m,ctx:y,inheritAttrs:b}=e,H=Ss(e);let B,W;try{if(s.shapeFlag&4){const k=o||n,A=k;B=Je(v.call(A,k,d,h,m,_,y)),W=c}else{const k=t;B=Je(k.length>1?k(h,{attrs:c,slots:r,emit:f}):k(h,null)),W=t.props?c:hr(c)}}catch(k){ts.length=0,Rs(k,e,1),B=Me(Te)}let P=B;if(W&&b!==!1){const k=Object.keys(W),{shapeFlag:A}=P;k.length&&A&7&&(l&&k.some(bn)&&(W=vr(W,l)),P=vt(P,W,!1,!0))}return s.dirs&&(P=vt(P,null,!1,!0),P.dirs=P.dirs?P.dirs.concat(s.dirs):s.dirs),s.transition&&ls(P,s.transition),B=P,Ss(H),B}const hr=e=>{let t;for(const s in e)(s==="class"||s==="style"||Is(s))&&((t||(t={}))[s]=e[s]);return t},vr=(e,t)=>{const s={};for(const n in e)(!bn(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function mr(e,t,s){const{props:n,children:o,component:l}=e,{props:r,children:c,patchFlag:f}=t,v=l.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&f>=0){if(f&1024)return!0;if(f&16)return n?Qn(n,r,v):!!r;if(f&8){const d=t.dynamicProps;for(let h=0;h<d.length;h++){const _=d[h];if(xl(r,n,_)&&!Hs(v,_))return!0}}}else return(o||c)&&(!c||!c.$stable)?!0:n===r?!1:n?r?Qn(n,r,v):!0:!!r;return!1}function Qn(e,t,s){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let o=0;o<n.length;o++){const l=n[o];if(xl(t,e,l)&&!Hs(s,l))return!0}return!1}function xl(e,t,s){const n=e[s],o=t[s];return s==="style"&&oe(n)&&oe(o)?!$n(n,o):n!==o}function gr({vnode:e,parent:t},s){for(;t;){const n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.el=e.el),n===e)(e=t.vnode).el=s,t=t.parent;else break}}const wl={},$l=()=>Object.create(wl),Cl=e=>Object.getPrototypeOf(e)===wl;function _r(e,t,s,n=!1){const o={},l=$l();e.propsDefaults=Object.create(null),Sl(e,t,o,l);for(const r in e.propsOptions[0])r in o||(o[r]=void 0);s?e.props=n?o:Si(o):e.type.props?e.props=o:e.props=l,e.attrs=l}function br(e,t,s,n){const{props:o,attrs:l,vnode:{patchFlag:r}}=e,c=te(o),[f]=e.propsOptions;let v=!1;if((n||r>0)&&!(r&16)){if(r&8){const d=e.vnode.dynamicProps;for(let h=0;h<d.length;h++){let _=d[h];if(Hs(e.emitsOptions,_))continue;const m=t[_];if(f)if(se(l,_))m!==l[_]&&(l[_]=m,v=!0);else{const y=He(_);o[y]=hn(f,c,y,m,e,!1)}else m!==l[_]&&(l[_]=m,v=!0)}}}else{Sl(e,t,o,l)&&(v=!0);let d;for(const h in c)(!t||!se(t,h)&&((d=Et(h))===h||!se(t,d)))&&(f?s&&(s[h]!==void 0||s[d]!==void 0)&&(o[h]=hn(f,c,h,void 0,e,!0)):delete o[h]);if(l!==c)for(const h in l)(!t||!se(t,h))&&(delete l[h],v=!0)}v&<(e.attrs,"set","")}function Sl(e,t,s,n){const[o,l]=e.propsOptions;let r=!1,c;if(t)for(let f in t){if(Jt(f))continue;const v=t[f];let d;o&&se(o,d=He(f))?!l||!l.includes(d)?s[d]=v:(c||(c={}))[d]=v:Hs(e.emitsOptions,f)||(!(f in n)||v!==n[f])&&(n[f]=v,r=!0)}if(l){const f=te(s),v=c||ce;for(let d=0;d<l.length;d++){const h=l[d];s[h]=hn(o,f,h,v[h],e,!se(v,h))}}return r}function hn(e,t,s,n,o,l){const r=e[s];if(r!=null){const c=se(r,"default");if(c&&n===void 0){const f=r.default;if(r.type!==Function&&!r.skipFactory&&q(f)){const{propsDefaults:v}=o;if(s in v)n=v[s];else{const d=fs(o);n=v[s]=f.call(null,t),d()}}else n=f;o.ce&&o.ce._setProp(s,n)}r[0]&&(l&&!c?n=!1:r[1]&&(n===""||n===Et(s))&&(n=!0))}return n}const yr=new WeakMap;function Tl(e,t,s=!1){const n=s?yr:t.propsCache,o=n.get(e);if(o)return o;const l=e.props,r={},c=[];let f=!1;if(!q(e)){const d=h=>{f=!0;const[_,m]=Tl(h,t,!0);ge(r,_),m&&c.push(...m)};!s&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!l&&!f)return oe(e)&&n.set(e,jt),jt;if(K(l))for(let d=0;d<l.length;d++){const h=He(l[d]);eo(h)&&(r[h]=ce)}else if(l)for(const d in l){const h=He(d);if(eo(h)){const _=l[d],m=r[h]=K(_)||q(_)?{type:_}:ge({},_),y=m.type;let b=!1,H=!0;if(K(y))for(let B=0;B<y.length;++B){const W=y[B],P=q(W)&&W.name;if(P==="Boolean"){b=!0;break}else P==="String"&&(H=!1)}else b=q(y)&&y.name==="Boolean";m[0]=b,m[1]=H,(b||se(m,"default"))&&c.push(h)}}const v=[r,c];return oe(e)&&n.set(e,v),v}function eo(e){return e[0]!=="$"&&!Jt(e)}const Pn=e=>e==="_"||e==="_ctx"||e==="$stable",Ln=e=>K(e)?e.map(Je):[Je(e)],xr=(e,t,s)=>{if(t._n)return t;const n=nl((...o)=>Ln(t(...o)),s);return n._c=!1,n},kl=(e,t,s)=>{const n=e._ctx;for(const o in e){if(Pn(o))continue;const l=e[o];if(q(l))t[o]=xr(o,l,n);else if(l!=null){const r=Ln(l);t[o]=()=>r}}},Ml=(e,t)=>{const s=Ln(t);e.slots.default=()=>s},El=(e,t,s)=>{for(const n in t)(s||!Pn(n))&&(e[n]=t[n])},wr=(e,t,s)=>{const n=e.slots=$l();if(e.vnode.shapeFlag&32){const o=t._;o?(El(n,t,s),s&&Po(n,"_",o,!0)):kl(t,n)}else t&&Ml(e,t)},$r=(e,t,s)=>{const{vnode:n,slots:o}=e;let l=!0,r=ce;if(n.shapeFlag&32){const c=t._;c?s&&c===1?l=!1:El(o,t,s):(l=!t.$stable,kl(t,o)),r=t}else t&&(Ml(e,t),r={default:1});if(l)for(const c in o)!Pn(c)&&r[c]==null&&delete o[c]},Ee=Mr;function Cr(e){return Sr(e)}function Sr(e,t){const s=Ls();s.__VUE__=!0;const{insert:n,remove:o,patchProp:l,createElement:r,createText:c,createComment:f,setText:v,setElementText:d,parentNode:h,nextSibling:_,setScopeId:m=Xe,insertStaticContent:y}=e,b=(i,a,p,x=null,g=null,$=null,L=void 0,w=null,O=!!a.dynamicChildren)=>{if(i===a)return;i&&!Ct(i,a)&&(x=At(i),Re(i,g,$,!0),i=null),a.patchFlag===-2&&(O=!1,a.dynamicChildren=null);const{type:T,ref:j,shapeFlag:R}=a;switch(T){case Vs:H(i,a,p,x);break;case Te:B(i,a,p,x);break;case ys:i==null&&W(a,p,x,L);break;case re:S(i,a,p,x,g,$,L,w,O);break;default:R&1?A(i,a,p,x,g,$,L,w,O):R&6?z(i,a,p,x,g,$,L,w,O):(R&64||R&128)&&T.process(i,a,p,x,g,$,L,w,O,gt)}j!=null&&g?Zt(j,i&&i.ref,$,a||i,!a):j==null&&i&&i.ref!=null&&Zt(i.ref,null,$,i,!0)},H=(i,a,p,x)=>{if(i==null)n(a.el=c(a.children),p,x);else{const g=a.el=i.el;a.children!==i.children&&v(g,a.children)}},B=(i,a,p,x)=>{i==null?n(a.el=f(a.children||""),p,x):a.el=i.el},W=(i,a,p,x)=>{[i.el,i.anchor]=y(i.children,a,p,x,i.el,i.anchor)},P=({el:i,anchor:a},p,x)=>{let g;for(;i&&i!==a;)g=_(i),n(i,p,x),i=g;n(a,p,x)},k=({el:i,anchor:a})=>{let p;for(;i&&i!==a;)p=_(i),o(i),i=p;o(a)},A=(i,a,p,x,g,$,L,w,O)=>{if(a.type==="svg"?L="svg":a.type==="math"&&(L="mathml"),i==null)ee(a,p,x,g,$,L,w,O);else{const T=i.el&&i.el._isVueCE?i.el:null;try{T&&T._beginPatch(),M(i,a,g,$,L,w,O)}finally{T&&T._endPatch()}}},ee=(i,a,p,x,g,$,L,w)=>{let O,T;const{props:j,shapeFlag:R,transition:D,dirs:V}=i;if(O=i.el=r(i.type,$,j&&j.is,j),R&8?d(O,i.children):R&16&&I(i.children,O,null,x,g,Qs(i,$),L,w),V&&_t(i,null,x,"created"),ve(O,i,i.scopeId,L,x),j){for(const ie in j)ie!=="value"&&!Jt(ie)&&l(O,ie,null,j[ie],$,x);"value"in j&&l(O,"value",null,j.value,$),(T=j.onVnodeBeforeMount)&&We(T,x,i)}V&&_t(i,null,x,"beforeMount");const J=Tr(g,D);J&&D.beforeEnter(O),n(O,a,p),((T=j&&j.onVnodeMounted)||J||V)&&Ee(()=>{T&&We(T,x,i),J&&D.enter(O),V&&_t(i,null,x,"mounted")},g)},ve=(i,a,p,x,g)=>{if(p&&m(i,p),x)for(let $=0;$<x.length;$++)m(i,x[$]);if(g){let $=g.subTree;if(a===$||Pl($.type)&&($.ssContent===a||$.ssFallback===a)){const L=g.vnode;ve(i,L,L.scopeId,L.slotScopeIds,g.parent)}}},I=(i,a,p,x,g,$,L,w,O=0)=>{for(let T=O;T<i.length;T++){const j=i[T]=w?ot(i[T]):Je(i[T]);b(null,j,a,p,x,g,$,L,w)}},M=(i,a,p,x,g,$,L)=>{const w=a.el=i.el;let{patchFlag:O,dynamicChildren:T,dirs:j}=a;O|=i.patchFlag&16;const R=i.props||ce,D=a.props||ce;let V;if(p&&bt(p,!1),(V=D.onVnodeBeforeUpdate)&&We(V,p,a,i),j&&_t(a,i,p,"beforeUpdate"),p&&bt(p,!0),(R.innerHTML&&D.innerHTML==null||R.textContent&&D.textContent==null)&&d(w,""),T?C(i.dynamicChildren,T,w,p,x,Qs(a,g),$):L||G(i,a,w,null,p,x,Qs(a,g),$,!1),O>0){if(O&16)U(w,R,D,p,g);else if(O&2&&R.class!==D.class&&l(w,"class",null,D.class,g),O&4&&l(w,"style",R.style,D.style,g),O&8){const J=a.dynamicProps;for(let ie=0;ie<J.length;ie++){const Z=J[ie],_e=R[Z],be=D[Z];(be!==_e||Z==="value")&&l(w,Z,_e,be,g,p)}}O&1&&i.children!==a.children&&d(w,a.children)}else!L&&T==null&&U(w,R,D,p,g);((V=D.onVnodeUpdated)||j)&&Ee(()=>{V&&We(V,p,a,i),j&&_t(a,i,p,"updated")},x)},C=(i,a,p,x,g,$,L)=>{for(let w=0;w<a.length;w++){const O=i[w],T=a[w],j=O.el&&(O.type===re||!Ct(O,T)||O.shapeFlag&198)?h(O.el):p;b(O,T,j,null,x,g,$,L,!0)}},U=(i,a,p,x,g)=>{if(a!==p){if(a!==ce)for(const $ in a)!Jt($)&&!($ in p)&&l(i,$,a[$],null,g,x);for(const $ in p){if(Jt($))continue;const L=p[$],w=a[$];L!==w&&$!=="value"&&l(i,$,w,L,g,x)}"value"in p&&l(i,"value",a.value,p.value,g)}},S=(i,a,p,x,g,$,L,w,O)=>{const T=a.el=i?i.el:c(""),j=a.anchor=i?i.anchor:c("");let{patchFlag:R,dynamicChildren:D,slotScopeIds:V}=a;V&&(w=w?w.concat(V):V),i==null?(n(T,p,x),n(j,p,x),I(a.children||[],p,j,g,$,L,w,O)):R>0&&R&64&&D&&i.dynamicChildren&&i.dynamicChildren.length===D.length?(C(i.dynamicChildren,D,p,g,$,L,w),(a.key!=null||g&&a===g.subTree)&&Al(i,a,!0)):G(i,a,p,j,g,$,L,w,O)},z=(i,a,p,x,g,$,L,w,O)=>{a.slotScopeIds=w,i==null?a.shapeFlag&512?g.ctx.activate(a,p,x,L,O):X(a,p,x,g,$,L,O):me(i,a,O)},X=(i,a,p,x,g,$,L)=>{const w=i.component=Rr(i,x,g);if(js(i)&&(w.ctx.renderer=gt),Nr(w,!1,L),w.asyncDep){if(g&&g.registerDep(w,ae,L),!i.el){const O=w.subTree=Me(Te);B(null,O,a,p),i.placeholder=O.el}}else ae(w,i,a,p,g,$,L)},me=(i,a,p)=>{const x=a.component=i.component;if(mr(i,a,p))if(x.asyncDep&&!x.asyncResolved){le(x,a,p);return}else x.next=a,x.update();else a.el=i.el,x.vnode=a},ae=(i,a,p,x,g,$,L)=>{const w=()=>{if(i.isMounted){let{next:R,bu:D,u:V,parent:J,vnode:ie}=i;{const de=Ol(i);if(de){R&&(R.el=ie.el,le(i,R,L)),de.asyncDep.then(()=>{Ee(()=>{i.isUnmounted||T()},g)});return}}let Z=R,_e;bt(i,!1),R?(R.el=ie.el,le(i,R,L)):R=ie,D&&_s(D),(_e=R.props&&R.props.onVnodeBeforeUpdate)&&We(_e,J,R,ie),bt(i,!0);const be=Zn(i),Ie=i.subTree;i.subTree=be,b(Ie,be,h(Ie.el),At(Ie),i,g,$),R.el=be.el,Z===null&&gr(i,be.el),V&&Ee(V,g),(_e=R.props&&R.props.onVnodeUpdated)&&Ee(()=>We(_e,J,R,ie),g)}else{let R;const{el:D,props:V}=a,{bm:J,m:ie,parent:Z,root:_e,type:be}=i,Ie=Qt(a);bt(i,!1),J&&_s(J),!Ie&&(R=V&&V.onVnodeBeforeMount)&&We(R,Z,a),bt(i,!0);{_e.ce&&_e.ce._hasShadowRoot()&&_e.ce._injectChildStyle(be,i.parent?i.parent.type:void 0);const de=i.subTree=Zn(i);b(null,de,p,x,i,g,$),a.el=de.el}if(ie&&Ee(ie,g),!Ie&&(R=V&&V.onVnodeMounted)){const de=a;Ee(()=>We(R,Z,de),g)}(a.shapeFlag&256||Z&&Qt(Z.vnode)&&Z.vnode.shapeFlag&256)&&i.a&&Ee(i.a,g),i.isMounted=!0,a=p=x=null}};i.scope.on();const O=i.effect=new No(w);i.scope.off();const T=i.update=O.run.bind(O),j=i.job=O.runIfDirty.bind(O);j.i=i,j.id=i.uid,O.scheduler=()=>In(j),bt(i,!0),T()},le=(i,a,p)=>{a.component=i;const x=i.vnode.props;i.vnode=a,i.next=null,br(i,a.props,x,p),$r(i,a.children,p),rt(),Kn(i),at()},G=(i,a,p,x,g,$,L,w,O=!1)=>{const T=i&&i.children,j=i?i.shapeFlag:0,R=a.children,{patchFlag:D,shapeFlag:V}=a;if(D>0){if(D&128){Qe(T,R,p,x,g,$,L,w,O);return}else if(D&256){Oe(T,R,p,x,g,$,L,w,O);return}}V&8?(j&16&&mt(T,g,$),R!==T&&d(p,R)):j&16?V&16?Qe(T,R,p,x,g,$,L,w,O):mt(T,g,$,!0):(j&8&&d(p,""),V&16&&I(R,p,x,g,$,L,w,O))},Oe=(i,a,p,x,g,$,L,w,O)=>{i=i||jt,a=a||jt;const T=i.length,j=a.length,R=Math.min(T,j);let D;for(D=0;D<R;D++){const V=a[D]=O?ot(a[D]):Je(a[D]);b(i[D],V,p,null,g,$,L,w,O)}T>j?mt(i,g,$,!0,!1,R):I(a,p,x,g,$,L,w,O,R)},Qe=(i,a,p,x,g,$,L,w,O)=>{let T=0;const j=a.length;let R=i.length-1,D=j-1;for(;T<=R&&T<=D;){const V=i[T],J=a[T]=O?ot(a[T]):Je(a[T]);if(Ct(V,J))b(V,J,p,null,g,$,L,w,O);else break;T++}for(;T<=R&&T<=D;){const V=i[R],J=a[D]=O?ot(a[D]):Je(a[D]);if(Ct(V,J))b(V,J,p,null,g,$,L,w,O);else break;R--,D--}if(T>R){if(T<=D){const V=D+1,J=V<j?a[V].el:x;for(;T<=D;)b(null,a[T]=O?ot(a[T]):Je(a[T]),p,J,g,$,L,w,O),T++}}else if(T>D)for(;T<=R;)Re(i[T],g,$,!0),T++;else{const V=T,J=T,ie=new Map;for(T=J;T<=D;T++){const Pe=a[T]=O?ot(a[T]):Je(a[T]);Pe.key!=null&&ie.set(Pe.key,T)}let Z,_e=0;const be=D-J+1;let Ie=!1,de=0;const et=new Array(be);for(T=0;T<be;T++)et[T]=0;for(T=V;T<=R;T++){const Pe=i[T];if(_e>=be){Re(Pe,g,$,!0);continue}let Ke;if(Pe.key!=null)Ke=ie.get(Pe.key);else for(Z=J;Z<=D;Z++)if(et[Z-J]===0&&Ct(Pe,a[Z])){Ke=Z;break}Ke===void 0?Re(Pe,g,$,!0):(et[Ke-J]=T+1,Ke>=de?de=Ke:Ie=!0,b(Pe,a[Ke],p,null,g,$,L,w,O),_e++)}const Nn=Ie?kr(et):jt;for(Z=Nn.length-1,T=be-1;T>=0;T--){const Pe=J+T,Ke=a[Pe],jn=a[Pe+1],Dn=Pe+1<j?jn.el||Il(jn):x;et[T]===0?b(null,Ke,p,Dn,g,$,L,w,O):Ie&&(Z<0||T!==Nn[Z]?fe(Ke,p,Dn,2):Z--)}}},fe=(i,a,p,x,g=null)=>{const{el:$,type:L,transition:w,children:O,shapeFlag:T}=i;if(T&6){fe(i.component.subTree,a,p,x);return}if(T&128){i.suspense.move(a,p,x);return}if(T&64){L.move(i,a,p,gt);return}if(L===re){n($,a,p);for(let R=0;R<O.length;R++)fe(O[R],a,p,x);n(i.anchor,a,p);return}if(L===ys){P(i,a,p);return}if(x!==2&&T&1&&w)if(x===0)w.beforeEnter($),n($,a,p),Ee(()=>w.enter($),g);else{const{leave:R,delayLeave:D,afterLeave:V}=w,J=()=>{i.ctx.isUnmounted?o($):n($,a,p)},ie=()=>{$._isLeaving&&$[qe](!0),R($,()=>{J(),V&&V()})};D?D($,J,ie):ie()}else n($,a,p)},Re=(i,a,p,x=!1,g=!1)=>{const{type:$,props:L,ref:w,children:O,dynamicChildren:T,shapeFlag:j,patchFlag:R,dirs:D,cacheIndex:V}=i;if(R===-2&&(g=!1),w!=null&&(rt(),Zt(w,null,p,i,!0),at()),V!=null&&(a.renderCache[V]=void 0),j&256){a.ctx.deactivate(i);return}const J=j&1&&D,ie=!Qt(i);let Z;if(ie&&(Z=L&&L.onVnodeBeforeUnmount)&&We(Z,a,i),j&6)Ws(i.component,p,x);else{if(j&128){i.suspense.unmount(p,x);return}J&&_t(i,null,a,"beforeUnmount"),j&64?i.type.remove(i,a,p,gt,x):T&&!T.hasOnce&&($!==re||R>0&&R&64)?mt(T,a,p,!1,!0):($===re&&R&384||!g&&j&16)&&mt(O,a,p),x&&ps(i)}(ie&&(Z=L&&L.onVnodeUnmounted)||J)&&Ee(()=>{Z&&We(Z,a,i),J&&_t(i,null,a,"unmounted")},p)},ps=i=>{const{type:a,el:p,anchor:x,transition:g}=i;if(a===re){Ks(p,x);return}if(a===ys){k(i);return}const $=()=>{o(p),g&&!g.persisted&&g.afterLeave&&g.afterLeave()};if(i.shapeFlag&1&&g&&!g.persisted){const{leave:L,delayLeave:w}=g,O=()=>L(p,$);w?w(i.el,$,O):O()}else $()},Ks=(i,a)=>{let p;for(;i!==a;)p=_(i),o(i),i=p;o(a)},Ws=(i,a,p)=>{const{bum:x,scope:g,job:$,subTree:L,um:w,m:O,a:T}=i;to(O),to(T),x&&_s(x),g.stop(),$&&($.flags|=8,Re(L,i,a,p)),w&&Ee(w,a),Ee(()=>{i.isUnmounted=!0},a)},mt=(i,a,p,x=!1,g=!1,$=0)=>{for(let L=$;L<i.length;L++)Re(i[L],a,p,x,g)},At=i=>{if(i.shapeFlag&6)return At(i.component.subTree);if(i.shapeFlag&128)return i.suspense.next();const a=_(i.anchor||i.el),p=a&&a[Bi];return p?_(p):a};let Kt=!1;const hs=(i,a,p)=>{let x;i==null?a._vnode&&(Re(a._vnode,null,null,!0),x=a._vnode.component):b(a._vnode||null,i,a,null,null,null,p),a._vnode=i,Kt||(Kt=!0,Kn(x),el(),Kt=!1)},gt={p:b,um:Re,m:fe,r:ps,mt:X,mc:I,pc:G,pbc:C,n:At,o:e};return{render:hs,hydrate:void 0,createApp:ur(hs)}}function Qs({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function bt({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Tr(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Al(e,t,s=!1){const n=e.children,o=t.children;if(K(n)&&K(o))for(let l=0;l<n.length;l++){const r=n[l];let c=o[l];c.shapeFlag&1&&!c.dynamicChildren&&((c.patchFlag<=0||c.patchFlag===32)&&(c=o[l]=ot(o[l]),c.el=r.el),!s&&c.patchFlag!==-2&&Al(r,c)),c.type===Vs&&(c.patchFlag===-1&&(c=o[l]=ot(c)),c.el=r.el),c.type===Te&&!c.el&&(c.el=r.el)}}function kr(e){const t=e.slice(),s=[0];let n,o,l,r,c;const f=e.length;for(n=0;n<f;n++){const v=e[n];if(v!==0){if(o=s[s.length-1],e[o]<v){t[n]=o,s.push(n);continue}for(l=0,r=s.length-1;l<r;)c=l+r>>1,e[s[c]]<v?l=c+1:r=c;v<e[s[l]]&&(l>0&&(t[n]=s[l-1]),s[l]=n)}}for(l=s.length,r=s[l-1];l-- >0;)s[l]=r,r=t[r];return s}function Ol(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ol(t)}function to(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Il(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Il(t.subTree):null}const Pl=e=>e.__isSuspense;function Mr(e,t){t&&t.pendingBranch?K(e)?t.effects.push(...e):t.effects.push(e):Ni(e)}const re=Symbol.for("v-fgt"),Vs=Symbol.for("v-txt"),Te=Symbol.for("v-cmt"),ys=Symbol.for("v-stc"),ts=[];let Fe=null;function F(e=!1){ts.push(Fe=e?null:[])}function Er(){ts.pop(),Fe=ts[ts.length-1]||null}let is=1;function Ms(e,t=!1){is+=e,e<0&&Fe&&t&&(Fe.hasOnce=!0)}function Ll(e){return e.dynamicChildren=is>0?Fe||jt:null,Er(),is>0&&Fe&&Fe.push(e),e}function N(e,t,s,n,o,l){return Ll(u(e,t,s,n,o,l,!0))}function $t(e,t,s,n,o){return Ll(Me(e,t,s,n,o,!0))}function Es(e){return e?e.__v_isVNode===!0:!1}function Ct(e,t){return e.type===t.type&&e.key===t.key}const Fl=({key:e})=>e??null,xs=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?he(e)||$e(e)||q(e)?{i:je,r:e,k:t,f:!!s}:e:null);function u(e,t=null,s=null,n=0,o=null,l=e===re?0:1,r=!1,c=!1){const f={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Fl(t),ref:t&&xs(t),scopeId:sl,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:l,patchFlag:n,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:je};return c?(Fn(f,s),l&128&&e.normalize(f)):s&&(f.shapeFlag|=he(s)?8:16),is>0&&!r&&Fe&&(f.patchFlag>0||l&6)&&f.patchFlag!==32&&Fe.push(f),f}const Me=Ar;function Ar(e,t=null,s=null,n=0,o=null,l=!1){if((!e||e===sr)&&(e=Te),Es(e)){const c=vt(e,t,!0);return s&&Fn(c,s),is>0&&!l&&Fe&&(c.shapeFlag&6?Fe[Fe.indexOf(e)]=c:Fe.push(c)),c.patchFlag=-2,c}if(Vr(e)&&(e=e.__vccOpts),t){t=Or(t);let{class:c,style:f}=t;c&&!he(c)&&(t.class=Y(c)),oe(f)&&(On(f)&&!K(f)&&(f=ge({},f)),t.style=xe(f))}const r=he(e)?1:Pl(e)?128:il(e)?64:oe(e)?4:q(e)?2:0;return u(e,t,s,n,o,r,l,!0)}function Or(e){return e?On(e)||Cl(e)?ge({},e):e:null}function vt(e,t,s=!1,n=!1){const{props:o,ref:l,patchFlag:r,children:c,transition:f}=e,v=t?Pr(o||{},t):o,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:v,key:v&&Fl(v),ref:t&&t.ref?s&&l?K(l)?l.concat(xs(t)):[l,xs(t)]:xs(t):l,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:c,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==re?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:f,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&vt(e.ssContent),ssFallback:e.ssFallback&&vt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return f&&n&&ls(d,f.clone(d)),d}function pt(e=" ",t=0){return Me(Vs,null,e,t)}function Ir(e,t){const s=Me(ys,null,e);return s.staticCount=t,s}function pe(e="",t=!1){return t?(F(),$t(Te,null,e)):Me(Te,null,e)}function Je(e){return e==null||typeof e=="boolean"?Me(Te):K(e)?Me(re,null,e.slice()):Es(e)?ot(e):Me(Vs,null,String(e))}function ot(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:vt(e)}function Fn(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(K(t))s=16;else if(typeof t=="object")if(n&65){const o=t.default;o&&(o._c&&(o._d=!1),Fn(e,o()),o._c&&(o._d=!0));return}else{s=32;const o=t._;!o&&!Cl(t)?t._ctx=je:o===3&&je&&(je.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else q(t)?(t={default:t,_ctx:je},s=32):(t=String(t),n&64?(s=16,t=[pt(t)]):s=8);e.children=t,e.shapeFlag|=s}function Pr(...e){const t={};for(let s=0;s<e.length;s++){const n=e[s];for(const o in n)if(o==="class")t.class!==n.class&&(t.class=Y([t.class,n.class]));else if(o==="style")t.style=xe([t.style,n.style]);else if(Is(o)){const l=t[o],r=n[o];r&&l!==r&&!(K(l)&&l.includes(r))&&(t[o]=l?[].concat(l,r):r)}else o!==""&&(t[o]=n[o])}return t}function We(e,t,s,n=null){Ue(e,t,7,[s,n])}const Lr=bl();let Fr=0;function Rr(e,t,s){const n=e.type,o=(t?t.appContext:e.appContext)||Lr,l={uid:Fr++,vnode:e,type:n,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new li(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Tl(n,o),emitsOptions:yl(n,o),emit:null,emitted:null,propsDefaults:ce,inheritAttrs:n.inheritAttrs,ctx:ce,data:ce,props:ce,attrs:ce,slots:ce,refs:ce,setupState:ce,setupContext:null,suspense:s,suspenseId:s?s.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return l.ctx={_:l},l.root=t?t.root:l,l.emit=dr.bind(null,l),e.ce&&e.ce(l),l}let ke=null;const Rl=()=>ke||je;let As,vn;{const e=Ls(),t=(s,n)=>{let o;return(o=e[s])||(o=e[s]=[]),o.push(n),l=>{o.length>1?o.forEach(r=>r(l)):o[0](l)}};As=t("__VUE_INSTANCE_SETTERS__",s=>ke=s),vn=t("__VUE_SSR_SETTERS__",s=>rs=s)}const fs=e=>{const t=ke;return As(e),e.scope.on(),()=>{e.scope.off(),As(t)}},so=()=>{ke&&ke.scope.off(),As(null)};function Nl(e){return e.vnode.shapeFlag&4}let rs=!1;function Nr(e,t=!1,s=!1){t&&vn(t);const{props:n,children:o}=e.vnode,l=Nl(e);_r(e,n,l,t),wr(e,o,s||t);const r=l?jr(e,t):void 0;return t&&vn(!1),r}function jr(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,nr);const{setup:n}=s;if(n){rt();const o=e.setupContext=n.length>1?Hr(e):null,l=fs(e),r=us(n,e,0,[e.props,o]),c=Eo(r);if(at(),l(),(c||e.sp)&&!Qt(e)&&dl(e),c){if(r.then(so,so),t)return r.then(f=>{no(e,f)}).catch(f=>{Rs(f,e,0)});e.asyncDep=r}else no(e,r)}else jl(e)}function no(e,t,s){q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:oe(t)&&(e.setupState=Xo(t)),jl(e)}function jl(e,t,s){const n=e.type;e.render||(e.render=n.render||Xe);{const o=fs(e);rt();try{or(e)}finally{at(),o()}}}const Dr={get(e,t){return ye(e,"get",""),e[t]}};function Hr(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,Dr),slots:e.slots,emit:e.emit,expose:t}}function Bs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Xo(Ti(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in es)return es[s](e)},has(t,s){return s in t||s in es}})):e.proxy}function Vr(e){return q(e)&&"__vccOpts"in e}const Q=(e,t)=>Oi(e,t,rs);function Le(e,t,s){try{Ms(-1);const n=arguments.length;return n===2?oe(t)&&!K(t)?Es(t)?Me(e,null,[t]):Me(e,t):Me(e,null,t):(n>3?s=Array.prototype.slice.call(arguments,2):n===3&&Es(s)&&(s=[s]),Me(e,t,s))}finally{Ms(1)}}const Br="3.5.30";/**
|
|
14
|
+
* @vue/runtime-dom v3.5.30
|
|
15
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
16
|
+
* @license MIT
|
|
17
|
+
**/let mn;const oo=typeof window<"u"&&window.trustedTypes;if(oo)try{mn=oo.createPolicy("vue",{createHTML:e=>e})}catch{}const Dl=mn?e=>mn.createHTML(e):e=>e,Ur="http://www.w3.org/2000/svg",Kr="http://www.w3.org/1998/Math/MathML",nt=typeof document<"u"?document:null,lo=nt&&nt.createElement("template"),Wr={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const o=t==="svg"?nt.createElementNS(Ur,e):t==="mathml"?nt.createElementNS(Kr,e):s?nt.createElement(e,{is:s}):nt.createElement(e);return e==="select"&&n&&n.multiple!=null&&o.setAttribute("multiple",n.multiple),o},createText:e=>nt.createTextNode(e),createComment:e=>nt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>nt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,o,l){const r=s?s.previousSibling:t.lastChild;if(o&&(o===l||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),s),!(o===l||!(o=o.nextSibling)););else{lo.innerHTML=Dl(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const c=lo.content;if(n==="svg"||n==="mathml"){const f=c.firstChild;for(;f.firstChild;)c.appendChild(f.firstChild);c.removeChild(f)}t.insertBefore(c,s)}return[r?r.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},ft="transition",qt="animation",as=Symbol("_vtc"),Hl={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},zr=ge({},rl,Hl),qr=e=>(e.displayName="Transition",e.props=zr,e),Gr=qr((e,{slots:t})=>Le(Wi,Jr(e),t)),yt=(e,t=[])=>{K(e)?e.forEach(s=>s(...t)):e&&e(...t)},io=e=>e?K(e)?e.some(t=>t.length>1):e.length>1:!1;function Jr(e){const t={};for(const S in e)S in Hl||(t[S]=e[S]);if(e.css===!1)return t;const{name:s="v",type:n,duration:o,enterFromClass:l=`${s}-enter-from`,enterActiveClass:r=`${s}-enter-active`,enterToClass:c=`${s}-enter-to`,appearFromClass:f=l,appearActiveClass:v=r,appearToClass:d=c,leaveFromClass:h=`${s}-leave-from`,leaveActiveClass:_=`${s}-leave-active`,leaveToClass:m=`${s}-leave-to`}=e,y=Yr(o),b=y&&y[0],H=y&&y[1],{onBeforeEnter:B,onEnter:W,onEnterCancelled:P,onLeave:k,onLeaveCancelled:A,onBeforeAppear:ee=B,onAppear:ve=W,onAppearCancelled:I=P}=t,M=(S,z,X,me)=>{S._enterCancelled=me,xt(S,z?d:c),xt(S,z?v:r),X&&X()},C=(S,z)=>{S._isLeaving=!1,xt(S,h),xt(S,m),xt(S,_),z&&z()},U=S=>(z,X)=>{const me=S?ve:W,ae=()=>M(z,S,X);yt(me,[z,ae]),ro(()=>{xt(z,S?f:l),st(z,S?d:c),io(me)||ao(z,n,b,ae)})};return ge(t,{onBeforeEnter(S){yt(B,[S]),st(S,l),st(S,r)},onBeforeAppear(S){yt(ee,[S]),st(S,f),st(S,v)},onEnter:U(!1),onAppear:U(!0),onLeave(S,z){S._isLeaving=!0;const X=()=>C(S,z);st(S,h),S._enterCancelled?(st(S,_),fo(S)):(fo(S),st(S,_)),ro(()=>{S._isLeaving&&(xt(S,h),st(S,m),io(k)||ao(S,n,H,X))}),yt(k,[S,X])},onEnterCancelled(S){M(S,!1,void 0,!0),yt(P,[S])},onAppearCancelled(S){M(S,!0,void 0,!0),yt(I,[S])},onLeaveCancelled(S){C(S),yt(A,[S])}})}function Yr(e){if(e==null)return null;if(oe(e))return[en(e.enter),en(e.leave)];{const t=en(e);return[t,t]}}function en(e){return Xl(e)}function st(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.add(s)),(e[as]||(e[as]=new Set)).add(t)}function xt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const s=e[as];s&&(s.delete(t),s.size||(e[as]=void 0))}function ro(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Xr=0;function ao(e,t,s,n){const o=e._endId=++Xr,l=()=>{o===e._endId&&n()};if(s!=null)return setTimeout(l,s);const{type:r,timeout:c,propCount:f}=Zr(e,t);if(!r)return n();const v=r+"end";let d=0;const h=()=>{e.removeEventListener(v,_),l()},_=m=>{m.target===e&&++d>=f&&h()};setTimeout(()=>{d<f&&h()},c+1),e.addEventListener(v,_)}function Zr(e,t){const s=window.getComputedStyle(e),n=y=>(s[y]||"").split(", "),o=n(`${ft}Delay`),l=n(`${ft}Duration`),r=co(o,l),c=n(`${qt}Delay`),f=n(`${qt}Duration`),v=co(c,f);let d=null,h=0,_=0;t===ft?r>0&&(d=ft,h=r,_=l.length):t===qt?v>0&&(d=qt,h=v,_=f.length):(h=Math.max(r,v),d=h>0?r>v?ft:qt:null,_=d?d===ft?l.length:f.length:0);const m=d===ft&&/\b(?:transform|all)(?:,|$)/.test(n(`${ft}Property`).toString());return{type:d,timeout:h,propCount:_,hasTransform:m}}function co(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((s,n)=>uo(s)+uo(e[n])))}function uo(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function fo(e){return(e?e.ownerDocument:document).body.offsetHeight}function Qr(e,t,s){const n=e[as];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const po=Symbol("_vod"),ea=Symbol("_vsh"),ta=Symbol(""),sa=/(?:^|;)\s*display\s*:/;function na(e,t,s){const n=e.style,o=he(s);let l=!1;if(s&&!o){if(t)if(he(t))for(const r of t.split(";")){const c=r.slice(0,r.indexOf(":")).trim();s[c]==null&&ws(n,c,"")}else for(const r in t)s[r]==null&&ws(n,r,"");for(const r in s)r==="display"&&(l=!0),ws(n,r,s[r])}else if(o){if(t!==s){const r=n[ta];r&&(s+=";"+r),n.cssText=s,l=sa.test(s)}}else t&&e.removeAttribute("style");po in e&&(e[po]=l?n.display:"",e[ea]&&(n.display="none"))}const ho=/\s*!important$/;function ws(e,t,s){if(K(s))s.forEach(n=>ws(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=oa(e,t);ho.test(s)?e.setProperty(Et(n),s.replace(ho,""),"important"):e[n]=s}}const vo=["Webkit","Moz","ms"],tn={};function oa(e,t){const s=tn[t];if(s)return s;let n=He(t);if(n!=="filter"&&n in e)return tn[t]=n;n=Io(n);for(let o=0;o<vo.length;o++){const l=vo[o]+n;if(l in e)return tn[t]=l}return t}const mo="http://www.w3.org/1999/xlink";function go(e,t,s,n,o,l=ni(t)){n&&t.startsWith("xlink:")?s==null?e.removeAttributeNS(mo,t.slice(6,t.length)):e.setAttributeNS(mo,t,s):s==null||l&&!Lo(s)?e.removeAttribute(t):e.setAttribute(t,l?"":Ze(s)?String(s):s)}function _o(e,t,s,n,o){if(t==="innerHTML"||t==="textContent"){s!=null&&(e[t]=t==="innerHTML"?Dl(s):s);return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){const c=l==="OPTION"?e.getAttribute("value")||"":e.value,f=s==null?e.type==="checkbox"?"on":"":String(s);(c!==f||!("_value"in e))&&(e.value=f),s==null&&e.removeAttribute(t),e._value=s;return}let r=!1;if(s===""||s==null){const c=typeof e[t];c==="boolean"?s=Lo(s):s==null&&c==="string"?(s="",r=!0):c==="number"&&(s=0,r=!0)}try{e[t]=s}catch{}r&&e.removeAttribute(o||t)}function Nt(e,t,s,n){e.addEventListener(t,s,n)}function la(e,t,s,n){e.removeEventListener(t,s,n)}const bo=Symbol("_vei");function ia(e,t,s,n,o=null){const l=e[bo]||(e[bo]={}),r=l[t];if(n&&r)r.value=n;else{const[c,f]=ra(t);if(n){const v=l[t]=ua(n,o);Nt(e,c,v,f)}else r&&(la(e,c,r,f),l[t]=void 0)}}const yo=/(?:Once|Passive|Capture)$/;function ra(e){let t;if(yo.test(e)){t={};let n;for(;n=e.match(yo);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Et(e.slice(2)),t]}let sn=0;const aa=Promise.resolve(),ca=()=>sn||(aa.then(()=>sn=0),sn=Date.now());function ua(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;Ue(fa(n,s.value),t,5,[n])};return s.value=e,s.attached=ca(),s}function fa(e,t){if(K(t)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},t.map(n=>o=>!o._stopped&&n&&n(o))}else return t}const xo=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,da=(e,t,s,n,o,l)=>{const r=o==="svg";t==="class"?Qr(e,n,r):t==="style"?na(e,s,n):Is(t)?bn(t)||ia(e,t,s,n,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):pa(e,t,n,r))?(_o(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&go(e,t,n,r,l,t!=="value")):e._isVueCE&&(ha(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!he(n)))?_o(e,He(t),n,l,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),go(e,t,n,r))};function pa(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&xo(t)&&q(s));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return xo(t)&&he(s)?!1:t in e}function ha(e,t){const s=e._def.props;if(!s)return!1;const n=He(t);return Array.isArray(s)?s.some(o=>He(o)===n):Object.keys(s).some(o=>He(o)===n)}const wo=e=>{const t=e.props["onUpdate:modelValue"]||!1;return K(t)?s=>_s(t,s):t};function va(e){e.target.composing=!0}function $o(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const nn=Symbol("_assign");function Co(e,t,s){return t&&(e=e.trim()),s&&(e=wn(e)),e}const Us={created(e,{modifiers:{lazy:t,trim:s,number:n}},o){e[nn]=wo(o);const l=n||o.props&&o.props.type==="number";Nt(e,t?"change":"input",r=>{r.target.composing||e[nn](Co(e.value,s,l))}),(s||l)&&Nt(e,"change",()=>{e.value=Co(e.value,s,l)}),t||(Nt(e,"compositionstart",va),Nt(e,"compositionend",$o),Nt(e,"change",$o))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:s,modifiers:{lazy:n,trim:o,number:l}},r){if(e[nn]=wo(r),e.composing)return;const c=(l||e.type==="number")&&!/^0\d/.test(e.value)?wn(e.value):e.value,f=t??"";c!==f&&(document.activeElement===e&&e.type!=="range"&&(n&&t===s||o&&e.value.trim()===f)||(e.value=f))}},ma=["ctrl","shift","alt","meta"],ga={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>ma.some(s=>e[`${s}Key`]&&!t.includes(s))},_a=(e,t)=>{if(!e)return e;const s=e._withMods||(e._withMods={}),n=t.join(".");return s[n]||(s[n]=((o,...l)=>{for(let r=0;r<t.length;r++){const c=ga[t[r]];if(c&&c(o,t))return}return e(o,...l)}))},ba=ge({patchProp:da},Wr);let So;function ya(){return So||(So=Cr(ba))}const xa=((...e)=>{const t=ya().createApp(...e),{mount:s}=t;return t.mount=n=>{const o=$a(n);if(!o)return;const l=t._component;!q(l)&&!l.render&&!l.template&&(l.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const r=s(o,!1,wa(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),r},t});function wa(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function $a(e){return he(e)?document.querySelector(e):e}const Ca=500,Vl=ne([]),Bl=ne({provides:[],injects:[]}),Ul=ne([]),Kl=ne([]),Wl=ne([]),zl=ne(!1);let To=!1,Os="*";function It(e){return e?e.map(t=>({...t})):[]}function Sa(){if(typeof document>"u"||!document.referrer)return"*";try{return new URL(document.referrer).origin}catch{return"*"}}function gn(){var e;(e=window.top)==null||e.postMessage({type:"observatory:request"},Os)}function Ta(e){var s;if(((s=e.data)==null?void 0:s.type)!=="observatory:snapshot"||Os!=="*"&&e.origin!==Os)return;const t=e.data.data;Vl.value=It(t.fetch),Bl.value=t.provideInject?{provides:It(t.provideInject.provides),injects:It(t.provideInject.injects)}:{provides:[],injects:[]},Ul.value=It(t.composables),Kl.value=It(t.renders),Wl.value=It(t.transitions),zl.value=!0}function ka(){To||typeof window>"u"||(To=!0,Os=Sa(),window.addEventListener("message",Ta),window.setInterval(gn,Ca),gn())}function ds(){return ka(),{fetch:Vl,provideInject:Bl,composables:Ul,renders:Kl,transitions:Wl,connected:zl,refresh:gn}}const Ma={class:"view"},Ea={class:"stats-row"},Aa={class:"stat-card"},Oa={class:"stat-val"},Ia={class:"stat-card"},Pa={class:"stat-val",style:{color:"var(--teal)"}},La={class:"stat-card"},Fa={class:"stat-val",style:{color:"var(--amber)"}},Ra={class:"stat-card"},Na={class:"stat-val",style:{color:"var(--red)"}},ja={class:"toolbar"},Da={class:"split"},Ha={class:"table-wrap"},Va={class:"data-table"},Ba=["onClick"],Ua={class:"mono",style:{"font-size":"11px",color:"var(--text2)"}},Ka=["title"],Wa={class:"muted text-sm"},za={class:"mono text-sm"},qa={style:{height:"4px",background:"var(--bg2)","border-radius":"2px",overflow:"hidden"}},Ga={key:0},Ja={colspan:"7",style:{"text-align":"center",color:"var(--text3)",padding:"24px"}},Ya={key:0,class:"detail-panel"},Xa={class:"detail-header"},Za={class:"mono bold",style:{"font-size":"12px"}},Qa={class:"flex gap-2"},ec={class:"meta-grid"},tc={class:"muted text-sm"},sc={class:"mono text-sm",style:{"word-break":"break-all"}},nc={class:"payload-box"},oc={class:"mono text-sm muted"},lc={key:1,class:"detail-empty"},ic={class:"waterfall"},rc={class:"waterfall-header"},ac={key:0,class:"waterfall-body"},cc={class:"mono muted text-sm",style:{width:"140px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap","flex-shrink":"0"}},uc={class:"wf-track"},fc={class:"mono muted text-sm",style:{width:"44px","text-align":"right","flex-shrink":"0"}},dc=Mt({__name:"FetchDashboard",setup(e){const{fetch:t,connected:s}=ds(),n=ne("all"),o=ne(""),l=ne(null),r=ne(!0),c=Q(()=>{const P=[...t.value].sort((A,ee)=>A.startTime-ee.startTime),k=Math.min(...P.map(A=>A.startTime),0);return P.map(A=>({...A,startOffset:Math.max(0,Math.round(A.startTime-k))}))}),f=Q(()=>c.value.find(P=>P.id===l.value)??null),v=Q(()=>({ok:c.value.filter(P=>P.status==="ok").length,pending:c.value.filter(P=>P.status==="pending").length,error:c.value.filter(P=>P.status==="error").length})),d=Q(()=>c.value.filter(P=>{if(n.value!=="all"&&P.status!==n.value)return!1;const k=o.value.toLowerCase();return!(k&&!P.key.toLowerCase().includes(k)&&!P.url.toLowerCase().includes(k))})),h=Q(()=>{if(!f.value)return[];const P=f.value;return[["url",P.url],["status",P.status],["origin",P.origin],["duration",P.ms!=null?`${P.ms}ms`:"—"],["size",P.size?W(P.size):"—"],["cached",P.cached?"yes":"no"]]}),_=Q(()=>{if(!f.value)return"";const P=f.value.payload;if(P===void 0)return"(no payload captured yet)";try{return JSON.stringify(P,null,2)}catch{return String(P)}});function m(P){return{ok:"badge-ok",error:"badge-err",pending:"badge-warn",cached:"badge-gray"}[P]??"badge-gray"}function y(P){return{ok:"var(--teal)",error:"var(--red)",pending:"var(--amber)",cached:"var(--border)"}[P]??"var(--border)"}function b(P){const k=Math.max(...c.value.filter(A=>A.ms).map(A=>A.ms),1);return P.ms!=null?Math.max(4,Math.round(P.ms/k*100)):4}function H(P){const k=Math.max(...c.value.map(A=>A.startOffset+(A.ms??0)),1);return Math.round(P.startOffset/k*100)}function B(P){const k=Math.max(...c.value.map(A=>A.startOffset+(A.ms??0)),1);return P.ms!=null?Math.round(P.ms/k*100):2}function W(P){return P<1024?`${P}B`:`${(P/1024).toFixed(1)}KB`}return(P,k)=>(F(),N("div",Ma,[u("div",Ea,[u("div",Aa,[k[7]||(k[7]=u("div",{class:"stat-label"},"total",-1)),u("div",Oa,E(c.value.length),1)]),u("div",Ia,[k[8]||(k[8]=u("div",{class:"stat-label"},"success",-1)),u("div",Pa,E(v.value.ok),1)]),u("div",La,[k[9]||(k[9]=u("div",{class:"stat-label"},"pending",-1)),u("div",Fa,E(v.value.pending),1)]),u("div",Ra,[k[10]||(k[10]=u("div",{class:"stat-label"},"error",-1)),u("div",Na,E(v.value.error),1)])]),u("div",ja,[u("button",{class:Y({active:n.value==="all"}),onClick:k[0]||(k[0]=A=>n.value="all")},"all",2),u("button",{class:Y({"danger-active":n.value==="error"}),onClick:k[1]||(k[1]=A=>n.value="error")},"errors",2),u("button",{class:Y({active:n.value==="pending"}),onClick:k[2]||(k[2]=A=>n.value="pending")},"pending",2),u("button",{class:Y({active:n.value==="cached"}),onClick:k[3]||(k[3]=A=>n.value="cached")},"cached",2),Ns(u("input",{"onUpdate:modelValue":k[4]||(k[4]=A=>o.value=A),type:"search",placeholder:"search key or url…",style:{"max-width":"240px","margin-left":"auto"}},null,512),[[Us,o.value]])]),u("div",Da,[u("div",Ha,[u("table",Va,[k[11]||(k[11]=u("thead",null,[u("tr",null,[u("th",null,"key"),u("th",null,"url"),u("th",null,"status"),u("th",null,"origin"),u("th",null,"size"),u("th",null,"time"),u("th",{style:{"min-width":"80px"}},"bar")])],-1)),u("tbody",null,[(F(!0),N(re,null,we(d.value,A=>{var ee;return F(),N("tr",{key:A.id,class:Y({selected:((ee=f.value)==null?void 0:ee.id)===A.id}),onClick:ve=>l.value=A.id},[u("td",null,[u("span",Ua,E(A.key),1)]),u("td",null,[u("span",{class:"mono",style:{"font-size":"11px","max-width":"200px",display:"block",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"},title:A.url},E(A.url),9,Ka)]),u("td",null,[u("span",{class:Y(["badge",m(A.status)])},E(A.status),3)]),u("td",null,[u("span",{class:Y(["badge",A.origin==="ssr"?"badge-info":"badge-gray"])},E(A.origin),3)]),u("td",Wa,E(A.size?W(A.size):"—"),1),u("td",za,E(A.ms!=null?`${A.ms}ms`:"—"),1),u("td",null,[u("div",qa,[u("div",{style:xe({width:`${b(A)}%`,background:y(A.status),height:"100%",borderRadius:"2px"})},null,4)])])],10,Ba)}),128)),d.value.length?pe("",!0):(F(),N("tr",Ga,[u("td",Ja,E(ht(s)?"No fetches recorded yet.":"Waiting for connection to the Nuxt app…"),1)]))])])]),f.value?(F(),N("div",Ya,[u("div",Xa,[u("span",Za,E(f.value.key),1),u("div",Qa,[u("button",{onClick:k[5]||(k[5]=A=>l.value=null)},"×")])]),u("div",ec,[(F(!0),N(re,null,we(h.value,([A,ee])=>(F(),N(re,{key:A},[u("span",tc,E(A),1),u("span",sc,E(ee),1)],64))),128))]),k[12]||(k[12]=u("div",{class:"section-label"},"payload",-1)),u("pre",nc,E(_.value),1),k[13]||(k[13]=u("div",{class:"section-label",style:{"margin-top":"10px"}},"source",-1)),u("div",oc,E(f.value.file)+":"+E(f.value.line),1)])):(F(),N("div",lc,"select a call to inspect"))]),u("div",ic,[u("div",rc,[k[14]||(k[14]=u("div",{class:"section-label",style:{"margin-top":"0","margin-bottom":"0"}},"waterfall",-1)),u("button",{class:Y({active:r.value}),onClick:k[6]||(k[6]=A=>r.value=!r.value)},E(r.value?"hide":"show"),3)]),r.value?(F(),N("div",ac,[(F(!0),N(re,null,we(c.value,A=>(F(),N("div",{key:A.id,class:"wf-row"},[u("span",cc,E(A.key),1),u("div",uc,[u("div",{class:"wf-bar",style:xe({left:`${H(A)}%`,width:`${Math.max(2,B(A))}%`,background:y(A.status)})},null,4)]),u("span",fc,E(A.ms!=null?`${A.ms}ms`:"—"),1)]))),128))])):pe("",!0)])]))}}),Ut=(e,t)=>{const s=e.__vccOpts||e;for(const[n,o]of t)s[n]=o;return s},pc=Ut(dc,[["__scopeId","data-v-8c1465c0"]]),hc={class:"view"},vc={class:"toolbar"},mc=["onClick"],gc={class:"split"},_c={class:"graph-area"},bc={key:0,class:"canvas-stage"},yc=["width","height","viewBox"],xc=["d"],wc=["onClick"],$c={class:"mono node-label"},Cc={key:0,class:"badge badge-ok badge-xs"},Sc={key:1,class:"badge badge-err badge-xs"},Tc={key:1,class:"graph-empty"},kc={key:0,class:"detail-panel"},Mc={class:"detail-header"},Ec={class:"mono bold",style:{"font-size":"12px"}},Ac={key:0,class:"detail-section"},Oc={class:"section-label"},Ic={class:"detail-list"},Pc={class:"row-main"},Lc={class:"mono text-sm row-key"},Fc=["title"],Rc=["onClick"],Nc={key:0,class:"value-box"},jc={class:"section-label"},Dc={class:"detail-list"},Hc={class:"mono text-sm row-key"},Vc={key:0,class:"badge badge-ok"},Bc={key:1,class:"badge badge-err"},Uc=["title"],Kc={key:2,class:"muted text-sm",style:{"margin-top":"8px"}},Wc={key:1,class:"detail-empty"},Pt=140,Lt=32,zc=72,Ft=18,qc=Mt({__name:"ProvideInjectGraph",setup(e){const{provideInject:t,connected:s}=ds();function n(I){return I.injects.some(M=>!M.ok)?"var(--red)":I.type==="both"?"var(--blue)":I.type==="provider"?"var(--teal)":"var(--text3)"}function o(I,M){return M==="all"?!0:M==="warn"?I.injects.some(C=>!C.ok):I.provides.some(C=>C.key===M)||I.injects.some(C=>C.key===M)}function l(I){return I.children.length===0?1:I.children.reduce((M,C)=>M+l(C),0)}function r(I){if(typeof I=="string")return I;try{return JSON.stringify(I)}catch{return String(I)}}function c(I){return typeof I=="object"&&I!==null}function f(I){if(I===null)return"null";if(Array.isArray(I))return`Array(${I.length})`;if(typeof I=="object"){const M=Object.keys(I);return M.length?`{ ${M.join(", ")} }`:"{}"}return r(I)}function v(I){if(!c(I))return r(I);try{return JSON.stringify(I,null,2)}catch{return r(I)}}function d(I,M,C){return`${I}:${M}:${C}`}function h(I){return I.split("/").pop()??I}function _(I){return String(I.componentUid)}const m=Q(()=>{const I=new Map,M=new Map;function C(S){const z=_(S),X=I.get(z);if(X)return X;const me={id:z,label:h(S.componentFile),type:"consumer",provides:[],injects:[],children:[]};return I.set(z,me),M.set(z,S.parentUid!==void 0?String(S.parentUid):null),me}for(const S of t.value.provides)C(S).provides.push({key:S.key,val:f(S.valueSnapshot),raw:S.valueSnapshot,reactive:S.isReactive,complex:c(S.valueSnapshot)});for(const S of t.value.injects)C(S).injects.push({key:S.key,from:S.resolvedFromFile??null,ok:S.resolved});for(const S of I.values())S.injects.some(z=>!z.ok)?S.type="error":S.provides.length&&S.injects.length?S.type="both":S.provides.length?S.type="provider":S.type="consumer";const U=[];for(const[S,z]of I.entries()){const X=M.get(S),me=X?I.get(X):void 0;me?me.children.push(z):U.push(z)}return U}),y=ne("all"),b=ne(null),H=ne(new Set);kt(b,()=>{H.value=new Set});function B(I){const M=new Set(H.value);M.has(I)?M.delete(I):M.add(I),H.value=M}const W=Q(()=>{const I=new Set;function M(C){C.forEach(U=>{U.provides.forEach(S=>I.add(S.key)),U.injects.forEach(S=>I.add(S.key)),M(U.children)})}return M(m.value),[...I]}),P=Q(()=>{function I(M){const C=M.children.map(I).filter(Boolean);return!o(M,y.value)&&!C.length?null:{...M,children:C}}return m.value.map(I).filter(Boolean)});kt([P,b],([I,M])=>{if(!M)return;const C=new Set;function U(S){S.forEach(z=>{C.add(z.id),U(z.children)})}U(I),C.has(M.id)||(b.value=null)});const k=Q(()=>{const I=[],M=Ft;function C(S,z,X,me){const le=l(S)*(Pt+Ft)-Ft;I.push({data:S,parentId:me,x:Math.round(X+le/2),y:Math.round(M+z*(Lt+zc)+Lt/2)});let G=X;for(const Oe of S.children){const Qe=l(Oe);C(Oe,z+1,G,S.id),G+=Qe*(Pt+Ft)}}let U=M;for(const S of P.value){const z=l(S);C(S,0,U,null),U+=z*(Pt+Ft)+Ft*2}return I}),A=Q(()=>k.value.reduce((I,M)=>Math.max(I,M.x+Pt/2+20),520)),ee=Q(()=>k.value.reduce((I,M)=>Math.max(I,M.y+Lt/2+20),200)),ve=Q(()=>{const I=new Map(k.value.map(M=>[M.data.id,M]));return k.value.filter(M=>M.parentId!==null).map(M=>{const C=I.get(M.parentId);return{id:`${C.data.id}--${M.data.id}`,x1:C.x,y1:C.y+Lt/2,x2:M.x,y2:M.y-Lt/2}})});return(I,M)=>(F(),N("div",hc,[u("div",vc,[u("button",{class:Y({active:y.value==="all"}),onClick:M[0]||(M[0]=C=>y.value="all")},"all keys",2),(F(!0),N(re,null,we(W.value,C=>(F(),N("button",{key:C,style:{"font-family":"var(--mono)"},class:Y({active:y.value===C}),onClick:U=>y.value=C},E(C),11,mc))),128)),u("button",{style:{"margin-left":"auto"},class:Y({"danger-active":y.value==="warn"}),onClick:M[1]||(M[1]=C=>y.value="warn")}," warnings only ",2)]),u("div",gc,[u("div",_c,[M[3]||(M[3]=Ir('<div class="legend" data-v-5ed3965a><span class="dot" style="background:var(--teal);" data-v-5ed3965a></span><span data-v-5ed3965a>provides</span><span class="dot" style="background:var(--blue);" data-v-5ed3965a></span><span data-v-5ed3965a>both</span><span class="dot" style="background:var(--text3);" data-v-5ed3965a></span><span data-v-5ed3965a>injects</span><span class="dot" style="background:var(--red);" data-v-5ed3965a></span><span data-v-5ed3965a>missing provider</span></div>',1)),k.value.length?(F(),N("div",bc,[u("div",{class:"canvas-wrap",style:xe({width:`${A.value}px`,height:`${ee.value}px`})},[(F(),N("svg",{class:"edges-svg",width:A.value,height:ee.value,viewBox:`0 0 ${A.value} ${ee.value}`},[(F(!0),N(re,null,we(ve.value,C=>(F(),N("path",{key:C.id,d:`M ${C.x1},${C.y1} C ${C.x1},${(C.y1+C.y2)/2} ${C.x2},${(C.y1+C.y2)/2} ${C.x2},${C.y2}`,class:"edge",fill:"none"},null,8,xc))),128))],8,yc)),(F(!0),N(re,null,we(k.value,C=>{var U;return F(),N("div",{key:C.data.id,class:Y(["graph-node",{"is-selected":((U=b.value)==null?void 0:U.id)===C.data.id}]),style:xe({left:`${C.x-Pt/2}px`,top:`${C.y-Lt/2}px`,width:`${Pt}px`,"--node-color":n(C.data)}),onClick:S=>b.value=C.data},[u("span",{class:"node-dot",style:xe({background:n(C.data)})},null,4),u("span",$c,E(C.data.label),1),C.data.provides.length?(F(),N("span",Cc,"+"+E(C.data.provides.length),1)):pe("",!0),C.data.injects.some(S=>!S.ok)?(F(),N("span",Sc,"!")):pe("",!0)],14,wc)}),128))],4)])):(F(),N("div",Tc,E(ht(s)?"No components match the current provide/inject filter.":"Waiting for connection to the Nuxt app…"),1))]),b.value?(F(),N("div",kc,[u("div",Mc,[u("span",Ec,E(b.value.label),1),u("button",{onClick:M[2]||(M[2]=C=>b.value=null)},"×")]),b.value.provides.length?(F(),N("div",Ac,[u("div",Oc,"provides ("+E(b.value.provides.length)+")",1),u("div",Ic,[(F(!0),N(re,null,we(b.value.provides,(C,U)=>(F(),N("div",{key:d(b.value.id,C.key,U),class:"provide-row"},[u("div",Pc,[u("span",Lc,E(C.key),1),u("span",{class:"mono text-sm muted row-value-preview",title:C.val},E(C.val),9,Fc),u("span",{class:Y(["badge",C.reactive?"badge-ok":"badge-gray"])},E(C.reactive?"reactive":"static"),3),C.complex?(F(),N("button",{key:0,class:"row-toggle mono",onClick:S=>B(d(b.value.id,C.key,U))},E(H.value.has(d(b.value.id,C.key,U))?"hide":"view"),9,Rc)):pe("",!0)]),C.complex&&H.value.has(d(b.value.id,C.key,U))?(F(),N("pre",Nc,E(v(C.raw)),1)):pe("",!0)]))),128))])])):pe("",!0),b.value.injects.length?(F(),N("div",{key:1,class:"detail-section",style:xe({marginTop:b.value.provides.length?"10px":"0"})},[u("div",jc,"injects ("+E(b.value.injects.length)+")",1),u("div",Dc,[(F(!0),N(re,null,we(b.value.injects,C=>(F(),N("div",{key:C.key,class:Y(["inject-row",{"inject-miss":!C.ok}])},[u("span",Hc,E(C.key),1),C.ok?(F(),N("span",Vc,"resolved")):(F(),N("span",Bc,"no provider")),u("span",{class:"mono muted text-sm row-from",title:C.from??"undefined"},E(C.from??"undefined"),9,Uc)],2))),128))])],4)):pe("",!0),!b.value.provides.length&&!b.value.injects.length?(F(),N("div",Kc," no provide/inject in this component ")):pe("",!0)])):(F(),N("div",Wc,E(ht(s)?"Click a node to inspect.":"Waiting for connection to the Nuxt app…"),1))])]))}}),Gc=Ut(qc,[["__scopeId","data-v-5ed3965a"]]),Jc={class:"view"},Yc={class:"stats-row"},Xc={class:"stat-card"},Zc={class:"stat-val"},Qc={class:"stat-card"},eu={class:"stat-val",style:{color:"var(--teal)"}},tu={class:"stat-card"},su={class:"stat-val",style:{color:"var(--red)"}},nu={class:"stat-card"},ou={class:"stat-val"},lu={class:"toolbar"},iu={class:"list"},ru=["onClick"],au={class:"comp-header"},cu={class:"mono bold",style:{"font-size":"12px"}},uu={class:"muted text-sm",style:{"margin-left":"4px"}},fu={class:"comp-meta"},du={key:0,class:"muted text-sm"},pu={key:1,class:"badge badge-warn"},hu={key:2,class:"badge badge-warn"},vu={key:3,class:"badge badge-err"},mu={key:4,class:"badge badge-ok"},gu={key:5,class:"badge badge-gray"},_u={key:0,class:"leak-banner"},bu={class:"mono text-sm",style:{"min-width":"90px",color:"var(--text2)"}},yu={class:"mono text-sm muted",style:{flex:"1",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},xu={class:"badge badge-info text-xs"},wu={class:"muted text-sm",style:{"min-width":"110px"}},$u={key:0,class:"muted text-sm",style:{padding:"16px 0"}},Cu=Mt({__name:"ComposableTracker",setup(e){const{composables:t,connected:s}=ds(),n=Q(()=>{const d=new Map;for(const h of t.value){const _=`${h.name}::${h.componentFile}`,m=d.get(_)??[];m.push(h),d.set(_,m)}return[...d.entries()].map(([h,_])=>{const m=[..._].sort((b,H)=>H.line-b.line)[0],y=[...new Set(_.map(b=>b.leakReason).filter(Boolean))];return{id:h,name:m.name,component:m.componentFile,instances:_.length,status:_.some(b=>b.status==="mounted")?"mounted":"unmounted",leak:_.some(b=>b.leak),leakReason:y.join(" · ")||void 0,refs:Object.entries(m.refs).map(([b,H])=>({key:b,type:H.type,val:typeof H.value=="string"?H.value:JSON.stringify(H.value)})),watchers:_.reduce((b,H)=>b+H.watcherCount,0),intervals:_.reduce((b,H)=>b+H.intervalCount,0),lifecycle:{onMounted:_.some(b=>b.lifecycle.hasOnMounted),onUnmounted:_.some(b=>b.lifecycle.hasOnUnmounted),watchersCleaned:_.every(b=>b.lifecycle.watchersCleaned),intervalsCleaned:_.every(b=>b.lifecycle.intervalsCleaned)}}})}),o=ne("all"),l=ne(""),r=ne(null),c=Q(()=>({mounted:n.value.filter(d=>d.status==="mounted").length,leaks:n.value.filter(d=>d.leak).length})),f=Q(()=>n.value.filter(d=>{if(o.value==="leak"&&!d.leak||o.value==="unmounted"&&d.status!=="unmounted")return!1;const h=l.value.toLowerCase();return!(h&&!d.name.toLowerCase().includes(h)&&!d.component.toLowerCase().includes(h))}));function v(d){return[{label:"onMounted",ok:d.lifecycle.onMounted,status:d.lifecycle.onMounted?"registered":"not used"},{label:"onUnmounted",ok:d.lifecycle.onUnmounted,status:d.lifecycle.onUnmounted?"registered":"missing"},{label:"watchers cleaned",ok:d.lifecycle.watchersCleaned,status:d.lifecycle.watchersCleaned?"all stopped":"NOT stopped"},{label:"intervals cleared",ok:d.lifecycle.intervalsCleaned,status:d.lifecycle.intervalsCleaned?"all cleared":"NOT cleared"}]}return(d,h)=>(F(),N("div",Jc,[u("div",Yc,[u("div",Xc,[h[5]||(h[5]=u("div",{class:"stat-label"},"total",-1)),u("div",Zc,E(n.value.length),1)]),u("div",Qc,[h[6]||(h[6]=u("div",{class:"stat-label"},"mounted",-1)),u("div",eu,E(c.value.mounted),1)]),u("div",tu,[h[7]||(h[7]=u("div",{class:"stat-label"},"leaks",-1)),u("div",su,E(c.value.leaks),1)]),u("div",nu,[h[8]||(h[8]=u("div",{class:"stat-label"},"instances",-1)),u("div",ou,E(n.value.reduce((_,m)=>_+m.instances,0)),1)])]),u("div",lu,[u("button",{class:Y({active:o.value==="all"}),onClick:h[0]||(h[0]=_=>o.value="all")},"all",2),u("button",{class:Y({"danger-active":o.value==="leak"}),onClick:h[1]||(h[1]=_=>o.value="leak")},"leaks only",2),u("button",{class:Y({active:o.value==="unmounted"}),onClick:h[2]||(h[2]=_=>o.value="unmounted")},"unmounted",2),Ns(u("input",{"onUpdate:modelValue":h[3]||(h[3]=_=>l.value=_),type:"search",placeholder:"search composable or component…",style:{"max-width":"220px","margin-left":"auto"}},null,512),[[Us,l.value]])]),u("div",iu,[(F(!0),N(re,null,we(f.value,_=>(F(),N("div",{key:_.id,class:Y(["comp-card",{leak:_.leak,expanded:r.value===_.id}]),onClick:m=>r.value=r.value===_.id?null:_.id},[u("div",au,[u("span",cu,E(_.name),1),u("span",uu,E(_.component),1),u("div",fu,[_.instances>1?(F(),N("span",du,E(_.instances)+"×",1)):pe("",!0),_.watchers>0&&!_.leak?(F(),N("span",pu,E(_.watchers)+" watcher"+E(_.watchers>1?"s":""),1)):pe("",!0),_.intervals>0&&!_.leak?(F(),N("span",hu,E(_.intervals)+" interval"+E(_.intervals>1?"s":""),1)):pe("",!0),_.leak?(F(),N("span",vu,"leak detected")):_.status==="mounted"?(F(),N("span",mu,"mounted")):(F(),N("span",gu,"unmounted"))])]),r.value===_.id?(F(),N("div",{key:0,class:"comp-detail",onClick:h[4]||(h[4]=_a(()=>{},["stop"]))},[_.leak?(F(),N("div",_u,E(_.leakReason),1)):pe("",!0),h[9]||(h[9]=u("div",{class:"section-label"},"reactive state",-1)),(F(!0),N(re,null,we(_.refs,m=>(F(),N("div",{key:m.key,class:"ref-row"},[u("span",bu,E(m.key),1),u("span",yu,E(m.val),1),u("span",xu,E(m.type),1)]))),128)),h[10]||(h[10]=u("div",{class:"section-label",style:{"margin-top":"8px"}},"lifecycle",-1)),(F(!0),N(re,null,we(v(_),m=>(F(),N("div",{key:m.label,class:"lc-row"},[u("span",{class:"lc-dot",style:xe({background:m.ok?"var(--teal)":"var(--red)"})},null,4),u("span",wu,E(m.label),1),u("span",{class:"text-sm",style:xe({color:m.ok?"var(--teal)":"var(--red)"})},E(m.status),5)]))),128))])):pe("",!0)],10,ru))),128)),f.value.length?pe("",!0):(F(),N("div",$u,E(ht(s)?"No composables recorded yet.":"Waiting for connection to the Nuxt app…"),1))])]))}}),Su=Ut(Cu,[["__scopeId","data-v-56844e6e"]]),Tu={class:"view"},ku={class:"controls"},Mu={class:"mode-group"},Eu={class:"threshold-group"},Au={class:"mono text-sm"},Ou={class:"stats-row"},Iu={class:"stat-card"},Pu={class:"stat-val"},Lu={class:"stat-card"},Fu={class:"stat-val"},Ru={class:"stat-card"},Nu={class:"stat-val",style:{color:"var(--red)"}},ju={class:"stat-card"},Du={class:"stat-val"},Hu={class:"inspector"},Vu={class:"roots-panel"},Bu=["onClick"],Uu={class:"root-copy"},Ku={class:"root-label mono"},Wu={class:"root-sub muted mono"},zu={class:"root-meta mono"},qu={key:0,class:"detail-empty"},Gu={class:"tree-panel"},Ju={class:"tree-toolbar"},Yu=["value"],Xu={class:"tree-frame"},Zu={class:"tree-canvas"},Qu={key:0,class:"detail-empty"},ef={class:"detail-panel"},tf={class:"detail-header"},sf={class:"mono bold",style:{"font-size":"12px"}},nf={class:"detail-pill-row"},of={class:"detail-pill mono"},lf={class:"detail-pill mono"},rf={class:"meta-grid"},af={class:"mono text-sm"},cf={class:"mono text-sm"},uf={class:"mono text-sm muted"},ff={class:"mono text-sm"},df={class:"mono text-sm"},pf={class:"mono text-sm"},hf={class:"meta-grid"},vf={class:"mono text-sm"},mf={class:"mono text-sm"},gf={class:"mono text-sm"},_f={key:0,class:"muted text-sm"},bf={key:1,class:"detail-empty"},yf=Mt({__name:"RenderHeatmap",setup(e){const t=Mt({name:"TreeNode",props:{node:Object,mode:String,threshold:Number,hotOnly:Boolean,selected:String,search:String,expandedIds:Object},emits:["select","toggle"],setup(i,{emit:a}){function p(w){return i.mode==="count"?w.renders:w.avgMs}function x(w){return p(w)>=i.threshold}function g(w,O){if(!O)return!0;const T=O.toLowerCase();return w.label.toLowerCase().includes(T)||w.file.toLowerCase().includes(T)||w.path.some(j=>j.toLowerCase().includes(T))||w.triggers.some(j=>j.toLowerCase().includes(T))}function $(w,O){const T=g(w,O),j=w.children.some(V=>$(V,O)),R=!O||T||j,D=!i.hotOnly||x(w)||w.children.some(V=>$(V,""));return R&&D}function L(w){return{selected:i.selected===w.id,hot:x(w)}}return()=>{var Z,_e,be,Ie;const w=i.node,O=((Z=i.search)==null?void 0:Z.trim())??"";if(!$(w,O))return null;const T=((_e=i.expandedIds)==null?void 0:_e.has(w.id))??!1,j=w.children.filter(de=>$(de,O)),R=j.length>0,D=i.mode==="count"?`${w.renders}`:`${w.avgMs.toFixed(1)}ms`,V=i.mode==="count"?"renders":"avg",J=[],ie=(be=w.element)==null?void 0:be.toLowerCase();if(w.element&&w.element!==w.label&&!["div","span","p"].includes(ie??"")&&J.push(w.element),w.file!=="unknown"){const de=((Ie=w.file.split("/").pop())==null?void 0:Ie.replace(/\.vue$/i,""))??w.file;de!==w.label&&!J.includes(de)&&J.push(de)}return Le("div",{class:"tree-node"},[Le("div",{class:["tree-row",L(w)],style:{"--tree-depth":String(w.depth)},onClick:de=>{de.stopPropagation(),a("select",w)}},[Le("button",{class:"tree-toggle",disabled:!R,onClick:de=>{de.stopPropagation(),R&&a("toggle",w.id)}},R?T?"▾":"▸":"·"),Le("span",{class:"tree-rail","aria-hidden":"true"}),Le("div",{class:"tree-copy"},[Le("span",{class:"tree-name mono",title:w.label},w.label),J.length?Le("div",{class:"tree-badges"},J.slice(0,1).map(de=>Le("span",{class:"tree-badge mono",title:de},de))):null]),Le("div",{class:"tree-metrics mono"},Le("span",{class:"tree-metric-pill"},`${D} ${V}`))]),T&&j.length?Le("div",{class:"tree-children"},j.map(de=>Le(t,{node:de,mode:i.mode,threshold:i.threshold,hotOnly:i.hotOnly,selected:i.selected,search:i.search,expandedIds:i.expandedIds,onSelect:et=>a("select",et),onToggle:et=>a("toggle",et)}))):null])}}}),{renders:s,connected:n}=ds(),o=ne("count"),l=ne(5),r=ne(!1),c=ne(!1),f=ne(""),v=ne(null),d=ne(null),h=ne(new Set),_=ne([]),m=ne(!1);function y(i){var p;if(i.name&&i.name!=="unknown"&&!/^Component#\d+$/.test(i.name))return i.name;if(i.element)return i.element;const a=(p=i.file.split("/").pop())==null?void 0:p.replace(/\.vue$/i,"");return a&&a!=="unknown"?a:i.name&&i.name!=="unknown"?i.name:`Component#${i.uid}`}function b(i){return`${i.type}: ${i.key}`}function H(i){const a=new Map;for(const g of i)a.set(String(g.uid),{id:String(g.uid),label:y(g),file:g.file,element:g.element,depth:0,path:[],renders:g.renders,avgMs:g.avgMs,triggers:g.triggers.map(b),children:[],parentId:g.parentUid!==void 0?String(g.parentUid):void 0});const p=[];for(const g of i){const $=a.get(String(g.uid));if(!$)continue;const L=g.parentUid!==void 0?a.get(String(g.parentUid)):void 0;L?($.parentLabel=L.label,L.children.push($)):p.push($)}function x(g,$=[],L=0){g.depth=L,g.path=[...$,g.label],g.children.forEach(w=>x(w,g.path,L+1))}return p.forEach(g=>x(g)),p}function B(i){const a=[];function p(x){a.push(x),x.children.forEach(p)}return i.forEach(p),a}function W(i){return 1+i.children.reduce((a,p)=>a+W(p),0)}function P(i,a=new Set){return a.add(i.id),i.children.forEach(p=>P(p,a)),a}function k(i,a,p=[]){const x=[...p,i.id];if(i.id===a)return x;for(const g of i.children){const $=k(g,a,x);if($)return $}return null}function A(i){return i?new Set([i.id]):new Set}function ee(i,a){const p=A(i);if(!i||!a)return p;function x(g){const $=g.children.some(w=>x(w)),L=M(g,a);return $&&p.add(g.id),L||$}return x(i),p}function ve(i){return o.value==="count"?i.renders:i.avgMs}function I(i){return ve(i)>=l.value}function M(i,a){if(!a)return!0;const p=a.toLowerCase();return i.label.toLowerCase().includes(p)||i.file.toLowerCase().includes(p)||i.path.some(x=>x.toLowerCase().includes(p))||i.triggers.some(x=>x.toLowerCase().includes(p))}function C(i,a){return a?M(i,a)||i.children.some(p=>C(p,a)):!0}function U(i){return I(i)||i.children.some(a=>U(a))}function S(i,a){const p=C(i,a),x=!r.value||U(i);return p&&x}const z=Q(()=>c.value?_.value:s.value),X=Q(()=>H(z.value)),me=Q(()=>new Map(X.value.map(i=>[i.id,i]))),ae=Q(()=>B(X.value)),le=Q(()=>{const i=f.value.trim();return X.value.filter(a=>S(a,i))}),G=Q(()=>d.value?le.value.find(i=>i.id===d.value)??me.value.get(d.value)??null:le.value[0]??X.value[0]??null),Oe=Q(()=>G.value?[G.value]:[]),Qe=Q(()=>le.value.map((i,a)=>({id:i.id,label:`App ${a+1}`,meta:`${W(i)} nodes`,root:i}))),fe=Q(()=>ae.value.find(i=>i.id===v.value)??null),Re=Q(()=>ae.value.reduce((i,a)=>i+a.renders,0)),ps=Q(()=>ae.value.filter(i=>I(i)).length),Ks=Q(()=>{const i=ae.value.filter(a=>a.avgMs>0);return i.length?(i.reduce((a,p)=>a+p.avgMs,0)/i.length).toFixed(1):"0.0"});kt(X,i=>{if(!i.length){d.value=null,v.value=null,h.value=new Set,m.value=!1;return}const a=new Set(i.map(g=>g.id));(!d.value||!a.has(d.value))&&(d.value=i[0].id),v.value&&!ae.value.some(g=>g.id===v.value)&&(v.value=null);const p=new Set(ae.value.map(g=>g.id)),x=new Set([...h.value].filter(g=>p.has(g)));if(!m.value){h.value=A(G.value),m.value=!0;return}!f.value.trim()&&v.value&&G.value&&(k(G.value,v.value)??[]).forEach($=>x.add($)),h.value=x},{immediate:!0}),kt(f,i=>{if(!G.value)return;const a=i.trim();if(a){h.value=ee(G.value,a);return}if(v.value){const p=k(G.value,v.value);h.value=p?new Set(p):A(G.value);return}h.value=A(G.value)});function Ws(i){v.value=i.id;const a=X.value.find(p=>P(p).has(i.id));a&&(d.value=a.id,h.value=new Set(k(a,i.id)??[a.id]))}function mt(i){const a=new Set(h.value);a.has(i)?a.delete(i):a.add(i),h.value=a}function At(i){d.value=i.id,h.value=A(i),m.value=!0}function Kt(i){const a=i.target;f.value=(a==null?void 0:a.value)??""}function hs(){if(c.value){c.value=!1,_.value=[];return}_.value=JSON.parse(JSON.stringify(s.value)),c.value=!0}function gt(i){var a;return((a=i.split("/").pop())==null?void 0:a.replace(/\.vue$/i,""))??i}function Rn(i){return i.path.join(" / ")}return(i,a)=>(F(),N("div",Tu,[u("div",ku,[u("div",Mu,[u("button",{class:Y({active:o.value==="count"}),onClick:a[0]||(a[0]=p=>o.value="count")},"render count",2),u("button",{class:Y({active:o.value==="time"}),onClick:a[1]||(a[1]=p=>o.value="time")},"render time",2)]),u("div",Eu,[a[5]||(a[5]=u("span",{class:"muted text-sm"},"threshold",-1)),Ns(u("input",{"onUpdate:modelValue":a[2]||(a[2]=p=>l.value=p),type:"range",min:"1",max:"30",step:"1",style:{width:"90px"}},null,512),[[Us,l.value,void 0,{number:!0}]]),u("span",Au,E(l.value)+"+",1)]),u("button",{class:Y({active:r.value}),onClick:a[3]||(a[3]=p=>r.value=!r.value)},"hot only",2),u("button",{class:Y({active:c.value}),style:{"margin-left":"auto"},onClick:hs},E(c.value?"unfreeze":"freeze snapshot"),3)]),u("div",Ou,[u("div",Iu,[a[6]||(a[6]=u("div",{class:"stat-label"},"components",-1)),u("div",Pu,E(ae.value.length),1)]),u("div",Lu,[a[7]||(a[7]=u("div",{class:"stat-label"},"total renders",-1)),u("div",Fu,E(Re.value),1)]),u("div",Ru,[a[8]||(a[8]=u("div",{class:"stat-label"},"hot",-1)),u("div",Nu,E(ps.value),1)]),u("div",ju,[a[9]||(a[9]=u("div",{class:"stat-label"},"avg time",-1)),u("div",Du,E(Ks.value)+"ms",1)])]),u("div",Hu,[u("aside",Vu,[a[10]||(a[10]=u("div",{class:"panel-title"},"apps",-1)),(F(!0),N(re,null,we(Qe.value,p=>(F(),N("button",{key:p.id,class:Y(["root-item",{active:d.value===p.id}]),onClick:x=>At(p.root)},[u("div",Uu,[u("span",Ku,E(p.label),1),u("span",Wu,E(p.root.label),1)]),u("span",zu,E(p.meta),1)],10,Bu))),128)),Qe.value.length?pe("",!0):(F(),N("div",qu,"no apps match"))]),u("section",Gu,[u("div",Ju,[u("input",{value:f.value,class:"search-input mono",placeholder:"Find components...",onInput:Kt},null,40,Yu)]),u("div",Xu,[u("div",Zu,[(F(!0),N(re,null,we(Oe.value,p=>{var x;return F(),$t(ht(t),{key:p.id,node:p,mode:o.value,threshold:l.value,"hot-only":r.value,selected:(x=fe.value)==null?void 0:x.id,search:f.value,"expanded-ids":h.value,onSelect:Ws,onToggle:mt},null,8,["node","mode","threshold","hot-only","selected","search","expanded-ids"])}),128))]),Oe.value.length?pe("",!0):(F(),N("div",Qu,E(ht(n)?"No render activity recorded yet.":"Waiting for connection to the Nuxt app…"),1))])]),u("aside",ef,[fe.value?(F(),N(re,{key:0},[u("div",tf,[u("span",sf,E(fe.value.label),1),u("button",{onClick:a[4]||(a[4]=p=>v.value=null)},"×")]),u("div",nf,[u("span",of,E(fe.value.renders)+" renders",1),u("span",lf,E(fe.value.avgMs.toFixed(1))+"ms avg",1),u("span",{class:Y(["detail-pill mono",{hot:I(fe.value)}])},E(I(fe.value)?"hot":"cool"),3)]),a[20]||(a[20]=u("div",{class:"section-label"},"identity",-1)),u("div",rf,[a[11]||(a[11]=u("span",{class:"muted text-sm"},"label",-1)),u("span",af,E(fe.value.label),1),a[12]||(a[12]=u("span",{class:"muted text-sm"},"path",-1)),u("span",cf,E(Rn(fe.value)),1),a[13]||(a[13]=u("span",{class:"muted text-sm"},"file",-1)),u("span",uf,E(fe.value.file),1),a[14]||(a[14]=u("span",{class:"muted text-sm"},"file name",-1)),u("span",ff,E(gt(fe.value.file)),1),a[15]||(a[15]=u("span",{class:"muted text-sm"},"parent",-1)),u("span",df,E(fe.value.parentLabel??"none"),1),a[16]||(a[16]=u("span",{class:"muted text-sm"},"children",-1)),u("span",pf,E(fe.value.children.length),1)]),a[21]||(a[21]=u("div",{class:"section-label"},"rendering",-1)),u("div",hf,[a[17]||(a[17]=u("span",{class:"muted text-sm"},"mode value",-1)),u("span",vf,E(o.value==="count"?fe.value.renders:`${fe.value.avgMs.toFixed(1)}ms`),1),a[18]||(a[18]=u("span",{class:"muted text-sm"},"threshold",-1)),u("span",mf,E(l.value),1),a[19]||(a[19]=u("span",{class:"muted text-sm"},"selected mode",-1)),u("span",gf,E(o.value==="count"?"render count":"render time"),1)]),a[22]||(a[22]=u("div",{class:"section-label"},"triggers",-1)),(F(!0),N(re,null,we(fe.value.triggers,p=>(F(),N("div",{key:p,class:"trigger-item mono text-sm"},E(p),1))),128)),fe.value.triggers.length?pe("",!0):(F(),N("div",_f,"no triggers recorded"))],64)):(F(),N("div",bf,"click a component to inspect"))])])]))}}),xf=Ut(yf,[["__scopeId","data-v-62187cfb"]]),wf={class:"timeline-root"},$f={class:"stats-row"},Cf={class:"stat-card"},Sf={class:"stat-val"},Tf={class:"stat-card"},kf={class:"stat-val",style:{color:"var(--purple)"}},Mf={class:"stat-card"},Ef={class:"stat-val",style:{color:"var(--red)"}},Af={class:"stat-card"},Of={class:"stat-val"},If={class:"toolbar"},Pf={class:"filter-group"},Lf={class:"content-area"},Ff={class:"data-table"},Rf=["onClick"],Nf={class:"mono",style:{"font-size":"11px","font-weight":"500"}},jf={class:"mono",style:{"font-size":"11px",color:"var(--text2)"}},Df={class:"muted",style:{"font-size":"11px"}},Hf={class:"bar-cell"},Vf={class:"bar-track"},Bf={key:0},Uf={colspan:"6",style:{"text-align":"center",color:"var(--text3)",padding:"24px"}},Kf={key:0,class:"detail-panel"},Wf={class:"panel-header"},zf={class:"panel-title"},qf={class:"panel-section"},Gf={class:"panel-row"},Jf={class:"panel-row"},Yf={class:"panel-row"},Xf={class:"panel-val mono"},Zf={key:0,class:"panel-row"},Qf={class:"panel-val mono"},ed={class:"panel-section"},td={class:"panel-row"},sd={class:"panel-val mono"},nd={class:"panel-row"},od={class:"panel-val mono"},ld={class:"panel-row"},id={class:"panel-val mono",style:{"font-weight":"500"}},rd={class:"panel-section"},ad={class:"panel-row"},cd={class:"panel-row"},ud={key:0,class:"cancel-notice"},fd={key:1,class:"active-notice"},dd=Mt({__name:"TransitionTimeline",setup(e){const{transitions:t,connected:s}=ds(),n=ne("all"),o=ne(""),l=ne(null),r=Q(()=>{let m=[...t.value];if(o.value){const y=o.value.toLowerCase();m=m.filter(b=>b.transitionName.toLowerCase().includes(y)||b.parentComponent.toLowerCase().includes(y))}return n.value==="cancelled"?m=m.filter(y=>y.cancelled||y.phase==="interrupted"):n.value==="active"?m=m.filter(y=>y.phase==="entering"||y.phase==="leaving"):n.value==="completed"&&(m=m.filter(y=>y.phase==="entered"||y.phase==="left")),m.sort((y,b)=>{const H=y.endTime??y.startTime;return(b.endTime??b.startTime)-H})}),c=Q(()=>({total:t.value.length,active:t.value.filter(m=>m.phase==="entering"||m.phase==="leaving").length,cancelled:t.value.filter(m=>m.cancelled||m.phase==="interrupted").length,avgMs:(()=>{const m=t.value.filter(y=>y.durationMs!==void 0);return m.length?Math.round(m.reduce((y,b)=>y+(b.durationMs??0),0)/m.length):0})()})),f=Q(()=>{const m=r.value;if(!m.length)return[];const y=Math.min(...m.map(B=>B.startTime)),b=Math.max(...m.map(B=>B.endTime??B.startTime+400)),H=Math.max(b-y,1);return m.map(B=>({left:(B.startTime-y)/H*100,width:((B.endTime??B.startTime+80)-B.startTime)/H*100}))});function v(m){return m==="entering"||m==="leaving"?"#7f77dd":m==="entered"?"#1d9e75":m==="left"?"#378add":m==="enter-cancelled"||m==="leave-cancelled"?"#e24b4a":m==="interrupted"?"#e09a3a":"#888"}function d(m){return m==="entering"||m==="leaving"?"badge-purple":m==="entered"||m==="left"?"badge-ok":m.includes("cancelled")?"badge-err":m==="interrupted"?"badge-warn":"badge-gray"}function h(m){return m.appear?"✦ appear":m.direction==="enter"?"→ enter":"← leave"}function _(m){return m.appear?"var(--amber)":m.direction==="enter"?"var(--teal)":"var(--blue)"}return(m,y)=>(F(),N("div",wf,[u("div",$f,[u("div",Cf,[u("div",Sf,E(c.value.total),1),y[6]||(y[6]=u("div",{class:"stat-label"},"total",-1))]),u("div",Tf,[u("div",kf,E(c.value.active),1),y[7]||(y[7]=u("div",{class:"stat-label"},"active",-1))]),u("div",Mf,[u("div",Ef,E(c.value.cancelled),1),y[8]||(y[8]=u("div",{class:"stat-label"},"cancelled",-1))]),u("div",Af,[u("div",Of,[pt(E(c.value.avgMs)+" ",1),y[9]||(y[9]=u("span",{class:"stat-unit"},"ms",-1))]),y[10]||(y[10]=u("div",{class:"stat-label"},"avg duration",-1))])]),u("div",If,[Ns(u("input",{"onUpdate:modelValue":y[0]||(y[0]=b=>o.value=b),type:"search",placeholder:"filter by name or component…",class:"search-input"},null,512),[[Us,o.value]]),u("div",Pf,[u("button",{class:Y({active:n.value==="all"}),onClick:y[1]||(y[1]=b=>n.value="all")},"All",2),u("button",{class:Y({active:n.value==="active"}),onClick:y[2]||(y[2]=b=>n.value="active")},"Active",2),u("button",{class:Y({active:n.value==="completed"}),onClick:y[3]||(y[3]=b=>n.value="completed")},"Completed",2),u("button",{class:Y({active:n.value==="cancelled","danger-active":n.value==="cancelled"}),onClick:y[4]||(y[4]=b=>n.value="cancelled")}," Cancelled ",2)])]),u("div",Lf,[u("div",{class:Y(["table-pane",{"has-panel":l.value}])},[u("table",Ff,[y[11]||(y[11]=u("thead",null,[u("tr",null,[u("th",{style:{width:"110px"}},"NAME"),u("th",{style:{width:"80px"}},"DIR"),u("th",{style:{width:"90px"}},"PHASE"),u("th",{style:{width:"70px"}},"DURATION"),u("th",null,"COMPONENT"),u("th",null,"TIMELINE")])],-1)),u("tbody",null,[(F(!0),N(re,null,we(r.value,(b,H)=>{var B,W,P;return F(),N("tr",{key:b.id,class:Y({selected:((B=l.value)==null?void 0:B.id)===b.id}),onClick:k=>{var A;return l.value=((A=l.value)==null?void 0:A.id)===b.id?null:b}},[u("td",null,[u("span",Nf,E(b.transitionName),1)]),u("td",null,[u("span",{class:"mono",style:xe([{"font-size":"11px"},{color:_(b)}])},E(h(b)),5)]),u("td",null,[u("span",{class:Y(["badge",d(b.phase)])},E(b.phase),3)]),u("td",jf,E(b.durationMs!==void 0?b.durationMs+"ms":"—"),1),u("td",Df,E(b.parentComponent),1),u("td",Hf,[u("div",Vf,[u("div",{class:"bar-fill",style:xe({left:((W=f.value[H])==null?void 0:W.left)+"%",width:Math.max(((P=f.value[H])==null?void 0:P.width)??1,1)+"%",background:v(b.phase),opacity:b.phase==="entering"||b.phase==="leaving"?"0.55":"1"})},null,4)])])],10,Rf)}),128)),r.value.length?pe("",!0):(F(),N("tr",Bf,[u("td",Uf,E(ht(s)?"No transitions recorded yet — trigger one on the page.":"Waiting for connection to the Nuxt app…"),1)]))])])],2),Me(Gr,{name:"panel-slide"},{default:nl(()=>[l.value?(F(),N("aside",Kf,[u("div",Wf,[u("span",zf,E(l.value.transitionName),1),u("button",{class:"close-btn",onClick:y[5]||(y[5]=b=>l.value=null)},"✕")]),u("div",qf,[u("div",Gf,[y[12]||(y[12]=u("span",{class:"panel-key"},"Direction",-1)),u("span",{class:"panel-val",style:xe({color:_(l.value)})},E(h(l.value)),5)]),u("div",Jf,[y[13]||(y[13]=u("span",{class:"panel-key"},"Phase",-1)),u("span",{class:Y(["badge",d(l.value.phase)])},E(l.value.phase),3)]),u("div",Yf,[y[14]||(y[14]=u("span",{class:"panel-key"},"Component",-1)),u("span",Xf,E(l.value.parentComponent),1)]),l.value.mode?(F(),N("div",Zf,[y[15]||(y[15]=u("span",{class:"panel-key"},"Mode",-1)),u("span",Qf,E(l.value.mode),1)])):pe("",!0)]),u("div",ed,[y[19]||(y[19]=u("div",{class:"panel-section-title"},"Timing",-1)),u("div",td,[y[16]||(y[16]=u("span",{class:"panel-key"},"Start",-1)),u("span",sd,E(l.value.startTime.toFixed(2))+"ms",1)]),u("div",nd,[y[17]||(y[17]=u("span",{class:"panel-key"},"End",-1)),u("span",od,E(l.value.endTime!==void 0?l.value.endTime.toFixed(2)+"ms":"—"),1)]),u("div",ld,[y[18]||(y[18]=u("span",{class:"panel-key"},"Duration",-1)),u("span",id,E(l.value.durationMs!==void 0?l.value.durationMs+"ms":l.value.phase==="interrupted"?"interrupted":"in progress"),1)])]),u("div",rd,[y[22]||(y[22]=u("div",{class:"panel-section-title"},"Flags",-1)),u("div",ad,[y[20]||(y[20]=u("span",{class:"panel-key"},"Appear",-1)),u("span",{class:"panel-val",style:xe({color:l.value.appear?"var(--amber)":"var(--text3)"})},E(l.value.appear?"yes":"no"),5)]),u("div",cd,[y[21]||(y[21]=u("span",{class:"panel-key"},"Cancelled",-1)),u("span",{class:"panel-val",style:xe({color:l.value.cancelled?"var(--red)":"var(--text3)"})},E(l.value.cancelled?"yes":"no"),5)])]),l.value.cancelled?(F(),N("div",ud,[...y[23]||(y[23]=[pt(" This transition was cancelled mid-flight. The element may be stuck in a partial animation state if the interruption was not handled with ",-1),u("code",null,"onEnterCancelled",-1),pt(" / ",-1),u("code",null,"onLeaveCancelled",-1),pt(" . ",-1)])])):pe("",!0),l.value.phase==="entering"||l.value.phase==="leaving"?(F(),N("div",fd,[...y[24]||(y[24]=[pt(" Transition is currently in progress. If it stays in this state longer than expected, the ",-1),u("code",null,"done()",-1),pt(" callback may not be getting called (JS-mode transition stall). ",-1)])])):pe("",!0)])):pe("",!0)]),_:1})])]))}}),pd=Ut(dd,[["__scopeId","data-v-e629b6b5"]]),hd={id:"app-root"},vd={class:"tabbar"},md=["onClick"],gd={class:"tab-icon"},_d={class:"tab-content"},bd=Mt({__name:"App",setup(e){const t={fetch:"fetch",provide:"provide",composables:"composable",heatmap:"heatmap",transitions:"transitions"},s=window.location.pathname.split("/").filter(Boolean).pop()??"",n=ne(t[s]??"fetch"),o=[{id:"fetch",label:"useFetch",icon:"⬡"},{id:"provide",label:"provide/inject",icon:"⬡"},{id:"composable",label:"Composables",icon:"⬡"},{id:"heatmap",label:"Heatmap",icon:"⬡"},{id:"transitions",label:"Transitions",icon:"⬡"}];return(l,r)=>(F(),N("div",hd,[u("nav",vd,[r[0]||(r[0]=u("div",{class:"tabbar-brand"},"observatory",-1)),(F(),N(re,null,we(o,c=>u("button",{key:c.id,class:Y(["tab-btn",{active:n.value===c.id}]),onClick:f=>n.value=c.id},[u("span",gd,E(c.icon),1),pt(" "+E(c.label),1)],10,md)),64))]),u("main",_d,[n.value==="fetch"?(F(),$t(pc,{key:0})):n.value==="provide"?(F(),$t(Gc,{key:1})):n.value==="composable"?(F(),$t(Su,{key:2})):n.value==="heatmap"?(F(),$t(xf,{key:3})):n.value==="transitions"?(F(),$t(pd,{key:4})):pe("",!0)])]))}}),yd=Ut(bd,[["__scopeId","data-v-08e3ddb5"]]);xa(yd).mount("#app");
|
package/client/dist/index.html
CHANGED
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
body { font-family: var(--font); background: var(--bg); color: var(--text); font-size: 13px; }
|
|
39
39
|
#app { height: 100vh; display: flex; flex-direction: column; }
|
|
40
40
|
</style>
|
|
41
|
-
<script type="module" crossorigin src="/assets/index-
|
|
42
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
41
|
+
<script type="module" crossorigin src="/assets/index-mEAMrJUv.js"></script>
|
|
42
|
+
<link rel="stylesheet" crossorigin href="/assets/index-BBp7Dvrp.css">
|
|
43
43
|
</head>
|
|
44
44
|
<body>
|
|
45
45
|
<div id="app"></div>
|
|
@@ -226,6 +226,7 @@ function lifecycleRows(entry: ComposableViewEntry) {
|
|
|
226
226
|
display: flex;
|
|
227
227
|
flex-direction: column;
|
|
228
228
|
gap: 6px;
|
|
229
|
+
min-height: 0;
|
|
229
230
|
}
|
|
230
231
|
|
|
231
232
|
.comp-card {
|
|
@@ -234,6 +235,7 @@ function lifecycleRows(entry: ComposableViewEntry) {
|
|
|
234
235
|
border-radius: var(--radius-lg);
|
|
235
236
|
overflow: hidden;
|
|
236
237
|
cursor: pointer;
|
|
238
|
+
flex-shrink: 0;
|
|
237
239
|
}
|
|
238
240
|
|
|
239
241
|
.comp-card:hover {
|
|
@@ -254,6 +256,7 @@ function lifecycleRows(entry: ComposableViewEntry) {
|
|
|
254
256
|
align-items: center;
|
|
255
257
|
gap: 8px;
|
|
256
258
|
padding: 9px 13px;
|
|
259
|
+
min-height: 44px;
|
|
257
260
|
}
|
|
258
261
|
|
|
259
262
|
.comp-meta {
|
|
@@ -9,6 +9,7 @@ const { fetch, connected } = useObservatoryData()
|
|
|
9
9
|
const filter = ref<string>('all')
|
|
10
10
|
const search = ref('')
|
|
11
11
|
const selectedId = ref<string | null>(null)
|
|
12
|
+
const waterfallOpen = ref(true)
|
|
12
13
|
|
|
13
14
|
const entries = computed<FetchViewEntry[]>(() => {
|
|
14
15
|
const sorted = [...fetch.value].sort((a, b) => a.startTime - b.startTime)
|
|
@@ -235,27 +236,35 @@ function formatSize(bytes: number) {
|
|
|
235
236
|
</div>
|
|
236
237
|
|
|
237
238
|
<div class="waterfall">
|
|
238
|
-
<div class="
|
|
239
|
-
|
|
240
|
-
<
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
<div class="wf-
|
|
247
|
-
<
|
|
248
|
-
class="
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
239
|
+
<div class="waterfall-header">
|
|
240
|
+
<div class="section-label" style="margin-top: 0; margin-bottom: 0">waterfall</div>
|
|
241
|
+
<button :class="{ active: waterfallOpen }" @click="waterfallOpen = !waterfallOpen">
|
|
242
|
+
{{ waterfallOpen ? 'hide' : 'show' }}
|
|
243
|
+
</button>
|
|
244
|
+
</div>
|
|
245
|
+
|
|
246
|
+
<div v-if="waterfallOpen" class="waterfall-body">
|
|
247
|
+
<div v-for="entry in entries" :key="entry.id" class="wf-row">
|
|
248
|
+
<span
|
|
249
|
+
class="mono muted text-sm"
|
|
250
|
+
style="width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex-shrink: 0"
|
|
251
|
+
>
|
|
252
|
+
{{ entry.key }}
|
|
253
|
+
</span>
|
|
254
|
+
<div class="wf-track">
|
|
255
|
+
<div
|
|
256
|
+
class="wf-bar"
|
|
257
|
+
:style="{
|
|
258
|
+
left: `${wfLeft(entry)}%`,
|
|
259
|
+
width: `${Math.max(2, wfWidth(entry))}%`,
|
|
260
|
+
background: barColor(entry.status),
|
|
261
|
+
}"
|
|
262
|
+
></div>
|
|
263
|
+
</div>
|
|
264
|
+
<span class="mono muted text-sm" style="width: 44px; text-align: right; flex-shrink: 0">
|
|
265
|
+
{{ entry.ms != null ? `${entry.ms}ms` : '—' }}
|
|
266
|
+
</span>
|
|
255
267
|
</div>
|
|
256
|
-
<span class="mono muted text-sm" style="width: 44px; text-align: right; flex-shrink: 0">
|
|
257
|
-
{{ entry.ms != null ? `${entry.ms}ms` : '—' }}
|
|
258
|
-
</span>
|
|
259
268
|
</div>
|
|
260
269
|
</div>
|
|
261
270
|
</div>
|
|
@@ -368,6 +377,17 @@ function formatSize(bytes: number) {
|
|
|
368
377
|
padding: 10px 12px;
|
|
369
378
|
}
|
|
370
379
|
|
|
380
|
+
.waterfall-header {
|
|
381
|
+
display: flex;
|
|
382
|
+
align-items: center;
|
|
383
|
+
justify-content: space-between;
|
|
384
|
+
gap: 8px;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
.waterfall-body {
|
|
388
|
+
margin-top: 6px;
|
|
389
|
+
}
|
|
390
|
+
|
|
371
391
|
.wf-row {
|
|
372
392
|
display: flex;
|
|
373
393
|
align-items: center;
|