@ametie/vue-muza-use 1.2.5 → 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 +1033 -984
- package/dist/index.mjs +1185 -1136
- 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-fe53a363]{display:flex;flex-direction:column;height:100%;overflow:hidden}.pane-header[data-v-fe53a363]{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-fe53a363]{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.6px;color:var(--dt-foreground-muted);flex:1}.pane-action[data-v-fe53a363]{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-fe53a363]:hover{background:var(--dt-surface-raised);color:var(--dt-foreground-secondary);border-color:var(--dt-border-strong)}.pane-action--active[data-v-fe53a363]{background:var(--dt-primary-subtle);color:var(--dt-primary);border-color:var(--dt-primary)}.pane-body[data-v-fe53a363]{flex:1;overflow:auto;padding:12px}.pane-body[data-v-fe53a363]::-webkit-scrollbar{width:4px;height:4px}.pane-body[data-v-fe53a363]::-webkit-scrollbar-thumb{background:var(--dt-border-strong);border-radius:2px}.truncated-warning[data-v-fe53a363]{font-size:11px;color:var(--dt-warning);margin-bottom:8px}.payload-pane[data-v-052714ff]{display:flex;flex-direction:column;height:100%;overflow:hidden}.pane-header[data-v-052714ff]{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-052714ff]{font-size:10px;font-weight:600;letter-spacing:.6px;color:var(--dt-foreground-muted);flex:1}.pane-action[data-v-052714ff]{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-052714ff]:hover{background:var(--dt-surface-raised);color:var(--dt-foreground-secondary);border-color:var(--dt-border-strong)}.pane-action--active[data-v-052714ff]{background:var(--dt-primary-subtle);color:var(--dt-primary);border-color:var(--dt-primary)}.section-label[data-v-052714ff]{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-052714ff]{background:var(--dt-primary-subtle);color:var(--dt-primary);border-radius:3px;padding:1px 5px;font-size:9px}.section-body[data-v-052714ff]{overflow:auto;padding:6px 12px;flex-shrink:0;max-height:50%}.section-body[data-v-052714ff]::-webkit-scrollbar{width:4px;height:4px}.section-body[data-v-052714ff]::-webkit-scrollbar-thumb{background:var(--dt-border-strong);border-radius:2px}.section-empty[data-v-052714ff]{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-052714ff]{height:1px;background:var(--dt-border-subtle);flex-shrink:0}.truncated-warning[data-v-052714ff]{font-size:11px;color:var(--dt-warning);margin-bottom:8px}.split-view[data-v-9d222cb1]{display:flex;height:100%;overflow:hidden}.split-view--row[data-v-9d222cb1]{flex-direction:row}.split-view--stacked[data-v-9d222cb1]{flex-direction:column}.split-pane[data-v-9d222cb1]{flex:1;overflow:hidden}.split-view--row .split-pane[data-v-9d222cb1]{min-width:120px}.split-view--stacked .split-pane[data-v-9d222cb1]{min-height:80px}.split-handle[data-v-9d222cb1]{flex-shrink:0;background:var(--dt-border-subtle);transition:background .15s}.split-handle--v[data-v-9d222cb1]{width:5px;cursor:col-resize}.split-handle--h[data-v-9d222cb1]{height:5px;cursor:row-resize}.split-handle[data-v-9d222cb1]:hover{background:var(--dt-primary)}.request-detail[data-v-0b284849]{display:flex;flex-direction:column;height:100%;overflow:hidden;background:var(--dt-surface-sunken)}.detail-content[data-v-0b284849]{flex:1;overflow:hidden;display:flex;flex-direction:column}.headers-view[data-v-0b284849]{flex:1;padding:12px;overflow-y:auto;font-family:SF Mono,Fira Code,Consolas,monospace;font-size:12px}.headers-view[data-v-0b284849]::-webkit-scrollbar{width:4px}.headers-view[data-v-0b284849]::-webkit-scrollbar-thumb{background:var(--dt-border-strong);border-radius:2px}.header-row[data-v-0b284849]{display:flex;gap:12px;padding:6px 0;border-bottom:1px solid var(--dt-border-subtle)}.header-row[data-v-0b284849]:last-child{border-bottom:none}.header-key[data-v-0b284849]{color:#6da4ff;color:oklch(72% .17 260);width:38%;flex-shrink:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-val[data-v-0b284849]{color:var(--dt-foreground-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.empty-msg[data-v-0b284849]{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-8c2a9bad]{display:flex;flex-direction:column;height:100%;background:var(--dt-background);position:relative}.toolbar[data-v-8c2a9bad]{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-8c2a9bad]::-webkit-scrollbar{display:none}.toolbar-input[data-v-8c2a9bad]{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-8c2a9bad]::placeholder{color:var(--dt-foreground-subtle)}.toolbar-input[data-v-8c2a9bad]:focus{border-color:var(--dt-primary)}.toolbar-btn[data-v-8c2a9bad]{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-8c2a9bad]:active{transform:scale(.97)}.toolbar-btn[data-v-8c2a9bad]:hover{background:var(--dt-surface-raised);color:var(--dt-foreground)}.toolbar-btn--danger[data-v-8c2a9bad]:hover{background:#250e10;color:#f9667a;border-color:#5d262d}.filter-bar[data-v-8c2a9bad]{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-8c2a9bad]::-webkit-scrollbar{display:none}.filter-pill[data-v-8c2a9bad]{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-8c2a9bad]:active{transform:scale(.97)}.filter-pill[data-v-8c2a9bad]:hover{background:var(--dt-surface-raised);color:var(--dt-foreground-secondary)}.filter-pill--active[data-v-8c2a9bad]{background:var(--dt-primary-subtle);color:var(--dt-primary);border-color:var(--dt-primary)}.filter-count[data-v-8c2a9bad]{margin-left:auto;font-size:11px;color:var(--dt-foreground-subtle)}.main-split[data-v-8c2a9bad]{display:flex;flex:1;overflow:hidden}.list-pane[data-v-8c2a9bad]{min-width:180px;display:flex;flex-direction:column;overflow:hidden;flex-shrink:0}.detail-pane[data-v-8c2a9bad]{flex:1;min-width:200px;overflow:hidden}.drag-handle[data-v-8c2a9bad]{width:5px;flex-shrink:0;cursor:col-resize;background:var(--dt-border-subtle);transition:background .15s ease-out}.drag-handle[data-v-8c2a9bad]:hover{background:var(--dt-primary)}.settings-menu[data-v-8c2a9bad]{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-8c2a9bad]{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-8c2a9bad]:active{transform:scale(.97)}.settings-item[data-v-8c2a9bad]:hover{background:var(--dt-surface-raised)}.settings-check[data-v-8c2a9bad]{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-8c2a9bad]{background:var(--dt-primary);border-color:var(--dt-primary)}.settings-menu-enter-active[data-v-8c2a9bad]{transition:transform .15s cubic-bezier(.23,1,.32,1),opacity .15s ease-out}.settings-menu-leave-active[data-v-8c2a9bad]{transition:transform .1s ease-in,opacity .1s ease-in}.settings-menu-enter-from[data-v-8c2a9bad],.settings-menu-leave-to[data-v-8c2a9bad]{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 } : {
|
|
@@ -84,17 +84,17 @@ function ke(e, i) {
|
|
|
84
84
|
return { value: "[non-serializable]", truncated: true };
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
-
var
|
|
88
|
-
() =>
|
|
87
|
+
var Vt = (0, import_vue.computed)(
|
|
88
|
+
() => O.instances
|
|
89
89
|
);
|
|
90
|
-
var
|
|
91
|
-
() =>
|
|
90
|
+
var ft = (0, import_vue.computed)(
|
|
91
|
+
() => O.requests
|
|
92
92
|
);
|
|
93
|
-
function
|
|
94
|
-
|
|
93
|
+
function Nt(e) {
|
|
94
|
+
O.instances.clear(), O.requests.splice(0), O.config.maxHistory = e.maxHistory ?? 300, O.config.maxPayloadSize = e.maxPayloadSize ?? 2e5;
|
|
95
95
|
}
|
|
96
|
-
function
|
|
97
|
-
|
|
96
|
+
function Wt(e, i, t) {
|
|
97
|
+
O.instances.set(e, {
|
|
98
98
|
id: e,
|
|
99
99
|
url: i,
|
|
100
100
|
method: "GET",
|
|
@@ -105,38 +105,40 @@ function Pt(e, i, t) {
|
|
|
105
105
|
lastRequestAt: null
|
|
106
106
|
});
|
|
107
107
|
}
|
|
108
|
-
function
|
|
109
|
-
|
|
108
|
+
function Ht(e) {
|
|
109
|
+
O.instances.delete(e);
|
|
110
110
|
}
|
|
111
|
-
function
|
|
112
|
-
const t =
|
|
111
|
+
function Bt(e, i) {
|
|
112
|
+
const t = O.instances.get(e);
|
|
113
113
|
t && (t.state = { ...t.state, ...i });
|
|
114
114
|
}
|
|
115
|
-
function
|
|
116
|
-
|
|
115
|
+
function Kt(e) {
|
|
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 = {
|
|
117
118
|
...e,
|
|
118
119
|
payload: i,
|
|
119
120
|
queryParams: n,
|
|
120
121
|
duration: null,
|
|
121
122
|
response: null,
|
|
122
123
|
error: null,
|
|
123
|
-
truncated: t || s
|
|
124
|
+
truncated: t || s,
|
|
125
|
+
instanceOptions: e.instanceId ? (r = O.instances.get(e.instanceId)) == null ? void 0 : r.options : void 0
|
|
124
126
|
};
|
|
125
|
-
if (
|
|
126
|
-
const l =
|
|
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);
|
|
127
129
|
l && (l.requestCount++, l.lastRequestAt = e.startedAt);
|
|
128
130
|
}
|
|
129
131
|
}
|
|
130
|
-
function
|
|
131
|
-
const t =
|
|
132
|
+
function Ut(e, i) {
|
|
133
|
+
const t = O.requests.findIndex((s) => s.id === e);
|
|
132
134
|
if (t === -1) return;
|
|
133
|
-
const n =
|
|
135
|
+
const n = O.requests[t];
|
|
134
136
|
if (i.status === "success") {
|
|
135
|
-
const { value: s, truncated: o } =
|
|
137
|
+
const { value: s, truncated: o } = he(
|
|
136
138
|
i.response,
|
|
137
|
-
|
|
139
|
+
O.config.maxPayloadSize
|
|
138
140
|
);
|
|
139
|
-
|
|
141
|
+
O.requests[t] = {
|
|
140
142
|
...n,
|
|
141
143
|
status: "success",
|
|
142
144
|
statusCode: i.statusCode,
|
|
@@ -144,50 +146,56 @@ function Vt(e, i) {
|
|
|
144
146
|
duration: i.duration,
|
|
145
147
|
truncated: n.truncated || o
|
|
146
148
|
};
|
|
147
|
-
} else i.status === "error"
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
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 };
|
|
157
165
|
}
|
|
158
|
-
function
|
|
159
|
-
|
|
166
|
+
function We() {
|
|
167
|
+
O.requests.splice(0);
|
|
160
168
|
}
|
|
161
|
-
var
|
|
162
|
-
var
|
|
163
|
-
() => [...
|
|
169
|
+
var oe = (0, import_vue.reactive)({ tabs: [] });
|
|
170
|
+
var G = (0, import_vue.computed)(
|
|
171
|
+
() => [...oe.tabs].sort((e, i) => e.order - i.order)
|
|
164
172
|
);
|
|
165
|
-
function
|
|
166
|
-
if (
|
|
167
|
-
const i = e.order ??
|
|
168
|
-
|
|
173
|
+
function He(e) {
|
|
174
|
+
if (oe.tabs.some((t) => t.id === e.id)) return;
|
|
175
|
+
const i = e.order ?? oe.tabs.length + 10;
|
|
176
|
+
oe.tabs.push({ ...e, order: i, component: (0, import_vue.markRaw)(e.component) });
|
|
169
177
|
}
|
|
170
|
-
function
|
|
171
|
-
|
|
178
|
+
function Jt(e, i, t) {
|
|
179
|
+
Wt(e, i, t);
|
|
172
180
|
}
|
|
173
|
-
function
|
|
174
|
-
|
|
181
|
+
function Xt(e) {
|
|
182
|
+
Ht(e);
|
|
175
183
|
}
|
|
176
|
-
function
|
|
177
|
-
|
|
184
|
+
function Qt(e, i) {
|
|
185
|
+
Bt(e, i);
|
|
178
186
|
}
|
|
179
|
-
function
|
|
180
|
-
|
|
187
|
+
function Gt(e) {
|
|
188
|
+
Kt(e);
|
|
181
189
|
}
|
|
182
|
-
function
|
|
183
|
-
|
|
190
|
+
function Yt(e, i) {
|
|
191
|
+
Ut(e, i);
|
|
184
192
|
}
|
|
185
193
|
function $e(e) {
|
|
186
194
|
return new Promise((i, t) => {
|
|
187
195
|
e.oncomplete = e.onsuccess = () => i(e.result), e.onabort = e.onerror = () => t(e.error);
|
|
188
196
|
});
|
|
189
197
|
}
|
|
190
|
-
function
|
|
198
|
+
function Zt(e, i) {
|
|
191
199
|
let t;
|
|
192
200
|
const n = () => {
|
|
193
201
|
if (t)
|
|
@@ -198,19 +206,19 @@ function Jt(e, i) {
|
|
|
198
206
|
}, () => {
|
|
199
207
|
}), t;
|
|
200
208
|
};
|
|
201
|
-
return (s, o) => n().then((
|
|
209
|
+
return (s, o) => n().then((r) => o(r.transaction(i, s).objectStore(i)));
|
|
202
210
|
}
|
|
203
|
-
var
|
|
204
|
-
function
|
|
205
|
-
return
|
|
211
|
+
var we;
|
|
212
|
+
function pt() {
|
|
213
|
+
return we || (we = Zt("keyval-store", "keyval")), we;
|
|
206
214
|
}
|
|
207
|
-
function
|
|
215
|
+
function W(e, i = pt()) {
|
|
208
216
|
return i("readonly", (t) => $e(t.get(e)));
|
|
209
217
|
}
|
|
210
|
-
function
|
|
218
|
+
function H(e, i, t = pt()) {
|
|
211
219
|
return t("readwrite", (n) => (n.put(i, e), $e(n.transaction)));
|
|
212
220
|
}
|
|
213
|
-
var
|
|
221
|
+
var F = {
|
|
214
222
|
panelHeight: "vmd:panel-height",
|
|
215
223
|
panelMode: "vmd:panel-mode",
|
|
216
224
|
panelSideWidth: "vmd:panel-side-width",
|
|
@@ -218,81 +226,95 @@ var R = {
|
|
|
218
226
|
networkToolbarVisible: "vmd:network-toolbar-visible",
|
|
219
227
|
networkFilterVisible: "vmd:network-filter-visible",
|
|
220
228
|
splitPayloadWidth: "vmd:split-payload-width",
|
|
229
|
+
splitPayloadHeight: "vmd:split-payload-height",
|
|
230
|
+
listWidth: "vmd:list-width",
|
|
221
231
|
payloadFormat: "vmd:payload-format",
|
|
222
232
|
responseFormat: "vmd:response-format"
|
|
223
233
|
};
|
|
224
|
-
async function
|
|
225
|
-
return
|
|
234
|
+
async function en() {
|
|
235
|
+
return W(F.activeTab);
|
|
226
236
|
}
|
|
227
|
-
async function
|
|
228
|
-
return
|
|
237
|
+
async function tn(e) {
|
|
238
|
+
return H(F.activeTab, e);
|
|
229
239
|
}
|
|
230
|
-
async function
|
|
231
|
-
return
|
|
240
|
+
async function nn() {
|
|
241
|
+
return W(F.panelHeight);
|
|
232
242
|
}
|
|
233
|
-
async function
|
|
234
|
-
return
|
|
243
|
+
async function sn(e) {
|
|
244
|
+
return H(F.panelHeight, e);
|
|
235
245
|
}
|
|
236
|
-
async function
|
|
237
|
-
return await
|
|
246
|
+
async function on() {
|
|
247
|
+
return await W(F.panelMode) ?? "side";
|
|
238
248
|
}
|
|
239
|
-
async function
|
|
240
|
-
return
|
|
249
|
+
async function rn(e) {
|
|
250
|
+
return H(F.panelMode, e);
|
|
241
251
|
}
|
|
242
|
-
async function
|
|
243
|
-
return
|
|
252
|
+
async function ln() {
|
|
253
|
+
return W(F.panelSideWidth);
|
|
244
254
|
}
|
|
245
|
-
async function
|
|
246
|
-
return
|
|
255
|
+
async function an(e) {
|
|
256
|
+
return H(F.panelSideWidth, e);
|
|
247
257
|
}
|
|
248
|
-
async function
|
|
249
|
-
return await
|
|
258
|
+
async function cn() {
|
|
259
|
+
return await W(F.networkToolbarVisible) ?? true;
|
|
250
260
|
}
|
|
251
|
-
async function
|
|
252
|
-
return
|
|
261
|
+
async function un(e) {
|
|
262
|
+
return H(F.networkToolbarVisible, e);
|
|
253
263
|
}
|
|
254
|
-
async function
|
|
255
|
-
return await
|
|
264
|
+
async function dn() {
|
|
265
|
+
return await W(F.networkFilterVisible) ?? true;
|
|
256
266
|
}
|
|
257
|
-
async function
|
|
258
|
-
return
|
|
267
|
+
async function hn(e) {
|
|
268
|
+
return H(F.networkFilterVisible, e);
|
|
259
269
|
}
|
|
260
|
-
async function
|
|
261
|
-
return
|
|
270
|
+
async function Be() {
|
|
271
|
+
return W(F.splitPayloadWidth);
|
|
262
272
|
}
|
|
263
|
-
async function
|
|
264
|
-
return
|
|
273
|
+
async function fn(e) {
|
|
274
|
+
return H(F.splitPayloadWidth, e);
|
|
265
275
|
}
|
|
266
|
-
async function
|
|
267
|
-
return
|
|
276
|
+
async function Ke() {
|
|
277
|
+
return W(F.splitPayloadHeight);
|
|
268
278
|
}
|
|
269
|
-
async function
|
|
270
|
-
return
|
|
279
|
+
async function pn(e) {
|
|
280
|
+
return H(F.splitPayloadHeight, e);
|
|
271
281
|
}
|
|
272
|
-
async function
|
|
273
|
-
return await
|
|
282
|
+
async function mn() {
|
|
283
|
+
return await W(F.payloadFormat) ?? "kv";
|
|
274
284
|
}
|
|
275
|
-
async function
|
|
276
|
-
return
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
function
|
|
288
|
-
|
|
285
|
+
async function vn(e) {
|
|
286
|
+
return H(F.payloadFormat, e);
|
|
287
|
+
}
|
|
288
|
+
async function gn() {
|
|
289
|
+
return await W(F.responseFormat) ?? "json";
|
|
290
|
+
}
|
|
291
|
+
async function yn(e) {
|
|
292
|
+
return H(F.responseFormat, e);
|
|
293
|
+
}
|
|
294
|
+
async function bn() {
|
|
295
|
+
return W(F.listWidth);
|
|
296
|
+
}
|
|
297
|
+
async function wn(e) {
|
|
298
|
+
return H(F.listWidth, e);
|
|
299
|
+
}
|
|
300
|
+
var Sn = 360;
|
|
301
|
+
var xn = 200;
|
|
302
|
+
var kn = 0.8;
|
|
303
|
+
var In = 380;
|
|
304
|
+
var _n = 280;
|
|
305
|
+
var En = 0.6;
|
|
306
|
+
var Tn = (0, import_vue.ref)(false);
|
|
307
|
+
var se = (0, import_vue.ref)("side");
|
|
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);
|
|
289
311
|
(0, import_vue.onMounted)(async () => {
|
|
290
312
|
const [d, w, p] = await Promise.all([
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
313
|
+
nn(),
|
|
314
|
+
Se ? Promise.resolve(se.value) : on(),
|
|
315
|
+
ln()
|
|
294
316
|
]);
|
|
295
|
-
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);
|
|
296
318
|
});
|
|
297
319
|
function s() {
|
|
298
320
|
i.value = !i.value;
|
|
@@ -300,20 +322,20 @@ function fe() {
|
|
|
300
322
|
function o() {
|
|
301
323
|
i.value = false;
|
|
302
324
|
}
|
|
303
|
-
function
|
|
304
|
-
|
|
325
|
+
function r(d) {
|
|
326
|
+
se.value = d, rn(d);
|
|
305
327
|
}
|
|
306
|
-
let
|
|
328
|
+
let l = false, a = null, c = null;
|
|
307
329
|
function u(d) {
|
|
308
330
|
const w = d.clientY, p = e.value;
|
|
309
|
-
|
|
331
|
+
l = true;
|
|
310
332
|
function b(x) {
|
|
311
|
-
if (!
|
|
312
|
-
const
|
|
313
|
-
e.value = Math.max(
|
|
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));
|
|
314
336
|
}
|
|
315
337
|
function v() {
|
|
316
|
-
|
|
338
|
+
l = false, a = null, sn(e.value), window.removeEventListener("mousemove", b), window.removeEventListener("mouseup", v);
|
|
317
339
|
}
|
|
318
340
|
a = () => {
|
|
319
341
|
window.removeEventListener("mousemove", b), window.removeEventListener("mouseup", v);
|
|
@@ -321,14 +343,14 @@ function fe() {
|
|
|
321
343
|
}
|
|
322
344
|
function g(d) {
|
|
323
345
|
const w = d.clientX, p = n.value;
|
|
324
|
-
|
|
346
|
+
l = true;
|
|
325
347
|
function b(x) {
|
|
326
|
-
if (!
|
|
327
|
-
const
|
|
328
|
-
n.value = Math.max(
|
|
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));
|
|
329
351
|
}
|
|
330
352
|
function v() {
|
|
331
|
-
|
|
353
|
+
l = false, c = null, an(n.value), window.removeEventListener("mousemove", b), window.removeEventListener("mouseup", v);
|
|
332
354
|
}
|
|
333
355
|
c = () => {
|
|
334
356
|
window.removeEventListener("mousemove", b), window.removeEventListener("mouseup", v);
|
|
@@ -336,50 +358,50 @@ function fe() {
|
|
|
336
358
|
}
|
|
337
359
|
return (0, import_vue.onScopeDispose)(() => {
|
|
338
360
|
a == null || a(), c == null || c();
|
|
339
|
-
}), { 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 };
|
|
340
362
|
}
|
|
341
|
-
function
|
|
363
|
+
function mt() {
|
|
342
364
|
const e = (0, import_vue.ref)(null);
|
|
343
365
|
(0, import_vue.onMounted)(async () => {
|
|
344
|
-
const n = await
|
|
345
|
-
n ? e.value = n :
|
|
366
|
+
const n = await en();
|
|
367
|
+
n ? e.value = n : G.value.length > 0 && (e.value = G.value[0].id);
|
|
346
368
|
}), (0, import_vue.watch)(e, (n) => {
|
|
347
|
-
n &&
|
|
369
|
+
n && tn(n);
|
|
348
370
|
});
|
|
349
371
|
const i = (0, import_vue.computed)(
|
|
350
|
-
() =>
|
|
372
|
+
() => G.value.find((n) => n.id === e.value) ?? G.value[0] ?? null
|
|
351
373
|
);
|
|
352
374
|
function t(n) {
|
|
353
375
|
e.value = n;
|
|
354
376
|
}
|
|
355
|
-
return { registeredTabs:
|
|
377
|
+
return { registeredTabs: G, activeTabId: e, activeTab: i, setActiveTab: t };
|
|
356
378
|
}
|
|
357
|
-
var
|
|
379
|
+
var ie = (0, import_vue.ref)(false);
|
|
358
380
|
function Le() {
|
|
359
381
|
const e = (0, import_vue.ref)(true), i = (0, import_vue.ref)(true);
|
|
360
382
|
(0, import_vue.onMounted)(async () => {
|
|
361
|
-
const [
|
|
362
|
-
|
|
363
|
-
|
|
383
|
+
const [r, l] = await Promise.all([
|
|
384
|
+
cn(),
|
|
385
|
+
dn()
|
|
364
386
|
]);
|
|
365
|
-
e.value =
|
|
387
|
+
e.value = r, i.value = l;
|
|
366
388
|
});
|
|
367
389
|
function t() {
|
|
368
|
-
e.value = !e.value,
|
|
390
|
+
e.value = !e.value, un(e.value);
|
|
369
391
|
}
|
|
370
392
|
function n() {
|
|
371
|
-
i.value = !i.value,
|
|
393
|
+
i.value = !i.value, hn(i.value);
|
|
372
394
|
}
|
|
373
395
|
function s() {
|
|
374
|
-
|
|
396
|
+
ie.value = !ie.value;
|
|
375
397
|
}
|
|
376
398
|
function o() {
|
|
377
|
-
|
|
399
|
+
ie.value = false;
|
|
378
400
|
}
|
|
379
|
-
return { toolbarVisible: e, filterVisible: i, settingsOpen:
|
|
401
|
+
return { toolbarVisible: e, filterVisible: i, settingsOpen: ie, toggleToolbar: t, toggleFilter: n, toggleSettings: s, closeSettings: o };
|
|
380
402
|
}
|
|
381
|
-
var
|
|
382
|
-
var
|
|
403
|
+
var vt = /^[a-z0-9]+(-[a-z0-9]+)*$/;
|
|
404
|
+
var ge = (e, i, t, n = "") => {
|
|
383
405
|
const s = e.split(":");
|
|
384
406
|
if (e.slice(0, 1) === "@") {
|
|
385
407
|
if (s.length < 2 || s.length > 3)
|
|
@@ -389,37 +411,37 @@ var pe = (e, i, t, n = "") => {
|
|
|
389
411
|
if (s.length > 3 || !s.length)
|
|
390
412
|
return null;
|
|
391
413
|
if (s.length > 1) {
|
|
392
|
-
const
|
|
414
|
+
const l = s.pop(), a = s.pop(), c = {
|
|
393
415
|
// Allow provider without '@': "provider:prefix:name"
|
|
394
416
|
provider: s.length > 0 ? s[0] : n,
|
|
395
417
|
prefix: a,
|
|
396
|
-
name:
|
|
418
|
+
name: l
|
|
397
419
|
};
|
|
398
|
-
return i && !
|
|
420
|
+
return i && !re(c) ? null : c;
|
|
399
421
|
}
|
|
400
|
-
const o = s[0],
|
|
401
|
-
if (
|
|
402
|
-
const
|
|
422
|
+
const o = s[0], r = o.split("-");
|
|
423
|
+
if (r.length > 1) {
|
|
424
|
+
const l = {
|
|
403
425
|
provider: n,
|
|
404
|
-
prefix:
|
|
405
|
-
name:
|
|
426
|
+
prefix: r.shift(),
|
|
427
|
+
name: r.join("-")
|
|
406
428
|
};
|
|
407
|
-
return i && !
|
|
429
|
+
return i && !re(l) ? null : l;
|
|
408
430
|
}
|
|
409
431
|
if (t && n === "") {
|
|
410
|
-
const
|
|
432
|
+
const l = {
|
|
411
433
|
provider: n,
|
|
412
434
|
prefix: "",
|
|
413
435
|
name: o
|
|
414
436
|
};
|
|
415
|
-
return i && !
|
|
437
|
+
return i && !re(l, t) ? null : l;
|
|
416
438
|
}
|
|
417
439
|
return null;
|
|
418
440
|
};
|
|
419
|
-
var
|
|
441
|
+
var re = (e, i) => e ? !!// Check prefix: cannot be empty, unless allowSimpleName is enabled
|
|
420
442
|
// Check name: cannot be empty
|
|
421
443
|
((i && e.prefix === "" || e.prefix) && e.name) : false;
|
|
422
|
-
var
|
|
444
|
+
var gt = Object.freeze(
|
|
423
445
|
{
|
|
424
446
|
left: 0,
|
|
425
447
|
top: 0,
|
|
@@ -427,88 +449,88 @@ var ht = Object.freeze(
|
|
|
427
449
|
height: 16
|
|
428
450
|
}
|
|
429
451
|
);
|
|
430
|
-
var
|
|
452
|
+
var fe = Object.freeze({
|
|
431
453
|
rotate: 0,
|
|
432
454
|
vFlip: false,
|
|
433
455
|
hFlip: false
|
|
434
456
|
});
|
|
435
|
-
var
|
|
436
|
-
...
|
|
437
|
-
...
|
|
457
|
+
var ye = Object.freeze({
|
|
458
|
+
...gt,
|
|
459
|
+
...fe
|
|
438
460
|
});
|
|
439
461
|
var _e = Object.freeze({
|
|
440
|
-
...
|
|
462
|
+
...ye,
|
|
441
463
|
body: "",
|
|
442
464
|
hidden: false
|
|
443
465
|
});
|
|
444
|
-
function
|
|
466
|
+
function Mn(e, i) {
|
|
445
467
|
const t = {};
|
|
446
468
|
!e.hFlip != !i.hFlip && (t.hFlip = true), !e.vFlip != !i.vFlip && (t.vFlip = true);
|
|
447
469
|
const n = ((e.rotate || 0) + (i.rotate || 0)) % 4;
|
|
448
470
|
return n && (t.rotate = n), t;
|
|
449
471
|
}
|
|
450
|
-
function
|
|
451
|
-
const t =
|
|
472
|
+
function Ue(e, i) {
|
|
473
|
+
const t = Mn(e, i);
|
|
452
474
|
for (const n in _e)
|
|
453
|
-
n in
|
|
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]);
|
|
454
476
|
return t;
|
|
455
477
|
}
|
|
456
|
-
function
|
|
478
|
+
function Cn(e, i) {
|
|
457
479
|
const t = e.icons, n = e.aliases || /* @__PURE__ */ Object.create(null), s = /* @__PURE__ */ Object.create(null);
|
|
458
|
-
function o(
|
|
459
|
-
if (t[
|
|
460
|
-
return s[
|
|
461
|
-
if (!(
|
|
462
|
-
s[
|
|
463
|
-
const
|
|
464
|
-
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));
|
|
465
487
|
}
|
|
466
|
-
return s[
|
|
488
|
+
return s[r];
|
|
467
489
|
}
|
|
468
490
|
return Object.keys(t).concat(Object.keys(n)).forEach(o), s;
|
|
469
491
|
}
|
|
470
|
-
function
|
|
492
|
+
function On(e, i, t) {
|
|
471
493
|
const n = e.icons, s = e.aliases || /* @__PURE__ */ Object.create(null);
|
|
472
494
|
let o = {};
|
|
473
|
-
function l
|
|
474
|
-
o =
|
|
475
|
-
n[
|
|
495
|
+
function r(l) {
|
|
496
|
+
o = Ue(
|
|
497
|
+
n[l] || s[l],
|
|
476
498
|
o
|
|
477
499
|
);
|
|
478
500
|
}
|
|
479
|
-
return
|
|
501
|
+
return r(i), t.forEach(r), Ue(e, o);
|
|
480
502
|
}
|
|
481
|
-
function
|
|
503
|
+
function yt(e, i) {
|
|
482
504
|
const t = [];
|
|
483
505
|
if (typeof e != "object" || typeof e.icons != "object")
|
|
484
506
|
return t;
|
|
485
507
|
e.not_found instanceof Array && e.not_found.forEach((s) => {
|
|
486
508
|
i(s, null), t.push(s);
|
|
487
509
|
});
|
|
488
|
-
const n =
|
|
510
|
+
const n = Cn(e);
|
|
489
511
|
for (const s in n) {
|
|
490
512
|
const o = n[s];
|
|
491
|
-
o && (i(s,
|
|
513
|
+
o && (i(s, On(e, s, o)), t.push(s));
|
|
492
514
|
}
|
|
493
515
|
return t;
|
|
494
516
|
}
|
|
495
|
-
var
|
|
517
|
+
var zn = {
|
|
496
518
|
provider: "",
|
|
497
519
|
aliases: {},
|
|
498
520
|
not_found: {},
|
|
499
|
-
...
|
|
521
|
+
...gt
|
|
500
522
|
};
|
|
501
|
-
function
|
|
523
|
+
function xe(e, i) {
|
|
502
524
|
for (const t in i)
|
|
503
525
|
if (t in e && typeof e[t] != typeof i[t])
|
|
504
526
|
return false;
|
|
505
527
|
return true;
|
|
506
528
|
}
|
|
507
|
-
function
|
|
529
|
+
function bt(e) {
|
|
508
530
|
if (typeof e != "object" || e === null)
|
|
509
531
|
return null;
|
|
510
532
|
const i = e;
|
|
511
|
-
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))
|
|
512
534
|
return null;
|
|
513
535
|
const t = i.icons;
|
|
514
536
|
for (const s in t) {
|
|
@@ -517,7 +539,7 @@ function pt(e) {
|
|
|
517
539
|
// Name cannot be empty
|
|
518
540
|
!s || // Must have body
|
|
519
541
|
typeof o.body != "string" || // Check other props
|
|
520
|
-
!
|
|
542
|
+
!xe(
|
|
521
543
|
o,
|
|
522
544
|
_e
|
|
523
545
|
)
|
|
@@ -526,12 +548,12 @@ function pt(e) {
|
|
|
526
548
|
}
|
|
527
549
|
const n = i.aliases || /* @__PURE__ */ Object.create(null);
|
|
528
550
|
for (const s in n) {
|
|
529
|
-
const o = n[s],
|
|
551
|
+
const o = n[s], r = o.parent;
|
|
530
552
|
if (
|
|
531
553
|
// Name cannot be empty
|
|
532
554
|
!s || // Parent must be set and point to existing icon
|
|
533
|
-
typeof
|
|
534
|
-
!
|
|
555
|
+
typeof r != "string" || !t[r] && !n[r] || // Check other props
|
|
556
|
+
!xe(
|
|
535
557
|
o,
|
|
536
558
|
_e
|
|
537
559
|
)
|
|
@@ -540,8 +562,8 @@ function pt(e) {
|
|
|
540
562
|
}
|
|
541
563
|
return i;
|
|
542
564
|
}
|
|
543
|
-
var
|
|
544
|
-
function
|
|
565
|
+
var Je = /* @__PURE__ */ Object.create(null);
|
|
566
|
+
function An(e, i) {
|
|
545
567
|
return {
|
|
546
568
|
provider: e,
|
|
547
569
|
prefix: i,
|
|
@@ -549,16 +571,16 @@ function In(e, i) {
|
|
|
549
571
|
missing: /* @__PURE__ */ new Set()
|
|
550
572
|
};
|
|
551
573
|
}
|
|
552
|
-
function
|
|
553
|
-
const t =
|
|
554
|
-
return t[i] || (t[i] =
|
|
574
|
+
function Q(e, i) {
|
|
575
|
+
const t = Je[e] || (Je[e] = /* @__PURE__ */ Object.create(null));
|
|
576
|
+
return t[i] || (t[i] = An(e, i));
|
|
555
577
|
}
|
|
556
|
-
function
|
|
557
|
-
return
|
|
578
|
+
function wt(e, i) {
|
|
579
|
+
return bt(i) ? yt(i, (t, n) => {
|
|
558
580
|
n ? e.icons[t] = n : e.missing.add(t);
|
|
559
581
|
}) : [];
|
|
560
582
|
}
|
|
561
|
-
function
|
|
583
|
+
function qn(e, i, t) {
|
|
562
584
|
try {
|
|
563
585
|
if (typeof t.body == "string")
|
|
564
586
|
return e.icons[i] = { ...t }, true;
|
|
@@ -566,108 +588,108 @@ function En(e, i, t) {
|
|
|
566
588
|
}
|
|
567
589
|
return false;
|
|
568
590
|
}
|
|
569
|
-
var
|
|
570
|
-
function
|
|
571
|
-
return typeof e == "boolean" && (
|
|
591
|
+
var te = false;
|
|
592
|
+
function St(e) {
|
|
593
|
+
return typeof e == "boolean" && (te = e), te;
|
|
572
594
|
}
|
|
573
|
-
function
|
|
574
|
-
const i = typeof e == "string" ?
|
|
595
|
+
function $n(e) {
|
|
596
|
+
const i = typeof e == "string" ? ge(e, true, te) : e;
|
|
575
597
|
if (i) {
|
|
576
|
-
const t =
|
|
598
|
+
const t = Q(i.provider, i.prefix), n = i.name;
|
|
577
599
|
return t.icons[n] || (t.missing.has(n) ? null : void 0);
|
|
578
600
|
}
|
|
579
601
|
}
|
|
580
|
-
function
|
|
581
|
-
const t =
|
|
602
|
+
function Ln(e, i) {
|
|
603
|
+
const t = ge(e, true, te);
|
|
582
604
|
if (!t)
|
|
583
605
|
return false;
|
|
584
|
-
const n =
|
|
585
|
-
return i ?
|
|
606
|
+
const n = Q(t.provider, t.prefix);
|
|
607
|
+
return i ? qn(n, t.name, i) : (n.missing.add(t.name), true);
|
|
586
608
|
}
|
|
587
|
-
function
|
|
609
|
+
function Fn(e, i) {
|
|
588
610
|
if (typeof e != "object")
|
|
589
611
|
return false;
|
|
590
|
-
if (typeof i != "string" && (i = e.provider || ""),
|
|
612
|
+
if (typeof i != "string" && (i = e.provider || ""), te && !i && !e.prefix) {
|
|
591
613
|
let s = false;
|
|
592
|
-
return
|
|
593
|
-
|
|
614
|
+
return bt(e) && (e.prefix = "", yt(e, (o, r) => {
|
|
615
|
+
Ln(o, r) && (s = true);
|
|
594
616
|
})), s;
|
|
595
617
|
}
|
|
596
618
|
const t = e.prefix;
|
|
597
|
-
if (!
|
|
619
|
+
if (!re({
|
|
598
620
|
prefix: t,
|
|
599
621
|
name: "a"
|
|
600
622
|
}))
|
|
601
623
|
return false;
|
|
602
|
-
const n =
|
|
603
|
-
return !!
|
|
624
|
+
const n = Q(i, t);
|
|
625
|
+
return !!wt(n, e);
|
|
604
626
|
}
|
|
605
|
-
var
|
|
627
|
+
var xt = Object.freeze({
|
|
606
628
|
width: null,
|
|
607
629
|
height: null
|
|
608
630
|
});
|
|
609
|
-
var
|
|
631
|
+
var kt = Object.freeze({
|
|
610
632
|
// Dimensions
|
|
611
|
-
...
|
|
633
|
+
...xt,
|
|
612
634
|
// Transformations
|
|
613
|
-
...
|
|
635
|
+
...fe
|
|
614
636
|
});
|
|
615
|
-
var
|
|
616
|
-
var
|
|
617
|
-
function
|
|
637
|
+
var Pn = /(-?[0-9.]*[0-9]+[0-9.]*)/g;
|
|
638
|
+
var Rn = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
|
|
639
|
+
function Xe(e, i, t) {
|
|
618
640
|
if (i === 1)
|
|
619
641
|
return e;
|
|
620
642
|
if (t = t || 100, typeof e == "number")
|
|
621
643
|
return Math.ceil(e * i * t) / t;
|
|
622
644
|
if (typeof e != "string")
|
|
623
645
|
return e;
|
|
624
|
-
const n = e.split(
|
|
646
|
+
const n = e.split(Pn);
|
|
625
647
|
if (n === null || !n.length)
|
|
626
648
|
return e;
|
|
627
649
|
const s = [];
|
|
628
|
-
let o = n.shift(),
|
|
650
|
+
let o = n.shift(), r = Rn.test(o);
|
|
629
651
|
for (; ; ) {
|
|
630
|
-
if (
|
|
631
|
-
const
|
|
632
|
-
isNaN(
|
|
652
|
+
if (r) {
|
|
653
|
+
const l = parseFloat(o);
|
|
654
|
+
isNaN(l) ? s.push(o) : s.push(Math.ceil(l * i * t) / t);
|
|
633
655
|
} else
|
|
634
656
|
s.push(o);
|
|
635
657
|
if (o = n.shift(), o === void 0)
|
|
636
658
|
return s.join("");
|
|
637
|
-
|
|
659
|
+
r = !r;
|
|
638
660
|
}
|
|
639
661
|
}
|
|
640
|
-
function
|
|
662
|
+
function jn(e, i = "defs") {
|
|
641
663
|
let t = "";
|
|
642
664
|
const n = e.indexOf("<" + i);
|
|
643
665
|
for (; n >= 0; ) {
|
|
644
666
|
const s = e.indexOf(">", n), o = e.indexOf("</" + i);
|
|
645
667
|
if (s === -1 || o === -1)
|
|
646
668
|
break;
|
|
647
|
-
const
|
|
648
|
-
if (
|
|
669
|
+
const r = e.indexOf(">", o);
|
|
670
|
+
if (r === -1)
|
|
649
671
|
break;
|
|
650
|
-
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);
|
|
651
673
|
}
|
|
652
674
|
return {
|
|
653
675
|
defs: t,
|
|
654
676
|
content: e
|
|
655
677
|
};
|
|
656
678
|
}
|
|
657
|
-
function
|
|
679
|
+
function Dn(e, i) {
|
|
658
680
|
return e ? "<defs>" + e + "</defs>" + i : i;
|
|
659
681
|
}
|
|
660
|
-
function
|
|
661
|
-
const n =
|
|
662
|
-
return
|
|
682
|
+
function Vn(e, i, t) {
|
|
683
|
+
const n = jn(e);
|
|
684
|
+
return Dn(n.defs, i + n.content + t);
|
|
663
685
|
}
|
|
664
|
-
var
|
|
665
|
-
function
|
|
686
|
+
var Nn = (e) => e === "unset" || e === "undefined" || e === "none";
|
|
687
|
+
function Wn(e, i) {
|
|
666
688
|
const t = {
|
|
667
|
-
...
|
|
689
|
+
...ye,
|
|
668
690
|
...e
|
|
669
691
|
}, n = {
|
|
670
|
-
...
|
|
692
|
+
...kt,
|
|
671
693
|
...i
|
|
672
694
|
}, s = {
|
|
673
695
|
left: t.left,
|
|
@@ -677,18 +699,18 @@ function Fn(e, i) {
|
|
|
677
699
|
};
|
|
678
700
|
let o = t.body;
|
|
679
701
|
[t, n].forEach((b) => {
|
|
680
|
-
const v = [], x = b.hFlip,
|
|
681
|
-
let
|
|
682
|
-
x ?
|
|
702
|
+
const v = [], x = b.hFlip, C = b.vFlip;
|
|
703
|
+
let S = b.rotate;
|
|
704
|
+
x ? C ? S += 2 : (v.push(
|
|
683
705
|
"translate(" + (s.width + s.left).toString() + " " + (0 - s.top).toString() + ")"
|
|
684
|
-
), v.push("scale(-1 1)"), s.top = s.left = 0) :
|
|
706
|
+
), v.push("scale(-1 1)"), s.top = s.left = 0) : C && (v.push(
|
|
685
707
|
"translate(" + (0 - s.left).toString() + " " + (s.height + s.top).toString() + ")"
|
|
686
708
|
), v.push("scale(1 -1)"), s.top = s.left = 0);
|
|
687
|
-
let
|
|
688
|
-
switch (
|
|
709
|
+
let A;
|
|
710
|
+
switch (S < 0 && (S -= Math.floor(S / 4) * 4), S = S % 4, S) {
|
|
689
711
|
case 1:
|
|
690
|
-
|
|
691
|
-
"rotate(90 " +
|
|
712
|
+
A = s.height / 2 + s.top, v.unshift(
|
|
713
|
+
"rotate(90 " + A.toString() + " " + A.toString() + ")"
|
|
692
714
|
);
|
|
693
715
|
break;
|
|
694
716
|
case 2:
|
|
@@ -697,22 +719,22 @@ function Fn(e, i) {
|
|
|
697
719
|
);
|
|
698
720
|
break;
|
|
699
721
|
case 3:
|
|
700
|
-
|
|
701
|
-
"rotate(-90 " +
|
|
722
|
+
A = s.width / 2 + s.left, v.unshift(
|
|
723
|
+
"rotate(-90 " + A.toString() + " " + A.toString() + ")"
|
|
702
724
|
);
|
|
703
725
|
break;
|
|
704
726
|
}
|
|
705
|
-
|
|
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(
|
|
706
728
|
o,
|
|
707
729
|
'<g transform="' + v.join(" ") + '">',
|
|
708
730
|
"</g>"
|
|
709
731
|
));
|
|
710
732
|
});
|
|
711
|
-
const
|
|
733
|
+
const r = n.width, l = n.height, a = s.width, c = s.height;
|
|
712
734
|
let u, g;
|
|
713
|
-
|
|
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);
|
|
714
736
|
const d = {}, w = (b, v) => {
|
|
715
|
-
|
|
737
|
+
Nn(v) || (d[b] = v.toString());
|
|
716
738
|
};
|
|
717
739
|
w("width", u), w("height", g);
|
|
718
740
|
const p = [s.left, s.top, a, c];
|
|
@@ -722,33 +744,33 @@ function Fn(e, i) {
|
|
|
722
744
|
body: o
|
|
723
745
|
};
|
|
724
746
|
}
|
|
725
|
-
var
|
|
726
|
-
var
|
|
727
|
-
var
|
|
728
|
-
function
|
|
747
|
+
var Hn = /\sid="(\S+)"/g;
|
|
748
|
+
var Bn = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16);
|
|
749
|
+
var Kn = 0;
|
|
750
|
+
function Un(e, i = Bn) {
|
|
729
751
|
const t = [];
|
|
730
752
|
let n;
|
|
731
|
-
for (; n =
|
|
753
|
+
for (; n = Hn.exec(e); )
|
|
732
754
|
t.push(n[1]);
|
|
733
755
|
if (!t.length)
|
|
734
756
|
return e;
|
|
735
757
|
const s = "suffix" + (Math.random() * 16777216 | Date.now()).toString(16);
|
|
736
758
|
return t.forEach((o) => {
|
|
737
|
-
const
|
|
759
|
+
const r = typeof i == "function" ? i(o) : i + (Kn++).toString(), l = o.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
738
760
|
e = e.replace(
|
|
739
761
|
// Allowed characters before id: [#;"]
|
|
740
762
|
// Allowed characters after id: [)"], .[a-z]
|
|
741
|
-
new RegExp('([#;"])(' +
|
|
742
|
-
"$1" +
|
|
763
|
+
new RegExp('([#;"])(' + l + ')([")]|\\.[a-z])', "g"),
|
|
764
|
+
"$1" + r + s + "$3"
|
|
743
765
|
);
|
|
744
766
|
}), e = e.replace(new RegExp(s, "g"), ""), e;
|
|
745
767
|
}
|
|
746
|
-
var
|
|
747
|
-
function
|
|
748
|
-
|
|
768
|
+
var Ee = /* @__PURE__ */ Object.create(null);
|
|
769
|
+
function Jn(e, i) {
|
|
770
|
+
Ee[e] = i;
|
|
749
771
|
}
|
|
750
|
-
function
|
|
751
|
-
return
|
|
772
|
+
function Te(e) {
|
|
773
|
+
return Ee[e] || Ee[""];
|
|
752
774
|
}
|
|
753
775
|
function Fe(e) {
|
|
754
776
|
let i;
|
|
@@ -776,24 +798,24 @@ function Fe(e) {
|
|
|
776
798
|
};
|
|
777
799
|
}
|
|
778
800
|
var Pe = /* @__PURE__ */ Object.create(null);
|
|
779
|
-
var
|
|
801
|
+
var Y = [
|
|
780
802
|
"https://api.simplesvg.com",
|
|
781
803
|
"https://api.unisvg.com"
|
|
782
804
|
];
|
|
783
|
-
var
|
|
784
|
-
for (;
|
|
785
|
-
|
|
805
|
+
var le = [];
|
|
806
|
+
for (; Y.length > 0; )
|
|
807
|
+
Y.length === 1 || Math.random() > 0.5 ? le.push(Y.shift()) : le.push(Y.pop());
|
|
786
808
|
Pe[""] = Fe({
|
|
787
|
-
resources: ["https://api.iconify.design"].concat(
|
|
809
|
+
resources: ["https://api.iconify.design"].concat(le)
|
|
788
810
|
});
|
|
789
|
-
function
|
|
811
|
+
function Xn(e, i) {
|
|
790
812
|
const t = Fe(i);
|
|
791
813
|
return t === null ? false : (Pe[e] = t, true);
|
|
792
814
|
}
|
|
793
815
|
function Re(e) {
|
|
794
816
|
return Pe[e];
|
|
795
817
|
}
|
|
796
|
-
var
|
|
818
|
+
var Qn = () => {
|
|
797
819
|
let e;
|
|
798
820
|
try {
|
|
799
821
|
if (e = fetch, typeof e == "function")
|
|
@@ -801,8 +823,8 @@ var Wn = () => {
|
|
|
801
823
|
} catch {
|
|
802
824
|
}
|
|
803
825
|
};
|
|
804
|
-
var
|
|
805
|
-
function
|
|
826
|
+
var Qe = Qn();
|
|
827
|
+
function Gn(e, i) {
|
|
806
828
|
const t = Re(e);
|
|
807
829
|
if (!t)
|
|
808
830
|
return 0;
|
|
@@ -811,35 +833,35 @@ function Hn(e, i) {
|
|
|
811
833
|
n = 0;
|
|
812
834
|
else {
|
|
813
835
|
let s = 0;
|
|
814
|
-
t.resources.forEach((
|
|
815
|
-
s = Math.max(s,
|
|
836
|
+
t.resources.forEach((r) => {
|
|
837
|
+
s = Math.max(s, r.length);
|
|
816
838
|
});
|
|
817
839
|
const o = i + ".json?icons=";
|
|
818
840
|
n = t.maxURL - s - t.path.length - o.length;
|
|
819
841
|
}
|
|
820
842
|
return n;
|
|
821
843
|
}
|
|
822
|
-
function
|
|
844
|
+
function Yn(e) {
|
|
823
845
|
return e === 404;
|
|
824
846
|
}
|
|
825
|
-
var
|
|
826
|
-
const n = [], s =
|
|
827
|
-
let
|
|
847
|
+
var Zn = (e, i, t) => {
|
|
848
|
+
const n = [], s = Gn(e, i), o = "icons";
|
|
849
|
+
let r = {
|
|
828
850
|
type: o,
|
|
829
851
|
provider: e,
|
|
830
852
|
prefix: i,
|
|
831
853
|
icons: []
|
|
832
|
-
},
|
|
854
|
+
}, l = 0;
|
|
833
855
|
return t.forEach((a, c) => {
|
|
834
|
-
|
|
856
|
+
l += a.length + 1, l >= s && c > 0 && (n.push(r), r = {
|
|
835
857
|
type: o,
|
|
836
858
|
provider: e,
|
|
837
859
|
prefix: i,
|
|
838
860
|
icons: []
|
|
839
|
-
},
|
|
840
|
-
}), n.push(
|
|
861
|
+
}, l = a.length), r.icons.push(a);
|
|
862
|
+
}), n.push(r), n;
|
|
841
863
|
};
|
|
842
|
-
function
|
|
864
|
+
function es(e) {
|
|
843
865
|
if (typeof e == "string") {
|
|
844
866
|
const i = Re(e);
|
|
845
867
|
if (i)
|
|
@@ -847,16 +869,16 @@ function Un(e) {
|
|
|
847
869
|
}
|
|
848
870
|
return "/";
|
|
849
871
|
}
|
|
850
|
-
var
|
|
851
|
-
if (!
|
|
872
|
+
var ts = (e, i, t) => {
|
|
873
|
+
if (!Qe) {
|
|
852
874
|
t("abort", 424);
|
|
853
875
|
return;
|
|
854
876
|
}
|
|
855
|
-
let n =
|
|
877
|
+
let n = es(i.provider);
|
|
856
878
|
switch (i.type) {
|
|
857
879
|
case "icons": {
|
|
858
|
-
const o = i.prefix,
|
|
859
|
-
icons:
|
|
880
|
+
const o = i.prefix, l = i.icons.join(","), a = new URLSearchParams({
|
|
881
|
+
icons: l
|
|
860
882
|
});
|
|
861
883
|
n += o + ".json?" + a.toString();
|
|
862
884
|
break;
|
|
@@ -871,11 +893,11 @@ var Jn = (e, i, t) => {
|
|
|
871
893
|
return;
|
|
872
894
|
}
|
|
873
895
|
let s = 503;
|
|
874
|
-
|
|
875
|
-
const
|
|
876
|
-
if (
|
|
896
|
+
Qe(e + n).then((o) => {
|
|
897
|
+
const r = o.status;
|
|
898
|
+
if (r !== 200) {
|
|
877
899
|
setTimeout(() => {
|
|
878
|
-
t(
|
|
900
|
+
t(Yn(r) ? "abort" : "next", r);
|
|
879
901
|
});
|
|
880
902
|
return;
|
|
881
903
|
}
|
|
@@ -894,11 +916,11 @@ var Jn = (e, i, t) => {
|
|
|
894
916
|
t("next", s);
|
|
895
917
|
});
|
|
896
918
|
};
|
|
897
|
-
var
|
|
898
|
-
prepare:
|
|
899
|
-
send:
|
|
919
|
+
var ns = {
|
|
920
|
+
prepare: Zn,
|
|
921
|
+
send: ts
|
|
900
922
|
};
|
|
901
|
-
function
|
|
923
|
+
function ss(e) {
|
|
902
924
|
const i = {
|
|
903
925
|
loaded: [],
|
|
904
926
|
missing: [],
|
|
@@ -914,24 +936,24 @@ function Qn(e) {
|
|
|
914
936
|
if (n.name === s.name && n.prefix === s.prefix && n.provider === s.provider)
|
|
915
937
|
return;
|
|
916
938
|
n = s;
|
|
917
|
-
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));
|
|
918
940
|
let u;
|
|
919
|
-
|
|
941
|
+
l in c.icons ? u = i.loaded : r === "" || c.missing.has(l) ? u = i.missing : u = i.pending;
|
|
920
942
|
const g = {
|
|
921
943
|
provider: o,
|
|
922
|
-
prefix:
|
|
923
|
-
name:
|
|
944
|
+
prefix: r,
|
|
945
|
+
name: l
|
|
924
946
|
};
|
|
925
947
|
u.push(g);
|
|
926
948
|
}), i;
|
|
927
949
|
}
|
|
928
|
-
function
|
|
950
|
+
function It(e, i) {
|
|
929
951
|
e.forEach((t) => {
|
|
930
952
|
const n = t.loaderCallbacks;
|
|
931
953
|
n && (t.loaderCallbacks = n.filter((s) => s.id !== i));
|
|
932
954
|
});
|
|
933
955
|
}
|
|
934
|
-
function
|
|
956
|
+
function is(e) {
|
|
935
957
|
e.pendingCallbacksFlag || (e.pendingCallbacksFlag = true, setTimeout(() => {
|
|
936
958
|
e.pendingCallbacksFlag = false;
|
|
937
959
|
const i = e.loaderCallbacks ? e.loaderCallbacks.slice(0) : [];
|
|
@@ -940,19 +962,19 @@ function Gn(e) {
|
|
|
940
962
|
let t = false;
|
|
941
963
|
const n = e.provider, s = e.prefix;
|
|
942
964
|
i.forEach((o) => {
|
|
943
|
-
const
|
|
944
|
-
|
|
965
|
+
const r = o.icons, l = r.pending.length;
|
|
966
|
+
r.pending = r.pending.filter((a) => {
|
|
945
967
|
if (a.prefix !== s)
|
|
946
968
|
return true;
|
|
947
969
|
const c = a.name;
|
|
948
970
|
if (e.icons[c])
|
|
949
|
-
|
|
971
|
+
r.loaded.push({
|
|
950
972
|
provider: n,
|
|
951
973
|
prefix: s,
|
|
952
974
|
name: c
|
|
953
975
|
});
|
|
954
976
|
else if (e.missing.has(c))
|
|
955
|
-
|
|
977
|
+
r.missing.push({
|
|
956
978
|
provider: n,
|
|
957
979
|
prefix: s,
|
|
958
980
|
name: c
|
|
@@ -960,18 +982,18 @@ function Gn(e) {
|
|
|
960
982
|
else
|
|
961
983
|
return t = true, true;
|
|
962
984
|
return false;
|
|
963
|
-
}),
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
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),
|
|
967
989
|
o.abort
|
|
968
990
|
));
|
|
969
991
|
});
|
|
970
992
|
}));
|
|
971
993
|
}
|
|
972
|
-
var
|
|
973
|
-
function
|
|
974
|
-
const n =
|
|
994
|
+
var os = 0;
|
|
995
|
+
function rs(e, i, t) {
|
|
996
|
+
const n = os++, s = It.bind(null, t, n);
|
|
975
997
|
if (!i.pending.length)
|
|
976
998
|
return s;
|
|
977
999
|
const o = {
|
|
@@ -980,18 +1002,18 @@ function Zn(e, i, t) {
|
|
|
980
1002
|
callback: e,
|
|
981
1003
|
abort: s
|
|
982
1004
|
};
|
|
983
|
-
return t.forEach((
|
|
984
|
-
(
|
|
1005
|
+
return t.forEach((r) => {
|
|
1006
|
+
(r.loaderCallbacks || (r.loaderCallbacks = [])).push(o);
|
|
985
1007
|
}), s;
|
|
986
1008
|
}
|
|
987
|
-
function
|
|
1009
|
+
function ls(e, i = true, t = false) {
|
|
988
1010
|
const n = [];
|
|
989
1011
|
return e.forEach((s) => {
|
|
990
|
-
const o = typeof s == "string" ?
|
|
1012
|
+
const o = typeof s == "string" ? ge(s, i, t) : s;
|
|
991
1013
|
o && n.push(o);
|
|
992
1014
|
}), n;
|
|
993
1015
|
}
|
|
994
|
-
var
|
|
1016
|
+
var as = {
|
|
995
1017
|
resources: [],
|
|
996
1018
|
index: 0,
|
|
997
1019
|
timeout: 2e3,
|
|
@@ -999,19 +1021,19 @@ var ts = {
|
|
|
999
1021
|
random: false,
|
|
1000
1022
|
dataAfterTimeout: false
|
|
1001
1023
|
};
|
|
1002
|
-
function
|
|
1024
|
+
function cs(e, i, t, n) {
|
|
1003
1025
|
const s = e.resources.length, o = e.random ? Math.floor(Math.random() * s) : e.index;
|
|
1004
|
-
let
|
|
1026
|
+
let r;
|
|
1005
1027
|
if (e.random) {
|
|
1006
1028
|
let _ = e.resources.slice(0);
|
|
1007
|
-
for (
|
|
1029
|
+
for (r = []; _.length > 1; ) {
|
|
1008
1030
|
const I = Math.floor(Math.random() * _.length);
|
|
1009
|
-
|
|
1031
|
+
r.push(_[I]), _ = _.slice(0, I).concat(_.slice(I + 1));
|
|
1010
1032
|
}
|
|
1011
|
-
|
|
1033
|
+
r = r.concat(_);
|
|
1012
1034
|
} else
|
|
1013
|
-
|
|
1014
|
-
const
|
|
1035
|
+
r = e.resources.slice(o).concat(e.resources.slice(0, o));
|
|
1036
|
+
const l = Date.now();
|
|
1015
1037
|
let a = "pending", c = 0, u, g = null, d = [], w = [];
|
|
1016
1038
|
typeof n == "function" && w.push(n);
|
|
1017
1039
|
function p() {
|
|
@@ -1027,7 +1049,7 @@ function ns(e, i, t, n) {
|
|
|
1027
1049
|
}
|
|
1028
1050
|
function x() {
|
|
1029
1051
|
return {
|
|
1030
|
-
startTime:
|
|
1052
|
+
startTime: l,
|
|
1031
1053
|
payload: i,
|
|
1032
1054
|
status: a,
|
|
1033
1055
|
queriesSent: c,
|
|
@@ -1036,17 +1058,17 @@ function ns(e, i, t, n) {
|
|
|
1036
1058
|
abort: b
|
|
1037
1059
|
};
|
|
1038
1060
|
}
|
|
1039
|
-
function
|
|
1061
|
+
function C() {
|
|
1040
1062
|
a = "failed", w.forEach((_) => {
|
|
1041
1063
|
_(void 0, u);
|
|
1042
1064
|
});
|
|
1043
1065
|
}
|
|
1044
|
-
function
|
|
1066
|
+
function S() {
|
|
1045
1067
|
d.forEach((_) => {
|
|
1046
1068
|
_.status === "pending" && (_.status = "aborted");
|
|
1047
1069
|
}), d = [];
|
|
1048
1070
|
}
|
|
1049
|
-
function
|
|
1071
|
+
function A(_, I, k) {
|
|
1050
1072
|
const E = I !== "success";
|
|
1051
1073
|
switch (d = d.filter((V) => V !== _), a) {
|
|
1052
1074
|
case "pending":
|
|
@@ -1059,60 +1081,60 @@ function ns(e, i, t, n) {
|
|
|
1059
1081
|
return;
|
|
1060
1082
|
}
|
|
1061
1083
|
if (I === "abort") {
|
|
1062
|
-
u =
|
|
1084
|
+
u = k, C();
|
|
1063
1085
|
return;
|
|
1064
1086
|
}
|
|
1065
1087
|
if (E) {
|
|
1066
|
-
u =
|
|
1088
|
+
u = k, d.length || (r.length ? D() : C());
|
|
1067
1089
|
return;
|
|
1068
1090
|
}
|
|
1069
|
-
if (p(),
|
|
1091
|
+
if (p(), S(), !e.random) {
|
|
1070
1092
|
const V = e.resources.indexOf(_.resource);
|
|
1071
1093
|
V !== -1 && V !== e.index && (e.index = V);
|
|
1072
1094
|
}
|
|
1073
1095
|
a = "completed", w.forEach((V) => {
|
|
1074
|
-
V(
|
|
1096
|
+
V(k);
|
|
1075
1097
|
});
|
|
1076
1098
|
}
|
|
1077
1099
|
function D() {
|
|
1078
1100
|
if (a !== "pending")
|
|
1079
1101
|
return;
|
|
1080
1102
|
p();
|
|
1081
|
-
const _ =
|
|
1103
|
+
const _ = r.shift();
|
|
1082
1104
|
if (_ === void 0) {
|
|
1083
1105
|
if (d.length) {
|
|
1084
1106
|
g = setTimeout(() => {
|
|
1085
|
-
p(), a === "pending" && (
|
|
1107
|
+
p(), a === "pending" && (S(), C());
|
|
1086
1108
|
}, e.timeout);
|
|
1087
1109
|
return;
|
|
1088
1110
|
}
|
|
1089
|
-
|
|
1111
|
+
C();
|
|
1090
1112
|
return;
|
|
1091
1113
|
}
|
|
1092
1114
|
const I = {
|
|
1093
1115
|
status: "pending",
|
|
1094
1116
|
resource: _,
|
|
1095
|
-
callback: (
|
|
1096
|
-
|
|
1117
|
+
callback: (k, E) => {
|
|
1118
|
+
A(I, k, E);
|
|
1097
1119
|
}
|
|
1098
1120
|
};
|
|
1099
1121
|
d.push(I), c++, g = setTimeout(D, e.rotate), t(_, i, I.callback);
|
|
1100
1122
|
}
|
|
1101
1123
|
return setTimeout(D), x;
|
|
1102
1124
|
}
|
|
1103
|
-
function
|
|
1125
|
+
function _t(e) {
|
|
1104
1126
|
const i = {
|
|
1105
|
-
...
|
|
1127
|
+
...as,
|
|
1106
1128
|
...e
|
|
1107
1129
|
};
|
|
1108
1130
|
let t = [];
|
|
1109
1131
|
function n() {
|
|
1110
|
-
t = t.filter((
|
|
1132
|
+
t = t.filter((l) => l().status === "pending");
|
|
1111
1133
|
}
|
|
1112
|
-
function s(
|
|
1113
|
-
const u =
|
|
1134
|
+
function s(l, a, c) {
|
|
1135
|
+
const u = cs(
|
|
1114
1136
|
i,
|
|
1115
|
-
|
|
1137
|
+
l,
|
|
1116
1138
|
a,
|
|
1117
1139
|
(g, d) => {
|
|
1118
1140
|
n(), c && c(g, d);
|
|
@@ -1120,71 +1142,71 @@ function wt(e) {
|
|
|
1120
1142
|
);
|
|
1121
1143
|
return t.push(u), u;
|
|
1122
1144
|
}
|
|
1123
|
-
function o(
|
|
1124
|
-
return t.find((a) =>
|
|
1145
|
+
function o(l) {
|
|
1146
|
+
return t.find((a) => l(a)) || null;
|
|
1125
1147
|
}
|
|
1126
1148
|
return {
|
|
1127
1149
|
query: s,
|
|
1128
1150
|
find: o,
|
|
1129
|
-
setIndex: (
|
|
1130
|
-
i.index =
|
|
1151
|
+
setIndex: (l) => {
|
|
1152
|
+
i.index = l;
|
|
1131
1153
|
},
|
|
1132
1154
|
getIndex: () => i.index,
|
|
1133
1155
|
cleanup: n
|
|
1134
1156
|
};
|
|
1135
1157
|
}
|
|
1136
|
-
function
|
|
1158
|
+
function Ge() {
|
|
1137
1159
|
}
|
|
1138
|
-
var
|
|
1139
|
-
function
|
|
1140
|
-
if (!
|
|
1160
|
+
var ke = /* @__PURE__ */ Object.create(null);
|
|
1161
|
+
function us(e) {
|
|
1162
|
+
if (!ke[e]) {
|
|
1141
1163
|
const i = Re(e);
|
|
1142
1164
|
if (!i)
|
|
1143
1165
|
return;
|
|
1144
|
-
const t =
|
|
1166
|
+
const t = _t(i), n = {
|
|
1145
1167
|
config: i,
|
|
1146
1168
|
redundancy: t
|
|
1147
1169
|
};
|
|
1148
|
-
|
|
1170
|
+
ke[e] = n;
|
|
1149
1171
|
}
|
|
1150
|
-
return
|
|
1172
|
+
return ke[e];
|
|
1151
1173
|
}
|
|
1152
|
-
function
|
|
1174
|
+
function ds(e, i, t) {
|
|
1153
1175
|
let n, s;
|
|
1154
1176
|
if (typeof e == "string") {
|
|
1155
|
-
const o =
|
|
1177
|
+
const o = Te(e);
|
|
1156
1178
|
if (!o)
|
|
1157
|
-
return t(void 0, 424),
|
|
1179
|
+
return t(void 0, 424), Ge;
|
|
1158
1180
|
s = o.send;
|
|
1159
|
-
const
|
|
1160
|
-
|
|
1181
|
+
const r = us(e);
|
|
1182
|
+
r && (n = r.redundancy);
|
|
1161
1183
|
} else {
|
|
1162
1184
|
const o = Fe(e);
|
|
1163
1185
|
if (o) {
|
|
1164
|
-
n =
|
|
1165
|
-
const
|
|
1166
|
-
|
|
1186
|
+
n = _t(o);
|
|
1187
|
+
const r = e.resources ? e.resources[0] : "", l = Te(r);
|
|
1188
|
+
l && (s = l.send);
|
|
1167
1189
|
}
|
|
1168
1190
|
}
|
|
1169
|
-
return !n || !s ? (t(void 0, 424),
|
|
1191
|
+
return !n || !s ? (t(void 0, 424), Ge) : n.query(i, s, t)().abort;
|
|
1170
1192
|
}
|
|
1171
|
-
function
|
|
1193
|
+
function Ye() {
|
|
1172
1194
|
}
|
|
1173
|
-
function
|
|
1195
|
+
function hs(e) {
|
|
1174
1196
|
e.iconsLoaderFlag || (e.iconsLoaderFlag = true, setTimeout(() => {
|
|
1175
|
-
e.iconsLoaderFlag = false,
|
|
1197
|
+
e.iconsLoaderFlag = false, is(e);
|
|
1176
1198
|
}));
|
|
1177
1199
|
}
|
|
1178
|
-
function
|
|
1200
|
+
function fs(e) {
|
|
1179
1201
|
const i = [], t = [];
|
|
1180
1202
|
return e.forEach((n) => {
|
|
1181
|
-
(n.match(
|
|
1203
|
+
(n.match(vt) ? i : t).push(n);
|
|
1182
1204
|
}), {
|
|
1183
1205
|
valid: i,
|
|
1184
1206
|
invalid: t
|
|
1185
1207
|
};
|
|
1186
1208
|
}
|
|
1187
|
-
function
|
|
1209
|
+
function Z(e, i, t) {
|
|
1188
1210
|
function n() {
|
|
1189
1211
|
const s = e.pendingIcons;
|
|
1190
1212
|
i.forEach((o) => {
|
|
@@ -1193,23 +1215,23 @@ function Y(e, i, t) {
|
|
|
1193
1215
|
}
|
|
1194
1216
|
if (t && typeof t == "object")
|
|
1195
1217
|
try {
|
|
1196
|
-
if (!
|
|
1218
|
+
if (!wt(e, t).length) {
|
|
1197
1219
|
n();
|
|
1198
1220
|
return;
|
|
1199
1221
|
}
|
|
1200
1222
|
} catch (s) {
|
|
1201
1223
|
console.error(s);
|
|
1202
1224
|
}
|
|
1203
|
-
n(),
|
|
1225
|
+
n(), hs(e);
|
|
1204
1226
|
}
|
|
1205
|
-
function
|
|
1227
|
+
function Ze(e, i) {
|
|
1206
1228
|
e instanceof Promise ? e.then((t) => {
|
|
1207
1229
|
i(t);
|
|
1208
1230
|
}).catch(() => {
|
|
1209
1231
|
i(null);
|
|
1210
1232
|
}) : i(e);
|
|
1211
1233
|
}
|
|
1212
|
-
function
|
|
1234
|
+
function ps(e, i) {
|
|
1213
1235
|
e.iconsToLoad ? e.iconsToLoad = e.iconsToLoad.concat(i).sort() : e.iconsToLoad = i, e.iconsQueueFlag || (e.iconsQueueFlag = true, setTimeout(() => {
|
|
1214
1236
|
e.iconsQueueFlag = false;
|
|
1215
1237
|
const { provider: t, prefix: n } = e, s = e.iconsToLoad;
|
|
@@ -1217,10 +1239,10 @@ function rs(e, i) {
|
|
|
1217
1239
|
return;
|
|
1218
1240
|
const o = e.loadIcon;
|
|
1219
1241
|
if (e.loadIcons && (s.length > 1 || !o)) {
|
|
1220
|
-
|
|
1242
|
+
Ze(
|
|
1221
1243
|
e.loadIcons(s, n, t),
|
|
1222
1244
|
(u) => {
|
|
1223
|
-
|
|
1245
|
+
Z(e, s, u);
|
|
1224
1246
|
}
|
|
1225
1247
|
);
|
|
1226
1248
|
return;
|
|
@@ -1228,35 +1250,35 @@ function rs(e, i) {
|
|
|
1228
1250
|
if (o) {
|
|
1229
1251
|
s.forEach((u) => {
|
|
1230
1252
|
const g = o(u, n, t);
|
|
1231
|
-
|
|
1253
|
+
Ze(g, (d) => {
|
|
1232
1254
|
const w = d ? {
|
|
1233
1255
|
prefix: n,
|
|
1234
1256
|
icons: {
|
|
1235
1257
|
[u]: d
|
|
1236
1258
|
}
|
|
1237
1259
|
} : null;
|
|
1238
|
-
|
|
1260
|
+
Z(e, [u], w);
|
|
1239
1261
|
});
|
|
1240
1262
|
});
|
|
1241
1263
|
return;
|
|
1242
1264
|
}
|
|
1243
|
-
const { valid:
|
|
1244
|
-
if (
|
|
1265
|
+
const { valid: r, invalid: l } = fs(s);
|
|
1266
|
+
if (l.length && Z(e, l, null), !r.length)
|
|
1245
1267
|
return;
|
|
1246
|
-
const a = n.match(
|
|
1268
|
+
const a = n.match(vt) ? Te(t) : null;
|
|
1247
1269
|
if (!a) {
|
|
1248
|
-
|
|
1270
|
+
Z(e, r, null);
|
|
1249
1271
|
return;
|
|
1250
1272
|
}
|
|
1251
|
-
a.prepare(t, n,
|
|
1252
|
-
|
|
1253
|
-
|
|
1273
|
+
a.prepare(t, n, r).forEach((u) => {
|
|
1274
|
+
ds(t, u, (g) => {
|
|
1275
|
+
Z(e, u.icons, g);
|
|
1254
1276
|
});
|
|
1255
1277
|
});
|
|
1256
1278
|
}));
|
|
1257
1279
|
}
|
|
1258
|
-
var
|
|
1259
|
-
const t =
|
|
1280
|
+
var ms = (e, i) => {
|
|
1281
|
+
const t = ls(e, true, St()), n = ss(t);
|
|
1260
1282
|
if (!n.pending.length) {
|
|
1261
1283
|
let a = true;
|
|
1262
1284
|
return i && setTimeout(() => {
|
|
@@ -1264,42 +1286,42 @@ var as = (e, i) => {
|
|
|
1264
1286
|
n.loaded,
|
|
1265
1287
|
n.missing,
|
|
1266
1288
|
n.pending,
|
|
1267
|
-
|
|
1289
|
+
Ye
|
|
1268
1290
|
);
|
|
1269
1291
|
}), () => {
|
|
1270
1292
|
a = false;
|
|
1271
1293
|
};
|
|
1272
1294
|
}
|
|
1273
1295
|
const s = /* @__PURE__ */ Object.create(null), o = [];
|
|
1274
|
-
let
|
|
1296
|
+
let r, l;
|
|
1275
1297
|
return n.pending.forEach((a) => {
|
|
1276
1298
|
const { provider: c, prefix: u } = a;
|
|
1277
|
-
if (u ===
|
|
1299
|
+
if (u === l && c === r)
|
|
1278
1300
|
return;
|
|
1279
|
-
|
|
1301
|
+
r = c, l = u, o.push(Q(c, u));
|
|
1280
1302
|
const g = s[c] || (s[c] = /* @__PURE__ */ Object.create(null));
|
|
1281
1303
|
g[u] || (g[u] = []);
|
|
1282
1304
|
}), n.pending.forEach((a) => {
|
|
1283
|
-
const { provider: c, prefix: u, name: g } = a, d =
|
|
1305
|
+
const { provider: c, prefix: u, name: g } = a, d = Q(c, u), w = d.pendingIcons || (d.pendingIcons = /* @__PURE__ */ new Set());
|
|
1284
1306
|
w.has(g) || (w.add(g), s[c][u].push(g));
|
|
1285
1307
|
}), o.forEach((a) => {
|
|
1286
1308
|
const c = s[a.provider][a.prefix];
|
|
1287
|
-
c.length &&
|
|
1288
|
-
}), i ?
|
|
1309
|
+
c.length && ps(a, c);
|
|
1310
|
+
}), i ? rs(i, n, o) : Ye;
|
|
1289
1311
|
};
|
|
1290
|
-
function
|
|
1312
|
+
function vs(e, i) {
|
|
1291
1313
|
const t = {
|
|
1292
1314
|
...e
|
|
1293
1315
|
};
|
|
1294
1316
|
for (const n in i) {
|
|
1295
1317
|
const s = i[n], o = typeof s;
|
|
1296
|
-
n in
|
|
1318
|
+
n in xt ? (s === null || s && (o === "string" || o === "number")) && (t[n] = s) : o === typeof t[n] && (t[n] = n === "rotate" ? s % 4 : s);
|
|
1297
1319
|
}
|
|
1298
1320
|
return t;
|
|
1299
1321
|
}
|
|
1300
|
-
var
|
|
1301
|
-
function
|
|
1302
|
-
i.split(
|
|
1322
|
+
var gs = /[\s,]+/;
|
|
1323
|
+
function ys(e, i) {
|
|
1324
|
+
i.split(gs).forEach((t) => {
|
|
1303
1325
|
switch (t.trim()) {
|
|
1304
1326
|
case "horizontal":
|
|
1305
1327
|
e.hFlip = true;
|
|
@@ -1310,7 +1332,7 @@ function ds(e, i) {
|
|
|
1310
1332
|
}
|
|
1311
1333
|
});
|
|
1312
1334
|
}
|
|
1313
|
-
function
|
|
1335
|
+
function bs(e, i = 0) {
|
|
1314
1336
|
const t = e.replace(/^-?[0-9.]*/, "");
|
|
1315
1337
|
function n(s) {
|
|
1316
1338
|
for (; s < 0; )
|
|
@@ -1336,65 +1358,65 @@ function hs(e, i = 0) {
|
|
|
1336
1358
|
}
|
|
1337
1359
|
return i;
|
|
1338
1360
|
}
|
|
1339
|
-
function
|
|
1361
|
+
function ws(e, i) {
|
|
1340
1362
|
let t = e.indexOf("xlink:") === -1 ? "" : ' xmlns:xlink="http://www.w3.org/1999/xlink"';
|
|
1341
1363
|
for (const n in i)
|
|
1342
1364
|
t += " " + n + '="' + i[n] + '"';
|
|
1343
1365
|
return '<svg xmlns="http://www.w3.org/2000/svg"' + t + ">" + e + "</svg>";
|
|
1344
1366
|
}
|
|
1345
|
-
function
|
|
1367
|
+
function Ss(e) {
|
|
1346
1368
|
return e.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
|
|
1347
1369
|
}
|
|
1348
|
-
function
|
|
1349
|
-
return "data:image/svg+xml," +
|
|
1370
|
+
function xs(e) {
|
|
1371
|
+
return "data:image/svg+xml," + Ss(e);
|
|
1350
1372
|
}
|
|
1351
|
-
function
|
|
1352
|
-
return 'url("' +
|
|
1373
|
+
function ks(e) {
|
|
1374
|
+
return 'url("' + xs(e) + '")';
|
|
1353
1375
|
}
|
|
1354
|
-
var
|
|
1355
|
-
...
|
|
1376
|
+
var et = {
|
|
1377
|
+
...kt,
|
|
1356
1378
|
inline: false
|
|
1357
1379
|
};
|
|
1358
|
-
var
|
|
1380
|
+
var Is = {
|
|
1359
1381
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1360
1382
|
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
1361
1383
|
"aria-hidden": true,
|
|
1362
1384
|
role: "img"
|
|
1363
1385
|
};
|
|
1364
|
-
var
|
|
1386
|
+
var _s = {
|
|
1365
1387
|
display: "inline-block"
|
|
1366
1388
|
};
|
|
1367
|
-
var
|
|
1389
|
+
var Me = {
|
|
1368
1390
|
backgroundColor: "currentColor"
|
|
1369
1391
|
};
|
|
1370
|
-
var
|
|
1392
|
+
var Et = {
|
|
1371
1393
|
backgroundColor: "transparent"
|
|
1372
1394
|
};
|
|
1373
|
-
var
|
|
1395
|
+
var tt = {
|
|
1374
1396
|
Image: "var(--svg)",
|
|
1375
1397
|
Repeat: "no-repeat",
|
|
1376
1398
|
Size: "100% 100%"
|
|
1377
1399
|
};
|
|
1378
|
-
var
|
|
1379
|
-
webkitMask:
|
|
1380
|
-
mask:
|
|
1381
|
-
background:
|
|
1400
|
+
var nt = {
|
|
1401
|
+
webkitMask: Me,
|
|
1402
|
+
mask: Me,
|
|
1403
|
+
background: Et
|
|
1382
1404
|
};
|
|
1383
|
-
for (const e in
|
|
1384
|
-
const i =
|
|
1385
|
-
for (const t in
|
|
1386
|
-
i[e + t] =
|
|
1405
|
+
for (const e in nt) {
|
|
1406
|
+
const i = nt[e];
|
|
1407
|
+
for (const t in tt)
|
|
1408
|
+
i[e + t] = tt[t];
|
|
1387
1409
|
}
|
|
1388
|
-
var
|
|
1410
|
+
var ae = {};
|
|
1389
1411
|
["horizontal", "vertical"].forEach((e) => {
|
|
1390
1412
|
const i = e.slice(0, 1) + "Flip";
|
|
1391
|
-
|
|
1413
|
+
ae[e + "-flip"] = i, ae[e.slice(0, 1) + "-flip"] = i, ae[e + "Flip"] = i;
|
|
1392
1414
|
});
|
|
1393
|
-
function
|
|
1415
|
+
function st(e) {
|
|
1394
1416
|
return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
|
|
1395
1417
|
}
|
|
1396
|
-
var
|
|
1397
|
-
const t =
|
|
1418
|
+
var it = (e, 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 : {};
|
|
1398
1420
|
for (let b in i) {
|
|
1399
1421
|
const v = i[b];
|
|
1400
1422
|
if (v !== void 0)
|
|
@@ -1414,7 +1436,7 @@ var st = (e, i) => {
|
|
|
1414
1436
|
break;
|
|
1415
1437
|
// Flip as string: 'horizontal,vertical'
|
|
1416
1438
|
case "flip":
|
|
1417
|
-
typeof v == "string" &&
|
|
1439
|
+
typeof v == "string" && ys(t, v);
|
|
1418
1440
|
break;
|
|
1419
1441
|
// Color: override style
|
|
1420
1442
|
case "color":
|
|
@@ -1422,7 +1444,7 @@ var st = (e, i) => {
|
|
|
1422
1444
|
break;
|
|
1423
1445
|
// Rotation as string
|
|
1424
1446
|
case "rotate":
|
|
1425
|
-
typeof v == "string" ? t[b] =
|
|
1447
|
+
typeof v == "string" ? t[b] = bs(v) : typeof v == "number" && (t[b] = v);
|
|
1426
1448
|
break;
|
|
1427
1449
|
// Remove aria-hidden
|
|
1428
1450
|
case "ariaHidden":
|
|
@@ -1430,37 +1452,37 @@ var st = (e, i) => {
|
|
|
1430
1452
|
v !== true && v !== "true" && delete n["aria-hidden"];
|
|
1431
1453
|
break;
|
|
1432
1454
|
default: {
|
|
1433
|
-
const x =
|
|
1434
|
-
x ? (v === true || v === "true" || v === 1) && (t[x] = true) :
|
|
1455
|
+
const x = ae[b];
|
|
1456
|
+
x ? (v === true || v === "true" || v === 1) && (t[x] = true) : et[b] === void 0 && (n[b] = v);
|
|
1435
1457
|
}
|
|
1436
1458
|
}
|
|
1437
1459
|
}
|
|
1438
|
-
const a =
|
|
1460
|
+
const a = Wn(e, t), c = a.attributes;
|
|
1439
1461
|
if (t.inline && (o.verticalAlign = "-0.125em"), s === "svg") {
|
|
1440
1462
|
n.style = {
|
|
1441
1463
|
...o,
|
|
1442
|
-
...
|
|
1464
|
+
...l
|
|
1443
1465
|
}, Object.assign(n, c);
|
|
1444
1466
|
let b = 0, v = i.id;
|
|
1445
|
-
return typeof v == "string" && (v = v.replace(/-/g, "_")), n.innerHTML =
|
|
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);
|
|
1446
1468
|
}
|
|
1447
|
-
const { body: u, width: g, height: d } = e, w = s === "mask" || (s === "bg" ? false : u.indexOf("currentColor") !== -1), p =
|
|
1469
|
+
const { body: u, width: g, height: d } = e, w = s === "mask" || (s === "bg" ? false : u.indexOf("currentColor") !== -1), p = ws(u, {
|
|
1448
1470
|
...c,
|
|
1449
1471
|
width: g + "",
|
|
1450
1472
|
height: d + ""
|
|
1451
1473
|
});
|
|
1452
1474
|
return n.style = {
|
|
1453
1475
|
...o,
|
|
1454
|
-
"--svg":
|
|
1455
|
-
width:
|
|
1456
|
-
height:
|
|
1457
|
-
...
|
|
1458
|
-
...w ?
|
|
1459
|
-
...
|
|
1476
|
+
"--svg": ks(p),
|
|
1477
|
+
width: st(c.width),
|
|
1478
|
+
height: st(c.height),
|
|
1479
|
+
..._s,
|
|
1480
|
+
...w ? Me : Et,
|
|
1481
|
+
...l
|
|
1460
1482
|
}, (0, import_vue.h)("span", n);
|
|
1461
1483
|
};
|
|
1462
|
-
|
|
1463
|
-
|
|
1484
|
+
St(true);
|
|
1485
|
+
Jn("", ns);
|
|
1464
1486
|
if (typeof document < "u" && typeof window < "u") {
|
|
1465
1487
|
const e = window;
|
|
1466
1488
|
if (e.IconifyPreload !== void 0) {
|
|
@@ -1469,7 +1491,7 @@ if (typeof document < "u" && typeof window < "u") {
|
|
|
1469
1491
|
try {
|
|
1470
1492
|
(typeof n != "object" || n === null || n instanceof Array || // Check for 'icons' and 'prefix'
|
|
1471
1493
|
typeof n.icons != "object" || typeof n.prefix != "string" || // Add icon set
|
|
1472
|
-
!
|
|
1494
|
+
!Fn(n)) && console.error(t);
|
|
1473
1495
|
} catch {
|
|
1474
1496
|
console.error(t);
|
|
1475
1497
|
}
|
|
@@ -1484,18 +1506,18 @@ if (typeof document < "u" && typeof window < "u") {
|
|
|
1484
1506
|
const s = i[t];
|
|
1485
1507
|
if (typeof s != "object" || !s || s.resources === void 0)
|
|
1486
1508
|
continue;
|
|
1487
|
-
|
|
1509
|
+
Xn(t, s) || console.error(n);
|
|
1488
1510
|
} catch {
|
|
1489
1511
|
console.error(n);
|
|
1490
1512
|
}
|
|
1491
1513
|
}
|
|
1492
1514
|
}
|
|
1493
1515
|
}
|
|
1494
|
-
var
|
|
1495
|
-
...
|
|
1516
|
+
var Es = {
|
|
1517
|
+
...ye,
|
|
1496
1518
|
body: ""
|
|
1497
1519
|
};
|
|
1498
|
-
var
|
|
1520
|
+
var ce = (0, import_vue.defineComponent)({
|
|
1499
1521
|
// Do not inherit other attributes: it is handled by render()
|
|
1500
1522
|
inheritAttrs: false,
|
|
1501
1523
|
// Set initial data
|
|
@@ -1528,20 +1550,20 @@ var re = (0, import_vue.defineComponent)({
|
|
|
1528
1550
|
data: e
|
|
1529
1551
|
};
|
|
1530
1552
|
let n;
|
|
1531
|
-
if (typeof e != "string" || (n =
|
|
1553
|
+
if (typeof e != "string" || (n = ge(e, false, true)) === null)
|
|
1532
1554
|
return this.abortLoading(), null;
|
|
1533
|
-
let s =
|
|
1555
|
+
let s = $n(n);
|
|
1534
1556
|
if (!s)
|
|
1535
1557
|
return (!this._loadingIcon || this._loadingIcon.name !== e) && (this.abortLoading(), this._name = "", s !== null && (this._loadingIcon = {
|
|
1536
1558
|
name: e,
|
|
1537
|
-
abort:
|
|
1559
|
+
abort: ms([n], () => {
|
|
1538
1560
|
this.counter++;
|
|
1539
1561
|
})
|
|
1540
1562
|
})), null;
|
|
1541
1563
|
if (this.abortLoading(), this._name !== e && (this._name = e, i && i(e)), t) {
|
|
1542
1564
|
s = Object.assign({}, s);
|
|
1543
|
-
const
|
|
1544
|
-
typeof
|
|
1565
|
+
const r = t(s.body, n.name, n.prefix, n.provider);
|
|
1566
|
+
typeof r == "string" && (s.body = r);
|
|
1545
1567
|
}
|
|
1546
1568
|
const o = ["iconify"];
|
|
1547
1569
|
return n.prefix !== "" && o.push("iconify--" + n.prefix), n.provider !== "" && o.push("iconify--" + n.provider), { data: s, classes: o };
|
|
@@ -1552,18 +1574,18 @@ var re = (0, import_vue.defineComponent)({
|
|
|
1552
1574
|
this.counter;
|
|
1553
1575
|
const e = this.$attrs, i = this.iconMounted || e.ssr ? this.getIcon(e.icon, e.onLoad, e.customise) : null;
|
|
1554
1576
|
if (!i)
|
|
1555
|
-
return
|
|
1577
|
+
return it(Es, e);
|
|
1556
1578
|
let t = e;
|
|
1557
1579
|
return i.classes && (t = {
|
|
1558
1580
|
...e,
|
|
1559
1581
|
class: (typeof e.class == "string" ? e.class + " " : "") + i.classes.join(" ")
|
|
1560
|
-
}),
|
|
1561
|
-
...
|
|
1582
|
+
}), it({
|
|
1583
|
+
...ye,
|
|
1562
1584
|
...i.data
|
|
1563
1585
|
}, t);
|
|
1564
1586
|
}
|
|
1565
1587
|
});
|
|
1566
|
-
var
|
|
1588
|
+
var Ts = ["width", "height"];
|
|
1567
1589
|
var je = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
1568
1590
|
__name: "MIcon",
|
|
1569
1591
|
props: {
|
|
@@ -1594,14 +1616,14 @@ var je = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
1594
1616
|
d: "M48,36 L60,16 L72,36 Z",
|
|
1595
1617
|
fill: "white"
|
|
1596
1618
|
}, null, -1)
|
|
1597
|
-
])], 8,
|
|
1619
|
+
])], 8, Ts));
|
|
1598
1620
|
}
|
|
1599
1621
|
});
|
|
1600
|
-
var
|
|
1601
|
-
var
|
|
1622
|
+
var Ms = { class: "logo-badge" };
|
|
1623
|
+
var Cs = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
1602
1624
|
__name: "LogoBadge",
|
|
1603
1625
|
setup(e) {
|
|
1604
|
-
return (i, t) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div",
|
|
1626
|
+
return (i, t) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", Ms, [
|
|
1605
1627
|
(0, import_vue.createVNode)(je, {
|
|
1606
1628
|
width: 20,
|
|
1607
1629
|
height: 9
|
|
@@ -1616,13 +1638,13 @@ var j = (e, i) => {
|
|
|
1616
1638
|
t[n] = s;
|
|
1617
1639
|
return t;
|
|
1618
1640
|
};
|
|
1619
|
-
var
|
|
1620
|
-
var
|
|
1621
|
-
var
|
|
1622
|
-
var
|
|
1623
|
-
var
|
|
1624
|
-
var
|
|
1625
|
-
var
|
|
1641
|
+
var Os = /* @__PURE__ */ j(Cs, [["__scopeId", "data-v-f1971a55"]]);
|
|
1642
|
+
var zs = { class: "tab-bar" };
|
|
1643
|
+
var As = { class: "logo-slot" };
|
|
1644
|
+
var qs = { class: "tab-list" };
|
|
1645
|
+
var $s = ["onClick"];
|
|
1646
|
+
var Ls = { class: "mode-switcher" };
|
|
1647
|
+
var Fs = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
1626
1648
|
__name: "TabBar",
|
|
1627
1649
|
props: {
|
|
1628
1650
|
tabs: {},
|
|
@@ -1632,18 +1654,18 @@ var Cs = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
1632
1654
|
},
|
|
1633
1655
|
emits: ["close", "update:panelMode", "settings"],
|
|
1634
1656
|
setup(e) {
|
|
1635
|
-
return (i, t) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div",
|
|
1636
|
-
(0, import_vue.createElementVNode)("div",
|
|
1637
|
-
(0, import_vue.createVNode)(
|
|
1657
|
+
return (i, t) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", zs, [
|
|
1658
|
+
(0, import_vue.createElementVNode)("div", As, [
|
|
1659
|
+
(0, import_vue.createVNode)(Os)
|
|
1638
1660
|
]),
|
|
1639
|
-
(0, import_vue.createElementVNode)("div",
|
|
1661
|
+
(0, import_vue.createElementVNode)("div", qs, [
|
|
1640
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", {
|
|
1641
1663
|
key: n.id,
|
|
1642
1664
|
"data-vmd-tab": "",
|
|
1643
1665
|
class: (0, import_vue.normalizeClass)(["tab-btn", n.id === e.activeTabId ? "tab-btn--active" : "tab-btn--inactive"]),
|
|
1644
1666
|
onClick: (s) => e.selectTab(n.id)
|
|
1645
1667
|
}, [
|
|
1646
|
-
typeof n.icon == "string" ? ((0, import_vue.openBlock)(), (0, import_vue.createBlock)((0, import_vue.unref)(
|
|
1668
|
+
typeof n.icon == "string" ? ((0, import_vue.openBlock)(), (0, import_vue.createBlock)((0, import_vue.unref)(ce), {
|
|
1647
1669
|
key: 0,
|
|
1648
1670
|
icon: n.icon,
|
|
1649
1671
|
width: "13",
|
|
@@ -1654,9 +1676,9 @@ var Cs = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
1654
1676
|
height: "13"
|
|
1655
1677
|
})) : (0, import_vue.createCommentVNode)("", true),
|
|
1656
1678
|
(0, import_vue.createElementVNode)("span", null, (0, import_vue.toDisplayString)(n.label), 1)
|
|
1657
|
-
], 10,
|
|
1679
|
+
], 10, $s))), 128))
|
|
1658
1680
|
]),
|
|
1659
|
-
(0, import_vue.createElementVNode)("div",
|
|
1681
|
+
(0, import_vue.createElementVNode)("div", Ls, [
|
|
1660
1682
|
(0, import_vue.createElementVNode)("button", {
|
|
1661
1683
|
class: (0, import_vue.normalizeClass)(["mode-btn", { "mode-btn--active": e.panelMode === "bottom" }]),
|
|
1662
1684
|
title: "Bottom panel",
|
|
@@ -1724,7 +1746,7 @@ var Cs = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
1724
1746
|
title: "Layout settings",
|
|
1725
1747
|
onClick: t[2] || (t[2] = (n) => i.$emit("settings"))
|
|
1726
1748
|
}, [
|
|
1727
|
-
(0, import_vue.createVNode)((0, import_vue.unref)(
|
|
1749
|
+
(0, import_vue.createVNode)((0, import_vue.unref)(ce), {
|
|
1728
1750
|
icon: "lucide:settings-2",
|
|
1729
1751
|
width: "14",
|
|
1730
1752
|
height: "14"
|
|
@@ -1735,7 +1757,7 @@ var Cs = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
1735
1757
|
title: "Close devtools",
|
|
1736
1758
|
onClick: t[3] || (t[3] = (n) => i.$emit("close"))
|
|
1737
1759
|
}, [
|
|
1738
|
-
(0, import_vue.createVNode)((0, import_vue.unref)(
|
|
1760
|
+
(0, import_vue.createVNode)((0, import_vue.unref)(ce), {
|
|
1739
1761
|
icon: "lucide:x",
|
|
1740
1762
|
width: "14",
|
|
1741
1763
|
height: "14"
|
|
@@ -1744,12 +1766,12 @@ var Cs = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
1744
1766
|
]));
|
|
1745
1767
|
}
|
|
1746
1768
|
});
|
|
1747
|
-
var
|
|
1748
|
-
var
|
|
1749
|
-
var
|
|
1769
|
+
var Tt = /* @__PURE__ */ j(Fs, [["__scopeId", "data-v-1b140f4a"]]);
|
|
1770
|
+
var Ps = { class: "panel-content" };
|
|
1771
|
+
var Rs = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
1750
1772
|
__name: "FloatingPanel",
|
|
1751
1773
|
setup(e) {
|
|
1752
|
-
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();
|
|
1753
1775
|
return (w, p) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)(import_vue.Fragment, null, [
|
|
1754
1776
|
(0, import_vue.unref)(t) ? (0, import_vue.createCommentVNode)("", true) : ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("button", {
|
|
1755
1777
|
key: 0,
|
|
@@ -1757,7 +1779,7 @@ var zs = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
1757
1779
|
class: "launcher-pill",
|
|
1758
1780
|
title: "Open vue-muza devtools",
|
|
1759
1781
|
onClick: p[0] || (p[0] = //@ts-ignore
|
|
1760
|
-
(...b) => (0, import_vue.unref)(
|
|
1782
|
+
(...b) => (0, import_vue.unref)(r) && (0, import_vue.unref)(r)(...b))
|
|
1761
1783
|
}, [
|
|
1762
1784
|
(0, import_vue.createVNode)(je, {
|
|
1763
1785
|
width: 22,
|
|
@@ -1780,16 +1802,16 @@ var zs = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
1780
1802
|
onMousedown: p[1] || (p[1] = //@ts-ignore
|
|
1781
1803
|
(...v) => (0, import_vue.unref)(s) && (0, import_vue.unref)(s)(...v))
|
|
1782
1804
|
}, null, 32),
|
|
1783
|
-
(0, import_vue.createVNode)(
|
|
1805
|
+
(0, import_vue.createVNode)(Tt, {
|
|
1784
1806
|
tabs: (0, import_vue.unref)(a),
|
|
1785
1807
|
"active-tab-id": (0, import_vue.unref)(c) ?? null,
|
|
1786
1808
|
"select-tab": (0, import_vue.unref)(g),
|
|
1787
1809
|
"panel-mode": (0, import_vue.unref)(n),
|
|
1788
|
-
onClose: (0, import_vue.unref)(
|
|
1810
|
+
onClose: (0, import_vue.unref)(l),
|
|
1789
1811
|
"onUpdate:panelMode": (0, import_vue.unref)(o),
|
|
1790
1812
|
onSettings: (0, import_vue.unref)(d)
|
|
1791
1813
|
}, null, 8, ["tabs", "active-tab-id", "select-tab", "panel-mode", "onClose", "onUpdate:panelMode", "onSettings"]),
|
|
1792
|
-
(0, import_vue.createElementVNode)("div",
|
|
1814
|
+
(0, import_vue.createElementVNode)("div", Ps, [
|
|
1793
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)
|
|
1794
1816
|
])
|
|
1795
1817
|
], 4)) : (0, import_vue.createCommentVNode)("", true)
|
|
@@ -1800,13 +1822,13 @@ var zs = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
1800
1822
|
], 64));
|
|
1801
1823
|
}
|
|
1802
1824
|
});
|
|
1803
|
-
var
|
|
1804
|
-
var
|
|
1805
|
-
var
|
|
1806
|
-
var
|
|
1825
|
+
var js = /* @__PURE__ */ j(Rs, [["__scopeId", "data-v-1b40fea8"]]);
|
|
1826
|
+
var Ds = { class: "panel-body" };
|
|
1827
|
+
var Vs = { class: "panel-content" };
|
|
1828
|
+
var Ns = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
1807
1829
|
__name: "SidePanel",
|
|
1808
1830
|
setup(e) {
|
|
1809
|
-
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();
|
|
1810
1832
|
return (w, p) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)(import_vue.Fragment, null, [
|
|
1811
1833
|
(0, import_vue.unref)(t) ? (0, import_vue.createCommentVNode)("", true) : ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("button", {
|
|
1812
1834
|
key: 0,
|
|
@@ -1814,7 +1836,7 @@ var Ls = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
1814
1836
|
class: "launcher-pill",
|
|
1815
1837
|
title: "Open vue-muza devtools",
|
|
1816
1838
|
onClick: p[0] || (p[0] = //@ts-ignore
|
|
1817
|
-
(...b) => (0, import_vue.unref)(
|
|
1839
|
+
(...b) => (0, import_vue.unref)(r) && (0, import_vue.unref)(r)(...b))
|
|
1818
1840
|
}, [
|
|
1819
1841
|
(0, import_vue.createVNode)(je, {
|
|
1820
1842
|
width: 22,
|
|
@@ -1837,17 +1859,17 @@ var Ls = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
1837
1859
|
onMousedown: p[1] || (p[1] = //@ts-ignore
|
|
1838
1860
|
(...v) => (0, import_vue.unref)(s) && (0, import_vue.unref)(s)(...v))
|
|
1839
1861
|
}, null, 32),
|
|
1840
|
-
(0, import_vue.createElementVNode)("div",
|
|
1841
|
-
(0, import_vue.createVNode)(
|
|
1862
|
+
(0, import_vue.createElementVNode)("div", Ds, [
|
|
1863
|
+
(0, import_vue.createVNode)(Tt, {
|
|
1842
1864
|
tabs: (0, import_vue.unref)(a),
|
|
1843
1865
|
"active-tab-id": (0, import_vue.unref)(c) ?? null,
|
|
1844
1866
|
"select-tab": (0, import_vue.unref)(g),
|
|
1845
1867
|
"panel-mode": (0, import_vue.unref)(n),
|
|
1846
|
-
onClose: (0, import_vue.unref)(
|
|
1868
|
+
onClose: (0, import_vue.unref)(l),
|
|
1847
1869
|
"onUpdate:panelMode": (0, import_vue.unref)(o),
|
|
1848
1870
|
onSettings: (0, import_vue.unref)(d)
|
|
1849
1871
|
}, null, 8, ["tabs", "active-tab-id", "select-tab", "panel-mode", "onClose", "onUpdate:panelMode", "onSettings"]),
|
|
1850
|
-
(0, import_vue.createElementVNode)("div",
|
|
1872
|
+
(0, import_vue.createElementVNode)("div", Vs, [
|
|
1851
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)
|
|
1852
1874
|
])
|
|
1853
1875
|
])
|
|
@@ -1859,19 +1881,19 @@ var Ls = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
1859
1881
|
], 64));
|
|
1860
1882
|
}
|
|
1861
1883
|
});
|
|
1862
|
-
var
|
|
1863
|
-
var
|
|
1884
|
+
var Ws = /* @__PURE__ */ j(Ns, [["__scopeId", "data-v-c45ea08a"]]);
|
|
1885
|
+
var Hs = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
1864
1886
|
__name: "DevtoolsApp",
|
|
1865
1887
|
setup(e) {
|
|
1866
|
-
const { panelMode: i } =
|
|
1867
|
-
return (t, n) => (0, import_vue.unref)(i) === "bottom" ? ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(
|
|
1888
|
+
const { panelMode: i } = ve();
|
|
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 }));
|
|
1868
1890
|
}
|
|
1869
1891
|
});
|
|
1870
|
-
var
|
|
1871
|
-
function
|
|
1872
|
-
if (document.getElementById(
|
|
1892
|
+
var ot = "vue-muza-devtools-root";
|
|
1893
|
+
function Bs() {
|
|
1894
|
+
if (document.getElementById(ot)) return;
|
|
1873
1895
|
const e = document.createElement("div");
|
|
1874
|
-
e.id =
|
|
1896
|
+
e.id = ot, Object.assign(e.style, {
|
|
1875
1897
|
position: "fixed",
|
|
1876
1898
|
top: "0",
|
|
1877
1899
|
left: "0",
|
|
@@ -1880,26 +1902,26 @@ function Rs() {
|
|
|
1880
1902
|
overflow: "visible",
|
|
1881
1903
|
zIndex: "9999",
|
|
1882
1904
|
pointerEvents: "none"
|
|
1883
|
-
}), document.body.appendChild(e), (0, import_vue.createApp)(
|
|
1905
|
+
}), document.body.appendChild(e), (0, import_vue.createApp)(Hs).mount(e);
|
|
1884
1906
|
}
|
|
1885
|
-
function
|
|
1886
|
-
const e = (0, import_vue.ref)(""), i = (0, import_vue.ref)("all"), t = (0, import_vue.ref)("all"), n = (0, import_vue.computed)(() =>
|
|
1907
|
+
function Ks() {
|
|
1908
|
+
const e = (0, import_vue.ref)(""), i = (0, import_vue.ref)("all"), t = (0, import_vue.ref)("all"), n = (0, import_vue.computed)(() => ft.value.filter((o) => !(e.value && !o.url.toLowerCase().includes(e.value.toLowerCase()) || i.value !== "all" && o.status !== i.value || t.value !== "all" && o.instanceId !== t.value)).reverse());
|
|
1887
1909
|
function s() {
|
|
1888
1910
|
e.value = "", i.value = "all", t.value = "all";
|
|
1889
1911
|
}
|
|
1890
1912
|
return { urlFilter: e, statusFilter: i, instanceFilter: t, filteredRequests: n, clearFilters: s };
|
|
1891
1913
|
}
|
|
1892
|
-
function
|
|
1914
|
+
function Us() {
|
|
1893
1915
|
const e = (0, import_vue.ref)(null), i = (0, import_vue.ref)("split"), t = (0, import_vue.ref)("json"), n = (0, import_vue.ref)("json"), s = (0, import_vue.computed)(
|
|
1894
|
-
() => e.value ?
|
|
1916
|
+
() => e.value ? ft.value.find((c) => c.id === e.value) ?? null : null
|
|
1895
1917
|
);
|
|
1896
1918
|
function o(c) {
|
|
1897
1919
|
e.value = c;
|
|
1898
1920
|
}
|
|
1899
|
-
function
|
|
1921
|
+
function r(c) {
|
|
1900
1922
|
i.value = c;
|
|
1901
1923
|
}
|
|
1902
|
-
function
|
|
1924
|
+
function l() {
|
|
1903
1925
|
t.value = t.value === "json" ? "kv" : "json";
|
|
1904
1926
|
}
|
|
1905
1927
|
function a() {
|
|
@@ -1912,22 +1934,22 @@ function Ds() {
|
|
|
1912
1934
|
payloadFormat: t,
|
|
1913
1935
|
responseFormat: n,
|
|
1914
1936
|
selectRequest: o,
|
|
1915
|
-
setViewMode:
|
|
1916
|
-
togglePayloadFormat:
|
|
1937
|
+
setViewMode: r,
|
|
1938
|
+
togglePayloadFormat: l,
|
|
1917
1939
|
toggleResponseFormat: a
|
|
1918
1940
|
};
|
|
1919
1941
|
}
|
|
1920
|
-
function
|
|
1921
|
-
const e =
|
|
1922
|
-
return { ...e, ...i, instances:
|
|
1942
|
+
function Js() {
|
|
1943
|
+
const e = Ks(), i = Us();
|
|
1944
|
+
return { ...e, ...i, instances: Vt };
|
|
1923
1945
|
}
|
|
1924
|
-
function
|
|
1946
|
+
function Xs(e, i, t) {
|
|
1925
1947
|
const n = new Array(e);
|
|
1926
1948
|
return new Proxy(n, {
|
|
1927
|
-
get(s, o,
|
|
1949
|
+
get(s, o, r) {
|
|
1928
1950
|
if (typeof o == "string") {
|
|
1929
|
-
const
|
|
1930
|
-
if (
|
|
1951
|
+
const l = o.charCodeAt(0);
|
|
1952
|
+
if (l >= 48 && l <= 57) {
|
|
1931
1953
|
const a = +o;
|
|
1932
1954
|
if (Number.isInteger(a) && a >= 0 && a < e) {
|
|
1933
1955
|
let c = s[a];
|
|
@@ -1947,15 +1969,15 @@ function Ns(e, i, t) {
|
|
|
1947
1969
|
}
|
|
1948
1970
|
if (o === "length") return e;
|
|
1949
1971
|
}
|
|
1950
|
-
return Reflect.get(s, o,
|
|
1972
|
+
return Reflect.get(s, o, r);
|
|
1951
1973
|
}
|
|
1952
1974
|
});
|
|
1953
1975
|
}
|
|
1954
|
-
function
|
|
1976
|
+
function J(e, i, t) {
|
|
1955
1977
|
let n = t.initialDeps ?? [], s, o = true;
|
|
1956
|
-
function
|
|
1957
|
-
var
|
|
1958
|
-
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));
|
|
1959
1981
|
let c = 0;
|
|
1960
1982
|
a && (c = Date.now());
|
|
1961
1983
|
const u = e();
|
|
@@ -1964,8 +1986,8 @@ function U(e, i, t) {
|
|
|
1964
1986
|
n = u;
|
|
1965
1987
|
let d = 0;
|
|
1966
1988
|
if (a && (d = Date.now()), s = i(...u), a) {
|
|
1967
|
-
const w = Math.round((Date.now() - c) * 100) / 100, p = Math.round((Date.now() - d) * 100) / 100, b = p / 16, v = (x,
|
|
1968
|
-
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; )
|
|
1969
1991
|
x = " " + x;
|
|
1970
1992
|
return x;
|
|
1971
1993
|
};
|
|
@@ -1983,58 +2005,58 @@ function U(e, i, t) {
|
|
|
1983
2005
|
}
|
|
1984
2006
|
return t != null && t.onChange && !(o && t.skipInitialOnChange) && t.onChange(s), o = false, s;
|
|
1985
2007
|
}
|
|
1986
|
-
return
|
|
1987
|
-
n =
|
|
1988
|
-
},
|
|
2008
|
+
return r.updateDeps = (l) => {
|
|
2009
|
+
n = l;
|
|
2010
|
+
}, r;
|
|
1989
2011
|
}
|
|
1990
|
-
function
|
|
2012
|
+
function rt(e, i) {
|
|
1991
2013
|
if (e === void 0)
|
|
1992
2014
|
throw new Error("Unexpected undefined");
|
|
1993
2015
|
return e;
|
|
1994
2016
|
}
|
|
1995
|
-
var
|
|
1996
|
-
var
|
|
2017
|
+
var Qs = (e, i) => Math.abs(e - i) < 1.01;
|
|
2018
|
+
var Gs = (e, i, t) => {
|
|
1997
2019
|
let n;
|
|
1998
2020
|
return function(...s) {
|
|
1999
2021
|
e.clearTimeout(n), n = e.setTimeout(() => i.apply(this, s), t);
|
|
2000
2022
|
};
|
|
2001
2023
|
};
|
|
2002
|
-
var
|
|
2003
|
-
var
|
|
2004
|
-
if (
|
|
2005
|
-
if (typeof navigator > "u") return
|
|
2006
|
-
if (/iP(hone|od|ad)/.test(navigator.userAgent)) return
|
|
2024
|
+
var ee;
|
|
2025
|
+
var Ie = () => {
|
|
2026
|
+
if (ee !== void 0) return ee;
|
|
2027
|
+
if (typeof navigator > "u") return ee = false;
|
|
2028
|
+
if (/iP(hone|od|ad)/.test(navigator.userAgent)) return ee = true;
|
|
2007
2029
|
const e = navigator.maxTouchPoints;
|
|
2008
|
-
return
|
|
2030
|
+
return ee = navigator.platform === "MacIntel" && e !== void 0 && e > 0;
|
|
2009
2031
|
};
|
|
2010
2032
|
var lt = (e) => {
|
|
2011
2033
|
const { offsetWidth: i, offsetHeight: t } = e;
|
|
2012
2034
|
return { width: i, height: t };
|
|
2013
2035
|
};
|
|
2014
|
-
var
|
|
2015
|
-
var
|
|
2036
|
+
var Ys = (e) => e;
|
|
2037
|
+
var Zs = (e) => {
|
|
2016
2038
|
const i = Math.max(e.startIndex - e.overscan, 0), n = Math.min(e.endIndex + e.overscan, e.count - 1) - i + 1, s = new Array(n);
|
|
2017
2039
|
for (let o = 0; o < n; o++)
|
|
2018
2040
|
s[o] = i + o;
|
|
2019
2041
|
return s;
|
|
2020
2042
|
};
|
|
2021
|
-
var
|
|
2043
|
+
var ei = (e, i) => {
|
|
2022
2044
|
const t = e.scrollElement;
|
|
2023
2045
|
if (!t)
|
|
2024
2046
|
return;
|
|
2025
2047
|
const n = e.targetWindow;
|
|
2026
2048
|
if (!n)
|
|
2027
2049
|
return;
|
|
2028
|
-
const s = (
|
|
2029
|
-
const { width:
|
|
2030
|
-
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) });
|
|
2031
2053
|
};
|
|
2032
2054
|
if (s(lt(t)), !n.ResizeObserver)
|
|
2033
2055
|
return () => {
|
|
2034
2056
|
};
|
|
2035
|
-
const o = new n.ResizeObserver((
|
|
2036
|
-
const
|
|
2037
|
-
const a =
|
|
2057
|
+
const o = new n.ResizeObserver((r) => {
|
|
2058
|
+
const l = () => {
|
|
2059
|
+
const a = r[0];
|
|
2038
2060
|
if (a != null && a.borderBoxSize) {
|
|
2039
2061
|
const c = a.borderBoxSize[0];
|
|
2040
2062
|
if (c) {
|
|
@@ -2044,41 +2066,41 @@ var Us = (e, i) => {
|
|
|
2044
2066
|
}
|
|
2045
2067
|
s(lt(t));
|
|
2046
2068
|
};
|
|
2047
|
-
e.options.useAnimationFrameWithResizeObserver ? requestAnimationFrame(
|
|
2069
|
+
e.options.useAnimationFrameWithResizeObserver ? requestAnimationFrame(l) : l();
|
|
2048
2070
|
});
|
|
2049
2071
|
return o.observe(t, { box: "border-box" }), () => {
|
|
2050
2072
|
o.unobserve(t);
|
|
2051
2073
|
};
|
|
2052
2074
|
};
|
|
2053
|
-
var
|
|
2075
|
+
var pe = {
|
|
2054
2076
|
passive: true
|
|
2055
2077
|
};
|
|
2056
|
-
var
|
|
2057
|
-
var
|
|
2078
|
+
var ti = typeof window > "u" ? true : "onscrollend" in window;
|
|
2079
|
+
var ni = (e, i, t) => {
|
|
2058
2080
|
const n = e.scrollElement;
|
|
2059
2081
|
if (!n)
|
|
2060
2082
|
return;
|
|
2061
2083
|
const s = e.targetWindow;
|
|
2062
2084
|
if (!s)
|
|
2063
2085
|
return;
|
|
2064
|
-
const o = e.options.useScrollendEvent &&
|
|
2065
|
-
let
|
|
2066
|
-
const
|
|
2086
|
+
const o = e.options.useScrollendEvent && ti;
|
|
2087
|
+
let r = 0;
|
|
2088
|
+
const l = o ? null : Gs(
|
|
2067
2089
|
s,
|
|
2068
|
-
() => i(
|
|
2090
|
+
() => i(r, false),
|
|
2069
2091
|
e.options.isScrollingResetDelay
|
|
2070
2092
|
), a = (g) => () => {
|
|
2071
|
-
|
|
2093
|
+
r = t(n), l == null || l(), i(r, g);
|
|
2072
2094
|
}, c = a(true), u = a(false);
|
|
2073
|
-
return n.addEventListener("scroll", c,
|
|
2095
|
+
return n.addEventListener("scroll", c, pe), o && n.addEventListener("scrollend", u, pe), () => {
|
|
2074
2096
|
n.removeEventListener("scroll", c), o && n.removeEventListener("scrollend", u);
|
|
2075
2097
|
};
|
|
2076
2098
|
};
|
|
2077
|
-
var
|
|
2099
|
+
var si = (e, i) => ni(e, i, (t) => {
|
|
2078
2100
|
const { horizontal: n, isRtl: s } = e.options;
|
|
2079
2101
|
return n ? t.scrollLeft * (s && -1 || 1) : t.scrollTop;
|
|
2080
2102
|
});
|
|
2081
|
-
var
|
|
2103
|
+
var ii = (e, i, t) => {
|
|
2082
2104
|
if (t.options.useCachedMeasurements) {
|
|
2083
2105
|
const n = t.indexFromElement(e), s = t.options.getItemKey(n);
|
|
2084
2106
|
return t.itemSizeCache.get(s) ?? t.options.estimateSize(n);
|
|
@@ -2097,7 +2119,7 @@ var Gs = (e, i, t) => {
|
|
|
2097
2119
|
}
|
|
2098
2120
|
return e[t.options.horizontal ? "offsetWidth" : "offsetHeight"];
|
|
2099
2121
|
};
|
|
2100
|
-
var
|
|
2122
|
+
var oi = (e, {
|
|
2101
2123
|
adjustments: i = 0,
|
|
2102
2124
|
behavior: t
|
|
2103
2125
|
}, n) => {
|
|
@@ -2107,8 +2129,8 @@ var Ys = (e, {
|
|
|
2107
2129
|
behavior: t
|
|
2108
2130
|
});
|
|
2109
2131
|
};
|
|
2110
|
-
var
|
|
2111
|
-
var
|
|
2132
|
+
var ri = oi;
|
|
2133
|
+
var li = class {
|
|
2112
2134
|
constructor(i) {
|
|
2113
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 = () => {
|
|
2114
2136
|
var t, n, s;
|
|
@@ -2117,12 +2139,12 @@ var ei = class {
|
|
|
2117
2139
|
let t = null;
|
|
2118
2140
|
const n = () => t || (!this.targetWindow || !this.targetWindow.ResizeObserver ? null : t = new this.targetWindow.ResizeObserver((s) => {
|
|
2119
2141
|
s.forEach((o) => {
|
|
2120
|
-
const
|
|
2121
|
-
const
|
|
2122
|
-
if (!
|
|
2123
|
-
this.observer.unobserve(
|
|
2142
|
+
const r = () => {
|
|
2143
|
+
const l = o.target, a = this.indexFromElement(l);
|
|
2144
|
+
if (!l.isConnected) {
|
|
2145
|
+
this.observer.unobserve(l);
|
|
2124
2146
|
for (const [c, u] of this.elementsCache)
|
|
2125
|
-
if (u ===
|
|
2147
|
+
if (u === l) {
|
|
2126
2148
|
this.elementsCache.delete(c);
|
|
2127
2149
|
break;
|
|
2128
2150
|
}
|
|
@@ -2130,10 +2152,10 @@ var ei = class {
|
|
|
2130
2152
|
}
|
|
2131
2153
|
this.shouldMeasureDuringScroll(a) && this.resizeItem(
|
|
2132
2154
|
a,
|
|
2133
|
-
this.options.measureElement(
|
|
2155
|
+
this.options.measureElement(l, o, this)
|
|
2134
2156
|
);
|
|
2135
2157
|
};
|
|
2136
|
-
this.options.useAnimationFrameWithResizeObserver ? requestAnimationFrame(
|
|
2158
|
+
this.options.useAnimationFrameWithResizeObserver ? requestAnimationFrame(r) : r();
|
|
2137
2159
|
});
|
|
2138
2160
|
}));
|
|
2139
2161
|
return {
|
|
@@ -2161,11 +2183,11 @@ var ei = class {
|
|
|
2161
2183
|
scrollPaddingStart: 0,
|
|
2162
2184
|
scrollPaddingEnd: 0,
|
|
2163
2185
|
horizontal: false,
|
|
2164
|
-
getItemKey:
|
|
2165
|
-
rangeExtractor:
|
|
2186
|
+
getItemKey: Ys,
|
|
2187
|
+
rangeExtractor: Zs,
|
|
2166
2188
|
onChange: () => {
|
|
2167
2189
|
},
|
|
2168
|
-
measureElement:
|
|
2190
|
+
measureElement: ii,
|
|
2169
2191
|
initialRect: { width: 0, height: 0 },
|
|
2170
2192
|
scrollMargin: 0,
|
|
2171
2193
|
gap: 0,
|
|
@@ -2187,43 +2209,43 @@ var ei = class {
|
|
|
2187
2209
|
const w = t[d];
|
|
2188
2210
|
w !== void 0 && (o[d] = w);
|
|
2189
2211
|
}
|
|
2190
|
-
const
|
|
2191
|
-
let
|
|
2192
|
-
if (
|
|
2193
|
-
const d =
|
|
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;
|
|
2194
2216
|
if (w !== d || d > 0 && w > 0 && (o.getItemKey(0) !== b || o.getItemKey(w - 1) !== v)) {
|
|
2195
2217
|
c = true;
|
|
2196
|
-
const
|
|
2197
|
-
|
|
2198
|
-
const
|
|
2199
|
-
|
|
2218
|
+
const S = d > 0 ? this.getVirtualItemForOffset(this.getScrollOffset()) ?? p[0] : null;
|
|
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);
|
|
2200
2222
|
}
|
|
2201
2223
|
}
|
|
2202
2224
|
this.options = o, c && (this.pendingMin = 0, this.itemSizeCacheVersion++);
|
|
2203
2225
|
let u = false, g = 0;
|
|
2204
|
-
if (
|
|
2205
|
-
const [d, w] =
|
|
2226
|
+
if (l && this.scrollOffset !== null) {
|
|
2227
|
+
const [d, w] = l, p = this.getMeasurements(), { count: b, getItemKey: v } = this.options;
|
|
2206
2228
|
let x = 0;
|
|
2207
2229
|
for (; x < b && v(x) !== d; )
|
|
2208
2230
|
x++;
|
|
2209
2231
|
if (x < b) {
|
|
2210
|
-
const
|
|
2211
|
-
if (
|
|
2212
|
-
const
|
|
2213
|
-
|
|
2232
|
+
const C = p[x];
|
|
2233
|
+
if (C) {
|
|
2234
|
+
const S = C.start + w;
|
|
2235
|
+
S !== this.scrollOffset && (g = S - this.scrollOffset, this.scrollOffset = S, u = true);
|
|
2214
2236
|
}
|
|
2215
2237
|
}
|
|
2216
2238
|
}
|
|
2217
2239
|
(u || a) && (this.pendingScrollAnchor = [
|
|
2218
|
-
u ?
|
|
2219
|
-
u ?
|
|
2240
|
+
u ? l[0] : null,
|
|
2241
|
+
u ? l[1] : 0,
|
|
2220
2242
|
a,
|
|
2221
2243
|
g
|
|
2222
2244
|
]);
|
|
2223
2245
|
}, this.notify = (t) => {
|
|
2224
2246
|
var n, s;
|
|
2225
2247
|
(s = (n = this.options).onChange) == null || s.call(n, this, t);
|
|
2226
|
-
}, this.maybeNotify =
|
|
2248
|
+
}, this.maybeNotify = J(
|
|
2227
2249
|
() => (this.calculateRange(), [
|
|
2228
2250
|
this.isScrolling,
|
|
2229
2251
|
this.range ? this.range.startIndex : null,
|
|
@@ -2260,27 +2282,27 @@ var ei = class {
|
|
|
2260
2282
|
this.scrollRect = o, this.maybeNotify();
|
|
2261
2283
|
})
|
|
2262
2284
|
), this.unsubs.push(
|
|
2263
|
-
this.options.observeElementOffset(this, (o,
|
|
2264
|
-
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();
|
|
2265
2287
|
})
|
|
2266
2288
|
), "addEventListener" in this.scrollElement) {
|
|
2267
|
-
const o = this.scrollElement,
|
|
2289
|
+
const o = this.scrollElement, r = () => {
|
|
2268
2290
|
this._iosTouching = true, this._iosJustTouchEnded = false, this._iosTouchEndTimerId !== null && this.targetWindow != null && (this.targetWindow.clearTimeout(this._iosTouchEndTimerId), this._iosTouchEndTimerId = null);
|
|
2269
|
-
},
|
|
2270
|
-
this._iosTouching = false, !(!
|
|
2291
|
+
}, l = () => {
|
|
2292
|
+
this._iosTouching = false, !(!Ie() || this.targetWindow == null) && (this._iosJustTouchEnded = true, this._iosTouchEndTimerId = this.targetWindow.setTimeout(() => {
|
|
2271
2293
|
this._iosJustTouchEnded = false, this._iosTouchEndTimerId = null, this._flushIosDeferredIfReady();
|
|
2272
2294
|
}, 150));
|
|
2273
2295
|
};
|
|
2274
2296
|
o.addEventListener(
|
|
2275
2297
|
"touchstart",
|
|
2276
|
-
|
|
2277
|
-
|
|
2298
|
+
r,
|
|
2299
|
+
pe
|
|
2278
2300
|
), o.addEventListener(
|
|
2279
2301
|
"touchend",
|
|
2280
|
-
|
|
2281
|
-
|
|
2302
|
+
l,
|
|
2303
|
+
pe
|
|
2282
2304
|
), this.unsubs.push(() => {
|
|
2283
|
-
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);
|
|
2284
2306
|
});
|
|
2285
2307
|
}
|
|
2286
2308
|
this._scrollToOffset(this.getScrollOffset(), {
|
|
@@ -2290,11 +2312,11 @@ var ei = class {
|
|
|
2290
2312
|
}
|
|
2291
2313
|
const s = this.pendingScrollAnchor;
|
|
2292
2314
|
if (this.pendingScrollAnchor = null, s && this.scrollElement && this.options.enabled) {
|
|
2293
|
-
const [o,
|
|
2294
|
-
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(), {
|
|
2295
2317
|
adjustments: void 0,
|
|
2296
2318
|
behavior: void 0
|
|
2297
|
-
})),
|
|
2319
|
+
})), l && this.scrollToEnd({ behavior: l });
|
|
2298
2320
|
}
|
|
2299
2321
|
}, this._flushIosDeferredIfReady = () => {
|
|
2300
2322
|
if (this._iosDeferredAdjustment === 0 || this.isScrolling || this._iosTouching || this._iosJustTouchEnded) return;
|
|
@@ -2307,18 +2329,18 @@ var ei = class {
|
|
|
2307
2329
|
});
|
|
2308
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) => {
|
|
2309
2331
|
const s = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
|
|
2310
|
-
for (let
|
|
2311
|
-
const
|
|
2312
|
-
if (s.has(
|
|
2332
|
+
for (let r = n - 1; r >= 0; r--) {
|
|
2333
|
+
const l = t[r];
|
|
2334
|
+
if (s.has(l.lane))
|
|
2313
2335
|
continue;
|
|
2314
2336
|
const a = o.get(
|
|
2315
|
-
|
|
2337
|
+
l.lane
|
|
2316
2338
|
);
|
|
2317
|
-
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)
|
|
2318
2340
|
break;
|
|
2319
2341
|
}
|
|
2320
|
-
return o.size === this.options.lanes ? Array.from(o.values()).sort((
|
|
2321
|
-
}, this.getMeasurementOptions =
|
|
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;
|
|
2343
|
+
}, this.getMeasurementOptions = J(
|
|
2322
2344
|
() => [
|
|
2323
2345
|
this.options.count,
|
|
2324
2346
|
this.options.paddingStart,
|
|
@@ -2328,31 +2350,31 @@ var ei = class {
|
|
|
2328
2350
|
this.options.lanes,
|
|
2329
2351
|
this.options.laneAssignmentMode
|
|
2330
2352
|
],
|
|
2331
|
-
(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, {
|
|
2332
2354
|
count: t,
|
|
2333
2355
|
paddingStart: n,
|
|
2334
2356
|
scrollMargin: s,
|
|
2335
2357
|
getItemKey: o,
|
|
2336
|
-
enabled:
|
|
2337
|
-
lanes:
|
|
2358
|
+
enabled: r,
|
|
2359
|
+
lanes: l,
|
|
2338
2360
|
laneAssignmentMode: a
|
|
2339
2361
|
}),
|
|
2340
2362
|
{
|
|
2341
2363
|
key: false
|
|
2342
2364
|
}
|
|
2343
|
-
), this.getMeasurements =
|
|
2365
|
+
), this.getMeasurements = J(
|
|
2344
2366
|
() => [this.getMeasurementOptions(), this.itemSizeCacheVersion],
|
|
2345
2367
|
({
|
|
2346
2368
|
count: t,
|
|
2347
2369
|
paddingStart: n,
|
|
2348
2370
|
scrollMargin: s,
|
|
2349
2371
|
getItemKey: o,
|
|
2350
|
-
enabled:
|
|
2351
|
-
lanes:
|
|
2372
|
+
enabled: r,
|
|
2373
|
+
lanes: l,
|
|
2352
2374
|
laneAssignmentMode: a
|
|
2353
2375
|
}, c) => {
|
|
2354
2376
|
const u = this.itemSizeCache;
|
|
2355
|
-
if (!
|
|
2377
|
+
if (!r)
|
|
2356
2378
|
return this.measurementsCache = [], this.itemSizeCache.clear(), this.laneAssignments.clear(), [];
|
|
2357
2379
|
if (this.laneAssignments.size > t)
|
|
2358
2380
|
for (const p of this.laneAssignments.keys())
|
|
@@ -2361,28 +2383,28 @@ var ei = class {
|
|
|
2361
2383
|
this.itemSizeCache.set(p.key, p.size);
|
|
2362
2384
|
}));
|
|
2363
2385
|
const g = this.lanesSettling ? 0 : this.pendingMin ?? 0;
|
|
2364
|
-
if (this.pendingMin = null, this.lanesSettling && this.measurementsCache.length === t && (this.lanesSettling = false),
|
|
2386
|
+
if (this.pendingMin = null, this.lanesSettling && this.measurementsCache.length === t && (this.lanesSettling = false), l === 1) {
|
|
2365
2387
|
const p = this.options.gap, b = t * 2;
|
|
2366
2388
|
let v = this._flatMeasurements;
|
|
2367
2389
|
if (!v || v.length < b) {
|
|
2368
|
-
const
|
|
2369
|
-
v && g > 0 &&
|
|
2390
|
+
const S = new Float64Array(b);
|
|
2391
|
+
v && g > 0 && S.set(v.subarray(0, g * 2)), v = S, this._flatMeasurements = v;
|
|
2370
2392
|
}
|
|
2371
2393
|
let x;
|
|
2372
2394
|
if (g === 0)
|
|
2373
2395
|
x = n + s;
|
|
2374
2396
|
else {
|
|
2375
|
-
const
|
|
2376
|
-
x = v[
|
|
2397
|
+
const S = g - 1;
|
|
2398
|
+
x = v[S * 2] + v[S * 2 + 1] + p;
|
|
2377
2399
|
}
|
|
2378
|
-
for (let
|
|
2379
|
-
const
|
|
2380
|
-
v[
|
|
2400
|
+
for (let S = g; S < t; S++) {
|
|
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;
|
|
2381
2403
|
}
|
|
2382
|
-
const
|
|
2383
|
-
return this.measurementsCache =
|
|
2404
|
+
const C = Xs(t, v, o);
|
|
2405
|
+
return this.measurementsCache = C, C;
|
|
2384
2406
|
}
|
|
2385
|
-
const d = this.measurementsCache.slice(0, g), w = new Array(
|
|
2407
|
+
const d = this.measurementsCache.slice(0, g), w = new Array(l).fill(
|
|
2386
2408
|
void 0
|
|
2387
2409
|
);
|
|
2388
2410
|
for (let p = 0; p < g; p++) {
|
|
@@ -2391,20 +2413,20 @@ var ei = class {
|
|
|
2391
2413
|
}
|
|
2392
2414
|
for (let p = g; p < t; p++) {
|
|
2393
2415
|
const b = o(p), v = this.laneAssignments.get(p);
|
|
2394
|
-
let x,
|
|
2395
|
-
const
|
|
2416
|
+
let x, C;
|
|
2417
|
+
const S = a === "estimate" || u.has(b);
|
|
2396
2418
|
if (v !== void 0 && this.options.lanes > 1) {
|
|
2397
2419
|
x = v;
|
|
2398
|
-
const I = w[x],
|
|
2399
|
-
|
|
2420
|
+
const I = w[x], k = I !== void 0 ? d[I] : void 0;
|
|
2421
|
+
C = k ? k.end + this.options.gap : n + s;
|
|
2400
2422
|
} else {
|
|
2401
2423
|
const I = this.options.lanes === 1 ? d[p - 1] : this.getFurthestMeasurement(d, p);
|
|
2402
|
-
|
|
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);
|
|
2403
2425
|
}
|
|
2404
|
-
const
|
|
2426
|
+
const A = u.get(b), D = typeof A == "number" ? A : this.options.estimateSize(p), _ = C + D;
|
|
2405
2427
|
d[p] = {
|
|
2406
2428
|
index: p,
|
|
2407
|
-
start:
|
|
2429
|
+
start: C,
|
|
2408
2430
|
size: D,
|
|
2409
2431
|
end: _,
|
|
2410
2432
|
key: b,
|
|
@@ -2417,14 +2439,14 @@ var ei = class {
|
|
|
2417
2439
|
key: process.env.NODE_ENV !== "production" && "getMeasurements",
|
|
2418
2440
|
debug: () => this.options.debug
|
|
2419
2441
|
}
|
|
2420
|
-
), this.calculateRange =
|
|
2442
|
+
), this.calculateRange = J(
|
|
2421
2443
|
() => [
|
|
2422
2444
|
this.getMeasurements(),
|
|
2423
2445
|
this.getSize(),
|
|
2424
2446
|
this.getScrollOffset(),
|
|
2425
2447
|
this.options.lanes
|
|
2426
2448
|
],
|
|
2427
|
-
(t, n, s, o) => this.range = t.length > 0 && n > 0 ?
|
|
2449
|
+
(t, n, s, o) => this.range = t.length > 0 && n > 0 ? ai({
|
|
2428
2450
|
measurements: t,
|
|
2429
2451
|
outerSize: n,
|
|
2430
2452
|
scrollOffset: s,
|
|
@@ -2438,7 +2460,7 @@ var ei = class {
|
|
|
2438
2460
|
key: process.env.NODE_ENV !== "production" && "calculateRange",
|
|
2439
2461
|
debug: () => this.options.debug
|
|
2440
2462
|
}
|
|
2441
|
-
), this.getVirtualIndexes =
|
|
2463
|
+
), this.getVirtualIndexes = J(
|
|
2442
2464
|
() => {
|
|
2443
2465
|
let t = null, n = null;
|
|
2444
2466
|
const s = this.calculateRange();
|
|
@@ -2450,9 +2472,9 @@ var ei = class {
|
|
|
2450
2472
|
n
|
|
2451
2473
|
];
|
|
2452
2474
|
},
|
|
2453
|
-
(t, n, s, o,
|
|
2475
|
+
(t, n, s, o, r) => o === null || r === null ? [] : t({
|
|
2454
2476
|
startIndex: o,
|
|
2455
|
-
endIndex:
|
|
2477
|
+
endIndex: r,
|
|
2456
2478
|
overscan: n,
|
|
2457
2479
|
count: s
|
|
2458
2480
|
}),
|
|
@@ -2474,17 +2496,17 @@ var ei = class {
|
|
|
2474
2496
|
const o = Math.max(
|
|
2475
2497
|
this.options.overscan,
|
|
2476
2498
|
Math.ceil((this.range.endIndex - this.range.startIndex) / 2)
|
|
2477
|
-
),
|
|
2499
|
+
), r = Math.max(0, s - o), l = Math.min(
|
|
2478
2500
|
this.options.count - 1,
|
|
2479
2501
|
s + o
|
|
2480
2502
|
);
|
|
2481
|
-
return t >=
|
|
2503
|
+
return t >= r && t <= l;
|
|
2482
2504
|
}
|
|
2483
2505
|
return true;
|
|
2484
2506
|
}, this.measureElement = (t) => {
|
|
2485
2507
|
if (!t) {
|
|
2486
|
-
this.elementsCache.forEach((
|
|
2487
|
-
|
|
2508
|
+
this.elementsCache.forEach((r, l) => {
|
|
2509
|
+
r.isConnected || (this.observer.unobserve(r), this.elementsCache.delete(l));
|
|
2488
2510
|
});
|
|
2489
2511
|
return;
|
|
2490
2512
|
}
|
|
@@ -2493,16 +2515,16 @@ var ei = class {
|
|
|
2493
2515
|
}, this.resizeItem = (t, n) => {
|
|
2494
2516
|
var s, o;
|
|
2495
2517
|
if (t < 0 || t >= this.options.count) return;
|
|
2496
|
-
let
|
|
2518
|
+
let r, l, a;
|
|
2497
2519
|
const c = this._flatMeasurements;
|
|
2498
2520
|
if (this.options.lanes === 1 && c !== null)
|
|
2499
|
-
a = this.options.getItemKey(t),
|
|
2521
|
+
a = this.options.getItemKey(t), l = c[t * 2], r = c[t * 2 + 1];
|
|
2500
2522
|
else {
|
|
2501
2523
|
const d = this.measurementsCache[t];
|
|
2502
2524
|
if (!d) return;
|
|
2503
|
-
a = d.key,
|
|
2525
|
+
a = d.key, l = d.start, r = d.size;
|
|
2504
2526
|
}
|
|
2505
|
-
const u = this.itemSizeCache.get(a) ??
|
|
2527
|
+
const u = this.itemSizeCache.get(a) ?? r, g = n - u;
|
|
2506
2528
|
if (g !== 0) {
|
|
2507
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(
|
|
2508
2530
|
// The callback expects a VirtualItem; build one lazily only
|
|
@@ -2510,9 +2532,9 @@ var ei = class {
|
|
|
2510
2532
|
this.measurementsCache[t] ?? {
|
|
2511
2533
|
index: t,
|
|
2512
2534
|
key: a,
|
|
2513
|
-
start:
|
|
2514
|
-
size:
|
|
2515
|
-
end:
|
|
2535
|
+
start: l,
|
|
2536
|
+
size: r,
|
|
2537
|
+
end: l + r,
|
|
2516
2538
|
lane: 0
|
|
2517
2539
|
},
|
|
2518
2540
|
g,
|
|
@@ -2524,16 +2546,16 @@ var ei = class {
|
|
|
2524
2546
|
// be compensated regardless of scroll direction.
|
|
2525
2547
|
// Re-measurement (has(key)): skip during backward scroll
|
|
2526
2548
|
// to avoid the "items jump while scrolling up" cascade.
|
|
2527
|
-
|
|
2549
|
+
l < this.getScrollOffset() + this.scrollAdjustments && (!this.itemSizeCache.has(a) || this.scrollDirection !== "backward")
|
|
2528
2550
|
));
|
|
2529
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);
|
|
2530
2552
|
}
|
|
2531
|
-
}, this.getVirtualItems =
|
|
2553
|
+
}, this.getVirtualItems = J(
|
|
2532
2554
|
() => [this.getVirtualIndexes(), this.getMeasurements()],
|
|
2533
2555
|
(t, n) => {
|
|
2534
2556
|
const s = [];
|
|
2535
|
-
for (let o = 0,
|
|
2536
|
-
const
|
|
2557
|
+
for (let o = 0, r = t.length; o < r; o++) {
|
|
2558
|
+
const l = t[o], a = n[l];
|
|
2537
2559
|
s.push(a);
|
|
2538
2560
|
}
|
|
2539
2561
|
return s;
|
|
@@ -2546,13 +2568,13 @@ var ei = class {
|
|
|
2546
2568
|
const n = this.getMeasurements();
|
|
2547
2569
|
if (n.length === 0)
|
|
2548
2570
|
return;
|
|
2549
|
-
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(
|
|
2550
2572
|
0,
|
|
2551
2573
|
n.length - 1,
|
|
2552
|
-
o ? (
|
|
2574
|
+
o ? (l) => s[l * 2] : (l) => rt(n[l]).start,
|
|
2553
2575
|
t
|
|
2554
2576
|
);
|
|
2555
|
-
return
|
|
2577
|
+
return rt(n[r]);
|
|
2556
2578
|
}, this.getMaxScrollOffset = () => {
|
|
2557
2579
|
if (!this.scrollElement) return 0;
|
|
2558
2580
|
if ("scrollHeight" in this.scrollElement)
|
|
@@ -2566,35 +2588,35 @@ var ei = class {
|
|
|
2566
2588
|
0
|
|
2567
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) => {
|
|
2568
2590
|
if (!this.scrollElement) return 0;
|
|
2569
|
-
const o = this.getSize(),
|
|
2570
|
-
n === "auto" && (n = t >=
|
|
2571
|
-
const
|
|
2572
|
-
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);
|
|
2573
2595
|
}, this.getOffsetForIndex = (t, n = "auto") => {
|
|
2574
2596
|
t = Math.max(0, Math.min(t, this.options.count - 1));
|
|
2575
|
-
const s = this.getSize(), o = this.getScrollOffset(),
|
|
2576
|
-
if (!
|
|
2597
|
+
const s = this.getSize(), o = this.getScrollOffset(), r = this.measurementsCache[t];
|
|
2598
|
+
if (!r) return;
|
|
2577
2599
|
if (n === "auto")
|
|
2578
|
-
if (
|
|
2600
|
+
if (r.end >= o + s - this.options.scrollPaddingEnd)
|
|
2579
2601
|
n = "end";
|
|
2580
|
-
else if (
|
|
2602
|
+
else if (r.start <= o + this.options.scrollPaddingStart)
|
|
2581
2603
|
n = "start";
|
|
2582
2604
|
else
|
|
2583
2605
|
return [o, n];
|
|
2584
2606
|
if (n === "end" && t === this.options.count - 1)
|
|
2585
2607
|
return [this.getMaxScrollOffset(), n];
|
|
2586
|
-
const
|
|
2608
|
+
const l = n === "end" ? r.end + this.options.scrollPaddingEnd : r.start - this.options.scrollPaddingStart;
|
|
2587
2609
|
return [
|
|
2588
|
-
this.getOffsetForAlignment(
|
|
2610
|
+
this.getOffsetForAlignment(l, n, r.size),
|
|
2589
2611
|
n
|
|
2590
2612
|
];
|
|
2591
2613
|
}, this.scrollToOffset = (t, { align: n = "start", behavior: s = "auto" } = {}) => {
|
|
2592
|
-
const o = this.getOffsetForAlignment(t, n),
|
|
2614
|
+
const o = this.getOffsetForAlignment(t, n), r = this.now();
|
|
2593
2615
|
this.scrollState = {
|
|
2594
2616
|
index: null,
|
|
2595
2617
|
align: n,
|
|
2596
2618
|
behavior: s,
|
|
2597
|
-
startedAt:
|
|
2619
|
+
startedAt: r,
|
|
2598
2620
|
lastTargetOffset: o,
|
|
2599
2621
|
stableFrames: 0
|
|
2600
2622
|
}, this._scrollToOffset(o, { adjustments: void 0, behavior: s }), this.scheduleScrollReconcile();
|
|
@@ -2606,15 +2628,15 @@ var ei = class {
|
|
|
2606
2628
|
const o = this.getOffsetForIndex(t, n);
|
|
2607
2629
|
if (!o)
|
|
2608
2630
|
return;
|
|
2609
|
-
const [
|
|
2631
|
+
const [r, l] = o, a = this.now();
|
|
2610
2632
|
this.scrollState = {
|
|
2611
2633
|
index: t,
|
|
2612
|
-
align:
|
|
2634
|
+
align: l,
|
|
2613
2635
|
behavior: s,
|
|
2614
2636
|
startedAt: a,
|
|
2615
|
-
lastTargetOffset:
|
|
2637
|
+
lastTargetOffset: r,
|
|
2616
2638
|
stableFrames: 0
|
|
2617
|
-
}, this._scrollToOffset(
|
|
2639
|
+
}, this._scrollToOffset(r, { adjustments: void 0, behavior: s }), this.scheduleScrollReconcile();
|
|
2618
2640
|
}, this.scrollBy = (t, { behavior: n = "auto" } = {}) => {
|
|
2619
2641
|
const s = this.getScrollOffset() + t, o = this.now();
|
|
2620
2642
|
this.scrollState = {
|
|
@@ -2643,16 +2665,16 @@ var ei = class {
|
|
|
2643
2665
|
if (n.length === 0)
|
|
2644
2666
|
s = this.options.paddingStart;
|
|
2645
2667
|
else if (this.options.lanes === 1) {
|
|
2646
|
-
const o = n.length - 1,
|
|
2647
|
-
|
|
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;
|
|
2648
2670
|
} else {
|
|
2649
2671
|
const o = Array(this.options.lanes).fill(null);
|
|
2650
|
-
let
|
|
2651
|
-
for (;
|
|
2652
|
-
const
|
|
2653
|
-
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--;
|
|
2654
2676
|
}
|
|
2655
|
-
s = Math.max(...o.filter((
|
|
2677
|
+
s = Math.max(...o.filter((l) => l !== null));
|
|
2656
2678
|
}
|
|
2657
2679
|
return Math.max(
|
|
2658
2680
|
s - this.options.scrollMargin + this.options.paddingEnd,
|
|
@@ -2682,7 +2704,7 @@ var ei = class {
|
|
|
2682
2704
|
}, this.setOptions(i);
|
|
2683
2705
|
}
|
|
2684
2706
|
applyScrollAdjustment(i, t) {
|
|
2685
|
-
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(), {
|
|
2686
2708
|
adjustments: this.scrollAdjustments += i,
|
|
2687
2709
|
behavior: t
|
|
2688
2710
|
}));
|
|
@@ -2702,8 +2724,8 @@ var ei = class {
|
|
|
2702
2724
|
this.scrollState = null;
|
|
2703
2725
|
return;
|
|
2704
2726
|
}
|
|
2705
|
-
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,
|
|
2706
|
-
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())) {
|
|
2707
2729
|
if (this.scrollState.stableFrames++, this.scrollState.stableFrames >= o) {
|
|
2708
2730
|
this.getScrollOffset() !== s && this._scrollToOffset(s, {
|
|
2709
2731
|
adjustments: void 0,
|
|
@@ -2711,8 +2733,8 @@ var ei = class {
|
|
|
2711
2733
|
}), this.scrollState = null;
|
|
2712
2734
|
return;
|
|
2713
2735
|
}
|
|
2714
|
-
} else if (this.scrollState.stableFrames = 0,
|
|
2715
|
-
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;
|
|
2716
2738
|
this.scrollState.lastTargetOffset = s, c || (this.scrollState.behavior = "auto"), this._scrollToOffset(s, {
|
|
2717
2739
|
adjustments: void 0,
|
|
2718
2740
|
behavior: c ? "smooth" : "auto"
|
|
@@ -2721,7 +2743,7 @@ var ei = class {
|
|
|
2721
2743
|
this.scheduleScrollReconcile();
|
|
2722
2744
|
}
|
|
2723
2745
|
};
|
|
2724
|
-
var
|
|
2746
|
+
var Mt = (e, i, t, n) => {
|
|
2725
2747
|
for (; e <= i; ) {
|
|
2726
2748
|
const s = (e + i) / 2 | 0, o = t(s);
|
|
2727
2749
|
if (o < n)
|
|
@@ -2733,22 +2755,22 @@ var kt = (e, i, t, n) => {
|
|
|
2733
2755
|
}
|
|
2734
2756
|
return e > 0 ? e - 1 : 0;
|
|
2735
2757
|
};
|
|
2736
|
-
function
|
|
2758
|
+
function ai({
|
|
2737
2759
|
measurements: e,
|
|
2738
2760
|
outerSize: i,
|
|
2739
2761
|
scrollOffset: t,
|
|
2740
2762
|
lanes: n,
|
|
2741
2763
|
flat: s
|
|
2742
2764
|
}) {
|
|
2743
|
-
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;
|
|
2744
2766
|
if (e.length <= n)
|
|
2745
2767
|
return {
|
|
2746
2768
|
startIndex: 0,
|
|
2747
2769
|
endIndex: o
|
|
2748
2770
|
};
|
|
2749
|
-
let a =
|
|
2771
|
+
let a = Mt(0, o, r, t), c = a;
|
|
2750
2772
|
if (n === 1)
|
|
2751
|
-
for (; c < o &&
|
|
2773
|
+
for (; c < o && l(c) < t + i; )
|
|
2752
2774
|
c++;
|
|
2753
2775
|
else if (n > 1) {
|
|
2754
2776
|
const u = Array(n).fill(0);
|
|
@@ -2765,8 +2787,8 @@ function ti({
|
|
|
2765
2787
|
}
|
|
2766
2788
|
return { startIndex: a, endIndex: c };
|
|
2767
2789
|
}
|
|
2768
|
-
function
|
|
2769
|
-
const i = new
|
|
2790
|
+
function ci(e) {
|
|
2791
|
+
const i = new li((0, import_vue.unref)(e)), t = (0, import_vue.shallowRef)(i), n = i._didMount();
|
|
2770
2792
|
return (0, import_vue.watch)(
|
|
2771
2793
|
() => (0, import_vue.unref)(e).getScrollElement(),
|
|
2772
2794
|
(s) => {
|
|
@@ -2780,9 +2802,9 @@ function ni(e) {
|
|
|
2780
2802
|
(s) => {
|
|
2781
2803
|
i.setOptions({
|
|
2782
2804
|
...s,
|
|
2783
|
-
onChange: (o,
|
|
2784
|
-
var
|
|
2785
|
-
(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);
|
|
2786
2808
|
}
|
|
2787
2809
|
}), i._willUpdate(), (0, import_vue.triggerRef)(t);
|
|
2788
2810
|
},
|
|
@@ -2791,24 +2813,17 @@ function ni(e) {
|
|
|
2791
2813
|
}
|
|
2792
2814
|
), (0, import_vue.onScopeDispose)(n), t;
|
|
2793
2815
|
}
|
|
2794
|
-
function
|
|
2795
|
-
return
|
|
2816
|
+
function ui(e) {
|
|
2817
|
+
return ci(
|
|
2796
2818
|
(0, import_vue.computed)(() => ({
|
|
2797
|
-
observeElementRect:
|
|
2798
|
-
observeElementOffset:
|
|
2799
|
-
scrollToFn:
|
|
2819
|
+
observeElementRect: ei,
|
|
2820
|
+
observeElementOffset: si,
|
|
2821
|
+
scrollToFn: ri,
|
|
2800
2822
|
...(0, import_vue.unref)(e)
|
|
2801
2823
|
}))
|
|
2802
2824
|
);
|
|
2803
2825
|
}
|
|
2804
|
-
|
|
2805
|
-
return {
|
|
2806
|
-
instances: at,
|
|
2807
|
-
requests: qe,
|
|
2808
|
-
getRequestsByInstance: Nt
|
|
2809
|
-
};
|
|
2810
|
-
}
|
|
2811
|
-
var oi = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
2826
|
+
var di = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
2812
2827
|
__name: "Badge",
|
|
2813
2828
|
props: {
|
|
2814
2829
|
label: {},
|
|
@@ -2830,7 +2845,7 @@ var oi = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
2830
2845
|
}, (0, import_vue.toDisplayString)(e.label), 3));
|
|
2831
2846
|
}
|
|
2832
2847
|
});
|
|
2833
|
-
var
|
|
2848
|
+
var hi = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
2834
2849
|
__name: "StatusBadge",
|
|
2835
2850
|
props: {
|
|
2836
2851
|
status: {},
|
|
@@ -2843,31 +2858,31 @@ var li = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
2843
2858
|
pending: "pending",
|
|
2844
2859
|
aborted: "aborted"
|
|
2845
2860
|
};
|
|
2846
|
-
return (t, n) => ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(
|
|
2861
|
+
return (t, n) => ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(di, {
|
|
2847
2862
|
label: e.statusCode ? String(e.statusCode) : e.status,
|
|
2848
2863
|
variant: i[e.status]
|
|
2849
2864
|
}, null, 8, ["label", "variant"]));
|
|
2850
2865
|
}
|
|
2851
2866
|
});
|
|
2852
|
-
var
|
|
2867
|
+
var fi = {
|
|
2853
2868
|
key: 0,
|
|
2854
2869
|
class: "feature-badges"
|
|
2855
2870
|
};
|
|
2856
|
-
var
|
|
2871
|
+
var pi = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
2857
2872
|
__name: "FeatureBadges",
|
|
2858
2873
|
props: {
|
|
2859
2874
|
options: {}
|
|
2860
2875
|
},
|
|
2861
2876
|
setup(e) {
|
|
2862
2877
|
const i = e, t = (0, import_vue.computed)(() => {
|
|
2863
|
-
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;
|
|
2864
2879
|
if (s) {
|
|
2865
2880
|
const g = typeof s == "string" ? s : s.id;
|
|
2866
2881
|
n.push({ key: "cache", label: "cache", sub: g, variant: "cache" }), typeof s == "object" && s.swr && n.push({ key: "swr", label: "swr", variant: "swr" });
|
|
2867
2882
|
}
|
|
2868
|
-
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;
|
|
2869
2884
|
});
|
|
2870
|
-
return (n, s) => t.value.length ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div",
|
|
2885
|
+
return (n, s) => t.value.length ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", fi, [
|
|
2871
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", {
|
|
2872
2887
|
key: o.key,
|
|
2873
2888
|
class: (0, import_vue.normalizeClass)(["badge", `badge--${o.variant}`])
|
|
@@ -2881,14 +2896,14 @@ var ai = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
2881
2896
|
])) : (0, import_vue.createCommentVNode)("", true);
|
|
2882
2897
|
}
|
|
2883
2898
|
});
|
|
2884
|
-
var
|
|
2885
|
-
var
|
|
2886
|
-
var
|
|
2887
|
-
var
|
|
2888
|
-
var
|
|
2889
|
-
var
|
|
2890
|
-
var
|
|
2891
|
-
var
|
|
2899
|
+
var Ct = /* @__PURE__ */ j(pi, [["__scopeId", "data-v-99118e1d"]]);
|
|
2900
|
+
var mi = { class: "row-body" };
|
|
2901
|
+
var vi = { class: "row-top" };
|
|
2902
|
+
var gi = { class: "row-url" };
|
|
2903
|
+
var yi = { class: "row-meta" };
|
|
2904
|
+
var bi = { class: "meta-duration" };
|
|
2905
|
+
var wi = { class: "meta-time" };
|
|
2906
|
+
var Si = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
2892
2907
|
__name: "RequestRow",
|
|
2893
2908
|
props: {
|
|
2894
2909
|
request: {},
|
|
@@ -2911,31 +2926,31 @@ var mi = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
2911
2926
|
(0, import_vue.createElementVNode)("div", {
|
|
2912
2927
|
class: (0, import_vue.normalizeClass)(["accent-bar", `accent-bar--${e.request.status}`])
|
|
2913
2928
|
}, null, 2),
|
|
2914
|
-
(0, import_vue.createElementVNode)("div",
|
|
2915
|
-
(0, import_vue.createElementVNode)("div",
|
|
2929
|
+
(0, import_vue.createElementVNode)("div", mi, [
|
|
2930
|
+
(0, import_vue.createElementVNode)("div", vi, [
|
|
2916
2931
|
(0, import_vue.createElementVNode)("span", {
|
|
2917
2932
|
class: (0, import_vue.normalizeClass)(["method-badge", `method-${e.request.method.toLowerCase()}`])
|
|
2918
2933
|
}, (0, import_vue.toDisplayString)(e.request.method), 3),
|
|
2919
|
-
(0, import_vue.createElementVNode)("span",
|
|
2920
|
-
e.instanceOptions ? ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(
|
|
2934
|
+
(0, import_vue.createElementVNode)("span", gi, (0, import_vue.toDisplayString)(e.request.url), 1),
|
|
2935
|
+
e.instanceOptions ? ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(Ct, {
|
|
2921
2936
|
key: 0,
|
|
2922
2937
|
options: e.instanceOptions
|
|
2923
2938
|
}, null, 8, ["options"])) : (0, import_vue.createCommentVNode)("", true)
|
|
2924
2939
|
]),
|
|
2925
|
-
(0, import_vue.createElementVNode)("div",
|
|
2926
|
-
(0, import_vue.createVNode)(
|
|
2940
|
+
(0, import_vue.createElementVNode)("div", yi, [
|
|
2941
|
+
(0, import_vue.createVNode)(hi, {
|
|
2927
2942
|
status: e.request.status,
|
|
2928
2943
|
"status-code": e.request.statusCode
|
|
2929
2944
|
}, null, 8, ["status", "status-code"]),
|
|
2930
|
-
(0, import_vue.createElementVNode)("span",
|
|
2931
|
-
(0, import_vue.createElementVNode)("span",
|
|
2945
|
+
(0, import_vue.createElementVNode)("span", bi, (0, import_vue.toDisplayString)(i(e.request.duration)), 1),
|
|
2946
|
+
(0, import_vue.createElementVNode)("span", wi, (0, import_vue.toDisplayString)(t(e.request.startedAt)), 1)
|
|
2932
2947
|
])
|
|
2933
2948
|
])
|
|
2934
2949
|
], 2));
|
|
2935
2950
|
}
|
|
2936
2951
|
});
|
|
2937
|
-
var
|
|
2938
|
-
var
|
|
2952
|
+
var xi = /* @__PURE__ */ j(Si, [["__scopeId", "data-v-e5492c3f"]]);
|
|
2953
|
+
var ki = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
2939
2954
|
__name: "RequestList",
|
|
2940
2955
|
props: {
|
|
2941
2956
|
requests: {},
|
|
@@ -2943,49 +2958,43 @@ var gi = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
2943
2958
|
},
|
|
2944
2959
|
emits: ["select"],
|
|
2945
2960
|
setup(e) {
|
|
2946
|
-
const i = e,
|
|
2947
|
-
function n(l) {
|
|
2948
|
-
var r;
|
|
2949
|
-
if (l)
|
|
2950
|
-
return (r = t.value.get(l)) == null ? void 0 : r.options;
|
|
2951
|
-
}
|
|
2952
|
-
const s = (0, import_vue.ref)(null), o = si(
|
|
2961
|
+
const i = e, t = (0, import_vue.ref)(null), n = ui(
|
|
2953
2962
|
(0, import_vue.computed)(() => ({
|
|
2954
2963
|
count: i.requests.length,
|
|
2955
|
-
getScrollElement: () =>
|
|
2964
|
+
getScrollElement: () => t.value,
|
|
2956
2965
|
estimateSize: () => 52,
|
|
2957
2966
|
overscan: 10
|
|
2958
2967
|
}))
|
|
2959
2968
|
);
|
|
2960
|
-
return (
|
|
2969
|
+
return (s, o) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", {
|
|
2961
2970
|
ref_key: "parentRef",
|
|
2962
|
-
ref:
|
|
2971
|
+
ref: t,
|
|
2963
2972
|
style: { flex: "1", overflow: "auto", background: "var(--dt-background)" }
|
|
2964
2973
|
}, [
|
|
2965
2974
|
(0, import_vue.createElementVNode)("div", {
|
|
2966
|
-
style: (0, import_vue.normalizeStyle)({ height: `${(0, import_vue.unref)(
|
|
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)(
|
|
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
|
-
(0, import_vue.createVNode)(
|
|
2973
|
-
request: e.requests[
|
|
2974
|
-
"is-active": e.requests[
|
|
2975
|
-
"instance-options":
|
|
2976
|
-
onSelect:
|
|
2981
|
+
(0, import_vue.createVNode)(xi, {
|
|
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
|
|
2985
|
-
var
|
|
2986
|
-
var
|
|
2987
|
-
var
|
|
2988
|
-
var
|
|
2992
|
+
var Ii = { class: "detail-header" };
|
|
2993
|
+
var _i = { class: "req-method" };
|
|
2994
|
+
var Ei = ["title"];
|
|
2995
|
+
var Ti = { class: "req-meta" };
|
|
2996
|
+
var Mi = { key: 0 };
|
|
2997
|
+
var Ci = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
2989
2998
|
__name: "DetailHeader",
|
|
2990
2999
|
props: {
|
|
2991
3000
|
request: {},
|
|
@@ -2996,21 +3005,21 @@ var ki = /* @__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
|
|
3007
|
-
}, (0, import_vue.toDisplayString)(e.request.url), 9,
|
|
3008
|
-
e.instanceOptions ? ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(
|
|
3016
|
+
}, (0, import_vue.toDisplayString)(e.request.url), 9, Ei),
|
|
3017
|
+
e.instanceOptions ? ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(Ct, {
|
|
3009
3018
|
key: 0,
|
|
3010
3019
|
options: e.instanceOptions
|
|
3011
3020
|
}, null, 8, ["options"])) : (0, import_vue.createCommentVNode)("", true),
|
|
3012
|
-
(0, import_vue.createElementVNode)("div",
|
|
3013
|
-
e.request.duration !== null ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("span",
|
|
3021
|
+
(0, import_vue.createElementVNode)("div", Ti, [
|
|
3022
|
+
e.request.duration !== null ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("span", Mi, (0, import_vue.toDisplayString)(e.request.duration) + "ms", 1)) : (0, import_vue.createCommentVNode)("", true),
|
|
3014
3023
|
(0, import_vue.createElementVNode)("span", null, (0, import_vue.toDisplayString)(new Date(e.request.startedAt).toLocaleTimeString()), 1)
|
|
3015
3024
|
]),
|
|
3016
3025
|
(0, import_vue.createElementVNode)("button", {
|
|
@@ -3018,7 +3027,7 @@ var ki = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3018
3027
|
"aria-label": "Close detail",
|
|
3019
3028
|
onClick: n[0] || (n[0] = (s) => t.$emit("close"))
|
|
3020
3029
|
}, [
|
|
3021
|
-
(0, import_vue.createVNode)((0, import_vue.unref)(
|
|
3030
|
+
(0, import_vue.createVNode)((0, import_vue.unref)(ce), {
|
|
3022
3031
|
icon: "lucide:x",
|
|
3023
3032
|
width: "14",
|
|
3024
3033
|
height: "14"
|
|
@@ -3027,13 +3036,14 @@ var ki = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3027
3036
|
]));
|
|
3028
3037
|
}
|
|
3029
3038
|
});
|
|
3030
|
-
var
|
|
3031
|
-
var
|
|
3032
|
-
var
|
|
3033
|
-
var
|
|
3039
|
+
var Oi = /* @__PURE__ */ j(Ci, [["__scopeId", "data-v-ee649b7a"]]);
|
|
3040
|
+
var zi = { class: "detail-tabs" };
|
|
3041
|
+
var Ai = ["onClick"];
|
|
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) {
|
|
@@ -3043,18 +3053,21 @@ var Ti = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3043
3053
|
{ id: "response", label: "Response" },
|
|
3044
3054
|
{ id: "headers", label: "Headers" }
|
|
3045
3055
|
];
|
|
3046
|
-
return (t, n) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div",
|
|
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,
|
|
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
|
|
3057
|
-
var
|
|
3068
|
+
var $i = /* @__PURE__ */ j(qi, [["__scopeId", "data-v-21fda150"]]);
|
|
3069
|
+
var Li = ["innerHTML"];
|
|
3070
|
+
var Fi = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
3058
3071
|
__name: "JsonViewer",
|
|
3059
3072
|
props: {
|
|
3060
3073
|
value: {}
|
|
@@ -3077,22 +3090,22 @@ var Oi = /* @__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
|
-
var
|
|
3084
|
-
var
|
|
3085
|
-
var
|
|
3096
|
+
var Ce = /* @__PURE__ */ j(Fi, [["__scopeId", "data-v-4994acd4"]]);
|
|
3097
|
+
var Pi = { class: "tree-node" };
|
|
3098
|
+
var Ri = {
|
|
3086
3099
|
key: 0,
|
|
3087
3100
|
class: "tree-key"
|
|
3088
3101
|
};
|
|
3089
|
-
var
|
|
3102
|
+
var ji = {
|
|
3090
3103
|
key: 1,
|
|
3091
3104
|
class: "tree-colon"
|
|
3092
3105
|
};
|
|
3093
|
-
var
|
|
3094
|
-
var
|
|
3095
|
-
|
|
3106
|
+
var Di = { name: "TreeNode" };
|
|
3107
|
+
var Vi = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
3108
|
+
...Di,
|
|
3096
3109
|
props: {
|
|
3097
3110
|
nodeKey: {},
|
|
3098
3111
|
value: {},
|
|
@@ -3101,13 +3114,13 @@ var Li = /* @__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
|
}
|
|
3108
3121
|
return (g, d) => {
|
|
3109
3122
|
const w = (0, import_vue.resolveComponent)("TreeNode", true);
|
|
3110
|
-
return (0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div",
|
|
3123
|
+
return (0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", Pi, [
|
|
3111
3124
|
(0, import_vue.createElementVNode)("div", {
|
|
3112
3125
|
class: "tree-row",
|
|
3113
3126
|
style: (0, import_vue.normalizeStyle)({ paddingLeft: c.value + "px" })
|
|
@@ -3117,8 +3130,8 @@ var Li = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3117
3130
|
style: (0, import_vue.normalizeStyle)({ visibility: n.value ? "visible" : "hidden" }),
|
|
3118
3131
|
onClick: u
|
|
3119
3132
|
}, null, 6),
|
|
3120
|
-
e.nodeKey !== null ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("span",
|
|
3121
|
-
e.nodeKey !== null ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("span",
|
|
3133
|
+
e.nodeKey !== null ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("span", Ri, (0, import_vue.toDisplayString)(e.nodeKey), 1)) : (0, import_vue.createCommentVNode)("", true),
|
|
3134
|
+
e.nodeKey !== null ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("span", ji, ":")) : (0, import_vue.createCommentVNode)("", true),
|
|
3122
3135
|
n.value ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("span", {
|
|
3123
3136
|
key: 2,
|
|
3124
3137
|
class: "tree-badge",
|
|
@@ -3126,9 +3139,9 @@ var Li = /* @__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
3147
|
value: b,
|
|
@@ -3138,48 +3151,60 @@ var Li = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3138
3151
|
};
|
|
3139
3152
|
}
|
|
3140
3153
|
});
|
|
3141
|
-
var
|
|
3142
|
-
var
|
|
3143
|
-
var
|
|
3154
|
+
var Ni = /* @__PURE__ */ j(Vi, [["__scopeId", "data-v-e08fddee"]]);
|
|
3155
|
+
var Wi = { class: "tree-viewer" };
|
|
3156
|
+
var Hi = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
3144
3157
|
__name: "TreeViewer",
|
|
3145
3158
|
props: {
|
|
3146
3159
|
value: {}
|
|
3147
3160
|
},
|
|
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
|
-
return (n, s) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div",
|
|
3151
|
-
((0, import_vue.openBlock)(true), (0, import_vue.createElementBlock)(import_vue.Fragment, null, (0, import_vue.renderList)(t.value, ([o,
|
|
3163
|
+
return (n, s) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", Wi, [
|
|
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
|
]));
|
|
3158
3171
|
}
|
|
3159
3172
|
});
|
|
3160
|
-
var
|
|
3161
|
-
var
|
|
3162
|
-
var
|
|
3163
|
-
var
|
|
3164
|
-
var
|
|
3165
|
-
|
|
3173
|
+
var Oe = /* @__PURE__ */ j(Hi, [["__scopeId", "data-v-f9bec403"]]);
|
|
3174
|
+
var Bi = { class: "data-pane" };
|
|
3175
|
+
var Ki = { class: "pane-header" };
|
|
3176
|
+
var Ui = { class: "pane-title" };
|
|
3177
|
+
var Ji = {
|
|
3178
|
+
key: 0,
|
|
3179
|
+
class: "error-banner"
|
|
3180
|
+
};
|
|
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
|
-
var
|
|
3191
|
+
var at = (0, import_vue.ref)("json");
|
|
3192
|
+
var ct = false;
|
|
3193
|
+
var Zi = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
3170
3194
|
__name: "DataPane",
|
|
3171
3195
|
props: {
|
|
3172
3196
|
title: {},
|
|
3173
3197
|
data: {},
|
|
3174
|
-
truncated: { type: Boolean }
|
|
3198
|
+
truncated: { type: Boolean },
|
|
3199
|
+
error: {}
|
|
3175
3200
|
},
|
|
3176
3201
|
setup(e) {
|
|
3177
|
-
const i = e, t =
|
|
3178
|
-
(
|
|
3179
|
-
|
|
3180
|
-
});
|
|
3202
|
+
const i = e, t = at;
|
|
3203
|
+
ct || (ct = true, gn().then((o) => {
|
|
3204
|
+
at.value = o;
|
|
3205
|
+
}));
|
|
3181
3206
|
async function n() {
|
|
3182
|
-
t.value = t.value === "kv" ? "json" : "kv", await
|
|
3207
|
+
t.value = t.value === "kv" ? "json" : "kv", await yn(t.value);
|
|
3183
3208
|
}
|
|
3184
3209
|
async function s() {
|
|
3185
3210
|
try {
|
|
@@ -3187,11 +3212,11 @@ var Hi = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3187
3212
|
} catch {
|
|
3188
3213
|
}
|
|
3189
3214
|
}
|
|
3190
|
-
return (o,
|
|
3191
|
-
(0, import_vue.createElementVNode)("div",
|
|
3192
|
-
(0, import_vue.createElementVNode)("span",
|
|
3215
|
+
return (o, r) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", Bi, [
|
|
3216
|
+
(0, import_vue.createElementVNode)("div", Ki, [
|
|
3217
|
+
(0, import_vue.createElementVNode)("span", Ui, (0, import_vue.toDisplayString)(e.title), 1),
|
|
3193
3218
|
(0, import_vue.createElementVNode)("button", {
|
|
3194
|
-
class: (0, import_vue.normalizeClass)(["pane-action", { "pane-action--active": t
|
|
3219
|
+
class: (0, import_vue.normalizeClass)(["pane-action", { "pane-action--active": (0, import_vue.unref)(t) === "kv" }]),
|
|
3195
3220
|
onClick: n
|
|
3196
3221
|
}, "KV", 2),
|
|
3197
3222
|
(0, import_vue.createElementVNode)("button", {
|
|
@@ -3199,12 +3224,16 @@ var Hi = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3199
3224
|
onClick: s
|
|
3200
3225
|
}, "Copy")
|
|
3201
3226
|
]),
|
|
3202
|
-
(0, import_vue.
|
|
3203
|
-
e.
|
|
3204
|
-
|
|
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),
|
|
3233
|
+
(0, import_vue.unref)(t) === "json" ? ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(Ce, {
|
|
3205
3234
|
key: 1,
|
|
3206
3235
|
value: e.data
|
|
3207
|
-
}, null, 8, ["value"])) : ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(
|
|
3236
|
+
}, null, 8, ["value"])) : ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(Oe, {
|
|
3208
3237
|
key: 2,
|
|
3209
3238
|
value: e.data
|
|
3210
3239
|
}, null, 8, ["value"]))
|
|
@@ -3212,35 +3241,37 @@ var Hi = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3212
3241
|
]));
|
|
3213
3242
|
}
|
|
3214
3243
|
});
|
|
3215
|
-
var
|
|
3216
|
-
var
|
|
3217
|
-
var
|
|
3218
|
-
var
|
|
3219
|
-
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 = {
|
|
3220
3249
|
key: 0,
|
|
3221
3250
|
class: "section-count"
|
|
3222
3251
|
};
|
|
3223
|
-
var
|
|
3252
|
+
var io = {
|
|
3224
3253
|
key: 0,
|
|
3225
3254
|
class: "section-body"
|
|
3226
3255
|
};
|
|
3227
|
-
var
|
|
3256
|
+
var oo = {
|
|
3228
3257
|
key: 1,
|
|
3229
3258
|
class: "section-empty"
|
|
3230
3259
|
};
|
|
3231
|
-
var
|
|
3260
|
+
var ro = {
|
|
3232
3261
|
key: 2,
|
|
3233
3262
|
class: "section-body"
|
|
3234
3263
|
};
|
|
3235
|
-
var
|
|
3264
|
+
var lo = {
|
|
3236
3265
|
key: 0,
|
|
3237
3266
|
class: "truncated-warning"
|
|
3238
3267
|
};
|
|
3239
|
-
var
|
|
3268
|
+
var ao = {
|
|
3240
3269
|
key: 3,
|
|
3241
3270
|
class: "section-empty"
|
|
3242
3271
|
};
|
|
3243
|
-
var
|
|
3272
|
+
var ut = (0, import_vue.ref)("kv");
|
|
3273
|
+
var dt = false;
|
|
3274
|
+
var co = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
3244
3275
|
__name: "PayloadPane",
|
|
3245
3276
|
props: {
|
|
3246
3277
|
queryParams: {},
|
|
@@ -3248,12 +3279,13 @@ var eo = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3248
3279
|
truncated: { type: Boolean }
|
|
3249
3280
|
},
|
|
3250
3281
|
setup(e) {
|
|
3251
|
-
const i = e, t =
|
|
3252
|
-
(
|
|
3253
|
-
|
|
3254
|
-
});
|
|
3255
|
-
|
|
3256
|
-
|
|
3282
|
+
const i = e, t = ut;
|
|
3283
|
+
dt || (dt = true, mn().then((c) => {
|
|
3284
|
+
ut.value = c;
|
|
3285
|
+
}));
|
|
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() {
|
|
3288
|
+
t.value = t.value === "kv" ? "json" : "kv", await vn(t.value);
|
|
3257
3289
|
}
|
|
3258
3290
|
async function a() {
|
|
3259
3291
|
try {
|
|
@@ -3261,65 +3293,66 @@ var eo = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3261
3293
|
} catch {
|
|
3262
3294
|
}
|
|
3263
3295
|
}
|
|
3264
|
-
return (c, u) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div",
|
|
3265
|
-
(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, [
|
|
3266
3298
|
u[0] || (u[0] = (0, import_vue.createElementVNode)("span", { class: "pane-title" }, "PAYLOAD", -1)),
|
|
3267
3299
|
(0, import_vue.createElementVNode)("button", {
|
|
3268
|
-
class: (0, import_vue.normalizeClass)(["pane-action", { "pane-action--active": t
|
|
3269
|
-
onClick:
|
|
3300
|
+
class: (0, import_vue.normalizeClass)(["pane-action", { "pane-action--active": (0, import_vue.unref)(t) === "kv" }]),
|
|
3301
|
+
onClick: l
|
|
3270
3302
|
}, "KV", 2),
|
|
3271
3303
|
(0, import_vue.createElementVNode)("button", {
|
|
3272
3304
|
class: "pane-action",
|
|
3273
3305
|
onClick: a
|
|
3274
3306
|
}, "Copy")
|
|
3275
3307
|
]),
|
|
3276
|
-
(0, import_vue.createElementVNode)("div",
|
|
3308
|
+
(0, import_vue.createElementVNode)("div", no, [
|
|
3277
3309
|
u[1] || (u[1] = (0, import_vue.createElementVNode)("span", null, "Query Params", -1)),
|
|
3278
|
-
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)
|
|
3279
3311
|
]),
|
|
3280
|
-
s.value ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div",
|
|
3281
|
-
t
|
|
3312
|
+
s.value ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", io, [
|
|
3313
|
+
(0, import_vue.unref)(t) === "kv" ? ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(Oe, {
|
|
3282
3314
|
key: 0,
|
|
3283
3315
|
value: e.queryParams
|
|
3284
|
-
}, null, 8, ["value"])) : ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(
|
|
3316
|
+
}, null, 8, ["value"])) : ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(Ce, {
|
|
3285
3317
|
key: 1,
|
|
3286
3318
|
value: e.queryParams
|
|
3287
3319
|
}, null, 8, ["value"]))
|
|
3288
|
-
])) : ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("p",
|
|
3320
|
+
])) : ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("p", oo, "No params")),
|
|
3289
3321
|
u[2] || (u[2] = (0, import_vue.createElementVNode)("div", { class: "section-divider" }, null, -1)),
|
|
3290
3322
|
u[3] || (u[3] = (0, import_vue.createElementVNode)("div", { class: "section-label" }, [
|
|
3291
3323
|
(0, import_vue.createElementVNode)("span", null, "Body")
|
|
3292
3324
|
], -1)),
|
|
3293
|
-
|
|
3294
|
-
e.truncated ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("p",
|
|
3295
|
-
t
|
|
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),
|
|
3327
|
+
(0, import_vue.unref)(t) === "kv" ? ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(Oe, {
|
|
3296
3328
|
key: 1,
|
|
3297
3329
|
value: e.payload
|
|
3298
|
-
}, null, 8, ["value"])) : ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(
|
|
3330
|
+
}, null, 8, ["value"])) : ((0, import_vue.openBlock)(), (0, import_vue.createBlock)(Ce, {
|
|
3299
3331
|
key: 2,
|
|
3300
3332
|
value: e.payload
|
|
3301
3333
|
}, null, 8, ["value"]))
|
|
3302
|
-
])) : ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("p",
|
|
3334
|
+
])) : ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("p", ao, "No body"))
|
|
3303
3335
|
]));
|
|
3304
3336
|
}
|
|
3305
3337
|
});
|
|
3306
|
-
var
|
|
3307
|
-
var
|
|
3308
|
-
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)({
|
|
3309
3341
|
__name: "SplitView",
|
|
3310
3342
|
props: {
|
|
3311
3343
|
request: {}
|
|
3312
3344
|
},
|
|
3313
3345
|
setup(e) {
|
|
3314
|
-
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);
|
|
3315
3347
|
let o = null;
|
|
3316
|
-
(0, import_vue.watch)(t, () => {
|
|
3317
|
-
|
|
3348
|
+
(0, import_vue.watch)(t, async (l) => {
|
|
3349
|
+
const a = l ? await Ke() : await Be();
|
|
3350
|
+
n.value = a ?? null;
|
|
3318
3351
|
}), (0, import_vue.onMounted)(async () => {
|
|
3319
|
-
const
|
|
3320
|
-
|
|
3352
|
+
const l = t.value ? await Ke() : await Be();
|
|
3353
|
+
l !== void 0 && (n.value = l);
|
|
3321
3354
|
});
|
|
3322
|
-
function l
|
|
3355
|
+
function r(l) {
|
|
3323
3356
|
const a = s.value;
|
|
3324
3357
|
if (a) {
|
|
3325
3358
|
if (t.value) {
|
|
@@ -3327,9 +3360,9 @@ var no = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3327
3360
|
const p = a.offsetHeight - 80 - 5;
|
|
3328
3361
|
n.value = Math.max(80, Math.min(d + (w.clientY - g), p));
|
|
3329
3362
|
}, u = function() {
|
|
3330
|
-
window.removeEventListener("mousemove", c), window.removeEventListener("mouseup", u), o = null;
|
|
3363
|
+
window.removeEventListener("mousemove", c), window.removeEventListener("mouseup", u), o = null, pn(n.value);
|
|
3331
3364
|
};
|
|
3332
|
-
const g =
|
|
3365
|
+
const g = l.clientY, d = n.value ?? a.offsetHeight / 2;
|
|
3333
3366
|
window.addEventListener("mousemove", c), window.addEventListener("mouseup", u), o = () => {
|
|
3334
3367
|
window.removeEventListener("mousemove", c), window.removeEventListener("mouseup", u);
|
|
3335
3368
|
};
|
|
@@ -3338,19 +3371,19 @@ var no = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3338
3371
|
const p = a.offsetWidth - 120 - 5;
|
|
3339
3372
|
n.value = Math.max(120, Math.min(d + (w.clientX - g), p));
|
|
3340
3373
|
}, u = function() {
|
|
3341
|
-
window.removeEventListener("mousemove", c), window.removeEventListener("mouseup", u), o = null,
|
|
3374
|
+
window.removeEventListener("mousemove", c), window.removeEventListener("mouseup", u), o = null, fn(n.value);
|
|
3342
3375
|
};
|
|
3343
|
-
const g =
|
|
3376
|
+
const g = l.clientX, d = n.value ?? a.offsetWidth / 2;
|
|
3344
3377
|
window.addEventListener("mousemove", c), window.addEventListener("mouseup", u), o = () => {
|
|
3345
3378
|
window.removeEventListener("mousemove", c), window.removeEventListener("mouseup", u);
|
|
3346
3379
|
};
|
|
3347
3380
|
}
|
|
3348
|
-
|
|
3381
|
+
l.preventDefault();
|
|
3349
3382
|
}
|
|
3350
3383
|
}
|
|
3351
3384
|
return (0, import_vue.onScopeDispose)(() => {
|
|
3352
3385
|
o == null || o();
|
|
3353
|
-
}), (
|
|
3386
|
+
}), (l, a) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", {
|
|
3354
3387
|
ref_key: "splitRef",
|
|
3355
3388
|
ref: s,
|
|
3356
3389
|
class: (0, import_vue.normalizeClass)(["split-view", t.value ? "split-view--stacked" : "split-view--row"])
|
|
@@ -3359,7 +3392,7 @@ var no = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3359
3392
|
class: "split-pane",
|
|
3360
3393
|
style: (0, import_vue.normalizeStyle)(n.value !== null ? t.value ? { flex: "none", height: n.value + "px" } : { flex: "none", width: n.value + "px" } : {})
|
|
3361
3394
|
}, [
|
|
3362
|
-
(0, import_vue.createVNode)(
|
|
3395
|
+
(0, import_vue.createVNode)(zt, {
|
|
3363
3396
|
"query-params": e.request.queryParams,
|
|
3364
3397
|
payload: e.request.payload,
|
|
3365
3398
|
truncated: e.request.truncated
|
|
@@ -3367,32 +3400,30 @@ var no = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3367
3400
|
], 4),
|
|
3368
3401
|
(0, import_vue.createElementVNode)("div", {
|
|
3369
3402
|
class: (0, import_vue.normalizeClass)(["split-handle", t.value ? "split-handle--h" : "split-handle--v"]),
|
|
3370
|
-
onMousedown:
|
|
3403
|
+
onMousedown: r
|
|
3371
3404
|
}, null, 34),
|
|
3372
|
-
(0, import_vue.createElementVNode)("div",
|
|
3373
|
-
(0, import_vue.createVNode)(
|
|
3405
|
+
(0, import_vue.createElementVNode)("div", uo, [
|
|
3406
|
+
(0, import_vue.createVNode)(Ot, {
|
|
3374
3407
|
title: "Response",
|
|
3375
3408
|
data: e.request.response,
|
|
3376
|
-
truncated: e.request.truncated
|
|
3377
|
-
|
|
3409
|
+
truncated: e.request.truncated,
|
|
3410
|
+
error: e.request.error
|
|
3411
|
+
}, null, 8, ["data", "truncated", "error"])
|
|
3378
3412
|
])
|
|
3379
3413
|
], 2));
|
|
3380
3414
|
}
|
|
3381
3415
|
});
|
|
3382
|
-
var
|
|
3383
|
-
var
|
|
3384
|
-
var
|
|
3385
|
-
var
|
|
3386
|
-
|
|
3387
|
-
|
|
3388
|
-
|
|
3389
|
-
var ro = { class: "header-key" };
|
|
3390
|
-
var ao = { class: "header-val" };
|
|
3391
|
-
var co = {
|
|
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 = {
|
|
3392
3423
|
key: 0,
|
|
3393
3424
|
class: "empty-msg"
|
|
3394
3425
|
};
|
|
3395
|
-
var
|
|
3426
|
+
var wo = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
3396
3427
|
__name: "RequestDetail",
|
|
3397
3428
|
props: {
|
|
3398
3429
|
request: {},
|
|
@@ -3401,53 +3432,61 @@ var uo = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3401
3432
|
emits: ["close"],
|
|
3402
3433
|
setup(e) {
|
|
3403
3434
|
const i = (0, import_vue.ref)("split");
|
|
3404
|
-
return (t, n) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div",
|
|
3405
|
-
(0, import_vue.createVNode)(
|
|
3435
|
+
return (t, n) => ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", po, [
|
|
3436
|
+
(0, import_vue.createVNode)(Oi, {
|
|
3406
3437
|
request: e.request,
|
|
3407
3438
|
"instance-options": e.instanceOptions,
|
|
3408
3439
|
onClose: n[0] || (n[0] = (s) => t.$emit("close"))
|
|
3409
3440
|
}, null, 8, ["request", "instance-options"]),
|
|
3410
|
-
(0, import_vue.createVNode)(
|
|
3441
|
+
(0, import_vue.createVNode)($i, {
|
|
3411
3442
|
"active-tab": i.value,
|
|
3443
|
+
"has-error": !!e.request.error,
|
|
3412
3444
|
onSelect: n[1] || (n[1] = (s) => i.value = s)
|
|
3413
|
-
}, null, 8, ["active-tab"]),
|
|
3414
|
-
(0, import_vue.createElementVNode)("div",
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
key: 1,
|
|
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"]), [
|
|
3448
|
+
[import_vue.vShow, i.value === "split"]
|
|
3449
|
+
]),
|
|
3450
|
+
(0, import_vue.withDirectives)((0, import_vue.createVNode)(zt, {
|
|
3420
3451
|
"query-params": e.request.queryParams,
|
|
3421
3452
|
payload: e.request.payload,
|
|
3422
3453
|
truncated: e.request.truncated
|
|
3423
|
-
}, null, 8, ["query-params", "payload", "truncated"])
|
|
3424
|
-
|
|
3454
|
+
}, null, 8, ["query-params", "payload", "truncated"]), [
|
|
3455
|
+
[import_vue.vShow, i.value === "payload"]
|
|
3456
|
+
]),
|
|
3457
|
+
(0, import_vue.withDirectives)((0, import_vue.createVNode)(Ot, {
|
|
3425
3458
|
title: "Response",
|
|
3426
3459
|
data: e.request.response,
|
|
3427
|
-
truncated: e.request.truncated
|
|
3428
|
-
|
|
3460
|
+
truncated: e.request.truncated,
|
|
3461
|
+
error: e.request.error
|
|
3462
|
+
}, null, 8, ["data", "truncated", "error"]), [
|
|
3463
|
+
[import_vue.vShow, i.value === "response"]
|
|
3464
|
+
]),
|
|
3465
|
+
(0, import_vue.withDirectives)((0, import_vue.createElementVNode)("div", vo, [
|
|
3429
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", {
|
|
3430
3467
|
key: o,
|
|
3431
3468
|
class: "header-row"
|
|
3432
3469
|
}, [
|
|
3433
|
-
(0, import_vue.createElementVNode)("span",
|
|
3434
|
-
(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)
|
|
3435
3472
|
]))), 128)),
|
|
3436
|
-
Object.keys(e.request.requestHeaders ?? {}).length ? (0, import_vue.createCommentVNode)("", true) : ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("p",
|
|
3437
|
-
]
|
|
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. "))
|
|
3474
|
+
], 512), [
|
|
3475
|
+
[import_vue.vShow, i.value === "headers"]
|
|
3476
|
+
])
|
|
3438
3477
|
])
|
|
3439
3478
|
]));
|
|
3440
3479
|
}
|
|
3441
3480
|
});
|
|
3442
|
-
var
|
|
3443
|
-
var
|
|
3444
|
-
var
|
|
3481
|
+
var So = /* @__PURE__ */ j(wo, [["__scopeId", "data-v-097724fd"]]);
|
|
3482
|
+
var xo = ["value"];
|
|
3483
|
+
var ko = {
|
|
3445
3484
|
key: 0,
|
|
3446
3485
|
value: "",
|
|
3447
3486
|
disabled: ""
|
|
3448
3487
|
};
|
|
3449
|
-
var
|
|
3450
|
-
var
|
|
3488
|
+
var Io = ["value"];
|
|
3489
|
+
var _o = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
3451
3490
|
__name: "SelectInput",
|
|
3452
3491
|
props: {
|
|
3453
3492
|
modelValue: {},
|
|
@@ -3461,44 +3500,44 @@ var vo = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3461
3500
|
value: e.modelValue,
|
|
3462
3501
|
onChange: t[0] || (t[0] = (n) => i.$emit("update:modelValue", n.target.value))
|
|
3463
3502
|
}, [
|
|
3464
|
-
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),
|
|
3465
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", {
|
|
3466
3505
|
key: n.value,
|
|
3467
3506
|
value: n.value
|
|
3468
|
-
}, (0, import_vue.toDisplayString)(n.label), 9,
|
|
3469
|
-
], 40,
|
|
3507
|
+
}, (0, import_vue.toDisplayString)(n.label), 9, Io))), 128))
|
|
3508
|
+
], 40, xo));
|
|
3470
3509
|
}
|
|
3471
3510
|
});
|
|
3472
|
-
var
|
|
3473
|
-
var
|
|
3474
|
-
var
|
|
3475
|
-
var
|
|
3476
|
-
var
|
|
3477
|
-
var
|
|
3478
|
-
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 = {
|
|
3479
3518
|
key: 0,
|
|
3480
3519
|
width: "10",
|
|
3481
3520
|
height: "10",
|
|
3482
3521
|
viewBox: "0 0 10 10",
|
|
3483
3522
|
fill: "none"
|
|
3484
3523
|
};
|
|
3485
|
-
var
|
|
3524
|
+
var qo = {
|
|
3486
3525
|
key: 0,
|
|
3487
3526
|
width: "10",
|
|
3488
3527
|
height: "10",
|
|
3489
3528
|
viewBox: "0 0 10 10",
|
|
3490
3529
|
fill: "none"
|
|
3491
3530
|
};
|
|
3492
|
-
var
|
|
3531
|
+
var $o = {
|
|
3493
3532
|
key: 0,
|
|
3494
3533
|
style: { "font-size": "12px", color: "var(--dt-foreground-subtle)", padding: "16px" }
|
|
3495
3534
|
};
|
|
3496
|
-
var
|
|
3535
|
+
var Lo = {
|
|
3497
3536
|
key: 1,
|
|
3498
3537
|
class: "detail-pane"
|
|
3499
3538
|
};
|
|
3500
|
-
var
|
|
3501
|
-
var
|
|
3539
|
+
var Fo = 180;
|
|
3540
|
+
var Po = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
3502
3541
|
__name: "NetworkTab",
|
|
3503
3542
|
setup(e) {
|
|
3504
3543
|
const {
|
|
@@ -3507,11 +3546,11 @@ var Mo = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3507
3546
|
instanceFilter: n,
|
|
3508
3547
|
filteredRequests: s,
|
|
3509
3548
|
clearFilters: o,
|
|
3510
|
-
selectedRequest:
|
|
3511
|
-
selectedRequestId:
|
|
3549
|
+
selectedRequest: r,
|
|
3550
|
+
selectedRequestId: l,
|
|
3512
3551
|
selectRequest: a,
|
|
3513
3552
|
instances: c
|
|
3514
|
-
} =
|
|
3553
|
+
} = Js(), { toolbarVisible: u, filterVisible: g, settingsOpen: d, toggleToolbar: w, toggleFilter: p, closeSettings: b } = Le(), v = (0, import_vue.computed)(() => [
|
|
3515
3554
|
{ value: "all", label: "All instances" },
|
|
3516
3555
|
...[...c.value.values()].map((I) => ({
|
|
3517
3556
|
value: I.id,
|
|
@@ -3519,66 +3558,71 @@ var Mo = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3519
3558
|
}))
|
|
3520
3559
|
]), x = (0, import_vue.computed)(
|
|
3521
3560
|
() => {
|
|
3522
|
-
var I
|
|
3523
|
-
return (I =
|
|
3561
|
+
var I;
|
|
3562
|
+
return (I = r.value) == null ? void 0 : I.instanceOptions;
|
|
3524
3563
|
}
|
|
3525
|
-
),
|
|
3564
|
+
), C = [
|
|
3526
3565
|
{ value: "all", label: "All" },
|
|
3527
3566
|
{ value: "success", label: "Success" },
|
|
3528
3567
|
{ value: "error", label: "Error" },
|
|
3529
3568
|
{ value: "pending", label: "Pending" },
|
|
3530
3569
|
{ value: "aborted", label: "Aborted" }
|
|
3531
|
-
],
|
|
3570
|
+
], S = (0, import_vue.ref)(320);
|
|
3571
|
+
(0, import_vue.onMounted)(async () => {
|
|
3572
|
+
const I = await bn();
|
|
3573
|
+
I !== void 0 && (S.value = I);
|
|
3574
|
+
});
|
|
3575
|
+
const A = (0, import_vue.ref)(null);
|
|
3532
3576
|
let D = null;
|
|
3533
3577
|
function _(I) {
|
|
3534
|
-
const
|
|
3535
|
-
function V(
|
|
3536
|
-
const
|
|
3537
|
-
|
|
3578
|
+
const k = I.clientX, E = S.value;
|
|
3579
|
+
function V(At) {
|
|
3580
|
+
const qt = A.value ? A.value.offsetWidth * 0.7 : 800;
|
|
3581
|
+
S.value = Math.max(Fo, Math.min(E + (At.clientX - k), qt));
|
|
3538
3582
|
}
|
|
3539
|
-
function
|
|
3540
|
-
window.removeEventListener("mousemove", V), window.removeEventListener("mouseup",
|
|
3583
|
+
function be() {
|
|
3584
|
+
window.removeEventListener("mousemove", V), window.removeEventListener("mouseup", be), D = null, wn(S.value);
|
|
3541
3585
|
}
|
|
3542
|
-
window.addEventListener("mousemove", V), window.addEventListener("mouseup",
|
|
3543
|
-
window.removeEventListener("mousemove", V), window.removeEventListener("mouseup",
|
|
3586
|
+
window.addEventListener("mousemove", V), window.addEventListener("mouseup", be), D = () => {
|
|
3587
|
+
window.removeEventListener("mousemove", V), window.removeEventListener("mouseup", be);
|
|
3544
3588
|
}, I.preventDefault();
|
|
3545
3589
|
}
|
|
3546
3590
|
return (0, import_vue.onScopeDispose)(() => {
|
|
3547
3591
|
D == null || D();
|
|
3548
|
-
}), (I,
|
|
3549
|
-
(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, [
|
|
3550
3594
|
(0, import_vue.withDirectives)((0, import_vue.createElementVNode)("input", {
|
|
3551
|
-
"onUpdate:modelValue":
|
|
3595
|
+
"onUpdate:modelValue": k[0] || (k[0] = (E) => (0, import_vue.isRef)(i) ? i.value = E : null),
|
|
3552
3596
|
class: "toolbar-input",
|
|
3553
3597
|
placeholder: "Filter URL\u2026"
|
|
3554
3598
|
}, null, 512), [
|
|
3555
3599
|
[import_vue.vModelText, (0, import_vue.unref)(i)]
|
|
3556
3600
|
]),
|
|
3557
|
-
(0, import_vue.createVNode)(
|
|
3601
|
+
(0, import_vue.createVNode)(Eo, {
|
|
3558
3602
|
modelValue: (0, import_vue.unref)(n),
|
|
3559
|
-
"onUpdate:modelValue":
|
|
3603
|
+
"onUpdate:modelValue": k[1] || (k[1] = (E) => (0, import_vue.isRef)(n) ? n.value = E : null),
|
|
3560
3604
|
options: v.value
|
|
3561
3605
|
}, null, 8, ["modelValue", "options"]),
|
|
3562
3606
|
(0, import_vue.createElementVNode)("button", {
|
|
3563
3607
|
class: "toolbar-btn",
|
|
3564
|
-
onClick:
|
|
3608
|
+
onClick: k[2] || (k[2] = //@ts-ignore
|
|
3565
3609
|
(...E) => (0, import_vue.unref)(o) && (0, import_vue.unref)(o)(...E))
|
|
3566
3610
|
}, "Reset filters"),
|
|
3567
3611
|
(0, import_vue.createElementVNode)("button", {
|
|
3568
3612
|
class: "toolbar-btn toolbar-btn--danger",
|
|
3569
|
-
onClick:
|
|
3570
|
-
(...E) => (0, import_vue.unref)(
|
|
3613
|
+
onClick: k[3] || (k[3] = //@ts-ignore
|
|
3614
|
+
(...E) => (0, import_vue.unref)(We) && (0, import_vue.unref)(We)(...E))
|
|
3571
3615
|
}, "Clear log")
|
|
3572
3616
|
], 512), [
|
|
3573
3617
|
[import_vue.vShow, (0, import_vue.unref)(u)]
|
|
3574
3618
|
]),
|
|
3575
|
-
(0, import_vue.withDirectives)((0, import_vue.createElementVNode)("div",
|
|
3576
|
-
((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", {
|
|
3577
3621
|
key: E.value,
|
|
3578
|
-
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 }]]),
|
|
3579
3623
|
onClick: (V) => t.value = E.value
|
|
3580
|
-
}, (0, import_vue.toDisplayString)(E.label), 11,
|
|
3581
|
-
(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)
|
|
3582
3626
|
], 512), [
|
|
3583
3627
|
[import_vue.vShow, (0, import_vue.unref)(g)]
|
|
3584
3628
|
]),
|
|
@@ -3586,7 +3630,7 @@ var Mo = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3586
3630
|
(0, import_vue.unref)(d) ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", {
|
|
3587
3631
|
key: 0,
|
|
3588
3632
|
style: { position: "fixed", inset: "0", "z-index": "99" },
|
|
3589
|
-
onClick:
|
|
3633
|
+
onClick: k[4] || (k[4] = //@ts-ignore
|
|
3590
3634
|
(...E) => (0, import_vue.unref)(b) && (0, import_vue.unref)(b)(...E))
|
|
3591
3635
|
})) : (0, import_vue.createCommentVNode)("", true)
|
|
3592
3636
|
])),
|
|
@@ -3595,7 +3639,7 @@ var Mo = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3595
3639
|
(0, import_vue.unref)(d) ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", {
|
|
3596
3640
|
key: 0,
|
|
3597
3641
|
class: "settings-menu",
|
|
3598
|
-
onKeydown:
|
|
3642
|
+
onKeydown: k[7] || (k[7] = (0, import_vue.withKeys)(
|
|
3599
3643
|
//@ts-ignore
|
|
3600
3644
|
(...E) => (0, import_vue.unref)(b) && (0, import_vue.unref)(b)(...E),
|
|
3601
3645
|
["escape"]
|
|
@@ -3603,13 +3647,13 @@ var Mo = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3603
3647
|
}, [
|
|
3604
3648
|
(0, import_vue.createElementVNode)("button", {
|
|
3605
3649
|
class: "settings-item",
|
|
3606
|
-
onClick:
|
|
3650
|
+
onClick: k[5] || (k[5] = //@ts-ignore
|
|
3607
3651
|
(...E) => (0, import_vue.unref)(w) && (0, import_vue.unref)(w)(...E))
|
|
3608
3652
|
}, [
|
|
3609
3653
|
(0, import_vue.createElementVNode)("span", {
|
|
3610
3654
|
class: (0, import_vue.normalizeClass)(["settings-check", { "settings-check--on": (0, import_vue.unref)(u) }])
|
|
3611
3655
|
}, [
|
|
3612
|
-
(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] = [
|
|
3613
3657
|
(0, import_vue.createElementVNode)("path", {
|
|
3614
3658
|
d: "M1.5 5L4 7.5L8.5 2.5",
|
|
3615
3659
|
stroke: "currentColor",
|
|
@@ -3618,17 +3662,17 @@ var Mo = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3618
3662
|
}, null, -1)
|
|
3619
3663
|
])])) : (0, import_vue.createCommentVNode)("", true)
|
|
3620
3664
|
], 2),
|
|
3621
|
-
|
|
3665
|
+
k[10] || (k[10] = (0, import_vue.createTextVNode)(" Toolbar ", -1))
|
|
3622
3666
|
]),
|
|
3623
3667
|
(0, import_vue.createElementVNode)("button", {
|
|
3624
3668
|
class: "settings-item",
|
|
3625
|
-
onClick:
|
|
3669
|
+
onClick: k[6] || (k[6] = //@ts-ignore
|
|
3626
3670
|
(...E) => (0, import_vue.unref)(p) && (0, import_vue.unref)(p)(...E))
|
|
3627
3671
|
}, [
|
|
3628
3672
|
(0, import_vue.createElementVNode)("span", {
|
|
3629
3673
|
class: (0, import_vue.normalizeClass)(["settings-check", { "settings-check--on": (0, import_vue.unref)(g) }])
|
|
3630
3674
|
}, [
|
|
3631
|
-
(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] = [
|
|
3632
3676
|
(0, import_vue.createElementVNode)("path", {
|
|
3633
3677
|
d: "M1.5 5L4 7.5L8.5 2.5",
|
|
3634
3678
|
stroke: "currentColor",
|
|
@@ -3637,7 +3681,7 @@ var Mo = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3637
3681
|
}, null, -1)
|
|
3638
3682
|
])])) : (0, import_vue.createCommentVNode)("", true)
|
|
3639
3683
|
], 2),
|
|
3640
|
-
|
|
3684
|
+
k[12] || (k[12] = (0, import_vue.createTextVNode)(" Filter bar ", -1))
|
|
3641
3685
|
])
|
|
3642
3686
|
], 32)) : (0, import_vue.createCommentVNode)("", true)
|
|
3643
3687
|
]),
|
|
@@ -3645,51 +3689,51 @@ var Mo = /* @__PURE__ */ (0, import_vue.defineComponent)({
|
|
|
3645
3689
|
}),
|
|
3646
3690
|
(0, import_vue.createElementVNode)("div", {
|
|
3647
3691
|
ref_key: "splitRef",
|
|
3648
|
-
ref:
|
|
3692
|
+
ref: A,
|
|
3649
3693
|
class: "main-split"
|
|
3650
3694
|
}, [
|
|
3651
3695
|
(0, import_vue.createElementVNode)("div", {
|
|
3652
3696
|
class: "list-pane",
|
|
3653
|
-
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" })
|
|
3654
3698
|
}, [
|
|
3655
|
-
(0, import_vue.createVNode)(
|
|
3699
|
+
(0, import_vue.createVNode)(ki, {
|
|
3656
3700
|
requests: (0, import_vue.unref)(s),
|
|
3657
|
-
"active-request-id": (0, import_vue.unref)(
|
|
3701
|
+
"active-request-id": (0, import_vue.unref)(l),
|
|
3658
3702
|
onSelect: (0, import_vue.unref)(a)
|
|
3659
3703
|
}, null, 8, ["requests", "active-request-id", "onSelect"]),
|
|
3660
|
-
(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)
|
|
3661
3705
|
], 4),
|
|
3662
|
-
(0, import_vue.unref)(
|
|
3706
|
+
(0, import_vue.unref)(r) ? ((0, import_vue.openBlock)(), (0, import_vue.createElementBlock)("div", {
|
|
3663
3707
|
key: 0,
|
|
3664
3708
|
class: "drag-handle",
|
|
3665
3709
|
onMousedown: _
|
|
3666
3710
|
}, null, 32)) : (0, import_vue.createCommentVNode)("", true),
|
|
3667
|
-
(0, import_vue.unref)(
|
|
3668
|
-
(0, import_vue.createVNode)(
|
|
3669
|
-
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),
|
|
3670
3714
|
"instance-options": x.value,
|
|
3671
|
-
onClose:
|
|
3715
|
+
onClose: k[8] || (k[8] = (E) => (0, import_vue.unref)(a)(null))
|
|
3672
3716
|
}, null, 8, ["request", "instance-options"])
|
|
3673
3717
|
])) : (0, import_vue.createCommentVNode)("", true)
|
|
3674
3718
|
], 512)
|
|
3675
3719
|
]));
|
|
3676
3720
|
}
|
|
3677
3721
|
});
|
|
3678
|
-
var
|
|
3679
|
-
var
|
|
3722
|
+
var Ro = /* @__PURE__ */ j(Po, [["__scopeId", "data-v-8e75aacb"]]);
|
|
3723
|
+
var jo = {
|
|
3680
3724
|
id: "network",
|
|
3681
3725
|
label: "Network",
|
|
3682
3726
|
icon: "lucide:network",
|
|
3683
3727
|
order: 1,
|
|
3684
|
-
component:
|
|
3728
|
+
component: Ro
|
|
3685
3729
|
};
|
|
3686
|
-
function
|
|
3687
|
-
return
|
|
3688
|
-
onInstanceCreated:
|
|
3689
|
-
onInstanceDestroyed:
|
|
3690
|
-
onStateUpdate:
|
|
3691
|
-
onRequestStart:
|
|
3692
|
-
onRequestEnd:
|
|
3730
|
+
function Vo(e, i) {
|
|
3731
|
+
return Nt(e), He(jo), e.tabs && e.tabs.forEach((t) => He(t)), Bs(), {
|
|
3732
|
+
onInstanceCreated: Jt,
|
|
3733
|
+
onInstanceDestroyed: Xt,
|
|
3734
|
+
onStateUpdate: Qt,
|
|
3735
|
+
onRequestStart: Gt,
|
|
3736
|
+
onRequestEnd: Yt
|
|
3693
3737
|
};
|
|
3694
3738
|
}
|
|
3695
3739
|
|
|
@@ -3702,7 +3746,7 @@ function nextRequestId() {
|
|
|
3702
3746
|
}
|
|
3703
3747
|
async function initDevtools(options, app) {
|
|
3704
3748
|
if (!options.enabled) return;
|
|
3705
|
-
bridge =
|
|
3749
|
+
bridge = Vo(options, app);
|
|
3706
3750
|
for (const fn2 of pendingCalls) fn2();
|
|
3707
3751
|
pendingCalls.length = 0;
|
|
3708
3752
|
}
|
|
@@ -3821,6 +3865,11 @@ function parseApiError(error) {
|
|
|
3821
3865
|
details: data
|
|
3822
3866
|
};
|
|
3823
3867
|
}
|
|
3868
|
+
return {
|
|
3869
|
+
message: axiosError.message,
|
|
3870
|
+
status: 0,
|
|
3871
|
+
code: axiosError.code
|
|
3872
|
+
};
|
|
3824
3873
|
}
|
|
3825
3874
|
return {
|
|
3826
3875
|
message: error instanceof Error ? error.message : String(error),
|