@ametie/vue-muza-use 1.2.6 → 1.3.0
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/dist/index.cjs +656 -621
- package/dist/index.mjs +865 -830
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -61,18 +61,18 @@ var import_vue = require("vue");
|
|
|
61
61
|
try {
|
|
62
62
|
if (typeof document < "u") {
|
|
63
63
|
var e = document.createElement("style");
|
|
64
|
-
e.appendChild(document.createTextNode('.logo-badge[data-v-f1971a55]{display:inline-flex;align-items:center;gap:7px;height:26px;padding:0 11px 0 9px;background:var(--dt-primary);border-radius:99px;color:#fff;font-size:12px;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;box-shadow:0 1px 6px #7c7bff59;box-shadow:0 1px 6px oklch(65% .25 280 / .35);-webkit-user-select:none;user-select:none;flex-shrink:0}.tab-bar[data-v-1b140f4a]{display:flex;align-items:center;background:var(--dt-nav);border-bottom:1px solid var(--dt-border-subtle);flex-shrink:0}.logo-slot[data-v-1b140f4a]{display:flex;align-items:center;padding:0 10px 0 12px;flex-shrink:0;opacity:.85}.tab-list[data-v-1b140f4a]{display:flex;align-items:center;flex:1;padding:0 6px;gap:2px;overflow-x:auto;scrollbar-width:none}.tab-list[data-v-1b140f4a]::-webkit-scrollbar{display:none}.tab-btn[data-v-1b140f4a]{display:flex;align-items:center;gap:6px;height:38px;padding:0 12px;font-size:13px;font-weight:500;cursor:pointer;border:none;background:transparent;border-bottom:2px solid transparent;transition:color .15s ease-out,border-color .15s ease-out,transform .12s ease-out}.tab-btn[data-v-1b140f4a]:active{transform:scale(.97)}.tab-btn--active[data-v-1b140f4a]{color:var(--dt-vue-green);border-bottom-color:var(--dt-vue-green)}.tab-btn--inactive[data-v-1b140f4a]{color:var(--dt-foreground-muted)}.tab-btn--inactive[data-v-1b140f4a]:hover{color:var(--dt-foreground-secondary);background:var(--dt-surface)}.mode-switcher[data-v-1b140f4a]{display:flex;align-items:center;gap:2px;padding:0 6px;flex-shrink:0}.mode-btn[data-v-1b140f4a]{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:5px;border:none;background:transparent;color:var(--dt-foreground-muted);cursor:pointer;transition:background .12s ease-out,color .12s ease-out,transform .12s ease-out}.mode-btn[data-v-1b140f4a]:active{transform:scale(.97)}.mode-btn[data-v-1b140f4a]:hover{background:var(--dt-surface-raised);color:var(--dt-foreground-secondary)}.mode-btn--active[data-v-1b140f4a]{background:var(--dt-surface-raised);color:var(--dt-primary)}.mode-btn--active[data-v-1b140f4a]:hover{color:var(--dt-primary)}.mode-divider[data-v-1b140f4a]{width:1px;height:18px;background:var(--dt-border-subtle);margin-right:4px;flex-shrink:0}.settings-btn[data-v-1b140f4a]{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:5px;border:none;background:transparent;color:var(--dt-foreground-muted);cursor:pointer;flex-shrink:0;transition:background .12s ease-out,color .12s ease-out,transform .12s ease-out}.settings-btn[data-v-1b140f4a]:active{transform:scale(.97)}.settings-btn[data-v-1b140f4a]:hover{background:var(--dt-surface-raised);color:var(--dt-foreground-secondary)}.close-btn[data-v-1b140f4a]{display:flex;align-items:center;justify-content:center;width:32px;height:32px;margin-right:8px;border-radius:6px;border:none;background:transparent;color:var(--dt-foreground-muted);cursor:pointer;flex-shrink:0;transition:background .12s ease-out,color .12s ease-out,transform .12s ease-out}.close-btn[data-v-1b140f4a]:active{transform:scale(.97)}.close-btn[data-v-1b140f4a]:hover{background:var(--dt-surface-raised);color:var(--dt-foreground)}.launcher-pill[data-v-1b40fea8]{position:fixed;bottom:20px;right:20px;z-index:99999;display:flex;align-items:center;gap:8px;height:36px;padding:0 14px 0 10px;background:var(--dt-primary);border-radius:99px;border:none;cursor:pointer;color:#fff;font-size:13px;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;box-shadow:0 2px 12px #7c7bff59;box-shadow:0 2px 12px oklch(65% .25 280 / .35);transition:transform .15s ease-out,box-shadow .15s ease-out;pointer-events:auto}.launcher-pill[data-v-1b40fea8]:hover{transform:translateY(-1px);box-shadow:0 4px 16px #7c7bff80;box-shadow:0 4px 16px oklch(65% .25 280 / .5)}.launcher-pill[data-v-1b40fea8]:active{transform:scale(.96);box-shadow:0 1px 6px #7c7bff40;box-shadow:0 1px 6px oklch(65% .25 280 / .25)}.devtools-panel[data-v-1b40fea8]{position:fixed;bottom:8px;left:12px;right:12px;z-index:99998;display:flex;flex-direction:column;background:var(--dt-background);color:var(--dt-foreground);border:1px solid var(--dt-border);border-radius:12px;overflow:hidden;pointer-events:auto;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;box-shadow:0 -4px 32px #0000008c,0 0 0 1px #ffffff0a}.resize-handle[data-v-1b40fea8]{height:4px;flex-shrink:0;cursor:row-resize;background:var(--dt-border-subtle);transition:background .15s}.resize-handle[data-v-1b40fea8]:hover{background:var(--dt-primary)}.panel-content[data-v-1b40fea8]{flex:1;overflow:hidden;display:flex;flex-direction:column}.panel-enter-active[data-v-1b40fea8]{transition:transform .22s cubic-bezier(.32,.72,0,1),opacity .2s ease-out}.panel-leave-active[data-v-1b40fea8]{transition:transform .16s ease-in,opacity .16s ease-in}.panel-enter-from[data-v-1b40fea8],.panel-leave-to[data-v-1b40fea8]{transform:translateY(12px);opacity:0}.launcher-pill[data-v-c45ea08a]{position:fixed;bottom:20px;right:20px;z-index:99999;display:flex;align-items:center;gap:8px;height:36px;padding:0 14px 0 10px;background:var(--dt-primary);border-radius:99px;border:none;cursor:pointer;color:#fff;font-size:13px;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;box-shadow:0 2px 12px #7c7bff59;box-shadow:0 2px 12px oklch(65% .25 280 / .35);transition:transform .15s ease-out,box-shadow .15s ease-out;pointer-events:auto}.launcher-pill[data-v-c45ea08a]:hover{transform:translateY(-1px);box-shadow:0 4px 16px #7c7bff80;box-shadow:0 4px 16px oklch(65% .25 280 / .5)}.launcher-pill[data-v-c45ea08a]:active{transform:scale(.96);box-shadow:0 1px 6px #7c7bff40;box-shadow:0 1px 6px oklch(65% .25 280 / .25)}.side-panel[data-v-c45ea08a]{position:fixed;top:10px;right:10px;bottom:10px;z-index:99998;display:flex;flex-direction:row;background:var(--dt-background);color:var(--dt-foreground);border:1px solid var(--dt-border);border-radius:14px;overflow:hidden;pointer-events:auto;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;box-shadow:-8px 0 40px #0000008c,0 0 0 1px #ffffff0a}.resize-handle[data-v-c45ea08a]{width:4px;flex-shrink:0;cursor:col-resize;background:var(--dt-border-subtle);transition:background .15s}.resize-handle[data-v-c45ea08a]:hover{background:var(--dt-primary)}.panel-body[data-v-c45ea08a]{flex:1;display:flex;flex-direction:column;min-width:0;overflow:hidden}.panel-content[data-v-c45ea08a]{flex:1;overflow:hidden;display:flex;flex-direction:column}.panel-enter-active[data-v-c45ea08a]{transition:transform .22s cubic-bezier(.32,.72,0,1),opacity .2s ease-out}.panel-leave-active[data-v-c45ea08a]{transition:transform .16s ease-in,opacity .16s ease-in}.panel-enter-from[data-v-c45ea08a],.panel-leave-to[data-v-c45ea08a]{transform:translate(12px);opacity:0}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-font-weight:initial;--tw-tracking:initial;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}:root,:host{--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-red-300:oklch(80.8% .114 19.571);--color-red-500:oklch(63.7% .237 25.331);--color-red-900:oklch(39.6% .141 25.723);--color-yellow-300:oklch(90.5% .182 98.111);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-900:oklch(42.1% .095 57.708);--color-green-300:oklch(87.1% .15 154.449);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-green-900:oklch(39.3% .095 152.535);--color-blue-400:oklch(70.7% .165 254.624);--color-purple-400:oklch(71.4% .203 305.504);--color-neutral-200:oklch(92.2% 0 0);--color-neutral-300:oklch(87% 0 0);--color-neutral-400:oklch(70.8% 0 0);--color-neutral-500:oklch(55.6% 0 0);--color-neutral-700:oklch(37.1% 0 0);--color-neutral-800:oklch(26.9% 0 0);--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--font-weight-semibold:600;--radius-sm:.25rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1)}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.isolate{isolation:isolate}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.mt-2{margin-top:calc(var(--spacing) * 2)}.ml-auto{margin-left:auto}.flex{display:flex}.hidden{display:none}.inline-flex{display:inline-flex}.h-4{height:calc(var(--spacing) * 4)}.h-6{height:calc(var(--spacing) * 6)}.h-full{height:100%}.w-1\\/2{width:50%}.w-40{width:calc(var(--spacing) * 40)}.w-full{width:100%}.flex-1{flex:1}.flex-shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.cursor-grab{cursor:grab}.cursor-pointer{cursor:pointer}.resize{resize:both}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-between{justify-content:space-between}.gap-1{gap:var(--spacing)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.rounded{border-radius:.25rem}.rounded-\\[3px\\]{border-radius:3px}.rounded-sm{border-radius:var(--radius-sm)}.border{border-style:var(--tw-border-style);border-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-neutral-700{border-color:var(--color-neutral-700)}.border-neutral-800{border-color:var(--color-neutral-800)}.bg-green-500{background-color:var(--color-green-500)}.bg-green-900{background-color:var(--color-green-900)}.bg-neutral-500{background-color:var(--color-neutral-500)}.bg-neutral-700{background-color:var(--color-neutral-700)}.bg-neutral-800{background-color:var(--color-neutral-800)}.bg-red-500{background-color:var(--color-red-500)}.bg-red-900{background-color:var(--color-red-900)}.bg-yellow-500{background-color:var(--color-yellow-500)}.bg-yellow-900{background-color:var(--color-yellow-900)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.px-1{padding-inline:var(--spacing)}.px-1\\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-\\[5px\\]{padding-inline:5px}.py-0\\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-px{padding-block:1px}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-3{padding-right:calc(var(--spacing) * 3)}.align-top{vertical-align:top}.font-mono{font-family:var(--font-mono)}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[9px\\]{font-size:9px}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-\\[0\\.4px\\]{--tw-tracking:.4px;letter-spacing:.4px}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.text-blue-400{color:var(--color-blue-400)}.text-green-300{color:var(--color-green-300)}.text-green-400{color:var(--color-green-400)}.text-neutral-200{color:var(--color-neutral-200)}.text-neutral-300{color:var(--color-neutral-300)}.text-neutral-400{color:var(--color-neutral-400)}.text-neutral-500{color:var(--color-neutral-500)}.text-purple-400{color:var(--color-purple-400)}.text-red-300{color:var(--color-red-300)}.text-white{color:var(--color-white)}.text-yellow-300{color:var(--color-yellow-300)}.text-yellow-400{color:var(--color-yellow-400)}.uppercase{text-transform:uppercase}.opacity-40{opacity:.4}.opacity-80{opacity:.8}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}@media(hover:hover){.hover\\:text-white:hover{color:var(--color-white)}.hover\\:opacity-100:hover{opacity:1}}#vue-muza-devtools-root{--dt-background:oklch(22% .025 250);--dt-surface-sunken:oklch(15% .022 250);--dt-surface:oklch(19% .023 250);--dt-surface-raised:oklch(26% .024 250);--dt-surface-active:oklch(29% .022 250);--dt-primary:oklch(65% .25 282);--dt-primary-subtle:oklch(24% .1 282);--dt-foreground:oklch(90% .014 250);--dt-foreground-secondary:oklch(65% .018 250);--dt-foreground-muted:oklch(50% .018 250);--dt-foreground-subtle:oklch(38% .015 250);--dt-border-subtle:oklch(26% .02 250);--dt-border:oklch(32% .022 250);--dt-border-strong:oklch(42% .018 250);--dt-vue-green:oklch(78% .17 155);--dt-vue-green-subtle:oklch(24% .07 155);--dt-nav:oklch(16% .024 250);--dt-danger:oklch(63% .22 25);--dt-danger-subtle:oklch(24% .08 25);--dt-warning:oklch(74% .17 75);--dt-warning-subtle:oklch(24% .07 75);--dt-info:oklch(66% .18 240);--dt-info-subtle:oklch(24% .07 240);--dt-success:oklch(78% .17 155);--dt-success-subtle:oklch(24% .07 155)}@media(prefers-reduced-motion:reduce){#vue-muza-devtools-root .panel-enter-active,#vue-muza-devtools-root .panel-leave-active{transition:opacity .15s ease-out!important}#vue-muza-devtools-root .panel-enter-from,#vue-muza-devtools-root .panel-leave-to{opacity:0;transform:none!important}#vue-muza-devtools-root .settings-menu-enter-active,#vue-muza-devtools-root .settings-menu-leave-active{transition:opacity .1s ease-out!important}#vue-muza-devtools-root .settings-menu-enter-from,#vue-muza-devtools-root .settings-menu-leave-to{opacity:0;transform:none!important}#vue-muza-devtools-root .tree-arrow:before{transition:none!important}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}/*! tailwindcss v4.3.1 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-99118e1d],[data-v-99118e1d]:before,[data-v-99118e1d]:after,[data-v-99118e1d]::backdrop{--tw-border-style:solid;--tw-font-weight:initial;--tw-tracking:initial}}}.feature-badges[data-v-99118e1d]{align-items:center;gap:var(--spacing,.25rem);flex-shrink:0;display:flex;overflow:hidden}.badge[data-v-99118e1d]{border-style:var(--tw-border-style);--tw-border-style:solid;--tw-font-weight:var(--font-weight-semibold,600);font-size:9px;font-weight:var(--font-weight-semibold,600);--tw-tracking:.4px;letter-spacing:.4px;white-space:nowrap;text-transform:uppercase;border-style:solid;border-width:1px;border-radius:3px;flex-shrink:0;padding-block:1px;padding-inline:5px}.sep[data-v-99118e1d]{margin-inline:calc(var(--spacing,.25rem) * .5);opacity:.4}.badge--cache[data-v-99118e1d]{color:#00adb4;color:oklch(68% .18 200);background:#002023;background:oklch(22% .07 200);border-color:#003c3f;border-color:oklch(32% .1 200)}.badge--swr[data-v-99118e1d]{color:#00999f;color:oklch(62% .16 200);background:#002023;background:oklch(22% .07 200);border-color:#003c3f;border-color:oklch(32% .1 200)}.badge--retry[data-v-99118e1d]{color:#e88b00;color:oklch(72% .17 65);background:#2a1500;background:oklch(22% .07 65);border-color:#522e00;border-color:oklch(34% .1 65)}.badge--debounce[data-v-99118e1d]{color:#d78100;color:oklch(68% .16 65);background:#2a1500;background:oklch(22% .07 65);border-color:#522e00;border-color:oklch(34% .1 65)}.badge--polling[data-v-99118e1d]{color:#e88b00;color:oklch(72% .17 65);background:#2a1500;background:oklch(22% .07 65);border-color:#522e00;border-color:oklch(34% .1 65)}.badge--batch[data-v-99118e1d]{color:#6f83c3;background:#0d142c;border-color:#202b51}.badge--lazy[data-v-99118e1d]{color:#5f6fa1;background:#0f1528;border-color:#1d2746}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}.request-row[data-v-e5492c3f]{display:flex;align-items:stretch;cursor:pointer;border-bottom:1px solid var(--dt-border-subtle);transition:background .12s;position:relative;min-height:52px}.request-row[data-v-e5492c3f]:hover{background:var(--dt-surface)}.request-row--active[data-v-e5492c3f]{background:var(--dt-surface-raised)}.request-row--active[data-v-e5492c3f]:after{content:"";position:absolute;right:0;top:0;bottom:0;width:2px;background:var(--dt-primary)}.accent-bar[data-v-e5492c3f]{width:3px;flex-shrink:0}.accent-bar--success[data-v-e5492c3f]{background:var(--dt-vue-green)}.accent-bar--error[data-v-e5492c3f]{background:var(--dt-danger)}.accent-bar--pending[data-v-e5492c3f],.accent-bar--aborted[data-v-e5492c3f]{background:var(--dt-foreground-subtle)}.row-body[data-v-e5492c3f]{flex:1;min-width:0;padding:9px 12px}.row-top[data-v-e5492c3f]{display:flex;align-items:center;gap:8px;margin-bottom:5px;min-width:0}.row-url[data-v-e5492c3f]{font-size:12px;font-weight:500;color:var(--dt-foreground);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0}.row-meta[data-v-e5492c3f]{display:flex;align-items:center;gap:10px;font-size:11px}.meta-duration[data-v-e5492c3f]{color:var(--dt-foreground-muted)}.meta-time[data-v-e5492c3f]{color:var(--dt-foreground-subtle);margin-left:auto}.method-badge[data-v-e5492c3f]{font-size:10px;font-weight:700;letter-spacing:.3px;padding:2px 6px;border-radius:4px;flex-shrink:0;font-family:SF Mono,Fira Code,Consolas,monospace}.method-get[data-v-e5492c3f]{background:var(--dt-info-subtle);color:var(--dt-info)}.method-post[data-v-e5492c3f]{background:var(--dt-success-subtle);color:var(--dt-success)}.method-put[data-v-e5492c3f]{background:var(--dt-warning-subtle);color:var(--dt-warning)}.method-patch[data-v-e5492c3f]{background:#002629;background:oklch(24% .07 200);color:#00a6ad;color:oklch(66% .18 200)}.method-delete[data-v-e5492c3f]{background:var(--dt-danger-subtle);color:var(--dt-danger)}.detail-header[data-v-ee649b7a]{display:flex;align-items:center;gap:10px;padding:9px 14px;background:var(--dt-nav);border-bottom:1px solid var(--dt-border-subtle);flex-shrink:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.status-chip[data-v-ee649b7a]{font-size:11px;font-weight:700;padding:2px 7px;border-radius:5px;flex-shrink:0}.s-2xx[data-v-ee649b7a]{background:var(--dt-success-subtle);color:var(--dt-success)}.s-3xx[data-v-ee649b7a]{background:var(--dt-info-subtle);color:var(--dt-info)}.s-4xx[data-v-ee649b7a]{background:var(--dt-warning-subtle);color:var(--dt-warning)}.s-5xx[data-v-ee649b7a]{background:var(--dt-danger-subtle);color:var(--dt-danger)}.s-pending[data-v-ee649b7a]{background:var(--dt-surface-raised);color:var(--dt-foreground-subtle)}.req-method[data-v-ee649b7a]{font-size:12px;font-weight:600;color:var(--dt-foreground-secondary);flex-shrink:0}.req-url[data-v-ee649b7a]{font-size:12px;font-weight:500;color:var(--dt-foreground);flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.req-meta[data-v-ee649b7a]{display:flex;gap:12px;flex-shrink:0;font-size:11px;color:var(--dt-foreground-muted)}.close-btn[data-v-ee649b7a]{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:5px;border:none;background:transparent;color:var(--dt-foreground-muted);cursor:pointer;flex-shrink:0;transition:background .12s ease-out,color .12s ease-out,transform .12s ease-out}.close-btn[data-v-ee649b7a]:active{transform:scale(.97)}.close-btn[data-v-ee649b7a]:hover{background:var(--dt-surface-raised);color:var(--dt-foreground)}.detail-tabs[data-v-c3c26245]{display:flex;background:var(--dt-nav);border-bottom:1px solid var(--dt-border-subtle);flex-shrink:0}.tab-btn[data-v-c3c26245]{height:36px;padding:0 14px;font-size:12px;font-weight:500;color:var(--dt-foreground-muted);cursor:pointer;border:none;background:transparent;border-bottom:2px solid transparent;transition:color .15s ease-out,border-color .15s ease-out,transform .12s ease-out;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.tab-btn[data-v-c3c26245]:hover{color:var(--dt-foreground-secondary)}.tab-btn[data-v-c3c26245]:active{transform:scale(.97)}.tab-btn--active[data-v-c3c26245]{color:var(--dt-primary);border-bottom-color:var(--dt-primary)}.json-root[data-v-4994acd4]{font-family:SF Mono,Fira Code,Consolas,monospace;font-size:12px;line-height:1.7;white-space:pre;overflow-x:auto;color:var(--dt-foreground);margin:0}.json-root[data-v-4994acd4] .json-key{color:#6da4ff;color:oklch(72% .17 260)}.json-root[data-v-4994acd4] .json-string{color:#54bf5c}.json-root[data-v-4994acd4] .json-number{color:#fe860f}.json-root[data-v-4994acd4] .json-bool{color:#ff716b;color:oklch(72% .18 25)}.tree-node[data-v-e08fddee]{font-family:SF Mono,Fira Code,Consolas,monospace;font-size:12px}.tree-row[data-v-e08fddee]{display:flex;align-items:center;gap:3px;line-height:1.7;min-height:22px}.tree-row[data-v-e08fddee]:hover{background:var(--dt-surface-raised, #ffffff08)}.tree-arrow[data-v-e08fddee]{width:14px;height:14px;flex-shrink:0;color:var(--dt-foreground-subtle, #6b7280);cursor:pointer;-webkit-user-select:none;user-select:none;display:flex;align-items:center;justify-content:center}.tree-arrow[data-v-e08fddee]:hover{color:var(--dt-primary, #a78bfa)}.tree-arrow[data-v-e08fddee]:before{content:"";display:block;width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg);transition:transform .15s cubic-bezier(.23,1,.32,1);margin-top:-2px}.tree-arrow--open[data-v-e08fddee]:before{transform:rotate(45deg)}.tree-key[data-v-e08fddee]{color:#a491ff;color:oklch(72% .17 290);flex-shrink:0}.tree-colon[data-v-e08fddee]{color:var(--dt-border-strong, #374151);flex-shrink:0}.tree-badge[data-v-e08fddee]{display:inline-flex;align-items:center;gap:4px;background:var(--dt-surface-raised, #1e1b4b);border:1px solid var(--dt-border, #3730a3);color:#6da4ff;color:oklch(72% .17 260);border-radius:3px;padding:0 6px;font-size:11px;cursor:pointer;transition:background .1s,color .1s}.tree-badge[data-v-e08fddee]:hover{background:var(--dt-primary-subtle, #312e81);color:var(--dt-primary, #a78bfa)}.tree-val--string[data-v-e08fddee]{color:#54bf5c}.tree-val--number[data-v-e08fddee]{color:#fe860f}.tree-val--boolean[data-v-e08fddee]{color:#ff716b;color:oklch(72% .18 25)}.tree-val--null[data-v-e08fddee]{color:var(--dt-foreground-subtle, #6b7280)}.tree-viewer[data-v-f9bec403]{padding:4px 0}.data-pane[data-v-096ab11d]{display:flex;flex-direction:column;height:100%;overflow:hidden}.pane-header[data-v-096ab11d]{display:flex;align-items:center;gap:6px;padding:7px 12px;background:var(--dt-surface);border-bottom:1px solid var(--dt-border-subtle);flex-shrink:0}.pane-title[data-v-096ab11d]{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.6px;color:var(--dt-foreground-muted);flex:1}.pane-action[data-v-096ab11d]{height:22px;padding:0 8px;border-radius:5px;font-size:11px;font-weight:500;cursor:pointer;border:1px solid var(--dt-border);background:transparent;color:var(--dt-foreground-muted);transition:all .12s;flex-shrink:0}.pane-action[data-v-096ab11d]:hover{background:var(--dt-surface-raised);color:var(--dt-foreground-secondary);border-color:var(--dt-border-strong)}.pane-action--active[data-v-096ab11d]{background:var(--dt-primary-subtle);color:var(--dt-primary);border-color:var(--dt-primary)}.pane-body[data-v-096ab11d]{flex:1;overflow:auto;padding:12px}.pane-body[data-v-096ab11d]::-webkit-scrollbar{width:4px;height:4px}.pane-body[data-v-096ab11d]::-webkit-scrollbar-thumb{background:var(--dt-border-strong);border-radius:2px}.truncated-warning[data-v-096ab11d]{font-size:11px;color:var(--dt-warning);margin-bottom:8px}.payload-pane[data-v-0c05535b]{display:flex;flex-direction:column;height:100%;overflow:hidden}.pane-header[data-v-0c05535b]{display:flex;align-items:center;gap:6px;padding:7px 12px;background:var(--dt-surface);border-bottom:1px solid var(--dt-border-subtle);flex-shrink:0}.pane-title[data-v-0c05535b]{font-size:10px;font-weight:600;letter-spacing:.6px;color:var(--dt-foreground-muted);flex:1}.pane-action[data-v-0c05535b]{height:22px;padding:0 8px;border-radius:5px;font-size:11px;font-weight:500;cursor:pointer;border:1px solid var(--dt-border);background:transparent;color:var(--dt-foreground-muted);transition:all .12s;flex-shrink:0}.pane-action[data-v-0c05535b]:hover{background:var(--dt-surface-raised);color:var(--dt-foreground-secondary);border-color:var(--dt-border-strong)}.pane-action--active[data-v-0c05535b]{background:var(--dt-primary-subtle);color:var(--dt-primary);border-color:var(--dt-primary)}.section-label[data-v-0c05535b]{display:flex;align-items:center;justify-content:space-between;padding:4px 12px;font-size:9px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--dt-foreground-subtle);background:var(--dt-surface);border-bottom:1px solid var(--dt-border-subtle);flex-shrink:0}.section-count[data-v-0c05535b]{background:var(--dt-primary-subtle);color:var(--dt-primary);border-radius:3px;padding:1px 5px;font-size:9px}.section-body[data-v-0c05535b]{overflow:auto;padding:6px 12px;flex-shrink:0;max-height:50%}.section-body[data-v-0c05535b]::-webkit-scrollbar{width:4px;height:4px}.section-body[data-v-0c05535b]::-webkit-scrollbar-thumb{background:var(--dt-border-strong);border-radius:2px}.section-empty[data-v-0c05535b]{padding:8px 12px;font-size:11px;font-family:SF Mono,Fira Code,Consolas,monospace;color:var(--dt-foreground-subtle);flex-shrink:0}.section-divider[data-v-0c05535b]{height:1px;background:var(--dt-border-subtle);flex-shrink:0}.truncated-warning[data-v-0c05535b]{font-size:11px;color:var(--dt-warning);margin-bottom:8px}.split-view[data-v-b07544b9]{display:flex;height:100%;overflow:hidden}.split-view--row[data-v-b07544b9]{flex-direction:row}.split-view--stacked[data-v-b07544b9]{flex-direction:column}.split-pane[data-v-b07544b9]{flex:1;overflow:hidden}.split-view--row .split-pane[data-v-b07544b9]{min-width:120px}.split-view--stacked .split-pane[data-v-b07544b9]{min-height:80px}.split-handle[data-v-b07544b9]{flex-shrink:0;background:var(--dt-border-subtle);transition:background .15s}.split-handle--v[data-v-b07544b9]{width:5px;cursor:col-resize}.split-handle--h[data-v-b07544b9]{height:5px;cursor:row-resize}.split-handle[data-v-b07544b9]:hover{background:var(--dt-primary)}.request-detail[data-v-5e83c1d2]{display:flex;flex-direction:column;height:100%;overflow:hidden;background:var(--dt-surface-sunken)}.detail-content[data-v-5e83c1d2]{flex:1;overflow:hidden;display:flex;flex-direction:column}.headers-view[data-v-5e83c1d2]{flex:1;padding:12px;overflow-y:auto;font-family:SF Mono,Fira Code,Consolas,monospace;font-size:12px}.headers-view[data-v-5e83c1d2]::-webkit-scrollbar{width:4px}.headers-view[data-v-5e83c1d2]::-webkit-scrollbar-thumb{background:var(--dt-border-strong);border-radius:2px}.header-row[data-v-5e83c1d2]{display:flex;gap:12px;padding:6px 0;border-bottom:1px solid var(--dt-border-subtle)}.header-row[data-v-5e83c1d2]:last-child{border-bottom:none}.header-key[data-v-5e83c1d2]{color:#6da4ff;color:oklch(72% .17 260);width:38%;flex-shrink:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-val[data-v-5e83c1d2]{color:var(--dt-foreground-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.empty-msg[data-v-5e83c1d2]{color:var(--dt-foreground-subtle);font-size:12px}.select-input[data-v-e6ef5dc9]{width:200px;height:30px;background:var(--dt-surface);border:1px solid var(--dt-border);border-radius:7px;color:var(--dt-foreground-secondary);font-size:12px;padding:0 8px;cursor:pointer;outline:none;flex-shrink:0}.select-input[data-v-e6ef5dc9]:focus{border-color:var(--dt-primary)}.network-tab[data-v-32459aba]{display:flex;flex-direction:column;height:100%;background:var(--dt-background);position:relative}.toolbar[data-v-32459aba]{display:flex;align-items:center;gap:8px;padding:9px 12px;background:var(--dt-surface);border-bottom:1px solid var(--dt-border-subtle);flex-shrink:0;overflow-x:auto;scrollbar-width:none}.toolbar[data-v-32459aba]::-webkit-scrollbar{display:none}.toolbar-input[data-v-32459aba]{flex:1;height:30px;background:var(--dt-surface);border:1px solid var(--dt-border);border-radius:7px;color:var(--dt-foreground);font-size:12px;padding:0 10px;outline:none}.toolbar-input[data-v-32459aba]::placeholder{color:var(--dt-foreground-subtle)}.toolbar-input[data-v-32459aba]:focus{border-color:var(--dt-primary)}.toolbar-btn[data-v-32459aba]{height:30px;padding:0 12px;background:transparent;border:1px solid var(--dt-border);border-radius:7px;color:var(--dt-foreground-muted);font-size:12px;cursor:pointer;white-space:nowrap;flex-shrink:0;transition:background .15s ease-out,color .15s ease-out,border-color .15s ease-out,transform .12s ease-out}.toolbar-btn[data-v-32459aba]:active{transform:scale(.97)}.toolbar-btn[data-v-32459aba]:hover{background:var(--dt-surface-raised);color:var(--dt-foreground)}.toolbar-btn--danger[data-v-32459aba]:hover{background:#250e10;color:#f9667a;border-color:#5d262d}.filter-bar[data-v-32459aba]{display:flex;align-items:center;gap:4px;padding:7px 12px;background:var(--dt-surface);border-bottom:1px solid var(--dt-border-subtle);flex-shrink:0;overflow-x:auto;scrollbar-width:none}.filter-bar[data-v-32459aba]::-webkit-scrollbar{display:none}.filter-pill[data-v-32459aba]{height:24px;padding:0 10px;border-radius:99px;font-size:11px;font-weight:500;cursor:pointer;border:1px solid transparent;background:transparent;color:var(--dt-foreground-muted);text-transform:capitalize;transition:background .15s ease-out,color .15s ease-out,border-color .15s ease-out,transform .12s ease-out}.filter-pill[data-v-32459aba]:active{transform:scale(.97)}.filter-pill[data-v-32459aba]:hover{background:var(--dt-surface-raised);color:var(--dt-foreground-secondary)}.filter-pill--active[data-v-32459aba]{background:var(--dt-primary-subtle);color:var(--dt-primary);border-color:var(--dt-primary)}.filter-count[data-v-32459aba]{margin-left:auto;font-size:11px;color:var(--dt-foreground-subtle)}.main-split[data-v-32459aba]{display:flex;flex:1;overflow:hidden}.list-pane[data-v-32459aba]{min-width:180px;display:flex;flex-direction:column;overflow:hidden;flex-shrink:0}.detail-pane[data-v-32459aba]{flex:1;min-width:200px;overflow:hidden}.drag-handle[data-v-32459aba]{width:5px;flex-shrink:0;cursor:col-resize;background:var(--dt-border-subtle);transition:background .15s ease-out}.drag-handle[data-v-32459aba]:hover{background:var(--dt-primary)}.settings-menu[data-v-32459aba]{position:absolute;right:8px;top:0;z-index:100;background:var(--dt-nav);border:1px solid var(--dt-border);border-radius:8px;padding:4px;box-shadow:0 8px 24px #00000080;min-width:160px;transform-origin:top right}.settings-item[data-v-32459aba]{display:flex;align-items:center;gap:8px;width:100%;padding:6px 10px;border:none;background:transparent;color:var(--dt-foreground);font-size:12px;cursor:pointer;border-radius:5px;text-align:left;transition:background .12s ease-out,transform .12s ease-out}.settings-item[data-v-32459aba]:active{transform:scale(.97)}.settings-item[data-v-32459aba]:hover{background:var(--dt-surface-raised)}.settings-check[data-v-32459aba]{width:14px;height:14px;border:1px solid var(--dt-border-strong);border-radius:3px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#fff}.settings-check--on[data-v-32459aba]{background:var(--dt-primary);border-color:var(--dt-primary)}.settings-menu-enter-active[data-v-32459aba]{transition:transform .15s cubic-bezier(.23,1,.32,1),opacity .15s ease-out}.settings-menu-leave-active[data-v-32459aba]{transition:transform .1s ease-in,opacity .1s ease-in}.settings-menu-enter-from[data-v-32459aba],.settings-menu-leave-to[data-v-32459aba]{transform:scale(.95) translateY(-4px);opacity:0}')), document.head.appendChild(e);
|
|
64
|
+
e.appendChild(document.createTextNode('.logo-badge[data-v-f1971a55]{display:inline-flex;align-items:center;gap:7px;height:26px;padding:0 11px 0 9px;background:var(--dt-primary);border-radius:99px;color:#fff;font-size:12px;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;box-shadow:0 1px 6px #7c7bff59;box-shadow:0 1px 6px oklch(65% .25 280 / .35);-webkit-user-select:none;user-select:none;flex-shrink:0}.tab-bar[data-v-1b140f4a]{display:flex;align-items:center;background:var(--dt-nav);border-bottom:1px solid var(--dt-border-subtle);flex-shrink:0}.logo-slot[data-v-1b140f4a]{display:flex;align-items:center;padding:0 10px 0 12px;flex-shrink:0;opacity:.85}.tab-list[data-v-1b140f4a]{display:flex;align-items:center;flex:1;padding:0 6px;gap:2px;overflow-x:auto;scrollbar-width:none}.tab-list[data-v-1b140f4a]::-webkit-scrollbar{display:none}.tab-btn[data-v-1b140f4a]{display:flex;align-items:center;gap:6px;height:38px;padding:0 12px;font-size:13px;font-weight:500;cursor:pointer;border:none;background:transparent;border-bottom:2px solid transparent;transition:color .15s ease-out,border-color .15s ease-out,transform .12s ease-out}.tab-btn[data-v-1b140f4a]:active{transform:scale(.97)}.tab-btn--active[data-v-1b140f4a]{color:var(--dt-vue-green);border-bottom-color:var(--dt-vue-green)}.tab-btn--inactive[data-v-1b140f4a]{color:var(--dt-foreground-muted)}.tab-btn--inactive[data-v-1b140f4a]:hover{color:var(--dt-foreground-secondary);background:var(--dt-surface)}.mode-switcher[data-v-1b140f4a]{display:flex;align-items:center;gap:2px;padding:0 6px;flex-shrink:0}.mode-btn[data-v-1b140f4a]{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:5px;border:none;background:transparent;color:var(--dt-foreground-muted);cursor:pointer;transition:background .12s ease-out,color .12s ease-out,transform .12s ease-out}.mode-btn[data-v-1b140f4a]:active{transform:scale(.97)}.mode-btn[data-v-1b140f4a]:hover{background:var(--dt-surface-raised);color:var(--dt-foreground-secondary)}.mode-btn--active[data-v-1b140f4a]{background:var(--dt-surface-raised);color:var(--dt-primary)}.mode-btn--active[data-v-1b140f4a]:hover{color:var(--dt-primary)}.mode-divider[data-v-1b140f4a]{width:1px;height:18px;background:var(--dt-border-subtle);margin-right:4px;flex-shrink:0}.settings-btn[data-v-1b140f4a]{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:5px;border:none;background:transparent;color:var(--dt-foreground-muted);cursor:pointer;flex-shrink:0;transition:background .12s ease-out,color .12s ease-out,transform .12s ease-out}.settings-btn[data-v-1b140f4a]:active{transform:scale(.97)}.settings-btn[data-v-1b140f4a]:hover{background:var(--dt-surface-raised);color:var(--dt-foreground-secondary)}.close-btn[data-v-1b140f4a]{display:flex;align-items:center;justify-content:center;width:32px;height:32px;margin-right:8px;border-radius:6px;border:none;background:transparent;color:var(--dt-foreground-muted);cursor:pointer;flex-shrink:0;transition:background .12s ease-out,color .12s ease-out,transform .12s ease-out}.close-btn[data-v-1b140f4a]:active{transform:scale(.97)}.close-btn[data-v-1b140f4a]:hover{background:var(--dt-surface-raised);color:var(--dt-foreground)}.launcher-pill[data-v-1b40fea8]{position:fixed;bottom:20px;right:20px;z-index:99999;display:flex;align-items:center;gap:8px;height:36px;padding:0 14px 0 10px;background:var(--dt-primary);border-radius:99px;border:none;cursor:pointer;color:#fff;font-size:13px;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;box-shadow:0 2px 12px #7c7bff59;box-shadow:0 2px 12px oklch(65% .25 280 / .35);transition:transform .15s ease-out,box-shadow .15s ease-out;pointer-events:auto}.launcher-pill[data-v-1b40fea8]:hover{transform:translateY(-1px);box-shadow:0 4px 16px #7c7bff80;box-shadow:0 4px 16px oklch(65% .25 280 / .5)}.launcher-pill[data-v-1b40fea8]:active{transform:scale(.96);box-shadow:0 1px 6px #7c7bff40;box-shadow:0 1px 6px oklch(65% .25 280 / .25)}.devtools-panel[data-v-1b40fea8]{position:fixed;bottom:8px;left:12px;right:12px;z-index:99998;display:flex;flex-direction:column;background:var(--dt-background);color:var(--dt-foreground);border:1px solid var(--dt-border);border-radius:12px;overflow:hidden;pointer-events:auto;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;box-shadow:0 -4px 32px #0000008c,0 0 0 1px #ffffff0a}.resize-handle[data-v-1b40fea8]{height:4px;flex-shrink:0;cursor:row-resize;background:var(--dt-border-subtle);transition:background .15s}.resize-handle[data-v-1b40fea8]:hover{background:var(--dt-primary)}.panel-content[data-v-1b40fea8]{flex:1;overflow:hidden;display:flex;flex-direction:column}.panel-enter-active[data-v-1b40fea8]{transition:transform .22s cubic-bezier(.32,.72,0,1),opacity .2s ease-out}.panel-leave-active[data-v-1b40fea8]{transition:transform .16s ease-in,opacity .16s ease-in}.panel-enter-from[data-v-1b40fea8],.panel-leave-to[data-v-1b40fea8]{transform:translateY(12px);opacity:0}.launcher-pill[data-v-c45ea08a]{position:fixed;bottom:20px;right:20px;z-index:99999;display:flex;align-items:center;gap:8px;height:36px;padding:0 14px 0 10px;background:var(--dt-primary);border-radius:99px;border:none;cursor:pointer;color:#fff;font-size:13px;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;box-shadow:0 2px 12px #7c7bff59;box-shadow:0 2px 12px oklch(65% .25 280 / .35);transition:transform .15s ease-out,box-shadow .15s ease-out;pointer-events:auto}.launcher-pill[data-v-c45ea08a]:hover{transform:translateY(-1px);box-shadow:0 4px 16px #7c7bff80;box-shadow:0 4px 16px oklch(65% .25 280 / .5)}.launcher-pill[data-v-c45ea08a]:active{transform:scale(.96);box-shadow:0 1px 6px #7c7bff40;box-shadow:0 1px 6px oklch(65% .25 280 / .25)}.side-panel[data-v-c45ea08a]{position:fixed;top:10px;right:10px;bottom:10px;z-index:99998;display:flex;flex-direction:row;background:var(--dt-background);color:var(--dt-foreground);border:1px solid var(--dt-border);border-radius:14px;overflow:hidden;pointer-events:auto;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;box-shadow:-8px 0 40px #0000008c,0 0 0 1px #ffffff0a}.resize-handle[data-v-c45ea08a]{width:4px;flex-shrink:0;cursor:col-resize;background:var(--dt-border-subtle);transition:background .15s}.resize-handle[data-v-c45ea08a]:hover{background:var(--dt-primary)}.panel-body[data-v-c45ea08a]{flex:1;display:flex;flex-direction:column;min-width:0;overflow:hidden}.panel-content[data-v-c45ea08a]{flex:1;overflow:hidden;display:flex;flex-direction:column}.panel-enter-active[data-v-c45ea08a]{transition:transform .22s cubic-bezier(.32,.72,0,1),opacity .2s ease-out}.panel-leave-active[data-v-c45ea08a]{transition:transform .16s ease-in,opacity .16s ease-in}.panel-enter-from[data-v-c45ea08a],.panel-leave-to[data-v-c45ea08a]{transform:translate(12px);opacity:0}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-font-weight:initial;--tw-tracking:initial;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}:root,:host{--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-red-300:oklch(80.8% .114 19.571);--color-red-500:oklch(63.7% .237 25.331);--color-red-900:oklch(39.6% .141 25.723);--color-yellow-300:oklch(90.5% .182 98.111);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-900:oklch(42.1% .095 57.708);--color-green-300:oklch(87.1% .15 154.449);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-green-900:oklch(39.3% .095 152.535);--color-blue-400:oklch(70.7% .165 254.624);--color-purple-400:oklch(71.4% .203 305.504);--color-neutral-200:oklch(92.2% 0 0);--color-neutral-300:oklch(87% 0 0);--color-neutral-400:oklch(70.8% 0 0);--color-neutral-500:oklch(55.6% 0 0);--color-neutral-700:oklch(37.1% 0 0);--color-neutral-800:oklch(26.9% 0 0);--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--font-weight-semibold:600;--radius-sm:.25rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1)}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.isolate{isolation:isolate}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.mt-2{margin-top:calc(var(--spacing) * 2)}.ml-auto{margin-left:auto}.flex{display:flex}.hidden{display:none}.inline-flex{display:inline-flex}.h-4{height:calc(var(--spacing) * 4)}.h-6{height:calc(var(--spacing) * 6)}.h-full{height:100%}.w-1\\/2{width:50%}.w-40{width:calc(var(--spacing) * 40)}.w-full{width:100%}.flex-1{flex:1}.flex-shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.cursor-grab{cursor:grab}.cursor-pointer{cursor:pointer}.resize{resize:both}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-between{justify-content:space-between}.gap-1{gap:var(--spacing)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.rounded{border-radius:.25rem}.rounded-\\[3px\\]{border-radius:3px}.rounded-sm{border-radius:var(--radius-sm)}.border{border-style:var(--tw-border-style);border-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-neutral-700{border-color:var(--color-neutral-700)}.border-neutral-800{border-color:var(--color-neutral-800)}.bg-green-500{background-color:var(--color-green-500)}.bg-green-900{background-color:var(--color-green-900)}.bg-neutral-500{background-color:var(--color-neutral-500)}.bg-neutral-700{background-color:var(--color-neutral-700)}.bg-neutral-800{background-color:var(--color-neutral-800)}.bg-red-500{background-color:var(--color-red-500)}.bg-red-900{background-color:var(--color-red-900)}.bg-yellow-500{background-color:var(--color-yellow-500)}.bg-yellow-900{background-color:var(--color-yellow-900)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.px-1{padding-inline:var(--spacing)}.px-1\\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-\\[5px\\]{padding-inline:5px}.py-0\\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-px{padding-block:1px}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-3{padding-right:calc(var(--spacing) * 3)}.align-top{vertical-align:top}.font-mono{font-family:var(--font-mono)}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[9px\\]{font-size:9px}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-\\[0\\.4px\\]{--tw-tracking:.4px;letter-spacing:.4px}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.text-blue-400{color:var(--color-blue-400)}.text-green-300{color:var(--color-green-300)}.text-green-400{color:var(--color-green-400)}.text-neutral-200{color:var(--color-neutral-200)}.text-neutral-300{color:var(--color-neutral-300)}.text-neutral-400{color:var(--color-neutral-400)}.text-neutral-500{color:var(--color-neutral-500)}.text-purple-400{color:var(--color-purple-400)}.text-red-300{color:var(--color-red-300)}.text-white{color:var(--color-white)}.text-yellow-300{color:var(--color-yellow-300)}.text-yellow-400{color:var(--color-yellow-400)}.uppercase{text-transform:uppercase}.opacity-40{opacity:.4}.opacity-80{opacity:.8}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}@media(hover:hover){.hover\\:text-white:hover{color:var(--color-white)}.hover\\:opacity-100:hover{opacity:1}}#vue-muza-devtools-root{--dt-background:oklch(22% .025 250);--dt-surface-sunken:oklch(15% .022 250);--dt-surface:oklch(19% .023 250);--dt-surface-raised:oklch(26% .024 250);--dt-surface-active:oklch(29% .022 250);--dt-primary:oklch(65% .25 282);--dt-primary-subtle:oklch(24% .1 282);--dt-foreground:oklch(90% .014 250);--dt-foreground-secondary:oklch(65% .018 250);--dt-foreground-muted:oklch(50% .018 250);--dt-foreground-subtle:oklch(38% .015 250);--dt-border-subtle:oklch(26% .02 250);--dt-border:oklch(32% .022 250);--dt-border-strong:oklch(42% .018 250);--dt-vue-green:oklch(78% .17 155);--dt-vue-green-subtle:oklch(24% .07 155);--dt-nav:oklch(16% .024 250);--dt-danger:oklch(63% .22 25);--dt-danger-subtle:oklch(24% .08 25);--dt-warning:oklch(74% .17 75);--dt-warning-subtle:oklch(24% .07 75);--dt-info:oklch(66% .18 240);--dt-info-subtle:oklch(24% .07 240);--dt-success:oklch(78% .17 155);--dt-success-subtle:oklch(24% .07 155)}@media(prefers-reduced-motion:reduce){#vue-muza-devtools-root .panel-enter-active,#vue-muza-devtools-root .panel-leave-active{transition:opacity .15s ease-out!important}#vue-muza-devtools-root .panel-enter-from,#vue-muza-devtools-root .panel-leave-to{opacity:0;transform:none!important}#vue-muza-devtools-root .settings-menu-enter-active,#vue-muza-devtools-root .settings-menu-leave-active{transition:opacity .1s ease-out!important}#vue-muza-devtools-root .settings-menu-enter-from,#vue-muza-devtools-root .settings-menu-leave-to{opacity:0;transform:none!important}#vue-muza-devtools-root .tree-arrow:before{transition:none!important}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}/*! tailwindcss v4.3.1 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-99118e1d],[data-v-99118e1d]:before,[data-v-99118e1d]:after,[data-v-99118e1d]::backdrop{--tw-border-style:solid;--tw-font-weight:initial;--tw-tracking:initial}}}.feature-badges[data-v-99118e1d]{align-items:center;gap:var(--spacing,.25rem);flex-shrink:0;display:flex;overflow:hidden}.badge[data-v-99118e1d]{border-style:var(--tw-border-style);--tw-border-style:solid;--tw-font-weight:var(--font-weight-semibold,600);font-size:9px;font-weight:var(--font-weight-semibold,600);--tw-tracking:.4px;letter-spacing:.4px;white-space:nowrap;text-transform:uppercase;border-style:solid;border-width:1px;border-radius:3px;flex-shrink:0;padding-block:1px;padding-inline:5px}.sep[data-v-99118e1d]{margin-inline:calc(var(--spacing,.25rem) * .5);opacity:.4}.badge--cache[data-v-99118e1d]{color:#00adb4;color:oklch(68% .18 200);background:#002023;background:oklch(22% .07 200);border-color:#003c3f;border-color:oklch(32% .1 200)}.badge--swr[data-v-99118e1d]{color:#00999f;color:oklch(62% .16 200);background:#002023;background:oklch(22% .07 200);border-color:#003c3f;border-color:oklch(32% .1 200)}.badge--retry[data-v-99118e1d]{color:#e88b00;color:oklch(72% .17 65);background:#2a1500;background:oklch(22% .07 65);border-color:#522e00;border-color:oklch(34% .1 65)}.badge--debounce[data-v-99118e1d]{color:#d78100;color:oklch(68% .16 65);background:#2a1500;background:oklch(22% .07 65);border-color:#522e00;border-color:oklch(34% .1 65)}.badge--polling[data-v-99118e1d]{color:#e88b00;color:oklch(72% .17 65);background:#2a1500;background:oklch(22% .07 65);border-color:#522e00;border-color:oklch(34% .1 65)}.badge--batch[data-v-99118e1d]{color:#6f83c3;background:#0d142c;border-color:#202b51}.badge--lazy[data-v-99118e1d]{color:#5f6fa1;background:#0f1528;border-color:#1d2746}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}.request-row[data-v-e5492c3f]{display:flex;align-items:stretch;cursor:pointer;border-bottom:1px solid var(--dt-border-subtle);transition:background .12s;position:relative;min-height:52px}.request-row[data-v-e5492c3f]:hover{background:var(--dt-surface)}.request-row--active[data-v-e5492c3f]{background:var(--dt-surface-raised)}.request-row--active[data-v-e5492c3f]:after{content:"";position:absolute;right:0;top:0;bottom:0;width:2px;background:var(--dt-primary)}.accent-bar[data-v-e5492c3f]{width:3px;flex-shrink:0}.accent-bar--success[data-v-e5492c3f]{background:var(--dt-vue-green)}.accent-bar--error[data-v-e5492c3f]{background:var(--dt-danger)}.accent-bar--pending[data-v-e5492c3f],.accent-bar--aborted[data-v-e5492c3f]{background:var(--dt-foreground-subtle)}.row-body[data-v-e5492c3f]{flex:1;min-width:0;padding:9px 12px}.row-top[data-v-e5492c3f]{display:flex;align-items:center;gap:8px;margin-bottom:5px;min-width:0}.row-url[data-v-e5492c3f]{font-size:12px;font-weight:500;color:var(--dt-foreground);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0}.row-meta[data-v-e5492c3f]{display:flex;align-items:center;gap:10px;font-size:11px}.meta-duration[data-v-e5492c3f]{color:var(--dt-foreground-muted)}.meta-time[data-v-e5492c3f]{color:var(--dt-foreground-subtle);margin-left:auto}.method-badge[data-v-e5492c3f]{font-size:10px;font-weight:700;letter-spacing:.3px;padding:2px 6px;border-radius:4px;flex-shrink:0;font-family:SF Mono,Fira Code,Consolas,monospace}.method-get[data-v-e5492c3f]{background:var(--dt-info-subtle);color:var(--dt-info)}.method-post[data-v-e5492c3f]{background:var(--dt-success-subtle);color:var(--dt-success)}.method-put[data-v-e5492c3f]{background:var(--dt-warning-subtle);color:var(--dt-warning)}.method-patch[data-v-e5492c3f]{background:#002629;background:oklch(24% .07 200);color:#00a6ad;color:oklch(66% .18 200)}.method-delete[data-v-e5492c3f]{background:var(--dt-danger-subtle);color:var(--dt-danger)}.detail-header[data-v-ee649b7a]{display:flex;align-items:center;gap:10px;padding:9px 14px;background:var(--dt-nav);border-bottom:1px solid var(--dt-border-subtle);flex-shrink:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.status-chip[data-v-ee649b7a]{font-size:11px;font-weight:700;padding:2px 7px;border-radius:5px;flex-shrink:0}.s-2xx[data-v-ee649b7a]{background:var(--dt-success-subtle);color:var(--dt-success)}.s-3xx[data-v-ee649b7a]{background:var(--dt-info-subtle);color:var(--dt-info)}.s-4xx[data-v-ee649b7a]{background:var(--dt-warning-subtle);color:var(--dt-warning)}.s-5xx[data-v-ee649b7a]{background:var(--dt-danger-subtle);color:var(--dt-danger)}.s-pending[data-v-ee649b7a]{background:var(--dt-surface-raised);color:var(--dt-foreground-subtle)}.req-method[data-v-ee649b7a]{font-size:12px;font-weight:600;color:var(--dt-foreground-secondary);flex-shrink:0}.req-url[data-v-ee649b7a]{font-size:12px;font-weight:500;color:var(--dt-foreground);flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.req-meta[data-v-ee649b7a]{display:flex;gap:12px;flex-shrink:0;font-size:11px;color:var(--dt-foreground-muted)}.close-btn[data-v-ee649b7a]{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:5px;border:none;background:transparent;color:var(--dt-foreground-muted);cursor:pointer;flex-shrink:0;transition:background .12s ease-out,color .12s ease-out,transform .12s ease-out}.close-btn[data-v-ee649b7a]:active{transform:scale(.97)}.close-btn[data-v-ee649b7a]:hover{background:var(--dt-surface-raised);color:var(--dt-foreground)}.detail-tabs[data-v-21fda150]{display:flex;background:var(--dt-nav);border-bottom:1px solid var(--dt-border-subtle);flex-shrink:0}.tab-btn[data-v-21fda150]{height:36px;padding:0 14px;font-size:12px;font-weight:500;color:var(--dt-foreground-muted);cursor:pointer;border:none;background:transparent;border-bottom:2px solid transparent;transition:color .15s ease-out,border-color .15s ease-out,transform .12s ease-out;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.tab-btn[data-v-21fda150]:hover{color:var(--dt-foreground-secondary)}.tab-btn[data-v-21fda150]:active{transform:scale(.97)}.tab-btn--active[data-v-21fda150]{color:var(--dt-primary);border-bottom-color:var(--dt-primary)}.tab-btn--error[data-v-21fda150]{color:var(--dt-danger)}.tab-btn--error.tab-btn--active[data-v-21fda150]{color:var(--dt-danger);border-bottom-color:var(--dt-danger)}.json-root[data-v-4994acd4]{font-family:SF Mono,Fira Code,Consolas,monospace;font-size:12px;line-height:1.7;white-space:pre;overflow-x:auto;color:var(--dt-foreground);margin:0}.json-root[data-v-4994acd4] .json-key{color:#6da4ff;color:oklch(72% .17 260)}.json-root[data-v-4994acd4] .json-string{color:#54bf5c}.json-root[data-v-4994acd4] .json-number{color:#fe860f}.json-root[data-v-4994acd4] .json-bool{color:#ff716b;color:oklch(72% .18 25)}.tree-node[data-v-e08fddee]{font-family:SF Mono,Fira Code,Consolas,monospace;font-size:12px}.tree-row[data-v-e08fddee]{display:flex;align-items:center;gap:3px;line-height:1.7;min-height:22px}.tree-row[data-v-e08fddee]:hover{background:var(--dt-surface-raised, #ffffff08)}.tree-arrow[data-v-e08fddee]{width:14px;height:14px;flex-shrink:0;color:var(--dt-foreground-subtle, #6b7280);cursor:pointer;-webkit-user-select:none;user-select:none;display:flex;align-items:center;justify-content:center}.tree-arrow[data-v-e08fddee]:hover{color:var(--dt-primary, #a78bfa)}.tree-arrow[data-v-e08fddee]:before{content:"";display:block;width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg);transition:transform .15s cubic-bezier(.23,1,.32,1);margin-top:-2px}.tree-arrow--open[data-v-e08fddee]:before{transform:rotate(45deg)}.tree-key[data-v-e08fddee]{color:#a491ff;color:oklch(72% .17 290);flex-shrink:0}.tree-colon[data-v-e08fddee]{color:var(--dt-border-strong, #374151);flex-shrink:0}.tree-badge[data-v-e08fddee]{display:inline-flex;align-items:center;gap:4px;background:var(--dt-surface-raised, #1e1b4b);border:1px solid var(--dt-border, #3730a3);color:#6da4ff;color:oklch(72% .17 260);border-radius:3px;padding:0 6px;font-size:11px;cursor:pointer;transition:background .1s,color .1s}.tree-badge[data-v-e08fddee]:hover{background:var(--dt-primary-subtle, #312e81);color:var(--dt-primary, #a78bfa)}.tree-val--string[data-v-e08fddee]{color:#54bf5c}.tree-val--number[data-v-e08fddee]{color:#fe860f}.tree-val--boolean[data-v-e08fddee]{color:#ff716b;color:oklch(72% .18 25)}.tree-val--null[data-v-e08fddee]{color:var(--dt-foreground-subtle, #6b7280)}.tree-viewer[data-v-f9bec403]{padding:4px 0}.data-pane[data-v-8bc783c0]{display:flex;flex-direction:column;height:100%;overflow:hidden}.pane-header[data-v-8bc783c0]{display:flex;align-items:center;gap:6px;padding:7px 12px;background:var(--dt-surface);border-bottom:1px solid var(--dt-border-subtle);flex-shrink:0}.pane-title[data-v-8bc783c0]{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.6px;color:var(--dt-foreground-muted);flex:1}.pane-action[data-v-8bc783c0]{height:22px;padding:0 8px;border-radius:5px;font-size:11px;font-weight:500;cursor:pointer;border:1px solid var(--dt-border);background:transparent;color:var(--dt-foreground-muted);transition:all .12s;flex-shrink:0}.pane-action[data-v-8bc783c0]:hover{background:var(--dt-surface-raised);color:var(--dt-foreground-secondary);border-color:var(--dt-border-strong)}.pane-action--active[data-v-8bc783c0]{background:var(--dt-primary-subtle);color:var(--dt-primary);border-color:var(--dt-primary)}.pane-body[data-v-8bc783c0]{flex:1;overflow:auto;padding:12px}.pane-body[data-v-8bc783c0]::-webkit-scrollbar{width:4px;height:4px}.pane-body[data-v-8bc783c0]::-webkit-scrollbar-thumb{background:var(--dt-border-strong);border-radius:2px}.error-banner[data-v-8bc783c0]{display:flex;align-items:baseline;gap:8px;padding:8px 12px;background:var(--dt-danger-subtle);border-bottom:1px solid var(--dt-danger);flex-shrink:0}.error-banner-status[data-v-8bc783c0]{font-size:11px;font-weight:700;color:var(--dt-danger);flex-shrink:0}.error-banner-message[data-v-8bc783c0]{font-size:11px;color:#d2a09b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.truncated-warning[data-v-8bc783c0]{font-size:11px;color:var(--dt-warning);margin-bottom:8px}.payload-pane[data-v-19e92b16]{display:flex;flex-direction:column;height:100%;overflow:hidden}.pane-header[data-v-19e92b16]{display:flex;align-items:center;gap:6px;padding:7px 12px;background:var(--dt-surface);border-bottom:1px solid var(--dt-border-subtle);flex-shrink:0}.pane-title[data-v-19e92b16]{font-size:10px;font-weight:600;letter-spacing:.6px;color:var(--dt-foreground-muted);flex:1}.pane-action[data-v-19e92b16]{height:22px;padding:0 8px;border-radius:5px;font-size:11px;font-weight:500;cursor:pointer;border:1px solid var(--dt-border);background:transparent;color:var(--dt-foreground-muted);transition:all .12s;flex-shrink:0}.pane-action[data-v-19e92b16]:hover{background:var(--dt-surface-raised);color:var(--dt-foreground-secondary);border-color:var(--dt-border-strong)}.pane-action--active[data-v-19e92b16]{background:var(--dt-primary-subtle);color:var(--dt-primary);border-color:var(--dt-primary)}.section-label[data-v-19e92b16]{display:flex;align-items:center;justify-content:space-between;padding:4px 12px;font-size:9px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--dt-foreground-subtle);background:var(--dt-surface);border-bottom:1px solid var(--dt-border-subtle);flex-shrink:0}.section-count[data-v-19e92b16]{background:var(--dt-primary-subtle);color:var(--dt-primary);border-radius:3px;padding:1px 5px;font-size:9px}.section-body[data-v-19e92b16]{overflow:auto;padding:6px 12px;flex-shrink:0;max-height:50%}.section-body[data-v-19e92b16]::-webkit-scrollbar{width:4px;height:4px}.section-body[data-v-19e92b16]::-webkit-scrollbar-thumb{background:var(--dt-border-strong);border-radius:2px}.section-empty[data-v-19e92b16]{padding:8px 12px;font-size:11px;font-family:SF Mono,Fira Code,Consolas,monospace;color:var(--dt-foreground-secondary);flex-shrink:0}.section-divider[data-v-19e92b16]{height:1px;background:var(--dt-border-subtle);flex-shrink:0}.truncated-warning[data-v-19e92b16]{font-size:11px;color:var(--dt-warning);margin-bottom:8px}.split-view[data-v-540c6abf]{display:flex;height:100%;overflow:hidden}.split-view--row[data-v-540c6abf]{flex-direction:row}.split-view--stacked[data-v-540c6abf]{flex-direction:column}.split-pane[data-v-540c6abf]{flex:1;overflow:hidden}.split-view--row .split-pane[data-v-540c6abf]{min-width:120px}.split-view--stacked .split-pane[data-v-540c6abf]{min-height:80px}.split-handle[data-v-540c6abf]{flex-shrink:0;background:var(--dt-border-subtle);transition:background .15s}.split-handle--v[data-v-540c6abf]{width:5px;cursor:col-resize}.split-handle--h[data-v-540c6abf]{height:5px;cursor:row-resize}.split-handle[data-v-540c6abf]:hover{background:var(--dt-primary)}.request-detail[data-v-097724fd]{display:flex;flex-direction:column;height:100%;overflow:hidden;background:var(--dt-surface-sunken)}.detail-content[data-v-097724fd]{flex:1;overflow:hidden;display:flex;flex-direction:column}.headers-view[data-v-097724fd]{flex:1;padding:12px;overflow-y:auto;font-family:SF Mono,Fira Code,Consolas,monospace;font-size:12px}.headers-view[data-v-097724fd]::-webkit-scrollbar{width:4px}.headers-view[data-v-097724fd]::-webkit-scrollbar-thumb{background:var(--dt-border-strong);border-radius:2px}.header-row[data-v-097724fd]{display:flex;gap:12px;padding:6px 0;border-bottom:1px solid var(--dt-border-subtle)}.header-row[data-v-097724fd]:last-child{border-bottom:none}.header-key[data-v-097724fd]{color:#6da4ff;color:oklch(72% .17 260);width:38%;flex-shrink:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-val[data-v-097724fd]{color:var(--dt-foreground-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.empty-msg[data-v-097724fd]{color:var(--dt-foreground-subtle);font-size:12px}.select-input[data-v-e6ef5dc9]{width:200px;height:30px;background:var(--dt-surface);border:1px solid var(--dt-border);border-radius:7px;color:var(--dt-foreground-secondary);font-size:12px;padding:0 8px;cursor:pointer;outline:none;flex-shrink:0}.select-input[data-v-e6ef5dc9]:focus{border-color:var(--dt-primary)}.network-tab[data-v-8e75aacb]{display:flex;flex-direction:column;height:100%;background:var(--dt-background);position:relative}.toolbar[data-v-8e75aacb]{display:flex;align-items:center;gap:8px;padding:9px 12px;background:var(--dt-surface);border-bottom:1px solid var(--dt-border-subtle);flex-shrink:0;overflow-x:auto;scrollbar-width:none}.toolbar[data-v-8e75aacb]::-webkit-scrollbar{display:none}.toolbar-input[data-v-8e75aacb]{flex:1;height:30px;background:var(--dt-surface);border:1px solid var(--dt-border);border-radius:7px;color:var(--dt-foreground);font-size:12px;padding:0 10px;outline:none}.toolbar-input[data-v-8e75aacb]::placeholder{color:var(--dt-foreground-subtle)}.toolbar-input[data-v-8e75aacb]:focus{border-color:var(--dt-primary)}.toolbar-btn[data-v-8e75aacb]{height:30px;padding:0 12px;background:transparent;border:1px solid var(--dt-border);border-radius:7px;color:var(--dt-foreground-muted);font-size:12px;cursor:pointer;white-space:nowrap;flex-shrink:0;transition:background .15s ease-out,color .15s ease-out,border-color .15s ease-out,transform .12s ease-out}.toolbar-btn[data-v-8e75aacb]:active{transform:scale(.97)}.toolbar-btn[data-v-8e75aacb]:hover{background:var(--dt-surface-raised);color:var(--dt-foreground)}.toolbar-btn--danger[data-v-8e75aacb]:hover{background:#250e10;color:#f9667a;border-color:#5d262d}.filter-bar[data-v-8e75aacb]{display:flex;align-items:center;gap:4px;padding:7px 12px;background:var(--dt-surface);border-bottom:1px solid var(--dt-border-subtle);flex-shrink:0;overflow-x:auto;scrollbar-width:none}.filter-bar[data-v-8e75aacb]::-webkit-scrollbar{display:none}.filter-pill[data-v-8e75aacb]{height:24px;padding:0 10px;border-radius:99px;font-size:11px;font-weight:500;cursor:pointer;border:1px solid transparent;background:transparent;color:var(--dt-foreground-muted);text-transform:capitalize;transition:background .15s ease-out,color .15s ease-out,border-color .15s ease-out,transform .12s ease-out}.filter-pill[data-v-8e75aacb]:active{transform:scale(.97)}.filter-pill--success[data-v-8e75aacb]{color:var(--dt-success)}.filter-pill--error[data-v-8e75aacb]{color:var(--dt-danger)}.filter-pill--pending[data-v-8e75aacb]{color:var(--dt-warning)}.filter-pill--aborted[data-v-8e75aacb]{color:var(--dt-foreground-secondary)}.filter-pill[data-v-8e75aacb]:hover{background:var(--dt-surface-raised);color:var(--dt-foreground-secondary)}.filter-pill--active[data-v-8e75aacb]{background:var(--dt-primary-subtle);color:var(--dt-primary);border-color:var(--dt-primary)}.filter-pill--success.filter-pill--active[data-v-8e75aacb]{background:var(--dt-success-subtle);color:var(--dt-success);border-color:var(--dt-success)}.filter-pill--error.filter-pill--active[data-v-8e75aacb]{background:var(--dt-danger-subtle);color:var(--dt-danger);border-color:var(--dt-danger)}.filter-pill--pending.filter-pill--active[data-v-8e75aacb]{background:var(--dt-warning-subtle);color:var(--dt-warning);border-color:var(--dt-warning)}.filter-pill--aborted.filter-pill--active[data-v-8e75aacb]{background:var(--dt-surface-raised);color:var(--dt-foreground-secondary);border-color:var(--dt-border-strong)}.filter-count[data-v-8e75aacb]{margin-left:auto;font-size:11px;color:var(--dt-foreground-subtle)}.main-split[data-v-8e75aacb]{display:flex;flex:1;overflow:hidden}.list-pane[data-v-8e75aacb]{min-width:180px;display:flex;flex-direction:column;overflow:hidden;flex-shrink:0}.detail-pane[data-v-8e75aacb]{flex:1;min-width:200px;overflow:hidden}.drag-handle[data-v-8e75aacb]{width:5px;flex-shrink:0;cursor:col-resize;background:var(--dt-border-subtle);transition:background .15s ease-out}.drag-handle[data-v-8e75aacb]:hover{background:var(--dt-primary)}.settings-menu[data-v-8e75aacb]{position:absolute;right:8px;top:0;z-index:100;background:var(--dt-nav);border:1px solid var(--dt-border);border-radius:8px;padding:4px;box-shadow:0 8px 24px #00000080;min-width:160px;transform-origin:top right}.settings-item[data-v-8e75aacb]{display:flex;align-items:center;gap:8px;width:100%;padding:6px 10px;border:none;background:transparent;color:var(--dt-foreground);font-size:12px;cursor:pointer;border-radius:5px;text-align:left;transition:background .12s ease-out,transform .12s ease-out}.settings-item[data-v-8e75aacb]:active{transform:scale(.97)}.settings-item[data-v-8e75aacb]:hover{background:var(--dt-surface-raised)}.settings-check[data-v-8e75aacb]{width:14px;height:14px;border:1px solid var(--dt-border-strong);border-radius:3px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#fff}.settings-check--on[data-v-8e75aacb]{background:var(--dt-primary);border-color:var(--dt-primary)}.settings-menu-enter-active[data-v-8e75aacb]{transition:transform .15s cubic-bezier(.23,1,.32,1),opacity .15s ease-out}.settings-menu-leave-active[data-v-8e75aacb]{transition:transform .1s ease-in,opacity .1s ease-in}.settings-menu-enter-from[data-v-8e75aacb],.settings-menu-leave-to[data-v-8e75aacb]{transform:scale(.95) translateY(-4px);opacity:0}')), document.head.appendChild(e);
|
|
65
65
|
}
|
|
66
66
|
} catch (r) {
|
|
67
67
|
console.error("vite-plugin-css-injected-by-js", r);
|
|
68
68
|
}
|
|
69
69
|
})();
|
|
70
|
-
var
|
|
70
|
+
var O = (0, import_vue.reactive)({
|
|
71
71
|
instances: /* @__PURE__ */ new Map(),
|
|
72
72
|
requests: [],
|
|
73
73
|
config: { maxHistory: 300, maxPayloadSize: 2e5 }
|
|
74
74
|
});
|
|
75
|
-
function
|
|
75
|
+
function he(e, i) {
|
|
76
76
|
try {
|
|
77
77
|
const t = JSON.stringify(e);
|
|
78
78
|
return !t || t.length <= i ? { value: e, truncated: false } : {
|
|
@@ -85,16 +85,16 @@ function ke(e, i) {
|
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
var Vt = (0, import_vue.computed)(
|
|
88
|
-
() =>
|
|
88
|
+
() => O.instances
|
|
89
89
|
);
|
|
90
90
|
var ft = (0, import_vue.computed)(
|
|
91
|
-
() =>
|
|
91
|
+
() => O.requests
|
|
92
92
|
);
|
|
93
93
|
function Nt(e) {
|
|
94
|
-
|
|
94
|
+
O.instances.clear(), O.requests.splice(0), O.config.maxHistory = e.maxHistory ?? 300, O.config.maxPayloadSize = e.maxPayloadSize ?? 2e5;
|
|
95
95
|
}
|
|
96
96
|
function Wt(e, i, t) {
|
|
97
|
-
|
|
97
|
+
O.instances.set(e, {
|
|
98
98
|
id: e,
|
|
99
99
|
url: i,
|
|
100
100
|
method: "GET",
|
|
@@ -106,15 +106,15 @@ function Wt(e, i, t) {
|
|
|
106
106
|
});
|
|
107
107
|
}
|
|
108
108
|
function Ht(e) {
|
|
109
|
-
|
|
109
|
+
O.instances.delete(e);
|
|
110
110
|
}
|
|
111
111
|
function Bt(e, i) {
|
|
112
|
-
const t =
|
|
112
|
+
const t = O.instances.get(e);
|
|
113
113
|
t && (t.state = { ...t.state, ...i });
|
|
114
114
|
}
|
|
115
115
|
function Kt(e) {
|
|
116
|
-
var
|
|
117
|
-
const { value: i, truncated: t } =
|
|
116
|
+
var r;
|
|
117
|
+
const { value: i, truncated: t } = he(e.payload, O.config.maxPayloadSize), { value: n, truncated: s } = he(e.queryParams, O.config.maxPayloadSize), o = {
|
|
118
118
|
...e,
|
|
119
119
|
payload: i,
|
|
120
120
|
queryParams: n,
|
|
@@ -122,23 +122,23 @@ function Kt(e) {
|
|
|
122
122
|
response: null,
|
|
123
123
|
error: null,
|
|
124
124
|
truncated: t || s,
|
|
125
|
-
instanceOptions: e.instanceId ? (
|
|
125
|
+
instanceOptions: e.instanceId ? (r = O.instances.get(e.instanceId)) == null ? void 0 : r.options : void 0
|
|
126
126
|
};
|
|
127
|
-
if (
|
|
128
|
-
const
|
|
129
|
-
|
|
127
|
+
if (O.requests.length >= O.config.maxHistory && O.requests.shift(), O.requests.push(o), e.instanceId) {
|
|
128
|
+
const l = O.instances.get(e.instanceId);
|
|
129
|
+
l && (l.requestCount++, l.lastRequestAt = e.startedAt);
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
function Ut(e, i) {
|
|
133
|
-
const t =
|
|
133
|
+
const t = O.requests.findIndex((s) => s.id === e);
|
|
134
134
|
if (t === -1) return;
|
|
135
|
-
const n =
|
|
135
|
+
const n = O.requests[t];
|
|
136
136
|
if (i.status === "success") {
|
|
137
|
-
const { value: s, truncated: o } =
|
|
137
|
+
const { value: s, truncated: o } = he(
|
|
138
138
|
i.response,
|
|
139
|
-
|
|
139
|
+
O.config.maxPayloadSize
|
|
140
140
|
);
|
|
141
|
-
|
|
141
|
+
O.requests[t] = {
|
|
142
142
|
...n,
|
|
143
143
|
status: "success",
|
|
144
144
|
statusCode: i.statusCode,
|
|
@@ -146,16 +146,25 @@ function Ut(e, i) {
|
|
|
146
146
|
duration: i.duration,
|
|
147
147
|
truncated: n.truncated || o
|
|
148
148
|
};
|
|
149
|
-
} else i.status === "error"
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
149
|
+
} else if (i.status === "error") {
|
|
150
|
+
const { value: s, truncated: o } = he(
|
|
151
|
+
i.error.details ?? null,
|
|
152
|
+
O.config.maxPayloadSize
|
|
153
|
+
);
|
|
154
|
+
O.requests[t] = {
|
|
155
|
+
...n,
|
|
156
|
+
status: "error",
|
|
157
|
+
statusCode: i.statusCode,
|
|
158
|
+
error: i.error,
|
|
159
|
+
response: s,
|
|
160
|
+
duration: i.duration,
|
|
161
|
+
truncated: n.truncated || o
|
|
162
|
+
};
|
|
163
|
+
} else
|
|
164
|
+
O.requests[t] = { ...n, status: "aborted", duration: i.duration };
|
|
156
165
|
}
|
|
157
166
|
function We() {
|
|
158
|
-
|
|
167
|
+
O.requests.splice(0);
|
|
159
168
|
}
|
|
160
169
|
var oe = (0, import_vue.reactive)({ tabs: [] });
|
|
161
170
|
var G = (0, import_vue.computed)(
|
|
@@ -181,7 +190,7 @@ function Gt(e) {
|
|
|
181
190
|
function Yt(e, i) {
|
|
182
191
|
Ut(e, i);
|
|
183
192
|
}
|
|
184
|
-
function
|
|
193
|
+
function $e(e) {
|
|
185
194
|
return new Promise((i, t) => {
|
|
186
195
|
e.oncomplete = e.onsuccess = () => i(e.result), e.onabort = e.onerror = () => t(e.error);
|
|
187
196
|
});
|
|
@@ -192,22 +201,22 @@ function Zt(e, i) {
|
|
|
192
201
|
if (t)
|
|
193
202
|
return t;
|
|
194
203
|
const s = indexedDB.open(e);
|
|
195
|
-
return s.onupgradeneeded = () => s.result.createObjectStore(i), t =
|
|
204
|
+
return s.onupgradeneeded = () => s.result.createObjectStore(i), t = $e(s), t.then((o) => {
|
|
196
205
|
o.onclose = () => t = void 0;
|
|
197
206
|
}, () => {
|
|
198
207
|
}), t;
|
|
199
208
|
};
|
|
200
|
-
return (s, o) => n().then((
|
|
209
|
+
return (s, o) => n().then((r) => o(r.transaction(i, s).objectStore(i)));
|
|
201
210
|
}
|
|
202
|
-
var
|
|
211
|
+
var we;
|
|
203
212
|
function pt() {
|
|
204
|
-
return
|
|
213
|
+
return we || (we = Zt("keyval-store", "keyval")), we;
|
|
205
214
|
}
|
|
206
215
|
function W(e, i = pt()) {
|
|
207
|
-
return i("readonly", (t) =>
|
|
216
|
+
return i("readonly", (t) => $e(t.get(e)));
|
|
208
217
|
}
|
|
209
218
|
function H(e, i, t = pt()) {
|
|
210
|
-
return t("readwrite", (n) => (n.put(i, e),
|
|
219
|
+
return t("readwrite", (n) => (n.put(i, e), $e(n.transaction)));
|
|
211
220
|
}
|
|
212
221
|
var F = {
|
|
213
222
|
panelHeight: "vmd:panel-height",
|
|
@@ -237,10 +246,10 @@ async function sn(e) {
|
|
|
237
246
|
async function on() {
|
|
238
247
|
return await W(F.panelMode) ?? "side";
|
|
239
248
|
}
|
|
240
|
-
async function
|
|
249
|
+
async function rn(e) {
|
|
241
250
|
return H(F.panelMode, e);
|
|
242
251
|
}
|
|
243
|
-
async function
|
|
252
|
+
async function ln() {
|
|
244
253
|
return W(F.panelSideWidth);
|
|
245
254
|
}
|
|
246
255
|
async function an(e) {
|
|
@@ -290,22 +299,22 @@ async function wn(e) {
|
|
|
290
299
|
}
|
|
291
300
|
var Sn = 360;
|
|
292
301
|
var xn = 200;
|
|
293
|
-
var
|
|
294
|
-
var
|
|
295
|
-
var
|
|
302
|
+
var kn = 0.8;
|
|
303
|
+
var In = 380;
|
|
304
|
+
var _n = 280;
|
|
296
305
|
var En = 0.6;
|
|
297
306
|
var Tn = (0, import_vue.ref)(false);
|
|
298
307
|
var se = (0, import_vue.ref)("side");
|
|
299
|
-
var
|
|
300
|
-
function
|
|
301
|
-
const e = (0, import_vue.ref)(Sn), i = Tn, t = se, n = (0, import_vue.ref)(
|
|
308
|
+
var Se = false;
|
|
309
|
+
function ve() {
|
|
310
|
+
const e = (0, import_vue.ref)(Sn), i = Tn, t = se, n = (0, import_vue.ref)(In);
|
|
302
311
|
(0, import_vue.onMounted)(async () => {
|
|
303
312
|
const [d, w, p] = await Promise.all([
|
|
304
313
|
nn(),
|
|
305
|
-
|
|
306
|
-
|
|
314
|
+
Se ? Promise.resolve(se.value) : on(),
|
|
315
|
+
ln()
|
|
307
316
|
]);
|
|
308
|
-
d !== void 0 && (e.value = d),
|
|
317
|
+
d !== void 0 && (e.value = d), Se || (se.value = w, Se = true), p !== void 0 && (n.value = p);
|
|
309
318
|
});
|
|
310
319
|
function s() {
|
|
311
320
|
i.value = !i.value;
|
|
@@ -313,43 +322,43 @@ function me() {
|
|
|
313
322
|
function o() {
|
|
314
323
|
i.value = false;
|
|
315
324
|
}
|
|
316
|
-
function
|
|
317
|
-
se.value = d,
|
|
325
|
+
function r(d) {
|
|
326
|
+
se.value = d, rn(d);
|
|
318
327
|
}
|
|
319
|
-
let
|
|
328
|
+
let l = false, a = null, c = null;
|
|
320
329
|
function u(d) {
|
|
321
330
|
const w = d.clientY, p = e.value;
|
|
322
|
-
|
|
323
|
-
function
|
|
324
|
-
if (!
|
|
325
|
-
const
|
|
326
|
-
e.value = Math.max(xn, Math.min(p + (w - x.clientY),
|
|
331
|
+
l = true;
|
|
332
|
+
function b(x) {
|
|
333
|
+
if (!l) return;
|
|
334
|
+
const C = Math.floor(window.innerHeight * kn);
|
|
335
|
+
e.value = Math.max(xn, Math.min(p + (w - x.clientY), C));
|
|
327
336
|
}
|
|
328
337
|
function v() {
|
|
329
|
-
|
|
338
|
+
l = false, a = null, sn(e.value), window.removeEventListener("mousemove", b), window.removeEventListener("mouseup", v);
|
|
330
339
|
}
|
|
331
340
|
a = () => {
|
|
332
|
-
window.removeEventListener("mousemove",
|
|
333
|
-
}, window.addEventListener("mousemove",
|
|
341
|
+
window.removeEventListener("mousemove", b), window.removeEventListener("mouseup", v);
|
|
342
|
+
}, window.addEventListener("mousemove", b), window.addEventListener("mouseup", v), d.preventDefault();
|
|
334
343
|
}
|
|
335
344
|
function g(d) {
|
|
336
345
|
const w = d.clientX, p = n.value;
|
|
337
|
-
|
|
338
|
-
function
|
|
339
|
-
if (!
|
|
340
|
-
const
|
|
341
|
-
n.value = Math.max(
|
|
346
|
+
l = true;
|
|
347
|
+
function b(x) {
|
|
348
|
+
if (!l) return;
|
|
349
|
+
const C = Math.floor(window.innerWidth * En);
|
|
350
|
+
n.value = Math.max(_n, Math.min(p + (w - x.clientX), C));
|
|
342
351
|
}
|
|
343
352
|
function v() {
|
|
344
|
-
|
|
353
|
+
l = false, c = null, an(n.value), window.removeEventListener("mousemove", b), window.removeEventListener("mouseup", v);
|
|
345
354
|
}
|
|
346
355
|
c = () => {
|
|
347
|
-
window.removeEventListener("mousemove",
|
|
348
|
-
}, window.addEventListener("mousemove",
|
|
356
|
+
window.removeEventListener("mousemove", b), window.removeEventListener("mouseup", v);
|
|
357
|
+
}, window.addEventListener("mousemove", b), window.addEventListener("mouseup", v), d.preventDefault();
|
|
349
358
|
}
|
|
350
359
|
return (0, import_vue.onScopeDispose)(() => {
|
|
351
360
|
a == null || a(), c == null || c();
|
|
352
|
-
}), { height: e, isOpen: i, panelMode: t, sideWidth: n, startResizeHeight: u, startResizeSideWidth: g, switchMode:
|
|
361
|
+
}), { height: e, isOpen: i, panelMode: t, sideWidth: n, startResizeHeight: u, startResizeSideWidth: g, switchMode: r, toggle: s, close: o };
|
|
353
362
|
}
|
|
354
363
|
function mt() {
|
|
355
364
|
const e = (0, import_vue.ref)(null);
|
|
@@ -368,14 +377,14 @@ function mt() {
|
|
|
368
377
|
return { registeredTabs: G, activeTabId: e, activeTab: i, setActiveTab: t };
|
|
369
378
|
}
|
|
370
379
|
var ie = (0, import_vue.ref)(false);
|
|
371
|
-
function
|
|
380
|
+
function Le() {
|
|
372
381
|
const e = (0, import_vue.ref)(true), i = (0, import_vue.ref)(true);
|
|
373
382
|
(0, import_vue.onMounted)(async () => {
|
|
374
|
-
const [
|
|
383
|
+
const [r, l] = await Promise.all([
|
|
375
384
|
cn(),
|
|
376
385
|
dn()
|
|
377
386
|
]);
|
|
378
|
-
e.value =
|
|
387
|
+
e.value = r, i.value = l;
|
|
379
388
|
});
|
|
380
389
|
function t() {
|
|
381
390
|
e.value = !e.value, un(e.value);
|
|
@@ -392,7 +401,7 @@ function $e() {
|
|
|
392
401
|
return { toolbarVisible: e, filterVisible: i, settingsOpen: ie, toggleToolbar: t, toggleFilter: n, toggleSettings: s, closeSettings: o };
|
|
393
402
|
}
|
|
394
403
|
var vt = /^[a-z0-9]+(-[a-z0-9]+)*$/;
|
|
395
|
-
var
|
|
404
|
+
var ge = (e, i, t, n = "") => {
|
|
396
405
|
const s = e.split(":");
|
|
397
406
|
if (e.slice(0, 1) === "@") {
|
|
398
407
|
if (s.length < 2 || s.length > 3)
|
|
@@ -402,34 +411,34 @@ var ve = (e, i, t, n = "") => {
|
|
|
402
411
|
if (s.length > 3 || !s.length)
|
|
403
412
|
return null;
|
|
404
413
|
if (s.length > 1) {
|
|
405
|
-
const
|
|
414
|
+
const l = s.pop(), a = s.pop(), c = {
|
|
406
415
|
// Allow provider without '@': "provider:prefix:name"
|
|
407
416
|
provider: s.length > 0 ? s[0] : n,
|
|
408
417
|
prefix: a,
|
|
409
|
-
name:
|
|
418
|
+
name: l
|
|
410
419
|
};
|
|
411
|
-
return i && !
|
|
420
|
+
return i && !re(c) ? null : c;
|
|
412
421
|
}
|
|
413
|
-
const o = s[0],
|
|
414
|
-
if (
|
|
415
|
-
const
|
|
422
|
+
const o = s[0], r = o.split("-");
|
|
423
|
+
if (r.length > 1) {
|
|
424
|
+
const l = {
|
|
416
425
|
provider: n,
|
|
417
|
-
prefix:
|
|
418
|
-
name:
|
|
426
|
+
prefix: r.shift(),
|
|
427
|
+
name: r.join("-")
|
|
419
428
|
};
|
|
420
|
-
return i && !
|
|
429
|
+
return i && !re(l) ? null : l;
|
|
421
430
|
}
|
|
422
431
|
if (t && n === "") {
|
|
423
|
-
const
|
|
432
|
+
const l = {
|
|
424
433
|
provider: n,
|
|
425
434
|
prefix: "",
|
|
426
435
|
name: o
|
|
427
436
|
};
|
|
428
|
-
return i && !
|
|
437
|
+
return i && !re(l, t) ? null : l;
|
|
429
438
|
}
|
|
430
439
|
return null;
|
|
431
440
|
};
|
|
432
|
-
var
|
|
441
|
+
var re = (e, i) => e ? !!// Check prefix: cannot be empty, unless allowSimpleName is enabled
|
|
433
442
|
// Check name: cannot be empty
|
|
434
443
|
((i && e.prefix === "" || e.prefix) && e.name) : false;
|
|
435
444
|
var gt = Object.freeze(
|
|
@@ -440,17 +449,17 @@ var gt = Object.freeze(
|
|
|
440
449
|
height: 16
|
|
441
450
|
}
|
|
442
451
|
);
|
|
443
|
-
var
|
|
452
|
+
var fe = Object.freeze({
|
|
444
453
|
rotate: 0,
|
|
445
454
|
vFlip: false,
|
|
446
455
|
hFlip: false
|
|
447
456
|
});
|
|
448
|
-
var
|
|
457
|
+
var ye = Object.freeze({
|
|
449
458
|
...gt,
|
|
450
|
-
...
|
|
459
|
+
...fe
|
|
451
460
|
});
|
|
452
|
-
var
|
|
453
|
-
...
|
|
461
|
+
var _e = Object.freeze({
|
|
462
|
+
...ye,
|
|
454
463
|
body: "",
|
|
455
464
|
hidden: false
|
|
456
465
|
});
|
|
@@ -462,34 +471,34 @@ function Mn(e, i) {
|
|
|
462
471
|
}
|
|
463
472
|
function Ue(e, i) {
|
|
464
473
|
const t = Mn(e, i);
|
|
465
|
-
for (const n in
|
|
466
|
-
n in
|
|
474
|
+
for (const n in _e)
|
|
475
|
+
n in fe ? n in e && !(n in t) && (t[n] = fe[n]) : n in i ? t[n] = i[n] : n in e && (t[n] = e[n]);
|
|
467
476
|
return t;
|
|
468
477
|
}
|
|
469
478
|
function Cn(e, i) {
|
|
470
479
|
const t = e.icons, n = e.aliases || /* @__PURE__ */ Object.create(null), s = /* @__PURE__ */ Object.create(null);
|
|
471
|
-
function o(
|
|
472
|
-
if (t[
|
|
473
|
-
return s[
|
|
474
|
-
if (!(
|
|
475
|
-
s[
|
|
476
|
-
const
|
|
477
|
-
a && (s[
|
|
480
|
+
function o(r) {
|
|
481
|
+
if (t[r])
|
|
482
|
+
return s[r] = [];
|
|
483
|
+
if (!(r in s)) {
|
|
484
|
+
s[r] = null;
|
|
485
|
+
const l = n[r] && n[r].parent, a = l && o(l);
|
|
486
|
+
a && (s[r] = [l].concat(a));
|
|
478
487
|
}
|
|
479
|
-
return s[
|
|
488
|
+
return s[r];
|
|
480
489
|
}
|
|
481
490
|
return Object.keys(t).concat(Object.keys(n)).forEach(o), s;
|
|
482
491
|
}
|
|
483
492
|
function On(e, i, t) {
|
|
484
493
|
const n = e.icons, s = e.aliases || /* @__PURE__ */ Object.create(null);
|
|
485
494
|
let o = {};
|
|
486
|
-
function l
|
|
495
|
+
function r(l) {
|
|
487
496
|
o = Ue(
|
|
488
|
-
n[
|
|
497
|
+
n[l] || s[l],
|
|
489
498
|
o
|
|
490
499
|
);
|
|
491
500
|
}
|
|
492
|
-
return
|
|
501
|
+
return r(i), t.forEach(r), Ue(e, o);
|
|
493
502
|
}
|
|
494
503
|
function yt(e, i) {
|
|
495
504
|
const t = [];
|
|
@@ -511,7 +520,7 @@ var zn = {
|
|
|
511
520
|
not_found: {},
|
|
512
521
|
...gt
|
|
513
522
|
};
|
|
514
|
-
function
|
|
523
|
+
function xe(e, i) {
|
|
515
524
|
for (const t in i)
|
|
516
525
|
if (t in e && typeof e[t] != typeof i[t])
|
|
517
526
|
return false;
|
|
@@ -521,7 +530,7 @@ function bt(e) {
|
|
|
521
530
|
if (typeof e != "object" || e === null)
|
|
522
531
|
return null;
|
|
523
532
|
const i = e;
|
|
524
|
-
if (typeof i.prefix != "string" || !e.icons || typeof e.icons != "object" || !
|
|
533
|
+
if (typeof i.prefix != "string" || !e.icons || typeof e.icons != "object" || !xe(e, zn))
|
|
525
534
|
return null;
|
|
526
535
|
const t = i.icons;
|
|
527
536
|
for (const s in t) {
|
|
@@ -530,23 +539,23 @@ function bt(e) {
|
|
|
530
539
|
// Name cannot be empty
|
|
531
540
|
!s || // Must have body
|
|
532
541
|
typeof o.body != "string" || // Check other props
|
|
533
|
-
!
|
|
542
|
+
!xe(
|
|
534
543
|
o,
|
|
535
|
-
|
|
544
|
+
_e
|
|
536
545
|
)
|
|
537
546
|
)
|
|
538
547
|
return null;
|
|
539
548
|
}
|
|
540
549
|
const n = i.aliases || /* @__PURE__ */ Object.create(null);
|
|
541
550
|
for (const s in n) {
|
|
542
|
-
const o = n[s],
|
|
551
|
+
const o = n[s], r = o.parent;
|
|
543
552
|
if (
|
|
544
553
|
// Name cannot be empty
|
|
545
554
|
!s || // Parent must be set and point to existing icon
|
|
546
|
-
typeof
|
|
547
|
-
!
|
|
555
|
+
typeof r != "string" || !t[r] && !n[r] || // Check other props
|
|
556
|
+
!xe(
|
|
548
557
|
o,
|
|
549
|
-
|
|
558
|
+
_e
|
|
550
559
|
)
|
|
551
560
|
)
|
|
552
561
|
return null;
|
|
@@ -571,7 +580,7 @@ function wt(e, i) {
|
|
|
571
580
|
n ? e.icons[t] = n : e.missing.add(t);
|
|
572
581
|
}) : [];
|
|
573
582
|
}
|
|
574
|
-
function
|
|
583
|
+
function qn(e, i, t) {
|
|
575
584
|
try {
|
|
576
585
|
if (typeof t.body == "string")
|
|
577
586
|
return e.icons[i] = { ...t }, true;
|
|
@@ -583,31 +592,31 @@ var te = false;
|
|
|
583
592
|
function St(e) {
|
|
584
593
|
return typeof e == "boolean" && (te = e), te;
|
|
585
594
|
}
|
|
586
|
-
function
|
|
587
|
-
const i = typeof e == "string" ?
|
|
595
|
+
function $n(e) {
|
|
596
|
+
const i = typeof e == "string" ? ge(e, true, te) : e;
|
|
588
597
|
if (i) {
|
|
589
598
|
const t = Q(i.provider, i.prefix), n = i.name;
|
|
590
599
|
return t.icons[n] || (t.missing.has(n) ? null : void 0);
|
|
591
600
|
}
|
|
592
601
|
}
|
|
593
|
-
function
|
|
594
|
-
const t =
|
|
602
|
+
function Ln(e, i) {
|
|
603
|
+
const t = ge(e, true, te);
|
|
595
604
|
if (!t)
|
|
596
605
|
return false;
|
|
597
606
|
const n = Q(t.provider, t.prefix);
|
|
598
|
-
return i ?
|
|
607
|
+
return i ? qn(n, t.name, i) : (n.missing.add(t.name), true);
|
|
599
608
|
}
|
|
600
609
|
function Fn(e, i) {
|
|
601
610
|
if (typeof e != "object")
|
|
602
611
|
return false;
|
|
603
612
|
if (typeof i != "string" && (i = e.provider || ""), te && !i && !e.prefix) {
|
|
604
613
|
let s = false;
|
|
605
|
-
return bt(e) && (e.prefix = "", yt(e, (o,
|
|
606
|
-
|
|
614
|
+
return bt(e) && (e.prefix = "", yt(e, (o, r) => {
|
|
615
|
+
Ln(o, r) && (s = true);
|
|
607
616
|
})), s;
|
|
608
617
|
}
|
|
609
618
|
const t = e.prefix;
|
|
610
|
-
if (!
|
|
619
|
+
if (!re({
|
|
611
620
|
prefix: t,
|
|
612
621
|
name: "a"
|
|
613
622
|
}))
|
|
@@ -619,11 +628,11 @@ var xt = Object.freeze({
|
|
|
619
628
|
width: null,
|
|
620
629
|
height: null
|
|
621
630
|
});
|
|
622
|
-
var
|
|
631
|
+
var kt = Object.freeze({
|
|
623
632
|
// Dimensions
|
|
624
633
|
...xt,
|
|
625
634
|
// Transformations
|
|
626
|
-
...
|
|
635
|
+
...fe
|
|
627
636
|
});
|
|
628
637
|
var Pn = /(-?[0-9.]*[0-9]+[0-9.]*)/g;
|
|
629
638
|
var Rn = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
|
|
@@ -638,16 +647,16 @@ function Xe(e, i, t) {
|
|
|
638
647
|
if (n === null || !n.length)
|
|
639
648
|
return e;
|
|
640
649
|
const s = [];
|
|
641
|
-
let o = n.shift(),
|
|
650
|
+
let o = n.shift(), r = Rn.test(o);
|
|
642
651
|
for (; ; ) {
|
|
643
|
-
if (
|
|
644
|
-
const
|
|
645
|
-
isNaN(
|
|
652
|
+
if (r) {
|
|
653
|
+
const l = parseFloat(o);
|
|
654
|
+
isNaN(l) ? s.push(o) : s.push(Math.ceil(l * i * t) / t);
|
|
646
655
|
} else
|
|
647
656
|
s.push(o);
|
|
648
657
|
if (o = n.shift(), o === void 0)
|
|
649
658
|
return s.join("");
|
|
650
|
-
|
|
659
|
+
r = !r;
|
|
651
660
|
}
|
|
652
661
|
}
|
|
653
662
|
function jn(e, i = "defs") {
|
|
@@ -657,10 +666,10 @@ function jn(e, i = "defs") {
|
|
|
657
666
|
const s = e.indexOf(">", n), o = e.indexOf("</" + i);
|
|
658
667
|
if (s === -1 || o === -1)
|
|
659
668
|
break;
|
|
660
|
-
const
|
|
661
|
-
if (
|
|
669
|
+
const r = e.indexOf(">", o);
|
|
670
|
+
if (r === -1)
|
|
662
671
|
break;
|
|
663
|
-
t += e.slice(s + 1, o).trim(), e = e.slice(0, n).trim() + e.slice(
|
|
672
|
+
t += e.slice(s + 1, o).trim(), e = e.slice(0, n).trim() + e.slice(r + 1);
|
|
664
673
|
}
|
|
665
674
|
return {
|
|
666
675
|
defs: t,
|
|
@@ -677,10 +686,10 @@ function Vn(e, i, t) {
|
|
|
677
686
|
var Nn = (e) => e === "unset" || e === "undefined" || e === "none";
|
|
678
687
|
function Wn(e, i) {
|
|
679
688
|
const t = {
|
|
680
|
-
...
|
|
689
|
+
...ye,
|
|
681
690
|
...e
|
|
682
691
|
}, n = {
|
|
683
|
-
...
|
|
692
|
+
...kt,
|
|
684
693
|
...i
|
|
685
694
|
}, s = {
|
|
686
695
|
left: t.left,
|
|
@@ -689,19 +698,19 @@ function Wn(e, i) {
|
|
|
689
698
|
height: t.height
|
|
690
699
|
};
|
|
691
700
|
let o = t.body;
|
|
692
|
-
[t, n].forEach((
|
|
693
|
-
const v = [], x =
|
|
694
|
-
let S =
|
|
695
|
-
x ?
|
|
701
|
+
[t, n].forEach((b) => {
|
|
702
|
+
const v = [], x = b.hFlip, C = b.vFlip;
|
|
703
|
+
let S = b.rotate;
|
|
704
|
+
x ? C ? S += 2 : (v.push(
|
|
696
705
|
"translate(" + (s.width + s.left).toString() + " " + (0 - s.top).toString() + ")"
|
|
697
|
-
), v.push("scale(-1 1)"), s.top = s.left = 0) :
|
|
706
|
+
), v.push("scale(-1 1)"), s.top = s.left = 0) : C && (v.push(
|
|
698
707
|
"translate(" + (0 - s.left).toString() + " " + (s.height + s.top).toString() + ")"
|
|
699
708
|
), v.push("scale(1 -1)"), s.top = s.left = 0);
|
|
700
|
-
let
|
|
709
|
+
let A;
|
|
701
710
|
switch (S < 0 && (S -= Math.floor(S / 4) * 4), S = S % 4, S) {
|
|
702
711
|
case 1:
|
|
703
|
-
|
|
704
|
-
"rotate(90 " +
|
|
712
|
+
A = s.height / 2 + s.top, v.unshift(
|
|
713
|
+
"rotate(90 " + A.toString() + " " + A.toString() + ")"
|
|
705
714
|
);
|
|
706
715
|
break;
|
|
707
716
|
case 2:
|
|
@@ -710,22 +719,22 @@ function Wn(e, i) {
|
|
|
710
719
|
);
|
|
711
720
|
break;
|
|
712
721
|
case 3:
|
|
713
|
-
|
|
714
|
-
"rotate(-90 " +
|
|
722
|
+
A = s.width / 2 + s.left, v.unshift(
|
|
723
|
+
"rotate(-90 " + A.toString() + " " + A.toString() + ")"
|
|
715
724
|
);
|
|
716
725
|
break;
|
|
717
726
|
}
|
|
718
|
-
S % 2 === 1 && (s.left !== s.top && (
|
|
727
|
+
S % 2 === 1 && (s.left !== s.top && (A = s.left, s.left = s.top, s.top = A), s.width !== s.height && (A = s.width, s.width = s.height, s.height = A)), v.length && (o = Vn(
|
|
719
728
|
o,
|
|
720
729
|
'<g transform="' + v.join(" ") + '">',
|
|
721
730
|
"</g>"
|
|
722
731
|
));
|
|
723
732
|
});
|
|
724
|
-
const
|
|
733
|
+
const r = n.width, l = n.height, a = s.width, c = s.height;
|
|
725
734
|
let u, g;
|
|
726
|
-
|
|
727
|
-
const d = {}, w = (
|
|
728
|
-
Nn(v) || (d[
|
|
735
|
+
r === null ? (g = l === null ? "1em" : l === "auto" ? c : l, u = Xe(g, a / c)) : (u = r === "auto" ? a : r, g = l === null ? Xe(u, c / a) : l === "auto" ? c : l);
|
|
736
|
+
const d = {}, w = (b, v) => {
|
|
737
|
+
Nn(v) || (d[b] = v.toString());
|
|
729
738
|
};
|
|
730
739
|
w("width", u), w("height", g);
|
|
731
740
|
const p = [s.left, s.top, a, c];
|
|
@@ -747,12 +756,12 @@ function Un(e, i = Bn) {
|
|
|
747
756
|
return e;
|
|
748
757
|
const s = "suffix" + (Math.random() * 16777216 | Date.now()).toString(16);
|
|
749
758
|
return t.forEach((o) => {
|
|
750
|
-
const
|
|
759
|
+
const r = typeof i == "function" ? i(o) : i + (Kn++).toString(), l = o.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
751
760
|
e = e.replace(
|
|
752
761
|
// Allowed characters before id: [#;"]
|
|
753
762
|
// Allowed characters after id: [)"], .[a-z]
|
|
754
|
-
new RegExp('([#;"])(' +
|
|
755
|
-
"$1" +
|
|
763
|
+
new RegExp('([#;"])(' + l + ')([")]|\\.[a-z])', "g"),
|
|
764
|
+
"$1" + r + s + "$3"
|
|
756
765
|
);
|
|
757
766
|
}), e = e.replace(new RegExp(s, "g"), ""), e;
|
|
758
767
|
}
|
|
@@ -793,11 +802,11 @@ var Y = [
|
|
|
793
802
|
"https://api.simplesvg.com",
|
|
794
803
|
"https://api.unisvg.com"
|
|
795
804
|
];
|
|
796
|
-
var
|
|
805
|
+
var le = [];
|
|
797
806
|
for (; Y.length > 0; )
|
|
798
|
-
Y.length === 1 || Math.random() > 0.5 ?
|
|
807
|
+
Y.length === 1 || Math.random() > 0.5 ? le.push(Y.shift()) : le.push(Y.pop());
|
|
799
808
|
Pe[""] = Fe({
|
|
800
|
-
resources: ["https://api.iconify.design"].concat(
|
|
809
|
+
resources: ["https://api.iconify.design"].concat(le)
|
|
801
810
|
});
|
|
802
811
|
function Xn(e, i) {
|
|
803
812
|
const t = Fe(i);
|
|
@@ -824,8 +833,8 @@ function Gn(e, i) {
|
|
|
824
833
|
n = 0;
|
|
825
834
|
else {
|
|
826
835
|
let s = 0;
|
|
827
|
-
t.resources.forEach((
|
|
828
|
-
s = Math.max(s,
|
|
836
|
+
t.resources.forEach((r) => {
|
|
837
|
+
s = Math.max(s, r.length);
|
|
829
838
|
});
|
|
830
839
|
const o = i + ".json?icons=";
|
|
831
840
|
n = t.maxURL - s - t.path.length - o.length;
|
|
@@ -837,20 +846,20 @@ function Yn(e) {
|
|
|
837
846
|
}
|
|
838
847
|
var Zn = (e, i, t) => {
|
|
839
848
|
const n = [], s = Gn(e, i), o = "icons";
|
|
840
|
-
let
|
|
849
|
+
let r = {
|
|
841
850
|
type: o,
|
|
842
851
|
provider: e,
|
|
843
852
|
prefix: i,
|
|
844
853
|
icons: []
|
|
845
|
-
},
|
|
854
|
+
}, l = 0;
|
|
846
855
|
return t.forEach((a, c) => {
|
|
847
|
-
|
|
856
|
+
l += a.length + 1, l >= s && c > 0 && (n.push(r), r = {
|
|
848
857
|
type: o,
|
|
849
858
|
provider: e,
|
|
850
859
|
prefix: i,
|
|
851
860
|
icons: []
|
|
852
|
-
},
|
|
853
|
-
}), n.push(
|
|
861
|
+
}, l = a.length), r.icons.push(a);
|
|
862
|
+
}), n.push(r), n;
|
|
854
863
|
};
|
|
855
864
|
function es(e) {
|
|
856
865
|
if (typeof e == "string") {
|
|
@@ -868,8 +877,8 @@ var ts = (e, i, t) => {
|
|
|
868
877
|
let n = es(i.provider);
|
|
869
878
|
switch (i.type) {
|
|
870
879
|
case "icons": {
|
|
871
|
-
const o = i.prefix,
|
|
872
|
-
icons:
|
|
880
|
+
const o = i.prefix, l = i.icons.join(","), a = new URLSearchParams({
|
|
881
|
+
icons: l
|
|
873
882
|
});
|
|
874
883
|
n += o + ".json?" + a.toString();
|
|
875
884
|
break;
|
|
@@ -885,10 +894,10 @@ var ts = (e, i, t) => {
|
|
|
885
894
|
}
|
|
886
895
|
let s = 503;
|
|
887
896
|
Qe(e + n).then((o) => {
|
|
888
|
-
const
|
|
889
|
-
if (
|
|
897
|
+
const r = o.status;
|
|
898
|
+
if (r !== 200) {
|
|
890
899
|
setTimeout(() => {
|
|
891
|
-
t(Yn(
|
|
900
|
+
t(Yn(r) ? "abort" : "next", r);
|
|
892
901
|
});
|
|
893
902
|
return;
|
|
894
903
|
}
|
|
@@ -927,18 +936,18 @@ function ss(e) {
|
|
|
927
936
|
if (n.name === s.name && n.prefix === s.prefix && n.provider === s.provider)
|
|
928
937
|
return;
|
|
929
938
|
n = s;
|
|
930
|
-
const o = s.provider,
|
|
939
|
+
const o = s.provider, r = s.prefix, l = s.name, a = t[o] || (t[o] = /* @__PURE__ */ Object.create(null)), c = a[r] || (a[r] = Q(o, r));
|
|
931
940
|
let u;
|
|
932
|
-
|
|
941
|
+
l in c.icons ? u = i.loaded : r === "" || c.missing.has(l) ? u = i.missing : u = i.pending;
|
|
933
942
|
const g = {
|
|
934
943
|
provider: o,
|
|
935
|
-
prefix:
|
|
936
|
-
name:
|
|
944
|
+
prefix: r,
|
|
945
|
+
name: l
|
|
937
946
|
};
|
|
938
947
|
u.push(g);
|
|
939
948
|
}), i;
|
|
940
949
|
}
|
|
941
|
-
function
|
|
950
|
+
function It(e, i) {
|
|
942
951
|
e.forEach((t) => {
|
|
943
952
|
const n = t.loaderCallbacks;
|
|
944
953
|
n && (t.loaderCallbacks = n.filter((s) => s.id !== i));
|
|
@@ -953,19 +962,19 @@ function is(e) {
|
|
|
953
962
|
let t = false;
|
|
954
963
|
const n = e.provider, s = e.prefix;
|
|
955
964
|
i.forEach((o) => {
|
|
956
|
-
const
|
|
957
|
-
|
|
965
|
+
const r = o.icons, l = r.pending.length;
|
|
966
|
+
r.pending = r.pending.filter((a) => {
|
|
958
967
|
if (a.prefix !== s)
|
|
959
968
|
return true;
|
|
960
969
|
const c = a.name;
|
|
961
970
|
if (e.icons[c])
|
|
962
|
-
|
|
971
|
+
r.loaded.push({
|
|
963
972
|
provider: n,
|
|
964
973
|
prefix: s,
|
|
965
974
|
name: c
|
|
966
975
|
});
|
|
967
976
|
else if (e.missing.has(c))
|
|
968
|
-
|
|
977
|
+
r.missing.push({
|
|
969
978
|
provider: n,
|
|
970
979
|
prefix: s,
|
|
971
980
|
name: c
|
|
@@ -973,18 +982,18 @@ function is(e) {
|
|
|
973
982
|
else
|
|
974
983
|
return t = true, true;
|
|
975
984
|
return false;
|
|
976
|
-
}),
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
985
|
+
}), r.pending.length !== l && (t || It([e], o.id), o.callback(
|
|
986
|
+
r.loaded.slice(0),
|
|
987
|
+
r.missing.slice(0),
|
|
988
|
+
r.pending.slice(0),
|
|
980
989
|
o.abort
|
|
981
990
|
));
|
|
982
991
|
});
|
|
983
992
|
}));
|
|
984
993
|
}
|
|
985
994
|
var os = 0;
|
|
986
|
-
function
|
|
987
|
-
const n = os++, s =
|
|
995
|
+
function rs(e, i, t) {
|
|
996
|
+
const n = os++, s = It.bind(null, t, n);
|
|
988
997
|
if (!i.pending.length)
|
|
989
998
|
return s;
|
|
990
999
|
const o = {
|
|
@@ -993,14 +1002,14 @@ function ls(e, i, t) {
|
|
|
993
1002
|
callback: e,
|
|
994
1003
|
abort: s
|
|
995
1004
|
};
|
|
996
|
-
return t.forEach((
|
|
997
|
-
(
|
|
1005
|
+
return t.forEach((r) => {
|
|
1006
|
+
(r.loaderCallbacks || (r.loaderCallbacks = [])).push(o);
|
|
998
1007
|
}), s;
|
|
999
1008
|
}
|
|
1000
|
-
function
|
|
1009
|
+
function ls(e, i = true, t = false) {
|
|
1001
1010
|
const n = [];
|
|
1002
1011
|
return e.forEach((s) => {
|
|
1003
|
-
const o = typeof s == "string" ?
|
|
1012
|
+
const o = typeof s == "string" ? ge(s, i, t) : s;
|
|
1004
1013
|
o && n.push(o);
|
|
1005
1014
|
}), n;
|
|
1006
1015
|
}
|
|
@@ -1014,54 +1023,54 @@ var as = {
|
|
|
1014
1023
|
};
|
|
1015
1024
|
function cs(e, i, t, n) {
|
|
1016
1025
|
const s = e.resources.length, o = e.random ? Math.floor(Math.random() * s) : e.index;
|
|
1017
|
-
let
|
|
1026
|
+
let r;
|
|
1018
1027
|
if (e.random) {
|
|
1019
|
-
let
|
|
1020
|
-
for (
|
|
1021
|
-
const
|
|
1022
|
-
|
|
1028
|
+
let _ = e.resources.slice(0);
|
|
1029
|
+
for (r = []; _.length > 1; ) {
|
|
1030
|
+
const I = Math.floor(Math.random() * _.length);
|
|
1031
|
+
r.push(_[I]), _ = _.slice(0, I).concat(_.slice(I + 1));
|
|
1023
1032
|
}
|
|
1024
|
-
|
|
1033
|
+
r = r.concat(_);
|
|
1025
1034
|
} else
|
|
1026
|
-
|
|
1027
|
-
const
|
|
1035
|
+
r = e.resources.slice(o).concat(e.resources.slice(0, o));
|
|
1036
|
+
const l = Date.now();
|
|
1028
1037
|
let a = "pending", c = 0, u, g = null, d = [], w = [];
|
|
1029
1038
|
typeof n == "function" && w.push(n);
|
|
1030
1039
|
function p() {
|
|
1031
1040
|
g && (clearTimeout(g), g = null);
|
|
1032
1041
|
}
|
|
1033
|
-
function
|
|
1034
|
-
a === "pending" && (a = "aborted"), p(), d.forEach((
|
|
1035
|
-
|
|
1042
|
+
function b() {
|
|
1043
|
+
a === "pending" && (a = "aborted"), p(), d.forEach((_) => {
|
|
1044
|
+
_.status === "pending" && (_.status = "aborted");
|
|
1036
1045
|
}), d = [];
|
|
1037
1046
|
}
|
|
1038
|
-
function v(
|
|
1039
|
-
|
|
1047
|
+
function v(_, I) {
|
|
1048
|
+
I && (w = []), typeof _ == "function" && w.push(_);
|
|
1040
1049
|
}
|
|
1041
1050
|
function x() {
|
|
1042
1051
|
return {
|
|
1043
|
-
startTime:
|
|
1052
|
+
startTime: l,
|
|
1044
1053
|
payload: i,
|
|
1045
1054
|
status: a,
|
|
1046
1055
|
queriesSent: c,
|
|
1047
1056
|
queriesPending: d.length,
|
|
1048
1057
|
subscribe: v,
|
|
1049
|
-
abort:
|
|
1058
|
+
abort: b
|
|
1050
1059
|
};
|
|
1051
1060
|
}
|
|
1052
|
-
function
|
|
1053
|
-
a = "failed", w.forEach((
|
|
1054
|
-
|
|
1061
|
+
function C() {
|
|
1062
|
+
a = "failed", w.forEach((_) => {
|
|
1063
|
+
_(void 0, u);
|
|
1055
1064
|
});
|
|
1056
1065
|
}
|
|
1057
1066
|
function S() {
|
|
1058
|
-
d.forEach((
|
|
1059
|
-
|
|
1067
|
+
d.forEach((_) => {
|
|
1068
|
+
_.status === "pending" && (_.status = "aborted");
|
|
1060
1069
|
}), d = [];
|
|
1061
1070
|
}
|
|
1062
|
-
function
|
|
1063
|
-
const E =
|
|
1064
|
-
switch (d = d.filter((V) => V !==
|
|
1071
|
+
function A(_, I, k) {
|
|
1072
|
+
const E = I !== "success";
|
|
1073
|
+
switch (d = d.filter((V) => V !== _), a) {
|
|
1065
1074
|
case "pending":
|
|
1066
1075
|
break;
|
|
1067
1076
|
case "failed":
|
|
@@ -1071,61 +1080,61 @@ function cs(e, i, t, n) {
|
|
|
1071
1080
|
default:
|
|
1072
1081
|
return;
|
|
1073
1082
|
}
|
|
1074
|
-
if (
|
|
1075
|
-
u =
|
|
1083
|
+
if (I === "abort") {
|
|
1084
|
+
u = k, C();
|
|
1076
1085
|
return;
|
|
1077
1086
|
}
|
|
1078
1087
|
if (E) {
|
|
1079
|
-
u =
|
|
1088
|
+
u = k, d.length || (r.length ? D() : C());
|
|
1080
1089
|
return;
|
|
1081
1090
|
}
|
|
1082
1091
|
if (p(), S(), !e.random) {
|
|
1083
|
-
const V = e.resources.indexOf(
|
|
1092
|
+
const V = e.resources.indexOf(_.resource);
|
|
1084
1093
|
V !== -1 && V !== e.index && (e.index = V);
|
|
1085
1094
|
}
|
|
1086
1095
|
a = "completed", w.forEach((V) => {
|
|
1087
|
-
V(
|
|
1096
|
+
V(k);
|
|
1088
1097
|
});
|
|
1089
1098
|
}
|
|
1090
1099
|
function D() {
|
|
1091
1100
|
if (a !== "pending")
|
|
1092
1101
|
return;
|
|
1093
1102
|
p();
|
|
1094
|
-
const
|
|
1095
|
-
if (
|
|
1103
|
+
const _ = r.shift();
|
|
1104
|
+
if (_ === void 0) {
|
|
1096
1105
|
if (d.length) {
|
|
1097
1106
|
g = setTimeout(() => {
|
|
1098
|
-
p(), a === "pending" && (S(),
|
|
1107
|
+
p(), a === "pending" && (S(), C());
|
|
1099
1108
|
}, e.timeout);
|
|
1100
1109
|
return;
|
|
1101
1110
|
}
|
|
1102
|
-
|
|
1111
|
+
C();
|
|
1103
1112
|
return;
|
|
1104
1113
|
}
|
|
1105
|
-
const
|
|
1114
|
+
const I = {
|
|
1106
1115
|
status: "pending",
|
|
1107
|
-
resource:
|
|
1108
|
-
callback: (
|
|
1109
|
-
|
|
1116
|
+
resource: _,
|
|
1117
|
+
callback: (k, E) => {
|
|
1118
|
+
A(I, k, E);
|
|
1110
1119
|
}
|
|
1111
1120
|
};
|
|
1112
|
-
d.push(
|
|
1121
|
+
d.push(I), c++, g = setTimeout(D, e.rotate), t(_, i, I.callback);
|
|
1113
1122
|
}
|
|
1114
1123
|
return setTimeout(D), x;
|
|
1115
1124
|
}
|
|
1116
|
-
function
|
|
1125
|
+
function _t(e) {
|
|
1117
1126
|
const i = {
|
|
1118
1127
|
...as,
|
|
1119
1128
|
...e
|
|
1120
1129
|
};
|
|
1121
1130
|
let t = [];
|
|
1122
1131
|
function n() {
|
|
1123
|
-
t = t.filter((
|
|
1132
|
+
t = t.filter((l) => l().status === "pending");
|
|
1124
1133
|
}
|
|
1125
|
-
function s(
|
|
1134
|
+
function s(l, a, c) {
|
|
1126
1135
|
const u = cs(
|
|
1127
1136
|
i,
|
|
1128
|
-
|
|
1137
|
+
l,
|
|
1129
1138
|
a,
|
|
1130
1139
|
(g, d) => {
|
|
1131
1140
|
n(), c && c(g, d);
|
|
@@ -1133,14 +1142,14 @@ function It(e) {
|
|
|
1133
1142
|
);
|
|
1134
1143
|
return t.push(u), u;
|
|
1135
1144
|
}
|
|
1136
|
-
function o(
|
|
1137
|
-
return t.find((a) =>
|
|
1145
|
+
function o(l) {
|
|
1146
|
+
return t.find((a) => l(a)) || null;
|
|
1138
1147
|
}
|
|
1139
1148
|
return {
|
|
1140
1149
|
query: s,
|
|
1141
1150
|
find: o,
|
|
1142
|
-
setIndex: (
|
|
1143
|
-
i.index =
|
|
1151
|
+
setIndex: (l) => {
|
|
1152
|
+
i.index = l;
|
|
1144
1153
|
},
|
|
1145
1154
|
getIndex: () => i.index,
|
|
1146
1155
|
cleanup: n
|
|
@@ -1148,19 +1157,19 @@ function It(e) {
|
|
|
1148
1157
|
}
|
|
1149
1158
|
function Ge() {
|
|
1150
1159
|
}
|
|
1151
|
-
var
|
|
1160
|
+
var ke = /* @__PURE__ */ Object.create(null);
|
|
1152
1161
|
function us(e) {
|
|
1153
|
-
if (!
|
|
1162
|
+
if (!ke[e]) {
|
|
1154
1163
|
const i = Re(e);
|
|
1155
1164
|
if (!i)
|
|
1156
1165
|
return;
|
|
1157
|
-
const t =
|
|
1166
|
+
const t = _t(i), n = {
|
|
1158
1167
|
config: i,
|
|
1159
1168
|
redundancy: t
|
|
1160
1169
|
};
|
|
1161
|
-
|
|
1170
|
+
ke[e] = n;
|
|
1162
1171
|
}
|
|
1163
|
-
return
|
|
1172
|
+
return ke[e];
|
|
1164
1173
|
}
|
|
1165
1174
|
function ds(e, i, t) {
|
|
1166
1175
|
let n, s;
|
|
@@ -1169,14 +1178,14 @@ function ds(e, i, t) {
|
|
|
1169
1178
|
if (!o)
|
|
1170
1179
|
return t(void 0, 424), Ge;
|
|
1171
1180
|
s = o.send;
|
|
1172
|
-
const
|
|
1173
|
-
|
|
1181
|
+
const r = us(e);
|
|
1182
|
+
r && (n = r.redundancy);
|
|
1174
1183
|
} else {
|
|
1175
1184
|
const o = Fe(e);
|
|
1176
1185
|
if (o) {
|
|
1177
|
-
n =
|
|
1178
|
-
const
|
|
1179
|
-
|
|
1186
|
+
n = _t(o);
|
|
1187
|
+
const r = e.resources ? e.resources[0] : "", l = Te(r);
|
|
1188
|
+
l && (s = l.send);
|
|
1180
1189
|
}
|
|
1181
1190
|
}
|
|
1182
1191
|
return !n || !s ? (t(void 0, 424), Ge) : n.query(i, s, t)().abort;
|
|
@@ -1253,15 +1262,15 @@ function ps(e, i) {
|
|
|
1253
1262
|
});
|
|
1254
1263
|
return;
|
|
1255
1264
|
}
|
|
1256
|
-
const { valid:
|
|
1257
|
-
if (
|
|
1265
|
+
const { valid: r, invalid: l } = fs(s);
|
|
1266
|
+
if (l.length && Z(e, l, null), !r.length)
|
|
1258
1267
|
return;
|
|
1259
1268
|
const a = n.match(vt) ? Te(t) : null;
|
|
1260
1269
|
if (!a) {
|
|
1261
|
-
Z(e,
|
|
1270
|
+
Z(e, r, null);
|
|
1262
1271
|
return;
|
|
1263
1272
|
}
|
|
1264
|
-
a.prepare(t, n,
|
|
1273
|
+
a.prepare(t, n, r).forEach((u) => {
|
|
1265
1274
|
ds(t, u, (g) => {
|
|
1266
1275
|
Z(e, u.icons, g);
|
|
1267
1276
|
});
|
|
@@ -1269,7 +1278,7 @@ function ps(e, i) {
|
|
|
1269
1278
|
}));
|
|
1270
1279
|
}
|
|
1271
1280
|
var ms = (e, i) => {
|
|
1272
|
-
const t =
|
|
1281
|
+
const t = ls(e, true, St()), n = ss(t);
|
|
1273
1282
|
if (!n.pending.length) {
|
|
1274
1283
|
let a = true;
|
|
1275
1284
|
return i && setTimeout(() => {
|
|
@@ -1284,12 +1293,12 @@ var ms = (e, i) => {
|
|
|
1284
1293
|
};
|
|
1285
1294
|
}
|
|
1286
1295
|
const s = /* @__PURE__ */ Object.create(null), o = [];
|
|
1287
|
-
let
|
|
1296
|
+
let r, l;
|
|
1288
1297
|
return n.pending.forEach((a) => {
|
|
1289
1298
|
const { provider: c, prefix: u } = a;
|
|
1290
|
-
if (u ===
|
|
1299
|
+
if (u === l && c === r)
|
|
1291
1300
|
return;
|
|
1292
|
-
|
|
1301
|
+
r = c, l = u, o.push(Q(c, u));
|
|
1293
1302
|
const g = s[c] || (s[c] = /* @__PURE__ */ Object.create(null));
|
|
1294
1303
|
g[u] || (g[u] = []);
|
|
1295
1304
|
}), n.pending.forEach((a) => {
|
|
@@ -1298,7 +1307,7 @@ var ms = (e, i) => {
|
|
|
1298
1307
|
}), o.forEach((a) => {
|
|
1299
1308
|
const c = s[a.provider][a.prefix];
|
|
1300
1309
|
c.length && ps(a, c);
|
|
1301
|
-
}), i ?
|
|
1310
|
+
}), i ? rs(i, n, o) : Ye;
|
|
1302
1311
|
};
|
|
1303
1312
|
function vs(e, i) {
|
|
1304
1313
|
const t = {
|
|
@@ -1361,20 +1370,20 @@ function Ss(e) {
|
|
|
1361
1370
|
function xs(e) {
|
|
1362
1371
|
return "data:image/svg+xml," + Ss(e);
|
|
1363
1372
|
}
|
|
1364
|
-
function
|
|
1373
|
+
function ks(e) {
|
|
1365
1374
|
return 'url("' + xs(e) + '")';
|
|
1366
1375
|
}
|
|
1367
1376
|
var et = {
|
|
1368
|
-
...
|
|
1377
|
+
...kt,
|
|
1369
1378
|
inline: false
|
|
1370
1379
|
};
|
|
1371
|
-
var
|
|
1380
|
+
var Is = {
|
|
1372
1381
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1373
1382
|
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
1374
1383
|
"aria-hidden": true,
|
|
1375
1384
|
role: "img"
|
|
1376
1385
|
};
|
|
1377
|
-
var
|
|
1386
|
+
var _s = {
|
|
1378
1387
|
display: "inline-block"
|
|
1379
1388
|
};
|
|
1380
1389
|
var Me = {
|
|
@@ -1407,11 +1416,11 @@ function st(e) {
|
|
|
1407
1416
|
return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
|
|
1408
1417
|
}
|
|
1409
1418
|
var it = (e, i) => {
|
|
1410
|
-
const t = vs(et, i), n = { ...
|
|
1411
|
-
for (let
|
|
1412
|
-
const v = i[
|
|
1419
|
+
const t = vs(et, i), n = { ...Is }, s = i.mode || "svg", o = {}, r = i.style, l = typeof r == "object" && !(r instanceof Array) ? r : {};
|
|
1420
|
+
for (let b in i) {
|
|
1421
|
+
const v = i[b];
|
|
1413
1422
|
if (v !== void 0)
|
|
1414
|
-
switch (
|
|
1423
|
+
switch (b) {
|
|
1415
1424
|
// Properties to ignore
|
|
1416
1425
|
case "icon":
|
|
1417
1426
|
case "style":
|
|
@@ -1423,7 +1432,7 @@ var it = (e, i) => {
|
|
|
1423
1432
|
case "inline":
|
|
1424
1433
|
case "hFlip":
|
|
1425
1434
|
case "vFlip":
|
|
1426
|
-
t[
|
|
1435
|
+
t[b] = v === true || v === "true" || v === 1;
|
|
1427
1436
|
break;
|
|
1428
1437
|
// Flip as string: 'horizontal,vertical'
|
|
1429
1438
|
case "flip":
|
|
@@ -1435,7 +1444,7 @@ var it = (e, i) => {
|
|
|
1435
1444
|
break;
|
|
1436
1445
|
// Rotation as string
|
|
1437
1446
|
case "rotate":
|
|
1438
|
-
typeof v == "string" ? t[
|
|
1447
|
+
typeof v == "string" ? t[b] = bs(v) : typeof v == "number" && (t[b] = v);
|
|
1439
1448
|
break;
|
|
1440
1449
|
// Remove aria-hidden
|
|
1441
1450
|
case "ariaHidden":
|
|
@@ -1443,8 +1452,8 @@ var it = (e, i) => {
|
|
|
1443
1452
|
v !== true && v !== "true" && delete n["aria-hidden"];
|
|
1444
1453
|
break;
|
|
1445
1454
|
default: {
|
|
1446
|
-
const x = ae[
|
|
1447
|
-
x ? (v === true || v === "true" || v === 1) && (t[x] = true) : et[
|
|
1455
|
+
const x = ae[b];
|
|
1456
|
+
x ? (v === true || v === "true" || v === 1) && (t[x] = true) : et[b] === void 0 && (n[b] = v);
|
|
1448
1457
|
}
|
|
1449
1458
|
}
|
|
1450
1459
|
}
|
|
@@ -1452,10 +1461,10 @@ var it = (e, i) => {
|
|
|
1452
1461
|
if (t.inline && (o.verticalAlign = "-0.125em"), s === "svg") {
|
|
1453
1462
|
n.style = {
|
|
1454
1463
|
...o,
|
|
1455
|
-
...
|
|
1464
|
+
...l
|
|
1456
1465
|
}, Object.assign(n, c);
|
|
1457
|
-
let
|
|
1458
|
-
return typeof v == "string" && (v = v.replace(/-/g, "_")), n.innerHTML = Un(a.body, v ? () => v + "ID" +
|
|
1466
|
+
let b = 0, v = i.id;
|
|
1467
|
+
return typeof v == "string" && (v = v.replace(/-/g, "_")), n.innerHTML = Un(a.body, v ? () => v + "ID" + b++ : "iconifyVue"), (0, import_vue.h)("svg", n);
|
|
1459
1468
|
}
|
|
1460
1469
|
const { body: u, width: g, height: d } = e, w = s === "mask" || (s === "bg" ? false : u.indexOf("currentColor") !== -1), p = ws(u, {
|
|
1461
1470
|
...c,
|
|
@@ -1464,12 +1473,12 @@ var it = (e, i) => {
|
|
|
1464
1473
|
});
|
|
1465
1474
|
return n.style = {
|
|
1466
1475
|
...o,
|
|
1467
|
-
"--svg":
|
|
1476
|
+
"--svg": ks(p),
|
|
1468
1477
|
width: st(c.width),
|
|
1469
1478
|
height: st(c.height),
|
|
1470
|
-
...
|
|
1479
|
+
..._s,
|
|
1471
1480
|
...w ? Me : Et,
|
|
1472
|
-
...
|
|
1481
|
+
...l
|
|
1473
1482
|
}, (0, import_vue.h)("span", n);
|
|
1474
1483
|
};
|
|
1475
1484
|
St(true);
|
|
@@ -1505,7 +1514,7 @@ if (typeof document < "u" && typeof window < "u") {
|
|
|
1505
1514
|
}
|
|
1506
1515
|
}
|
|
1507
1516
|
var Es = {
|
|
1508
|
-
...
|
|
1517
|
+
...ye,
|
|
1509
1518
|
body: ""
|
|
1510
1519
|
};
|
|
1511
1520
|
var ce = (0, import_vue.defineComponent)({
|
|
@@ -1541,9 +1550,9 @@ var ce = (0, import_vue.defineComponent)({
|
|
|
1541
1550
|
data: e
|
|
1542
1551
|
};
|
|
1543
1552
|
let n;
|
|
1544
|
-
if (typeof e != "string" || (n =
|
|
1553
|
+
if (typeof e != "string" || (n = ge(e, false, true)) === null)
|
|
1545
1554
|
return this.abortLoading(), null;
|
|
1546
|
-
let s =
|
|
1555
|
+
let s = $n(n);
|
|
1547
1556
|
if (!s)
|
|
1548
1557
|
return (!this._loadingIcon || this._loadingIcon.name !== e) && (this.abortLoading(), this._name = "", s !== null && (this._loadingIcon = {
|
|
1549
1558
|
name: e,
|
|
@@ -1553,8 +1562,8 @@ var ce = (0, import_vue.defineComponent)({
|
|
|
1553
1562
|
})), null;
|
|
1554
1563
|
if (this.abortLoading(), this._name !== e && (this._name = e, i && i(e)), t) {
|
|
1555
1564
|
s = Object.assign({}, s);
|
|
1556
|
-
const
|
|
1557
|
-
typeof
|
|
1565
|
+
const r = t(s.body, n.name, n.prefix, n.provider);
|
|
1566
|
+
typeof r == "string" && (s.body = r);
|
|
1558
1567
|
}
|
|
1559
1568
|
const o = ["iconify"];
|
|
1560
1569
|
return n.prefix !== "" && o.push("iconify--" + n.prefix), n.provider !== "" && o.push("iconify--" + n.provider), { data: s, classes: o };
|
|
@@ -1571,7 +1580,7 @@ var ce = (0, import_vue.defineComponent)({
|
|
|
1571
1580
|
...e,
|
|
1572
1581
|
class: (typeof e.class == "string" ? e.class + " " : "") + i.classes.join(" ")
|
|
1573
1582
|
}), it({
|
|
1574
|
-
...
|
|
1583
|
+
...ye,
|
|
1575
1584
|
...i.data
|
|
1576
1585
|
}, t);
|
|
1577
1586
|
}
|
|
@@ -1632,9 +1641,9 @@ var j = (e, i) => {
|
|
|
1632
1641
|
var Os = /* @__PURE__ */ j(Cs, [["__scopeId", "data-v-f1971a55"]]);
|
|
1633
1642
|
var zs = { class: "tab-bar" };
|
|
1634
1643
|
var As = { class: "logo-slot" };
|
|
1635
|
-
var
|
|
1636
|
-
var
|
|
1637
|
-
var
|
|
1644
|
+
var qs = { class: "tab-list" };
|
|
1645
|
+
var $s = ["onClick"];
|
|
1646
|
+
var Ls = { class: "mode-switcher" };
|
|
1638
1647
|
var Fs = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
1639
1648
|
__name: "TabBar",
|
|
1640
1649
|
props: {
|
|
@@ -1649,7 +1658,7 @@ var Fs = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
1649
1658
|
(0, import_vue.createElementVNode)("div", As, [
|
|
1650
1659
|
(0, import_vue.createVNode)(Os)
|
|
1651
1660
|
]),
|
|
1652
|
-
(0, import_vue.createElementVNode)("div",
|
|
1661
|
+
(0, import_vue.createElementVNode)("div", qs, [
|
|
1653
1662
|
((0, import_vue.openBlock)(true), (0, import_vue.createElementBlock)(import_vue.Fragment, null, (0, import_vue.renderList)(e.tabs, (n) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("button", {
|
|
1654
1663
|
key: n.id,
|
|
1655
1664
|
"data-vmd-tab": "",
|
|
@@ -1667,9 +1676,9 @@ var Fs = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
1667
1676
|
height: "13"
|
|
1668
1677
|
})) : (0, import_vue.createCommentVNode)("", true),
|
|
1669
1678
|
(0, import_vue.createElementVNode)("span", null, (0, import_vue.toDisplayString)(n.label), 1)
|
|
1670
|
-
], 10,
|
|
1679
|
+
], 10, $s))), 128))
|
|
1671
1680
|
]),
|
|
1672
|
-
(0, import_vue.createElementVNode)("div",
|
|
1681
|
+
(0, import_vue.createElementVNode)("div", Ls, [
|
|
1673
1682
|
(0, import_vue.createElementVNode)("button", {
|
|
1674
1683
|
class: (0, import_vue.normalizeClass)(["mode-btn", { "mode-btn--active": e.panelMode === "bottom" }]),
|
|
1675
1684
|
title: "Bottom panel",
|
|
@@ -1762,7 +1771,7 @@ var Ps = { class: "panel-content" };
|
|
|
1762
1771
|
var Rs = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
1763
1772
|
__name: "FloatingPanel",
|
|
1764
1773
|
setup(e) {
|
|
1765
|
-
const { height: i, isOpen: t, panelMode: n, startResizeHeight: s, switchMode: o, toggle:
|
|
1774
|
+
const { height: i, isOpen: t, panelMode: n, startResizeHeight: s, switchMode: o, toggle: r, close: l } = ve(), { registeredTabs: a, activeTabId: c, activeTab: u, setActiveTab: g } = mt(), { toggleSettings: d } = Le();
|
|
1766
1775
|
return (w, p) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)(import_vue.Fragment, null, [
|
|
1767
1776
|
(0, import_vue.unref)(t) ? (0, import_vue.createCommentVNode)("", true) : ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("button", {
|
|
1768
1777
|
key: 0,
|
|
@@ -1770,7 +1779,7 @@ var Rs = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
1770
1779
|
class: "launcher-pill",
|
|
1771
1780
|
title: "Open vue-muza devtools",
|
|
1772
1781
|
onClick: p[0] || (p[0] = //@ts-ignore
|
|
1773
|
-
(...
|
|
1782
|
+
(...b) => (0, import_vue.unref)(r) && (0, import_vue.unref)(r)(...b))
|
|
1774
1783
|
}, [
|
|
1775
1784
|
(0, import_vue.createVNode)(je, {
|
|
1776
1785
|
width: 22,
|
|
@@ -1780,7 +1789,7 @@ var Rs = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
1780
1789
|
])),
|
|
1781
1790
|
(0, import_vue.createVNode)(import_vue.Transition, { name: "panel" }, {
|
|
1782
1791
|
default: (0, import_vue.withCtx)(() => {
|
|
1783
|
-
var
|
|
1792
|
+
var b;
|
|
1784
1793
|
return [
|
|
1785
1794
|
(0, import_vue.unref)(t) ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", {
|
|
1786
1795
|
key: 0,
|
|
@@ -1798,12 +1807,12 @@ var Rs = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
1798
1807
|
"active-tab-id": (0, import_vue.unref)(c) ?? null,
|
|
1799
1808
|
"select-tab": (0, import_vue.unref)(g),
|
|
1800
1809
|
"panel-mode": (0, import_vue.unref)(n),
|
|
1801
|
-
onClose: (0, import_vue.unref)(
|
|
1810
|
+
onClose: (0, import_vue.unref)(l),
|
|
1802
1811
|
"onUpdate:panelMode": (0, import_vue.unref)(o),
|
|
1803
1812
|
onSettings: (0, import_vue.unref)(d)
|
|
1804
1813
|
}, null, 8, ["tabs", "active-tab-id", "select-tab", "panel-mode", "onClose", "onUpdate:panelMode", "onSettings"]),
|
|
1805
1814
|
(0, import_vue.createElementVNode)("div", Ps, [
|
|
1806
|
-
(0, import_vue.unref)(u) ? ((0, import_vue.openBlock)(), (0, import_vue.createBlock)((0, import_vue.resolveDynamicComponent)((
|
|
1815
|
+
(0, import_vue.unref)(u) ? ((0, import_vue.openBlock)(), (0, import_vue.createBlock)((0, import_vue.resolveDynamicComponent)((b = (0, import_vue.unref)(u)) == null ? void 0 : b.component), { key: 0 })) : (0, import_vue.createCommentVNode)("", true)
|
|
1807
1816
|
])
|
|
1808
1817
|
], 4)) : (0, import_vue.createCommentVNode)("", true)
|
|
1809
1818
|
];
|
|
@@ -1819,7 +1828,7 @@ var Vs = { class: "panel-content" };
|
|
|
1819
1828
|
var Ns = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
1820
1829
|
__name: "SidePanel",
|
|
1821
1830
|
setup(e) {
|
|
1822
|
-
const { sideWidth: i, isOpen: t, panelMode: n, startResizeSideWidth: s, switchMode: o, toggle:
|
|
1831
|
+
const { sideWidth: i, isOpen: t, panelMode: n, startResizeSideWidth: s, switchMode: o, toggle: r, close: l } = ve(), { registeredTabs: a, activeTabId: c, activeTab: u, setActiveTab: g } = mt(), { toggleSettings: d } = Le();
|
|
1823
1832
|
return (w, p) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)(import_vue.Fragment, null, [
|
|
1824
1833
|
(0, import_vue.unref)(t) ? (0, import_vue.createCommentVNode)("", true) : ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("button", {
|
|
1825
1834
|
key: 0,
|
|
@@ -1827,7 +1836,7 @@ var Ns = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
1827
1836
|
class: "launcher-pill",
|
|
1828
1837
|
title: "Open vue-muza devtools",
|
|
1829
1838
|
onClick: p[0] || (p[0] = //@ts-ignore
|
|
1830
|
-
(...
|
|
1839
|
+
(...b) => (0, import_vue.unref)(r) && (0, import_vue.unref)(r)(...b))
|
|
1831
1840
|
}, [
|
|
1832
1841
|
(0, import_vue.createVNode)(je, {
|
|
1833
1842
|
width: 22,
|
|
@@ -1837,7 +1846,7 @@ var Ns = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
1837
1846
|
])),
|
|
1838
1847
|
(0, import_vue.createVNode)(import_vue.Transition, { name: "panel" }, {
|
|
1839
1848
|
default: (0, import_vue.withCtx)(() => {
|
|
1840
|
-
var
|
|
1849
|
+
var b;
|
|
1841
1850
|
return [
|
|
1842
1851
|
(0, import_vue.unref)(t) ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", {
|
|
1843
1852
|
key: 0,
|
|
@@ -1856,12 +1865,12 @@ var Ns = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
1856
1865
|
"active-tab-id": (0, import_vue.unref)(c) ?? null,
|
|
1857
1866
|
"select-tab": (0, import_vue.unref)(g),
|
|
1858
1867
|
"panel-mode": (0, import_vue.unref)(n),
|
|
1859
|
-
onClose: (0, import_vue.unref)(
|
|
1868
|
+
onClose: (0, import_vue.unref)(l),
|
|
1860
1869
|
"onUpdate:panelMode": (0, import_vue.unref)(o),
|
|
1861
1870
|
onSettings: (0, import_vue.unref)(d)
|
|
1862
1871
|
}, null, 8, ["tabs", "active-tab-id", "select-tab", "panel-mode", "onClose", "onUpdate:panelMode", "onSettings"]),
|
|
1863
1872
|
(0, import_vue.createElementVNode)("div", Vs, [
|
|
1864
|
-
(0, import_vue.unref)(u) ? ((0, import_vue.openBlock)(), (0, import_vue.createBlock)((0, import_vue.resolveDynamicComponent)((
|
|
1873
|
+
(0, import_vue.unref)(u) ? ((0, import_vue.openBlock)(), (0, import_vue.createBlock)((0, import_vue.resolveDynamicComponent)((b = (0, import_vue.unref)(u)) == null ? void 0 : b.component), { key: 0 })) : (0, import_vue.createCommentVNode)("", true)
|
|
1865
1874
|
])
|
|
1866
1875
|
])
|
|
1867
1876
|
], 4)) : (0, import_vue.createCommentVNode)("", true)
|
|
@@ -1876,7 +1885,7 @@ var Ws = /* @__PURE__ */ j(Ns, [["__scopeId", "data-v-c45ea08a"]]);
|
|
|
1876
1885
|
var Hs = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
1877
1886
|
__name: "DevtoolsApp",
|
|
1878
1887
|
setup(e) {
|
|
1879
|
-
const { panelMode: i } =
|
|
1888
|
+
const { panelMode: i } = ve();
|
|
1880
1889
|
return (t, n) => (0, import_vue.unref)(i) === "bottom" ? ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(js, { key: 0 })) : ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(Ws, { key: 1 }));
|
|
1881
1890
|
}
|
|
1882
1891
|
});
|
|
@@ -1909,10 +1918,10 @@ function Us() {
|
|
|
1909
1918
|
function o(c) {
|
|
1910
1919
|
e.value = c;
|
|
1911
1920
|
}
|
|
1912
|
-
function
|
|
1921
|
+
function r(c) {
|
|
1913
1922
|
i.value = c;
|
|
1914
1923
|
}
|
|
1915
|
-
function
|
|
1924
|
+
function l() {
|
|
1916
1925
|
t.value = t.value === "json" ? "kv" : "json";
|
|
1917
1926
|
}
|
|
1918
1927
|
function a() {
|
|
@@ -1925,8 +1934,8 @@ function Us() {
|
|
|
1925
1934
|
payloadFormat: t,
|
|
1926
1935
|
responseFormat: n,
|
|
1927
1936
|
selectRequest: o,
|
|
1928
|
-
setViewMode:
|
|
1929
|
-
togglePayloadFormat:
|
|
1937
|
+
setViewMode: r,
|
|
1938
|
+
togglePayloadFormat: l,
|
|
1930
1939
|
toggleResponseFormat: a
|
|
1931
1940
|
};
|
|
1932
1941
|
}
|
|
@@ -1937,10 +1946,10 @@ function Js() {
|
|
|
1937
1946
|
function Xs(e, i, t) {
|
|
1938
1947
|
const n = new Array(e);
|
|
1939
1948
|
return new Proxy(n, {
|
|
1940
|
-
get(s, o,
|
|
1949
|
+
get(s, o, r) {
|
|
1941
1950
|
if (typeof o == "string") {
|
|
1942
|
-
const
|
|
1943
|
-
if (
|
|
1951
|
+
const l = o.charCodeAt(0);
|
|
1952
|
+
if (l >= 48 && l <= 57) {
|
|
1944
1953
|
const a = +o;
|
|
1945
1954
|
if (Number.isInteger(a) && a >= 0 && a < e) {
|
|
1946
1955
|
let c = s[a];
|
|
@@ -1960,15 +1969,15 @@ function Xs(e, i, t) {
|
|
|
1960
1969
|
}
|
|
1961
1970
|
if (o === "length") return e;
|
|
1962
1971
|
}
|
|
1963
|
-
return Reflect.get(s, o,
|
|
1972
|
+
return Reflect.get(s, o, r);
|
|
1964
1973
|
}
|
|
1965
1974
|
});
|
|
1966
1975
|
}
|
|
1967
1976
|
function J(e, i, t) {
|
|
1968
1977
|
let n = t.initialDeps ?? [], s, o = true;
|
|
1969
|
-
function
|
|
1970
|
-
var
|
|
1971
|
-
const a = process.env.NODE_ENV !== "production" && !!t.key && !!((
|
|
1978
|
+
function r() {
|
|
1979
|
+
var l;
|
|
1980
|
+
const a = process.env.NODE_ENV !== "production" && !!t.key && !!((l = t.debug) != null && l.call(t));
|
|
1972
1981
|
let c = 0;
|
|
1973
1982
|
a && (c = Date.now());
|
|
1974
1983
|
const u = e();
|
|
@@ -1977,8 +1986,8 @@ function J(e, i, t) {
|
|
|
1977
1986
|
n = u;
|
|
1978
1987
|
let d = 0;
|
|
1979
1988
|
if (a && (d = Date.now()), s = i(...u), a) {
|
|
1980
|
-
const w = Math.round((Date.now() - c) * 100) / 100, p = Math.round((Date.now() - d) * 100) / 100,
|
|
1981
|
-
for (x = String(x); x.length <
|
|
1989
|
+
const w = Math.round((Date.now() - c) * 100) / 100, p = Math.round((Date.now() - d) * 100) / 100, b = p / 16, v = (x, C) => {
|
|
1990
|
+
for (x = String(x); x.length < C; )
|
|
1982
1991
|
x = " " + x;
|
|
1983
1992
|
return x;
|
|
1984
1993
|
};
|
|
@@ -1989,18 +1998,18 @@ function J(e, i, t) {
|
|
|
1989
1998
|
font-weight: bold;
|
|
1990
1999
|
color: hsl(${Math.max(
|
|
1991
2000
|
0,
|
|
1992
|
-
Math.min(120 - 120 *
|
|
2001
|
+
Math.min(120 - 120 * b, 120)
|
|
1993
2002
|
)}deg 100% 31%);`,
|
|
1994
2003
|
t == null ? void 0 : t.key
|
|
1995
2004
|
);
|
|
1996
2005
|
}
|
|
1997
2006
|
return t != null && t.onChange && !(o && t.skipInitialOnChange) && t.onChange(s), o = false, s;
|
|
1998
2007
|
}
|
|
1999
|
-
return
|
|
2000
|
-
n =
|
|
2001
|
-
},
|
|
2008
|
+
return r.updateDeps = (l) => {
|
|
2009
|
+
n = l;
|
|
2010
|
+
}, r;
|
|
2002
2011
|
}
|
|
2003
|
-
function
|
|
2012
|
+
function rt(e, i) {
|
|
2004
2013
|
if (e === void 0)
|
|
2005
2014
|
throw new Error("Unexpected undefined");
|
|
2006
2015
|
return e;
|
|
@@ -2013,14 +2022,14 @@ var Gs = (e, i, t) => {
|
|
|
2013
2022
|
};
|
|
2014
2023
|
};
|
|
2015
2024
|
var ee;
|
|
2016
|
-
var
|
|
2025
|
+
var Ie = () => {
|
|
2017
2026
|
if (ee !== void 0) return ee;
|
|
2018
2027
|
if (typeof navigator > "u") return ee = false;
|
|
2019
2028
|
if (/iP(hone|od|ad)/.test(navigator.userAgent)) return ee = true;
|
|
2020
2029
|
const e = navigator.maxTouchPoints;
|
|
2021
2030
|
return ee = navigator.platform === "MacIntel" && e !== void 0 && e > 0;
|
|
2022
2031
|
};
|
|
2023
|
-
var
|
|
2032
|
+
var lt = (e) => {
|
|
2024
2033
|
const { offsetWidth: i, offsetHeight: t } = e;
|
|
2025
2034
|
return { width: i, height: t };
|
|
2026
2035
|
};
|
|
@@ -2038,16 +2047,16 @@ var ei = (e, i) => {
|
|
|
2038
2047
|
const n = e.targetWindow;
|
|
2039
2048
|
if (!n)
|
|
2040
2049
|
return;
|
|
2041
|
-
const s = (
|
|
2042
|
-
const { width:
|
|
2043
|
-
i({ width: Math.round(
|
|
2050
|
+
const s = (r) => {
|
|
2051
|
+
const { width: l, height: a } = r;
|
|
2052
|
+
i({ width: Math.round(l), height: Math.round(a) });
|
|
2044
2053
|
};
|
|
2045
|
-
if (s(
|
|
2054
|
+
if (s(lt(t)), !n.ResizeObserver)
|
|
2046
2055
|
return () => {
|
|
2047
2056
|
};
|
|
2048
|
-
const o = new n.ResizeObserver((
|
|
2049
|
-
const
|
|
2050
|
-
const a =
|
|
2057
|
+
const o = new n.ResizeObserver((r) => {
|
|
2058
|
+
const l = () => {
|
|
2059
|
+
const a = r[0];
|
|
2051
2060
|
if (a != null && a.borderBoxSize) {
|
|
2052
2061
|
const c = a.borderBoxSize[0];
|
|
2053
2062
|
if (c) {
|
|
@@ -2055,15 +2064,15 @@ var ei = (e, i) => {
|
|
|
2055
2064
|
return;
|
|
2056
2065
|
}
|
|
2057
2066
|
}
|
|
2058
|
-
s(
|
|
2067
|
+
s(lt(t));
|
|
2059
2068
|
};
|
|
2060
|
-
e.options.useAnimationFrameWithResizeObserver ? requestAnimationFrame(
|
|
2069
|
+
e.options.useAnimationFrameWithResizeObserver ? requestAnimationFrame(l) : l();
|
|
2061
2070
|
});
|
|
2062
2071
|
return o.observe(t, { box: "border-box" }), () => {
|
|
2063
2072
|
o.unobserve(t);
|
|
2064
2073
|
};
|
|
2065
2074
|
};
|
|
2066
|
-
var
|
|
2075
|
+
var pe = {
|
|
2067
2076
|
passive: true
|
|
2068
2077
|
};
|
|
2069
2078
|
var ti = typeof window > "u" ? true : "onscrollend" in window;
|
|
@@ -2075,15 +2084,15 @@ var ni = (e, i, t) => {
|
|
|
2075
2084
|
if (!s)
|
|
2076
2085
|
return;
|
|
2077
2086
|
const o = e.options.useScrollendEvent && ti;
|
|
2078
|
-
let
|
|
2079
|
-
const
|
|
2087
|
+
let r = 0;
|
|
2088
|
+
const l = o ? null : Gs(
|
|
2080
2089
|
s,
|
|
2081
|
-
() => i(
|
|
2090
|
+
() => i(r, false),
|
|
2082
2091
|
e.options.isScrollingResetDelay
|
|
2083
2092
|
), a = (g) => () => {
|
|
2084
|
-
|
|
2093
|
+
r = t(n), l == null || l(), i(r, g);
|
|
2085
2094
|
}, c = a(true), u = a(false);
|
|
2086
|
-
return n.addEventListener("scroll", c,
|
|
2095
|
+
return n.addEventListener("scroll", c, pe), o && n.addEventListener("scrollend", u, pe), () => {
|
|
2087
2096
|
n.removeEventListener("scroll", c), o && n.removeEventListener("scrollend", u);
|
|
2088
2097
|
};
|
|
2089
2098
|
};
|
|
@@ -2120,8 +2129,8 @@ var oi = (e, {
|
|
|
2120
2129
|
behavior: t
|
|
2121
2130
|
});
|
|
2122
2131
|
};
|
|
2123
|
-
var
|
|
2124
|
-
var
|
|
2132
|
+
var ri = oi;
|
|
2133
|
+
var li = class {
|
|
2125
2134
|
constructor(i) {
|
|
2126
2135
|
this.unsubs = [], this.scrollElement = null, this.targetWindow = null, this.isScrolling = false, this.scrollState = null, this.measurementsCache = [], this._flatMeasurements = null, this.itemSizeCache = /* @__PURE__ */ new Map(), this.itemSizeCacheVersion = 0, this.laneAssignments = /* @__PURE__ */ new Map(), this.pendingMin = null, this.prevLanes = void 0, this.lanesChangedFlag = false, this.lanesSettling = false, this.pendingScrollAnchor = null, this.scrollRect = null, this.scrollOffset = null, this.scrollDirection = null, this.scrollAdjustments = 0, this._iosDeferredAdjustment = 0, this._iosTouching = false, this._iosJustTouchEnded = false, this._iosTouchEndTimerId = null, this._intendedScrollOffset = null, this.elementsCache = /* @__PURE__ */ new Map(), this.now = () => {
|
|
2127
2136
|
var t, n, s;
|
|
@@ -2130,12 +2139,12 @@ var ri = class {
|
|
|
2130
2139
|
let t = null;
|
|
2131
2140
|
const n = () => t || (!this.targetWindow || !this.targetWindow.ResizeObserver ? null : t = new this.targetWindow.ResizeObserver((s) => {
|
|
2132
2141
|
s.forEach((o) => {
|
|
2133
|
-
const
|
|
2134
|
-
const
|
|
2135
|
-
if (!
|
|
2136
|
-
this.observer.unobserve(
|
|
2142
|
+
const r = () => {
|
|
2143
|
+
const l = o.target, a = this.indexFromElement(l);
|
|
2144
|
+
if (!l.isConnected) {
|
|
2145
|
+
this.observer.unobserve(l);
|
|
2137
2146
|
for (const [c, u] of this.elementsCache)
|
|
2138
|
-
if (u ===
|
|
2147
|
+
if (u === l) {
|
|
2139
2148
|
this.elementsCache.delete(c);
|
|
2140
2149
|
break;
|
|
2141
2150
|
}
|
|
@@ -2143,10 +2152,10 @@ var ri = class {
|
|
|
2143
2152
|
}
|
|
2144
2153
|
this.shouldMeasureDuringScroll(a) && this.resizeItem(
|
|
2145
2154
|
a,
|
|
2146
|
-
this.options.measureElement(
|
|
2155
|
+
this.options.measureElement(l, o, this)
|
|
2147
2156
|
);
|
|
2148
2157
|
};
|
|
2149
|
-
this.options.useAnimationFrameWithResizeObserver ? requestAnimationFrame(
|
|
2158
|
+
this.options.useAnimationFrameWithResizeObserver ? requestAnimationFrame(r) : r();
|
|
2150
2159
|
});
|
|
2151
2160
|
}));
|
|
2152
2161
|
return {
|
|
@@ -2200,36 +2209,36 @@ var ri = class {
|
|
|
2200
2209
|
const w = t[d];
|
|
2201
2210
|
w !== void 0 && (o[d] = w);
|
|
2202
2211
|
}
|
|
2203
|
-
const
|
|
2204
|
-
let
|
|
2205
|
-
if (
|
|
2206
|
-
const d =
|
|
2207
|
-
if (w !== d || d > 0 && w > 0 && (o.getItemKey(0) !==
|
|
2212
|
+
const r = this.options;
|
|
2213
|
+
let l = null, a = null, c = false;
|
|
2214
|
+
if (r !== void 0 && r.enabled && o.enabled && o.anchorTo === "end" && this.scrollElement !== null) {
|
|
2215
|
+
const d = r.count, w = o.count, p = this.getMeasurements(), b = d > 0 ? ((n = p[0]) == null ? void 0 : n.key) ?? r.getItemKey(0) : null, v = d > 0 ? ((s = p[d - 1]) == null ? void 0 : s.key) ?? r.getItemKey(d - 1) : null;
|
|
2216
|
+
if (w !== d || d > 0 && w > 0 && (o.getItemKey(0) !== b || o.getItemKey(w - 1) !== v)) {
|
|
2208
2217
|
c = true;
|
|
2209
2218
|
const S = d > 0 ? this.getVirtualItemForOffset(this.getScrollOffset()) ?? p[0] : null;
|
|
2210
|
-
S && (
|
|
2211
|
-
const
|
|
2212
|
-
|
|
2219
|
+
S && (l = [S.key, this.getScrollOffset() - S.start]);
|
|
2220
|
+
const A = o.followOnAppend === true ? "auto" : o.followOnAppend || null;
|
|
2221
|
+
A && w > d && this.isAtEnd(r.scrollEndThreshold) && (d === 0 || o.getItemKey(w - 1) !== v) && (a = A);
|
|
2213
2222
|
}
|
|
2214
2223
|
}
|
|
2215
2224
|
this.options = o, c && (this.pendingMin = 0, this.itemSizeCacheVersion++);
|
|
2216
2225
|
let u = false, g = 0;
|
|
2217
|
-
if (
|
|
2218
|
-
const [d, w] =
|
|
2226
|
+
if (l && this.scrollOffset !== null) {
|
|
2227
|
+
const [d, w] = l, p = this.getMeasurements(), { count: b, getItemKey: v } = this.options;
|
|
2219
2228
|
let x = 0;
|
|
2220
|
-
for (; x <
|
|
2229
|
+
for (; x < b && v(x) !== d; )
|
|
2221
2230
|
x++;
|
|
2222
|
-
if (x <
|
|
2223
|
-
const
|
|
2224
|
-
if (
|
|
2225
|
-
const S =
|
|
2231
|
+
if (x < b) {
|
|
2232
|
+
const C = p[x];
|
|
2233
|
+
if (C) {
|
|
2234
|
+
const S = C.start + w;
|
|
2226
2235
|
S !== this.scrollOffset && (g = S - this.scrollOffset, this.scrollOffset = S, u = true);
|
|
2227
2236
|
}
|
|
2228
2237
|
}
|
|
2229
2238
|
}
|
|
2230
2239
|
(u || a) && (this.pendingScrollAnchor = [
|
|
2231
|
-
u ?
|
|
2232
|
-
u ?
|
|
2240
|
+
u ? l[0] : null,
|
|
2241
|
+
u ? l[1] : 0,
|
|
2233
2242
|
a,
|
|
2234
2243
|
g
|
|
2235
2244
|
]);
|
|
@@ -2273,27 +2282,27 @@ var ri = class {
|
|
|
2273
2282
|
this.scrollRect = o, this.maybeNotify();
|
|
2274
2283
|
})
|
|
2275
2284
|
), this.unsubs.push(
|
|
2276
|
-
this.options.observeElementOffset(this, (o,
|
|
2277
|
-
this._intendedScrollOffset !== null && Math.abs(o - this._intendedScrollOffset) < 1.5 && (o = this._intendedScrollOffset), this._intendedScrollOffset = null, this.scrollAdjustments = 0, this.scrollDirection =
|
|
2285
|
+
this.options.observeElementOffset(this, (o, r) => {
|
|
2286
|
+
this._intendedScrollOffset !== null && Math.abs(o - this._intendedScrollOffset) < 1.5 && (o = this._intendedScrollOffset), this._intendedScrollOffset = null, this.scrollAdjustments = 0, this.scrollDirection = r ? this.getScrollOffset() < o ? "forward" : "backward" : null, this.scrollOffset = o, this.isScrolling = r, this._flushIosDeferredIfReady(), this.scrollState && this.scheduleScrollReconcile(), this.maybeNotify();
|
|
2278
2287
|
})
|
|
2279
2288
|
), "addEventListener" in this.scrollElement) {
|
|
2280
|
-
const o = this.scrollElement,
|
|
2289
|
+
const o = this.scrollElement, r = () => {
|
|
2281
2290
|
this._iosTouching = true, this._iosJustTouchEnded = false, this._iosTouchEndTimerId !== null && this.targetWindow != null && (this.targetWindow.clearTimeout(this._iosTouchEndTimerId), this._iosTouchEndTimerId = null);
|
|
2282
|
-
},
|
|
2283
|
-
this._iosTouching = false, !(!
|
|
2291
|
+
}, l = () => {
|
|
2292
|
+
this._iosTouching = false, !(!Ie() || this.targetWindow == null) && (this._iosJustTouchEnded = true, this._iosTouchEndTimerId = this.targetWindow.setTimeout(() => {
|
|
2284
2293
|
this._iosJustTouchEnded = false, this._iosTouchEndTimerId = null, this._flushIosDeferredIfReady();
|
|
2285
2294
|
}, 150));
|
|
2286
2295
|
};
|
|
2287
2296
|
o.addEventListener(
|
|
2288
2297
|
"touchstart",
|
|
2289
|
-
|
|
2290
|
-
|
|
2298
|
+
r,
|
|
2299
|
+
pe
|
|
2291
2300
|
), o.addEventListener(
|
|
2292
2301
|
"touchend",
|
|
2293
|
-
|
|
2294
|
-
|
|
2302
|
+
l,
|
|
2303
|
+
pe
|
|
2295
2304
|
), this.unsubs.push(() => {
|
|
2296
|
-
o.removeEventListener("touchstart",
|
|
2305
|
+
o.removeEventListener("touchstart", r), o.removeEventListener("touchend", l), this._iosTouchEndTimerId !== null && this.targetWindow != null && (this.targetWindow.clearTimeout(this._iosTouchEndTimerId), this._iosTouchEndTimerId = null);
|
|
2297
2306
|
});
|
|
2298
2307
|
}
|
|
2299
2308
|
this._scrollToOffset(this.getScrollOffset(), {
|
|
@@ -2303,11 +2312,11 @@ var ri = class {
|
|
|
2303
2312
|
}
|
|
2304
2313
|
const s = this.pendingScrollAnchor;
|
|
2305
2314
|
if (this.pendingScrollAnchor = null, s && this.scrollElement && this.options.enabled) {
|
|
2306
|
-
const [o,
|
|
2307
|
-
o !== null && !
|
|
2315
|
+
const [o, r, l, a] = s;
|
|
2316
|
+
o !== null && !l && (Ie() && (this.isScrolling || this._iosTouching || this._iosJustTouchEnded) ? a !== 0 && (this._iosDeferredAdjustment += a) : this._scrollToOffset(this.getScrollOffset(), {
|
|
2308
2317
|
adjustments: void 0,
|
|
2309
2318
|
behavior: void 0
|
|
2310
|
-
})),
|
|
2319
|
+
})), l && this.scrollToEnd({ behavior: l });
|
|
2311
2320
|
}
|
|
2312
2321
|
}, this._flushIosDeferredIfReady = () => {
|
|
2313
2322
|
if (this._iosDeferredAdjustment === 0 || this.isScrolling || this._iosTouching || this._iosJustTouchEnded) return;
|
|
@@ -2320,17 +2329,17 @@ var ri = class {
|
|
|
2320
2329
|
});
|
|
2321
2330
|
}, this.rafId = null, this.getSize = () => this.options.enabled ? (this.scrollRect = this.scrollRect ?? this.options.initialRect, this.scrollRect[this.options.horizontal ? "width" : "height"]) : (this.scrollRect = null, 0), this.getScrollOffset = () => this.options.enabled ? (this.scrollOffset = this.scrollOffset ?? (typeof this.options.initialOffset == "function" ? this.options.initialOffset() : this.options.initialOffset), this.scrollOffset) : (this.scrollOffset = null, 0), this.getFurthestMeasurement = (t, n) => {
|
|
2322
2331
|
const s = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
|
|
2323
|
-
for (let
|
|
2324
|
-
const
|
|
2325
|
-
if (s.has(
|
|
2332
|
+
for (let r = n - 1; r >= 0; r--) {
|
|
2333
|
+
const l = t[r];
|
|
2334
|
+
if (s.has(l.lane))
|
|
2326
2335
|
continue;
|
|
2327
2336
|
const a = o.get(
|
|
2328
|
-
|
|
2337
|
+
l.lane
|
|
2329
2338
|
);
|
|
2330
|
-
if (a == null ||
|
|
2339
|
+
if (a == null || l.end > a.end ? o.set(l.lane, l) : l.end < a.end && s.set(l.lane, true), s.size === this.options.lanes)
|
|
2331
2340
|
break;
|
|
2332
2341
|
}
|
|
2333
|
-
return o.size === this.options.lanes ? Array.from(o.values()).sort((
|
|
2342
|
+
return o.size === this.options.lanes ? Array.from(o.values()).sort((r, l) => r.end === l.end ? r.index - l.index : r.end - l.end)[0] : void 0;
|
|
2334
2343
|
}, this.getMeasurementOptions = J(
|
|
2335
2344
|
() => [
|
|
2336
2345
|
this.options.count,
|
|
@@ -2341,13 +2350,13 @@ var ri = class {
|
|
|
2341
2350
|
this.options.lanes,
|
|
2342
2351
|
this.options.laneAssignmentMode
|
|
2343
2352
|
],
|
|
2344
|
-
(t, n, s, o,
|
|
2353
|
+
(t, n, s, o, r, l, a) => (this.prevLanes !== void 0 && this.prevLanes !== l && (this.lanesChangedFlag = true), this.prevLanes = l, this.pendingMin = null, {
|
|
2345
2354
|
count: t,
|
|
2346
2355
|
paddingStart: n,
|
|
2347
2356
|
scrollMargin: s,
|
|
2348
2357
|
getItemKey: o,
|
|
2349
|
-
enabled:
|
|
2350
|
-
lanes:
|
|
2358
|
+
enabled: r,
|
|
2359
|
+
lanes: l,
|
|
2351
2360
|
laneAssignmentMode: a
|
|
2352
2361
|
}),
|
|
2353
2362
|
{
|
|
@@ -2360,12 +2369,12 @@ var ri = class {
|
|
|
2360
2369
|
paddingStart: n,
|
|
2361
2370
|
scrollMargin: s,
|
|
2362
2371
|
getItemKey: o,
|
|
2363
|
-
enabled:
|
|
2364
|
-
lanes:
|
|
2372
|
+
enabled: r,
|
|
2373
|
+
lanes: l,
|
|
2365
2374
|
laneAssignmentMode: a
|
|
2366
2375
|
}, c) => {
|
|
2367
2376
|
const u = this.itemSizeCache;
|
|
2368
|
-
if (!
|
|
2377
|
+
if (!r)
|
|
2369
2378
|
return this.measurementsCache = [], this.itemSizeCache.clear(), this.laneAssignments.clear(), [];
|
|
2370
2379
|
if (this.laneAssignments.size > t)
|
|
2371
2380
|
for (const p of this.laneAssignments.keys())
|
|
@@ -2374,11 +2383,11 @@ var ri = class {
|
|
|
2374
2383
|
this.itemSizeCache.set(p.key, p.size);
|
|
2375
2384
|
}));
|
|
2376
2385
|
const g = this.lanesSettling ? 0 : this.pendingMin ?? 0;
|
|
2377
|
-
if (this.pendingMin = null, this.lanesSettling && this.measurementsCache.length === t && (this.lanesSettling = false),
|
|
2378
|
-
const p = this.options.gap,
|
|
2386
|
+
if (this.pendingMin = null, this.lanesSettling && this.measurementsCache.length === t && (this.lanesSettling = false), l === 1) {
|
|
2387
|
+
const p = this.options.gap, b = t * 2;
|
|
2379
2388
|
let v = this._flatMeasurements;
|
|
2380
|
-
if (!v || v.length <
|
|
2381
|
-
const S = new Float64Array(
|
|
2389
|
+
if (!v || v.length < b) {
|
|
2390
|
+
const S = new Float64Array(b);
|
|
2382
2391
|
v && g > 0 && S.set(v.subarray(0, g * 2)), v = S, this._flatMeasurements = v;
|
|
2383
2392
|
}
|
|
2384
2393
|
let x;
|
|
@@ -2389,38 +2398,38 @@ var ri = class {
|
|
|
2389
2398
|
x = v[S * 2] + v[S * 2 + 1] + p;
|
|
2390
2399
|
}
|
|
2391
2400
|
for (let S = g; S < t; S++) {
|
|
2392
|
-
const
|
|
2393
|
-
v[S * 2] = x, v[S * 2 + 1] =
|
|
2401
|
+
const A = o(S), D = u.get(A), _ = typeof D == "number" ? D : this.options.estimateSize(S);
|
|
2402
|
+
v[S * 2] = x, v[S * 2 + 1] = _, x += _ + p;
|
|
2394
2403
|
}
|
|
2395
|
-
const
|
|
2396
|
-
return this.measurementsCache =
|
|
2404
|
+
const C = Xs(t, v, o);
|
|
2405
|
+
return this.measurementsCache = C, C;
|
|
2397
2406
|
}
|
|
2398
|
-
const d = this.measurementsCache.slice(0, g), w = new Array(
|
|
2407
|
+
const d = this.measurementsCache.slice(0, g), w = new Array(l).fill(
|
|
2399
2408
|
void 0
|
|
2400
2409
|
);
|
|
2401
2410
|
for (let p = 0; p < g; p++) {
|
|
2402
|
-
const
|
|
2403
|
-
|
|
2411
|
+
const b = d[p];
|
|
2412
|
+
b && (w[b.lane] = p);
|
|
2404
2413
|
}
|
|
2405
2414
|
for (let p = g; p < t; p++) {
|
|
2406
|
-
const
|
|
2407
|
-
let x,
|
|
2408
|
-
const S = a === "estimate" || u.has(
|
|
2415
|
+
const b = o(p), v = this.laneAssignments.get(p);
|
|
2416
|
+
let x, C;
|
|
2417
|
+
const S = a === "estimate" || u.has(b);
|
|
2409
2418
|
if (v !== void 0 && this.options.lanes > 1) {
|
|
2410
2419
|
x = v;
|
|
2411
|
-
const
|
|
2412
|
-
|
|
2420
|
+
const I = w[x], k = I !== void 0 ? d[I] : void 0;
|
|
2421
|
+
C = k ? k.end + this.options.gap : n + s;
|
|
2413
2422
|
} else {
|
|
2414
|
-
const
|
|
2415
|
-
|
|
2423
|
+
const I = this.options.lanes === 1 ? d[p - 1] : this.getFurthestMeasurement(d, p);
|
|
2424
|
+
C = I ? I.end + this.options.gap : n + s, x = I ? I.lane : p % this.options.lanes, this.options.lanes > 1 && S && this.laneAssignments.set(p, x);
|
|
2416
2425
|
}
|
|
2417
|
-
const
|
|
2426
|
+
const A = u.get(b), D = typeof A == "number" ? A : this.options.estimateSize(p), _ = C + D;
|
|
2418
2427
|
d[p] = {
|
|
2419
2428
|
index: p,
|
|
2420
|
-
start:
|
|
2429
|
+
start: C,
|
|
2421
2430
|
size: D,
|
|
2422
|
-
end:
|
|
2423
|
-
key:
|
|
2431
|
+
end: _,
|
|
2432
|
+
key: b,
|
|
2424
2433
|
lane: x
|
|
2425
2434
|
}, w[x] = p;
|
|
2426
2435
|
}
|
|
@@ -2463,9 +2472,9 @@ var ri = class {
|
|
|
2463
2472
|
n
|
|
2464
2473
|
];
|
|
2465
2474
|
},
|
|
2466
|
-
(t, n, s, o,
|
|
2475
|
+
(t, n, s, o, r) => o === null || r === null ? [] : t({
|
|
2467
2476
|
startIndex: o,
|
|
2468
|
-
endIndex:
|
|
2477
|
+
endIndex: r,
|
|
2469
2478
|
overscan: n,
|
|
2470
2479
|
count: s
|
|
2471
2480
|
}),
|
|
@@ -2487,17 +2496,17 @@ var ri = class {
|
|
|
2487
2496
|
const o = Math.max(
|
|
2488
2497
|
this.options.overscan,
|
|
2489
2498
|
Math.ceil((this.range.endIndex - this.range.startIndex) / 2)
|
|
2490
|
-
),
|
|
2499
|
+
), r = Math.max(0, s - o), l = Math.min(
|
|
2491
2500
|
this.options.count - 1,
|
|
2492
2501
|
s + o
|
|
2493
2502
|
);
|
|
2494
|
-
return t >=
|
|
2503
|
+
return t >= r && t <= l;
|
|
2495
2504
|
}
|
|
2496
2505
|
return true;
|
|
2497
2506
|
}, this.measureElement = (t) => {
|
|
2498
2507
|
if (!t) {
|
|
2499
|
-
this.elementsCache.forEach((
|
|
2500
|
-
|
|
2508
|
+
this.elementsCache.forEach((r, l) => {
|
|
2509
|
+
r.isConnected || (this.observer.unobserve(r), this.elementsCache.delete(l));
|
|
2501
2510
|
});
|
|
2502
2511
|
return;
|
|
2503
2512
|
}
|
|
@@ -2506,16 +2515,16 @@ var ri = class {
|
|
|
2506
2515
|
}, this.resizeItem = (t, n) => {
|
|
2507
2516
|
var s, o;
|
|
2508
2517
|
if (t < 0 || t >= this.options.count) return;
|
|
2509
|
-
let
|
|
2518
|
+
let r, l, a;
|
|
2510
2519
|
const c = this._flatMeasurements;
|
|
2511
2520
|
if (this.options.lanes === 1 && c !== null)
|
|
2512
|
-
a = this.options.getItemKey(t),
|
|
2521
|
+
a = this.options.getItemKey(t), l = c[t * 2], r = c[t * 2 + 1];
|
|
2513
2522
|
else {
|
|
2514
2523
|
const d = this.measurementsCache[t];
|
|
2515
2524
|
if (!d) return;
|
|
2516
|
-
a = d.key,
|
|
2525
|
+
a = d.key, l = d.start, r = d.size;
|
|
2517
2526
|
}
|
|
2518
|
-
const u = this.itemSizeCache.get(a) ??
|
|
2527
|
+
const u = this.itemSizeCache.get(a) ?? r, g = n - u;
|
|
2519
2528
|
if (g !== 0) {
|
|
2520
2529
|
const d = this.options.anchorTo === "end" && ((s = this.scrollState) == null ? void 0 : s.behavior) !== "smooth" && this.getVirtualDistanceFromEnd() <= this.options.scrollEndThreshold, w = d ? this.getTotalSize() : 0, p = ((o = this.scrollState) == null ? void 0 : o.behavior) !== "smooth" && (this.shouldAdjustScrollPositionOnItemSizeChange !== void 0 ? this.shouldAdjustScrollPositionOnItemSizeChange(
|
|
2521
2530
|
// The callback expects a VirtualItem; build one lazily only
|
|
@@ -2523,9 +2532,9 @@ var ri = class {
|
|
|
2523
2532
|
this.measurementsCache[t] ?? {
|
|
2524
2533
|
index: t,
|
|
2525
2534
|
key: a,
|
|
2526
|
-
start:
|
|
2527
|
-
size:
|
|
2528
|
-
end:
|
|
2535
|
+
start: l,
|
|
2536
|
+
size: r,
|
|
2537
|
+
end: l + r,
|
|
2529
2538
|
lane: 0
|
|
2530
2539
|
},
|
|
2531
2540
|
g,
|
|
@@ -2537,7 +2546,7 @@ var ri = class {
|
|
|
2537
2546
|
// be compensated regardless of scroll direction.
|
|
2538
2547
|
// Re-measurement (has(key)): skip during backward scroll
|
|
2539
2548
|
// to avoid the "items jump while scrolling up" cascade.
|
|
2540
|
-
|
|
2549
|
+
l < this.getScrollOffset() + this.scrollAdjustments && (!this.itemSizeCache.has(a) || this.scrollDirection !== "backward")
|
|
2541
2550
|
));
|
|
2542
2551
|
(this.pendingMin === null || t < this.pendingMin) && (this.pendingMin = t), this.itemSizeCache.set(a, n), this.itemSizeCacheVersion++, d ? this.applyScrollAdjustment(this.getTotalSize() - w) : p && this.applyScrollAdjustment(g), this.notify(false);
|
|
2543
2552
|
}
|
|
@@ -2545,8 +2554,8 @@ var ri = class {
|
|
|
2545
2554
|
() => [this.getVirtualIndexes(), this.getMeasurements()],
|
|
2546
2555
|
(t, n) => {
|
|
2547
2556
|
const s = [];
|
|
2548
|
-
for (let o = 0,
|
|
2549
|
-
const
|
|
2557
|
+
for (let o = 0, r = t.length; o < r; o++) {
|
|
2558
|
+
const l = t[o], a = n[l];
|
|
2550
2559
|
s.push(a);
|
|
2551
2560
|
}
|
|
2552
2561
|
return s;
|
|
@@ -2559,13 +2568,13 @@ var ri = class {
|
|
|
2559
2568
|
const n = this.getMeasurements();
|
|
2560
2569
|
if (n.length === 0)
|
|
2561
2570
|
return;
|
|
2562
|
-
const s = this._flatMeasurements, o = this.options.lanes === 1 && s != null,
|
|
2571
|
+
const s = this._flatMeasurements, o = this.options.lanes === 1 && s != null, r = Mt(
|
|
2563
2572
|
0,
|
|
2564
2573
|
n.length - 1,
|
|
2565
|
-
o ? (
|
|
2574
|
+
o ? (l) => s[l * 2] : (l) => rt(n[l]).start,
|
|
2566
2575
|
t
|
|
2567
2576
|
);
|
|
2568
|
-
return
|
|
2577
|
+
return rt(n[r]);
|
|
2569
2578
|
}, this.getMaxScrollOffset = () => {
|
|
2570
2579
|
if (!this.scrollElement) return 0;
|
|
2571
2580
|
if ("scrollHeight" in this.scrollElement)
|
|
@@ -2579,35 +2588,35 @@ var ri = class {
|
|
|
2579
2588
|
0
|
|
2580
2589
|
), this.getDistanceFromEnd = () => Math.max(this.getMaxScrollOffset() - this.getScrollOffset(), 0), this.isAtEnd = (t = this.options.scrollEndThreshold) => this.getDistanceFromEnd() <= t, this.getOffsetForAlignment = (t, n, s = 0) => {
|
|
2581
2590
|
if (!this.scrollElement) return 0;
|
|
2582
|
-
const o = this.getSize(),
|
|
2583
|
-
n === "auto" && (n = t >=
|
|
2584
|
-
const
|
|
2585
|
-
return Math.max(Math.min(
|
|
2591
|
+
const o = this.getSize(), r = this.getScrollOffset();
|
|
2592
|
+
n === "auto" && (n = t >= r + o ? "end" : "start"), n === "center" ? t += (s - o) / 2 : n === "end" && (t -= o);
|
|
2593
|
+
const l = this.getMaxScrollOffset();
|
|
2594
|
+
return Math.max(Math.min(l, t), 0);
|
|
2586
2595
|
}, this.getOffsetForIndex = (t, n = "auto") => {
|
|
2587
2596
|
t = Math.max(0, Math.min(t, this.options.count - 1));
|
|
2588
|
-
const s = this.getSize(), o = this.getScrollOffset(),
|
|
2589
|
-
if (!
|
|
2597
|
+
const s = this.getSize(), o = this.getScrollOffset(), r = this.measurementsCache[t];
|
|
2598
|
+
if (!r) return;
|
|
2590
2599
|
if (n === "auto")
|
|
2591
|
-
if (
|
|
2600
|
+
if (r.end >= o + s - this.options.scrollPaddingEnd)
|
|
2592
2601
|
n = "end";
|
|
2593
|
-
else if (
|
|
2602
|
+
else if (r.start <= o + this.options.scrollPaddingStart)
|
|
2594
2603
|
n = "start";
|
|
2595
2604
|
else
|
|
2596
2605
|
return [o, n];
|
|
2597
2606
|
if (n === "end" && t === this.options.count - 1)
|
|
2598
2607
|
return [this.getMaxScrollOffset(), n];
|
|
2599
|
-
const
|
|
2608
|
+
const l = n === "end" ? r.end + this.options.scrollPaddingEnd : r.start - this.options.scrollPaddingStart;
|
|
2600
2609
|
return [
|
|
2601
|
-
this.getOffsetForAlignment(
|
|
2610
|
+
this.getOffsetForAlignment(l, n, r.size),
|
|
2602
2611
|
n
|
|
2603
2612
|
];
|
|
2604
2613
|
}, this.scrollToOffset = (t, { align: n = "start", behavior: s = "auto" } = {}) => {
|
|
2605
|
-
const o = this.getOffsetForAlignment(t, n),
|
|
2614
|
+
const o = this.getOffsetForAlignment(t, n), r = this.now();
|
|
2606
2615
|
this.scrollState = {
|
|
2607
2616
|
index: null,
|
|
2608
2617
|
align: n,
|
|
2609
2618
|
behavior: s,
|
|
2610
|
-
startedAt:
|
|
2619
|
+
startedAt: r,
|
|
2611
2620
|
lastTargetOffset: o,
|
|
2612
2621
|
stableFrames: 0
|
|
2613
2622
|
}, this._scrollToOffset(o, { adjustments: void 0, behavior: s }), this.scheduleScrollReconcile();
|
|
@@ -2619,15 +2628,15 @@ var ri = class {
|
|
|
2619
2628
|
const o = this.getOffsetForIndex(t, n);
|
|
2620
2629
|
if (!o)
|
|
2621
2630
|
return;
|
|
2622
|
-
const [
|
|
2631
|
+
const [r, l] = o, a = this.now();
|
|
2623
2632
|
this.scrollState = {
|
|
2624
2633
|
index: t,
|
|
2625
|
-
align:
|
|
2634
|
+
align: l,
|
|
2626
2635
|
behavior: s,
|
|
2627
2636
|
startedAt: a,
|
|
2628
|
-
lastTargetOffset:
|
|
2637
|
+
lastTargetOffset: r,
|
|
2629
2638
|
stableFrames: 0
|
|
2630
|
-
}, this._scrollToOffset(
|
|
2639
|
+
}, this._scrollToOffset(r, { adjustments: void 0, behavior: s }), this.scheduleScrollReconcile();
|
|
2631
2640
|
}, this.scrollBy = (t, { behavior: n = "auto" } = {}) => {
|
|
2632
2641
|
const s = this.getScrollOffset() + t, o = this.now();
|
|
2633
2642
|
this.scrollState = {
|
|
@@ -2656,16 +2665,16 @@ var ri = class {
|
|
|
2656
2665
|
if (n.length === 0)
|
|
2657
2666
|
s = this.options.paddingStart;
|
|
2658
2667
|
else if (this.options.lanes === 1) {
|
|
2659
|
-
const o = n.length - 1,
|
|
2660
|
-
|
|
2668
|
+
const o = n.length - 1, r = this._flatMeasurements;
|
|
2669
|
+
r != null ? s = r[o * 2] + r[o * 2 + 1] : s = ((t = n[o]) == null ? void 0 : t.end) ?? 0;
|
|
2661
2670
|
} else {
|
|
2662
2671
|
const o = Array(this.options.lanes).fill(null);
|
|
2663
|
-
let
|
|
2664
|
-
for (;
|
|
2665
|
-
const
|
|
2666
|
-
o[
|
|
2672
|
+
let r = n.length - 1;
|
|
2673
|
+
for (; r >= 0 && o.some((l) => l === null); ) {
|
|
2674
|
+
const l = n[r];
|
|
2675
|
+
o[l.lane] === null && (o[l.lane] = l.end), r--;
|
|
2667
2676
|
}
|
|
2668
|
-
s = Math.max(...o.filter((
|
|
2677
|
+
s = Math.max(...o.filter((l) => l !== null));
|
|
2669
2678
|
}
|
|
2670
2679
|
return Math.max(
|
|
2671
2680
|
s - this.options.scrollMargin + this.options.paddingEnd,
|
|
@@ -2695,7 +2704,7 @@ var ri = class {
|
|
|
2695
2704
|
}, this.setOptions(i);
|
|
2696
2705
|
}
|
|
2697
2706
|
applyScrollAdjustment(i, t) {
|
|
2698
|
-
i !== 0 && (process.env.NODE_ENV !== "production" && this.options.debug && console.info("correction", i),
|
|
2707
|
+
i !== 0 && (process.env.NODE_ENV !== "production" && this.options.debug && console.info("correction", i), Ie() && (this.isScrolling || this._iosTouching || this._iosJustTouchEnded) ? this._iosDeferredAdjustment += i : this._scrollToOffset(this.getScrollOffset(), {
|
|
2699
2708
|
adjustments: this.scrollAdjustments += i,
|
|
2700
2709
|
behavior: t
|
|
2701
2710
|
}));
|
|
@@ -2715,8 +2724,8 @@ var ri = class {
|
|
|
2715
2724
|
this.scrollState = null;
|
|
2716
2725
|
return;
|
|
2717
2726
|
}
|
|
2718
|
-
const n = this.scrollState.index != null ? this.getOffsetForIndex(this.scrollState.index, this.scrollState.align) : void 0, s = n ? n[0] : this.scrollState.lastTargetOffset, o = 1,
|
|
2719
|
-
if (!
|
|
2727
|
+
const n = this.scrollState.index != null ? this.getOffsetForIndex(this.scrollState.index, this.scrollState.align) : void 0, s = n ? n[0] : this.scrollState.lastTargetOffset, o = 1, r = s !== this.scrollState.lastTargetOffset;
|
|
2728
|
+
if (!r && Qs(s, this.getScrollOffset())) {
|
|
2720
2729
|
if (this.scrollState.stableFrames++, this.scrollState.stableFrames >= o) {
|
|
2721
2730
|
this.getScrollOffset() !== s && this._scrollToOffset(s, {
|
|
2722
2731
|
adjustments: void 0,
|
|
@@ -2724,8 +2733,8 @@ var ri = class {
|
|
|
2724
2733
|
}), this.scrollState = null;
|
|
2725
2734
|
return;
|
|
2726
2735
|
}
|
|
2727
|
-
} else if (this.scrollState.stableFrames = 0,
|
|
2728
|
-
const
|
|
2736
|
+
} else if (this.scrollState.stableFrames = 0, r) {
|
|
2737
|
+
const l = this.getSize() || 600, a = Math.abs(s - this.getScrollOffset()), c = this.scrollState.behavior === "smooth" && a > l;
|
|
2729
2738
|
this.scrollState.lastTargetOffset = s, c || (this.scrollState.behavior = "auto"), this._scrollToOffset(s, {
|
|
2730
2739
|
adjustments: void 0,
|
|
2731
2740
|
behavior: c ? "smooth" : "auto"
|
|
@@ -2753,15 +2762,15 @@ function ai({
|
|
|
2753
2762
|
lanes: n,
|
|
2754
2763
|
flat: s
|
|
2755
2764
|
}) {
|
|
2756
|
-
const o = e.length - 1,
|
|
2765
|
+
const o = e.length - 1, r = s ? (u) => s[u * 2] : (u) => e[u].start, l = s ? (u) => s[u * 2] + s[u * 2 + 1] : (u) => e[u].end;
|
|
2757
2766
|
if (e.length <= n)
|
|
2758
2767
|
return {
|
|
2759
2768
|
startIndex: 0,
|
|
2760
2769
|
endIndex: o
|
|
2761
2770
|
};
|
|
2762
|
-
let a = Mt(0, o,
|
|
2771
|
+
let a = Mt(0, o, r, t), c = a;
|
|
2763
2772
|
if (n === 1)
|
|
2764
|
-
for (; c < o &&
|
|
2773
|
+
for (; c < o && l(c) < t + i; )
|
|
2765
2774
|
c++;
|
|
2766
2775
|
else if (n > 1) {
|
|
2767
2776
|
const u = Array(n).fill(0);
|
|
@@ -2779,7 +2788,7 @@ function ai({
|
|
|
2779
2788
|
return { startIndex: a, endIndex: c };
|
|
2780
2789
|
}
|
|
2781
2790
|
function ci(e) {
|
|
2782
|
-
const i = new
|
|
2791
|
+
const i = new li((0, import_vue.unref)(e)), t = (0, import_vue.shallowRef)(i), n = i._didMount();
|
|
2783
2792
|
return (0, import_vue.watch)(
|
|
2784
2793
|
() => (0, import_vue.unref)(e).getScrollElement(),
|
|
2785
2794
|
(s) => {
|
|
@@ -2793,9 +2802,9 @@ function ci(e) {
|
|
|
2793
2802
|
(s) => {
|
|
2794
2803
|
i.setOptions({
|
|
2795
2804
|
...s,
|
|
2796
|
-
onChange: (o,
|
|
2797
|
-
var
|
|
2798
|
-
(0, import_vue.triggerRef)(t), (
|
|
2805
|
+
onChange: (o, r) => {
|
|
2806
|
+
var l;
|
|
2807
|
+
(0, import_vue.triggerRef)(t), (l = s.onChange) == null || l.call(s, o, r);
|
|
2799
2808
|
}
|
|
2800
2809
|
}), i._willUpdate(), (0, import_vue.triggerRef)(t);
|
|
2801
2810
|
},
|
|
@@ -2809,7 +2818,7 @@ function ui(e) {
|
|
|
2809
2818
|
(0, import_vue.computed)(() => ({
|
|
2810
2819
|
observeElementRect: ei,
|
|
2811
2820
|
observeElementOffset: si,
|
|
2812
|
-
scrollToFn:
|
|
2821
|
+
scrollToFn: ri,
|
|
2813
2822
|
...(0, import_vue.unref)(e)
|
|
2814
2823
|
}))
|
|
2815
2824
|
);
|
|
@@ -2866,12 +2875,12 @@ var pi = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
2866
2875
|
},
|
|
2867
2876
|
setup(e) {
|
|
2868
2877
|
const i = e, t = (0, import_vue.computed)(() => {
|
|
2869
|
-
const n = [], { cache: s, poll: o, retry:
|
|
2878
|
+
const n = [], { cache: s, poll: o, retry: r, batch: l, debounce: a, immediate: c, lazy: u } = i.options;
|
|
2870
2879
|
if (s) {
|
|
2871
2880
|
const g = typeof s == "string" ? s : s.id;
|
|
2872
2881
|
n.push({ key: "cache", label: "cache", sub: g, variant: "cache" }), typeof s == "object" && s.swr && n.push({ key: "swr", label: "swr", variant: "swr" });
|
|
2873
2882
|
}
|
|
2874
|
-
return o && n.push({ key: "polling", label: "polling", variant: "polling" }),
|
|
2883
|
+
return o && n.push({ key: "polling", label: "polling", variant: "polling" }), r && n.push({ key: "retry", label: "retry", variant: "retry" }), l && n.push({ key: "batch", label: "batch", variant: "batch" }), a && n.push({ key: "debounce", label: "debounce", variant: "debounce" }), (!c || u) && n.push({ key: "lazy", label: "lazy", variant: "lazy" }), n;
|
|
2875
2884
|
});
|
|
2876
2885
|
return (n, s) => t.value.length ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", fi, [
|
|
2877
2886
|
((0, import_vue.openBlock)(true), (0, import_vue.createElementBlock)(import_vue.Fragment, null, (0, import_vue.renderList)(t.value, (o) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("span", {
|
|
@@ -2941,7 +2950,7 @@ var Si = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
2941
2950
|
}
|
|
2942
2951
|
});
|
|
2943
2952
|
var xi = /* @__PURE__ */ j(Si, [["__scopeId", "data-v-e5492c3f"]]);
|
|
2944
|
-
var
|
|
2953
|
+
var ki = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
2945
2954
|
__name: "RequestList",
|
|
2946
2955
|
props: {
|
|
2947
2956
|
requests: {},
|
|
@@ -2965,23 +2974,23 @@ var _i = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
2965
2974
|
(0, import_vue.createElementVNode)("div", {
|
|
2966
2975
|
style: (0, import_vue.normalizeStyle)({ height: `${(0, import_vue.unref)(n).getTotalSize()}px`, position: "relative" })
|
|
2967
2976
|
}, [
|
|
2968
|
-
((0, import_vue.openBlock)(true), (0, import_vue.createElementBlock)(import_vue.Fragment, null, (0, import_vue.renderList)((0, import_vue.unref)(n).getVirtualItems(), (
|
|
2969
|
-
key:
|
|
2970
|
-
style: (0, import_vue.normalizeStyle)({ position: "absolute", top: 0, left: 0, width: "100%", transform: `translateY(${
|
|
2977
|
+
((0, import_vue.openBlock)(true), (0, import_vue.createElementBlock)(import_vue.Fragment, null, (0, import_vue.renderList)((0, import_vue.unref)(n).getVirtualItems(), (r) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", {
|
|
2978
|
+
key: r.index,
|
|
2979
|
+
style: (0, import_vue.normalizeStyle)({ position: "absolute", top: 0, left: 0, width: "100%", transform: `translateY(${r.start}px)` })
|
|
2971
2980
|
}, [
|
|
2972
2981
|
(0, import_vue.createVNode)(xi, {
|
|
2973
|
-
request: e.requests[
|
|
2974
|
-
"is-active": e.requests[
|
|
2975
|
-
"instance-options": e.requests[
|
|
2976
|
-
onSelect: o[0] || (o[0] = (
|
|
2982
|
+
request: e.requests[r.index],
|
|
2983
|
+
"is-active": e.requests[r.index].id === e.activeRequestId,
|
|
2984
|
+
"instance-options": e.requests[r.index].instanceOptions,
|
|
2985
|
+
onSelect: o[0] || (o[0] = (l) => s.$emit("select", l))
|
|
2977
2986
|
}, null, 8, ["request", "is-active", "instance-options"])
|
|
2978
2987
|
], 4))), 128))
|
|
2979
2988
|
], 4)
|
|
2980
2989
|
], 512));
|
|
2981
2990
|
}
|
|
2982
2991
|
});
|
|
2983
|
-
var
|
|
2984
|
-
var
|
|
2992
|
+
var Ii = { class: "detail-header" };
|
|
2993
|
+
var _i = { class: "req-method" };
|
|
2985
2994
|
var Ei = ["title"];
|
|
2986
2995
|
var Ti = { class: "req-meta" };
|
|
2987
2996
|
var Mi = { key: 0 };
|
|
@@ -2996,11 +3005,11 @@ var Ci = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
2996
3005
|
function i(t) {
|
|
2997
3006
|
return t ? t < 300 ? "s-2xx" : t < 400 ? "s-3xx" : t < 500 ? "s-4xx" : "s-5xx" : "s-pending";
|
|
2998
3007
|
}
|
|
2999
|
-
return (t, n) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div",
|
|
3008
|
+
return (t, n) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", Ii, [
|
|
3000
3009
|
(0, import_vue.createElementVNode)("span", {
|
|
3001
3010
|
class: (0, import_vue.normalizeClass)(["status-chip", i(e.request.statusCode)])
|
|
3002
3011
|
}, (0, import_vue.toDisplayString)(e.request.statusCode ?? "\xB7\xB7\xB7"), 3),
|
|
3003
|
-
(0, import_vue.createElementVNode)("span",
|
|
3012
|
+
(0, import_vue.createElementVNode)("span", _i, (0, import_vue.toDisplayString)(e.request.method), 1),
|
|
3004
3013
|
(0, import_vue.createElementVNode)("span", {
|
|
3005
3014
|
class: "req-url",
|
|
3006
3015
|
title: e.request.url
|
|
@@ -3030,10 +3039,11 @@ var Ci = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3030
3039
|
var Oi = /* @__PURE__ */ j(Ci, [["__scopeId", "data-v-ee649b7a"]]);
|
|
3031
3040
|
var zi = { class: "detail-tabs" };
|
|
3032
3041
|
var Ai = ["onClick"];
|
|
3033
|
-
var
|
|
3042
|
+
var qi = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
3034
3043
|
__name: "DetailTabs",
|
|
3035
3044
|
props: {
|
|
3036
|
-
activeTab: {}
|
|
3045
|
+
activeTab: {},
|
|
3046
|
+
hasError: { type: Boolean }
|
|
3037
3047
|
},
|
|
3038
3048
|
emits: ["select"],
|
|
3039
3049
|
setup(e) {
|
|
@@ -3046,14 +3056,17 @@ var Li = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3046
3056
|
return (t, n) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", zi, [
|
|
3047
3057
|
((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)(import_vue.Fragment, null, (0, import_vue.renderList)(i, (s) => (0, import_vue.createElementVNode)("button", {
|
|
3048
3058
|
key: s.id,
|
|
3049
|
-
class: (0, import_vue.normalizeClass)(["tab-btn", {
|
|
3059
|
+
class: (0, import_vue.normalizeClass)(["tab-btn", {
|
|
3060
|
+
"tab-btn--active": s.id === e.activeTab,
|
|
3061
|
+
"tab-btn--error": s.id === "response" && e.hasError
|
|
3062
|
+
}]),
|
|
3050
3063
|
onClick: (o) => t.$emit("select", s.id)
|
|
3051
|
-
}, (0, import_vue.toDisplayString)(s.label), 11, Ai)), 64))
|
|
3064
|
+
}, (0, import_vue.toDisplayString)(s.label) + (0, import_vue.toDisplayString)(s.id === "response" && e.hasError ? " \u25CF" : ""), 11, Ai)), 64))
|
|
3052
3065
|
]));
|
|
3053
3066
|
}
|
|
3054
3067
|
});
|
|
3055
|
-
var
|
|
3056
|
-
var
|
|
3068
|
+
var $i = /* @__PURE__ */ j(qi, [["__scopeId", "data-v-21fda150"]]);
|
|
3069
|
+
var Li = ["innerHTML"];
|
|
3057
3070
|
var Fi = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
3058
3071
|
__name: "JsonViewer",
|
|
3059
3072
|
props: {
|
|
@@ -3077,7 +3090,7 @@ var Fi = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3077
3090
|
return (s, o) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("pre", {
|
|
3078
3091
|
class: "json-root",
|
|
3079
3092
|
innerHTML: n.value
|
|
3080
|
-
}, null, 8,
|
|
3093
|
+
}, null, 8, Li));
|
|
3081
3094
|
}
|
|
3082
3095
|
});
|
|
3083
3096
|
var Ce = /* @__PURE__ */ j(Fi, [["__scopeId", "data-v-4994acd4"]]);
|
|
@@ -3101,7 +3114,7 @@ var Vi = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3101
3114
|
setup(e) {
|
|
3102
3115
|
const i = e, t = (0, import_vue.ref)(false), n = (0, import_vue.computed)(
|
|
3103
3116
|
() => typeof i.value == "object" && i.value !== null
|
|
3104
|
-
), s = (0, import_vue.computed)(() => Array.isArray(i.value)), o = (0, import_vue.computed)(() => n.value ? s.value ? `Array [${i.value.length}]` : `Object {${Object.keys(i.value).length}}` : ""),
|
|
3117
|
+
), s = (0, import_vue.computed)(() => Array.isArray(i.value)), o = (0, import_vue.computed)(() => n.value ? s.value ? `Array [${i.value.length}]` : `Object {${Object.keys(i.value).length}}` : ""), r = (0, import_vue.computed)(() => !t.value || !n.value ? [] : s.value ? i.value.map((g, d) => [d, g]) : Object.entries(i.value)), l = (0, import_vue.computed)(() => i.value === null ? "null" : typeof i.value == "string" ? `"${i.value}"` : String(i.value)), a = (0, import_vue.computed)(() => i.value === null ? "tree-val tree-val--null" : typeof i.value == "string" ? "tree-val tree-val--string" : typeof i.value == "number" ? "tree-val tree-val--number" : typeof i.value == "boolean" ? "tree-val tree-val--boolean" : "tree-val"), c = (0, import_vue.computed)(() => i.depth * 14);
|
|
3105
3118
|
function u() {
|
|
3106
3119
|
n.value && (t.value = !t.value);
|
|
3107
3120
|
}
|
|
@@ -3126,12 +3139,12 @@ var Vi = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3126
3139
|
}, (0, import_vue.toDisplayString)(o.value), 1)) : ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("span", {
|
|
3127
3140
|
key: 3,
|
|
3128
3141
|
class: (0, import_vue.normalizeClass)(a.value)
|
|
3129
|
-
}, (0, import_vue.toDisplayString)(
|
|
3142
|
+
}, (0, import_vue.toDisplayString)(l.value), 3))
|
|
3130
3143
|
], 4),
|
|
3131
|
-
((0, import_vue.openBlock)(true), (0, import_vue.createElementBlock)(import_vue.Fragment, null, (0, import_vue.renderList)(
|
|
3144
|
+
((0, import_vue.openBlock)(true), (0, import_vue.createElementBlock)(import_vue.Fragment, null, (0, import_vue.renderList)(r.value, ([p, b]) => ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(w, {
|
|
3132
3145
|
key: p,
|
|
3133
3146
|
"node-key": p,
|
|
3134
|
-
value:
|
|
3147
|
+
value: b,
|
|
3135
3148
|
depth: e.depth + 1
|
|
3136
3149
|
}, null, 8, ["node-key", "value", "depth"]))), 128))
|
|
3137
3150
|
]);
|
|
@@ -3148,10 +3161,10 @@ var Hi = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3148
3161
|
setup(e) {
|
|
3149
3162
|
const i = e, t = (0, import_vue.computed)(() => i.value === null || i.value === void 0 ? [] : Array.isArray(i.value) ? i.value.map((n, s) => [s, n]) : typeof i.value == "object" ? Object.entries(i.value) : []);
|
|
3150
3163
|
return (n, s) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", Wi, [
|
|
3151
|
-
((0, import_vue.openBlock)(true), (0, import_vue.createElementBlock)(import_vue.Fragment, null, (0, import_vue.renderList)(t.value, ([o,
|
|
3164
|
+
((0, import_vue.openBlock)(true), (0, import_vue.createElementBlock)(import_vue.Fragment, null, (0, import_vue.renderList)(t.value, ([o, r]) => ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(Ni, {
|
|
3152
3165
|
key: o,
|
|
3153
3166
|
"node-key": o,
|
|
3154
|
-
value:
|
|
3167
|
+
value: r,
|
|
3155
3168
|
depth: 0
|
|
3156
3169
|
}, null, 8, ["node-key", "value"]))), 128))
|
|
3157
3170
|
]));
|
|
@@ -3161,19 +3174,29 @@ var Oe = /* @__PURE__ */ j(Hi, [["__scopeId", "data-v-f9bec403"]]);
|
|
|
3161
3174
|
var Bi = { class: "data-pane" };
|
|
3162
3175
|
var Ki = { class: "pane-header" };
|
|
3163
3176
|
var Ui = { class: "pane-title" };
|
|
3164
|
-
var Ji = {
|
|
3177
|
+
var Ji = {
|
|
3178
|
+
key: 0,
|
|
3179
|
+
class: "error-banner"
|
|
3180
|
+
};
|
|
3165
3181
|
var Xi = {
|
|
3182
|
+
key: 0,
|
|
3183
|
+
class: "error-banner-status"
|
|
3184
|
+
};
|
|
3185
|
+
var Qi = { class: "error-banner-message" };
|
|
3186
|
+
var Gi = { class: "pane-body" };
|
|
3187
|
+
var Yi = {
|
|
3166
3188
|
key: 0,
|
|
3167
3189
|
class: "truncated-warning"
|
|
3168
3190
|
};
|
|
3169
3191
|
var at = (0, import_vue.ref)("json");
|
|
3170
3192
|
var ct = false;
|
|
3171
|
-
var
|
|
3193
|
+
var Zi = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
3172
3194
|
__name: "DataPane",
|
|
3173
3195
|
props: {
|
|
3174
3196
|
title: {},
|
|
3175
3197
|
data: {},
|
|
3176
|
-
truncated: { type: Boolean }
|
|
3198
|
+
truncated: { type: Boolean },
|
|
3199
|
+
error: {}
|
|
3177
3200
|
},
|
|
3178
3201
|
setup(e) {
|
|
3179
3202
|
const i = e, t = at;
|
|
@@ -3189,7 +3212,7 @@ var Qi = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3189
3212
|
} catch {
|
|
3190
3213
|
}
|
|
3191
3214
|
}
|
|
3192
|
-
return (o,
|
|
3215
|
+
return (o, r) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", Bi, [
|
|
3193
3216
|
(0, import_vue.createElementVNode)("div", Ki, [
|
|
3194
3217
|
(0, import_vue.createElementVNode)("span", Ui, (0, import_vue.toDisplayString)(e.title), 1),
|
|
3195
3218
|
(0, import_vue.createElementVNode)("button", {
|
|
@@ -3201,8 +3224,12 @@ var Qi = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3201
3224
|
onClick: s
|
|
3202
3225
|
}, "Copy")
|
|
3203
3226
|
]),
|
|
3204
|
-
(0, import_vue.
|
|
3205
|
-
e.
|
|
3227
|
+
e.error ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", Ji, [
|
|
3228
|
+
e.error.status > 0 ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("span", Xi, (0, import_vue.toDisplayString)(e.error.status), 1)) : (0, import_vue.createCommentVNode)("", true),
|
|
3229
|
+
(0, import_vue.createElementVNode)("span", Qi, (0, import_vue.toDisplayString)(e.error.message), 1)
|
|
3230
|
+
])) : (0, import_vue.createCommentVNode)("", true),
|
|
3231
|
+
(0, import_vue.createElementVNode)("div", Gi, [
|
|
3232
|
+
e.truncated ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("p", Yi, "[truncated]")) : (0, import_vue.createCommentVNode)("", true),
|
|
3206
3233
|
(0, import_vue.unref)(t) === "json" ? ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(Ce, {
|
|
3207
3234
|
key: 1,
|
|
3208
3235
|
value: e.data
|
|
@@ -3214,37 +3241,37 @@ var Qi = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3214
3241
|
]));
|
|
3215
3242
|
}
|
|
3216
3243
|
});
|
|
3217
|
-
var Ot = /* @__PURE__ */ j(
|
|
3218
|
-
var
|
|
3219
|
-
var
|
|
3220
|
-
var
|
|
3221
|
-
var
|
|
3244
|
+
var Ot = /* @__PURE__ */ j(Zi, [["__scopeId", "data-v-8bc783c0"]]);
|
|
3245
|
+
var eo = { class: "payload-pane" };
|
|
3246
|
+
var to = { class: "pane-header" };
|
|
3247
|
+
var no = { class: "section-label" };
|
|
3248
|
+
var so = {
|
|
3222
3249
|
key: 0,
|
|
3223
3250
|
class: "section-count"
|
|
3224
3251
|
};
|
|
3225
|
-
var
|
|
3252
|
+
var io = {
|
|
3226
3253
|
key: 0,
|
|
3227
3254
|
class: "section-body"
|
|
3228
3255
|
};
|
|
3229
|
-
var
|
|
3256
|
+
var oo = {
|
|
3230
3257
|
key: 1,
|
|
3231
3258
|
class: "section-empty"
|
|
3232
3259
|
};
|
|
3233
|
-
var
|
|
3260
|
+
var ro = {
|
|
3234
3261
|
key: 2,
|
|
3235
3262
|
class: "section-body"
|
|
3236
3263
|
};
|
|
3237
|
-
var
|
|
3264
|
+
var lo = {
|
|
3238
3265
|
key: 0,
|
|
3239
3266
|
class: "truncated-warning"
|
|
3240
3267
|
};
|
|
3241
|
-
var
|
|
3268
|
+
var ao = {
|
|
3242
3269
|
key: 3,
|
|
3243
3270
|
class: "section-empty"
|
|
3244
3271
|
};
|
|
3245
3272
|
var ut = (0, import_vue.ref)("kv");
|
|
3246
3273
|
var dt = false;
|
|
3247
|
-
var
|
|
3274
|
+
var co = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
3248
3275
|
__name: "PayloadPane",
|
|
3249
3276
|
props: {
|
|
3250
3277
|
queryParams: {},
|
|
@@ -3256,8 +3283,8 @@ var lo = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3256
3283
|
dt || (dt = true, mn().then((c) => {
|
|
3257
3284
|
ut.value = c;
|
|
3258
3285
|
}));
|
|
3259
|
-
const n = (0, import_vue.computed)(() => i.queryParams === null || i.queryParams === void 0 || typeof i.queryParams != "object" ? [] : Object.keys(i.queryParams)), s = (0, import_vue.computed)(() => n.value.length > 0), o = (0, import_vue.computed)(() => n.value.length),
|
|
3260
|
-
async function
|
|
3286
|
+
const n = (0, import_vue.computed)(() => i.queryParams === null || i.queryParams === void 0 || typeof i.queryParams != "object" ? [] : Object.keys(i.queryParams)), s = (0, import_vue.computed)(() => n.value.length > 0), o = (0, import_vue.computed)(() => n.value.length), r = (0, import_vue.computed)(() => i.payload !== null && i.payload !== void 0);
|
|
3287
|
+
async function l() {
|
|
3261
3288
|
t.value = t.value === "kv" ? "json" : "kv", await vn(t.value);
|
|
3262
3289
|
}
|
|
3263
3290
|
async function a() {
|
|
@@ -3266,23 +3293,23 @@ var lo = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3266
3293
|
} catch {
|
|
3267
3294
|
}
|
|
3268
3295
|
}
|
|
3269
|
-
return (c, u) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div",
|
|
3270
|
-
(0, import_vue.createElementVNode)("div",
|
|
3296
|
+
return (c, u) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", eo, [
|
|
3297
|
+
(0, import_vue.createElementVNode)("div", to, [
|
|
3271
3298
|
u[0] || (u[0] = (0, import_vue.createElementVNode)("span", { class: "pane-title" }, "PAYLOAD", -1)),
|
|
3272
3299
|
(0, import_vue.createElementVNode)("button", {
|
|
3273
3300
|
class: (0, import_vue.normalizeClass)(["pane-action", { "pane-action--active": (0, import_vue.unref)(t) === "kv" }]),
|
|
3274
|
-
onClick:
|
|
3301
|
+
onClick: l
|
|
3275
3302
|
}, "KV", 2),
|
|
3276
3303
|
(0, import_vue.createElementVNode)("button", {
|
|
3277
3304
|
class: "pane-action",
|
|
3278
3305
|
onClick: a
|
|
3279
3306
|
}, "Copy")
|
|
3280
3307
|
]),
|
|
3281
|
-
(0, import_vue.createElementVNode)("div",
|
|
3308
|
+
(0, import_vue.createElementVNode)("div", no, [
|
|
3282
3309
|
u[1] || (u[1] = (0, import_vue.createElementVNode)("span", null, "Query Params", -1)),
|
|
3283
|
-
s.value ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("span",
|
|
3310
|
+
s.value ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("span", so, (0, import_vue.toDisplayString)(o.value), 1)) : (0, import_vue.createCommentVNode)("", true)
|
|
3284
3311
|
]),
|
|
3285
|
-
s.value ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div",
|
|
3312
|
+
s.value ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", io, [
|
|
3286
3313
|
(0, import_vue.unref)(t) === "kv" ? ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(Oe, {
|
|
3287
3314
|
key: 0,
|
|
3288
3315
|
value: e.queryParams
|
|
@@ -3290,13 +3317,13 @@ var lo = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3290
3317
|
key: 1,
|
|
3291
3318
|
value: e.queryParams
|
|
3292
3319
|
}, null, 8, ["value"]))
|
|
3293
|
-
])) : ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("p",
|
|
3320
|
+
])) : ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("p", oo, "No params")),
|
|
3294
3321
|
u[2] || (u[2] = (0, import_vue.createElementVNode)("div", { class: "section-divider" }, null, -1)),
|
|
3295
3322
|
u[3] || (u[3] = (0, import_vue.createElementVNode)("div", { class: "section-label" }, [
|
|
3296
3323
|
(0, import_vue.createElementVNode)("span", null, "Body")
|
|
3297
3324
|
], -1)),
|
|
3298
|
-
|
|
3299
|
-
e.truncated ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("p",
|
|
3325
|
+
r.value ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", ro, [
|
|
3326
|
+
e.truncated ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("p", lo, "[truncated]")) : (0, import_vue.createCommentVNode)("", true),
|
|
3300
3327
|
(0, import_vue.unref)(t) === "kv" ? ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(Oe, {
|
|
3301
3328
|
key: 1,
|
|
3302
3329
|
value: e.payload
|
|
@@ -3304,28 +3331,28 @@ var lo = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3304
3331
|
key: 2,
|
|
3305
3332
|
value: e.payload
|
|
3306
3333
|
}, null, 8, ["value"]))
|
|
3307
|
-
])) : ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("p",
|
|
3334
|
+
])) : ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("p", ao, "No body"))
|
|
3308
3335
|
]));
|
|
3309
3336
|
}
|
|
3310
3337
|
});
|
|
3311
|
-
var zt = /* @__PURE__ */ j(
|
|
3312
|
-
var
|
|
3313
|
-
var
|
|
3338
|
+
var zt = /* @__PURE__ */ j(co, [["__scopeId", "data-v-19e92b16"]]);
|
|
3339
|
+
var uo = { class: "split-pane" };
|
|
3340
|
+
var ho = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
3314
3341
|
__name: "SplitView",
|
|
3315
3342
|
props: {
|
|
3316
3343
|
request: {}
|
|
3317
3344
|
},
|
|
3318
3345
|
setup(e) {
|
|
3319
|
-
const { panelMode: i } =
|
|
3346
|
+
const { panelMode: i } = ve(), t = (0, import_vue.computed)(() => i.value === "side"), n = (0, import_vue.ref)(null), s = (0, import_vue.ref)(null);
|
|
3320
3347
|
let o = null;
|
|
3321
|
-
(0, import_vue.watch)(t, async (
|
|
3322
|
-
const a =
|
|
3348
|
+
(0, import_vue.watch)(t, async (l) => {
|
|
3349
|
+
const a = l ? await Ke() : await Be();
|
|
3323
3350
|
n.value = a ?? null;
|
|
3324
3351
|
}), (0, import_vue.onMounted)(async () => {
|
|
3325
|
-
const
|
|
3326
|
-
|
|
3352
|
+
const l = t.value ? await Ke() : await Be();
|
|
3353
|
+
l !== void 0 && (n.value = l);
|
|
3327
3354
|
});
|
|
3328
|
-
function l
|
|
3355
|
+
function r(l) {
|
|
3329
3356
|
const a = s.value;
|
|
3330
3357
|
if (a) {
|
|
3331
3358
|
if (t.value) {
|
|
@@ -3335,7 +3362,7 @@ var ao = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3335
3362
|
}, u = function() {
|
|
3336
3363
|
window.removeEventListener("mousemove", c), window.removeEventListener("mouseup", u), o = null, pn(n.value);
|
|
3337
3364
|
};
|
|
3338
|
-
const g =
|
|
3365
|
+
const g = l.clientY, d = n.value ?? a.offsetHeight / 2;
|
|
3339
3366
|
window.addEventListener("mousemove", c), window.addEventListener("mouseup", u), o = () => {
|
|
3340
3367
|
window.removeEventListener("mousemove", c), window.removeEventListener("mouseup", u);
|
|
3341
3368
|
};
|
|
@@ -3346,17 +3373,17 @@ var ao = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3346
3373
|
}, u = function() {
|
|
3347
3374
|
window.removeEventListener("mousemove", c), window.removeEventListener("mouseup", u), o = null, fn(n.value);
|
|
3348
3375
|
};
|
|
3349
|
-
const g =
|
|
3376
|
+
const g = l.clientX, d = n.value ?? a.offsetWidth / 2;
|
|
3350
3377
|
window.addEventListener("mousemove", c), window.addEventListener("mouseup", u), o = () => {
|
|
3351
3378
|
window.removeEventListener("mousemove", c), window.removeEventListener("mouseup", u);
|
|
3352
3379
|
};
|
|
3353
3380
|
}
|
|
3354
|
-
|
|
3381
|
+
l.preventDefault();
|
|
3355
3382
|
}
|
|
3356
3383
|
}
|
|
3357
3384
|
return (0, import_vue.onScopeDispose)(() => {
|
|
3358
3385
|
o == null || o();
|
|
3359
|
-
}), (
|
|
3386
|
+
}), (l, a) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", {
|
|
3360
3387
|
ref_key: "splitRef",
|
|
3361
3388
|
ref: s,
|
|
3362
3389
|
class: (0, import_vue.normalizeClass)(["split-view", t.value ? "split-view--stacked" : "split-view--row"])
|
|
@@ -3373,29 +3400,30 @@ var ao = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3373
3400
|
], 4),
|
|
3374
3401
|
(0, import_vue.createElementVNode)("div", {
|
|
3375
3402
|
class: (0, import_vue.normalizeClass)(["split-handle", t.value ? "split-handle--h" : "split-handle--v"]),
|
|
3376
|
-
onMousedown:
|
|
3403
|
+
onMousedown: r
|
|
3377
3404
|
}, null, 34),
|
|
3378
|
-
(0, import_vue.createElementVNode)("div",
|
|
3405
|
+
(0, import_vue.createElementVNode)("div", uo, [
|
|
3379
3406
|
(0, import_vue.createVNode)(Ot, {
|
|
3380
3407
|
title: "Response",
|
|
3381
3408
|
data: e.request.response,
|
|
3382
|
-
truncated: e.request.truncated
|
|
3383
|
-
|
|
3409
|
+
truncated: e.request.truncated,
|
|
3410
|
+
error: e.request.error
|
|
3411
|
+
}, null, 8, ["data", "truncated", "error"])
|
|
3384
3412
|
])
|
|
3385
3413
|
], 2));
|
|
3386
3414
|
}
|
|
3387
3415
|
});
|
|
3388
|
-
var
|
|
3389
|
-
var
|
|
3390
|
-
var
|
|
3391
|
-
var
|
|
3392
|
-
var
|
|
3393
|
-
var
|
|
3394
|
-
var
|
|
3416
|
+
var fo = /* @__PURE__ */ j(ho, [["__scopeId", "data-v-540c6abf"]]);
|
|
3417
|
+
var po = { class: "request-detail" };
|
|
3418
|
+
var mo = { class: "detail-content" };
|
|
3419
|
+
var vo = { class: "headers-view" };
|
|
3420
|
+
var go = { class: "header-key" };
|
|
3421
|
+
var yo = { class: "header-val" };
|
|
3422
|
+
var bo = {
|
|
3395
3423
|
key: 0,
|
|
3396
3424
|
class: "empty-msg"
|
|
3397
3425
|
};
|
|
3398
|
-
var
|
|
3426
|
+
var wo = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
3399
3427
|
__name: "RequestDetail",
|
|
3400
3428
|
props: {
|
|
3401
3429
|
request: {},
|
|
@@ -3404,18 +3432,19 @@ var go = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3404
3432
|
emits: ["close"],
|
|
3405
3433
|
setup(e) {
|
|
3406
3434
|
const i = (0, import_vue.ref)("split");
|
|
3407
|
-
return (t, n) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div",
|
|
3435
|
+
return (t, n) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", po, [
|
|
3408
3436
|
(0, import_vue.createVNode)(Oi, {
|
|
3409
3437
|
request: e.request,
|
|
3410
3438
|
"instance-options": e.instanceOptions,
|
|
3411
3439
|
onClose: n[0] || (n[0] = (s) => t.$emit("close"))
|
|
3412
3440
|
}, null, 8, ["request", "instance-options"]),
|
|
3413
|
-
(0, import_vue.createVNode)(
|
|
3441
|
+
(0, import_vue.createVNode)($i, {
|
|
3414
3442
|
"active-tab": i.value,
|
|
3443
|
+
"has-error": !!e.request.error,
|
|
3415
3444
|
onSelect: n[1] || (n[1] = (s) => i.value = s)
|
|
3416
|
-
}, null, 8, ["active-tab"]),
|
|
3417
|
-
(0, import_vue.createElementVNode)("div",
|
|
3418
|
-
(0, import_vue.withDirectives)((0, import_vue.createVNode)(
|
|
3445
|
+
}, null, 8, ["active-tab", "has-error"]),
|
|
3446
|
+
(0, import_vue.createElementVNode)("div", mo, [
|
|
3447
|
+
(0, import_vue.withDirectives)((0, import_vue.createVNode)(fo, { request: e.request }, null, 8, ["request"]), [
|
|
3419
3448
|
[import_vue.vShow, i.value === "split"]
|
|
3420
3449
|
]),
|
|
3421
3450
|
(0, import_vue.withDirectives)((0, import_vue.createVNode)(zt, {
|
|
@@ -3428,19 +3457,20 @@ var go = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3428
3457
|
(0, import_vue.withDirectives)((0, import_vue.createVNode)(Ot, {
|
|
3429
3458
|
title: "Response",
|
|
3430
3459
|
data: e.request.response,
|
|
3431
|
-
truncated: e.request.truncated
|
|
3432
|
-
|
|
3460
|
+
truncated: e.request.truncated,
|
|
3461
|
+
error: e.request.error
|
|
3462
|
+
}, null, 8, ["data", "truncated", "error"]), [
|
|
3433
3463
|
[import_vue.vShow, i.value === "response"]
|
|
3434
3464
|
]),
|
|
3435
|
-
(0, import_vue.withDirectives)((0, import_vue.createElementVNode)("div",
|
|
3465
|
+
(0, import_vue.withDirectives)((0, import_vue.createElementVNode)("div", vo, [
|
|
3436
3466
|
((0, import_vue.openBlock)(true), (0, import_vue.createElementBlock)(import_vue.Fragment, null, (0, import_vue.renderList)(e.request.requestHeaders, (s, o) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", {
|
|
3437
3467
|
key: o,
|
|
3438
3468
|
class: "header-row"
|
|
3439
3469
|
}, [
|
|
3440
|
-
(0, import_vue.createElementVNode)("span",
|
|
3441
|
-
(0, import_vue.createElementVNode)("span",
|
|
3470
|
+
(0, import_vue.createElementVNode)("span", go, (0, import_vue.toDisplayString)(o), 1),
|
|
3471
|
+
(0, import_vue.createElementVNode)("span", yo, (0, import_vue.toDisplayString)(s), 1)
|
|
3442
3472
|
]))), 128)),
|
|
3443
|
-
Object.keys(e.request.requestHeaders ?? {}).length ? (0, import_vue.createCommentVNode)("", true) : ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("p",
|
|
3473
|
+
Object.keys(e.request.requestHeaders ?? {}).length ? (0, import_vue.createCommentVNode)("", true) : ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("p", bo, " No request headers captured. "))
|
|
3444
3474
|
], 512), [
|
|
3445
3475
|
[import_vue.vShow, i.value === "headers"]
|
|
3446
3476
|
])
|
|
@@ -3448,15 +3478,15 @@ var go = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3448
3478
|
]));
|
|
3449
3479
|
}
|
|
3450
3480
|
});
|
|
3451
|
-
var
|
|
3452
|
-
var
|
|
3453
|
-
var
|
|
3481
|
+
var So = /* @__PURE__ */ j(wo, [["__scopeId", "data-v-097724fd"]]);
|
|
3482
|
+
var xo = ["value"];
|
|
3483
|
+
var ko = {
|
|
3454
3484
|
key: 0,
|
|
3455
3485
|
value: "",
|
|
3456
3486
|
disabled: ""
|
|
3457
3487
|
};
|
|
3458
|
-
var
|
|
3459
|
-
var
|
|
3488
|
+
var Io = ["value"];
|
|
3489
|
+
var _o = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
3460
3490
|
__name: "SelectInput",
|
|
3461
3491
|
props: {
|
|
3462
3492
|
modelValue: {},
|
|
@@ -3470,44 +3500,44 @@ var xo = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3470
3500
|
value: e.modelValue,
|
|
3471
3501
|
onChange: t[0] || (t[0] = (n) => i.$emit("update:modelValue", n.target.value))
|
|
3472
3502
|
}, [
|
|
3473
|
-
e.placeholder ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("option",
|
|
3503
|
+
e.placeholder ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("option", ko, (0, import_vue.toDisplayString)(e.placeholder), 1)) : (0, import_vue.createCommentVNode)("", true),
|
|
3474
3504
|
((0, import_vue.openBlock)(true), (0, import_vue.createElementBlock)(import_vue.Fragment, null, (0, import_vue.renderList)(e.options, (n) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("option", {
|
|
3475
3505
|
key: n.value,
|
|
3476
3506
|
value: n.value
|
|
3477
|
-
}, (0, import_vue.toDisplayString)(n.label), 9,
|
|
3478
|
-
], 40,
|
|
3507
|
+
}, (0, import_vue.toDisplayString)(n.label), 9, Io))), 128))
|
|
3508
|
+
], 40, xo));
|
|
3479
3509
|
}
|
|
3480
3510
|
});
|
|
3481
|
-
var
|
|
3482
|
-
var
|
|
3483
|
-
var
|
|
3484
|
-
var
|
|
3485
|
-
var
|
|
3486
|
-
var
|
|
3487
|
-
var
|
|
3511
|
+
var Eo = /* @__PURE__ */ j(_o, [["__scopeId", "data-v-e6ef5dc9"]]);
|
|
3512
|
+
var To = { class: "network-tab" };
|
|
3513
|
+
var Mo = { class: "toolbar" };
|
|
3514
|
+
var Co = { class: "filter-bar" };
|
|
3515
|
+
var Oo = ["onClick"];
|
|
3516
|
+
var zo = { class: "filter-count" };
|
|
3517
|
+
var Ao = {
|
|
3488
3518
|
key: 0,
|
|
3489
3519
|
width: "10",
|
|
3490
3520
|
height: "10",
|
|
3491
3521
|
viewBox: "0 0 10 10",
|
|
3492
3522
|
fill: "none"
|
|
3493
3523
|
};
|
|
3494
|
-
var
|
|
3524
|
+
var qo = {
|
|
3495
3525
|
key: 0,
|
|
3496
3526
|
width: "10",
|
|
3497
3527
|
height: "10",
|
|
3498
3528
|
viewBox: "0 0 10 10",
|
|
3499
3529
|
fill: "none"
|
|
3500
3530
|
};
|
|
3501
|
-
var
|
|
3531
|
+
var $o = {
|
|
3502
3532
|
key: 0,
|
|
3503
3533
|
style: { "font-size": "12px", color: "var(--dt-foreground-subtle)", padding: "16px" }
|
|
3504
3534
|
};
|
|
3505
|
-
var
|
|
3535
|
+
var Lo = {
|
|
3506
3536
|
key: 1,
|
|
3507
3537
|
class: "detail-pane"
|
|
3508
3538
|
};
|
|
3509
|
-
var
|
|
3510
|
-
var
|
|
3539
|
+
var Fo = 180;
|
|
3540
|
+
var Po = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
3511
3541
|
__name: "NetworkTab",
|
|
3512
3542
|
setup(e) {
|
|
3513
3543
|
const {
|
|
@@ -3516,22 +3546,22 @@ var qo = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3516
3546
|
instanceFilter: n,
|
|
3517
3547
|
filteredRequests: s,
|
|
3518
3548
|
clearFilters: o,
|
|
3519
|
-
selectedRequest:
|
|
3520
|
-
selectedRequestId:
|
|
3549
|
+
selectedRequest: r,
|
|
3550
|
+
selectedRequestId: l,
|
|
3521
3551
|
selectRequest: a,
|
|
3522
3552
|
instances: c
|
|
3523
|
-
} = Js(), { toolbarVisible: u, filterVisible: g, settingsOpen: d, toggleToolbar: w, toggleFilter: p, closeSettings:
|
|
3553
|
+
} = Js(), { toolbarVisible: u, filterVisible: g, settingsOpen: d, toggleToolbar: w, toggleFilter: p, closeSettings: b } = Le(), v = (0, import_vue.computed)(() => [
|
|
3524
3554
|
{ value: "all", label: "All instances" },
|
|
3525
|
-
...[...c.value.values()].map((
|
|
3526
|
-
value:
|
|
3527
|
-
label:
|
|
3555
|
+
...[...c.value.values()].map((I) => ({
|
|
3556
|
+
value: I.id,
|
|
3557
|
+
label: I.url ?? I.id
|
|
3528
3558
|
}))
|
|
3529
3559
|
]), x = (0, import_vue.computed)(
|
|
3530
3560
|
() => {
|
|
3531
|
-
var
|
|
3532
|
-
return (
|
|
3561
|
+
var I;
|
|
3562
|
+
return (I = r.value) == null ? void 0 : I.instanceOptions;
|
|
3533
3563
|
}
|
|
3534
|
-
),
|
|
3564
|
+
), C = [
|
|
3535
3565
|
{ value: "all", label: "All" },
|
|
3536
3566
|
{ value: "success", label: "Success" },
|
|
3537
3567
|
{ value: "error", label: "Error" },
|
|
@@ -3539,60 +3569,60 @@ var qo = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3539
3569
|
{ value: "aborted", label: "Aborted" }
|
|
3540
3570
|
], S = (0, import_vue.ref)(320);
|
|
3541
3571
|
(0, import_vue.onMounted)(async () => {
|
|
3542
|
-
const
|
|
3543
|
-
|
|
3572
|
+
const I = await bn();
|
|
3573
|
+
I !== void 0 && (S.value = I);
|
|
3544
3574
|
});
|
|
3545
|
-
const
|
|
3575
|
+
const A = (0, import_vue.ref)(null);
|
|
3546
3576
|
let D = null;
|
|
3547
|
-
function I
|
|
3548
|
-
const
|
|
3577
|
+
function _(I) {
|
|
3578
|
+
const k = I.clientX, E = S.value;
|
|
3549
3579
|
function V(At) {
|
|
3550
|
-
const
|
|
3551
|
-
S.value = Math.max(
|
|
3580
|
+
const qt = A.value ? A.value.offsetWidth * 0.7 : 800;
|
|
3581
|
+
S.value = Math.max(Fo, Math.min(E + (At.clientX - k), qt));
|
|
3552
3582
|
}
|
|
3553
|
-
function
|
|
3554
|
-
window.removeEventListener("mousemove", V), window.removeEventListener("mouseup",
|
|
3583
|
+
function be() {
|
|
3584
|
+
window.removeEventListener("mousemove", V), window.removeEventListener("mouseup", be), D = null, wn(S.value);
|
|
3555
3585
|
}
|
|
3556
|
-
window.addEventListener("mousemove", V), window.addEventListener("mouseup",
|
|
3557
|
-
window.removeEventListener("mousemove", V), window.removeEventListener("mouseup",
|
|
3558
|
-
},
|
|
3586
|
+
window.addEventListener("mousemove", V), window.addEventListener("mouseup", be), D = () => {
|
|
3587
|
+
window.removeEventListener("mousemove", V), window.removeEventListener("mouseup", be);
|
|
3588
|
+
}, I.preventDefault();
|
|
3559
3589
|
}
|
|
3560
3590
|
return (0, import_vue.onScopeDispose)(() => {
|
|
3561
3591
|
D == null || D();
|
|
3562
|
-
}), (
|
|
3563
|
-
(0, import_vue.withDirectives)((0, import_vue.createElementVNode)("div",
|
|
3592
|
+
}), (I, k) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", To, [
|
|
3593
|
+
(0, import_vue.withDirectives)((0, import_vue.createElementVNode)("div", Mo, [
|
|
3564
3594
|
(0, import_vue.withDirectives)((0, import_vue.createElementVNode)("input", {
|
|
3565
|
-
"onUpdate:modelValue":
|
|
3595
|
+
"onUpdate:modelValue": k[0] || (k[0] = (E) => (0, import_vue.isRef)(i) ? i.value = E : null),
|
|
3566
3596
|
class: "toolbar-input",
|
|
3567
3597
|
placeholder: "Filter URL\u2026"
|
|
3568
3598
|
}, null, 512), [
|
|
3569
3599
|
[import_vue.vModelText, (0, import_vue.unref)(i)]
|
|
3570
3600
|
]),
|
|
3571
|
-
(0, import_vue.createVNode)(
|
|
3601
|
+
(0, import_vue.createVNode)(Eo, {
|
|
3572
3602
|
modelValue: (0, import_vue.unref)(n),
|
|
3573
|
-
"onUpdate:modelValue":
|
|
3603
|
+
"onUpdate:modelValue": k[1] || (k[1] = (E) => (0, import_vue.isRef)(n) ? n.value = E : null),
|
|
3574
3604
|
options: v.value
|
|
3575
3605
|
}, null, 8, ["modelValue", "options"]),
|
|
3576
3606
|
(0, import_vue.createElementVNode)("button", {
|
|
3577
3607
|
class: "toolbar-btn",
|
|
3578
|
-
onClick:
|
|
3608
|
+
onClick: k[2] || (k[2] = //@ts-ignore
|
|
3579
3609
|
(...E) => (0, import_vue.unref)(o) && (0, import_vue.unref)(o)(...E))
|
|
3580
3610
|
}, "Reset filters"),
|
|
3581
3611
|
(0, import_vue.createElementVNode)("button", {
|
|
3582
3612
|
class: "toolbar-btn toolbar-btn--danger",
|
|
3583
|
-
onClick:
|
|
3613
|
+
onClick: k[3] || (k[3] = //@ts-ignore
|
|
3584
3614
|
(...E) => (0, import_vue.unref)(We) && (0, import_vue.unref)(We)(...E))
|
|
3585
3615
|
}, "Clear log")
|
|
3586
3616
|
], 512), [
|
|
3587
3617
|
[import_vue.vShow, (0, import_vue.unref)(u)]
|
|
3588
3618
|
]),
|
|
3589
|
-
(0, import_vue.withDirectives)((0, import_vue.createElementVNode)("div",
|
|
3590
|
-
((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)(import_vue.Fragment, null, (0, import_vue.renderList)(
|
|
3619
|
+
(0, import_vue.withDirectives)((0, import_vue.createElementVNode)("div", Co, [
|
|
3620
|
+
((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)(import_vue.Fragment, null, (0, import_vue.renderList)(C, (E) => (0, import_vue.createElementVNode)("button", {
|
|
3591
3621
|
key: E.value,
|
|
3592
|
-
class: (0, import_vue.normalizeClass)(["filter-pill", { "filter-pill--active": (0, import_vue.unref)(t) === E.value }]),
|
|
3622
|
+
class: (0, import_vue.normalizeClass)(["filter-pill", ["filter-pill--" + E.value, { "filter-pill--active": (0, import_vue.unref)(t) === E.value }]]),
|
|
3593
3623
|
onClick: (V) => t.value = E.value
|
|
3594
|
-
}, (0, import_vue.toDisplayString)(E.label), 11,
|
|
3595
|
-
(0, import_vue.createElementVNode)("span",
|
|
3624
|
+
}, (0, import_vue.toDisplayString)(E.label), 11, Oo)), 64)),
|
|
3625
|
+
(0, import_vue.createElementVNode)("span", zo, (0, import_vue.toDisplayString)((0, import_vue.unref)(s).length) + " request" + (0, import_vue.toDisplayString)((0, import_vue.unref)(s).length === 1 ? "" : "s"), 1)
|
|
3596
3626
|
], 512), [
|
|
3597
3627
|
[import_vue.vShow, (0, import_vue.unref)(g)]
|
|
3598
3628
|
]),
|
|
@@ -3600,8 +3630,8 @@ var qo = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3600
3630
|
(0, import_vue.unref)(d) ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", {
|
|
3601
3631
|
key: 0,
|
|
3602
3632
|
style: { position: "fixed", inset: "0", "z-index": "99" },
|
|
3603
|
-
onClick:
|
|
3604
|
-
(...E) => (0, import_vue.unref)(
|
|
3633
|
+
onClick: k[4] || (k[4] = //@ts-ignore
|
|
3634
|
+
(...E) => (0, import_vue.unref)(b) && (0, import_vue.unref)(b)(...E))
|
|
3605
3635
|
})) : (0, import_vue.createCommentVNode)("", true)
|
|
3606
3636
|
])),
|
|
3607
3637
|
(0, import_vue.createVNode)(import_vue.Transition, { name: "settings-menu" }, {
|
|
@@ -3609,21 +3639,21 @@ var qo = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3609
3639
|
(0, import_vue.unref)(d) ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", {
|
|
3610
3640
|
key: 0,
|
|
3611
3641
|
class: "settings-menu",
|
|
3612
|
-
onKeydown:
|
|
3642
|
+
onKeydown: k[7] || (k[7] = (0, import_vue.withKeys)(
|
|
3613
3643
|
//@ts-ignore
|
|
3614
|
-
(...E) => (0, import_vue.unref)(
|
|
3644
|
+
(...E) => (0, import_vue.unref)(b) && (0, import_vue.unref)(b)(...E),
|
|
3615
3645
|
["escape"]
|
|
3616
3646
|
))
|
|
3617
3647
|
}, [
|
|
3618
3648
|
(0, import_vue.createElementVNode)("button", {
|
|
3619
3649
|
class: "settings-item",
|
|
3620
|
-
onClick:
|
|
3650
|
+
onClick: k[5] || (k[5] = //@ts-ignore
|
|
3621
3651
|
(...E) => (0, import_vue.unref)(w) && (0, import_vue.unref)(w)(...E))
|
|
3622
3652
|
}, [
|
|
3623
3653
|
(0, import_vue.createElementVNode)("span", {
|
|
3624
3654
|
class: (0, import_vue.normalizeClass)(["settings-check", { "settings-check--on": (0, import_vue.unref)(u) }])
|
|
3625
3655
|
}, [
|
|
3626
|
-
(0, import_vue.unref)(u) ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("svg",
|
|
3656
|
+
(0, import_vue.unref)(u) ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("svg", Ao, [...k[9] || (k[9] = [
|
|
3627
3657
|
(0, import_vue.createElementVNode)("path", {
|
|
3628
3658
|
d: "M1.5 5L4 7.5L8.5 2.5",
|
|
3629
3659
|
stroke: "currentColor",
|
|
@@ -3632,17 +3662,17 @@ var qo = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3632
3662
|
}, null, -1)
|
|
3633
3663
|
])])) : (0, import_vue.createCommentVNode)("", true)
|
|
3634
3664
|
], 2),
|
|
3635
|
-
|
|
3665
|
+
k[10] || (k[10] = (0, import_vue.createTextVNode)(" Toolbar ", -1))
|
|
3636
3666
|
]),
|
|
3637
3667
|
(0, import_vue.createElementVNode)("button", {
|
|
3638
3668
|
class: "settings-item",
|
|
3639
|
-
onClick:
|
|
3669
|
+
onClick: k[6] || (k[6] = //@ts-ignore
|
|
3640
3670
|
(...E) => (0, import_vue.unref)(p) && (0, import_vue.unref)(p)(...E))
|
|
3641
3671
|
}, [
|
|
3642
3672
|
(0, import_vue.createElementVNode)("span", {
|
|
3643
3673
|
class: (0, import_vue.normalizeClass)(["settings-check", { "settings-check--on": (0, import_vue.unref)(g) }])
|
|
3644
3674
|
}, [
|
|
3645
|
-
(0, import_vue.unref)(g) ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("svg",
|
|
3675
|
+
(0, import_vue.unref)(g) ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("svg", qo, [...k[11] || (k[11] = [
|
|
3646
3676
|
(0, import_vue.createElementVNode)("path", {
|
|
3647
3677
|
d: "M1.5 5L4 7.5L8.5 2.5",
|
|
3648
3678
|
stroke: "currentColor",
|
|
@@ -3651,7 +3681,7 @@ var qo = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3651
3681
|
}, null, -1)
|
|
3652
3682
|
])])) : (0, import_vue.createCommentVNode)("", true)
|
|
3653
3683
|
], 2),
|
|
3654
|
-
|
|
3684
|
+
k[12] || (k[12] = (0, import_vue.createTextVNode)(" Filter bar ", -1))
|
|
3655
3685
|
])
|
|
3656
3686
|
], 32)) : (0, import_vue.createCommentVNode)("", true)
|
|
3657
3687
|
]),
|
|
@@ -3659,46 +3689,46 @@ var qo = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3659
3689
|
}),
|
|
3660
3690
|
(0, import_vue.createElementVNode)("div", {
|
|
3661
3691
|
ref_key: "splitRef",
|
|
3662
|
-
ref:
|
|
3692
|
+
ref: A,
|
|
3663
3693
|
class: "main-split"
|
|
3664
3694
|
}, [
|
|
3665
3695
|
(0, import_vue.createElementVNode)("div", {
|
|
3666
3696
|
class: "list-pane",
|
|
3667
|
-
style: (0, import_vue.normalizeStyle)((0, import_vue.unref)(
|
|
3697
|
+
style: (0, import_vue.normalizeStyle)((0, import_vue.unref)(r) ? { width: `${S.value}px` } : { flex: "1" })
|
|
3668
3698
|
}, [
|
|
3669
|
-
(0, import_vue.createVNode)(
|
|
3699
|
+
(0, import_vue.createVNode)(ki, {
|
|
3670
3700
|
requests: (0, import_vue.unref)(s),
|
|
3671
|
-
"active-request-id": (0, import_vue.unref)(
|
|
3701
|
+
"active-request-id": (0, import_vue.unref)(l),
|
|
3672
3702
|
onSelect: (0, import_vue.unref)(a)
|
|
3673
3703
|
}, null, 8, ["requests", "active-request-id", "onSelect"]),
|
|
3674
|
-
(0, import_vue.unref)(s).length === 0 ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div",
|
|
3704
|
+
(0, import_vue.unref)(s).length === 0 ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", $o, " No requests. ")) : (0, import_vue.createCommentVNode)("", true)
|
|
3675
3705
|
], 4),
|
|
3676
|
-
(0, import_vue.unref)(
|
|
3706
|
+
(0, import_vue.unref)(r) ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", {
|
|
3677
3707
|
key: 0,
|
|
3678
3708
|
class: "drag-handle",
|
|
3679
|
-
onMousedown:
|
|
3709
|
+
onMousedown: _
|
|
3680
3710
|
}, null, 32)) : (0, import_vue.createCommentVNode)("", true),
|
|
3681
|
-
(0, import_vue.unref)(
|
|
3682
|
-
(0, import_vue.createVNode)(
|
|
3683
|
-
request: (0, import_vue.unref)(
|
|
3711
|
+
(0, import_vue.unref)(r) ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", Lo, [
|
|
3712
|
+
(0, import_vue.createVNode)(So, {
|
|
3713
|
+
request: (0, import_vue.unref)(r),
|
|
3684
3714
|
"instance-options": x.value,
|
|
3685
|
-
onClose:
|
|
3715
|
+
onClose: k[8] || (k[8] = (E) => (0, import_vue.unref)(a)(null))
|
|
3686
3716
|
}, null, 8, ["request", "instance-options"])
|
|
3687
3717
|
])) : (0, import_vue.createCommentVNode)("", true)
|
|
3688
3718
|
], 512)
|
|
3689
3719
|
]));
|
|
3690
3720
|
}
|
|
3691
3721
|
});
|
|
3692
|
-
var
|
|
3693
|
-
var
|
|
3722
|
+
var Ro = /* @__PURE__ */ j(Po, [["__scopeId", "data-v-8e75aacb"]]);
|
|
3723
|
+
var jo = {
|
|
3694
3724
|
id: "network",
|
|
3695
3725
|
label: "Network",
|
|
3696
3726
|
icon: "lucide:network",
|
|
3697
3727
|
order: 1,
|
|
3698
|
-
component:
|
|
3728
|
+
component: Ro
|
|
3699
3729
|
};
|
|
3700
|
-
function
|
|
3701
|
-
return Nt(e), He(
|
|
3730
|
+
function Vo(e, i) {
|
|
3731
|
+
return Nt(e), He(jo), e.tabs && e.tabs.forEach((t) => He(t)), Bs(), {
|
|
3702
3732
|
onInstanceCreated: Jt,
|
|
3703
3733
|
onInstanceDestroyed: Xt,
|
|
3704
3734
|
onStateUpdate: Qt,
|
|
@@ -3716,7 +3746,7 @@ function nextRequestId() {
|
|
|
3716
3746
|
}
|
|
3717
3747
|
async function initDevtools(options, app) {
|
|
3718
3748
|
if (!options.enabled) return;
|
|
3719
|
-
bridge =
|
|
3749
|
+
bridge = Vo(options, app);
|
|
3720
3750
|
for (const fn2 of pendingCalls) fn2();
|
|
3721
3751
|
pendingCalls.length = 0;
|
|
3722
3752
|
}
|
|
@@ -3835,6 +3865,11 @@ function parseApiError(error) {
|
|
|
3835
3865
|
details: data
|
|
3836
3866
|
};
|
|
3837
3867
|
}
|
|
3868
|
+
return {
|
|
3869
|
+
message: axiosError.message,
|
|
3870
|
+
status: 0,
|
|
3871
|
+
code: axiosError.code
|
|
3872
|
+
};
|
|
3838
3873
|
}
|
|
3839
3874
|
return {
|
|
3840
3875
|
message: error instanceof Error ? error.message : String(error),
|