diff --git a/ui/assets/cloud/_app/immutable/assets/Temporal_Logo_Animation.ac2f7996.gif b/ui/assets/cloud/_app/immutable/assets/Temporal_Logo_Animation.ac2f7996.gif deleted file mode 100644 index 810dd84d93..0000000000 Binary files a/ui/assets/cloud/_app/immutable/assets/Temporal_Logo_Animation.ac2f7996.gif and /dev/null differ diff --git a/ui/assets/cloud/_app/immutable/assets/_layout.845f7340.css b/ui/assets/cloud/_app/immutable/assets/_layout.845f7340.css deleted file mode 100644 index 573e015510..0000000000 --- a/ui/assets/cloud/_app/immutable/assets/_layout.845f7340.css +++ /dev/null @@ -1 +0,0 @@ -code[class*=language-],pre[class*=language-]{word-wrap:normal;background:none;color:#ccc;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;font-size:.9em;-webkit-hyphens:none;hyphens:none;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;text-align:left;white-space:pre;word-break:normal;word-spacing:normal}pre[class*=language-]{margin:.5em 0;overflow:auto;padding:1em}:not(pre)>code[class*=language-],pre[class*=language-]{background:#18181b}:not(pre)>code[class*=language-]{border-radius:.3em;padding:.1em;white-space:normal}.token.block-comment,.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#a1a1aa}.token.punctuation{color:#e4e4e7}.token.attr-name,.token.deleted,.token.namespace,.token.tag{color:#f87171}.token.function-name{color:#bfdbfe}.token.boolean,.token.function,.token.number{color:#c7d2fe}.token.class-name,.token.constant,.token.property,.token.symbol{color:#e9d5ff}.token.atrule,.token.builtin,.token.important,.token.keyword,.token.selector{color:#fbcfe8}.token.attr-value,.token.char,.token.regex,.token.string,.token.variable{color:#bbf7d0}.token.entity,.token.operator,.token.url{color:#c084fc}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.token.inserted{color:green} diff --git a/ui/assets/cloud/_app/immutable/assets/_layout.8555ffa5.css b/ui/assets/cloud/_app/immutable/assets/_layout.8555ffa5.css deleted file mode 100644 index 1c76a32232..0000000000 --- a/ui/assets/cloud/_app/immutable/assets/_layout.8555ffa5.css +++ /dev/null @@ -1 +0,0 @@ -.high.svelte-1xgik0j{background-color:rgb(254 202 202/var(--tw-bg-opacity));color:rgb(127 29 29/var(--tw-text-opacity))}.high.svelte-1xgik0j,.medium.svelte-1xgik0j{--tw-bg-opacity:1;--tw-text-opacity:1}.medium.svelte-1xgik0j{background-color:rgb(254 215 170/var(--tw-bg-opacity));color:rgb(124 45 18/var(--tw-text-opacity))}.low.svelte-1xgik0j{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(219 234 254/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.error.svelte-urrl06{border:1px solid red}.trace.svelte-urrl06{font-family:monospace}.primary.svelte-19tipv7{background-color:rgb(24 24 27/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.primary.svelte-19tipv7,.success.svelte-19tipv7{--tw-bg-opacity:1;--tw-text-opacity:1}.success.svelte-19tipv7{background-color:rgb(240 253 244/var(--tw-bg-opacity));color:rgb(20 83 45/var(--tw-text-opacity))}.error.svelte-19tipv7{background-color:rgb(254 242 242/var(--tw-bg-opacity));color:rgb(127 29 29/var(--tw-text-opacity))}.error.svelte-19tipv7,.info.svelte-19tipv7{--tw-bg-opacity:1;--tw-text-opacity:1}.info.svelte-19tipv7{background-color:rgb(239 246 255/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.warning.svelte-19tipv7{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(254 252 232/var(--tw-bg-opacity));color:rgb(113 63 18/var(--tw-text-opacity))}.back-to-top.svelte-78r2pw{bottom:1.25rem;position:fixed;right:1.25rem;z-index:50}.back-to-top.hidden.svelte-78r2pw{visibility:hidden}.nav-header.svelte-r0fij8.svelte-r0fij8{background-color:rgb(24 24 27/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity));display:flex;flex-direction:column;height:100vh;justify-content:space-between;position:relative;z-index:0}.nav-header.cloud.svelte-r0fij8.svelte-r0fij8,.nav-header.svelte-r0fij8.svelte-r0fij8{--tw-bg-opacity:1;--tw-text-opacity:1}.nav-header.cloud.svelte-r0fij8.svelte-r0fij8{background-color:rgb(255 255 255/var(--tw-bg-opacity));color:rgb(24 24 27/var(--tw-text-opacity))}.nav-wrapper.svelte-r0fij8.svelte-r0fij8{align-items:center;display:flex;flex-direction:column;flex-grow:1;justify-content:space-between;width:4rem;z-index:50}.nav-wrapper.open.svelte-r0fij8.svelte-r0fij8{width:10rem}.nav-section-wrapper.svelte-r0fij8.svelte-r0fij8{width:100%}.nav-section-wrapper.svelte-r0fij8.svelte-r0fij8,.nav-section.svelte-r0fij8.svelte-r0fij8{display:flex;flex-direction:column}.nav-section.svelte-r0fij8.svelte-r0fij8{gap:.5rem;padding-left:.75rem;padding-right:.75rem}.cloud.svelte-r0fij8.svelte-r0fij8{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));color:rgb(24 24 27/var(--tw-text-opacity))}.close.svelte-r0fij8 .nav-title{width:0}.open.svelte-r0fij8 .namespace,.open.svelte-r0fij8 .nav-title{width:100px}.nav-toggle.svelte-r0fij8.svelte-r0fij8{display:none;left:18px;position:absolute;top:52px;transition:left .15s linear,width .15s linear;z-index:51}.nav-header.svelte-r0fij8:focus .nav-toggle.svelte-r0fij8,.nav-header.svelte-r0fij8:hover .nav-toggle.svelte-r0fij8{display:block}.nav-toggle.close.svelte-r0fij8.svelte-r0fij8{left:18px}.nav-toggle.open.svelte-r0fij8.svelte-r0fij8{left:130px}.transition-left.svelte-r0fij8.svelte-r0fij8{transition:left .15s linear,width .15s linear}.transition-width.svelte-r0fij8.svelte-r0fij8{transition:width .15s ease-in-out,width .15s ease-in-out}.nav-row.svelte-1wt7irb{align-items:center;border-radius:.5rem;display:flex;flex-direction:row;font-size:.875rem;font-weight:500;line-height:1.25rem;padding-bottom:.25rem;padding-top:.25rem;white-space:nowrap}.wrap.svelte-1wt7irb{white-space:normal}.local.svelte-1wt7irb{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.cloud.svelte-1wt7irb{--tw-text-opacity:1}.cloud.svelte-1wt7irb,.local.svelte-1wt7irb:hover{color:rgb(24 24 27/var(--tw-text-opacity))}.local.svelte-1wt7irb:hover{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.cloud.svelte-1wt7irb:hover,.local.svelte-1wt7irb:hover{--tw-bg-opacity:1;--tw-text-opacity:1}.cloud.svelte-1wt7irb:hover{background-color:rgb(24 24 27/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.nav-icon.svelte-1jb7rp7{cursor:pointer;height:1.5rem;margin-left:.5rem;margin-right:.5rem;margin-top:0}.nav-title.svelte-1jb7rp7{overflow:hidden;transition:width .15s linear;width:100px}.item.svelte-18e28dw{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#f3e8ff;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-bottom-width:1px;border-collapse:collapse;border-color:rgb(24 24 27/var(--tw-border-opacity));border-left-width:2px;border-right-width:2px;cursor:pointer;display:flex;gap:.5rem}.item.svelte-18e28dw:first-child{border-top-left-radius:.75rem;border-top-right-radius:.75rem;border-top-width:2px}.item.svelte-18e28dw:last-child{border-bottom-left-radius:.75rem;border-bottom-right-radius:.75rem;border-bottom-width:2px}.item.svelte-18e28dw:focus,.item.svelte-18e28dw:hover{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.link.svelte-18e28dw{--tw-text-opacity:1;color:rgb(24 24 27/var(--tw-text-opacity));margin-left:.5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.link.svelte-18e28dw:hover{text-decoration-line:underline}.error.svelte-gbph9f{outline-color:#b91c1c} diff --git a/ui/assets/cloud/_app/immutable/assets/_layout.9cd642e2.css b/ui/assets/cloud/_app/immutable/assets/_layout.9cd642e2.css deleted file mode 100644 index 8a14b8f394..0000000000 --- a/ui/assets/cloud/_app/immutable/assets/_layout.9cd642e2.css +++ /dev/null @@ -1 +0,0 @@ -label.svelte-o1lqkr{--tw-text-opacity:1;font-weight:500;margin-bottom:2.5rem}.select-input-container.svelte-o1lqkr,label.svelte-o1lqkr{color:rgb(24 24 27/var(--tw-text-opacity));font-size:.875rem;line-height:1.25rem}.select-input-container.svelte-o1lqkr{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(24 24 27/var(--tw-border-opacity));border-radius:.25rem;border-width:1px;display:flex;flex-direction:row;height:2.5rem;justify-content:space-between;padding-left:.5rem;padding-right:.5rem;position:relative;width:100%}.select-input-container.svelte-o1lqkr:focus{outline:none;outline-color:#1d4ed8;outline-offset:-2px;outline-style:solid;outline-width:2px}.select-input-container.unroundRight.svelte-o1lqkr{border-bottom-right-radius:0;border-right-width:0;border-top-right-radius:0}.select-input-container.disabled.svelte-o1lqkr{--tw-bg-opacity:1;background-color:rgb(250 250 250/var(--tw-bg-opacity));pointer-events:none}.select-input.svelte-o1lqkr{background-color:rgb(255 255 255/var(--tw-bg-opacity));cursor:pointer;display:inline;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select-input.disabled.svelte-o1lqkr,.select-input.svelte-o1lqkr{--tw-bg-opacity:1}.select-input.disabled.svelte-o1lqkr{background-color:rgb(250 250 250/var(--tw-bg-opacity));pointer-events:none}.select-input.disabled.svelte-o1lqkr::-moz-placeholder{--tw-text-opacity:1;color:rgb(82 82 91/var(--tw-text-opacity))}.select-input.disabled.svelte-o1lqkr::placeholder{--tw-text-opacity:1;color:rgb(82 82 91/var(--tw-text-opacity))}.select-options.svelte-o1lqkr:not(.sr-only){--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(24 24 27/var(--tw-border-opacity));border-radius:.25rem;border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(24 24 27/var(--tw-text-opacity));left:0;list-style-type:none;max-height:20rem;overflow-y:scroll;padding:.5rem;position:absolute;top:2.5rem;width:100%;z-index:50}.select-option.svelte-1p96iqw:first-of-type{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.select-option.svelte-1p96iqw:last-of-type{border-bottom-left-radius:.25rem;border-bottom-right-radius:.25rem}.select-option.svelte-1p96iqw{--tw-bg-opacity:1;--tw-text-opacity:1;align-items:flex-start;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.25rem;color:rgb(24 24 27/var(--tw-text-opacity));cursor:pointer;display:flex;flex-direction:row;font-family:Poppins,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:.875rem;font-weight:500;justify-content:center;line-height:1.25rem;list-style-type:none;padding:1rem}.select-option.svelte-1p96iqw:hover{--tw-bg-opacity:1;background-color:rgb(250 250 250/var(--tw-bg-opacity))}.select-option.svelte-1p96iqw:focus{outline:2px solid transparent;outline-offset:2px}.select-option.svelte-1p96iqw:focus-visible{--tw-bg-opacity:1;background-color:rgb(239 246 255/var(--tw-bg-opacity));outline-color:#1d4ed8;outline-offset:-2px;outline-style:solid;outline-width:2px}.select-option.selected.svelte-1p96iqw{--tw-text-opacity:1;color:rgb(29 78 216/var(--tw-text-opacity))}.option-label.svelte-1p96iqw{font-family:Poppins,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-weight:500;line-height:1.5rem;white-space:nowrap}.option-description.svelte-1p96iqw,.option-label.svelte-1p96iqw{display:flex;font-size:.875rem}.option-description.svelte-1p96iqw{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-weight:400;line-height:1.25rem}.back-to-workflows.svelte-6ohyao{font-size:.875rem;line-height:1.25rem}.back-to-workflows.svelte-6ohyao:hover{--tw-text-opacity:1;color:rgb(29 78 216/var(--tw-text-opacity));text-decoration-line:underline}.back-to-workflows.svelte-6ohyao:hover svg path{stroke:#1d4ed8} diff --git a/ui/assets/cloud/_app/immutable/assets/_page.250e64e1.css b/ui/assets/cloud/_app/immutable/assets/_page.250e64e1.css deleted file mode 100644 index 01d9f61a22..0000000000 --- a/ui/assets/cloud/_app/immutable/assets/_page.250e64e1.css +++ /dev/null @@ -1 +0,0 @@ -.pending-activity-row-container.svelte-155uvlv.svelte-155uvlv{margin-top:1rem}.pending-activity-row.svelte-155uvlv.svelte-155uvlv{align-items:center;display:flex;flex-direction:row;gap:.5rem;width:100%}.pending-activity-summary.svelte-155uvlv.svelte-155uvlv{--tw-border-opacity:1;border-bottom-width:2px;border-color:rgb(212 212 216/var(--tw-border-opacity));font-size:.875rem;line-height:1.25rem;overflow-x:scroll;padding-bottom:.25rem;padding-top:.25rem;width:100%}.pending-activity-row.svelte-155uvlv:last-child .pending-activity-summary.svelte-155uvlv{border-bottom-width:0}.pending-activity-inner-row.svelte-155uvlv.svelte-155uvlv{align-content:space-between;display:flex;flex-direction:row;gap:1.5rem;width:100%}.pending-activity-detail.svelte-155uvlv.svelte-155uvlv{white-space:nowrap;width:100%}@media (min-width:1280px){.pending-activity-detail.svelte-155uvlv.svelte-155uvlv{align-items:center;display:flex;flex-direction:row;gap:.5rem}}.pending-activity-detail-header.svelte-155uvlv.svelte-155uvlv{font-weight:500}.pending-activity-failure-details.svelte-155uvlv.svelte-155uvlv{display:flex;flex-direction:row;gap:1rem;width:100%}.stack-trace.svelte-y5tg73{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(254 252 232/var(--tw-bg-opacity));border-color:rgb(161 98 7/var(--tw-border-opacity));border-radius:.75rem;border-width:2px;color:rgb(113 63 18/var(--tw-text-opacity));display:flex;flex-direction:column;padding:1rem;position:relative;width:100%}.shortcut.svelte-y44j93{--tw-border-opacity:1;--tw-text-opacity:1;align-items:center;border-color:rgb(244 244 245/var(--tw-border-opacity));border-radius:.5rem;border-width:2px;color:rgb(255 255 255/var(--tw-text-opacity));display:inline-flex;font-size:.75rem;font-weight:600;justify-content:center;line-height:1rem;min-width:32px;padding:.375rem .25rem;width:auto}@media (prefers-color-scheme:dark){.shortcut.svelte-y44j93{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(82 82 91/var(--tw-bg-opacity));border-color:rgb(113 113 122/var(--tw-border-opacity));color:rgb(244 244 245/var(--tw-text-opacity))}}.shortcut-key-button.svelte-1030a4e{bottom:1.25rem;position:fixed;right:4rem;z-index:50}.cell.svelte-1030a4e{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));gap:2rem;justify-content:center}.cell.svelte-1030a4e,.shortcut.svelte-1030a4e{align-items:center;display:flex}.shortcut.svelte-1030a4e{gap:.5rem} diff --git a/ui/assets/cloud/_app/immutable/assets/_page.333f9e8e.css b/ui/assets/cloud/_app/immutable/assets/_page.333f9e8e.css deleted file mode 100644 index d26f8db83a..0000000000 --- a/ui/assets/cloud/_app/immutable/assets/_page.333f9e8e.css +++ /dev/null @@ -1 +0,0 @@ -.container.svelte-1we9vff{height:224px;margin-top:.5rem;padding-left:1rem;padding-right:1rem;width:265px}.row.svelte-1we9vff{display:flex;flex-wrap:wrap;width:240px}.cell.svelte-1we9vff{align-items:center;border-radius:.25rem;display:inline-flex;font-size:.875rem;height:24px;justify-content:center;line-height:1.25rem;margin:.25rem;padding:.25rem;width:24px}.selected.svelte-1we9vff{--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#f3e8ff;--tw-text-opacity:1;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));color:rgb(24 24 27/var(--tw-text-opacity))}.disabled.svelte-1we9vff{background:#efefef;color:#bfbfbf;cursor:not-allowed}.highlight.svelte-1we9vff:hover{--tw-scale-x:1.25;--tw-scale-y:1.25;--tw-bg-opacity:1;background-color:rgb(219 234 254/var(--tw-bg-opacity));cursor:pointer;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.highlight.svelte-1we9vff{transition:transform .2s cubic-bezier(.165,.84,.44,1)}.selected.highlight.svelte-1we9vff:hover{--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#f3e8ff}.selected.highlight.svelte-1we9vff:hover:hover{--tw-border-opacity:1;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));border-color:rgb(24 24 27/var(--tw-border-opacity))}.workflows-summary-table-wrapper.svelte-i91sdc{overflow-y:visible}.workflows-summary-table-wrapper.pinned.svelte-i91sdc{border-bottom-left-radius:.5rem;border-top-left-radius:.5rem;flex-shrink:0;max-width:-moz-fit-content;max-width:fit-content;min-width:40px;overflow-x:hidden}@media not all and (min-width:768px){.workflows-summary-table-wrapper.pinned.svelte-i91sdc{max-width:50%;overflow-x:scroll}}.workflows-summary-table-wrapper.pinned.batch-actions-visible.svelte-i91sdc{width:100%!important}.workflows-summary-table-wrapper.pinned.batch-actions-enabled.svelte-i91sdc{width:auto}.workflows-summary-table-wrapper.pinned.no-columns-pinned.batch-actions-enabled.svelte-i91sdc{overflow:visible;width:2.5rem!important}.workflows-summary-table-wrapper.pinned.no-columns-pinned.svelte-i91sdc:not(.batch-actions-enabled){min-width:0!important;width:0!important}.workflows-summary-table-wrapper.pinned.no-columns-pinned.batch-actions-visible.svelte-i91sdc{width:2.5rem!important;z-index:50}.workflows-summary-table-wrapper.svelte-i91sdc:not(.pinned){border-bottom-right-radius:.5rem;border-top-right-radius:.5rem;flex-grow:1;overflow-x:scroll;overscroll-behavior-x:contain}.resizer.svelte-i91sdc{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity));border-color:rgb(24 24 27/var(--tw-border-opacity));border-right-width:3px;box-shadow:2px 0 4px #00000040;cursor:col-resize;width:0;z-index:10}.resizer.no-columns-pinned.svelte-i91sdc{pointer-events:none}.resizer.no-columns-pinned.svelte-i91sdc:not(.batch-actions-enabled){display:none}.resizer.batch-actions-visible.svelte-i91sdc{pointer-events:none}.workflows-summary-table.svelte-tjp5ib{table-layout:fixed;width:auto}.workflows-summary-table.svelte-tjp5ib:not(.pinned){table-layout:auto;width:100%}.active.svelte-mpn3ee{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.workflows-summary-table-header-cell.svelte-1q2ffog{font-family:Poppins,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:.875rem;font-weight:500;height:2.5rem;line-height:1.25rem;padding-left:.5rem;padding-right:.5rem;text-align:left;white-space:nowrap}.checkbox.svelte-1ic6fbx.svelte-1ic6fbx{--tw-text-opacity:1;color:rgb(24 24 27/var(--tw-text-opacity));cursor:pointer;display:block;font-size:.875rem;height:18px;line-height:1.25rem;line-height:18px;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:18px}.checkbox.hoverable.svelte-1ic6fbx.svelte-1ic6fbx{border-radius:9999px;height:2.25rem;width:2.25rem}.checkbox.hoverable.svelte-1ic6fbx.svelte-1ic6fbx:hover{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.checkbox.on-dark.svelte-1ic6fbx.svelte-1ic6fbx{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.label.svelte-1ic6fbx.svelte-1ic6fbx{align-items:center;display:flex;height:100%;margin-left:1.5rem;white-space:nowrap}.label.hoverable.svelte-1ic6fbx.svelte-1ic6fbx{margin-left:2.5rem}input.svelte-1ic6fbx.svelte-1ic6fbx{height:0;opacity:0;width:0}.checkmark.svelte-1ic6fbx.svelte-1ic6fbx,input.svelte-1ic6fbx.svelte-1ic6fbx{left:0;position:absolute;top:0}.checkmark.svelte-1ic6fbx.svelte-1ic6fbx{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(113 113 122/var(--tw-border-opacity));border-radius:.125rem;border-width:1px;box-sizing:content-box;cursor:pointer;height:1rem;width:1rem}.checkmark.hoverable.svelte-1ic6fbx.svelte-1ic6fbx{--tw-translate-x:50%;--tw-translate-y:50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.checkmark.on-dark.svelte-1ic6fbx.svelte-1ic6fbx{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.checkmark.on-dark.svelte-1ic6fbx.svelte-1ic6fbx,input.indeterminate.svelte-1ic6fbx+.checkmark.svelte-1ic6fbx,input.svelte-1ic6fbx:checked+.checkmark.svelte-1ic6fbx{--tw-bg-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity))}input.indeterminate.svelte-1ic6fbx+.checkmark.svelte-1ic6fbx,input.svelte-1ic6fbx:checked+.checkmark.svelte-1ic6fbx{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}input.svelte-1ic6fbx:focus-visible+.checkmark.svelte-1ic6fbx{outline-color:#1d4ed8;outline-style:solid}.checkbox.disabled.svelte-1ic6fbx .checkmark.svelte-1ic6fbx,.checkbox.disabled.svelte-1ic6fbx.svelte-1ic6fbx{cursor:default}.checkbox.disabled.on-dark.svelte-1ic6fbx.svelte-1ic6fbx{--tw-text-opacity:.8}.checkbox.disabled.svelte-1ic6fbx:not(.on-dark) .checkmark.svelte-1ic6fbx{--tw-bg-opacity:1;background-color:rgb(212 212 216/var(--tw-bg-opacity))}.checkbox.disabled.on-dark.svelte-1ic6fbx .checkmark.svelte-1ic6fbx{--tw-border-opacity:.8;--tw-text-opacity:.8}.workflows-summary-configurable-table-row.svelte-djic0w{--tw-border-opacity:1;border-bottom-width:1px;border-color:rgb(24 24 27/var(--tw-border-opacity));cursor:pointer;height:2.75rem}.workflows-summary-configurable-table-row.svelte-djic0w:last-of-type{border-bottom-width:0}.workflows-summary-configurable-table-row.svelte-djic0w:hover{--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#f3e8ff;background-attachment:fixed;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.workflows-summary-configurable-table-row.svelte-djic0w:hover .table-link{--tw-text-opacity:1;color:rgb(29 78 216/var(--tw-text-opacity));text-decoration-color:#1d4ed8;text-decoration-line:underline}.bulk-action-button.svelte-19w6g7u{--tw-text-opacity:1;border-radius:.25rem;border-width:1px;color:rgb(255 255 255/var(--tw-text-opacity));font-size:.75rem;line-height:.75rem;padding:.25rem .5rem}.bulk-action-button.primary.svelte-19w6g7u{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#f3e8ff;background-color:rgb(24 24 27/var(--tw-bg-opacity));border-color:rgb(255 255 255/var(--tw-border-opacity))}.bulk-action-button.primary.svelte-19w6g7u:hover{--tw-border-opacity:1;--tw-text-opacity:1;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));border-color:rgb(24 24 27/var(--tw-border-opacity));color:rgb(24 24 27/var(--tw-text-opacity))}.bulk-action-button.destructive.svelte-19w6g7u{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(185 28 28/var(--tw-bg-opacity));border-color:rgb(185 28 28/var(--tw-border-opacity))}.bulk-action-button.destructive.svelte-19w6g7u:hover{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity));border-color:rgb(127 29 29/var(--tw-border-opacity))}.bulk-action-button.svelte-19w6g7u:disabled{cursor:not-allowed;opacity:.75;pointer-events:none}.workflows-summary-configurable-table-header-row.svelte-vgnnzh{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity));height:2.5rem}.batch-actions-checkbox-table-cell.svelte-vgnnzh{border-top-left-radius:.5rem;min-width:40px}.batch-actions-table-cell.svelte-vgnnzh{font-family:Poppins,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:.875rem;font-weight:500;line-height:1.25rem;overflow:visible;padding-left:.5rem;padding-right:.5rem;text-align:left;white-space:nowrap}.configuration-button-table-cell.svelte-vgnnzh{--tw-bg-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity));display:block;height:2.5rem;line-height:48px;position:sticky;right:0;text-align:right;width:auto}.workflows-summary-table-body-cell.svelte-qupenl{font-size:.875rem;height:2.5rem;line-height:1.25rem;padding-left:.5rem;padding-right:.5rem;white-space:nowrap}.workflows-summary-table-body-cell.filterable.svelte-qupenl{padding-right:6rem;position:relative}.orderable-item.svelte-1btkzzb{align-items:center;display:flex;flex-direction:row;font-size:.875rem;font-weight:500;justify-content:space-between;line-height:1.25rem;list-style-type:none;padding:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.orderable-item.svelte-1btkzzb:first-of-type{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.orderable-item.svelte-1btkzzb:last-of-type{border-bottom-left-radius:.5rem;border-bottom-right-radius:.5rem}.orderable-item[draggable=true].svelte-1btkzzb{cursor:move}.orderable-item.readonly.svelte-1btkzzb{--tw-bg-opacity:.5;background-color:rgb(244 244 245/var(--tw-bg-opacity))}hr.svelte-1btkzzb{--tw-border-opacity:1;border-color:rgb(24 24 27/var(--tw-border-opacity));pointer-events:none}hr.svelte-1btkzzb:last-of-type{display:none}.orderable-item.dragging-over:not(.locked){--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#f3e8ff;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.orderable-item.dragging-over:not(.locked):last-of-type{border-bottom-left-radius:.5rem;border-bottom-right-radius:.5rem}.orderable-section.svelte-cheqnz{display:flex;flex-direction:column;gap:.5rem}.orderable-heading.svelte-cheqnz{font-size:.875rem;font-weight:500;line-height:1.25rem}.orderable-list.svelte-cheqnz{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(24 24 27/var(--tw-border-opacity));border-radius:.5rem;border-width:2px}.workflows-summary-configurable-table.svelte-3kpbta{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(24 24 27/var(--tw-border-opacity));border-radius:.75rem;border-width:2px;display:flex;flex-direction:row;overflow:auto;width:100%} diff --git a/ui/assets/cloud/_app/immutable/assets/_page.682a0c0d.css b/ui/assets/cloud/_app/immutable/assets/_page.682a0c0d.css deleted file mode 100644 index 630b210417..0000000000 --- a/ui/assets/cloud/_app/immutable/assets/_page.682a0c0d.css +++ /dev/null @@ -1 +0,0 @@ -.event-table-row.svelte-pnunl5{--tw-border-opacity:1;border-bottom-width:1px;border-color:rgb(212 212 216/var(--tw-border-opacity));display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding-bottom:.25rem;padding-top:.25rem}.event-table-row.svelte-pnunl5:last-child{border-width:0} diff --git a/ui/assets/cloud/_app/immutable/assets/_page.75cb2ee6.css b/ui/assets/cloud/_app/immutable/assets/_page.75cb2ee6.css deleted file mode 100644 index 1b9ffa9249..0000000000 --- a/ui/assets/cloud/_app/immutable/assets/_page.75cb2ee6.css +++ /dev/null @@ -1 +0,0 @@ -.cell.svelte-tyvqki{padding:.5rem;text-align:left} diff --git a/ui/assets/cloud/_app/immutable/assets/_page.b0c2dab8.css b/ui/assets/cloud/_app/immutable/assets/_page.b0c2dab8.css deleted file mode 100644 index 4a215f0f8c..0000000000 --- a/ui/assets/cloud/_app/immutable/assets/_page.b0c2dab8.css +++ /dev/null @@ -1 +0,0 @@ -.panel.svelte-11fqqfg{border-color:rgb(24 24 27/var(--tw-border-opacity));border-radius:.75rem;border-width:2px;padding:2rem}.error.svelte-11fqqfg,.panel.svelte-11fqqfg{--tw-border-opacity:1}.error.svelte-11fqqfg{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity));border-color:rgb(185 28 28/var(--tw-border-opacity))}.row.svelte-lqpjgu{--tw-border-opacity:1;align-items:center;border-bottom-width:2px;border-color:rgb(212 212 216/var(--tw-border-opacity));display:inline-flex;margin-bottom:.25rem;margin-top:.25rem;padding-bottom:.25rem;padding-top:.25rem;width:100%}.row.svelte-kbuuws{--tw-border-opacity:1;border-bottom-width:2px;border-color:rgb(212 212 216/var(--tw-border-opacity));display:inline-flex;height:2.5rem;justify-content:flex-start;margin-bottom:.25rem;margin-top:.25rem;padding-bottom:.25rem;padding-top:.25rem;width:100%}.settings.svelte-5rdr1k{margin-bottom:1rem;text-decoration-color:#18181b;text-decoration-line:underline}.error-text.svelte-1lke5yx{--tw-text-opacity:1;color:rgb(127 29 29/var(--tw-text-opacity));font-size:1rem;line-height:1.5rem;margin-bottom:.5rem}.back-to-schedules.svelte-1pb4ys0{font-size:.875rem;line-height:1.25rem}.back-to-schedules.svelte-1pb4ys0:hover{--tw-text-opacity:1;color:rgb(29 78 216/var(--tw-text-opacity));text-decoration-line:underline} diff --git a/ui/assets/cloud/_app/immutable/assets/_page.c4e4432a.css b/ui/assets/cloud/_app/immutable/assets/_page.c4e4432a.css deleted file mode 100644 index f4aebb97ef..0000000000 --- a/ui/assets/cloud/_app/immutable/assets/_page.c4e4432a.css +++ /dev/null @@ -1 +0,0 @@ -.card.svelte-hm2avd{--tw-border-opacity:1;border-color:rgb(24 24 27/var(--tw-border-opacity));border-radius:.75rem;border-width:2px;padding:1.25rem} diff --git a/ui/assets/cloud/_app/immutable/assets/_page.c5268cbc.css b/ui/assets/cloud/_app/immutable/assets/_page.c5268cbc.css deleted file mode 100644 index 81899d641e..0000000000 --- a/ui/assets/cloud/_app/immutable/assets/_page.c5268cbc.css +++ /dev/null @@ -1 +0,0 @@ -.input-container.svelte-fxm0nn{align-items:center;border-radius:.5rem;border-width:2px;box-sizing:border-box;display:inline-flex;font-size:1rem;height:2.5rem;line-height:1.5rem;padding:.5rem;position:relative;width:100%}span.svelte-fxm0nn{margin-right:.25rem} diff --git a/ui/assets/cloud/_app/immutable/assets/_page.df90e04e.css b/ui/assets/cloud/_app/immutable/assets/_page.df90e04e.css deleted file mode 100644 index 0e593b0cbe..0000000000 --- a/ui/assets/cloud/_app/immutable/assets/_page.df90e04e.css +++ /dev/null @@ -1 +0,0 @@ -svelte-virtual-list-viewport.svelte-1kdxoed{-webkit-overflow-scrolling:touch;display:block;overflow-y:auto;position:relative}svelte-virtual-list-contents.svelte-1kdxoed,svelte-virtual-list-row.svelte-1kdxoed{display:block}svelte-virtual-list-row.svelte-1kdxoed{overflow:hidden}.search.svelte-8ihh0f{border-radius:9999px;border-width:2px;margin-bottom:1.25rem;padding:.25rem 1rem .25rem .25rem}.link-item.svelte-8ihh0f,.search.svelte-8ihh0f{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(24 24 27/var(--tw-border-opacity));display:flex}.link-item.svelte-8ihh0f{--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#f3e8ff;border-collapse:collapse;border-width:1px 2px;cursor:pointer;gap:.5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.link-item.svelte-8ihh0f:hover{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.link-item.first.svelte-8ihh0f{border-top-left-radius:.5rem;border-top-right-radius:.5rem;border-top-width:2px}.link-item.last.svelte-8ihh0f{border-bottom-left-radius:.5rem;border-bottom-right-radius:.5rem;border-bottom-width:2px} diff --git a/ui/assets/cloud/_app/immutable/assets/alert.5f4c72a4.css b/ui/assets/cloud/_app/immutable/assets/alert.5f4c72a4.css deleted file mode 100644 index d1165ad5b6..0000000000 --- a/ui/assets/cloud/_app/immutable/assets/alert.5f4c72a4.css +++ /dev/null @@ -1 +0,0 @@ -.alert.svelte-1u0e3fc{border-radius:.375rem;border-width:1px;display:flex;font-family:Poppins,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:.875rem;line-height:1.25rem;padding:1.25rem}.alert.bold.svelte-1u0e3fc{border-radius:.75rem;border-width:2px}.alert.success.svelte-1u0e3fc{background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(22 163 74/var(--tw-border-opacity));color:rgb(21 128 61/var(--tw-text-opacity))}.alert.info.svelte-1u0e3fc,.alert.success.svelte-1u0e3fc{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1}.alert.info.svelte-1u0e3fc{background-color:rgb(239 246 255/var(--tw-bg-opacity));border-color:rgb(29 78 216/var(--tw-border-opacity));color:rgb(29 78 216/var(--tw-text-opacity))}.alert.error.svelte-1u0e3fc{background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(185 28 28/var(--tw-border-opacity));color:rgb(185 28 28/var(--tw-text-opacity))}.alert.error.svelte-1u0e3fc,.alert.warning.svelte-1u0e3fc{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1}.alert.warning.svelte-1u0e3fc{background-color:rgb(254 252 232/var(--tw-bg-opacity));border-color:rgb(161 98 7/var(--tw-border-opacity));color:rgb(161 98 7/var(--tw-text-opacity))}.content.svelte-1u0e3fc>*{font-family:Poppins,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:.875rem;font-weight:400;line-height:1.25rem} diff --git a/ui/assets/cloud/_app/immutable/assets/app.31287cf9.css b/ui/assets/cloud/_app/immutable/assets/app.31287cf9.css deleted file mode 100644 index a9fa686871..0000000000 --- a/ui/assets/cloud/_app/immutable/assets/app.31287cf9.css +++ /dev/null @@ -1 +0,0 @@ -@import"https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap";@import"https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap";/*! tailwindcss v3.2.4 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e4e4e7;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;font-feature-settings:normal;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#a1a1aa;opacity:1}input::placeholder,textarea::placeholder{color:#a1a1aa;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.invisible{visibility:hidden}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-x-0{left:0;right:0}.top-0{top:0}.-right-1{right:-.25rem}.right-0{right:0}.bottom-0{bottom:0}.left-0{left:0}.top-2\.5{top:.625rem}.right-2\.5{right:.625rem}.top-2{top:.5rem}.right-2{right:.5rem}.top-5{top:1.25rem}.top-12{top:3rem}.top-1{top:.25rem}.right-1{right:.25rem}.top-\[50\%\]{top:50%}.top-\[40px\]{top:40px}.left-\[60px\]{left:60px}.right-5{right:1.25rem}.bottom-5{bottom:1.25rem}.left-1{left:.25rem}.bottom-0\.5{bottom:.125rem}.left-1\/2{left:50%}.left-auto{left:auto}.right-auto{right:auto}.right-16{right:4rem}.-bottom-6{bottom:-1.5rem}.-top-6{top:-1.5rem}.right-\[300px\]{right:300px}.top-\[52px\]{top:52px}.left-\[18px\]{left:18px}.top-10{top:2.5rem}.z-50{z-index:50}.z-\[55\]{z-index:55}.z-\[99999\]{z-index:99999}.z-20{z-index:20}.z-10{z-index:10}.z-\[51\]{z-index:51}.z-0{z-index:0}.z-30{z-index:30}.col-span-1{grid-column:span 1/span 1}.float-right{float:right}.m-2{margin:.5rem}.m-auto{margin:auto}.m-1{margin:.25rem}.m-4{margin:1rem}.my-4{margin-bottom:1rem;margin-top:1rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.my-2{margin-bottom:.5rem;margin-top:.5rem}.my-1{margin-bottom:.25rem;margin-top:.25rem}.my-12{margin-bottom:3rem;margin-top:3rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-4{margin-left:1rem;margin-right:1rem}.my-0{margin-bottom:0;margin-top:0}.my-8{margin-bottom:2rem;margin-top:2rem}.my-\[20vh\]{margin-bottom:20vh;margin-top:20vh}.my-7{margin-bottom:1.75rem;margin-top:1.75rem}.mx-auto{margin-left:auto;margin-right:auto}.mt-2{margin-top:.5rem}.mt-1{margin-top:.25rem}.mr-2{margin-right:.5rem}.mb-4{margin-bottom:1rem}.ml-2{margin-left:.5rem}.ml-4{margin-left:1rem}.mb-6{margin-bottom:1.5rem}.mt-4{margin-top:1rem}.mt-8{margin-top:2rem}.ml-1{margin-left:.25rem}.mb-10{margin-bottom:2.5rem}.mb-8{margin-bottom:2rem}.ml-6{margin-left:1.5rem}.mt-32{margin-top:8rem}.-mt-6{margin-top:-1.5rem}.mb-5{margin-bottom:1.25rem}.-mt-2{margin-top:-.5rem}.-mb-2{margin-bottom:-.5rem}.-ml-2{margin-left:-.5rem}.-mr-2{margin-right:-.5rem}.mr-1{margin-right:.25rem}.mb-2{margin-bottom:.5rem}.-mt-4{margin-top:-1rem}.mr-5{margin-right:1.25rem}.mr-3{margin-right:.75rem}.mr-1\.5{margin-right:.375rem}.mb-12{margin-bottom:3rem}.ml-0{margin-left:0}.ml-auto{margin-left:auto}.mr-8{margin-right:2rem}.mr-4{margin-right:1rem}.mt-0{margin-top:0}.-mt-\[1px\]{margin-top:-1px}.-ml-\[2px\]{margin-left:-2px}.box-border{box-sizing:border-box}.box-content{box-sizing:content-box}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.\!inline{display:inline!important}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.table-row{display:table-row}.grid{display:grid}.hidden{display:none}.aspect-square{aspect-ratio:1/1}.h-2{height:.5rem}.h-full{height:100%}.h-6{height:1.5rem}.h-0{height:0}.h-8{height:2rem}.h-\[224px\]{height:224px}.h-\[24px\]{height:24px}.h-20{height:5rem}.h-4{height:1rem}.h-\[18px\]{height:18px}.h-9{height:2.25rem}.h-auto{height:auto}.h-10{height:2.5rem}.h-16{height:4rem}.h-fit{height:-moz-fit-content;height:fit-content}.h-screen{height:100vh}.h-5{height:1.25rem}.h-\[5px\]{height:5px}.h-80{height:20rem}.h-\[500px\]{height:500px}.h-40{height:10rem}.h-1{height:.25rem}.h-12{height:3rem}.h-0\.5{height:.125rem}.h-32{height:8rem}.h-24{height:6rem}.h-11{height:2.75rem}.max-h-80{max-height:20rem}.max-h-96{max-height:24rem}.max-h-32{max-height:8rem}.max-h-40{max-height:10rem}.max-h-20{max-height:5rem}.max-h-\[400px\]{max-height:400px}.max-h-10{max-height:2.5rem}.min-h-fit{min-height:-moz-fit-content;min-height:fit-content}.min-h-\[2\.5rem\]{min-height:2.5rem}.w-auto{width:auto}.w-2{width:.5rem}.w-40{width:10rem}.w-full{width:100%}.w-6{width:1.5rem}.w-6\/12{width:50%}.w-2\/12{width:16.666667%}.w-fit{width:-moz-fit-content;width:fit-content}.w-\[265px\]{width:265px}.w-\[240px\]{width:240px}.w-\[24px\]{width:24px}.w-4{width:1rem}.w-\[18px\]{width:18px}.w-9{width:2.25rem}.w-0{width:0}.w-24{width:6rem}.w-\[220px\]{width:220px}.w-56{width:14rem}.w-16{width:4rem}.w-max{width:-moz-max-content;width:max-content}.w-\[52px\]{width:52px}.w-1{width:.25rem}.w-96{width:24rem}.w-44{width:11rem}.w-8{width:2rem}.w-screen{width:100vw}.w-1\/12{width:8.333333%}.w-14{width:3.5rem}.w-28{width:7rem}.w-60{width:15rem}.w-1\/3{width:33.333333%}.w-1\/2{width:50%}.w-3\/4{width:75%}.w-32{width:8rem}.w-10{width:2.5rem}.w-64{width:16rem}.w-\[300px\]{width:300px}.w-1\/4{width:25%}.w-1\/5{width:20%}.w-\[1px\]{width:1px}.w-72{width:18rem}.w-20{width:5rem}.w-\[500px\]{width:500px}.w-\[400px\]{width:400px}.\!w-10{width:2.5rem!important}.\!w-0{width:0!important}.min-w-min{min-width:-moz-min-content;min-width:min-content}.min-w-\[600px\]{min-width:600px}.min-w-max{min-width:-moz-max-content;min-width:max-content}.min-w-fit{min-width:-moz-fit-content;min-width:fit-content}.min-w-\[32px\]{min-width:32px}.min-w-\[40px\]{min-width:40px}.max-w-\[400px\]{max-width:400px}.max-w-lg{max-width:32rem}.max-w-\[160px\]{max-width:160px}.max-w-\[220px\]{max-width:220px}.max-w-fit{max-width:-moz-fit-content;max-width:fit-content}.flex-auto{flex:1 1 auto}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.flex-grow,.grow{flex-grow:1}.grow-0{flex-grow:0}.table-auto{table-layout:auto}.table-fixed{table-layout:fixed}.border-collapse{border-collapse:collapse}.border-separate{border-collapse:separate}.border-spacing-0{--tw-border-spacing-x:0px;--tw-border-spacing-y:0px;border-spacing:var(--tw-border-spacing-x) var(--tw-border-spacing-y)}.origin-bottom-left{transform-origin:bottom left}.-translate-x-\[50\%\]{--tw-translate-x:-50%}.-translate-x-\[50\%\],.translate-y-\[-10px\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[-10px\]{--tw-translate-y:-10px}.translate-x-\[10px\]{--tw-translate-x:10px}.translate-x-1\/2,.translate-x-\[10px\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-1\/2{--tw-translate-x:50%}.translate-y-\[-50\%\]{--tw-translate-y:-50%}.translate-x-4,.translate-y-\[-50\%\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-4{--tw-translate-x:1rem}.translate-x-12{--tw-translate-x:3rem}.-translate-x-1\/2,.translate-x-12{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-1\/2{--tw-translate-x:-50%}.-translate-x-full{--tw-translate-x:-100%}.-translate-x-full,.translate-x-full{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-full{--tw-translate-x:100%}.translate-x-0{--tw-translate-x:0px}.scale-100,.translate-x-0{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x:1;--tw-scale-y:1}.scale-75{--tw-scale-x:.75;--tw-scale-y:.75}.scale-75,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.cursor-pointer{cursor:pointer}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-crosshair{cursor:crosshair}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.select-all{-webkit-user-select:all;-moz-user-select:all;user-select:all}.list-none{list-style-type:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.content-between{align-content:space-between}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.gap-4{gap:1rem}.gap-2{gap:.5rem}.gap-1{gap:.25rem}.gap-3{gap:.75rem}.gap-6{gap:1.5rem}.gap-\[1px\]{gap:1px}.gap-8{gap:2rem}.gap-0{gap:0}.gap-y-4{row-gap:1rem}.gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.5rem*var(--tw-space-x-reverse))}.self-start{align-self:flex-start}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-scroll{overflow:scroll}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-x-scroll{overflow-x:scroll}.overflow-y-scroll{overflow-y:scroll}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.truncate{overflow:hidden;white-space:nowrap}.text-ellipsis,.truncate{text-overflow:ellipsis}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.rounded-lg{border-radius:.5rem}.rounded-sm{border-radius:.125rem}.rounded-none{border-radius:0}.rounded-\[8rem\]{border-radius:8rem}.rounded-\[50\%\]{border-radius:50%}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-l-lg{border-bottom-left-radius:.5rem;border-top-left-radius:.5rem}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.rounded-l{border-bottom-left-radius:.25rem;border-top-left-radius:.25rem}.rounded-r{border-bottom-right-radius:.25rem;border-top-right-radius:.25rem}.rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.rounded-b-xl{border-bottom-left-radius:.75rem;border-bottom-right-radius:.75rem}.rounded-b-lg{border-bottom-left-radius:.5rem;border-bottom-right-radius:.5rem}.rounded-tl-none{border-top-left-radius:0}.rounded-tr-none{border-top-right-radius:0}.rounded-tr-lg{border-top-right-radius:.5rem}.rounded-tl-lg{border-top-left-radius:.5rem}.rounded-br-lg{border-bottom-right-radius:.5rem}.rounded-bl-lg{border-bottom-left-radius:.5rem}.rounded-tr{border-top-right-radius:.25rem}.rounded-br{border-bottom-right-radius:.25rem}.rounded-bl-none{border-bottom-left-radius:0}.rounded-br-none{border-bottom-right-radius:0}.border{border-width:1px}.border-2{border-width:2px}.border-0{border-width:0}.border-4{border-width:4px}.border-\[1px\]{border-width:1px}.border-\[3px\]{border-width:3px}.border-y-2{border-bottom-width:2px;border-top-width:2px}.border-x-2{border-left-width:2px;border-right-width:2px}.border-b{border-bottom-width:1px}.border-l-2{border-left-width:2px}.border-r-2{border-right-width:2px}.border-b-2{border-bottom-width:2px}.border-r{border-right-width:1px}.border-l-0{border-left-width:0}.border-b-0{border-bottom-width:0}.border-l{border-left-width:1px}.border-t{border-top-width:1px}.border-r-0{border-right-width:0}.border-r-\[3px\]{border-right-width:3px}.border-solid{border-style:solid}.border-gray-900{--tw-border-opacity:1;border-color:rgb(24 24 27/var(--tw-border-opacity))}.border-red-700{--tw-border-opacity:1;border-color:rgb(185 28 28/var(--tw-border-opacity))}.border-gray-100{--tw-border-opacity:1;border-color:rgb(244 244 245/var(--tw-border-opacity))}.border-green-600{--tw-border-opacity:1;border-color:rgb(22 163 74/var(--tw-border-opacity))}.border-blue-700{--tw-border-opacity:1;border-color:rgb(29 78 216/var(--tw-border-opacity))}.border-yellow-700{--tw-border-opacity:1;border-color:rgb(161 98 7/var(--tw-border-opacity))}.border-purple-700{--tw-border-opacity:1;border-color:rgb(126 34 206/var(--tw-border-opacity))}.border-yellow-900{--tw-border-opacity:1;border-color:rgb(113 63 18/var(--tw-border-opacity))}.border-green-700{--tw-border-opacity:1;border-color:rgb(21 128 61/var(--tw-border-opacity))}.border-primary{--tw-border-opacity:1;border-color:rgb(24 24 27/var(--tw-border-opacity))}.border-gray-800{--tw-border-opacity:1;border-color:rgb(39 39 42/var(--tw-border-opacity))}.border-danger{--tw-border-opacity:1;border-color:rgb(185 28 28/var(--tw-border-opacity))}.border-gray-500{--tw-border-opacity:1;border-color:rgb(113 113 122/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(228 228 231/var(--tw-border-opacity))}.border-blue-100{--tw-border-opacity:1;border-color:rgb(219 234 254/var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity:1;border-color:rgb(212 212 216/var(--tw-border-opacity))}.border-orange-500{--tw-border-opacity:1;border-color:rgb(249 115 22/var(--tw-border-opacity))}.border-black{--tw-border-opacity:1;border-color:rgb(0 0 0/var(--tw-border-opacity))}.border-gray-600{--tw-border-opacity:1;border-color:rgb(82 82 91/var(--tw-border-opacity))}.border-gray-700{--tw-border-opacity:1;border-color:rgb(63 63 70/var(--tw-border-opacity))}.border-opacity-80{--tw-border-opacity:.8}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-blue-100{--tw-bg-opacity:1;background-color:rgb(219 234 254/var(--tw-bg-opacity))}.bg-purple-100{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(244 244 245/var(--tw-bg-opacity))}.bg-blueGray-200{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity:1;background-color:rgb(239 246 255/var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity:1;background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-indigo-100{--tw-bg-opacity:1;background-color:rgb(224 231 255/var(--tw-bg-opacity))}.bg-pink-100{--tw-bg-opacity:1;background-color:rgb(252 231 243/var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(228 228 231/var(--tw-bg-opacity))}.bg-yellow-50{--tw-bg-opacity:1;background-color:rgb(254 252 232/var(--tw-bg-opacity))}.bg-red-50{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.bg-blue-700{--tw-bg-opacity:1;background-color:rgb(29 78 216/var(--tw-bg-opacity))}.bg-primary{--tw-bg-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity))}.bg-danger{--tw-bg-opacity:1;background-color:rgb(185 28 28/var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity:1;background-color:rgb(212 212 216/var(--tw-bg-opacity))}.bg-green-50{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity:1;background-color:rgb(39 39 42/var(--tw-bg-opacity))}.bg-gray-400{--tw-bg-opacity:1;background-color:rgb(161 161 170/var(--tw-bg-opacity))}.bg-red-200{--tw-bg-opacity:1;background-color:rgb(254 202 202/var(--tw-bg-opacity))}.bg-orange-200{--tw-bg-opacity:1;background-color:rgb(254 215 170/var(--tw-bg-opacity))}.bg-blueGray-400{--tw-bg-opacity:1;background-color:rgb(148 163 184/var(--tw-bg-opacity))}.bg-offWhite{--tw-bg-opacity:1;background-color:rgb(248 248 247/var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity:1;background-color:rgb(250 250 250/var(--tw-bg-opacity))}.bg-purple-200{--tw-bg-opacity:1;background-color:rgb(233 213 255/var(--tw-bg-opacity))}.bg-blue-200{--tw-bg-opacity:1;background-color:rgb(191 219 254/var(--tw-bg-opacity))}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.bg-none{background-image:none}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-blue-100{--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-blue-200{--tw-gradient-from:#bfdbfe;--tw-gradient-to:rgba(191,219,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-red-100{--tw-gradient-from:#fee2e2;--tw-gradient-to:hsla(0,93%,94%,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-yellow-100{--tw-gradient-from:#fef9c3;--tw-gradient-to:hsla(55,97%,88%,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-pink-100{--tw-gradient-from:#fce7f3;--tw-gradient-to:rgba(252,231,243,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-gray-100{--tw-gradient-from:#f4f4f5;--tw-gradient-to:hsla(240,5%,96%,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.via-gray-200{--tw-gradient-to:hsla(240,6%,90%,0);--tw-gradient-stops:var(--tw-gradient-from),#e4e4e7,var(--tw-gradient-to)}.to-purple-100{--tw-gradient-to:#f3e8ff}.to-red-200{--tw-gradient-to:#fecaca}.to-yellow-200{--tw-gradient-to:#fef08a}.to-pink-200{--tw-gradient-to:#fbcfe8}.to-gray-300{--tw-gradient-to:#d4d4d8}.to-purple-200{--tw-gradient-to:#e9d5ff}.bg-fixed{background-attachment:fixed}.stroke-gray-200{stroke:#e4e4e7}.stroke-gray-700{stroke:#3f3f46}.p-3{padding:.75rem}.\!p-0{padding:0!important}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-1{padding:.25rem}.p-0{padding:0}.p-2{padding:.5rem}.p-12{padding:3rem}.p-6{padding:1.5rem}.p-0\.5{padding:.125rem}.p-8{padding:2rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.py-4{padding-bottom:1rem;padding-top:1rem}.px-2{padding-left:.5rem;padding-right:.5rem}.py-5{padding-bottom:1.25rem;padding-top:1.25rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-0{padding-left:0;padding-right:0}.px-8{padding-left:2rem;padding-right:2rem}.\!py-1\.5{padding-bottom:.375rem!important;padding-top:.375rem!important}.\!px-1{padding-left:.25rem!important;padding-right:.25rem!important}.\!py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-0{padding-bottom:0;padding-top:0}.px-10{padding-left:2.5rem;padding-right:2.5rem}.py-1\.5{padding-bottom:.375rem;padding-top:.375rem}.pt-8{padding-top:2rem}.pb-0{padding-bottom:0}.pb-4{padding-bottom:1rem}.pb-24{padding-bottom:6rem}.pl-5{padding-left:1.25rem}.pr-2{padding-right:.5rem}.pt-1{padding-top:.25rem}.pb-2{padding-bottom:.5rem}.pb-10{padding-bottom:2.5rem}.pr-4{padding-right:1rem}.pr-1{padding-right:.25rem}.pl-2{padding-left:.5rem}.pb-20{padding-bottom:5rem}.pt-2{padding-top:.5rem}.pb-12{padding-bottom:3rem}.pt-24{padding-top:6rem}.pl-3{padding-left:.75rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-top{vertical-align:top}.align-middle{vertical-align:middle}.font-secondary{font-family:Poppins,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.font-primary{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.text-sm{font-size:.875rem;line-height:1.25rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-\[12px\]{font-size:12px}.text-\[12rem\]{font-size:12rem}.text-2xl{font-size:1.5rem;line-height:2rem}.text-\[10px\]{font-size:10px}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-8xl{font-size:6rem;line-height:1}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-light{font-weight:300}.font-semibold{font-weight:600}.font-extrabold{font-weight:800}.capitalize{text-transform:capitalize}.italic{font-style:italic}.leading-4{line-height:1rem}.leading-6{line-height:1.5rem}.leading-\[18px\]{line-height:18px}.leading-10{line-height:2.5rem}.leading-3{line-height:.75rem}.leading-\[48px\]{line-height:48px}.text-gray-900{--tw-text-opacity:1;color:rgb(24 24 27/var(--tw-text-opacity))}.text-purple-200{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.text-blue-200{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity:1;color:rgb(63 63 70/var(--tw-text-opacity))}.text-blue-700{--tw-text-opacity:1;color:rgb(29 78 216/var(--tw-text-opacity))}.text-primary{--tw-text-opacity:1;color:rgb(24 24 27/var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity:1;color:rgb(113 113 122/var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity:1;color:rgb(39 39 42/var(--tw-text-opacity))}.text-red-700{--tw-text-opacity:1;color:rgb(185 28 28/var(--tw-text-opacity))}.text-orange-900{--tw-text-opacity:1;color:rgb(124 45 18/var(--tw-text-opacity))}.text-blue-900{--tw-text-opacity:1;color:rgb(30 58 138/var(--tw-text-opacity))}.text-danger{--tw-text-opacity:1;color:rgb(185 28 28/var(--tw-text-opacity))}.text-gray-100{--tw-text-opacity:1;color:rgb(244 244 245/var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity:1;color:rgb(82 82 91/var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity:1;color:rgb(161 161 170/var(--tw-text-opacity))}.text-yellow-700{--tw-text-opacity:1;color:rgb(161 98 7/var(--tw-text-opacity))}.text-pink-700{--tw-text-opacity:1;color:rgb(190 24 93/var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity:1;color:rgb(212 212 216/var(--tw-text-opacity))}.text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.no-underline{text-decoration-line:none}.decoration-blue-700{text-decoration-color:#1d4ed8}.underline-offset-2{text-underline-offset:2px}.accent-gray-900{accent-color:#18181b}.opacity-75{opacity:.75}.opacity-50{opacity:.5}.opacity-90{opacity:.9}.opacity-0{opacity:0}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-xl{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color)}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.outline-2{outline-width:2px}.-outline-offset-2{outline-offset:-2px}.ring-1{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-gray-900{--tw-ring-opacity:1;--tw-ring-color:rgb(24 24 27/var(--tw-ring-opacity))}.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)}.\!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)!important}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}*,body,html{box-sizing:border-box}body{font-family:Inter,sans-serif;position:relative}h1,h2,h3,h4,h5,h6,labels,titles{font-family:Poppins,sans-serif}.hljs{max-height:25em;overflow-y:scroll}input[type=search]::-webkit-search-cancel-button{display:none}.placeholder\:text-gray-600::-moz-placeholder{--tw-text-opacity:1;color:rgb(82 82 91/var(--tw-text-opacity))}.placeholder\:text-gray-600::placeholder{--tw-text-opacity:1;color:rgb(82 82 91/var(--tw-text-opacity))}.after\:content-\[\"\*\"\]:after{--tw-content:"*";content:var(--tw-content)}.first\:rounded-t-xl:first-child{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.first\:border-t-2:first-child{border-top-width:2px}.first\:pt-0:first-child{padding-top:0}.last\:rounded-b-xl:last-child{border-bottom-left-radius:.75rem;border-bottom-right-radius:.75rem}.last\:border-b-2:last-child{border-bottom-width:2px}.last\:border-b-0:last-child{border-bottom-width:0}.first-of-type\:rounded-t:first-of-type{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.first-of-type\:rounded-bl-lg:first-of-type{border-bottom-left-radius:.5rem}.first-of-type\:rounded-tl-lg:first-of-type{border-top-left-radius:.5rem}.first-of-type\:rounded-tr-lg:first-of-type{border-top-right-radius:.5rem}.last-of-type\:hidden:last-of-type{display:none}.last-of-type\:rounded-b:last-of-type{border-bottom-left-radius:.25rem;border-bottom-right-radius:.25rem}.last-of-type\:rounded-bl-lg:last-of-type{border-bottom-left-radius:.5rem}.last-of-type\:border-b-0:last-of-type{border-bottom-width:0}.last-of-type\:border-none:last-of-type{border-style:none}.focus-within\:border-blue-700:focus-within{--tw-border-opacity:1;border-color:rgb(29 78 216/var(--tw-border-opacity))}.hover\:scale-125:hover{--tw-scale-x:1.25;--tw-scale-y:1.25}.hover\:scale-105:hover,.hover\:scale-125:hover{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:scale-105:hover{--tw-scale-x:1.05;--tw-scale-y:1.05}.hover\:scale-\[103\%\]:hover{--tw-scale-x:103%;--tw-scale-y:103%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:cursor-pointer:hover{cursor:pointer}.hover\:border-b-2:hover{border-bottom-width:2px}.hover\:border-gray-800:hover{--tw-border-opacity:1;border-color:rgb(39 39 42/var(--tw-border-opacity))}.hover\:border-primary:hover{--tw-border-opacity:1;border-color:rgb(24 24 27/var(--tw-border-opacity))}.hover\:border-red-900:hover{--tw-border-opacity:1;border-color:rgb(127 29 29/var(--tw-border-opacity))}.hover\:border-danger:hover{--tw-border-opacity:1;border-color:rgb(185 28 28/var(--tw-border-opacity))}.hover\:border-gray-900:hover{--tw-border-opacity:1;border-color:rgb(24 24 27/var(--tw-border-opacity))}.hover\:border-blue-700:hover{--tw-border-opacity:1;border-color:rgb(29 78 216/var(--tw-border-opacity))}.hover\:bg-white:hover{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.hover\:bg-gray-900:hover,.hover\:bg-primary:hover{--tw-bg-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity))}.hover\:bg-blueGray-200:hover{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity:1;background-color:rgb(250 250 250/var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity:1;background-color:rgb(244 244 245/var(--tw-bg-opacity))}.hover\:bg-gradient-to-br:hover{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.hover\:bg-gradient-to-r:hover{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.hover\:from-blue-100:hover{--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.hover\:from-primary:hover{--tw-gradient-from:#18181b;--tw-gradient-to:rgba(24,24,27,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.hover\:to-purple-100:hover{--tw-gradient-to:#f3e8ff}.hover\:text-gray-900:hover{--tw-text-opacity:1;color:rgb(24 24 27/var(--tw-text-opacity))}.hover\:text-blue-700:hover{--tw-text-opacity:1;color:rgb(29 78 216/var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.hover\:decoration-blue-700:hover{text-decoration-color:#1d4ed8}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus-visible\:bg-blue-50:focus-visible{--tw-bg-opacity:1;background-color:rgb(239 246 255/var(--tw-bg-opacity))}.focus-visible\:outline:focus-visible{outline-style:solid}.focus-visible\:outline-2:focus-visible{outline-width:2px}.focus-visible\:-outline-offset-2:focus-visible{outline-offset:-2px}.focus-visible\:outline-blue-700:focus-visible{outline-color:#1d4ed8}.group:hover .group-hover\:visible{visibility:visible}@media (prefers-color-scheme:dark){.dark\:border-gray-500{--tw-border-opacity:1;border-color:rgb(113 113 122/var(--tw-border-opacity))}.dark\:bg-gray-600{--tw-bg-opacity:1;background-color:rgb(82 82 91/var(--tw-bg-opacity))}.dark\:text-gray-400{--tw-text-opacity:1;color:rgb(161 161 170/var(--tw-text-opacity))}}@media not all and (min-width:1280px){.max-xl\:hidden{display:none}}@media not all and (min-width:768px){.max-md\:hidden{display:none}.max-md\:max-w-\[50\%\]{max-width:50%}.max-md\:overflow-x-scroll{overflow-x:scroll}}@media not all and (min-width:640px){.max-sm\:flex-col{flex-direction:column}}@media (min-width:640px){.sm\:block{display:block}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:justify-end{justify-content:flex-end}.sm\:justify-between{justify-content:space-between}}@media (min-width:768px){.md\:visible{visibility:visible}.md\:right-\[500px\]{right:500px}.md\:col-span-2{grid-column:span 2/span 2}.md\:block{display:block}.md\:table-cell{display:table-cell}.md\:table-row{display:table-row}.md\:hidden{display:none}.md\:h-auto{height:auto}.md\:w-1\/2{width:50%}.md\:w-auto{width:auto}.md\:w-32{width:8rem}.md\:w-2\/3{width:66.666667%}.md\:w-80{width:20rem}.md\:w-\[500px\]{width:500px}.md\:w-\[360px\]{width:360px}.md\:max-w-none{max-width:none}.md\:max-w-\[360px\]{max-width:360px}.md\:table-fixed{table-layout:fixed}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:gap-x-8{-moz-column-gap:2rem;column-gap:2rem}.md\:whitespace-normal{white-space:normal}.md\:px-8{padding-left:2rem;padding-right:2rem}.md\:px-2{padding-left:.5rem;padding-right:.5rem}.md\:px-10{padding-left:2.5rem;padding-right:2.5rem}.md\:text-2xl{font-size:1.5rem;line-height:2rem}.md\:text-base{font-size:1rem;line-height:1.5rem}}@media (min-width:1024px){.lg\:flex{display:flex}.lg\:max-h-\[24rem\]{max-height:24rem}.lg\:max-h-\[23\.5rem\]{max-height:23.5rem}.lg\:w-auto{width:auto}.lg\:w-2\/3{width:66.666667%}.lg\:w-1\/2{width:50%}.lg\:w-1\/3{width:33.333333%}.lg\:w-1\/4{width:25%}.lg\:w-\[500px\]{width:500px}.lg\:w-3\/5{width:60%}.lg\:w-3\/4{width:75%}.lg\:max-w-\[500px\]{max-width:500px}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:flex-row{flex-direction:row}.lg\:items-end{align-items:flex-end}.lg\:justify-end{justify-content:flex-end}.lg\:gap-2{gap:.5rem}.lg\:gap-4{gap:1rem}.lg\:border-r-2{border-right-width:2px}.lg\:px-12{padding-left:3rem;padding-right:3rem}.lg\:pr-2{padding-right:.5rem}}@media (min-width:1280px){.xl\:flex{display:flex}.xl\:table-cell{display:table-cell}.xl\:hidden{display:none}.xl\:w-1\/2{width:50%}.xl\:w-3\/4{width:75%}.xl\:w-1\/4{width:25%}.xl\:w-10{width:2.5rem}.xl\:w-80{width:20rem}.xl\:w-auto{width:auto}.xl\:w-11\/12{width:91.666667%}.xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.xl\:flex-row{flex-direction:row}.xl\:flex-nowrap{flex-wrap:nowrap}.xl\:items-center{align-items:center}.xl\:gap-3{gap:.75rem}.xl\:gap-4{gap:1rem}.xl\:gap-x-16{-moz-column-gap:4rem;column-gap:4rem}.xl\:px-4{padding-left:1rem;padding-right:1rem}.xl\:py-3{padding-bottom:.75rem;padding-top:.75rem}.xl\:text-left{text-align:left}.xl\:text-base{font-size:1rem;line-height:1.5rem}} diff --git a/ui/assets/cloud/_app/immutable/assets/apple-touch-icon.8685d9e4.png b/ui/assets/cloud/_app/immutable/assets/apple-touch-icon.8685d9e4.png deleted file mode 100644 index ccaf19ce0b..0000000000 Binary files a/ui/assets/cloud/_app/immutable/assets/apple-touch-icon.8685d9e4.png and /dev/null differ diff --git a/ui/assets/cloud/_app/immutable/assets/badge.bfa9122b.css b/ui/assets/cloud/_app/immutable/assets/badge.bfa9122b.css deleted file mode 100644 index f8347925b5..0000000000 --- a/ui/assets/cloud/_app/immutable/assets/badge.bfa9122b.css +++ /dev/null @@ -1 +0,0 @@ -.beta.svelte-1sxi5rd,.blue.svelte-1sxi5rd,.running.svelte-1sxi5rd{background-color:rgb(219 234 254/var(--tw-bg-opacity));border-color:rgb(29 78 216/var(--tw-border-opacity));color:rgb(29 78 216/var(--tw-text-opacity))}.alpha.svelte-1sxi5rd,.beta.svelte-1sxi5rd,.blue.svelte-1sxi5rd,.purple.svelte-1sxi5rd,.running.svelte-1sxi5rd{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1}.alpha.svelte-1sxi5rd,.purple.svelte-1sxi5rd{background-color:rgb(243 232 255/var(--tw-bg-opacity));border-color:rgb(126 34 206/var(--tw-border-opacity));color:rgb(126 34 206/var(--tw-text-opacity))}.error.svelte-1sxi5rd,.red.svelte-1sxi5rd{background-color:rgb(254 242 242/var(--tw-bg-opacity));border-color:rgb(185 28 28/var(--tw-border-opacity));color:rgb(185 28 28/var(--tw-text-opacity))}.error.svelte-1sxi5rd,.red.svelte-1sxi5rd,.warning.svelte-1sxi5rd,.yellow.svelte-1sxi5rd{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1}.warning.svelte-1sxi5rd,.yellow.svelte-1sxi5rd{background-color:rgb(254 249 195/var(--tw-bg-opacity));border-color:rgb(113 63 18/var(--tw-border-opacity));color:rgb(113 63 18/var(--tw-text-opacity))}.default.svelte-1sxi5rd,.gray.svelte-1sxi5rd{background-color:rgb(244 244 245/var(--tw-bg-opacity));border-color:rgb(24 24 27/var(--tw-border-opacity));color:rgb(24 24 27/var(--tw-text-opacity))}.active.svelte-1sxi5rd,.available.svelte-1sxi5rd,.default.svelte-1sxi5rd,.gray.svelte-1sxi5rd,.green.svelte-1sxi5rd{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1}.active.svelte-1sxi5rd,.available.svelte-1sxi5rd,.green.svelte-1sxi5rd{background-color:rgb(220 252 231/var(--tw-bg-opacity));border-color:rgb(21 128 61/var(--tw-border-opacity));color:rgb(21 128 61/var(--tw-text-opacity))}.count.svelte-1sxi5rd{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(29 78 216/var(--tw-bg-opacity));border-radius:9999px;color:rgb(255 255 255/var(--tw-text-opacity));height:1.5rem;min-width:-moz-max-content;min-width:max-content;width:1.5rem} diff --git a/ui/assets/cloud/_app/immutable/assets/banner.1e0667a3.png b/ui/assets/cloud/_app/immutable/assets/banner.1e0667a3.png deleted file mode 100644 index fdcd07a527..0000000000 Binary files a/ui/assets/cloud/_app/immutable/assets/banner.1e0667a3.png and /dev/null differ diff --git a/ui/assets/cloud/_app/immutable/assets/button.ead2e440.css b/ui/assets/cloud/_app/immutable/assets/button.ead2e440.css deleted file mode 100644 index a0f9d3c185..0000000000 --- a/ui/assets/cloud/_app/immutable/assets/button.ead2e440.css +++ /dev/null @@ -1 +0,0 @@ -.button.svelte-bvxuak{align-items:center;border-radius:.25rem;display:flex;font-family:Poppins,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:.875rem;gap:.5rem;justify-content:center;line-height:1.25rem;position:relative;width:-moz-fit-content;width:fit-content}.destructive.svelte-bvxuak,.login.svelte-bvxuak,.primary.svelte-bvxuak,.secondary.svelte-bvxuak{border-width:2px;padding:.5rem 1rem;transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.button.svelte-bvxuak:disabled{cursor:not-allowed}a.disabled.svelte-bvxuak{opacity:.75;pointer-events:none}a.disabled.svelte-bvxuak:hover{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(39 39 42/var(--tw-border-opacity));color:rgb(39 39 42/var(--tw-text-opacity))}.large.svelte-bvxuak{font-size:1.125rem;line-height:1.75rem}.login.svelte-bvxuak,.primary.svelte-bvxuak{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity));background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));border-color:rgb(24 24 27/var(--tw-border-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.login.svelte-bvxuak:hover,.primary.svelte-bvxuak:hover{--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#f3e8ff;--tw-text-opacity:1;color:rgb(24 24 27/var(--tw-text-opacity))}.login.svelte-bvxuak:disabled,.primary.svelte-bvxuak:disabled{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));opacity:.75}.login.svelte-bvxuak:disabled:hover,.primary.svelte-bvxuak:disabled:hover{--tw-gradient-from:#18181b;--tw-gradient-to:rgba(24,24,27,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#18181b}.secondary.svelte-bvxuak{background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(39 39 42/var(--tw-border-opacity));color:rgb(39 39 42/var(--tw-text-opacity))}.secondary.svelte-bvxuak,.secondary.svelte-bvxuak:hover{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1}.secondary.svelte-bvxuak:hover{background-color:rgb(24 24 27/var(--tw-bg-opacity));border-color:rgb(24 24 27/var(--tw-border-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.secondary.svelte-bvxuak:disabled{opacity:.75}.secondary.svelte-bvxuak:disabled:hover{background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(39 39 42/var(--tw-border-opacity));color:rgb(39 39 42/var(--tw-text-opacity))}.destructive.svelte-bvxuak,.secondary.svelte-bvxuak:disabled:hover{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1}.destructive.svelte-bvxuak{background-color:rgb(185 28 28/var(--tw-bg-opacity));border-color:rgb(185 28 28/var(--tw-border-opacity));color:rgb(255 255 255/var(--tw-text-opacity));padding-left:1.25rem;padding-right:1.25rem}.destructive.svelte-bvxuak:hover{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity));border-color:rgb(127 29 29/var(--tw-border-opacity))}.destructive.svelte-bvxuak:disabled{opacity:.5}.destructive.svelte-bvxuak:disabled:hover{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(185 28 28/var(--tw-bg-opacity));border-color:rgb(185 28 28/var(--tw-border-opacity))}.link.svelte-bvxuak{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;background-image:none;border-width:0;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:.875rem;line-height:1.25rem;padding:0;text-decoration-line:underline}.selected.svelte-bvxuak{--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#f3e8ff;--tw-text-opacity:1;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));color:rgb(24 24 27/var(--tw-text-opacity))}.login.svelte-bvxuak{margin-left:auto;margin-right:auto}.thin.svelte-bvxuak{height:2rem;padding-bottom:.25rem;padding-top:.25rem}.unround.svelte-bvxuak{border-radius:0}.unroundLeft.svelte-bvxuak{border-bottom-left-radius:0;border-top-left-radius:0}.unroundRight.svelte-bvxuak{border-bottom-right-radius:0;border-top-right-radius:0} diff --git a/ui/assets/cloud/_app/immutable/assets/code-block.86c182bf.css b/ui/assets/cloud/_app/immutable/assets/code-block.86c182bf.css deleted file mode 100644 index 8b3f0b78aa..0000000000 --- a/ui/assets/cloud/_app/immutable/assets/code-block.86c182bf.css +++ /dev/null @@ -1 +0,0 @@ -.inline.svelte-1xzf3cb{right:.5rem;top:1.25rem} diff --git a/ui/assets/cloud/_app/immutable/assets/drawer.ea44a723.css b/ui/assets/cloud/_app/immutable/assets/drawer.ea44a723.css deleted file mode 100644 index 56f298a8da..0000000000 --- a/ui/assets/cloud/_app/immutable/assets/drawer.ea44a723.css +++ /dev/null @@ -1 +0,0 @@ -.drawer.svelte-c6hvcn.svelte-c6hvcn{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-top-left-radius:.5rem;border-top-right-radius:.5rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(24 24 27/var(--tw-text-opacity));height:auto;overflow-y:auto;position:fixed;z-index:55}.drawer.bottom.svelte-c6hvcn.svelte-c6hvcn{left:0}.drawer.bottom.svelte-c6hvcn.svelte-c6hvcn,.drawer.right.svelte-c6hvcn.svelte-c6hvcn{bottom:0;right:0}.drawer.right.svelte-c6hvcn.svelte-c6hvcn{height:100%;top:0}.drawer.dark.svelte-c6hvcn.svelte-c6hvcn{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity));color:rgb(244 244 245/var(--tw-text-opacity))}.close-button-wrapper.svelte-c6hvcn.svelte-c6hvcn{display:flex;justify-content:flex-end;padding:.5rem;width:100%}.close-button-wrapper.right.svelte-c6hvcn.svelte-c6hvcn{padding-bottom:5rem}.title-wrapper.svelte-c6hvcn.svelte-c6hvcn{display:flex;flex-direction:column;gap:.5rem;justify-content:center;padding:1rem 2rem}.title-wrapper.bottom.svelte-c6hvcn.svelte-c6hvcn{align-items:center;padding:0}.title-wrapper.right.svelte-c6hvcn.svelte-c6hvcn{align-items:flex-start}.title-wrapper.svelte-c6hvcn h1.svelte-c6hvcn{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:1rem;font-weight:500;line-height:1.5rem}.content.svelte-c6hvcn.svelte-c6hvcn{padding-left:2rem;padding-right:2rem;white-space:normal}.content.right.svelte-c6hvcn.svelte-c6hvcn{padding-bottom:1rem;padding-top:1rem}.content.bottom.svelte-c6hvcn.svelte-c6hvcn{padding-bottom:2rem;padding-top:2rem} diff --git a/ui/assets/cloud/_app/immutable/assets/dropdown-menu.e29ed15e.css b/ui/assets/cloud/_app/immutable/assets/dropdown-menu.e29ed15e.css deleted file mode 100644 index 043b0fde5d..0000000000 --- a/ui/assets/cloud/_app/immutable/assets/dropdown-menu.e29ed15e.css +++ /dev/null @@ -1 +0,0 @@ -.dropdown-menu.svelte-1o0pqx5{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(24 24 27/var(--tw-border-opacity));border-radius:.25rem;border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(24 24 27/var(--tw-text-opacity));margin-top:.25rem;padding-bottom:.5rem;padding-top:.5rem;position:absolute;width:auto;z-index:50}.dropdown-menu.right.svelte-1o0pqx5{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.dot.svelte-1o0pqx5{--tw-bg-opacity:1;background-color:rgb(147 197 253/var(--tw-bg-opacity));border-radius:9999px;height:.5rem;pointer-events:none;position:absolute;right:-.25rem;top:0;width:.5rem}.disabled.svelte-1o0pqx5{cursor:not-allowed} diff --git a/ui/assets/cloud/_app/immutable/assets/event-empty-row.cbc2729c.css b/ui/assets/cloud/_app/immutable/assets/event-empty-row.cbc2729c.css deleted file mode 100644 index d41cab3948..0000000000 --- a/ui/assets/cloud/_app/immutable/assets/event-empty-row.cbc2729c.css +++ /dev/null @@ -1 +0,0 @@ -.badge.svelte-n4ehvt{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(244 244 245/var(--tw-bg-opacity));border-radius:.125rem;color:rgb(24 24 27/var(--tw-text-opacity));padding:.25rem}.row.svelte-cl0oev.svelte-cl0oev{display:flex;padding-left:1rem;padding-right:1rem}.row.svelte-cl0oev.svelte-cl0oev:first-child{padding-top:0}.content.svelte-cl0oev.svelte-cl0oev{--tw-border-opacity:1;border-bottom-width:2px;border-color:rgb(228 228 231/var(--tw-border-opacity))}.code-block-row.svelte-cl0oev.svelte-cl0oev,.content.svelte-cl0oev.svelte-cl0oev{display:block;padding-bottom:.5rem;padding-top:.5rem;text-align:left;width:100%}.code-with-stack-trace.svelte-cl0oev.svelte-cl0oev{display:flex;flex-direction:column;gap:.5rem}@media (min-width:1024px){.code-with-stack-trace.svelte-cl0oev.svelte-cl0oev{flex-direction:row}}.detail-row.svelte-cl0oev.svelte-cl0oev{align-items:flex-start;display:block;gap:1rem;padding-bottom:.5rem;padding-top:.5rem;text-align:left;width:100%}@media (min-width:1280px){.detail-row.svelte-cl0oev.svelte-cl0oev{display:flex}}.row.svelte-cl0oev:last-of-type .content.svelte-cl0oev{border-bottom-width:0}.badge.svelte-cl0oev.svelte-cl0oev{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(244 244 245/var(--tw-bg-opacity));border-radius:.125rem;color:rgb(24 24 27/var(--tw-text-opacity));padding:.25rem}.pill.svelte-czm4v2{--tw-border-opacity:1;align-items:center;border-color:rgb(244 244 245/var(--tw-border-opacity));border-radius:9999px;border-width:2px;display:flex;font-size:.875rem;gap:.25rem;justify-content:center;line-height:1.25rem;padding:.25rem .75rem}.gray.svelte-czm4v2{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(244 244 245/var(--tw-bg-opacity));color:rgb(82 82 91/var(--tw-text-opacity))}.gray.active.svelte-czm4v2{--tw-border-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(24 24 27/var(--tw-border-opacity));border-width:2px;color:rgb(24 24 27/var(--tw-text-opacity))}.blueGray.svelte-czm4v2,.gray.active.svelte-czm4v2{--tw-bg-opacity:1;--tw-text-opacity:1}.blueGray.svelte-czm4v2{background-color:rgb(226 232 240/var(--tw-bg-opacity));color:rgb(15 23 42/var(--tw-text-opacity))}.blueGray.active.svelte-czm4v2{--tw-border-opacity:1;border-color:rgb(15 23 42/var(--tw-border-opacity));border-width:2px}.blue.svelte-czm4v2{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(219 234 254/var(--tw-bg-opacity));color:rgb(29 78 216/var(--tw-text-opacity))}.blue.active.svelte-czm4v2{border-color:rgb(29 78 216/var(--tw-border-opacity))}.blue.active.svelte-czm4v2,.lightBlue.active.svelte-czm4v2{--tw-border-opacity:1;border-width:2px}.lightBlue.active.svelte-czm4v2{background-color:rgb(239 246 255/var(--tw-bg-opacity));border-color:rgb(24 24 27/var(--tw-border-opacity));color:rgb(24 24 27/var(--tw-text-opacity))}.green.svelte-czm4v2,.lightBlue.active.svelte-czm4v2{--tw-bg-opacity:1;--tw-text-opacity:1}.green.svelte-czm4v2{background-color:rgb(220 252 231/var(--tw-bg-opacity));color:rgb(21 128 61/var(--tw-text-opacity))}.green.active.svelte-czm4v2{--tw-border-opacity:1;border-color:rgb(21 128 61/var(--tw-border-opacity));border-width:2px}.yellow.svelte-czm4v2{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity));color:rgb(113 63 18/var(--tw-text-opacity))}.yellow.active.svelte-czm4v2{--tw-border-opacity:1;border-color:rgb(113 63 18/var(--tw-border-opacity));border-width:2px}.orange.svelte-czm4v2{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity));color:rgb(124 45 18/var(--tw-text-opacity))}.orange.active.svelte-czm4v2{--tw-border-opacity:1;border-color:rgb(124 45 18/var(--tw-border-opacity));border-width:2px}.red.svelte-czm4v2{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(254 226 226/var(--tw-bg-opacity));color:rgb(185 28 28/var(--tw-text-opacity))}.red.active.svelte-czm4v2{--tw-border-opacity:1;border-color:rgb(185 28 28/var(--tw-border-opacity));border-width:2px}.indigo.svelte-czm4v2{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(224 231 255/var(--tw-bg-opacity));color:rgb(67 56 202/var(--tw-text-opacity))}.indigo.active.svelte-czm4v2{--tw-border-opacity:1;border-color:rgb(67 56 202/var(--tw-border-opacity));border-width:2px}.purple.svelte-czm4v2{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity));color:rgb(126 34 206/var(--tw-text-opacity))}.purple.active.svelte-czm4v2{--tw-border-opacity:1;border-color:rgb(126 34 206/var(--tw-border-opacity));border-width:2px}.pink.svelte-czm4v2{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(252 231 243/var(--tw-bg-opacity));color:rgb(190 24 93/var(--tw-text-opacity))}.pink.active.svelte-czm4v2{--tw-border-opacity:1;border-color:rgb(190 24 93/var(--tw-border-opacity));border-width:2px}.pill-container.svelte-1vvd0nc{--tw-bg-opacity:1;align-items:center;background-color:rgb(244 244 245/var(--tw-bg-opacity));border-radius:.375rem;display:inline-flex;flex-direction:column;gap:.5rem;justify-content:flex-start;padding:.5rem}@media (min-width:768px){.pill-container.svelte-1vvd0nc{border-radius:9999px;flex-direction:row}}.row.svelte-1joe2mb.svelte-1joe2mb:hover{--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#f3e8ff;background-attachment:fixed;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));cursor:pointer}.active.svelte-1joe2mb.svelte-1joe2mb{background-color:rgb(239 246 255/var(--tw-bg-opacity))}.active.svelte-1joe2mb.svelte-1joe2mb,.failure.svelte-1joe2mb.svelte-1joe2mb{--tw-bg-opacity:1}.failure.svelte-1joe2mb.svelte-1joe2mb{background-color:rgb(254 242 242/var(--tw-bg-opacity))}.failure.svelte-1joe2mb .event-type.svelte-1joe2mb{--tw-text-opacity:1;color:rgb(185 28 28/var(--tw-text-opacity))}.canceled.svelte-1joe2mb.svelte-1joe2mb{--tw-bg-opacity:1;background-color:rgb(254 252 232/var(--tw-bg-opacity))}.canceled.svelte-1joe2mb .event-type.svelte-1joe2mb{--tw-text-opacity:1;color:rgb(161 98 7/var(--tw-text-opacity))}.terminated.svelte-1joe2mb.svelte-1joe2mb{--tw-bg-opacity:1;background-color:rgb(253 242 248/var(--tw-bg-opacity))}.terminated.svelte-1joe2mb .event-type.svelte-1joe2mb{--tw-text-opacity:1;color:rgb(190 24 93/var(--tw-text-opacity))}.active.canceled.svelte-1joe2mb.svelte-1joe2mb,.failure.svelte-1joe2mb.svelte-1joe2mb:hover{--tw-gradient-from:#fee2e2;--tw-gradient-to:hsla(0,93%,94%,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#fecaca}.active.canceled.svelte-1joe2mb.svelte-1joe2mb,.canceled.svelte-1joe2mb.svelte-1joe2mb:hover,.failure.svelte-1joe2mb.svelte-1joe2mb:hover{background-attachment:fixed;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.active.canceled.svelte-1joe2mb.svelte-1joe2mb,.canceled.svelte-1joe2mb.svelte-1joe2mb:hover{--tw-gradient-from:#fef9c3;--tw-gradient-to:hsla(55,97%,88%,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#fef08a}.active.terminated.svelte-1joe2mb.svelte-1joe2mb,.terminated.svelte-1joe2mb.svelte-1joe2mb:hover{--tw-gradient-from:#fce7f3;--tw-gradient-to:rgba(252,231,243,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#fbcfe8;background-attachment:fixed;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.row.svelte-aaifo7.svelte-aaifo7{--tw-border-opacity:1;align-items:center;border-color:rgb(24 24 27/var(--tw-border-opacity));flex-wrap:wrap;font-size:.875rem;line-height:1.25rem;text-decoration-line:none}@media (min-width:1280px){.row.svelte-aaifo7.svelte-aaifo7{font-size:1rem;line-height:1.5rem;padding-bottom:.75rem;padding-top:.75rem}}.row.svelte-aaifo7.svelte-aaifo7:hover{--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#f3e8ff;background-attachment:fixed;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));cursor:pointer;z-index:50}.expanded.row.svelte-aaifo7.svelte-aaifo7{background-color:rgb(239 246 255/var(--tw-bg-opacity))}.expanded.row.svelte-aaifo7.svelte-aaifo7,.failure.svelte-aaifo7.svelte-aaifo7{--tw-bg-opacity:1}.failure.svelte-aaifo7.svelte-aaifo7{background-color:rgb(254 242 242/var(--tw-bg-opacity))}.failure.svelte-aaifo7 .event-name.svelte-aaifo7{--tw-text-opacity:1;color:rgb(185 28 28/var(--tw-text-opacity))}.canceled.svelte-aaifo7.svelte-aaifo7{--tw-bg-opacity:1;background-color:rgb(254 252 232/var(--tw-bg-opacity))}.canceled.svelte-aaifo7 .event-name.svelte-aaifo7{--tw-text-opacity:1;color:rgb(161 98 7/var(--tw-text-opacity))}.terminated.svelte-aaifo7.svelte-aaifo7{--tw-bg-opacity:1;background-color:rgb(253 242 248/var(--tw-bg-opacity))}.terminated.svelte-aaifo7 .event-name.svelte-aaifo7{--tw-text-opacity:1;color:rgb(190 24 93/var(--tw-text-opacity))}.expanded-cell.svelte-aaifo7.svelte-aaifo7{flex-wrap:wrap;font-size:.875rem;line-height:1.25rem;text-decoration-line:none;width:100%}@media (min-width:1280px){.expanded-cell.svelte-aaifo7.svelte-aaifo7{font-size:1rem;line-height:1.5rem}}.typedError.svelte-aaifo7 .expanded-cell.svelte-aaifo7{border-bottom-width:0}.row.typedError.svelte-aaifo7.svelte-aaifo7{border-radius:.5rem}.row.typedError.expanded.svelte-aaifo7.svelte-aaifo7{border-bottom-left-radius:0;border-bottom-right-radius:0}.active.svelte-aaifo7.svelte-aaifo7{--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#f3e8ff;cursor:pointer;z-index:50}.active.canceled.svelte-aaifo7.svelte-aaifo7,.active.svelte-aaifo7.svelte-aaifo7,.canceled.svelte-aaifo7.svelte-aaifo7:hover{background-attachment:fixed;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.active.canceled.svelte-aaifo7.svelte-aaifo7,.canceled.svelte-aaifo7.svelte-aaifo7:hover{--tw-gradient-from:#fef9c3;--tw-gradient-to:hsla(55,97%,88%,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#fef08a}.active.failure.svelte-aaifo7.svelte-aaifo7,.failure.svelte-aaifo7.svelte-aaifo7:hover{--tw-gradient-from:#fee2e2;--tw-gradient-to:hsla(0,93%,94%,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#fecaca}.active.failure.svelte-aaifo7.svelte-aaifo7,.active.terminated.svelte-aaifo7.svelte-aaifo7,.failure.svelte-aaifo7.svelte-aaifo7:hover,.terminated.svelte-aaifo7.svelte-aaifo7:hover{background-attachment:fixed;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.active.terminated.svelte-aaifo7.svelte-aaifo7,.terminated.svelte-aaifo7.svelte-aaifo7:hover{--tw-gradient-from:#fce7f3;--tw-gradient-to:rgba(252,231,243,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#fbcfe8}.option.svelte-1rp7hf{display:flex;font-weight:400;margin-bottom:.5rem;margin-top:.5rem}.check.svelte-1rp7hf{margin-left:1rem;margin-right:1rem;width:1rem}.active.svelte-1rp7hf{--tw-text-opacity:1;color:rgb(29 78 216/var(--tw-text-opacity))}.row.svelte-kwty14{--tw-border-opacity:1;border-color:rgb(24 24 27/var(--tw-border-opacity));border-width:2px;font-size:.875rem;line-height:1.25rem;padding:.5rem;text-align:center} diff --git a/ui/assets/cloud/_app/immutable/assets/favicon.54bd878e.ico b/ui/assets/cloud/_app/immutable/assets/favicon.54bd878e.ico deleted file mode 100644 index 277bc4ba6a..0000000000 Binary files a/ui/assets/cloud/_app/immutable/assets/favicon.54bd878e.ico and /dev/null differ diff --git a/ui/assets/cloud/_app/immutable/assets/feedback-button.4e0dbf07.css b/ui/assets/cloud/_app/immutable/assets/feedback-button.4e0dbf07.css deleted file mode 100644 index 18c88b23fc..0000000000 --- a/ui/assets/cloud/_app/immutable/assets/feedback-button.4e0dbf07.css +++ /dev/null @@ -1 +0,0 @@ -.feedback-button.svelte-x1notn{--tw-text-opacity:1;--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);align-items:center;border-radius:9999px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(233 213 255/var(--tw-text-opacity));cursor:pointer;display:flex;font-size:.875rem;justify-content:space-between;line-height:1.25rem;padding:.5rem 1rem;width:10rem}.feedback-button.svelte-x1notn:hover{--tw-bg-opacity:1;background-color:rgb(63 63 70/var(--tw-bg-opacity))}.feedback-icon.svelte-x1notn{--tw-border-opacity:1;border-color:rgb(233 213 255/var(--tw-border-opacity));border-radius:9999px;border-width:2px;margin-right:.5rem} diff --git a/ui/assets/cloud/_app/immutable/assets/input.8e1f3cc5.css b/ui/assets/cloud/_app/immutable/assets/input.8e1f3cc5.css deleted file mode 100644 index d65b9d64bf..0000000000 --- a/ui/assets/cloud/_app/immutable/assets/input.8e1f3cc5.css +++ /dev/null @@ -1 +0,0 @@ -label.svelte-1n0lflq.svelte-1n0lflq{font-family:Poppins,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:.875rem;font-weight:500;line-height:1.25rem;margin-bottom:2.5rem}label.required.svelte-1n0lflq.svelte-1n0lflq:after{--tw-content:"*";content:var(--tw-content)}.input-container.svelte-1n0lflq.svelte-1n0lflq{--tw-border-opacity:1;align-items:center;border-color:rgb(24 24 27/var(--tw-border-opacity));border-radius:.25rem;border-width:1px;box-sizing:border-box;display:inline-flex;font-size:.875rem;height:2.5rem;line-height:1.25rem;position:relative;width:100%}.input-container.svelte-1n0lflq.svelte-1n0lflq:focus-within{--tw-border-opacity:1;border-color:rgb(29 78 216/var(--tw-border-opacity))}.input-container.error.svelte-1n0lflq.svelte-1n0lflq{border-color:rgb(185 28 28/var(--tw-border-opacity));border-width:2px}.input-container.error.svelte-1n0lflq.svelte-1n0lflq,.suffix.svelte-1n0lflq.svelte-1n0lflq{--tw-border-opacity:1}.suffix.svelte-1n0lflq.svelte-1n0lflq{--tw-bg-opacity:1;background-color:rgb(248 248 247/var(--tw-bg-opacity));border-bottom-right-radius:.25rem;border-color:rgb(24 24 27/var(--tw-border-opacity));border-left-width:1px;border-top-right-radius:.25rem;display:block;height:100%;padding:.5rem;width:100%}.input-container.svelte-1n0lflq:active .suffix.svelte-1n0lflq{--tw-border-opacity:1;border-color:rgb(29 78 216/var(--tw-border-opacity))}.input-container.error.svelte-1n0lflq .suffix.svelte-1n0lflq{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(185 28 28/var(--tw-border-opacity))}.unroundRight.svelte-1n0lflq.svelte-1n0lflq{border-bottom-right-radius:0;border-top-right-radius:0}.unroundLeft.svelte-1n0lflq.svelte-1n0lflq{border-bottom-left-radius:0;border-left-width:0;border-top-left-radius:0}.input-container.disabled.svelte-1n0lflq.svelte-1n0lflq{border-width:1px}.icon-container.svelte-1n0lflq.svelte-1n0lflq{align-items:center;display:flex;justify-content:center;margin-left:.5rem}.copy-icon-container.svelte-1n0lflq.svelte-1n0lflq{border-bottom-right-radius:.25rem;border-left-width:1px;border-top-right-radius:.25rem;height:100%;width:2.25rem}.clear-icon-container.svelte-1n0lflq.svelte-1n0lflq,.copy-icon-container.svelte-1n0lflq.svelte-1n0lflq{align-items:center;cursor:pointer;display:flex;justify-content:center}.clear-icon-container.svelte-1n0lflq.svelte-1n0lflq{--tw-text-opacity:1;border-radius:9999px;color:rgb(24 24 27/var(--tw-text-opacity));margin-right:.5rem;width:1.5rem}.clear-icon-container.svelte-1n0lflq.svelte-1n0lflq:hover{--tw-bg-opacity:1;background-color:rgb(228 228 231/var(--tw-bg-opacity))}.input-container.invalid.svelte-1n0lflq.svelte-1n0lflq{--tw-border-opacity:1;border-color:rgb(185 28 28/var(--tw-border-opacity));color:rgb(185 28 28/var(--tw-text-opacity))}.count.svelte-1n0lflq.svelte-1n0lflq,.input-container.invalid.svelte-1n0lflq.svelte-1n0lflq{--tw-text-opacity:1}.count.svelte-1n0lflq.svelte-1n0lflq{color:rgb(24 24 27/var(--tw-text-opacity));font-family:Poppins,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:.875rem;font-weight:500;line-height:1.25rem;margin-right:.5rem;visibility:hidden}.count.svelte-1n0lflq>.warn.svelte-1n0lflq{color:rgb(234 88 12/var(--tw-text-opacity))}.count.svelte-1n0lflq>.error.svelte-1n0lflq,.count.svelte-1n0lflq>.warn.svelte-1n0lflq{--tw-text-opacity:1}.count.svelte-1n0lflq>.error.svelte-1n0lflq{color:rgb(185 28 28/var(--tw-text-opacity))}input.svelte-1n0lflq:focus+.count.svelte-1n0lflq{visibility:visible}.hint-text.svelte-1n0lflq.svelte-1n0lflq{display:inline-block;font-size:.75rem;line-height:1rem;margin-top:.5rem}.hint-text.error.svelte-1n0lflq.svelte-1n0lflq,.hint-text.invalid.svelte-1n0lflq.svelte-1n0lflq{--tw-text-opacity:1;color:rgb(185 28 28/var(--tw-text-opacity))}.input-container.light.svelte-1n0lflq .icon-container.svelte-1n0lflq,.input-container.light.svelte-1n0lflq input.svelte-1n0lflq,.input-container.light.svelte-1n0lflq.svelte-1n0lflq{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.input-container.light.svelte-1n0lflq .icon-container.svelte-1n0lflq{--tw-text-opacity:1;color:rgb(161 161 170/var(--tw-text-opacity))}.input-container.light.disabled.svelte-1n0lflq.svelte-1n0lflq{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(250 250 250/var(--tw-bg-opacity));border-color:rgb(82 82 91/var(--tw-border-opacity));color:rgb(82 82 91/var(--tw-text-opacity))}.input-container.light.disabled.svelte-1n0lflq input.svelte-1n0lflq{--tw-bg-opacity:1;background-color:rgb(250 250 250/var(--tw-bg-opacity))}.input-container.light.disabled.svelte-1n0lflq .copy-icon-container.svelte-1n0lflq{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(228 228 231/var(--tw-bg-opacity));border-color:rgb(82 82 91/var(--tw-border-opacity))}.input-container.dark.svelte-1n0lflq .copy-icon-container.svelte-1n0lflq,.input-container.dark.svelte-1n0lflq .icon-container.svelte-1n0lflq,.input-container.dark.svelte-1n0lflq input.svelte-1n0lflq,.input-container.dark.svelte-1n0lflq.svelte-1n0lflq{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.input-container.dark.svelte-1n0lflq input.svelte-1n0lflq::-moz-placeholder{--tw-text-opacity:1;color:rgb(228 228 231/var(--tw-text-opacity))}.input-container.dark.svelte-1n0lflq input.svelte-1n0lflq::placeholder{--tw-text-opacity:1;color:rgb(228 228 231/var(--tw-text-opacity))}.input-container.dark.disabled.svelte-1n0lflq .copy-icon-container.svelte-1n0lflq,.input-container.dark.disabled.svelte-1n0lflq input.svelte-1n0lflq,.input-container.dark.disabled.svelte-1n0lflq.svelte-1n0lflq{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity));border-color:rgb(24 24 27/var(--tw-border-opacity))}input[type=search].svelte-1n0lflq.svelte-1n0lflq::-webkit-search-cancel-button{display:none} diff --git a/ui/assets/cloud/_app/immutable/assets/logo.44c7bc2a.svg b/ui/assets/cloud/_app/immutable/assets/logo.44c7bc2a.svg deleted file mode 100644 index ffa957bb1f..0000000000 --- a/ui/assets/cloud/_app/immutable/assets/logo.44c7bc2a.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/ui/assets/cloud/_app/immutable/assets/menu-item.86eb7827.css b/ui/assets/cloud/_app/immutable/assets/menu-item.86eb7827.css deleted file mode 100644 index 891efb88bc..0000000000 --- a/ui/assets/cloud/_app/immutable/assets/menu-item.86eb7827.css +++ /dev/null @@ -1 +0,0 @@ -.has-icon.svelte-cqm0pi.svelte-cqm0pi{gap:.5rem}.has-indicator.svelte-cqm0pi.svelte-cqm0pi{justify-content:space-between}button.dark.svelte-cqm0pi.svelte-cqm0pi,button.dark.svelte-cqm0pi>.svelte-cqm0pi{background-color:rgb(24 24 27/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}button.dark.svelte-cqm0pi.svelte-cqm0pi,button.dark.svelte-cqm0pi>.svelte-cqm0pi,button.disabled.svelte-cqm0pi.svelte-cqm0pi{--tw-bg-opacity:1;--tw-text-opacity:1}button.disabled.svelte-cqm0pi.svelte-cqm0pi{background-color:rgb(250 250 250/var(--tw-bg-opacity));color:rgb(82 82 91/var(--tw-text-opacity))}.left.svelte-zt7cn{left:0;transform-origin:top left}.right.svelte-zt7cn{right:0;transform-origin:top right}.dark.svelte-zt7cn{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.menu-item-wrapper.disabled.svelte-1jgm5tu{cursor:not-allowed}.menu-item.svelte-1jgm5tu{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));color:rgb(24 24 27/var(--tw-text-opacity));cursor:pointer;font-family:Poppins,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:.875rem;font-weight:500;line-height:1.25rem;list-style-type:none;padding:1rem;width:100%}.menu-item.svelte-1jgm5tu:first-of-type{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.menu-item.svelte-1jgm5tu:last-of-type{border-bottom-left-radius:.25rem;border-bottom-right-radius:.25rem}.menu-item.svelte-1jgm5tu:hover{--tw-bg-opacity:1;background-color:rgb(250 250 250/var(--tw-bg-opacity))}.menu-item.svelte-1jgm5tu:focus{outline:2px solid transparent;outline-offset:2px}.menu-item.svelte-1jgm5tu:focus-visible{--tw-bg-opacity:1;background-color:rgb(239 246 255/var(--tw-bg-opacity));outline-color:#1d4ed8;outline-offset:-2px;outline-style:solid}.dark.svelte-1jgm5tu{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.dark.active.svelte-1jgm5tu,.dark.selected.svelte-1jgm5tu,.dark.svelte-1jgm5tu:hover{--tw-bg-opacity:1;background-color:rgb(39 39 42/var(--tw-bg-opacity))}.dark.active.svelte-1jgm5tu,.dark.selected.svelte-1jgm5tu{--tw-text-opacity:1;color:rgb(219 234 254/var(--tw-text-opacity))}.active.svelte-1jgm5tu,.selected.svelte-1jgm5tu{align-items:center;color:rgb(29 78 216/var(--tw-text-opacity));display:flex;flex-direction:row;gap:.5rem}.active.svelte-1jgm5tu,.destructive.svelte-1jgm5tu,.selected.svelte-1jgm5tu{--tw-text-opacity:1}.destructive.svelte-1jgm5tu{color:rgb(185 28 28/var(--tw-text-opacity))}.destructive.svelte-1jgm5tu:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.menu-item.disabled.svelte-1jgm5tu{--tw-text-opacity:1;color:rgb(113 113 122/var(--tw-text-opacity));pointer-events:none} diff --git a/ui/assets/cloud/_app/immutable/assets/modal.a1162225.css b/ui/assets/cloud/_app/immutable/assets/modal.a1162225.css deleted file mode 100644 index 87d78f6f71..0000000000 --- a/ui/assets/cloud/_app/immutable/assets/modal.a1162225.css +++ /dev/null @@ -1 +0,0 @@ -.body.svelte-9mpp9v{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.5rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(24 24 27/var(--tw-text-opacity));max-width:32rem;overflow-y:auto;padding:0;width:100%;z-index:50}@media (min-width:768px){.body.svelte-9mpp9v{height:-moz-max-content;height:max-content}}.body.svelte-9mpp9v::backdrop{--tw-bg-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity));cursor:pointer;opacity:.7}.body.hightlightNav.svelte-9mpp9v::backdrop{left:60px;top:40px}@media (min-width:1024px){.large.svelte-9mpp9v{width:50%}}.title.svelte-9mpp9v{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));font-size:1.5rem;line-height:2rem;padding:2rem 2rem 0}.content.svelte-9mpp9v{padding:2rem;white-space:normal} diff --git a/ui/assets/cloud/_app/immutable/assets/pagination.07b49192.css b/ui/assets/cloud/_app/immutable/assets/pagination.07b49192.css deleted file mode 100644 index b2f069ca00..0000000000 --- a/ui/assets/cloud/_app/immutable/assets/pagination.07b49192.css +++ /dev/null @@ -1 +0,0 @@ -.background-animate.svelte-1hpjfio{animation:svelte-1hpjfio-Loading 3s ease infinite;background-size:400%}@keyframes svelte-1hpjfio-Loading{0%,to{background-position:0 50%}50%{background-position:100% 50%}}.caret.svelte-1780ds3{height:12px;position:relative;width:12px}.caret.svelte-1780ds3:disabled{--tw-text-opacity:1;color:rgb(161 161 170/var(--tw-text-opacity));cursor:not-allowed}.arrow.svelte-1780ds3{border-style:solid;height:0;left:0;position:absolute;top:0;width:0}.arrow-left.svelte-1780ds3,.arrow.svelte-1780ds3{border-width:6px 12px 6px 0}.arrow-left.svelte-1780ds3{border-color:transparent #18181b transparent transparent}.arrow-left-disabled.svelte-1780ds3{border-color:transparent #d4d4d8 transparent transparent}.arrow-right.svelte-1780ds3{border-color:transparent transparent transparent #18181b;border-width:6px 0 6px 12px}.arrow-right-disabled.svelte-1780ds3{border-color:transparent transparent transparent #d4d4d8} diff --git a/ui/assets/cloud/_app/immutable/assets/schedule-form-view.9b9d908c.css b/ui/assets/cloud/_app/immutable/assets/schedule-form-view.9b9d908c.css deleted file mode 100644 index 76964b2780..0000000000 --- a/ui/assets/cloud/_app/immutable/assets/schedule-form-view.9b9d908c.css +++ /dev/null @@ -1 +0,0 @@ -.cell.svelte-xr91x7{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#f3e8ff;background-color:rgb(212 212 216/var(--tw-bg-opacity));border-color:rgb(212 212 216/var(--tw-border-opacity));border-radius:.25rem;border-width:2px;cursor:pointer;padding:.5rem;width:auto}.cell.svelte-xr91x7:hover{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.active.svelte-xr91x7,.cell.svelte-xr91x7:hover{--tw-border-opacity:1;border-color:rgb(24 24 27/var(--tw-border-opacity))}.active.svelte-xr91x7{--tw-bg-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.active.svelte-xr91x7,.active.svelte-xr91x7:hover{--tw-text-opacity:1}.active.svelte-xr91x7:hover{color:rgb(24 24 27/var(--tw-text-opacity))}.grid.svelte-c8o885{grid-template-columns:repeat(7,minmax(45px,1fr))}.cell.svelte-c8o885{--tw-border-opacity:1;--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#f3e8ff;border-color:rgb(212 212 216/var(--tw-border-opacity));border-radius:.25rem;border-width:2px;cursor:pointer;height:2.5rem;padding:.25rem}.cell.svelte-c8o885:hover{--tw-text-opacity:1;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));color:rgb(24 24 27/var(--tw-text-opacity))}.active.svelte-c8o885,.cell.svelte-c8o885:hover{--tw-border-opacity:1;border-color:rgb(24 24 27/var(--tw-border-opacity))}.active.svelte-c8o885{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.cell.svelte-hc9i32{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#f3e8ff;background-color:rgb(212 212 216/var(--tw-bg-opacity));border-color:rgb(212 212 216/var(--tw-border-opacity));border-radius:.25rem;border-width:2px;cursor:pointer;padding:.5rem}.cell.svelte-hc9i32:hover{--tw-text-opacity:1;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));color:rgb(24 24 27/var(--tw-text-opacity))}.active.svelte-hc9i32,.cell.svelte-hc9i32:hover{--tw-border-opacity:1;border-color:rgb(24 24 27/var(--tw-border-opacity))}.active.svelte-hc9i32{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.back.svelte-gjlc10{font-size:.875rem;line-height:1.25rem}.back.svelte-gjlc10:hover{--tw-text-opacity:1;color:rgb(29 78 216/var(--tw-text-opacity));text-decoration-line:underline} diff --git a/ui/assets/cloud/_app/immutable/assets/search.d6094a94.css b/ui/assets/cloud/_app/immutable/assets/search.d6094a94.css deleted file mode 100644 index 553fa5d924..0000000000 --- a/ui/assets/cloud/_app/immutable/assets/search.d6094a94.css +++ /dev/null @@ -1 +0,0 @@ -.copy-or-filter.svelte-1f7279h{bottom:0;display:inline-flex;gap:.5rem;padding-left:.5rem;padding-right:.5rem;position:absolute;right:0;top:0}.copy-or-filter-button.svelte-1f7279h{--tw-translate-y:-50%;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:9999px;color:rgb(24 24 27/var(--tw-text-opacity));height:-moz-fit-content;height:fit-content;padding:.25rem;position:relative;top:50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.copy-or-filter-button.svelte-1f7279h:hover,.filtered.svelte-1f7279h{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.workflow-summary-row:hover{--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#f3e8ff;background-attachment:fixed;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.workflow-summary-row:hover .table-link.svelte-tyqpjy{--tw-text-opacity:1;color:rgb(29 78 216/var(--tw-text-opacity));text-decoration-color:#1d4ed8;text-decoration-line:underline}@media not all and (min-width:1280px){.time-cell.svelte-tyqpjy{display:none}}.inline-time-cell.svelte-tyqpjy{display:none}@media (min-width:768px){.inline-time-cell.svelte-tyqpjy{display:block}}@media (min-width:1280px){.inline-time-cell.svelte-tyqpjy{display:none}} diff --git a/ui/assets/cloud/_app/immutable/assets/simple-select.51b2afe1.css b/ui/assets/cloud/_app/immutable/assets/simple-select.51b2afe1.css deleted file mode 100644 index 86018c486d..0000000000 --- a/ui/assets/cloud/_app/immutable/assets/simple-select.51b2afe1.css +++ /dev/null @@ -1 +0,0 @@ -select.svelte-f4875g{--tw-text-opacity:1;color:rgb(113 113 122/var(--tw-text-opacity))}.remove.svelte-f4875g{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:.75rem;font-size:.875rem;height:2rem;line-height:1.25rem;padding-bottom:.25rem;padding-left:.75rem;padding-top:.25rem}.dark.svelte-f4875g{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))} diff --git a/ui/assets/cloud/_app/immutable/assets/split-button.b0d29bb4.css b/ui/assets/cloud/_app/immutable/assets/split-button.b0d29bb4.css deleted file mode 100644 index 412ac1dbcb..0000000000 --- a/ui/assets/cloud/_app/immutable/assets/split-button.b0d29bb4.css +++ /dev/null @@ -1 +0,0 @@ -.split-button.svelte-inpbil{cursor:pointer;flex-direction:row;flex-grow:1;gap:1px}.split-button.svelte-inpbil,.split-button.svelte-inpbil .segment{display:flex;font-family:Poppins,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.split-button.svelte-inpbil .segment{align-items:center;font-size:.875rem;justify-content:center;line-height:1.25rem;padding-bottom:.5rem;padding-top:.5rem;position:relative;width:-moz-fit-content;width:fit-content}.split-button.svelte-inpbil .segment.left{border-radius:0;border-bottom-left-radius:.25rem;border-top-left-radius:.25rem;padding-left:1rem;padding-right:1rem}.split-button.svelte-inpbil .segment.right{border-bottom-right-radius:.25rem;border-top-right-radius:.25rem;padding-left:.5rem;padding-right:.5rem}.split-button.svelte-inpbil .segment.right:disabled{cursor:not-allowed;opacity:.5}.split-button.svelte-inpbil .segment.right:enabled{--tw-border-opacity:1;--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#f3e8ff;border-color:rgb(24 24 27/var(--tw-border-opacity));border-width:2px}.split-button.svelte-inpbil .segment.right:enabled:hover{--tw-text-opacity:1;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));color:rgb(24 24 27/var(--tw-text-opacity))} diff --git a/ui/assets/cloud/_app/immutable/assets/tab-list.cbfd6e55.css b/ui/assets/cloud/_app/immutable/assets/tab-list.cbfd6e55.css deleted file mode 100644 index 01350dbb50..0000000000 --- a/ui/assets/cloud/_app/immutable/assets/tab-list.cbfd6e55.css +++ /dev/null @@ -1 +0,0 @@ -.tab.svelte-ksdfzl{align-items:center;cursor:pointer;display:flex;font-size:.875rem;gap:.25rem;line-height:1.25rem;white-space:nowrap}.tab.svelte-ksdfzl,.tab.svelte-ksdfzl:hover{border-bottom-width:2px}.tab.svelte-ksdfzl:hover{--tw-border-opacity:1;border-color:rgb(29 78 216/var(--tw-border-opacity))}@media (min-width:768px){.tab.svelte-ksdfzl{font-size:1rem;line-height:1.5rem}}.tab.svelte-ksdfzl{border-color:transparent}.tab.active.svelte-ksdfzl{--tw-border-opacity:1;border-bottom-width:2px;border-color:rgb(29 78 216/var(--tw-border-opacity));color:rgb(29 78 216/var(--tw-text-opacity));font-weight:500}.tab.active.svelte-ksdfzl,.tab.disabled.svelte-ksdfzl{--tw-text-opacity:1}.tab.disabled.svelte-ksdfzl{color:rgb(39 39 42/var(--tw-text-opacity));cursor:not-allowed;opacity:.5}.tab.disabled.svelte-ksdfzl:hover{border-color:transparent}.tab-list.svelte-zg0616{display:flex;flex-direction:row;gap:1rem} diff --git a/ui/assets/cloud/_app/immutable/assets/table-header-row.ddd48458.css b/ui/assets/cloud/_app/immutable/assets/table-header-row.ddd48458.css deleted file mode 100644 index c2bb234486..0000000000 --- a/ui/assets/cloud/_app/immutable/assets/table-header-row.ddd48458.css +++ /dev/null @@ -1 +0,0 @@ -.meter.svelte-69dzme.svelte-69dzme{--tw-gradient-from:#bfdbfe;--tw-gradient-to:rgba(191,219,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#2563eb;background-image:linear-gradient(to right,var(--tw-gradient-stops));box-shadow:inset 0 -1px 1px #ffffff4d;box-sizing:content-box;height:5px;left:0;position:absolute;right:0;z-index:5}.meter.svelte-69dzme>span.svelte-69dzme{--tw-bg-opacity:1;background-color:rgb(59 130 246/var(--tw-bg-opacity));background-image:linear-gradient(center bottom,#60a5fa 32%,#3b82f6 77%);box-shadow:inset 0 2px 9px #ffffff40,inset 0 -2px 6px #0006;display:block;height:100%;position:relative}.meter.svelte-69dzme>span.svelte-69dzme,.meter.svelte-69dzme>span.svelte-69dzme:after{overflow:hidden}.meter.svelte-69dzme>span.svelte-69dzme:after{animation:svelte-69dzme-move 1.5s linear infinite;background-image:linear-gradient(-45deg,hsla(0,0%,100%,.2) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.2) 0,hsla(0,0%,100%,.2) 75%,transparent 0,transparent);background-size:25px 25px;border-radius:20px 8px 8px 20px;bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:1}@keyframes svelte-69dzme-move{0%{background-position:0 0}to{background-position:25px 25px}}table.svelte-1uclmq7.svelte-1uclmq7{position:relative}table.svelte-1uclmq7 thead.svelte-1uclmq7 th{font-family:Poppins,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-weight:500}table.svelte-1uclmq7 tbody.svelte-1uclmq7 td,table.svelte-1uclmq7 thead.svelte-1uclmq7 th{font-size:.875rem;line-height:1.25rem;text-align:left}table.fancy.svelte-1uclmq7.svelte-1uclmq7{--tw-border-spacing-x:0px;--tw-border-spacing-y:0px;--tw-border-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-collapse:separate;border-color:rgb(24 24 27/var(--tw-border-opacity));border-radius:.75rem;border-spacing:var(--tw-border-spacing-x) var(--tw-border-spacing-y);border-width:3px}table.fancy.svelte-1uclmq7 thead.svelte-1uclmq7,table.fancy.svelte-1uclmq7.svelte-1uclmq7{--tw-bg-opacity:1}table.fancy.svelte-1uclmq7 thead.svelte-1uclmq7{--tw-text-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity));color:rgb(244 244 245/var(--tw-text-opacity))}table.fancy.svelte-1uclmq7 thead.svelte-1uclmq7 th{--tw-border-opacity:1;border-color:rgb(24 24 27/var(--tw-border-opacity));border-top-width:1px;padding:.5rem .25rem}table.fancy.svelte-1uclmq7 thead.svelte-1uclmq7 th:first-child{--tw-border-opacity:1;border-color:rgb(24 24 27/var(--tw-border-opacity));border-left-width:1px;border-top-left-radius:.5rem;width:1px}table.fancy.svelte-1uclmq7 thead.svelte-1uclmq7 th:last-child{--tw-border-opacity:1;border-color:rgb(24 24 27/var(--tw-border-opacity));border-right-width:1px;border-top-right-radius:.5rem;width:1px}table.fancy.svelte-1uclmq7 tbody.svelte-1uclmq7 td{--tw-border-opacity:1;border-color:rgb(24 24 27/var(--tw-border-opacity));border-top-width:1px;font-size:.875rem;line-height:1.25rem;padding:.5rem .25rem}table.fancy.svelte-1uclmq7 tbody.svelte-1uclmq7 td:first-child{--tw-border-opacity:1;border-color:rgb(24 24 27/var(--tw-border-opacity));border-left-width:1px;padding-left:.25rem;padding-right:.25rem}table.fancy.svelte-1uclmq7 tbody.svelte-1uclmq7 td:first-child:is(.expanded-cell){padding-left:0;padding-right:0}table.fancy.svelte-1uclmq7 tbody.svelte-1uclmq7 td:last-child{--tw-border-opacity:1;border-color:rgb(24 24 27/var(--tw-border-opacity));border-right-width:1px;padding:0;width:0}table.fancy.svelte-1uclmq7 tbody.svelte-1uclmq7 :last-child td{--tw-border-opacity:1;border-bottom-width:1px;border-color:rgb(24 24 27/var(--tw-border-opacity))}table.fancy.svelte-1uclmq7 tbody.svelte-1uclmq7 :last-child td:first-child{border-bottom-left-radius:.5rem}table.fancy.svelte-1uclmq7 tbody.svelte-1uclmq7 :last-child td:last-child{border-bottom-right-radius:.5rem}table.fancy.svelte-1uclmq7 tbody.svelte-1uclmq7 tbody td:first-child:first-child{border-bottom-left-radius:0}table.fancy.svelte-1uclmq7 tbody.svelte-1uclmq7 tbody td:last-child:last-child{border-bottom-right-radius:0}table.simple.svelte-1uclmq7 tbody.svelte-1uclmq7 td,table.simple.svelte-1uclmq7 thead.svelte-1uclmq7 th{--tw-border-opacity:1;border-bottom-width:1px;border-color:rgb(24 24 27/var(--tw-border-opacity));padding-bottom:.5rem;padding-top:.5rem}table.simple.svelte-1uclmq7.svelte-1uclmq7:last-child{border-bottom-width:0} diff --git a/ui/assets/cloud/_app/immutable/assets/toggle-buttons.642fc5fa.css b/ui/assets/cloud/_app/immutable/assets/toggle-buttons.642fc5fa.css deleted file mode 100644 index d865f374cb..0000000000 --- a/ui/assets/cloud/_app/immutable/assets/toggle-buttons.642fc5fa.css +++ /dev/null @@ -1 +0,0 @@ -.active.svelte-1orl6nd{--tw-bg-opacity:1;--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.active.svelte-1orl6nd,.active.svelte-1orl6nd:hover{background-color:rgb(24 24 27/var(--tw-bg-opacity))}.active.svelte-1orl6nd:hover{--tw-bg-opacity:1}.group.svelte-1orl6nd:first-child{border-bottom-left-radius:.5rem;border-top-left-radius:.5rem}.group.svelte-1orl6nd:not(:last-child){border-right-width:0}.group.svelte-1orl6nd:last-child{border-bottom-right-radius:.5rem;border-top-right-radius:.5rem} diff --git a/ui/assets/cloud/_app/immutable/assets/toggle-switch.0752a896.css b/ui/assets/cloud/_app/immutable/assets/toggle-switch.0752a896.css deleted file mode 100644 index 1b081f0b19..0000000000 --- a/ui/assets/cloud/_app/immutable/assets/toggle-switch.0752a896.css +++ /dev/null @@ -1 +0,0 @@ -.switch.svelte-1003px1.svelte-1003px1{border-radius:8rem;display:inline-block;height:2rem;position:relative;width:52px}.slider.svelte-1003px1.svelte-1003px1{--tw-border-opacity:1;background-color:rgb(244 244 245/var(--tw-bg-opacity));border-color:rgb(82 82 91/var(--tw-border-opacity));border-radius:8rem;border-width:2px;bottom:0;cursor:pointer;left:0;right:0;top:0}.slider.svelte-1003px1.svelte-1003px1,.slider.svelte-1003px1.svelte-1003px1:before{--tw-bg-opacity:1;position:absolute;transition-duration:.3s}.slider.svelte-1003px1.svelte-1003px1:before{background-color:rgb(24 24 27/var(--tw-bg-opacity));border-radius:50%;bottom:.125rem;content:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.844 16.875a.53.53 0 0 1-.719 0L12 12.719l-4.156 4.156a.53.53 0 0 1-.719 0 .53.53 0 0 1 0-.719L11.281 12 7.125 7.875a.53.53 0 0 1 0-.719.53.53 0 0 1 .719 0L12 11.313l4.125-4.157a.53.53 0 0 1 .719 0 .53.53 0 0 1 0 .719L12.687 12l4.157 4.156a.53.53 0 0 1 0 .719Z' fill='%23fff'/%3E%3C/svg%3E");height:1.5rem;left:.25rem;width:1.5rem}input.svelte-1003px1+.slider.svelte-1003px1{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}input.disabled.svelte-1003px1+.slider.svelte-1003px1{--tw-bg-opacity:1;background-color:rgb(228 228 231/var(--tw-bg-opacity));cursor:not-allowed}input.svelte-1003px1:checked+.slider.svelte-1003px1{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity));border-color:rgb(24 24 27/var(--tw-border-opacity))}input.svelte-1003px1:checked+.slider.svelte-1003px1:before{--tw-translate-x:1rem;--tw-bg-opacity:1;align-items:center;background-color:rgb(219 234 254/var(--tw-bg-opacity));content:url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.368 9.004.572 5.208l.95-.95 2.846 2.848 6.11-6.11.95.949-7.06 7.059Z' fill='%231D4ED8'/%3E%3C/svg%3E");display:flex;justify-content:center;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))} diff --git a/ui/assets/cloud/_app/immutable/assets/tooltip.b2f3e7fc.css b/ui/assets/cloud/_app/immutable/assets/tooltip.b2f3e7fc.css deleted file mode 100644 index 36dc9d67ac..0000000000 --- a/ui/assets/cloud/_app/immutable/assets/tooltip.b2f3e7fc.css +++ /dev/null @@ -1 +0,0 @@ -.icon-button.svelte-1vs3on1{border-radius:9999px;display:inline-block;font-size:.875rem;line-height:1.25rem;width:auto}.icon-button.hoverable.svelte-1vs3on1:hover{--tw-bg-opacity:1;background-color:rgb(212 212 216/var(--tw-bg-opacity))}.tooltip.svelte-uxq741.svelte-uxq741{--tw-translate-x:3rem;display:none;font-size:.75rem;left:0;line-height:1rem;opacity:0;position:absolute;top:0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);white-space:nowrap;z-index:50}.tooltip.top.svelte-uxq741.svelte-uxq741{--tw-translate-x:-50%;--tw-translate-y:-100%;margin-top:-.5rem}.tooltip.bottom.svelte-uxq741.svelte-uxq741,.tooltip.top.svelte-uxq741.svelte-uxq741{left:50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.tooltip.bottom.svelte-uxq741.svelte-uxq741{--tw-translate-x:-50%;--tw-translate-y:100%;bottom:0;margin-bottom:-.5rem}.tooltip.left.svelte-uxq741.svelte-uxq741{--tw-translate-x:-100%;--tw-translate-y:-50%;left:0;margin-left:-.5rem}.tooltip.left.svelte-uxq741.svelte-uxq741,.tooltip.right.svelte-uxq741.svelte-uxq741{top:50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.tooltip.right.svelte-uxq741.svelte-uxq741{--tw-translate-x:100%;--tw-translate-y:-50%;margin-right:-.5rem;right:0}.tooltip.topRight.svelte-uxq741.svelte-uxq741{left:auto;right:0}.tooltip.topLeft.svelte-uxq741.svelte-uxq741,.tooltip.topRight.svelte-uxq741.svelte-uxq741{--tw-translate-x:0px;--tw-translate-y:-100%;margin-top:-.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.tooltip.bottomLeft.svelte-uxq741.svelte-uxq741,.tooltip.topLeft.svelte-uxq741.svelte-uxq741{left:0;right:auto}.tooltip.bottomLeft.svelte-uxq741.svelte-uxq741,.tooltip.bottomRight.svelte-uxq741.svelte-uxq741{--tw-translate-x:0px;--tw-translate-y:100%;bottom:0;margin-bottom:-.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.tooltip.bottomRight.svelte-uxq741.svelte-uxq741{left:auto;right:0}.wrapper.svelte-uxq741:hover .tooltip.svelte-uxq741{display:inline-block;opacity:.9} diff --git a/ui/assets/cloud/_app/immutable/assets/workflow-json-navigator.a85b4b27.css b/ui/assets/cloud/_app/immutable/assets/workflow-json-navigator.a85b4b27.css deleted file mode 100644 index 9cfdd39d51..0000000000 --- a/ui/assets/cloud/_app/immutable/assets/workflow-json-navigator.a85b4b27.css +++ /dev/null @@ -1 +0,0 @@ -.range-input-container.svelte-1n71pu8{align-items:center;display:inline-flex;flex-direction:row;gap:1rem;white-space:nowrap;width:100%}.numeric-input.svelte-1n71pu8{--tw-border-opacity:1;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;border-color:rgb(24 24 27/var(--tw-border-opacity));border-radius:.25rem;border-width:1px;font-size:.875rem;height:2.5rem;line-height:1.25rem;text-align:center;width:2.5rem}.numeric-input.svelte-1n71pu8::-webkit-inner-spin-button,.numeric-input.svelte-1n71pu8::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none;margin:0}.numeric-input.invalid.svelte-1n71pu8{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(254 226 226/var(--tw-bg-opacity));border-color:rgb(185 28 28/var(--tw-border-opacity));color:rgb(185 28 28/var(--tw-text-opacity))}.numeric-input.svelte-1n71pu8:focus{outline-color:#1d4ed8;outline-style:solid;outline-width:2px}.floating-value.svelte-1n71pu8{position:absolute;top:-.5rem}input[type=range].svelte-1n71pu8::-webkit-slider-thumb{--tw-border-opacity:1;--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#f3e8ff;-webkit-appearance:none;appearance:none;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));border-color:rgb(24 24 27/var(--tw-border-opacity));border-radius:9999px;border-style:solid;border-width:1px;height:1rem;width:2rem}input[type=range].svelte-1n71pu8::-moz-range-thumb{--tw-border-opacity:1;--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#f3e8ff;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));border-color:rgb(24 24 27/var(--tw-border-opacity));border-radius:9999px;border-style:solid;border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);height:1rem;width:2rem}input[type=range].svelte-1n71pu8:focus{outline:2px solid transparent;outline-offset:2px}input[type=range].svelte-1n71pu8:focus::-webkit-slider-thumb{--tw-border-opacity:1;border-color:rgb(24 24 27/var(--tw-border-opacity));border-width:1px;outline-color:#1d4ed8;outline-style:solid;outline-width:2px}input[type=range].svelte-1n71pu8:focus::-moz-range-thumb{--tw-border-opacity:1;border-color:rgb(24 24 27/var(--tw-border-opacity));border-width:1px;outline-color:#1d4ed8;outline-style:solid;outline-width:2px}.caret.svelte-1780ds3{height:12px;position:relative;width:12px}.caret.svelte-1780ds3:disabled{--tw-text-opacity:1;color:rgb(161 161 170/var(--tw-text-opacity));cursor:not-allowed}.arrow.svelte-1780ds3{border-style:solid;height:0;left:0;position:absolute;top:0;width:0}.arrow-left.svelte-1780ds3,.arrow.svelte-1780ds3{border-width:6px 12px 6px 0}.arrow-left.svelte-1780ds3{border-color:transparent #18181b transparent transparent}.arrow-left-disabled.svelte-1780ds3{border-color:transparent #d4d4d8 transparent transparent}.arrow-right.svelte-1780ds3{border-color:transparent transparent transparent #18181b;border-width:6px 0 6px 12px}.arrow-right-disabled.svelte-1780ds3{border-color:transparent transparent transparent #d4d4d8} diff --git a/ui/assets/cloud/_app/immutable/assets/workflow-status.a22a9f77.css b/ui/assets/cloud/_app/immutable/assets/workflow-status.a22a9f77.css deleted file mode 100644 index e8862daceb..0000000000 --- a/ui/assets/cloud/_app/immutable/assets/workflow-status.a22a9f77.css +++ /dev/null @@ -1 +0,0 @@ -.heart-beat.svelte-8dynez{--tw-bg-opacity:1;align-items:center;background-color:rgb(219 234 254/var(--tw-bg-opacity));display:flex;justify-content:center;text-align:center}.heart-beat.svelte-8dynez,.heart-rate.svelte-8dynez{position:relative}.heart-rate.svelte-8dynez{height:18px;margin:0;width:20px}.fade-in.svelte-8dynez{--tw-bg-opacity:1;animation:svelte-8dynez-heartRateIn 2s linear infinite;animation-delay:var(--animation-delay,0);background-color:rgb(219 234 254/var(--tw-bg-opacity));height:100%;position:absolute;right:0;top:0;width:100%}.fade-out.svelte-8dynez{animation:svelte-8dynez-heartRateOut 2s linear infinite;animation-delay:var(--animation-delay,0);background:#dbeafe;background:linear-gradient(270deg,#dbeafe,#dbeafe 50%,hsla(0,0%,100%,0));background:linear-gradient(90deg,#dbeafe,#dbeafe 80%,hsla(0,0%,100%,0));height:100%;left:0;position:absolute;top:0}@keyframes svelte-8dynez-heartRateIn{0%{width:100%}50%{width:0}to{width:0}}@keyframes svelte-8dynez-heartRateOut{0%{width:0}to{width:100%}}.green.svelte-b7co3f{background-color:rgb(220 252 231/var(--tw-bg-opacity));color:rgb(21 128 61/var(--tw-text-opacity))}.green.svelte-b7co3f,.yellow.svelte-b7co3f{--tw-bg-opacity:1;--tw-text-opacity:1}.yellow.svelte-b7co3f{background-color:rgb(254 249 195/var(--tw-bg-opacity));color:rgb(113 63 18/var(--tw-text-opacity))}.blue.svelte-b7co3f{background-color:rgb(219 234 254/var(--tw-bg-opacity));color:rgb(29 78 216/var(--tw-text-opacity))}.blue.svelte-b7co3f,.red.svelte-b7co3f{--tw-bg-opacity:1;--tw-text-opacity:1}.red.svelte-b7co3f{background-color:rgb(254 226 226/var(--tw-bg-opacity));color:rgb(185 28 28/var(--tw-text-opacity))}.purple.svelte-b7co3f{background-color:rgb(243 232 255/var(--tw-bg-opacity));color:rgb(88 28 135/var(--tw-text-opacity))}.gray.svelte-b7co3f,.purple.svelte-b7co3f{--tw-bg-opacity:1;--tw-text-opacity:1}.gray.svelte-b7co3f{background-color:rgb(228 228 231/var(--tw-bg-opacity));color:rgb(24 24 27/var(--tw-text-opacity))}.orange.svelte-b7co3f{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity));color:rgb(124 45 18/var(--tw-text-opacity))} diff --git a/ui/assets/cloud/_app/immutable/chunks/1.8b220b12.js b/ui/assets/cloud/_app/immutable/chunks/1.8b220b12.js deleted file mode 100644 index fe4915b4d5..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/1.8b220b12.js +++ /dev/null @@ -1 +0,0 @@ -import{default as t}from"../entry/_error.svelte.6d70713a.js";export{t as component}; diff --git a/ui/assets/cloud/_app/immutable/chunks/10.aa3bdae3.js b/ui/assets/cloud/_app/immutable/chunks/10.aa3bdae3.js deleted file mode 100644 index 8d80738688..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/10.aa3bdae3.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as r}from"./_page.c4d10a05.js";import{default as t}from"../entry/(app)-page.svelte.abce0fee.js";export{t as component,r as universal}; diff --git a/ui/assets/cloud/_app/immutable/chunks/12.80a21c08.js b/ui/assets/cloud/_app/immutable/chunks/12.80a21c08.js deleted file mode 100644 index 431f2372f8..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/12.80a21c08.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e}from"./_page.ebb8d4b9.js";export{e as universal}; diff --git a/ui/assets/cloud/_app/immutable/chunks/14.db7d1ae9.js b/ui/assets/cloud/_app/immutable/chunks/14.db7d1ae9.js deleted file mode 100644 index 653115dca9..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/14.db7d1ae9.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e}from"./_page.22f2adc8.js";export{e as universal}; diff --git a/ui/assets/cloud/_app/immutable/chunks/16.34786bd9.js b/ui/assets/cloud/_app/immutable/chunks/16.34786bd9.js deleted file mode 100644 index e32742e8ef..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/16.34786bd9.js +++ /dev/null @@ -1 +0,0 @@ -import{default as t}from"../entry/(app)-import-events-_namespace_-_workflow_-_run_-history-feed-page.svelte.d95bcfdd.js";export{t as component}; diff --git a/ui/assets/cloud/_app/immutable/chunks/17.861caa43.js b/ui/assets/cloud/_app/immutable/chunks/17.861caa43.js deleted file mode 100644 index c851ea1f25..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/17.861caa43.js +++ /dev/null @@ -1 +0,0 @@ -import{default as t}from"../entry/(app)-import-events-_namespace_-_workflow_-_run_-history-json-page.svelte.71e396ad.js";export{t as component}; diff --git a/ui/assets/cloud/_app/immutable/chunks/18.cb2bb96d.js b/ui/assets/cloud/_app/immutable/chunks/18.cb2bb96d.js deleted file mode 100644 index 7c66a2ff05..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/18.cb2bb96d.js +++ /dev/null @@ -1 +0,0 @@ -import{default as t}from"../entry/(app)-namespaces-page.svelte.1c2491e8.js";export{t as component}; diff --git a/ui/assets/cloud/_app/immutable/chunks/19.6c528665.js b/ui/assets/cloud/_app/immutable/chunks/19.6c528665.js deleted file mode 100644 index c60b58283e..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/19.6c528665.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as r}from"./_page.f7d990da.js";import{default as t}from"../entry/(app)-namespaces-_namespace_-page.svelte.6099dc39.js";export{t as component,r as universal}; diff --git a/ui/assets/cloud/_app/immutable/chunks/2.d8167d0c.js b/ui/assets/cloud/_app/immutable/chunks/2.d8167d0c.js deleted file mode 100644 index 38e6601e49..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/2.d8167d0c.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as r}from"./_layout.2d899b3e.js";import{default as t}from"../entry/(app)-layout.svelte.c2defaca.js";export{t as component,r as universal}; diff --git a/ui/assets/cloud/_app/immutable/chunks/20.9422c8f9.js b/ui/assets/cloud/_app/immutable/chunks/20.9422c8f9.js deleted file mode 100644 index 757b308773..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/20.9422c8f9.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as r}from"./_page.bd93f6f1.js";import{default as t}from"../entry/(app)-namespaces-_namespace_-archival-page.svelte.cc6f05c6.js";export{t as component,r as universal}; diff --git a/ui/assets/cloud/_app/immutable/chunks/22.04e00c7a.js b/ui/assets/cloud/_app/immutable/chunks/22.04e00c7a.js deleted file mode 100644 index 5a7af71dba..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/22.04e00c7a.js +++ /dev/null @@ -1 +0,0 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-schedules-_schedule_-page.svelte.23fef880.js";export{t as component}; diff --git a/ui/assets/cloud/_app/immutable/chunks/23.8beeda9e.js b/ui/assets/cloud/_app/immutable/chunks/23.8beeda9e.js deleted file mode 100644 index 0765a0c3bd..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/23.8beeda9e.js +++ /dev/null @@ -1 +0,0 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-schedules-_schedule_-edit-page.svelte.dda3103c.js";export{t as component}; diff --git a/ui/assets/cloud/_app/immutable/chunks/24.ad879ebb.js b/ui/assets/cloud/_app/immutable/chunks/24.ad879ebb.js deleted file mode 100644 index 74beeeb52c..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/24.ad879ebb.js +++ /dev/null @@ -1 +0,0 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-schedules-create-page.svelte.ccd0cc83.js";export{t as component}; diff --git a/ui/assets/cloud/_app/immutable/chunks/25.079e7ed3.js b/ui/assets/cloud/_app/immutable/chunks/25.079e7ed3.js deleted file mode 100644 index bfd509432b..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/25.079e7ed3.js +++ /dev/null @@ -1 +0,0 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-task-queues-page.svelte.d7761eda.js";export{t as component}; diff --git a/ui/assets/cloud/_app/immutable/chunks/27.9b4610f2.js b/ui/assets/cloud/_app/immutable/chunks/27.9b4610f2.js deleted file mode 100644 index 577a2de2ab..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/27.9b4610f2.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as r}from"./_page.b14944b6.js";import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-page.svelte.002dc793.js";export{t as component,r as universal}; diff --git a/ui/assets/cloud/_app/immutable/chunks/28.21367588.js b/ui/assets/cloud/_app/immutable/chunks/28.21367588.js deleted file mode 100644 index 20e1e07394..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/28.21367588.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e}from"./_page.22924f6a.js";export{e as universal}; diff --git a/ui/assets/cloud/_app/immutable/chunks/29.4930d67d.js b/ui/assets/cloud/_app/immutable/chunks/29.4930d67d.js deleted file mode 100644 index 8220589252..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/29.4930d67d.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as r}from"./_page.2bedfed4.js";import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-page.svelte.d7761eda.js";export{t as component,r as universal}; diff --git a/ui/assets/cloud/_app/immutable/chunks/3.d434e823.js b/ui/assets/cloud/_app/immutable/chunks/3.d434e823.js deleted file mode 100644 index f967c000e8..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/3.d434e823.js +++ /dev/null @@ -1 +0,0 @@ -import{default as t}from"../entry/(app)-import-layout.svelte.ef4c2c96.js";export{t as component}; diff --git a/ui/assets/cloud/_app/immutable/chunks/31.358c57de.js b/ui/assets/cloud/_app/immutable/chunks/31.358c57de.js deleted file mode 100644 index 7bb986df39..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/31.358c57de.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e}from"./_page.e56da16f.js";export{e as universal}; diff --git a/ui/assets/cloud/_app/immutable/chunks/32.358c57de.js b/ui/assets/cloud/_app/immutable/chunks/32.358c57de.js deleted file mode 100644 index f7fe0350cd..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/32.358c57de.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e}from"./_page.6c6cf695.js";export{e as universal}; diff --git a/ui/assets/cloud/_app/immutable/chunks/33.358c57de.js b/ui/assets/cloud/_app/immutable/chunks/33.358c57de.js deleted file mode 100644 index 318bfdaf36..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/33.358c57de.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e}from"./_page.18598a95.js";export{e as universal}; diff --git a/ui/assets/cloud/_app/immutable/chunks/34.5bae14be.js b/ui/assets/cloud/_app/immutable/chunks/34.5bae14be.js deleted file mode 100644 index a30d471433..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/34.5bae14be.js +++ /dev/null @@ -1 +0,0 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-pending-activities-page.svelte.95c32b1b.js";export{t as component}; diff --git a/ui/assets/cloud/_app/immutable/chunks/35.cc625131.js b/ui/assets/cloud/_app/immutable/chunks/35.cc625131.js deleted file mode 100644 index 446bfef954..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/35.cc625131.js +++ /dev/null @@ -1 +0,0 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-query-page.svelte.3cefae06.js";export{t as component}; diff --git a/ui/assets/cloud/_app/immutable/chunks/36.cd9a34f4.js b/ui/assets/cloud/_app/immutable/chunks/36.cd9a34f4.js deleted file mode 100644 index 046122d04b..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/36.cd9a34f4.js +++ /dev/null @@ -1 +0,0 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-stack-trace-page.svelte.825638f2.js";export{t as component}; diff --git a/ui/assets/cloud/_app/immutable/chunks/37.fe05fea9.js b/ui/assets/cloud/_app/immutable/chunks/37.fe05fea9.js deleted file mode 100644 index 6f84bcc485..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/37.fe05fea9.js +++ /dev/null @@ -1 +0,0 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-workers-page.svelte.1685c280.js";export{t as component}; diff --git a/ui/assets/cloud/_app/immutable/chunks/39.9ba193d8.js b/ui/assets/cloud/_app/immutable/chunks/39.9ba193d8.js deleted file mode 100644 index 43dfabf0c7..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/39.9ba193d8.js +++ /dev/null @@ -1 +0,0 @@ -import{default as t}from"../entry/(login)-login-page.svelte.5e61f9e4.js";export{t as component}; diff --git a/ui/assets/cloud/_app/immutable/chunks/4.33975805.js b/ui/assets/cloud/_app/immutable/chunks/4.33975805.js deleted file mode 100644 index b840f5c4bc..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/4.33975805.js +++ /dev/null @@ -1 +0,0 @@ -import{default as t}from"../entry/(app)-import-events-_namespace_-_workflow_-_run_-history-layout.svelte.8759b4a7.js";export{t as component}; diff --git a/ui/assets/cloud/_app/immutable/chunks/40.822c5934.js b/ui/assets/cloud/_app/immutable/chunks/40.822c5934.js deleted file mode 100644 index e276c39200..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/40.822c5934.js +++ /dev/null @@ -1 +0,0 @@ -import{default as t}from"../entry/(login)-signin-page.svelte.5e61f9e4.js";export{t as component}; diff --git a/ui/assets/cloud/_app/immutable/chunks/5.810043ff.js b/ui/assets/cloud/_app/immutable/chunks/5.810043ff.js deleted file mode 100644 index 5ad378f628..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/5.810043ff.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as r}from"./_layout.9e0bbe6f.js";import{default as t}from"../entry/layout.svelte.025dfd6f.js";export{t as component,r as universal}; diff --git a/ui/assets/cloud/_app/immutable/chunks/6.9e446e9f.js b/ui/assets/cloud/_app/immutable/chunks/6.9e446e9f.js deleted file mode 100644 index e1991d5ad6..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/6.9e446e9f.js +++ /dev/null @@ -1 +0,0 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-schedules-layout.svelte.025dfd6f.js";export{t as component}; diff --git a/ui/assets/cloud/_app/immutable/chunks/7.be3251b7.js b/ui/assets/cloud/_app/immutable/chunks/7.be3251b7.js deleted file mode 100644 index 454aa6aff8..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/7.be3251b7.js +++ /dev/null @@ -1 +0,0 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-task-queues-layout.svelte.3bd4a625.js";export{t as component}; diff --git a/ui/assets/cloud/_app/immutable/chunks/_commonjsHelpers.28e086c5.js b/ui/assets/cloud/_app/immutable/chunks/_commonjsHelpers.28e086c5.js deleted file mode 100644 index fadd1bce34..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/_commonjsHelpers.28e086c5.js +++ /dev/null @@ -1 +0,0 @@ -var e=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};export{e as c}; diff --git a/ui/assets/cloud/_app/immutable/chunks/_layout.42e1b349.js b/ui/assets/cloud/_app/immutable/chunks/_layout.42e1b349.js deleted file mode 100644 index 9832cae2ce..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/_layout.42e1b349.js +++ /dev/null @@ -1,2 +0,0 @@ -import{K as St}from"./index.d29c66be.js";import{c as pe}from"./_commonjsHelpers.28e086c5.js";import{d as xt,w as Pt}from"./index.255b7490.js";import{I as kt}from"./index.9b9e188f.js";function Lt(a,t){for(var r=0;rn[e]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}function C(a){return C=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},C(a)}function I(a,t){if(!(a instanceof t))throw new TypeError("Cannot call a class as a function")}function Rt(a,t){if(C(a)!=="object"||a===null)return a;var r=a[Symbol.toPrimitive];if(r!==void 0){var n=r.call(a,t||"default");if(C(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(a)}function ct(a){var t=Rt(a,"string");return C(t)==="symbol"?t:String(t)}function Ie(a,t){for(var r=0;ra.length)&&(t=a.length);for(var r=0,n=new Array(t);r1&&arguments[1]!==void 0?arguments[1]:{};I(this,a),this.init(t,r)}return F(a,[{key:"init",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=r||At,this.options=n,this.debug=n.debug}},{key:"setDebug",value:function(r){this.debug=r}},{key:"log",value:function(){for(var r=arguments.length,n=new Array(r),e=0;e1?n-1:0),i=1;i-1?s.replace(/###/g,"."):s}function e(){return!a||typeof a=="string"}for(var i=typeof t!="string"?[].concat(t):t.split(".");i.length>1;){if(e())return{};var o=n(i.shift());!a[o]&&r&&(a[o]=new r),Object.prototype.hasOwnProperty.call(a,o)?a=a[o]:a={}}return e()?{}:{obj:a,k:n(i.shift())}}function He(a,t,r){var n=_e(a,t,Object),e=n.obj,i=n.k;e[i]=r}function It(a,t,r,n){var e=_e(a,t,Object),i=e.obj,o=e.k;i[o]=i[o]||[],n&&(i[o]=i[o].concat(r)),n||i[o].push(r)}function ve(a,t){var r=_e(a,t),n=r.obj,e=r.k;if(n)return n[e]}function Ft(a,t,r){var n=ve(a,r);return n!==void 0?n:ve(t,r)}function dt(a,t,r){for(var n in t)n!=="__proto__"&&n!=="constructor"&&(n in a?typeof a[n]=="string"||a[n]instanceof String||typeof t[n]=="string"||t[n]instanceof String?r&&(a[n]=t[n]):dt(a[n],t[n],r):a[n]=t[n]);return a}function Y(a){return a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var Ut={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function Bt(a){return typeof a=="string"?a.replace(/[&<>"'\/]/g,function(t){return Ut[t]}):a}var Se=typeof window<"u"&&window.navigator&&typeof window.navigator.userAgentData>"u"&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,Mt=[" ",",","?","!",";"];function Ht(a,t,r){t=t||"",r=r||"";var n=Mt.filter(function(s){return t.indexOf(s)<0&&r.indexOf(s)<0});if(n.length===0)return!0;var e=new RegExp("(".concat(n.map(function(s){return s==="?"?"\\?":s}).join("|"),")")),i=!e.test(a);if(!i){var o=a.indexOf(r);o>0&&!e.test(a.substring(0,o))&&(i=!0)}return i}function me(a,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(a){if(a[t])return a[t];for(var n=t.split(r),e=a,i=0;ii+o;)o++,s=n.slice(i,i+o).join(r),u=e[s];if(u===void 0)return;if(u===null)return null;if(t.endsWith(s)){if(typeof u=="string")return u;if(s&&typeof u[s]=="string")return u[s]}var d=n.slice(i+o).join(r);return d?me(u,d,r):void 0}e=e[n[i]]}return e}}function qe(a,t){var r=Object.keys(a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(a);t&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})),r.push.apply(r,n)}return r}function ge(a){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var Kt=function(a){Oe(r,a);var t=qt(r);function r(n){var e,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};return I(this,r),e=t.call(this),Se&&z.call(V(e)),e.data=n||{},e.options=i,e.options.keySeparator===void 0&&(e.options.keySeparator="."),e.options.ignoreJSONStructure===void 0&&(e.options.ignoreJSONStructure=!0),e}return F(r,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var i=this.options.ns.indexOf(e);i>-1&&this.options.ns.splice(i,1)}},{key:"getResource",value:function(e,i,o){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},u=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,d=s.ignoreJSONStructure!==void 0?s.ignoreJSONStructure:this.options.ignoreJSONStructure,c=[e,i];o&&typeof o!="string"&&(c=c.concat(o)),o&&typeof o=="string"&&(c=c.concat(u?o.split(u):o)),e.indexOf(".")>-1&&(c=e.split("."));var f=ve(this.data,c);return f||!d||typeof o!="string"?f:me(this.data&&this.data[e]&&this.data[e][i],o,u)}},{key:"addResource",value:function(e,i,o,s){var u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},d=this.options.keySeparator;d===void 0&&(d=".");var c=[e,i];o&&(c=c.concat(d?o.split(d):o)),e.indexOf(".")>-1&&(c=e.split("."),s=i,i=c[1]),this.addNamespaces(i),He(this.data,c,s),u.silent||this.emit("added",e,i,o,s)}},{key:"addResources",value:function(e,i,o){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(var u in o)(typeof o[u]=="string"||Object.prototype.toString.apply(o[u])==="[object Array]")&&this.addResource(e,i,u,o[u],{silent:!0});s.silent||this.emit("added",e,i,o)}},{key:"addResourceBundle",value:function(e,i,o,s,u){var d=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},c=[e,i];e.indexOf(".")>-1&&(c=e.split("."),s=o,o=i,i=c[1]),this.addNamespaces(i);var f=ve(this.data,c)||{};s?dt(f,o,u):f=ge(ge({},f),o),He(this.data,c,f),d.silent||this.emit("added",e,i,o)}},{key:"removeResourceBundle",value:function(e,i){this.hasResourceBundle(e,i)&&delete this.data[e][i],this.removeNamespaces(i),this.emit("removed",e,i)}},{key:"hasResourceBundle",value:function(e,i){return this.getResource(e,i)!==void 0}},{key:"getResourceBundle",value:function(e,i){return i||(i=this.options.defaultNS),this.options.compatibilityAPI==="v1"?ge(ge({},{}),this.getResource(e,i)):this.getResource(e,i)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"hasLanguageSomeTranslations",value:function(e){var i=this.getDataByLanguage(e),o=i&&Object.keys(i)||[];return!!o.find(function(s){return i[s]&&Object.keys(i[s]).length>0})}},{key:"toJSON",value:function(){return this.data}}]),r}(z),gt={processors:{},addPostProcessor:function(t){this.processors[t.name]=t},handle:function(t,r,n,e,i){var o=this;return t.forEach(function(s){o.processors[s]&&(r=o.processors[s].process(r,n,e,i))}),r}};function $e(a,t){var r=Object.keys(a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(a);t&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})),r.push.apply(r,n)}return r}function E(a){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var Ke={},Ve=function(a){Oe(r,a);var t=Vt(r);function r(n){var e,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return I(this,r),e=t.call(this),Se&&z.call(V(e)),Dt(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],n,V(e)),e.options=i,e.options.keySeparator===void 0&&(e.options.keySeparator="."),e.logger=B.create("translator"),e}return F(r,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(e==null)return!1;var o=this.resolve(e,i);return o&&o.res!==void 0}},{key:"extractFromKey",value:function(e,i){var o=i.nsSeparator!==void 0?i.nsSeparator:this.options.nsSeparator;o===void 0&&(o=":");var s=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,u=i.ns||this.options.defaultNS||[],d=o&&e.indexOf(o)>-1,c=!this.options.userDefinedKeySeparator&&!i.keySeparator&&!this.options.userDefinedNsSeparator&&!i.nsSeparator&&!Ht(e,o,s);if(d&&!c){var f=e.match(this.interpolator.nestingRegexp);if(f&&f.length>0)return{key:e,namespaces:u};var g=e.split(o);(o!==s||o===s&&this.options.ns.indexOf(g[0])>-1)&&(u=g.shift()),e=g.join(s)}return typeof u=="string"&&(u=[u]),{key:e,namespaces:u}}},{key:"translate",value:function(e,i,o){var s=this;if(C(i)!=="object"&&this.options.overloadTranslationOptionHandler&&(i=this.options.overloadTranslationOptionHandler(arguments)),C(i)==="object"&&(i=E({},i)),i||(i={}),e==null)return"";Array.isArray(e)||(e=[String(e)]);var u=i.returnDetails!==void 0?i.returnDetails:this.options.returnDetails,d=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,c=this.extractFromKey(e[e.length-1],i),f=c.key,g=c.namespaces,h=g[g.length-1],v=i.lng||this.language,w=i.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(v&&v.toLowerCase()==="cimode"){if(w){var b=i.nsSeparator||this.options.nsSeparator;return u?{res:"".concat(h).concat(b).concat(f),usedKey:f,exactUsedKey:f,usedLng:v,usedNS:h}:"".concat(h).concat(b).concat(f)}return u?{res:f,usedKey:f,exactUsedKey:f,usedLng:v,usedNS:h}:f}var m=this.resolve(e,i),y=m&&m.res,P=m&&m.usedKey||f,S=m&&m.exactUsedKey||f,R=Object.prototype.toString.apply(y),A=["[object Number]","[object Function]","[object RegExp]"],H=i.joinArrays!==void 0?i.joinArrays:this.options.joinArrays,N=!this.i18nFormat||this.i18nFormat.handleAsObject,X=typeof y!="string"&&typeof y!="boolean"&&typeof y!="number";if(N&&y&&X&&A.indexOf(R)<0&&!(typeof H=="string"&&R==="[object Array]")){if(!i.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var K=this.options.returnedObjectHandler?this.options.returnedObjectHandler(P,y,E(E({},i),{},{ns:g})):"key '".concat(f," (").concat(this.language,")' returned an object instead of string.");return u?(m.res=K,m):K}if(d){var _=R==="[object Array]",W=_?[]:{},ee=_?S:P;for(var l in y)if(Object.prototype.hasOwnProperty.call(y,l)){var p="".concat(ee).concat(d).concat(l);W[l]=this.translate(p,E(E({},i),{joinArrays:!1,ns:g})),W[l]===p&&(W[l]=y[l])}y=W}}else if(N&&typeof H=="string"&&R==="[object Array]")y=y.join(H),y&&(y=this.extendTranslation(y,e,i,o));else{var O=!1,k=!1,L=i.count!==void 0&&typeof i.count!="string",x=r.hasDefaultValue(i),G=L?this.pluralResolver.getSuffix(v,i.count,i):"",T=i["defaultValue".concat(G)]||i.defaultValue;!this.isValidLookup(y)&&x&&(O=!0,y=T),this.isValidLookup(y)||(k=!0,y=f);var te=i.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,Ot=te&&k?void 0:y,re=x&&T!==y&&this.options.updateMissing;if(k||O||re){if(this.logger.log(re?"updateKey":"missingKey",v,h,f,re?T:y),d){var Ce=this.resolve(f,E(E({},i),{},{keySeparator:!1}));Ce&&Ce.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var ne=[],de=this.languageUtils.getFallbackCodes(this.options.fallbackLng,i.lng||this.language);if(this.options.saveMissingTo==="fallback"&&de&&de[0])for(var xe=0;xe1&&arguments[1]!==void 0?arguments[1]:{},s,u,d,c,f;return typeof e=="string"&&(e=[e]),e.forEach(function(g){if(!i.isValidLookup(s)){var h=i.extractFromKey(g,o),v=h.key;u=v;var w=h.namespaces;i.options.fallbackNS&&(w=w.concat(i.options.fallbackNS));var b=o.count!==void 0&&typeof o.count!="string",m=b&&!o.ordinal&&o.count===0&&i.pluralResolver.shouldUseIntlApi(),y=o.context!==void 0&&(typeof o.context=="string"||typeof o.context=="number")&&o.context!=="",P=o.lngs?o.lngs:i.languageUtils.toResolveHierarchy(o.lng||i.language,o.fallbackLng);w.forEach(function(S){i.isValidLookup(s)||(f=S,!Ke["".concat(P[0],"-").concat(S)]&&i.utils&&i.utils.hasLoadedNamespace&&!i.utils.hasLoadedNamespace(f)&&(Ke["".concat(P[0],"-").concat(S)]=!0,i.logger.warn('key "'.concat(u,'" for languages "').concat(P.join(", "),`" won't get resolved as namespace "`).concat(f,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),P.forEach(function(R){if(!i.isValidLookup(s)){c=R;var A=[v];if(i.i18nFormat&&i.i18nFormat.addLookupKeys)i.i18nFormat.addLookupKeys(A,v,R,S,o);else{var H;b&&(H=i.pluralResolver.getSuffix(R,o.count,o));var N="".concat(i.options.pluralSeparator,"zero");if(b&&(A.push(v+H),m&&A.push(v+N)),y){var X="".concat(v).concat(i.options.contextSeparator).concat(o.context);A.push(X),b&&(A.push(X+H),m&&A.push(X+N))}}for(var K;K=A.pop();)i.isValidLookup(s)||(d=K,s=i.getResource(R,S,K,o))}}))})}}),{res:s,usedKey:u,exactUsedKey:d,usedLng:c,usedNS:f}}},{key:"isValidLookup",value:function(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")}},{key:"getResource",value:function(e,i,o){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,i,o,s):this.resourceStore.getResource(e,i,o,s)}}],[{key:"hasDefaultValue",value:function(e){var i="defaultValue";for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)&&i===o.substring(0,i.length)&&e[o]!==void 0)return!0;return!1}}]),r}(z);function Le(a){return a.charAt(0).toUpperCase()+a.slice(1)}var ze=function(){function a(t){I(this,a),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=B.create("languageUtils")}return F(a,[{key:"getScriptPartFromCode",value:function(r){if(!r||r.indexOf("-")<0)return null;var n=r.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}},{key:"getLanguagePartFromCode",value:function(r){if(!r||r.indexOf("-")<0)return r;var n=r.split("-");return this.formatLanguageCode(n[0])}},{key:"formatLanguageCode",value:function(r){if(typeof r=="string"&&r.indexOf("-")>-1){var n=["hans","hant","latn","cyrl","cans","mong","arab"],e=r.split("-");return this.options.lowerCaseLng?e=e.map(function(i){return i.toLowerCase()}):e.length===2?(e[0]=e[0].toLowerCase(),e[1]=e[1].toUpperCase(),n.indexOf(e[1].toLowerCase())>-1&&(e[1]=Le(e[1].toLowerCase()))):e.length===3&&(e[0]=e[0].toLowerCase(),e[1].length===2&&(e[1]=e[1].toUpperCase()),e[0]!=="sgn"&&e[2].length===2&&(e[2]=e[2].toUpperCase()),n.indexOf(e[1].toLowerCase())>-1&&(e[1]=Le(e[1].toLowerCase())),n.indexOf(e[2].toLowerCase())>-1&&(e[2]=Le(e[2].toLowerCase()))),e.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?r.toLowerCase():r}},{key:"isSupportedCode",value:function(r){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(r=this.getLanguagePartFromCode(r)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(r)>-1}},{key:"getBestMatchFromCodes",value:function(r){var n=this;if(!r)return null;var e;return r.forEach(function(i){if(!e){var o=n.formatLanguageCode(i);(!n.options.supportedLngs||n.isSupportedCode(o))&&(e=o)}}),!e&&this.options.supportedLngs&&r.forEach(function(i){if(!e){var o=n.getLanguagePartFromCode(i);if(n.isSupportedCode(o))return e=o;e=n.options.supportedLngs.find(function(s){if(s===o)return s;if(!(s.indexOf("-")<0&&o.indexOf("-")<0)&&s.indexOf(o)===0)return s})}}),e||(e=this.getFallbackCodes(this.options.fallbackLng)[0]),e}},{key:"getFallbackCodes",value:function(r,n){if(!r)return[];if(typeof r=="function"&&(r=r(n)),typeof r=="string"&&(r=[r]),Object.prototype.toString.apply(r)==="[object Array]")return r;if(!n)return r.default||[];var e=r[n];return e||(e=r[this.getScriptPartFromCode(n)]),e||(e=r[this.formatLanguageCode(n)]),e||(e=r[this.getLanguagePartFromCode(n)]),e||(e=r.default),e||[]}},{key:"toResolveHierarchy",value:function(r,n){var e=this,i=this.getFallbackCodes(n||this.options.fallbackLng||[],r),o=[],s=function(d){d&&(e.isSupportedCode(d)?o.push(d):e.logger.warn("rejecting language code not found in supportedLngs: ".concat(d)))};return typeof r=="string"&&r.indexOf("-")>-1?(this.options.load!=="languageOnly"&&s(this.formatLanguageCode(r)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&s(this.getScriptPartFromCode(r)),this.options.load!=="currentOnly"&&s(this.getLanguagePartFromCode(r))):typeof r=="string"&&s(this.formatLanguageCode(r)),i.forEach(function(u){o.indexOf(u)<0&&s(e.formatLanguageCode(u))}),o}}]),a}(),Jt=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Xt={1:function(t){return Number(t>1)},2:function(t){return Number(t!=1)},3:function(t){return 0},4:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},5:function(t){return Number(t==0?0:t==1?1:t==2?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5)},6:function(t){return Number(t==1?0:t>=2&&t<=4?1:2)},7:function(t){return Number(t==1?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},8:function(t){return Number(t==1?0:t==2?1:t!=8&&t!=11?2:3)},9:function(t){return Number(t>=2)},10:function(t){return Number(t==1?0:t==2?1:t<7?2:t<11?3:4)},11:function(t){return Number(t==1||t==11?0:t==2||t==12?1:t>2&&t<20?2:3)},12:function(t){return Number(t%10!=1||t%100==11)},13:function(t){return Number(t!==0)},14:function(t){return Number(t==1?0:t==2?1:t==3?2:3)},15:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2)},16:function(t){return Number(t%10==1&&t%100!=11?0:t!==0?1:2)},17:function(t){return Number(t==1||t%10==1&&t%100!=11?0:1)},18:function(t){return Number(t==0?0:t==1?1:2)},19:function(t){return Number(t==1?0:t==0||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3)},20:function(t){return Number(t==1?0:t==0||t%100>0&&t%100<20?1:2)},21:function(t){return Number(t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0)},22:function(t){return Number(t==1?0:t==2?1:(t<0||t>10)&&t%10==0?2:3)}},Wt=["v1","v2","v3"],Je={zero:0,one:1,two:2,few:3,many:4,other:5};function Gt(){var a={};return Jt.forEach(function(t){t.lngs.forEach(function(r){a[r]={numbers:t.nr,plurals:Xt[t.fc]}})}),a}var Qt=function(){function a(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};I(this,a),this.languageUtils=t,this.options=r,this.logger=B.create("pluralResolver"),(!this.options.compatibilityJSON||this.options.compatibilityJSON==="v4")&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=Gt()}return F(a,[{key:"addRule",value:function(r,n){this.rules[r]=n}},{key:"getRule",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(r,{type:n.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[r]||this.rules[this.languageUtils.getLanguagePartFromCode(r)]}},{key:"needsPlural",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e=this.getRule(r,n);return this.shouldUseIntlApi()?e&&e.resolvedOptions().pluralCategories.length>1:e&&e.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(r,n){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(r,e).map(function(i){return"".concat(n).concat(i)})}},{key:"getSuffixes",value:function(r){var n=this,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=this.getRule(r,e);return i?this.shouldUseIntlApi()?i.resolvedOptions().pluralCategories.sort(function(o,s){return Je[o]-Je[s]}).map(function(o){return"".concat(n.options.prepend).concat(o)}):i.numbers.map(function(o){return n.getSuffix(r,o,e)}):[]}},{key:"getSuffix",value:function(r,n){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=this.getRule(r,e);return i?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(i.select(n)):this.getSuffixRetroCompatible(i,n):(this.logger.warn("no plural rule found for: ".concat(r)),"")}},{key:"getSuffixRetroCompatible",value:function(r,n){var e=this,i=r.noAbs?r.plurals(n):r.plurals(Math.abs(n)),o=r.numbers[i];this.options.simplifyPluralSuffix&&r.numbers.length===2&&r.numbers[0]===1&&(o===2?o="plural":o===1&&(o=""));var s=function(){return e.options.prepend&&o.toString()?e.options.prepend+o.toString():o.toString()};return this.options.compatibilityJSON==="v1"?o===1?"":typeof o=="number"?"_plural_".concat(o.toString()):s():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&r.numbers.length===2&&r.numbers[0]===1?s():this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString()}},{key:"shouldUseIntlApi",value:function(){return!Wt.includes(this.options.compatibilityJSON)}}]),a}();function Xe(a,t){var r=Object.keys(a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(a);t&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})),r.push.apply(r,n)}return r}function D(a){for(var t=1;t3&&arguments[3]!==void 0?arguments[3]:".",e=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,i=Ft(a,t,r);return!i&&e&&typeof r=="string"&&(i=me(a,r,n),i===void 0&&(i=me(t,r,n))),i}var Yt=function(){function a(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};I(this,a),this.logger=B.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(r){return r},this.init(t)}return F(a,[{key:"init",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};r.interpolation||(r.interpolation={escapeValue:!0});var n=r.interpolation;this.escape=n.escape!==void 0?n.escape:Bt,this.escapeValue=n.escapeValue!==void 0?n.escapeValue:!0,this.useRawValueToEscape=n.useRawValueToEscape!==void 0?n.useRawValueToEscape:!1,this.prefix=n.prefix?Y(n.prefix):n.prefixEscaped||"{{",this.suffix=n.suffix?Y(n.suffix):n.suffixEscaped||"}}",this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||",",this.unescapePrefix=n.unescapeSuffix?"":n.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":n.unescapeSuffix||"",this.nestingPrefix=n.nestingPrefix?Y(n.nestingPrefix):n.nestingPrefixEscaped||Y("$t("),this.nestingSuffix=n.nestingSuffix?Y(n.nestingSuffix):n.nestingSuffixEscaped||Y(")"),this.nestingOptionsSeparator=n.nestingOptionsSeparator?n.nestingOptionsSeparator:n.nestingOptionsSeparator||",",this.maxReplaces=n.maxReplaces?n.maxReplaces:1e3,this.alwaysFormat=n.alwaysFormat!==void 0?n.alwaysFormat:!1,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var r="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(r,"g");var n="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(n,"g");var e="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(e,"g")}},{key:"interpolate",value:function(r,n,e,i){var o=this,s,u,d,c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function f(b){return b.replace(/\$/g,"$$$$")}var g=function(m){if(m.indexOf(o.formatSeparator)<0){var y=We(n,c,m,o.options.keySeparator,o.options.ignoreJSONStructure);return o.alwaysFormat?o.format(y,void 0,e,D(D(D({},i),n),{},{interpolationkey:m})):y}var P=m.split(o.formatSeparator),S=P.shift().trim(),R=P.join(o.formatSeparator).trim();return o.format(We(n,c,S,o.options.keySeparator,o.options.ignoreJSONStructure),R,e,D(D(D({},i),n),{},{interpolationkey:S}))};this.resetRegExp();var h=i&&i.missingInterpolationHandler||this.options.missingInterpolationHandler,v=i&&i.interpolation&&i.interpolation.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables,w=[{regex:this.regexpUnescape,safeValue:function(m){return f(m)}},{regex:this.regexp,safeValue:function(m){return o.escapeValue?f(o.escape(m)):f(m)}}];return w.forEach(function(b){for(d=0;s=b.regex.exec(r);){var m=s[1].trim();if(u=g(m),u===void 0)if(typeof h=="function"){var y=h(r,s,i);u=typeof y=="string"?y:""}else if(i&&Object.prototype.hasOwnProperty.call(i,m))u="";else if(v){u=s[0];continue}else o.logger.warn("missed to pass in variable ".concat(m," for interpolating ").concat(r)),u="";else typeof u!="string"&&!o.useRawValueToEscape&&(u=Me(u));var P=b.safeValue(u);if(r=r.replace(s[0],P),v?(b.regex.lastIndex+=u.length,b.regex.lastIndex-=s[0].length):b.regex.lastIndex=0,d++,d>=o.maxReplaces)break}}),r}},{key:"nest",value:function(r,n){var e=this,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o,s,u;function d(h,v){var w=this.nestingOptionsSeparator;if(h.indexOf(w)<0)return h;var b=h.split(new RegExp("".concat(w,"[ ]*{"))),m="{".concat(b[1]);h=b[0],m=this.interpolate(m,u);var y=m.match(/'/g),P=m.match(/"/g);(y&&y.length%2===0&&!P||P.length%2!==0)&&(m=m.replace(/'/g,'"'));try{u=JSON.parse(m),v&&(u=D(D({},v),u))}catch(S){return this.logger.warn("failed parsing options string in nesting for key ".concat(h),S),"".concat(h).concat(w).concat(m)}return delete u.defaultValue,h}for(;o=this.nestingRegexp.exec(r);){var c=[];u=D({},i),u=u.replace&&typeof u.replace!="string"?u.replace:u,u.applyPostProcessor=!1,delete u.defaultValue;var f=!1;if(o[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(o[1])){var g=o[1].split(this.formatSeparator).map(function(h){return h.trim()});o[1]=g.shift(),c=g,f=!0}if(s=n(d.call(this,o[1].trim(),u),u),s&&o[0]===r&&typeof s!="string")return s;typeof s!="string"&&(s=Me(s)),s||(this.logger.warn("missed to resolve ".concat(o[1]," for nesting ").concat(r)),s=""),f&&(s=c.reduce(function(h,v){return e.format(h,v,i.lng,D(D({},i),{},{interpolationkey:o[1].trim()}))},s.trim())),r=r.replace(o[0],s),this.regexp.lastIndex=0}return r}}]),a}();function Ge(a,t){var r=Object.keys(a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(a);t&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})),r.push.apply(r,n)}return r}function q(a){for(var t=1;t-1){var n=a.split("(");t=n[0].toLowerCase().trim();var e=n[1].substring(0,n[1].length-1);if(t==="currency"&&e.indexOf(":")<0)r.currency||(r.currency=e.trim());else if(t==="relativetime"&&e.indexOf(":")<0)r.range||(r.range=e.trim());else{var i=e.split(";");i.forEach(function(o){if(o){var s=o.split(":"),u=Ct(s),d=u[0],c=u.slice(1),f=c.join(":").trim().replace(/^'+|'+$/g,"");r[d.trim()]||(r[d.trim()]=f),f==="false"&&(r[d.trim()]=!1),f==="true"&&(r[d.trim()]=!0),isNaN(f)||(r[d.trim()]=parseInt(f,10))}})}}return{formatName:t,formatOptions:r}}function Z(a){var t={};return function(n,e,i){var o=e+JSON.stringify(i),s=t[o];return s||(s=a(e,i),t[o]=s),s(n)}}var er=function(){function a(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};I(this,a),this.logger=B.create("formatter"),this.options=t,this.formats={number:Z(function(r,n){var e=new Intl.NumberFormat(r,q({},n));return function(i){return e.format(i)}}),currency:Z(function(r,n){var e=new Intl.NumberFormat(r,q(q({},n),{},{style:"currency"}));return function(i){return e.format(i)}}),datetime:Z(function(r,n){var e=new Intl.DateTimeFormat(r,q({},n));return function(i){return e.format(i)}}),relativetime:Z(function(r,n){var e=new Intl.RelativeTimeFormat(r,q({},n));return function(i){return e.format(i,n.range||"day")}}),list:Z(function(r,n){var e=new Intl.ListFormat(r,q({},n));return function(i){return e.format(i)}})},this.init(t)}return F(a,[{key:"init",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}},e=n.interpolation;this.formatSeparator=e.formatSeparator?e.formatSeparator:e.formatSeparator||","}},{key:"add",value:function(r,n){this.formats[r.toLowerCase().trim()]=n}},{key:"addCached",value:function(r,n){this.formats[r.toLowerCase().trim()]=Z(n)}},{key:"format",value:function(r,n,e){var i=this,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},s=n.split(this.formatSeparator),u=s.reduce(function(d,c){var f=Zt(c),g=f.formatName,h=f.formatOptions;if(i.formats[g]){var v=d;try{var w=o&&o.formatParams&&o.formatParams[o.interpolationkey]||{},b=w.locale||w.lng||o.locale||o.lng||e;v=i.formats[g](d,b,q(q(q({},h),o),w))}catch(m){i.logger.warn(m)}return v}else i.logger.warn("there was no format function for ".concat(g));return d},r);return u}}]),a}();function Qe(a,t){var r=Object.keys(a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(a);t&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})),r.push.apply(r,n)}return r}function Ye(a){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function nr(a,t){a.pending[t]!==void 0&&(delete a.pending[t],a.pendingCount--)}var ir=function(a){Oe(r,a);var t=tr(r);function r(n,e,i){var o,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return I(this,r),o=t.call(this),Se&&z.call(V(o)),o.backend=n,o.store=e,o.services=i,o.languageUtils=i.languageUtils,o.options=s,o.logger=B.create("backendConnector"),o.waitingReads=[],o.maxParallelReads=s.maxParallelReads||10,o.readingCalls=0,o.maxRetries=s.maxRetries>=0?s.maxRetries:5,o.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,o.state={},o.queue=[],o.backend&&o.backend.init&&o.backend.init(i,s.backend,s),o}return F(r,[{key:"queueLoad",value:function(e,i,o,s){var u=this,d={},c={},f={},g={};return e.forEach(function(h){var v=!0;i.forEach(function(w){var b="".concat(h,"|").concat(w);!o.reload&&u.store.hasResourceBundle(h,w)?u.state[b]=2:u.state[b]<0||(u.state[b]===1?c[b]===void 0&&(c[b]=!0):(u.state[b]=1,v=!1,c[b]===void 0&&(c[b]=!0),d[b]===void 0&&(d[b]=!0),g[w]===void 0&&(g[w]=!0)))}),v||(f[h]=!0)}),(Object.keys(d).length||Object.keys(c).length)&&this.queue.push({pending:c,pendingCount:Object.keys(c).length,loaded:{},errors:[],callback:s}),{toLoad:Object.keys(d),pending:Object.keys(c),toLoadLanguages:Object.keys(f),toLoadNamespaces:Object.keys(g)}}},{key:"loaded",value:function(e,i,o){var s=e.split("|"),u=s[0],d=s[1];i&&this.emit("failedLoading",u,d,i),o&&this.store.addResourceBundle(u,d,o),this.state[e]=i?-1:2;var c={};this.queue.forEach(function(f){It(f.loaded,[u],d),nr(f,e),i&&f.errors.push(i),f.pendingCount===0&&!f.done&&(Object.keys(f.loaded).forEach(function(g){c[g]||(c[g]={});var h=f.loaded[g];h.length&&h.forEach(function(v){c[g][v]===void 0&&(c[g][v]=!0)})}),f.done=!0,f.errors.length?f.callback(f.errors):f.callback())}),this.emit("loaded",c),this.queue=this.queue.filter(function(f){return!f.done})}},{key:"read",value:function(e,i,o){var s=this,u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,d=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,c=arguments.length>5?arguments[5]:void 0;if(!e.length)return c(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:i,fcName:o,tried:u,wait:d,callback:c});return}this.readingCalls++;var f=function(w,b){if(s.readingCalls--,s.waitingReads.length>0){var m=s.waitingReads.shift();s.read(m.lng,m.ns,m.fcName,m.tried,m.wait,m.callback)}if(w&&b&&u2&&arguments[2]!==void 0?arguments[2]:{},u=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),u&&u();typeof e=="string"&&(e=this.languageUtils.toResolveHierarchy(e)),typeof i=="string"&&(i=[i]);var d=this.queueLoad(e,i,s,u);if(!d.toLoad.length)return d.pending.length||u(),null;d.toLoad.forEach(function(c){o.loadOne(c)})}},{key:"load",value:function(e,i,o){this.prepareLoading(e,i,{},o)}},{key:"reload",value:function(e,i,o){this.prepareLoading(e,i,{reload:!0},o)}},{key:"loadOne",value:function(e){var i=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",s=e.split("|"),u=s[0],d=s[1];this.read(u,d,"read",void 0,void 0,function(c,f){c&&i.logger.warn("".concat(o,"loading namespace ").concat(d," for language ").concat(u," failed"),c),!c&&f&&i.logger.log("".concat(o,"loaded namespace ").concat(d," for language ").concat(u),f),i.loaded(e,c,f)})}},{key:"saveMissing",value:function(e,i,o,s,u){var d=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},c=arguments.length>6&&arguments[6]!==void 0?arguments[6]:function(){};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(i)){this.logger.warn('did not save key "'.concat(o,'" as the namespace "').concat(i,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(o==null||o==="")){if(this.backend&&this.backend.create){var f=Ye(Ye({},d),{},{isUpdate:u}),g=this.backend.create.bind(this.backend);if(g.length<6)try{var h;g.length===5?h=g(e,i,o,s,f):h=g(e,i,o,s),h&&typeof h.then=="function"?h.then(function(v){return c(null,v)}).catch(c):c(null,h)}catch(v){c(v)}else g(e,i,o,s,c,f)}!e||!e[0]||this.store.addResource(e[0],i,o,s)}}}]),r}(z);function Ze(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){var r={};if(C(t[1])==="object"&&(r=t[1]),typeof t[1]=="string"&&(r.defaultValue=t[1]),typeof t[2]=="string"&&(r.tDescription=t[2]),C(t[2])==="object"||C(t[3])==="object"){var n=t[3]||t[2];Object.keys(n).forEach(function(e){r[e]=n[e]})}return r},interpolation:{escapeValue:!0,format:function(t,r,n,e){return t},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function et(a){return typeof a.ns=="string"&&(a.ns=[a.ns]),typeof a.fallbackLng=="string"&&(a.fallbackLng=[a.fallbackLng]),typeof a.fallbackNS=="string"&&(a.fallbackNS=[a.fallbackNS]),a.supportedLngs&&a.supportedLngs.indexOf("cimode")<0&&(a.supportedLngs=a.supportedLngs.concat(["cimode"])),a}function tt(a,t){var r=Object.keys(a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(a);t&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})),r.push.apply(r,n)}return r}function U(a){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function he(){}function sr(a){var t=Object.getOwnPropertyNames(Object.getPrototypeOf(a));t.forEach(function(r){typeof a[r]=="function"&&(a[r]=a[r].bind(a))})}var ye=function(a){Oe(r,a);var t=ar(r);function r(){var n,e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;if(I(this,r),n=t.call(this),Se&&z.call(V(n)),n.options=et(e),n.services={},n.logger=B,n.modules={external:[]},sr(V(n)),i&&!n.isInitialized&&!e.isClone){if(!n.options.initImmediate)return n.init(e,i),ce(n,V(n));setTimeout(function(){n.init(e,i)},0)}return n}return F(r,[{key:"init",value:function(){var e=this,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;typeof i=="function"&&(o=i,i={}),!i.defaultNS&&i.defaultNS!==!1&&i.ns&&(typeof i.ns=="string"?i.defaultNS=i.ns:i.ns.indexOf("translation")<0&&(i.defaultNS=i.ns[0]));var s=Ze();this.options=U(U(U({},s),this.options),et(i)),this.options.compatibilityAPI!=="v1"&&(this.options.interpolation=U(U({},s.interpolation),this.options.interpolation)),i.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=i.keySeparator),i.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=i.nsSeparator);function u(m){return m?typeof m=="function"?new m:m:null}if(!this.options.isClone){this.modules.logger?B.init(u(this.modules.logger),this.options):B.init(null,this.options);var d;this.modules.formatter?d=this.modules.formatter:typeof Intl<"u"&&(d=er);var c=new ze(this.options);this.store=new Kt(this.options.resources,this.options);var f=this.services;f.logger=B,f.resourceStore=this.store,f.languageUtils=c,f.pluralResolver=new Qt(c,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),d&&(!this.options.interpolation.format||this.options.interpolation.format===s.interpolation.format)&&(f.formatter=u(d),f.formatter.init(f,this.options),this.options.interpolation.format=f.formatter.format.bind(f.formatter)),f.interpolator=new Yt(this.options),f.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},f.backendConnector=new ir(u(this.modules.backend),f.resourceStore,f,this.options),f.backendConnector.on("*",function(m){for(var y=arguments.length,P=new Array(y>1?y-1:0),S=1;S1?y-1:0),S=1;S0&&g[0]!=="dev"&&(this.options.lng=g[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined");var h=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];h.forEach(function(m){e[m]=function(){var y;return(y=e.store)[m].apply(y,arguments)}});var v=["addResource","addResources","addResourceBundle","removeResourceBundle"];v.forEach(function(m){e[m]=function(){var y;return(y=e.store)[m].apply(y,arguments),e}});var w=ie(),b=function(){var y=function(S,R){e.isInitialized&&!e.initializedStoreOnce&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),w.resolve(R),o(S,R)};if(e.languages&&e.options.compatibilityAPI!=="v1"&&!e.isInitialized)return y(null,e.t.bind(e));e.changeLanguage(e.options.lng,y)};return this.options.resources||!this.options.initImmediate?b():setTimeout(b,0),w}},{key:"loadResources",value:function(e){var i=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:he,s=o,u=typeof e=="string"?e:this.language;if(typeof e=="function"&&(s=e),!this.options.resources||this.options.partialBundledLanguages){if(u&&u.toLowerCase()==="cimode")return s();var d=[],c=function(h){if(h){var v=i.services.languageUtils.toResolveHierarchy(h);v.forEach(function(w){d.indexOf(w)<0&&d.push(w)})}};if(u)c(u);else{var f=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);f.forEach(function(g){return c(g)})}this.options.preload&&this.options.preload.forEach(function(g){return c(g)}),this.services.backendConnector.load(d,this.options.ns,function(g){!g&&!i.resolvedLanguage&&i.language&&i.setResolvedLanguage(i.language),s(g)})}else s(null)}},{key:"reloadResources",value:function(e,i,o){var s=ie();return e||(e=this.languages),i||(i=this.options.ns),o||(o=he),this.services.backendConnector.reload(e,i,function(u){s.resolve(),o(u)}),s}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return e.type==="backend"&&(this.modules.backend=e),(e.type==="logger"||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type==="languageDetector"&&(this.modules.languageDetector=e),e.type==="i18nFormat"&&(this.modules.i18nFormat=e),e.type==="postProcessor"&>.addPostProcessor(e),e.type==="formatter"&&(this.modules.formatter=e),e.type==="3rdParty"&&this.modules.external.push(e),this}},{key:"setResolvedLanguage",value:function(e){if(!(!e||!this.languages)&&!(["cimode","dev"].indexOf(e)>-1))for(var i=0;i-1)&&this.store.hasLanguageSomeTranslations(o)){this.resolvedLanguage=o;break}}}},{key:"changeLanguage",value:function(e,i){var o=this;this.isLanguageChangingTo=e;var s=ie();this.emit("languageChanging",e);var u=function(g){o.language=g,o.languages=o.services.languageUtils.toResolveHierarchy(g),o.resolvedLanguage=void 0,o.setResolvedLanguage(g)},d=function(g,h){h?(u(h),o.translator.changeLanguage(h),o.isLanguageChangingTo=void 0,o.emit("languageChanged",h),o.logger.log("languageChanged",h)):o.isLanguageChangingTo=void 0,s.resolve(function(){return o.t.apply(o,arguments)}),i&&i(g,function(){return o.t.apply(o,arguments)})},c=function(g){!e&&!g&&o.services.languageDetector&&(g=[]);var h=typeof g=="string"?g:o.services.languageUtils.getBestMatchFromCodes(g);h&&(o.language||u(h),o.translator.language||o.translator.changeLanguage(h),o.services.languageDetector&&o.services.languageDetector.cacheUserLanguage&&o.services.languageDetector.cacheUserLanguage(h)),o.loadResources(h,function(v){d(v,h)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?c(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(c):this.services.languageDetector.detect(c):c(e),s}},{key:"getFixedT",value:function(e,i,o){var s=this,u=function d(c,f){var g;if(C(f)!=="object"){for(var h=arguments.length,v=new Array(h>2?h-2:0),w=2;w1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var s=this.resolvedLanguage||this.languages[0],u=this.options?this.options.fallbackLng:!1,d=this.languages[this.languages.length-1];if(s.toLowerCase()==="cimode")return!0;var c=function(h,v){var w=i.services.backendConnector.state["".concat(h,"|").concat(v)];return w===-1||w===2};if(o.precheck){var f=o.precheck(this,c);if(f!==void 0)return f}return!!(this.hasResourceBundle(s,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||c(s,e)&&(!u||c(d,e)))}},{key:"loadNamespaces",value:function(e,i){var o=this,s=ie();return this.options.ns?(typeof e=="string"&&(e=[e]),e.forEach(function(u){o.options.ns.indexOf(u)<0&&o.options.ns.push(u)}),this.loadResources(function(u){s.resolve(),i&&i(u)}),s):(i&&i(),Promise.resolve())}},{key:"loadLanguages",value:function(e,i){var o=ie();typeof e=="string"&&(e=[e]);var s=this.options.preload||[],u=e.filter(function(d){return s.indexOf(d)<0});return u.length?(this.options.preload=s.concat(u),this.loadResources(function(d){o.resolve(),i&&i(d)}),o):(i&&i(),Promise.resolve())}},{key:"dir",value:function(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";var i=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],o=this.services&&this.services.languageUtils||new ze(Ze());return i.indexOf(o.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var e=this,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:he,s=U(U(U({},this.options),i),{isClone:!0}),u=new r(s);(i.debug!==void 0||i.prefix!==void 0)&&(u.logger=u.logger.clone(i));var d=["store","services","language"];return d.forEach(function(c){u[c]=e[c]}),u.services=U({},this.services),u.services.utils={hasLoadedNamespace:u.hasLoadedNamespace.bind(u)},u.translator=new Ve(u.services,u.options),u.translator.on("*",function(c){for(var f=arguments.length,g=new Array(f>1?f-1:0),h=1;h0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new ye(a,t)});var j=ye.createInstance();j.createInstance=ye.createInstance;j.createInstance;j.dir;j.init;j.loadResources;j.reloadResources;j.use;j.changeLanguage;j.getFixedT;j.t;j.exists;j.setDefaultNamespace;j.hasLoadedNamespace;j.loadNamespaces;j.loadLanguages;function je(a){return je=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},je(a)}var ht=[],ur=ht.forEach,fr=ht.slice;function Ee(a){return ur.call(fr.call(arguments,1),function(t){if(t)for(var r in t)a[r]===void 0&&(a[r]=t[r])}),a}function pt(){return typeof XMLHttpRequest=="function"||(typeof XMLHttpRequest>"u"?"undefined":je(XMLHttpRequest))==="object"}function lr(a){return!!a&&typeof a.then=="function"}function cr(a){return lr(a)?a:Promise.resolve(a)}function dr(a){throw new Error('Could not dynamically require "'+a+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var ue={},gr={get exports(){return ue},set exports(a){ue=a}},se={},hr={get exports(){return se},set exports(a){se=a}},rt;function pr(){return rt||(rt=1,function(a,t){var r=typeof self<"u"?self:pe,n=function(){function i(){this.fetch=!1,this.DOMException=r.DOMException}return i.prototype=r,new i}();(function(i){(function(o){var s={searchParams:"URLSearchParams"in i,iterable:"Symbol"in i&&"iterator"in Symbol,blob:"FileReader"in i&&"Blob"in i&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in i,arrayBuffer:"ArrayBuffer"in i};function u(l){return l&&DataView.prototype.isPrototypeOf(l)}if(s.arrayBuffer)var d=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(l){return l&&d.indexOf(Object.prototype.toString.call(l))>-1};function f(l){if(typeof l!="string"&&(l=String(l)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(l))throw new TypeError("Invalid character in header field name");return l.toLowerCase()}function g(l){return typeof l!="string"&&(l=String(l)),l}function h(l){var p={next:function(){var O=l.shift();return{done:O===void 0,value:O}}};return s.iterable&&(p[Symbol.iterator]=function(){return p}),p}function v(l){this.map={},l instanceof v?l.forEach(function(p,O){this.append(O,p)},this):Array.isArray(l)?l.forEach(function(p){this.append(p[0],p[1])},this):l&&Object.getOwnPropertyNames(l).forEach(function(p){this.append(p,l[p])},this)}v.prototype.append=function(l,p){l=f(l),p=g(p);var O=this.map[l];this.map[l]=O?O+", "+p:p},v.prototype.delete=function(l){delete this.map[f(l)]},v.prototype.get=function(l){return l=f(l),this.has(l)?this.map[l]:null},v.prototype.has=function(l){return this.map.hasOwnProperty(f(l))},v.prototype.set=function(l,p){this.map[f(l)]=g(p)},v.prototype.forEach=function(l,p){for(var O in this.map)this.map.hasOwnProperty(O)&&l.call(p,this.map[O],O,this)},v.prototype.keys=function(){var l=[];return this.forEach(function(p,O){l.push(O)}),h(l)},v.prototype.values=function(){var l=[];return this.forEach(function(p){l.push(p)}),h(l)},v.prototype.entries=function(){var l=[];return this.forEach(function(p,O){l.push([O,p])}),h(l)},s.iterable&&(v.prototype[Symbol.iterator]=v.prototype.entries);function w(l){if(l.bodyUsed)return Promise.reject(new TypeError("Already read"));l.bodyUsed=!0}function b(l){return new Promise(function(p,O){l.onload=function(){p(l.result)},l.onerror=function(){O(l.error)}})}function m(l){var p=new FileReader,O=b(p);return p.readAsArrayBuffer(l),O}function y(l){var p=new FileReader,O=b(p);return p.readAsText(l),O}function P(l){for(var p=new Uint8Array(l),O=new Array(p.length),k=0;k-1?p:l}function N(l,p){p=p||{};var O=p.body;if(l instanceof N){if(l.bodyUsed)throw new TypeError("Already read");this.url=l.url,this.credentials=l.credentials,p.headers||(this.headers=new v(l.headers)),this.method=l.method,this.mode=l.mode,this.signal=l.signal,!O&&l._bodyInit!=null&&(O=l._bodyInit,l.bodyUsed=!0)}else this.url=String(l);if(this.credentials=p.credentials||this.credentials||"same-origin",(p.headers||!this.headers)&&(this.headers=new v(p.headers)),this.method=H(p.method||this.method||"GET"),this.mode=p.mode||this.mode||null,this.signal=p.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&O)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(O)}N.prototype.clone=function(){return new N(this,{body:this._bodyInit})};function X(l){var p=new FormData;return l.trim().split("&").forEach(function(O){if(O){var k=O.split("="),L=k.shift().replace(/\+/g," "),x=k.join("=").replace(/\+/g," ");p.append(decodeURIComponent(L),decodeURIComponent(x))}}),p}function K(l){var p=new v,O=l.replace(/\r?\n[\t ]+/g," ");return O.split(/\r?\n/).forEach(function(k){var L=k.split(":"),x=L.shift().trim();if(x){var G=L.join(":").trim();p.append(x,G)}}),p}R.call(N.prototype);function _(l,p){p||(p={}),this.type="default",this.status=p.status===void 0?200:p.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in p?p.statusText:"OK",this.headers=new v(p.headers),this.url=p.url||"",this._initBody(l)}R.call(_.prototype),_.prototype.clone=function(){return new _(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new v(this.headers),url:this.url})},_.error=function(){var l=new _(null,{status:0,statusText:""});return l.type="error",l};var W=[301,302,303,307,308];_.redirect=function(l,p){if(W.indexOf(p)===-1)throw new RangeError("Invalid status code");return new _(null,{status:p,headers:{location:l}})},o.DOMException=i.DOMException;try{new o.DOMException}catch{o.DOMException=function(p,O){this.message=p,this.name=O;var k=Error(p);this.stack=k.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function ee(l,p){return new Promise(function(O,k){var L=new N(l,p);if(L.signal&&L.signal.aborted)return k(new o.DOMException("Aborted","AbortError"));var x=new XMLHttpRequest;function G(){x.abort()}x.onload=function(){var T={status:x.status,statusText:x.statusText,headers:K(x.getAllResponseHeaders()||"")};T.url="responseURL"in x?x.responseURL:T.headers.get("X-Request-URL");var te="response"in x?x.response:x.responseText;O(new _(te,T))},x.onerror=function(){k(new TypeError("Network request failed"))},x.ontimeout=function(){k(new TypeError("Network request failed"))},x.onabort=function(){k(new o.DOMException("Aborted","AbortError"))},x.open(L.method,L.url,!0),L.credentials==="include"?x.withCredentials=!0:L.credentials==="omit"&&(x.withCredentials=!1),"responseType"in x&&s.blob&&(x.responseType="blob"),L.headers.forEach(function(T,te){x.setRequestHeader(te,T)}),L.signal&&(L.signal.addEventListener("abort",G),x.onreadystatechange=function(){x.readyState===4&&L.signal.removeEventListener("abort",G)}),x.send(typeof L._bodyInit>"u"?null:L._bodyInit)})}return ee.polyfill=!0,i.fetch||(i.fetch=ee,i.Headers=v,i.Request=N,i.Response=_),o.Headers=v,o.Request=N,o.Response=_,o.fetch=ee,Object.defineProperty(o,"__esModule",{value:!0}),o})({})})(n),n.fetch.ponyfill=!0,delete n.fetch.polyfill;var e=n;t=e.fetch,t.default=e.fetch,t.fetch=e.fetch,t.Headers=e.Headers,t.Request=e.Request,t.Response=e.Response,a.exports=t}(hr,se)),se}(function(a,t){var r;if(typeof fetch=="function"&&(typeof pe<"u"&&pe.fetch?r=pe.fetch:typeof window<"u"&&window.fetch?r=window.fetch:r=fetch),typeof dr<"u"&&(typeof window>"u"||typeof window.document>"u")){var n=r||pr();n.default&&(n=n.default),t.default=n,a.exports=t.default}})(gr,ue);const vt=ue,nt=Lt({__proto__:null,default:vt},[ue]);function be(a){return be=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},be(a)}var $;typeof fetch=="function"&&(typeof global<"u"&&global.fetch?$=global.fetch:typeof window<"u"&&window.fetch?$=window.fetch:$=fetch);var fe;pt()&&(typeof global<"u"&&global.XMLHttpRequest?fe=global.XMLHttpRequest:typeof window<"u"&&window.XMLHttpRequest&&(fe=window.XMLHttpRequest));var we;typeof ActiveXObject=="function"&&(typeof global<"u"&&global.ActiveXObject?we=global.ActiveXObject:typeof window<"u"&&window.ActiveXObject&&(we=window.ActiveXObject));!$&&nt&&!fe&&!we&&($=vt||nt);typeof $!="function"&&($=void 0);var Ne=function(t,r){if(r&&be(r)==="object"){var n="";for(var e in r)n+="&"+encodeURIComponent(e)+"="+encodeURIComponent(r[e]);if(!n)return t;t=t+(t.indexOf("?")!==-1?"&":"?")+n.slice(1)}return t},it=function(t,r,n){$(t,r).then(function(e){if(!e.ok)return n(e.statusText||"Error",{status:e.status});e.text().then(function(i){n(null,{status:e.status,data:i})}).catch(n)}).catch(n)},at=!1,vr=function(t,r,n,e){t.queryStringParams&&(r=Ne(r,t.queryStringParams));var i=Ee({},typeof t.customHeaders=="function"?t.customHeaders():t.customHeaders);n&&(i["Content-Type"]="application/json");var o=typeof t.requestOptions=="function"?t.requestOptions(n):t.requestOptions,s=Ee({method:n?"POST":"GET",body:n?t.stringify(n):void 0,headers:i},at?{}:o);try{it(r,s,e)}catch(u){if(!o||Object.keys(o).length===0||!u.message||u.message.indexOf("not implemented")<0)return e(u);try{Object.keys(o).forEach(function(d){delete s[d]}),it(r,s,e),at=!0}catch(d){e(d)}}},mr=function(t,r,n,e){n&&be(n)==="object"&&(n=Ne("",n).slice(1)),t.queryStringParams&&(r=Ne(r,t.queryStringParams));try{var i;fe?i=new fe:i=new we("MSXML2.XMLHTTP.3.0"),i.open(n?"POST":"GET",r,1),t.crossDomain||i.setRequestHeader("X-Requested-With","XMLHttpRequest"),i.withCredentials=!!t.withCredentials,n&&i.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),i.overrideMimeType&&i.overrideMimeType("application/json");var o=t.customHeaders;if(o=typeof o=="function"?o():o,o)for(var s in o)i.setRequestHeader(s,o[s]);i.onreadystatechange=function(){i.readyState>3&&e(i.status>=400?i.statusText:null,{status:i.status,data:i.responseText})},i.send(n)}catch(u){console&&console.log(u)}},yr=function(t,r,n,e){if(typeof n=="function"&&(e=n,n=void 0),e=e||function(){},$&&r.indexOf("file:")!==0)return vr(t,r,n,e);if(pt()||typeof ActiveXObject=="function")return mr(t,r,n,e);e(new Error("No fetch and no xhr implementation found!"))};function le(a){return le=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},le(a)}function br(a,t){if(!(a instanceof t))throw new TypeError("Cannot call a class as a function")}function ot(a,t){for(var r=0;r1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};br(this,a),this.services=t,this.options=r,this.allOptions=n,this.type="backend",this.init(t,r,n)}return wr(a,[{key:"init",value:function(r){var n=this,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=r,this.options=Ee(e,this.options||{},xr()),this.allOptions=i,this.services&&this.options.reloadInterval&&setInterval(function(){return n.reload()},this.options.reloadInterval)}},{key:"readMulti",value:function(r,n,e){this._readAny(r,r,n,n,e)}},{key:"read",value:function(r,n,e){this._readAny([r],r,[n],n,e)}},{key:"_readAny",value:function(r,n,e,i,o){var s=this,u=this.options.loadPath;typeof this.options.loadPath=="function"&&(u=this.options.loadPath(r,e)),u=cr(u),u.then(function(d){if(!d)return o(null,{});var c=s.services.interpolator.interpolate(d,{lng:r.join("+"),ns:e.join("+")});s.loadUrl(c,o,n,i)})}},{key:"loadUrl",value:function(r,n,e,i){var o=this,s=typeof e=="string"?[e]:e,u=typeof i=="string"?[i]:i,d=this.options.parseLoadPayload(s,u);this.options.request(this.options,r,d,function(c,f){if(f&&(f.status>=500&&f.status<600||!f.status))return n("failed loading "+r+"; status code: "+f.status,!0);if(f&&f.status>=400&&f.status<500)return n("failed loading "+r+"; status code: "+f.status,!1);if(!f&&c&&c.message&&c.message.indexOf("Failed to fetch")>-1)return n("failed loading "+r+": "+c.message,!0);if(c)return n(c,!1);var g,h;try{typeof f.data=="string"?g=o.options.parse(f.data,e,i):g=f.data}catch{h="failed parsing "+r+" to json"}if(h)return n(h,!1);n(null,g)})}},{key:"create",value:function(r,n,e,i,o){var s=this;if(this.options.addPath){typeof r=="string"&&(r=[r]);var u=this.options.parsePayload(n,e,i),d=0,c=[],f=[];r.forEach(function(g){var h=s.options.addPath;typeof s.options.addPath=="function"&&(h=s.options.addPath(g,n));var v=s.services.interpolator.interpolate(h,{lng:g,ns:n});s.options.request(s.options,v,u,function(w,b){d+=1,c.push(w),f.push(b),d===r.length&&typeof o=="function"&&o(c,f)})})}}},{key:"reload",value:function(){var r=this,n=this.services,e=n.backendConnector,i=n.languageUtils,o=n.logger,s=e.language;if(!(s&&s.toLowerCase()==="cimode")){var u=[],d=function(f){var g=i.toResolveHierarchy(f);g.forEach(function(h){u.indexOf(h)<0&&u.push(h)})};d(s),this.allOptions.preload&&this.allOptions.preload.forEach(function(c){return d(c)}),u.forEach(function(c){r.allOptions.ns.forEach(function(f){e.read(c,f,"read",null,null,function(g,h){g&&o.warn("loading namespace ".concat(f," for language ").concat(c," failed"),g),!g&&h&&o.log("loaded namespace ".concat(f," for language ").concat(c),h),e.loaded("".concat(c,"|").concat(f),g,h)})})})}}}]),a}();yt.type="backend";var bt=[],Pr=bt.forEach,kr=bt.slice;function Lr(a){return Pr.call(kr.call(arguments,1),function(t){if(t)for(var r in t)a[r]===void 0&&(a[r]=t[r])}),a}var st=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,Rr=function(t,r,n){var e=n||{};e.path=e.path||"/";var i=encodeURIComponent(r),o="".concat(t,"=").concat(i);if(e.maxAge>0){var s=e.maxAge-0;if(Number.isNaN(s))throw new Error("maxAge should be a Number");o+="; Max-Age=".concat(Math.floor(s))}if(e.domain){if(!st.test(e.domain))throw new TypeError("option domain is invalid");o+="; Domain=".concat(e.domain)}if(e.path){if(!st.test(e.path))throw new TypeError("option path is invalid");o+="; Path=".concat(e.path)}if(e.expires){if(typeof e.expires.toUTCString!="function")throw new TypeError("option expires is invalid");o+="; Expires=".concat(e.expires.toUTCString())}if(e.httpOnly&&(o+="; HttpOnly"),e.secure&&(o+="; Secure"),e.sameSite){var u=typeof e.sameSite=="string"?e.sameSite.toLowerCase():e.sameSite;switch(u){case!0:o+="; SameSite=Strict";break;case"lax":o+="; SameSite=Lax";break;case"strict":o+="; SameSite=Strict";break;case"none":o+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return o},ut={create:function(t,r,n,e){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};n&&(i.expires=new Date,i.expires.setTime(i.expires.getTime()+n*60*1e3)),e&&(i.domain=e),document.cookie=Rr(t,encodeURIComponent(r),i)},read:function(t){for(var r="".concat(t,"="),n=document.cookie.split(";"),e=0;e-1&&(n=window.location.hash.substring(window.location.hash.indexOf("?")));for(var e=n.substring(1),i=e.split("&"),o=0;o0){var u=i[o].substring(0,s);u===t.lookupQuerystring&&(r=i[o].substring(s+1))}}}return r}},ae=null,ft=function(){if(ae!==null)return ae;try{ae=window!=="undefined"&&window.localStorage!==null;var t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch{ae=!1}return ae},Nr={name:"localStorage",lookup:function(t){var r;if(t.lookupLocalStorage&&ft()){var n=window.localStorage.getItem(t.lookupLocalStorage);n&&(r=n)}return r},cacheUserLanguage:function(t,r){r.lookupLocalStorage&&ft()&&window.localStorage.setItem(r.lookupLocalStorage,t)}},oe=null,lt=function(){if(oe!==null)return oe;try{oe=window!=="undefined"&&window.sessionStorage!==null;var t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch{oe=!1}return oe},_r={name:"sessionStorage",lookup:function(t){var r;if(t.lookupSessionStorage&<()){var n=window.sessionStorage.getItem(t.lookupSessionStorage);n&&(r=n)}return r},cacheUserLanguage:function(t,r){r.lookupSessionStorage&<()&&window.sessionStorage.setItem(r.lookupSessionStorage,t)}},Cr={name:"navigator",lookup:function(t){var r=[];if(typeof navigator<"u"){if(navigator.languages)for(var n=0;n0?r:void 0}},Ar={name:"htmlTag",lookup:function(t){var r,n=t.htmlTag||(typeof document<"u"?document.documentElement:null);return n&&typeof n.getAttribute=="function"&&(r=n.getAttribute("lang")),r}},Tr={name:"path",lookup:function(t){var r;if(typeof window<"u"){var n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(n instanceof Array)if(typeof t.lookupFromPathIndex=="number"){if(typeof n[t.lookupFromPathIndex]!="string")return;r=n[t.lookupFromPathIndex].replace("/","")}else r=n[0].replace("/","")}return r}},Dr={name:"subdomain",lookup:function(t){var r=typeof t.lookupFromSubdomainIndex=="number"?t.lookupFromSubdomainIndex+1:1,n=typeof window<"u"&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(n)return n[r]}};function Ir(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}}var wt=function(){function a(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};I(this,a),this.type="languageDetector",this.detectors={},this.init(t,r)}return F(a,[{key:"init",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=r,this.options=Lr(n,this.options||{},Ir()),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=e,this.addDetector(jr),this.addDetector(Er),this.addDetector(Nr),this.addDetector(_r),this.addDetector(Cr),this.addDetector(Ar),this.addDetector(Tr),this.addDetector(Dr)}},{key:"addDetector",value:function(r){this.detectors[r.name]=r}},{key:"detect",value:function(r){var n=this;r||(r=this.options.order);var e=[];return r.forEach(function(i){if(n.detectors[i]){var o=n.detectors[i].lookup(n.options);o&&typeof o=="string"&&(o=[o]),o&&(e=e.concat(o))}}),this.services.languageUtils.getBestMatchFromCodes?e:e.length>0?e[0]:null}},{key:"cacheUserLanguage",value:function(r,n){var e=this;n||(n=this.options.caches),n&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(r)>-1||n.forEach(function(i){e.detectors[i]&&e.detectors[i].cacheUserLanguage(r,e.options)}))}}]),a}();wt.type="languageDetector";const Fr=a=>{const t=Pt(a);return a.on("initialized",()=>{t.set(a)}),a.on("loaded",()=>{t.set(a)}),a.on("added",()=>{t.set(a)}),a.on("languageChanged",()=>{t.set(a)}),{i18n:xt(t,r=>r)}},Ur=!1,Br=function(){j.use(yt).use(wt).init({fallbackLng:"en",load:"languageOnly",ns:kt,defaultNS:"common",detection:{order:["querystring","localStorage","navigator"],caches:["localStorage"],lookupQuerystring:"lng",lookupLocalStorage:"locale"},backend:{loadPath:"/i18n/locales/{{lng}}/{{ns}}.json"}});const{i18n:a}=Fr(j);return{i18n:()=>St(a)}},Kr=Object.freeze(Object.defineProperty({__proto__:null,load:Br,ssr:Ur},Symbol.toStringTag,{value:"Module"}));export{Kr as _,Br as l,Ur as s}; diff --git a/ui/assets/cloud/_app/immutable/chunks/_layout.9e0bbe6f.js b/ui/assets/cloud/_app/immutable/chunks/_layout.9e0bbe6f.js deleted file mode 100644 index 073a875e4a..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/_layout.9e0bbe6f.js +++ /dev/null @@ -1 +0,0 @@ -import{r as a,a as o}from"./route-for-api.5906c1df.js";import{a as c}from"./search-attributes.c866741f.js";const u=async(t,e=fetch)=>{const s=a("search-attributes",{namespace:t});return o(s,{request:e}).then(r=>({customAttributes:r.customAttributes,systemAttributes:r.systemAttributes}))},i=async({params:t})=>{const e=await u(t.namespace);c.set(e)},b=Object.freeze(Object.defineProperty({__proto__:null,load:i},Symbol.toStringTag,{value:"Module"}));export{b as _,i as l}; diff --git a/ui/assets/cloud/_app/immutable/chunks/_page.2bedfed4.js b/ui/assets/cloud/_app/immutable/chunks/_page.2bedfed4.js deleted file mode 100644 index 78cdf84af8..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/_page.2bedfed4.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./index.b1f5b21f.js";const t=async function({url:e}){throw o(302,`${e.pathname}/history`)},a=Object.freeze(Object.defineProperty({__proto__:null,load:t},Symbol.toStringTag,{value:"Module"}));export{a as _,t as l}; diff --git a/ui/assets/cloud/_app/immutable/chunks/_page.b14944b6.js b/ui/assets/cloud/_app/immutable/chunks/_page.b14944b6.js deleted file mode 100644 index 34c57c541c..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/_page.b14944b6.js +++ /dev/null @@ -1 +0,0 @@ -const e=!1,s=Object.freeze(Object.defineProperty({__proto__:null,ssr:!1},Symbol.toStringTag,{value:"Module"}));export{s as _,e as s}; diff --git a/ui/assets/cloud/_app/immutable/chunks/_page.ed77219c.js b/ui/assets/cloud/_app/immutable/chunks/_page.ed77219c.js deleted file mode 100644 index 77289210be..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/_page.ed77219c.js +++ /dev/null @@ -1 +0,0 @@ -const e=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));export{e as _}; diff --git a/ui/assets/cloud/_app/immutable/chunks/accordion.2f807bee.js b/ui/assets/cloud/_app/immutable/chunks/accordion.2f807bee.js deleted file mode 100644 index 9f537ed85d..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/accordion.2f807bee.js +++ /dev/null @@ -1 +0,0 @@ -import{S as Ae,b as Be,a as He,G as x,O as ie,m as H,c as q,w as ne,p as C,q as N,d as P,x as oe,k as I,u as d,T as be,R as he,f as De,M as _,U as $,W as ve,j as g,z as ee,g as y,h as le,y as re,H as te,I as ae,J as se,V as qe,r as Ce,a5 as pe,P as Ne,C as fe,D as ue,E as ce,F as de,n as Pe,Q as ke}from"./index.d29c66be.js";import{I as Ve}from"./icon.5aa23970.js";import{B as Se}from"./badge.2c189bf4.js";import{v as Ue}from"./toaster.fda31b2d.js";const je=s=>({}),ye=s=>({}),ze=s=>({}),Ee=s=>({});function Te(s){let e,l;return e=new Ve({props:{name:s[4]}}),{c(){fe(e.$$.fragment)},l(t){ue(e.$$.fragment,t)},m(t,o){ce(e,t,o),l=!0},p(t,o){const m={};o&16&&(m.name=t[4]),e.$set(m)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){y(e.$$.fragment,t),l=!1},d(t){de(e,t)}}}function Ie(s){let e,l;return e=new Ve({props:{name:s[0]?"chevron-up":"chevron-down",class:"rounded-full from-blue-100 to-purple-100 hover:bg-gradient-to-br "+(s[5]?"text-gray-500":"text-primary")}}),{c(){fe(e.$$.fragment)},l(t){ue(e.$$.fragment,t)},m(t,o){ce(e,t,o),l=!0},p(t,o){const m={};o&1&&(m.name=t[0]?"chevron-up":"chevron-down"),o&32&&(m.class="rounded-full from-blue-100 to-purple-100 hover:bg-gradient-to-br "+(t[5]?"text-gray-500":"text-primary")),e.$set(m)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){y(e.$$.fragment,t),l=!1},d(t){de(e,t)}}}function Oe(s){let e,l;return e=new Se({props:{class:"mr-2",type:"error",$$slots:{default:[Fe]},$$scope:{ctx:s}}}),{c(){fe(e.$$.fragment)},l(t){ue(e.$$.fragment,t)},m(t,o){ce(e,t,o),l=!0},p(t,o){const m={};o&32896&&(m.$$scope={dirty:o,ctx:t}),e.$set(m)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){y(e.$$.fragment,t),l=!1},d(t){de(e,t)}}}function Fe(s){let e;return{c(){e=ne(s[7])},l(l){e=oe(l,s[7])},m(l,t){De(l,e,t)},p(l,t){t&128&&re(e,l[7])},d(l){l&&I(e)}}}function Ge(s){let e,l,t,o,m,V,S,U,E,j,T,b,O,A,D,B,z,J,h,i,M,Q,r,L,me,f=s[4]&&Te(s);const X=s[12].summary,v=x(X,s,s[15],Ee),Y=s[12].action,p=x(Y,s,s[15],ye);let u=!s[6]&&Ie(s),c=s[7]&&Oe(s);const Z=s[12].default,k=x(Z,s,s[15],null);let w=[{class:Q="flex w-full cursor-default flex-col rounded-xl border-2 border-gray-900 bg-white p-4 text-primary "+s[8]},s[10]],R={};for(let a=0;a{f=null}),le()),(!r||n&2)&&re(V,a[1]),v&&v.p&&(!r||n&32768)&&te(v,X,a,a[15],r?se(X,a[15],n,ze):ae(a[15]),Ee),p&&p.p&&(!r||n&32768)&&te(p,Y,a,a[15],r?se(Y,a[15],n,je):ae(a[15]),ye),a[6]?u&&(ee(),y(u,1,1,()=>{u=null}),le()):u?(u.p(a,n),n&64&&g(u,1)):(u=Ie(a),u.c(),g(u,1),u.m(t,null)),a[7]?c?(c.p(a,n),n&128&&g(c,1)):(c=Oe(a),c.c(),g(c,1),c.m(b,O)):c&&(ee(),y(c,1,1,()=>{c=null}),le()),(!r||n&8)&&re(A,a[3]),(!r||n&4&&D!==(D=a[2]+"-trigger"))&&d(l,"id",D),(!r||n&1)&&d(l,"aria-expanded",a[0]),(!r||n&4&&B!==(B=a[2]+"-content"))&&d(l,"aria-controls",B),(!r||n&96&&z!==(z=a[5]||a[6]))&&(l.disabled=z),k&&k.p&&(!r||n&32768)&&te(k,Z,a,a[15],r?se(Z,a[15],n,null):ae(a[15]),null),(!r||n&4&&i!==(i=a[2]+"-content"))&&d(h,"id",i),(!r||n&4&&M!==(M=a[2]+"-trigger"))&&d(h,"aria-labelledby",M),(!r||n&1)&&be(h,"hidden",!a[0]),he(e,R=qe(w,[(!r||n&256&&Q!==(Q="flex w-full cursor-default flex-col rounded-xl border-2 border-gray-900 bg-white p-4 text-primary "+a[8]))&&{class:Q},n&1024&&a[10]]))},i(a){r||(g(f),g(v,a),g(p,a),g(u),g(c),g(k,a),r=!0)},o(a){y(f),y(v,a),y(p,a),y(u),y(c),y(k,a),r=!1},d(a){a&&I(e),f&&f.d(),v&&v.d(a),p&&p.d(a),u&&u.d(),c&&c.d(),k&&k.d(a),L=!1,Ce(me)}}}function Je(s,e,l){const t=["title","id","subtitle","icon","open","disabled","readOnly","error","onToggle","class"];let o=pe(e,t),{$$slots:m={},$$scope:V}=e,{title:S}=e,{id:U=Ue()}=e,{subtitle:E=""}=e,{icon:j=null}=e,{open:T=!1}=e,{disabled:b=!1}=e,{readOnly:O=!1}=e,{error:A=""}=e,{onToggle:D=Pe}=e,{class:B=""}=e;const z=()=>{b||O||(l(0,T=!T),D())};function J(i){ke.call(this,s,i)}function h(i){ke.call(this,s,i)}return s.$$set=i=>{e=ie(ie({},e),Ne(i)),l(10,o=pe(e,t)),"title"in i&&l(1,S=i.title),"id"in i&&l(2,U=i.id),"subtitle"in i&&l(3,E=i.subtitle),"icon"in i&&l(4,j=i.icon),"open"in i&&l(0,T=i.open),"disabled"in i&&l(5,b=i.disabled),"readOnly"in i&&l(6,O=i.readOnly),"error"in i&&l(7,A=i.error),"onToggle"in i&&l(11,D=i.onToggle),"class"in i&&l(8,B=i.class),"$$scope"in i&&l(15,V=i.$$scope)},s.$$.update=()=>{s.$$.dirty&33&&l(0,T=b?!0:T)},[T,S,U,E,j,b,O,A,B,z,o,D,m,J,h,V]}class Ke extends Ae{constructor(e){super(),Be(this,e,Je,Ge,He,{title:1,id:2,subtitle:3,icon:4,open:0,disabled:5,readOnly:6,error:7,onToggle:11,class:8})}}export{Ke as A}; diff --git a/ui/assets/cloud/_app/immutable/chunks/alert.bf61782e.js b/ui/assets/cloud/_app/immutable/chunks/alert.bf61782e.js deleted file mode 100644 index b8a28ce1ad..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/alert.bf61782e.js +++ /dev/null @@ -1 +0,0 @@ -import{S as N,b as O,a as R,O as q,m as k,c as P,w as T,p as E,q as D,d as S,x as B,k as d,u as A,T as g,R as j,f as C,M as I,j as _,z,g as b,h as F,y as K,V as L,a5 as G,ag as Q,P as U,C as W,D as X,E as Y,F as Z,G as p,H as y,I as w,J as x}from"./index.d29c66be.js";import{I as $}from"./icon.5aa23970.js";function J(f){let e,a,o;return a=new $({props:{name:f[2]}}),{c(){e=k("div"),W(a.$$.fragment)},l(l){e=E(l,"DIV",{});var s=D(e);X(a.$$.fragment,s),s.forEach(d)},m(l,s){C(l,e,s),Y(a,e,null),o=!0},p(l,s){const c={};s&4&&(c.name=l[2]),a.$set(c)},i(l){o||(_(a.$$.fragment,l),o=!0)},o(l){b(a.$$.fragment,l),o=!1},d(l){l&&d(e),Z(a)}}}function M(f){let e,a;const o=f[8].default,l=p(o,f,f[7],null);return{c(){e=k("div"),l&&l.c(),this.h()},l(s){e=E(s,"DIV",{class:!0});var c=D(e);l&&l.l(c),c.forEach(d),this.h()},h(){A(e,"class","content svelte-1u0e3fc")},m(s,c){C(s,e,c),l&&l.m(e,null),a=!0},p(s,c){l&&l.p&&(!a||c&128)&&y(l,o,s,s[7],a?x(o,s[7],c,null):w(s[7]),null)},i(s){a||(_(l,s),a=!0)},o(s){b(l,s),a=!1},d(s){s&&d(e),l&&l.d(s)}}}function ee(f){let e,a,o,l,s,c,h,u,i=f[2]&&J(f),n=f[6].default&&M(f),v=[{class:h="alert "+f[0]+" "+f[4]},{role:"alert"},f[5]],m={};for(let t=0;t{i=null}),F()),(!u||r&2)&&K(s,t[1]),(!u||r&2)&&g(l,"hidden",!t[1]),t[6].default?n?(n.p(t,r),r&64&&_(n,1)):(n=M(t),n.c(),_(n,1),n.m(o,null)):n&&(z(),b(n,1,1,()=>{n=null}),F()),j(e,m=L(v,[(!u||r&17&&h!==(h="alert "+t[0]+" "+t[4]))&&{class:h},{role:"alert"},r&32&&t[5]])),g(e,"bold",t[3]),g(e,"svelte-1u0e3fc",!0)},i(t){u||(_(i),_(n),u=!0)},o(t){b(i),b(n),u=!1},d(t){t&&d(e),i&&i.d(),n&&n.d()}}}function te(f,e,a){const o=["intent","title","icon","bold","class"];let l=G(e,o),{$$slots:s={},$$scope:c}=e;const h=Q(s);let{intent:u}=e,{title:i=""}=e,{icon:n=null}=e,{bold:v=!1}=e,{class:m=""}=e;return f.$$set=t=>{e=q(q({},e),U(t)),a(5,l=G(e,o)),"intent"in t&&a(0,u=t.intent),"title"in t&&a(1,i=t.title),"icon"in t&&a(2,n=t.icon),"bold"in t&&a(3,v=t.bold),"class"in t&&a(4,m=t.class),"$$scope"in t&&a(7,c=t.$$scope)},[u,i,n,v,m,l,h,c,s]}class ae extends N{constructor(e){super(),O(this,e,te,ee,R,{intent:0,title:1,icon:2,bold:3,class:4})}}export{ae as A}; diff --git a/ui/assets/cloud/_app/immutable/chunks/auth-user.ead5c000.js b/ui/assets/cloud/_app/immutable/chunks/auth-user.ead5c000.js deleted file mode 100644 index 2a180b89be..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/auth-user.ead5c000.js +++ /dev/null @@ -1 +0,0 @@ -import{K as n}from"./index.d29c66be.js";import{p as i}from"./persist-store.bb6871e4.js";const s=i("AuthUser",{}),m=()=>n(s),p=t=>{const{accessToken:e,idToken:r,name:o,email:a,picture:c}=t;if(!e)throw new Error("No access token");s.set({accessToken:e,idToken:r,name:o,email:a,picture:c})},U=()=>{s.set({})};export{s as a,U as c,m as g,p as s}; diff --git a/ui/assets/cloud/_app/immutable/chunks/badge.2c189bf4.js b/ui/assets/cloud/_app/immutable/chunks/badge.2c189bf4.js deleted file mode 100644 index 80778ee2ec..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/badge.2c189bf4.js +++ /dev/null @@ -1 +0,0 @@ -import{S as _,b as d,a as m,G as h,m as v,p as g,q as y,k as o,u as f,f as b,H as j,I as k,J as p,j as q,g as x,O as u,P as c}from"./index.d29c66be.js";function B(a){let t,n,l;const r=a[3].default,s=h(r,a,a[2],null);return{c(){t=v("div"),s&&s.c(),this.h()},l(e){t=g(e,"DIV",{class:!0});var i=y(t);s&&s.l(i),i.forEach(o),this.h()},h(){f(t,"class",n=a[0]+" flex w-fit flex-row items-center justify-center break-all rounded-sm p-1 text-sm font-medium transition-colors "+a[1].class+" svelte-1sxi5rd")},m(e,i){b(e,t,i),s&&s.m(t,null),l=!0},p(e,[i]){s&&s.p&&(!l||i&4)&&j(s,r,e,e[2],l?p(r,e[2],i,null):k(e[2]),null),(!l||i&3&&n!==(n=e[0]+" flex w-fit flex-row items-center justify-center break-all rounded-sm p-1 text-sm font-medium transition-colors "+e[1].class+" svelte-1sxi5rd"))&&f(t,"class",n)},i(e){l||(q(s,e),l=!0)},o(e){x(s,e),l=!1},d(e){e&&o(t),s&&s.d(e)}}}function I(a,t,n){let{$$slots:l={},$$scope:r}=t,{type:s="default"}=t;return a.$$set=e=>{n(1,t=u(u({},t),c(e))),"type"in e&&n(0,s=e.type),"$$scope"in e&&n(2,r=e.$$scope)},t=c(t),[s,t,r,l]}class C extends _{constructor(t){super(),d(this,t,I,B,m,{type:0})}}export{C as B}; diff --git a/ui/assets/cloud/_app/immutable/chunks/button.e7112b29.js b/ui/assets/cloud/_app/immutable/chunks/button.e7112b29.js deleted file mode 100644 index e9ad1acf79..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/button.e7112b29.js +++ /dev/null @@ -1 +0,0 @@ -import{S as ie,b as fe,a as se,e as W,f as v,z as C,g as k,h as L,j as b,k as I,O as K,P as V,Q as X,G as w,m as R,c as N,p as B,q as E,d as S,u as _,T as g,M as A,U as p,W as x,H as $,I as ee,J as le,C as P,D as T,E as q,F as O,w as ue,x as oe,y as re}from"./index.d29c66be.js";import{I as te}from"./icon.5aa23970.js";import{B as ce}from"./badge.2c189bf4.js";function me(n){let e,l,f,t,i,h,c=(n[9]||n[3])&&Y(n);const u=n[19].default,d=w(u,n,n[22],null);return{c(){e=R("a"),c&&c.c(),l=N(),d&&d.c(),this.h()},l(a){e=B(a,"A",{href:!0,class:!0,"data-testid":!0,target:!0,id:!0});var o=E(e);c&&c.l(o),l=S(o),d&&d.l(o),o.forEach(I),this.h()},h(){_(e,"href",n[4]),_(e,"class",f="button "+n[1]+" "+n[11]+" svelte-bvxuak"),_(e,"data-testid",n[12]),_(e,"target",n[5]),_(e,"id",n[18]),g(e,"selected",n[6]),g(e,"large",n[7]),g(e,"disabled",n[0]),g(e,"thin",n[2])},m(a,o){v(a,e,o),c&&c.m(e,null),A(e,l),d&&d.m(e,null),t=!0,i||(h=p(e,"click",x(n[21])),i=!0)},p(a,o){a[9]||a[3]?c?(c.p(a,o),o&520&&b(c,1)):(c=Y(a),c.c(),b(c,1),c.m(e,l)):c&&(C(),k(c,1,1,()=>{c=null}),L()),d&&d.p&&(!t||o&4194304)&&$(d,u,a,a[22],t?le(u,a[22],o,null):ee(a[22]),null),(!t||o&16)&&_(e,"href",a[4]),(!t||o&2050&&f!==(f="button "+a[1]+" "+a[11]+" svelte-bvxuak"))&&_(e,"class",f),(!t||o&4096)&&_(e,"data-testid",a[12]),(!t||o&32)&&_(e,"target",a[5]),(!t||o&262144)&&_(e,"id",a[18]),(!t||o&2114)&&g(e,"selected",a[6]),(!t||o&2178)&&g(e,"large",a[7]),(!t||o&2051)&&g(e,"disabled",a[0]),(!t||o&2054)&&g(e,"thin",a[2])},i(a){t||(b(c),b(d,a),t=!0)},o(a){k(c),k(d,a),t=!1},d(a){a&&I(e),c&&c.d(),d&&d.d(a),i=!1,h()}}}function de(n){let e,l,f,t,i,h,c,u=(n[9]||n[3])&&Z(n);const d=n[19].default,a=w(d,n,n[22],null);let o=n[13]>0&&y(n);return{c(){e=R("button"),u&&u.c(),l=N(),a&&a.c(),f=N(),o&&o.c(),this.h()},l(r){e=B(r,"BUTTON",{class:!0,"data-testid":!0,type:!0,id:!0});var m=E(e);u&&u.l(m),l=S(m),a&&a.l(m),f=S(m),o&&o.l(m),m.forEach(I),this.h()},h(){_(e,"class",t="button "+n[1]+" "+n[11]+" svelte-bvxuak"),_(e,"data-testid",n[12]),_(e,"type",n[14]),e.disabled=n[0],_(e,"id",n[18]),g(e,"selected",n[6]),g(e,"large",n[7]),g(e,"thin",n[2]),g(e,"unround",n[15]),g(e,"unroundRight",n[16]),g(e,"unroundLeft",n[17])},m(r,m){v(r,e,m),u&&u.m(e,null),A(e,l),a&&a.m(e,null),A(e,f),o&&o.m(e,null),i=!0,h||(c=p(e,"click",x(n[20])),h=!0)},p(r,m){r[9]||r[3]?u?(u.p(r,m),m&520&&b(u,1)):(u=Z(r),u.c(),b(u,1),u.m(e,l)):u&&(C(),k(u,1,1,()=>{u=null}),L()),a&&a.p&&(!i||m&4194304)&&$(a,d,r,r[22],i?le(d,r[22],m,null):ee(r[22]),null),r[13]>0?o?(o.p(r,m),m&8192&&b(o,1)):(o=y(r),o.c(),b(o,1),o.m(e,null)):o&&(C(),k(o,1,1,()=>{o=null}),L()),(!i||m&2050&&t!==(t="button "+r[1]+" "+r[11]+" svelte-bvxuak"))&&_(e,"class",t),(!i||m&4096)&&_(e,"data-testid",r[12]),(!i||m&16384)&&_(e,"type",r[14]),(!i||m&1)&&(e.disabled=r[0]),(!i||m&262144)&&_(e,"id",r[18]),(!i||m&2114)&&g(e,"selected",r[6]),(!i||m&2178)&&g(e,"large",r[7]),(!i||m&2054)&&g(e,"thin",r[2]),(!i||m&34818)&&g(e,"unround",r[15]),(!i||m&67586)&&g(e,"unroundRight",r[16]),(!i||m&133122)&&g(e,"unroundLeft",r[17])},i(r){i||(b(u),b(a,r),b(o),i=!0)},o(r){k(u),k(a,r),k(o),i=!1},d(r){r&&I(e),u&&u.d(),a&&a.d(r),o&&o.d(),h=!1,c()}}}function Y(n){let e,l,f;return l=new te({props:{name:n[3]?"spinner":n[9]}}),{c(){e=R("span"),P(l.$$.fragment),this.h()},l(t){e=B(t,"SPAN",{});var i=E(e);T(l.$$.fragment,i),i.forEach(I),this.h()},h(){g(e,"animate-spin",n[3])},m(t,i){v(t,e,i),q(l,e,null),f=!0},p(t,i){const h={};i&520&&(h.name=t[3]?"spinner":t[9]),l.$set(h),(!f||i&8)&&g(e,"animate-spin",t[3])},i(t){f||(b(l.$$.fragment,t),f=!0)},o(t){k(l.$$.fragment,t),f=!1},d(t){t&&I(e),O(l)}}}function Z(n){let e,l,f;return l=new te({props:{name:n[3]?"spinner":n[9],class:n[10]}}),{c(){e=R("span"),P(l.$$.fragment),this.h()},l(t){e=B(t,"SPAN",{});var i=E(e);T(l.$$.fragment,i),i.forEach(I),this.h()},h(){g(e,"animate-spin",n[3])},m(t,i){v(t,e,i),q(l,e,null),f=!0},p(t,i){const h={};i&520&&(h.name=t[3]?"spinner":t[9]),i&1024&&(h.class=t[10]),l.$set(h),(!f||i&8)&&g(e,"animate-spin",t[3])},i(t){f||(b(l.$$.fragment,t),f=!0)},o(t){k(l.$$.fragment,t),f=!1},d(t){t&&I(e),O(l)}}}function y(n){let e,l;return e=new ce({props:{class:"badge absolute top-0 right-0 origin-bottom-left translate-y-[-10px] translate-x-[10px]",type:"count",$$slots:{default:[he]},$$scope:{ctx:n}}}),{c(){P(e.$$.fragment)},l(f){T(e.$$.fragment,f)},m(f,t){q(e,f,t),l=!0},p(f,t){const i={};t&4202496&&(i.$$scope={dirty:t,ctx:f}),e.$set(i)},i(f){l||(b(e.$$.fragment,f),l=!0)},o(f){k(e.$$.fragment,f),l=!1},d(f){O(e,f)}}}function he(n){let e;return{c(){e=ue(n[13])},l(l){e=oe(l,n[13])},m(l,f){v(l,e,f)},p(l,f){f&8192&&re(e,l[13])},d(l){l&&I(e)}}}function ge(n){let e,l,f,t;const i=[de,me],h=[];function c(u,d){return u[8]==="button"?0:1}return e=c(n),l=h[e]=i[e](n),{c(){l.c(),f=W()},l(u){l.l(u),f=W()},m(u,d){h[e].m(u,d),v(u,f,d),t=!0},p(u,[d]){let a=e;e=c(u),e===a?h[e].p(u,d):(C(),k(h[a],1,1,()=>{h[a]=null}),L(),l=h[e],l?l.p(u,d):(l=h[e]=i[e](u),l.c()),b(l,1),l.m(f.parentNode,f))},i(u){t||(b(l),t=!0)},o(u){k(l),t=!1},d(u){h[e].d(u),u&&I(f)}}}function _e(n,e,l){let{$$slots:f={},$$scope:t}=e,{disabled:i=!1}=e,{variant:h="primary"}=e,{thin:c=!1}=e,{loading:u=!1}=e,{href:d=null}=e,{target:a="_self"}=e,{active:o=!1}=e,{large:r=!1}=e,{as:m=d?"anchor":"button"}=e,{icon:U=null}=e,{iconClass:j=null}=e,{classes:z=e.class}=e,{testId:D=e.testId}=e,{count:F=0}=e,{type:G="button"}=e,{unround:H=!1}=e,{unroundRight:J=!1}=e,{unroundLeft:M=!1}=e,{id:Q=null}=e;function ne(s){X.call(this,n,s)}function ae(s){X.call(this,n,s)}return n.$$set=s=>{l(23,e=K(K({},e),V(s))),"disabled"in s&&l(0,i=s.disabled),"variant"in s&&l(1,h=s.variant),"thin"in s&&l(2,c=s.thin),"loading"in s&&l(3,u=s.loading),"href"in s&&l(4,d=s.href),"target"in s&&l(5,a=s.target),"active"in s&&l(6,o=s.active),"large"in s&&l(7,r=s.large),"as"in s&&l(8,m=s.as),"icon"in s&&l(9,U=s.icon),"iconClass"in s&&l(10,j=s.iconClass),"classes"in s&&l(11,z=s.classes),"testId"in s&&l(12,D=s.testId),"count"in s&&l(13,F=s.count),"type"in s&&l(14,G=s.type),"unround"in s&&l(15,H=s.unround),"unroundRight"in s&&l(16,J=s.unroundRight),"unroundLeft"in s&&l(17,M=s.unroundLeft),"id"in s&&l(18,Q=s.id),"$$scope"in s&&l(22,t=s.$$scope)},e=V(e),[i,h,c,u,d,a,o,r,m,U,j,z,D,F,G,H,J,M,Q,f,ne,ae,t]}class ve extends ie{constructor(e){super(),fe(this,e,_e,ge,se,{disabled:0,variant:1,thin:2,loading:3,href:4,target:5,active:6,large:7,as:8,icon:9,iconClass:10,classes:11,testId:12,count:13,type:14,unround:15,unroundRight:16,unroundLeft:17,id:18})}}export{ve as B}; diff --git a/ui/assets/cloud/_app/immutable/chunks/calendar.81d1e381.js b/ui/assets/cloud/_app/immutable/chunks/calendar.81d1e381.js deleted file mode 100644 index 002b874702..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/calendar.81d1e381.js +++ /dev/null @@ -1 +0,0 @@ -const r=[{label:"Every month",value:"*"},{label:"January",value:"1"},{label:"February",value:"2"},{label:"March",value:"3"},{label:"April",value:"4"},{label:"May",value:"5"},{label:"June",value:"6"},{label:"July",value:"7"},{label:"August",value:"8"},{label:"September",value:"9"},{label:"October",value:"10"},{label:"November",value:"11"},{label:"December",value:"12"}],g=[{label:"Everyday",value:"*"},{label:"Weekdays",value:"1,2,3,4,5"},{label:"Weekends",value:"6,7"}],h=[{label:"Sunday",value:"7"},{label:"Monday",value:"1"},{label:"Tuesday",value:"2"},{label:"Wednesday",value:"3"},{label:"Thursday",value:"4"},{label:"Friday",value:"5"},{label:"Saturday",value:"6"}],v=[31,28,31,30,31,30,31,31,30,31,30,31],y=e=>e%4===0,c=()=>Array.from({length:42}).map(()=>0),d=(e,a)=>e!==1?v[e]:y(a)?29:28,m=(e,a)=>{const l=new Date(a,e,1).getMonth();return{name:r[l],days:d(l,a)}},w=e=>r.filter(a=>a.value!=="*")[e],D=(e,a)=>{const{days:n}=m(e,a),l=c(),u=new Date(a,e,1).getDay();Array.from({length:n}).forEach((s,o)=>{const b=u+o;l[b]=o+1});const t=l.map(s=>Array.isArray(s)?void 0:s);return t[35]?t:t.slice(0,-7)};export{D as a,w as b,g,r as m,h as w}; diff --git a/ui/assets/cloud/_app/immutable/chunks/cluster.90d7eb2f.js b/ui/assets/cloud/_app/immutable/chunks/cluster.90d7eb2f.js deleted file mode 100644 index b8732c1ac0..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/cluster.90d7eb2f.js +++ /dev/null @@ -1 +0,0 @@ -import{w as r}from"./index.255b7490.js";const o=r({});export{o as c}; diff --git a/ui/assets/cloud/_app/immutable/chunks/code-block.fc92cd67.js b/ui/assets/cloud/_app/immutable/chunks/code-block.fc92cd67.js deleted file mode 100644 index d1d826528d..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/code-block.fc92cd67.js +++ /dev/null @@ -1 +0,0 @@ -import{S as W,b as j,a as A,e as L,f as O,j as v,z as D,g as C,h as q,k as _,L as F,O as N,P,m as k,c as M,p,q as E,d as R,u as m,T as S,M as z,C as G,D as H,E as K,U as Q,F as X,A as Y}from"./index.d29c66be.js";import{I as Z}from"./icon.5aa23970.js";import{c as x}from"./copy-to-clipboard.a65bc890.js";import{p as $,s as ee}from"./parse-with-big-int.02af2f95.js";function T(n){let e,l,t,a,r,o,u,h,g,d,i=n[2]&&w(n);return{c(){e=k("div"),l=k("div"),t=k("pre"),a=k("code"),u=M(),i&&i.c(),this.h()},l(c){e=p(c,"DIV",{class:!0,"data-testid":!0});var f=E(e);l=p(f,"DIV",{class:!0});var b=E(l);t=p(b,"PRE",{class:!0});var I=E(t);a=p(I,"CODE",{class:!0,"data-testid":!0}),E(a).forEach(_),I.forEach(_),u=R(b),i&&i.l(b),b.forEach(_),f.forEach(_),this.h()},h(){m(a,"class",r="language-"+n[1]+" svelte-1xzf3cb"),m(a,"data-testid",o=n[8]["data-testid"]),m(t,"class","w-full overflow-x-scroll rounded-lg p-4"),S(t,"h-full",!n[0]),m(l,"class","relative h-full"),m(e,"class",h="w-full rounded-lg "+(n[0]?"h-auto overflow-auto":"h-full")+" "+n[8].class+" svelte-1xzf3cb"),m(e,"data-testid",g=n[8].testId)},m(c,f){O(c,e,f),z(e,l),z(l,t),z(t,a),n[12](a),z(l,u),i&&i.m(l,null),d=!0},p(c,f){(!d||f&2&&r!==(r="language-"+c[1]+" svelte-1xzf3cb"))&&m(a,"class",r),(!d||f&256&&o!==(o=c[8]["data-testid"]))&&m(a,"data-testid",o),(!d||f&1)&&S(t,"h-full",!c[0]),c[2]?i?(i.p(c,f),f&4&&v(i,1)):(i=w(c),i.c(),v(i,1),i.m(l,null)):i&&(D(),C(i,1,1,()=>{i=null}),q()),(!d||f&257&&h!==(h="w-full rounded-lg "+(c[0]?"h-auto overflow-auto":"h-full")+" "+c[8].class+" svelte-1xzf3cb"))&&m(e,"class",h),(!d||f&256&&g!==(g=c[8].testId))&&m(e,"data-testid",g)},i(c){d||(v(i),d=!0)},o(c){C(i),d=!1},d(c){c&&_(e),n[12](null),i&&i.d()}}}function w(n){let e,l,t,a,r;return l=new Z({props:{name:n[5]?"checkmark":"copy",class:"text-white hover:text-gray-900"}}),{c(){e=k("button"),G(l.$$.fragment),this.h()},l(o){e=p(o,"BUTTON",{class:!0});var u=E(e);H(l.$$.fragment,u),u.forEach(_),this.h()},h(){m(e,"class","absolute top-2.5 right-2.5 rounded-md bg-gray-900 opacity-90 hover:bg-white")},m(o,u){O(o,e,u),K(l,e,null),t=!0,a||(r=Q(e,"click",n[13]),a=!0)},p(o,u){const h={};u&32&&(h.name=o[5]?"checkmark":"copy"),l.$set(h)},i(o){t||(v(l.$$.fragment,o),t=!0)},o(o){C(l.$$.fragment,o),t=!1},d(o){o&&_(e),X(l),a=!1,r()}}}function te(n){let e,l,t=(n[4]||n[4]===null)&&T(n);return{c(){t&&t.c(),e=L()},l(a){t&&t.l(a),e=L()},m(a,r){t&&t.m(a,r),O(a,e,r),l=!0},p(a,[r]){a[4]||a[4]===null?t?(t.p(a,r),r&16&&v(t,1)):(t=T(a),t.c(),v(t,1),t.m(e.parentNode,e)):t&&(D(),C(t,1,1,()=>{t=null}),q())},i(a){l||(v(t),l=!0)},o(a){C(t),l=!1},d(a){t&&t.d(a),a&&_(e)}}}function le(n,e,l){let t,a,r,{content:o}=e,{inline:u=!1}=e,{language:h="json"}=e,{copyable:g=!0}=e,{async:d=!0}=e,i;const c=s=>{if(!s)return;let y;try{y=$(s)}catch{y=s}return ee(y,void 0,u?0:2)},{copy:f,copied:b}=x();F(n,b,s=>l(5,r=s));function I(s,y,B){s.textContent=B,s.classList.forEach(V=>s.classList.remove(V)),y&&s.classList.add(`language-${y}`),window.Prism.highlightElement(s,d)}function J(s){Y[s?"unshift":"push"](()=>{i=s,l(3,i)})}const U=s=>f(s,a);return n.$$set=s=>{l(8,e=N(N({},e),P(s))),"content"in s&&l(9,o=s.content),"inline"in s&&l(0,u=s.inline),"language"in s&&l(1,h=s.language),"copyable"in s&&l(2,g=s.copyable),"async"in s&&l(10,d=s.async)},n.$$.update=()=>{n.$$.dirty&2&&l(11,t=h==="json"),n.$$.dirty&2560&&l(4,a=t?c(o):o),n.$$.dirty&26&&i&&window.Prism&&I(i,h,a)},e=P(e),[u,h,g,i,a,r,f,b,e,o,d,t,J,U]}class oe extends W{constructor(e){super(),j(this,e,le,te,A,{content:9,inline:0,language:1,copyable:2,async:10})}}export{oe as C}; diff --git a/ui/assets/cloud/_app/immutable/chunks/control.e7f5239e.js b/ui/assets/cloud/_app/immutable/chunks/control.e7f5239e.js deleted file mode 100644 index c53af32513..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/control.e7f5239e.js +++ /dev/null @@ -1 +0,0 @@ -let e=class{constructor(s,t){this.status=s,typeof t=="string"?this.body={message:t}:t?this.body=t:this.body={message:`Error: ${s}`}}toString(){return JSON.stringify(this.body)}},o=class{constructor(s,t){this.status=s,this.location=t}};export{e as H,o as R}; diff --git a/ui/assets/cloud/_app/immutable/chunks/copy-to-clipboard.a65bc890.js b/ui/assets/cloud/_app/immutable/chunks/copy-to-clipboard.a65bc890.js deleted file mode 100644 index 4150213f44..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/copy-to-clipboard.a65bc890.js +++ /dev/null @@ -1 +0,0 @@ -import{w as c}from"./index.255b7490.js";const i=(r=2e3)=>{const o=c(!1);return{copy:async(t,e)=>{t.preventDefault(),t.stopPropagation();try{await navigator.clipboard.writeText(e),o.set(!0),setTimeout(()=>{o.set(!1)},r)}catch(a){console.error(a)}},copied:o}};export{i as c}; diff --git a/ui/assets/cloud/_app/immutable/chunks/core-user.faf7a38e.js b/ui/assets/cloud/_app/immutable/chunks/core-user.faf7a38e.js deleted file mode 100644 index 8e6a9d8d9d..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/core-user.faf7a38e.js +++ /dev/null @@ -1 +0,0 @@ -import{ak as r,ae as t}from"./index.d29c66be.js";import{r as o}from"./index.255b7490.js";const e="CoreUser",s=o({namespaceWriteDisabled:()=>!1}),c=()=>r(e)?t(e):s;export{c}; diff --git a/ui/assets/cloud/_app/immutable/chunks/data-converter-config.816c1717.js b/ui/assets/cloud/_app/immutable/chunks/data-converter-config.816c1717.js deleted file mode 100644 index 3f3e03d036..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/data-converter-config.816c1717.js +++ /dev/null @@ -1 +0,0 @@ -import{w as e}from"./index.255b7490.js";import{p as r}from"./persist-store.bb6871e4.js";const n=r("port",null,!0),s=e("notRequested");function c(t){s.set("error"),t&&console.error(t)}function u(){s.set("success")}export{u as a,n as d,s as l,c as s}; diff --git a/ui/assets/cloud/_app/immutable/chunks/decode-payload.fd21ad3e.js b/ui/assets/cloud/_app/immutable/chunks/decode-payload.fd21ad3e.js deleted file mode 100644 index 7a6773291e..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/decode-payload.fd21ad3e.js +++ /dev/null @@ -1,2 +0,0 @@ -import{K as Yt}from"./index.d29c66be.js";import{s as Ee,d as Qt,a as Zt}from"./data-converter-config.816c1717.js";import{s as V,p as Le}from"./parse-with-big-int.02af2f95.js";import{v as er,s as Me,b as tr}from"./is-http.91300684.js";import{a as We}from"./atob.79a337b0.js";import{i as It,h as R}from"./has.8da86d13.js";var Ie={},rr={get exports(){return Ie},set exports(r){Ie=r}};/* chnl v1.2.0 by Vitaliy Potapov @preserve */function Ot(r){return(Ot=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(r)}function x(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function Ne(r,e){for(var t=0;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function ir(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function sr(r,e){return!e||typeof e!="object"&&typeof e!="function"?ir(r):e}function ar(r){var e=or();return function(){var t,n=Oe(r);if(e){var o=Oe(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return sr(this,t)}}function Be(r){return cr(r)||ur(r)||lr(r)||pr()}function cr(r){if(Array.isArray(r))return ke(r)}function ur(r){if(typeof Symbol<"u"&&Symbol.iterator in Object(r))return Array.from(r)}function lr(r,e){if(r){if(typeof r=="string")return ke(r,e);var t=Object.prototype.toString.call(r).slice(8,-1);return t==="Object"&&r.constructor&&(t=r.constructor.name),t==="Map"||t==="Set"?Array.from(r):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?ke(r,e):void 0}}function ke(r,e){(e==null||e>r.length)&&(e=r.length);for(var t=0,n=new Array(e);t{this._isPending=!0,this._resolve=e,this._reject=t})}_handleTimeout(){const e=Ue(this._options.timeoutReason),t=typeof e=="string"?e.replace("{timeout}",this._options.timeout):"",n=new q.TimeoutError(t);this.reject(n)}_createTimer(){this._options.timeout&&(this._timer=setTimeout(()=>this._handleTimeout(),this._options.timeout))}_clearTimer(){this._timer&&(clearTimeout(this._timer),this._timer=null)}_settle(e){this._isPending=!1,this._value=e,this._clearTimer()}_callFn(e){if(typeof e=="function")try{const t=e();this._tryAttachToPromise(t)}catch(t){this.reject(t)}}_tryAttachToPromise(e){Ge(e)&&e.then(t=>this.resolve(t),t=>this.reject(t))}};q.TimeoutError=jt("TimeoutError");q.ResetError=jt("ResetError");var Tt=q,Z={};Object.defineProperty(Z,"__esModule",{value:!0});Z.PromisedMap=void 0;var mr=function(){function r(){this.map=new Map}return Object.defineProperty(r.prototype,"size",{get:function(){return this.map.size},enumerable:!1,configurable:!0}),r.prototype.set=function(e,t){var n=this.createMapItem(t);return this.map.set(e,n),n.promise},r.prototype.get=function(e){var t=this.map.get(e);return t&&t.data},r.prototype.has=function(e){return this.map.has(e)},r.prototype.delete=function(e){return this.map.delete(e)},r.prototype.resolve=function(e,t){var n=this.map.get(e);n&&(this.delete(e),n.resolve(t))},r.prototype.reject=function(e,t){var n=this.map.get(e);n&&(this.delete(e),n.reject(t))},r.prototype.resolveAll=function(e){this.map.forEach(function(t){return t.resolve(e)}),this.map.clear()},r.prototype.rejectAll=function(e){this.map.forEach(function(t){return t.reject(e)}),this.map.clear()},r.prototype.forEach=function(e){this.map.forEach(function(t,n,o){return e(t.data,n,o)})},r.prototype.clear=function(){return this.map.clear()},r.prototype.createMapItem=function(e){var t={data:e};return t.promise=new Promise(function(n,o){t.resolve=n,t.reject=o}),t},r}();Z.PromisedMap=mr;var H={},_r={get exports(){return H},set exports(r){H=r}},gr="Function.prototype.bind called on incompatible ",re=Array.prototype.slice,br=Object.prototype.toString,Pr="[object Function]",wr=function(e){var t=this;if(typeof t!="function"||br.call(t)!==Pr)throw new TypeError(gr+t);for(var n=re.call(arguments,1),o,s=function(){if(this instanceof o){var f=t.apply(this,n.concat(re.call(arguments)));return Object(f)===f?f:this}else return t.apply(e,n.concat(re.call(arguments)))},a=Math.max(0,t.length-n.length),i=[],c=0;c"u"?y:S(Uint8Array),L={"%AggregateError%":typeof AggregateError>"u"?y:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?y:ArrayBuffer,"%ArrayIteratorPrototype%":C?S([][Symbol.iterator]()):y,"%AsyncFromSyncIteratorPrototype%":y,"%AsyncFunction%":j,"%AsyncGenerator%":j,"%AsyncGeneratorFunction%":j,"%AsyncIteratorPrototype%":j,"%Atomics%":typeof Atomics>"u"?y:Atomics,"%BigInt%":typeof BigInt>"u"?y:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?y:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?y:Float32Array,"%Float64Array%":typeof Float64Array>"u"?y:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?y:FinalizationRegistry,"%Function%":Lt,"%GeneratorFunction%":j,"%Int8Array%":typeof Int8Array>"u"?y:Int8Array,"%Int16Array%":typeof Int16Array>"u"?y:Int16Array,"%Int32Array%":typeof Int32Array>"u"?y:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":C?S(S([][Symbol.iterator]())):y,"%JSON%":typeof JSON=="object"?JSON:y,"%Map%":typeof Map>"u"?y:Map,"%MapIteratorPrototype%":typeof Map>"u"||!C?y:S(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?y:Promise,"%Proxy%":typeof Proxy>"u"?y:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?y:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?y:Set,"%SetIteratorPrototype%":typeof Set>"u"||!C?y:S(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?y:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":C?S(""[Symbol.iterator]()):y,"%Symbol%":C?Symbol:y,"%SyntaxError%":$,"%ThrowTypeError%":Or,"%TypedArray%":kr,"%TypeError%":T,"%Uint8Array%":typeof Uint8Array>"u"?y:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?y:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?y:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?y:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?y:WeakMap,"%WeakRef%":typeof WeakRef>"u"?y:WeakRef,"%WeakSet%":typeof WeakSet>"u"?y:WeakSet},Cr=function r(e){var t;if(e==="%AsyncFunction%")t=ne("async function () {}");else if(e==="%GeneratorFunction%")t=ne("function* () {}");else if(e==="%AsyncGeneratorFunction%")t=ne("async function* () {}");else if(e==="%AsyncGenerator%"){var n=r("%AsyncGeneratorFunction%");n&&(t=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var o=r("%AsyncGenerator%");o&&(t=S(o.prototype))}return L[e]=t,t},He={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},W=De,K=I,jr=W.call(Function.call,Array.prototype.concat),Tr=W.call(Function.apply,Array.prototype.splice),Ke=W.call(Function.call,String.prototype.replace),J=W.call(Function.call,String.prototype.slice),Lr=W.call(Function.call,RegExp.prototype.exec),$r=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Dr=/\\(\\)?/g,Fr=function(e){var t=J(e,0,1),n=J(e,-1);if(t==="%"&&n!=="%")throw new $("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&t!=="%")throw new $("invalid intrinsic syntax, expected opening `%`");var o=[];return Ke(e,$r,function(s,a,i,c){o[o.length]=i?Ke(c,Dr,"$1"):a||s}),o},qr=function(e,t){var n=e,o;if(K(He,n)&&(o=He[n],n="%"+o[0]+"%"),K(L,n)){var s=L[n];if(s===j&&(s=Cr(n)),typeof s>"u"&&!t)throw new T("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:o,name:n,value:s}}throw new $("intrinsic "+e+" does not exist!")},b=function(e,t){if(typeof e!="string"||e.length===0)throw new T("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new T('"allowMissing" argument must be a boolean');if(Lr(/^%?[^%]*%?$/,e)===null)throw new $("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Fr(e),o=n.length>0?n[0]:"",s=qr("%"+o+"%",t),a=s.name,i=s.value,c=!1,p=s.alias;p&&(o=p[0],Tr(n,jr([0,1],p)));for(var f=1,h=!0;f=n.length){var g=E(i,l);h=!!g,h&&"get"in g&&!("originalValue"in g.get)?i=g.get:i=i[l]}else h=K(i,l),i=i[l];h&&!c&&(L[a]=i)}}return i};(function(r){var e=De,t=b,n=t("%Function.prototype.apply%"),o=t("%Function.prototype.call%"),s=t("%Reflect.apply%",!0)||e.call(o,n),a=t("%Object.getOwnPropertyDescriptor%",!0),i=t("%Object.defineProperty%",!0),c=t("%Math.max%");if(i)try{i({},"a",{value:1})}catch{i=null}r.exports=function(h){var l=s(e,o,arguments);if(a&&i){var u=a(l,"length");u.configurable&&i(l,"length",{value:1+c(0,h.length-(arguments.length-1))})}return l};var p=function(){return s(e,n,arguments)};i?i(r.exports,"apply",{value:p}):r.exports.apply=p})(_r);var Je=Object.prototype.toString,$t=function(e){var t=Je.call(e),n=t==="[object Arguments]";return n||(n=t!=="[object Array]"&&e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&Je.call(e.callee)==="[object Function]"),n},ie,ze;function xr(){if(ze)return ie;ze=1;var r;if(!Object.keys){var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=$t,o=Object.prototype.propertyIsEnumerable,s=!o.call({toString:null},"toString"),a=o.call(function(){},"prototype"),i=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],c=function(l){var u=l.constructor;return u&&u.prototype===l},p={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},f=function(){if(typeof window>"u")return!1;for(var l in window)try{if(!p["$"+l]&&e.call(window,l)&&window[l]!==null&&typeof window[l]=="object")try{c(window[l])}catch{return!0}}catch{return!0}return!1}(),h=function(l){if(typeof window>"u"||!f)return c(l);try{return c(l)}catch{return!1}};r=function(u){var m=u!==null&&typeof u=="object",g=t.call(u)==="[object Function]",k=n(u),ee=m&&t.call(u)==="[object String]",_=[];if(!m&&!g&&!k)throw new TypeError("Object.keys called on a non-object");var d=a&&g;if(ee&&u.length>0&&!e.call(u,0))for(var v=0;v0)for(var D=0;D2?arguments[2]:{},n=Gr(e);Ur&&(n=Hr.call(n,Object.getOwnPropertySymbols(e)));for(var o=0;o"u"||typeof d=="object"))try{var v=i.call(d);return(v===h||v===l||v===u||v===c)&&d("")==null}catch{}return!1})}return se=e?function(d){if(k(d))return!0;if(!d||typeof d!="function"&&typeof d!="object")return!1;try{e(d,null,t)}catch(v){if(v!==n)return!1}return!s(d)&&a(d)}:function(d){if(k(d))return!0;if(!d||typeof d!="function"&&typeof d!="object")return!1;if(m)return a(d);if(s(d))return!1;var v=i.call(d);return v!==p&&v!==f&&!/^\[object HTML/.test(v)?!1:a(d)},se}var Ze;function Wt(){return Ze||(Ze=1,function(r){r.exports=Yr()}(Xr)),z}var X={},et={get exports(){return X},set exports(r){X=r}},Y={},Qr={get exports(){return Y},set exports(r){Y=r}},tt;function Zr(){return tt||(tt=1,function(r){r.exports=b}(Qr)),Y}var ae,rt;function en(){if(rt)return ae;rt=1;var r=b,e=I,t=r("%TypeError%");return ae=function(o,s){if(o.Type(s)!=="Object")return!1;var a={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var i in s)if(e(s,i)&&!a[i])return!1;if(o.IsDataDescriptor(s)&&o.IsAccessorDescriptor(s))throw new t("Property Descriptors may not be both accessor and data descriptors");return!0},ae}var ce,nt;function Nt(){if(nt)return ce;nt=1;var r=b,e=H,t=e(r("String.prototype.indexOf"));return ce=function(o,s){var a=r(o,!!s);return typeof a=="function"&&t(o,".prototype.")>-1?e(a):a},ce}var ue,ot;function tn(){if(ot)return ue;ot=1;var r=b,e=r("%Array%"),t=!e.isArray&&Nt()("Object.prototype.toString");return ue=e.isArray||function(o){return t(o)==="[object Array]"},ue}var le,it;function rn(){if(it)return le;it=1;var r=Dt,e=b,t=r()&&e("%Object.defineProperty%",!0),n=r.hasArrayLengthDefineBug(),o=n&&tn(),s=Nt(),a=s("Object.prototype.propertyIsEnumerable");return le=function(c,p,f,h,l,u){if(!t){if(!c(u)||!u["[[Configurable]]"]||!u["[[Writable]]"]||l in h&&a(h,l)!==!!u["[[Enumerable]]"])return!1;var m=u["[[Value]]"];return h[l]=m,p(h[l],m)}return n&&l==="length"&&"[[Value]]"in u&&o(h)&&h.length!==u["[[Value]]"]?(h.length=u["[[Value]]"],h.length===u["[[Value]]"]):(t(h,l,f(u)),!0)},le}var pe,st;function nn(){if(st)return pe;st=1;var r=I;return pe=function(t){return r(t,"[[StartIndex]]")&&r(t,"[[EndIndex]]")&&t["[[StartIndex]]"]>=0&&t["[[EndIndex]]"]>=t["[[StartIndex]]"]&&String(parseInt(t["[[StartIndex]]"],10))===String(t["[[StartIndex]]"])&&String(parseInt(t["[[EndIndex]]"],10))===String(t["[[EndIndex]]"])},pe}var fe,at;function qe(){if(at)return fe;at=1;var r=b,e=r("%TypeError%"),t=r("%SyntaxError%"),n=I,o=nn(),s={"Property Descriptor":function(i){var c={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var p in i)if(n(i,p)&&!c[p])return!1;var f=n(i,"[[Value]]"),h=n(i,"[[Get]]")||n(i,"[[Set]]");if(f&&h)throw new e("Property Descriptors may not be both accessor and data descriptors");return!0},"Match Record":o,"Iterator Record":function(i){return n(i,"[[Iterator]]")&&n(i,"[[NextMethod]]")&&n(i,"[[Done]]")},"PromiseCapability Record":function(i){return i&&n(i,"[[Resolve]]")&&typeof i["[[Resolve]]"]=="function"&&n(i,"[[Reject]]")&&typeof i["[[Reject]]"]=="function"&&n(i,"[[Promise]]")&&i["[[Promise]]"]&&typeof i["[[Promise]]"].then=="function"},"AsyncGeneratorRequest Record":function(i){return i&&n(i,"[[Completion]]")&&n(i,"[[Capability]]")&&s["PromiseCapability Record"](i["[[Capability]]"])}};return fe=function(i,c,p,f){var h=s[c];if(typeof h!="function")throw new t("unknown record type: "+c);if(i(f)!=="Object"||!h(f))throw new e(p+" must be a "+c)},fe}var ye,ct;function on(){return ct||(ct=1,ye=function(e){if(typeof e>"u")return e;var t={};return"[[Value]]"in e&&(t.value=e["[[Value]]"]),"[[Writable]]"in e&&(t.writable=!!e["[[Writable]]"]),"[[Get]]"in e&&(t.get=e["[[Get]]"]),"[[Set]]"in e&&(t.set=e["[[Set]]"]),"[[Enumerable]]"in e&&(t.enumerable=!!e["[[Enumerable]]"]),"[[Configurable]]"in e&&(t.configurable=!!e["[[Configurable]]"]),t}),ye}var he,ut;function sn(){return ut||(ut=1,he=function(e){if(e===null)return"Null";if(typeof e>"u")return"Undefined";if(typeof e=="function"||typeof e=="object")return"Object";if(typeof e=="number")return"Number";if(typeof e=="boolean")return"Boolean";if(typeof e=="string")return"String"}),he}var de,lt;function O(){if(lt)return de;lt=1;var r=sn();return de=function(t){return typeof t=="symbol"?"Symbol":typeof t=="bigint"?"BigInt":r(t)},de}var ve,pt;function an(){if(pt)return ve;pt=1;var r=qe(),e=on(),t=O();return ve=function(o){return typeof o<"u"&&r(t,"Property Descriptor","Desc",o),e(o)},ve}var me,ft;function cn(){if(ft)return me;ft=1;var r=I,e=qe(),t=O();return me=function(o){return!(typeof o>"u"||(e(t,"Property Descriptor","Desc",o),!r(o,"[[Get]]")&&!r(o,"[[Set]]")))},me}var _e,yt;function un(){if(yt)return _e;yt=1;var r=I,e=qe(),t=O();return _e=function(o){return!(typeof o>"u"||(e(t,"Property Descriptor","Desc",o),!r(o,"[[Value]]")&&!r(o,"[[Writable]]")))},_e}var ge,ht;function ln(){return ht||(ht=1,ge=function(e){return typeof e=="string"||typeof e=="symbol"}),ge}var be,dt;function pn(){return dt||(dt=1,be=Number.isNaN||function(e){return e!==e}),be}var Pe,vt;function fn(){if(vt)return Pe;vt=1;var r=pn();return Pe=function(t,n){return t===n?t===0?1/t===1/n:!0:r(t)&&r(n)},Pe}var we,mt;function yn(){return mt||(mt=1,we=function(e){return!!e}),we}var Se,_t;function hn(){if(_t)return Se;_t=1;var r=I,e=b,t=e("%TypeError%"),n=O(),o=yn(),s=Wt();return Se=function(i){if(n(i)!=="Object")throw new t("ToPropertyDescriptor requires an object");var c={};if(r(i,"enumerable")&&(c["[[Enumerable]]"]=o(i.enumerable)),r(i,"configurable")&&(c["[[Configurable]]"]=o(i.configurable)),r(i,"value")&&(c["[[Value]]"]=i.value),r(i,"writable")&&(c["[[Writable]]"]=o(i.writable)),r(i,"get")){var p=i.get;if(typeof p<"u"&&!s(p))throw new t("getter must be a function");c["[[Get]]"]=p}if(r(i,"set")){var f=i.set;if(typeof f<"u"&&!s(f))throw new t("setter must be a function");c["[[Set]]"]=f}if((r(c,"[[Get]]")||r(c,"[[Set]]"))&&(r(c,"[[Value]]")||r(c,"[[Writable]]")))throw new t("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return c},Se}var Ae,gt;function dn(){if(gt)return Ae;gt=1;var r=b,e=r("%TypeError%"),t=en(),n=rn(),o=an(),s=cn(),a=un(),i=ln(),c=fn(),p=hn(),f=O();return Ae=function(l,u,m){if(f(l)!=="Object")throw new e("Assertion failed: Type(O) is not Object");if(!i(u))throw new e("Assertion failed: IsPropertyKey(P) is not true");var g=t({Type:f,IsDataDescriptor:a,IsAccessorDescriptor:s},m)?m:p(m);if(!t({Type:f,IsDataDescriptor:a,IsAccessorDescriptor:s},g))throw new e("Assertion failed: Desc is not a valid Property Descriptor");return n(a,c,o,l,u,g)},Ae}var bt;function vn(){if(bt)return X;bt=1;var r=Zr(),e=r("%Reflect.construct%",!0),t=dn();try{t({},"",{"[[Get]]":function(){}})}catch{t=null}if(t&&e){var n={},o={};t(o,"length",{"[[Get]]":function(){throw n},"[[Enumerable]]":!0}),et.exports=function(a){try{e(a,o)}catch(i){return i===n}}}else et.exports=function(a){return typeof a=="function"&&!!a.prototype};return X}var Re,Pt;function mn(){if(Pt)return Re;Pt=1;var r=b,e=r("%Symbol.species%",!0),t=r("%TypeError%"),n=vn(),o=O();return Re=function(a,i){if(o(a)!=="Object")throw new t("Assertion failed: Type(O) is not Object");var c=a.constructor;if(typeof c>"u")return i;if(o(c)!=="Object")throw new t("O.constructor is not an Object");var p=e?c[e]:void 0;if(p==null)return i;if(n(p))return p;throw new t("no constructor found")},Re}var _n=Fe;_n();var gn=Wt(),bn=mn(),Pn=O(),Bt=function(e,t){return new e(function(n){n(t)})},wn=Promise,Sn=function(e,t){return function(n){var o=t(),s=Bt(e,o),a=function(){return n};return s.then(a)}},An=function(e,t){return function(n){var o=t(),s=Bt(e,o),a=function(){throw n};return s.then(a)}},Te=function(e){var t=this;if(Pn(t)!=="Object")throw new TypeError("receiver is not an Object");var n=bn(t,wn),o=e,s=e;return gn(e)&&(o=Sn(n,e),s=An(n,e)),t.then(o,s)};if(Object.getOwnPropertyDescriptor){var wt=Object.getOwnPropertyDescriptor(Te,"name");wt&&wt.configurable&&Object.defineProperty(Te,"name",{configurable:!0,value:"finally"})}var Gt=Te,Rn=Fe,En=Gt,Ut=function(){return Rn(),typeof Promise.prototype.finally=="function"?Promise.prototype.finally:En},In=Fe,On=Ut,kn=Mt,Cn=function(){In();var e=On();return kn(Promise.prototype,{finally:e},{finally:function(){return Promise.prototype.finally!==e}}),e},jn=H,Tn=Mt,Ln=Gt,Vt=Ut,$n=Cn,Ht=jn(Vt());Tn(Ht,{getPolyfill:Vt,implementation:Ln,shim:$n});var Dn=Ht;const Fn=Tt,qn=Dn;var xn=class{constructor(){this._items=new Map}create(e,t,n){return this._rejectExistingRequest(e),this._createNewRequest(e,t,n)}resolve(e,t){e&&this._items.has(e)&&this._items.get(e).resolve(t)}rejectAll(e){this._items.forEach(t=>t.isPending?t.reject(e):null)}_rejectExistingRequest(e){const t=this._items.get(e);t&&t.isPending&&t.reject(new Error(`WebSocket request is replaced, id: ${e}`))}_createNewRequest(e,t,n){const o=new Fn({timeout:n,timeoutReason:`WebSocket request was rejected by timeout (${n} ms). RequestId: ${e}`});return this._items.set(e,o),qn(o.call(t),()=>this._deleteRequest(e,o))}_deleteRequest(e,t){this._items.get(e)===t&&this._items.delete(e)}},Mn={createWebSocket:r=>new WebSocket(r),packMessage:null,unpackMessage:null,attachRequestId:null,extractRequestId:null,extractMessageData:r=>r.data,timeout:0,connectionTimeout:0},xe={};xe.throwIf=(r,e)=>{if(r)throw new Error(e)};xe.isPromise=r=>r&&typeof r.then=="function";const P=Ie,St=Tt,{PromisedMap:Wn}=Z,Nn=xn,At=Mn,{throwIf:B,isPromise:Bn}=xe,G={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3};class Gn{constructor(e,t){this._assertOptions(t),this._url=e,this._options=Object.assign({},At,t),this._requests=new Nn,this._promisedMap=new Wn,this._ws=null,this._wsSubscription=null,this._createOpeningController(),this._createClosingController(),this._createChannels()}get ws(){return this._ws}get url(){return this._url}get isOpening(){return Boolean(this._ws&&this._ws.readyState===G.CONNECTING)}get isOpened(){return Boolean(this._ws&&this._ws.readyState===G.OPEN)}get isClosing(){return Boolean(this._ws&&this._ws.readyState===G.CLOSING)}get isClosed(){return Boolean(!this._ws||this._ws.readyState===G.CLOSED)}get onOpen(){return this._onOpen}get onSend(){return this._onSend}get onMessage(){return this._onMessage}get onUnpackedMessage(){return this._onUnpackedMessage}get onResponse(){return this._onResponse}get onClose(){return this._onClose}get onError(){return this._onError}open(){return this.isClosing?Promise.reject(new Error("Can't open WebSocket while closing.")):this.isOpened?this._opening.promise:this._opening.call(()=>{this._opening.promise.catch(e=>this._cleanup(e)),this._createWS()})}sendRequest(e,t={}){const n=t.requestId||`${Math.random()}`,o=t.timeout!==void 0?t.timeout:this._options.timeout;return this._requests.create(n,()=>{this._assertRequestIdHandlers();const s=this._options.attachRequestId(e,n);this.sendPacked(s)},o)}sendPacked(e){this._assertPackingHandlers();const t=this._options.packMessage(e);this.send(t)}send(e){B(!this.isOpened,"Can't send data because WebSocket is not opened."),this._ws.send(e),this._onSend.dispatchAsync(e)}waitUnpackedMessage(e,t={}){return B(typeof e!="function",`Predicate must be a function, got ${typeof e}`),t.timeout&&setTimeout(()=>{if(this._promisedMap.has(e)){const n=t.timeoutError||new Error("Timeout");this._promisedMap.reject(e,n)}},t.timeout),this._promisedMap.set(e)}close(e,t){return this.isClosed?Promise.resolve(this._closing.value):this._closing.call(()=>this._ws.close(e,t))}removeAllListeners(){this._onOpen.removeAllListeners(),this._onMessage.removeAllListeners(),this._onUnpackedMessage.removeAllListeners(),this._onResponse.removeAllListeners(),this._onSend.removeAllListeners(),this._onClose.removeAllListeners(),this._onError.removeAllListeners()}_createOpeningController(){const e=this._options.connectionTimeout||this._options.timeout;this._opening=new St({timeout:e,timeoutReason:`Can't open WebSocket within allowed timeout: ${e} ms.`})}_createClosingController(){const e=this._options.timeout;this._closing=new St({timeout:e,timeoutReason:`Can't close WebSocket within allowed timeout: ${e} ms.`})}_createChannels(){this._onOpen=new P,this._onMessage=new P,this._onUnpackedMessage=new P,this._onResponse=new P,this._onSend=new P,this._onClose=new P,this._onError=new P}_createWS(){this._ws=this._options.createWebSocket(this._url),this._wsSubscription=new P.Subscription([{channel:this._ws,event:"open",listener:e=>this._handleOpen(e)},{channel:this._ws,event:"message",listener:e=>this._handleMessage(e)},{channel:this._ws,event:"error",listener:e=>this._handleError(e)},{channel:this._ws,event:"close",listener:e=>this._handleClose(e)}]).on()}_handleOpen(e){this._onOpen.dispatchAsync(e),this._opening.resolve(e)}_handleMessage(e){const t=this._options.extractMessageData(e);this._onMessage.dispatchAsync(t),this._tryUnpack(t)}_tryUnpack(e){this._options.unpackMessage&&(e=this._options.unpackMessage(e),Bn(e)?e.then(t=>this._handleUnpackedData(t)):this._handleUnpackedData(e))}_handleUnpackedData(e){e!==void 0&&(this._onUnpackedMessage.dispatchAsync(e),this._tryHandleResponse(e)),this._tryHandleWaitingMessage(e)}_tryHandleResponse(e){if(this._options.extractRequestId){const t=this._options.extractRequestId(e);t&&(this._onResponse.dispatchAsync(e,t),this._requests.resolve(t,e))}}_tryHandleWaitingMessage(e){this._promisedMap.forEach((t,n)=>{let o=!1;try{o=n(e)}catch(s){this._promisedMap.reject(n,s);return}o&&this._promisedMap.resolve(n,e)})}_handleError(e){this._onError.dispatchAsync(e)}_handleClose(e){this._onClose.dispatchAsync(e),this._closing.resolve(e);const t=new Error(`WebSocket closed with reason: ${e.reason} (${e.code}).`);this._opening.isPending&&this._opening.reject(t),this._cleanup(t)}_cleanupWS(){this._wsSubscription&&(this._wsSubscription.off(),this._wsSubscription=null),this._ws=null}_cleanup(e){this._cleanupWS(),this._requests.rejectAll(e)}_assertOptions(e){Object.keys(e||{}).forEach(t=>{if(!At.hasOwnProperty(t))throw new Error(`Unknown option: ${t}`)})}_assertPackingHandlers(){const{packMessage:e,unpackMessage:t}=this._options;B(!e||!t,"Please define 'options.packMessage / options.unpackMessage' for sending packed messages.")}_assertRequestIdHandlers(){const{attachRequestId:e,extractRequestId:t}=this._options;B(!e||!t,"Please define 'options.attachRequestId / options.extractRequestId' for sending requests.")}}var Un=Gn;let w=null;const Vn=Yt(Qt)??null,Hn=(r,e)=>{if(!r)return{hasWebsocket:!1,websocket:null,closeSocket:()=>null};try{w=new Un(`ws://localhost:${r}/`,{packMessage:t=>V(t),unpackMessage:t=>Le(t),attachRequestId:(t,n)=>Object.assign({requestId:n},t),extractRequestId:t=>t&&t.requestId,...e}),w.onError.addListener(t=>{console.error(`Websocket connection error: ${t}`)})}catch(t){Ee(`Error creating websocket: ${t}`)}return w==null||w.open(),{hasWebsocket:!0,websocket:w,closeSocket:()=>w?w.close():null}},Kn=Hn(Vn);async function Rt(r,e){if(!e)return r;if(!e.isOpened)try{await e.open()}catch(n){Ee(`Error opening websocket: ${n}`)}return e.isOpened?e.sendRequest({payload:V(r)}).then(n=>{Zt();try{return Le(n.content)}catch{return n.content}}).catch(n=>{Ee(`Error decoding websocket response: ${n}`)}):Promise.resolve(r)}async function Jn({payloads:r,namespace:e,settings:t,accessToken:n}){var f,h,l;const o=(f=t==null?void 0:t.codec)==null?void 0:f.endpoint,s=(h=t==null?void 0:t.codec)==null?void 0:h.passAccessToken,a=(l=t==null?void 0:t.codec)==null?void 0:l.includeCredentials,i={"Content-Type":"application/json","X-Namespace":e};if(s)if(er(o))i.Authorization=`Bearer ${n}`;else return Me(),r;const c=a?{headers:i,credentials:"include",method:"POST",body:V(r)}:{headers:i,method:"POST",body:V(r)};return fetch(o+"/decode",c).then(u=>u.json()).then(u=>(tr(),u)).catch(()=>(Me(),r))}const Kt=r=>Array.isArray(r)?r:[r];function A(r){var t;if(r===null)return r;const e=We(String(((t=r==null?void 0:r.metadata)==null?void 0:t.encoding)??""));if(r!=null&&r.metadata&&(r.metadata.encodingDecoded=e),e!=null&&e.startsWith("json/"))try{return Le(We(String((r==null?void 0:r.data)??"")))}catch(n){console.warn("Could not parse payload: ",n)}return e==="binary/null"?null:r}const oo=r=>{if(R(r,"searchAttributes")&&R(r.searchAttributes,"indexedFields")){const e=r.searchAttributes.indexedFields;Object.entries(e).forEach(([t,n])=>{e[t]=A(n)})}if(R(r,"memo")&&R(r.memo,"fields")){const e=r.memo.fields;Object.entries(e).forEach(([t,n])=>{e[t]=A(n)})}if(R(r,"header")&&R(r.header,"fields")){const e=r.header.fields;Object.entries(e).forEach(([t,n])=>{e[t]=A(n)})}if(R(r,"queryResult")){const e=r==null?void 0:r.queryResult;Object.entries(e).forEach(([t,n])=>{e[t]=A(n)})}return r},zn=(r,e,t)=>async n=>{var o;if((o=e==null?void 0:e.codec)!=null&&o.endpoint){const s=await Jn({payloads:{payloads:n},namespace:r,settings:e,accessToken:t});return((s==null?void 0:s.payloads)??[]).map(A)}else return n.map(A)},Et=(r,...e)=>{for(const t of e)if(r===t)return!0;return!1},Jt=async(r,e,t,n)=>{const o=zn(e,t,n);if(r)for(const s of Object.keys(r))if(Et(s,"payloads","encodedAttributes")&&r[s]){const a=Kt(r[s]),i=await o(a);r[s]=Et(s,"encodedAttributes")?i[0]:i}else{const a=r[s];It(a)&&(r[s]=await Jt(a,e,t,n))}return r},zt=async(r,e)=>{if(r)for(const t of Object.keys(r))if(t==="payloads"){let n;const o=Kt(r[t]);e!=null&&e.hasWebsocket?n=await Promise.all((o??[]).map(async a=>await Rt(a,e.websocket))):n=o.map(A),r[t]=n}else if(t==="encodedAttributes"&&r[t]){let n;const o=r[t];e!=null&&e.hasWebsocket?n=await Rt(o,e.websocket):n=A(o),r[t]=n}else{const n=r[t];It(n)&&(r[t]=await zt(n,e))}return r},io=async({attributes:r,namespace:e,settings:t,accessToken:n})=>await Jt(r,e,t,n),so=async(r,e)=>await zt(r,e??Kn);export{so as a,A as b,io as c,oo as d}; diff --git a/ui/assets/cloud/_app/immutable/chunks/drawer.e151c6f1.js b/ui/assets/cloud/_app/immutable/chunks/drawer.e151c6f1.js deleted file mode 100644 index 1a28cb9277..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/drawer.e151c6f1.js +++ /dev/null @@ -1 +0,0 @@ -import{S as x,b as ee,a as te,e as P,f as J,j as b,z as R,g as E,h as W,k as v,ag as se,i as T,G as X,m as C,C as le,c as F,w as ae,p as H,q as S,D as ie,d as G,x as ne,u as d,T as j,M as g,E as oe,a9 as re,U as fe,y as ce,H as Y,I as Z,J as $,$ as ue,a0 as U,F as _e,r as de}from"./index.d29c66be.js";import{I as me,f as B}from"./tooltip.ca813c82.js";import{c as he}from"./outside-click.0db702a6.js";const ve=e=>({}),K=e=>({});function L(e){let t,a,s,l,i,o,m,p,D,w,I,h,f,q,k,u,z,M;s=new me({props:{"data-testid":"drawer-close-button",icon:"close","aria-expanded":e[0],"aria-controls":"navigation-drawer"}}),s.$on("click",function(){T(e[4])&&e[4].apply(this,arguments)});let r=e[7].subtitle&&Q(e);const A=e[9].default,_=X(A,e,e[8],null);return{c(){t=C("aside"),a=C("div"),le(s.$$.fragment),i=F(),o=C("div"),m=C("h1"),p=ae(e[1]),D=F(),r&&r.c(),I=F(),h=C("div"),_&&_.c(),this.h()},l(c){t=H(c,"ASIDE",{class:!0,id:!0,role:!0});var n=S(t);a=H(n,"DIV",{class:!0});var V=S(a);ie(s.$$.fragment,V),V.forEach(v),i=G(n),o=H(n,"DIV",{class:!0});var y=S(o);m=H(y,"H1",{class:!0});var N=S(m);p=ne(N,e[1]),N.forEach(v),D=G(y),r&&r.l(y),y.forEach(v),I=G(n),h=H(n,"DIV",{class:!0});var O=S(h);_&&_.l(O),O.forEach(v),n.forEach(v),this.h()},h(){d(a,"class",l="close-button-wrapper "+e[2]+" svelte-c6hvcn"),d(m,"class","svelte-c6hvcn"),d(o,"class",w="title-wrapper "+e[2]+" svelte-c6hvcn"),d(h,"class",f="content "+e[2]+" svelte-c6hvcn"),d(t,"class",q="drawer "+e[2]+" svelte-c6hvcn"),d(t,"id",e[5]),d(t,"role","region"),j(t,"dark",e[3]),j(t,"max-w-[400px]",e[2]==="right")},m(c,n){J(c,t,n),g(t,a),oe(s,a,null),g(t,i),g(t,o),g(o,m),g(m,p),g(o,D),r&&r.m(o,null),g(t,I),g(t,h),_&&_.m(h,null),u=!0,z||(M=[re(he.call(null,t)),fe(t,"click-outside",function(){T(e[4])&&e[4].apply(this,arguments)})],z=!0)},p(c,n){e=c;const V={};n&1&&(V["aria-expanded"]=e[0]),s.$set(V),(!u||n&4&&l!==(l="close-button-wrapper "+e[2]+" svelte-c6hvcn"))&&d(a,"class",l),(!u||n&2)&&ce(p,e[1]),e[7].subtitle?r?(r.p(e,n),n&128&&b(r,1)):(r=Q(e),r.c(),b(r,1),r.m(o,null)):r&&(R(),E(r,1,1,()=>{r=null}),W()),(!u||n&4&&w!==(w="title-wrapper "+e[2]+" svelte-c6hvcn"))&&d(o,"class",w),_&&_.p&&(!u||n&256)&&Y(_,A,e,e[8],u?$(A,e[8],n,null):Z(e[8]),null),(!u||n&4&&f!==(f="content "+e[2]+" svelte-c6hvcn"))&&d(h,"class",f),(!u||n&4&&q!==(q="drawer "+e[2]+" svelte-c6hvcn"))&&d(t,"class",q),(!u||n&32)&&d(t,"id",e[5]),(!u||n&12)&&j(t,"dark",e[3]),(!u||n&4)&&j(t,"max-w-[400px]",e[2]==="right")},i(c){u||(b(s.$$.fragment,c),b(r),b(_,c),ue(()=>{k||(k=U(t,B,e[6],!0)),k.run(1)}),u=!0)},o(c){E(s.$$.fragment,c),E(r),E(_,c),k||(k=U(t,B,e[6],!1)),k.run(0),u=!1},d(c){c&&v(t),_e(s),r&&r.d(),_&&_.d(c),c&&k&&k.end(),z=!1,de(M)}}}function Q(e){let t,a;const s=e[9].subtitle,l=X(s,e,e[8],K);return{c(){t=C("h3"),l&&l.c(),this.h()},l(i){t=H(i,"H3",{class:!0});var o=S(t);l&&l.l(o),o.forEach(v),this.h()},h(){d(t,"class","font-primary text-xs font-normal")},m(i,o){J(i,t,o),l&&l.m(t,null),a=!0},p(i,o){l&&l.p&&(!a||o&256)&&Y(l,s,i,i[8],a?$(s,i[8],o,ve):Z(i[8]),K)},i(i){a||(b(l,i),a=!0)},o(i){E(l,i),a=!1},d(i){i&&v(t),l&&l.d(i)}}}function be(e){let t,a,s=e[0]&&L(e);return{c(){s&&s.c(),t=P()},l(l){s&&s.l(l),t=P()},m(l,i){s&&s.m(l,i),J(l,t,i),a=!0},p(l,[i]){l[0]?s?(s.p(l,i),i&1&&b(s,1)):(s=L(l),s.c(),b(s,1),s.m(t.parentNode,t)):s&&(R(),E(s,1,1,()=>{s=null}),W())},i(l){a||(b(s),a=!0)},o(l){E(s),a=!1},d(l){s&&s.d(l),l&&v(t)}}}function pe(e,t,a){let{$$slots:s={},$$scope:l}=t;const i=se(s);let{open:o=!1}=t,{title:m}=t,{position:p="bottom"}=t,{dark:D=!0}=t,{onClick:w}=t,{id:I="navigation-drawer"}=t;const h={duration:500,...p==="bottom"?{y:200}:{x:200}};return e.$$set=f=>{"open"in f&&a(0,o=f.open),"title"in f&&a(1,m=f.title),"position"in f&&a(2,p=f.position),"dark"in f&&a(3,D=f.dark),"onClick"in f&&a(4,w=f.onClick),"id"in f&&a(5,I=f.id),"$$scope"in f&&a(8,l=f.$$scope)},[o,m,p,D,w,I,h,i,l,s]}class Ee extends x{constructor(t){super(),ee(this,t,pe,be,te,{open:0,title:1,position:2,dark:3,onClick:4,id:5})}}export{Ee as D}; diff --git a/ui/assets/cloud/_app/immutable/chunks/dropdown-menu.abe6e484.js b/ui/assets/cloud/_app/immutable/chunks/dropdown-menu.abe6e484.js deleted file mode 100644 index b01abf48c0..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/dropdown-menu.abe6e484.js +++ /dev/null @@ -1 +0,0 @@ -import{S as Y,b as Z,a as y,C as L,D as M,E as S,j as h,g,F as A,o as w,N as $,O as P,P as j,i as x,n as O,m as b,c as q,p,q as k,d as V,k as m,u as v,f as T,M as I,z as ee,h as te,A as se,G as H,T as D,H as J,I as B,J as K,$ as Q,aa as R,an as ne}from"./index.d29c66be.js";import{T as ae,I as le,s as C}from"./tooltip.ca813c82.js";import{I as ie}from"./icon.5aa23970.js";const oe=n=>({}),z=n=>({});function fe(n){let e,a,s,o;const f=n[10].label,r=H(f,n,n[12],z);return s=new ie({props:{name:n[1]?n[1]:n[5]?"chevron-up":"chevron-down",class:"pointer-events-none",width:20,height:20}}),{c(){e=b("div"),r&&r.c(),a=q(),L(s.$$.fragment),this.h()},l(l){e=p(l,"DIV",{class:!0});var t=k(e);r&&r.l(t),a=V(t),M(s.$$.fragment,t),t.forEach(m),this.h()},h(){v(e,"class","flex items-center gap-1 truncate svelte-1o0pqx5"),D(e,"disabled",n[3])},m(l,t){T(l,e,t),r&&r.m(e,null),I(e,a),S(s,e,null),o=!0},p(l,t){r&&r.p&&(!o||t&4096)&&J(r,f,l,l[12],o?K(f,l[12],t,oe):B(l[12]),z);const i={};t&34&&(i.name=l[1]?l[1]:l[5]?"chevron-up":"chevron-down"),s.$set(i),(!o||t&8)&&D(e,"disabled",l[3])},i(l){o||(h(r,l),h(s.$$.fragment,l),o=!0)},o(l){g(r,l),g(s.$$.fragment,l),o=!1},d(l){l&&m(e),r&&r.d(l),A(s)}}}function F(n){let e,a;return{c(){e=b("span"),this.h()},l(s){e=p(s,"SPAN",{class:!0}),k(e).forEach(m),this.h()},h(){v(e,"class","dot svelte-1o0pqx5")},m(s,o){T(s,e,o)},i(s){a||Q(()=>{a=R(e,C,{duration:200,start:.65}),a.start()})},o:O,d(s){s&&m(e)}}}function G(n){let e,a,s,o,f;const r=n[10].default,l=H(r,n,n[12],null);return{c(){e=b("div"),a=b("div"),l&&l.c(),this.h()},l(t){e=p(t,"DIV",{class:!0});var i=k(e);a=p(i,"DIV",{class:!0});var c=k(a);l&&l.l(c),c.forEach(m),i.forEach(m),this.h()},h(){v(a,"class","block gap-4"),v(e,"class","dropdown-menu svelte-1o0pqx5"),D(e,"right",n[2])},m(t,i){T(t,e,i),I(e,a),l&&l.m(a,null),f=!0},p(t,i){l&&l.p&&(!f||i&4096)&&J(l,r,t,t[12],f?K(r,t[12],i,null):B(t[12]),null),(!f||i&4)&&D(e,"right",t[2])},i(t){f||(h(l,t),Q(()=>{o&&o.end(1),s=R(e,C,{duration:200,start:.65}),s.start()}),f=!0)},o(t){g(l,t),s&&s.invalidate(),o=ne(e,C,{duration:100,start:.65}),f=!1},d(t){t&&m(e),l&&l.d(t),t&&o&&o.end()}}}function re(n){let e,a,s,o,f,r,l;s=new le({props:{"data-testid":n[8].testId+"-button",$$slots:{default:[fe]},$$scope:{ctx:n}}}),s.$on("click",function(){x(n[3]?O:n[7])&&(n[3]?O:n[7]).apply(this,arguments)});let t=n[0]&&F(),i=n[5]&&G(n);return{c(){e=b("div"),a=b("div"),L(s.$$.fragment),o=q(),t&&t.c(),r=q(),i&&i.c(),this.h()},l(c){e=p(c,"DIV",{});var u=k(e);a=p(u,"DIV",{class:!0,"data-testid":!0});var _=k(a);M(s.$$.fragment,_),o=V(_),t&&t.l(_),_.forEach(m),r=V(u),i&&i.l(u),u.forEach(m),this.h()},h(){v(a,"class","relative inline"),v(a,"data-testid",f=n[8].testId)},m(c,u){T(c,e,u),I(e,a),S(s,a,null),I(a,o),t&&t.m(a,null),I(e,r),i&&i.m(e,null),n[11](e),l=!0},p(c,u){n=c;const _={};u&256&&(_["data-testid"]=n[8].testId+"-button"),u&4138&&(_.$$scope={dirty:u,ctx:n}),s.$set(_),n[0]?t?u&1&&h(t,1):(t=F(),t.c(),h(t,1),t.m(a,null)):t&&(t.d(1),t=null),(!l||u&256&&f!==(f=n[8].testId))&&v(a,"data-testid",f),n[5]?i?(i.p(n,u),u&32&&h(i,1)):(i=G(n),i.c(),h(i,1),i.m(e,null)):i&&(ee(),g(i,1,1,()=>{i=null}),te())},i(c){l||(h(s.$$.fragment,c),h(t),h(i),l=!0)},o(c){g(s.$$.fragment,c),g(i),l=!1},d(c){c&&m(e),A(s),t&&t.d(),i&&i.d(),n[11](null)}}}function ue(n){let e,a;return e=new ae({props:{text:n[4],top:!0,hide:!n[3],$$slots:{default:[re]},$$scope:{ctx:n}}}),{c(){L(e.$$.fragment)},l(s){M(e.$$.fragment,s)},m(s,o){S(e,s,o),a=!0},p(s,[o]){const f={};o&16&&(f.text=s[4]),o&8&&(f.hide=!s[3]),o&4463&&(f.$$scope={dirty:o,ctx:s}),e.$set(f)},i(s){a||(h(e.$$.fragment,s),a=!0)},o(s){g(e.$$.fragment,s),a=!1},d(s){A(e,s)}}}function de(n,e,a){let{$$slots:s={},$$scope:o}=e,{value:f}=e,{icon:r=void 0}=e,{right:l=!1}=e,{keepOpen:t=!1}=e,{disabled:i=!1}=e,{disabledText:c="Disabled"}=e,u=!1,_=null;w(()=>{const d=E=>{u&&!_.contains(E.target)&&a(5,u=!1)},N=E=>{u&&(E==null?void 0:E.key)==="Escape"&&a(5,u=!1)};return document.addEventListener("click",d,!1),document.addEventListener("keyup",N,!1),()=>{document.removeEventListener("click",d,!1),document.removeEventListener("keyup",N,!1)}});const U=$(),W=()=>{a(5,u=!u),U("showmenu",{show:u})};function X(d){se[d?"unshift":"push"](()=>{_=d,a(6,_)})}return n.$$set=d=>{a(8,e=P(P({},e),j(d))),"value"in d&&a(0,f=d.value),"icon"in d&&a(1,r=d.icon),"right"in d&&a(2,l=d.right),"keepOpen"in d&&a(9,t=d.keepOpen),"disabled"in d&&a(3,i=d.disabled),"disabledText"in d&&a(4,c=d.disabledText),"$$scope"in d&&a(12,o=d.$$scope)},n.$$.update=()=>{n.$$.dirty&513&&(f||!f)&&!t&&a(5,u=!1)},e=j(e),[f,r,l,i,c,u,_,W,e,t,s,X,o]}class me extends Y{constructor(e){super(),Z(this,e,de,ue,y,{value:0,icon:1,right:2,keepOpen:9,disabled:3,disabledText:4})}}export{me as D}; diff --git a/ui/assets/cloud/_app/immutable/chunks/empty-state.bf113865.js b/ui/assets/cloud/_app/immutable/chunks/empty-state.bf113865.js deleted file mode 100644 index 86d4d7a8fb..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/empty-state.bf113865.js +++ /dev/null @@ -1 +0,0 @@ -import{S as z,b as B,a as K,G as L,m as k,C as Q,c as P,w as C,p as I,q as p,D as R,k as h,d as S,x as D,u as d,f as H,M as _,E as T,y as A,H as U,I as W,J as X,j as G,g as J,F as Y,O as M,P as N}from"./index.d29c66be.js";import{I as Z}from"./icon.5aa23970.js";function O(a){let e,l;return{c(){e=k("p"),l=C(a[1]),this.h()},l(s){e=I(s,"P",{class:!0});var i=p(e);l=D(i,a[1]),i.forEach(h),this.h()},h(){d(e,"class","text-center")},m(s,i){H(s,e,i),_(e,l)},p(s,i){i&2&&A(l,s[1])},d(s){s&&h(e)}}}function V(a){let e,l;return{c(){e=k("p"),l=C(a[2]),this.h()},l(s){e=I(s,"P",{class:!0});var i=p(e);l=D(i,a[2]),i.forEach(h),this.h()},h(){d(e,"class","rounded-md border-2 border-orange-500 bg-orange-100 p-5 text-center")},m(s,i){H(s,e,i),_(e,l)},p(s,i){i&4&&A(l,s[2])},d(s){s&&h(e)}}}function w(a){let e,l,s,i,u,g,v,b,f,y,j,m;s=new Z({props:{name:a[3],class:"block h-full w-full"}});let o=a[1]&&O(a),r=a[2]&&V(a);const q=a[6].default,c=L(q,a,a[5],null);return{c(){e=k("div"),l=k("span"),Q(s.$$.fragment),i=P(),u=k("h3"),g=C(a[0]),v=P(),o&&o.c(),b=P(),r&&r.c(),f=P(),c&&c.c(),this.h()},l(t){e=I(t,"DIV",{class:!0,"data-testid":!0});var n=p(e);l=I(n,"SPAN",{class:!0});var E=p(l);R(s.$$.fragment,E),E.forEach(h),i=S(n),u=I(n,"H3",{class:!0});var F=p(u);g=D(F,a[0]),F.forEach(h),v=S(n),o&&o.l(n),b=S(n),r&&r.l(n),f=S(n),c&&c.l(n),n.forEach(h),this.h()},h(){d(l,"class","flex h-16 w-16 items-center justify-center rounded-full bg-gray-200"),d(u,"class","text-xl font-medium"),d(e,"class",y="my-12 flex flex-col items-center justify-start gap-2 "+a[4].class),d(e,"data-testid",j=a[4].testId)},m(t,n){H(t,e,n),_(e,l),T(s,l,null),_(e,i),_(e,u),_(u,g),_(e,v),o&&o.m(e,null),_(e,b),r&&r.m(e,null),_(e,f),c&&c.m(e,null),m=!0},p(t,[n]){const E={};n&8&&(E.name=t[3]),s.$set(E),(!m||n&1)&&A(g,t[0]),t[1]?o?o.p(t,n):(o=O(t),o.c(),o.m(e,b)):o&&(o.d(1),o=null),t[2]?r?r.p(t,n):(r=V(t),r.c(),r.m(e,f)):r&&(r.d(1),r=null),c&&c.p&&(!m||n&32)&&U(c,q,t,t[5],m?X(q,t[5],n,null):W(t[5]),null),(!m||n&16&&y!==(y="my-12 flex flex-col items-center justify-start gap-2 "+t[4].class))&&d(e,"class",y),(!m||n&16&&j!==(j=t[4].testId))&&d(e,"data-testid",j)},i(t){m||(G(s.$$.fragment,t),G(c,t),m=!0)},o(t){J(s.$$.fragment,t),J(c,t),m=!1},d(t){t&&h(e),Y(s),o&&o.d(),r&&r.d(),c&&c.d(t)}}}function x(a,e,l){let{$$slots:s={},$$scope:i}=e,{title:u}=e,{content:g=""}=e,{error:v=""}=e,{icon:b="comet"}=e;return a.$$set=f=>{l(4,e=M(M({},e),N(f))),"title"in f&&l(0,u=f.title),"content"in f&&l(1,g=f.content),"error"in f&&l(2,v=f.error),"icon"in f&&l(3,b=f.icon),"$$scope"in f&&l(5,i=f.$$scope)},e=N(e),[u,g,v,b,e,i,s]}class te extends z{constructor(e){super(),B(this,e,x,w,K,{title:0,content:1,error:2,icon:3})}}export{te as E}; diff --git a/ui/assets/cloud/_app/immutable/chunks/event-empty-row.4b13ada5.js b/ui/assets/cloud/_app/immutable/chunks/event-empty-row.4b13ada5.js deleted file mode 100644 index 0a6ccea118..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/event-empty-row.4b13ada5.js +++ /dev/null @@ -1 +0,0 @@ -import{S as _e,b as me,a as he,m as b,p as k,q as $,k as _,u as g,f as D,z as Q,g as w,h as z,j as p,L as ce,O as we,P as De,w as B,c as y,x as M,d as A,T as j,M as h,y as W,n as Te,C as G,D as O,E as S,F as N,G as jt,X as nt,U as $e,H as Lt,I as Bt,J as Mt,Q as el,e as le,N as Ut,a1 as Ee,a2 as Ve,al as tl,W as Wt,ac as ll,V as nl,a6 as rl,A as sl,Y as al,Z as il,$ as ol,aa as fl,_ as Se}from"./index.d29c66be.js";import{C as Pe,a as cl}from"./tooltip.ca813c82.js";import{I as ve}from"./icon.5aa23970.js";import{c as Ne,e as Me,b as ul}from"./event-view.73e1a728.js";import{t as qt,s as dl}from"./time-format.6ef667eb.js";import{e as Ue,a as We,b as qe,i as Fe}from"./index.e1962a6e.js";import{f as rt}from"./format-date.100c5f23.js";import{o as He}from"./format-time.66fea38b.js";import{s as Ht,a as Qt,b as zt,c as Re,g as Qe,d as _l,e as st,f as Jt,h as ml,i as at}from"./format-event-attributes.f0307b43.js";import{p as Be}from"./stores.1f7fa6eb.js";import{f as ne}from"./format-camel-case.960a78f9.js";import{m as je,f as ke}from"./route-for.5e008fb6.js";import{C as ze}from"./code-block.fc92cd67.js";import{L as Ce}from"./link.d5f6f19e.js";import{B as Le}from"./is-event-type.0064ca29.js";import{T as Xt,a as hl}from"./table-header-row.a7bab5a4.js";import{D as Yt}from"./dropdown-menu.abe6e484.js";import{c as vl,a as pl}from"./get-event-categorization.b6da7e5f.js";import{u as Zt}from"./pagination.c0661e6a.js";import{i as gl}from"./version-check.d006b302.js";import{e as it}from"./filters.2ba801c3.js";import{t as bl}from"./versions.dfa21225.js";import{E as kl}from"./empty-state.bf113865.js";import{L as $l}from"./loading.9b5a6a67.js";function wl(s){let e,l,t=ne(s[0])+"",n,r,o,i,c;return{c(){e=b("div"),l=b("p"),n=B(t),r=y(),o=b("p"),i=b("span"),c=B(s[1]),this.h()},l(a){e=k(a,"DIV",{class:!0});var f=$(e);l=k(f,"P",{class:!0});var u=$(l);n=M(u,t),u.forEach(_),r=A(f),o=k(f,"P",{class:!0});var d=$(o);i=k(d,"SPAN",{class:!0});var m=$(i);c=M(m,s[1]),m.forEach(_),d.forEach(_),f.forEach(_),this.h()},h(){g(l,"class","mr-3 truncate text-sm"),g(i,"class","w-full select-all text-gray-700 svelte-n4ehvt"),j(i,"badge",!Re(s[0])),g(o,"class","truncate text-right text-sm xl:text-left"),g(e,"class","flex w-full flex-wrap items-center gap-1 pr-1")},m(a,f){D(a,e,f),h(e,l),h(l,n),h(e,r),h(e,o),h(o,i),h(i,c)},p(a,f){f&1&&t!==(t=ne(a[0])+"")&&W(n,t),f&2&&W(c,a[1]),f&1&&j(i,"badge",!Re(a[0]))},i:Te,o:Te,d(a){a&&_(e)}}}function El(s){let e,l,t=ne(s[0])+"",n,r,o,i,c;return i=new Pe({props:{content:s[1],"container-class":"",$$slots:{default:[Pl]},$$scope:{ctx:s}}}),{c(){e=b("div"),l=b("p"),n=B(t),r=y(),o=b("div"),G(i.$$.fragment),this.h()},l(a){e=k(a,"DIV",{class:!0});var f=$(e);l=k(f,"P",{class:!0});var u=$(l);n=M(u,t),u.forEach(_),r=A(f),o=k(f,"DIV",{class:!0});var d=$(o);O(i.$$.fragment,d),d.forEach(_),f.forEach(_),this.h()},h(){g(l,"class","mr-3 truncate text-sm"),g(o,"class","truncate text-sm "),g(e,"class","flex w-full flex-wrap items-center gap-1 pr-1")},m(a,f){D(a,e,f),h(e,l),h(l,n),h(e,r),h(e,o),S(i,o,null),c=!0},p(a,f){(!c||f&1)&&t!==(t=ne(a[0])+"")&&W(n,t);const u={};f&2&&(u.content=a[1]),f&258&&(u.$$scope={dirty:f,ctx:a}),i.$set(u)},i(a){c||(p(i.$$.fragment,a),c=!0)},o(a){w(i.$$.fragment,a),c=!1},d(a){a&&_(e),N(i)}}}function Il(s){let e,l,t=ne(s[0])+"",n,r,o,i,c;return i=new Pe({props:{content:s[1],"container-class":"xl:flex-row",$$slots:{default:[yl]},$$scope:{ctx:s}}}),{c(){e=b("div"),l=b("p"),n=B(t),r=y(),o=b("div"),G(i.$$.fragment),this.h()},l(a){e=k(a,"DIV",{class:!0});var f=$(e);l=k(f,"P",{class:!0});var u=$(l);n=M(u,t),u.forEach(_),r=A(f),o=k(f,"DIV",{class:!0});var d=$(o);O(i.$$.fragment,d),d.forEach(_),f.forEach(_),this.h()},h(){g(l,"class","truncate text-sm"),g(o,"class","truncate text-sm"),g(e,"class","flex w-full flex-wrap items-center gap-1 pr-1")},m(a,f){D(a,e,f),h(e,l),h(l,n),h(e,r),h(e,o),S(i,o,null),c=!0},p(a,f){(!c||f&1)&&t!==(t=ne(a[0])+"")&&W(n,t);const u={};f&2&&(u.content=a[1]),f&262&&(u.$$scope={dirty:f,ctx:a}),i.$set(u)},i(a){c||(p(i.$$.fragment,a),c=!0)},o(a){w(i.$$.fragment,a),c=!1},d(a){a&&_(e),N(i)}}}function Dl(s){let e,l,t=ne(s[0])+"",n,r,o,i,c;return i=new Pe({props:{content:s[1],"container-class":" xl:flex-row",$$slots:{default:[Gl]},$$scope:{ctx:s}}}),{c(){e=b("div"),l=b("p"),n=B(t),r=y(),o=b("div"),G(i.$$.fragment),this.h()},l(a){e=k(a,"DIV",{class:!0});var f=$(e);l=k(f,"P",{class:!0});var u=$(l);n=M(u,t),u.forEach(_),r=A(f),o=k(f,"DIV",{class:!0});var d=$(o);O(i.$$.fragment,d),d.forEach(_),f.forEach(_),this.h()},h(){g(l,"class","mr-3 truncate text-sm"),g(o,"class","truncate text-sm"),g(e,"class","flex w-full flex-wrap items-center gap-1 pr-1")},m(a,f){D(a,e,f),h(e,l),h(l,n),h(e,r),h(e,o),S(i,o,null),c=!0},p(a,f){(!c||f&1)&&t!==(t=ne(a[0])+"")&&W(n,t);const u={};f&2&&(u.content=a[1]),f&258&&(u.$$scope={dirty:f,ctx:a}),i.$set(u)},i(a){c||(p(i.$$.fragment,a),c=!0)},o(a){w(i.$$.fragment,a),c=!1},d(a){a&&_(e),N(i)}}}function Tl(s){let e,l,t=ne(s[0])+"",n,r,o,i;return o=new ze({props:{content:Qe(s[1]),inline:s[3]}}),{c(){e=b("div"),l=b("p"),n=B(t),r=y(),G(o.$$.fragment),this.h()},l(c){e=k(c,"DIV",{class:!0});var a=$(e);l=k(a,"P",{class:!0});var f=$(l);n=M(f,t),f.forEach(_),r=A(a),O(o.$$.fragment,a),a.forEach(_),this.h()},h(){g(l,"class","min-w-fit text-sm"),g(e,"class","flex w-full flex-wrap items-center pr-1 xl:flex-nowrap xl:gap-4")},m(c,a){D(c,e,a),h(e,l),h(l,n),h(e,r),S(o,e,null),i=!0},p(c,a){(!i||a&1)&&t!==(t=ne(c[0])+"")&&W(n,t);const f={};a&2&&(f.content=Qe(c[1])),a&8&&(f.inline=c[3]),o.$set(f)},i(c){i||(p(o.$$.fragment,c),i=!0)},o(c){w(o.$$.fragment,c),i=!1},d(c){c&&_(e),N(o)}}}function Vl(s){let e;return{c(){e=B(s[1])},l(l){e=M(l,s[1])},m(l,t){D(l,e,t)},p(l,t){t&2&&W(e,l[1])},d(l){l&&_(e)}}}function Pl(s){let e,l;return e=new Ce({props:{class:"truncate",newTab:!0,href:je({namespace:s[5],queue:s[1]}),$$slots:{default:[Vl]},$$scope:{ctx:s}}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},p(t,n){const r={};n&2&&(r.href=je({namespace:t[5],queue:t[1]})),n&258&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function Cl(s){let e;return{c(){e=B(s[1])},l(l){e=M(l,s[1])},m(l,t){D(l,e,t)},p(l,t){t&2&&W(e,l[1])},d(l){l&&_(e)}}}function yl(s){let e,l;return e=new Ce({props:{class:"truncate",newTab:!0,href:ke({namespace:s[5],workflow:s[2].workflowExecutionWorkflowId,run:s[2].workflowExecutionRunId}),$$slots:{default:[Cl]},$$scope:{ctx:s}}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},p(t,n){const r={};n&4&&(r.href=ke({namespace:t[5],workflow:t[2].workflowExecutionWorkflowId,run:t[2].workflowExecutionRunId})),n&258&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function Al(s){let e;return{c(){e=B(s[1])},l(l){e=M(l,s[1])},m(l,t){D(l,e,t)},p(l,t){t&2&&W(e,l[1])},d(l){l&&_(e)}}}function Gl(s){let e,l;return e=new Ce({props:{class:"truncate",newTab:!0,href:ke({namespace:s[5],workflow:s[4],run:s[1]}),$$slots:{default:[Al]},$$scope:{ctx:s}}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},p(t,n){const r={};n&2&&(r.href=ke({namespace:t[5],workflow:t[4],run:t[1]})),n&258&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function Ol(s){let e,l,t,n,r,o,i,c;const a=[Tl,Dl,Il,El,wl],f=[];function u(d,m){return m&1&&(l=null),m&5&&(t=null),m&1&&(n=null),typeof d[1]=="object"?0:(l==null&&(l=!!Ht(d[0])),l?1:(t==null&&(t=!!Qt(d[0],d[2])),t?2:(n==null&&(n=!!zt(d[0])),n?3:4)))}return r=u(s,-1),o=f[r]=a[r](s),{c(){e=b("div"),o.c(),this.h()},l(d){e=k(d,"DIV",{class:!0});var m=$(e);o.l(m),m.forEach(_),this.h()},h(){g(e,"class",i="flex flex-row items-center gap-2 first:pt-0 last:border-b-0 xl:gap-4 "+s[6].class+" svelte-n4ehvt")},m(d,m){D(d,e,m),f[r].m(e,null),c=!0},p(d,[m]){let v=r;r=u(d,m),r===v?f[r].p(d,m):(Q(),w(f[v],1,1,()=>{f[v]=null}),z(),o=f[r],o?o.p(d,m):(o=f[r]=a[r](d),o.c()),p(o,1),o.m(e,null)),(!c||m&64&&i!==(i="flex flex-row items-center gap-2 first:pt-0 last:border-b-0 xl:gap-4 "+d[6].class+" svelte-n4ehvt"))&&g(e,"class",i)},i(d){c||(p(o),c=!0)},o(d){w(o),c=!1},d(d){d&&_(e),f[r].d()}}}function Sl(s,e,l){let t;ce(s,Be,f=>l(7,t=f));let{key:n}=e,{value:r}=e,{attributes:o}=e,{inline:i=!1}=e;const{workflow:c,namespace:a}=t.params;return s.$$set=f=>{l(6,e=we(we({},e),De(f))),"key"in f&&l(0,n=f.key),"value"in f&&l(1,r=f.value),"attributes"in f&&l(2,o=f.attributes),"inline"in f&&l(3,i=f.inline)},e=De(e),[n,r,o,i,c,a,e]}class Nl extends _e{constructor(e){super(),me(this,e,Sl,Ol,he,{key:0,value:1,attributes:2,inline:3})}}function Fl(s){let e,l,t=ne(s[0])+"",n,r,o,i,c;return{c(){e=b("div"),l=b("p"),n=B(t),r=y(),o=b("p"),i=b("span"),c=B(s[1]),this.h()},l(a){e=k(a,"DIV",{class:!0});var f=$(e);l=k(f,"P",{class:!0});var u=$(l);n=M(u,t),u.forEach(_),r=A(f),o=k(f,"P",{class:!0});var d=$(o);i=k(d,"SPAN",{class:!0});var m=$(i);c=M(m,s[1]),m.forEach(_),d.forEach(_),f.forEach(_),this.h()},h(){g(l,"class","text-sm"),g(i,"class","select-all px-2 svelte-cl0oev"),j(i,"badge",!Re(s[0])),g(o,"class","text-sm"),g(e,"class","content detail-row svelte-cl0oev")},m(a,f){D(a,e,f),h(e,l),h(l,n),h(e,r),h(e,o),h(o,i),h(i,c)},p(a,f){f&1&&t!==(t=ne(a[0])+"")&&W(n,t),f&2&&W(c,a[1]),f&1&&j(i,"badge",!Re(a[0]))},i:Te,o:Te,d(a){a&&_(e)}}}function Rl(s){let e,l,t=ne(s[0])+"",n,r,o,i,c;return i=new Pe({props:{content:s[1],"container-class":"xl:flex-row",$$slots:{default:[Ul]},$$scope:{ctx:s}}}),{c(){e=b("div"),l=b("p"),n=B(t),r=y(),o=b("div"),G(i.$$.fragment),this.h()},l(a){e=k(a,"DIV",{class:!0});var f=$(e);l=k(f,"P",{class:!0});var u=$(l);n=M(u,t),u.forEach(_),r=A(f),o=k(f,"DIV",{class:!0});var d=$(o);O(i.$$.fragment,d),d.forEach(_),f.forEach(_),this.h()},h(){g(l,"class","text-sm"),g(o,"class","text-sm"),g(e,"class","content detail-row svelte-cl0oev")},m(a,f){D(a,e,f),h(e,l),h(l,n),h(e,r),h(e,o),S(i,o,null),c=!0},p(a,f){(!c||f&1)&&t!==(t=ne(a[0])+"")&&W(n,t);const u={};f&2&&(u.content=a[1]),f&1026&&(u.$$scope={dirty:f,ctx:a}),i.$set(u)},i(a){c||(p(i.$$.fragment,a),c=!0)},o(a){w(i.$$.fragment,a),c=!1},d(a){a&&_(e),N(i)}}}function jl(s){let e,l,t=ne(s[0])+"",n,r,o,i,c;return i=new Pe({props:{content:s[1],"container-class":"xl:flex-row",$$slots:{default:[ql]},$$scope:{ctx:s}}}),{c(){e=b("div"),l=b("p"),n=B(t),r=y(),o=b("div"),G(i.$$.fragment),this.h()},l(a){e=k(a,"DIV",{class:!0});var f=$(e);l=k(f,"P",{class:!0});var u=$(l);n=M(u,t),u.forEach(_),r=A(f),o=k(f,"DIV",{class:!0});var d=$(o);O(i.$$.fragment,d),d.forEach(_),f.forEach(_),this.h()},h(){g(l,"class","text-sm"),g(o,"class","text-sm"),g(e,"class","content detail-row svelte-cl0oev")},m(a,f){D(a,e,f),h(e,l),h(l,n),h(e,r),h(e,o),S(i,o,null),c=!0},p(a,f){(!c||f&1)&&t!==(t=ne(a[0])+"")&&W(n,t);const u={};f&2&&(u.content=a[1]),f&1030&&(u.$$scope={dirty:f,ctx:a}),i.$set(u)},i(a){c||(p(i.$$.fragment,a),c=!0)},o(a){w(i.$$.fragment,a),c=!1},d(a){a&&_(e),N(i)}}}function Ll(s){let e,l,t=ne(s[0])+"",n,r,o,i,c;return i=new Pe({props:{content:s[1],"container-class":"flex-row-reverse xl:flex-row",$$slots:{default:[Ql]},$$scope:{ctx:s}}}),{c(){e=b("div"),l=b("p"),n=B(t),r=y(),o=b("div"),G(i.$$.fragment),this.h()},l(a){e=k(a,"DIV",{class:!0});var f=$(e);l=k(f,"P",{class:!0});var u=$(l);n=M(u,t),u.forEach(_),r=A(f),o=k(f,"DIV",{class:!0});var d=$(o);O(i.$$.fragment,d),d.forEach(_),f.forEach(_),this.h()},h(){g(l,"class","text-sm"),g(o,"class","text-sm"),g(e,"class","content detail-row svelte-cl0oev")},m(a,f){D(a,e,f),h(e,l),h(l,n),h(e,r),h(e,o),S(i,o,null),c=!0},p(a,f){(!c||f&1)&&t!==(t=ne(a[0])+"")&&W(n,t);const u={};f&2&&(u.content=a[1]),f&1026&&(u.$$scope={dirty:f,ctx:a}),i.$set(u)},i(a){c||(p(i.$$.fragment,a),c=!0)},o(a){w(i.$$.fragment,a),c=!1},d(a){a&&_(e),N(i)}}}function Bl(s){let e,l,t,n=ne(s[0])+"",r,o,i,c,a,f;i=new ze({props:{content:s[4],class:"h-auto "+(s[5]?"mb-2":"")+" max-h-96 overflow-auto",inline:s[3]}});let u=s[5]&&!s[3]&&ot(s);return{c(){e=b("div"),l=b("div"),t=b("p"),r=B(n),o=y(),G(i.$$.fragment),a=y(),u&&u.c(),this.h()},l(d){e=k(d,"DIV",{class:!0});var m=$(e);l=k(m,"DIV",{class:!0});var v=$(l);t=k(v,"P",{class:!0});var E=$(t);r=M(E,n),E.forEach(_),o=A(v),O(i.$$.fragment,v),v.forEach(_),a=A(m),u&&u.l(m),m.forEach(_),this.h()},h(){g(t,"class","text-sm"),g(l,"class",c="flex flex-col "+(s[5]?"lg:w-1/2":"")),g(e,"class","content code-block-row svelte-cl0oev"),j(e,"code-with-stack-trace",s[5])},m(d,m){D(d,e,m),h(e,l),h(l,t),h(t,r),h(l,o),S(i,l,null),h(e,a),u&&u.m(e,null),f=!0},p(d,m){(!f||m&1)&&n!==(n=ne(d[0])+"")&&W(r,n);const v={};m&16&&(v.content=d[4]),m&32&&(v.class="h-auto "+(d[5]?"mb-2":"")+" max-h-96 overflow-auto"),m&8&&(v.inline=d[3]),i.$set(v),(!f||m&32&&c!==(c="flex flex-col "+(d[5]?"lg:w-1/2":"")))&&g(l,"class",c),d[5]&&!d[3]?u?(u.p(d,m),m&40&&p(u,1)):(u=ot(d),u.c(),p(u,1),u.m(e,null)):u&&(Q(),w(u,1,1,()=>{u=null}),z()),(!f||m&32)&&j(e,"code-with-stack-trace",d[5])},i(d){f||(p(i.$$.fragment,d),p(u),f=!0)},o(d){w(i.$$.fragment,d),w(u),f=!1},d(d){d&&_(e),N(i),u&&u.d()}}}function Ml(s){let e;return{c(){e=B(s[1])},l(l){e=M(l,s[1])},m(l,t){D(l,e,t)},p(l,t){t&2&&W(e,l[1])},d(l){l&&_(e)}}}function Ul(s){let e,l;return e=new Ce({props:{newTab:!0,href:je({namespace:s[7],queue:s[1]}),$$slots:{default:[Ml]},$$scope:{ctx:s}}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},p(t,n){const r={};n&2&&(r.href=je({namespace:t[7],queue:t[1]})),n&1026&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function Wl(s){let e;return{c(){e=B(s[1])},l(l){e=M(l,s[1])},m(l,t){D(l,e,t)},p(l,t){t&2&&W(e,l[1])},d(l){l&&_(e)}}}function ql(s){var t;let e,l;return e=new Ce({props:{newTab:!0,href:ke({namespace:((t=s[2])==null?void 0:t.namespace)||s[7],workflow:s[2].workflowExecutionWorkflowId,run:s[2].workflowExecutionRunId}),$$slots:{default:[Wl]},$$scope:{ctx:s}}}),{c(){G(e.$$.fragment)},l(n){O(e.$$.fragment,n)},m(n,r){S(e,n,r),l=!0},p(n,r){var i;const o={};r&4&&(o.href=ke({namespace:((i=n[2])==null?void 0:i.namespace)||n[7],workflow:n[2].workflowExecutionWorkflowId,run:n[2].workflowExecutionRunId})),r&1026&&(o.$$scope={dirty:r,ctx:n}),e.$set(o)},i(n){l||(p(e.$$.fragment,n),l=!0)},o(n){w(e.$$.fragment,n),l=!1},d(n){N(e,n)}}}function Hl(s){let e;return{c(){e=B(s[1])},l(l){e=M(l,s[1])},m(l,t){D(l,e,t)},p(l,t){t&2&&W(e,l[1])},d(l){l&&_(e)}}}function Ql(s){let e,l;return e=new Ce({props:{newTab:!0,href:ke({namespace:s[7],workflow:s[6],run:s[1]}),$$slots:{default:[Hl]},$$scope:{ctx:s}}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},p(t,n){const r={};n&2&&(r.href=ke({namespace:t[7],workflow:t[6],run:t[1]})),n&1026&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function ot(s){let e,l,t,n,r,o;return r=new ze({props:{content:s[5],class:"mb-2 h-full lg:pr-2",language:"text"}}),{c(){e=b("div"),l=b("p"),t=B("Stack trace"),n=y(),G(r.$$.fragment),this.h()},l(i){e=k(i,"DIV",{class:!0});var c=$(e);l=k(c,"P",{class:!0});var a=$(l);t=M(a,"Stack trace"),a.forEach(_),n=A(c),O(r.$$.fragment,c),c.forEach(_),this.h()},h(){g(l,"class","text-sm"),g(e,"class","flex flex-col lg:w-1/2")},m(i,c){D(i,e,c),h(e,l),h(l,t),h(e,n),S(r,e,null),o=!0},p(i,c){const a={};c&32&&(a.content=i[5]),r.$set(a)},i(i){o||(p(r.$$.fragment,i),o=!0)},o(i){w(r.$$.fragment,i),o=!1},d(i){i&&_(e),N(r)}}}function zl(s){let e,l,t,n,r,o,i,c;const a=[Bl,Ll,jl,Rl,Fl],f=[];function u(d,m){return m&1&&(l=null),m&5&&(t=null),m&1&&(n=null),typeof d[1]=="object"?0:(l==null&&(l=!!Ht(d[0])),l?1:(t==null&&(t=!!Qt(d[0],d[2])),t?2:(n==null&&(n=!!zt(d[0])),n?3:4)))}return r=u(s,-1),o=f[r]=a[r](s),{c(){e=b("div"),o.c(),this.h()},l(d){e=k(d,"DIV",{class:!0});var m=$(e);o.l(m),m.forEach(_),this.h()},h(){g(e,"class",i="row "+s[8].class+" svelte-cl0oev")},m(d,m){D(d,e,m),f[r].m(e,null),c=!0},p(d,[m]){let v=r;r=u(d,m),r===v?f[r].p(d,m):(Q(),w(f[v],1,1,()=>{f[v]=null}),z(),o=f[r],o?o.p(d,m):(o=f[r]=a[r](d),o.c()),p(o,1),o.m(e,null)),(!c||m&256&&i!==(i="row "+d[8].class+" svelte-cl0oev"))&&g(e,"class",i)},i(d){c||(p(o),c=!0)},o(d){w(o),c=!1},d(d){d&&_(e),f[r].d()}}}function Jl(s,e,l){let t,n,r;ce(s,Be,d=>l(9,r=d));let{key:o}=e,{value:i}=e,{attributes:c}=e,{inline:a=!1}=e;const{workflow:f,namespace:u}=r.params;return s.$$set=d=>{l(8,e=we(we({},e),De(d))),"key"in d&&l(0,o=d.key),"value"in d&&l(1,i=d.value),"attributes"in d&&l(2,c=d.attributes),"inline"in d&&l(3,a=d.inline)},s.$$.update=()=>{s.$$.dirty&2&&l(4,t=Qe(i)),s.$$.dirty&16&&l(5,n=_l(t))},e=De(e),[o,i,c,a,t,n,f,u,e]}class Kt extends _e{constructor(e){super(),me(this,e,Jl,zl,he,{key:0,value:1,attributes:2,inline:3})}}function ft(s){let e,l,t;return l=new ve({props:{name:s[1]?"spinner":s[3]}}),{c(){e=b("span"),G(l.$$.fragment),this.h()},l(n){e=k(n,"SPAN",{});var r=$(e);O(l.$$.fragment,r),r.forEach(_),this.h()},h(){j(e,"animate-spin",s[1])},m(n,r){D(n,e,r),S(l,e,null),t=!0},p(n,r){const o={};r&10&&(o.name=n[1]?"spinner":n[3]),l.$set(o),(!t||r&2)&&j(e,"animate-spin",n[1])},i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){w(l.$$.fragment,n),t=!1},d(n){n&&_(e),N(l)}}}function Xl(s){let e,l,t,n,r,o,i=s[3]&&ft(s);const c=s[7].default,a=jt(c,s,s[6],null);return{c(){e=b("button"),i&&i.c(),l=y(),a&&a.c(),this.h()},l(f){e=k(f,"BUTTON",{class:!0});var u=$(e);i&&i.l(u),l=A(u),a&&a.l(u),u.forEach(_),this.h()},h(){g(e,"class",t=nt(`pill ${s[5]} ${s[4]}`)+" svelte-czm4v2"),e.disabled=s[0],j(e,"active",s[2])},m(f,u){D(f,e,u),i&&i.m(e,null),h(e,l),a&&a.m(e,null),n=!0,r||(o=$e(e,"click",s[8]),r=!0)},p(f,[u]){f[3]?i?(i.p(f,u),u&8&&p(i,1)):(i=ft(f),i.c(),p(i,1),i.m(e,l)):i&&(Q(),w(i,1,1,()=>{i=null}),z()),a&&a.p&&(!n||u&64)&&Lt(a,c,f,f[6],n?Mt(c,f[6],u,null):Bt(f[6]),null),(!n||u&48&&t!==(t=nt(`pill ${f[5]} ${f[4]}`)+" svelte-czm4v2"))&&g(e,"class",t),(!n||u&1)&&(e.disabled=f[0]),(!n||u&52)&&j(e,"active",f[2])},i(f){n||(p(i),p(a,f),n=!0)},o(f){w(i),w(a,f),n=!1},d(f){f&&_(e),i&&i.d(),a&&a.d(f),r=!1,o()}}}function Yl(s,e,l){let{$$slots:t={},$$scope:n}=e,{disabled:r=!1}=e,{loading:o=!1}=e,{active:i=!1}=e,{icon:c=null}=e,{classes:a=e.class}=e,{color:f="gray"}=e;function u(d){el.call(this,s,d)}return s.$$set=d=>{l(9,e=we(we({},e),De(d))),"disabled"in d&&l(0,r=d.disabled),"loading"in d&&l(1,o=d.loading),"active"in d&&l(2,i=d.active),"icon"in d&&l(3,c=d.icon),"classes"in d&&l(4,a=d.classes),"color"in d&&l(5,f=d.color),"$$scope"in d&&l(6,n=d.$$scope)},e=De(e),[r,o,i,c,a,f,n,t,u]}class Zl extends _e{constructor(e){super(),me(this,e,Yl,Xl,he,{disabled:0,loading:1,active:2,icon:3,classes:4,color:5})}}function ct(s,e,l){const t=s.slice();t[5]=e[l][0],t[6]=e[l][1];const n=t[1]===t[5];return t[7]=n,t}function ut(s){let e,l,t=[],n=new Map,r,o=Object.entries(s[0]);const i=c=>c[5];for(let c=0;c{r=null}),z())},i(o){n||(p(r),n=!0)},o(o){w(r),n=!1},d(o){o&&_(l),r&&r.d(o),o&&_(t)}}}function xl(s){let e,l,t=s[2]>1&&ut(s);return{c(){t&&t.c(),e=le()},l(n){t&&t.l(n),e=le()},m(n,r){t&&t.m(n,r),D(n,e,r),l=!0},p(n,[r]){n[2]>1?t?(t.p(n,r),r&4&&p(t,1)):(t=ut(n),t.c(),p(t,1),t.m(e.parentNode,e)):t&&(Q(),w(t,1,1,()=>{t=null}),z())},i(n){l||(p(t),l=!0)},o(n){w(t),l=!1},d(n){t&&t.d(n),n&&_(e)}}}function en(s,e,l){let t,{attributeGrouping:n}=e,{activePill:r}=e;const o=Ut(),i=c=>o("pillChange",{key:c});return s.$$set=c=>{"attributeGrouping"in c&&l(0,n=c.attributeGrouping),"activePill"in c&&l(1,r=c.activePill)},s.$$.update=()=>{s.$$.dirty&1&&l(2,t=Object.values(n).reduce((c,a)=>(a.length&&(c+=1),c),0))},[n,r,t,o,i]}class xt extends _e{constructor(e){super(),me(this,e,en,xl,he,{attributeGrouping:0,activePill:1})}}function mt(s,e,l){const t=s.slice();return t[4]=e[l][0],t[5]=e[l][1],t}function ht(s,e){let l,t,n,r,o,i=e[4]+"",c,a,f,u,d=(Le(e[5])?"LocalActivity":e[5].eventType)+"",m,v,E,I,U,q;function Z(){return e[3](e[4])}return{key:s,first:null,c(){l=b("tr"),t=b("td"),n=y(),r=b("td"),o=b("p"),c=B(i),a=y(),f=b("td"),u=b("p"),m=B(d),v=y(),E=b("td"),I=y(),this.h()},l(T){l=k(T,"TR",{class:!0});var P=$(l);t=k(P,"TD",{class:!0}),$(t).forEach(_),n=A(P),r=k(P,"TD",{class:!0});var K=$(r);o=k(K,"P",{class:!0});var J=$(o);c=M(J,i),J.forEach(_),K.forEach(_),a=A(P),f=k(P,"TD",{});var X=$(f);u=k(X,"P",{class:!0});var x=$(u);m=M(x,d),x.forEach(_),X.forEach(_),v=A(P),E=k(P,"TD",{}),$(E).forEach(_),I=A(P),P.forEach(_),this.h()},h(){g(t,"class","w-1/12"),g(o,"class","truncate text-sm text-gray-500 md:text-base"),g(r,"class","w-24"),g(u,"class","event-type truncate text-sm md:text-base svelte-1joe2mb"),g(l,"class","row svelte-1joe2mb"),j(l,"active",e[4]===e[1]),j(l,"failure",Ue(e[5])),j(l,"canceled",We(e[5])),j(l,"terminated",qe(e[5])),this.first=l},m(T,P){D(T,l,P),h(l,t),h(l,n),h(l,r),h(r,o),h(o,c),h(l,a),h(l,f),h(f,u),h(u,m),h(l,v),h(l,E),h(l,I),U||(q=$e(l,"click",Wt(ll(Z))),U=!0)},p(T,P){e=T,P&1&&i!==(i=e[4]+"")&&W(c,i),P&1&&d!==(d=(Le(e[5])?"LocalActivity":e[5].eventType)+"")&&W(m,d),P&3&&j(l,"active",e[4]===e[1]),P&1&&j(l,"failure",Ue(e[5])),P&1&&j(l,"canceled",We(e[5])),P&1&&j(l,"terminated",qe(e[5]))},d(T){T&&_(l),U=!1,q()}}}function tn(s){let e=[],l=new Map,t,n=[...s[0].events].reverse();const r=o=>o[4];for(let o=0;or(i);return s.$$set=i=>{"eventGroup"in i&&l(0,t=i.eventGroup),"selectedId"in i&&l(1,n=i.selectedId),"onGroupClick"in i&&l(2,r=i.onGroupClick)},[t,n,r,o]}class rn extends _e{constructor(e){super(),me(this,e,nn,ln,he,{eventGroup:0,selectedId:1,onGroupClick:2})}}function vt(s,e,l){const t=s.slice();return t[10]=e[l][0],t[11]=e[l][1],t}function pt(s,e,l){const t=s.slice();return t[10]=e[l][0],t[11]=e[l][1],t}function sn(s){let e,l,t,n=[],r=new Map,o;l=new xt({props:{attributeGrouping:s[4],activePill:s[5]}}),l.$on("pillChange",s[7]);let i=s[6];const c=a=>a[10];for(let a=0;ad[10];for(let d=0;d{o=null}),z())},i(c){r||(p(o),r=!0)},o(c){w(o),r=!1},d(c){c&&_(l),o&&o.d(c),c&&_(n)}}}function kt(s){let e,l;return e=new Kt({props:{key:s[10],value:s[11],attributes:s[3],class:"w-full"}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},p(t,n){const r={};n&64&&(r.key=t[10]),n&64&&(r.value=t[11]),n&8&&(r.attributes=t[3]),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function $t(s,e){var i;let l,t=(i=e[4][e[5]])==null?void 0:i.includes(e[10]),n,r,o=t&&kt(e);return{key:s,first:null,c(){l=le(),o&&o.c(),n=le(),this.h()},l(c){l=le(),o&&o.l(c),n=le(),this.h()},h(){this.first=l},m(c,a){D(c,l,a),o&&o.m(c,a),D(c,n,a),r=!0},p(c,a){var f;e=c,a&112&&(t=(f=e[4][e[5]])==null?void 0:f.includes(e[10])),t?o?(o.p(e,a),a&112&&p(o,1)):(o=kt(e),o.c(),p(o,1),o.m(n.parentNode,n)):o&&(Q(),w(o,1,1,()=>{o=null}),z())},i(c){r||(p(o),r=!0)},o(c){w(o),r=!1},d(c){c&&_(l),o&&o.d(c),c&&_(n)}}}function on(s){let e,l,t,n,r;const o=[an,sn],i=[];function c(a,f){return f&6&&(e=null),e==null&&(e=!!(a[2]&&Fe(a[1]))),e?0:1}return l=c(s,-1),t=i[l]=o[l](s),{c(){t.c(),n=le()},l(a){t.l(a),n=le()},m(a,f){i[l].m(a,f),D(a,n,f),r=!0},p(a,[f]){let u=l;l=c(a,f),l===u?i[l].p(a,f):(Q(),w(i[u],1,1,()=>{i[u]=null}),z(),t=i[l],t?t.p(a,f):(t=i[l]=o[l](a),t.c()),p(t,1),t.m(n.parentNode,n))},i(a){r||(p(t),r=!0)},o(a){w(t),r=!1},d(a){i[l].d(a),a&&_(n)}}}function fn(s,e,l){let t,n,r,o,{event:i}=e,{currentEvent:c}=e,{compact:a=!1}=e,{selectedId:f}=e;const u=m=>{l(5,r=m.detail.key)},d=m=>l(0,f=m);return s.$$set=m=>{"event"in m&&l(1,i=m.event),"currentEvent"in m&&l(9,c=m.currentEvent),"compact"in m&&l(2,a=m.compact),"selectedId"in m&&l(0,f=m.selectedId)},s.$$.update=()=>{s.$$.dirty&516&&l(3,t=Jt(c,{compact:a})),s.$$.dirty&10&&l(4,n=ml(i,t)),s.$$.dirty&16&&l(5,r=Object.keys(n).find(m=>n[m].length)),s.$$.dirty&8&&l(6,o=Object.entries(t))},[f,i,a,t,n,r,o,u,d,c]}class cn extends _e{constructor(e){super(),me(this,e,fn,on,he,{event:1,currentEvent:9,compact:2,selectedId:0})}}function un(s){var t;let e=rt((t=s[0])==null?void 0:t.eventTime,s[12])+"",l;return{c(){l=B(e)},l(n){l=M(n,e)},m(n,r){D(n,l,r)},p(n,r){var o;r&4097&&e!==(e=rt((o=n[0])==null?void 0:o.eventTime,n[12])+"")&&W(l,e)},d(n){n&&_(l)}}}function dn(s){let e=He({start:s[1].eventTime,end:s[7].eventTime})+"",l,t,n;return{c(){l=B(e),t=y(),n=B(s[9])},l(r){l=M(r,e),t=A(r),n=M(r,s[9])},m(r,o){D(r,l,o),D(r,t,o),D(r,n,o)},p(r,o){o&130&&e!==(e=He({start:r[1].eventTime,end:r[7].eventTime})+"")&&W(l,e),o&512&&W(n,r[9])},d(r){r&&_(l),r&&_(t),r&&_(n)}}}function wt(s){let e,l;return e=new ve({props:{class:"mr-1.5 inline text-red-700",name:"clock"}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function Et(s){let e,l;return e=new ve({props:{class:"mr-1.5 inline text-yellow-700",name:"clock"}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function It(s){let e,l;return e=new ve({props:{class:"mr-1.5 inline text-pink-700",name:"clock"}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function Dt(s){let e,l;const t=[at(s[7]),{attributes:s[10]},{class:"invisible h-0 w-0 md:visible md:h-auto md:w-auto"},{inline:!0}];let n={};for(let r=0;ral(t,"selectedId",i)),{c(){e=b("tr"),l=b("td"),G(t.$$.fragment),this.h()},l(a){e=k(a,"TR",{class:!0});var f=$(e);l=k(f,"TD",{class:!0,colspan:!0});var u=$(l);O(t.$$.fragment,u),u.forEach(_),f.forEach(_),this.h()},h(){g(l,"class","expanded-cell svelte-aaifo7"),g(l,"colspan","6"),g(e,"class","svelte-aaifo7"),j(e,"typedError",s[4])},m(a,f){D(a,e,f),h(e,l),S(t,l,null),o=!0},p(a,f){const u={};f&1&&(u.event=a[0]),f&128&&(u.currentEvent=a[7]),f&4&&(u.compact=a[2]),!n&&f&64&&(n=!0,u.selectedId=a[6],il(()=>n=!1)),t.$set(u),(!o||f&16)&&j(e,"typedError",a[4])},i(a){o||(p(t.$$.fragment,a),a&&(r||ol(()=>{r=fl(e,cl,{}),r.start()})),o=!0)},o(a){w(t.$$.fragment,a),o=!1},d(a){a&&_(e),N(t)}}}function _n(s){let e,l,t,n,r,o,i=s[0].id+"",c,a,f,u,d,m,v,E,I,U,q,Z,T=(Le(s[0])?"LocalActivity":s[0].name)+"",P,K,J,X,x,fe,pe,F,oe,H,R,V,Y,ue,ie,Ie,ye;function ge(C,L){return C[11]?dn:un}let Ge=ge(s),de=Ge(s),re=s[2]&&s[14]&&wt(),se=s[2]&&s[15]&&Et(),ae=s[2]&&s[16]&&It(),ee=!s[8]&&Dt(s);F=new ve({props:{class:"inline",name:s[8]?"chevron-up":"chevron-down"}});let te=s[8]&&Tt(s);return{c(){e=b("tr"),l=b("td"),t=y(),n=b("td"),r=b("a"),o=b("p"),c=B(i),f=y(),u=b("td"),d=b("p"),de.c(),m=y(),v=b("td"),E=b("div"),re&&re.c(),I=y(),se&&se.c(),U=y(),ae&&ae.c(),q=y(),Z=b("p"),P=B(T),K=y(),J=b("td"),X=b("div"),x=b("div"),ee&&ee.c(),fe=y(),pe=b("div"),G(F.$$.fragment),oe=y(),H=b("td"),Y=y(),te&&te.c(),ue=le(),this.h()},l(C){e=k(C,"TR",{class:!0,id:!0,"aria-expanded":!0,"data-testid":!0});var L=$(e);l=k(L,"TD",{}),$(l).forEach(_),t=A(L),n=k(L,"TD",{class:!0});var Ae=$(n);r=k(Ae,"A",{class:!0,href:!0});var Je=$(r);o=k(Je,"P",{class:!0});var Xe=$(o);c=M(Xe,i),Xe.forEach(_),Je.forEach(_),Ae.forEach(_),f=A(L),u=k(L,"TD",{class:!0});var Ye=$(u);d=k(Ye,"P",{class:!0});var Ze=$(d);de.l(Ze),Ze.forEach(_),Ye.forEach(_),m=A(L),v=k(L,"TD",{class:!0});var Ke=$(v);E=k(Ke,"DIV",{class:!0});var be=$(E);re&&re.l(be),I=A(be),se&&se.l(be),U=A(be),ae&&ae.l(be),q=A(be),Z=k(be,"P",{class:!0});var xe=$(Z);P=M(xe,T),xe.forEach(_),be.forEach(_),Ke.forEach(_),K=A(L),J=k(L,"TD",{class:!0});var et=$(J);X=k(et,"DIV",{class:!0});var Oe=$(X);x=k(Oe,"DIV",{class:!0});var tt=$(x);ee&&ee.l(tt),tt.forEach(_),fe=A(Oe),pe=k(Oe,"DIV",{});var lt=$(pe);O(F.$$.fragment,lt),lt.forEach(_),Oe.forEach(_),et.forEach(_),oe=A(L),H=k(L,"TD",{}),$(H).forEach(_),L.forEach(_),Y=A(C),te&&te.l(C),ue=le(),this.h()},h(){g(o,"class","truncate"),g(r,"class","text-sm text-gray-500 md:text-base"),g(r,"href",a="#"+s[0].id),g(n,"class","w-24 text-left"),g(d,"class","break-word truncate text-sm md:whitespace-normal md:text-base"),g(u,"class","text-left"),g(Z,"class","event-name truncate text-sm font-semibold md:text-base svelte-aaifo7"),g(E,"class","flex"),g(v,"class","text-right text-sm font-normal xl:text-left"),g(x,"class","grow truncate"),g(X,"class","flex w-full items-center justify-between"),g(J,"class","overflow-hidden"),g(e,"class","row svelte-aaifo7"),g(e,"id",R=s[0].id),g(e,"aria-expanded",V=s[8]||s[3]),g(e,"data-testid","event-summary-row"),j(e,"expanded",s[8]&&!s[3]),j(e,"active",s[5]),j(e,"failure",s[14]),j(e,"canceled",s[15]),j(e,"terminated",s[16]),j(e,"typedError",s[4])},m(C,L){D(C,e,L),h(e,l),h(e,t),h(e,n),h(n,r),h(r,o),h(o,c),h(e,f),h(e,u),h(u,d),de.m(d,null),h(e,m),h(e,v),h(v,E),re&&re.m(E,null),h(E,I),se&&se.m(E,null),h(E,U),ae&&ae.m(E,null),h(E,q),h(E,Z),h(Z,P),h(e,K),h(e,J),h(J,X),h(X,x),ee&&ee.m(x,null),h(X,fe),h(X,pe),S(F,pe,null),h(e,oe),h(e,H),D(C,Y,L),te&&te.m(C,L),D(C,ue,L),ie=!0,Ie||(ye=$e(e,"click",Wt(s[13])),Ie=!0)},p(C,[L]){(!ie||L&1)&&i!==(i=C[0].id+"")&&W(c,i),(!ie||L&1&&a!==(a="#"+C[0].id))&&g(r,"href",a),Ge===(Ge=ge(C))&&de?de.p(C,L):(de.d(1),de=Ge(C),de&&(de.c(),de.m(d,null))),C[2]&&C[14]?re?L&4&&p(re,1):(re=wt(),re.c(),p(re,1),re.m(E,I)):re&&(Q(),w(re,1,1,()=>{re=null}),z()),C[2]&&C[15]?se?L&4&&p(se,1):(se=Et(),se.c(),p(se,1),se.m(E,U)):se&&(Q(),w(se,1,1,()=>{se=null}),z()),C[2]&&C[16]?ae?L&4&&p(ae,1):(ae=It(),ae.c(),p(ae,1),ae.m(E,q)):ae&&(Q(),w(ae,1,1,()=>{ae=null}),z()),(!ie||L&1)&&T!==(T=(Le(C[0])?"LocalActivity":C[0].name)+"")&&W(P,T),C[8]?ee&&(Q(),w(ee,1,1,()=>{ee=null}),z()):ee?(ee.p(C,L),L&256&&p(ee,1)):(ee=Dt(C),ee.c(),p(ee,1),ee.m(x,null));const Ae={};L&256&&(Ae.name=C[8]?"chevron-up":"chevron-down"),F.$set(Ae),(!ie||L&1&&R!==(R=C[0].id))&&g(e,"id",R),(!ie||L&264&&V!==(V=C[8]||C[3]))&&g(e,"aria-expanded",V),(!ie||L&264)&&j(e,"expanded",C[8]&&!C[3]),(!ie||L&32)&&j(e,"active",C[5]),(!ie||L&16)&&j(e,"typedError",C[4]),C[8]?te?(te.p(C,L),L&256&&p(te,1)):(te=Tt(C),te.c(),p(te,1),te.m(ue.parentNode,ue)):te&&(Q(),w(te,1,1,()=>{te=null}),z())},i(C){ie||(p(re),p(se),p(ae),p(ee),p(F.$$.fragment,C),p(te),ie=!0)},o(C){w(re),w(se),w(ae),w(ee),w(F.$$.fragment,C),w(te),ie=!1},d(C){C&&_(e),de.d(),re&&re.d(),se&&se.d(),ae&&ae.d(),ee&&ee.d(),N(F),C&&_(Y),te&&te.d(C),C&&_(ue),Ie=!1,ye()}}}function mn(s,e,l){let t,n,r,o,i,c,a,f,u,d;ce(s,Ne,F=>l(22,f=F)),ce(s,Me,F=>l(23,u=F)),ce(s,qt,F=>l(12,d=F));var m;let{event:v}=e,{visibleItems:E}=e,{initialItem:I}=e,{compact:U=!1}=e,{expandAll:q=!1}=e,{typedError:Z=!1}=e,{active:T=!1}=e,{onRowClick:P=Te}=e,K=Fe(v)?Array.from(v.events.keys()).pop():v.id;const J=()=>{l(8,t=!t),P()},X=Ue(v),x=We(v),fe=qe(v);function pe(F){K=F,l(6,K)}return s.$$set=F=>{"event"in F&&l(0,v=F.event),"visibleItems"in F&&l(17,E=F.visibleItems),"initialItem"in F&&l(1,I=F.initialItem),"compact"in F&&l(2,U=F.compact),"expandAll"in F&&l(3,q=F.expandAll),"typedError"in F&&l(4,Z=F.typedError),"active"in F&&l(5,T=F.active),"onRowClick"in F&&l(18,P=F.onRowClick)},s.$$.update=()=>{if(s.$$.dirty&40&&l(8,t=q||T),s.$$.dirty&65&&l(7,n=Fe(v)?v.events.get(K):v),s.$$.dirty&8388608&&l(20,r=u==="descending"),s.$$.dirty&4194304&&l(21,o=f==="true"),s.$$.dirty&2097155&&l(11,i=o&&I&&v.id!==I.id),s.$$.dirty&5&&l(10,c=Jt(v,{compact:U})),s.$$.dirty&1704065){const F=E.indexOf(v),oe=E[F-1];if(oe){const H=He({start:Fe(oe)?l(19,m=oe==null?void 0:oe.initialEvent)===null||m===void 0?void 0:m.eventTime:oe==null?void 0:oe.eventTime,end:n==null?void 0:n.eventTime});l(9,a=H?`(${r?"-":"+"}${H})`:"")}}},l(9,a=""),[v,I,U,q,Z,T,K,n,t,a,c,i,d,J,X,x,fe,E,P,m,r,o,f,u,pe]}class sr extends _e{constructor(e){super(),me(this,e,mn,_n,he,{event:0,visibleItems:17,initialItem:1,compact:2,expandAll:3,typedError:4,active:5,onRowClick:18})}}function Vt(s,e,l){const t=s.slice();return t[2]=e[l].label,t[11]=e[l].option,t}function Pt(s){let e,l;return e=new ve({props:{name:"checkmark"}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function Ct(s,e){let l,t,n,r,o=e[2]+"",i,c,a,f,u,d=e[1]===e[11]&&Pt();function m(){return e[8](e[11])}return{key:s,first:null,c(){l=b("div"),t=b("div"),d&&d.c(),n=y(),r=b("button"),i=B(o),c=y(),this.h()},l(v){l=k(v,"DIV",{class:!0});var E=$(l);t=k(E,"DIV",{class:!0});var I=$(t);d&&d.l(I),I.forEach(_),n=A(E),r=k(E,"BUTTON",{"data-testid":!0});var U=$(r);i=M(U,o),U.forEach(_),c=A(E),E.forEach(_),this.h()},h(){g(t,"class","check active svelte-1rp7hf"),g(r,"data-testid","event-category-option"),g(l,"class","option svelte-1rp7hf"),j(l,"active",e[1]===e[11]),this.first=l},m(v,E){D(v,l,E),h(l,t),d&&d.m(t,null),h(l,n),h(l,r),h(r,i),h(l,c),a=!0,f||(u=$e(r,"click",m),f=!0)},p(v,E){e=v,e[1]===e[11]?d?E&3&&p(d,1):(d=Pt(),d.c(),p(d,1),d.m(t,null)):d&&(Q(),w(d,1,1,()=>{d=null}),z()),(!a||E&1)&&o!==(o=e[2]+"")&&W(i,o),(!a||E&3)&&j(l,"active",e[1]===e[11])},i(v){a||(p(d),a=!0)},o(v){w(d),a=!1},d(v){v&&_(l),d&&d.d(),f=!1,u()}}}function hn(s){let e,l=[],t=new Map,n,r=s[0];const o=i=>i[11];for(let i=0;il(9,r=v)),ce(s,Be,v=>l(7,o=v)),ce(s,bl,v=>l(10,i=v));var c,a;let{compact:f=!1}=e,u=f?vl:pl;gl("1.21",i)&&(u=u.filter(({option:v})=>v!=="update"));const d=v=>{l(1,n=v)},m=v=>d(v);return s.$$set=v=>{"compact"in v&&l(4,f=v.compact)},s.$$.update=()=>{s.$$.dirty&16&&l(2,t=f?"Event Type":"Workflow Events"),s.$$.dirty&224&&l(1,n=l(6,a=l(5,c=o.url)===null||c===void 0?void 0:c.searchParams)===null||a===void 0?void 0:a.get(yt)),s.$$.dirty&131&&Zt({parameter:yt,value:n,url:o.url}).then(v=>{var E,I;const U=u.find(({option:q})=>q===v);l(1,n=(I=(E=U==null?void 0:U.option)===null||E===void 0?void 0:E.toString())!==null&&I!==void 0?I:null),Se(it,r=n,r)})},[u,n,t,d,f,c,a,o,m]}class bn extends _e{constructor(e){super(),me(this,e,gn,pn,he,{compact:4})}}const kn=({compact:s,timeFormat:e,sortOrder:l,showElapsed:t})=>{if(!((s||l==="descending")&&e==="UTC"&&t==="false"))return`${l}:${e}:${t}`};function At(s,e,l){const t=s.slice();return t[13]=e[l].label,t[14]=e[l].option,t}function Gt(s,e,l){const t=s.slice();return t[14]=e[l].option,t[13]=e[l].label,t}function Ot(s){let e,l;return e=new ve({props:{name:"checkmark"}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function St(s,e){let l,t,n,r,o=e[13]+"",i,c,a,f,u=e[1]===e[14]&&Ot();function d(){return e[10](e[14])}return{key:s,first:null,c(){l=b("div"),t=b("div"),u&&u.c(),n=y(),r=b("button"),i=B(o),this.h()},l(m){l=k(m,"DIV",{class:!0});var v=$(l);t=k(v,"DIV",{class:!0});var E=$(t);u&&u.l(E),E.forEach(_),n=A(v),r=k(v,"BUTTON",{});var I=$(r);i=M(I,o),I.forEach(_),v.forEach(_),this.h()},h(){g(t,"class","check active svelte-1rp7hf"),g(l,"class","option svelte-1rp7hf"),j(l,"active",e[1]===e[14]),this.first=l},m(m,v){D(m,l,v),h(l,t),u&&u.m(t,null),h(l,n),h(l,r),h(r,i),c=!0,a||(f=$e(r,"click",d),a=!0)},p(m,v){e=m,e[1]===e[14]?u?v&2&&p(u,1):(u=Ot(),u.c(),p(u,1),u.m(t,null)):u&&(Q(),w(u,1,1,()=>{u=null}),z()),(!c||v&18)&&j(l,"active",e[1]===e[14])},i(m){c||(p(u),c=!0)},o(m){w(u),c=!1},d(m){m&&_(l),u&&u.d(),a=!1,f()}}}function Nt(s){let e,l;return e=new ve({props:{name:"checkmark"}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function Ft(s,e){let l,t,n,r,o=e[13]+"",i,c,a,f,u=e[2]===e[14]&&Nt();function d(){return e[11](e[14])}return{key:s,first:null,c(){l=b("div"),t=b("div"),u&&u.c(),n=y(),r=b("button"),i=B(o),this.h()},l(m){l=k(m,"DIV",{class:!0});var v=$(l);t=k(v,"DIV",{class:!0});var E=$(t);u&&u.l(E),E.forEach(_),n=A(v),r=k(v,"BUTTON",{"data-testid":!0});var I=$(r);i=M(I,o),I.forEach(_),v.forEach(_),this.h()},h(){g(t,"class","check active svelte-1rp7hf"),g(r,"data-testid","event-date-filter-"+e[14]),g(l,"class","option svelte-1rp7hf"),j(l,"active",e[2]===e[14]),this.first=l},m(m,v){D(m,l,v),h(l,t),u&&u.m(t,null),h(l,n),h(l,r),h(r,i),c=!0,a||(f=$e(r,"click",d),a=!0)},p(m,v){e=m,e[2]===e[14]?u?v&4&&p(u,1):(u=Nt(),u.c(),p(u,1),u.m(t,null)):u&&(Q(),w(u,1,1,()=>{u=null}),z()),(!c||v&36)&&j(l,"active",e[2]===e[14])},i(m){c||(p(u),c=!0)},o(m){w(u),c=!1},d(m){m&&_(l),u&&u.d(),a=!1,f()}}}function Rt(s){let e,l;return e=new ve({props:{name:"checkmark"}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function $n(s){let e,l=[],t=new Map,n,r,o,i,c,a,f=[],u=new Map,d,m,v,E,I,U,q,Z,T,P,K,J,X,x,fe=s[4];const pe=R=>R[14];for(let R=0;RR[14];for(let R=0;R{H=null}),z()),(!J||V&1)&&j(q,"active",R[0]==="true")},i(R){if(!J){for(let V=0;Vl(0,n=I)),ce(s,Me,I=>l(1,r=I)),ce(s,qt,I=>l(2,o=I)),ce(s,Be,I=>l(12,i=I));let{compact:c}=e,a=[{label:"Sort 1-9",option:"ascending"},{label:"Sort 9-1",option:"descending"}],f=[{label:"Relative",option:"relative"},{label:"UTC",option:"UTC"},{label:"Local",option:"local"}];const u=I=>{Se(Me,r=I,r),Zt({parameter:"sort",value:I,url:i.url})},d=I=>{dl(I)},m=()=>{n==="true"?Se(Ne,n="false",n):Se(Ne,n="true",n)},v=I=>u(I),E=I=>d(I);return s.$$set=I=>{"compact"in I&&l(9,c=I.compact)},s.$$.update=()=>{s.$$.dirty&519&&l(3,t=kn({compact:c,timeFormat:o,sortOrder:r,showElapsed:n}))},[n,r,o,t,a,f,u,d,m,c,v,E]}class Dn extends _e{constructor(e){super(),me(this,e,In,En,he,{compact:9})}}function Tn(s){let e;const l=s[4].default,t=jt(l,s,s[5],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,r){t&&t.m(n,r),e=!0},p(n,r){t&&t.p&&(!e||r&32)&&Lt(t,l,n,n[5],e?Mt(l,n[5],r,null):Bt(n[5]),null)},i(n){e||(p(t,n),e=!0)},o(n){w(t,n),e=!1},d(n){t&&t.d(n)}}}function Vn(s){let e,l,t,n,r,o,i,c,a,f,u,d,m=s[2]?"Collapse all":"Expand All",v,E,I,U,q,Z;return n=new Dn({props:{compact:s[0]}}),i=new bn({props:{compact:s[0]}}),I=new ve({props:{name:s[2]?"chevron-up":"chevron-down"}}),{c(){e=b("th"),l=y(),t=b("th"),G(n.$$.fragment),r=y(),o=b("th"),G(i.$$.fragment),c=y(),a=b("th"),f=b("div"),u=b("button"),d=b("span"),v=B(m),E=y(),G(I.$$.fragment),this.h()},l(T){e=k(T,"TH",{class:!0}),$(e).forEach(_),l=A(T),t=k(T,"TH",{class:!0});var P=$(t);O(n.$$.fragment,P),P.forEach(_),r=A(T),o=k(T,"TH",{class:!0});var K=$(o);O(i.$$.fragment,K),K.forEach(_),c=A(T),a=k(T,"TH",{class:!0});var J=$(a);f=k(J,"DIV",{class:!0});var X=$(f);u=k(X,"BUTTON",{class:!0});var x=$(u);d=k(x,"SPAN",{class:!0});var fe=$(d);v=M(fe,m),fe.forEach(_),E=A(x),O(I.$$.fragment,x),x.forEach(_),X.forEach(_),J.forEach(_),this.h()},h(){g(e,"class","w-14 xl:w-10"),g(t,"class","w-16 md:w-32"),g(o,"class","w-44"),g(d,"class","hidden sm:block"),g(u,"class","relative flex w-28 items-center justify-end rounded sm:justify-between"),g(f,"class","flex w-full justify-end"),g(a,"class","w-auto xl:w-80")},m(T,P){D(T,e,P),D(T,l,P),D(T,t,P),S(n,t,null),D(T,r,P),D(T,o,P),S(i,o,null),D(T,c,P),D(T,a,P),h(a,f),h(f,u),h(u,d),h(d,v),h(u,E),S(I,u,null),U=!0,q||(Z=$e(u,"click",s[3]),q=!0)},p(T,P){const K={};P&1&&(K.compact=T[0]),n.$set(K);const J={};P&1&&(J.compact=T[0]),i.$set(J),(!U||P&4)&&m!==(m=T[2]?"Collapse all":"Expand All")&&W(v,m);const X={};P&4&&(X.name=T[2]?"chevron-up":"chevron-down"),I.$set(X)},i(T){U||(p(n.$$.fragment,T),p(i.$$.fragment,T),p(I.$$.fragment,T),U=!0)},o(T){w(n.$$.fragment,T),w(i.$$.fragment,T),w(I.$$.fragment,T),U=!1},d(T){T&&_(e),T&&_(l),T&&_(t),N(n),T&&_(r),T&&_(o),N(i),T&&_(c),T&&_(a),N(I),q=!1,Z()}}}function Pn(s){let e,l;return e=new hl({props:{slot:"headers",$$slots:{default:[Vn]},$$scope:{ctx:s}}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},p(t,n){const r={};n&37&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function Cn(s){let e,l;return e=new Xt({props:{updating:s[1],class:"dark w-full table-fixed",$$slots:{headers:[Pn],default:[Tn]},$$scope:{ctx:s}}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},p(t,[n]){const r={};n&2&&(r.updating=t[1]),n&37&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function yn(s,e,l){let t;ce(s,ul,u=>l(6,t=u));let{$$slots:n={},$$scope:r}=e,{compact:o=!1}=e,{updating:i=!1}=e,c=t==="true";const a=Ut();function f(){l(2,c=!c),a("expandAll",{expanded:c?"true":"false"})}return s.$$set=u=>{"compact"in u&&l(0,o=u.compact),"updating"in u&&l(1,i=u.updating),"$$scope"in u&&l(5,r=u.$$scope)},[o,i,c,f,n,r]}class ar extends _e{constructor(e){super(),me(this,e,yn,Cn,he,{compact:0,updating:1})}}function An(s){let e,l;return e=new kl({props:{title:"No Events Match",content:"There are no events that match your filters or selected view. Adjust your filters or view to see your events."}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function Gn(s){let e,l;return e=new $l({}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function On(s){let e,l,t,n,r;const o=[Gn,An],i=[];function c(a,f){return a[0]?0:1}return t=c(s),n=i[t]=o[t](s),{c(){e=b("tr"),l=b("td"),n.c(),this.h()},l(a){e=k(a,"TR",{class:!0});var f=$(e);l=k(f,"TD",{colspan:!0});var u=$(l);n.l(u),u.forEach(_),f.forEach(_),this.h()},h(){g(l,"colspan","6"),g(e,"class","row svelte-kwty14")},m(a,f){D(a,e,f),h(e,l),i[t].m(l,null),r=!0},p(a,[f]){let u=t;t=c(a),t!==u&&(Q(),w(i[u],1,1,()=>{i[u]=null}),z(),n=i[t],n||(n=i[t]=o[t](a),n.c()),p(n,1),n.m(l,null))},i(a){r||(p(n),r=!0)},o(a){w(n),r=!1},d(a){a&&_(e),i[t].d()}}}function Sn(s,e,l){let{loading:t=!1}=e;return s.$$set=n=>{"loading"in n&&l(0,t=n.loading)},[t]}class ir extends _e{constructor(e){super(),me(this,e,Sn,On,he,{loading:0})}}export{ar as E,ir as a,sr as b}; diff --git a/ui/assets/cloud/_app/immutable/chunks/event-history-file-import.ab5995f6.js b/ui/assets/cloud/_app/immutable/chunks/event-history-file-import.ab5995f6.js deleted file mode 100644 index 36c016f509..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/event-history-file-import.ab5995f6.js +++ /dev/null @@ -1 +0,0 @@ -import{S as $,b as C,a as U,m as k,c as w,C as F,p as I,d as N,D as T,u as g,f as y,E as x,U as A,j as B,g as j,k as b,F as G,L as h,w as H,x as J}from"./index.d29c66be.js";import{d as L}from"./route-for.5e008fb6.js";import{g as O}from"./navigation.529c81bc.js";import{B as q}from"./button.e7112b29.js";import{t as D}from"./index.823c6788.js";import{t as S}from"./toaster.fda31b2d.js";import{i as P,a as R}from"./import-events.d74da7cc.js";import{p as W}from"./parse-with-big-int.02af2f95.js";import{g as z}from"./index.e1962a6e.js";import{p as K}from"./stores.1f7fa6eb.js";import{a as M}from"./auth-user.ead5c000.js";import{l as Q}from"./namespaces.52575875.js";function V(r){let o;return{c(){o=H("Import")},l(e){o=J(e,"Import")},m(e,s){y(e,o,s)},d(e){e&&b(o)}}}function X(r){let o,e,s,p,c,a;return s=new q({props:{icon:"file-upload",disabled:!r[0],$$slots:{default:[V]},$$scope:{ctx:r}}}),s.$on("click",r[2]),{c(){o=k("input"),e=w(),F(s.$$.fragment),this.h()},l(t){o=I(t,"INPUT",{class:!0,type:!0,accept:!0}),e=N(t),T(s.$$.fragment,t),this.h()},h(){g(o,"class","import-input block rounded-md border border-gray-200 p-2"),g(o,"type","file"),g(o,"accept",".json")},m(t,i){y(t,o,i),y(t,e,i),x(s,t,i),p=!0,c||(a=A(o,"change",r[1]),c=!0)},p(t,[i]){const f={};i&1&&(f.disabled=!t[0]),i&128&&(f.$$scope={dirty:i,ctx:t}),s.$set(f)},i(t){p||(B(s.$$.fragment,t),p=!0)},o(t){j(s.$$.fragment,t),p=!1},d(t){t&&b(o),t&&b(e),G(s,t),c=!1,a()}}}function Y(r,o,e){let s,p,c;h(r,Q,n=>e(4,s=n)),h(r,M,n=>e(5,p=n)),h(r,K,n=>e(6,c=n));let a,t=!1;return[t,async n=>{var l;const m=n.target,d=(l=m==null?void 0:m.files)===null||l===void 0?void 0:l[0],u=new FileReader;d&&(u.readAsText(d),u.onload=()=>{var _,v;try{const E=(v=(_=u==null?void 0:u.result)===null||_===void 0?void 0:_.toString())!==null&&v!==void 0?v:"";a=W(E),e(0,t=!0)}catch{S.push({variant:"error",message:"Could not parse JSON"}),e(0,t=!1)}})},async()=>{const{settings:n}=c.data;try{const l=await D({response:Array.isArray(a)?a:a==null?void 0:a.events,namespace:s,settings:n,accessToken:p.accessToken}),m=z(l);P.set(l),R.set(m),e(0,t=!1);const d=L(s,"feed");O(d)}catch(l){console.error(l),S.push({variant:"error",message:"Could not create event history from JSON"})}}]}class mt extends ${constructor(o){super(),C(this,o,Y,X,U,{})}}export{mt as E}; diff --git a/ui/assets/cloud/_app/immutable/chunks/event-view.73e1a728.js b/ui/assets/cloud/_app/immutable/chunks/event-view.73e1a728.js deleted file mode 100644 index fb5ed53e64..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/event-view.73e1a728.js +++ /dev/null @@ -1 +0,0 @@ -import{p as e}from"./persist-store.bb6871e4.js";const s=e("autoRefreshWorkflow","off"),o=e("eventView","feed",!0),n=e("expandAllEvents","false"),a=e("eventFilterSort","descending"),r=e("eventShowElapsed","false");export{s as a,n as b,r as c,o as d,a as e}; diff --git a/ui/assets/cloud/_app/immutable/chunks/format-camel-case.960a78f9.js b/ui/assets/cloud/_app/immutable/chunks/format-camel-case.960a78f9.js deleted file mode 100644 index dcee29c412..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/format-camel-case.960a78f9.js +++ /dev/null @@ -1 +0,0 @@ -const s=(t,r)=>{const o=t.charCodeAt(r);return o>=65&&o<=90},f=t=>t[0].toUpperCase()+t.slice(1),i=new Set(["workflowType"]),n={workflowExecutionWorkflowId:"workflowExecution",workflowExecutionRunId:"workflowExecution"},u=t=>t?i.has(t)?`${t}Name`:n[t]?t.replace(n[t],""):t:"",p=t=>{if(!t)return"";let r="",o=0;for(t=u(t);o0?(n=ie(e),c=ie(t)):(n=ie(t),c=ie(e));var p=ot(c,n),y=(Qe(c)-Qe(n))/1e3,g=Math.round((p-y)/60),x;if(g<2)return s!=null&&s.includeSeconds?p<5?u.formatDistance("lessThanXSeconds",5,a):p<10?u.formatDistance("lessThanXSeconds",10,a):p<20?u.formatDistance("lessThanXSeconds",20,a):p<40?u.formatDistance("halfAMinute",0,a):p<60?u.formatDistance("lessThanXMinutes",1,a):u.formatDistance("xMinutes",1,a):g===0?u.formatDistance("lessThanXMinutes",1,a):u.formatDistance("xMinutes",g,a);if(g<45)return u.formatDistance("xMinutes",g,a);if(g<90)return u.formatDistance("aboutXHours",1,a);if(g1?"s":"")+" required, but only "+h.length+" present")}t.exports=e.default})(Dt,E);(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var s=f(E);function f(u){return u&&u.__esModule?u:{default:u}}function h(u){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?h=function(a){return typeof a}:h=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},h(u)}function o(u){return(0,s.default)(1,arguments),u instanceof Date||h(u)==="object"&&Object.prototype.toString.call(u)==="[object Date]"}t.exports=e.default})(Tt,le);var N={},Mt={get exports(){return N},set exports(t){N=t}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var s=f(E);function f(u){return u&&u.__esModule?u:{default:u}}function h(u){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?h=function(a){return typeof a}:h=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},h(u)}function o(u){(0,s.default)(1,arguments);var r=Object.prototype.toString.call(u);return u instanceof Date||h(u)==="object"&&r==="[object Date]"?new Date(u.getTime()):typeof u=="number"||r==="[object Number]"?new Date(u):((typeof u=="string"||r==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}t.exports=e.default})(Mt,N);(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=u;var s=o(le),f=o(N),h=o(E);function o(r){return r&&r.__esModule?r:{default:r}}function u(r){if((0,h.default)(1,arguments),!(0,s.default)(r)&&typeof r!="number")return!1;var a=(0,f.default)(r);return!isNaN(Number(a))}t.exports=e.default})(xt,de);var fe={},yt={get exports(){return fe},set exports(t){fe=t}},se={},Ot={get exports(){return se},set exports(t){se=t}},q={},bt={get exports(){return q},set exports(t){q=t}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;function s(f){if(f===null||f===!0||f===!1)return NaN;var h=Number(f);return isNaN(h)?h:h<0?Math.ceil(h):Math.floor(h)}t.exports=e.default})(bt,q);(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=u;var s=o(q),f=o(N),h=o(E);function o(r){return r&&r.__esModule?r:{default:r}}function u(r,a){(0,h.default)(2,arguments);var n=(0,f.default)(r).getTime(),c=(0,s.default)(a);return new Date(n+c)}t.exports=e.default})(Ot,se);(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=u;var s=o(se),f=o(E),h=o(q);function o(r){return r&&r.__esModule?r:{default:r}}function u(r,a){(0,f.default)(2,arguments);var n=(0,h.default)(a);return(0,s.default)(r,-n)}t.exports=e.default})(yt,fe);var ce={},Pt={get exports(){return ce},set exports(t){ce=t}},ve={},Ct={get exports(){return ve},set exports(t){ve=t}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=u;var s=h(N),f=h(E);function h(r){return r&&r.__esModule?r:{default:r}}var o=864e5;function u(r){(0,f.default)(1,arguments);var a=(0,s.default)(r),n=a.getTime();a.setUTCMonth(0,1),a.setUTCHours(0,0,0,0);var c=a.getTime(),p=n-c;return Math.floor(p/o)+1}t.exports=e.default})(Ct,ve);var me={},St={get exports(){return me},set exports(t){me=t}},X={},Et={get exports(){return X},set exports(t){X=t}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var s=h(N),f=h(E);function h(u){return u&&u.__esModule?u:{default:u}}function o(u){(0,f.default)(1,arguments);var r=1,a=(0,s.default)(u),n=a.getUTCDay(),c=(n=p.getTime()?n+1:a.getTime()>=g.getTime()?n:n-1}t.exports=e.default})(Nt,B);(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=u;var s=o(B),f=o(X),h=o(E);function o(r){return r&&r.__esModule?r:{default:r}}function u(r){(0,h.default)(1,arguments);var a=(0,s.default)(r),n=new Date(0);n.setUTCFullYear(a,0,4),n.setUTCHours(0,0,0,0);var c=(0,f.default)(n);return c}t.exports=e.default})(Yt,he);(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var s=u(N),f=u(X),h=u(he),o=u(E);function u(n){return n&&n.__esModule?n:{default:n}}var r=6048e5;function a(n){(0,o.default)(1,arguments);var c=(0,s.default)(n),p=(0,f.default)(c).getTime()-(0,h.default)(c).getTime();return Math.round(p/r)+1}t.exports=e.default})(St,me);var ge={},Ut={get exports(){return ge},set exports(t){ge=t}},A={},kt={get exports(){return A},set exports(t){A=t}},L={};Object.defineProperty(L,"__esModule",{value:!0});L.getDefaultOptions=Wt;L.setDefaultOptions=It;var je={};function Wt(){return je}function It(t){je=t}(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;var s=u(N),f=u(E),h=u(q),o=L;function u(a){return a&&a.__esModule?a:{default:a}}function r(a,n){var c,p,y,g,x,w,m,d;(0,f.default)(1,arguments);var v=(0,o.getDefaultOptions)(),i=(0,h.default)((c=(p=(y=(g=n==null?void 0:n.weekStartsOn)!==null&&g!==void 0?g:n==null||(x=n.locale)===null||x===void 0||(w=x.options)===null||w===void 0?void 0:w.weekStartsOn)!==null&&y!==void 0?y:v.weekStartsOn)!==null&&p!==void 0?p:(m=v.locale)===null||m===void 0||(d=m.options)===null||d===void 0?void 0:d.weekStartsOn)!==null&&c!==void 0?c:0);if(!(i>=0&&i<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var l=(0,s.default)(a),_=l.getUTCDay(),O=(_=1&&O<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var P=new Date(0);P.setUTCFullYear(l+1,0,O),P.setUTCHours(0,0,0,0);var M=(0,h.default)(P,c),D=new Date(0);D.setUTCFullYear(l,0,O),D.setUTCHours(0,0,0,0);var T=(0,h.default)(D,c);return i.getTime()>=M.getTime()?l+1:i.getTime()>=T.getTime()?l:l-1}t.exports=e.default})(zt,V);(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var s=r(V),f=r(E),h=r(A),o=r(q),u=L;function r(n){return n&&n.__esModule?n:{default:n}}function a(n,c){var p,y,g,x,w,m,d,v;(0,f.default)(1,arguments);var i=(0,u.getDefaultOptions)(),l=(0,o.default)((p=(y=(g=(x=c==null?void 0:c.firstWeekContainsDate)!==null&&x!==void 0?x:c==null||(w=c.locale)===null||w===void 0||(m=w.options)===null||m===void 0?void 0:m.firstWeekContainsDate)!==null&&g!==void 0?g:i.firstWeekContainsDate)!==null&&y!==void 0?y:(d=i.locale)===null||d===void 0||(v=d.options)===null||v===void 0?void 0:v.firstWeekContainsDate)!==null&&p!==void 0?p:1),_=(0,s.default)(n,c),O=new Date(0);O.setUTCFullYear(_,0,l),O.setUTCHours(0,0,0,0);var P=(0,h.default)(O,c);return P}t.exports=e.default})(qt,_e);(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var s=u(N),f=u(A),h=u(_e),o=u(E);function u(n){return n&&n.__esModule?n:{default:n}}var r=6048e5;function a(n,c){(0,o.default)(1,arguments);var p=(0,s.default)(n),y=(0,f.default)(p,c).getTime()-(0,h.default)(p,c).getTime();return Math.round(y/r)+1}t.exports=e.default})(Ut,ge);var J={},Ft={get exports(){return J},set exports(t){J=t}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;function s(f,h){for(var o=f<0?"-":"",u=Math.abs(f).toString();u.length0?n:1-n;return(0,s.default)(a==="yy"?c%100:c,a.length)},M:function(r,a){var n=r.getUTCMonth();return a==="M"?String(n+1):(0,s.default)(n+1,2)},d:function(r,a){return(0,s.default)(r.getUTCDate(),a.length)},a:function(r,a){var n=r.getUTCHours()/12>=1?"pm":"am";switch(a){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h:function(r,a){return(0,s.default)(r.getUTCHours()%12||12,a.length)},H:function(r,a){return(0,s.default)(r.getUTCHours(),a.length)},m:function(r,a){return(0,s.default)(r.getUTCMinutes(),a.length)},s:function(r,a){return(0,s.default)(r.getUTCSeconds(),a.length)},S:function(r,a){var n=a.length,c=r.getUTCMilliseconds(),p=Math.floor(c*Math.pow(10,n-3));return(0,s.default)(p,a.length)}},o=h;e.default=o,t.exports=e.default})(Rt,pe);(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=n(ve),f=n(me),h=n(B),o=n(ge),u=n(V),r=n(J),a=n(pe);function n(m){return m&&m.__esModule?m:{default:m}}var c={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},p={G:function(d,v,i){var l=d.getUTCFullYear()>0?1:0;switch(v){case"G":case"GG":case"GGG":return i.era(l,{width:"abbreviated"});case"GGGGG":return i.era(l,{width:"narrow"});case"GGGG":default:return i.era(l,{width:"wide"})}},y:function(d,v,i){if(v==="yo"){var l=d.getUTCFullYear(),_=l>0?l:1-l;return i.ordinalNumber(_,{unit:"year"})}return a.default.y(d,v)},Y:function(d,v,i,l){var _=(0,u.default)(d,l),O=_>0?_:1-_;if(v==="YY"){var P=O%100;return(0,r.default)(P,2)}return v==="Yo"?i.ordinalNumber(O,{unit:"year"}):(0,r.default)(O,v.length)},R:function(d,v){var i=(0,h.default)(d);return(0,r.default)(i,v.length)},u:function(d,v){var i=d.getUTCFullYear();return(0,r.default)(i,v.length)},Q:function(d,v,i){var l=Math.ceil((d.getUTCMonth()+1)/3);switch(v){case"Q":return String(l);case"QQ":return(0,r.default)(l,2);case"Qo":return i.ordinalNumber(l,{unit:"quarter"});case"QQQ":return i.quarter(l,{width:"abbreviated",context:"formatting"});case"QQQQQ":return i.quarter(l,{width:"narrow",context:"formatting"});case"QQQQ":default:return i.quarter(l,{width:"wide",context:"formatting"})}},q:function(d,v,i){var l=Math.ceil((d.getUTCMonth()+1)/3);switch(v){case"q":return String(l);case"qq":return(0,r.default)(l,2);case"qo":return i.ordinalNumber(l,{unit:"quarter"});case"qqq":return i.quarter(l,{width:"abbreviated",context:"standalone"});case"qqqqq":return i.quarter(l,{width:"narrow",context:"standalone"});case"qqqq":default:return i.quarter(l,{width:"wide",context:"standalone"})}},M:function(d,v,i){var l=d.getUTCMonth();switch(v){case"M":case"MM":return a.default.M(d,v);case"Mo":return i.ordinalNumber(l+1,{unit:"month"});case"MMM":return i.month(l,{width:"abbreviated",context:"formatting"});case"MMMMM":return i.month(l,{width:"narrow",context:"formatting"});case"MMMM":default:return i.month(l,{width:"wide",context:"formatting"})}},L:function(d,v,i){var l=d.getUTCMonth();switch(v){case"L":return String(l+1);case"LL":return(0,r.default)(l+1,2);case"Lo":return i.ordinalNumber(l+1,{unit:"month"});case"LLL":return i.month(l,{width:"abbreviated",context:"standalone"});case"LLLLL":return i.month(l,{width:"narrow",context:"standalone"});case"LLLL":default:return i.month(l,{width:"wide",context:"standalone"})}},w:function(d,v,i,l){var _=(0,o.default)(d,l);return v==="wo"?i.ordinalNumber(_,{unit:"week"}):(0,r.default)(_,v.length)},I:function(d,v,i){var l=(0,f.default)(d);return v==="Io"?i.ordinalNumber(l,{unit:"week"}):(0,r.default)(l,v.length)},d:function(d,v,i){return v==="do"?i.ordinalNumber(d.getUTCDate(),{unit:"date"}):a.default.d(d,v)},D:function(d,v,i){var l=(0,s.default)(d);return v==="Do"?i.ordinalNumber(l,{unit:"dayOfYear"}):(0,r.default)(l,v.length)},E:function(d,v,i){var l=d.getUTCDay();switch(v){case"E":case"EE":case"EEE":return i.day(l,{width:"abbreviated",context:"formatting"});case"EEEEE":return i.day(l,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(l,{width:"short",context:"formatting"});case"EEEE":default:return i.day(l,{width:"wide",context:"formatting"})}},e:function(d,v,i,l){var _=d.getUTCDay(),O=(_-l.weekStartsOn+8)%7||7;switch(v){case"e":return String(O);case"ee":return(0,r.default)(O,2);case"eo":return i.ordinalNumber(O,{unit:"day"});case"eee":return i.day(_,{width:"abbreviated",context:"formatting"});case"eeeee":return i.day(_,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(_,{width:"short",context:"formatting"});case"eeee":default:return i.day(_,{width:"wide",context:"formatting"})}},c:function(d,v,i,l){var _=d.getUTCDay(),O=(_-l.weekStartsOn+8)%7||7;switch(v){case"c":return String(O);case"cc":return(0,r.default)(O,v.length);case"co":return i.ordinalNumber(O,{unit:"day"});case"ccc":return i.day(_,{width:"abbreviated",context:"standalone"});case"ccccc":return i.day(_,{width:"narrow",context:"standalone"});case"cccccc":return i.day(_,{width:"short",context:"standalone"});case"cccc":default:return i.day(_,{width:"wide",context:"standalone"})}},i:function(d,v,i){var l=d.getUTCDay(),_=l===0?7:l;switch(v){case"i":return String(_);case"ii":return(0,r.default)(_,v.length);case"io":return i.ordinalNumber(_,{unit:"day"});case"iii":return i.day(l,{width:"abbreviated",context:"formatting"});case"iiiii":return i.day(l,{width:"narrow",context:"formatting"});case"iiiiii":return i.day(l,{width:"short",context:"formatting"});case"iiii":default:return i.day(l,{width:"wide",context:"formatting"})}},a:function(d,v,i){var l=d.getUTCHours(),_=l/12>=1?"pm":"am";switch(v){case"a":case"aa":return i.dayPeriod(_,{width:"abbreviated",context:"formatting"});case"aaa":return i.dayPeriod(_,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return i.dayPeriod(_,{width:"narrow",context:"formatting"});case"aaaa":default:return i.dayPeriod(_,{width:"wide",context:"formatting"})}},b:function(d,v,i){var l=d.getUTCHours(),_;switch(l===12?_=c.noon:l===0?_=c.midnight:_=l/12>=1?"pm":"am",v){case"b":case"bb":return i.dayPeriod(_,{width:"abbreviated",context:"formatting"});case"bbb":return i.dayPeriod(_,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return i.dayPeriod(_,{width:"narrow",context:"formatting"});case"bbbb":default:return i.dayPeriod(_,{width:"wide",context:"formatting"})}},B:function(d,v,i){var l=d.getUTCHours(),_;switch(l>=17?_=c.evening:l>=12?_=c.afternoon:l>=4?_=c.morning:_=c.night,v){case"B":case"BB":case"BBB":return i.dayPeriod(_,{width:"abbreviated",context:"formatting"});case"BBBBB":return i.dayPeriod(_,{width:"narrow",context:"formatting"});case"BBBB":default:return i.dayPeriod(_,{width:"wide",context:"formatting"})}},h:function(d,v,i){if(v==="ho"){var l=d.getUTCHours()%12;return l===0&&(l=12),i.ordinalNumber(l,{unit:"hour"})}return a.default.h(d,v)},H:function(d,v,i){return v==="Ho"?i.ordinalNumber(d.getUTCHours(),{unit:"hour"}):a.default.H(d,v)},K:function(d,v,i){var l=d.getUTCHours()%12;return v==="Ko"?i.ordinalNumber(l,{unit:"hour"}):(0,r.default)(l,v.length)},k:function(d,v,i){var l=d.getUTCHours();return l===0&&(l=24),v==="ko"?i.ordinalNumber(l,{unit:"hour"}):(0,r.default)(l,v.length)},m:function(d,v,i){return v==="mo"?i.ordinalNumber(d.getUTCMinutes(),{unit:"minute"}):a.default.m(d,v)},s:function(d,v,i){return v==="so"?i.ordinalNumber(d.getUTCSeconds(),{unit:"second"}):a.default.s(d,v)},S:function(d,v){return a.default.S(d,v)},X:function(d,v,i,l){var _=l._originalDate||d,O=_.getTimezoneOffset();if(O===0)return"Z";switch(v){case"X":return g(O);case"XXXX":case"XX":return x(O);case"XXXXX":case"XXX":default:return x(O,":")}},x:function(d,v,i,l){var _=l._originalDate||d,O=_.getTimezoneOffset();switch(v){case"x":return g(O);case"xxxx":case"xx":return x(O);case"xxxxx":case"xxx":default:return x(O,":")}},O:function(d,v,i,l){var _=l._originalDate||d,O=_.getTimezoneOffset();switch(v){case"O":case"OO":case"OOO":return"GMT"+y(O,":");case"OOOO":default:return"GMT"+x(O,":")}},z:function(d,v,i,l){var _=l._originalDate||d,O=_.getTimezoneOffset();switch(v){case"z":case"zz":case"zzz":return"GMT"+y(O,":");case"zzzz":default:return"GMT"+x(O,":")}},t:function(d,v,i,l){var _=l._originalDate||d,O=Math.floor(_.getTime()/1e3);return(0,r.default)(O,v.length)},T:function(d,v,i,l){var _=l._originalDate||d,O=_.getTime();return(0,r.default)(O,v.length)}};function y(m,d){var v=m>0?"-":"+",i=Math.abs(m),l=Math.floor(i/60),_=i%60;if(_===0)return v+String(l);var O=d||"";return v+String(l)+O+(0,r.default)(_,2)}function g(m,d){if(m%60===0){var v=m>0?"-":"+";return v+(0,r.default)(Math.abs(m)/60,2)}return x(m,d)}function x(m,d){var v=d||"",i=m>0?"-":"+",l=Math.abs(m),_=(0,r.default)(Math.floor(l/60),2),O=(0,r.default)(l%60,2);return i+_+v+O}var w=p;e.default=w,t.exports=e.default})(Pt,ce);var we={},$t={get exports(){return we},set exports(t){we=t}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=function(a,n){switch(a){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});case"PPPP":default:return n.date({width:"full"})}},f=function(a,n){switch(a){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});case"pppp":default:return n.time({width:"full"})}},h=function(a,n){var c=a.match(/(P+)(p+)?/)||[],p=c[1],y=c[2];if(!y)return s(a,n);var g;switch(p){case"P":g=n.dateTime({width:"short"});break;case"PP":g=n.dateTime({width:"medium"});break;case"PPP":g=n.dateTime({width:"long"});break;case"PPPP":default:g=n.dateTime({width:"full"});break}return g.replace("{{date}}",s(p,n)).replace("{{time}}",f(y,n))},o={p:f,P:h},u=o;e.default=u,t.exports=e.default})($t,we);var K={},Ht={get exports(){return K},set exports(t){K=t}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;function s(f){var h=new Date(Date.UTC(f.getFullYear(),f.getMonth(),f.getDate(),f.getHours(),f.getMinutes(),f.getSeconds(),f.getMilliseconds()));return h.setUTCFullYear(f.getFullYear()),f.getTime()-h.getTime()}t.exports=e.default})(Ht,K);var ae={};Object.defineProperty(ae,"__esModule",{value:!0});ae.isProtectedDayOfYearToken=At;ae.isProtectedWeekYearToken=Zt;ae.throwProtectedError=Qt;var Lt=["D","DD"],Xt=["YY","YYYY"];function At(t){return Lt.indexOf(t)!==-1}function Zt(t){return Xt.indexOf(t)!==-1}function Qt(t,e,s){if(t==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(s,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(s,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(s,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(s,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var xe={},Gt={get exports(){return xe},set exports(t){xe=t}},Te={},Bt={get exports(){return Te},set exports(t){Te=t}},De={},Vt={get exports(){return De},set exports(t){De=t}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},f=function(u,r,a){var n,c=s[u];return typeof c=="string"?n=c:r===1?n=c.one:n=c.other.replace("{{count}}",r.toString()),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"in "+n:n+" ago":n},h=f;e.default=h,t.exports=e.default})(Vt,De);var Me={},Jt={get exports(){return Me},set exports(t){Me=t}},ye={},Kt={get exports(){return ye},set exports(t){ye=t}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;function s(f){return function(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=h.width?String(h.width):f.defaultWidth,u=f.formats[o]||f.formats[f.defaultWidth];return u}}t.exports=e.default})(Kt,ye);(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=f(ye);function f(n){return n&&n.__esModule?n:{default:n}}var h={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},o={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},u={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},r={date:(0,s.default)({formats:h,defaultWidth:"full"}),time:(0,s.default)({formats:o,defaultWidth:"full"}),dateTime:(0,s.default)({formats:u,defaultWidth:"full"})},a=r;e.default=a,t.exports=e.default})(Jt,Me);var Oe={},jt={get exports(){return Oe},set exports(t){Oe=t}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},f=function(u,r,a,n){return s[u]},h=f;e.default=h,t.exports=e.default})(jt,Oe);var be={},er={get exports(){return be},set exports(t){be=t}},Pe={},tr={get exports(){return Pe},set exports(t){Pe=t}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;function s(f){return function(h,o){var u=o!=null&&o.context?String(o.context):"standalone",r;if(u==="formatting"&&f.formattingValues){var a=f.defaultFormattingWidth||f.defaultWidth,n=o!=null&&o.width?String(o.width):a;r=f.formattingValues[n]||f.formattingValues[a]}else{var c=f.defaultWidth,p=o!=null&&o.width?String(o.width):f.defaultWidth;r=f.values[p]||f.values[c]}var y=f.argumentCallback?f.argumentCallback(h):h;return r[y]}}t.exports=e.default})(tr,Pe);(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=f(Pe);function f(g){return g&&g.__esModule?g:{default:g}}var h={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},o={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},u={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},r={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},a={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},n={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},c=function(x,w){var m=Number(x),d=m%100;if(d>20||d<10)switch(d%10){case 1:return m+"st";case 2:return m+"nd";case 3:return m+"rd"}return m+"th"},p={ordinalNumber:c,era:(0,s.default)({values:h,defaultWidth:"wide"}),quarter:(0,s.default)({values:o,defaultWidth:"wide",argumentCallback:function(x){return x-1}}),month:(0,s.default)({values:u,defaultWidth:"wide"}),day:(0,s.default)({values:r,defaultWidth:"wide"}),dayPeriod:(0,s.default)({values:a,defaultWidth:"wide",formattingValues:n,defaultFormattingWidth:"wide"})},y=p;e.default=y,t.exports=e.default})(er,be);var Ce={},rr={get exports(){return Ce},set exports(t){Ce=t}},Se={},ar={get exports(){return Se},set exports(t){Se=t}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;function s(o){return function(u){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=r.width,n=a&&o.matchPatterns[a]||o.matchPatterns[o.defaultMatchWidth],c=u.match(n);if(!c)return null;var p=c[0],y=a&&o.parsePatterns[a]||o.parsePatterns[o.defaultParseWidth],g=Array.isArray(y)?h(y,function(m){return m.test(p)}):f(y,function(m){return m.test(p)}),x;x=o.valueCallback?o.valueCallback(g):g,x=r.valueCallback?r.valueCallback(x):x;var w=u.slice(p.length);return{value:x,rest:w}}}function f(o,u){for(var r in o)if(o.hasOwnProperty(r)&&u(o[r]))return r}function h(o,u){for(var r=0;r1&&arguments[1]!==void 0?arguments[1]:{},u=h.match(f.matchPattern);if(!u)return null;var r=u[0],a=h.match(f.parsePattern);if(!a)return null;var n=f.valueCallback?f.valueCallback(a[0]):a[0];n=o.valueCallback?o.valueCallback(n):n;var c=h.slice(r.length);return{value:n,rest:c}}}t.exports=e.default})(nr,Ee);(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=h(Se),f=h(Ee);function h(i){return i&&i.__esModule?i:{default:i}}var o=/^(\d+)(th|st|nd|rd)?/i,u=/\d+/i,r={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},a={any:[/^b/i,/^(a|c)/i]},n={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},c={any:[/1/i,/2/i,/3/i,/4/i]},p={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},y={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},g={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},x={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},w={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},m={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},d={ordinalNumber:(0,f.default)({matchPattern:o,parsePattern:u,valueCallback:function(l){return parseInt(l,10)}}),era:(0,s.default)({matchPatterns:r,defaultMatchWidth:"wide",parsePatterns:a,defaultParseWidth:"any"}),quarter:(0,s.default)({matchPatterns:n,defaultMatchWidth:"wide",parsePatterns:c,defaultParseWidth:"any",valueCallback:function(l){return l+1}}),month:(0,s.default)({matchPatterns:p,defaultMatchWidth:"wide",parsePatterns:y,defaultParseWidth:"any"}),day:(0,s.default)({matchPatterns:g,defaultMatchWidth:"wide",parsePatterns:x,defaultParseWidth:"any"}),dayPeriod:(0,s.default)({matchPatterns:w,defaultMatchWidth:"any",parsePatterns:m,defaultParseWidth:"any"})},v=d;e.default=v,t.exports=e.default})(rr,Ce);(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=r(De),f=r(Me),h=r(Oe),o=r(be),u=r(Ce);function r(c){return c&&c.__esModule?c:{default:c}}var a={code:"en-US",formatDistance:s.default,formatLong:f.default,formatRelative:h.default,localize:o.default,match:u.default,options:{weekStartsOn:0,firstWeekContainsDate:1}},n=a;e.default=n,t.exports=e.default})(Bt,Te);(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=f(Te);function f(o){return o&&o.__esModule?o:{default:o}}var h=s.default;e.default=h,t.exports=e.default})(Gt,xe);(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var s=g(de),f=g(fe),h=g(N),o=g(ce),u=g(we),r=g(K),a=ae,n=g(q),c=g(E),p=L,y=g(xe);function g(_){return _&&_.__esModule?_:{default:_}}var x=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,w=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,m=/^'([^]*?)'?$/,d=/''/g,v=/[a-zA-Z]/;function i(_,O,P){var M,D,T,b,C,S,U,z,k,F,W,I,ze,Fe,Re,$e,He,Le;(0,c.default)(2,arguments);var et=String(O),Z=(0,p.getDefaultOptions)(),Q=(M=(D=P==null?void 0:P.locale)!==null&&D!==void 0?D:Z.locale)!==null&&M!==void 0?M:y.default,Xe=(0,n.default)((T=(b=(C=(S=P==null?void 0:P.firstWeekContainsDate)!==null&&S!==void 0?S:P==null||(U=P.locale)===null||U===void 0||(z=U.options)===null||z===void 0?void 0:z.firstWeekContainsDate)!==null&&C!==void 0?C:Z.firstWeekContainsDate)!==null&&b!==void 0?b:(k=Z.locale)===null||k===void 0||(F=k.options)===null||F===void 0?void 0:F.firstWeekContainsDate)!==null&&T!==void 0?T:1);if(!(Xe>=1&&Xe<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var Ae=(0,n.default)((W=(I=(ze=(Fe=P==null?void 0:P.weekStartsOn)!==null&&Fe!==void 0?Fe:P==null||(Re=P.locale)===null||Re===void 0||($e=Re.options)===null||$e===void 0?void 0:$e.weekStartsOn)!==null&&ze!==void 0?ze:Z.weekStartsOn)!==null&&I!==void 0?I:(He=Z.locale)===null||He===void 0||(Le=He.options)===null||Le===void 0?void 0:Le.weekStartsOn)!==null&&W!==void 0?W:0);if(!(Ae>=0&&Ae<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!Q.localize)throw new RangeError("locale must contain localize property");if(!Q.formatLong)throw new RangeError("locale must contain formatLong property");var ne=(0,h.default)(_);if(!(0,s.default)(ne))throw new RangeError("Invalid time value");var tt=(0,r.default)(ne),rt=(0,f.default)(ne,tt),at={firstWeekContainsDate:Xe,weekStartsOn:Ae,locale:Q,_originalDate:ne},nt=et.match(w).map(function(Y){var R=Y[0];if(R==="p"||R==="P"){var ue=u.default[R];return ue(Y,Q.formatLong)}return Y}).join("").match(x).map(function(Y){if(Y==="''")return"'";var R=Y[0];if(R==="'")return l(Y);var ue=o.default[R];if(ue)return!(P!=null&&P.useAdditionalWeekYearTokens)&&(0,a.isProtectedWeekYearToken)(Y)&&(0,a.throwProtectedError)(Y,O,String(_)),!(P!=null&&P.useAdditionalDayOfYearTokens)&&(0,a.isProtectedDayOfYearToken)(Y)&&(0,a.throwProtectedError)(Y,O,String(_)),ue(rt,Y,Q.localize,at);if(R.match(v))throw new RangeError("Format string contains an unescaped latin alphabet character `"+R+"`");return Y}).join("");return nt}function l(_){var O=_.match(m);return O?O[1].replace(d,"'"):_}t.exports=e.default})(wt,oe);var Ye={},ur={get exports(){return Ye},set exports(t){Ye=t}},Ne={},ir={get exports(){return Ne},set exports(t){Ne=t}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;function s(u,r,a){var n=o(u,a.timeZone,a.locale);return n.formatToParts?f(n,r):h(n,r)}function f(u,r){for(var a=u.formatToParts(r),n=a.length-1;n>=0;--n)if(a[n].type==="timeZoneName")return a[n].value}function h(u,r){var a=u.format(r).replace(/\u200E/g,""),n=/ [\w-+ ]+$/.exec(a);return n?n[0].substr(1):""}function o(u,r,a){if(a&&!a.code)throw new Error("date-fns-tz error: Please set a language code on the locale object imported from date-fns, e.g. `locale.code = 'en-US'`");return new Intl.DateTimeFormat(a?[a.code,"en-US"]:void 0,{timeZone:r,timeZoneName:u})}t.exports=e.default})(ir,Ne);var $={},or={get exports(){return $},set exports(t){$=t}},Ue={},dr={get exports(){return Ue},set exports(t){Ue=t}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;function s(a,n){var c=r(n);return c.formatToParts?h(c,a):o(c,a)}var f={year:0,month:1,day:2,hour:3,minute:4,second:5};function h(a,n){try{for(var c=a.formatToParts(n),p=[],y=0;y=0&&(p[g]=parseInt(c[y].value,10))}return p}catch(x){if(x instanceof RangeError)return[NaN];throw x}}function o(a,n){var c=a.format(n).replace(/\u200E/g,""),p=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(c);return[p[3],p[1],p[2],p[4],p[5],p[6]]}var u={};function r(a){if(!u[a]){var n=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:"America/New_York",year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),c=n==="06/25/2014, 00:00:00"||n==="‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";u[a]=c?new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:a,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:a,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return u[a]}t.exports=e.default})(dr,Ue);var j={},lr={get exports(){return j},set exports(t){j=t}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;function s(f,h,o,u,r,a,n){var c=new Date(0);return c.setUTCFullYear(f,h,o),c.setUTCHours(u,r,a,n),c}t.exports=e.default})(lr,j);(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var s=h(Ue),f=h(j);function h(w){return w&&w.__esModule?w:{default:w}}var o=36e5,u=6e4,r={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-]\d{2}):?(\d{2})$/};function a(w,m,d){var v,i;if(w===""||(v=r.timezoneZ.exec(w),v))return 0;var l;if(v=r.timezoneHH.exec(w),v)return l=parseInt(v[1],10),y(l)?-(l*o):NaN;if(v=r.timezoneHHMM.exec(w),v){l=parseInt(v[1],10);var _=parseInt(v[2],10);return y(l,_)?(i=Math.abs(l)*o+_*u,l>0?-i:i):NaN}if(x(w)){m=new Date(m||Date.now());var O=d?m:n(m),P=c(O,w),M=d?P:p(m,P,w);return-M}return NaN}function n(w){return(0,f.default)(w.getFullYear(),w.getMonth(),w.getDate(),w.getHours(),w.getMinutes(),w.getSeconds(),w.getMilliseconds())}function c(w,m){var d=(0,s.default)(w,m),v=(0,f.default)(d[0],d[1]-1,d[2],d[3]%24,d[4],d[5],0).getTime(),i=w.getTime(),l=i%1e3;return i-=l>=0?l:1e3+l,v-i}function p(w,m,d){var v=w.getTime(),i=v-m,l=c(new Date(i),d);if(m===l)return m;i-=l-m;var _=c(new Date(i),d);return l===_?l:Math.max(l,_)}function y(w,m){return-23<=w&&w<=23&&(m==null||0<=m&&m<=59)}var g={};function x(w){if(g[w])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:w}),g[w]=!0,!0}catch{return!1}}t.exports=e.default})(or,$);(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=h(Ne),f=h($);function h(g){return g&&g.__esModule?g:{default:g}}var o=60*1e3,u={X:function(g,x,w,m){var d=r(m.timeZone,m._originalDate||g);if(d===0)return"Z";switch(x){case"X":return c(d);case"XXXX":case"XX":return n(d);case"XXXXX":case"XXX":default:return n(d,":")}},x:function(g,x,w,m){var d=r(m.timeZone,m._originalDate||g);switch(x){case"x":return c(d);case"xxxx":case"xx":return n(d);case"xxxxx":case"xxx":default:return n(d,":")}},O:function(g,x,w,m){var d=r(m.timeZone,m._originalDate||g);switch(x){case"O":case"OO":case"OOO":return"GMT"+p(d,":");case"OOOO":default:return"GMT"+n(d,":")}},z:function(g,x,w,m){var d=m._originalDate||g;switch(x){case"z":case"zz":case"zzz":return(0,s.default)("short",d,m);case"zzzz":default:return(0,s.default)("long",d,m)}}};function r(g,x){var w=g?(0,f.default)(g,x,!0)/o:x.getTimezoneOffset();if(Number.isNaN(w))throw new RangeError("Invalid time zone specified: "+g);return w}function a(g,x){for(var w=g<0?"-":"",m=Math.abs(g).toString();m.length0?"-":"+",d=Math.abs(g),v=a(Math.floor(d/60),2),i=a(Math.floor(d%60),2);return m+v+w+i}function c(g,x){if(g%60===0){var w=g>0?"-":"+";return w+a(Math.abs(g)/60,2)}return n(g,x)}function p(g,x){var w=g>0?"-":"+",m=Math.abs(g),d=Math.floor(m/60),v=m%60;if(v===0)return w+String(d);var i=x||"";return w+String(d)+i+a(v,2)}var y=u;e.default=y,t.exports=e.default})(ur,Ye);var H={},fr={get exports(){return H},set exports(t){H=t}},ee={},sr={get exports(){return ee},set exports(t){ee=t}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,f=s;e.default=f,t.exports=e.default})(sr,ee);(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=p;var s=u(q),f=u(K),h=u($),o=u(ee);function u(M){return M&&M.__esModule?M:{default:M}}var r=36e5,a=6e4,n=2,c={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,plainTime:/:/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:o.default};function p(M,D){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(M===null)return new Date(NaN);var T=D||{},b=T.additionalDigits==null?n:(0,s.default)(T.additionalDigits);if(b!==2&&b!==1&&b!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(M instanceof Date||typeof M=="object"&&Object.prototype.toString.call(M)==="[object Date]")return new Date(M.getTime());if(typeof M=="number"||Object.prototype.toString.call(M)==="[object Number]")return new Date(M);if(!(typeof M=="string"||Object.prototype.toString.call(M)==="[object String]"))return new Date(NaN);var C=y(M),S=g(C.date,b),U=S.year,z=S.restDateString,k=x(z,U);if(isNaN(k))return new Date(NaN);if(k){var F=k.getTime(),W=0,I;if(C.time&&(W=w(C.time),isNaN(W)))return new Date(NaN);if(C.timeZone||T.timeZone){if(I=(0,h.default)(C.timeZone||T.timeZone,new Date(F+W)),isNaN(I))return new Date(NaN)}else I=(0,f.default)(new Date(F+W)),I=(0,f.default)(new Date(F+W+I));return new Date(F+W+I)}else return new Date(NaN)}function y(M){var D={},T=c.dateTimePattern.exec(M),b;if(T?(D.date=T[1],b=T[3]):(T=c.datePattern.exec(M),T?(D.date=T[1],b=T[2]):(D.date=null,b=M)),b){var C=c.timeZone.exec(b);C?(D.time=b.replace(C[1],""),D.timeZone=C[1].trim()):D.time=b}return D}function g(M,D){var T=c.YYY[D],b=c.YYYYY[D],C;if(C=c.YYYY.exec(M)||b.exec(M),C){var S=C[1];return{year:parseInt(S,10),restDateString:M.slice(S.length)}}if(C=c.YY.exec(M)||T.exec(M),C){var U=C[1];return{year:parseInt(U,10)*100,restDateString:M.slice(U.length)}}return{year:null}}function x(M,D){if(D===null)return null;var T,b,C,S;if(M.length===0)return b=new Date(0),b.setUTCFullYear(D),b;if(T=c.MM.exec(M),T)return b=new Date(0),C=parseInt(T[1],10)-1,l(D,C)?(b.setUTCFullYear(D,C),b):new Date(NaN);if(T=c.DDD.exec(M),T){b=new Date(0);var U=parseInt(T[1],10);return _(D,U)?(b.setUTCFullYear(D,0,U),b):new Date(NaN)}if(T=c.MMDD.exec(M),T){b=new Date(0),C=parseInt(T[1],10)-1;var z=parseInt(T[2],10);return l(D,C,z)?(b.setUTCFullYear(D,C,z),b):new Date(NaN)}if(T=c.Www.exec(M),T)return S=parseInt(T[1],10)-1,O(D,S)?m(D,S):new Date(NaN);if(T=c.WwwD.exec(M),T){S=parseInt(T[1],10)-1;var k=parseInt(T[2],10)-1;return O(D,S,k)?m(D,S,k):new Date(NaN)}return null}function w(M){var D,T,b;if(D=c.HH.exec(M),D)return T=parseFloat(D[1].replace(",",".")),P(T)?T%24*r:NaN;if(D=c.HHMM.exec(M),D)return T=parseInt(D[1],10),b=parseFloat(D[2].replace(",",".")),P(T,b)?T%24*r+b*a:NaN;if(D=c.HHMMSS.exec(M),D){T=parseInt(D[1],10),b=parseInt(D[2],10);var C=parseFloat(D[3].replace(",","."));return P(T,b,C)?T%24*r+b*a+C*1e3:NaN}return null}function m(M,D,T){D=D||0,T=T||0;var b=new Date(0);b.setUTCFullYear(M,0,4);var C=b.getUTCDay()||7,S=D*7+T+1-C;return b.setUTCDate(b.getUTCDate()+S),b}var d=[31,28,31,30,31,30,31,31,30,31,30,31],v=[31,29,31,30,31,30,31,31,30,31,30,31];function i(M){return M%400===0||M%4===0&&M%100!==0}function l(M,D,T){if(D<0||D>11)return!1;if(T!=null){if(T<1)return!1;var b=i(M);if(b&&T>v[D]||!b&&T>d[D])return!1}return!0}function _(M,D){if(D<1)return!1;var T=i(M);return!(T&&D>366||!T&&D>365)}function O(M,D,T){return!(D<0||D>52||T!=null&&(T<0||T>6))}function P(M,D,T){return!(M!=null&&(M<0||M>=25)||D!=null&&(D<0||D>=60)||T!=null&&(T<0||T>=60))}t.exports=e.default})(fr,H);(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;var s=o(oe),f=o(Ye),h=o(H);function o(a){return a&&a.__esModule?a:{default:a}}var u=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function r(a,n,c){var p=String(n),y=c||{},g=p.match(u);if(g){var x=(0,h.default)(a,y);p=g.reduce(function(w,m){if(m[0]==="'")return w;var d=w.indexOf(m),v=w[d-1]==="'",i=w.replace(m,"'"+f.default[m[0]](x,m,null,y)+"'");return v?i.substring(0,d-1)+i.substring(d+1):i},p)}return(0,s.default)(a,p,y)}t.exports=e.default})(pt,G);var ke={},cr={get exports(){return ke},set exports(t){ke=t}},te={},vr={get exports(){return te},set exports(t){te=t}},We={},mr={get exports(){return We},set exports(t){We=t}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;function s(f,h){if(f==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var o in h)Object.prototype.hasOwnProperty.call(h,o)&&(f[o]=h[o]);return f}t.exports=e.default})(mr,We);(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=h;var s=f(We);function f(o){return o&&o.__esModule?o:{default:o}}function h(o){return(0,s.default)({},o)}t.exports=e.default})(vr,te);var re={},hr={get exports(){return re},set exports(t){re=t}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var s=h($),f=h(H);function h(u){return u&&u.__esModule?u:{default:u}}function o(u,r,a){var n=(0,f.default)(u,a),c=(0,s.default)(r,n,!0),p=new Date(n.getTime()-c),y=new Date(0);return y.setFullYear(p.getUTCFullYear(),p.getUTCMonth(),p.getUTCDate()),y.setHours(p.getUTCHours(),p.getUTCMinutes(),p.getUTCSeconds(),p.getUTCMilliseconds()),y}t.exports=e.default})(hr,re);(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=u;var s=o(te),f=o(G),h=o(re);function o(r){return r&&r.__esModule?r:{default:r}}function u(r,a,n,c){var p=(0,s.default)(c);return p.timeZone=a,(0,f.default)((0,h.default)(r,a),n,p)}t.exports=e.default})(cr,ke);var Ie={},gr={get exports(){return Ie},set exports(t){Ie=t}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=h;var s=f($);function f(o){return o&&o.__esModule?o:{default:o}}function h(o,u){return-(0,s.default)(o,u)}t.exports=e.default})(gr,Ie);var qe={},_r={get exports(){return qe},set exports(t){qe=t}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var s=r(te),f=r(H),h=r(ee),o=r($),u=r(j);function r(n){return n&&n.__esModule?n:{default:n}}function a(n,c,p){if(typeof n=="string"&&!n.match(h.default)){var y=(0,s.default)(p);return y.timeZone=c,(0,f.default)(n,y)}var g=(0,f.default)(n,p),x=(0,u.default)(g.getFullYear(),g.getMonth(),g.getDate(),g.getHours(),g.getMinutes(),g.getSeconds(),g.getMilliseconds()).getTime(),w=(0,o.default)(c,new Date(x));return new Date(x+w)}t.exports=e.default})(_r,qe);var Be={format:G,formatInTimeZone:ke,getTimezoneOffset:Ie,toDate:H,utcToZonedTime:re,zonedTimeToUtc:qe};const Ve="yyyy-MM-dd z HH:mm:ss.SS";function wr(t,e="UTC",s="ago"){if(!t)return"";try{ft(t)&&(t=st(t));const f=ct(t);return e==="local"?Be.format(f,Ve):e==="relative"?_t(f)+` ${s}`:Be.formatInTimeZone(f,"UTC",Ve)}catch{return""}}export{wr as f}; diff --git a/ui/assets/cloud/_app/immutable/chunks/format-event-attributes.f0307b43.js b/ui/assets/cloud/_app/immutable/chunks/format-event-attributes.f0307b43.js deleted file mode 100644 index 29421d0b2e..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/format-event-attributes.f0307b43.js +++ /dev/null @@ -1 +0,0 @@ -import{K as h}from"./index.d29c66be.js";import{t as p}from"./time-format.6ef667eb.js";import{i as E}from"./index.e1962a6e.js";import{c as a}from"./format-camel-case.960a78f9.js";import{h as f,i as m}from"./has.8da86d13.js";import{B as T}from"./is-event-type.0064ca29.js";import{f as x}from"./format-date.100c5f23.js";const I={key:"",value:""},S=new Set(["activityId","attempt","binaryChecksum","identity","parentInitiatedEventId","requestId","scheduledEventId","startedEventId","lastHeartbeatTime","scheduledTime","expirationTime"]),J=t=>S.has(t),j=new Set(["suggestContinueAsNew","historySizeBytes"]),l=(t,e)=>!(e===null||e===void 0||e===""||e==="0s"||t==="type"||(!e||e==="0")&&j.has(t)),A=t=>!(t===null||t===void 0||t===""||Array.isArray(t)&&!t.length),X=t=>typeof t=="string"?t:[t==null?void 0:t.payloads,t==null?void 0:t.indexedFields,t==null?void 0:t.points,t].find(e=>e!==void 0),D=t=>{if(m(t)){if(f(t,"stackTrace")&&t.stackTrace)return t.stackTrace;for(const e in t)if(m(t[e]))return D(t[e])}},R=["baseRunId","continuedExecutionRunId","firstExecutionRunId","newExecutionRunId","newRunId","originalExecutionRunId"],Y=t=>{for(const e of R)if(t===e)return!0;return!1},b=["taskQueueName"],Z=t=>{for(const e of b)if(t===e)return!0;return!1},O=["workflowExecutionWorkflowId","workflowExecutionRunId"],v=(t,e)=>{const r=Boolean((e==null?void 0:e.workflowExecutionWorkflowId)&&(e==null?void 0:e.workflowExecutionRunId));for(const o of O)if(t===o&&r)return!0;return!1},y=(t,e)=>{if(typeof e=="object"){const[r]=Object.keys(e);return{key:t+a(r),value:e[r]}}else return{key:t,value:e.toString()}},L=["failure","input","activityType","parentInitiatedEventId","workflowExecution","workflowType","taskQueue"],N=({attributes:t})=>{for(const[e,r]of Object.entries(t))if(l(e,r))return y(e,r)},Q=t=>{if(f(t,"ActivityType"))return t.ActivityType;if(f(t,"activity_type"))return t.activity_type},d=t=>{var r,o,n,s;const e=N(t);if(T(t)){const i=(s=(n=(o=(r=t.markerRecordedEventAttributes)==null?void 0:r.details)==null?void 0:o.data)==null?void 0:n.payloads)==null?void 0:s[0],c=Q(i);if(c)return y("ActivityType",c)}for(const[i,c]of Object.entries(t.attributes))for(const w of L)if(i===w&&l(i,c))return y(i,c);return e},G=({lastEvent:t})=>d(t),tt=t=>t?E(t)?G(t):d(t):I,K=new Set(["header"]),P=new Set(["taskQueue","retryPolicy","parentWorkflowExecution","workflowExecution"]),W=new Set(["maximumAttempts"]),u="Unlimited",F="No Expiration",et=(t,e)=>t===0?F:e,rt=(t,e)=>t?t-e:u,ot=t=>t||u,C=(t,e)=>t==="maximumAttempts"&&!e?u:e,V=(t,e)=>{if(P.has(e)&&typeof t[e]=="object"){for(const[r,o]of Object.entries(t[e]))A(o)&&(W.has(r)?t[`${e}${a(r)}`]=C(r,o):t[`${e}${a(r)}`]=o);delete t[e]}},nt=(t,{compact:e}={compact:!1})=>{const r={};e&&(r.eventTime=x(t.eventTime,h(p)));for(const[o,n]of Object.entries(t.attributes)){const s=l(o,n);!K.has(o)&&s&&(r[o]=n),V(r,o)}return r},k=["summary","parent","activity","taskQueue","schedule","retryPolicy","workflow","searchAttributes"],st={activity:{label:"Activity"},parent:{label:"Parent"},retryPolicy:{label:"Retry Policy"},schedule:{label:"Schedule"},searchAttributes:{label:"Search Attributes"},summary:{label:"Summary"},taskQueue:{label:"Task Queue"},workflow:{label:"Workflow"}},g=(t,e)=>{var r,o;t.category==="activity"&&((r=e==null?void 0:e.activity)!=null&&r.length)&&(e.summary=[...e.activity,...e.summary],e.activity=[]),t.category==="activity"&&((o=e==null?void 0:e.workflow)!=null&&o.length)&&(e.summary=[...e.summary,...e.workflow],e.workflow=[])},B=t=>{const e=new Set(["summary","searchAttributes"]);for(const[r,o]of Object.entries(t))o.length===1&&!e.has(r)&&(t.summary=[...t.summary,...o],t[r]=[])},it=(t,e)=>{const r={};k.forEach(o=>{o==="summary"?r[o]=Object.keys(e):r[o]=[]});for(const o in e){const n=k.find(s=>o.includes(s));n&&(r[n]=[o,...r[n]],r.summary=r.summary.filter(s=>s!==o))}return g(t,r),B(r),r};export{v as a,Z as b,J as c,D as d,st as e,nt as f,X as g,it as h,tt as i,et as j,rt as k,ot as l,Y as s}; diff --git a/ui/assets/cloud/_app/immutable/chunks/format-time.66fea38b.js b/ui/assets/cloud/_app/immutable/chunks/format-time.66fea38b.js deleted file mode 100644 index 85034055ca..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/format-time.66fea38b.js +++ /dev/null @@ -1 +0,0 @@ -import{i as fe,a as F,h as L}from"./has.8da86d13.js";function m(t){if(t===null||t===!0||t===!1)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function l(t,e){if(e.length1?"s":"")+" required, but only "+e.length+" present")}function W(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?W=function(r){return typeof r}:W=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},W(t)}function u(t){l(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||W(t)==="object"&&e==="[object Date]"?new Date(t.getTime()):typeof t=="number"||e==="[object Number]"?new Date(t):((typeof t=="string"||e==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function X(t,e){l(2,arguments);var r=u(t),a=m(e);return isNaN(a)?new Date(NaN):(a&&r.setDate(r.getDate()+a),r)}function Q(t,e){l(2,arguments);var r=u(t),a=m(e);if(isNaN(a))return new Date(NaN);if(!a)return r;var n=r.getDate(),i=new Date(r.getTime());i.setMonth(r.getMonth()+a+1,0);var o=i.getDate();return n>=o?i:(r.setFullYear(i.getFullYear(),i.getMonth(),n),r)}function k(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?k=function(r){return typeof r}:k=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},k(t)}function D(t,e){if(l(2,arguments),!e||k(e)!=="object")return new Date(NaN);var r=e.years?m(e.years):0,a=e.months?m(e.months):0,n=e.weeks?m(e.weeks):0,i=e.days?m(e.days):0,o=e.hours?m(e.hours):0,s=e.minutes?m(e.minutes):0,f=e.seconds?m(e.seconds):0,d=u(t),c=a||r?Q(d,a+r*12):d,v=i||n?X(c,i+n*7):c,p=s+o*60,g=f+p*60,h=g*1e3,b=new Date(v.getTime()+h);return b}var de={};function me(){return de}function H(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}function q(t){l(1,arguments);var e=u(t);return e.setHours(0,0,0,0),e}var ce=864e5;function ve(t,e){l(2,arguments);var r=q(t),a=q(e),n=r.getTime()-H(r),i=a.getTime()-H(a);return Math.round((n-i)/ce)}function w(t,e){l(2,arguments);var r=u(t),a=u(e),n=r.getTime()-a.getTime();return n<0?-1:n>0?1:n}var $=6e4,z=36e5;function he(t,e){l(2,arguments);var r=u(t),a=u(e),n=r.getFullYear()-a.getFullYear(),i=r.getMonth()-a.getMonth();return n*12+i}function ge(t,e){l(2,arguments);var r=u(t),a=u(e);return r.getFullYear()-a.getFullYear()}function J(t,e){var r=t.getFullYear()-e.getFullYear()||t.getMonth()-e.getMonth()||t.getDate()-e.getDate()||t.getHours()-e.getHours()||t.getMinutes()-e.getMinutes()||t.getSeconds()-e.getSeconds()||t.getMilliseconds()-e.getMilliseconds();return r<0?-1:r>0?1:r}function ye(t,e){l(2,arguments);var r=u(t),a=u(e),n=J(r,a),i=Math.abs(ve(r,a));r.setDate(r.getDate()-n*i);var o=Number(J(r,a)===-n),s=n*(i-o);return s===0?0:s}function E(t,e){return l(2,arguments),u(t).getTime()-u(e).getTime()}var V={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}},pe="trunc";function R(t){return t?V[t]:V[pe]}function be(t,e,r){l(2,arguments);var a=E(t,e)/z;return R(r==null?void 0:r.roundingMethod)(a)}function De(t,e,r){l(2,arguments);var a=E(t,e)/$;return R(r==null?void 0:r.roundingMethod)(a)}function we(t){l(1,arguments);var e=u(t);return e.setHours(23,59,59,999),e}function Me(t){l(1,arguments);var e=u(t),r=e.getMonth();return e.setFullYear(e.getFullYear(),r+1,0),e.setHours(23,59,59,999),e}function Ne(t){l(1,arguments);var e=u(t);return we(e).getTime()===Me(e).getTime()}function Se(t,e){l(2,arguments);var r=u(t),a=u(e),n=w(r,a),i=Math.abs(he(r,a)),o;if(i<1)o=0;else{r.getMonth()===1&&r.getDate()>27&&r.setDate(30),r.setMonth(r.getMonth()-n*i);var s=w(r,a)===-n;Ne(u(t))&&i===1&&w(t,a)===1&&(s=!1),o=n*(i-Number(s))}return o===0?0:o}function Te(t,e,r){l(2,arguments);var a=E(t,e)/1e3;return R(r==null?void 0:r.roundingMethod)(a)}function Pe(t,e){l(2,arguments);var r=u(t),a=u(e),n=w(r,a),i=Math.abs(ge(r,a));r.setFullYear(1584),a.setFullYear(1584);var o=w(r,a)===-n,s=n*(i-Number(o));return s===0?0:s}function y(t,e){for(var r=t<0?"-":"",a=Math.abs(t).toString();a.length0?"in "+n:n+" ago":n};const Ce=ke;function Y(t){return function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=e.width?String(e.width):t.defaultWidth,a=t.formats[r]||t.formats[t.defaultWidth];return a}}var Fe={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Oe={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Ie={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Ye={date:Y({formats:Fe,defaultWidth:"full"}),time:Y({formats:Oe,defaultWidth:"full"}),dateTime:Y({formats:Ie,defaultWidth:"full"})};const xe=Ye;var Ae={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},_e=function(e,r,a,n){return Ae[e]};const $e=_e;function M(t){return function(e,r){var a=r!=null&&r.context?String(r.context):"standalone",n;if(a==="formatting"&&t.formattingValues){var i=t.defaultFormattingWidth||t.defaultWidth,o=r!=null&&r.width?String(r.width):i;n=t.formattingValues[o]||t.formattingValues[i]}else{var s=t.defaultWidth,f=r!=null&&r.width?String(r.width):t.defaultWidth;n=t.values[f]||t.values[s]}var d=t.argumentCallback?t.argumentCallback(e):e;return n[d]}}var ze={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Ee={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Re={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Ue={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},je={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Le={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},He=function(e,r){var a=Number(e),n=a%100;if(n>20||n<10)switch(n%10){case 1:return a+"st";case 2:return a+"nd";case 3:return a+"rd"}return a+"th"},qe={ordinalNumber:He,era:M({values:ze,defaultWidth:"wide"}),quarter:M({values:Ee,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:M({values:Re,defaultWidth:"wide"}),day:M({values:Ue,defaultWidth:"wide"}),dayPeriod:M({values:je,defaultWidth:"wide",formattingValues:Le,defaultFormattingWidth:"wide"})};const Je=qe;function N(t){return function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=r.width,n=a&&t.matchPatterns[a]||t.matchPatterns[t.defaultMatchWidth],i=e.match(n);if(!i)return null;var o=i[0],s=a&&t.parsePatterns[a]||t.parsePatterns[t.defaultParseWidth],f=Array.isArray(s)?Ze(s,function(v){return v.test(o)}):Ve(s,function(v){return v.test(o)}),d;d=t.valueCallback?t.valueCallback(f):f,d=r.valueCallback?r.valueCallback(d):d;var c=e.slice(o.length);return{value:d,rest:c}}}function Ve(t,e){for(var r in t)if(t.hasOwnProperty(r)&&e(t[r]))return r}function Ze(t,e){for(var r=0;r1&&arguments[1]!==void 0?arguments[1]:{},a=e.match(t.matchPattern);if(!a)return null;var n=a[0],i=e.match(t.parsePattern);if(!i)return null;var o=t.valueCallback?t.valueCallback(i[0]):i[0];o=r.valueCallback?r.valueCallback(o):o;var s=e.slice(n.length);return{value:o,rest:s}}}var Qe=/^(\d+)(th|st|nd|rd)?/i,Be=/\d+/i,Ke={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Ge={any:[/^b/i,/^(a|c)/i]},et={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},tt={any:[/1/i,/2/i,/3/i,/4/i]},rt={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},at={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},nt={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},it={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},ot={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},st={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},ut={ordinalNumber:Xe({matchPattern:Qe,parsePattern:Be,valueCallback:function(e){return parseInt(e,10)}}),era:N({matchPatterns:Ke,defaultMatchWidth:"wide",parsePatterns:Ge,defaultParseWidth:"any"}),quarter:N({matchPatterns:et,defaultMatchWidth:"wide",parsePatterns:tt,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:N({matchPatterns:rt,defaultMatchWidth:"wide",parsePatterns:at,defaultParseWidth:"any"}),day:N({matchPatterns:nt,defaultMatchWidth:"wide",parsePatterns:it,defaultParseWidth:"any"}),dayPeriod:N({matchPatterns:ot,defaultMatchWidth:"any",parsePatterns:st,defaultParseWidth:"any"})};const lt=ut;var ft={code:"en-US",formatDistance:Ce,formatLong:xe,formatRelative:$e,localize:Je,match:lt,options:{weekStartsOn:0,firstWeekContainsDate:1}};const dt=ft;var mt=["years","months","weeks","days","hours","minutes","seconds"];function ct(t,e){var r,a,n,i,o;if(arguments.length<1)throw new TypeError("1 argument required, but only ".concat(arguments.length," present"));var s=me(),f=(r=(a=e==null?void 0:e.locale)!==null&&a!==void 0?a:s.locale)!==null&&r!==void 0?r:dt,d=(n=e==null?void 0:e.format)!==null&&n!==void 0?n:mt,c=(i=e==null?void 0:e.zero)!==null&&i!==void 0?i:!1,v=(o=e==null?void 0:e.delimiter)!==null&&o!==void 0?o:" ";if(!f.formatDistance)return"";var p=d.reduce(function(g,h){var b="x".concat(h.replace(/(^.)/,function(I){return I.toUpperCase()})),T=t[h];return typeof T=="number"&&(c||t[h])?g.concat(f.formatDistance(b,T)):g},[]).join(v);return p}function B(t,e){var r,a;l(1,arguments);var n=u(t);if(isNaN(n.getTime()))throw new RangeError("Invalid time value");var i=String((r=e==null?void 0:e.format)!==null&&r!==void 0?r:"extended"),o=String((a=e==null?void 0:e.representation)!==null&&a!==void 0?a:"complete");if(i!=="extended"&&i!=="basic")throw new RangeError("format must be 'extended' or 'basic'");if(o!=="date"&&o!=="time"&&o!=="complete")throw new RangeError("representation must be 'date', 'time', or 'complete'");var s="",f="",d=i==="extended"?"-":"",c=i==="extended"?":":"";if(o!=="time"){var v=y(n.getDate(),2),p=y(n.getMonth()+1,2),g=y(n.getFullYear(),4);s="".concat(g).concat(d).concat(p).concat(d).concat(v)}if(o!=="date"){var h=n.getTimezoneOffset();if(h!==0){var b=Math.abs(h),T=y(Math.floor(b/60),2),I=y(b%60,2),ne=h<0?"+":"-";f="".concat(ne).concat(T,":").concat(I)}else f="Z";var ie=y(n.getHours(),2),oe=y(n.getMinutes(),2),se=y(n.getSeconds(),2),ue=s===""?"":"T",le=[ie,oe,se].join(c);s="".concat(s).concat(ue).concat(le).concat(f)}return s}function vt(t){l(1,arguments);var e=u(t),r=e.getMilliseconds();return r}function U(t){l(1,arguments);var e=u(t.start),r=u(t.end);if(isNaN(e.getTime()))throw new RangeError("Start Date is invalid");if(isNaN(r.getTime()))throw new RangeError("End Date is invalid");var a={};a.years=Math.abs(Pe(r,e));var n=w(r,e),i=D(e,{years:n*a.years});a.months=Math.abs(Se(r,i));var o=D(i,{months:n*a.months});a.days=Math.abs(ye(r,o));var s=D(o,{days:n*a.days});a.hours=Math.abs(be(r,s));var f=D(s,{hours:n*a.hours});a.minutes=Math.abs(De(r,f));var d=D(f,{minutes:n*a.minutes});return a.seconds=Math.abs(Te(r,d)),a}function ht(t,e){l(2,arguments);var r=m(e);return X(t,-r)}function Z(t,e){var r;l(1,arguments);var a=m((r=e==null?void 0:e.additionalDigits)!==null&&r!==void 0?r:2);if(a!==2&&a!==1&&a!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(!(typeof t=="string"||Object.prototype.toString.call(t)==="[object String]"))return new Date(NaN);var n=bt(t),i;if(n.date){var o=Dt(n.date,a);i=wt(o.restDateString,o.year)}if(!i||isNaN(i.getTime()))return new Date(NaN);var s=i.getTime(),f=0,d;if(n.time&&(f=Mt(n.time),isNaN(f)))return new Date(NaN);if(n.timezone){if(d=Nt(n.timezone),isNaN(d))return new Date(NaN)}else{var c=new Date(s+f),v=new Date(0);return v.setFullYear(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),v.setHours(c.getUTCHours(),c.getUTCMinutes(),c.getUTCSeconds(),c.getUTCMilliseconds()),v}return new Date(s+f+d)}var P={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},gt=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,yt=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,pt=/^([+-])(\d{2})(?::?(\d{2}))?$/;function bt(t){var e={},r=t.split(P.dateTimeDelimiter),a;if(r.length>2)return e;if(/:/.test(r[0])?a=r[0]:(e.date=r[0],a=r[1],P.timeZoneDelimiter.test(e.date)&&(e.date=t.split(P.timeZoneDelimiter)[0],a=t.substr(e.date.length,t.length))),a){var n=P.timezone.exec(a);n?(e.time=a.replace(n[1],""),e.timezone=n[1]):e.time=a}return e}function Dt(t,e){var r=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+e)+"})|(\\d{2}|[+-]\\d{"+(2+e)+"})$)"),a=t.match(r);if(!a)return{year:NaN,restDateString:""};var n=a[1]?parseInt(a[1]):null,i=a[2]?parseInt(a[2]):null;return{year:i===null?n:i*100,restDateString:t.slice((a[1]||a[2]).length)}}function wt(t,e){if(e===null)return new Date(NaN);var r=t.match(gt);if(!r)return new Date(NaN);var a=!!r[4],n=S(r[1]),i=S(r[2])-1,o=S(r[3]),s=S(r[4]),f=S(r[5])-1;if(a)return kt(e,s,f)?St(e,s,f):new Date(NaN);var d=new Date(0);return!Pt(e,i,o)||!Wt(e,n)?new Date(NaN):(d.setUTCFullYear(e,i,Math.max(n,o)),d)}function S(t){return t?parseInt(t):1}function Mt(t){var e=t.match(yt);if(!e)return NaN;var r=x(e[1]),a=x(e[2]),n=x(e[3]);return Ct(r,a,n)?r*z+a*$+n*1e3:NaN}function x(t){return t&&parseFloat(t.replace(",","."))||0}function Nt(t){if(t==="Z")return 0;var e=t.match(pt);if(!e)return 0;var r=e[1]==="+"?-1:1,a=parseInt(e[2]),n=e[3]&&parseInt(e[3])||0;return Ft(a,n)?r*(a*z+n*$):NaN}function St(t,e,r){var a=new Date(0);a.setUTCFullYear(t,0,4);var n=a.getUTCDay()||7,i=(e-1)*7+r+1-n;return a.setUTCDate(a.getUTCDate()+i),a}var Tt=[31,null,31,30,31,30,31,31,30,31,30,31];function K(t){return t%400===0||t%4===0&&t%100!==0}function Pt(t,e,r){return e>=0&&e<=11&&r>=1&&r<=(Tt[e]||(K(t)?29:28))}function Wt(t,e){return e>=1&&e<=(K(t)?366:365)}function kt(t,e,r){return e>=1&&e<=53&&r>=0&&r<=6}function Ct(t,e,r){return t===24?e===0&&r===0:r>=0&&r<60&&e>=0&&e<60&&t>=0&&t<25}function Ft(t,e){return e>=0&&e<=59}function A(t){if(l(1,arguments),typeof t=="string"){var e=t.match(/(\d{4})-(\d{2})-(\d{2})[T ](\d{2}):(\d{2}):(\d{2})(?:\.(\d{0,7}))?(?:Z|(.)(\d{2}):?(\d{2})?)?/);return e?new Date(Date.UTC(+e[1],+e[2]-1,+e[3],+e[4]-(+e[9]||0)*(e[8]=="-"?-1:1),+e[5]-(+e[10]||0)*(e[8]=="-"?-1:1),+e[6],+((e[7]||"0")+"00").substring(0,3))):new Date(NaN)}return u(t)}function Ot(t,e){l(2,arguments);var r=m(e);return Q(t,-r)}function C(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?C=function(r){return typeof r}:C=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},C(t)}function It(t,e){if(l(2,arguments),!e||C(e)!=="object")return new Date(NaN);var r=e.years?m(e.years):0,a=e.months?m(e.months):0,n=e.weeks?m(e.weeks):0,i=e.days?m(e.days):0,o=e.hours?m(e.hours):0,s=e.minutes?m(e.minutes):0,f=e.seconds?m(e.seconds):0,d=Ot(t,a+r*12),c=ht(d,i+n*7),v=s+o*60,p=f+v*60,g=p*1e3,h=new Date(c.getTime()-g);return h}const G=["years","months","weeks","days","hours","minutes","seconds"],_t=["15 minutes","1 hour","3 hours","24 hours","3 days","7 days","30 days","90 days"],$t=["15 minutes","3 days","1 hour","7 days","3 hours","30 days","24 hours","90 days"],ee=new RegExp(`(\\d+)\\s(${G.map(t=>t+"?").join("|")})`,"g"),te=t=>{if(!F(t))return!1;for(const e of G)if(e===t)return!0;return!1},zt=t=>{if(!fe(t))return!1;for(const e of Object.keys(t))if(!te(e))return!1;return!0},Et=t=>F(t)?!!t.match(ee):!1,Rt=(t=new Date)=>B(D(t,{hours:24})),Yt=t=>{const e={},r=t.match(ee);if(!r)return e;for(const a of r){const[n,i]=a.split(" "),o=parseInt(n,10);let s=i;i.endsWith("s")||(s=i+"s"),te(s)&&(e[s]=o)}return e},Ut=t=>{const e=typeof t=="string"?Yt(t):t;return B(It(new Date,e))},jt=(t,e=new Date)=>(F(t)&&(t=Z(t)),F(e)&&(e=Z(e)),U({start:t,end:e})),xt=t=>{const e=parseInt(t)*1e3;if(t.endsWith("s")&&!isNaN(e))return U({start:0,end:e})};function _(t){if(!O(t))throw new TypeError("provided value is not a timestamp");const e=new Date;return e.setTime(Number(t.seconds)*1e3+(t.nanos||0)/1e3),e}function O(t){return typeof t=="object"?L(t,"seconds")&&L(t,"nanos"):!1}function j(t,e=", "){return t===null||!t?"":(typeof t=="string"&&(t=xt(t)),ct(t,{delimiter:e}))}function Lt(t,e){return re(j(t,e))}function re(t){return t?(t=t.replace(/seconds/g,"second").replace(/second/g,"s").replace(/ s/g,"s").replace(/minutes/g,"minute").replace(/minute/g,"m").replace(/ m/g,"m").replace(/hours/g,"hour").replace(/hour/g,"h").replace(/ h/g,"h").replace(/days/g,"day").replace(/day/g,"d").replace(/ d/g,"d").replace(/weeks/g,"week").replace(/week/g,"w").replace(/ w/g,"w").replace(/ month/g,"month").replace(/ months/g,"months").replace(/ year/g,"year").replace(/ years/g,"years"),t):""}function ae({start:t,end:e}){if(!t||!e)return null;try{O(t)&&(t=_(t)),O(e)&&(e=_(e));const r=A(t),a=A(e);return U({start:r,end:a})}catch{return null}}function Ht({start:t,end:e}){const r=ae({start:t,end:e});return j(r)}function qt({start:t,end:e}){const r=ae({start:t,end:e}),a=j(r," ");return re(a)}function Jt(t){if(!t)return 0;O(t)&&(t=_(t));const e=A(t);return vt(e)}function Vt(t){if(!t)return"";typeof t=="string"&&(t.includes("s")&&(t=t.replace("s","")),t=parseInt(t));const e=Math.floor(t/(60*60)),r=Math.floor(t/(24*60*60));return r===1?r+" day":r>1?r+" days":e===1?e+" hour":e+" hours"}export{$t as A,B,Ht as C,ae as D,Te as a,Se as b,w as c,dt as d,me as e,Lt as f,H as g,_ as h,O as i,j,zt as k,Et as l,Ut as m,Rt as n,qt as o,A as p,Vt as q,l as r,_t as s,u as t,jt as u,ct as v,G as w,Jt as x,m as y,q as z}; diff --git a/ui/assets/cloud/_app/immutable/chunks/get-codec.a019b391.js b/ui/assets/cloud/_app/immutable/chunks/get-codec.a019b391.js deleted file mode 100644 index 51069f4852..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/get-codec.a019b391.js +++ /dev/null @@ -1 +0,0 @@ -import{K as c}from"./index.d29c66be.js";import{c as u,o as C,p as l,i as E}from"./is-http.91300684.js";const O=(o,d=u,e=C)=>{var r;return c(e)&&c(d)||((r=o==null?void 0:o.codec)==null?void 0:r.endpoint)||c(d)||""},f=(o,d=l,e=u,p=C)=>{var n,a;const r=c(p)&&c(e),v=(n=o==null?void 0:o.codec)!=null&&n.endpoint?!!((a=o==null?void 0:o.codec)!=null&&a.passAccessToken):!!c(d);return r?!!c(d):v},A=(o,d=E,e=u,p=C)=>{var n,a;const r=c(p)&&c(e),v=(n=o==null?void 0:o.codec)!=null&&n.endpoint?!!((a=o==null?void 0:o.codec)!=null&&a.includeCredentials):!!c(d);return r?!!c(d):v};export{f as a,A as b,O as g}; diff --git a/ui/assets/cloud/_app/immutable/chunks/get-event-categorization.b6da7e5f.js b/ui/assets/cloud/_app/immutable/chunks/get-event-categorization.b6da7e5f.js deleted file mode 100644 index 7935cad33a..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/get-event-categorization.b6da7e5f.js +++ /dev/null @@ -1 +0,0 @@ -const o={ACTIVITY:"activity",CHILD_WORKFLOW:"child-workflow",COMMAND:"command",LOCAL_ACTIVITY:"local-activity",MARKER:"marker",SIGNAL:"signal",TIMER:"timer",UPDATE:"update",WORKFLOW:"workflow"},l={ActivityTaskCanceled:o.ACTIVITY,ActivityTaskCancelRequested:o.ACTIVITY,ActivityTaskCompleted:o.ACTIVITY,ActivityTaskFailed:o.ACTIVITY,ActivityTaskScheduled:o.ACTIVITY,ActivityTaskStarted:o.ACTIVITY,ActivityTaskTimedOut:o.ACTIVITY,ChildWorkflowExecutionCanceled:o.CHILD_WORKFLOW,ChildWorkflowExecutionCompleted:o.CHILD_WORKFLOW,ChildWorkflowExecutionFailed:o.CHILD_WORKFLOW,ChildWorkflowExecutionStarted:o.CHILD_WORKFLOW,ChildWorkflowExecutionTerminated:o.CHILD_WORKFLOW,ChildWorkflowExecutionTimedOut:o.CHILD_WORKFLOW,StartChildWorkflowExecutionFailed:o.CHILD_WORKFLOW,StartChildWorkflowExecutionInitiated:o.CHILD_WORKFLOW,MarkerRecorded:o.MARKER,SignalExternalWorkflowExecutionFailed:o.SIGNAL,SignalExternalWorkflowExecutionInitiated:o.SIGNAL,WorkflowExecutionSignaled:o.SIGNAL,TimerCanceled:o.TIMER,TimerFired:o.TIMER,TimerStarted:o.TIMER,WorkflowExecutionCanceled:o.WORKFLOW,WorkflowExecutionCancelRequested:o.WORKFLOW,WorkflowExecutionCompleted:o.WORKFLOW,WorkflowExecutionContinuedAsNew:o.WORKFLOW,WorkflowExecutionFailed:o.WORKFLOW,WorkflowExecutionStarted:o.WORKFLOW,WorkflowExecutionTerminated:o.WORKFLOW,WorkflowExecutionTimedOut:o.WORKFLOW,WorkflowTaskCompleted:o.WORKFLOW,WorkflowTaskFailed:o.WORKFLOW,WorkflowTaskScheduled:o.WORKFLOW,WorkflowTaskStarted:o.WORKFLOW,WorkflowTaskTimedOut:o.WORKFLOW,ExternalWorkflowExecutionCancelRequested:o.WORKFLOW,ExternalWorkflowExecutionSignaled:o.WORKFLOW,RequestCancelExternalWorkflowExecutionFailed:o.WORKFLOW,RequestCancelExternalWorkflowExecutionInitiated:o.WORKFLOW,UpsertWorkflowSearchAttributes:o.COMMAND,WorkflowUpdateAccepted:o.UPDATE,WorkflowUpdateCompleted:o.UPDATE},t=[{label:"All",option:void 0},{label:"Activity",option:o.ACTIVITY,color:"#8B5CF6"},{label:"Child Workflow",option:o.CHILD_WORKFLOW,color:"#F59E0B"},{label:"Command",option:o.COMMAND,color:"#10B981"},{label:"Local Activity",option:o.LOCAL_ACTIVITY},{label:"Marker",option:o.MARKER,color:"#EC4899"},{label:"Signal",option:o.SIGNAL,color:"#DD6B20"},{label:"Timer",option:o.TIMER,color:"#1D4ED8"},{label:"Update",option:o.UPDATE},{label:"Workflow",option:o.WORKFLOW,color:"#10B981"}],i=[void 0,o.ACTIVITY,o.LOCAL_ACTIVITY,o.SIGNAL,o.TIMER],a=t.filter(({option:e})=>i.includes(e)),W=[o.ACTIVITY,o.LOCAL_ACTIVITY,o.CHILD_WORKFLOW,o.COMMAND,o.MARKER,o.SIGNAL,o.TIMER,o.UPDATE];t.filter(({option:e})=>W.includes(e));const n=e=>l[e];export{o as C,t as a,a as c,n as g}; diff --git a/ui/assets/cloud/_app/immutable/chunks/has.8da86d13.js b/ui/assets/cloud/_app/immutable/chunks/has.8da86d13.js deleted file mode 100644 index 5d6c88adf3..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/has.8da86d13.js +++ /dev/null @@ -1 +0,0 @@ -const s=["Running","TimedOut","Completed","Failed","Completed","ContinuedAsNew","Canceled","Terminated"],o=["===","!==",">=","<=","==","!=","=",">","<","!"],a=["and","or"],i=["(",")"],r=e=>typeof e=="string",u=e=>e===null,f=e=>u(e)||Array.isArray(e)?!1:typeof e=="object",l=e=>{if(!r(e))return!1;for(const t of s)if(e===t)return!0;return!1},d=e=>e===" ",p=e=>e==="'"||e==='"',y=e=>{if(!r(e))return!1;e=e.toLocaleLowerCase();for(const t of o)if(e===t)return!0;return!1},C=e=>{if(!r(e))return!1;e=e.toLocaleLowerCase();for(const t of i)if(e===t)return!0;return!1},w=e=>{if(!r(e))return!1;e=e.toLocaleLowerCase();for(const t of a)if(e===t)return!0;return!1},L=e=>r(e)?(e=e.toLocaleLowerCase(),e==="between"):!1,h=e=>e==="ascending"||e==="descending",g=(e,...t)=>{if(!c(e))return!1;for(const n of t)if(!Object.prototype.hasOwnProperty.call(e,n))return!1;return!0},c=e=>f(e)?!!Object.keys(e).length:!1;export{r as a,h as b,u as c,C as d,y as e,d as f,p as g,g as h,f as i,l as j,w as k,L as l}; diff --git a/ui/assets/cloud/_app/immutable/chunks/icon.5aa23970.js b/ui/assets/cloud/_app/immutable/chunks/icon.5aa23970.js deleted file mode 100644 index 38dbc11b91..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/icon.5aa23970.js +++ /dev/null @@ -1 +0,0 @@ -import{S as Z,b as V,a as w,G as r1,a3 as $,w as s1,a4 as g,q as _,x as n1,k as u,u as a,f as i,M as U,y as l1,H as f1,I as c1,J as a1,j as p,g as v,O as o,P as C,C as L,D as k,E as M,V as E,a6 as b,F as H,n as S,c as R,d as T,e as N,z as Q,h as X,a5 as z,B as K}from"./index.d29c66be.js";function u1(n){let e,r,s,f,t;const l=n[5].default,c=r1(l,n,n[4],null);return{c(){e=$("svg"),r=$("title"),s=s1(n[2]),c&&c.c(),this.h()},l(h){e=g(h,"svg",{width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0,class:!0});var d=_(e);r=g(d,"title",{});var m=_(r);s=n1(m,n[2]),m.forEach(u),c&&c.l(d),d.forEach(u),this.h()},h(){a(e,"width",n[0]),a(e,"height",n[1]),a(e,"viewBox","0 0 24 24"),a(e,"fill","none"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"class",f=n[3].class)},m(h,d){i(h,e,d),U(e,r),U(r,s),c&&c.m(e,null),t=!0},p(h,[d]){(!t||d&4)&&l1(s,h[2]),c&&c.p&&(!t||d&16)&&f1(c,l,h,h[4],t?a1(l,h[4],d,null):c1(h[4]),null),(!t||d&1)&&a(e,"width",h[0]),(!t||d&2)&&a(e,"height",h[1]),(!t||d&8&&f!==(f=h[3].class))&&a(e,"class",f)},i(h){t||(p(c,h),t=!0)},o(h){v(c,h),t=!1},d(h){h&&u(e),c&&c.d(h)}}}function o1(n,e,r){let{$$slots:s={},$$scope:f}=e,{width:t=24}=e,{height:l=24}=e,{title:c=""}=e;return n.$$set=h=>{r(3,e=o(o({},e),C(h))),"width"in h&&r(0,t=h.width),"height"in h&&r(1,l=h.height),"title"in h&&r(2,c=h.title),"$$scope"in h&&r(4,f=h.$$scope)},e=C(e),[t,l,c,e,f,s]}class A extends Z{constructor(e){super(),V(this,e,o1,u1,w,{width:0,height:1,title:2})}}function i1(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M18.5 12C18.5 12.2812 18.25 12.5 18 12.5H12.5V18C12.5 18.2812 12.25 18.5312 12 18.5312C11.7188 18.5312 11.5 18.2812 11.5 18V12.5H6C5.71875 12.5 5.5 12.2812 5.5 12.0312C5.5 11.75 5.71875 11.5 6 11.5H11.5V6C11.5 5.75 11.7188 5.53125 12 5.53125C12.25 5.53125 12.5 5.75 12.5 6V11.5H18C18.25 11.5 18.5 11.75 18.5 12Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function C1(n){let e,r;const s=[n[0]];let f={$$slots:{default:[i1]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class $1 extends Z{constructor(e){super(),V(this,e,h1,C1,w,{})}}function g1(n){let e,r,s;return{c(){e=$("path"),r=R(),s=$("path"),this.h()},l(f){e=g(f,"path",{d:!0,stroke:!0}),_(e).forEach(u),r=T(f),s=g(f,"path",{d:!0,fill:!0}),_(s).forEach(u),this.h()},h(){a(e,"d","M9 12H15"),a(e,"stroke","currentcolor"),a(s,"d","M4 8V7.5H3.5V8H4ZM20 8H20.5V7.5H20V8ZM5.09202 19.782L5.31901 19.3365L5.09202 19.782ZM4.21799 18.908L4.66349 18.681L4.21799 18.908ZM19.782 18.908L19.3365 18.681L19.782 18.908ZM18.908 19.782L18.681 19.3365L18.908 19.782ZM4 8.5H20V7.5H4V8.5ZM19.5 8V16.8H20.5V8H19.5ZM16.8 19.5H7.2V20.5H16.8V19.5ZM4.5 16.8V8H3.5V16.8H4.5ZM7.2 19.5C6.6317 19.5 6.23554 19.4996 5.92712 19.4744C5.62454 19.4497 5.45069 19.4036 5.31901 19.3365L4.86502 20.2275C5.16117 20.3784 5.48126 20.4413 5.84569 20.4711C6.20428 20.5004 6.6482 20.5 7.2 20.5V19.5ZM3.5 16.8C3.5 17.3518 3.49961 17.7957 3.52891 18.1543C3.55868 18.5187 3.62159 18.8388 3.77248 19.135L4.66349 18.681C4.5964 18.5493 4.55031 18.3755 4.52559 18.0729C4.50039 17.7645 4.5 17.3683 4.5 16.8H3.5ZM5.31901 19.3365C5.03677 19.1927 4.8073 18.9632 4.66349 18.681L3.77248 19.135C4.01217 19.6054 4.39462 19.9878 4.86502 20.2275L5.31901 19.3365ZM19.5 16.8C19.5 17.3683 19.4996 17.7645 19.4744 18.0729C19.4497 18.3755 19.4036 18.5493 19.3365 18.681L20.2275 19.135C20.3784 18.8388 20.4413 18.5187 20.4711 18.1543C20.5004 17.7957 20.5 17.3518 20.5 16.8H19.5ZM16.8 20.5C17.3518 20.5 17.7957 20.5004 18.1543 20.4711C18.5187 20.4413 18.8388 20.3784 19.135 20.2275L18.681 19.3365C18.5493 19.4036 18.3755 19.4497 18.0729 19.4744C17.7645 19.4996 17.3683 19.5 16.8 19.5V20.5ZM19.3365 18.681C19.1927 18.9632 18.9632 19.1927 18.681 19.3365L19.135 20.2275C19.6054 19.9878 19.9878 19.6054 20.2275 19.135L19.3365 18.681ZM4 4.5H20V3.5H4V4.5ZM21 5.5V7.75H22V5.5H21ZM21.25 7.5H2.75V8.5H21.25V7.5ZM3 7.75V5.5H2V7.75H3ZM2.75 7.5C2.88807 7.5 3 7.61193 3 7.75H2C2 8.16421 2.33579 8.5 2.75 8.5V7.5ZM21 7.75C21 7.61193 21.1119 7.5 21.25 7.5V8.5C21.6642 8.5 22 8.16421 22 7.75H21ZM20 4.5C20.5523 4.5 21 4.94772 21 5.5H22C22 4.39543 21.1046 3.5 20 3.5V4.5ZM4 3.5C2.89543 3.5 2 4.39543 2 5.5H3C3 4.94772 3.44772 4.5 4 4.5V3.5Z"),a(s,"fill","currentcolor")},m(f,t){i(f,e,t),i(f,r,t),i(f,s,t)},p:S,d(f){f&&u(e),f&&u(r),f&&u(s)}}}function _1(n){let e,r;const s=[n[0]];let f={$$slots:{default:[g1]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class d1 extends Z{constructor(e){super(),V(this,e,m1,_1,w,{})}}function p1(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M18.3242 10.9954C18.2188 11.136 18.0781 11.2063 17.9375 11.2063C17.7969 11.2063 17.6562 11.136 17.5508 11.0305L12.3125 6.10864V19.3625C12.3125 19.679 12.0312 19.9602 11.75 19.9602C11.4688 19.9602 11.1875 19.679 11.1875 19.3625V6.10864L5.91406 11.0305C5.70312 11.2415 5.35156 11.2415 5.14062 10.9954C4.92969 10.7493 4.92969 10.3977 5.17578 10.1868L11.3633 4.35083C11.5742 4.13989 11.8906 4.13989 12.1016 4.35083L18.2891 10.1868C18.5352 10.3977 18.5352 10.7493 18.3242 10.9954Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function v1(n){let e,r;const s=[n[0]];let f={$$slots:{default:[p1]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class M1 extends Z{constructor(e){super(),V(this,e,L1,v1,w,{})}}function H1(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M14.5078 8.36719L17.8828 11.7422C17.9531 11.8125 18 11.9062 18 12C18 12.0703 17.9531 12.1875 17.8828 12.2578L14.5078 15.6328C14.3672 15.7734 14.1094 15.7734 13.9688 15.6328C13.8281 15.4922 13.8281 15.2578 13.9688 15.0938L16.7109 12.375H6.375C6.16406 12.375 6 12.1875 6 12C6 11.8125 6.16406 11.625 6.375 11.625H16.7109L13.9688 8.90625C13.8281 8.76562 13.8281 8.50781 13.9688 8.36719C14.1094 8.22656 14.3672 8.22656 14.5078 8.36719Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function Z1(n){let e,r;const s=[n[0]];let f={$$slots:{default:[H1]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class w1 extends Z{constructor(e){super(),V(this,e,V1,Z1,w,{})}}function k1(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M12.2188 13.6562H17.0938C17.2969 13.6562 17.5 13.4785 17.5 13.25C17.5 13.0469 17.2969 12.8438 17.0938 12.8438H12.2188C11.9902 12.8438 11.8125 13.0469 11.8125 13.25C11.8125 13.4785 11.9902 13.6562 12.2188 13.6562ZM12.2188 10.4062H15.4688C15.6719 10.4062 15.875 10.2285 15.875 10C15.875 9.79688 15.6719 9.59375 15.4688 9.59375H12.2188C11.9902 9.59375 11.8125 9.79688 11.8125 10C11.8125 10.2285 11.9902 10.4062 12.2188 10.4062ZM12.2188 7.15625H13.8438C14.0469 7.15625 14.25 6.97852 14.25 6.75C14.25 6.54688 14.0469 6.34375 13.8438 6.34375H12.2188C11.9902 6.34375 11.8125 6.54688 11.8125 6.75C11.8125 6.97852 11.9902 7.15625 12.2188 7.15625ZM18.7188 16.0938H12.2188C11.9902 16.0938 11.8125 16.2969 11.8125 16.5C11.8125 16.7285 11.9902 16.9062 12.2188 16.9062H18.7188C18.9219 16.9062 19.125 16.7285 19.125 16.5C19.125 16.2969 18.9219 16.0938 18.7188 16.0938ZM8.0293 6.06445C7.87695 5.91211 7.59766 5.91211 7.44531 6.06445L5.00781 8.50195C4.85547 8.6543 4.85547 8.93359 5.00781 9.08594C5.16016 9.23828 5.43945 9.23828 5.5918 9.08594L7.34375 7.33398V16.9062C7.34375 17.1348 7.52148 17.3125 7.75 17.3125C7.95312 17.3125 8.15625 17.1348 8.15625 16.9062V7.33398L9.88281 9.08594C9.95898 9.16211 10.0605 9.1875 10.1875 9.1875C10.2891 9.1875 10.3906 9.16211 10.4668 9.08594C10.6191 8.93359 10.6191 8.6543 10.4668 8.50195L8.0293 6.06445Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function E1(n){let e,r;const s=[n[0]];let f={$$slots:{default:[k1]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class S1 extends Z{constructor(e){super(),V(this,e,b1,E1,w,{})}}function A1(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M18.8906 6.30859C17.6328 5.87109 16.4297 5.65234 15.3633 5.65234C13.7227 5.65234 12.5742 6.11719 12 6.39062C11.3984 6.11719 10.2227 5.65234 8.60938 5.625C7.51562 5.625 6.3125 5.87109 5.08203 6.30859C4.50781 6.52734 4.125 7.07422 4.125 7.67578V15.9609C4.125 16.3711 4.28906 16.7266 4.61719 16.9727C4.94531 17.1914 5.35547 17.2734 5.73828 17.1641C8.99219 16.1523 11.4531 17.6836 11.5898 17.7656C11.6992 17.8203 11.8086 17.875 11.9727 17.875C12.1367 17.875 12.2461 17.8203 12.3555 17.7656C12.6289 17.5742 15.0352 16.1797 18.207 17.1641C18.5898 17.2734 19 17.1914 19.3281 16.9727C19.6836 16.7266 19.875 16.3711 19.875 15.9609V7.67578C19.875 7.07422 19.4648 6.52734 18.8906 6.30859ZM11.5625 16.7539C10.8789 16.4258 9.59375 15.9336 7.98047 15.9336C7.21484 15.9336 6.39453 16.043 5.49219 16.3164C5.35547 16.3438 5.24609 16.3438 5.13672 16.2617C5.05469 16.1797 5 16.0703 5 15.9609V7.67578C5 7.42969 5.13672 7.21094 5.35547 7.12891C6.50391 6.71875 7.59766 6.5 8.60938 6.5C10.0312 6.52734 11.0703 6.9375 11.5625 7.15625V16.7539ZM19 15.9609C19 16.0703 18.918 16.1797 18.8359 16.2617C18.7266 16.3438 18.6172 16.3438 18.4805 16.3164C15.7188 15.4688 13.4492 16.2617 12.4375 16.7539V7.15625C12.9023 6.9375 13.9414 6.52734 15.3633 6.5C16.3203 6.5 17.4414 6.71875 18.6172 7.12891C18.8359 7.21094 19 7.42969 19 7.67578V15.9609Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function F1(n){let e,r;const s=[n[0]];let f={$$slots:{default:[A1]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class G1 extends Z{constructor(e){super(),V(this,e,x1,F1,w,{})}}function B1(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M6.75 6.75C6.75 5.64543 7.64543 4.75 8.75 4.75H15.25C16.3546 4.75 17.25 5.64543 17.25 6.75V19.25L12 14.75L6.75 19.25V6.75Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function R1(n){let e,r;const s=[n[0]];let f={$$slots:{default:[B1]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class D1 extends Z{constructor(e){super(),V(this,e,T1,R1,w,{})}}function P1(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,stroke:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M19.25 11.25V8.75C19.25 7.64543 18.3546 6.75 17.25 6.75H6.75C5.64543 6.75 4.75 7.64543 4.75 8.75V17.25C4.75 18.3546 5.64543 19.25 6.75 19.25H11.25M17 14.75V19.25M19.25 17H14.75M8 4.75V8.25M16 4.75V8.25M7.75 10.75H16.25"),a(e,"stroke","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function j1(n){let e,r;const s=[n[0]];let f={$$slots:{default:[P1]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class O1 extends Z{constructor(e){super(),V(this,e,I1,j1,w,{})}}function q1(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M12 4C7.5625 4 4 7.59375 4 12C4 16.4375 7.5625 20 12 20C16.4062 20 20 16.4375 20 12C20 7.59375 16.4062 4 12 4ZM6 12C6 10.7188 6.40625 9.53125 7.09375 8.53125L15.4688 16.9062C14.4688 17.5938 13.2812 18 12 18C8.6875 18 6 15.3125 6 12ZM16.875 15.5L8.5 7.125C9.5 6.4375 10.6875 6 12 6C15.2812 6 18 8.71875 18 12C18 13.3125 17.5625 14.5 16.875 15.5Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function N1(n){let e,r;const s=[n[0]];let f={$$slots:{default:[q1]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class J1 extends Z{constructor(e){super(),V(this,e,W1,N1,w,{})}}function U1(n){let e,r,s,f,t,l,c;return{c(){e=$("path"),r=R(),s=$("path"),f=R(),t=$("path"),l=R(),c=$("path"),this.h()},l(h){e=g(h,"path",{d:!0,stroke:!0}),_(e).forEach(u),r=T(h),s=g(h,"path",{d:!0,stroke:!0}),_(s).forEach(u),f=T(h),t=g(h,"path",{d:!0,stroke:!0}),_(t).forEach(u),l=T(h),c=g(h,"path",{d:!0,stroke:!0}),_(c).forEach(u),this.h()},h(){a(e,"d","M4.75 6.75C4.75 5.64543 5.64543 4.75 6.75 4.75H17.25C18.3546 4.75 19.25 5.64543 19.25 6.75V17.25C19.25 18.3546 18.3546 19.25 17.25 19.25H6.75C5.64543 19.25 4.75 18.3546 4.75 17.25V6.75Z"),a(e,"stroke","currentcolor"),a(s,"d","M8.75 15.25V9.75"),a(s,"stroke","currentcolor"),a(t,"d","M15.25 15.25V9.75"),a(t,"stroke","currentcolor"),a(c,"d","M12 15.25V12.75"),a(c,"stroke","currentcolor")},m(h,d){i(h,e,d),i(h,r,d),i(h,s,d),i(h,f,d),i(h,t,d),i(h,l,d),i(h,c,d)},p:S,d(h){h&&u(e),h&&u(r),h&&u(s),h&&u(f),h&&u(t),h&&u(l),h&&u(c)}}}function z1(n){let e,r;const s=[n[0]];let f={$$slots:{default:[U1]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class Y1 extends Z{constructor(e){super(),V(this,e,K1,z1,w,{})}}function Q1(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M19.6992 7.60938L10.1367 17.1719C10.0312 17.2773 9.89062 17.3125 9.75 17.3125C9.57422 17.3125 9.43359 17.2773 9.32812 17.1719L4.26562 12.1094C4.05469 11.8984 4.05469 11.5117 4.26562 11.3008C4.47656 11.0898 4.86328 11.0898 5.07422 11.3008L9.75 15.9766L18.8906 6.80078C19.1016 6.58984 19.4883 6.58984 19.6992 6.80078C19.9102 7.01172 19.9102 7.39844 19.6992 7.60938Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function X1(n){let e,r;const s=[n[0]];let f={$$slots:{default:[Q1]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class e5 extends Z{constructor(e){super(),V(this,e,y1,X1,w,{})}}function t5(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M5.11719 9.70703C5.20508 9.58984 5.32227 9.53125 5.46875 9.53125C5.55664 9.53125 5.67383 9.56055 5.76172 9.64844L11.5332 14.9512L17.334 9.64844C17.5098 9.47266 17.8027 9.47266 17.9785 9.67773C18.1543 9.85352 18.1543 10.1465 17.9492 10.3223L11.8555 15.9473C11.6797 16.123 11.416 16.123 11.2402 15.9473L5.14648 10.3223C4.94141 10.1758 4.94141 9.88281 5.11719 9.70703Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function r5(n){let e,r;const s=[n[0]];let f={$$slots:{default:[t5]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class n5 extends Z{constructor(e){super(),V(this,e,s5,r5,w,{})}}function l5(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M14.293 5.11719C14.4102 5.20508 14.4687 5.32227 14.4687 5.46875C14.4687 5.55664 14.4395 5.67383 14.3516 5.76172L9.04883 11.5332L14.3516 17.334C14.5273 17.5098 14.5273 17.8027 14.3223 17.9785C14.1465 18.1543 13.8535 18.1543 13.6777 17.9492L8.05273 11.8555C7.87695 11.6797 7.87695 11.416 8.05273 11.2402L13.6777 5.14648C13.8242 4.94141 14.1172 4.94141 14.293 5.11719Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function f5(n){let e,r;const s=[n[0]];let f={$$slots:{default:[l5]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class a5 extends Z{constructor(e){super(),V(this,e,c5,f5,w,{})}}function u5(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M9.70703 18.8828C9.58984 18.7949 9.53125 18.6777 9.53125 18.5313C9.53125 18.4434 9.56055 18.3262 9.64844 18.2383L14.9512 12.4668L9.64844 6.66602C9.47266 6.49023 9.47266 6.19727 9.67773 6.02148C9.85352 5.8457 10.1465 5.8457 10.3223 6.05078L15.9473 12.1445C16.123 12.3203 16.123 12.584 15.9473 12.7598L10.3223 18.8535C10.1758 19.0586 9.88281 19.0586 9.70703 18.8828Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function o5(n){let e,r;const s=[n[0]];let f={$$slots:{default:[u5]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class C5 extends Z{constructor(e){super(),V(this,e,i5,o5,w,{})}}function h5(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M18.8828 14.293C18.7949 14.4102 18.6777 14.4688 18.5312 14.4688C18.4434 14.4688 18.3262 14.4395 18.2383 14.3516L12.4668 9.04883L6.66602 14.3516C6.49023 14.5273 6.19727 14.5273 6.02148 14.3223C5.8457 14.1465 5.8457 13.8535 6.05078 13.6777L12.1445 8.05273C12.3203 7.87695 12.584 7.87695 12.7598 8.05273L18.8535 13.6777C19.0586 13.8242 19.0586 14.1172 18.8828 14.293Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function $5(n){let e,r;const s=[n[0]];let f={$$slots:{default:[h5]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class _5 extends Z{constructor(e){super(),V(this,e,g5,$5,w,{})}}function m5(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,stroke:!0,"stroke-width":!0,"stroke-linecap":!0,"stroke-linejoin":!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M7 15L12 20L17 15M7 9L12 4L17 9"),a(e,"stroke","currentcolor"),a(e,"stroke-width","1"),a(e,"stroke-linecap","round"),a(e,"stroke-linejoin","round")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function d5(n){let e,r;const s=[n[0]];let f={$$slots:{default:[m5]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class v5 extends Z{constructor(e){super(),V(this,e,p5,d5,w,{})}}function L5(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M11.5 7.5C11.5 7.25 11.7188 7 12 7C12.25 7 12.5 7.25 12.5 7.5V11.75L15.25 13.5938C15.5 13.75 15.5625 14.0625 15.4062 14.2812C15.25 14.5312 14.9375 14.5938 14.7188 14.4375L11.7188 12.4375C11.5625 12.3438 11.4688 12.1875 11.4688 12L11.5 7.5ZM12 4C16.4062 4 20 7.59375 20 12C20 16.4375 16.4062 20 12 20C7.5625 20 4 16.4375 4 12C4 7.59375 7.5625 4 12 4ZM5 12C5 15.875 8.125 19 12 19C15.8438 19 19 15.875 19 12C19 8.15625 15.8438 5 12 5C8.125 5 5 8.15625 5 12Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function M5(n){let e,r;const s=[n[0]];let f={$$slots:{default:[L5]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class Z5 extends Z{constructor(e){super(),V(this,e,H5,M5,w,{})}}function V5(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M16.8438 16.875C16.6562 17.0625 16.3125 17.0625 16.125 16.875L12 12.7188L7.84375 16.875C7.65625 17.0625 7.3125 17.0625 7.125 16.875C6.9375 16.6875 6.9375 16.3438 7.125 16.1562L11.2812 12L7.125 7.875C6.9375 7.6875 6.9375 7.34375 7.125 7.15625C7.3125 6.96875 7.65625 6.96875 7.84375 7.15625L12 11.3125L16.125 7.15625C16.3125 6.96875 16.6562 6.96875 16.8438 7.15625C17.0312 7.34375 17.0312 7.6875 16.8438 7.875L12.6875 12L16.8438 16.1562C17.0312 16.3438 17.0312 16.6875 16.8438 16.875Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function w5(n){let e,r;const s=[n[0]];let f={$$slots:{default:[V5]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class E5 extends Z{constructor(e){super(),V(this,e,k5,w5,w,{})}}function b5(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M19.9688 4.65625C19.5938 5.875 18.9062 8.15625 18.0625 10.5312C18.2812 10.5938 18.4688 10.6562 18.625 10.7188C18.7812 10.75 18.9062 10.8438 18.9375 11C19 11.125 19 11.2812 18.9375 11.4375C18.25 12.75 16.3438 16.1875 14.4688 18.125C14.4375 18.1562 14.4062 18.1875 14.375 18.2188C12 20.625 8.15625 20.625 5.78125 18.25C3.40625 15.8438 3.40625 12 5.78125 9.625C5.8125 9.59375 5.84375 9.5625 5.875 9.53125C7.8125 7.65625 11.25 5.75 12.5625 5.0625C12.6875 5 12.8438 5 12.9688 5.0625C13.125 5.125 13.2188 5.21875 13.25 5.375C13.3125 5.53125 13.375 5.71875 13.4375 5.9375C15.8125 5.09375 18.0938 4.40625 19.3125 4.03125C19.4688 3.96875 19.6875 4.03125 19.8125 4.15625C19.9688 4.28125 20 4.5 19.9688 4.65625ZM13.9688 14C13.9688 11.7812 12.1562 10 9.96875 10C7.75 10 5.96875 11.7812 5.96875 14C5.96875 16.1875 7.75 18 9.96875 18C12.1875 18 13.9688 16.2188 13.9688 14ZM9.96875 13C9.96875 13.5312 9.5 14 8.96875 14C8.40625 14 7.96875 13.5312 7.96875 13C7.96875 12.4375 8.40625 12 8.96875 12C9.21875 12 9.46875 12.0938 9.65625 12.2812C9.84375 12.4688 9.96875 12.75 9.96875 13ZM10.9688 15.5C10.9688 15.75 10.75 16 10.4688 16C10.2188 16 9.96875 15.75 9.96875 15.5C9.96875 15.2188 10.2188 15 10.4688 15C10.75 15 10.9688 15.25 10.9688 15.5Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function S5(n){let e,r;const s=[n[0]];let f={$$slots:{default:[b5]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class F5 extends Z{constructor(e){super(),V(this,e,A5,S5,w,{})}}function x5(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M19.9375 5C19.625 6.03125 18.875 8.40625 18.0938 10.25C18.1562 10.2812 18.25 10.2812 18.3438 10.3125C18.5938 10.4062 18.8125 10.5938 18.9375 10.875C19.0625 11.125 19.0312 11.4375 18.9062 11.6875C18.1875 13.0312 16.375 16.375 14.5625 18.1875C12.125 20.625 8.1875 20.625 5.8125 18.1875C3.375 15.7812 3.375 11.8438 5.8125 9.4375C7.625 7.59375 10.9688 5.78125 12.3125 5.0625C12.5625 4.9375 12.875 4.90625 13.125 5.03125C13.4062 5.15625 13.5625 5.375 13.6875 5.65625C13.7188 5.71875 13.7188 5.8125 13.75 5.875C15.5938 5.09375 17.9688 4.34375 19 4.0625C19.25 3.96875 19.5625 4.03125 19.75 4.25C19.9688 4.4375 20.0312 4.75 19.9375 5ZM18.875 5.125C17.5938 5.53125 15.25 6.28125 13.6562 7.03125L13.125 7.28125C13.125 7.28125 12.7812 6.15625 12.7188 5.9375C11.4688 6.625 8.21875 8.40625 6.5 10.125C4.46875 12.1562 4.46875 15.4688 6.5 17.5C8.53125 19.5312 11.8438 19.5312 13.875 17.5C15.5938 15.7812 17.375 12.5312 18.0312 11.2188C17.8438 11.1875 17.5938 11.125 17.2812 11.0312L16.7188 10.875L16.9688 10.3438C17.7188 8.75 18.4688 6.40625 18.875 5.125ZM14.2188 13.75C14.2188 15.9375 12.4375 17.7188 10.25 17.7188C8.09375 17.7188 6.28125 15.9375 6.28125 13.75C6.28125 11.5312 8.09375 9.75 10.25 9.75C12.4375 9.75 14.2188 11.5625 14.2188 13.75ZM13.2188 13.75C13.2188 12.0938 11.875 10.75 10.2188 10.75C8.5625 10.75 7.21875 12.0938 7.21875 13.75C7.21875 15.4062 8.5625 16.75 10.2188 16.75C11.875 16.75 13.2188 15.4062 13.2188 13.75ZM10.4688 12.75C10.4688 13.1562 10.1562 13.5 9.75 13.5C9.34375 13.5 9.03125 13.1562 9.03125 12.75C9.03125 12.3125 9.375 12 9.75 12C9.96875 12 10.1562 12.0625 10.25 12.2188C10.4062 12.375 10.4688 12.5625 10.4688 12.75ZM11.4688 15C11.4688 15.25 11.25 15.5 10.9688 15.5C10.7188 15.5 10.5 15.25 10.5 15C10.5 14.7188 10.7188 14.5 11 14.5C11.25 14.5312 11.4688 14.75 11.4688 15Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function G5(n){let e,r;const s=[n[0]];let f={$$slots:{default:[x5]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class R5 extends Z{constructor(e){super(),V(this,e,B5,G5,w,{})}}function T5(n){let e,r,s,f,t,l,c;return{c(){e=$("path"),r=R(),s=$("rect"),f=R(),t=$("rect"),l=R(),c=$("rect"),this.h()},l(h){e=g(h,"path",{d:!0,fill:!0}),_(e).forEach(u),r=T(h),s=g(h,"rect",{x:!0,y:!0,width:!0,height:!0,fill:!0}),_(s).forEach(u),f=T(h),t=g(h,"rect",{x:!0,y:!0,width:!0,height:!0,fill:!0}),_(t).forEach(u),l=T(h),c=g(h,"rect",{x:!0,y:!0,width:!0,height:!0,fill:!0}),_(c).forEach(u),this.h()},h(){a(e,"d","M9.5 7.5H19.5C19.75 7.5 20 7.28125 20 7C20 6.75 19.75 6.5 19.5 6.5H9.5C9.21875 6.5 9 6.75 9 7C9 7.28125 9.21875 7.5 9.5 7.5ZM19.5 11.5H13.5C13.2188 11.5 13 11.75 13 12C13 12.2812 13.2188 12.5 13.5 12.5H19.5C19.75 12.5 20 12.2812 20 12C20 11.75 19.75 11.5 19.5 11.5ZM10 10.5H9C8.4375 10.5 8 10.9688 8 11.5H6V8.5C6.53125 8.5 7 8.0625 7 7.5V6.5C7 5.96875 6.53125 5.5 6 5.5H5C4.4375 5.5 4 5.96875 4 6.5V7.5C4 8.0625 4.4375 8.5 5 8.5V16C5 16.8438 5.65625 17.5 6.5 17.5H8C8 18.0625 8.4375 18.5 9 18.5H10C10.5312 18.5 11 18.0625 11 17.5V16.5C11 15.9688 10.5312 15.5 10 15.5H9C8.4375 15.5 8 15.9688 8 16.5H6.5C6.21875 16.5 6 16.2812 6 16V12.5H8C8 13.0625 8.4375 13.5 9 13.5H10C10.5312 13.5 11 13.0625 11 12.5V11.5C11 10.9688 10.5312 10.5 10 10.5ZM9 16.5H10V17.5H9V16.5ZM5 7.5V6.5H6V7.5H5ZM10 12.5H9V11.5H10V12.5ZM19.5 16.5H13.5C13.2188 16.5 13 16.75 13 17C13 17.2812 13.2188 17.5 13.5 17.5H19.5C19.75 17.5 20 17.2812 20 17C20 16.75 19.75 16.5 19.5 16.5Z"),a(e,"fill","currentcolor"),a(s,"x","5"),a(s,"y","6"),a(s,"width","1"),a(s,"height","2"),a(s,"fill","currentcolor"),a(t,"x","9"),a(t,"y","11"),a(t,"width","1"),a(t,"height","2"),a(t,"fill","currentcolor"),a(c,"x","9"),a(c,"y","16"),a(c,"width","1"),a(c,"height","2"),a(c,"fill","currentcolor")},m(h,d){i(h,e,d),i(h,r,d),i(h,s,d),i(h,f,d),i(h,t,d),i(h,l,d),i(h,c,d)},p:S,d(h){h&&u(e),h&&u(r),h&&u(s),h&&u(f),h&&u(t),h&&u(l),h&&u(c)}}}function D5(n){let e,r;const s=[n[0]];let f={$$slots:{default:[T5]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class j5 extends Z{constructor(e){super(),V(this,e,P5,D5,w,{})}}function I5(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M7.99609 15.627C8.08398 15.3633 8.34766 15.1875 8.61133 15.1875H10.9551V5.57812C10.9551 5.19727 11.248 4.875 11.6289 4.875C11.9805 4.875 12.332 5.19727 12.332 5.57812V15.1875H14.6465C14.9102 15.1875 15.1738 15.3633 15.291 15.627C15.4082 15.8906 15.3496 16.1836 15.1445 16.3887L12.0977 19.6699C11.834 19.9629 11.3652 19.9629 11.0723 19.6699L8.02539 16.3887C7.9082 16.1836 7.87891 15.8906 7.99609 15.627Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function O5(n){let e,r;const s=[n[0]];let f={$$slots:{default:[I5]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class N5 extends Z{constructor(e){super(),V(this,e,q5,O5,w,{})}}function W5(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M15.3496 9.15234C15.2324 9.41602 14.9688 9.5918 14.7344 9.5918H12.3906V19.1719C12.3906 19.582 12.0684 19.875 11.6875 19.875C11.2773 19.875 10.9844 19.582 10.9844 19.1719V9.5918H8.61133C8.31836 9.5918 8.05469 9.41602 7.9668 9.15234C7.87891 8.88867 7.9082 8.5957 8.11328 8.39062L11.1602 5.10938C11.4238 4.81641 11.9219 4.81641 12.1855 5.10938L15.2324 8.39062C15.4375 8.5957 15.4668 8.88867 15.3496 9.15234Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function J5(n){let e,r;const s=[n[0]];let f={$$slots:{default:[W5]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class z5 extends Z{constructor(e){super(),V(this,e,U5,J5,w,{})}}function K5(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M12.4688 16.5625C12.2051 16.5625 12 16.7969 12 17.0312V17.5C12 18.0273 11.5605 18.4375 11.0625 18.4375H6.375C5.84766 18.4375 5.4375 18.0273 5.4375 17.5V10C5.4375 9.50195 5.84766 9.0625 6.375 9.0625H9.65625C9.89062 9.0625 10.125 8.85742 10.125 8.59375C10.125 8.35938 9.89062 8.125 9.65625 8.125H6.3457C5.32031 8.125 4.4707 8.97461 4.4707 10L4.5 17.5C4.5 18.5547 5.32031 19.375 6.375 19.375H11.0625C12.0879 19.375 12.9375 18.5547 12.9375 17.5V17.0312C12.9375 16.7969 12.7031 16.5625 12.4688 16.5625ZM19.207 6.92383L16.9512 4.66797C16.7754 4.49219 16.541 4.375 16.2773 4.375H12.9375C11.8828 4.375 11.0625 5.22461 11.0625 6.25V13.75C11.0625 14.8047 11.8828 15.625 12.9375 15.625H17.625C18.6504 15.625 19.5 14.8047 19.5 13.75V7.59766C19.5 7.33398 19.3828 7.09961 19.207 6.92383ZM16.6875 5.72266L18.1523 7.1875H16.6875V5.72266ZM18.5625 13.75C18.5625 14.2773 18.123 14.6875 17.625 14.6875H12.9375C12.4102 14.6875 12 14.2773 12 13.75V6.25C12 5.75195 12.4102 5.3125 12.9375 5.3125H15.75V7.1875C15.75 7.71484 16.1602 8.125 16.6875 8.125H18.5625V13.75Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function Y5(n){let e,r;const s=[n[0]];let f={$$slots:{default:[K5]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class X5 extends Z{constructor(e){super(),V(this,e,Q5,Y5,w,{})}}function y5(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M12.2188 10.3438H17.0938C17.2969 10.3438 17.5 10.5215 17.5 10.75C17.5 10.9531 17.2969 11.1562 17.0938 11.1562H12.2188C11.9902 11.1562 11.8125 10.9531 11.8125 10.75C11.8125 10.5215 11.9902 10.3438 12.2188 10.3438ZM12.2188 13.5938H15.4688C15.6719 13.5938 15.875 13.7715 15.875 14C15.875 14.2031 15.6719 14.4062 15.4688 14.4062H12.2188C11.9902 14.4062 11.8125 14.2031 11.8125 14C11.8125 13.7715 11.9902 13.5938 12.2188 13.5938ZM12.2188 16.8438H13.8438C14.0469 16.8438 14.25 17.0215 14.25 17.25C14.25 17.4531 14.0469 17.6562 13.8438 17.6562H12.2188C11.9902 17.6562 11.8125 17.4531 11.8125 17.25C11.8125 17.0215 11.9902 16.8438 12.2188 16.8438ZM18.7188 7.90625H12.2188C11.9902 7.90625 11.8125 7.70312 11.8125 7.5C11.8125 7.27148 11.9902 7.09375 12.2188 7.09375H18.7188C18.9219 7.09375 19.125 7.27148 19.125 7.5C19.125 7.70312 18.9219 7.90625 18.7188 7.90625ZM8.0293 17.9355C7.87695 18.0879 7.59766 18.0879 7.44531 17.9355L5.00781 15.498C4.85547 15.3457 4.85547 15.0664 5.00781 14.9141C5.16016 14.7617 5.43945 14.7617 5.5918 14.9141L7.34375 16.666V7.09375C7.34375 6.86523 7.52148 6.6875 7.75 6.6875C7.95312 6.6875 8.15625 6.86523 8.15625 7.09375V16.666L9.88281 14.9141C9.95898 14.8379 10.0605 14.8125 10.1875 14.8125C10.2891 14.8125 10.3906 14.8379 10.4668 14.9141C10.6191 15.0664 10.6191 15.3457 10.4668 15.498L8.0293 17.9355Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function e2(n){let e,r;const s=[n[0]];let f={$$slots:{default:[y5]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class r2 extends Z{constructor(e){super(),V(this,e,t2,e2,w,{})}}function s2(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M11.625 16.375C11.7188 16.4688 11.8438 16.5 12 16.5C12.125 16.5 12.25 16.4688 12.3438 16.375L16.8438 11.875C17.0312 11.6875 17.0312 11.3438 16.8438 11.1562C16.6562 10.9688 16.3125 10.9688 16.125 11.1562L12.5 14.8125V5.5C12.5 5.25 12.25 5 12 5C11.7188 5 11.5 5.25 11.5 5.5V14.8125L7.84375 11.1562C7.65625 10.9688 7.3125 10.9688 7.125 11.1562C6.9375 11.3438 6.9375 11.6875 7.125 11.875L11.625 16.375ZM17.5 18H6.5C6.21875 18 6 18.25 6 18.5C6 18.7812 6.21875 19 6.5 19H17.5C17.75 19 18 18.7812 18 18.5C18 18.25 17.75 18 17.5 18Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function n2(n){let e,r;const s=[n[0]];let f={$$slots:{default:[s2]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class f2 extends Z{constructor(e){super(),V(this,e,l2,n2,w,{})}}function c2(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M12 4C7.5625 4 4 7.59375 4 12C4 16.4375 7.5625 20 12 20C16.4062 20 20 16.4375 20 12C20 7.59375 16.4062 4 12 4ZM12 19C8.125 19 5 15.875 5 12C5 8.15625 8.125 5 12 5C15.8438 5 19 8.15625 19 12C19 15.875 15.8438 19 12 19ZM12 13.5C12.25 13.5 12.5 13.2812 12.5 13V8C12.5 7.75 12.25 7.5 12 7.5C11.7188 7.5 11.5 7.75 11.5 8V13C11.5 13.2812 11.7188 13.5 12 13.5ZM12 14.75C11.5625 14.75 11.25 15.0938 11.25 15.5C11.25 15.9375 11.5625 16.25 12 16.25C12.4062 16.25 12.75 15.9375 12.75 15.5C12.75 15.0938 12.4062 14.75 12 14.75Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function a2(n){let e,r;const s=[n[0]];let f={$$slots:{default:[c2]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class o2 extends Z{constructor(e){super(),V(this,e,u2,a2,w,{})}}function i2(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M15.375 13.25C15.1641 13.25 15 13.4375 15 13.625V17C15 17.4219 14.6484 17.75 14.25 17.75H7.5C7.07812 17.75 6.75 17.4219 6.75 17V10.25C6.75 9.85156 7.07812 9.5 7.5 9.5H10.125C10.3125 9.5 10.5 9.33594 10.5 9.125C10.5 8.9375 10.3125 8.75 10.125 8.75H7.5C6.65625 8.75 6 9.42969 6 10.25V17C6 17.8438 6.65625 18.5 7.5 18.5H14.25C15.0703 18.5 15.75 17.8438 15.75 17V13.625C15.75 13.4375 15.5625 13.25 15.375 13.25ZM17.625 6.5H13.875C13.6641 6.5 13.5 6.6875 13.5 6.875C13.5 7.08594 13.6641 7.25 13.875 7.25H16.7109L10.2188 13.7422C10.0781 13.8828 10.0781 14.1406 10.2188 14.2812C10.2891 14.3516 10.3828 14.375 10.5 14.375C10.5938 14.375 10.6875 14.3516 10.7578 14.2812L17.25 7.78906V10.625C17.25 10.8359 17.4141 11 17.625 11C17.8125 11 18 10.8359 18 10.625V6.875C18 6.6875 17.8125 6.5 17.625 6.5Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function C2(n){let e,r;const s=[n[0]];let f={$$slots:{default:[i2]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class $2 extends Z{constructor(e){super(),V(this,e,h2,C2,w,{})}}function g2(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M10.875 9.73438L11.6016 10.2969C11.7422 10.2734 11.8594 10.25 12 10.25C13.1719 10.25 14.1562 11.1875 14.2266 12.3594L14.9531 12.9453C14.9766 12.8047 15 12.6641 15 12.5234C15 10.8594 13.6406 9.5 12 9.5C11.6016 9.5 11.2266 9.59375 10.875 9.73438ZM12 17C9.49219 17 7.19531 15.3359 6.02344 12.6172C6 12.5938 6 12.5234 5.97656 12.5234C5.97656 12.5 5.97656 12.4297 5.97656 12.4062C6.28125 11.7266 6.65625 11.1172 7.07812 10.5781L6.49219 10.1094C6.02344 10.6953 5.625 11.375 5.29688 12.1016C5.27344 12.2188 5.22656 12.3828 5.22656 12.5C5.22656 12.6172 5.25 12.8047 5.29688 12.9219C6.5625 15.8047 9.09375 17.75 11.9766 17.75C13.1016 17.75 14.1562 17.4453 15.1172 16.9062L14.4844 16.3906C13.7109 16.7891 12.8672 17 12 17ZM12 8C14.4844 8 16.7812 9.6875 17.9766 12.4062C17.9766 12.4297 17.9766 12.5 17.9766 12.5C17.9766 12.5234 17.9766 12.5938 17.9766 12.6172C17.6719 13.2969 17.2969 13.9062 16.875 14.4453L17.4609 14.9141C17.9297 14.3281 18.3281 13.6484 18.6562 12.8984C18.7031 12.8047 18.7266 12.6172 18.7266 12.5C18.7266 12.3828 18.7031 12.2188 18.6562 12.1016C17.3906 9.21875 14.8594 7.27344 12 7.27344C10.8516 7.27344 9.79688 7.57812 8.83594 8.11719L9.46875 8.63281C10.2656 8.23438 11.1094 8 12 8ZM12 15.5C12.375 15.5 12.75 15.4297 13.1016 15.2891L12.375 14.7266C12.2344 14.75 12.1172 14.7734 12 14.7734C10.8047 14.7734 9.82031 13.8359 9.75 12.6641L9.02344 12.0781C9 12.2188 9 12.3594 9 12.5C9 14.1641 10.3359 15.5 12 15.5ZM19.3359 17.8438L5.08594 6.59375C4.92188 6.45312 4.6875 6.5 4.57031 6.66406C4.42969 6.80469 4.47656 7.0625 4.64062 7.17969L18.8906 18.4297C18.9609 18.4766 19.0312 18.5 19.125 18.5C19.2188 18.5 19.3359 18.4531 19.4062 18.3594C19.5469 18.1953 19.5 17.9609 19.3359 17.8438Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function _2(n){let e,r;const s=[n[0]];let f={$$slots:{default:[g2]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class d2 extends Z{constructor(e){super(),V(this,e,m2,_2,w,{})}}function p2(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M11.75 9.5C10.0859 9.5 8.75 10.8594 8.75 12.5C8.75 14.1641 10.0859 15.5 11.75 15.5C13.3906 15.5 14.75 14.1641 14.75 12.5234C14.75 10.8594 13.3906 9.5 11.75 9.5ZM11.75 14.75C10.5078 14.75 9.5 13.7422 9.5 12.5C9.5 11.2812 10.5078 10.25 11.75 10.25C12.9688 10.25 14 11.2812 14 12.5234C14 13.7422 12.9688 14.75 11.75 14.75ZM18.4062 12.1016C17.1406 9.21875 14.6094 7.25 11.75 7.25C8.86719 7.25 6.33594 9.21875 5.07031 12.1016C5.02344 12.2188 5 12.3828 5 12.5C5 12.6172 5.02344 12.8047 5.07031 12.9219C6.33594 15.8047 8.86719 17.75 11.75 17.75C14.6094 17.75 17.1406 15.8047 18.4062 12.9219C18.4531 12.8047 18.5 12.6172 18.5 12.5C18.5 12.3828 18.4531 12.2188 18.4062 12.1016ZM17.7266 12.6172C16.5312 15.3125 14.2344 17 11.75 17C9.24219 17 6.94531 15.3359 5.77344 12.6172C5.75 12.5938 5.75 12.5234 5.72656 12.5234C5.72656 12.5 5.72656 12.4297 5.72656 12.4062C6.94531 9.6875 9.24219 8 11.75 8C14.2344 8 16.5312 9.6875 17.7266 12.4062C17.7266 12.4297 17.7266 12.5 17.7266 12.5C17.7266 12.5234 17.7266 12.5938 17.7266 12.6172Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function v2(n){let e,r;const s=[n[0]];let f={$$slots:{default:[p2]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class M2 extends Z{constructor(e){super(),V(this,e,L2,v2,w,{})}}function H2(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M4.5 7.5H17.5C17.75 7.5 18 7.28125 18 7.03125C18 6.78125 17.75 6.5 17.5 6.5H4.5C4.21875 6.5 4 6.75 4 7C4 7.25 4.21875 7.5 4.5 7.5ZM19.5 11.5H6.5C6.21875 11.5 6 11.75 6 12C6 12.2812 6.21875 12.5 6.5 12.5H19.5C19.75 12.5 20 12.2812 20 12C20 11.75 19.75 11.5 19.5 11.5ZM17.5 16.5H4.5C4.21875 16.5 4 16.75 4 17C4 17.25 4.21875 17.5 4.5 17.5H17.5C17.75 17.5 18 17.2812 18 17.0312C18 16.7812 17.75 16.5 17.5 16.5Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function Z2(n){let e,r;const s=[n[0]];let f={$$slots:{default:[H2]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class w2 extends Z{constructor(e){super(),V(this,e,V2,Z2,w,{})}}function k2(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M12 10.2227L12.484 9.73047C12.5277 9.68672 12.5496 9.6457 12.6207 9.60469C13.4273 8.91836 14.6332 8.95937 15.3934 9.73047C16.1973 10.5453 16.1973 11.8688 15.3934 12.659L12.9215 15.1937C12.6645 15.4535 12.3309 15.582 11.9973 15.5574C11.6637 15.5793 11.3328 15.4508 11.0785 15.1937L8.60664 12.659C7.80273 11.8688 7.80273 10.5453 8.60664 9.73047C9.3668 8.95937 10.5727 8.91836 11.3793 9.60469C11.4258 9.6457 11.4723 9.68672 11.516 9.73047L12 10.2227ZM12.298 14.5785L14.7699 12.0684C15.2375 11.5953 15.2375 10.8187 14.7699 10.3457C14.3105 9.87812 13.5695 9.87812 13.1074 10.3457L12 11.4695L10.8926 10.3457C10.4305 9.87812 9.68945 9.87812 9.23008 10.3457C8.7625 10.8187 8.7625 11.5953 9.23008 12.0684L11.702 14.5785C11.7867 14.666 11.8934 14.6824 11.9754 14.6824C12.1066 14.6824 12.2133 14.666 12.298 14.5785ZM19 12C19 15.8664 15.8664 19 12 19C8.13359 19 5 15.8664 5 12C5 8.13359 8.13359 5 12 5C15.8664 5 19 8.13359 19 12ZM12 5.875C8.61758 5.875 5.875 8.61758 5.875 12C5.875 15.3824 8.61758 18.125 12 18.125C15.3824 18.125 18.125 15.3824 18.125 12C18.125 8.61758 15.3824 5.875 12 5.875Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function E2(n){let e,r;const s=[n[0]];let f={$$slots:{default:[k2]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class S2 extends Z{constructor(e){super(),V(this,e,b2,E2,w,{})}}function A2(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,stroke:!0,"stroke-width":!0,"stroke-linejoin":!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M19 9.73383C19 10.8507 18.5843 11.9235 17.8421 12.7171C16.1334 14.5444 14.4762 16.4498 12.7037 18.2109C12.2974 18.6087 11.6529 18.5942 11.2642 18.1784L6.15763 12.7171C4.61412 11.0663 4.61412 8.40133 6.15763 6.75058C7.71631 5.0836 10.2556 5.0836 11.8142 6.75058L11.9999 6.94908L12.1854 6.75069C12.9327 5.95103 13.9505 5.5 15.0137 5.5C16.0769 5.5 17.0947 5.95098 17.8421 6.75058C18.5844 7.54421 19 8.61695 19 9.73383Z"),a(e,"stroke","currentcolor"),a(e,"stroke-width","1.1"),a(e,"stroke-linejoin","round")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function F2(n){let e,r;const s=[n[0]];let f={$$slots:{default:[A2]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class G2 extends Z{constructor(e){super(),V(this,e,x2,F2,w,{})}}function B2(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M12.125 16.6562C11.9375 16.8438 11.9375 17.1875 12.125 17.375C12.2188 17.4688 12.3438 17.5 12.5 17.5C12.625 17.5 12.75 17.4688 12.8438 17.375L15.8438 14.375C16.0312 14.1875 16.0312 13.8438 15.8438 13.6562L12.8438 10.6562C12.6562 10.4688 12.3125 10.4688 12.125 10.6562C11.9375 10.8438 11.9375 11.1875 12.125 11.375L14.2812 13.5H4.5C4.21875 13.5 4 13.75 4 14C4 14.2812 4.21875 14.5 4.5 14.5H14.2812L12.125 16.6562ZM19.4062 7.9375L16.0625 4.59375C15.6875 4.21875 15.1875 4 14.6562 4H10C8.875 4 8 4.90625 8 6V11.5C8 11.7812 8.21875 12 8.5 12C8.75 12 9 11.7812 9 11.5V6C9 5.46875 9.4375 5 10 5H14V8.5C14 9.34375 14.6562 10 15.5 10H19V18C19 18.5625 18.5312 19 18 19H10C9.4375 19 9 18.5625 9 18V16.5C9 16.25 8.75 16 8.5 16C8.21875 16 8 16.25 8 16.5V18C8 19.125 8.875 20 10 20H18C19.0938 20 20 19.125 20 18V9.34375C20 8.8125 19.7812 8.3125 19.4062 7.9375ZM15.5 9C15.2188 9 15 8.78125 15 8.5V5.09375C15.125 5.125 15.25 5.1875 15.375 5.3125L18.6875 8.625C18.8125 8.75 18.875 8.875 18.9062 9H15.5Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function R2(n){let e,r;const s=[n[0]];let f={$$slots:{default:[B2]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class D2 extends Z{constructor(e){super(),V(this,e,T2,R2,w,{})}}function P2(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M7.8125 8.875L11.5 5.625V15.5C11.5 15.7812 11.7188 16 12 16C12.25 16 12.5 15.7812 12.5 15.5V5.625L16.1562 8.875C16.25 8.96875 16.375 9 16.5 9C16.625 9 16.75 8.96875 16.8438 8.84375C17.0312 8.65625 17.0312 8.3125 16.8125 8.15625L12.3125 4.15625C12.125 3.96875 11.8438 3.96875 11.6562 4.15625L7.15625 8.15625C6.9375 8.3125 6.9375 8.625 7.125 8.84375C7.28125 9.0625 7.625 9.0625 7.8125 8.875ZM18 14H14.5C14.2188 14 14 14.25 14 14.5C14 14.7812 14.2188 15 14.5 15H18C18.5312 15 19 15.4688 19 16V18C19 18.5625 18.5312 19 18 19H6C5.4375 19 5 18.5625 5 18V16C5 15.4688 5.4375 15 6 15H9.5C9.75 15 10 14.7812 10 14.5C10 14.25 9.75 14 9.5 14H6C4.875 14 4 14.9062 4 16V18C4 19.125 4.875 20 6 20H18C19.0938 20 20 19.125 20 18V16C20 14.9062 19.0938 14 18 14ZM17.75 17C17.75 16.5938 17.4062 16.25 17 16.25C16.5625 16.25 16.25 16.5938 16.25 17C16.25 17.4375 16.5625 17.75 17 17.75C17.4062 17.75 17.75 17.4375 17.75 17Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function j2(n){let e,r;const s=[n[0]];let f={$$slots:{default:[P2]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class O2 extends Z{constructor(e){super(),V(this,e,I2,j2,w,{})}}function q2(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M5.5 7.5H18.5C18.75 7.5 19 7.28125 19 7.03125C19 6.78125 18.75 6.5 18.5 6.5H5.5C5.21875 6.5 5 6.75 5 7C5 7.25 5.21875 7.5 5.5 7.5ZM16.5 11.5H7.5C7.21875 11.5 7 11.75 7 12C7 12.2812 7.21875 12.5 7.5 12.5H16.5C16.75 12.5 17 12.2812 17 12.0312C17 11.75 16.75 11.5 16.5 11.5ZM13.5 16.5H10.5C10.2188 16.5 10 16.75 10 17C10 17.25 10.2188 17.5 10.5 17.5H13.5C13.75 17.5 14 17.2812 14 17.0312C14 16.7812 13.75 16.5 13.5 16.5Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function N2(n){let e,r;const s=[n[0]];let f={$$slots:{default:[q2]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class J2 extends Z{constructor(e){super(),V(this,e,W2,N2,w,{})}}function U2(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M3.99961 3H19.9997C20.552 3 20.9997 3.44764 20.9997 3.99987L20.9999 5.58569C21 5.85097 20.8946 6.10538 20.707 6.29295L14.2925 12.7071C14.105 12.8946 13.9996 13.149 13.9996 13.4142L13.9996 19.7192C13.9996 20.3698 13.3882 20.8472 12.7571 20.6894L10.7571 20.1894C10.3119 20.0781 9.99961 19.6781 9.99961 19.2192L9.99961 13.4142C9.99961 13.149 9.89425 12.8946 9.70672 12.7071L3.2925 6.29289C3.10496 6.10536 2.99961 5.851 2.99961 5.58579V4C2.99961 3.44772 3.44732 3 3.99961 3Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function z2(n){let e,r;const s=[n[0]];let f={$$slots:{default:[U2]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class Y2 extends Z{constructor(e){super(),V(this,e,K2,z2,w,{})}}function Q2(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M8.36328 13.3906L11.125 10.6289L13.4219 12.9531C13.5859 13.1172 13.8867 13.1172 14.0508 12.9531L17.9883 9.04297C18.1523 8.85156 18.1523 8.57812 17.9883 8.41406C17.8242 8.25 17.5234 8.25 17.3594 8.41406L13.75 12.0234L11.4258 9.69922C11.2617 9.53516 10.9609 9.53516 10.7969 9.69922L7.73438 12.7617C7.57031 12.9258 7.57031 13.2266 7.73438 13.3906C7.89844 13.5547 8.19922 13.5547 8.36328 13.3906ZM18.5625 17H7.1875C6.44922 17 5.875 16.4258 5.875 15.6875V6.0625C5.875 5.84375 5.65625 5.625 5.4375 5.625C5.19141 5.625 5 5.84375 5 6.0625V15.6875C5 16.918 5.95703 17.875 7.1875 17.875H18.5625C18.7812 17.875 19 17.6836 19 17.4375C19 17.2188 18.7812 17 18.5625 17Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function X2(n){let e,r;const s=[n[0]];let f={$$slots:{default:[Q2]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class e8 extends Z{constructor(e){super(),V(this,e,y2,X2,w,{})}}function t8(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M20 12C20 12.4375 19.6562 12.75 19.25 12.75H4.75C4.3125 12.75 4 12.4375 4 12C4 11.5938 4.3125 11.25 4.75 11.25H19.25C19.6562 11.25 20 11.5938 20 12Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function r8(n){let e,r;const s=[n[0]];let f={$$slots:{default:[t8]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class n8 extends Z{constructor(e){super(),V(this,e,s8,r8,w,{})}}function l8(n){let e,r,s;return{c(){e=$("path"),r=R(),s=$("path"),this.h()},l(f){e=g(f,"path",{d:!0,stroke:!0}),_(e).forEach(u),r=T(f),s=g(f,"path",{d:!0,stroke:!0}),_(s).forEach(u),this.h()},h(){a(e,"d","M12 4.29289L12 15.2929M17 8.79289L12.3536 4.14645C12.1583 3.95118 11.8417 3.95118 11.6464 4.14645L7 8.79289"),a(e,"stroke","currentcolor"),a(s,"d","M2 14V17.6673C2 19.5083 3.49238 21.0007 5.33333 21.0007H18.6667C20.5076 21.0007 22 19.5083 22 17.6673V14"),a(s,"stroke","currentcolor")},m(f,t){i(f,e,t),i(f,r,t),i(f,s,t)},p:S,d(f){f&&u(e),f&&u(r),f&&u(s)}}}function f8(n){let e,r;const s=[n[0]];let f={$$slots:{default:[l8]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class a8 extends Z{constructor(e){super(),V(this,e,c8,f8,w,{})}}function u8(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M12 4C7.5625 4 4 7.59375 4 12C4 16.4375 7.5625 20 12 20C16.4062 20 20 16.4375 20 12C20 7.59375 16.4062 4 12 4ZM12 19C8.125 19 5 15.875 5 12C5 8.15625 8.125 5 12 5C15.8438 5 19 8.15625 19 12C19 15.875 15.8438 19 12 19ZM12 9.75C12.4062 9.75 12.75 9.4375 12.75 9C12.75 8.59375 12.4062 8.25 12 8.25C11.5625 8.25 11.25 8.59375 11.25 9C11.25 9.4375 11.5625 9.75 12 9.75ZM13.5 15H12.5V11.5C12.5 11.25 12.25 11 12 11H11C10.7188 11 10.5 11.25 10.5 11.5C10.5 11.7812 10.7188 12 11 12H11.5V15H10.5C10.2188 15 10 15.25 10 15.5C10 15.7812 10.2188 16 10.5 16H13.5C13.75 16 14 15.7812 14 15.5C14 15.25 13.75 15 13.5 15Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function o8(n){let e,r;const s=[n[0]];let f={$$slots:{default:[u8]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class C8 extends Z{constructor(e){super(),V(this,e,i8,o8,w,{})}}var y={},e1={},W={},h8={get exports(){return W},set exports(n){W=n}},P=String,t1=function(){return{isColorSupported:!1,reset:P,bold:P,dim:P,italic:P,underline:P,inverse:P,hidden:P,strikethrough:P,black:P,red:P,green:P,yellow:P,blue:P,magenta:P,cyan:P,white:P,gray:P,bgBlack:P,bgRed:P,bgGreen:P,bgYellow:P,bgBlue:P,bgMagenta:P,bgCyan:P,bgWhite:P}};h8.exports=t1();W.createColors=t1;(function(n){Object.defineProperty(n,"__esModule",{value:!0});function e(h,d){for(var m in d)Object.defineProperty(h,m,{enumerable:!0,get:d[m]})}e(n,{dim:()=>l,default:()=>c});const r=s(W);function s(h){return h&&h.__esModule?h:{default:h}}let f=new Set;function t(h,d,m){typeof process<"u"&&{}.JEST_WORKER_ID||m&&f.has(m)||(m&&f.add(m),console.warn(""),d.forEach(G=>console.warn(h,"-",G)))}function l(h){return r.default.dim(h)}const c={info(h,d){t(r.default.bold(r.default.cyan("info")),...Array.isArray(h)?[h]:[d,h])},warn(h,d){t(r.default.bold(r.default.yellow("warn")),...Array.isArray(h)?[h]:[d,h])},risk(h,d){t(r.default.bold(r.default.magenta("risk")),...Array.isArray(h)?[h]:[d,h])}}})(e1);(function(n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:()=>f});const e=r(e1);function r(t){return t&&t.__esModule?t:{default:t}}function s({version:t,from:l,to:c}){e.default.warn(`${l}-color-renamed`,[`As of Tailwind CSS ${t}, \`${l}\` has been renamed to \`${c}\`.`,"Update your configuration file to silence this warning."])}const f={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337"},get lightBlue(){return s({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return s({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return s({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return s({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return s({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}})(y);let J=y;var $8=(J.__esModule?J:{default:J}).default;function g8(n){let e,r,s;return{c(){e=$("circle"),r=R(),s=$("path"),this.h()},l(f){e=g(f,"circle",{cx:!0,cy:!0,r:!0,fill:!0}),_(e).forEach(u),r=T(f),s=g(f,"path",{d:!0,fill:!0}),_(s).forEach(u),this.h()},h(){a(e,"cx","12"),a(e,"cy","12"),a(e,"r","8"),a(e,"fill",$8.gray[900]),a(s,"d","M15.5 9.33337C15.5 9.474 15.4375 9.599 15.3438 9.69275L11.3438 13.6927C11.25 13.7865 11.125 13.8334 11 13.8334C10.8594 13.8334 10.7344 13.7865 10.6406 13.6927L8.64062 11.6927C8.54688 11.599 8.5 11.474 8.5 11.3334C8.5 11.0521 8.71875 10.8334 9 10.8334C9.125 10.8334 9.25 10.8959 9.34375 10.9896L11 12.6302L14.6406 8.98962C14.7344 8.89587 14.8594 8.83337 15 8.83337C15.2656 8.83337 15.5 9.05212 15.5 9.33337Z"),a(s,"fill","white")},m(f,t){i(f,e,t),i(f,r,t),i(f,s,t)},p:S,d(f){f&&u(e),f&&u(r),f&&u(s)}}}function _8(n){let e,r;const s=[n[0]];let f={$$slots:{default:[g8]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class d8 extends Z{constructor(e){super(),V(this,e,m8,_8,w,{})}}function p8(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M15 5.5C15 5.1875 14.75 4.5 14 4.5C13.5625 4.5 13.1562 4.8125 13.0312 5.25L9.03125 19.25C9 19.3438 8.96875 19.4375 8.96875 19.5C8.96875 19.8438 9.25 20.5 10 20.5C10.4062 20.5 10.8125 20.2188 10.9375 19.7812L14.9375 5.78125C14.9688 5.6875 15 5.59375 15 5.5ZM7.5 9C7.5 8.40625 7.03125 8 6.5 8C6.21875 8 5.96875 8.09375 5.78125 8.28125L2.28125 11.7812C2.09375 12 2 12.25 2 12.5C2 12.7188 2.09375 13.0312 2.28125 13.2188L5.78125 16.7188C5.96875 16.9062 6.21875 17 6.5 17C7.03125 17 7.5 16.5625 7.5 16C7.5 15.7188 7.375 15.4688 7.1875 15.2812L4.40625 12.5L7.1875 9.6875C7.375 9.53125 7.5 9.28125 7.5 9ZM22 12.5C22 12.2188 21.875 11.9688 21.6875 11.7812L18.1875 8.28125C18 8.125 17.75 8 17.5 8C16.9375 8 16.5 8.40625 16.5 9C16.5 9.25 16.5938 9.5 16.7812 9.6875L19.5625 12.5L16.7812 15.2812C16.5938 15.5 16.5 15.75 16.5 16C16.5 16.5625 16.9375 17 17.5 17C17.75 17 18 16.875 18.1875 16.6875L21.6875 13.1875C21.875 13.0312 22 12.7812 22 12.5Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function v8(n){let e,r;const s=[n[0]];let f={$$slots:{default:[p8]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class M8 extends Z{constructor(e){super(),V(this,e,L8,v8,w,{})}}function H8(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M16.6875 10.9375H15.75V8.125C15.75 6.04492 14.0508 4.375 12 4.375C9.91992 4.375 8.25 6.07422 8.25 8.125V10.9082L7.3125 10.9375C6.25781 10.9375 5.4375 11.7578 5.4375 12.8125V17.5C5.4375 18.5254 6.25781 19.375 7.3125 19.375H16.6875C17.7129 19.375 18.5625 18.5254 18.5625 17.5V12.8125C18.5625 11.7871 17.7129 10.9375 16.6875 10.9375ZM9.1875 8.125C9.1875 6.60156 10.4473 5.3125 12 5.3125C13.5234 5.3125 14.8125 6.60156 14.8125 8.125V10.9375H9.1875V8.125ZM17.625 17.5C17.625 18.0273 17.1855 18.4375 16.6875 18.4375H7.3125C6.78516 18.4375 6.375 18.0273 6.375 17.5V12.8125C6.375 12.3145 6.78516 11.875 7.3125 11.875H16.6875C17.1855 11.875 17.625 12.3145 17.625 12.8125V17.5Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function Z8(n){let e,r;const s=[n[0]];let f={$$slots:{default:[H8]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class w8 extends Z{constructor(e){super(),V(this,e,V8,Z8,w,{})}}function k8(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M19.8438 11.6562L15.3438 7.15625C15.1562 6.96875 14.8125 6.96875 14.625 7.15625C14.4375 7.34375 14.4375 7.6875 14.625 7.875L18.2812 11.5H9.5C9.21875 11.5 9 11.75 9 12C9 12.2812 9.21875 12.5 9.5 12.5H18.2812L14.625 16.1562C14.4375 16.3438 14.4375 16.6875 14.625 16.875C14.8125 17.0625 15.1562 17.0625 15.3438 16.875L19.8438 12.375C19.9375 12.2812 20 12.1562 20 12C20 11.875 19.9375 11.75 19.8438 11.6562ZM9.5 18H6.5C5.65625 18 5 17.3438 5 16.5V7.5C5 6.6875 5.65625 6 6.5 6H9.5C9.75 6 10 5.78125 10 5.5C10 5.25 9.75 5 9.5 5H6.5C5.09375 5 4 6.125 4 7.5V16.5C4 17.9062 5.09375 19 6.5 19H9.5C9.75 19 10 18.7812 10 18.5C10 18.25 9.75 18 9.5 18Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function E8(n){let e,r;const s=[n[0]];let f={$$slots:{default:[k8]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class S8 extends Z{constructor(e){super(),V(this,e,b8,E8,w,{})}}function A8(n){let e,r,s,f,t;return{c(){e=$("ellipse"),r=R(),s=$("path"),f=R(),t=$("path"),this.h()},l(l){e=g(l,"ellipse",{cx:!0,cy:!0,rx:!0,ry:!0,stroke:!0}),_(e).forEach(u),r=T(l),s=g(l,"path",{d:!0,stroke:!0}),_(s).forEach(u),f=T(l),t=g(l,"path",{d:!0,stroke:!0}),_(t).forEach(u),this.h()},h(){a(e,"cx","12"),a(e,"cy","12"),a(e,"rx","4"),a(e,"ry","4"),a(e,"stroke","currentcolor"),a(s,"d","M10 2.19213C5.43552 3.11867 2 7.15418 2 11.9921C2 14.7535 3.11929 17.2535 4.92893 19.0632C5.80656 19.9408 6.84656 20.656 8 21.16M6 1L10.1 2.14208L8 6"),a(s,"stroke","currentcolor"),a(t,"d","M14 21.8079C18.5645 20.8813 22 16.8458 22 12.0079C22 9.24649 20.8807 6.74649 19.0711 4.93684C18.1934 4.05922 17.1534 3.34396 16 2.84M18 23L13.9 21.8579L16 18"),a(t,"stroke","currentcolor")},m(l,c){i(l,e,c),i(l,r,c),i(l,s,c),i(l,f,c),i(l,t,c)},p:S,d(l){l&&u(e),l&&u(r),l&&u(s),l&&u(f),l&&u(t)}}}function F8(n){let e,r;const s=[n[0]];let f={$$slots:{default:[A8]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class G8 extends Z{constructor(e){super(),V(this,e,x8,F8,w,{})}}function B8(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,stroke:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M5.63598 5.63602C9.1507 2.12131 14.8492 2.12131 18.3639 5.63602C21.8786 9.15073 21.8786 14.8492 18.3639 18.3639M5.63598 5.63602C2.12126 9.15073 2.12126 14.8492 5.63598 18.3639C9.1507 21.8786 14.8492 21.8786 18.3639 18.3639M5.63598 5.63602C2.99994 8.27205 2.99994 10.9549 5.63598 13.591C8.27202 16.227 12.5459 16.227 15.1819 13.591M18.3639 18.3639C20.9999 15.7279 20.9999 13.045 18.3639 10.409C15.7279 7.77295 11.454 7.77295 8.81796 10.409"),a(e,"stroke","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function R8(n){let e,r;const s=[n[0]];let f={$$slots:{default:[B8]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class D8 extends Z{constructor(e){super(),V(this,e,T8,R8,w,{})}}function P8(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M11.25 17.1875C11.25 17.2344 11.25 17.2578 11.25 17.2812L11.8125 18.3828C11.8828 18.5234 12.0938 18.5234 12.1641 18.3828L12.7266 17.2812C12.7266 17.2578 12.75 17.2109 12.75 17.1875V15.5H11.25V17.1875ZM14.4844 11.5391L14.1797 8.75H15.1875C15.4922 8.75 15.75 8.51562 15.75 8.21094V7.0625C15.75 6.75781 15.4922 6.5 15.1875 6.5H8.8125C8.48438 6.5 8.25 6.75781 8.25 7.0625V8.16406C8.25 8.51562 8.48438 8.75 8.8125 8.75H9.79688L9.49219 11.5391C8.36719 12.0547 7.5 13.0156 7.5 14.1875C7.5 14.4922 7.73438 14.7266 8.0625 14.7266H15.9375C16.2422 14.7266 16.5 14.4688 16.5 14.1875C16.5 12.9922 15.6094 12.0547 14.4844 11.5391Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function j8(n){let e,r;const s=[n[0]];let f={$$slots:{default:[P8]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class O8 extends Z{constructor(e){super(),V(this,e,I8,j8,w,{})}}function q8(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M14.7188 11.0234L14.5781 7.625H15.1875C15.4922 7.625 15.75 7.39062 15.75 7.0625C15.75 6.75781 15.4922 6.5 15.1875 6.5H8.8125C8.48438 6.5 8.25 6.75781 8.25 7.0625C8.25 7.39062 8.48438 7.625 8.8125 7.625H9.53906L9.28125 11.0234C8.15625 11.6328 7.5 12.6172 7.5 13.6953C7.5 14.2812 7.96875 14.75 8.55469 14.75H11.4375V17.9375C11.4375 18.2656 11.6719 18.5 12 18.5C12.3047 18.5 12.5625 18.2656 12.5625 17.9375V14.75H15.4453C16.0078 14.75 16.5 14.2812 16.5 13.6953C16.5 12.6406 15.8203 11.6562 14.7188 11.0234ZM12.5625 13.625V11.9375C12.5625 11.6328 12.3047 11.375 12 11.375C11.6719 11.375 11.4375 11.6328 11.4375 11.9375V13.625H8.625C8.64844 12.9453 9.1875 12.2891 10.0547 11.8906L10.3594 11.75L10.6641 7.625H13.4531L13.6172 11.75L13.9219 11.8906C14.7891 12.2891 15.3281 12.9453 15.3516 13.625H12.5625Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function N8(n){let e,r;const s=[n[0]];let f={$$slots:{default:[q8]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class J8 extends Z{constructor(e){super(),V(this,e,W8,N8,w,{})}}function U8(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M12 4C7.5625 4 4 7.59375 4 12C4 16.4375 7.5625 20 12 20C16.4062 20 20 16.4375 20 12C20 7.59375 16.4062 4 12 4ZM18.9688 12.25L17.3438 11.8438C17.2812 11.8438 17.25 11.8125 17.1875 11.75L16.625 10.9062C16.5938 10.8125 16.5938 10.7188 16.625 10.625L17.25 9.71875C17.2812 9.65625 17.3125 9.65625 17.3438 9.625L18.3125 9.03125C18.75 9.9375 19 10.9375 19 12C19 12.0938 18.9688 12.1875 18.9688 12.25ZM5 12C5 11.625 5.03125 11.25 5.09375 10.875C5.46875 11.3125 5.84375 11.7188 5.90625 11.8438C6.09375 12.125 6.3125 12.375 6.5625 12.5938C6.90625 12.9062 7.28125 13.1562 7.6875 13.3438C8.09375 13.5625 8.75 13.9062 9.1875 14.1562C9.34375 14.25 9.4375 14.4062 9.4375 14.5938V15.5938C9.4375 16 9.59375 16.375 9.875 16.6562C10.2812 17.0625 10.4688 17.6562 10.4375 17.8438C10.4375 17.9062 10.4375 17.9375 10.4375 17.9688V18.8438C7.3125 18.125 5 15.3438 5 12ZM11.4375 19V17.9688C11.5312 17.4062 11.1562 16.5 10.5938 15.9375C10.5 15.875 10.4375 15.7188 10.4375 15.5938V14.5938C10.4375 14.0625 10.1562 13.5625 9.6875 13.2812C9.21875 13.0312 8.5625 12.6875 8.125 12.4688C7.8125 12.3125 7.53125 12.0938 7.21875 11.8438C7.03125 11.6562 6.875 11.4688 6.75 11.2812C6.625 11.0938 6 10.4062 5.375 9.6875C6.15625 7.46875 8 5.78125 10.2812 5.21875L12.25 7L11.7812 7.46875C11.5 7.75 11.4688 8.21875 11.75 8.5H11.5625C11.375 8.5 11.1875 8.59375 11.0312 8.71875L10.7188 9.03125C10.5 9.25 10.4375 9.59375 10.5938 9.90625L10.7188 10.1562C10.5938 10.0938 10.4688 10.0938 10.3438 10.0938C10.2188 10.0938 10.125 10.0938 10.0312 10.125L9.03125 10.4688C8.6875 10.5625 8.4375 10.9062 8.4375 11.2812C8.4375 11.625 8.625 11.9062 8.9375 12.0625L9.28125 12.25C9.625 12.4062 9.96875 12.5 10.3438 12.5C10.4375 12.5938 10.5625 12.75 10.625 12.8438C11 13.3438 11.0625 13.375 11.3438 13.5H13.5312C13.6562 13.5 13.7812 13.5625 13.875 13.6562L14.3125 14.0938C14.4062 14.1875 14.4375 14.2812 14.4375 14.4062C14.4375 14.6562 14.3438 14.9062 14.1562 15.0938L13.8125 15.4375C13.4688 15.8125 13.5 16.0938 13.3438 16.4688L12.5625 19C12.375 19 12.1875 19 12 19C11.8125 19 11.625 19 11.4375 19ZM13.6875 18.8125L14.3125 16.8125C14.3438 16.6562 14.375 16.5312 14.4062 16.4062C14.4688 16.1875 14.4688 16.1875 14.5312 16.125L14.875 15.7812C15.2188 15.4375 15.4375 14.9375 15.4375 14.4062C15.4375 14.0312 15.3125 13.6562 15.0312 13.4062L14.5938 12.9688C14.3125 12.6875 13.9375 12.5 13.5312 12.5H11.625C11.5938 12.4688 11.5312 12.4062 11.4375 12.25C11.2812 12.0312 11.1562 11.875 11.0312 11.7812C10.875 11.625 10.625 11.5312 10.4062 11.5312C10.1562 11.5 9.9375 11.4375 9.71875 11.3438L9.65625 11.3125L10.3438 11.0938C10.4688 11.125 10.5938 11.1562 10.7188 11.1562C10.9688 11.1562 11.25 11.0312 11.4375 10.8438C11.7188 10.5312 11.7812 10.0625 11.5938 9.71875L11.5625 9.625L11.6562 9.5H11.75C12.125 9.5 12.5 9.28125 12.6562 8.9375C12.7812 8.625 12.7812 8.3125 12.625 8.03125L12.9375 7.71875C13.125 7.53125 13.25 7.25 13.25 7C13.2188 6.71875 13.125 6.46875 12.9062 6.28125L11.5625 5.03125C11.6875 5.03125 11.8438 5 12 5C14.4062 5 16.5625 6.28125 17.8125 8.15625L16.8438 8.75C16.6562 8.875 16.5312 9 16.4062 9.15625L15.8125 10.0625C15.5312 10.5 15.5312 11.0312 15.8125 11.4688L16.375 12.3125C16.5312 12.5312 16.7812 12.75 17.0938 12.8125L18.875 13.2812C18.375 15.9688 16.3125 18.125 13.6875 18.8125Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function z8(n){let e,r;const s=[n[0]];let f={$$slots:{default:[U8]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class Y8 extends Z{constructor(e){super(),V(this,e,K8,z8,w,{})}}function Q8(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M5.25 13H11.25V13.75C11.25 14.1875 11.5625 14.5 12 14.5C12.4062 14.5 12.75 14.1875 12.75 13.7812V13H18.75V13.75C18.75 14.1875 19.0625 14.5 19.5 14.5C19.9062 14.5 20.25 14.1875 20.25 13.7812V12.7188C20.25 12.0625 19.6875 11.5 19.0312 11.5H12.75V9.5H14C14.5312 9.5 15 9.0625 15 8.5V5.5C15 4.96875 14.5312 4.5 14 4.5H10C9.4375 4.5 9 4.96875 9 5.5V8.5C9 8.78125 9.09375 9.03125 9.28125 9.21875C9.46875 9.40625 9.71875 9.5 10 9.5H11.25V11.5H4.9375C4.28125 11.5 3.75 12.0625 3.75 12.7188V13.75C3.75 14.1875 4.0625 14.5 4.46875 14.5C4.84375 14.5 5.25 14.1875 5.25 13.75V13ZM10.5 8V6H13.5V8H10.5ZM21 15.5H18C17.4375 15.5 17 15.9688 17 16.5V19.5C17 20.0625 17.4375 20.5 18 20.5H21C21.5312 20.5 22 20.0625 22 19.5V16.5C22 15.9688 21.5312 15.5 21 15.5ZM20.5 19H18.5V17H20.5V19ZM13.5 15.5H10.5C9.9375 15.5 9.5 15.9688 9.5 16.5V19.5C9.5 20.0625 9.9375 20.5 10.5 20.5H13.5C14.0312 20.5 14.5 20.0625 14.5 19.5V16.5C14.5 15.9688 14.0312 15.5 13.5 15.5ZM13 19H11V17H13V19ZM6 15.5H3C2.4375 15.5 2 15.9688 2 16.5V19.5C2 20.0625 2.4375 20.5 3 20.5H6C6.53125 20.5 7 20.0625 7 19.5V16.5C7 15.9688 6.53125 15.5 6 15.5ZM5.5 19H3.5V17H5.5V19Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function X8(n){let e,r;const s=[n[0]];let f={$$slots:{default:[Q8]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class e7 extends Z{constructor(e){super(),V(this,e,y8,X8,w,{})}}function t7(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M12.5 14C12.5 14.2812 12.25 14.5 11.9688 14.5C11.7188 14.5 11.4688 14.2812 11.4688 14V10.5C11.4688 10.25 11.7188 10 11.9688 10C12.25 10 12.5 10.25 12.5 10.5V14ZM8.96875 4.5C8.96875 4.25 9.21875 4 9.46875 4H14.5C14.75 4 15 4.25 15 4.5C15 4.78125 14.75 5 14.5 5H12.5V7.03125C14.0312 7.15625 15.4062 7.8125 16.4688 8.8125L17.625 7.65625C17.8125 7.46875 18.1562 7.46875 18.3438 7.65625C18.5312 7.84375 18.5312 8.1875 18.3438 8.375L17.1562 9.5625C18 10.6562 18.5 12.0312 18.5 13.5C18.5 17.0938 15.5625 20 12 20C8.40625 20 5.5 17.0938 5.5 13.5C5.5 10.0938 8.125 7.28125 11.5 7.03125V5H9.5C9.21875 5 9 4.78125 9 4.5H8.96875ZM11.9688 19C15.0312 19 17.5 16.5625 17.5 13.5C17.5 10.4688 15.0312 8 11.9688 8C8.9375 8 6.46875 10.4688 6.46875 13.5C6.46875 16.5625 8.9375 19 11.9688 19Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function r7(n){let e,r;const s=[n[0]];let f={$$slots:{default:[t7]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class n7 extends Z{constructor(e){super(),V(this,e,s7,r7,w,{})}}function l7(n){let e,r,s;return{c(){e=$("path"),r=R(),s=$("path"),this.h()},l(f){e=g(f,"path",{d:!0,fill:!0}),_(e).forEach(u),r=T(f),s=g(f,"path",{d:!0,fill:!0}),_(s).forEach(u),this.h()},h(){a(e,"d","M4.125 12.2852C4.125 16.6094 7.64062 20.125 11.9648 20.125C15.6562 20.125 18.293 17.4531 18.293 16.7852C18.293 16.4336 18.0469 16.2227 17.7305 16.2227C17.0273 16.1875 15.9727 19 12 19C8.27344 19 5.25 15.9766 5.25 12.25C5.25 8.55859 8.27344 5.5 12 5.5C14.6367 5.5 16.3242 7.08203 16.3594 7.11719L14.3906 9.05078C14.2852 9.15625 14.2148 9.29688 14.2148 9.47266C14.25 9.75391 14.4961 10 14.8125 10H19.3125C19.5938 10 19.875 9.75391 19.875 9.4375V4.9375C19.875 4.65625 19.6289 4.41016 19.3125 4.41016C19.1367 4.41016 18.9961 4.44531 18.8906 4.55078L17.1328 6.34375C16.8164 5.88672 14.6367 4.41016 12 4.41016C7.64062 4.41016 4.125 7.92578 4.125 12.2852ZM16.1484 8.875L18.75 6.30859V8.875H16.1484Z"),a(e,"fill","currentcolor"),a(s,"d","M19 9.07037L19 6L16 9L19 9.07037Z"),a(s,"fill","currentcolor")},m(f,t){i(f,e,t),i(f,r,t),i(f,s,t)},p:S,d(f){f&&u(e),f&&u(r),f&&u(s)}}}function f7(n){let e,r;const s=[n[0]];let f={$$slots:{default:[l7]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class a7 extends Z{constructor(e){super(),V(this,e,c7,f7,w,{})}}function u7(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,"stroke-linecap":!0,"stroke-linejoin":!0,stroke:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M10.3004 16.451H13.9997L15.9062 10.3505C16.4497 8.61088 16.1045 6.71527 14.9825 5.27907L12.5873 2.21328C12.3652 1.92891 11.9349 1.92891 11.7128 2.21328L9.31763 5.27907C8.19561 6.71527 7.85035 8.61088 8.39397 10.3505L10.3004 16.451ZM10.3004 16.451L7.52601 18.3006C7.52601 18.3006 5.67634 14.6013 8.91326 12.2892M10.3004 19.2255C10.3004 21.0752 12.15 22 12.15 22C12.15 22 13.9997 21.0752 13.9997 19.2255M15.7859 12.2892C19.0229 14.6013 17.1732 18.3006 17.1732 18.3006L14.3987 16.4509M12.15 10.9018C11.1285 10.9018 10.3004 10.0737 10.3004 9.05214C10.3004 8.03059 11.1285 7.20247 12.15 7.20247C13.1716 7.20247 13.9997 8.03059 13.9997 9.05214C13.9997 10.0737 13.1716 10.9018 12.15 10.9018Z"),a(e,"stroke-linecap","round"),a(e,"stroke-linejoin","round"),a(e,"stroke","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function o7(n){let e,r;const s=[n[0]];let f={$$slots:{default:[u7]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class C7 extends Z{constructor(e){super(),V(this,e,i7,o7,w,{})}}function h7(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,stroke:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M4.25273 10C4.59726 8.66017 5.29407 7.39222 6.34315 6.34315C9.46734 3.21895 14.5327 3.21895 17.6569 6.34315C18.7059 7.39222 19.4027 8.66017 19.7473 10M6 21V17H10M6.34419 17.6577C6.83268 18.1472 7.38802 18.5765 8.00105 18.9299C8.59342 19.2715 9.23967 19.5421 9.93151 19.7274C10.6233 19.9128 11.3183 20.0016 12.002 20.002C12.7096 20.0025 13.4051 19.9083 14.0729 19.7288C14.7501 19.5466 15.3987 19.2766 16.0021 18.9282C16.6054 18.5799 17.1635 18.1532 17.6599 17.6578C18.1493 17.1693 18.5786 16.614 18.932 16.001C19.2735 15.4086 19.5441 14.7624 19.7295 14.0706M12 8V12L15 15M2.58579 10.5858C3.36683 9.80474 4.63316 9.80474 5.41421 10.5858C6.19526 11.3668 6.19526 12.6332 5.41421 13.4142C4.63317 14.1953 3.36684 14.1953 2.58579 13.4142C1.80474 12.6332 1.80474 11.3668 2.58579 10.5858ZM18.5858 10.5858C19.3668 9.80474 20.6332 9.80474 21.4142 10.5858C22.1953 11.3668 22.1953 12.6332 21.4142 13.4142C20.6332 14.1953 19.3668 14.1953 18.5858 13.4142C17.8047 12.6332 17.8047 11.3668 18.5858 10.5858Z"),a(e,"stroke","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function $7(n){let e,r;const s=[n[0]];let f={$$slots:{default:[h7]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class _7 extends Z{constructor(e){super(),V(this,e,g7,$7,w,{})}}function m7(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M19.8438 19.1562L15.4062 14.75C16.4062 13.5938 16.9688 12.125 16.9688 10.5C16.9688 6.9375 14.0312 4 10.4688 4C6.875 4 4 6.9375 4 10.5C4 14.0938 6.90625 17 10.4688 17C12.0625 17 13.5312 16.4375 14.6875 15.4375L19.0938 19.875C19.2188 19.9688 19.3438 20 19.5 20C19.625 20 19.75 19.9688 19.8438 19.875C20.0312 19.6875 20.0312 19.3438 19.8438 19.1562ZM10.5 16C7.4375 16 5 13.5312 5 10.5C5 7.46875 7.4375 5 10.5 5C13.5312 5 16 7.46875 16 10.5C16 13.5625 13.5312 16 10.5 16Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function d7(n){let e,r;const s=[n[0]];let f={$$slots:{default:[m7]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class v7 extends Z{constructor(e){super(),V(this,e,p7,d7,w,{})}}function L7(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{"fill-rule":!0,"clip-rule":!0,d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"fill-rule","evenodd"),a(e,"clip-rule","evenodd"),a(e,"d","M10.0996 3.28398L10.0996 5.45963C10.0996 5.66686 9.97177 5.85261 9.77822 5.92664C9.09449 6.18814 8.46588 6.562 7.91507 7.02589C7.75648 7.15946 7.53192 7.18128 7.35058 7.08076L5.44605 6.02507C5.40905 6.05372 5.36597 6.08967 5.31723 6.13444C5.07457 6.35731 4.69338 6.79715 4.22805 7.63663C3.76272 8.47611 3.59171 9.03245 3.5313 9.35634C3.51916 9.4214 3.51151 9.47699 3.50681 9.52355L5.41061 10.5788C5.59168 10.6792 5.69216 10.8808 5.66333 11.0858C5.62135 11.3842 5.5996 11.6894 5.5996 12C5.5996 12.3105 5.62134 12.6157 5.66331 12.9141C5.69214 13.1191 5.59165 13.3206 5.41058 13.421L3.50686 14.4763C3.51156 14.5228 3.51921 14.5784 3.53135 14.6435C3.59176 14.9674 3.76276 15.5237 4.2281 16.3632C4.69343 17.2027 5.07461 17.6425 5.31728 17.8654C5.36602 17.9101 5.4091 17.9461 5.44609 17.9747L7.35046 16.9191C7.5318 16.8186 7.75637 16.8404 7.91496 16.974C8.46579 17.4379 9.09444 17.8118 9.77822 18.0734C9.97177 18.1474 10.0996 18.3331 10.0996 18.5404V20.716C10.1426 20.7345 10.1949 20.7547 10.2577 20.7757C10.5703 20.8798 11.1398 21 12.0996 21C13.0594 21 13.6289 20.8798 13.9415 20.7757C14.0043 20.7547 14.0566 20.7345 14.0996 20.716V18.5497C14.0996 18.3425 14.2274 18.1568 14.421 18.0827C15.1016 17.8224 15.7307 17.4402 16.2843 16.974C16.4429 16.8404 16.6674 16.8186 16.8488 16.9191L18.7532 17.9748C18.7902 17.9461 18.8333 17.9102 18.882 17.8654C19.1247 17.6425 19.5059 17.2027 19.9712 16.3632C20.4365 15.5237 20.6075 14.9674 20.668 14.6435C20.6801 14.5784 20.6877 14.5228 20.6924 14.4763L18.7886 13.421C18.6076 13.3206 18.5071 13.119 18.5359 12.914C18.5779 12.6156 18.5996 12.3105 18.5996 12C18.5996 11.6895 18.5779 11.3843 18.5359 11.0858C18.507 10.8808 18.6075 10.6792 18.7886 10.5789L20.6925 9.52352C20.6878 9.47696 20.6801 9.42138 20.668 9.35632C20.6076 9.03243 20.4366 8.47609 19.9713 7.63661C19.5059 6.79712 19.1247 6.35728 18.8821 6.13442C18.8333 6.08965 18.7902 6.0537 18.7533 6.02504L16.8486 7.08078C16.6673 7.1813 16.4427 7.15947 16.2842 7.02591C15.7333 6.56201 15.1047 6.18815 14.421 5.92664C14.2274 5.85261 14.0996 5.66686 14.0996 5.45963V3.28398C14.0566 3.26552 14.0043 3.24527 13.9415 3.22434C13.6289 3.12015 13.0594 3 12.0996 3C11.1398 3 10.5703 3.12015 10.2577 3.22434C10.1949 3.24527 10.1426 3.26552 10.0996 3.28398ZM14.5996 3L14.9532 2.64645C15.0469 2.74021 15.0996 2.86739 15.0996 3V5.1242C15.6577 5.36805 16.1803 5.67776 16.6575 6.0434L18.5168 5.01275C18.6328 4.94846 18.7696 4.93287 18.897 4.96942L18.7592 5.45006C18.897 4.96942 18.8975 4.96956 18.898 4.9697L18.899 4.96998L18.9009 4.97055L18.905 4.97178L18.914 4.97458C18.9202 4.97659 18.9271 4.97891 18.9346 4.98157C18.9496 4.98691 18.967 4.99362 18.9867 5.00202C19.0261 5.01884 19.0744 5.04235 19.1309 5.07499C19.2438 5.14032 19.3883 5.2416 19.5585 5.39791C19.8981 5.7098 20.3416 6.24204 20.8459 7.1518C21.3502 8.06155 21.5665 8.71969 21.651 9.17297C21.6934 9.40012 21.7028 9.57631 21.6983 9.70675C21.6961 9.77192 21.6904 9.82535 21.6838 9.86767C21.6805 9.88881 21.6769 9.90712 21.6735 9.92266C21.6718 9.93043 21.6701 9.93751 21.6685 9.94389L21.6661 9.95295L21.665 9.95709L21.6644 9.95906L21.6642 9.96003C21.664 9.9605 21.6639 9.96097 21.1833 9.82315L21.6639 9.96097C21.6274 10.0884 21.5417 10.1962 21.4257 10.2605L19.5665 11.291C19.5884 11.5245 19.5996 11.761 19.5996 12C19.5996 12.2389 19.5884 12.4754 19.5665 12.7088L21.4256 13.7393C21.5416 13.8036 21.6273 13.9114 21.6639 14.0388L21.1832 14.1767C21.6639 14.0388 21.664 14.0393 21.6641 14.0398L21.6644 14.0407L21.665 14.0427L21.6661 14.0469L21.6685 14.0559C21.6701 14.0623 21.6718 14.0694 21.6735 14.0771C21.6769 14.0927 21.6804 14.111 21.6837 14.1321C21.6903 14.1745 21.696 14.2279 21.6982 14.2931C21.7027 14.4235 21.6934 14.5997 21.651 14.8268C21.5665 15.2801 21.3501 15.9383 20.8458 16.848C20.3415 17.7578 19.8981 18.29 19.5585 18.6019C19.3883 18.7582 19.2438 18.8595 19.1308 18.9248C19.0744 18.9575 19.026 18.981 18.9867 18.9978C18.967 19.0062 18.9496 19.0129 18.9346 19.0182C18.9271 19.0209 18.9202 19.0232 18.9139 19.0252L18.905 19.028L18.9009 19.0293L18.8989 19.0298L18.8979 19.0301C18.8975 19.0302 18.897 19.0304 18.7592 18.5497L18.897 19.0304C18.7695 19.0669 18.6328 19.0513 18.5168 18.9871L16.658 17.9567C16.1821 18.323 15.6596 18.6384 15.0996 18.8847V21C15.0996 21.1326 15.0469 21.2598 14.9532 21.3536L14.5996 21C14.9532 21.3536 14.9528 21.3539 14.9525 21.3542L14.9517 21.355L14.9503 21.3564L14.9472 21.3594L14.9404 21.3659C14.9356 21.3704 14.9303 21.3753 14.9243 21.3805C14.9124 21.3911 14.8981 21.403 14.8812 21.4162C14.8474 21.4425 14.8034 21.4733 14.7475 21.5069C14.6356 21.574 14.4769 21.6513 14.2577 21.7243C13.8203 21.8702 13.1398 22 12.0996 22C11.0594 22 10.3789 21.8702 9.94149 21.7243C9.72227 21.6513 9.56365 21.574 9.45173 21.5069C9.39582 21.4733 9.35183 21.4425 9.31802 21.4162C9.30113 21.403 9.28683 21.3911 9.2749 21.3805C9.26893 21.3753 9.26356 21.3704 9.25876 21.3659L9.25199 21.3594L9.24891 21.3564L9.24746 21.355L9.24675 21.3542C9.2464 21.3539 9.24605 21.3536 9.5996 21L9.24605 21.3536C9.15228 21.2598 9.0996 21.1326 9.0996 21V18.8758C8.54142 18.6319 8.01882 18.3222 7.54162 17.9565L5.68253 18.987C5.56654 19.0513 5.42977 19.0669 5.3023 19.0304L5.44012 18.5497C5.3023 19.0304 5.30183 19.0302 5.30136 19.0301L5.3004 19.0298L5.29843 19.0292L5.29431 19.028L5.28538 19.0252C5.27911 19.0232 5.27222 19.0209 5.26472 19.0182C5.24972 19.0129 5.23233 19.0062 5.21265 18.9978C5.17326 18.9809 5.12494 18.9574 5.06849 18.9248C4.9555 18.8595 4.81104 18.7582 4.64085 18.6019C4.30125 18.29 3.85776 17.7577 3.35348 16.848C2.84919 15.9382 2.63284 15.2801 2.5483 14.8268C2.50593 14.5997 2.49659 14.4235 2.50106 14.293C2.5033 14.2279 2.50897 14.1744 2.51558 14.1321C2.51888 14.111 2.5224 14.0927 2.52583 14.0771C2.52754 14.0693 2.52923 14.0623 2.53084 14.0559L2.53321 14.0468L2.53435 14.0427L2.5349 14.0407L2.53517 14.0398C2.53531 14.0393 2.53544 14.0388 3.01607 14.1766L2.53544 14.0388C2.57199 13.9113 2.65769 13.8036 2.77367 13.7393L4.6327 12.7088C4.61079 12.4754 4.5996 12.2389 4.5996 12C4.5996 11.761 4.6108 11.5245 4.63271 11.291L2.77362 10.2605C2.65764 10.1962 2.57195 10.0885 2.53539 9.961L3.01603 9.82318C2.53539 9.961 2.53526 9.96052 2.53512 9.96005L2.53485 9.95909L2.5343 9.95711L2.53316 9.95297L2.5308 9.94391C2.52918 9.93753 2.52749 9.93046 2.52578 9.92269C2.52236 9.90714 2.51883 9.88884 2.51553 9.86769C2.50892 9.82538 2.50325 9.77194 2.50102 9.70677C2.49654 9.57633 2.50588 9.40015 2.54825 9.17299C2.63279 8.71971 2.84914 8.06158 3.35343 7.15182C3.85772 6.24206 4.3012 5.70983 4.6408 5.39793C4.81099 5.24163 4.95545 5.14034 5.06844 5.07501C5.12489 5.04237 5.17321 5.01887 5.2126 5.00204C5.23228 4.99364 5.24967 4.98693 5.26467 4.9816C5.27217 4.97893 5.27906 4.97661 5.28533 4.9746L5.29427 4.97181L5.29838 4.97058L5.30035 4.97L5.30131 4.96972C5.30178 4.96958 5.30226 4.96945 5.44007 5.45008L5.30226 4.96945C5.42973 4.9329 5.5665 4.94848 5.68248 5.01277L7.54175 6.04338C8.01892 5.67775 8.54147 5.36804 9.0996 5.1242L9.09961 3C9.09961 2.86739 9.15229 2.74022 9.24605 2.64645L9.59961 3C9.24605 2.64645 9.2464 2.6461 9.24675 2.64575L9.24746 2.64505L9.24892 2.64361L9.25199 2.64061L9.25876 2.63414C9.26357 2.62963 9.26893 2.62473 9.2749 2.61947C9.28684 2.60894 9.30114 2.59698 9.31803 2.58384C9.35184 2.55754 9.39582 2.52668 9.45173 2.49313C9.56365 2.42598 9.72228 2.34873 9.94149 2.27566C10.3789 2.12985 11.0594 2 12.0996 2C13.1398 2 13.8203 2.12985 14.2577 2.27566C14.4769 2.34873 14.6356 2.42598 14.7475 2.49313C14.8034 2.52668 14.8474 2.55754 14.8812 2.58384C14.8981 2.59698 14.9124 2.60893 14.9243 2.61947C14.9303 2.62473 14.9356 2.62963 14.9404 2.63414L14.9472 2.6406L14.9503 2.6436L14.9517 2.64505L14.9525 2.64575C14.9528 2.6461 14.9532 2.64645 14.5996 3ZM12.0997 9.5C10.719 9.5 9.5996 10.6194 9.5996 12.0001C9.5996 13.3809 10.719 14.5003 12.0997 14.5003C13.4805 14.5003 14.5999 13.3809 14.5999 12.0001C14.5999 10.6194 13.4805 9.5 12.0997 9.5ZM8.5996 12.0001C8.5996 10.0671 10.1667 8.5 12.0997 8.5C14.0328 8.5 15.5999 10.0671 15.5999 12.0001C15.5999 13.9332 14.0328 15.5003 12.0997 15.5003C10.1667 15.5003 8.5996 13.9332 8.5996 12.0001Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function M7(n){let e,r;const s=[n[0]];let f={$$slots:{default:[L7]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class Z7 extends Z{constructor(e){super(),V(this,e,H7,M7,w,{})}}function V7(n){let e,r,s,f,t,l,c,h,d,m,G;return{c(){e=$("path"),r=R(),s=$("path"),f=R(),t=$("path"),l=R(),c=$("path"),h=R(),d=$("path"),m=R(),G=$("path"),this.h()},l(B){e=g(B,"path",{d:!0,stroke:!0}),_(e).forEach(u),r=T(B),s=g(B,"path",{d:!0,stroke:!0}),_(s).forEach(u),f=T(B),t=g(B,"path",{d:!0,stroke:!0}),_(t).forEach(u),l=T(B),c=g(B,"path",{d:!0,stroke:!0}),_(c).forEach(u),h=T(B),d=g(B,"path",{d:!0,stroke:!0}),_(d).forEach(u),m=T(B),G=g(B,"path",{d:!0,stroke:!0}),_(G).forEach(u),this.h()},h(){a(e,"d","M4.75 8H7.25"),a(e,"stroke","currentcolor"),a(s,"d","M12.75 8H19.25"),a(s,"stroke","currentcolor"),a(t,"d","M4.75 16H12.25"),a(t,"stroke","currentcolor"),a(c,"d","M17.75 16H19.25"),a(c,"stroke","currentcolor"),a(d,"d","M 10, 8 m -1, 0 a 1,1 0 1,0 2.25,0 a 1,1 0 1,0 -2.25,0"),a(d,"stroke","currentcolor"),a(G,"d","M 15, 16 m -1, 0 a 1,1 0 1,0 2.25,0 a 1,1 0 1,0 -2.25,0"),a(G,"stroke","currentcolor")},m(B,D){i(B,e,D),i(B,r,D),i(B,s,D),i(B,f,D),i(B,t,D),i(B,l,D),i(B,c,D),i(B,h,D),i(B,d,D),i(B,m,D),i(B,G,D)},p:S,d(B){B&&u(e),B&&u(r),B&&u(s),B&&u(f),B&&u(t),B&&u(l),B&&u(c),B&&u(h),B&&u(d),B&&u(m),B&&u(G)}}}function w7(n){let e,r;const s=[n[0]];let f={$$slots:{default:[V7]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class E7 extends Z{constructor(e){super(),V(this,e,k7,w7,w,{})}}function b7(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M7.375 6.40625C6.84375 6.40625 6.375 6.875 6.375 7.40625C6.375 7.96875 6.84375 8.40625 7.375 8.40625C7.9375 8.40625 8.375 7.96875 8.375 7.40625C8.375 6.875 7.9375 6.40625 7.375 6.40625ZM7.375 15.625C6.84375 15.625 6.375 16.0625 6.375 16.625C6.375 17.1562 6.84375 17.625 7.375 17.625C7.9375 17.625 8.375 17.1562 8.375 16.625C8.375 16.0625 7.9375 15.625 7.375 15.625ZM12 17.5C11.4375 17.5 11 17.9688 11 18.5C11 19.0625 11.4375 19.5 12 19.5C12.5312 19.5 13 19.0625 13 18.5C13 17.9688 12.5312 17.5 12 17.5ZM5.5 11C4.9375 11 4.5 11.4688 4.5 12C4.5 12.5625 4.9375 13 5.5 13C6.03125 13 6.5 12.5625 6.5 12C6.5 11.4688 6.03125 11 5.5 11ZM12 4.5C11.4375 4.5 11 4.96875 11 5.5C11 6.0625 11.4375 6.5 12 6.5C12.5312 6.5 13 6.0625 13 5.5C13 4.96875 12.5312 4.5 12 4.5ZM18.5 11C17.9375 11 17.5 11.4688 17.5 12C17.5 12.5625 17.9375 13 18.5 13C19.0312 13 19.5 12.5625 19.5 12C19.5 11.4688 19.0312 11 18.5 11ZM16.5938 15.625C16.0312 15.625 15.5938 16.0625 15.5938 16.625C15.5938 17.1562 16.0312 17.625 16.5938 17.625C17.125 17.625 17.5938 17.1562 17.5938 16.625C17.5938 16.0625 17.125 15.625 16.5938 15.625Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function S7(n){let e,r;const s=[n[0]];let f={$$slots:{default:[b7]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class F7 extends Z{constructor(e){super(),V(this,e,A7,S7,w,{})}}function x7(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M20 12C20 13.1562 19.75 14.25 19.3125 15.2188C19.125 15.625 18.625 15.8125 18.25 15.5938C17.9062 15.4062 17.7812 15 17.9062 14.6562C18.2812 13.8438 18.5 12.9375 18.5 12C18.5 8.65625 15.9062 5.875 12.625 5.5625C12.25 5.5 12 5.1875 12 4.8125C12 4.34375 12.375 4 12.8438 4.0625C16.8438 4.5 20 7.875 20 12Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function G7(n){let e,r;const s=[n[0]];let f={$$slots:{default:[x7]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class R7 extends Z{constructor(e){super(),V(this,e,B7,G7,w,{})}}function T7(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M17.625 10.5312L14.2031 10.0391L12.6562 6.92188C12.5156 6.64062 12.2578 6.5 11.9766 6.5C11.7188 6.5 11.4609 6.64062 11.3203 6.92188L9.77344 10.0391L6.35156 10.5312C5.74219 10.625 5.48438 11.375 5.92969 11.8203L8.41406 14.2109L7.82812 17.6328C7.75781 18.125 8.13281 18.5 8.57812 18.5C8.69531 18.5 8.8125 18.4766 8.92969 18.4297L12 16.8125L15.0469 18.4297C15.1641 18.4766 15.2812 18.5234 15.3984 18.5234C15.8438 18.5234 16.2188 18.125 16.1484 17.6328L15.5625 14.2344L18.0469 11.8438C18.4922 11.375 18.2344 10.625 17.625 10.5312ZM14.7891 14.1641L15.3984 17.75L12.1641 16.0625C12.0469 15.9922 11.9297 15.9922 11.8125 16.0625L8.57812 17.75L9.23438 13.9531L6.46875 11.2812L10.0781 10.7422C10.1953 10.7188 10.3125 10.6484 10.3594 10.5312L12 7.25L13.6172 10.5312C13.6641 10.6484 13.7812 10.7188 13.8984 10.7422L17.5078 11.2812L14.9062 13.8359C14.8125 13.9062 14.7656 14.0234 14.7891 14.1641Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function D7(n){let e,r;const s=[n[0]];let f={$$slots:{default:[T7]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class j7 extends Z{constructor(e){super(),V(this,e,P7,D7,w,{})}}function I7(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M12.6562 6.92188L14.2031 10.0391L17.625 10.5312C18.2344 10.625 18.4922 11.375 18.0469 11.8203L15.5625 14.2109L16.1484 17.6094C16.2422 18.2188 15.6094 18.6875 15.0469 18.4062L12 16.8125L8.92969 18.4297C8.36719 18.7109 7.73438 18.2422 7.82812 17.6328L8.41406 14.2344L5.92969 11.8203C5.48438 11.375 5.74219 10.625 6.35156 10.5312L9.77344 10.0391L11.3203 6.92188C11.6016 6.35938 12.3984 6.38281 12.6562 6.92188Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function O7(n){let e,r;const s=[n[0]];let f={$$slots:{default:[I7]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class N7 extends Z{constructor(e){super(),V(this,e,q7,O7,w,{})}}function W7(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M18.0312 16C17.8438 16.3438 17.5 16.5 17.1562 16.5C16.9688 16.5 16.8125 16.4688 16.6562 16.375L13 14.25V18.5C13 19.0625 12.5312 19.5 12 19.5C11.5 19.5 11 19.0625 11 18.5V14.25L7.28125 16.375C7.125 16.4688 6.96875 16.5 6.78125 16.5C6.4375 16.5 6.09375 16.3438 5.9375 16C5.65625 15.5312 5.8125 14.9375 6.28125 14.6562L9.96875 12.5L6.28125 10.375C5.8125 10.0938 5.65625 9.5 5.90625 9C6.125 8.65625 6.53125 8.46875 6.90625 8.53125C7.03125 8.53125 7.15625 8.59375 7.28125 8.65625L11 10.7812V6.5C11 5.96875 11.4375 5.5 12 5.5C12.5312 5.5 13 5.96875 13 6.5V10.7812L16.6875 8.65625C16.8125 8.59375 16.9375 8.53125 17.0625 8.53125C17.4375 8.46875 17.8438 8.65625 18.0312 9C18.2812 9.5 18.125 10.0938 17.6562 10.375L14 12.5L17.6875 14.6562C18.1562 14.9375 18.3125 15.5312 18.0312 16Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function J7(n){let e,r;const s=[n[0]];let f={$$slots:{default:[W7]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class z7 extends Z{constructor(e){super(),V(this,e,U7,J7,w,{})}}function K7(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,stroke:!0,"stroke-linecap":!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M19.2 19.2L14.25 14.25M9.75 9.75L4.8 4.8M4.8 19.2L9.75 14.25M14.25 9.75L19.2 4.8M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12ZM15 12C15 13.6569 13.6569 15 12 15C10.3431 15 9 13.6569 9 12C9 10.3431 10.3431 9 12 9C13.6569 9 15 10.3431 15 12Z"),a(e,"stroke","currentcolor"),a(e,"stroke-linecap","round")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function Y7(n){let e,r;const s=[n[0]];let f={$$slots:{default:[K7]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class X7 extends Z{constructor(e){super(),V(this,e,Q7,Y7,w,{})}}function y7(n){let e,r,s;return{c(){e=$("path"),r=R(),s=$("path"),this.h()},l(f){e=g(f,"path",{d:!0,stroke:!0}),_(e).forEach(u),r=T(f),s=g(f,"path",{d:!0,stroke:!0}),_(s).forEach(u),this.h()},h(){a(e,"d","M17.25 4.75H6.75C5.64543 4.75 4.75 5.64543 4.75 6.75V17.25C4.75 18.3546 5.64543 19.25 6.75 19.25H17.25C18.3546 19.25 19.25 18.3546 19.25 17.25V6.75C19.25 5.64543 18.3546 4.75 17.25 4.75Z"),a(e,"stroke","currentcolor"),a(s,"d","M8.75 10.75L11.25 13L8.75 15.25"),a(s,"stroke","currentcolor")},m(f,t){i(f,e,t),i(f,r,t),i(f,s,t)},p:S,d(f){f&&u(e),f&&u(r),f&&u(s)}}}function ee(n){let e,r;const s=[n[0]];let f={$$slots:{default:[y7]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class re extends Z{constructor(e){super(),V(this,e,te,ee,w,{})}}function se(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M15 13.9062V15.125C15 15.3125 15.1875 15.5 15.375 15.5H18.5938C18.7812 15.5 19 15.3125 19 15.125V13.9062C19 13.7188 18.7812 13.5 18.5938 13.5H15.375C15.1875 13.5 15 13.7188 15 13.9062ZM10 10.9062V12.125C10 12.3125 10.1875 12.5 10.375 12.5H15.5938C15.7812 12.5 16 12.3125 16 12.125V10.9062C16 10.7188 15.7812 10.5 15.5938 10.5H10.375C10.1875 10.5 10 10.7188 10 10.9062ZM19 17.5H6V6.5C6 5.96875 5.53125 5.5 5 5.5C4.4375 5.5 4 5.96875 4 6.5V18.5C4 19.0625 4.4375 19.5 5 19.5H19C19.5312 19.5 20 19.0625 20 18.5C20 17.9688 19.5312 17.5 19 17.5ZM8.375 9.5H12.5938C12.7812 9.5 13 9.3125 13 9.125V7.90625C13 7.71875 12.7812 7.5 12.5938 7.5H8.375C8.1875 7.5 8 7.71875 8 7.90625V9.125C8 9.3125 8.1875 9.5 8.375 9.5Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function ne(n){let e,r;const s=[n[0]];let f={$$slots:{default:[se]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class fe extends Z{constructor(e){super(),V(this,e,le,ne,w,{})}}function ce(n){let e,r,s,f,t,l,c,h,d,m,G,B,D,x,j,q,O;return{c(){e=$("path"),r=R(),s=$("path"),f=R(),t=$("path"),l=R(),c=$("path"),h=R(),d=$("path"),m=R(),G=$("path"),B=R(),D=$("path"),x=R(),j=$("path"),q=R(),O=$("path"),this.h()},l(F){e=g(F,"path",{d:!0,fill:!0,stroke:!0}),_(e).forEach(u),r=T(F),s=g(F,"path",{d:!0,fill:!0,stroke:!0}),_(s).forEach(u),f=T(F),t=g(F,"path",{d:!0,fill:!0}),_(t).forEach(u),l=T(F),c=g(F,"path",{d:!0,fill:!0}),_(c).forEach(u),h=T(F),d=g(F,"path",{d:!0,stroke:!0}),_(d).forEach(u),m=T(F),G=g(F,"path",{d:!0,stroke:!0}),_(G).forEach(u),B=T(F),D=g(F,"path",{d:!0,fill:!0}),_(D).forEach(u),x=T(F),j=g(F,"path",{d:!0,stroke:!0}),_(j).forEach(u),q=T(F),O=g(F,"path",{d:!0,stroke:!0}),_(O).forEach(u),this.h()},h(){a(e,"d","M9.5 7L2 11H6.875L9.5 7.5L11 9L9.5 7Z"),a(e,"fill","currentcolor"),a(e,"stroke","currentcolor"),a(s,"d","M14.5 7L22 11H17.125L14.5 7.5L13 9L14.5 7Z"),a(s,"fill","currentcolor"),a(s,"stroke","currentcolor"),a(t,"d","M22.5 11H11.5L13.5 18H22.5V11Z"),a(t,"fill","#F87171"),a(c,"d","M1.5 11H12.5L10.5 18H1.5V11Z"),a(c,"fill","#F87171"),a(d,"d","M16 13L19 16M19 13L16 16"),a(d,"stroke","currentcolor"),a(G,"d","M5 13L8 16M8 13L5 16"),a(G,"stroke","currentcolor"),a(D,"d","M12 11L10.5 15H13.5L12 11Z"),a(D,"fill","currentcolor"),a(j,"d","M2 11.5H11.8371L10.1228 17.5H2V11.5Z"),a(j,"stroke","currentcolor"),a(O,"d","M22 11.5H12.1629L13.8772 17.5H22V11.5Z"),a(O,"stroke","currentcolor")},m(F,I){i(F,e,I),i(F,r,I),i(F,s,I),i(F,f,I),i(F,t,I),i(F,l,I),i(F,c,I),i(F,h,I),i(F,d,I),i(F,m,I),i(F,G,I),i(F,B,I),i(F,D,I),i(F,x,I),i(F,j,I),i(F,q,I),i(F,O,I)},p:S,d(F){F&&u(e),F&&u(r),F&&u(s),F&&u(f),F&&u(t),F&&u(l),F&&u(c),F&&u(h),F&&u(d),F&&u(m),F&&u(G),F&&u(B),F&&u(D),F&&u(x),F&&u(j),F&&u(q),F&&u(O)}}}function ae(n){let e,r;const s=[n[0]];let f={$$slots:{default:[ce]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class oe extends Z{constructor(e){super(),V(this,e,ue,ae,w,{})}}function ie(n){let e,r,s,f,t,l,c,h,d,m,G,B,D;return{c(){e=$("path"),r=R(),s=$("path"),f=R(),t=$("path"),l=R(),c=$("path"),h=R(),d=$("path"),m=R(),G=$("path"),B=R(),D=$("path"),this.h()},l(x){e=g(x,"path",{d:!0,fill:!0,stroke:!0}),_(e).forEach(u),r=T(x),s=g(x,"path",{d:!0,fill:!0,stroke:!0}),_(s).forEach(u),f=T(x),t=g(x,"path",{d:!0,fill:!0}),_(t).forEach(u),l=T(x),c=g(x,"path",{d:!0,fill:!0}),_(c).forEach(u),h=T(x),d=g(x,"path",{d:!0,fill:!0}),_(d).forEach(u),m=T(x),G=g(x,"path",{d:!0,stroke:!0}),_(G).forEach(u),B=T(x),D=g(x,"path",{d:!0,stroke:!0}),_(D).forEach(u),this.h()},h(){a(e,"d","M9.5 7L2 11H6.875L9.5 7.5L11 9L9.5 7Z"),a(e,"fill","currentcolor"),a(e,"stroke","currentcolor"),a(s,"d","M14.5 7L22 11H17.125L14.5 7.5L13 9L14.5 7Z"),a(s,"fill","currentcolor"),a(s,"stroke","currentcolor"),a(t,"d","M22.5 11H11.5L13.5 18H22.5V11Z"),a(t,"fill","#4FD1C5"),a(c,"d","M1.5 11H12.5L10.5 18H1.5V11Z"),a(c,"fill","#C4B5FD"),a(d,"d","M12 11L10.5 15H13.5L12 11Z"),a(d,"fill","currentcolor"),a(G,"d","M2 11.5H11.8371L10.1228 17.5H2V11.5Z"),a(G,"stroke","currentcolor"),a(D,"d","M22 11.5H12.1629L13.8772 17.5H22V11.5Z"),a(D,"stroke","currentcolor")},m(x,j){i(x,e,j),i(x,r,j),i(x,s,j),i(x,f,j),i(x,t,j),i(x,l,j),i(x,c,j),i(x,h,j),i(x,d,j),i(x,m,j),i(x,G,j),i(x,B,j),i(x,D,j)},p:S,d(x){x&&u(e),x&&u(r),x&&u(s),x&&u(f),x&&u(t),x&&u(l),x&&u(c),x&&u(h),x&&u(d),x&&u(m),x&&u(G),x&&u(B),x&&u(D)}}}function Ce(n){let e,r;const s=[n[0]];let f={$$slots:{default:[ie]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class $e extends Z{constructor(e){super(),V(this,e,he,Ce,w,{})}}function ge(n){let e,r,s,f,t,l,c,h,d;return{c(){e=$("path"),r=R(),s=$("path"),f=R(),t=$("path"),l=R(),c=$("path"),h=R(),d=$("path"),this.h()},l(m){e=g(m,"path",{d:!0,fill:!0,stroke:!0}),_(e).forEach(u),r=T(m),s=g(m,"path",{d:!0,fill:!0,stroke:!0}),_(s).forEach(u),f=T(m),t=g(m,"path",{d:!0,fill:!0}),_(t).forEach(u),l=T(m),c=g(m,"path",{d:!0,stroke:!0}),_(c).forEach(u),h=T(m),d=g(m,"path",{d:!0,stroke:!0}),_(d).forEach(u),this.h()},h(){a(e,"d","M9.5 7L2 11H6.875L9.5 7.5L11 9L9.5 7Z"),a(e,"fill","currentcolor"),a(e,"stroke","currentcolor"),a(s,"d","M14.5 7L22 11H17.125L14.5 7.5L13 9L14.5 7Z"),a(s,"fill","currentcolor"),a(s,"stroke","currentcolor"),a(t,"d","M12 11L10.5 15H13.5L12 11Z"),a(t,"fill","currentcolor"),a(c,"d","M2 11.5H11.8371L10.1228 17.5H2V11.5Z"),a(c,"stroke","currentcolor"),a(d,"d","M22 11.5H12.1629L13.8772 17.5H22V11.5Z"),a(d,"stroke","currentcolor")},m(m,G){i(m,e,G),i(m,r,G),i(m,s,G),i(m,f,G),i(m,t,G),i(m,l,G),i(m,c,G),i(m,h,G),i(m,d,G)},p:S,d(m){m&&u(e),m&&u(r),m&&u(s),m&&u(f),m&&u(t),m&&u(l),m&&u(c),m&&u(h),m&&u(d)}}}function _e(n){let e,r;const s=[n[0]];let f={$$slots:{default:[ge]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class de extends Z{constructor(e){super(),V(this,e,me,_e,w,{})}}function pe(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M15.875 9.5C15.6875 9.5 15.5234 9.66406 15.5 9.85156L14.8438 17.4219C14.8203 17.6094 14.6562 17.75 14.4688 17.75H9.00781C8.82031 17.75 8.65625 17.6094 8.65625 17.4219L7.97656 9.85156C7.95312 9.66406 7.78906 9.5 7.60156 9.5C7.36719 9.5 7.20312 9.71094 7.22656 9.92188L7.90625 17.4922C7.95312 18.0547 8.44531 18.5 9.00781 18.5H14.4688C15.0547 18.5 15.5234 18.0547 15.5703 17.4922L16.25 9.92188C16.2734 9.71094 16.1094 9.5 15.875 9.5ZM16.625 8H14.375L13.5781 6.96875C13.3672 6.6875 13.0391 6.5 12.6875 6.5H10.8125C10.4375 6.5 10.1094 6.6875 9.89844 6.96875L9.125 8H6.875C6.66406 8 6.5 8.1875 6.5 8.375C6.5 8.58594 6.66406 8.75 6.875 8.75H16.625C16.8125 8.75 17 8.58594 17 8.375C17 8.1875 16.8125 8 16.625 8ZM10.0625 8L10.5078 7.41406C10.5781 7.32031 10.6953 7.25 10.8125 7.25H12.6875C12.8047 7.25 12.8984 7.32031 12.9688 7.41406L13.4375 8H10.0625Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function ve(n){let e,r;const s=[n[0]];let f={$$slots:{default:[pe]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class Me extends Z{constructor(e){super(),V(this,e,Le,ve,w,{})}}function He(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M20.1211 8.49609L12.3008 5.67969C12.1094 5.625 11.8633 5.625 11.6719 5.67969L3.85156 8.49609C3.46875 8.63281 3.25 8.96094 3.25 9.34375C3.25 9.69922 3.46875 10.0547 3.85156 10.1914L4.5625 10.4648V13.5547L3.6875 17.3555C3.66016 17.4922 3.6875 17.6289 3.76953 17.7383C3.85156 17.8203 3.98828 17.875 4.125 17.875H5.84766C5.98438 17.875 6.12109 17.8203 6.20312 17.7109C6.28516 17.6289 6.3125 17.4922 6.28516 17.3555L5.4375 13.5V10.7656L11.6719 13.0078C11.7812 13.0625 11.8906 13.0625 11.9727 13.0625C12.082 13.0625 12.1914 13.0625 12.3008 13.0078L20.1211 10.2188C20.5039 10.082 20.75 9.75391 20.75 9.34375C20.75 8.90625 20.5039 8.63281 20.1211 8.49609ZM4.67188 17L5 15.5508L5.32812 17H4.67188ZM11.9727 12.1875L6.77734 10.3281L12.1094 8.6875C12.3555 8.60547 12.4648 8.35938 12.4102 8.14062C12.3281 7.89453 12.082 7.78516 11.8633 7.83984L5.41016 9.83594L4.125 9.34375L12 6.52734L19.875 9.34375L11.9727 12.1875ZM16.4297 12.6523C16.1836 12.6797 16.0195 12.8984 16.0469 13.1445L16.3477 15.4961C16.4023 15.7422 16.2383 15.9883 15.9648 16.125C14.7617 16.6719 13.3945 16.9727 12.0273 17H11.9453C10.5781 16.9727 9.21094 16.6719 8.00781 16.125C7.73438 15.9883 7.57031 15.7422 7.625 15.4961L7.92578 13.1445C7.95312 12.8984 7.78906 12.6797 7.54297 12.6523C7.29688 12.5977 7.07812 12.7891 7.05078 13.0078L6.75 15.3867C6.66797 16.0156 7.02344 16.6172 7.65234 16.918C8.96484 17.5195 10.4414 17.8477 11.9453 17.875H12.0547C13.5312 17.8477 15.0078 17.5195 16.3203 16.918C16.9492 16.6172 17.3047 16.0156 17.2227 15.3867L16.9219 13.0078C16.8945 12.7891 16.6758 12.5977 16.4297 12.6523Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function Ze(n){let e,r;const s=[n[0]];let f={$$slots:{default:[He]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class we extends Z{constructor(e){super(),V(this,e,Ve,Ze,w,{})}}function ke(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M7.8125 8.875L11.5 5.625V15.5C11.5 15.7812 11.7188 16 12 16C12.25 16 12.5 15.7812 12.5 15.5V5.625L16.1562 8.875C16.25 8.96875 16.375 9 16.5 9C16.625 9 16.75 8.96875 16.8438 8.84375C17.0312 8.65625 17.0312 8.3125 16.8125 8.15625L12.3125 4.15625C12.125 3.96875 11.8438 3.96875 11.6562 4.15625L7.15625 8.15625C6.9375 8.3125 6.9375 8.625 7.125 8.84375C7.28125 9.0625 7.625 9.0625 7.8125 8.875ZM18 14H14.5C14.2188 14 14 14.25 14 14.5C14 14.7812 14.2188 15 14.5 15H18C18.5312 15 19 15.4688 19 16V18C19 18.5625 18.5312 19 18 19H6C5.4375 19 5 18.5625 5 18V16C5 15.4688 5.4375 15 6 15H9.5C9.75 15 10 14.7812 10 14.5C10 14.25 9.75 14 9.5 14H6C4.875 14 4 14.9062 4 16V18C4 19.125 4.875 20 6 20H18C19.0938 20 20 19.125 20 18V16C20 14.9062 19.0938 14 18 14ZM17.75 17C17.75 16.5938 17.4062 16.25 17 16.25C16.5625 16.25 16.25 16.5938 16.25 17C16.25 17.4375 16.5625 17.75 17 17.75C17.4062 17.75 17.75 17.4375 17.75 17Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function Ee(n){let e,r;const s=[n[0]];let f={$$slots:{default:[ke]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class Se extends Z{constructor(e){super(),V(this,e,be,Ee,w,{})}}function Ae(n){let e,r,s,f,t,l,c,h,d;return{c(){e=$("circle"),r=R(),s=$("circle"),f=R(),t=$("circle"),l=R(),c=$("circle"),h=R(),d=$("path"),this.h()},l(m){e=g(m,"circle",{cx:!0,cy:!0,r:!0,fill:!0}),_(e).forEach(u),r=T(m),s=g(m,"circle",{cx:!0,cy:!0,r:!0,fill:!0}),_(s).forEach(u),f=T(m),t=g(m,"circle",{cx:!0,cy:!0,r:!0,fill:!0}),_(t).forEach(u),l=T(m),c=g(m,"circle",{cx:!0,cy:!0,r:!0,fill:!0}),_(c).forEach(u),h=T(m),d=g(m,"path",{d:!0,fill:!0}),_(d).forEach(u),this.h()},h(){a(e,"cx","18.5"),a(e,"cy","13"),a(e,"r","1"),a(e,"fill","currentcolor"),a(s,"cx","5.5"),a(s,"cy","13"),a(s,"r","1"),a(s,"fill","currentcolor"),a(t,"cx","7.5"),a(t,"cy","9"),a(t,"r","1"),a(t,"fill","currentcolor"),a(c,"cx","12"),a(c,"cy","7"),a(c,"r","1"),a(c,"fill","currentcolor"),a(d,"d","M3.06729 18.5L2.62093 18.7253C2.70596 18.8938 2.87859 19 3.06729 19V18.5ZM20.9327 18.5V19C21.1214 19 21.294 18.8938 21.3791 18.7253L20.9327 18.5ZM16.8716 9.33448C17.0564 9.12923 17.0397 8.81308 16.8345 8.62835C16.6292 8.44362 16.3131 8.46026 16.1284 8.66552L16.8716 9.33448ZM13.1284 11.9989C12.9436 12.2041 12.9603 12.5203 13.1655 12.705C13.3708 12.8897 13.6869 12.8731 13.8716 12.6678L13.1284 11.9989ZM2.5 14C2.5 8.75329 6.75329 4.5 12 4.5V3.5C6.20101 3.5 1.5 8.20101 1.5 14H2.5ZM12 4.5C17.2467 4.5 21.5 8.75329 21.5 14H22.5C22.5 8.20101 17.799 3.5 12 3.5V4.5ZM3.51365 18.2747C2.86538 16.9904 2.5 15.5386 2.5 14H1.5C1.5 15.6986 1.90374 17.3044 2.62093 18.7253L3.51365 18.2747ZM21.5 14C21.5 15.5386 21.1346 16.9904 20.4863 18.2747L21.3791 18.7253C22.0963 17.3044 22.5 15.6986 22.5 14H21.5ZM20.9327 18H3.06729V19H20.9327V18ZM13.5 14C13.5 14.8284 12.8284 15.5 12 15.5V16.5C13.3807 16.5 14.5 15.3807 14.5 14H13.5ZM12 15.5C11.1716 15.5 10.5 14.8284 10.5 14H9.5C9.5 15.3807 10.6193 16.5 12 16.5V15.5ZM10.5 14C10.5 13.1716 11.1716 12.5 12 12.5V11.5C10.6193 11.5 9.5 12.6193 9.5 14H10.5ZM12 12.5C12.8284 12.5 13.5 13.1716 13.5 14H14.5C14.5 12.6193 13.3807 11.5 12 11.5V12.5ZM13.8716 12.6678L16.8716 9.33448L16.1284 8.66552L13.1284 11.9989L13.8716 12.6678Z"),a(d,"fill","currentcolor")},m(m,G){i(m,e,G),i(m,r,G),i(m,s,G),i(m,f,G),i(m,t,G),i(m,l,G),i(m,c,G),i(m,h,G),i(m,d,G)},p:S,d(m){m&&u(e),m&&u(r),m&&u(s),m&&u(f),m&&u(t),m&&u(l),m&&u(c),m&&u(h),m&&u(d)}}}function Fe(n){let e,r;const s=[n[0]];let f={$$slots:{default:[Ae]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class Ge extends Z{constructor(e){super(),V(this,e,xe,Fe,w,{})}}function Be(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M12 8C12.5312 8 13 7.5625 13 7C13 6.46875 12.5312 6 12 6C11.4375 6 11 6.46875 11 7C11 7.5625 11.4375 8 12 8ZM12 11C11.4375 11 11 11.4688 11 12C11 12.5625 11.4375 13 12 13C12.5312 13 13 12.5625 13 12C13 11.4688 12.5312 11 12 11ZM12 16C11.4375 16 11 16.4688 11 17C11 17.5625 11.4375 18 12 18C12.5312 18 13 17.5625 13 17C13 16.4688 12.5312 16 12 16Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function Re(n){let e,r;const s=[n[0]];let f={$$slots:{default:[Be]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class De extends Z{constructor(e){super(),V(this,e,Te,Re,w,{})}}function Pe(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,fill:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M12 15.25C11.5625 15.25 11.25 15.5938 11.25 16C11.25 16.4375 11.5938 16.75 12 16.75C12.4062 16.75 12.7188 16.4375 12.7188 16C12.75 15.5938 12.4062 15.25 12 15.25ZM12 14C12.25 14 12.4688 13.7812 12.4688 13.5V9C12.4688 8.75 12.2188 8.5 12 8.5C11.75 8.5 11.5 8.75 11.5 9V13.5C11.5 13.7812 11.7188 14 12 14ZM19.75 16.4375L13.5 5.875C13.1875 5.34375 12.625 5.03125 12 5C11.3438 5 10.7812 5.34375 10.4688 5.875L4.21875 16.4375C3.90625 16.9688 3.90625 17.5938 4.21875 18.125C4.53125 18.6875 5.09375 19 5.75 19H18.25C18.875 19 19.4375 18.6875 19.75 18.125C20.0625 17.5938 20.0625 16.9688 19.75 16.4375ZM18.875 17.625C18.75 17.875 18.5 18 18.2188 18H5.75C5.46875 18 5.21875 17.875 5.09375 17.625C4.9375 17.4062 4.96875 17.1562 5.09375 16.9375L11.3438 6.375C11.4688 6.15625 11.7188 6 12 6C12 6 11.9688 6 12 6C12.25 6.03125 12.5 6.15625 12.625 6.375L18.875 16.9375C19 17.1562 19.0312 17.4062 18.875 17.625Z"),a(e,"fill","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function je(n){let e,r;const s=[n[0]];let f={$$slots:{default:[Pe]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class Oe extends Z{constructor(e){super(),V(this,e,Ie,je,w,{})}}function qe(n){let e;return{c(){e=$("path"),this.h()},l(r){e=g(r,"path",{d:!0,stroke:!0}),_(e).forEach(u),this.h()},h(){a(e,"d","M5.33333 13C5.33333 16.6819 8.3181 19.6667 12 19.6667C15.6819 19.6667 18.6667 16.6819 18.6667 13C18.6667 9.31811 15.6819 6.33334 12 6.33334M2 13C2 7.47716 6.47715 3 12 3C17.5228 3 22 7.47716 22 13M15.3333 13C15.3333 14.841 13.8409 16.3333 12 16.3333C10.1591 16.3333 8.66667 14.841 8.66667 13C8.66667 11.1591 10.1591 9.66667 12 9.66667C13.8409 9.66667 15.3333 11.1591 15.3333 13Z"),a(e,"stroke","currentcolor")},m(r,s){i(r,e,s)},p:S,d(r){r&&u(e)}}}function Ne(n){let e,r;const s=[n[0]];let f={$$slots:{default:[qe]},$$scope:{ctx:n}};for(let t=0;t{r(0,e=o(o({},e),C(s)))},e=C(e),[e]}class Je extends Z{constructor(e){super(),V(this,e,We,Ne,w,{})}}const Ue={add:$1,archives:d1,"arrow-up":M1,"arrow-right":w1,ascending:S1,book:G1,bookmark:D1,"calendar-plus":O1,canceled:J1,chart:Y1,checkmark:e5,"chevron-down":n5,"chevron-left":a5,"chevron-right":C5,"chevron-up":_5,"chevron-selector-vertical":v5,clock:Z5,close:E5,"comet-solid":F5,comet:R5,compact:j5,"converter-down":N5,"converter-up":z5,copy:X5,descending:r2,download:f2,error:o2,exit:$2,"eye-hide":d2,"eye-show":M2,feed:w2,"feedback-circle":S2,feedback:G2,"file-import":D2,"file-upload":O2,filter:J2,"filter-solid":Y2,graph:e8,hyphen:n8,import:a8,info:C8,"inverted-checkmark":d8,json:M8,lock:w8,logout:S8,"namespace-switcher":G8,namespace:D8,"pin-filled":O8,pin:J8,regions:Y8,relationship:e7,retention:n7,retry:a7,"rocket-ship":C7,schedules:_7,search:v7,settings:Z7,sliders:E7,spinner:F7,"star-empty":j7,"star-filled":N7,summary:z7,support:X7,"spinner-solid":R7,terminal:re,timeline:fe,"transcoder-error":oe,"transcoder-on":$e,"transcoder-off":de,trash:Me,tutorial:we,upload:Se,usage:Ge,"vertical-ellipsis":De,warning:Oe,workflow:Je};function Y(n){let e,r,s;const f=[{width:n[0]},{height:n[1]},{title:n[2]},{class:n[4].class},n[5]];var t=n[3];function l(c){let h={};for(let d=0;d{H(m,1)}),X()}t?(e=K(t,l()),L(e.$$.fragment),p(e.$$.fragment,1),M(e,r.parentNode,r)):e=null}else t&&e.$set(d)},i(c){s||(e&&p(e.$$.fragment,c),s=!0)},o(c){e&&v(e.$$.fragment,c),s=!1},d(c){c&&u(r),e&&H(e,c)}}}function ze(n){let e,r,s=n[3]&&Y(n);return{c(){s&&s.c(),e=N()},l(f){s&&s.l(f),e=N()},m(f,t){s&&s.m(f,t),i(f,e,t),r=!0},p(f,[t]){f[3]?s?(s.p(f,t),t&8&&p(s,1)):(s=Y(f),s.c(),p(s,1),s.m(e.parentNode,e)):s&&(Q(),v(s,1,1,()=>{s=null}),X())},i(f){r||(p(s),r=!0)},o(f){v(s),r=!1},d(f){s&&s.d(f),f&&u(e)}}}function Ke(n,e,r){let s;const f=["name","width","height","title"];let t=z(e,f),{name:l}=e,{width:c=24}=e,{height:h=24}=e,{title:d=""}=e;return n.$$set=m=>{r(4,e=o(o({},e),C(m))),r(5,t=z(e,f)),"name"in m&&r(6,l=m.name),"width"in m&&r(0,c=m.width),"height"in m&&r(1,h=m.height),"title"in m&&r(2,d=m.title)},n.$$.update=()=>{n.$$.dirty&64&&r(3,s=Ue[l])},e=C(e),[c,h,d,s,e,t,l]}class Qe extends Z{constructor(e){super(),V(this,e,Ke,ze,w,{name:6,width:0,height:1,title:2})}}export{Qe as I,$8 as c}; diff --git a/ui/assets/cloud/_app/immutable/chunks/import-events.d74da7cc.js b/ui/assets/cloud/_app/immutable/chunks/import-events.d74da7cc.js deleted file mode 100644 index 7ed84f29d2..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/import-events.d74da7cc.js +++ /dev/null @@ -1 +0,0 @@ -import{w as t}from"./index.255b7490.js";const r=t([]),s=t([]);export{s as a,r as i}; diff --git a/ui/assets/cloud/_app/immutable/chunks/index.255b7490.js b/ui/assets/cloud/_app/immutable/chunks/index.255b7490.js deleted file mode 100644 index 4c38089e51..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/index.255b7490.js +++ /dev/null @@ -1 +0,0 @@ -import{n as f,s as y,r as m,a as q,i as w}from"./index.d29c66be.js";const o=[];function z(n,i){return{subscribe:A(n,i).subscribe}}function A(n,i=f){let u;const t=new Set;function a(e){if(q(n,e)&&(n=e,u)){const r=!o.length;for(const s of t)s[1](),o.push(s,n);if(r){for(let s=0;s{t.delete(s),t.size===0&&(u(),u=null)}}return{set:a,update:l,subscribe:b}}function S(n,i,u){const t=!Array.isArray(n),a=t?[n]:n,l=i.length<2;return z(u,b=>{let e=!1;const r=[];let s=0,d=f;const g=()=>{if(s)return;d();const c=i(t?r[0]:r,b);l?b(c):d=w(c)?c:f},_=a.map((c,p)=>y(c,h=>{r[p]=h,s&=~(1<{s|=1<), re-arrange (<2>), and remove (<3>), Workflow Headings to personalize the Workflow List Table.","all-statuses":"All Statuses",running:"Running","timed-out":"Timed Out",completed:"Completed",failed:"Failed","contd-as-new":"Cont'd as New","continued-as-new":"ContinuedAsNew",terminated:"Terminated",canceled:"Canceled",paused:"Paused",reset:"Reset","n-selected":"{{count, number}} selected","all-selected":"All {{count, number}} selected.","select-all":"select all {{count, number}}","request-cancellation":"Request Cancellation"},a={[e]:t,[n]:o},r=Object.keys(a);export{r as I,a}; diff --git a/ui/assets/cloud/_app/immutable/chunks/index.b1f5b21f.js b/ui/assets/cloud/_app/immutable/chunks/index.b1f5b21f.js deleted file mode 100644 index 42c2877644..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/index.b1f5b21f.js +++ /dev/null @@ -1 +0,0 @@ -import{H as t,R as n}from"./control.e7f5239e.js";function c(r,e){return new t(r,e)}function i(r,e){return new n(r,e)}new TextEncoder;export{c as e,i as r}; diff --git a/ui/assets/cloud/_app/immutable/chunks/index.d29c66be.js b/ui/assets/cloud/_app/immutable/chunks/index.d29c66be.js deleted file mode 100644 index 5add30b9ed..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/index.d29c66be.js +++ /dev/null @@ -1,4 +0,0 @@ -function N(){}const X=t=>t;function Et(t,e){for(const n in e)t[n]=e[n];return t}function Nt(t){return!!t&&(typeof t=="object"||typeof t=="function")&&typeof t.then=="function"}function ft(t){return t()}function at(){return Object.create(null)}function C(t){t.forEach(ft)}function T(t){return typeof t=="function"}function Xt(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let L;function Yt(t,e){return L||(L=document.createElement("a")),L.href=e,t===L.href}function At(t){return Object.keys(t).length===0}function _t(t,...e){if(t==null)return N;const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function Zt(t){let e;return _t(t,n=>e=n)(),e}function te(t,e,n){t.$$.on_destroy.push(_t(e,n))}function ee(t,e,n,i){if(t){const s=dt(t,e,n,i);return t[0](s)}}function dt(t,e,n,i){return t[1]&&i?Et(n.ctx.slice(),t[1](i(e))):n.ctx}function ne(t,e,n,i){if(t[2]&&i){const s=t[2](i(n));if(e.dirty===void 0)return s;if(typeof s=="object"){const c=[],r=Math.max(e.dirty.length,s.length);for(let o=0;o32){const e=[],n=t.ctx.length/32;for(let i=0;iObject.prototype.hasOwnProperty.call(t,e);function ue(t){return t&&T(t.destroy)?t.destroy:N}const ht=typeof window<"u";let Y=ht?()=>window.performance.now():()=>Date.now(),Z=ht?t=>requestAnimationFrame(t):N;const M=new Set;function mt(t){M.forEach(e=>{e.c(t)||(M.delete(e),e.f())}),M.size!==0&&Z(mt)}function tt(t){let e;return M.size===0&&Z(mt),{promise:new Promise(n=>{M.add(e={c:t,f:n})}),abort(){M.delete(e)}}}let K=!1;function Ct(){K=!0}function jt(){K=!1}function Dt(t,e,n,i){for(;t>1);n(s)<=i?t=s+1:e=s}return t}function Mt(t){if(t.hydrate_init)return;t.hydrate_init=!0;let e=t.childNodes;if(t.nodeName==="HEAD"){const a=[];for(let l=0;l0&&e[n[s]].claim_order<=l?s+1:Dt(1,s,d=>e[n[d]].claim_order,l))-1;i[a]=n[_]+1;const f=_+1;n[f]=a,s=Math.max(f,s)}const c=[],r=[];let o=e.length-1;for(let a=n[s]+1;a!=0;a=i[a-1]){for(c.push(e[a-1]);o>=a;o--)r.push(e[o]);o--}for(;o>=0;o--)r.push(e[o]);c.reverse(),r.sort((a,l)=>a.claim_order-l.claim_order);for(let a=0,l=0;a=c[l].claim_order;)l++;const _=lt.removeEventListener(e,n,i)}function pe(t){return function(e){return e.preventDefault(),t.call(this,e)}}function ye(t){return function(e){return e.stopPropagation(),t.call(this,e)}}function gt(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function ge(t,e){const n=Object.getOwnPropertyDescriptors(t.__proto__);for(const i in e)e[i]==null?t.removeAttribute(i):i==="style"?t.style.cssText=e[i]:i==="__value"?t.value=t[i]=e[i]:n[i]&&n[i].set?t[i]=e[i]:gt(t,i,e[i])}function be(t,e){Object.keys(e).forEach(n=>{qt(t,n,e[n])})}function qt(t,e,n){e in t?t[e]=typeof t[e]=="boolean"&&n===""?!0:n:gt(t,e,n)}function we(t){return t===""?null:+t}function Rt(t){return Array.from(t.childNodes)}function Lt(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function bt(t,e,n,i,s=!1){Lt(t);const c=(()=>{for(let r=t.claim_info.last_index;r=0;r--){const o=t[r];if(e(o)){const a=n(o);return a===void 0?t.splice(r,1):t[r]=a,s?a===void 0&&t.claim_info.last_index--:t.claim_info.last_index=r,o}}return i()})();return c.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,c}function wt(t,e,n,i){return bt(t,s=>s.nodeName===e,s=>{const c=[];for(let r=0;rs.removeAttribute(r))},()=>i(e))}function $e(t,e,n){return wt(t,e,n,nt)}function xe(t,e,n){return wt(t,e,n,zt)}function Wt(t,e){return bt(t,n=>n.nodeType===3,n=>{const i=""+e;if(n.data.startsWith(i)){if(n.data.length!==i.length)return n.splitText(i.length)}else n.data=i},()=>it(e),!0)}function ke(t){return Wt(t," ")}function ve(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}function Ee(t,e){t.value=e??""}function Ne(t,e,n,i){n===null?t.style.removeProperty(e):t.style.setProperty(e,n,i?"important":"")}function Ae(t,e){for(let n=0;n{r.source===i.contentWindow&&e()})):(i.src="about:blank",i.onload=()=>{c=lt(i.contentWindow,"resize",e)}),pt(t,i),()=>{(s||c&&i.contentWindow)&&c(),et(i)}}function je(t,e,n){t.classList[n?"add":"remove"](e)}function $t(t,e,{bubbles:n=!1,cancelable:i=!1}={}){const s=document.createEvent("CustomEvent");return s.initCustomEvent(t,n,i,e),s}function De(t,e){const n=[];let i=0;for(const s of e.childNodes)if(s.nodeType===8){const c=s.textContent.trim();c===`HEAD_${t}_END`?(i-=1,n.push(s)):c===`HEAD_${t}_START`&&(i+=1,n.push(s))}else i>0&&n.push(s);return n}function Me(t,e){return new t(e)}const F=new Map;let I=0;function Ht(t){let e=5381,n=t.length;for(;n--;)e=(e<<5)-e^t.charCodeAt(n);return e>>>0}function Ft(t,e){const n={stylesheet:Ot(e),rules:{}};return F.set(t,n),n}function G(t,e,n,i,s,c,r,o=0){const a=16.666/i;let l=`{ -`;for(let m=0;m<=1;m+=a){const g=e+(n-e)*c(m);l+=m*100+`%{${r(g,1-g)}} -`}const _=l+`100% {${r(n,1-n)}} -}`,f=`__svelte_${Ht(_)}_${o}`,d=yt(t),{stylesheet:u,rules:h}=F.get(d)||Ft(d,t);h[f]||(h[f]=!0,u.insertRule(`@keyframes ${f} ${_}`,u.cssRules.length));const p=t.style.animation||"";return t.style.animation=`${p?`${p}, `:""}${f} ${i}ms linear ${s}ms 1 both`,I+=1,f}function J(t,e){const n=(t.style.animation||"").split(", "),i=n.filter(e?c=>c.indexOf(e)<0:c=>c.indexOf("__svelte")===-1),s=n.length-i.length;s&&(t.style.animation=i.join(", "),I-=s,I||It())}function It(){Z(()=>{I||(F.forEach(t=>{const{ownerNode:e}=t.stylesheet;e&&et(e)}),F.clear())})}let q;function E(t){q=t}function A(){if(!q)throw new Error("Function called outside component initialization");return q}function Oe(t){A().$$.on_mount.push(t)}function Te(t){A().$$.after_update.push(t)}function Pe(t){A().$$.on_destroy.push(t)}function ze(){const t=A();return(e,n,{cancelable:i=!1}={})=>{const s=t.$$.callbacks[e];if(s){const c=$t(e,n,{cancelable:i});return s.slice().forEach(r=>{r.call(t,c)}),!c.defaultPrevented}return!0}}function qe(t,e){return A().$$.context.set(t,e),e}function Re(t){return A().$$.context.get(t)}function Le(t){return A().$$.context.has(t)}function We(t,e){const n=t.$$.callbacks[e.type];n&&n.slice().forEach(i=>i.call(this,e))}const D=[],ut=[],B=[],U=[],xt=Promise.resolve();let V=!1;function kt(){V||(V=!0,xt.then(st))}function Be(){return kt(),xt}function O(t){B.push(t)}function He(t){U.push(t)}const Q=new Set;let j=0;function st(){if(j!==0)return;const t=q;do{try{for(;j{z=null})),z}function S(t,e,n){t.dispatchEvent($t(`${e?"intro":"outro"}${n}`))}const H=new Set;let k;function Jt(){k={r:0,c:[],p:k}}function Kt(){k.r||C(k.c),k=k.p}function ct(t,e){t&&t.i&&(H.delete(t),t.i(e))}function vt(t,e,n,i){if(t&&t.o){if(H.has(t))return;H.add(t),k.c.push(()=>{H.delete(t),i&&(n&&t.d(1),i())}),t.o(e)}else i&&i()}const ot={duration:0};function Fe(t,e,n){const i={direction:"in"};let s=e(t,n,i),c=!1,r,o,a=0;function l(){r&&J(t,r)}function _(){const{delay:d=0,duration:u=300,easing:h=X,tick:p=N,css:m}=s||ot;m&&(r=G(t,0,1,u,d,h,m,a++)),p(0,1);const g=Y()+d,v=g+u;o&&o.abort(),c=!0,O(()=>S(t,!0,"start")),o=tt(b=>{if(c){if(b>=v)return p(1,0),S(t,!0,"end"),l(),c=!1;if(b>=g){const w=h((b-g)/u);p(w,1-w)}}return c})}let f=!1;return{start(){f||(f=!0,J(t),T(s)?(s=s(i),rt().then(_)):_())},invalidate(){f=!1},end(){c&&(l(),c=!1)}}}function Ie(t,e,n){const i={direction:"out"};let s=e(t,n,i),c=!0,r;const o=k;o.r+=1;function a(){const{delay:l=0,duration:_=300,easing:f=X,tick:d=N,css:u}=s||ot;u&&(r=G(t,1,0,_,l,f,u));const h=Y()+l,p=h+_;O(()=>S(t,!1,"start")),tt(m=>{if(c){if(m>=p)return d(0,1),S(t,!1,"end"),--o.r||C(o.c),!1;if(m>=h){const g=f((m-h)/_);d(1-g,g)}}return c})}return T(s)?rt().then(()=>{s=s(i),a()}):a(),{end(l){l&&s.tick&&s.tick(1,0),c&&(r&&J(t,r),c=!1)}}}function Ge(t,e,n,i){const s={direction:"both"};let c=e(t,n,s),r=i?0:1,o=null,a=null,l=null;function _(){l&&J(t,l)}function f(u,h){const p=u.b-r;return h*=Math.abs(p),{a:r,b:u.b,d:p,duration:h,start:u.start,end:u.start+h,group:u.group}}function d(u){const{delay:h=0,duration:p=300,easing:m=X,tick:g=N,css:v}=c||ot,b={start:Y()+h,b:u};u||(b.group=k,k.r+=1),o||a?a=b:(v&&(_(),l=G(t,r,u,p,h,m,v)),u&&g(0,1),o=f(b,p),O(()=>S(t,u,"start")),tt(w=>{if(a&&w>a.start&&(o=f(a,p),a=null,S(t,o.b,"start"),v&&(_(),l=G(t,r,o.b,o.duration,0,m,c.css))),o){if(w>=o.end)g(r=o.b,1-r),S(t,o.b,"end"),a||(o.b?_():--o.group.r||C(o.group.c)),o=null;else if(w>=o.start){const P=w-o.start;r=o.a+o.d*m(P/o.duration),g(r,1-r)}}return!!(o||a)}))}return{run(u){T(c)?rt().then(()=>{c=c(s),d(u)}):d(u)},end(){_(),o=a=null}}}function Je(t,e){const n=e.token={};function i(s,c,r,o){if(e.token!==n)return;e.resolved=o;let a=e.ctx;r!==void 0&&(a=a.slice(),a[r]=o);const l=s&&(e.current=s)(a);let _=!1;e.block&&(e.blocks?e.blocks.forEach((f,d)=>{d!==c&&f&&(Jt(),vt(f,1,1,()=>{e.blocks[d]===f&&(e.blocks[d]=null)}),Kt())}):e.block.d(1),l.c(),ct(l,1),l.m(e.mount(),e.anchor),_=!0),e.block=l,e.blocks&&(e.blocks[c]=l),_&&st()}if(Nt(t)){const s=A();if(t.then(c=>{E(s),i(e.then,1,e.value,c),E(null)},c=>{if(E(s),i(e.catch,2,e.error,c),E(null),!e.hasCatch)throw c}),e.current!==e.pending)return i(e.pending,0),!0}else{if(e.current!==e.then)return i(e.then,1,e.value,t),!0;e.resolved=t}}function Ke(t,e,n){const i=e.slice(),{resolved:s}=t;t.current===t.then&&(i[t.value]=s),t.current===t.catch&&(i[t.error]=s),t.block.p(i,n)}const Qe=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function Ue(t,e){t.d(1),e.delete(t.key)}function Ve(t,e){vt(t,1,1,()=>{e.delete(t.key)})}function Xe(t,e,n,i,s,c,r,o,a,l,_,f){let d=t.length,u=c.length,h=d;const p={};for(;h--;)p[t[h].key]=h;const m=[],g=new Map,v=new Map;for(h=u;h--;){const y=f(s,c,h),$=n(y);let x=r.get($);x?i&&x.p(y,e):(x=l($,y),x.c()),g.set($,m[h]=x),$ in p&&v.set($,Math.abs(h-p[$]))}const b=new Set,w=new Set;function P(y){ct(y,1),y.m(o,_),r.set(y.key,y),_=y.first,u--}for(;d&&u;){const y=m[u-1],$=t[d-1],x=y.key,R=$.key;y===$?(_=y.first,d--,u--):g.has(R)?!r.has(x)||b.has(x)?P(y):w.has(R)?d--:v.get(x)>v.get(R)?(w.add(x),P(y)):(b.add(R),d--):(a($,r),d--)}for(;d--;){const y=t[d];g.has(y.key)||a(y,r)}for(;u;)P(m[u-1]);return m}function Ye(t,e){const n={},i={},s={$$scope:1};let c=t.length;for(;c--;){const r=t[c],o=e[c];if(o){for(const a in r)a in o||(i[a]=1);for(const a in o)s[a]||(n[a]=o[a],s[a]=1);t[c]=o}else for(const a in r)s[a]=1}for(const r in i)r in n||(n[r]=void 0);return n}function Ze(t){return typeof t=="object"&&t!==null?t:{}}function tn(t,e,n){const i=t.$$.props[e];i!==void 0&&(t.$$.bound[i]=n,n(t.$$.ctx[i]))}function en(t){t&&t.c()}function nn(t,e){t&&t.l(e)}function Qt(t,e,n,i){const{fragment:s,after_update:c}=t.$$;s&&s.m(e,n),i||O(()=>{const r=t.$$.on_mount.map(ft).filter(T);t.$$.on_destroy?t.$$.on_destroy.push(...r):C(r),t.$$.on_mount=[]}),c.forEach(O)}function Ut(t,e){const n=t.$$;n.fragment!==null&&(C(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function Vt(t,e){t.$$.dirty[0]===-1&&(D.push(t),kt(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<{const h=u.length?u[0]:d;return l.ctx&&s(l.ctx[f],l.ctx[f]=h)&&(!l.skip_bound&&l.bound[f]&&l.bound[f](h),_&&Vt(t,f)),d}):[],l.update(),_=!0,C(l.before_update),l.fragment=i?i(l.ctx):!1,e.target){if(e.hydrate){Ct();const f=Rt(e.target);l.fragment&&l.fragment.l(f),f.forEach(et)}else l.fragment&&l.fragment.c();e.intro&&ct(t.$$.fragment),Qt(t,e.target,e.anchor,e.customElement),jt(),st()}E(a)}class rn{$destroy(){Ut(this,1),this.$destroy=N}$on(e,n){if(!T(n))return N;const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(n),()=>{const s=i.indexOf(n);s!==-1&&i.splice(s,1)}}$set(e){this.$$set&&!At(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}export{O as $,ut as A,Me as B,en as C,nn as D,Qt as E,Ut as F,ee as G,ie as H,se as I,ne as J,Zt as K,te as L,Pt as M,ze as N,Et as O,re as P,We as Q,ge as R,rn as S,je as T,lt as U,Ye as V,ye as W,ae as X,tn as Y,He as Z,le as _,Xt as a,Ge as a0,Xe as a1,Ve as a2,zt as a3,xe as a4,ce as a5,Ze as a6,_e as a7,Ee as a8,ue as a9,Fe as aa,Yt as ab,pe as ac,qe as ad,Re as ae,X as af,oe as ag,De as ah,Pe as ai,be as aj,Le as ak,Ue as al,Ce as am,Ie as an,Ae as ao,Se as ap,we as aq,Je as ar,Ke as as,Qe as at,de as au,qt as av,sn as b,he as c,ke as d,me as e,fe as f,vt as g,Kt as h,T as i,ct as j,et as k,Te as l,nt as m,N as n,Oe as o,$e as p,Rt as q,C as r,_t as s,Be as t,gt as u,Ne as v,it as w,Wt as x,ve as y,Jt as z}; diff --git a/ui/assets/cloud/_app/immutable/chunks/index.e1962a6e.js b/ui/assets/cloud/_app/immutable/chunks/index.e1962a6e.js deleted file mode 100644 index fc2292c587..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/index.e1962a6e.js +++ /dev/null @@ -1 +0,0 @@ -import{h as O}from"./has.8da86d13.js";import{i as f,a as m,b as F,c as G,d as L,e as $,g as N,h as B,j as M,k,l as T,m as R,n as j,o as q,p as g,q as z,r as D,s as K,t as _,u as H,v as J,w as v,x as h,y as A,z as w,A as S,B as b,C as x}from"./is-event-type.0064ca29.js";import{f as P}from"./format-time.66fea38b.js";const C=t=>f(t)||m(t)||F(t)||G(t)||L(t)||$(t)||N(t)||B(t)||M(t),tt=t=>c(t)?t.isFailureOrTimedOut:C(t),I=t=>k(t)||T(t)||R(t)||j(t),it=t=>c(t)?t.isCanceled:I(t),y=t=>q(t)||g(t),rt=t=>c(t)?t.isTerminated:y(t),p=t=>z(t)?String(t.activityTaskStartedEventAttributes.scheduledEventId):k(t)?String(t.activityTaskCanceledEventAttributes.scheduledEventId):D(t)?String(t.activityTaskCancelRequestedEventAttributes.scheduledEventId):m(t)?String(t.activityTaskFailedEventAttributes.scheduledEventId):f(t)?String(t.activityTaskTimedOutEventAttributes.scheduledEventId):K(t)?String(t.activityTaskCompletedEventAttributes.scheduledEventId):_(t)?String(t.childWorkflowExecutionStartedEventAttributes.initiatedEventId):g(t)?String(t.childWorkflowExecutionTerminatedEventAttributes.initiatedEventId):H(t)?String(t.childWorkflowExecutionCompletedEventAttributes.initiatedEventId):J(t)?String(t.timerFiredEventAttributes.startedEventId):T(t)?String(t.timerCanceledEventAttributes.startedEventId):t.id,Q=t=>{var i,r,e,s,a,l,d,u,n;if(t){if(v(t))return(r=(i=t.activityTaskScheduledEventAttributes)==null?void 0:i.activityType)==null?void 0:r.name;if(h(t))return`Timer ${(e=t.timerStartedEventAttributes)==null?void 0:e.timerId} (${P((s=t.timerStartedEventAttributes)==null?void 0:s.startToFireTimeout)})`;if(A(t))return`Signal: ${(a=t.signalExternalWorkflowExecutionInitiatedEventAttributes)==null?void 0:a.signalName}`;if(w(t))return`Signal received: ${(l=t.workflowExecutionSignaledEventAttributes)==null?void 0:l.signalName}`;if(S(t))return b(t)?"Local Activity":`Marker: ${(d=t.markerRecordedEventAttributes)==null?void 0:d.markerName}`;if(x(t))return`Child Workflow: ${(n=(u=t.startChildWorkflowExecutionInitiatedEventAttributes)==null?void 0:u.workflowType)==null?void 0:n.name}`}},E=({events:t})=>{let i=0,r;for(const e of t.values()){const s=Number(e.id);s>=i&&(i=s,r=e)}return r},o=t=>{const i=p(t),r=Q(t),{timestamp:e,category:s,classification:a}=t,l=t,d=new Map,u=new Set;return d.set(t.id,t),u.add(t.id),{id:i,name:r,events:d,eventIds:u,initialEvent:l,timestamp:e,category:s,classification:a,get eventTime(){var n;return(n=this.lastEvent)==null?void 0:n.eventTime},get attributes(){var n;return(n=E(this))==null?void 0:n.attributes},get eventList(){return Array.from(this.events,([n,W])=>W)},get lastEvent(){return E(this)},get isFailureOrTimedOut(){return Boolean(this.eventList.find(C))},get isCanceled(){return Boolean(this.eventList.find(I))},get isTerminated(){return Boolean(this.eventList.find(y))}}},U=t=>{if(v(t)||x(t)||h(t)||A(t)||w(t))return o(t);if(S(t))return b(t),o(t)},V=(t,i)=>{t&&(t.events.set(i.id,i),t.eventIds.add(i.id),t.timestamp=i.timestamp)},et=(t,i="ascending")=>{const r={};for(const e of t){const s=p(e),a=U(e);a?r[a.id]=a:V(r[s],e)}return i==="descending"?Object.values(r).reverse():Object.values(r)},c=t=>t==null?!1:O(t,"events");export{it as a,rt as b,tt as e,et as g,c as i}; diff --git a/ui/assets/cloud/_app/immutable/chunks/input.0adb9ec6.js b/ui/assets/cloud/_app/immutable/chunks/input.0adb9ec6.js deleted file mode 100644 index 1a7fb807c6..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/input.0adb9ec6.js +++ /dev/null @@ -1 +0,0 @@ -import{S as Re,b as Te,a as Fe,O as $,m as T,c as Q,p as F,q as N,d as W,k as m,R as ne,T as o,u as I,X as ie,f as S,M as D,a8 as ae,U as B,W as te,a9 as Ne,j as V,z as ue,g as A,h as fe,V as Pe,r as Ve,a5 as se,N as Se,L as Ae,P as Ce,w as G,x as H,y as Z,C as p,D as y,E as w,F as x,Q as X,n as me}from"./index.d29c66be.js";import{c as je}from"./copy-to-clipboard.a65bc890.js";import{I as _e}from"./icon.5aa23970.js";import{I as be}from"./tooltip.ca813c82.js";function oe(i){let e,l;return{c(){e=T("label"),l=G(i[3]),this.h()},l(n){e=F(n,"LABEL",{for:!0,class:!0});var a=N(e);l=H(a,i[3]),a.forEach(m),this.h()},h(){I(e,"for",i[2]),I(e,"class","svelte-1n0lflq"),o(e,"required",i[19])},m(n,a){S(n,e,a),D(e,l)},p(n,a){a[0]&8&&Z(l,n[3]),a[0]&4&&I(e,"for",n[2]),a[0]&524288&&o(e,"required",n[19])},d(n){n&&m(e)}}}function re(i){let e,l,n;return l=new _e({props:{name:i[4]}}),{c(){e=T("span"),p(l.$$.fragment),this.h()},l(a){e=F(a,"SPAN",{class:!0});var f=N(e);y(l.$$.fragment,f),f.forEach(m),this.h()},h(){I(e,"class","icon-container svelte-1n0lflq")},m(a,f){S(a,e,f),w(l,e,null),n=!0},p(a,f){const _={};f[0]&16&&(_.name=a[4]),l.$set(_)},i(a){n||(V(l.$$.fragment,a),n=!0)},o(a){A(l.$$.fragment,a),n=!1},d(a){a&&m(e),x(l)}}}function ce(i){let e,l;return{c(){e=T("div"),l=G(i[6]),this.h()},l(n){e=F(n,"DIV",{class:!0});var a=N(e);l=H(a,i[6]),a.forEach(m),this.h()},h(){I(e,"class","suffix svelte-1n0lflq")},m(n,a){S(n,e,a),D(e,l)},p(n,a){a[0]&64&&Z(l,n[6])},d(n){n&&m(e)}}}function Ue(i){let e,l,n;return l=new be({props:{icon:"close"}}),l.$on("click",i[23]),{c(){e=T("div"),p(l.$$.fragment),this.h()},l(a){e=F(a,"DIV",{class:!0,"data-testid":!0});var f=N(e);y(l.$$.fragment,f),f.forEach(m),this.h()},h(){I(e,"class","clear-icon-container svelte-1n0lflq"),I(e,"data-testid","clear-input")},m(a,f){S(a,e,f),w(l,e,null),n=!0},p:me,i(a){n||(V(l.$$.fragment,a),n=!0)},o(a){A(l.$$.fragment,a),n=!1},d(a){a&&m(e),x(l)}}}function ze(i){let e,l,n;return l=new _e({props:{name:"lock"}}),{c(){e=T("div"),p(l.$$.fragment),this.h()},l(a){e=F(a,"DIV",{class:!0});var f=N(e);y(l.$$.fragment,f),f.forEach(m),this.h()},h(){I(e,"class","flex h-full w-9 items-center justify-center")},m(a,f){S(a,e,f),w(l,e,null),n=!0},p:me,i(a){n||(V(l.$$.fragment,a),n=!0)},o(a){A(l.$$.fragment,a),n=!1},d(a){a&&m(e),x(l)}}}function Be(i){let e,l,n;return l=new be({props:{icon:i[21]?"checkmark":"copy"}}),l.$on("click",i[35]),{c(){e=T("div"),p(l.$$.fragment),this.h()},l(a){e=F(a,"DIV",{class:!0});var f=N(e);y(l.$$.fragment,f),f.forEach(m),this.h()},h(){I(e,"class","copy-icon-container svelte-1n0lflq")},m(a,f){S(a,e,f),w(l,e,null),n=!0},p(a,f){const _={};f[0]&2097152&&(_.icon=a[21]?"checkmark":"copy"),l.$set(_)},i(a){n||(V(l.$$.fragment,a),n=!0)},o(a){A(l.$$.fragment,a),n=!1},d(a){a&&m(e),x(l)}}}function he(i){let e,l,n=i[1].length+"",a,f,_;return{c(){e=T("span"),l=T("span"),a=G(n),f=G(" / "),_=G(i[14]),this.h()},l(r){e=F(r,"SPAN",{class:!0});var b=N(e);l=F(b,"SPAN",{class:!0});var h=N(l);a=H(h,n),h.forEach(m),f=H(b," / "),_=H(b,i[14]),b.forEach(m),this.h()},h(){I(l,"class","text-blue-700 svelte-1n0lflq"),o(l,"warn",i[14]-i[1].length<=5),o(l,"error",i[14]===i[1].length),I(e,"class","count svelte-1n0lflq")},m(r,b){S(r,e,b),D(e,l),D(l,a),D(e,f),D(e,_)},p(r,b){b[0]&2&&n!==(n=r[1].length+"")&&Z(a,n),b[0]&16386&&o(l,"warn",r[14]-r[1].length<=5),b[0]&16386&&o(l,"error",r[14]===r[1].length),b[0]&16384&&Z(_,r[14])},d(r){r&&m(e)}}}function de(i){let e,l;return{c(){e=T("span"),l=G(i[13]),this.h()},l(n){e=F(n,"SPAN",{class:!0});var a=N(e);l=H(a,i[13]),a.forEach(m),this.h()},h(){I(e,"class","hint-text svelte-1n0lflq"),o(e,"invalid",!i[12]),o(e,"error",i[18])},m(n,a){S(n,e,a),D(e,l)},p(n,a){a[0]&8192&&Z(l,n[13]),a[0]&4096&&o(e,"invalid",!n[12]),a[0]&262144&&o(e,"error",n[18])},d(n){n&&m(e)}}}function Me(i){let e,l,n,a,f,_,r,b,h,g,C,j,U,P,d,M,J,v=i[3]&&oe(i),c=i[4]&&re(i),O=[{class:"m-2 block w-full bg-white focus:outline-none"},{disabled:i[0]},{"data-lpignore":"true"},{maxlength:_=i[14]>0?i[14]:void 0},{placeholder:i[5]},{id:i[2]},{name:i[7]},{spellcheck:i[15]},{required:i[19]},{autocomplete:i[11]},i[26]],z={};for(let u=0;u{c=null}),fe()),ne(f,z=Pe(O,[{class:"m-2 block w-full bg-white focus:outline-none"},(!d||s[0]&1)&&{disabled:u[0]},{"data-lpignore":"true"},(!d||s[0]&16384&&_!==(_=u[14]>0?u[14]:void 0))&&{maxlength:_},(!d||s[0]&32)&&{placeholder:u[5]},(!d||s[0]&4)&&{id:u[2]},(!d||s[0]&128)&&{name:u[7]},(!d||s[0]&32768)&&{spellcheck:u[15]},(!d||s[0]&524288)&&{required:u[19]},(!d||s[0]&2048)&&{autocomplete:u[11]},s[0]&67108864&&u[26]])),s[0]&2&&f.value!==u[1]&&ae(f,u[1]),o(f,"disabled",u[0]),o(f,"svelte-1n0lflq",!0),u[6]?k?k.p(u,s):(k=ce(u),k.c(),k.m(n,b)):k&&(k.d(1),k=null);let E=h;h=Y(u),h===E?~h&&R[h].p(u,s):(g&&(ue(),A(R[E],1,1,()=>{R[E]=null}),fe()),~h?(g=R[h],g?g.p(u,s):(g=R[h]=K[h](u),g.c()),V(g,1),g.m(n,C)):g=null),u[14]&&!u[6]&&!u[0]?q?q.p(u,s):(q=he(u),q.c(),q.m(n,null)):q&&(q.d(1),q=null),(!d||s[0]&1024&&j!==(j="input-container "+u[10]+" svelte-1n0lflq"))&&I(n,"class",j),(!d||s[0]&1025)&&o(n,"disabled",u[0]),(!d||s[0]&263168)&&o(n,"error",u[18]),(!d||s[0]&66624)&&o(n,"unroundRight",u[16]??u[6]),(!d||s[0]&132096)&&o(n,"unroundLeft",u[17]),(!d||s[0]&5120)&&o(n,"invalid",!u[12]),u[13]?L?L.p(u,s):(L=de(u),L.c(),L.m(e,null)):L&&(L.d(1),L=null),(!d||s[0]&1048576&&P!==(P=ie(u[20])+" svelte-1n0lflq"))&&I(e,"class",P)},i(u){d||(V(c),V(g),d=!0)},o(u){A(c),A(g),d=!1},d(u){u&&m(e),v&&v.d(),c&&c.d(),k&&k.d(),~h&&R[h].d(),q&&q.d(),L&&L.d(),M=!1,Ve(J)}}}function Oe(i,e,l){const n=["id","value","label","icon","placeholder","suffix","name","copyable","disabled","clearable","theme","autocomplete","valid","hintText","maxLength","spellcheck","unroundRight","unroundLeft","autoFocus","error","required","class"];let a=se(e,n),f,{id:_}=e,{value:r}=e,{label:b=""}=e,{icon:h=null}=e,{placeholder:g=""}=e,{suffix:C=""}=e,{name:j=_}=e,{copyable:U=!1}=e,{disabled:P=!1}=e,{clearable:d=!1}=e,{theme:M="light"}=e,{autocomplete:J="off"}=e,{valid:v=!0}=e,{hintText:c=""}=e,{maxLength:O=0}=e,{spellcheck:z=null}=e,{unroundRight:k=!1}=e,{unroundLeft:K=!1}=e,{autoFocus:R=!1}=e,{error:Y=!1}=e,{required:q=!1}=e,{class:L=""}=e;function u(t){R&&t.focus()}const s=Se();function E(){l(1,r=""),s("clear",{})}const{copy:ee,copied:le}=je();Ae(i,le,t=>l(21,f=t));function ge(t){X.call(this,i,t)}function ve(t){X.call(this,i,t)}function ke(t){X.call(this,i,t)}function qe(t){X.call(this,i,t)}function Le(t){X.call(this,i,t)}function Ee(t){X.call(this,i,t)}function Ie(){r=this.value,l(1,r)}const De=t=>ee(t,r);return i.$$set=t=>{e=$($({},e),Ce(t)),l(26,a=se(e,n)),"id"in t&&l(2,_=t.id),"value"in t&&l(1,r=t.value),"label"in t&&l(3,b=t.label),"icon"in t&&l(4,h=t.icon),"placeholder"in t&&l(5,g=t.placeholder),"suffix"in t&&l(6,C=t.suffix),"name"in t&&l(7,j=t.name),"copyable"in t&&l(8,U=t.copyable),"disabled"in t&&l(0,P=t.disabled),"clearable"in t&&l(9,d=t.clearable),"theme"in t&&l(10,M=t.theme),"autocomplete"in t&&l(11,J=t.autocomplete),"valid"in t&&l(12,v=t.valid),"hintText"in t&&l(13,c=t.hintText),"maxLength"in t&&l(14,O=t.maxLength),"spellcheck"in t&&l(15,z=t.spellcheck),"unroundRight"in t&&l(16,k=t.unroundRight),"unroundLeft"in t&&l(17,K=t.unroundLeft),"autoFocus"in t&&l(27,R=t.autoFocus),"error"in t&&l(18,Y=t.error),"required"in t&&l(19,q=t.required),"class"in t&&l(20,L=t.class)},i.$$.update=()=>{i.$$.dirty[0]&257&&l(0,P=P||U)},[P,r,_,b,h,g,C,j,U,d,M,J,v,c,O,z,k,K,Y,q,L,f,u,E,ee,le,a,R,ge,ve,ke,qe,Le,Ee,Ie,De]}class He extends Re{constructor(e){super(),Te(this,e,Oe,Me,Fe,{id:2,value:1,label:3,icon:4,placeholder:5,suffix:6,name:7,copyable:8,disabled:0,clearable:9,theme:10,autocomplete:11,valid:12,hintText:13,maxLength:14,spellcheck:15,unroundRight:16,unroundLeft:17,autoFocus:27,error:18,required:19,class:20},null,[-1,-1])}}export{He as I}; diff --git a/ui/assets/cloud/_app/immutable/chunks/is-event-type.0064ca29.js b/ui/assets/cloud/_app/immutable/chunks/is-event-type.0064ca29.js deleted file mode 100644 index b11da4a9e4..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/is-event-type.0064ca29.js +++ /dev/null @@ -1 +0,0 @@ -const o=["workflowExecutionStartedEventAttributes","workflowExecutionCompletedEventAttributes","workflowExecutionFailedEventAttributes","workflowExecutionTimedOutEventAttributes","workflowTaskStartedEventAttributes","workflowTaskScheduledEventAttributes","workflowTaskCompletedEventAttributes","workflowTaskTimedOutEventAttributes","workflowTaskFailedEventAttributes","activityTaskScheduledEventAttributes","activityTaskCompletedEventAttributes","activityTaskStartedEventAttributes","activityTaskFailedEventAttributes","activityTaskTimedOutEventAttributes","timerStartedEventAttributes","timerFiredEventAttributes","activityTaskCancelRequestedEventAttributes","activityTaskCanceledEventAttributes","timerCanceledEventAttributes","markerRecordedEventAttributes","workflowExecutionSignaledEventAttributes","workflowExecutionTerminatedEventAttributes","workflowExecutionCancelRequestedEventAttributes","workflowExecutionCanceledEventAttributes","requestCancelExternalWorkflowExecutionInitiatedEventAttributes","requestCancelExternalWorkflowExecutionFailedEventAttributes","externalWorkflowExecutionCancelRequestedEventAttributes","workflowExecutionContinuedAsNewEventAttributes","startChildWorkflowExecutionInitiatedEventAttributes","startChildWorkflowExecutionFailedEventAttributes","childWorkflowExecutionStartedEventAttributes","childWorkflowExecutionCompletedEventAttributes","childWorkflowExecutionFailedEventAttributes","childWorkflowExecutionCanceledEventAttributes","childWorkflowExecutionTimedOutEventAttributes","childWorkflowExecutionTerminatedEventAttributes","signalExternalWorkflowExecutionInitiatedEventAttributes","signalExternalWorkflowExecutionFailedEventAttributes","externalWorkflowExecutionSignaledEventAttributes","upsertWorkflowSearchAttributesEventAttributes"],s=["WorkflowTaskCompleted","WorkflowTaskFailed","WorkflowTaskTimedOut"],r=e=>{for(const i of o)if(i in e)return i},a=(e,i)=>e[i],E=e=>{const i=r(e),n=a(e,i);return{key:i,attributes:n}},t=e=>i=>Boolean(i[e]),c=t("workflowExecutionStartedEventAttributes"),d=t("workflowExecutionCompletedEventAttributes"),v=t("workflowExecutionFailedEventAttributes"),k=t("workflowExecutionTimedOutEventAttributes"),w=t("workflowTaskTimedOutEventAttributes"),l=t("workflowTaskFailedEventAttributes"),A=e=>{var i,n;return l(e)&&((n=(i=e.workflowTaskFailedEventAttributes)==null?void 0:i.failure)==null?void 0:n.message)!=="UnhandledCommand"},f=t("activityTaskScheduledEventAttributes"),b=t("activityTaskStartedEventAttributes"),x=t("activityTaskCompletedEventAttributes"),T=t("activityTaskFailedEventAttributes"),m=t("activityTaskTimedOutEventAttributes"),W=t("timerStartedEventAttributes"),C=t("timerFiredEventAttributes"),y=t("activityTaskCancelRequestedEventAttributes"),h=t("activityTaskCanceledEventAttributes"),S=t("timerCanceledEventAttributes"),u=t("markerRecordedEventAttributes"),F=t("workflowExecutionSignaledEventAttributes"),p=t("workflowExecutionTerminatedEventAttributes"),O=t("workflowExecutionCanceledEventAttributes"),g=t("workflowExecutionContinuedAsNewEventAttributes"),R=t("startChildWorkflowExecutionInitiatedEventAttributes"),q=t("childWorkflowExecutionStartedEventAttributes"),I=t("childWorkflowExecutionCompletedEventAttributes"),N=t("childWorkflowExecutionFailedEventAttributes"),K=t("childWorkflowExecutionCanceledEventAttributes"),B=t("childWorkflowExecutionTimedOutEventAttributes"),L=t("childWorkflowExecutionTerminatedEventAttributes"),M=t("signalExternalWorkflowExecutionInitiatedEventAttributes"),j=t("signalExternalWorkflowExecutionFailedEventAttributes"),z=e=>s.includes(e.eventType),D=e=>!(!u(e)||e.markerRecordedEventAttributes.markerName!=="LocalActivity");export{u as A,D as B,R as C,z as D,g as E,d as F,c as G,T as a,v as b,k as c,w as d,A as e,E as f,N as g,B as h,m as i,j,h as k,S as l,O as m,K as n,p as o,L as p,b as q,y as r,x as s,q as t,I as u,C as v,f as w,W as x,M as y,F as z}; diff --git a/ui/assets/cloud/_app/immutable/chunks/is-http.91300684.js b/ui/assets/cloud/_app/immutable/chunks/is-http.91300684.js deleted file mode 100644 index e10f2b1ef0..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/is-http.91300684.js +++ /dev/null @@ -1 +0,0 @@ -import{w as a}from"./index.255b7490.js";import{p as s}from"./persist-store.bb6871e4.js";const i=s("endpoint",null,!0),u=s("passAccessToken",!1,!0),d=s("includeCredentials",!1,!0),l=s("overrideRemoteCodecConfiguration",!1,!0),e=a("notRequested");function p(){e.set("error")}function f(){e.set("success")}const o=t=>t.substring(0,8)==="https://",r=t=>t.substring(0,7)==="http://",m=t=>r(t)||o(t);export{m as a,f as b,i as c,d as i,e as l,l as o,u as p,p as s,o as v}; diff --git a/ui/assets/cloud/_app/immutable/chunks/is-network-error.3dd5226d.js b/ui/assets/cloud/_app/immutable/chunks/is-network-error.3dd5226d.js deleted file mode 100644 index 34da692d38..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/is-network-error.3dd5226d.js +++ /dev/null @@ -1 +0,0 @@ -import{h as t}from"./has.8da86d13.js";function e(s){return s?t(s,"statusCode","statusText","response"):!1}export{e as i}; diff --git a/ui/assets/cloud/_app/immutable/chunks/link.d5f6f19e.js b/ui/assets/cloud/_app/immutable/chunks/link.d5f6f19e.js deleted file mode 100644 index 831a01648c..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/link.d5f6f19e.js +++ /dev/null @@ -1 +0,0 @@ -import{S as H,b as I,a as J,e as v,f as g,z as N,g as h,h as O,j as b,k as c,O as d,P as T,Q as p,G as q,m as A,p as E,q as L,R as m,T as k,U as S,H as j,I as z,J as C,V as G,W as P}from"./index.d29c66be.js";function Q(r){let l,a,s,o,_;const f=r[5].default,t=q(f,r,r[4],null);let n=[{href:r[0]},r[3],{class:a=r[3].class+" underline underline-offset-2 hover:text-blue-700"}],i={};for(let e=0;e{f[e]=null}),O(),a=f[l],a?a.p(n,i):(a=f[l]=_[l](n),a.c()),b(a,1),a.m(s.parentNode,s))},i(n){o||(b(a),o=!0)},o(n){h(a),o=!1},d(n){f[l].d(n),n&&c(s)}}}function V(r,l,a){let{$$slots:s={},$$scope:o}=l,{href:_}=l,{active:f=!1}=l,{newTab:t=!1}=l;function n(e){p.call(this,r,e)}function i(e){p.call(this,r,e)}return r.$$set=e=>{a(3,l=d(d({},l),T(e))),"href"in e&&a(0,_=e.href),"active"in e&&a(1,f=e.active),"newTab"in e&&a(2,t=e.newTab),"$$scope"in e&&a(4,o=e.$$scope)},l=T(l),[_,f,t,l,o,s,n,i]}class B extends H{constructor(l){super(),I(this,l,V,U,J,{href:0,active:1,newTab:2})}}export{B as L}; diff --git a/ui/assets/cloud/_app/immutable/chunks/loading.9b5a6a67.js b/ui/assets/cloud/_app/immutable/chunks/loading.9b5a6a67.js deleted file mode 100644 index 3ad708d08a..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/loading.9b5a6a67.js +++ /dev/null @@ -1 +0,0 @@ -import{S as L,b as q,a as b,m as f,c as j,w,p as h,q as g,d as E,x as I,k as _,ab as M,u as r,v as x,f as S,M as u,y as T,n as v,O as y,P as p}from"./index.d29c66be.js";const k=""+new URL("../assets/Temporal_Logo_Animation.ac2f7996.gif",import.meta.url).href;function A(n){let t,e,c,i,l,o,m;return{c(){t=f("div"),e=f("img"),i=j(),l=f("h2"),o=w(n[0]),this.h()},l(s){t=h(s,"DIV",{class:!0});var a=g(t);e=h(a,"IMG",{src:!0,style:!0,alt:!0,width:!0,height:!0}),i=E(a),l=h(a,"H2",{class:!0,style:!0});var d=g(l);o=I(d,n[0]),d.forEach(_),a.forEach(_),this.h()},h(){M(e.src,c=k)||r(e,"src",c),x(e,"margin-top","-40px"),r(e,"alt","Temporal Logo"),r(e,"width","200px"),r(e,"height","200px"),r(l,"class","text-xl font-medium"),x(l,"margin-top","-40px"),r(t,"class",m="my-12 flex flex-col items-center justify-start "+n[1].class)},m(s,a){S(s,t,a),u(t,e),u(t,i),u(t,l),u(l,o)},p(s,[a]){a&1&&T(o,s[0]),a&2&&m!==(m="my-12 flex flex-col items-center justify-start "+s[1].class)&&r(t,"class",m)},i:v,o:v,d(s){s&&_(t)}}}function C(n,t,e){let{title:c="Loading…"}=t;return n.$$set=i=>{e(1,t=y(y({},t),p(i))),"title"in i&&e(0,c=i.title)},t=p(t),[c,t]}class G extends L{constructor(t){super(),q(this,t,C,A,b,{title:0})}}export{G as L}; diff --git a/ui/assets/cloud/_app/immutable/chunks/menu-item.be414f05.js b/ui/assets/cloud/_app/immutable/chunks/menu-item.be414f05.js deleted file mode 100644 index 6e4d6cdfc6..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/menu-item.be414f05.js +++ /dev/null @@ -1 +0,0 @@ -import{S as K,b as S,a as F,G as N,m as p,p as T,q as j,k as O,u as _,f as C,a9 as fe,U as P,W as le,H as U,I as q,J as D,j as v,g as I,r as te,L as z,ad as ue,O as E,P as M,_ as L,A as re,e as V,T as h,M as se,ac as ie,z as A,h as B,ae as Q,C as G,D as H,E as J,F as W,$ as ce,aa as de,V as me,a6 as _e,N as he,c as be,d as ke}from"./index.d29c66be.js";import{I as R}from"./icon.5aa23970.js";import{f as ge,T as ve}from"./tooltip.ca813c82.js";import{w as y}from"./index.255b7490.js";import{c as Ie}from"./outside-click.0db702a6.js";const Oe=i=>({}),w=i=>({open:i[2]});function Ee(i){let e,a,t,n,r;const s=i[6].default,l=N(s,i,i[5],w);return{c(){e=p("div"),l&&l.c(),this.h()},l(o){e=T(o,"DIV",{class:!0});var f=j(e);l&&l.l(f),f.forEach(O),this.h()},h(){_(e,"class",a="relative inline-block "+i[4].class)},m(o,f){C(o,e,f),l&&l.m(e,null),i[7](e),t=!0,n||(r=[fe(Ie.call(null,e)),P(e,"click-outside",i[8]),P(e,"keydown",le(i[3]))],n=!0)},p(o,[f]){l&&l.p&&(!t||f&32)&&U(l,s,o,o[5],t?D(s,o[5],f,Oe):q(o[5]),w),(!t||f&16&&a!==(a="relative inline-block "+o[4].class))&&_(e,"class",a)},i(o){t||(v(l,o),t=!0)},o(o){I(l,o),t=!1},d(o){o&&O(e),l&&l.d(o),i[7](null),n=!1,te(r)}}}const X="menu-context";function Me(i,e,a){let t,{$$slots:n={},$$scope:r}=e,s;const l=y(!1);z(i,l,m=>a(1,t=m));const o=y(!1),f=m=>{m.key==="Escape"&&c()},c=()=>L(l,t=!1,t);ue(X,{open:l,keepOpen:o,toggleMenu:()=>L(l,t=!t,t),closeMenu:c});function b(m){re[m?"unshift":"push"](()=>{s=m,a(0,s)})}const u=()=>L(l,t=!1,t);return i.$$set=m=>{a(4,e=E(E({},e),M(m))),"$$scope"in m&&a(5,r=m.$$scope)},e=M(e),[s,t,l,f,e,r,n,b,u]}class Ke extends K{constructor(e){super(),S(this,e,Me,Ee,F,{})}}function x(i){let e,a;return e=new R({props:{name:i[5]}}),{c(){G(e.$$.fragment)},l(t){H(e.$$.fragment,t)},m(t,n){J(e,t,n),a=!0},p(t,n){const r={};n&32&&(r.name=t[5]),e.$set(r)},i(t){a||(v(e.$$.fragment,t),a=!0)},o(t){I(e.$$.fragment,t),a=!1},d(t){W(e,t)}}}function $(i){let e,a;return e=new R({props:{class:"pointer-events-none",name:i[6]?"chevron-up":"chevron-down"}}),{c(){G(e.$$.fragment)},l(t){H(e.$$.fragment,t)},m(t,n){J(e,t,n),a=!0},p(t,n){const r={};n&64&&(r.name=t[6]?"chevron-up":"chevron-down"),e.$set(r)},i(t){a||(v(e.$$.fragment,t),a=!0)},o(t){I(e.$$.fragment,t),a=!1},d(t){W(e,t)}}}function Ce(i){let e,a,t,n,r,s,l,o,f=i[5]&&x(i);const c=i[11].default,d=N(c,i,i[10],null);let b=i[3]&&$(i);return{c(){e=p("button"),f&&f.c(),a=V(),d&&d.c(),b&&b.c(),this.h()},l(u){e=T(u,"BUTTON",{type:!0,id:!0,"aria-haspopup":!0,"aria-controls":!0,"aria-expanded":!0,class:!0,"data-testid":!0});var m=j(e);f&&f.l(m),a=V(),d&&d.l(m),b&&b.l(m),m.forEach(O),this.h()},h(){_(e,"type","button"),_(e,"id",i[4]),_(e,"aria-haspopup",t=!i[2]),_(e,"aria-controls",i[0]),_(e,"aria-expanded",i[6]),_(e,"class",n="text-sm flex flex-row items-center "+i[9].class+" svelte-cqm0pi"),e.disabled=i[2],_(e,"data-testid",r=i[9].testId),h(e,"dark",i[1]),h(e,"show",i[6]),h(e,"has-indicator",i[3]),h(e,"has-icon",!!i[5])},m(u,m){C(u,e,m),f&&f.m(e,null),se(e,a),d&&d.m(e,null),b&&b.m(e,null),s=!0,l||(o=P(e,"click",ie(i[8])),l=!0)},p(u,[m]){u[5]?f?(f.p(u,m),m&32&&v(f,1)):(f=x(u),f.c(),v(f,1),f.m(e,a)):f&&(A(),I(f,1,1,()=>{f=null}),B()),d&&d.p&&(!s||m&1024)&&U(d,c,u,u[10],s?D(c,u[10],m,null):q(u[10]),null),u[3]?b?(b.p(u,m),m&8&&v(b,1)):(b=$(u),b.c(),v(b,1),b.m(e,null)):b&&(A(),I(b,1,1,()=>{b=null}),B()),(!s||m&16)&&_(e,"id",u[4]),(!s||m&4&&t!==(t=!u[2]))&&_(e,"aria-haspopup",t),(!s||m&1)&&_(e,"aria-controls",u[0]),(!s||m&64)&&_(e,"aria-expanded",u[6]),(!s||m&512&&n!==(n="text-sm flex flex-row items-center "+u[9].class+" svelte-cqm0pi"))&&_(e,"class",n),(!s||m&4)&&(e.disabled=u[2]),(!s||m&512&&r!==(r=u[9].testId))&&_(e,"data-testid",r),(!s||m&514)&&h(e,"dark",u[1]),(!s||m&576)&&h(e,"show",u[6]),(!s||m&520)&&h(e,"has-indicator",u[3]),(!s||m&544)&&h(e,"has-icon",!!u[5])},i(u){s||(v(f),v(d,u),v(b),s=!0)},o(u){I(f),I(d,u),I(b),s=!1},d(u){u&&O(e),f&&f.d(),d&&d.d(u),b&&b.d(),l=!1,o()}}}function pe(i,e,a){let t,{$$slots:n={},$$scope:r}=e,{controls:s}=e,{dark:l=!1}=e,{disabled:o=!1}=e,{hasIndicator:f=!1}=e,{id:c=null}=e,{icon:d=null}=e;const{toggleMenu:b,open:u}=Q(X);z(i,u,g=>a(6,t=g));const m=()=>{o||b()};return i.$$set=g=>{a(9,e=E(E({},e),M(g))),"controls"in g&&a(0,s=g.controls),"dark"in g&&a(1,l=g.dark),"disabled"in g&&a(2,o=g.disabled),"hasIndicator"in g&&a(3,f=g.hasIndicator),"id"in g&&a(4,c=g.id),"icon"in g&&a(5,d=g.icon),"$$scope"in g&&a(10,r=g.$$scope)},e=M(e),[s,l,o,f,c,d,t,u,m,e,r,n]}class Se extends K{constructor(e){super(),S(this,e,pe,Ce,F,{controls:0,dark:1,disabled:2,hasIndicator:3,id:4,icon:5})}}function Te(i){let e,a,t,n;const r=i[9].default,s=N(r,i,i[8],null);return{c(){e=p("ul"),s&&s.c(),this.h()},l(l){e=T(l,"UL",{role:!0,tabindex:!0,class:!0,"aria-labelledby":!0,id:!0});var o=j(e);s&&s.l(o),o.forEach(O),this.h()},h(){_(e,"role","menu"),_(e,"tabindex","0"),_(e,"class",a="absolute z-50 mt-1 w-full list-none rounded border border-gray-900 bg-white text-primary shadow focus:outline-none focus-visible:outline focus-visible:outline-blue-700 focus-visible:-outline-offset-2 "+i[2]+" "+i[6].class+" svelte-zt7cn"),_(e,"aria-labelledby",i[0]),_(e,"id",i[0]),h(e,"dark",i[1]),h(e,"sr-only",!i[3])},m(l,o){C(l,e,o),s&&s.m(e,null),n=!0},p(l,[o]){s&&s.p&&(!n||o&256)&&U(s,r,l,l[8],n?D(r,l[8],o,null):q(l[8]),null),(!n||o&68&&a!==(a="absolute z-50 mt-1 w-full list-none rounded border border-gray-900 bg-white text-primary shadow focus:outline-none focus-visible:outline focus-visible:outline-blue-700 focus-visible:-outline-offset-2 "+l[2]+" "+l[6].class+" svelte-zt7cn"))&&_(e,"class",a),(!n||o&1)&&_(e,"aria-labelledby",l[0]),(!n||o&1)&&_(e,"id",l[0]),(!n||o&70)&&h(e,"dark",l[1]),(!n||o&76)&&h(e,"sr-only",!l[3])},i(l){n||(v(s,l),t||ce(()=>{t=de(e,ge,{duration:100}),t.start()}),n=!0)},o(l){I(s,l),n=!1},d(l){l&&O(e),s&&s.d(l)}}}function je(i,e,a){let t,n,{$$slots:r={},$$scope:s}=e,{id:l}=e,{dark:o=!1}=e,{keepOpen:f=!1}=e,{position:c="left"}=e;const{keepOpen:d,open:b}=Q(X);return z(i,d,u=>a(10,t=u)),z(i,b,u=>a(3,n=u)),i.$$set=u=>{a(6,e=E(E({},e),M(u))),"id"in u&&a(0,l=u.id),"dark"in u&&a(1,o=u.dark),"keepOpen"in u&&a(7,f=u.keepOpen),"position"in u&&a(2,c=u.position),"$$scope"in u&&a(8,s=u.$$scope)},i.$$.update=()=>{i.$$.dirty&128&&L(d,t=f,t)},e=M(e),[l,o,c,n,d,b,e,f,s,r]}class Fe extends K{constructor(e){super(),S(this,e,je,Te,F,{id:0,dark:1,keepOpen:7,position:2})}}function Pe(i){let e,a,t,n,r,s,l=i[1]&&ee();const o=i[14].default,f=N(o,i,i[15],null);return{c(){e=p("li"),l&&l.c(),a=be(),f&&f.c(),this.h()},l(c){e=T(c,"LI",{role:!0,tabindex:!0,"data-testid":!0,class:!0});var d=j(e);l&&l.l(d),a=ke(d),f&&f.l(d),d.forEach(O),this.h()},h(){_(e,"role","menuitem"),_(e,"tabindex","0"),_(e,"data-testid",i[6]),_(e,"class",t="menu-item "+i[12].class+" svelte-1jgm5tu"),h(e,"dark",i[0]),h(e,"destructive",i[2]),h(e,"selected",i[1]),h(e,"active",i[3]),h(e,"disabled",i[4])},m(c,d){C(c,e,d),l&&l.m(e,null),se(e,a),f&&f.m(e,null),n=!0,r||(s=[P(e,"click",le(ie(i[11]))),P(e,"keyup",i[10])],r=!0)},p(c,d){c[1]?l?d&2&&v(l,1):(l=ee(),l.c(),v(l,1),l.m(e,a)):l&&(A(),I(l,1,1,()=>{l=null}),B()),f&&f.p&&(!n||d&32768)&&U(f,o,c,c[15],n?D(o,c[15],d,null):q(c[15]),null),(!n||d&64)&&_(e,"data-testid",c[6]),(!n||d&4096&&t!==(t="menu-item "+c[12].class+" svelte-1jgm5tu"))&&_(e,"class",t),(!n||d&4097)&&h(e,"dark",c[0]),(!n||d&4100)&&h(e,"destructive",c[2]),(!n||d&4098)&&h(e,"selected",c[1]),(!n||d&4104)&&h(e,"active",c[3]),(!n||d&4112)&&h(e,"disabled",c[4])},i(c){n||(v(l),v(f,c),n=!0)},o(c){I(l),I(f,c),n=!1},d(c){c&&O(e),l&&l.d(),f&&f.d(c),r=!1,te(s)}}}function ze(i){let e,a,t;const n=i[14].default,r=N(n,i,i[15],null);return{c(){e=p("a"),r&&r.c(),this.h()},l(s){e=T(s,"A",{href:!0,role:!0,"data-testid":!0,class:!0});var l=j(e);r&&r.l(l),l.forEach(O),this.h()},h(){_(e,"href",i[5]),_(e,"role","menuitem"),_(e,"data-testid",i[6]),_(e,"class",a="menu-item inline-block "+i[12].class+" svelte-1jgm5tu"),h(e,"dark",i[0]),h(e,"destructive",i[2]),h(e,"selected",i[1]),h(e,"active",i[3]),h(e,"disabled",i[4])},m(s,l){C(s,e,l),r&&r.m(e,null),t=!0},p(s,l){r&&r.p&&(!t||l&32768)&&U(r,n,s,s[15],t?D(n,s[15],l,null):q(s[15]),null),(!t||l&32)&&_(e,"href",s[5]),(!t||l&64)&&_(e,"data-testid",s[6]),(!t||l&4096&&a!==(a="menu-item inline-block "+s[12].class+" svelte-1jgm5tu"))&&_(e,"class",a),(!t||l&4097)&&h(e,"dark",s[0]),(!t||l&4100)&&h(e,"destructive",s[2]),(!t||l&4098)&&h(e,"selected",s[1]),(!t||l&4104)&&h(e,"active",s[3]),(!t||l&4112)&&h(e,"disabled",s[4])},i(s){t||(v(r,s),t=!0)},o(s){I(r,s),t=!1},d(s){s&&O(e),r&&r.d(s)}}}function ee(i){let e,a;return e=new R({props:{width:18,height:18,name:"checkmark"}}),{c(){G(e.$$.fragment)},l(t){H(e.$$.fragment,t)},m(t,n){J(e,t,n),a=!0},i(t){a||(v(e.$$.fragment,t),a=!0)},o(t){I(e.$$.fragment,t),a=!1},d(t){W(e,t)}}}function Ne(i){let e,a,t,n;const r=[ze,Pe],s=[];function l(o,f){return o[5]?0:1}return e=l(i),a=s[e]=r[e](i),{c(){a.c(),t=V()},l(o){a.l(o),t=V()},m(o,f){s[e].m(o,f),C(o,t,f),n=!0},p(o,f){let c=e;e=l(o),e===c?s[e].p(o,f):(A(),I(s[c],1,1,()=>{s[c]=null}),B(),a=s[e],a?a.p(o,f):(a=s[e]=r[e](o),a.c()),v(a,1),a.m(t.parentNode,t))},i(o){n||(v(a),n=!0)},o(o){I(a),n=!1},d(o){s[e].d(o),o&&O(t)}}}function Ue(i){let e,a,t;const n=[{class:"w-full"},{hide:!i[8]},{text:i[8]},i[7]];let r={$$slots:{default:[Ne]},$$scope:{ctx:i}};for(let s=0;sa(16,r=k));const Z=he(),ne=k=>{(k.key===" "||k.key==="Enter")&&Z("click")},oe=()=>{r||ae(),Z("click")};return i.$$set=k=>{a(12,e=E(E({},e),M(k))),"dark"in k&&a(0,o=k.dark),"selected"in k&&a(1,f=k.selected),"destructive"in k&&a(2,c=k.destructive),"active"in k&&a(3,d=k.active),"disabled"in k&&a(4,b=k.disabled),"href"in k&&a(5,u=k.href),"testId"in k&&a(6,m=k.testId),"tooltipProps"in k&&a(13,g=k.tooltipProps),"$$scope"in k&&a(15,l=k.$$scope)},i.$$.update=()=>{i.$$.dirty&8192&&a(8,{text:t,...n}=g,t,(a(7,n),a(13,g)))},e=M(e),[o,f,c,d,b,u,m,n,t,Y,ne,oe,e,g,s,l]}class Ge extends K{constructor(e){super(),S(this,e,qe,Ue,F,{dark:0,selected:1,destructive:2,active:3,disabled:4,href:5,testId:6,tooltipProps:13})}}export{Ke as M,Se as a,Fe as b,Ge as c}; diff --git a/ui/assets/cloud/_app/immutable/chunks/modal.765fc6dd.js b/ui/assets/cloud/_app/immutable/chunks/modal.765fc6dd.js deleted file mode 100644 index 5fb564ef93..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/modal.765fc6dd.js +++ /dev/null @@ -1 +0,0 @@ -import{S as ke,b as Te,a as pe,G as ae,O as w,m as M,c as z,C as x,p as I,q as A,d as J,k as g,D as $,u as D,R as ie,T as K,f as L,M as p,E as ee,U as Z,W as Ee,ac as Ce,j as E,z as ne,g as N,h as se,H as oe,I as fe,J as re,V as De,F as te,r as Ne,a5 as ce,N as ye,P as de,w as U,x as W,y as le,A as Me,n as be}from"./index.d29c66be.js";import{B as ve}from"./button.e7112b29.js";import{I as Ie}from"./tooltip.ca813c82.js";const Ae=a=>({}),ue=a=>({}),Fe=a=>({}),me=a=>({});function _e(a){let e,l;return e=new Ie({props:{"aria-label":a[2],icon:"close",class:"float-right m-4"}}),e.$on("click",a[12]),{c(){x(e.$$.fragment)},l(t){$(e.$$.fragment,t)},m(t,s){ee(e,t,s),l=!0},p(t,s){const u={};s&4&&(u["aria-label"]=t[2]),e.$set(u)},i(t){l||(E(e.$$.fragment,t),l=!0)},o(t){N(e.$$.fragment,t),l=!1},d(t){te(e,t)}}}function Pe(a){let e,l;return{c(){e=M("h3"),l=U("Title")},l(t){e=I(t,"H3",{});var s=A(e);l=W(s,"Title"),s.forEach(g)},m(t,s){L(t,e,s),p(e,l)},p:be,d(t){t&&g(e)}}}function Se(a){let e,l;return{c(){e=M("span"),l=U("Content")},l(t){e=I(t,"SPAN",{});var s=A(e);l=W(s,"Content"),s.forEach(g)},m(t,s){L(t,e,s),p(e,l)},p:be,d(t){t&&g(e)}}}function ge(a){let e,l;return{c(){e=M("p"),l=U(a[11]),this.h()},l(t){e=I(t,"P",{class:!0});var s=A(e);l=W(s,a[11]),s.forEach(g),this.h()},h(){D(e,"class","mt-2 text-sm font-normal text-danger")},m(t,s){L(t,e,s),p(e,l)},p(t,s){s&2048&&le(l,t[11])},d(t){t&&g(e)}}}function Ve(a){let e;return{c(){e=U(a[2])},l(l){e=W(l,a[2])},m(l,t){L(l,e,t)},p(l,t){t&4&&le(e,l[2])},d(l){l&&g(e)}}}function he(a){let e,l;return e=new ve({props:{thin:!0,variant:a[3],loading:a[6],disabled:a[4]||a[6],testId:"confirm-modal-button",type:"submit",$$slots:{default:[qe]},$$scope:{ctx:a}}}),{c(){x(e.$$.fragment)},l(t){$(e.$$.fragment,t)},m(t,s){ee(e,t,s),l=!0},p(t,s){const u={};s&8&&(u.variant=t[3]),s&64&&(u.loading=t[6]),s&80&&(u.disabled=t[4]||t[6]),s&8388610&&(u.$$scope={dirty:s,ctx:t}),e.$set(u)},i(t){l||(E(e.$$.fragment,t),l=!0)},o(t){N(e.$$.fragment,t),l=!1},d(t){te(e,t)}}}function qe(a){let e;return{c(){e=U(a[1])},l(l){e=W(l,a[1])},m(l,t){L(l,e,t)},p(l,t){t&2&&le(e,l[1])},d(l){l&&g(e)}}}function He(a){let e,l,t,s,u,b,m,q,F,H,v,k,O,P,S,c,V,R,f=!a[6]&&_e(a);const j=a[21].title,_=ae(j,a,a[23],me),h=_||Pe(),B=a[21].content,G=ae(B,a,a[23],ue),T=G||Se();let d=a[11]&&ge(a);k=new ve({props:{thin:!0,variant:"secondary",disabled:a[6],$$slots:{default:[Ve]},$$scope:{ctx:a}}}),k.$on("click",a[12]);let r=!a[0]&&he(a),n=[{id:a[8]},{class:P="body "+a[9]},{"aria-modal":"true"},{"aria-labelledby":"modal-title"},{"data-testid":S=a[16]["data-testid"]},a[17]],y={};for(let i=0;i{f=null}),se()):f?(f.p(i,o),o&64&&E(f,1)):(f=_e(i),f.c(),E(f,1),f.m(e,l)),_&&_.p&&(!c||o&8388608)&&oe(_,j,i,i[23],c?re(j,i[23],o,Fe):fe(i[23]),me),(!c||o&256&&s!==(s="modal-title-"+i[8]))&&D(t,"id",s),G&&G.p&&(!c||o&8388608)&&oe(G,B,i,i[23],c?re(B,i[23],o,Ae):fe(i[23]),ue),i[11]?d?d.p(i,o):(d=ge(i),d.c(),d.m(m,null)):d&&(d.d(1),d=null),(!c||o&256&&F!==(F="modal-content-"+i[8]))&&D(m,"id",F);const C={};o&64&&(C.disabled=i[6]),o&8388612&&(C.$$scope={dirty:o,ctx:i}),k.$set(C),i[0]?r&&(ne(),N(r,1,1,()=>{r=null}),se()):r?(r.p(i,o),o&1&&E(r,1)):(r=he(i),r.c(),E(r,1),r.m(v,null)),ie(e,y=De(n,[(!c||o&256)&&{id:i[8]},(!c||o&512&&P!==(P="body "+i[9]))&&{class:P},{"aria-modal":"true"},{"aria-labelledby":"modal-title"},(!c||o&65536&&S!==(S=i[16]["data-testid"]))&&{"data-testid":S},o&131072&&i[17]])),K(e,"large",i[5]),K(e,"hightlightNav",i[7]),K(e,"svelte-9mpp9v",!0)},i(i){c||(E(f),E(h,i),E(T,i),E(k.$$.fragment,i),E(r),c=!0)},o(i){N(f),N(h,i),N(T,i),N(k.$$.fragment,i),N(r),c=!1},d(i){i&&g(e),f&&f.d(),h&&h.d(i),T&&T.d(i),d&&d.d(),te(k),r&&r.d(),a[22](null),V=!1,Ne(R)}}}function Oe(a,e,l){const t=["hideConfirm","confirmText","cancelText","confirmType","confirmDisabled","large","loading","hightlightNav","id","open","close","setError","class"];let s=ce(e,t),{$$slots:u={},$$scope:b}=e,{hideConfirm:m=!1}=e,{confirmText:q="Confirm"}=e,{cancelText:F="Cancel"}=e,{confirmType:H="primary"}=e,{confirmDisabled:v=!1}=e,{large:k=!1}=e,{loading:O=!1}=e,{hightlightNav:P=!1}=e,{id:S}=e,c;const V=()=>_.showModal(),R=()=>{l(11,c=""),_.close()},f=n=>{l(11,c=n)};let{class:j=""}=e,_;const h=ye(),B=()=>{R(),h("cancelModal")},G=()=>{l(11,c=""),h("confirmModal")},T=n=>{if(!V)return;const y=Array.from(_.querySelectorAll('button, input, div[contenteditable="true"]')).filter(C=>C instanceof HTMLDivElement?C.isContentEditable:!C.disabled),i=y[0],o=y[y.length-1];n.key==="Tab"&&(n.shiftKey?document.activeElement===i&&(o.focus(),n.preventDefault()):document.activeElement===o&&(i.focus(),n.preventDefault()))},d=n=>{n.target===_&&B()};function r(n){Me[n?"unshift":"push"](()=>{_=n,l(10,_)})}return a.$$set=n=>{l(16,e=w(w({},e),de(n))),l(17,s=ce(e,t)),"hideConfirm"in n&&l(0,m=n.hideConfirm),"confirmText"in n&&l(1,q=n.confirmText),"cancelText"in n&&l(2,F=n.cancelText),"confirmType"in n&&l(3,H=n.confirmType),"confirmDisabled"in n&&l(4,v=n.confirmDisabled),"large"in n&&l(5,k=n.large),"loading"in n&&l(6,O=n.loading),"hightlightNav"in n&&l(7,P=n.hightlightNav),"id"in n&&l(8,S=n.id),"class"in n&&l(9,j=n.class),"$$scope"in n&&l(23,b=n.$$scope)},a.$$.update=()=>{a.$$.dirty&1024&&V&&_&&_.focus()},e=de(e),[m,q,F,H,v,k,O,P,S,j,_,c,B,G,T,d,e,s,V,R,f,u,r,b]}class Ke extends ke{constructor(e){super(),Te(this,e,Oe,He,pe,{hideConfirm:0,confirmText:1,cancelText:2,confirmType:3,confirmDisabled:4,large:5,loading:6,hightlightNav:7,id:8,open:18,close:19,setError:20,class:9})}get open(){return this.$$.ctx[18]}get close(){return this.$$.ctx[19]}get setError(){return this.$$.ctx[20]}}export{Ke as M}; diff --git a/ui/assets/cloud/_app/immutable/chunks/namespaces.52575875.js b/ui/assets/cloud/_app/immutable/chunks/namespaces.52575875.js deleted file mode 100644 index a55f5f47e2..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/namespaces.52575875.js +++ /dev/null @@ -1 +0,0 @@ -import{w as s}from"./index.255b7490.js";import{p as a}from"./persist-store.bb6871e4.js";const r=a("lastNamespace","default",!0),o=s([]);export{r as l,o as n}; diff --git a/ui/assets/cloud/_app/immutable/chunks/outside-click.0db702a6.js b/ui/assets/cloud/_app/immutable/chunks/outside-click.0db702a6.js deleted file mode 100644 index c181cd79f7..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/outside-click.0db702a6.js +++ /dev/null @@ -1 +0,0 @@ -function n(t){const e=c=>{t&&!t.contains(c.target)&&!c.defaultPrevented&&t.dispatchEvent(new CustomEvent("click-outside"))};return document.addEventListener("click",e,!0),{destroy(){document.removeEventListener("click",e,!0)}}}export{n as c}; diff --git a/ui/assets/cloud/_app/immutable/chunks/page-title.ba38eecf.js b/ui/assets/cloud/_app/immutable/chunks/page-title.ba38eecf.js deleted file mode 100644 index 3b9e84d230..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/page-title.ba38eecf.js +++ /dev/null @@ -1 +0,0 @@ -import{S as C,b as A,a as f,m as g,ah as b,p as h,k as I,u as e,M as d,n as p}from"./index.d29c66be.js";const Z=""+new URL("../assets/banner.1e0667a3.png",import.meta.url).href,y="data:application/manifest+json;base64,ewogICJuYW1lIjogIlRlbXBvcmFsIFdlYiBVSSIsCiAgInNob3J0X25hbWUiOiAiVGVtcG9yYWwiLAogICJpY29ucyI6IFsKICAgIHsKICAgICAgInNyYyI6ICIuL2FuZHJvaWQtY2hyb21lLTE5MngxOTIucG5nIiwKICAgICAgInNpemVzIjogIjE5MngxOTIiLAogICAgICAidHlwZSI6ICJpbWFnZS9wbmciCiAgICB9LAogICAgewogICAgICAic3JjIjogIi4vYW5kcm9pZC1jaHJvbWUtNTEyeDUxMi5wbmciLAogICAgICAic2l6ZXMiOiAiNTEyeDUxMiIsCiAgICAgICJ0eXBlIjogImltYWdlL3BuZyIKICAgIH0KICBdLAogICJ0aGVtZV9jb2xvciI6ICIjZmZmZmZmIiwKICAiYmFja2dyb3VuZF9jb2xvciI6ICIjZmZmZmZmIiwKICAiZGlzcGxheSI6ICJzdGFuZGFsb25lIgp9Cg==",L=""+new URL("../assets/favicon.54bd878e.ico",import.meta.url).href,j=""+new URL("../assets/apple-touch-icon.8685d9e4.png",import.meta.url).href;function w(m){let i,a,r,l,o,n,c,u;return document.title=i=m[0],{c(){a=g("link"),r=g("link"),l=g("link"),o=g("meta"),n=g("meta"),c=g("meta"),u=g("meta"),this.h()},l(s){const t=b("svelte-axg6d6",document.head);a=h(t,"LINK",{rel:!0,href:!0}),r=h(t,"LINK",{rel:!0,href:!0}),l=h(t,"LINK",{rel:!0,href:!0}),o=h(t,"META",{property:!0,content:!0}),n=h(t,"META",{property:!0,content:!0}),c=h(t,"META",{property:!0,content:!0}),u=h(t,"META",{property:!0,content:!0}),t.forEach(I),this.h()},h(){e(a,"rel","icon"),e(a,"href",L),e(r,"rel","manifest"),e(r,"href",y),e(l,"rel","apple-touch-icon"),e(l,"href",j),e(o,"property","og:title"),e(o,"content",m[0]),e(n,"property","og:type"),e(n,"content","website"),e(c,"property","og:url"),e(c,"content",m[1]),e(u,"property","og:image"),e(u,"content",m[2])},m(s,t){d(document.head,a),d(document.head,r),d(document.head,l),d(document.head,o),d(document.head,n),d(document.head,c),d(document.head,u)},p(s,[t]){t&1&&i!==(i=s[0])&&(document.title=i),t&1&&e(o,"content",s[0]),t&2&&e(c,"content",s[1]),t&4&&e(u,"content",s[2])},i:p,o:p,d(s){I(a),I(r),I(l),I(o),I(n),I(c),I(u)}}}function J(m,i,a){let{title:r="Temporal"}=i,{url:l="https://temporal.io"}=i,{image:o=Z}=i;return m.$$set=n=>{"title"in n&&a(0,r=n.title),"url"in n&&a(1,l=n.url),"image"in n&&a(2,o=n.image)},[r,l,o]}class M extends C{constructor(i){super(),A(this,i,J,w,f,{title:0,url:1,image:2})}}export{M as P}; diff --git a/ui/assets/cloud/_app/immutable/chunks/parse-with-big-int.02af2f95.js b/ui/assets/cloud/_app/immutable/chunks/parse-with-big-int.02af2f95.js deleted file mode 100644 index b1538b75c3..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/parse-with-big-int.02af2f95.js +++ /dev/null @@ -1,8 +0,0 @@ -import{c as _e}from"./_commonjsHelpers.28e086c5.js";var he={},Ie={get exports(){return he},set exports(B){he=B}},me={},Pe={get exports(){return me},set exports(B){me=B}},we={},Re={get exports(){return we},set exports(B){we=B}};(function(B){(function(M){var L,A=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,b=Math.ceil,j=Math.floor,R="[BigNumber Error] ",m=R+"Number primitive has more than 15 significant digits: ",H=1e14,d=14,C=9007199254740991,X=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],y=1e7,I=1e9;function K(E){var O,F,q,g=h.prototype={constructor:h,toString:null,valueOf:null},$=new h(1),T=20,U=4,Q=-7,Z=21,se=-1e7,te=1e7,ue=!1,le=1,oe=0,Ne={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},ce="0123456789abcdefghijklmnopqrstuvwxyz",de=!0;function h(e,r){var t,u,i,o,l,n,f,c,s=this;if(!(s instanceof h))return new h(e,r);if(r==null){if(e&&e._isBigNumber===!0){s.s=e.s,!e.c||e.e>te?s.c=s.e=null:e.e=10;l/=10,o++);o>te?s.c=s.e=null:(s.e=o,s.c=[e]);return}c=String(e)}else{if(!A.test(c=String(e)))return q(s,c,n);s.s=c.charCodeAt(0)==45?(c=c.slice(1),-1):1}(o=c.indexOf("."))>-1&&(c=c.replace(".","")),(l=c.search(/e/i))>0?(o<0&&(o=l),o+=+c.slice(l+1),c=c.substring(0,l)):o<0&&(o=c.length)}else{if(w(r,2,ce.length,"Base"),r==10&&de)return s=new h(e),ee(s,T+s.e+1,U);if(c=String(e),n=typeof e=="number"){if(e*0!=0)return q(s,c,n,r);if(s.s=1/e<0?(c=c.slice(1),-1):1,h.DEBUG&&c.replace(/^0\.0*|\./,"").length>15)throw Error(m+e)}else s.s=c.charCodeAt(0)===45?(c=c.slice(1),-1):1;for(t=ce.slice(0,r),o=l=0,f=c.length;lo){o=f;continue}}else if(!i&&(c==c.toUpperCase()&&(c=c.toLowerCase())||c==c.toLowerCase()&&(c=c.toUpperCase()))){i=!0,l=-1,o=0;continue}return q(s,String(e),n,r)}n=!1,c=F(c,r,10,s.s),(o=c.indexOf("."))>-1?c=c.replace(".",""):o=c.length}for(l=0;c.charCodeAt(l)===48;l++);for(f=c.length;c.charCodeAt(--f)===48;);if(c=c.slice(l,++f)){if(f-=l,n&&h.DEBUG&&f>15&&(e>C||e!==j(e)))throw Error(m+s.s*e);if((o=o-l-1)>te)s.c=s.e=null;else if(o=-I&&i<=I&&i===j(i)){if(u[0]===0){if(i===0&&u.length===1)return!0;break e}if(r=(i+1)%d,r<1&&(r+=d),String(u[0]).length==r){for(r=0;r=H||t!==j(t))break e;if(t!==0)return!0}}}else if(u===null&&i===null&&(o===null||o===1||o===-1))return!0;throw Error(R+"Invalid BigNumber: "+e)},h.maximum=h.max=function(){return xe(arguments,g.lt)},h.minimum=h.min=function(){return xe(arguments,g.gt)},h.random=function(){var e=9007199254740992,r=Math.random()*e&2097151?function(){return j(Math.random()*e)}:function(){return(Math.random()*1073741824|0)*8388608+(Math.random()*8388608|0)};return function(t){var u,i,o,l,n,f=0,c=[],s=new h($);if(t==null?t=T:w(t,0,I),l=b(t/d),ue)if(crypto.getRandomValues){for(u=crypto.getRandomValues(new Uint32Array(l*=2));f>>11),n>=9e15?(i=crypto.getRandomValues(new Uint32Array(2)),u[f]=i[0],u[f+1]=i[1]):(c.push(n%1e14),f+=2);f=l/2}else if(crypto.randomBytes){for(u=crypto.randomBytes(l*=7);f=9e15?crypto.randomBytes(7).copy(u,f):(c.push(n%1e14),f+=7);f=l/7}else throw ue=!1,Error(R+"crypto unavailable");if(!ue)for(;f=10;n/=10,f++);fi-1&&(n[l+1]==null&&(n[l+1]=0),n[l+1]+=n[l]/i|0,n[l]%=i)}return n.reverse()}return function(t,u,i,o,l){var n,f,c,s,a,p,N,_,k=t.indexOf("."),z=T,S=U;for(k>=0&&(s=oe,oe=0,t=t.replace(".",""),_=new h(u),p=_.pow(t.length-k),oe=s,_.c=r(W(x(p.c),p.e,"0"),10,i,e),_.e=_.c.length),N=r(t,u,i,l?(n=ce,e):(n=e,ce)),c=s=N.length;N[--s]==0;N.pop());if(!N[0])return n.charAt(0);if(k<0?--c:(p.c=N,p.e=c,p.s=o,p=O(p,_,z,S,i),N=p.c,a=p.r,c=p.e),f=c+z+1,k=N[f],s=i/2,a=a||f<0||N[f+1]!=null,a=S<4?(k!=null||a)&&(S==0||S==(p.s<0?3:2)):k>s||k==s&&(S==4||a||S==6&&N[f-1]&1||S==(p.s<0?8:7)),f<1||!N[0])t=a?W(n.charAt(1),-z,n.charAt(0)):n.charAt(0);else{if(N.length=f,a)for(--i;++N[--f]>i;)N[f]=0,f||(++c,N=[1].concat(N));for(s=N.length;!N[--s];);for(k=0,t="";k<=s;t+=n.charAt(N[k++]));t=W(t,c,n.charAt(0))}return t}}(),O=function(){function e(u,i,o){var l,n,f,c,s=0,a=u.length,p=i%y,N=i/y|0;for(u=u.slice();a--;)f=u[a]%y,c=u[a]/y|0,l=N*f+c*p,n=p*f+l%y*y+s,s=(n/o|0)+(l/y|0)+N*c,u[a]=n%o;return s&&(u=[s].concat(u)),u}function r(u,i,o,l){var n,f;if(o!=l)f=o>l?1:-1;else for(n=f=0;ni[n]?1:-1;break}return f}function t(u,i,o,l){for(var n=0;o--;)u[o]-=n,n=u[o]1;u.splice(0,1));}return function(u,i,o,l,n){var f,c,s,a,p,N,_,k,z,S,P,J,ge,ve,Oe,ie,ae,re=u.s==i.s?1:-1,Y=u.c,G=i.c;if(!Y||!Y[0]||!G||!G[0])return new h(!u.s||!i.s||(Y?G&&Y[0]==G[0]:!G)?NaN:Y&&Y[0]==0||!G?re*0:re/0);for(k=new h(re),z=k.c=[],c=u.e-i.e,re=o+c+1,n||(n=H,c=v(u.e/d)-v(i.e/d),re=re/d|0),s=0;G[s]==(Y[s]||0);s++);if(G[s]>(Y[s]||0)&&c--,re<0)z.push(1),a=!0;else{for(ve=Y.length,ie=G.length,s=0,re+=2,p=j(n/(G[0]+1)),p>1&&(G=e(G,p,n),Y=e(Y,p,n),ie=G.length,ve=Y.length),ge=ie,S=Y.slice(0,ie),P=S.length;P=n/2&&Oe++;do{if(p=0,f=r(G,S,ie,P),f<0){if(J=S[0],ie!=P&&(J=J*n+(S[1]||0)),p=j(J/Oe),p>1)for(p>=n&&(p=n-1),N=e(G,p,n),_=N.length,P=S.length;r(N,S,_,P)==1;)p--,t(N,ie<_?ae:G,_,n),_=N.length,f=1;else p==0&&(f=p=1),N=G.slice(),_=N.length;if(_=10;re/=10,s++);ee(k,o+(k.e=s+c*d-1)+1,l,a)}else k.e=c,k.r=+a;return k}}();function Ae(e,r,t,u){var i,o,l,n,f;if(t==null?t=U:w(t,0,8),!e.c)return e.toString();if(i=e.c[0],l=e.e,r==null)f=x(e.c),f=u==1||u==2&&(l<=Q||l>=Z)?ne(f,l):W(f,l,"0");else if(e=ee(new h(e),r,t),o=e.e,f=x(e.c),n=f.length,u==1||u==2&&(r<=o||o<=Q)){for(;nn){if(--r>0)for(f+=".";r--;f+="0");}else if(r+=o-n,r>0)for(o+1==n&&(f+=".");r--;f+="0");return e.s<0&&i?"-"+f:f}function xe(e,r){for(var t,u=1,i=new h(e[0]);u=10;i/=10,u++);return(t=u+t*d-1)>te?e.c=e.e=null:t=10;n/=10,i++);if(o=r-i,o<0)o+=d,l=r,f=a[c=0],s=f/p[i-l-1]%10|0;else if(c=b((o+1)/d),c>=a.length)if(u){for(;a.length<=c;a.push(0));f=s=0,i=1,o%=d,l=o-d+1}else break e;else{for(f=n=a[c],i=1;n>=10;n/=10,i++);o%=d,l=o-d+i,s=l<0?0:f/p[i-l-1]%10|0}if(u=u||r<0||a[c+1]!=null||(l<0?f:f%p[i-l-1]),u=t<4?(s||u)&&(t==0||t==(e.s<0?3:2)):s>5||s==5&&(t==4||u||t==6&&(o>0?l>0?f/p[i-l]:0:a[c-1])%10&1||t==(e.s<0?8:7)),r<1||!a[0])return a.length=0,u?(r-=e.e+1,a[0]=p[(d-r%d)%d],e.e=-r||0):a[0]=e.e=0,e;if(o==0?(a.length=c,n=1,c--):(a.length=c+1,n=p[d-o],a[c]=l>0?j(f/p[i-l]%p[l])*n:0),u)for(;;)if(c==0){for(o=1,l=a[0];l>=10;l/=10,o++);for(l=a[0]+=n,n=1;l>=10;l/=10,n++);o!=n&&(e.e++,a[0]==H&&(a[0]=1));break}else{if(a[c]+=n,a[c]!=H)break;a[c--]=0,n=1}for(o=a.length;a[--o]===0;a.pop());}e.e>te?e.c=e.e=null:e.e=Z?ne(r,t):W(r,t,"0"),e.s<0?"-"+r:r)}return g.absoluteValue=g.abs=function(){var e=new h(this);return e.s<0&&(e.s=1),e},g.comparedTo=function(e,r){return D(this,new h(e,r))},g.decimalPlaces=g.dp=function(e,r){var t,u,i,o=this;if(e!=null)return w(e,0,I),r==null?r=U:w(r,0,8),ee(new h(o),e+o.e+1,r);if(!(t=o.c))return null;if(u=((i=t.length-1)-v(this.e/d))*d,i=t[i])for(;i%10==0;i/=10,u--);return u<0&&(u=0),u},g.dividedBy=g.div=function(e,r){return O(this,new h(e,r),T,U)},g.dividedToIntegerBy=g.idiv=function(e,r){return O(this,new h(e,r),0,1)},g.exponentiatedBy=g.pow=function(e,r){var t,u,i,o,l,n,f,c,s,a=this;if(e=new h(e),e.c&&!e.isInteger())throw Error(R+"Exponent not an integer: "+fe(e));if(r!=null&&(r=new h(r)),n=e.e>14,!a.c||!a.c[0]||a.c[0]==1&&!a.e&&a.c.length==1||!e.c||!e.c[0])return s=new h(Math.pow(+fe(a),n?e.s*(2-V(e)):+fe(e))),r?s.mod(r):s;if(f=e.s<0,r){if(r.c?!r.c[0]:!r.s)return new h(NaN);u=!f&&a.isInteger()&&r.isInteger(),u&&(a=a.mod(r))}else{if(e.e>9&&(a.e>0||a.e<-1||(a.e==0?a.c[0]>1||n&&a.c[1]>=24e7:a.c[0]<8e13||n&&a.c[0]<=9999975e7)))return o=a.s<0&&V(e)?-0:0,a.e>-1&&(o=1/o),new h(f?1/o:o);oe&&(o=b(oe/d+2))}for(n?(t=new h(.5),f&&(e.s=1),c=V(e)):(i=Math.abs(+fe(e)),c=i%2),s=new h($);;){if(c){if(s=s.times(a),!s.c)break;o?s.c.length>o&&(s.c.length=o):u&&(s=s.mod(r))}if(i){if(i=j(i/2),i===0)break;c=i%2}else if(e=e.times(t),ee(e,e.e+1,1),e.e>14)c=V(e);else{if(i=+fe(e),i===0)break;c=i%2}a=a.times(a),o?a.c&&a.c.length>o&&(a.c.length=o):u&&(a=a.mod(r))}return u?s:(f&&(s=$.div(s)),r?s.mod(r):o?ee(s,oe,U,l):s)},g.integerValue=function(e){var r=new h(this);return e==null?e=U:w(e,0,8),ee(r,r.e+1,e)},g.isEqualTo=g.eq=function(e,r){return D(this,new h(e,r))===0},g.isFinite=function(){return!!this.c},g.isGreaterThan=g.gt=function(e,r){return D(this,new h(e,r))>0},g.isGreaterThanOrEqualTo=g.gte=function(e,r){return(r=D(this,new h(e,r)))===1||r===0},g.isInteger=function(){return!!this.c&&v(this.e/d)>this.c.length-2},g.isLessThan=g.lt=function(e,r){return D(this,new h(e,r))<0},g.isLessThanOrEqualTo=g.lte=function(e,r){return(r=D(this,new h(e,r)))===-1||r===0},g.isNaN=function(){return!this.s},g.isNegative=function(){return this.s<0},g.isPositive=function(){return this.s>0},g.isZero=function(){return!!this.c&&this.c[0]==0},g.minus=function(e,r){var t,u,i,o,l=this,n=l.s;if(e=new h(e,r),r=e.s,!n||!r)return new h(NaN);if(n!=r)return e.s=-r,l.plus(e);var f=l.e/d,c=e.e/d,s=l.c,a=e.c;if(!f||!c){if(!s||!a)return s?(e.s=-r,e):new h(a?l:NaN);if(!s[0]||!a[0])return a[0]?(e.s=-r,e):new h(s[0]?l:U==3?-0:0)}if(f=v(f),c=v(c),s=s.slice(),n=f-c){for((o=n<0)?(n=-n,i=s):(c=f,i=a),i.reverse(),r=n;r--;i.push(0));i.reverse()}else for(u=(o=(n=s.length)<(r=a.length))?n:r,n=r=0;r0)for(;r--;s[t++]=0);for(r=H-1;u>n;){if(s[--u]=0;){for(t=0,p=J[i]%z,N=J[i]/z|0,l=f,o=i+l;o>i;)c=P[--l]%z,s=P[l]/z|0,n=N*c+s*p,c=p*c+n%z*z+_[o]+t,t=(c/k|0)+(n/z|0)+N*s,_[o--]=c%k;_[o]=t}return t?++u:_.splice(0,1),Ee(e,_,u)},g.negated=function(){var e=new h(this);return e.s=-e.s||null,e},g.plus=function(e,r){var t,u=this,i=u.s;if(e=new h(e,r),r=e.s,!i||!r)return new h(NaN);if(i!=r)return e.s=-r,u.minus(e);var o=u.e/d,l=e.e/d,n=u.c,f=e.c;if(!o||!l){if(!n||!f)return new h(i/0);if(!n[0]||!f[0])return f[0]?e:new h(n[0]?u:i*0)}if(o=v(o),l=v(l),n=n.slice(),i=o-l){for(i>0?(l=o,t=f):(i=-i,t=n),t.reverse();i--;t.push(0));t.reverse()}for(i=n.length,r=f.length,i-r<0&&(t=f,f=n,n=t,r=i),i=0;r;)i=(n[--r]=n[r]+f[r]+i)/H|0,n[r]=H===n[r]?0:n[r]%H;return i&&(n=[i].concat(n),++l),Ee(e,n,l)},g.precision=g.sd=function(e,r){var t,u,i,o=this;if(e!=null&&e!==!!e)return w(e,1,I),r==null?r=U:w(r,0,8),ee(new h(o),e,r);if(!(t=o.c))return null;if(i=t.length-1,u=i*d+1,i=t[i]){for(;i%10==0;i/=10,u--);for(i=t[0];i>=10;i/=10,u++);}return e&&o.e+1>u&&(u=o.e+1),u},g.shiftedBy=function(e){return w(e,-C,C),this.times("1e"+e)},g.squareRoot=g.sqrt=function(){var e,r,t,u,i,o=this,l=o.c,n=o.s,f=o.e,c=T+4,s=new h("0.5");if(n!==1||!l||!l[0])return new h(!n||n<0&&(!l||l[0])?NaN:l?o:1/0);if(n=Math.sqrt(+fe(o)),n==0||n==1/0?(r=x(l),(r.length+f)%2==0&&(r+="0"),n=Math.sqrt(+r),f=v((f+1)/2)-(f<0||f%2),n==1/0?r="5e"+f:(r=n.toExponential(),r=r.slice(0,r.indexOf("e")+1)+f),t=new h(r)):t=new h(n+""),t.c[0]){for(f=t.e,n=f+c,n<3&&(n=0);;)if(i=t,t=s.times(i.plus(O(o,i,c,1))),x(i.c).slice(0,n)===(r=x(t.c)).slice(0,n))if(t.e0&&_>0){for(o=_%n||n,s=N.substr(0,o);o<_;o+=n)s+=c+N.substr(o,n);f>0&&(s+=c+N.slice(o)),p&&(s="-"+s)}u=a?s+(t.decimalSeparator||"")+((f=+t.fractionGroupSize)?a.replace(new RegExp("\\d{"+f+"}\\B","g"),"$&"+(t.fractionGroupSeparator||"")):a):s}return(t.prefix||"")+u+(t.suffix||"")},g.toFraction=function(e){var r,t,u,i,o,l,n,f,c,s,a,p,N=this,_=N.c;if(e!=null&&(n=new h(e),!n.isInteger()&&(n.c||n.s!==1)||n.lt($)))throw Error(R+"Argument "+(n.isInteger()?"out of range: ":"not an integer: ")+fe(n));if(!_)return new h(N);for(r=new h($),c=t=new h($),u=f=new h($),p=x(_),o=r.e=p.length-N.e-1,r.c[0]=X[(l=o%d)<0?d+l:l],e=!e||n.comparedTo(r)>0?o>0?r:c:n,l=te,te=1/0,n=new h(p),f.c[0]=0;s=O(n,r,0,1),i=t.plus(s.times(u)),i.comparedTo(e)!=1;)t=u,u=i,c=f.plus(s.times(i=c)),f=i,r=n.minus(s.times(i=r)),n=i;return i=O(e.minus(t),u,0,1),f=f.plus(i.times(c)),t=t.plus(i.times(u)),f.s=c.s=N.s,o=o*2,a=O(c,u,o,U).minus(N).abs().comparedTo(O(f,t,o,U).minus(N).abs())<1?[c,u]:[f,t],te=l,a},g.toNumber=function(){return+fe(this)},g.toPrecision=function(e,r){return e!=null&&w(e,1,I),Ae(this,e,r,2)},g.toString=function(e){var r,t=this,u=t.s,i=t.e;return i===null?u?(r="Infinity",u<0&&(r="-"+r)):r="NaN":(e==null?r=i<=Q||i>=Z?ne(x(t.c),i):W(x(t.c),i,"0"):e===10&&de?(t=ee(new h(t),T+i+1,U),r=W(x(t.c),t.e,"0")):(w(e,2,ce.length,"Base"),r=F(W(x(t.c),i,"0"),10,e,u,!0)),u<0&&t.c[0]&&(r="-"+r)),r},g.valueOf=g.toJSON=function(){return fe(this)},g._isBigNumber=!0,E!=null&&h.set(E),h}function v(E){var O=E|0;return E>0||E===O?O:O-1}function x(E){for(var O,F,q=1,g=E.length,$=E[0]+"";qZ^F?1:-1;for(U=(Q=g.length)<(Z=$.length)?Q:Z,T=0;T$[T]^F?1:-1;return Q==Z?0:Q>Z^F?1:-1}function w(E,O,F,q){if(EF||E!==j(E))throw Error(R+(q||"Argument")+(typeof E=="number"?EF?" out of range: ":" not an integer: ":" not a primitive number: ")+String(E))}function V(E){var O=E.c.length-1;return v(E.e/d)==O&&E.c[O]%2!=0}function ne(E,O){return(E.length>1?E.charAt(0)+"."+E.slice(1):E)+(O<0?"e":"e+")+O}function W(E,O,F){var q,g;if(O<0){for(g=F+".";++O;g+=F);E=g+E}else if(q=E.length,++O>q){for(g=F,O-=q;--O;g+=F);E+=g}else O="0"&&A<="9";)x+=A,m();if(A===".")for(x+=".";m()&&A>="0"&&A<="9";)x+=A;if(A==="e"||A==="E")for(x+=A,m(),(A==="-"||A==="+")&&(x+=A,m());A>="0"&&A<="9";)x+=A,m();if(v=+x,!isFinite(v))R("Bad number");else return pe==null&&(pe=we),x.length>15?M.storeAsString?x:M.useNativeBigInt?BigInt(x):new pe(x):M.alwaysParseAsBig?M.useNativeBigInt?BigInt(v):new pe(v):v},d=function(){var v,x,D="",w;if(A==='"')for(var V=L;m();){if(A==='"')return L-1>V&&(D+=j.substring(V,L-1)),m(),D;if(A==="\\"){if(L-1>V&&(D+=j.substring(V,L-1)),m(),A==="u"){for(w=0,x=0;x<4&&(v=parseInt(m(),16),!!isFinite(v));x+=1)w=w*16+v;D+=String.fromCharCode(w)}else if(typeof b[A]=="string")D+=b[A];else break;V=L}}R("Bad string")},C=function(){for(;A&&A<=" ";)m()},X=function(){switch(A){case"t":return m("t"),m("r"),m("u"),m("e"),!0;case"f":return m("f"),m("a"),m("l"),m("s"),m("e"),!1;case"n":return m("n"),m("u"),m("l"),m("l"),null}R("Unexpected '"+A+"'")},y,I=function(){var v=[];if(A==="["){if(m("["),C(),A==="]")return m("]"),v;for(;A;){if(v.push(y()),C(),A==="]")return m("]"),v;m(","),C()}}R("Bad array")},K=function(){var v,x=Object.create(null);if(A==="{"){if(m("{"),C(),A==="}")return m("}"),x;for(;A;){if(v=d(),C(),m(":"),M.strict===!0&&Object.hasOwnProperty.call(x,v)&&R('Duplicate key "'+v+'"'),De.test(v)===!0?M.protoAction==="error"?R("Object contains forbidden prototype property"):M.protoAction==="ignore"?y():x[v]=y():Me.test(v)===!0?M.constructorAction==="error"?R("Object contains forbidden constructor property"):M.constructorAction==="ignore"?y():x[v]=y():x[v]=y(),C(),A==="}")return m("}"),x;m(","),C()}}R("Bad object")};return y=function(){switch(C(),A){case"{":return K();case"[":return I();case'"':return d();case"-":return H();default:return A>="0"&&A<="9"?H():X()}},function(v,x){var D;return j=v+"",L=0,A=" ",D=y(),C(),A&&R("Syntax error"),typeof x=="function"?function w(V,ne){var W,E=V[ne];return E&&typeof E=="object"&&Object.keys(E).forEach(function(O){W=w(E,O),W!==void 0?E[O]=W:delete E[O]}),x.call(V,ne,E)}({"":D},""):D}},Ce=Te,Be=me.stringify,ye=Ce;Ie.exports=function(B){return{parse:ye(B),stringify:Be}};he.parse=ye();he.stringify=Be;const Se=he({useNativeBigInt:!0,constructorAction:"preserve"}),Le=B=>{try{return Se.parse(B)}catch{return JSON.parse(B)}},Ue=(B,M,L)=>Se.stringify(B,M,L);export{Le as p,Ue as s}; diff --git a/ui/assets/cloud/_app/immutable/chunks/paths.fd839acd.js b/ui/assets/cloud/_app/immutable/chunks/paths.fd839acd.js deleted file mode 100644 index f155126063..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/paths.fd839acd.js +++ /dev/null @@ -1 +0,0 @@ -var s;const e=((s=globalThis.__sveltekit_1s52ykf)==null?void 0:s.base)??"";var a;const t=((a=globalThis.__sveltekit_1s52ykf)==null?void 0:a.assets)??e;export{t as a,e as b}; diff --git a/ui/assets/cloud/_app/immutable/chunks/persist-store.bb6871e4.js b/ui/assets/cloud/_app/immutable/chunks/persist-store.bb6871e4.js deleted file mode 100644 index f4b1ec1446..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/persist-store.bb6871e4.js +++ /dev/null @@ -1 +0,0 @@ -import{w as I}from"./index.255b7490.js";import{p as S,s as p}from"./parse-with-big-int.02af2f95.js";const m=e=>typeof e=="function";function y(e,a=null,u=!1){var l,c;let n=m(a)?a():a,o;try{(l=window==null?void 0:window.localStorage)!=null&&l.getItem(e)&&(n=S(((c=window==null?void 0:window.localStorage)==null?void 0:c.getItem(e))??""))}catch{n=null}const{subscribe:g,set:i,update:f}=I(n);if(u)try{o=new BroadcastChannel(`persist-store-${e}`),o==null||o.addEventListener("message",t=>{i(t.data)})}catch{console.error("Browser does not support BroadcastChannel")}return{subscribe:g,set:t=>{var r,s;o&&o.postMessage(t),t===null?(r=window==null?void 0:window.localStorage)==null||r.removeItem(e):(s=window==null?void 0:window.localStorage)==null||s.setItem(e,p(t)),i(t)},update:t=>{var r;(r=window==null?void 0:window.localStorage)==null||r.removeItem(e),f(s=>{var d;const w=t(s);return(d=window==null?void 0:window.localStorage)==null||d.setItem(e,p(w)),w})}}}export{m as i,y as p}; diff --git a/ui/assets/cloud/_app/immutable/chunks/route-for-api.5906c1df.js b/ui/assets/cloud/_app/immutable/chunks/route-for-api.5906c1df.js deleted file mode 100644 index 7a6a384ddf..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/route-for-api.5906c1df.js +++ /dev/null @@ -1 +0,0 @@ -import{B as l,e as h,t as C}from"./route-for.5e008fb6.js";import{g as k}from"./auth-user.ead5c000.js";import{w as q}from"./index.255b7490.js";import{t as F}from"./toaster.fda31b2d.js";import{i as R}from"./is-network-error.3dd5226d.js";import{h as I}from"./has.8da86d13.js";import{i as O}from"./persist-store.bb6871e4.js";import{p as W}from"./stores.1f7fa6eb.js";import{K as P}from"./index.d29c66be.js";import{b as N}from"./paths.fd839acd.js";const S=q(null);function _(c=l){const n="",o=!n.startsWith("http");let s="";return o?s=c?window.location.origin+n:"":s=n,s.endsWith("/")&&(s=s.slice(0,-1)),s}const z=(c,n=F,o=S,s=l)=>{throw typeof c=="string"?n.push({variant:"error",message:c}):c.report=!1,c instanceof Error&&n.push({variant:"error",message:c.message}),v(c)&&s&&window.location.assign(h(c==null?void 0:c.message)),b(c)&&s&&window.location.assign(h(c==null?void 0:c.message)),R(c)&&(n.push({variant:"error",message:`${c.statusCode} ${c.statusText}`}),o.set(c)),c},on=(c,n=l)=>{var s;const o=`${c==null?void 0:c.status} ${(s=c==null?void 0:c.body)==null?void 0:s.message}`;if(v(c)&&n){window.location.assign(h(o));return}if(b(c)&&n){window.location.assign(h(o));return}},v=c=>y(c,401),b=c=>y(c,403),y=(c,n)=>I(c,"statusCode")?c.statusCode===n:I(c,"status")?c.status===n:!1,sn=c=>(c==null?void 0:c.message)!==void 0&&typeof(c==null?void 0:c.message)=="string",un=async(c,n={})=>{const{params:o={},request:s=fetch,token:w,notifyOnError:u=!0,handleError:f=z,onError:$,isBrowser:g=l}=n;let{options:t}=n;const T=w?{next_page_token:w}:{},U=new URLSearchParams({...o,...T}),E=C(c,U);try{t=L(t,g),t=await B(t,g);const i=await s(E,t),d=await i.json(),{status:A,statusText:x}=i;if(!i.ok)if($&&O($))$({status:A,statusText:x,body:d});else throw{statusCode:i.status,statusText:i.statusText,response:i,message:(d==null?void 0:d.message)??i.statusText};return d}catch(i){if(u)f(i);else throw i}},L=(c,n=l)=>{const o={credentials:"include",...c};return o.headers=H(c==null?void 0:c.headers,n),o},B=async(c,n=l)=>(k().accessToken?(c.headers=await e(c==null?void 0:c.headers,async()=>k().accessToken,n),c.headers=K(c==null?void 0:c.headers,k().idToken,n)):globalThis!=null&&globalThis.AccessToken&&(c.headers=await e(c==null?void 0:c.headers,globalThis.AccessToken,n)),c),e=async(c,n,o=l)=>{if(c||(c={}),!o)return c;try{const s=await n();s&&(c.Authorization=`Bearer ${s}`)}catch(s){console.error(s)}return c},K=(c={},n,o=l)=>(o&&n&&(c["Authorization-Extras"]=n),c),H=(c,n=l)=>{if(c||(c={}),!n)return c;const o="_csrf=",s="X-CSRF-TOKEN";try{let u=document.cookie.split(";").find(f=>f.includes(o));u&&!c[s]&&(u=u.trim().slice(o.length),c[s]=u)}catch(w){console.error(w)}return c},X=(c,n)=>c?c.replace("%namespace%",n):"",D=c=>{var u,f;let n="";const o=(u=P(W).data)==null?void 0:u.webUrl,s=o&&c,w=((f=globalThis==null?void 0:globalThis.AppConfig)==null?void 0:f.apiUrl)&&c;return s?n=o:w?(console.warn("Using fallback api url, web url not found"),n=X(globalThis.AppConfig.apiUrl,c)):n=_(),n.endsWith("/")&&(n=n.slice(0,-1)),n=`${n}${N}`,n},G=c=>(c.startsWith("/")&&(c=c.slice(1)),`/api/v1/${c}`),J=(c,n)=>`${D(n)}${c}`,M=c=>Object.keys(c??{}).reduce((n,o)=>(n[o]=encodeURIComponent(encodeURIComponent(c[o])),n),{namespace:"",workflowId:"",scheduleId:"",runId:"",queue:"",activityId:""});function Q(c,n,o=!0){o&&(n=M(n));const s={cluster:"/cluster","events.ascending":`/namespaces/${n==null?void 0:n.namespace}/workflows/${n==null?void 0:n.workflowId}/runs/${n==null?void 0:n.runId}/events`,"events.descending":`/namespaces/${n==null?void 0:n.namespace}/workflows/${n==null?void 0:n.workflowId}/runs/${n==null?void 0:n.runId}/events/reverse`,namespaces:"/namespaces",namespace:`/namespaces/${n==null?void 0:n.namespace}`,query:`/namespaces/${n==null?void 0:n.namespace}/workflows/${n==null?void 0:n.workflowId}/runs/${n==null?void 0:n.runId}/query`,"schedule.delete":`/namespaces/${n==null?void 0:n.namespace}/schedules/${n==null?void 0:n.scheduleId}`,schedule:`/namespaces/${n==null?void 0:n.namespace}/schedules/${n==null?void 0:n.scheduleId}`,schedules:`/namespaces/${n==null?void 0:n.namespace}/schedules`,"search-attributes":`/namespaces/${n.namespace}/search-attributes`,settings:"/settings","task-queue":`/namespaces/${n==null?void 0:n.namespace}/task-queues/${n==null?void 0:n.queue}`,user:"/me","workflow.terminate":`/namespaces/${n==null?void 0:n.namespace}/workflows/${n==null?void 0:n.workflowId}/runs/${n==null?void 0:n.runId}/terminate`,"workflow.cancel":`/namespaces/${n.namespace}/workflows/${n.workflowId}/runs/${n.runId}/cancel`,"workflow.signal":`/namespaces/${n.namespace}/workflows/${n.workflowId}/runs/${n.runId}/signal`,"workflow.reset":`/namespaces/${n.namespace}/workflows/${n.workflowId}/runs/${n.runId}/reset`,workflow:`/namespaces/${n==null?void 0:n.namespace}/workflows/${n==null?void 0:n.workflowId}/runs/${n==null?void 0:n.runId}`,"workflows.archived":`/namespaces/${n==null?void 0:n.namespace}/workflows/archived`,workflows:`/namespaces/${n==null?void 0:n.namespace}/workflows`,"workflows.count":`/namespaces/${n==null?void 0:n.namespace}/workflows/count`,"activity.complete":`/namespaces/${n.namespace}/workflows/${n.workflowId}/runs/${n.runId}/activities/${n.activityId}/complete`,"activity.fail":`/namespaces/${n.namespace}/workflows/${n.workflowId}/runs/${n.runId}/activities/${n.activityId}/fail`,"batch-operations":`/namespaces/${n.namespace}/batch-operations`,"batch-operation.describe":`/namespaces/${n.namespace}/batch-operations/describe`};return G(s[c])}function ln(c,n,o=!0){const s=Q(c,n,o);return J(s,n==null?void 0:n.namespace)}export{un as a,D as b,on as c,b as d,sn as e,_ as g,z as h,v as i,S as n,Q as p,ln as r}; diff --git a/ui/assets/cloud/_app/immutable/chunks/schedule-form-view.9e09dcb7.js b/ui/assets/cloud/_app/immutable/chunks/schedule-form-view.9e09dcb7.js deleted file mode 100644 index 1ede7ce521..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/schedule-form-view.9e09dcb7.js +++ /dev/null @@ -1,7 +0,0 @@ -import{S as $e,b as be,a as we,G as $t,O as Ye,m as D,p as W,q as T,k as g,R as tt,T as ve,f as U,H as bt,I as wt,J as kt,V as Mt,j as E,g as S,a5 as nt,ae as St,L as Re,P as Dt,A as F,Y as Q,w as Z,c as V,C as A,x as X,d as C,D as B,u as L,M as v,E as H,Z as j,F as N,y as yt,n as Ie,a7 as Fe,U as je,ac as Ke,z as ze,h as Ge,ai as Wt,_ as st,v as It}from"./index.d29c66be.js";import{e as Je,l as Tt}from"./schedules.9f53df59.js";import{A as Vt}from"./alert.bf61782e.js";import{I as Ct}from"./icon.5aa23970.js";import{B as Pt}from"./button.e7112b29.js";import{L as At}from"./loading.9b5a6a67.js";import{I as ge}from"./input.0adb9ec6.js";import{c as Bt,T as Ht,a as Nt,b as Ne}from"./tab-list.bd3b7764.js";import{M as Lt,a as Rt,b as Ut,c as qe}from"./menu-item.be414f05.js";import{g as Qe,w as lt,m as it}from"./calendar.81d1e381.js";import{T as qt,a as ut}from"./toggle-buttons.8fcf9ebe.js";import{p as Ot}from"./stores.1f7fa6eb.js";import{S as Ft}from"./schedule-frequency.0254bcb6.js";import{o as Qt,c as jt}from"./route-for.5e008fb6.js";function Kt(n){let e,t;const s=n[7].default,i=$t(s,n,n[6],null);let r=[{id:n[0]},{"aria-labelledby":n[1]},{tabindex:"0"},{role:"tabpanel"},n[4]],a={};for(let f=0;ft(5,a=m)),o(u),n.$$set=m=>{e=Ye(Ye({},e),Dt(m)),t(4,r=nt(e,i)),"id"in m&&t(0,u=m.id),"tabId"in m&&t(1,c=m.tabId),"$$scope"in m&&t(6,l=m.$$scope)},n.$$.update=()=>{n.$$.dirty&33&&t(2,s=a===u)},[u,c,s,d,r,a,l,f]}class Le extends $e{constructor(e){super(),be(this,e,zt,Kt,we,{id:0,tabId:1})}}function Gt(n){let e;return{c(){e=Z(n[6])},l(t){e=X(t,n[6])},m(t,s){U(t,e,s)},p(t,s){s&64&&yt(e,t[6])},d(t){t&&g(e)}}}function Jt(n){let e;return{c(){e=Z("days")},l(t){e=X(t,"days")},m(t,s){U(t,e,s)},d(t){t&&g(e)}}}function Yt(n){let e;return{c(){e=Z("hrs")},l(t){e=X(t,"hrs")},m(t,s){U(t,e,s)},d(t){t&&g(e)}}}function Zt(n){let e;return{c(){e=Z("min")},l(t){e=X(t,"min")},m(t,s){U(t,e,s)},d(t){t&&g(e)}}}function Xt(n){let e;return{c(){e=Z("sec")},l(t){e=X(t,"sec")},m(t,s){U(t,e,s)},d(t){t&&g(e)}}}function xt(n){let e,t,s,i,r,a,f,l;return e=new qe({props:{$$slots:{default:[Jt]},$$scope:{ctx:n}}}),e.$on("click",n[14]),s=new qe({props:{$$slots:{default:[Yt]},$$scope:{ctx:n}}}),s.$on("click",n[15]),r=new qe({props:{$$slots:{default:[Zt]},$$scope:{ctx:n}}}),r.$on("click",n[16]),f=new qe({props:{$$slots:{default:[Xt]},$$scope:{ctx:n}}}),f.$on("click",n[17]),{c(){A(e.$$.fragment),t=V(),A(s.$$.fragment),i=V(),A(r.$$.fragment),a=V(),A(f.$$.fragment)},l(u){B(e.$$.fragment,u),t=C(u),B(s.$$.fragment,u),i=C(u),B(r.$$.fragment,u),a=C(u),B(f.$$.fragment,u)},m(u,c){H(e,u,c),U(u,t,c),H(s,u,c),U(u,i,c),H(r,u,c),U(u,a,c),H(f,u,c),l=!0},p(u,c){const o={};c&262144&&(o.$$scope={dirty:c,ctx:u}),e.$set(o);const d={};c&262144&&(d.$$scope={dirty:c,ctx:u}),s.$set(d);const m={};c&262144&&(m.$$scope={dirty:c,ctx:u}),r.$set(m);const p={};c&262144&&(p.$$scope={dirty:c,ctx:u}),f.$set(p)},i(u){l||(E(e.$$.fragment,u),E(s.$$.fragment,u),E(r.$$.fragment,u),E(f.$$.fragment,u),l=!0)},o(u){S(e.$$.fragment,u),S(s.$$.fragment,u),S(r.$$.fragment,u),S(f.$$.fragment,u),l=!1},d(u){N(e,u),u&&g(t),N(s,u),u&&g(i),N(r,u),u&&g(a),N(f,u)}}}function en(n){let e,t,s,i;return e=new Rt({props:{hasIndicator:!0,id:"phase",controls:"phase-menu",class:"rounded-r bg-offWhite border border-primary border-l-0 h-10 w-16 px-2",$$slots:{default:[Gt]},$$scope:{ctx:n}}}),s=new Ut({props:{id:"phase-menu",$$slots:{default:[xt]},$$scope:{ctx:n}}}),{c(){A(e.$$.fragment),t=V(),A(s.$$.fragment)},l(r){B(e.$$.fragment,r),t=C(r),B(s.$$.fragment,r)},m(r,a){H(e,r,a),U(r,t,a),H(s,r,a),i=!0},p(r,a){const f={};a&262208&&(f.$$scope={dirty:a,ctx:r}),e.$set(f);const l={};a&262144&&(l.$$scope={dirty:a,ctx:r}),s.$set(l)},i(r){i||(E(e.$$.fragment,r),E(s.$$.fragment,r),i=!0)},o(r){S(e.$$.fragment,r),S(s.$$.fragment,r),i=!1},d(r){N(e,r),r&&g(t),N(s,r)}}}function tn(n){let e,t,s,i,r,a,f,l,u,c,o,d,m,p,O,k,I,R,q,h,$,K,x,J,ue,P,w,z,ne,G,Y,fe,ae,le,oe,de,y,ee,pe,ce,he,ke,Oe,_e,ye;function Ee(M){n[9](M)}let Me={id:"days",placeholder:"00",suffix:"days",maxLength:3,error:n[7](n[0])};n[0]!==void 0&&(Me.value=n[0]),c=new ge({props:Me}),F.push(()=>Q(c,"value",Ee));function Ve(M){n[10](M)}let Se={id:"hour",placeholder:"00",suffix:"hrs",maxLength:2,error:n[7](n[1])};n[1]!==void 0&&(Se.value=n[1]),I=new ge({props:Se}),F.push(()=>Q(I,"value",Ve));function Ce(M){n[11](M)}let De={id:"minute",placeholder:"00",suffix:"min",maxLength:2,error:n[7](n[2])};n[2]!==void 0&&(De.value=n[2]),J=new ge({props:De}),F.push(()=>Q(J,"value",Ce));function Pe(M){n[12](M)}let We={id:"second",placeholder:"00",suffix:"sec",maxLength:2,error:n[7](n[3])};n[3]!==void 0&&(We.value=n[3]),Y=new ge({props:We}),F.push(()=>Q(Y,"value",Pe));function Ae(M){n[13](M)}let Te={id:"phase",placeholder:"00",error:n[7](n[4]),unroundRight:!0,class:"h-10"};return n[5]!==void 0&&(Te.value=n[5]),he=new ge({props:Te}),F.push(()=>Q(he,"value",Ae)),_e=new Lt({props:{$$slots:{default:[en]},$$scope:{ctx:n}}}),{c(){e=D("div"),t=D("h3"),s=Z("Recurring Time"),i=V(),r=D("p"),a=Z(`Specify the time interval for this schedule to run (for example every 5 - minutes).`),f=V(),l=D("div"),u=D("div"),A(c.$$.fragment),d=V(),m=D("div"),p=Z(":"),O=V(),k=D("div"),A(I.$$.fragment),q=V(),h=D("div"),$=Z(":"),K=V(),x=D("div"),A(J.$$.fragment),P=V(),w=D("div"),z=Z(":"),ne=V(),G=D("div"),A(Y.$$.fragment),ae=V(),le=D("h3"),oe=Z("Offset"),de=V(),y=D("p"),ee=Z(`Specify the time to offset when this schedule will run (for example 15 min - past the hour).`),pe=V(),ce=D("div"),A(he.$$.fragment),Oe=V(),A(_e.$$.fragment),this.h()},l(M){e=W(M,"DIV",{class:!0});var _=T(e);t=W(_,"H3",{class:!0});var b=T(t);s=X(b,"Recurring Time"),b.forEach(g),i=C(_),r=W(_,"P",{});var re=T(r);a=X(re,`Specify the time interval for this schedule to run (for example every 5 - minutes).`),re.forEach(g),f=C(_),l=W(_,"DIV",{class:!0});var te=T(l);u=W(te,"DIV",{class:!0});var se=T(u);B(c.$$.fragment,se),se.forEach(g),d=C(te),m=W(te,"DIV",{});var me=T(m);p=X(me,":"),me.forEach(g),O=C(te),k=W(te,"DIV",{class:!0});var ie=T(k);B(I.$$.fragment,ie),ie.forEach(g),q=C(te),h=W(te,"DIV",{});var Be=T(h);$=X(Be,":"),Be.forEach(g),K=C(te),x=W(te,"DIV",{class:!0});var He=T(x);B(J.$$.fragment,He),He.forEach(g),P=C(te),w=W(te,"DIV",{});var Ze=T(w);z=X(Ze,":"),Ze.forEach(g),ne=C(te),G=W(te,"DIV",{class:!0});var Xe=T(G);B(Y.$$.fragment,Xe),Xe.forEach(g),te.forEach(g),ae=C(_),le=W(_,"H3",{class:!0});var xe=T(le);oe=X(xe,"Offset"),xe.forEach(g),de=C(_),y=W(_,"P",{});var et=T(y);ee=X(et,`Specify the time to offset when this schedule will run (for example 15 min - past the hour).`),et.forEach(g),pe=C(_),ce=W(_,"DIV",{class:!0});var Ue=T(ce);B(he.$$.fragment,Ue),Oe=C(Ue),B(_e.$$.fragment,Ue),Ue.forEach(g),_.forEach(g),this.h()},h(){L(t,"class","text-lg font-medium"),L(u,"class","w-24"),L(k,"class","w-24"),L(x,"class","w-24"),L(G,"class","w-24"),L(l,"class","flex flex-row items-center gap-2"),L(le,"class","mt-4 text-lg font-medium"),L(ce,"class","flex w-40 gap-0"),L(e,"class","my-2 flex flex-col gap-4")},m(M,_){U(M,e,_),v(e,t),v(t,s),v(e,i),v(e,r),v(r,a),v(e,f),v(e,l),v(l,u),H(c,u,null),v(l,d),v(l,m),v(m,p),v(l,O),v(l,k),H(I,k,null),v(l,q),v(l,h),v(h,$),v(l,K),v(l,x),H(J,x,null),v(l,P),v(l,w),v(w,z),v(l,ne),v(l,G),H(Y,G,null),v(e,ae),v(e,le),v(le,oe),v(e,de),v(e,y),v(y,ee),v(e,pe),v(e,ce),H(he,ce,null),v(ce,Oe),H(_e,ce,null),ye=!0},p(M,[_]){const b={};_&1&&(b.error=M[7](M[0])),!o&&_&1&&(o=!0,b.value=M[0],j(()=>o=!1)),c.$set(b);const re={};_&2&&(re.error=M[7](M[1])),!R&&_&2&&(R=!0,re.value=M[1],j(()=>R=!1)),I.$set(re);const te={};_&4&&(te.error=M[7](M[2])),!ue&&_&4&&(ue=!0,te.value=M[2],j(()=>ue=!1)),J.$set(te);const se={};_&8&&(se.error=M[7](M[3])),!fe&&_&8&&(fe=!0,se.value=M[3],j(()=>fe=!1)),Y.$set(se);const me={};_&16&&(me.error=M[7](M[4])),!ke&&_&32&&(ke=!0,me.value=M[5],j(()=>ke=!1)),he.$set(me);const ie={};_&262208&&(ie.$$scope={dirty:_,ctx:M}),_e.$set(ie)},i(M){ye||(E(c.$$.fragment,M),E(I.$$.fragment,M),E(J.$$.fragment,M),E(Y.$$.fragment,M),E(he.$$.fragment,M),E(_e.$$.fragment,M),ye=!0)},o(M){S(c.$$.fragment,M),S(I.$$.fragment,M),S(J.$$.fragment,M),S(Y.$$.fragment,M),S(he.$$.fragment,M),S(_e.$$.fragment,M),ye=!1},d(M){M&&g(e),N(c),N(I),N(J),N(Y),N(he),N(_e)}}}function nn(n,e,t){let{days:s=""}=e,{hour:i=""}=e,{minute:r=""}=e,{second:a=""}=e,{phase:f=""}=e,l="",u="min";const c=$=>$?isNaN(parseInt($)):!1,o=$=>{t(6,u=$)};function d($){s=$,t(0,s)}function m($){i=$,t(1,i)}function p($){r=$,t(2,r)}function O($){a=$,t(3,a)}function k($){l=$,t(5,l)}const I=()=>o("days"),R=()=>o("hrs"),q=()=>o("min"),h=()=>o("sec");return n.$$set=$=>{"days"in $&&t(0,s=$.days),"hour"in $&&t(1,i=$.hour),"minute"in $&&t(2,r=$.minute),"second"in $&&t(3,a=$.second),"phase"in $&&t(4,f=$.phase)},n.$$.update=()=>{n.$$.dirty&96&&l&&(u==="days"?t(4,f=(parseInt(l)*60*60*24).toString()+"s"):u==="hrs"?t(4,f=(parseInt(l)*60*60).toString()+"s"):u==="min"?t(4,f=(parseInt(l)*60).toString()+"s"):u==="sec"&&t(4,f=parseInt(l).toString()+"s"))},[s,i,r,a,f,l,u,c,o,d,m,p,O,k,I,R,q,h]}class sn extends $e{constructor(e){super(),be(this,e,nn,tn,we,{days:0,hour:1,minute:2,second:3,phase:4})}}function rt(n,e,t){const s=n.slice();return s[4]=e[t].label,s[5]=e[t].value,s}function ft(n,e,t){const s=n.slice();return s[4]=e[t].label,s[5]=e[t].value,s}function at(n){let e,t=n[4]+"",s,i,r;function a(...f){return n[2](n[5],...f)}return{c(){e=D("button"),s=Z(t),this.h()},l(f){e=W(f,"BUTTON",{class:!0});var l=T(e);s=X(l,t),l.forEach(g),this.h()},h(){L(e,"class","cell svelte-xr91x7"),ve(e,"active",n[0].includes(n[5]))},m(f,l){U(f,e,l),v(e,s),i||(r=je(e,"click",Ke(a)),i=!0)},p(f,l){n=f,l&1&&ve(e,"active",n[0].includes(n[5]))},d(f){f&&g(e),i=!1,r()}}}function ot(n){let e,t=n[4]+"",s,i,r;function a(...f){return n[3](n[5],...f)}return{c(){e=D("button"),s=Z(t),this.h()},l(f){e=W(f,"BUTTON",{class:!0});var l=T(e);s=X(l,t),l.forEach(g),this.h()},h(){L(e,"class","cell svelte-xr91x7"),ve(e,"active",n[0].includes(n[5]))},m(f,l){U(f,e,l),v(e,s),i||(r=je(e,"click",Ke(a)),i=!0)},p(f,l){n=f,l&1&&ve(e,"active",n[0].includes(n[5]))},d(f){f&&g(e),i=!1,r()}}}function ln(n){let e,t,s,i,r=Qe,a=[];for(let u=0;u{f.metaKey?(Qe.find(u=>u.value===l)?t(0,s=[l]):s.find(u=>Qe.find(c=>c.value===u))&&t(0,s=[l]),s.includes(l)?s.filter(u=>u!==l):t(0,s=[...s,l])):t(0,s=[l])},r=(f,l)=>i(l,f),a=(f,l)=>i(l,f);return n.$$set=f=>{"daysOfWeek"in f&&t(0,s=f.daysOfWeek)},[s,i,r,a]}class rn extends $e{constructor(e){super(),be(this,e,un,ln,we,{daysOfWeek:0})}}function fn(n){let e;return{c(){e=Z("AM")},l(t){e=X(t,"AM")},m(t,s){U(t,e,s)},d(t){t&&g(e)}}}function an(n){let e;return{c(){e=Z("PM")},l(t){e=X(t,"PM")},m(t,s){U(t,e,s)},d(t){t&&g(e)}}}function on(n){let e,t,s,i;return e=new ut({props:{active:n[2]==="AM",$$slots:{default:[fn]},$$scope:{ctx:n}}}),e.$on("click",n[7]),s=new ut({props:{active:n[2]==="PM",$$slots:{default:[an]},$$scope:{ctx:n}}}),s.$on("click",n[8]),{c(){A(e.$$.fragment),t=V(),A(s.$$.fragment)},l(r){B(e.$$.fragment,r),t=C(r),B(s.$$.fragment,r)},m(r,a){H(e,r,a),U(r,t,a),H(s,r,a),i=!0},p(r,a){const f={};a&4&&(f.active=r[2]==="AM"),a&512&&(f.$$scope={dirty:a,ctx:r}),e.$set(f);const l={};a&4&&(l.active=r[2]==="PM"),a&512&&(l.$$scope={dirty:a,ctx:r}),s.$set(l)},i(r){i||(E(e.$$.fragment,r),E(s.$$.fragment,r),i=!0)},o(r){S(e.$$.fragment,r),S(s.$$.fragment,r),i=!1},d(r){N(e,r),r&&g(t),N(s,r)}}}function cn(n){let e,t,s,i,r,a,f,l,u,c,o,d,m,p,O,k,I,R,q,h,$,K;function x(w){n[5](w)}let J={id:"hour",placeholder:"00",suffix:"hrs",maxLength:2,error:n[3](n[1],12)};n[1]!==void 0&&(J.value=n[1]),c=new ge({props:J}),F.push(()=>Q(c,"value",x));function ue(w){n[6](w)}let P={id:"minute",placeholder:"00",suffix:"min",maxLength:2,error:n[3](n[0],59)};return n[0]!==void 0&&(P.value=n[0]),I=new ge({props:P}),F.push(()=>Q(I,"value",ue)),$=new qt({props:{$$slots:{default:[on]},$$scope:{ctx:n}}}),{c(){e=D("div"),t=D("h3"),s=Z("Time"),i=V(),r=D("p"),a=Z(`Specify the time (UTC) for this schedule to run. By default, the schedule - will run at 12:00am UTC if left blank.`),f=V(),l=D("div"),u=D("div"),A(c.$$.fragment),d=V(),m=D("div"),p=Z(":"),O=V(),k=D("div"),A(I.$$.fragment),q=V(),h=D("div"),A($.$$.fragment),this.h()},l(w){e=W(w,"DIV",{class:!0});var z=T(e);t=W(z,"H3",{class:!0});var ne=T(t);s=X(ne,"Time"),ne.forEach(g),i=C(z),r=W(z,"P",{});var G=T(r);a=X(G,`Specify the time (UTC) for this schedule to run. By default, the schedule - will run at 12:00am UTC if left blank.`),G.forEach(g),f=C(z),l=W(z,"DIV",{class:!0});var Y=T(l);u=W(Y,"DIV",{class:!0});var fe=T(u);B(c.$$.fragment,fe),fe.forEach(g),d=C(Y),m=W(Y,"DIV",{});var ae=T(m);p=X(ae,":"),ae.forEach(g),O=C(Y),k=W(Y,"DIV",{class:!0});var le=T(k);B(I.$$.fragment,le),le.forEach(g),q=C(Y),h=W(Y,"DIV",{class:!0});var oe=T(h);B($.$$.fragment,oe),oe.forEach(g),Y.forEach(g),z.forEach(g),this.h()},h(){L(t,"class","text-lg font-medium"),L(u,"class","w-24"),L(k,"class","w-24"),L(h,"class","ml-2"),L(l,"class","flex flex-row items-center gap-2"),L(e,"class","flex flex-col gap-4")},m(w,z){U(w,e,z),v(e,t),v(t,s),v(e,i),v(e,r),v(r,a),v(e,f),v(e,l),v(l,u),H(c,u,null),v(l,d),v(l,m),v(m,p),v(l,O),v(l,k),H(I,k,null),v(l,q),v(l,h),H($,h,null),K=!0},p(w,[z]){const ne={};z&2&&(ne.error=w[3](w[1],12)),!o&&z&2&&(o=!0,ne.value=w[1],j(()=>o=!1)),c.$set(ne);const G={};z&1&&(G.error=w[3](w[0],59)),!R&&z&1&&(R=!0,G.value=w[0],j(()=>R=!1)),I.$set(G);const Y={};z&516&&(Y.$$scope={dirty:z,ctx:w}),$.$set(Y)},i(w){K||(E(c.$$.fragment,w),E(I.$$.fragment,w),E($.$$.fragment,w),K=!0)},o(w){S(c.$$.fragment,w),S(I.$$.fragment,w),S($.$$.fragment,w),K=!1},d(w){w&&g(e),N(c),N(I),N($)}}}function dn(n,e,t){let{hour:s=""}=e,{minute:i=""}=e,r="",a="AM";const f=(d,m)=>d?isNaN(parseInt(d))||parseInt(d)>m:!1;function l(d){r=d,t(1,r)}function u(d){i=d,t(0,i)}const c=()=>t(2,a="AM"),o=()=>t(2,a="PM");return n.$$set=d=>{"hour"in d&&t(4,s=d.hour),"minute"in d&&t(0,i=d.minute)},n.$$.update=()=>{n.$$.dirty&6&&(r?r==="12"?t(4,s=a==="AM"?"00":"12"):a==="PM"?t(4,s=(parseInt(r)+12).toString()):t(4,s=r):t(4,s=""))},[i,r,a,f,s,l,u,c,o]}class Et extends $e{constructor(e){super(),be(this,e,dn,cn,we,{hour:4,minute:0})}}function hn(n){let e,t,s,i,r,a,f,l,u,c,o,d,m,p;function O(h){n[3](h)}let k={};n[0]!==void 0&&(k.daysOfWeek=n[0]),l=new rn({props:k}),F.push(()=>Q(l,"daysOfWeek",O));function I(h){n[4](h)}function R(h){n[5](h)}let q={};return n[1]!==void 0&&(q.hour=n[1]),n[2]!==void 0&&(q.minute=n[2]),o=new Et({props:q}),F.push(()=>Q(o,"hour",I)),F.push(()=>Q(o,"minute",R)),{c(){e=D("div"),t=D("h3"),s=Z("Recurring day(s)"),i=V(),r=D("p"),a=Z("Select the day(s) of the week this schedule will always run on."),f=V(),A(l.$$.fragment),c=V(),A(o.$$.fragment),this.h()},l(h){e=W(h,"DIV",{class:!0});var $=T(e);t=W($,"H3",{class:!0});var K=T(t);s=X(K,"Recurring day(s)"),K.forEach(g),i=C($),r=W($,"P",{});var x=T(r);a=X(x,"Select the day(s) of the week this schedule will always run on."),x.forEach(g),f=C($),B(l.$$.fragment,$),$.forEach(g),c=C(h),B(o.$$.fragment,h),this.h()},h(){L(t,"class","text-lg font-medium"),L(e,"class","my-2 flex flex-col gap-4")},m(h,$){U(h,e,$),v(e,t),v(t,s),v(e,i),v(e,r),v(r,a),v(e,f),H(l,e,null),U(h,c,$),H(o,h,$),p=!0},p(h,[$]){const K={};!u&&$&1&&(u=!0,K.daysOfWeek=h[0],j(()=>u=!1)),l.$set(K);const x={};!d&&$&2&&(d=!0,x.hour=h[1],j(()=>d=!1)),!m&&$&4&&(m=!0,x.minute=h[2],j(()=>m=!1)),o.$set(x)},i(h){p||(E(l.$$.fragment,h),E(o.$$.fragment,h),p=!0)},o(h){S(l.$$.fragment,h),S(o.$$.fragment,h),p=!1},d(h){h&&g(e),N(l),h&&g(c),N(o,h)}}}function _n(n,e,t){let{daysOfWeek:s}=e,{hour:i}=e,{minute:r}=e;function a(u){s=u,t(0,s)}function f(u){i=u,t(1,i)}function l(u){r=u,t(2,r)}return n.$$set=u=>{"daysOfWeek"in u&&t(0,s=u.daysOfWeek),"hour"in u&&t(1,i=u.hour),"minute"in u&&t(2,r=u.minute)},[s,i,r,a,f,l]}class mn extends $e{constructor(e){super(),be(this,e,_n,hn,we,{daysOfWeek:0,hour:1,minute:2})}}function ct(n,e,t){const s=n.slice();return s[4]=e[t],s}function dt(n){let e,t=n[4]+"",s,i,r;function a(...f){return n[3](n[4],...f)}return{c(){e=D("button"),s=Z(t),this.h()},l(f){e=W(f,"BUTTON",{class:!0});var l=T(e);s=X(l,t),l.forEach(g),this.h()},h(){L(e,"class","cell svelte-c8o885"),ve(e,"active",n[0].includes(n[4]))},m(f,l){U(f,e,l),v(e,s),i||(r=je(e,"click",Ke(a)),i=!0)},p(f,l){n=f,l&3&&ve(e,"active",n[0].includes(n[4]))},d(f){f&&g(e),i=!1,r()}}}function gn(n){let e,t,s=n[1],i=[];for(let r=0;rl+1);let{daysOfMonth:i}=e;const r=(f,l)=>{f.metaKey?i.includes(l)?i.filter(u=>u!==l):t(0,i=[...i,l]):t(0,i=[l])},a=(f,l)=>r(l,f);return n.$$set=f=>{"daysOfMonth"in f&&t(0,i=f.daysOfMonth)},[i,s,r,a]}class vn extends $e{constructor(e){super(),be(this,e,pn,gn,we,{daysOfMonth:0})}}function ht(n,e,t){const s=n.slice();return s[3]=e[t].label,s[4]=e[t].value,s}function _t(n){let e,t=n[3]+"",s,i,r,a;function f(...l){return n[2](n[4],...l)}return{c(){e=D("button"),s=Z(t),i=V(),this.h()},l(l){e=W(l,"BUTTON",{class:!0});var u=T(e);s=X(u,t),i=C(u),u.forEach(g),this.h()},h(){L(e,"class","cell svelte-hc9i32"),ve(e,"active",n[0].includes(n[4]))},m(l,u){U(l,e,u),v(e,s),v(e,i),r||(a=je(e,"click",Ke(f)),r=!0)},p(l,u){n=l,u&1&&ve(e,"active",n[0].includes(n[4]))},d(l){l&&g(e),r=!1,a()}}}function $n(n){let e,t=it,s=[];for(let i=0;i{a.metaKey&&f!=="*"?(s.includes("*")&&t(0,s=s.filter(l=>l!=="*")),s.includes(f)?t(0,s=s.filter(l=>l!==f)):t(0,s=[...s,f])):t(0,s=[f])},r=(a,f)=>i(f,a);return n.$$set=a=>{"months"in a&&t(0,s=a.months)},[s,i,r]}class wn extends $e{constructor(e){super(),be(this,e,bn,$n,we,{months:0})}}function kn(n){let e,t,s,i,r,a,f,l,u,c,o,d,m,p,O,k,I,R;function q(P){n[4](P)}let h={};n[0]!==void 0&&(h.daysOfMonth=n[0]),u=new vn({props:h}),F.push(()=>Q(u,"daysOfMonth",q));function $(P){n[5](P)}let K={};n[1]!==void 0&&(K.months=n[1]),d=new wn({props:K}),F.push(()=>Q(d,"months",$));function x(P){n[6](P)}function J(P){n[7](P)}let ue={};return n[2]!==void 0&&(ue.hour=n[2]),n[3]!==void 0&&(ue.minute=n[3]),O=new Et({props:ue}),F.push(()=>Q(O,"hour",x)),F.push(()=>Q(O,"minute",J)),{c(){e=D("div"),t=D("h3"),s=Z("Recurring date(s)"),i=V(),r=D("p"),a=Z("Select the specific dates for the schedule to always run on."),f=V(),l=D("div"),A(u.$$.fragment),o=V(),A(d.$$.fragment),p=V(),A(O.$$.fragment),this.h()},l(P){e=W(P,"DIV",{class:!0});var w=T(e);t=W(w,"H3",{class:!0});var z=T(t);s=X(z,"Recurring date(s)"),z.forEach(g),i=C(w),r=W(w,"P",{});var ne=T(r);a=X(ne,"Select the specific dates for the schedule to always run on."),ne.forEach(g),f=C(w),l=W(w,"DIV",{class:!0});var G=T(l);B(u.$$.fragment,G),o=C(G),B(d.$$.fragment,G),G.forEach(g),w.forEach(g),p=C(P),B(O.$$.fragment,P),this.h()},h(){L(t,"class","text-lg font-medium"),L(l,"class","flex w-full flex-col gap-4"),L(e,"class","my-2 flex flex-col gap-4")},m(P,w){U(P,e,w),v(e,t),v(t,s),v(e,i),v(e,r),v(r,a),v(e,f),v(e,l),H(u,l,null),v(l,o),H(d,l,null),U(P,p,w),H(O,P,w),R=!0},p(P,[w]){const z={};!c&&w&1&&(c=!0,z.daysOfMonth=P[0],j(()=>c=!1)),u.$set(z);const ne={};!m&&w&2&&(m=!0,ne.months=P[1],j(()=>m=!1)),d.$set(ne);const G={};!k&&w&4&&(k=!0,G.hour=P[2],j(()=>k=!1)),!I&&w&8&&(I=!0,G.minute=P[3],j(()=>I=!1)),O.$set(G)},i(P){R||(E(u.$$.fragment,P),E(d.$$.fragment,P),E(O.$$.fragment,P),R=!0)},o(P){S(u.$$.fragment,P),S(d.$$.fragment,P),S(O.$$.fragment,P),R=!1},d(P){P&&g(e),N(u),N(d),P&&g(p),N(O,P)}}}function yn(n,e,t){let{daysOfMonth:s}=e,{months:i}=e,{hour:r}=e,{minute:a}=e;function f(o){s=o,t(0,s)}function l(o){i=o,t(1,i)}function u(o){r=o,t(2,r)}function c(o){a=o,t(3,a)}return n.$$set=o=>{"daysOfMonth"in o&&t(0,s=o.daysOfMonth),"months"in o&&t(1,i=o.months),"hour"in o&&t(2,r=o.hour),"minute"in o&&t(3,a=o.minute)},[s,i,r,a,f,l,u,c]}class In extends $e{constructor(e){super(),be(this,e,yn,kn,we,{daysOfMonth:0,months:1,hour:2,minute:3})}}const On=n=>({preset:n[0]&1024}),mt=n=>({preset:n[10]});function gt(n){let e,t;return e=new Ne({props:{label:"Existing",id:"existing-tab",panelId:"existing-panel",onClick:n[12]}}),{c(){A(e.$$.fragment)},l(s){B(e.$$.fragment,s)},m(s,i){H(e,s,i),t=!0},p(s,i){const r={};i[0]&1024&&(r.onClick=s[12]),e.$set(r)},i(s){t||(E(e.$$.fragment,s),t=!0)},o(s){S(e.$$.fragment,s),t=!1},d(s){N(e,s)}}}function En(n){let e,t,s,i,r,a,f,l,u,c=n[9]&>(n);return t=new Ne({props:{label:"Interval",id:"interval-tab",panelId:"interval-panel",onClick:n[13]}}),i=new Ne({props:{label:"Days of the Week",id:"daily-tab",panelId:"daily-panel",onClick:n[14]}}),a=new Ne({props:{label:"Days of the Month",id:"monthly-tab",panelId:"monthly-panel",onClick:n[15]}}),l=new Ne({props:{label:"String",id:"string-tab",panelId:"string-panel",onClick:n[16]}}),{c(){c&&c.c(),e=V(),A(t.$$.fragment),s=V(),A(i.$$.fragment),r=V(),A(a.$$.fragment),f=V(),A(l.$$.fragment)},l(o){c&&c.l(o),e=C(o),B(t.$$.fragment,o),s=C(o),B(i.$$.fragment,o),r=C(o),B(a.$$.fragment,o),f=C(o),B(l.$$.fragment,o)},m(o,d){c&&c.m(o,d),U(o,e,d),H(t,o,d),U(o,s,d),H(i,o,d),U(o,r,d),H(a,o,d),U(o,f,d),H(l,o,d),u=!0},p(o,d){o[9]?c?(c.p(o,d),d[0]&512&&E(c,1)):(c=gt(o),c.c(),E(c,1),c.m(e.parentNode,e)):c&&(ze(),S(c,1,1,()=>{c=null}),Ge());const m={};d[0]&1024&&(m.onClick=o[13]),t.$set(m);const p={};d[0]&1024&&(p.onClick=o[14]),i.$set(p);const O={};d[0]&1024&&(O.onClick=o[15]),a.$set(O);const k={};d[0]&1024&&(k.onClick=o[16]),l.$set(k)},i(o){u||(E(c),E(t.$$.fragment,o),E(i.$$.fragment,o),E(a.$$.fragment,o),E(l.$$.fragment,o),u=!0)},o(o){S(c),S(t.$$.fragment,o),S(i.$$.fragment,o),S(a.$$.fragment,o),S(l.$$.fragment,o),u=!1},d(o){c&&c.d(o),o&&g(e),N(t,o),o&&g(s),N(i,o),o&&g(r),N(a,o),o&&g(f),N(l,o)}}}function pt(n){let e,t;return e=new Le({props:{id:"existing-panel",tabId:"existing-tab",$$slots:{default:[Mn]},$$scope:{ctx:n}}}),{c(){A(e.$$.fragment)},l(s){B(e.$$.fragment,s)},m(s,i){H(e,s,i),t=!0},p(s,i){const r={};i[0]&1073742336&&(r.$$scope={dirty:i,ctx:s}),e.$set(r)},i(s){t||(E(e.$$.fragment,s),t=!0)},o(s){S(e.$$.fragment,s),t=!1},d(s){N(e,s)}}}function Mn(n){var s,i,r,a,f,l;let e,t;return e=new Ft({props:{calendar:(r=(i=(s=n[9])==null?void 0:s.spec)==null?void 0:i.structuredCalendar)==null?void 0:r[0],interval:(l=(f=(a=n[9])==null?void 0:a.spec)==null?void 0:f.interval)==null?void 0:l[0],class:"text-base"}}),{c(){A(e.$$.fragment)},l(u){B(e.$$.fragment,u)},m(u,c){H(e,u,c),t=!0},p(u,c){var d,m,p,O,k,I;const o={};c[0]&512&&(o.calendar=(p=(m=(d=u[9])==null?void 0:d.spec)==null?void 0:m.structuredCalendar)==null?void 0:p[0]),c[0]&512&&(o.interval=(I=(k=(O=u[9])==null?void 0:O.spec)==null?void 0:k.interval)==null?void 0:I[0]),e.$set(o)},i(u){t||(E(e.$$.fragment,u),t=!0)},o(u){S(e.$$.fragment,u),t=!1},d(u){N(e,u)}}}function Sn(n){let e,t,s,i,r,a,f;function l(p){n[17](p)}function u(p){n[18](p)}function c(p){n[19](p)}function o(p){n[20](p)}function d(p){n[21](p)}let m={};return n[3]!==void 0&&(m.days=n[3]),n[4]!==void 0&&(m.hour=n[4]),n[5]!==void 0&&(m.minute=n[5]),n[6]!==void 0&&(m.second=n[6]),n[7]!==void 0&&(m.phase=n[7]),e=new sn({props:m}),F.push(()=>Q(e,"days",l)),F.push(()=>Q(e,"hour",u)),F.push(()=>Q(e,"minute",c)),F.push(()=>Q(e,"second",o)),F.push(()=>Q(e,"phase",d)),{c(){A(e.$$.fragment)},l(p){B(e.$$.fragment,p)},m(p,O){H(e,p,O),f=!0},p(p,O){const k={};!t&&O[0]&8&&(t=!0,k.days=p[3],j(()=>t=!1)),!s&&O[0]&16&&(s=!0,k.hour=p[4],j(()=>s=!1)),!i&&O[0]&32&&(i=!0,k.minute=p[5],j(()=>i=!1)),!r&&O[0]&64&&(r=!0,k.second=p[6],j(()=>r=!1)),!a&&O[0]&128&&(a=!0,k.phase=p[7],j(()=>a=!1)),e.$set(k)},i(p){f||(E(e.$$.fragment,p),f=!0)},o(p){S(e.$$.fragment,p),f=!1},d(p){N(e,p)}}}function Dn(n){let e,t,s,i,r;function a(c){n[22](c)}function f(c){n[23](c)}function l(c){n[24](c)}let u={};return n[0]!==void 0&&(u.daysOfWeek=n[0]),n[4]!==void 0&&(u.hour=n[4]),n[5]!==void 0&&(u.minute=n[5]),e=new mn({props:u}),F.push(()=>Q(e,"daysOfWeek",a)),F.push(()=>Q(e,"hour",f)),F.push(()=>Q(e,"minute",l)),{c(){A(e.$$.fragment)},l(c){B(e.$$.fragment,c)},m(c,o){H(e,c,o),r=!0},p(c,o){const d={};!t&&o[0]&1&&(t=!0,d.daysOfWeek=c[0],j(()=>t=!1)),!s&&o[0]&16&&(s=!0,d.hour=c[4],j(()=>s=!1)),!i&&o[0]&32&&(i=!0,d.minute=c[5],j(()=>i=!1)),e.$set(d)},i(c){r||(E(e.$$.fragment,c),r=!0)},o(c){S(e.$$.fragment,c),r=!1},d(c){N(e,c)}}}function Wn(n){let e,t,s,i,r,a;function f(d){n[25](d)}function l(d){n[26](d)}function u(d){n[27](d)}function c(d){n[28](d)}let o={};return n[1]!==void 0&&(o.daysOfMonth=n[1]),n[2]!==void 0&&(o.months=n[2]),n[4]!==void 0&&(o.hour=n[4]),n[5]!==void 0&&(o.minute=n[5]),e=new In({props:o}),F.push(()=>Q(e,"daysOfMonth",f)),F.push(()=>Q(e,"months",l)),F.push(()=>Q(e,"hour",u)),F.push(()=>Q(e,"minute",c)),{c(){A(e.$$.fragment)},l(d){B(e.$$.fragment,d)},m(d,m){H(e,d,m),a=!0},p(d,m){const p={};!t&&m[0]&2&&(t=!0,p.daysOfMonth=d[1],j(()=>t=!1)),!s&&m[0]&4&&(s=!0,p.months=d[2],j(()=>s=!1)),!i&&m[0]&16&&(i=!0,p.hour=d[4],j(()=>i=!1)),!r&&m[0]&32&&(r=!0,p.minute=d[5],j(()=>r=!1)),e.$set(p)},i(d){a||(E(e.$$.fragment,d),a=!0)},o(d){S(e.$$.fragment,d),a=!1},d(d){N(e,d)}}}function Tn(n){let e,t,s,i,r,a,f,l,u,c;function o(m){n[29](m)}let d={id:"cronString",placeholder:"* * * * *"};return n[8]!==void 0&&(d.value=n[8]),l=new ge({props:d}),F.push(()=>Q(l,"value",o)),{c(){e=D("div"),t=D("h3"),s=Z("String"),i=V(),r=D("p"),a=Z("Write or paste in a cron string to generate a schedule."),f=V(),A(l.$$.fragment),this.h()},l(m){e=W(m,"DIV",{class:!0});var p=T(e);t=W(p,"H3",{class:!0});var O=T(t);s=X(O,"String"),O.forEach(g),i=C(p),r=W(p,"P",{});var k=T(r);a=X(k,"Write or paste in a cron string to generate a schedule."),k.forEach(g),f=C(p),B(l.$$.fragment,p),p.forEach(g),this.h()},h(){L(t,"class","text-lg font-medium"),L(e,"class","my-2 flex w-full flex-col gap-4")},m(m,p){U(m,e,p),v(e,t),v(t,s),v(e,i),v(e,r),v(r,a),v(e,f),H(l,e,null),c=!0},p(m,p){const O={};!u&&p[0]&256&&(u=!0,O.value=m[8],j(()=>u=!1)),l.$set(O)},i(m){c||(E(l.$$.fragment,m),c=!0)},o(m){S(l.$$.fragment,m),c=!1},d(m){m&&g(e),N(l)}}}function Vn(n){let e,t,s,i,r,a,f,l,u,c,o,d,m,p,O,k;i=new Nt({props:{label:"Schedule Tabs",class:"flex flex-wrap gap-6",$$slots:{default:[En]},$$scope:{ctx:n}}});let I=n[9]&&pt(n);l=new Le({props:{id:"interval-panel",tabId:"interval-tab",$$slots:{default:[Sn]},$$scope:{ctx:n}}}),c=new Le({props:{id:"daily-panel",tabId:"daily-tab",$$slots:{default:[Dn]},$$scope:{ctx:n}}}),d=new Le({props:{id:"monthly-panel",tabId:"monthly-tab",$$slots:{default:[Wn]},$$scope:{ctx:n}}}),p=new Le({props:{id:"string-panel",tabId:"string-tab",$$slots:{default:[Tn]},$$scope:{ctx:n}}});const R=n[11].default,q=$t(R,n,n[30],mt);return{c(){e=D("h2"),t=Z("Frequency"),s=V(),A(i.$$.fragment),r=V(),a=D("div"),I&&I.c(),f=V(),A(l.$$.fragment),u=V(),A(c.$$.fragment),o=V(),A(d.$$.fragment),m=V(),A(p.$$.fragment),O=V(),q&&q.c(),this.h()},l(h){e=W(h,"H2",{class:!0});var $=T(e);t=X($,"Frequency"),$.forEach(g),s=C(h),B(i.$$.fragment,h),r=C(h),a=W(h,"DIV",{class:!0});var K=T(a);I&&I.l(K),f=C(K),B(l.$$.fragment,K),u=C(K),B(c.$$.fragment,K),o=C(K),B(d.$$.fragment,K),m=C(K),B(p.$$.fragment,K),K.forEach(g),O=C(h),q&&q.l(h),this.h()},h(){L(e,"class","mb-4 text-2xl"),L(a,"class","mt-4 flex w-full flex-wrap gap-6")},m(h,$){U(h,e,$),v(e,t),U(h,s,$),H(i,h,$),U(h,r,$),U(h,a,$),I&&I.m(a,null),v(a,f),H(l,a,null),v(a,u),H(c,a,null),v(a,o),H(d,a,null),v(a,m),H(p,a,null),U(h,O,$),q&&q.m(h,$),k=!0},p(h,$){const K={};$[0]&1073743360&&(K.$$scope={dirty:$,ctx:h}),i.$set(K),h[9]?I?(I.p(h,$),$[0]&512&&E(I,1)):(I=pt(h),I.c(),E(I,1),I.m(a,f)):I&&(ze(),S(I,1,1,()=>{I=null}),Ge());const x={};$[0]&1073742072&&(x.$$scope={dirty:$,ctx:h}),l.$set(x);const J={};$[0]&1073741873&&(J.$$scope={dirty:$,ctx:h}),c.$set(J);const ue={};$[0]&1073741878&&(ue.$$scope={dirty:$,ctx:h}),d.$set(ue);const P={};$[0]&1073742080&&(P.$$scope={dirty:$,ctx:h}),p.$set(P),q&&q.p&&(!k||$[0]&1073742848)&&bt(q,R,h,h[30],k?kt(R,h[30],$,On):wt(h[30]),mt)},i(h){k||(E(i.$$.fragment,h),E(I),E(l.$$.fragment,h),E(c.$$.fragment,h),E(d.$$.fragment,h),E(p.$$.fragment,h),E(q,h),k=!0)},o(h){S(i.$$.fragment,h),S(I),S(l.$$.fragment,h),S(c.$$.fragment,h),S(d.$$.fragment,h),S(p.$$.fragment,h),S(q,h),k=!1},d(h){h&&g(e),h&&g(s),N(i,h),h&&g(r),h&&g(a),I&&I.d(),N(l),N(c),N(d),N(p),h&&g(O),q&&q.d(h)}}}function Cn(n){let e,t;return e=new Ht({props:{class:"mt-8 w-full",$$slots:{default:[Vn]},$$scope:{ctx:n}}}),{c(){A(e.$$.fragment)},l(s){B(e.$$.fragment,s)},m(s,i){H(e,s,i),t=!0},p(s,i){const r={};i[0]&1073743871&&(r.$$scope={dirty:i,ctx:s}),e.$set(r)},i(s){t||(E(e.$$.fragment,s),t=!0)},o(s){S(e.$$.fragment,s),t=!1},d(s){N(e,s)}}}function Pn(n,e,t){let s;Re(n,Ot,y=>t(31,s=y));let{$$slots:i={},$$scope:r}=e,f=s.params.schedule?"existing":"interval",{schedule:l=null}=e,{daysOfWeek:u}=e,{daysOfMonth:c}=e,{months:o}=e,{days:d}=e,{hour:m}=e,{minute:p}=e,{second:O}=e,{phase:k}=e,{cronString:I}=e;const R=()=>{t(0,u=[]),t(1,c=[]),t(2,o=[]),t(3,d=""),t(4,m=""),t(5,p=""),t(6,O=""),t(7,k=""),t(8,I="")},q=()=>t(10,f="existing"),h=()=>t(10,f="interval"),$=()=>t(10,f="week"),K=()=>t(10,f="month"),x=()=>t(10,f="string");function J(y){d=y,t(3,d)}function ue(y){m=y,t(4,m)}function P(y){p=y,t(5,p)}function w(y){O=y,t(6,O)}function z(y){k=y,t(7,k)}function ne(y){u=y,t(0,u)}function G(y){m=y,t(4,m)}function Y(y){p=y,t(5,p)}function fe(y){c=y,t(1,c)}function ae(y){o=y,t(2,o)}function le(y){m=y,t(4,m)}function oe(y){p=y,t(5,p)}function de(y){I=y,t(8,I)}return n.$$set=y=>{"schedule"in y&&t(9,l=y.schedule),"daysOfWeek"in y&&t(0,u=y.daysOfWeek),"daysOfMonth"in y&&t(1,c=y.daysOfMonth),"months"in y&&t(2,o=y.months),"days"in y&&t(3,d=y.days),"hour"in y&&t(4,m=y.hour),"minute"in y&&t(5,p=y.minute),"second"in y&&t(6,O=y.second),"phase"in y&&t(7,k=y.phase),"cronString"in y&&t(8,I=y.cronString),"$$scope"in y&&t(30,r=y.$$scope)},R(),[u,c,o,d,m,p,O,k,I,l,f,i,q,h,$,K,x,J,ue,P,w,z,ne,G,Y,fe,ae,le,oe,de,r]}class An extends $e{constructor(e){super(),be(this,e,Pn,Cn,we,{schedule:9,daysOfWeek:0,daysOfMonth:1,months:2,days:3,hour:4,minute:5,second:6,phase:7,cronString:8},null,[-1,-1])}}function Bn(n){let e,t,s,i,r,a,f,l,u,c,o,d,m,p,O,k,I,R,q,h,$,K,x,J,ue,P,w,z,ne,G,Y,fe,ae,le,oe,de,y;s=new Ct({props:{name:"chevron-left",class:"inline"}});let ee=n[16]&&vt(n);function pe(_){n[28](_)}let ce={id:"name",label:"Name*",error:n[13].name,maxLength:232,disabled:Boolean(n[18])};n[1]!==void 0&&(ce.value=n[1]),d=new ge({props:ce}),F.push(()=>Q(d,"value",pe)),d.$on("input",n[25]),d.$on("blur",n[26]);function he(_){n[29](_)}let ke={id:"workflowType",label:"Workflow Type*",error:n[13].workflowType};n[2]!==void 0&&(ke.value=n[2]),k=new ge({props:ke}),F.push(()=>Q(k,"value",he)),k.$on("input",n[25]),k.$on("blur",n[26]);function Oe(_){n[30](_)}let _e={id:"workflowId",label:"Workflow Id*",error:n[13].workflowId};n[3]!==void 0&&(_e.value=n[3]),h=new ge({props:_e}),F.push(()=>Q(h,"value",Oe)),h.$on("input",n[25]),h.$on("blur",n[26]);function ye(_){n[31](_)}let Ee={id:"taskQueue",label:"Task Queue*",error:n[13].taskQueue};n[4]!==void 0&&(Ee.value=n[4]),J=new ge({props:Ee}),F.push(()=>Q(J,"value",ye)),J.$on("input",n[25]),J.$on("blur",n[26]);function Me(_){n[33](_)}function Ve(_){n[34](_)}function Se(_){n[35](_)}function Ce(_){n[36](_)}function De(_){n[37](_)}function Pe(_){n[38](_)}function We(_){n[39](_)}function Ae(_){n[40](_)}function Te(_){n[41](_)}let M={schedule:n[0],$$slots:{default:[Rn,({preset:_})=>({55:_}),({preset:_})=>[0,_?16777216:0]]},$$scope:{ctx:n}};return n[5]!==void 0&&(M.daysOfWeek=n[5]),n[6]!==void 0&&(M.daysOfMonth=n[6]),n[7]!==void 0&&(M.months=n[7]),n[8]!==void 0&&(M.days=n[8]),n[9]!==void 0&&(M.hour=n[9]),n[10]!==void 0&&(M.minute=n[10]),n[11]!==void 0&&(M.second=n[11]),n[14]!==void 0&&(M.phase=n[14]),n[12]!==void 0&&(M.cronString=n[12]),w=new An({props:M}),F.push(()=>Q(w,"daysOfWeek",Me)),F.push(()=>Q(w,"daysOfMonth",Ve)),F.push(()=>Q(w,"months",Se)),F.push(()=>Q(w,"days",Ce)),F.push(()=>Q(w,"hour",De)),F.push(()=>Q(w,"minute",Pe)),F.push(()=>Q(w,"second",We)),F.push(()=>Q(w,"phase",Ae)),F.push(()=>Q(w,"cronString",Te)),{c(){e=D("header"),t=D("a"),A(s.$$.fragment),i=Z(n[21]),r=V(),a=D("h1"),f=Z(n[19]),l=V(),u=D("form"),ee&&ee.c(),c=V(),o=D("div"),A(d.$$.fragment),p=V(),O=D("div"),A(k.$$.fragment),R=V(),q=D("div"),A(h.$$.fragment),K=V(),x=D("div"),A(J.$$.fragment),P=V(),A(w.$$.fragment),this.h()},l(_){e=W(_,"HEADER",{class:!0});var b=T(e);t=W(b,"A",{href:!0,class:!0,style:!0});var re=T(t);B(s.$$.fragment,re),i=X(re,n[21]),re.forEach(g),r=C(b),a=W(b,"H1",{class:!0});var te=T(a);f=X(te,n[19]),te.forEach(g),b.forEach(g),l=C(_),u=W(_,"FORM",{class:!0});var se=T(u);ee&&ee.l(se),c=C(se),o=W(se,"DIV",{class:!0});var me=T(o);B(d.$$.fragment,me),me.forEach(g),p=C(se),O=W(se,"DIV",{class:!0});var ie=T(O);B(k.$$.fragment,ie),ie.forEach(g),R=C(se),q=W(se,"DIV",{class:!0});var Be=T(q);B(h.$$.fragment,Be),Be.forEach(g),K=C(se),x=W(se,"DIV",{class:!0});var He=T(x);B(J.$$.fragment,He),He.forEach(g),P=C(se),B(w.$$.fragment,se),se.forEach(g),this.h()},h(){L(t,"href",n[22]),L(t,"class","back absolute top-0 svelte-gjlc10"),It(t,"left","0"),L(a,"class","font-base mt-8 ml-0 text-2xl"),L(e,"class","relative mb-12 flex gap-1"),L(o,"class","w-full"),L(O,"class","w-full"),L(q,"class","w-full"),L(x,"class","w-full"),L(u,"class","mb-4 flex w-full flex-col gap-4 md:w-2/3 xl:w-1/2")},m(_,b){U(_,e,b),v(e,t),H(s,t,null),v(t,i),v(e,r),v(e,a),v(a,f),U(_,l,b),U(_,u,b),ee&&ee.m(u,null),v(u,c),v(u,o),H(d,o,null),v(u,p),v(u,O),H(k,O,null),v(u,R),v(u,q),H(h,q,null),v(u,K),v(u,x),H(J,x,null),v(u,P),H(w,u,null),y=!0},p(_,b){_[16]?ee?(ee.p(_,b),b[0]&65536&&E(ee,1)):(ee=vt(_),ee.c(),E(ee,1),ee.m(u,c)):ee&&(ze(),S(ee,1,1,()=>{ee=null}),Ge());const re={};b[0]&8192&&(re.error=_[13].name),!m&&b[0]&2&&(m=!0,re.value=_[1],j(()=>m=!1)),d.$set(re);const te={};b[0]&8192&&(te.error=_[13].workflowType),!I&&b[0]&4&&(I=!0,te.value=_[2],j(()=>I=!1)),k.$set(te);const se={};b[0]&8192&&(se.error=_[13].workflowId),!$&&b[0]&8&&($=!0,se.value=_[3],j(()=>$=!1)),h.$set(se);const me={};b[0]&8192&&(me.error=_[13].taskQueue),!ue&&b[0]&16&&(ue=!0,me.value=_[4],j(()=>ue=!1)),J.$set(me);const ie={};b[0]&1&&(ie.schedule=_[0]),b[0]&32769|b[1]&50331648&&(ie.$$scope={dirty:b,ctx:_}),!z&&b[0]&32&&(z=!0,ie.daysOfWeek=_[5],j(()=>z=!1)),!ne&&b[0]&64&&(ne=!0,ie.daysOfMonth=_[6],j(()=>ne=!1)),!G&&b[0]&128&&(G=!0,ie.months=_[7],j(()=>G=!1)),!Y&&b[0]&256&&(Y=!0,ie.days=_[8],j(()=>Y=!1)),!fe&&b[0]&512&&(fe=!0,ie.hour=_[9],j(()=>fe=!1)),!ae&&b[0]&1024&&(ae=!0,ie.minute=_[10],j(()=>ae=!1)),!le&&b[0]&2048&&(le=!0,ie.second=_[11],j(()=>le=!1)),!oe&&b[0]&16384&&(oe=!0,ie.phase=_[14],j(()=>oe=!1)),!de&&b[0]&4096&&(de=!0,ie.cronString=_[12],j(()=>de=!1)),w.$set(ie)},i(_){y||(E(s.$$.fragment,_),E(ee),E(d.$$.fragment,_),E(k.$$.fragment,_),E(h.$$.fragment,_),E(J.$$.fragment,_),E(w.$$.fragment,_),y=!0)},o(_){S(s.$$.fragment,_),S(ee),S(d.$$.fragment,_),S(k.$$.fragment,_),S(h.$$.fragment,_),S(J.$$.fragment,_),S(w.$$.fragment,_),y=!1},d(_){_&&g(e),N(s),_&&g(l),_&&g(u),ee&&ee.d(),N(d),N(k),N(h),N(J),N(w)}}}function Hn(n){let e,t;return e=new At({props:{title:n[20]}}),{c(){A(e.$$.fragment)},l(s){B(e.$$.fragment,s)},m(s,i){H(e,s,i),t=!0},p:Ie,i(s){t||(E(e.$$.fragment,s),t=!0)},o(s){S(e.$$.fragment,s),t=!1},d(s){N(e,s)}}}function vt(n){let e,t;return e=new Vt({props:{intent:"error",title:"",bold:!0,$$slots:{default:[Nn]},$$scope:{ctx:n}}}),{c(){A(e.$$.fragment)},l(s){B(e.$$.fragment,s)},m(s,i){H(e,s,i),t=!0},p(s,i){const r={};i[0]&65536|i[1]&33554432&&(r.$$scope={dirty:i,ctx:s}),e.$set(r)},i(s){t||(E(e.$$.fragment,s),t=!0)},o(s){S(e.$$.fragment,s),t=!1},d(s){N(e,s)}}}function Nn(n){let e;return{c(){e=Z(n[16])},l(t){e=X(t,n[16])},m(t,s){U(t,e,s)},p(t,s){s[0]&65536&&yt(e,t[16])},d(t){t&&g(e)}}}function Ln(n){let e;return{c(){e=Z(n[23])},l(t){e=X(t,n[23])},m(t,s){U(t,e,s)},p:Ie,d(t){t&&g(e)}}}function Rn(n){let e,t,s,i,r,a;function f(){return n[32](n[55])}return t=new Pt({props:{disabled:n[15](n[55]),$$slots:{default:[Ln]},$$scope:{ctx:n}}}),t.$on("click",f),{c(){e=D("div"),A(t.$$.fragment),s=V(),i=D("a"),r=Z("Cancel"),this.h()},l(l){e=W(l,"DIV",{class:!0});var u=T(e);B(t.$$.fragment,u),s=C(u),i=W(u,"A",{href:!0,class:!0,style:!0});var c=T(i);r=X(c,"Cancel"),c.forEach(g),u.forEach(g),this.h()},h(){L(i,"href",n[22]),L(i,"class","back svelte-gjlc10"),It(i,"left","0"),L(e,"class","mt-8 flex items-center gap-8")},m(l,u){U(l,e,u),H(t,e,null),v(e,s),v(e,i),v(i,r),a=!0},p(l,u){n=l;const c={};u[0]&32768|u[1]&16777216&&(c.disabled=n[15](n[55])),u[1]&33554432&&(c.$$scope={dirty:u,ctx:n}),t.$set(c)},i(l){a||(E(t.$$.fragment,l),a=!0)},o(l){S(t.$$.fragment,l),a=!1},d(l){l&&g(e),N(t)}}}function Un(n){let e,t,s,i;const r=[Hn,Bn],a=[];function f(l,u){return l[17]?0:1}return t=f(n),s=a[t]=r[t](n),{c(){e=D("div"),s.c(),this.h()},l(l){e=W(l,"DIV",{class:!0});var u=T(e);s.l(u),u.forEach(g),this.h()},h(){L(e,"class","pb-20")},m(l,u){U(l,e,u),a[t].m(e,null),i=!0},p(l,u){let c=t;t=f(l),t===c?a[t].p(l,u):(ze(),S(a[c],1,1,()=>{a[c]=null}),Ge(),s=a[t],s?s.p(l,u):(s=a[t]=r[t](l),s.c()),E(s,1),s.m(e,null))},i(l){i||(E(s),i=!0)},o(l){S(s),i=!1},d(l){l&&g(e),a[t].d()}}}function qn(n,e,t){let s,i,r,a;Re(n,Je,b=>t(16,i=b)),Re(n,Ot,b=>t(53,r=b)),Re(n,Tt,b=>t(17,a=b));var f,l,u,c,o,d,m,p,O,k,I;let{schedule:R=null}=e,{onConfirm:q}=e,h=r.params.namespace,$=r.params.schedule,K=R?"Edit Schedule":"Create Schedule",x=R?"Editing Schedule...":"Creating Schedule...",J=R?"Back to Schedule":"Back to Schedules",ue=R?Qt({namespace:h,scheduleId:$}):jt({namespace:h}),P=R?"Save":"Create Schedule",w={},z=$??"",ne=(c=(u=(l=(f=R==null?void 0:R.action)===null||f===void 0?void 0:f.startWorkflow)===null||l===void 0?void 0:l.workflowType)===null||u===void 0?void 0:u.name)!==null&&c!==void 0?c:"",G=(m=(d=(o=R==null?void 0:R.action)===null||o===void 0?void 0:o.startWorkflow)===null||d===void 0?void 0:d.workflowId)!==null&&m!==void 0?m:"",Y=(I=(k=(O=(p=R==null?void 0:R.action)===null||p===void 0?void 0:p.startWorkflow)===null||O===void 0?void 0:O.taskQueue)===null||k===void 0?void 0:k.name)!==null&&I!==void 0?I:"",fe=[],ae=[],le=[],oe="",de="",y="",ee="",pe="",ce="";const he=(b,re)=>{q(b,{name:z,workflowType:ne,workflowId:G,taskQueue:Y,hour:de,minute:y,second:ee,phase:pe,cronString:ce,daysOfWeek:fe,daysOfMonth:ae,days:oe,months:le},re)},ke=b=>{const{id:re}=b.target;t(13,w[re]=!1,w),i&&st(Je,i="",i)},Oe=b=>{const{value:re,id:te}=b.target;re.trim()?t(13,w[te]=!1,w):t(13,w[te]=!0,w)};Wt(()=>st(Je,i="",i));function _e(b){z=b,t(1,z)}function ye(b){ne=b,t(2,ne)}function Ee(b){G=b,t(3,G)}function Me(b){Y=b,t(4,Y)}const Ve=b=>he(b,R);function Se(b){fe=b,t(5,fe)}function Ce(b){ae=b,t(6,ae)}function De(b){le=b,t(7,le)}function Pe(b){oe=b,t(8,oe)}function We(b){de=b,t(9,de)}function Ae(b){y=b,t(10,y)}function Te(b){ee=b,t(11,ee)}function M(b){pe=b,t(14,pe)}function _(b){ce=b,t(12,ce)}return n.$$set=b=>{"schedule"in b&&t(0,R=b.schedule),"onConfirm"in b&&t(27,q=b.onConfirm)},n.$$.update=()=>{n.$$.dirty[0]&8190&&t(15,s=b=>!z||!ne||!G||!Y?!0:b==="interval"?!oe&&!de&&!y&&!ee:b==="week"?!fe.length:b==="month"?!ae.length||!le.length:b==="string"?!ce:!1)},[R,z,ne,G,Y,fe,ae,le,oe,de,y,ee,ce,w,pe,s,i,a,$,K,x,J,ue,P,he,ke,Oe,q,_e,ye,Ee,Me,Ve,Se,Ce,De,Pe,We,Ae,Te,M,_]}class ss extends $e{constructor(e){super(),be(this,e,qn,Un,we,{schedule:0,onConfirm:27},null,[-1,-1])}}export{ss as S}; diff --git a/ui/assets/cloud/_app/immutable/chunks/search-attributes.c866741f.js b/ui/assets/cloud/_app/immutable/chunks/search-attributes.c866741f.js deleted file mode 100644 index 6b1ca684c8..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/search-attributes.c866741f.js +++ /dev/null @@ -1 +0,0 @@ -import{d as e,w as u}from"./index.255b7490.js";import{K as c}from"./index.d29c66be.js";const r=u({customAttributes:{},systemAttributes:{}}),n=e([r],([t])=>({...t.customAttributes,...t.systemAttributes}));e([r],([t])=>t.systemAttributes);const a=e([r],([t])=>t.customAttributes),o=t=>{const s=c(a);return t in s},A=(t,s)=>{var i;return s in(((i=t==null?void 0:t.searchAttributes)==null?void 0:i.indexedFields)??{})};export{r as a,a as c,o as i,n as s,A as w}; diff --git a/ui/assets/cloud/_app/immutable/chunks/search.ceb62d05.js b/ui/assets/cloud/_app/immutable/chunks/search.ceb62d05.js deleted file mode 100644 index 69cd697556..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/search.ceb62d05.js +++ /dev/null @@ -1 +0,0 @@ -import{S as ye,b as Te,a as he,C as M,D as z,E as V,j as S,g as D,F as G,G as Xe,H as Ye,I as Ze,J as $e,m as g,w as H,c as C,p as E,q as F,x as L,k as c,d as P,u as b,f as T,M as k,n as te,e as Ue,z as me,h as _e,L as Ke,U as j,W as le,ac as se,r as We,T as Ae,i as xe,y as Y,Q as Se}from"./index.d29c66be.js";import{T as et,a as tt}from"./table-header-row.a7bab5a4.js";import{p as lt}from"./stores.1f7fa6eb.js";import{f as X}from"./format-date.100c5f23.js";import{u as st,v as rt,w as at,x as Oe}from"./format-time.66fea38b.js";import{f as ot}from"./route-for.5e008fb6.js";import{u as nt}from"./pagination.c0661e6a.js";import{t as Qe}from"./list-workflow-query.722ba818.js";import{d as ft,e as Fe,f as ut,g as it,j as ct}from"./has.8da86d13.js";import{W as mt}from"./workflow-status.688af89a.js";import{I as qe}from"./icon.5aa23970.js";import{c as _t}from"./copy-to-clipboard.a65bc890.js";import{T as ht}from"./table-row.4a68a50d.js";import{B as dt}from"./button.e7112b29.js";function pt(r){let e;const s=r[1].default,t=Xe(s,r,r[2],null);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,o){t&&t.m(l,o),e=!0},p(l,o){t&&t.p&&(!e||o&4)&&Ye(t,s,l,l[2],e?$e(s,l[2],o,null):Ze(l[2]),null)},i(l){e||(S(t,l),e=!0)},o(l){D(t,l),e=!1},d(l){t&&t.d(l)}}}function wt(r){let e,s,t,l,o,a,n,f,i,h,q,p,w,m,_,W,B;return{c(){e=g("th"),s=H("Status"),t=C(),l=g("th"),o=H("Workflow ID"),a=C(),n=g("th"),f=H("Type"),i=C(),h=g("th"),q=H("Start"),p=C(),w=g("th"),m=H("End"),_=C(),W=g("th"),B=H("Summary"),this.h()},l(d){e=E(d,"TH",{class:!0});var y=F(e);s=L(y,"Status"),y.forEach(c),t=P(d),l=E(d,"TH",{class:!0});var I=F(l);o=L(I,"Workflow ID"),I.forEach(c),a=P(d),n=E(d,"TH",{class:!0});var J=F(n);f=L(J,"Type"),J.forEach(c),i=P(d),h=E(d,"TH",{class:!0});var U=F(h);q=L(U,"Start"),U.forEach(c),p=P(d),w=E(d,"TH",{class:!0});var A=F(w);m=L(A,"End"),A.forEach(c),_=P(d),W=E(d,"TH",{class:!0,colspan:!0});var N=F(W);B=L(N,"Summary"),N.forEach(c),this.h()},h(){b(e,"class","w-32 max-md:hidden"),b(l,"class","max-md:hidden md:w-auto"),b(n,"class","w-60 max-md:hidden"),b(h,"class","w-60 max-xl:hidden"),b(w,"class","w-60 max-xl:hidden"),b(W,"class","md:hidden"),b(W,"colspan","3")},m(d,y){T(d,e,y),k(e,s),T(d,t,y),T(d,l,y),k(l,o),T(d,a,y),T(d,n,y),k(n,f),T(d,i,y),T(d,h,y),k(h,q),T(d,p,y),T(d,w,y),k(w,m),T(d,_,y),T(d,W,y),k(W,B)},p:te,d(d){d&&c(e),d&&c(t),d&&c(l),d&&c(a),d&&c(n),d&&c(i),d&&c(h),d&&c(p),d&&c(w),d&&c(_),d&&c(W)}}}function bt(r){let e,s;return e=new tt({props:{slot:"headers",$$slots:{default:[wt]},$$scope:{ctx:r}}}),{c(){M(e.$$.fragment)},l(t){z(e.$$.fragment,t)},m(t,l){V(e,t,l),s=!0},p(t,l){const o={};l&4&&(o.$$scope={dirty:l,ctx:t}),e.$set(o)},i(t){s||(S(e.$$.fragment,t),s=!0)},o(t){D(e.$$.fragment,t),s=!1},d(t){G(e,t)}}}function kt(r){let e,s;return e=new et({props:{class:"w-full md:table-fixed",updating:r[0],"data-testid":"workflows-table",$$slots:{headers:[bt],default:[pt]},$$scope:{ctx:r}}}),{c(){M(e.$$.fragment)},l(t){z(e.$$.fragment,t)},m(t,l){V(e,t,l),s=!0},p(t,[l]){const o={};l&1&&(o.updating=t[0]),l&4&&(o.$$scope={dirty:l,ctx:t}),e.$set(o)},i(t){s||(S(e.$$.fragment,t),s=!0)},o(t){D(e.$$.fragment,t),s=!1},d(t){G(e,t)}}}function vt(r,e,s){let{$$slots:t={},$$scope:l}=e,{updating:o=!1}=e;return r.$$set=a=>{"updating"in a&&s(0,o=a.updating),"$$scope"in a&&s(2,l=a.$$scope)},[o,t,l]}class Zt extends ye{constructor(e){super(),Te(this,e,vt,kt,he,{updating:0})}}const yt=r=>{const e=[],s=()=>{t&&(e.push(t),t="")};let t="",l=0;for(;le=>e.toLowerCase()===r.toLowerCase(),ve=(r,e)=>r[e+2],Tt=r=>{if(r){for(const e of at)if(r[e])return{[e]:r[e]}}},gt=ge("WorkflowType"),Et=ge("WorkflowId"),St=ge("StartTime"),Ft=ge("ExecutionStatus"),Wt=r=>{const e=yt(r),s={workflowId:"",workflowType:"",executionStatus:null,timeRange:null};return e.forEach((t,l)=>{if(Et(t)&&(s.workflowId=ve(e,l)),gt(t)&&(s.workflowType=ve(e,l)),Ft(t)){const o=ve(e,l);ct(o)&&(s.executionStatus=o)}if(St(t)){const o=ve(e,l);try{const a=st(o),n=Tt(a);s.timeRange=rt(n)}catch(a){console.error("Error parsing StartTime from query",a)}}}),s};function Re(r){let e,s,t,l,o,a,n=r[1]&&Me(r),f=r[2]&&Ve(r);return{c(){e=g("div"),n&&n.c(),s=C(),f&&f.c(),this.h()},l(i){e=E(i,"DIV",{class:!0});var h=F(e);n&&n.l(h),s=P(h),f&&f.l(h),h.forEach(c),this.h()},h(){b(e,"class",t="copy-or-filter "+r[6]+" svelte-1f7279h")},m(i,h){T(i,e,h),n&&n.m(e,null),k(e,s),f&&f.m(e,null),l=!0,o||(a=[j(e,"click",le(se(te))),j(e,"keyup",le(se(te)))],o=!0)},p(i,h){i[1]?n?(n.p(i,h),h&2&&S(n,1)):(n=Me(i),n.c(),S(n,1),n.m(e,s)):n&&(me(),D(n,1,1,()=>{n=null}),_e()),i[2]?f?(f.p(i,h),h&4&&S(f,1)):(f=Ve(i),f.c(),S(f,1),f.m(e,null)):f&&(me(),D(f,1,1,()=>{f=null}),_e()),(!l||h&64&&t!==(t="copy-or-filter "+i[6]+" svelte-1f7279h"))&&b(e,"class",t)},i(i){l||(S(n),S(f),l=!0)},o(i){D(n),D(f),l=!1},d(i){i&&c(e),n&&n.d(),f&&f.d(),o=!1,We(a)}}}function Me(r){let e,s=r[5],t,l,o,a=ze();return{c(){e=g("button"),a.c(),this.h()},l(n){e=E(n,"BUTTON",{class:!0});var f=F(e);a.l(f),f.forEach(c),this.h()},h(){b(e,"class","copy-or-filter-button svelte-1f7279h"),Ae(e,"filtered",r[5])},m(n,f){T(n,e,f),a.m(e,null),t=!0,l||(o=j(e,"click",le(se(function(){xe(r[4])&&r[4].apply(this,arguments)}))),l=!0)},p(n,f){r=n,f&32&&he(s,s=r[5])?(me(),D(a,1,1,te),_e(),a=ze(),a.c(),S(a,1),a.m(e,null)):a.p(r,f),(!t||f&32)&&Ae(e,"filtered",r[5])},i(n){t||(S(a),t=!0)},o(n){D(a),t=!1},d(n){n&&c(e),a.d(n),l=!1,o()}}}function ze(r){let e,s;return e=new qe({props:{name:"filter"}}),{c(){M(e.$$.fragment)},l(t){z(e.$$.fragment,t)},m(t,l){V(e,t,l),s=!0},p:te,i(t){s||(S(e.$$.fragment,t),s=!0)},o(t){D(e.$$.fragment,t),s=!1},d(t){G(e,t)}}}function Ve(r){let e,s,t,l,o;return s=new qe({props:{name:r[7]?"checkmark":"copy",stroke:"#000"}}),{c(){e=g("button"),M(s.$$.fragment),this.h()},l(a){e=E(a,"BUTTON",{class:!0});var n=F(e);z(s.$$.fragment,n),n.forEach(c),this.h()},h(){b(e,"class","copy-or-filter-button svelte-1f7279h")},m(a,n){T(a,e,n),V(s,e,null),t=!0,l||(o=j(e,"click",le(se(r[10]))),l=!0)},p(a,n){const f={};n&128&&(f.name=a[7]?"checkmark":"copy"),s.$set(f)},i(a){t||(S(s.$$.fragment,a),t=!0)},o(a){D(s.$$.fragment,a),t=!1},d(a){a&&c(e),G(s),l=!1,o()}}}function qt(r){let e,s,t=r[0]&&Re(r);return{c(){t&&t.c(),e=Ue()},l(l){t&&t.l(l),e=Ue()},m(l,o){t&&t.m(l,o),T(l,e,o),s=!0},p(l,[o]){l[0]?t?(t.p(l,o),o&1&&S(t,1)):(t=Re(l),t.c(),S(t,1),t.m(e.parentNode,e)):t&&(me(),D(t,1,1,()=>{t=null}),_e())},i(l){s||(S(t),s=!0)},o(l){D(t),s=!1},d(l){t&&t.d(l),l&&c(e)}}}function Dt(r,e,s){let t,{show:l=!1}=e,{filterable:o=!0}=e,{copyable:a=!0}=e,{content:n}=e,{onFilter:f=te}=e,{filtered:i=!1}=e,{class:h=""}=e;const{copy:q,copied:p}=_t(700);Ke(r,p,m=>s(7,t=m));const w=m=>q(m,n);return r.$$set=m=>{"show"in m&&s(0,l=m.show),"filterable"in m&&s(1,o=m.filterable),"copyable"in m&&s(2,a=m.copyable),"content"in m&&s(3,n=m.content),"onFilter"in m&&s(4,f=m.onFilter),"filtered"in m&&s(5,i=m.filtered),"class"in m&&s(6,h=m.class)},[l,o,a,n,f,i,h,t,q,p,w]}class Ge extends ye{constructor(e){super(),Te(this,e,Dt,qt,he,{show:0,filterable:1,copyable:2,content:3,onFilter:4,filtered:5,class:6})}}function It(r){var Ie,Ce,Pe;let e,s,t,l,o,a=r[0].id+"",n,f,i,h,q,p=X(r[0].startTime,r[1])+"",w,m,_,W,B,d,y,I=r[0].name+"",J,U,A,N,re,x,ae=X(r[0].endTime,r[1])+"",de,pe,Z,oe,ne=X(r[0].startTime,r[1])+"",we,be,$,fe,ue=X(r[0].endTime,r[1])+"",ke,O,Ee,De;return s=new mt({props:{status:r[0].status,delay:Oe(r[0].startTime)}}),i=new Ge({props:{show:r[2],content:r[0].id,filterable:!1}}),N=new Ge({props:{show:r[2],content:r[0].name,onFilter:r[12],filtered:(Pe=(Ce=(Ie=r[4].url)==null?void 0:Ie.searchParams)==null?void 0:Ce.get("query"))==null?void 0:Pe.includes(r[0].name)}}),{c(){e=g("td"),M(s.$$.fragment),t=C(),l=g("td"),o=g("span"),n=H(a),f=C(),M(i.$$.fragment),h=C(),q=g("p"),w=H(p),m=C(),_=g("td"),W=g("h3"),B=H("Workflow Name:"),d=C(),y=g("button"),J=H(I),A=C(),M(N.$$.fragment),re=C(),x=g("p"),de=H(ae),pe=C(),Z=g("td"),oe=g("p"),we=H(ne),be=C(),$=g("td"),fe=g("p"),ke=H(ue),this.h()},l(u){e=E(u,"TD",{});var v=F(e);z(s.$$.fragment,v),v.forEach(c),t=P(u),l=E(u,"TD",{class:!0});var R=F(l);o=E(R,"SPAN",{class:!0});var ee=F(o);n=L(ee,a),ee.forEach(c),f=P(R),z(i.$$.fragment,R),h=P(R),q=E(R,"P",{class:!0});var K=F(q);w=L(K,p),K.forEach(c),R.forEach(c),m=P(u),_=E(u,"TD",{class:!0});var Q=F(_);W=E(Q,"H3",{class:!0});var ie=F(W);B=L(ie,"Workflow Name:"),ie.forEach(c),d=P(Q),y=E(Q,"BUTTON",{class:!0,"aria-label":!0});var ce=F(y);J=L(ce,I),ce.forEach(c),A=P(Q),z(N.$$.fragment,Q),re=P(Q),x=E(Q,"P",{class:!0});var je=F(x);de=L(je,ae),je.forEach(c),Q.forEach(c),pe=P(u),Z=E(u,"TD",{class:!0});var He=F(Z);oe=E(He,"P",{});var Le=F(oe);we=L(Le,ne),Le.forEach(c),He.forEach(c),be=P(u),$=E(u,"TD",{class:!0});var Ne=F($);fe=E(Ne,"P",{});var Be=F(fe);ke=L(Be,ue),Be.forEach(c),Ne.forEach(c),this.h()},h(){b(o,"class","table-link svelte-tyqpjy"),b(q,"class","inline-time-cell svelte-tyqpjy"),b(l,"class","relative break-words pr-4"),b(W,"class","md:hidden"),b(y,"class","table-link svelte-tyqpjy"),b(y,"aria-label",U="filter by "+r[0].name+" type"),b(x,"class","inline-time-cell svelte-tyqpjy"),b(_,"class","relative truncate"),b(Z,"class","time-cell svelte-tyqpjy"),b($,"class","time-cell svelte-tyqpjy")},m(u,v){T(u,e,v),V(s,e,null),T(u,t,v),T(u,l,v),k(l,o),k(o,n),k(l,f),V(i,l,null),k(l,h),k(l,q),k(q,w),T(u,m,v),T(u,_,v),k(_,W),k(W,B),k(_,d),k(_,y),k(y,J),k(_,A),V(N,_,null),k(_,re),k(_,x),k(x,de),T(u,pe,v),T(u,Z,v),k(Z,oe),k(oe,we),T(u,be,v),T(u,$,v),k($,fe),k(fe,ke),O=!0,Ee||(De=[j(l,"mouseover",r[7]),j(l,"focus",r[8]),j(l,"mouseleave",r[9]),j(l,"blur",r[10]),j(y,"click",le(se(r[11]))),j(_,"mouseover",r[13]),j(_,"focus",r[14]),j(_,"mouseleave",r[15]),j(_,"blur",r[16])],Ee=!0)},p(u,v){var Q,ie,ce;const R={};v&1&&(R.status=u[0].status),v&1&&(R.delay=Oe(u[0].startTime)),s.$set(R),(!O||v&1)&&a!==(a=u[0].id+"")&&Y(n,a);const ee={};v&4&&(ee.show=u[2]),v&1&&(ee.content=u[0].id),i.$set(ee),(!O||v&3)&&p!==(p=X(u[0].startTime,u[1])+"")&&Y(w,p),(!O||v&1)&&I!==(I=u[0].name+"")&&Y(J,I),(!O||v&1&&U!==(U="filter by "+u[0].name+" type"))&&b(y,"aria-label",U);const K={};v&4&&(K.show=u[2]),v&1&&(K.content=u[0].name),v&1&&(K.onFilter=u[12]),v&17&&(K.filtered=(ce=(ie=(Q=u[4].url)==null?void 0:Q.searchParams)==null?void 0:ie.get("query"))==null?void 0:ce.includes(u[0].name)),N.$set(K),(!O||v&3)&&ae!==(ae=X(u[0].endTime,u[1])+"")&&Y(de,ae),(!O||v&3)&&ne!==(ne=X(u[0].startTime,u[1])+"")&&Y(we,ne),(!O||v&3)&&ue!==(ue=X(u[0].endTime,u[1])+"")&&Y(ke,ue)},i(u){O||(S(s.$$.fragment,u),S(i.$$.fragment,u),S(N.$$.fragment,u),O=!0)},o(u){D(s.$$.fragment,u),D(i.$$.fragment,u),D(N.$$.fragment,u),O=!1},d(u){u&&c(e),G(s),u&&c(t),u&&c(l),G(i),u&&c(m),u&&c(_),G(N),u&&c(pe),u&&c(Z),u&&c(be),u&&c($),Ee=!1,We(De)}}}function Ct(r){let e,s;return e=new ht({props:{href:r[3],class:"workflow-summary-row",$$slots:{default:[It]},$$scope:{ctx:r}}}),{c(){M(e.$$.fragment)},l(t){z(e.$$.fragment,t)},m(t,l){V(e,t,l),s=!0},p(t,[l]){const o={};l&8&&(o.href=t[3]),l&131095&&(o.$$scope={dirty:l,ctx:t}),e.$set(o)},i(t){s||(S(e.$$.fragment,t),s=!0)},o(t){D(e.$$.fragment,t),s=!1},d(t){G(e,t)}}}function Pt(r,e,s){let t,l;Ke(r,lt,I=>s(4,l=I));let{namespace:o}=e,{workflow:a}=e,{timeFormat:n}=e,f=!1;const i=I=>{const J=Qe({timeRange:"All"}),U=l.url.searchParams.get("query"),A=Wt(U??J),N=(A==null?void 0:A.workflowType)===I?"":I,re=Qe({...A,workflowType:N});nt({url:l.url,parameter:"query",value:re,allowEmpty:!0})},h=()=>s(2,f=!0),q=()=>s(2,f=!0),p=()=>s(2,f=!1),w=()=>s(2,f=!1),m=()=>i(a.name),_=()=>i(a.name),W=()=>s(2,f=!0),B=()=>s(2,f=!0),d=()=>s(2,f=!1),y=()=>s(2,f=!1);return r.$$set=I=>{"namespace"in I&&s(6,o=I.namespace),"workflow"in I&&s(0,a=I.workflow),"timeFormat"in I&&s(1,n=I.timeFormat)},r.$$.update=()=>{r.$$.dirty&65&&s(3,t=ot({namespace:o,workflow:a.id,run:a.runId}))},[a,n,f,t,l,i,o,h,q,p,w,m,_,W,B,d,y]}class $t extends ye{constructor(e){super(),Te(this,e,Pt,Ct,he,{namespace:6,workflow:0,timeFormat:1})}}var xt=jt;function jt(r,e,s,t){var l,o,a;return function(){if(a=this,o=Array.prototype.slice.call(arguments),l&&(s||t))return;if(!s)return i(),l=setTimeout(f,e),l;l=setTimeout(i,e),r.apply(a,o);function f(){i(),r.apply(a,o)}function i(){clearTimeout(l),l=null}}}function Je(r){let e,s;return e=new qe({props:{name:"search",class:"ml-4 flex items-center text-gray-700"}}),{c(){M(e.$$.fragment)},l(t){z(e.$$.fragment,t)},m(t,l){V(e,t,l),s=!0},i(t){s||(S(e.$$.fragment,t),s=!0)},o(t){D(e.$$.fragment,t),s=!1},d(t){G(e,t)}}}function Ht(r){let e;return{c(){e=H(r[2])},l(s){e=L(s,r[2])},m(s,t){T(s,e,t)},p(s,t){t&4&&Y(e,s[2])},d(s){s&&c(e)}}}function Lt(r){let e,s,t,l,o,a,n,f,i,h,q,p,w=r[4]&&Je();return i=new dt({props:{class:"m-2",type:"submit",$$slots:{default:[Ht]},$$scope:{ctx:r}}}),{c(){e=g("form"),w&&w.c(),s=C(),t=g("label"),l=H(r[2]),o=C(),a=g("input"),n=C(),f=g("div"),M(i.$$.fragment),this.h()},l(m){e=E(m,"FORM",{class:!0,role:!0});var _=F(e);w&&w.l(_),s=P(_),t=E(_,"LABEL",{for:!0,class:!0});var W=F(t);l=L(W,r[2]),W.forEach(c),o=P(_),a=E(_,"INPUT",{id:!0,type:!0,class:!0,name:!0,placeholder:!0,autocomplete:!0}),n=P(_),f=E(_,"DIV",{});var B=F(f);z(i.$$.fragment,B),B.forEach(c),_.forEach(c),this.h()},h(){b(t,"for",r[5]),b(t,"class","hidden"),b(a,"id",r[5]),b(a,"type","search"),b(a,"class","w-full rounded-l-lg px-4 focus:outline-none"),b(a,"name",r[3]),a.value=r[1],b(a,"placeholder",r[0]),b(a,"autocomplete","off"),b(e,"class","relative flex items-center rounded-lg border-2 bg-white transition-colors focus-within:border-blue-700"),b(e,"role","search")},m(m,_){T(m,e,_),w&&w.m(e,null),k(e,s),k(e,t),k(t,l),k(e,o),k(e,a),k(e,n),k(e,f),V(i,f,null),h=!0,q||(p=[j(a,"input",r[7]),j(a,"keydown",le(r[8])),j(e,"submit",se(r[6]))],q=!0)},p(m,[_]){m[4]?w?_&16&&S(w,1):(w=Je(),w.c(),S(w,1),w.m(e,s)):w&&(me(),D(w,1,1,()=>{w=null}),_e()),(!h||_&4)&&Y(l,m[2]),(!h||_&32)&&b(t,"for",m[5]),(!h||_&32)&&b(a,"id",m[5]),(!h||_&8)&&b(a,"name",m[3]),(!h||_&2&&a.value!==m[1])&&(a.value=m[1]),(!h||_&1)&&b(a,"placeholder",m[0]);const W={};_&516&&(W.$$scope={dirty:_,ctx:m}),i.$set(W)},i(m){h||(S(w),S(i.$$.fragment,m),h=!0)},o(m){D(w),D(i.$$.fragment,m),h=!1},d(m){m&&c(e),w&&w.d(),G(i),q=!1,We(p)}}}function Nt(r,e,s){let{placeholder:t=""}=e,{value:l=""}=e,{label:o="Search"}=e,{name:a="query"}=e,{icon:n=!1}=e,{id:f=`${o.toLocaleUpperCase()}-input`}=e;function i(p){Se.call(this,r,p)}function h(p){Se.call(this,r,p)}function q(p){Se.call(this,r,p)}return r.$$set=p=>{"placeholder"in p&&s(0,t=p.placeholder),"value"in p&&s(1,l=p.value),"label"in p&&s(2,o=p.label),"name"in p&&s(3,a=p.name),"icon"in p&&s(4,n=p.icon),"id"in p&&s(5,f=p.id)},[t,l,o,a,n,f,i,h,q]}class el extends ye{constructor(e){super(),Te(this,e,Nt,Lt,he,{placeholder:0,value:1,label:2,name:3,icon:4,id:5})}}export{Ge as F,el as S,Zt as W,$t as a,yt as b,xt as j,Wt as t}; diff --git a/ui/assets/cloud/_app/immutable/chunks/settings-service.3ce5ddfc.js b/ui/assets/cloud/_app/immutable/chunks/settings-service.3ce5ddfc.js deleted file mode 100644 index c2442ab0e8..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/settings-service.3ce5ddfc.js +++ /dev/null @@ -1 +0,0 @@ -import{s as b}from"./settings.a68ca666.js";import{r as D,a as k,g as A}from"./route-for-api.5906c1df.js";function h(){return"cloud"}const v=/(tmprl\.cloud|tmprl-test\.cloud)$/,e=async(m=fetch)=>{var o,c,d,i,u,f;const w=D("settings"),a=await k(w,{request:m}),r=h(),l={auth:{enabled:!!((o=a==null?void 0:a.Auth)!=null&&o.Enabled),options:(c=a==null?void 0:a.Auth)==null?void 0:c.Options},baseUrl:A(),codec:{endpoint:(d=a==null?void 0:a.Codec)==null?void 0:d.Endpoint,passAccessToken:(i=a==null?void 0:a.Codec)==null?void 0:i.PassAccessToken,includeCredentials:(u=a==null?void 0:a.Codec)==null?void 0:u.IncludeCredentials,decodeEventHistoryDownload:(f=a==null?void 0:a.Codec)==null?void 0:f.DecodeEventHistoryDownload},defaultNamespace:(a==null?void 0:a.DefaultNamespace)||"default",disableWriteActions:!!(a!=null&&a.DisableWriteActions)||!1,workflowTerminateDisabled:!!(a!=null&&a.WorkflowTerminateDisabled),workflowCancelDisabled:!!(a!=null&&a.WorkflowCancelDisabled),workflowSignalDisabled:!!(a!=null&&a.WorkflowSignalDisabled),workflowResetDisabled:!!(a!=null&&a.WorkflowResetDisabled),batchActionsDisabled:!!(a!=null&&a.BatchActionsDisabled),showTemporalSystemNamespace:a==null?void 0:a.ShowTemporalSystemNamespace,notifyOnNewVersion:a==null?void 0:a.NotifyOnNewVersion,feedbackURL:a==null?void 0:a.FeedbackURL,runtimeEnvironment:{get isCloud(){return r==="cloud"},get isLocal(){return r==="local"},envOverride:Boolean(r)},version:a==null?void 0:a.Version};return b.set(l),l};export{e as f,v as i}; diff --git a/ui/assets/cloud/_app/immutable/chunks/settings.a68ca666.js b/ui/assets/cloud/_app/immutable/chunks/settings.a68ca666.js deleted file mode 100644 index 428a2cc84d..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/settings.a68ca666.js +++ /dev/null @@ -1 +0,0 @@ -import{w as e}from"./index.255b7490.js";const a=e({auth:{enabled:!1,options:null},baseUrl:"",codec:{endpoint:"",passAccessToken:!1,includeCredentials:!1},defaultNamespace:null,disableWriteActions:!1,batchActionsDisabled:!1,workflowTerminateDisabled:!1,workflowCancelDisabled:!1,workflowSignalDisabled:!1,workflowResetDisabled:!1,showTemporalSystemNamespace:!1,notifyOnNewVersion:!1,feedbackURL:"",runtimeEnvironment:{isCloud:!1,isLocal:!0,envOverride:!0},version:""});export{a as s}; diff --git a/ui/assets/cloud/_app/immutable/chunks/simple-select.2e5f96b1.js b/ui/assets/cloud/_app/immutable/chunks/simple-select.2e5f96b1.js deleted file mode 100644 index 9e92d8f3c4..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/simple-select.2e5f96b1.js +++ /dev/null @@ -1 +0,0 @@ -import{S as F,b as G,a as H,G as J,m as I,p as C,q as L,k as m,u as _,f as q,H as M,I as Q,J as U,j as b,g as k,O,P as T,w as V,x as K,y as R,c as W,d as X,$ as Y,T as E,M as S,ao as N,U as P,r as Z,e as j,z as y,h as w,a7 as p,Q as x,ap as $,C as ee,D as le,E as ae,F as te}from"./index.d29c66be.js";function se(f){let e;return{c(){e=V(f[0])},l(t){e=K(t,f[0])},m(t,s){q(t,e,s)},p(t,s){s&1&&R(e,t[0])},d(t){t&&m(e)}}}function ne(f){let e,t,s;const i=f[3].default,u=J(i,f,f[2],null),l=u||se(f);return{c(){e=I("option"),l&&l.c(),this.h()},l(o){e=C(o,"OPTION",{class:!0});var a=L(e);l&&l.l(a),a.forEach(m),this.h()},h(){e.__value=f[0],e.value=e.__value,_(e,"class",t="border-0 "+f[1].class)},m(o,a){q(o,e,a),l&&l.m(e,null),s=!0},p(o,[a]){u?u.p&&(!s||a&4)&&M(u,i,o,o[2],s?U(i,o[2],a,null):Q(o[2]),null):l&&l.p&&(!s||a&1)&&l.p(o,s?a:-1),(!s||a&1)&&(e.__value=o[0],e.value=e.__value),(!s||a&2&&t!==(t="border-0 "+o[1].class))&&_(e,"class",t)},i(o){s||(b(l,o),s=!0)},o(o){k(l,o),s=!1},d(o){o&&m(e),l&&l.d(o)}}}function oe(f,e,t){let{$$slots:s={},$$scope:i}=e,{value:u=null}=e;return f.$$set=l=>{t(1,e=O(O({},e),T(l))),"value"in l&&t(0,u=l.value),"$$scope"in l&&t(2,i=l.$$scope)},e=T(e),[u,e,i,s]}class fe extends F{constructor(e){super(),G(this,e,oe,ne,H,{value:0})}}function z(f,e,t){const s=f.slice();return s[12]=e[t],s}function A(f){let e,t;return e=new fe({props:{value:f[12]}}),{c(){ee(e.$$.fragment)},l(s){le(e.$$.fragment,s)},m(s,i){ae(e,s,i),t=!0},p(s,i){const u={};i&64&&(u.value=s[12]),e.$set(u)},i(s){t||(b(e.$$.fragment,s),t=!0)},o(s){k(e.$$.fragment,s),t=!1},d(s){te(e,s)}}}function ie(f){let e,t,s=f[6],i=[];for(let l=0;lk(i[l],1,1,()=>{i[l]=null});return{c(){for(let l=0;lf[11].call(u)),E(u,"dark",f[3]),E(u,"remove",f[4])},m(n,c){q(n,e,c),S(e,t),S(t,s),S(e,i),S(e,u),r&&r.m(u,null),N(u,f[0]),a=!0,h||(v=[P(u,"change",f[11]),P(u,"change",f[10])],h=!0)},p(n,[c]){(!a||c&4)&&R(s,n[2]),(!a||c&2)&&_(t,"for",n[1]),g?g.p&&(!a||c&256)&&M(g,d,n,n[8],a?U(d,n[8],c,null):Q(n[8]),null):r&&r.p&&(!a||c&64)&&r.p(n,a?c:-1),(!a||c&128&&l!==(l="inline h-10 w-full rounded-lg border-2 px-2 text-base "+n[7].class+" svelte-f4875g"))&&_(u,"class",l),(!a||c&32)&&_(u,"name",n[5]),(!a||c&2)&&_(u,"id",n[1]),(!a||c&128&&o!==(o=n[7].testId))&&_(u,"data-testid",o),c&1&&N(u,n[0]),(!a||c&136)&&E(u,"dark",n[3]),(!a||c&144)&&E(u,"remove",n[4])},i(n){a||(b(r,n),a=!0)},o(n){k(r,n),a=!1},d(n){n&&m(e),r&&r.d(n),h=!1,Z(v)}}}function ce(f,e,t){let{$$slots:s={},$$scope:i}=e,{id:u}=e,{value:l}=e,{label:o=null}=e,{dark:a=!1}=e,{arrow:h=!1}=e,{name:v=u}=e,{options:d=[]}=e;function g(n){x.call(this,f,n)}function r(){l=$(this),t(0,l)}return f.$$set=n=>{t(7,e=O(O({},e),T(n))),"id"in n&&t(1,u=n.id),"value"in n&&t(0,l=n.value),"label"in n&&t(2,o=n.label),"dark"in n&&t(3,a=n.dark),"arrow"in n&&t(4,h=n.arrow),"name"in n&&t(5,v=n.name),"options"in n&&t(6,d=n.options),"$$scope"in n&&t(8,i=n.$$scope)},e=T(e),[l,u,o,a,h,v,d,e,i,s,g,r]}class _e extends F{constructor(e){super(),G(this,e,ce,ue,H,{id:1,value:0,label:2,dark:3,arrow:4,name:5,options:6})}}export{_e as S,fe as a}; diff --git a/ui/assets/cloud/_app/immutable/chunks/simplify-attributes.28929a11.js b/ui/assets/cloud/_app/immutable/chunks/simplify-attributes.28929a11.js deleted file mode 100644 index 0e1ef07caa..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/simplify-attributes.28929a11.js +++ /dev/null @@ -1 +0,0 @@ -import{f as r}from"./format-date.100c5f23.js";import{j as s}from"./format-time.66fea38b.js";const n=["closeTime","createTime","currentAttemptScheduledTime","earliestTime","eventTime","executionTime","expirationTime","expireTime","lastAccessTime","lastHeartbeatTime","lastStartedTime","lastUpdateTime","latestTime","releaseTime","scheduledTime","startedTime","startTime","workflowExecutionExpirationTime"],f=["backoffStartInterval","defaultWorkflowTaskTimeout","firstWorkflowTaskBackoff","heartbeatTimeout","initialInterval","maximumInterval","scheduleToCloseTimeout","scheduleToStartTimeout","startToCloseTimeout","startToFireTimeout","workflowExecutionRetentionPeriod","workflowExecutionRetentionTtl","workflowExecutionTimeout","workflowRunTimeout","workflowTaskTimeout"],a=e=>{for(const t of n)if(t===e)return!0;return!1},m=e=>{for(const t of f)if(t===e)return!0;return!1},l=e=>{if(e===null||e===void 0||typeof e!="object")return!1;const t=Object.keys(e),[o]=t;return!(t.length!==1||typeof e[o]!="string")},T=e=>{for(const t of Object.values(e))return t};function k(e,t=!1){for(const[o,i]of Object.entries(e))l(i)&&(e[o]=T(i)),a(o)&&!t&&(e[o]=r(i)),m(o)&&(e[o]=s(i));return e}export{k as s}; diff --git a/ui/assets/cloud/_app/immutable/chunks/split-button.efadbe62.js b/ui/assets/cloud/_app/immutable/chunks/split-button.efadbe62.js deleted file mode 100644 index 02ef2a9ff1..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/split-button.efadbe62.js +++ /dev/null @@ -1 +0,0 @@ -import{S as F,b as G,a as H,C as k,D,E as A,j as _,g as d,F as I,O as q,P as C,A as J,Y as N,m as O,c as p,p as P,q as Q,d as B,k as M,u as T,T as E,f as S,M as V,Z as Y,Q as Z,w as K,x as L,z as R,h as U,y as W,G as X,H as w,I as y,J as $}from"./index.d29c66be.js";import{I as x}from"./icon.5aa23970.js";import{M as ee,a as te,b as ne}from"./menu-item.be414f05.js";import{B as se}from"./button.e7112b29.js";function j(i){let e,s;return e=new x({props:{name:i[1]}}),{c(){k(e.$$.fragment)},l(n){D(e.$$.fragment,n)},m(n,t){A(e,n,t),s=!0},p(n,t){const l={};t&2&&(l.name=n[1]),e.$set(l)},i(n){s||(_(e.$$.fragment,n),s=!0)},o(n){d(e.$$.fragment,n),s=!1},d(n){I(e,n)}}}function ae(i){let e,s,n,t=i[1]&&j(i);return{c(){t&&t.c(),e=p(),s=K(i[0])},l(l){t&&t.l(l),e=B(l),s=L(l,i[0])},m(l,u){t&&t.m(l,u),S(l,e,u),S(l,s,u),n=!0},p(l,u){l[1]?t?(t.p(l,u),u&2&&_(t,1)):(t=j(l),t.c(),_(t,1),t.m(e.parentNode,e)):t&&(R(),d(t,1,1,()=>{t=null}),U()),(!n||u&1)&&W(s,l[0])},i(l){n||(_(t),n=!0)},o(l){d(t),n=!1},d(l){t&&t.d(l),l&&M(e),l&&M(s)}}}function ie(i){let e;const s=i[11].default,n=X(s,i,i[14],null);return{c(){n&&n.c()},l(t){n&&n.l(t)},m(t,l){n&&n.m(t,l),e=!0},p(t,l){n&&n.p&&(!e||l&16384)&&w(n,s,t,t[14],e?$(s,t[14],l,null):y(t[14]),null)},i(t){e||(_(n,t),e=!0)},o(t){d(n,t),e=!1},d(t){n&&n.d(t)}}}function le(i){let e,s,n,t,l,u,r,b;s=new se({props:{href:i[7],variant:i[3],thin:i[4],disabled:i[5]||i[8],id:i[2]+"-primary-button",class:"segment left",$$slots:{default:[ae]},$$scope:{ctx:i}}}),s.$on("click",i[12]);function v(a){i[13](a)}let g={id:i[2]+"-menu-button",dark:!0,class:"segment right",controls:i[2]+"-menu",disabled:i[5],hasIndicator:!0};return i[9]!==void 0&&(g.show=i[9]),t=new te({props:g}),J.push(()=>N(t,"show",v)),r=new ne({props:{class:"min-w-max",id:i[2]+"-menu",show:i[9],position:i[6],$$slots:{default:[ie]},$$scope:{ctx:i}}}),{c(){e=O("div"),k(s.$$.fragment),n=p(),k(t.$$.fragment),u=p(),k(r.$$.fragment),this.h()},l(a){e=P(a,"DIV",{class:!0});var f=Q(e);D(s.$$.fragment,f),n=B(f),D(t.$$.fragment,f),f.forEach(M),u=B(a),D(r.$$.fragment,a),this.h()},h(){T(e,"class","split-button svelte-inpbil"),E(e,"disabled",i[5])},m(a,f){S(a,e,f),A(s,e,null),V(e,n),A(t,e,null),S(a,u,f),A(r,a,f),b=!0},p(a,f){const m={};f&128&&(m.href=a[7]),f&8&&(m.variant=a[3]),f&16&&(m.thin=a[4]),f&288&&(m.disabled=a[5]||a[8]),f&4&&(m.id=a[2]+"-primary-button"),f&16387&&(m.$$scope={dirty:f,ctx:a}),s.$set(m);const c={};f&4&&(c.id=a[2]+"-menu-button"),f&4&&(c.controls=a[2]+"-menu"),f&32&&(c.disabled=a[5]),!l&&f&512&&(l=!0,c.show=a[9],Y(()=>l=!1)),t.$set(c),(!b||f&32)&&E(e,"disabled",a[5]);const h={};f&4&&(h.id=a[2]+"-menu"),f&512&&(h.show=a[9]),f&64&&(h.position=a[6]),f&16384&&(h.$$scope={dirty:f,ctx:a}),r.$set(h)},i(a){b||(_(s.$$.fragment,a),_(t.$$.fragment,a),_(r.$$.fragment,a),b=!0)},o(a){d(s.$$.fragment,a),d(t.$$.fragment,a),d(r.$$.fragment,a),b=!1},d(a){a&&M(e),I(s),I(t),a&&M(u),I(r,a)}}}function fe(i){let e,s;return e=new ee({props:{class:i[10].class,$$slots:{default:[le]},$$scope:{ctx:i}}}),{c(){k(e.$$.fragment)},l(n){D(e.$$.fragment,n)},m(n,t){A(e,n,t),s=!0},p(n,[t]){const l={};t&1024&&(l.class=n[10].class),t&17407&&(l.$$scope={dirty:t,ctx:n}),e.$set(l)},i(n){s||(_(e.$$.fragment,n),s=!0)},o(n){d(e.$$.fragment,n),s=!1},d(n){I(e,n)}}}function oe(i,e,s){let{$$slots:n={},$$scope:t}=e,{label:l=""}=e,{icon:u=void 0}=e,{id:r}=e,{variant:b="primary"}=e,{thin:v=!1}=e,{disabled:g=!1}=e,{position:a="left"}=e,{href:f=""}=e,{primaryActionDisabled:m=!1}=e,c=!1;function h(o){Z.call(this,i,o)}function z(o){c=o,s(9,c)}return i.$$set=o=>{s(10,e=q(q({},e),C(o))),"label"in o&&s(0,l=o.label),"icon"in o&&s(1,u=o.icon),"id"in o&&s(2,r=o.id),"variant"in o&&s(3,b=o.variant),"thin"in o&&s(4,v=o.thin),"disabled"in o&&s(5,g=o.disabled),"position"in o&&s(6,a=o.position),"href"in o&&s(7,f=o.href),"primaryActionDisabled"in o&&s(8,m=o.primaryActionDisabled),"$$scope"in o&&s(14,t=o.$$scope)},e=C(e),[l,u,r,b,v,g,a,f,m,c,e,n,h,z,t]}class _e extends F{constructor(e){super(),G(this,e,oe,fe,H,{label:0,icon:1,id:2,variant:3,thin:4,disabled:5,position:6,href:7,primaryActionDisabled:8})}}export{_e as S}; diff --git a/ui/assets/cloud/_app/immutable/chunks/tab-list.bd3b7764.js b/ui/assets/cloud/_app/immutable/chunks/tab-list.bd3b7764.js deleted file mode 100644 index 55ddfab2f4..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/tab-list.bd3b7764.js +++ /dev/null @@ -1 +0,0 @@ -import{S as E,b as S,a as P,G as V,O as h,m as j,p as q,q as A,k as g,R as T,f as z,H as L,I as U,J as B,V as G,j as N,g as O,a5 as k,ad as Z,ai as J,P as I,e as M,ae as y,L as p,w,c as x,x as $,d as ee,aj as R,T as v,M as F,U as te,y as le,n as se}from"./index.d29c66be.js";import{c as ae}from"./has.8da86d13.js";import{w as K}from"./index.255b7490.js";function ie(s){let e,a;const o=s[2].default,t=V(o,s,s[1],null);let i=[{class:"tabs"},s[0]],f={};for(let n=0;n{n.push(c),r.update(_=>_||c),J(()=>{const _=n.indexOf(c);n.splice(_,1),r.update(u=>u===c?n[_]||n[n.length-1]:u)})},registerPanel:c=>{l.push(c),d.update(_=>_||c),J(()=>{const _=l.indexOf(c);l.splice(_,1),d.update(u=>u===c?l[_]||l[l.length-1]:u)})},selectTab:c=>{const _=n.indexOf(c);r.set(c),d.set(l[_])},activeTab:r,activePanel:d}),s.$$set=c=>{e=h(h({},e),I(c)),a(0,t=k(e,o)),"$$scope"in c&&a(1,f=c.$$scope)},[t,f,i]}class be extends E{constructor(e){super(),S(this,e,ne,ie,P,{})}}function D(s){let e,a,o,t,i,f,n,l;const r=s[14].default,d=V(r,s,s[13],null);let c=[{role:"tab"},{class:"tab"},{"aria-selected":s[5]},{"aria-controls":s[3]},{tabindex:t=s[5]?0:-1},{id:s[1]},{href:s[2]},{"data-testid":i=s[1]??s[8]["data-testid"]},s[9]],_={};for(let u=0;ua(12,f=m)),W(d);const Y=()=>{X(d),C&&C()};return s.$$set=m=>{a(8,e=h(h({},e),I(m))),a(9,i=k(e,t)),"label"in m&&a(0,r=m.label),"id"in m&&a(1,d=m.id),"href"in m&&a(2,c=m.href),"panelId"in m&&a(3,_=m.panelId),"disabled"in m&&a(4,u=m.disabled),"active"in m&&a(10,b=m.active),"onClick"in m&&a(11,C=m.onClick),"$$scope"in m&&a(13,l=m.$$scope)},s.$$.update=()=>{s.$$.dirty&5122&&a(5,o=ae(b)?f===d:b)},e=I(e),[r,d,c,_,u,o,H,Y,e,i,b,C,f,l,n]}class me extends E{constructor(e){super(),S(this,e,fe,ue,P,{label:0,id:1,href:2,panelId:3,disabled:4,active:10,onClick:11})}}function oe(s){let e,a,o;const t=s[4].default,i=V(t,s,s[3],null);let f=[{class:a="tab-list "+s[1]},{role:"tablist"},{"aria-label":s[0]},s[2]],n={};for(let l=0;l{e=h(h({},e),I(r)),a(2,t=k(e,o)),"label"in r&&a(0,n=r.label),"class"in r&&a(1,l=r.class),"$$scope"in r&&a(3,f=r.$$scope)},[n,l,t,f,i]}class he extends E{constructor(e){super(),S(this,e,re,oe,P,{label:0,class:1})}}export{be as T,he as a,me as b,Q as c}; diff --git a/ui/assets/cloud/_app/immutable/chunks/table-header-row.a7bab5a4.js b/ui/assets/cloud/_app/immutable/chunks/table-header-row.a7bab5a4.js deleted file mode 100644 index 4c64a2fd12..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/table-header-row.a7bab5a4.js +++ /dev/null @@ -1 +0,0 @@ -import{S as N,b as O,a as R,m as v,p as b,q as E,k as d,v as F,u as y,f as V,M as g,n as G,G as A,O as q,c as D,d as H,R as J,T as L,H as B,I as S,J as C,j as T,z as Q,g as p,h as U,V as W,a5 as M,P as I,C as X,D as Z,E as w,F as x}from"./index.d29c66be.js";function $(r){let e,s;return{c(){e=v("div"),s=v("span"),this.h()},l(a){e=b(a,"DIV",{class:!0});var i=E(e);s=b(i,"SPAN",{style:!0,class:!0}),E(s).forEach(d),i.forEach(d),this.h()},h(){F(s,"width",r[0]),y(s,"class","svelte-69dzme"),y(e,"class","meter svelte-69dzme")},m(a,i){V(a,e,i),g(e,s)},p(a,[i]){i&1&&F(s,"width",a[0])},i:G,o:G,d(a){a&&d(e)}}}function ee(r,e,s){let{width:a="100%"}=e;return r.$$set=i=>{"width"in i&&s(0,a=i.width)},[a]}class te extends N{constructor(e){super(),O(this,e,ee,$,R,{width:0})}}const se=r=>({}),Y=r=>({});function K(r){let e,s;return e=new te({}),{c(){X(e.$$.fragment)},l(a){Z(e.$$.fragment,a)},m(a,i){w(e,a,i),s=!0},i(a){s||(T(e.$$.fragment,a),s=!0)},o(a){p(e.$$.fragment,a),s=!1},d(a){x(e,a)}}}function ae(r){let e,s,a,i,c,h,o;const m=r[5].headers,l=A(m,r,r[4],Y);let t=r[2]&&K();const u=r[5].default,_=A(u,r,r[4],null);let z=[{class:h=r[1]+" "+r[0]},r[3]],P={};for(let n=0;n{t=null}),U()),_&&_.p&&(!o||f&16)&&B(_,u,n,n[4],o?C(u,n[4],f,null):S(n[4]),null),J(e,P=W(z,[(!o||f&3&&h!==(h=n[1]+" "+n[0]))&&{class:h},f&8&&n[3]])),L(e,"svelte-1uclmq7",!0)},i(n){o||(T(l,n),T(t),T(_,n),o=!0)},o(n){p(l,n),p(t),p(_,n),o=!1},d(n){n&&d(e),l&&l.d(n),t&&t.d(),_&&_.d(n)}}}function le(r,e,s){const a=["class","variant","updating"];let i=M(e,a),{$$slots:c={},$$scope:h}=e,{class:o=""}=e,{variant:m="fancy"}=e,{updating:l=!1}=e;return r.$$set=t=>{e=q(q({},e),I(t)),s(3,i=M(e,a)),"class"in t&&s(0,o=t.class),"variant"in t&&s(1,m=t.variant),"updating"in t&&s(2,l=t.updating),"$$scope"in t&&s(4,h=t.$$scope)},[o,m,l,i,h,c]}class oe extends N{constructor(e){super(),O(this,e,le,ae,R,{class:0,variant:1,updating:2})}}function ne(r){let e,s,a,i,c,h,o;const m=r[2].default,l=A(m,r,r[1],null);return{c(){e=v("tr"),s=v("th"),a=D(),l&&l.c(),i=D(),c=v("th"),this.h()},l(t){e=b(t,"TR",{class:!0});var u=E(e);s=b(u,"TH",{}),E(s).forEach(d),a=H(u),l&&l.l(u),i=H(u),c=b(u,"TH",{}),E(c).forEach(d),u.forEach(d),this.h()},h(){y(e,"class",h=r[0].class)},m(t,u){V(t,e,u),g(e,s),g(e,a),l&&l.m(e,null),g(e,i),g(e,c),o=!0},p(t,[u]){l&&l.p&&(!o||u&2)&&B(l,m,t,t[1],o?C(m,t[1],u,null):S(t[1]),null),(!o||u&1&&h!==(h=t[0].class))&&y(e,"class",h)},i(t){o||(T(l,t),o=!0)},o(t){p(l,t),o=!1},d(t){t&&d(e),l&&l.d(t)}}}function re(r,e,s){let{$$slots:a={},$$scope:i}=e;return r.$$set=c=>{s(0,e=q(q({},e),I(c))),"$$scope"in c&&s(1,i=c.$$scope)},e=I(e),[e,i,a]}class ce extends N{constructor(e){super(),O(this,e,re,ne,R,{})}}export{te as P,oe as T,ce as a}; diff --git a/ui/assets/cloud/_app/immutable/chunks/table-row.4a68a50d.js b/ui/assets/cloud/_app/immutable/chunks/table-row.4a68a50d.js deleted file mode 100644 index 60781b1980..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/table-row.4a68a50d.js +++ /dev/null @@ -1 +0,0 @@ -import{S as H,b as I,a as J,e as R,f as P,z as M,g as T,h as O,j as E,k as h,a5 as S,O as v,P as Q,Q as U,G as j,m as b,c as D,p as k,q as g,d as q,R as N,M as p,U as V,W,H as z,I as A,J as C,V as G}from"./index.d29c66be.js";function B(f){let e,s,u,c,_,n,i,r;const o=f[4].default,t=j(o,f,f[3],null);let m=[{class:f[1]},f[2]],a={};for(let l=0;l{n[t]=null}),O(),s=n[e],s?s.p(r,o):(s=n[e]=_[e](r),s.c()),E(s,1),s.m(u.parentNode,u))},i(r){c||(E(s),c=!0)},o(r){T(s),c=!1},d(r){n[e].d(r),r&&h(u)}}}function L(f,e,s){const u=["href","class"];let c=S(e,u),{$$slots:_={},$$scope:n}=e,{href:i=""}=e,{class:r=""}=e;function o(t){U.call(this,f,t)}return f.$$set=t=>{e=v(v({},e),Q(t)),s(2,c=S(e,u)),"href"in t&&s(0,i=t.href),"class"in t&&s(1,r=t.class),"$$scope"in t&&s(3,n=t.$$scope)},[i,r,c,n,_,o]}class Y extends H{constructor(e){super(),I(this,e,L,K,J,{href:0,class:1})}}export{Y as T}; diff --git a/ui/assets/cloud/_app/immutable/chunks/time-format.6ef667eb.js b/ui/assets/cloud/_app/immutable/chunks/time-format.6ef667eb.js deleted file mode 100644 index b33f4de08d..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/time-format.6ef667eb.js +++ /dev/null @@ -1 +0,0 @@ -import{p as s}from"./persist-store.bb6871e4.js";const o=s("timeFormat","UTC"),m=t=>{o.set(t)};export{m as s,o as t}; diff --git a/ui/assets/cloud/_app/immutable/chunks/to-time-difference.be87d1bf.js b/ui/assets/cloud/_app/immutable/chunks/to-time-difference.be87d1bf.js deleted file mode 100644 index fc0c72c292..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/to-time-difference.be87d1bf.js +++ /dev/null @@ -1 +0,0 @@ -const c=({date:e,now:n=Date.now(),negativeDefault:t})=>{if(!e)return"";const o=String(e);try{const r=(Number(new Date(o))-n)/1e3;return t&&r<0?t:isNaN(r)?"":`${r}s`}catch{return""}};export{c as t}; diff --git a/ui/assets/cloud/_app/immutable/chunks/toaster.fda31b2d.js b/ui/assets/cloud/_app/immutable/chunks/toaster.fda31b2d.js deleted file mode 100644 index 0b0e5b09ef..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/toaster.fda31b2d.js +++ /dev/null @@ -1 +0,0 @@ -import{w as p}from"./index.255b7490.js";let c;const s=new Uint8Array(16);function m(){if(!c&&(c=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!c))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return c(s)}const e=[];for(let t=0;t<256;++t)e.push((t+256).toString(16).slice(1));function y(t,n=0){return(e[t[n+0]]+e[t[n+1]]+e[t[n+2]]+e[t[n+3]]+"-"+e[t[n+4]]+e[t[n+5]]+"-"+e[t[n+6]]+e[t[n+7]]+"-"+e[t[n+8]]+e[t[n+9]]+"-"+e[t[n+10]]+e[t[n+11]]+e[t[n+12]]+e[t[n+13]]+e[t[n+14]]+e[t[n+15]]).toLowerCase()}const l=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),r={randomUUID:l};function U(t,n,i){if(r.randomUUID&&!n&&!t)return r.randomUUID();t=t||{};const o=t.random||(t.rng||m)();if(o[6]=o[6]&15|64,o[8]=o[8]&63|128,n){i=i||0;for(let d=0;d<16;++d)n[i+d]=o[d];return n}return y(o)}const u=p([]),g=t=>{const n={id:U(),duration:3e3,variant:"primary",...t};u.update(o=>[...o,n]);const i=setTimeout(()=>{a(n.id),clearTimeout(i)},n.duration)},a=t=>{u.update(n=>n.filter(i=>i.id!==t))},x=()=>{u.set([])},h={push:g,pop:a,clear:x,toasts:u,set:u.set,subscribe:u.subscribe,update:u.update};export{h as t,U as v}; diff --git a/ui/assets/cloud/_app/immutable/chunks/toggle-switch.58d0ba8c.js b/ui/assets/cloud/_app/immutable/chunks/toggle-switch.58d0ba8c.js deleted file mode 100644 index 5f8538b5ea..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/toggle-switch.58d0ba8c.js +++ /dev/null @@ -1 +0,0 @@ -import{S as T,b as E,a as P,m as f,c as q,p as r,q as b,d as A,k as o,u as i,T as g,f as L,M as _,U as m,n as k,r as N,O as v,P as S,Q as U}from"./index.d29c66be.js";function y(l){let a,e,d,c,n,h,u;return{c(){a=f("label"),e=f("input"),c=q(),n=f("span"),this.h()},l(s){a=r(s,"LABEL",{for:!0,class:!0});var t=b(a);e=r(t,"INPUT",{id:!0,type:!0,class:!0,"data-testid":!0}),c=A(t),n=r(t,"SPAN",{class:!0}),b(n).forEach(o),t.forEach(o),this.h()},h(){i(e,"id",l[1]),e.disabled=l[2],i(e,"type","checkbox"),i(e,"class","hidden svelte-1003px1"),i(e,"data-testid",d=l[3]["data-testid"]),g(e,"disabled",l[2]),i(n,"class","slider svelte-1003px1"),i(a,"for",l[1]),i(a,"class","switch svelte-1003px1")},m(s,t){L(s,a,t),_(a,e),e.checked=l[0],_(a,c),_(a,n),h||(u=[m(e,"change",l[4]),m(e,"change",l[5])],h=!0)},p(s,[t]){t&2&&i(e,"id",s[1]),t&4&&(e.disabled=s[2]),t&8&&d!==(d=s[3]["data-testid"])&&i(e,"data-testid",d),t&1&&(e.checked=s[0]),t&4&&g(e,"disabled",s[2]),t&2&&i(a,"for",s[1])},i:k,o:k,d(s){s&&o(a),h=!1,N(u)}}}function B(l,a,e){let{checked:d=!1}=a,{id:c}=a,{disabled:n=!1}=a;function h(s){U.call(this,l,s)}function u(){d=this.checked,e(0,d)}return l.$$set=s=>{e(3,a=v(v({},a),S(s))),"checked"in s&&e(0,d=s.checked),"id"in s&&e(1,c=s.id),"disabled"in s&&e(2,n=s.disabled)},a=S(a),[d,c,n,a,h,u]}class I extends T{constructor(a){super(),E(this,a,B,y,P,{checked:0,id:1,disabled:2})}}export{I as T}; diff --git a/ui/assets/cloud/_app/immutable/chunks/tooltip.ca813c82.js b/ui/assets/cloud/_app/immutable/chunks/tooltip.ca813c82.js deleted file mode 100644 index 0144617511..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/tooltip.ca813c82.js +++ /dev/null @@ -1,6 +0,0 @@ -import{af as se,S as Y,b as Z,a as w,O as A,m as E,p as C,q as L,k as p,R as x,T as v,f as I,U as H,z as D,g as y,h as O,j as k,V as ne,a5 as $,P as S,Q as oe,G as P,H as V,I as q,J as B,C as U,c as M,D as j,d as Q,u as T,E as z,M as R,F,e as J,ag as ie,L as ae,r as fe,w as K,x as W,y as X}from"./index.d29c66be.js";import{I as G}from"./icon.5aa23970.js";import{c as ce}from"./copy-to-clipboard.a65bc890.js";function le(o){const e=o-1;return e*e*e+1}function De(o,{delay:e=0,duration:s=400,easing:t=se}={}){const l=+getComputedStyle(o).opacity;return{delay:e,duration:s,easing:t,css:n=>`opacity: ${n*l}`}}function Oe(o,{delay:e=0,duration:s=400,easing:t=le,x:l=0,y:n=0,opacity:i=0}={}){const _=getComputedStyle(o),a=+_.opacity,f=_.transform==="none"?"":_.transform,h=a*(1-i);return{delay:e,duration:s,easing:t,css:(c,r)=>` - transform: ${f} translate(${(1-c)*l}px, ${(1-c)*n}px); - opacity: ${a-h*r}`}}function Pe(o,{delay:e=0,duration:s=400,easing:t=le,start:l=0,opacity:n=0}={}){const i=getComputedStyle(o),_=+i.opacity,a=i.transform==="none"?"":i.transform,f=1-l,h=_*(1-n);return{delay:e,duration:s,easing:t,css:(c,r)=>` - transform: ${a} scale(${1-f*r}); - opacity: ${_-h*r} - `}}function ue(o){let e;const s=o[6].default,t=P(s,o,o[5],null);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,n){t&&t.m(l,n),e=!0},p(l,n){t&&t.p&&(!e||n&32)&&V(t,s,l,l[5],e?B(s,l[5],n,null):q(l[5]),null)},i(l){e||(k(t,l),e=!0)},o(l){y(t,l),e=!1},d(l){t&&t.d(l)}}}function re(o){let e,s,t,l,n;s=new G({props:{name:o[0]}});const i=o[6].default,_=P(i,o,o[5],null);return{c(){e=E("div"),U(s.$$.fragment),t=M(),_&&_.c(),this.h()},l(a){e=C(a,"DIV",{class:!0});var f=L(e);j(s.$$.fragment,f),t=Q(f),_&&_.l(f),f.forEach(p),this.h()},h(){T(e,"class",l="flex items-center justify-center gap-2 "+o[1]+" svelte-1vs3on1")},m(a,f){I(a,e,f),z(s,e,null),R(e,t),_&&_.m(e,null),n=!0},p(a,f){const h={};f&1&&(h.name=a[0]),s.$set(h),_&&_.p&&(!n||f&32)&&V(_,i,a,a[5],n?B(i,a[5],f,null):q(a[5]),null),(!n||f&2&&l!==(l="flex items-center justify-center gap-2 "+a[1]+" svelte-1vs3on1"))&&T(e,"class",l)},i(a){n||(k(s.$$.fragment,a),k(_,a),n=!0)},o(a){y(s.$$.fragment,a),y(_,a),n=!1},d(a){a&&p(e),F(s),_&&_.d(a)}}}function _e(o){let e,s,t,l,n,i,_;const a=[re,ue],f=[];function h(u,d){return u[0]?0:1}s=h(o),t=f[s]=a[s](o);let c=[{type:"button"},{class:"icon-button"},{"data-testid":l=o[3]["data-testid"]},o[4]],r={};for(let u=0;u{f[b]=null}),O(),t=f[s],t?t.p(u,d):(t=f[s]=a[s](u),t.c()),k(t,1),t.m(e,null)),x(e,r=ne(c,[{type:"button"},{class:"icon-button"},(!n||d&8&&l!==(l=u[3]["data-testid"]))&&{"data-testid":l},d&16&&u[4]])),v(e,"hoverable",u[2]),v(e,"svelte-1vs3on1",!0)},i(u){n||(k(t),n=!0)},o(u){y(t),n=!1},d(u){u&&p(e),f[s].d(),i=!1,_()}}}function me(o,e,s){const t=["icon","classes","hoverable"];let l=$(e,t),{$$slots:n={},$$scope:i}=e,{icon:_=null}=e,{classes:a=""}=e,{hoverable:f=!1}=e;function h(c){oe.call(this,o,c)}return o.$$set=c=>{s(3,e=A(A({},e),S(c))),s(4,l=$(e,t)),"icon"in c&&s(0,_=c.icon),"classes"in c&&s(1,a=c.classes),"hoverable"in c&&s(2,f=c.hoverable),"$$scope"in c&&s(5,i=c.$$scope)},e=S(e),[_,a,f,e,l,i,n,h]}class Ve extends Y{constructor(e){super(),Z(this,e,me,_e,w,{icon:0,classes:1,hoverable:2})}}function be(o){let e,s,t,l,n,i,_,a;const f=o[10].default,h=P(f,o,o[9],null),c=h||de(o);return l=new G({props:{name:o[4]?"checkmark":"copy",stroke:o[2],class:`${o[1]?"visible":"invisible group-hover:visible"}`}}),{c(){e=E("div"),c&&c.c(),s=M(),t=E("button"),U(l.$$.fragment),this.h()},l(r){e=C(r,"DIV",{class:!0});var u=L(e);c&&c.l(u),s=Q(u),t=C(u,"BUTTON",{});var d=L(t);j(l.$$.fragment,d),d.forEach(p),u.forEach(p),this.h()},h(){T(e,"class",n="group flex items-center gap-2 "+o[7]["container-class"])},m(r,u){I(r,e,u),c&&c.m(e,null),R(e,s),R(e,t),z(l,t,null),i=!0,_||(a=H(t,"click",o[13]),_=!0)},p(r,u){h?h.p&&(!i||u&512)&&V(h,f,r,r[9],i?B(f,r[9],u,null):q(r[9]),null):c&&c.p&&(!i||u&385)&&c.p(r,i?u:-1);const d={};u&16&&(d.name=r[4]?"checkmark":"copy"),u&4&&(d.stroke=r[2]),u&2&&(d.class=`${r[1]?"visible":"invisible group-hover:visible"}`),l.$set(d),(!i||u&128&&n!==(n="group flex items-center gap-2 "+r[7]["container-class"]))&&T(e,"class",n)},i(r){i||(k(c,r),k(l.$$.fragment,r),i=!0)},o(r){y(c,r),y(l.$$.fragment,r),i=!1},d(r){r&&p(e),c&&c.d(r),F(l),_=!1,a()}}}function he(o){let e,s,t,l,n,i,_,a;const f=o[10].default,h=P(f,o,o[9],null),c=h||ge(o);return l=new G({props:{name:o[4]?"checkmark":"copy",stroke:o[2],class:`${o[1]?"visible":"invisible group-hover:visible"}`}}),{c(){e=E("button"),c&&c.c(),s=M(),t=E("button"),U(l.$$.fragment),this.h()},l(r){e=C(r,"BUTTON",{class:!0});var u=L(e);c&&c.l(u),s=Q(u),t=C(u,"BUTTON",{});var d=L(t);j(l.$$.fragment,d),d.forEach(p),u.forEach(p),this.h()},h(){T(e,"class",n="group flex items-center gap-2 "+o[7]["container-class"])},m(r,u){I(r,e,u),c&&c.m(e,null),R(e,s),R(e,t),z(l,t,null),i=!0,_||(a=[H(t,"click",o[11]),H(e,"click",o[12])],_=!0)},p(r,u){h?h.p&&(!i||u&512)&&V(h,f,r,r[9],i?B(f,r[9],u,null):q(r[9]),null):c&&c.p&&(!i||u&385)&&c.p(r,i?u:-1);const d={};u&16&&(d.name=r[4]?"checkmark":"copy"),u&4&&(d.stroke=r[2]),u&2&&(d.class=`${r[1]?"visible":"invisible group-hover:visible"}`),l.$set(d),(!i||u&128&&n!==(n="group flex items-center gap-2 "+r[7]["container-class"]))&&T(e,"class",n)},i(r){i||(k(c,r),k(l.$$.fragment,r),i=!0)},o(r){y(c,r),y(l.$$.fragment,r),i=!1},d(r){r&&p(e),c&&c.d(r),F(l),_=!1,fe(a)}}}function de(o){let e,s,t;return{c(){e=E("span"),s=K(o[0]),this.h()},l(l){e=C(l,"SPAN",{class:!0});var n=L(e);s=W(n,o[0]),n.forEach(p),this.h()},h(){T(e,"class",t=o[7].class),v(e,"select-all",!o[8].default)},m(l,n){I(l,e,n),R(e,s)},p(l,n){n&1&&X(s,l[0]),n&128&&t!==(t=l[7].class)&&T(e,"class",t),n&384&&v(e,"select-all",!l[8].default)},d(l){l&&p(e)}}}function ge(o){let e,s,t;return{c(){e=E("span"),s=K(o[0]),this.h()},l(l){e=C(l,"SPAN",{class:!0});var n=L(e);s=W(n,o[0]),n.forEach(p),this.h()},h(){T(e,"class",t=o[7].class),v(e,"select-all",!o[8].default)},m(l,n){I(l,e,n),R(e,s)},p(l,n){n&1&&X(s,l[0]),n&128&&t!==(t=l[7].class)&&T(e,"class",t),n&384&&v(e,"select-all",!l[8].default)},d(l){l&&p(e)}}}function ke(o){let e,s,t,l;const n=[he,be],i=[];function _(a,f){return a[3]?0:1}return e=_(o),s=i[e]=n[e](o),{c(){s.c(),t=J()},l(a){s.l(a),t=J()},m(a,f){i[e].m(a,f),I(a,t,f),l=!0},p(a,[f]){let h=e;e=_(a),e===h?i[e].p(a,f):(D(),y(i[h],1,1,()=>{i[h]=null}),O(),s=i[e],s?s.p(a,f):(s=i[e]=n[e](a),s.c()),k(s,1),s.m(t.parentNode,t))},i(a){l||(k(s),l=!0)},o(a){y(s),l=!1},d(a){i[e].d(a),a&&p(t)}}}function ve(o,e,s){let t,{$$slots:l={},$$scope:n}=e;const i=ie(l);let{content:_}=e,{visible:a=!1}=e,{color:f="black"}=e,{clickAllToCopy:h=!1}=e;const{copy:c,copied:r}=ce(500);ae(o,r,m=>s(4,t=m));const u=m=>c(m,_),d=m=>c(m,_),b=m=>c(m,_);return o.$$set=m=>{s(7,e=A(A({},e),S(m))),"content"in m&&s(0,_=m.content),"visible"in m&&s(1,a=m.visible),"color"in m&&s(2,f=m.color),"clickAllToCopy"in m&&s(3,h=m.clickAllToCopy),"$$scope"in m&&s(9,n=m.$$scope)},e=S(e),[_,a,f,h,t,c,r,e,i,n,l,u,d,b]}class pe extends Y{constructor(e){super(),Z(this,e,ve,ke,w,{content:0,visible:1,color:2,clickAllToCopy:3})}}function ye(o){let e,s,t,l,n,i,_,a,f;const h=o[14].default,c=P(h,o,o[15],null),r=[Ce,Ee],u=[];function d(b,m){return b[10]?0:1}return n=d(o),i=u[n]=r[n](o),{c(){e=E("div"),c&&c.c(),s=M(),t=E("div"),l=E("div"),i.c(),this.h()},l(b){e=C(b,"DIV",{class:!0});var m=L(e);c&&c.l(m),s=Q(m),t=C(m,"DIV",{class:!0,style:!0});var N=L(t);l=C(N,"DIV",{class:!0});var g=L(l);i.l(g),g.forEach(p),N.forEach(p),m.forEach(p),this.h()},h(){T(l,"class","inline-block rounded-lg bg-gray-800 px-2 py-2"),T(t,"class","tooltip svelte-uxq741"),T(t,"style",_=o[12]?`white-space: pre-wrap; width: ${o[12]}px;`:null),v(t,"left",o[8]),v(t,"right",o[4]),v(t,"bottom",o[5]),v(t,"bottomLeft",o[6]),v(t,"bottomRight",o[7]),v(t,"top",o[2]),v(t,"topRight",o[3]),v(t,"topLeft",o[9]),T(e,"class",a="wrapper relative inline-block "+o[13].class+" svelte-uxq741")},m(b,m){I(b,e,m),c&&c.m(e,null),R(e,s),R(e,t),R(t,l),u[n].m(l,null),f=!0},p(b,m){c&&c.p&&(!f||m&32768)&&V(c,h,b,b[15],f?B(h,b[15],m,null):q(b[15]),null);let N=n;n=d(b),n===N?u[n].p(b,m):(D(),y(u[N],1,1,()=>{u[N]=null}),O(),i=u[n],i?i.p(b,m):(i=u[n]=r[n](b),i.c()),k(i,1),i.m(l,null)),(!f||m&4096&&_!==(_=b[12]?`white-space: pre-wrap; width: ${b[12]}px;`:null))&&T(t,"style",_),(!f||m&256)&&v(t,"left",b[8]),(!f||m&16)&&v(t,"right",b[4]),(!f||m&32)&&v(t,"bottom",b[5]),(!f||m&64)&&v(t,"bottomLeft",b[6]),(!f||m&128)&&v(t,"bottomRight",b[7]),(!f||m&4)&&v(t,"top",b[2]),(!f||m&8)&&v(t,"topRight",b[3]),(!f||m&512)&&v(t,"topLeft",b[9]),(!f||m&8192&&a!==(a="wrapper relative inline-block "+b[13].class+" svelte-uxq741"))&&T(e,"class",a)},i(b){f||(k(c,b),k(i),f=!0)},o(b){y(c,b),y(i),f=!1},d(b){b&&p(e),c&&c.d(b),u[n].d()}}}function Te(o){let e;const s=o[14].default,t=P(s,o,o[15],null);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,n){t&&t.m(l,n),e=!0},p(l,n){t&&t.p&&(!e||n&32768)&&V(t,s,l,l[15],e?B(s,l[15],n,null):q(l[15]),null)},i(l){e||(k(t,l),e=!0)},o(l){y(t,l),e=!1},d(l){t&&t.d(l)}}}function Ee(o){let e,s,t,l=o[1]&&ee(o);return{c(){e=E("span"),l&&l.c(),s=K(o[0]),this.h()},l(n){e=C(n,"SPAN",{class:!0});var i=L(e);l&&l.l(i),s=W(i,o[0]),i.forEach(p),this.h()},h(){T(e,"class","flex gap-2 text-gray-100")},m(n,i){I(n,e,i),l&&l.m(e,null),R(e,s),t=!0},p(n,i){n[1]?l?(l.p(n,i),i&2&&k(l,1)):(l=ee(n),l.c(),k(l,1),l.m(e,s)):l&&(D(),y(l,1,1,()=>{l=null}),O()),(!t||i&1)&&X(s,n[0])},i(n){t||(k(l),t=!0)},o(n){y(l),t=!1},d(n){n&&p(e),l&&l.d()}}}function Ce(o){let e,s;return e=new pe({props:{clickAllToCopy:!0,content:o[0],color:"white",$$slots:{default:[Le]},$$scope:{ctx:o}}}),{c(){U(e.$$.fragment)},l(t){j(e.$$.fragment,t)},m(t,l){z(e,t,l),s=!0},p(t,l){const n={};l&1&&(n.content=t[0]),l&32771&&(n.$$scope={dirty:l,ctx:t}),e.$set(n)},i(t){s||(k(e.$$.fragment,t),s=!0)},o(t){y(e.$$.fragment,t),s=!1},d(t){F(e,t)}}}function ee(o){let e,s;return e=new G({props:{name:o[1],class:"inline h-4 text-white"}}),{c(){U(e.$$.fragment)},l(t){j(e.$$.fragment,t)},m(t,l){z(e,t,l),s=!0},p(t,l){const n={};l&2&&(n.name=t[1]),e.$set(n)},i(t){s||(k(e.$$.fragment,t),s=!0)},o(t){y(e.$$.fragment,t),s=!1},d(t){F(e,t)}}}function te(o){let e,s;return e=new G({props:{name:o[1],class:"inline h-4 text-white"}}),{c(){U(e.$$.fragment)},l(t){j(e.$$.fragment,t)},m(t,l){z(e,t,l),s=!0},p(t,l){const n={};l&2&&(n.name=t[1]),e.$set(n)},i(t){s||(k(e.$$.fragment,t),s=!0)},o(t){y(e.$$.fragment,t),s=!1},d(t){F(e,t)}}}function Le(o){let e,s,t,l=o[1]&&te(o);return{c(){e=E("span"),l&&l.c(),s=K(o[0]),this.h()},l(n){e=C(n,"SPAN",{class:!0});var i=L(e);l&&l.l(i),s=W(i,o[0]),i.forEach(p),this.h()},h(){T(e,"class","text-gray-100")},m(n,i){I(n,e,i),l&&l.m(e,null),R(e,s),t=!0},p(n,i){n[1]?l?(l.p(n,i),i&2&&k(l,1)):(l=te(n),l.c(),k(l,1),l.m(e,s)):l&&(D(),y(l,1,1,()=>{l=null}),O()),(!t||i&1)&&X(s,n[0])},i(n){t||(k(l),t=!0)},o(n){y(l),t=!1},d(n){n&&p(e),l&&l.d()}}}function Re(o){let e,s,t,l;const n=[Te,ye],i=[];function _(a,f){return a[11]?0:1}return e=_(o),s=i[e]=n[e](o),{c(){s.c(),t=J()},l(a){s.l(a),t=J()},m(a,f){i[e].m(a,f),I(a,t,f),l=!0},p(a,[f]){let h=e;e=_(a),e===h?i[e].p(a,f):(D(),y(i[h],1,1,()=>{i[h]=null}),O(),s=i[e],s?s.p(a,f):(s=i[e]=n[e](a),s.c()),k(s,1),s.m(t.parentNode,t))},i(a){l||(k(s),l=!0)},o(a){y(s),l=!1},d(a){i[e].d(a),a&&p(t)}}}function Ie(o,e,s){let{$$slots:t={},$$scope:l}=e,{text:n=""}=e,{icon:i=null}=e,{top:_=!1}=e,{topRight:a=!1}=e,{right:f=!1}=e,{bottom:h=!1}=e,{bottomLeft:c=!1}=e,{bottomRight:r=!1}=e,{left:u=!1}=e,{topLeft:d=!1}=e,{copyable:b=!1}=e,{hide:m=!1}=e,{width:N=null}=e;return o.$$set=g=>{s(13,e=A(A({},e),S(g))),"text"in g&&s(0,n=g.text),"icon"in g&&s(1,i=g.icon),"top"in g&&s(2,_=g.top),"topRight"in g&&s(3,a=g.topRight),"right"in g&&s(4,f=g.right),"bottom"in g&&s(5,h=g.bottom),"bottomLeft"in g&&s(6,c=g.bottomLeft),"bottomRight"in g&&s(7,r=g.bottomRight),"left"in g&&s(8,u=g.left),"topLeft"in g&&s(9,d=g.topLeft),"copyable"in g&&s(10,b=g.copyable),"hide"in g&&s(11,m=g.hide),"width"in g&&s(12,N=g.width),"$$scope"in g&&s(15,l=g.$$scope)},e=S(e),[n,i,_,a,f,h,c,r,u,d,b,m,N,e,t,l]}class qe extends Y{constructor(e){super(),Z(this,e,Ie,Re,w,{text:0,icon:1,top:2,topRight:3,right:4,bottom:5,bottomLeft:6,bottomRight:7,left:8,topLeft:9,copyable:10,hide:11,width:12})}}export{pe as C,Ve as I,qe as T,De as a,Oe as f,Pe as s}; diff --git a/ui/assets/cloud/_app/immutable/chunks/version-check.d006b302.js b/ui/assets/cloud/_app/immutable/chunks/version-check.d006b302.js deleted file mode 100644 index 543a65a529..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/version-check.d006b302.js +++ /dev/null @@ -1 +0,0 @@ -const n=(r,t)=>{if(!r||!t)return!1;const[e,s,p]=r.split(".").map(Number),[a,i,m]=t.split(".").map(Number);return e!==a?e>a:s!==i?s>i:p>m};export{n as i}; diff --git a/ui/assets/cloud/_app/immutable/chunks/versions.dfa21225.js b/ui/assets/cloud/_app/immutable/chunks/versions.dfa21225.js deleted file mode 100644 index ef06983a22..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/versions.dfa21225.js +++ /dev/null @@ -1 +0,0 @@ -import{d as o}from"./index.255b7490.js";import{c as m}from"./cluster.90d7eb2f.js";import{s as a}from"./settings.a68ca666.js";const p=o([m],([r])=>r==null?void 0:r.serverVersion),s=o([a],([r])=>r==null?void 0:r.version);export{p as t,s as u}; diff --git a/ui/assets/cloud/_app/immutable/chunks/workers-list.0e0f0daa.js b/ui/assets/cloud/_app/immutable/chunks/workers-list.0e0f0daa.js deleted file mode 100644 index 2db55af2f0..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/workers-list.0e0f0daa.js +++ /dev/null @@ -1 +0,0 @@ -import{S as ce,b as fe,a as ie,m as k,w as W,c as Q,C as N,p as w,q as b,x as F,k as i,d as I,D as P,u as $,f as h,M as T,E as C,y as G,j as D,g as H,F as L,L as ue,e as K,z as V,a1 as _e,a2 as me,h as Y,n as oe}from"./index.d29c66be.js";import{I as B}from"./icon.5aa23970.js";import{t as pe}from"./time-format.6ef667eb.js";import{f as se}from"./format-date.100c5f23.js";import{E as de}from"./empty-state.bf113865.js";import{T as $e,a as he}from"./table-header-row.a7bab5a4.js";import{T as ke}from"./table-row.4a68a50d.js";function re(m,e,l){const t=m.slice();return t[3]=e[l],t}function ae(m){let e,l,t,r,n;return t=new de({props:{title:"No Workers Found"}}),{c(){e=k("tr"),l=k("td"),N(t.$$.fragment),r=Q(),this.h()},l(c){e=w(c,"TR",{class:!0});var s=b(e);l=w(s,"TD",{colspan:!0});var p=b(l);P(t.$$.fragment,p),p.forEach(i),r=I(s),s.forEach(i),this.h()},h(){$(l,"colspan","6"),$(e,"class","w-full")},m(c,s){h(c,e,s),T(e,l),C(t,l,null),T(e,r),n=!0},p:oe,i(c){n||(D(t.$$.fragment,c),n=!0)},o(c){H(t.$$.fragment,c),n=!1},d(c){c&&i(e),L(t)}}}function we(m){let e,l;return e=new B({props:{name:"close",class:"m-auto text-primary",title:"no"}}),{c(){N(e.$$.fragment)},l(t){P(e.$$.fragment,t)},m(t,r){C(e,t,r),l=!0},i(t){l||(D(e.$$.fragment,t),l=!0)},o(t){H(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function be(m){let e,l;return e=new B({props:{name:"checkmark",class:"m-auto text-blue-700",title:"yes"}}),{c(){N(e.$$.fragment)},l(t){P(e.$$.fragment,t)},m(t,r){C(e,t,r),l=!0},i(t){l||(D(e.$$.fragment,t),l=!0)},o(t){H(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Te(m){let e,l;return e=new B({props:{name:"close",class:"m-auto text-primary",title:"no"}}),{c(){N(e.$$.fragment)},l(t){P(e.$$.fragment,t)},m(t,r){C(e,t,r),l=!0},i(t){l||(D(e.$$.fragment,t),l=!0)},o(t){H(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function ve(m){let e,l;return e=new B({props:{name:"checkmark",class:"m-auto text-blue-700",title:"yes"}}),{c(){N(e.$$.fragment)},l(t){P(e.$$.fragment,t)},m(t,r){C(e,t,r),l=!0},i(t){l||(D(e.$$.fragment,t),l=!0)},o(t){H(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Ee(m){let e,l,t=m[3].identity+"",r,n,c,s,p=se(m[3].lastAccessTime,m[2])+"",a,o,_,g,v,u,E,A,S,y,x,q,R;const J=[be,we],O=[];function U(f,d){return d&2&&(g=null),g==null&&(g=!!f[3].taskQueueTypes.includes("WORKFLOW")),g?0:1}v=U(m,-1),u=O[v]=J[v](m);const X=[ve,Te],M=[];function Z(f,d){return d&2&&(S=null),S==null&&(S=!!f[3].taskQueueTypes.includes("ACTIVITY")),S?0:1}return y=Z(m,-1),x=M[y]=X[y](m),{c(){e=k("td"),l=k("p"),r=W(t),n=Q(),c=k("td"),s=k("p"),a=W(p),o=Q(),_=k("td"),u.c(),E=Q(),A=k("td"),x.c(),q=Q(),this.h()},l(f){e=w(f,"TD",{class:!0,"data-testid":!0});var d=b(e);l=w(d,"P",{class:!0});var j=b(l);r=F(j,t),j.forEach(i),d.forEach(i),n=I(f),c=w(f,"TD",{class:!0,"data-testid":!0});var z=b(c);s=w(z,"P",{class:!0});var ee=b(s);a=F(ee,p),ee.forEach(i),z.forEach(i),o=I(f),_=w(f,"TD",{"data-testid":!0});var te=b(_);u.l(te),te.forEach(i),E=I(f),A=w(f,"TD",{"data-testid":!0});var le=b(A);x.l(le),le.forEach(i),q=I(f),this.h()},h(){$(l,"class","select-all"),$(e,"class","text-left"),$(e,"data-testid","worker-identity"),$(s,"class","select-all"),$(c,"class","text-left"),$(c,"data-testid","worker-last-access-time"),$(_,"data-testid","workflow-poller"),$(A,"data-testid","activity-poller")},m(f,d){h(f,e,d),T(e,l),T(l,r),h(f,n,d),h(f,c,d),T(c,s),T(s,a),h(f,o,d),h(f,_,d),O[v].m(_,null),h(f,E,d),h(f,A,d),M[y].m(A,null),h(f,q,d),R=!0},p(f,d){(!R||d&2)&&t!==(t=f[3].identity+"")&&G(r,t),(!R||d&6)&&p!==(p=se(f[3].lastAccessTime,f[2])+"")&&G(a,p);let j=v;v=U(f,d),v!==j&&(V(),H(O[j],1,1,()=>{O[j]=null}),Y(),u=O[v],u||(u=O[v]=J[v](f),u.c()),D(u,1),u.m(_,null));let z=y;y=Z(f,d),y!==z&&(V(),H(M[z],1,1,()=>{M[z]=null}),Y(),x=M[y],x||(x=M[y]=X[y](f),x.c()),D(x,1),x.m(A,null))},i(f){R||(D(u),D(x),R=!0)},o(f){H(u),H(x),R=!1},d(f){f&&i(e),f&&i(n),f&&i(c),f&&i(o),f&&i(_),O[v].d(),f&&i(E),f&&i(A),M[y].d(),f&&i(q)}}}function ne(m,e){let l,t,r;return t=new ke({props:{"data-testid":"worker-row",$$slots:{default:[Ee]},$$scope:{ctx:e}}}),{key:m,first:null,c(){l=K(),N(t.$$.fragment),this.h()},l(n){l=K(),P(t.$$.fragment,n),this.h()},h(){this.first=l},m(n,c){h(n,l,c),C(t,n,c),r=!0},p(n,c){e=n;const s={};c&70&&(s.$$scope={dirty:c,ctx:e}),t.$set(s)},i(n){r||(D(t.$$.fragment,n),r=!0)},o(n){H(t.$$.fragment,n),r=!1},d(n){n&&i(l),L(t,n)}}}function ge(m){var p;let e=[],l=new Map,t,r,n=(p=m[1])==null?void 0:p.pollers;const c=a=>a[3].identity;for(let a=0;a{s=null}),Y()):(s=ae(),s.c(),D(s,1),s.m(t.parentNode,t)))},i(a){if(!r){for(let o=0;ol(2,t=c));let{taskQueue:r}=e,{workers:n}=e;return m.$$set=c=>{"taskQueue"in c&&l(0,r=c.taskQueue),"workers"in c&&l(1,n=c.workers)},[r,n,t]}class Ce extends ce{constructor(e){super(),fe(this,e,He,De,ie,{taskQueue:0,workers:1})}}export{Ce as W}; diff --git a/ui/assets/cloud/_app/immutable/chunks/workflow-json-navigator.d241bda8.js b/ui/assets/cloud/_app/immutable/chunks/workflow-json-navigator.d241bda8.js deleted file mode 100644 index 15d1a94f5b..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/workflow-json-navigator.d241bda8.js +++ /dev/null @@ -1 +0,0 @@ -import{S as me,b as he,a as ge,O as Z,m as P,w as F,c as R,p as I,q as D,x as G,k as E,d as W,u as i,v as oe,T as S,R as ue,f as M,M as m,a8 as J,U as C,y as Y,V as ke,aq as Q,n as x,r as be,a5 as ie,P as fe,A as ve,e as ce,z as we,g as B,h as Ee,j as K,Y as Ne,G as Pe,C as $,D as ee,E as te,Z as Ie,H as ye,I as Te,J as Ae,F as se}from"./index.d29c66be.js";import{C as De}from"./code-block.fc92cd67.js";import{L as Oe}from"./loading.9b5a6a67.js";const de=(t,...s)=>{const e={};for(const l of Object.keys(t))s.includes(l)||(e[l]=t[l]);return e};function _e(t){let s,e;return{c(){s=P("label"),e=F(t[1]),this.h()},l(l){s=I(l,"LABEL",{class:!0,for:!0});var u=D(s);e=G(u,t[1]),u.forEach(E),this.h()},h(){i(s,"class","flex shrink text-sm"),i(s,"for",t[4])},m(l,u){M(l,s,u),m(s,e)},p(l,u){u&2&&Y(e,l[1]),u&16&&i(s,"for",l[4])},d(l){l&&E(s)}}}function Ve(t){let s,e,l,u,N,_,p,r,v=(t[0]??"")+"",c,a,d,T,j,O,y,A,L,h,X,f,V,k,n,w=[{name:"range"},{type:"range"},{class:"h-0 w-full cursor-pointer appearance-none rounded border-y-2 border-primary"},{min:t[2]},{max:t[3]},{step:T=t[11].step},de(t[12],"class")],U={};for(let o=0;o{if(Number.isNaN(f.currentTarget.valueAsNumber)){e(0,a=r);return}e(7,d=f.currentTarget.valueAsNumber>=r&&f.currentTarget.valueAsNumber<=v)},O=({value:f,min:V,max:k})=>(f-V)*100/(k-V),y=({outputElement:f,outputXPos:V})=>{var k;const n=(k=f==null?void 0:f.clientWidth)!==null&&k!==void 0?k:15;return Math.floor(V*n/100)},A=()=>{e(6,l=O({value:a,min:r,max:v})),e(8,u=y({outputElement:T,outputXPos:l}))};function L(f){ve[f?"unshift":"push"](()=>{T=f,e(5,T)})}function h(){a=Q(this.value),e(0,a)}function X(){a=Q(this.value),e(0,a)}return t.$$set=f=>{e(11,s=Z(Z({},s),fe(f))),e(12,_=ie(s,N)),"label"in f&&e(1,p=f.label),"min"in f&&e(2,r=f.min),"max"in f&&e(3,v=f.max),"id"in f&&e(4,c=f.id),"value"in f&&e(0,a=f.value)},t.$$.update=()=>{t.$$.dirty&13&&e(6,l=O({value:a,min:r,max:v})),t.$$.dirty&109&&(a?(e(6,l=O({value:a,min:r,max:v})),e(8,u=y({outputElement:T,outputXPos:l}))):(e(6,l=0),e(8,u=0))),t.$$.dirty&96&&e(8,u=y({outputElement:T,outputXPos:l}))},s=fe(s),[a,p,r,v,c,T,l,d,u,j,A,s,_,L,h,X]}class Le extends me{constructor(s){super(),he(this,s,Ue,Ve,ge,{label:1,min:2,max:3,id:4,value:0})}}const Se=t=>({}),pe=t=>({});function je(t){let s,e,l,u,N,_,p,r,v,c,a,d,T,j,O,y,A,L,h;function X(n){t[5](n)}let f={id:"range-input-event-history",min:1,max:t[0].length};t[1]!==void 0&&(f.value=t[1]),l=new Le({props:f}),ve.push(()=>Ne(l,"value",X));const V=t[4].decode,k=Pe(V,t,t[3],pe);return y=new De({props:{content:t[0][t[1]-1],"data-testid":"event-history-json"}}),{c(){s=P("div"),e=P("div"),$(l.$$.fragment),N=R(),_=P("div"),p=P("button"),r=P("span"),c=R(),a=P("button"),d=P("span"),j=R(),k&&k.c(),O=R(),$(y.$$.fragment),this.h()},l(n){s=I(n,"DIV",{class:!0});var w=D(s);e=I(w,"DIV",{class:!0});var U=D(e);ee(l.$$.fragment,U),N=W(U),_=I(U,"DIV",{class:!0});var b=D(_);p=I(b,"BUTTON",{class:!0,"aria-label":!0});var o=D(p);r=I(o,"SPAN",{class:!0}),D(r).forEach(E),o.forEach(E),c=W(b),a=I(b,"BUTTON",{class:!0,"aria-label":!0});var g=D(a);d=I(g,"SPAN",{class:!0}),D(d).forEach(E),g.forEach(E),b.forEach(E),U.forEach(E),j=W(w),k&&k.l(w),w.forEach(E),O=W(n),ee(y.$$.fragment,n),this.h()},h(){i(r,"class","arrow arrow-left svelte-1780ds3"),S(r,"arrow-left-disabled",t[1]===1),i(p,"class","caret svelte-1780ds3"),p.disabled=v=t[1]===1,i(p,"aria-label","previous"),i(d,"class","arrow arrow-right svelte-1780ds3"),S(d,"arrow-right-disabled",t[1]===t[0].length),i(a,"class","caret svelte-1780ds3"),a.disabled=T=t[1]===t[0].length,i(a,"aria-label","next"),i(_,"class","flex items-center justify-center gap-3"),i(e,"class","flex w-full gap-4"),i(s,"class","flex gap-4 max-sm:flex-col")},m(n,w){M(n,s,w),m(s,e),te(l,e,null),m(e,N),m(e,_),m(_,p),m(p,r),m(_,c),m(_,a),m(a,d),m(s,j),k&&k.m(s,null),M(n,O,w),te(y,n,w),A=!0,L||(h=[C(p,"click",t[6]),C(a,"click",t[7])],L=!0)},p(n,w){const U={};w&1&&(U.max=n[0].length),!u&&w&2&&(u=!0,U.value=n[1],Ie(()=>u=!1)),l.$set(U),(!A||w&2)&&S(r,"arrow-left-disabled",n[1]===1),(!A||w&2&&v!==(v=n[1]===1))&&(p.disabled=v),(!A||w&3)&&S(d,"arrow-right-disabled",n[1]===n[0].length),(!A||w&3&&T!==(T=n[1]===n[0].length))&&(a.disabled=T),k&&k.p&&(!A||w&8)&&ye(k,V,n,n[3],A?Ae(V,n[3],w,Se):Te(n[3]),pe);const b={};w&3&&(b.content=n[0][n[1]-1]),y.$set(b)},i(n){A||(K(l.$$.fragment,n),K(k,n),K(y.$$.fragment,n),A=!0)},o(n){B(l.$$.fragment,n),B(k,n),B(y.$$.fragment,n),A=!1},d(n){n&&E(s),se(l),k&&k.d(n),n&&E(O),se(y,n),L=!1,be(h)}}}function Ce(t){let s,e;return s=new Oe({}),{c(){$(s.$$.fragment)},l(l){ee(s.$$.fragment,l)},m(l,u){te(s,l,u),e=!0},p:x,i(l){e||(K(s.$$.fragment,l),e=!0)},o(l){B(s.$$.fragment,l),e=!1},d(l){se(s,l)}}}function Re(t){let s,e,l,u,N,_;const p=[Ce,je],r=[];function v(c,a){return c[0].length?1:0}return s=v(t),e=r[s]=p[s](t),{c(){e.c(),l=ce()},l(c){e.l(c),l=ce()},m(c,a){r[s].m(c,a),M(c,l,a),u=!0,N||(_=C(window,"keydown",t[2]),N=!0)},p(c,[a]){let d=s;s=v(c),s===d?r[s].p(c,a):(we(),B(r[d],1,1,()=>{r[d]=null}),Ee(),e=r[s],e?e.p(c,a):(e=r[s]=p[s](c),e.c()),K(e,1),e.m(l.parentNode,l))},i(c){u||(K(e),u=!0)},o(c){B(e),u=!1},d(c){r[s].d(c),c&&E(l),N=!1,_()}}}function We(t,s,e){let{$$slots:l={},$$scope:u}=s,{events:N=[]}=s,_=1;function p(a){switch(a.code){case"ArrowRight":case"KeyL":a.preventDefault(),a.stopPropagation(),_1&&e(1,_-=1);break}}function r(a){_=a,e(1,_)}const v=()=>{e(1,_-=1)},c=()=>{e(1,_+=1)};return t.$$set=a=>{"events"in a&&e(0,N=a.events),"$$scope"in a&&e(3,u=a.$$scope)},[N,_,p,u,l,r,v,c]}class Be extends me{constructor(s){super(),he(this,s,We,Re,ge,{events:0})}}export{Be as W}; diff --git a/ui/assets/cloud/_app/immutable/chunks/workflow-run.2461dc7d.js b/ui/assets/cloud/_app/immutable/chunks/workflow-run.2461dc7d.js deleted file mode 100644 index fe9bedaf43..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/workflow-run.2461dc7d.js +++ /dev/null @@ -1 +0,0 @@ -import{w as r}from"./index.255b7490.js";import{p as o}from"./persist-store.bb6871e4.js";const w=r(0),s={workflow:null,workers:{pollers:[],taskQueueStatus:null}},a=r(s),l=o("workflowSummaryView",!0,!0);export{l as a,s as i,w as r,a as w}; diff --git a/ui/assets/cloud/_app/immutable/chunks/workflow-status.688af89a.js b/ui/assets/cloud/_app/immutable/chunks/workflow-status.688af89a.js deleted file mode 100644 index 371df137ef..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/workflow-status.688af89a.js +++ /dev/null @@ -1 +0,0 @@ -import{S as A,b as F,a as P,m as v,a3 as I,c as k,w as T,p as g,q as _,a4 as z,k as p,d as x,x as B,u as i,f as j,M as f,n as N,K as q,y as H,j as b,z as M,g as D,h as W,C,D as G,E as J,F as L}from"./index.d29c66be.js";import{p as Q}from"./stores.1f7fa6eb.js";import{a as X}from"./index.9b9e188f.js";import{i as E}from"./has.8da86d13.js";function Y(l){let e,s,t,n,r,u,c,a,o,d;return{c(){e=v("div"),s=v("div"),t=I("svg"),n=I("polyline"),r=k(),u=v("div"),c=k(),a=v("div"),o=k(),d=T(R),this.h()},l(m){e=g(m,"DIV",{class:!0,style:!0});var h=_(e);s=g(h,"DIV",{class:!0});var y=_(s);t=z(y,"svg",{version:!0,xmlns:!0,"xmlns:xlink":!0,x:!0,y:!0,width:!0,height:!0,viewBox:!0,"enable-background":!0,"xml:space":!0});var S=_(t);n=z(S,"polyline",{fill:!0,stroke:!0,"stroke-width":!0,"stroke-miterlimit":!0,points:!0}),_(n).forEach(p),S.forEach(p),r=x(y),u=g(y,"DIV",{class:!0}),_(u).forEach(p),c=x(y),a=g(y,"DIV",{class:!0}),_(a).forEach(p),y.forEach(p),o=x(h),d=B(h,R),h.forEach(p),this.h()},h(){i(n,"fill","none"),i(n,"stroke","#1D4ED8"),i(n,"stroke-width","3"),i(n,"stroke-miterlimit","10"),i(n,"points","0,45.486 18.514,45.486 24.595,33.324 32.676,45.486 37.771,45.486 42.838,55.622 51.959,18 56.067,45 60.067,60.729 63.122,45.486 77.297,45.486 83.379,41.419 90.473,45.486 100,45.486"),i(t,"version","1.0"),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),i(t,"x","0px"),i(t,"y","0px"),i(t,"width","30px"),i(t,"height","18px"),i(t,"viewBox","0 0 150 73"),i(t,"enable-background","new 0 0 150 73"),i(t,"xml:space","preserve"),i(u,"class","fade-in svelte-8dynez"),i(a,"class","fade-out svelte-8dynez"),i(s,"class","heart-rate svelte-8dynez"),i(e,"class","heart-beat svelte-8dynez"),i(e,"style",l[0])},m(m,h){j(m,e,h),f(e,s),f(s,t),f(t,n),f(s,r),f(s,u),f(s,c),f(s,a),f(e,o),f(e,d)},p(m,[h]){h&1&&i(e,"style",m[0])},i:N,o:N,d(m){m&&p(e)}}}let R="";function Z(l,e,s){let t,{delay:n=0}=e;return l.$$set=r=>{"delay"in r&&s(1,n=r.delay)},l.$$.update=()=>{l.$$.dirty&2&&s(0,t=`--animation-delay:${n}ms;`)},[t,n]}class U extends A{constructor(e){super(),F(this,e,Z,Y,P,{delay:1})}}function w(l,e,s,t){const{t:n}=q(Q).data.i18n();let r,u,c,a;l in X?r=l:(r="common",u=l),E(e)?a=e:typeof e=="number"?c=e:u===void 0&&(u=e),typeof s=="number"?c=s:E(s)&&(a=s),E(t)&&(a=t);const o={...c!==void 0&&{count:c},...a&&{replace:a}};return n(`${r}:${String(u)}`,o)}function V(l){let e,s;return e=new U({props:{delay:l[0]}}),{c(){C(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,n){J(e,t,n),s=!0},p(t,n){const r={};n&1&&(r.delay=t[0]),e.$set(r)},i(t){s||(b(e.$$.fragment,t),s=!0)},o(t){D(e.$$.fragment,t),s=!1},d(t){L(e,t)}}}function $(l){let e,s,t,n,r,u,c,a=l[2]&&V(l);return{c(){e=v("span"),s=v("h6"),t=v("span"),n=T(l[1]),r=k(),a&&a.c(),this.h()},l(o){e=g(o,"SPAN",{class:!0});var d=_(e);s=g(d,"H6",{class:!0});var m=_(s);t=g(m,"SPAN",{class:!0});var h=_(t);n=B(h,l[1]),h.forEach(p),r=x(m),a&&a.l(m),m.forEach(p),d.forEach(p),this.h()},h(){i(t,"class","whitespace-nowrap"),i(s,"class",u=l[3]+" flex rounded-sm px-1 py-1 svelte-b7co3f"),i(e,"class","flex text-center text-sm font-medium leading-4")},m(o,d){j(o,e,d),f(e,s),f(s,t),f(t,n),f(s,r),a&&a.m(s,null),c=!0},p(o,[d]){(!c||d&2)&&H(n,o[1]),o[2]?a?(a.p(o,d),d&4&&b(a,1)):(a=V(o),a.c(),b(a,1),a.m(s,null)):a&&(M(),D(a,1,1,()=>{a=null}),W()),(!c||d&8&&u!==(u=o[3]+" flex rounded-sm px-1 py-1 svelte-b7co3f"))&&i(s,"class",u)},i(o){c||(b(a),c=!0)},o(o){D(a),c=!1},d(o){o&&p(e),a&&a.d()}}}function K(l,e,s){let t,n,r,{status:u="Running"}=e,{delay:c=0}=e;const a={Running:w("workflows","running"),TimedOut:w("workflows","timed-out"),Completed:w("workflows","completed"),Failed:w("workflows","failed"),ContinuedAsNew:w("workflows","continued-as-new"),Canceled:w("workflows","canceled"),Terminated:w("workflows","terminated"),Paused:w("workflows","paused")},o={Running:"blue",TimedOut:"orange",Completed:"green",Failed:"red",ContinuedAsNew:"purple",Canceled:"yellow",Terminated:"gray",Paused:"yellow"};return l.$$set=d=>{"status"in d&&s(4,u=d.status),"delay"in d&&s(0,c=d.delay)},l.$$.update=()=>{l.$$.dirty&16&&s(3,t=o[u]),l.$$.dirty&16&&s(1,n=a[u]),l.$$.dirty&2&&s(2,r=n===a.Running)},[c,n,r,t,u]}class ae extends A{constructor(e){super(),F(this,e,K,$,P,{status:4,delay:0})}}export{ae as W,w as t}; diff --git a/ui/assets/cloud/_app/immutable/chunks/workflow-terminate-enabled.cb08b74f.js b/ui/assets/cloud/_app/immutable/chunks/workflow-terminate-enabled.cb08b74f.js deleted file mode 100644 index 32412c20b1..0000000000 --- a/ui/assets/cloud/_app/immutable/chunks/workflow-terminate-enabled.cb08b74f.js +++ /dev/null @@ -1 +0,0 @@ -import{d as c,r as d,w as a}from"./index.255b7490.js";import{p as w}from"./stores.1f7fa6eb.js";import{a as m,b as k}from"./workflow-service.22d7ee79.js";import{s as h}from"./list-workflow-query.722ba818.js";import{t as n}from"./workflow-status.688af89a.js";const b=300,p=async(r,o,e)=>{o.set(!0);try{await e()}catch(s){console.error(s)}r.set(!1),setTimeout(()=>{o.set(!1)},b)},C=a(0),g=c([w],([r])=>r.params.namespace),v=c([w],([r])=>r.url.searchParams.get("query")),A=c([g,v,C,h],([r,o,e,s])=>({namespace:r,query:o,refresh:e,supportsAdvancedVisibility:s})),W=r=>{S.set(r)},q=r=>A.subscribe(({namespace:o,query:e,supportsAdvancedVisibility:s})=>{p(E,P,async()=>{const{workflows:f,error:l}=await m(o,{query:e});if(r(f),s){const u=await k(o,e);W(u)}l?i.set(l):i.set("")})}),Q=a(""),P=a(!0),E=a(!0),S=a({count:0,totalCount:0}),i=a(""),z=d([],q),B=a("");var T=(r=>(r[r.Unspecified=0]="Unspecified",r[r.Signal=1]="Signal",r[r.None=2]="None",r))(T||{}),t=(r=>(r[r.Cancel=0]="Cancel",r[r.Reset=1]="Reset",r[r.Terminate=2]="Terminate",r))(t||{});function U(r){console.error("Unhandled action:",r)}const V=r=>{switch(r){case t.Cancel:return"canceled";case t.Reset:return"reset";case t.Terminate:return"terminated";default:U(r)}},x=(r,o)=>{const e=n("workflows",V(r));return o?n("workflows","workflow-action-reason-placeholder-with-email",{action:e,email:o}):n("workflows","workflow-action-reason-placeholder",{action:e})},F=({action:r,reason:o,email:e})=>{const s=x(r,e);return o?[o.trim(),s].join(" "):s},G=r=>!r.disableWriteActions&&!r.workflowCancelDisabled,H=r=>!r.disableWriteActions&&!r.workflowTerminateDisabled;export{t as A,T as R,H as a,Q as b,z as c,i as d,B as e,F as f,x as g,S as h,E as l,C as r,P as u,G as w}; diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-json-page.svelte.71e396ad.js b/ui/assets/cloud/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-json-page.svelte.71e396ad.js deleted file mode 100644 index f9800f2bf7..0000000000 --- a/ui/assets/cloud/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-json-page.svelte.71e396ad.js +++ /dev/null @@ -1 +0,0 @@ -import{S as a,b as i,a as m,C as c,D as f,E as p,j as u,g as l,F as _,L as $}from"../chunks/index.d29c66be.js";import{W as g}from"../chunks/workflow-json-navigator.d241bda8.js";import{i as v}from"../chunks/import-events.d74da7cc.js";function w(r){let n,e;return n=new g({props:{events:r[0]}}),{c(){c(n.$$.fragment)},l(t){f(n.$$.fragment,t)},m(t,o){p(n,t,o),e=!0},p(t,[o]){const s={};o&1&&(s.events=t[0]),n.$set(s)},i(t){e||(u(n.$$.fragment,t),e=!0)},o(t){l(n.$$.fragment,t),e=!1},d(t){_(n,t)}}}function d(r,n,e){let t;return $(r,v,o=>e(0,t=o)),[t]}class E extends a{constructor(n){super(),i(this,n,d,w,m,{})}}export{E as default}; diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-page.ts.1783d0af.js b/ui/assets/cloud/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-page.ts.1783d0af.js deleted file mode 100644 index a8a2abbe9d..0000000000 --- a/ui/assets/cloud/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-page.ts.1783d0af.js +++ /dev/null @@ -1 +0,0 @@ -import"../chunks/index.b1f5b21f.js";import"../chunks/route-for.5e008fb6.js";import{l as t}from"../chunks/_page.22f2adc8.js";export{t as load}; diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-import-page.ts.07760b90.js b/ui/assets/cloud/_app/immutable/entry/(app)-import-page.ts.07760b90.js deleted file mode 100644 index d5465b2d85..0000000000 --- a/ui/assets/cloud/_app/immutable/entry/(app)-import-page.ts.07760b90.js +++ /dev/null @@ -1 +0,0 @@ -import"../chunks/index.b1f5b21f.js";import"../chunks/route-for.5e008fb6.js";import{l as t}from"../chunks/_page.ebb8d4b9.js";export{t as load}; diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-layout.ts.601e882a.js b/ui/assets/cloud/_app/immutable/entry/(app)-layout.ts.601e882a.js deleted file mode 100644 index 3f35020f72..0000000000 --- a/ui/assets/cloud/_app/immutable/entry/(app)-layout.ts.601e882a.js +++ /dev/null @@ -1 +0,0 @@ -import"../chunks/index.b1f5b21f.js";import{l as d}from"../chunks/_layout.2d899b3e.js";/* empty css */import"../chunks/settings-service.3ce5ddfc.js";import"../chunks/auth-user.ead5c000.js";import"../chunks/namespaces-service.bc2964ad.js";import"../chunks/route-for.5e008fb6.js";export{d as load}; diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.ts.04f352af.js b/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.ts.04f352af.js deleted file mode 100644 index 903232931a..0000000000 --- a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.ts.04f352af.js +++ /dev/null @@ -1 +0,0 @@ -import"../chunks/workflow-service.22d7ee79.js";import"../chunks/namespaces-service.bc2964ad.js";import{l as t}from"../chunks/_page.bd93f6f1.js";export{t as load}; diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-layout.ts.dbfddeee.js b/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-layout.ts.dbfddeee.js deleted file mode 100644 index 46a902c8c7..0000000000 --- a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-layout.ts.dbfddeee.js +++ /dev/null @@ -1 +0,0 @@ -import{l}from"../chunks/_layout.9e0bbe6f.js";import"../chunks/search-attributes.c866741f.js";export{l as load}; diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-page.svelte.6099dc39.js b/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-page.svelte.6099dc39.js deleted file mode 100644 index c32df4f2c6..0000000000 --- a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-page.svelte.6099dc39.js +++ /dev/null @@ -1 +0,0 @@ -import{S as ft,b as nt,a as it,G as ct,m as _,p as $,q as m,k as s,u as W,f as T,H as _t,I as $t,J as mt,j as F,g as P,O as et,P as tt,C as Y,c as k,w as g,e as Be,D as z,d as S,x as D,E as J,M as i,y as q,h as ut,F as Q,L as Re,o as pt,_ as ht,z as dt,a7 as vt,n as Fe}from"../chunks/index.d29c66be.js";import{p as Tt}from"../chunks/stores.1f7fa6eb.js";import{t as Et,u as bt}from"../chunks/versions.dfa21225.js";import{l as lt}from"../chunks/namespaces.52575875.js";import{s as wt}from"../chunks/search-attributes.c866741f.js";import{s as gt}from"../chunks/settings.a68ca666.js";import{q as at}from"../chunks/format-time.66fea38b.js";import{P as Dt}from"../chunks/page-title.ba38eecf.js";import{T as ye,a as At}from"../chunks/table-header-row.a7bab5a4.js";import{T as Rt}from"../chunks/table-row.4a68a50d.js";import{B as pe}from"../chunks/badge.2c189bf4.js";function kt(f){let e,l,t;const a=f[2].default,r=ct(a,f,f[1],null);return{c(){e=_("div"),r&&r.c(),this.h()},l(o){e=$(o,"DIV",{class:!0});var n=m(e);r&&r.l(n),n.forEach(s),this.h()},h(){W(e,"class",l="card bg-white "+f[0].class+" svelte-hm2avd")},m(o,n){T(o,e,n),r&&r.m(e,null),t=!0},p(o,[n]){r&&r.p&&(!t||n&2)&&_t(r,a,o,o[1],t?mt(a,o[1],n,null):$t(o[1]),null),(!t||n&1&&l!==(l="card bg-white "+o[0].class+" svelte-hm2avd"))&&W(e,"class",l)},i(o){t||(F(r,o),t=!0)},o(o){P(r,o),t=!1},d(o){o&&s(e),r&&r.d(o)}}}function St(f,e,l){let{$$slots:t={},$$scope:a}=e;return f.$$set=r=>{l(0,e=et(et({},e),tt(r))),"$$scope"in r&&l(1,a=r.$$scope)},e=tt(e),[e,a,t]}class It extends ft{constructor(e){super(),nt(this,e,St,kt,it,{})}}function st(f,e,l){const t=f.slice();return t[13]=e[l][0],t[14]=e[l][1],t}function Ct(f){var t;let e=(t=f[0])!=null&&t.isGlobalNamespace?"Yes":"No",l;return{c(){l=g(e)},l(a){l=D(a,e)},m(a,r){T(a,l,r)},p(a,r){var o;r&1&&e!==(e=(o=a[0])!=null&&o.isGlobalNamespace?"Yes":"No")&&q(l,e)},d(a){a&&s(l)}}}function Ht(f){var t,a;let e=((a=(t=f[0])==null?void 0:t.config)==null?void 0:a.historyArchivalState)+"",l;return{c(){l=g(e)},l(r){l=D(r,e)},m(r,o){T(r,l,o)},p(r,o){var n,u;o&1&&e!==(e=((u=(n=r[0])==null?void 0:n.config)==null?void 0:u.historyArchivalState)+"")&&q(l,e)},d(r){r&&s(l)}}}function Vt(f){var t,a;let e=((a=(t=f[0])==null?void 0:t.config)==null?void 0:a.visibilityArchivalState)+"",l;return{c(){l=g(e)},l(r){l=D(r,e)},m(r,o){T(r,l,o)},p(r,o){var n,u;o&1&&e!==(e=((u=(n=r[0])==null?void 0:n.config)==null?void 0:u.visibilityArchivalState)+"")&&q(l,e)},d(r){r&&s(l)}}}function Nt(f){var Pe,Ue,Ge,Oe,je,qe,Ke,Me,Ye,ze;let e,l,t,a,r,o=(((Ue=(Pe=f[0])==null?void 0:Pe.namespaceInfo)==null?void 0:Ue.ownerEmail)||"Unknown")+"",n,u,v,I,V,N,C,b,A,d,y,U,E,R,O=at((Oe=(Ge=f[0])==null?void 0:Ge.config)==null?void 0:Oe.workflowExecutionRetentionTtl.toString())+"",B,p,w,j,te,X,x,G,ee,K,le,ue,ae,fe,c,H,M,se,re,ne,oe,ie=((je=f[0])==null?void 0:je.failoverVersion)+"",he,ve,Z,de,ge,ce,_e,Te,$e;return b=new pe({props:{class:"px-1 py-0",type:f[8]((qe=f[0])==null?void 0:qe.isGlobalNamespace,!1),$$slots:{default:[Ct]},$$scope:{ctx:f}}}),G=new pe({props:{class:"px-1 py-0",type:f[7]((Me=(Ke=f[0])==null?void 0:Ke.config)==null?void 0:Me.historyArchivalState),$$slots:{default:[Ht]},$$scope:{ctx:f}}}),c=new pe({props:{class:"px-1 py-0",type:f[7]((ze=(Ye=f[0])==null?void 0:Ye.config)==null?void 0:ze.visibilityArchivalState),$$slots:{default:[Vt]},$$scope:{ctx:f}}}),{c(){e=_("tr"),l=_("td"),t=g("Owner"),a=k(),r=_("td"),n=g(o),u=k(),v=_("tr"),I=_("td"),V=g("Global"),N=k(),C=_("td"),Y(b.$$.fragment),A=k(),d=_("tr"),y=_("td"),U=g("Retention Period"),E=k(),R=_("td"),B=g(O),p=k(),w=_("tr"),j=_("td"),te=g("History Archival"),X=k(),x=_("td"),Y(G.$$.fragment),ee=k(),K=_("tr"),le=_("td"),ue=g("Visibility Archival"),ae=k(),fe=_("td"),Y(c.$$.fragment),H=k(),M=_("tr"),se=_("td"),re=g("Failover Version"),ne=k(),oe=_("td"),he=g(ie),ve=k(),Z=_("tr"),de=_("td"),ge=g("Clusters"),ce=k(),_e=_("td"),Te=g(f[1]),this.h()},l(h){e=$(h,"TR",{"data-testid":!0});var L=m(e);l=$(L,"TD",{});var De=m(l);t=D(De,"Owner"),De.forEach(s),a=S(L),r=$(L,"TD",{});var Ae=m(r);n=D(Ae,o),Ae.forEach(s),L.forEach(s),u=S(h),v=$(h,"TR",{"data-testid":!0});var me=m(v);I=$(me,"TD",{});var ke=m(I);V=D(ke,"Global"),ke.forEach(s),N=S(me),C=$(me,"TD",{});var Se=m(C);z(b.$$.fragment,Se),Se.forEach(s),me.forEach(s),A=S(h),d=$(h,"TR",{"data-testid":!0});var Ee=m(d);y=$(Ee,"TD",{});var Ie=m(y);U=D(Ie,"Retention Period"),Ie.forEach(s),E=S(Ee),R=$(Ee,"TD",{});var Ce=m(R);B=D(Ce,O),Ce.forEach(s),Ee.forEach(s),p=S(h),w=$(h,"TR",{"data-testid":!0});var be=m(w);j=$(be,"TD",{});var He=m(j);te=D(He,"History Archival"),He.forEach(s),X=S(be),x=$(be,"TD",{});var Ve=m(x);z(G.$$.fragment,Ve),Ve.forEach(s),be.forEach(s),ee=S(h),K=$(h,"TR",{"data-testid":!0});var we=m(K);le=$(we,"TD",{});var Ne=m(le);ue=D(Ne,"Visibility Archival"),Ne.forEach(s),ae=S(we),fe=$(we,"TD",{});var Je=m(fe);z(c.$$.fragment,Je),Je.forEach(s),we.forEach(s),H=S(h),M=$(h,"TR",{"data-testid":!0});var Le=m(M);se=$(Le,"TD",{});var Qe=m(se);re=D(Qe,"Failover Version"),Qe.forEach(s),ne=S(Le),oe=$(Le,"TD",{});var Xe=m(oe);he=D(Xe,ie),Xe.forEach(s),Le.forEach(s),ve=S(h),Z=$(h,"TR",{"data-testid":!0});var We=m(Z);de=$(We,"TD",{});var Ze=m(de);ge=D(Ze,"Clusters"),Ze.forEach(s),ce=S(We),_e=$(We,"TD",{});var xe=m(_e);Te=D(xe,f[1]),xe.forEach(s),We.forEach(s),this.h()},h(){W(e,"data-testid","namespace-owner"),W(v,"data-testid","namespace-global"),W(d,"data-testid","namespace-retention"),W(w,"data-testid","namespace-history"),W(K,"data-testid","namespace-visibility"),W(M,"data-testid","namespace-failover"),W(Z,"data-testid","namespace-clusters")},m(h,L){T(h,e,L),i(e,l),i(l,t),i(e,a),i(e,r),i(r,n),T(h,u,L),T(h,v,L),i(v,I),i(I,V),i(v,N),i(v,C),J(b,C,null),T(h,A,L),T(h,d,L),i(d,y),i(y,U),i(d,E),i(d,R),i(R,B),T(h,p,L),T(h,w,L),i(w,j),i(j,te),i(w,X),i(w,x),J(G,x,null),T(h,ee,L),T(h,K,L),i(K,le),i(le,ue),i(K,ae),i(K,fe),J(c,fe,null),T(h,H,L),T(h,M,L),i(M,se),i(se,re),i(M,ne),i(M,oe),i(oe,he),T(h,ve,L),T(h,Z,L),i(Z,de),i(de,ge),i(Z,ce),i(Z,_e),i(_e,Te),$e=!0},p(h,L){var ke,Se,Ee,Ie,Ce,be,He,Ve,we,Ne;(!$e||L&1)&&o!==(o=(((Se=(ke=h[0])==null?void 0:ke.namespaceInfo)==null?void 0:Se.ownerEmail)||"Unknown")+"")&&q(n,o);const De={};L&1&&(De.type=h[8]((Ee=h[0])==null?void 0:Ee.isGlobalNamespace,!1)),L&131073&&(De.$$scope={dirty:L,ctx:h}),b.$set(De),(!$e||L&1)&&O!==(O=at((Ce=(Ie=h[0])==null?void 0:Ie.config)==null?void 0:Ce.workflowExecutionRetentionTtl.toString())+"")&&q(B,O);const Ae={};L&1&&(Ae.type=h[7]((He=(be=h[0])==null?void 0:be.config)==null?void 0:He.historyArchivalState)),L&131073&&(Ae.$$scope={dirty:L,ctx:h}),G.$set(Ae);const me={};L&1&&(me.type=h[7]((we=(Ve=h[0])==null?void 0:Ve.config)==null?void 0:we.visibilityArchivalState)),L&131073&&(me.$$scope={dirty:L,ctx:h}),c.$set(me),(!$e||L&1)&&ie!==(ie=((Ne=h[0])==null?void 0:Ne.failoverVersion)+"")&&q(he,ie),(!$e||L&2)&&q(Te,h[1])},i(h){$e||(F(b.$$.fragment,h),F(G.$$.fragment,h),F(c.$$.fragment,h),$e=!0)},o(h){P(b.$$.fragment,h),P(G.$$.fragment,h),P(c.$$.fragment,h),$e=!1},d(h){h&&s(e),h&&s(u),h&&s(v),Q(b),h&&s(A),h&&s(d),h&&s(p),h&&s(w),Q(G),h&&s(ee),h&&s(K),Q(c),h&&s(H),h&&s(M),h&&s(ve),h&&s(Z)}}}function Lt(f){let e,l,t;return{c(){e=_("tr"),l=_("th"),t=_("th"),this.h()},l(a){e=$(a,"TR",{slot:!0});var r=m(e);l=$(r,"TH",{class:!0}),m(l).forEach(s),t=$(r,"TH",{}),m(t).forEach(s),r.forEach(s),this.h()},h(){W(l,"class","w-1/2 lg:w-3/5"),W(e,"slot","headers")},m(a,r){T(a,e,r),i(e,l),i(e,t)},p:Fe,d(a){a&&s(e)}}}function Wt(f){let e,l,t,a,r,o,n,u,v,I,V,N,C;return{c(){e=_("tr"),l=_("td"),t=g("Temporal Server Version"),a=k(),r=_("td"),o=g(f[3]),n=k(),u=_("tr"),v=_("td"),I=g("Temporal UI Version"),V=k(),N=_("td"),C=g(f[4]),this.h()},l(b){e=$(b,"TR",{"data-testid":!0});var A=m(e);l=$(A,"TD",{});var d=m(l);t=D(d,"Temporal Server Version"),d.forEach(s),a=S(A),r=$(A,"TD",{});var y=m(r);o=D(y,f[3]),y.forEach(s),A.forEach(s),n=S(b),u=$(b,"TR",{"data-testid":!0});var U=m(u);v=$(U,"TD",{});var E=m(v);I=D(E,"Temporal UI Version"),E.forEach(s),V=S(U),N=$(U,"TD",{});var R=m(N);C=D(R,f[4]),R.forEach(s),U.forEach(s),this.h()},h(){W(e,"data-testid","server-version"),W(u,"data-testid","ui-version")},m(b,A){T(b,e,A),i(e,l),i(l,t),i(e,a),i(e,r),i(r,o),T(b,n,A),T(b,u,A),i(u,v),i(v,I),i(u,V),i(u,N),i(N,C)},p(b,A){A&8&&q(o,b[3]),A&16&&q(C,b[4])},d(b){b&&s(e),b&&s(n),b&&s(u)}}}function yt(f){let e,l,t;return{c(){e=_("tr"),l=_("th"),t=_("th"),this.h()},l(a){e=$(a,"TR",{slot:!0});var r=m(e);l=$(r,"TH",{class:!0}),m(l).forEach(s),t=$(r,"TH",{}),m(t).forEach(s),r.forEach(s),this.h()},h(){W(l,"class","w-1/2 lg:w-3/4"),W(e,"slot","headers")},m(a,r){T(a,e,r),i(e,l),i(e,t)},p:Fe,d(a){a&&s(e)}}}function Bt(f){let e=f[9](f[5].disableWriteActions)+"",l;return{c(){l=g(e)},l(t){l=D(t,e)},m(t,a){T(t,l,a)},p(t,a){a&32&&e!==(e=t[9](t[5].disableWriteActions)+"")&&q(l,e)},d(t){t&&s(l)}}}function Ft(f){let e=f[9](f[5].workflowTerminateDisabled)+"",l;return{c(){l=g(e)},l(t){l=D(t,e)},m(t,a){T(t,l,a)},p(t,a){a&32&&e!==(e=t[9](t[5].workflowTerminateDisabled)+"")&&q(l,e)},d(t){t&&s(l)}}}function Pt(f){let e=f[9](f[5].workflowCancelDisabled)+"",l;return{c(){l=g(e)},l(t){l=D(t,e)},m(t,a){T(t,l,a)},p(t,a){a&32&&e!==(e=t[9](t[5].workflowCancelDisabled)+"")&&q(l,e)},d(t){t&&s(l)}}}function Ut(f){let e=f[9](f[5].workflowSignalDisabled)+"",l;return{c(){l=g(e)},l(t){l=D(t,e)},m(t,a){T(t,l,a)},p(t,a){a&32&&e!==(e=t[9](t[5].workflowSignalDisabled)+"")&&q(l,e)},d(t){t&&s(l)}}}function Gt(f){let e=f[9](f[5].workflowResetDisabled)+"",l;return{c(){l=g(e)},l(t){l=D(t,e)},m(t,a){T(t,l,a)},p(t,a){a&32&&e!==(e=t[9](t[5].workflowResetDisabled)+"")&&q(l,e)},d(t){t&&s(l)}}}function Ot(f){let e,l,t,a,r,o,n,u,v,I,V,N,C,b,A,d,y,U,E,R,O,B,p,w,j,te,X,x,G,ee,K,le,ue,ae,fe;return o=new pe({props:{class:"px-1 py-0",type:f[8](f[5].disableWriteActions),$$slots:{default:[Bt]},$$scope:{ctx:f}}}),C=new pe({props:{class:"px-1 py-0",type:f[8](f[5].workflowTerminateDisabled),$$slots:{default:[Ft]},$$scope:{ctx:f}}}),R=new pe({props:{class:"px-1 py-0",type:f[8](f[5].workflowCancelDisabled),$$slots:{default:[Pt]},$$scope:{ctx:f}}}),X=new pe({props:{class:"px-1 py-0",type:f[8](f[5].workflowSignalDisabled),$$slots:{default:[Ut]},$$scope:{ctx:f}}}),ae=new pe({props:{class:"px-1 py-0",type:f[8](f[5].workflowResetDisabled),$$slots:{default:[Gt]},$$scope:{ctx:f}}}),{c(){e=_("tr"),l=_("td"),t=g("Client Actions"),a=k(),r=_("td"),Y(o.$$.fragment),n=k(),u=_("tr"),v=_("td"),I=g("Terminate Workflow"),V=k(),N=_("td"),Y(C.$$.fragment),b=k(),A=_("tr"),d=_("td"),y=g("Cancel Workflow"),U=k(),E=_("td"),Y(R.$$.fragment),O=k(),B=_("tr"),p=_("td"),w=g("Signal Workflow"),j=k(),te=_("td"),Y(X.$$.fragment),x=k(),G=_("tr"),ee=_("td"),K=g("Reset Workflow"),le=k(),ue=_("td"),Y(ae.$$.fragment)},l(c){e=$(c,"TR",{});var H=m(e);l=$(H,"TD",{});var M=m(l);t=D(M,"Client Actions"),M.forEach(s),a=S(H),r=$(H,"TD",{});var se=m(r);z(o.$$.fragment,se),se.forEach(s),H.forEach(s),n=S(c),u=$(c,"TR",{});var re=m(u);v=$(re,"TD",{});var ne=m(v);I=D(ne,"Terminate Workflow"),ne.forEach(s),V=S(re),N=$(re,"TD",{});var oe=m(N);z(C.$$.fragment,oe),oe.forEach(s),re.forEach(s),b=S(c),A=$(c,"TR",{});var ie=m(A);d=$(ie,"TD",{});var he=m(d);y=D(he,"Cancel Workflow"),he.forEach(s),U=S(ie),E=$(ie,"TD",{});var ve=m(E);z(R.$$.fragment,ve),ve.forEach(s),ie.forEach(s),O=S(c),B=$(c,"TR",{});var Z=m(B);p=$(Z,"TD",{});var de=m(p);w=D(de,"Signal Workflow"),de.forEach(s),j=S(Z),te=$(Z,"TD",{});var ge=m(te);z(X.$$.fragment,ge),ge.forEach(s),Z.forEach(s),x=S(c),G=$(c,"TR",{});var ce=m(G);ee=$(ce,"TD",{});var _e=m(ee);K=D(_e,"Reset Workflow"),_e.forEach(s),le=S(ce),ue=$(ce,"TD",{});var Te=m(ue);z(ae.$$.fragment,Te),Te.forEach(s),ce.forEach(s)},m(c,H){T(c,e,H),i(e,l),i(l,t),i(e,a),i(e,r),J(o,r,null),T(c,n,H),T(c,u,H),i(u,v),i(v,I),i(u,V),i(u,N),J(C,N,null),T(c,b,H),T(c,A,H),i(A,d),i(d,y),i(A,U),i(A,E),J(R,E,null),T(c,O,H),T(c,B,H),i(B,p),i(p,w),i(B,j),i(B,te),J(X,te,null),T(c,x,H),T(c,G,H),i(G,ee),i(ee,K),i(G,le),i(G,ue),J(ae,ue,null),fe=!0},p(c,H){const M={};H&32&&(M.type=c[8](c[5].disableWriteActions)),H&131104&&(M.$$scope={dirty:H,ctx:c}),o.$set(M);const se={};H&32&&(se.type=c[8](c[5].workflowTerminateDisabled)),H&131104&&(se.$$scope={dirty:H,ctx:c}),C.$set(se);const re={};H&32&&(re.type=c[8](c[5].workflowCancelDisabled)),H&131104&&(re.$$scope={dirty:H,ctx:c}),R.$set(re);const ne={};H&32&&(ne.type=c[8](c[5].workflowSignalDisabled)),H&131104&&(ne.$$scope={dirty:H,ctx:c}),X.$set(ne);const oe={};H&32&&(oe.type=c[8](c[5].workflowResetDisabled)),H&131104&&(oe.$$scope={dirty:H,ctx:c}),ae.$set(oe)},i(c){fe||(F(o.$$.fragment,c),F(C.$$.fragment,c),F(R.$$.fragment,c),F(X.$$.fragment,c),F(ae.$$.fragment,c),fe=!0)},o(c){P(o.$$.fragment,c),P(C.$$.fragment,c),P(R.$$.fragment,c),P(X.$$.fragment,c),P(ae.$$.fragment,c),fe=!1},d(c){c&&s(e),Q(o),c&&s(n),c&&s(u),Q(C),c&&s(b),c&&s(A),Q(R),c&&s(O),c&&s(B),Q(X),c&&s(x),c&&s(G),Q(ae)}}}function jt(f){let e,l,t;return{c(){e=_("tr"),l=_("th"),t=_("th"),this.h()},l(a){e=$(a,"TR",{slot:!0});var r=m(e);l=$(r,"TH",{class:!0}),m(l).forEach(s),t=$(r,"TH",{}),m(t).forEach(s),r.forEach(s),this.h()},h(){W(l,"class","w-1/2 lg:w-3/5"),W(e,"slot","headers")},m(a,r){T(a,e,r),i(e,l),i(e,t)},p:Fe,d(a){a&&s(e)}}}function qt(f){let e,l,t,a,r,o,n,u,v,I,V,N,C,b,A,d,y,U;return r=new ye({props:{variant:"simple",$$slots:{headers:[Lt],default:[Nt]},$$scope:{ctx:f}}}),V=new ye({props:{variant:"simple",$$slots:{headers:[yt],default:[Wt]},$$scope:{ctx:f}}}),y=new ye({props:{variant:"simple",$$slots:{headers:[jt],default:[Ot]},$$scope:{ctx:f}}}),{c(){e=_("article"),l=_("h3"),t=g("Details"),a=k(),Y(r.$$.fragment),o=k(),n=_("article"),u=_("h3"),v=g("Versions"),I=k(),Y(V.$$.fragment),N=k(),C=_("article"),b=_("h3"),A=g("Client Actions"),d=k(),Y(y.$$.fragment),this.h()},l(E){e=$(E,"ARTICLE",{class:!0});var R=m(e);l=$(R,"H3",{class:!0});var O=m(l);t=D(O,"Details"),O.forEach(s),a=S(R),z(r.$$.fragment,R),R.forEach(s),o=S(E),n=$(E,"ARTICLE",{class:!0});var B=m(n);u=$(B,"H3",{class:!0});var p=m(u);v=D(p,"Versions"),p.forEach(s),I=S(B),z(V.$$.fragment,B),B.forEach(s),N=S(E),C=$(E,"ARTICLE",{class:!0});var w=m(C);b=$(w,"H3",{class:!0});var j=m(b);A=D(j,"Client Actions"),j.forEach(s),d=S(w),z(y.$$.fragment,w),w.forEach(s),this.h()},h(){W(l,"class","text-lg font-medium"),W(e,"class","namespace-info flex w-full flex-col"),W(u,"class","text-lg font-medium"),W(n,"class","namespace-info flex w-full flex-col"),W(b,"class","text-lg font-medium"),W(C,"class","namespace-info flex w-full flex-col")},m(E,R){T(E,e,R),i(e,l),i(l,t),i(e,a),J(r,e,null),T(E,o,R),T(E,n,R),i(n,u),i(u,v),i(n,I),J(V,n,null),T(E,N,R),T(E,C,R),i(C,b),i(b,A),i(C,d),J(y,C,null),U=!0},p(E,R){const O={};R&131075&&(O.$$scope={dirty:R,ctx:E}),r.$set(O);const B={};R&131096&&(B.$$scope={dirty:R,ctx:E}),V.$set(B);const p={};R&131104&&(p.$$scope={dirty:R,ctx:E}),y.$set(p)},i(E){U||(F(r.$$.fragment,E),F(V.$$.fragment,E),F(y.$$.fragment,E),U=!0)},o(E){P(r.$$.fragment,E),P(V.$$.fragment,E),P(y.$$.fragment,E),U=!1},d(E){E&&s(e),Q(r),E&&s(o),E&&s(n),Q(V),E&&s(N),E&&s(C),Q(y)}}}function rt(f){let e,l,t,a,r,o;return r=new ye({props:{class:"w-full",$$slots:{headers:[zt],default:[Mt]},$$scope:{ctx:f}}}),{c(){e=_("section"),l=_("h3"),t=g("Search Attributes"),a=k(),Y(r.$$.fragment),this.h()},l(n){e=$(n,"SECTION",{});var u=m(e);l=$(u,"H3",{class:!0});var v=m(l);t=D(v,"Search Attributes"),v.forEach(s),a=S(u),z(r.$$.fragment,u),u.forEach(s),this.h()},h(){W(l,"class","my-4 text-lg font-medium")},m(n,u){T(n,e,u),i(e,l),i(l,t),i(e,a),J(r,e,null),o=!0},p(n,u){const v={};u&131136&&(v.$$scope={dirty:u,ctx:n}),r.$set(v)},i(n){o||(F(r.$$.fragment,n),o=!0)},o(n){P(r.$$.fragment,n),o=!1},d(n){n&&s(e),Q(r)}}}function Kt(f){let e,l=f[13]+"",t,a,r,o=f[14]+"",n,u;return{c(){e=_("td"),t=g(l),a=k(),r=_("td"),n=g(o),u=k()},l(v){e=$(v,"TD",{});var I=m(e);t=D(I,l),I.forEach(s),a=S(v),r=$(v,"TD",{});var V=m(r);n=D(V,o),V.forEach(s),u=S(v)},m(v,I){T(v,e,I),i(e,t),T(v,a,I),T(v,r,I),i(r,n),T(v,u,I)},p(v,I){I&64&&l!==(l=v[13]+"")&&q(t,l),I&64&&o!==(o=v[14]+"")&&q(n,o)},d(v){v&&s(e),v&&s(a),v&&s(r),v&&s(u)}}}function ot(f){let e,l;return e=new Rt({props:{$$slots:{default:[Kt]},$$scope:{ctx:f}}}),{c(){Y(e.$$.fragment)},l(t){z(e.$$.fragment,t)},m(t,a){J(e,t,a),l=!0},p(t,a){const r={};a&131136&&(r.$$scope={dirty:a,ctx:t}),e.$set(r)},i(t){l||(F(e.$$.fragment,t),l=!0)},o(t){P(e.$$.fragment,t),l=!1},d(t){Q(e,t)}}}function Mt(f){let e,l,t=Object.entries(f[6]),a=[];for(let o=0;oP(a[o],1,1,()=>{a[o]=null});return{c(){for(let o=0;o{d=null}),ut())},i(p){A||(F(e.$$.fragment,p),F(N.$$.fragment,p),F(d),A=!0)},o(p){P(e.$$.fragment,p),P(N.$$.fragment,p),P(d),A=!1},d(p){Q(e,p),p&&s(l),p&&s(t),p&&s(n),p&&s(u),p&&s(V),Q(N,p),p&&s(C),d&&d.d(p),p&&s(b)}}}function Qt(f,e,l){let t,a,r,o,n,u,v,I;Re(f,lt,d=>l(12,r=d)),Re(f,Tt,d=>l(2,o=d)),Re(f,Et,d=>l(3,n=d)),Re(f,bt,d=>l(4,u=d)),Re(f,gt,d=>l(5,v=d)),Re(f,wt,d=>l(6,I=d));let{data:V}=e;var N;(function(d){d[d.ARCHIVAL_STATE_UNSPECIFIED=0]="ARCHIVAL_STATE_UNSPECIFIED",d[d.ARCHIVAL_STATE_DISABLED=1]="ARCHIVAL_STATE_DISABLED",d[d.ARCHIVAL_STATE_ENABLED=2]="ARCHIVAL_STATE_ENABLED"})(N||(N={}));const C=d=>d===N.ARCHIVAL_STATE_ENABLED?"green":"default",b=(d,y=!0)=>y?d?"default":"green":d?"green":"default",A=d=>d?"Disabled":"Enabled";return pt(()=>{var d;ht(lt,r=(d=t==null?void 0:t.namespaceInfo)===null||d===void 0?void 0:d.name,r)}),f.$$set=d=>{"data"in d&&l(10,V=d.data)},f.$$.update=()=>{f.$$.dirty&1024&&l(0,{namespace:t,clusters:a}=V,t,(l(1,a),l(10,V)))},[t,a,o,n,u,v,I,C,b,A,V]}class nl extends ft{constructor(e){super(),nt(this,e,Qt,Jt,it,{data:10})}}export{nl as default}; diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-page.ts.6b157abb.js b/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-page.ts.6b157abb.js deleted file mode 100644 index cd141bc451..0000000000 --- a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-page.ts.6b157abb.js +++ /dev/null @@ -1 +0,0 @@ -import"../chunks/namespaces-service.bc2964ad.js";import{l}from"../chunks/_page.f7d990da.js";export{l as load}; diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-_schedule_-page.svelte.23fef880.js b/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-_schedule_-page.svelte.23fef880.js deleted file mode 100644 index 39df6985cb..0000000000 --- a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-_schedule_-page.svelte.23fef880.js +++ /dev/null @@ -1,3 +0,0 @@ -import{S as $e,b as ve,a as ge,m as _,w as k,c as R,p as $,q as v,x as b,k as f,d as D,u as S,f as w,M as c,y as J,n as L,G as Nl,T as dl,H as Hl,I as jl,J as Ll,j as P,g as W,O as ml,P as pl,C as U,D as C,E as M,F,L as Te,e as ee,z as ze,a1 as Ol,a2 as Bl,h as Qe,ar as Ke,as as Vl,a7 as Gl,U as xe,_ as Ze,Q as Jl,A as hl,v as zl,a8 as _l,W as Ql,r as Kl}from"../chunks/index.d29c66be.js";import{p as Wl}from"../chunks/stores.1f7fa6eb.js";import{P as Xl}from"../chunks/page-title.ba38eecf.js";import{I as yl}from"../chunks/icon.5aa23970.js";import{k as et,f as $l,c as Al,q as Yl}from"../chunks/route-for.5e008fb6.js";import{g as Zl}from"../chunks/navigation.529c81bc.js";import{S as xl,a as vl,d as es,u as ts,p as ls}from"../chunks/schedule-frequency.0254bcb6.js";import{f as pe}from"../chunks/format-date.100c5f23.js";import{t as tt}from"../chunks/time-format.6ef667eb.js";import{l as Je}from"../chunks/schedules.9f53df59.js";import{W as ql}from"../chunks/workflow-status.688af89a.js";import{g as gl}from"../chunks/workflow-service.22d7ee79.js";import{E as ss}from"../chunks/empty-state.bf113865.js";import{L as rs}from"../chunks/link.d5f6f19e.js";import{M as wl}from"../chunks/modal.765fc6dd.js";import{S as ns}from"../chunks/split-button.efadbe62.js";import{L as Ul}from"../chunks/loading.9b5a6a67.js";import{c as as}from"../chunks/core-user.faf7a38e.js";import{c as kl}from"../chunks/menu-item.be414f05.js";function os(r){let e,l,t,n,a;return{c(){e=_("h2"),l=k("Memo"),t=R(),n=_("p"),a=k(r[0]),this.h()},l(s){e=$(s,"H2",{class:!0});var o=v(e);l=b(o,"Memo"),o.forEach(f),t=D(s),n=$(s,"P",{});var u=v(n);a=b(u,r[0]),u.forEach(f),this.h()},h(){S(e,"class","mb-4 text-2xl")},m(s,o){w(s,e,o),c(e,l),w(s,t,o),w(s,n,o),c(n,a)},p(s,[o]){o&1&&J(a,s[0])},i:L,o:L,d(s){s&&f(e),s&&f(t),s&&f(n)}}}function us(r,e,l){let{notes:t=""}=e;return r.$$set=n=>{"notes"in n&&l(0,t=n.notes)},[t]}class fs extends $e{constructor(e){super(),ve(this,e,us,os,ge,{notes:0})}}function is(r){let e,l,t;const n=r[3].default,a=Nl(n,r,r[2],null);return{c(){e=_("div"),a&&a.c(),this.h()},l(s){e=$(s,"DIV",{class:!0});var o=v(e);a&&a.l(o),o.forEach(f),this.h()},h(){S(e,"class",l="panel bg-white "+r[1].class+" svelte-11fqqfg"),dl(e,"error",r[0])},m(s,o){w(s,e,o),a&&a.m(e,null),t=!0},p(s,[o]){a&&a.p&&(!t||o&4)&&Hl(a,n,s,s[2],t?Ll(n,s[2],o,null):jl(s[2]),null),(!t||o&2&&l!==(l="panel bg-white "+s[1].class+" svelte-11fqqfg"))&&S(e,"class",l),(!t||o&3)&&dl(e,"error",s[0])},i(s){t||(P(a,s),t=!0)},o(s){W(a,s),t=!1},d(s){s&&f(e),a&&a.d(s)}}}function cs(r,e,l){let{$$slots:t={},$$scope:n}=e,{error:a=!1}=e;return r.$$set=s=>{l(1,e=ml(ml({},e),pl(s))),"error"in s&&l(0,a=s.error),"$$scope"in s&&l(2,n=s.$$scope)},e=pl(e),[a,e,n,t]}class Xe extends $e{constructor(e){super(),ve(this,e,cs,is,ge,{error:0})}}function bl(r,e,l){const t=r.slice();return t[4]=e[l],t}function ds(r){let e,l,t,n,a=r[4].startWorkflowResult.workflowId+"",s,o,u,i,h=pe(r[4].actualTime,r[2])+"",p;return{c(){e=_("div"),l=_("div"),t=R(),n=_("div"),s=k(a),o=R(),u=_("div"),i=_("p"),p=k(h),this.h()},l(m){e=$(m,"DIV",{class:!0});var d=v(e);l=$(d,"DIV",{class:!0}),v(l).forEach(f),t=D(d),n=$(d,"DIV",{class:!0});var g=v(n);s=b(g,a),g.forEach(f),o=D(d),u=$(d,"DIV",{class:!0});var N=v(u);i=$(N,"P",{});var q=v(i);p=b(q,h),q.forEach(f),N.forEach(f),d.forEach(f),this.h()},h(){S(l,"class","w-28"),S(n,"class","w-96"),S(u,"class","ml-auto"),S(e,"class","row svelte-lqpjgu")},m(m,d){w(m,e,d),c(e,l),c(e,t),c(e,n),c(n,s),c(e,o),c(e,u),c(u,i),c(i,p)},p(m,d){d&1&&a!==(a=m[4].startWorkflowResult.workflowId+"")&&J(s,a),d&5&&h!==(h=pe(m[4].actualTime,m[2])+"")&&J(p,h)},i:L,o:L,d(m){m&&f(e)}}}function ms(r){let e,l,t,n,a,s,o,u,i,h=pe(r[4].actualTime,r[2])+"",p,m;return t=new ql({props:{status:r[7].status}}),s=new rs({props:{href:$l({workflow:r[4].startWorkflowResult.workflowId,run:r[4].startWorkflowResult.runId,namespace:r[1]}),$$slots:{default:[ps]},$$scope:{ctx:r}}}),{c(){e=_("div"),l=_("div"),U(t.$$.fragment),n=R(),a=_("div"),U(s.$$.fragment),o=R(),u=_("div"),i=_("p"),p=k(h),this.h()},l(d){e=$(d,"DIV",{class:!0});var g=v(e);l=$(g,"DIV",{class:!0});var N=v(l);C(t.$$.fragment,N),N.forEach(f),n=D(g),a=$(g,"DIV",{class:!0});var q=v(a);C(s.$$.fragment,q),q.forEach(f),o=D(g),u=$(g,"DIV",{class:!0});var H=v(u);i=$(H,"P",{});var O=v(i);p=b(O,h),O.forEach(f),H.forEach(f),g.forEach(f),this.h()},h(){S(l,"class","w-28"),S(a,"class","w-auto break-words mx-2"),S(u,"class","ml-auto"),S(e,"class","row svelte-lqpjgu")},m(d,g){w(d,e,g),c(e,l),M(t,l,null),c(e,n),c(e,a),M(s,a,null),c(e,o),c(e,u),c(u,i),c(i,p),m=!0},p(d,g){const N={};g&3&&(N.status=d[7].status),t.$set(N);const q={};g&3&&(q.href=$l({workflow:d[4].startWorkflowResult.workflowId,run:d[4].startWorkflowResult.runId,namespace:d[1]})),g&257&&(q.$$scope={dirty:g,ctx:d}),s.$set(q),(!m||g&5)&&h!==(h=pe(d[4].actualTime,d[2])+"")&&J(p,h)},i(d){m||(P(t.$$.fragment,d),P(s.$$.fragment,d),m=!0)},o(d){W(t.$$.fragment,d),W(s.$$.fragment,d),m=!1},d(d){d&&f(e),F(t),F(s)}}}function ps(r){let e=r[4].startWorkflowResult.workflowId+"",l;return{c(){l=k(e)},l(t){l=b(t,e)},m(t,n){w(t,l,n)},p(t,n){n&1&&e!==(e=t[4].startWorkflowResult.workflowId+"")&&J(l,e)},d(t){t&&f(l)}}}function hs(r){return{c:L,l:L,m:L,p:L,i:L,o:L,d:L}}function El(r,e){let l,t,n,a,s={ctx:e,current:null,token:null,hasCatch:!0,pending:hs,then:ms,catch:ds,value:7,blocks:[,,,]};return Ke(n=gl({namespace:e[1],workflowId:et(e[4].startWorkflowResult.workflowId),runId:e[4].startWorkflowResult.runId},fetch),s),{key:r,first:null,c(){l=ee(),t=ee(),s.block.c(),this.h()},l(o){l=ee(),t=ee(),s.block.l(o),this.h()},h(){this.first=l},m(o,u){w(o,l,u),w(o,t,u),s.block.m(o,s.anchor=u),s.mount=()=>t.parentNode,s.anchor=t,a=!0},p(o,u){e=o,s.ctx=e,u&3&&n!==(n=gl({namespace:e[1],workflowId:et(e[4].startWorkflowResult.workflowId),runId:e[4].startWorkflowResult.runId},fetch))&&Ke(n,s)||Vl(s,e,u)},i(o){a||(P(s.block),a=!0)},o(o){for(let u=0;u<3;u+=1){const i=s.blocks[u];W(i)}a=!1},d(o){o&&f(l),o&&f(t),s.block.d(o),s.token=null,s=null}}}function Il(r){let e,l;return e=new ss({props:{title:"No Recent Runs"}}),{c(){U(e.$$.fragment)},l(t){C(e.$$.fragment,t)},m(t,n){M(e,t,n),l=!0},i(t){l||(P(e.$$.fragment,t),l=!0)},o(t){W(e.$$.fragment,t),l=!1},d(t){F(e,t)}}}function _s(r){let e,l,t,n=[],a=new Map,s,o,u,i=r[3](r[0]);const h=m=>{var d,g;return(g=(d=m[4])==null?void 0:d.startWorkflowResult)==null?void 0:g.workflowId};for(let m=0;m{p=null}),Qe()):p?d&1&&P(p,1):(p=Il(),p.c(),P(p,1),p.m(o.parentNode,o))},i(m){if(!u){for(let d=0;dl(2,t=o));let{recentRuns:n=[]}=e,{namespace:a}=e;const s=o=>{var u,i;return(i=(u=o==null?void 0:o.sort((h,p)=>new Date(p.actualTime).getTime()-new Date(h.actualTime).getTime()))===null||u===void 0?void 0:u.slice(0,5))!==null&&i!==void 0?i:[]};return r.$$set=o=>{"recentRuns"in o&&l(0,n=o.recentRuns),"namespace"in o&&l(1,a=o.namespace)},[n,a,t,s]}class gs extends $e{constructor(e){super(),ve(this,e,vs,$s,ge,{recentRuns:0,namespace:1})}}function Sl(r,e,l){const t=r.slice();return t[2]=e[l],t}function Rl(r){let e,l,t=pe(r[2],r[1],"from now")+"",n,a;return{c(){e=_("div"),l=_("p"),n=k(t),a=R(),this.h()},l(s){e=$(s,"DIV",{class:!0});var o=v(e);l=$(o,"P",{});var u=v(l);n=b(u,t),u.forEach(f),a=D(o),o.forEach(f),this.h()},h(){S(e,"class","row svelte-kbuuws")},m(s,o){w(s,e,o),c(e,l),c(l,n),c(e,a)},p(s,o){o&3&&t!==(t=pe(s[2],s[1],"from now")+"")&&J(n,t)},d(s){s&&f(e)}}}function ws(r){let e,l,t,n,a=r[0].slice(0,5),s=[];for(let o=0;ol(1,t=a));let{futureRuns:n=[]}=e;return r.$$set=a=>{"futureRuns"in a&&l(0,n=a.futureRuns)},[n,t]}class Es extends $e{constructor(e){super(),ve(this,e,bs,ks,ge,{futureRuns:0})}}function Dl(r){var Ve,oe,Ee,G,Ie,he,ue;let e,l,t=(((Ve=r[0])==null?void 0:Ve.startTime)??"")+"",n,a,s,o,u=(((oe=r[0])==null?void 0:oe.endTime)??"")+"",i,h,p,m,d=(((Ee=r[0])==null?void 0:Ee.jitter)??"")+"",g,N,q,H,O=(((Ie=(G=r[0])==null?void 0:G.excludeCalendar)==null?void 0:Ie[0])??"")+"",te,j,A,Q,x=(((he=r[1])==null?void 0:he.remainingActions)??"")+"",z,T,X,le,ie=(((ue=r[2])==null?void 0:ue.overlapPolicy)??"")+"",we;return{c(){e=_("p"),l=k("Schedule Start Time: "),n=k(t),a=R(),s=_("p"),o=k("Schedule End Time: "),i=k(u),h=R(),p=_("p"),m=k("Jitter: "),g=k(d),N=R(),q=_("p"),H=k("Exclusion Calendar: "),te=k(O),j=R(),A=_("p"),Q=k("Remaining Actions: "),z=k(x),T=R(),X=_("p"),le=k("Overlap Policy: "),we=k(ie)},l(I){e=$(I,"P",{});var y=v(e);l=b(y,"Schedule Start Time: "),n=b(y,t),y.forEach(f),a=D(I),s=$(I,"P",{});var se=v(s);o=b(se,"Schedule End Time: "),i=b(se,u),se.forEach(f),h=D(I),p=$(I,"P",{});var Y=v(p);m=b(Y,"Jitter: "),g=b(Y,d),Y.forEach(f),N=D(I),q=$(I,"P",{});var ce=v(q);H=b(ce,"Exclusion Calendar: "),te=b(ce,O),ce.forEach(f),j=D(I),A=$(I,"P",{});var re=v(A);Q=b(re,"Remaining Actions: "),z=b(re,x),re.forEach(f),T=D(I),X=$(I,"P",{});var Z=v(X);le=b(Z,"Overlap Policy: "),we=b(Z,ie),Z.forEach(f)},m(I,y){w(I,e,y),c(e,l),c(e,n),w(I,a,y),w(I,s,y),c(s,o),c(s,i),w(I,h,y),w(I,p,y),c(p,m),c(p,g),w(I,N,y),w(I,q,y),c(q,H),c(q,te),w(I,j,y),w(I,A,y),c(A,Q),c(A,z),w(I,T,y),w(I,X,y),c(X,le),c(X,we)},p(I,y){var se,Y,ce,re,Z,We,_e;y&1&&t!==(t=(((se=I[0])==null?void 0:se.startTime)??"")+"")&&J(n,t),y&1&&u!==(u=(((Y=I[0])==null?void 0:Y.endTime)??"")+"")&&J(i,u),y&1&&d!==(d=(((ce=I[0])==null?void 0:ce.jitter)??"")+"")&&J(g,d),y&1&&O!==(O=(((Z=(re=I[0])==null?void 0:re.excludeCalendar)==null?void 0:Z[0])??"")+"")&&J(te,O),y&2&&x!==(x=(((We=I[1])==null?void 0:We.remainingActions)??"")+"")&&J(z,x),y&4&&ie!==(ie=(((_e=I[2])==null?void 0:_e.overlapPolicy)??"")+"")&&J(we,ie)},d(I){I&&f(e),I&&f(a),I&&f(s),I&&f(h),I&&f(p),I&&f(N),I&&f(q),I&&f(j),I&&f(A),I&&f(T),I&&f(X)}}}function Is(r){let e,l,t,n,a,s,o,u;t=new yl({props:{class:"inline",name:r[3]?"chevron-up":"chevron-down"}});let i=r[3]&&Dl(r);return{c(){e=_("button"),l=k("Advanced Settings "),U(t.$$.fragment),n=R(),i&&i.c(),a=ee(),this.h()},l(h){e=$(h,"BUTTON",{class:!0});var p=v(e);l=b(p,"Advanced Settings "),C(t.$$.fragment,p),p.forEach(f),n=D(h),i&&i.l(h),a=ee(),this.h()},h(){S(e,"class","settings svelte-5rdr1k")},m(h,p){w(h,e,p),c(e,l),M(t,e,null),w(h,n,p),i&&i.m(h,p),w(h,a,p),s=!0,o||(u=xe(e,"click",r[4]),o=!0)},p(h,[p]){const m={};p&8&&(m.name=h[3]?"chevron-up":"chevron-down"),t.$set(m),h[3]?i?i.p(h,p):(i=Dl(h),i.c(),i.m(a.parentNode,a)):i&&(i.d(1),i=null)},i(h){s||(P(t.$$.fragment,h),s=!0)},o(h){W(t.$$.fragment,h),s=!1},d(h){h&&f(e),F(t),h&&f(n),i&&i.d(h),h&&f(a),o=!1,u()}}}function Ss(r,e,l){let{spec:t}=e,{state:n}=e,{policies:a}=e,s=!1;const o=()=>l(3,s=!s);return r.$$set=u=>{"spec"in u&&l(0,t=u.spec),"state"in u&&l(1,n=u.state),"policies"in u&&l(2,a=u.policies)},[t,n,a,s,o]}class Rs extends $e{constructor(e){super(),ve(this,e,Ss,Is,ge,{spec:0,state:1,policies:2})}}function Ds(r){let e,l,t,n,a;return{c(){e=_("p"),l=k("Error Message"),t=R(),n=_("p"),a=k(r[0]),this.h()},l(s){e=$(s,"P",{class:!0});var o=v(e);l=b(o,"Error Message"),o.forEach(f),t=D(s),n=$(s,"P",{class:!0});var u=v(n);a=b(u,r[0]),u.forEach(f),this.h()},h(){S(e,"class","error-text svelte-1lke5yx"),S(n,"class","error-text svelte-1lke5yx")},m(s,o){w(s,e,o),c(e,l),w(s,t,o),w(s,n,o),c(n,a)},p(s,o){o&1&&J(a,s[0])},d(s){s&&f(e),s&&f(t),s&&f(n)}}}function Ps(r){let e,l;return e=new Xe({props:{error:!0,$$slots:{default:[Ds]},$$scope:{ctx:r}}}),{c(){U(e.$$.fragment)},l(t){C(e.$$.fragment,t)},m(t,n){M(e,t,n),l=!0},p(t,[n]){const a={};n&3&&(a.$$scope={dirty:n,ctx:t}),e.$set(a)},i(t){l||(P(e.$$.fragment,t),l=!0)},o(t){W(e.$$.fragment,t),l=!1},d(t){F(e,t)}}}function Ts(r,e,l){let{error:t=""}=e;return r.$$set=n=>{"error"in n&&l(0,t=n.error)},[t]}class Vs extends $e{constructor(e){super(),ve(this,e,Ts,Ps,ge,{error:0})}}function Ws(r){let e,l,t,n,a,s;return a=new xl({props:{calendar:r[0],interval:r[1],class:"text-base"}}),{c(){e=_("h2"),l=k("Frequency"),t=R(),n=_("div"),U(a.$$.fragment),this.h()},l(o){e=$(o,"H2",{class:!0});var u=v(e);l=b(u,"Frequency"),u.forEach(f),t=D(o),n=$(o,"DIV",{class:!0});var i=v(n);C(a.$$.fragment,i),i.forEach(f),this.h()},h(){S(e,"class","mb-4 text-2xl"),S(n,"class","pr-2")},m(o,u){w(o,e,u),c(e,l),w(o,t,u),w(o,n,u),M(a,n,null),s=!0},p(o,u){const i={};u&1&&(i.calendar=o[0]),u&2&&(i.interval=o[1]),a.$set(i)},i(o){s||(P(a.$$.fragment,o),s=!0)},o(o){W(a.$$.fragment,o),s=!1},d(o){o&&f(e),o&&f(t),o&&f(n),F(a)}}}function ys(r){let e,l;return e=new Xe({props:{$$slots:{default:[Ws]},$$scope:{ctx:r}}}),{c(){U(e.$$.fragment)},l(t){C(e.$$.fragment,t)},m(t,n){M(e,t,n),l=!0},p(t,[n]){const a={};n&7&&(a.$$scope={dirty:n,ctx:t}),e.$set(a)},i(t){l||(P(e.$$.fragment,t),l=!0)},o(t){W(e.$$.fragment,t),l=!1},d(t){F(e,t)}}}function As(r,e,l){let{calendar:t=void 0}=e,{interval:n=void 0}=e;return r.$$set=a=>{"calendar"in a&&l(0,t=a.calendar),"interval"in a&&l(1,n=a.interval)},[t,n]}class qs extends $e{constructor(e){super(),ve(this,e,As,ys,ge,{calendar:0,interval:1})}}function Us(r){return{c:L,l:L,m:L,p:L,i:L,o:L,d:L}}function Cs(r){let e,l,t,n;const a=[Fs,Ms],s=[];function o(u,i){return u[4]?0:1}return e=o(r),l=s[e]=a[e](r),{c(){l.c(),t=ee()},l(u){l.l(u),t=ee()},m(u,i){s[e].m(u,i),w(u,t,i),n=!0},p(u,i){let h=e;e=o(u),e===h?s[e].p(u,i):(ze(),W(s[h],1,1,()=>{s[h]=null}),Qe(),l=s[e],l?l.p(u,i):(l=s[e]=a[e](u),l.c()),P(l,1),l.m(t.parentNode,t))},i(u){n||(P(l),n=!0)},o(u){W(l),n=!1},d(u){s[e].d(u),u&&f(t)}}}function Ms(r){var lt,st,rt,nt,at,ot,ut,ft,it,ct,dt,mt,pt,ht,_t,$t,vt,gt,wt,kt,bt,Et,It,St,Rt,Dt,Pt,Tt,Vt,Wt,yt,At,qt,Ut,Ct,Mt;let e,l,t,n,a,s,o,u,i,h,p,m,d,g,N,q,H,O,te,j,A=((at=(nt=(rt=(st=(lt=r[22])==null?void 0:lt.schedule)==null?void 0:st.action)==null?void 0:rt.startWorkflow)==null?void 0:nt.workflowType)==null?void 0:at.name)+"",Q,x,z,T,X,le=pe((ut=(ot=r[22])==null?void 0:ot.info)==null?void 0:ut.createTime,r[5])+"",ie,we,Ve,oe,Ee,G,Ie,he,ue,I,y,se,Y,ce,re,Z,We,_e,ke,Ye,ye,be,Be,de,Ge,me,Ae;n=new yl({props:{name:"chevron-left",class:"inline"}}),i=new ql({props:{status:(ft=r[22])!=null&&ft.schedule.state.paused?"Paused":"Running"}});let K=((ct=(it=r[22])==null?void 0:it.info)==null?void 0:ct.updateTime)&&Pl(r);oe=new ns({props:{position:"right",label:(pt=(mt=(dt=r[22])==null?void 0:dt.schedule)==null?void 0:mt.state)!=null&&pt.paused?"Unpause":"Pause",id:"schedule-actions",disabled:r[9],$$slots:{default:[js]},$$scope:{ctx:r}}}),oe.$on("click",r[14]);let B=((_t=(ht=r[22])==null?void 0:ht.info)==null?void 0:_t.invalidScheduleError)&&Tl(r);ue=new qs({props:{calendar:(wt=(gt=(vt=($t=r[22])==null?void 0:$t.schedule)==null?void 0:vt.spec)==null?void 0:gt.structuredCalendar)==null?void 0:wt[0],interval:(It=(Et=(bt=(kt=r[22])==null?void 0:kt.schedule)==null?void 0:bt.spec)==null?void 0:Et.interval)==null?void 0:It[0]}}),Y=new gs({props:{namespace:r[6],recentRuns:(Rt=(St=r[22])==null?void 0:St.info)==null?void 0:Rt.recentActions}}),Z=new Es({props:{futureRuns:(Pt=(Dt=r[22])==null?void 0:Dt.info)==null?void 0:Pt.futureActionTimes}}),ke=new Rs({props:{spec:(Vt=(Tt=r[22])==null?void 0:Tt.schedule)==null?void 0:Vt.spec,state:(yt=(Wt=r[22])==null?void 0:Wt.schedule)==null?void 0:yt.state,policies:(qt=(At=r[22])==null?void 0:At.schedule)==null?void 0:qt.policies}}),be=new fs({props:{notes:(Mt=(Ct=(Ut=r[22])==null?void 0:Ut.schedule)==null?void 0:Ct.state)==null?void 0:Mt.notes}});function Cl(){return r[17](r[22])}let Ml={id:"pause-schedule-modal",confirmType:"primary",confirmText:r[22].schedule.state.paused?"Unpause":"Pause",confirmDisabled:!r[3],$$slots:{content:[Os],title:[Ls]},$$scope:{ctx:r}};de=new wl({props:Ml}),r[16](de),de.$on("confirmModal",Cl);let Fl={id:"delete-schedule-modal",confirmType:"destructive",confirmText:"Delete",$$slots:{content:[Gs],title:[Bs]},$$scope:{ctx:r}};return me=new wl({props:Fl}),r[18](me),me.$on("confirmModal",r[10]),{c(){e=_("header"),l=_("div"),t=_("a"),U(n.$$.fragment),a=k("Back to Schedules"),s=R(),o=_("div"),u=_("h1"),U(i.$$.fragment),h=R(),p=_("p"),m=k(r[7]),d=R(),g=_("div"),N=_("p"),q=k(r[6]),H=R(),O=_("div"),te=R(),j=_("p"),Q=k(A),x=R(),z=_("div"),T=_("p"),X=k("Created: "),ie=k(le),we=R(),K&&K.c(),Ve=R(),U(oe.$$.fragment),Ee=R(),G=_("div"),B&&B.c(),Ie=R(),he=_("div"),U(ue.$$.fragment),I=R(),y=_("div"),se=_("div"),U(Y.$$.fragment),ce=R(),re=_("div"),U(Z.$$.fragment),We=R(),_e=_("div"),U(ke.$$.fragment),Ye=R(),ye=_("div"),U(be.$$.fragment),Be=R(),U(de.$$.fragment),Ge=R(),U(me.$$.fragment),this.h()},l(E){e=$(E,"HEADER",{class:!0});var V=v(e);l=$(V,"DIV",{class:!0});var ne=v(l);t=$(ne,"A",{href:!0,class:!0,style:!0});var Se=v(t);C(n.$$.fragment,Se),a=b(Se,"Back to Schedules"),Se.forEach(f),s=D(ne),o=$(ne,"DIV",{class:!0});var qe=v(o);u=$(qe,"H1",{class:!0});var Re=v(u);C(i.$$.fragment,Re),h=D(Re),p=$(Re,"P",{class:!0,"data-testid":!0});var Ce=v(p);m=b(Ce,r[7]),Ce.forEach(f),Re.forEach(f),qe.forEach(f),d=D(ne),g=$(ne,"DIV",{class:!0});var fe=v(g);N=$(fe,"P",{});var Me=v(N);q=b(Me,r[6]),Me.forEach(f),H=D(fe),O=$(fe,"DIV",{class:!0}),v(O).forEach(f),te=D(fe),j=$(fe,"P",{});var De=v(j);Q=b(De,A),De.forEach(f),fe.forEach(f),x=D(ne),z=$(ne,"DIV",{class:!0});var Fe=v(z);T=$(Fe,"P",{});var Ue=v(T);X=b(Ue,"Created: "),ie=b(Ue,le),Ue.forEach(f),Fe.forEach(f),we=D(ne),K&&K.l(ne),ne.forEach(f),Ve=D(V),C(oe.$$.fragment,V),V.forEach(f),Ee=D(E),G=$(E,"DIV",{class:!0});var ae=v(G);B&&B.l(ae),Ie=D(ae),he=$(ae,"DIV",{class:!0});var Ne=v(he);C(ue.$$.fragment,Ne),Ne.forEach(f),I=D(ae),y=$(ae,"DIV",{class:!0});var Pe=v(y);se=$(Pe,"DIV",{class:!0});var He=v(se);C(Y.$$.fragment,He),He.forEach(f),ce=D(Pe),re=$(Pe,"DIV",{class:!0});var je=v(re);C(Z.$$.fragment,je),je.forEach(f),Pe.forEach(f),We=D(ae),_e=$(ae,"DIV",{class:!0});var Le=v(_e);C(ke.$$.fragment,Le),Le.forEach(f),Ye=D(ae),ye=$(ae,"DIV",{class:!0});var Oe=v(ye);C(be.$$.fragment,Oe),Oe.forEach(f),ae.forEach(f),Be=D(E),C(de.$$.fragment,E),Ge=D(E),C(me.$$.fragment,E),this.h()},h(){S(t,"href",Al({namespace:r[6]})),S(t,"class","absolute top-0 back-to-schedules svelte-1pb4ys0"),zl(t,"left","-0.5rem"),S(p,"class","font-medium select-all"),S(p,"data-testid","schedule-name"),S(u,"class","text-2xl flex relative items-center gap-4"),S(o,"class","flex justify-between items-center mt-8"),S(O,"class","w-1 h-1 rounded-full bg-gray-900"),S(g,"class","flex items-center gap-2 text-sm"),S(z,"class","flex items-center gap-2 text-sm"),S(l,"class","flex flex-col gap-1 relative"),S(e,"class","flex flex-row justify-between gap-4 mb-8"),S(he,"class","w-full xl:w-1/2"),S(se,"class","w-full xl:w-3/4"),S(re,"class","w-full xl:w-1/4"),S(y,"class","flex flex-col xl:flex-row gap-4"),S(_e,"class","w-full xl:w-1/2"),S(ye,"class","w-full xl:w-1/2"),S(G,"class","flex flex-col gap-4 pb-24")},m(E,V){w(E,e,V),c(e,l),c(l,t),M(n,t,null),c(t,a),c(l,s),c(l,o),c(o,u),M(i,u,null),c(u,h),c(u,p),c(p,m),c(l,d),c(l,g),c(g,N),c(N,q),c(g,H),c(g,O),c(g,te),c(g,j),c(j,Q),c(l,x),c(l,z),c(z,T),c(T,X),c(T,ie),c(l,we),K&&K.m(l,null),c(e,Ve),M(oe,e,null),w(E,Ee,V),w(E,G,V),B&&B.m(G,null),c(G,Ie),c(G,he),M(ue,he,null),c(G,I),c(G,y),c(y,se),M(Y,se,null),c(y,ce),c(y,re),M(Z,re,null),c(G,We),c(G,_e),M(ke,_e,null),c(G,Ye),c(G,ye),M(be,ye,null),w(E,Be,V),M(de,E,V),w(E,Ge,V),M(me,E,V),Ae=!0},p(E,V){var Ue,ae,Ne,Pe,He,je,Le,Oe,Ft,Nt,Ht,jt,Lt,Ot,Bt,Gt,Jt,zt,Qt,Kt,Xt,Yt,Zt,xt,el,tl,ll,sl,rl,nl,al,ol,ul,fl,il,cl;r=E;const ne={};V&1&&(ne.status=(Ue=r[22])!=null&&Ue.schedule.state.paused?"Paused":"Running"),i.$set(ne),(!Ae||V&1)&&A!==(A=((je=(He=(Pe=(Ne=(ae=r[22])==null?void 0:ae.schedule)==null?void 0:Ne.action)==null?void 0:Pe.startWorkflow)==null?void 0:He.workflowType)==null?void 0:je.name)+"")&&J(Q,A),(!Ae||V&33)&&le!==(le=pe((Oe=(Le=r[22])==null?void 0:Le.info)==null?void 0:Oe.createTime,r[5])+"")&&J(ie,le),(Nt=(Ft=r[22])==null?void 0:Ft.info)!=null&&Nt.updateTime?K?K.p(r,V):(K=Pl(r),K.c(),K.m(l,null)):K&&(K.d(1),K=null);const Se={};V&1&&(Se.label=(Lt=(jt=(Ht=r[22])==null?void 0:Ht.schedule)==null?void 0:jt.state)!=null&&Lt.paused?"Unpause":"Pause"),V&8388612&&(Se.$$scope={dirty:V,ctx:r}),oe.$set(Se),(Bt=(Ot=r[22])==null?void 0:Ot.info)!=null&&Bt.invalidScheduleError?B?(B.p(r,V),V&1&&P(B,1)):(B=Tl(r),B.c(),P(B,1),B.m(G,Ie)):B&&(ze(),W(B,1,1,()=>{B=null}),Qe());const qe={};V&1&&(qe.calendar=(Qt=(zt=(Jt=(Gt=r[22])==null?void 0:Gt.schedule)==null?void 0:Jt.spec)==null?void 0:zt.structuredCalendar)==null?void 0:Qt[0]),V&1&&(qe.interval=(Zt=(Yt=(Xt=(Kt=r[22])==null?void 0:Kt.schedule)==null?void 0:Xt.spec)==null?void 0:Yt.interval)==null?void 0:Zt[0]),ue.$set(qe);const Re={};V&1&&(Re.recentRuns=(el=(xt=r[22])==null?void 0:xt.info)==null?void 0:el.recentActions),Y.$set(Re);const Ce={};V&1&&(Ce.futureRuns=(ll=(tl=r[22])==null?void 0:tl.info)==null?void 0:ll.futureActionTimes),Z.$set(Ce);const fe={};V&1&&(fe.spec=(rl=(sl=r[22])==null?void 0:sl.schedule)==null?void 0:rl.spec),V&1&&(fe.state=(al=(nl=r[22])==null?void 0:nl.schedule)==null?void 0:al.state),V&1&&(fe.policies=(ul=(ol=r[22])==null?void 0:ol.schedule)==null?void 0:ul.policies),ke.$set(fe);const Me={};V&1&&(Me.notes=(cl=(il=(fl=r[22])==null?void 0:fl.schedule)==null?void 0:il.state)==null?void 0:cl.notes),be.$set(Me);const De={};V&1&&(De.confirmText=r[22].schedule.state.paused?"Unpause":"Pause"),V&8&&(De.confirmDisabled=!r[3]),V&8388617&&(De.$$scope={dirty:V,ctx:r}),de.$set(De);const Fe={};V&8388608&&(Fe.$$scope={dirty:V,ctx:r}),me.$set(Fe)},i(E){Ae||(P(n.$$.fragment,E),P(i.$$.fragment,E),P(oe.$$.fragment,E),P(B),P(ue.$$.fragment,E),P(Y.$$.fragment,E),P(Z.$$.fragment,E),P(ke.$$.fragment,E),P(be.$$.fragment,E),P(de.$$.fragment,E),P(me.$$.fragment,E),Ae=!0)},o(E){W(n.$$.fragment,E),W(i.$$.fragment,E),W(oe.$$.fragment,E),W(B),W(ue.$$.fragment,E),W(Y.$$.fragment,E),W(Z.$$.fragment,E),W(ke.$$.fragment,E),W(be.$$.fragment,E),W(de.$$.fragment,E),W(me.$$.fragment,E),Ae=!1},d(E){E&&f(e),F(n),F(i),K&&K.d(),F(oe),E&&f(Ee),E&&f(G),B&&B.d(),F(ue),F(Y),F(Z),F(ke),F(be),E&&f(Be),r[16](null),F(de,E),E&&f(Ge),r[18](null),F(me,E)}}}function Fs(r){let e,l;return e=new Ul({props:{title:"Deleting Schedule...",class:"my-2"}}),{c(){U(e.$$.fragment)},l(t){C(e.$$.fragment,t)},m(t,n){M(e,t,n),l=!0},p:L,i(t){l||(P(e.$$.fragment,t),l=!0)},o(t){W(e.$$.fragment,t),l=!1},d(t){F(e,t)}}}function Pl(r){var s,o;let e,l,t,n=pe((o=(s=r[22])==null?void 0:s.info)==null?void 0:o.updateTime,r[5])+"",a;return{c(){e=_("div"),l=_("p"),t=k("Last updated: "),a=k(n),this.h()},l(u){e=$(u,"DIV",{class:!0});var i=v(e);l=$(i,"P",{});var h=v(l);t=b(h,"Last updated: "),a=b(h,n),h.forEach(f),i.forEach(f),this.h()},h(){S(e,"class","flex items-center gap-2 text-sm")},m(u,i){w(u,e,i),c(e,l),c(l,t),c(l,a)},p(u,i){var h,p;i&33&&n!==(n=pe((p=(h=u[22])==null?void 0:h.info)==null?void 0:p.updateTime,u[5])+"")&&J(a,n)},d(u){u&&f(e)}}}function Ns(r){let e;return{c(){e=k("Edit")},l(l){e=b(l,"Edit")},m(l,t){w(l,e,t)},d(l){l&&f(e)}}}function Hs(r){let e;return{c(){e=k("Delete Schedule")},l(l){e=b(l,"Delete Schedule")},m(l,t){w(l,e,t)},d(l){l&&f(e)}}}function js(r){let e,l,t,n;return e=new kl({props:{testId:"edit-schedule",href:Yl({namespace:r[6],scheduleId:r[7]}),$$slots:{default:[Ns]},$$scope:{ctx:r}}}),t=new kl({props:{testId:"delete-schedule",destructive:!0,$$slots:{default:[Hs]},$$scope:{ctx:r}}}),t.$on("click",r[13]),{c(){U(e.$$.fragment),l=R(),U(t.$$.fragment)},l(a){C(e.$$.fragment,a),l=D(a),C(t.$$.fragment,a)},m(a,s){M(e,a,s),w(a,l,s),M(t,a,s),n=!0},p(a,s){const o={};s&8388608&&(o.$$scope={dirty:s,ctx:a}),e.$set(o);const u={};s&8388608&&(u.$$scope={dirty:s,ctx:a}),t.$set(u)},i(a){n||(P(e.$$.fragment,a),P(t.$$.fragment,a),n=!0)},o(a){W(e.$$.fragment,a),W(t.$$.fragment,a),n=!1},d(a){F(e,a),a&&f(l),F(t,a)}}}function Tl(r){var n,a;let e,l,t;return l=new Vs({props:{error:(a=(n=r[22])==null?void 0:n.info)==null?void 0:a.invalidScheduleError}}),{c(){e=_("div"),U(l.$$.fragment),this.h()},l(s){e=$(s,"DIV",{class:!0});var o=v(e);C(l.$$.fragment,o),o.forEach(f),this.h()},h(){S(e,"class","w-full xl:w-1/2")},m(s,o){w(s,e,o),M(l,e,null),t=!0},p(s,o){var i,h;const u={};o&1&&(u.error=(h=(i=s[22])==null?void 0:i.info)==null?void 0:h.invalidScheduleError),l.$set(u)},i(s){t||(P(l.$$.fragment,s),t=!0)},o(s){W(l.$$.fragment,s),t=!1},d(s){s&&f(e),F(l)}}}function Ls(r){let e,l=r[22].schedule.state.paused?"Unpause":"Pause",t,n;return{c(){e=_("h3"),t=k(l),n=k(" Schedule?"),this.h()},l(a){e=$(a,"H3",{slot:!0});var s=v(e);t=b(s,l),n=b(s," Schedule?"),s.forEach(f),this.h()},h(){S(e,"slot","title")},m(a,s){w(a,e,s),c(e,t),c(e,n)},p(a,s){s&1&&l!==(l=a[22].schedule.state.paused?"Unpause":"Pause")&&J(t,l)},d(a){a&&f(e)}}}function Os(r){let e,l,t,n=r[22].schedule.state.paused?"unpause":"pause",a,s,o,u,i,h,p,m,d=r[22].schedule.state.paused?"unpausing":"pausing",g,N,q,H,O,te;return{c(){e=_("div"),l=_("p"),t=k("Are you sure you want to "),a=k(n),s=R(),o=_("strong"),u=k(r[7]),i=k("?"),h=R(),p=_("p"),m=k("Enter a reason for "),g=k(d),N=k(" the schedule."),q=R(),H=_("input"),this.h()},l(j){e=$(j,"DIV",{slot:!0});var A=v(e);l=$(A,"P",{});var Q=v(l);t=b(Q,"Are you sure you want to "),a=b(Q,n),s=D(Q),o=$(Q,"STRONG",{});var x=v(o);u=b(x,r[7]),x.forEach(f),i=b(Q,"?"),Q.forEach(f),h=D(A),p=$(A,"P",{class:!0});var z=v(p);m=b(z,"Enter a reason for "),g=b(z,d),N=b(z," the schedule."),z.forEach(f),q=D(A),H=$(A,"INPUT",{class:!0,placeholder:!0}),A.forEach(f),this.h()},h(){S(p,"class","my-4"),S(H,"class","block w-full border border-gray-200 rounded-md p-2 mt-4"),S(H,"placeholder","Enter a reason"),S(e,"slot","content")},m(j,A){w(j,e,A),c(e,l),c(l,t),c(l,a),c(l,s),c(l,o),c(o,u),c(l,i),c(e,h),c(e,p),c(p,m),c(p,g),c(p,N),c(e,q),c(e,H),_l(H,r[3]),O||(te=[xe(H,"input",r[15]),xe(H,"keydown",Ql(r[12]))],O=!0)},p(j,A){A&1&&n!==(n=j[22].schedule.state.paused?"unpause":"pause")&&J(a,n),A&1&&d!==(d=j[22].schedule.state.paused?"unpausing":"pausing")&&J(g,d),A&8&&H.value!==j[3]&&_l(H,j[3])},d(j){j&&f(e),O=!1,Kl(te)}}}function Bs(r){let e,l;return{c(){e=_("h3"),l=k("Delete Schedule?"),this.h()},l(t){e=$(t,"H3",{slot:!0});var n=v(e);l=b(n,"Delete Schedule?"),n.forEach(f),this.h()},h(){S(e,"slot","title")},m(t,n){w(t,e,n),c(e,l)},p:L,d(t){t&&f(e)}}}function Gs(r){let e,l,t,n,a,s;return{c(){e=_("div"),l=_("p"),t=k(`Are you sure you want to delete - `),n=_("strong"),a=k(r[7]),s=k("?"),this.h()},l(o){e=$(o,"DIV",{slot:!0});var u=v(e);l=$(u,"P",{});var i=v(l);t=b(i,`Are you sure you want to delete - `),n=$(i,"STRONG",{});var h=v(n);a=b(h,r[7]),h.forEach(f),s=b(i,"?"),i.forEach(f),u.forEach(f),this.h()},h(){S(e,"slot","content")},m(o,u){w(o,e,u),c(e,l),c(l,t),c(l,n),c(n,a),c(l,s)},p:L,d(o){o&&f(e)}}}function Js(r){let e,l;return e=new Ul({}),{c(){U(e.$$.fragment)},l(t){C(e.$$.fragment,t)},m(t,n){M(e,t,n),l=!0},p:L,i(t){l||(P(e.$$.fragment,t),l=!0)},o(t){W(e.$$.fragment,t),l=!1},d(t){F(e,t)}}}function zs(r){let e,l,t,n={ctx:r,current:null,token:null,hasCatch:!1,pending:Js,then:Cs,catch:Us,value:22,blocks:[,,,]};return Ke(l=r[0],n),{c(){e=ee(),n.block.c()},l(a){e=ee(),n.block.l(a)},m(a,s){w(a,e,s),n.block.m(a,n.anchor=s),n.mount=()=>e.parentNode,n.anchor=e,t=!0},p(a,[s]){r=a,n.ctx=r,s&1&&l!==(l=r[0])&&Ke(l,n)||Vl(n,r,s)},i(a){t||(P(n.block),t=!0)},o(a){for(let s=0;s<3;s+=1){const o=n.blocks[s];W(o)}t=!1},d(a){a&&f(e),n.block.d(a),n.token=null,n=null}}}function Qs(r,e,l){let t,n,a,s;Te(r,Je,T=>l(4,t=T)),Te(r,Wl,T=>l(20,a=T)),Te(r,tt,T=>l(5,s=T));let o=a.params.namespace,u=a.params.schedule;const i={namespace:o,scheduleId:et(u)};let h=vl(i),p,m,d="",g=as();Te(r,g,T=>l(19,n=T));let N=n.namespaceWriteDisabled(o);const q=async()=>{try{Ze(Je,t=!0,t),await es({namespace:o,scheduleId:u}),m==null||m.close(),setTimeout(()=>{Ze(Je,t=!1,t),Zl(Al({namespace:o}))},2e3)}catch(T){m==null||m.setError(`Cannot delete schedule. ${T==null?void 0:T.message}`),Ze(Je,t=!1,t)}},H=async T=>{var X,le;!((le=(X=T==null?void 0:T.schedule)===null||X===void 0?void 0:X.state)===null||le===void 0)&&le.paused?await ts({namespace:o,scheduleId:u,reason:d}):await ls({namespace:o,scheduleId:u,reason:d}),l(0,h=vl(i,fetch)),l(3,d="")};function O(T){Jl.call(this,r,T)}const te=()=>m.open(),j=()=>p.open();function A(){d=this.value,l(3,d)}function Q(T){hl[T?"unshift":"push"](()=>{p=T,l(1,p)})}const x=T=>H(T);function z(T){hl[T?"unshift":"push"](()=>{m=T,l(2,m)})}return[h,p,m,d,t,s,o,u,g,N,q,H,O,te,j,A,Q,x,z]}class Ks extends $e{constructor(e){super(),ve(this,e,Qs,zs,ge,{})}}function Xs(r){let e,l,t,n;return e=new Xl({props:{title:`Schedule | ${r[1]}`,url:r[0].url.href}}),t=new Ks({}),{c(){U(e.$$.fragment),l=R(),U(t.$$.fragment)},l(a){C(e.$$.fragment,a),l=D(a),C(t.$$.fragment,a)},m(a,s){M(e,a,s),w(a,l,s),M(t,a,s),n=!0},p(a,[s]){const o={};s&1&&(o.url=a[0].url.href),e.$set(o)},i(a){n||(P(e.$$.fragment,a),P(t.$$.fragment,a),n=!0)},o(a){W(e.$$.fragment,a),W(t.$$.fragment,a),n=!1},d(a){F(e,a),a&&f(l),F(t,a)}}}function Ys(r,e,l){let t;Te(r,Wl,a=>l(0,t=a));const n=t.params.schedule;return[t,n]}class $r extends $e{constructor(e){super(),ve(this,e,Ys,Xs,ge,{})}}export{$r as default}; diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-create-page.svelte.ccd0cc83.js b/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-create-page.svelte.ccd0cc83.js deleted file mode 100644 index 21411f1a6d..0000000000 --- a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-create-page.svelte.ccd0cc83.js +++ /dev/null @@ -1 +0,0 @@ -import{S as $,b as g,a as d,C as m,D as p,E as f,n as E,j as i,g as u,F as l,L as _,c as F,d as I,f as L,k as M}from"../chunks/index.d29c66be.js";import{p as h}from"../chunks/stores.1f7fa6eb.js";import{a as Q}from"../chunks/schedules.9f53df59.js";import{S as T}from"../chunks/schedule-form-view.9e09dcb7.js";import{P as W}from"../chunks/page-title.ba38eecf.js";function z(a){let t,n;return t=new T({props:{onConfirm:a[0]}}),{c(){m(t.$$.fragment)},l(e){p(t.$$.fragment,e)},m(e,s){f(t,e,s),n=!0},p:E,i(e){n||(i(t.$$.fragment,e),n=!0)},o(e){u(t.$$.fragment,e),n=!1},d(e){l(t,e)}}}function A(a,t,n){let e;_(a,h,o=>n(1,e=o));let{namespace:s}=e.params;return[(o,c)=>{const{name:w,workflowType:S,workflowId:C,taskQueue:y,hour:k,minute:b,second:v,phase:P,cronString:x,daysOfWeek:O,daysOfMonth:j,days:q,months:D}=c;Q({action:{namespace:s,name:w,workflowType:S,workflowId:C,taskQueue:y},spec:{hour:k,minute:b,second:v,phase:P,cronString:x},presets:{preset:o,daysOfWeek:O,daysOfMonth:j,months:D,days:q}})}]}class B extends ${constructor(t){super(),g(this,t,A,z,d,{})}}function G(a){let t,n,e,s;return t=new W({props:{title:`Create Schedule | ${a[1]}`,url:a[0].url.href}}),e=new B({}),{c(){m(t.$$.fragment),n=F(),m(e.$$.fragment)},l(r){p(t.$$.fragment,r),n=I(r),p(e.$$.fragment,r)},m(r,o){f(t,r,o),L(r,n,o),f(e,r,o),s=!0},p(r,[o]){const c={};o&1&&(c.url=r[0].url.href),t.$set(c)},i(r){s||(i(t.$$.fragment,r),i(e.$$.fragment,r),s=!0)},o(r){u(t.$$.fragment,r),u(e.$$.fragment,r),s=!1},d(r){l(t,r),r&&M(n),l(e,r)}}}function H(a,t,n){let e;_(a,h,r=>n(0,e=r));const s=e.params.namespace;return[e,s]}class Z extends ${constructor(t){super(),g(this,t,H,G,d,{})}}export{Z as default}; diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-layout.svelte.025dfd6f.js b/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-layout.svelte.025dfd6f.js deleted file mode 100644 index ccb0f36781..0000000000 --- a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-layout.svelte.025dfd6f.js +++ /dev/null @@ -1 +0,0 @@ -import{S as o,b as i,a as r,G as u,H as f,I as _,J as c,j as p,g as d}from"../chunks/index.d29c66be.js";function m(n){let s;const l=n[1].default,e=u(l,n,n[0],null);return{c(){e&&e.c()},l(t){e&&e.l(t)},m(t,a){e&&e.m(t,a),s=!0},p(t,[a]){e&&e.p&&(!s||a&1)&&f(e,l,t,t[0],s?c(l,t[0],a,null):_(t[0]),null)},i(t){s||(p(e,t),s=!0)},o(t){d(e,t),s=!1},d(t){e&&e.d(t)}}}function $(n,s,l){let{$$slots:e={},$$scope:t}=s;return n.$$set=a=>{"$$scope"in a&&l(0,t=a.$$scope)},[t,e]}class b extends o{constructor(s){super(),i(this,s,$,m,r,{})}}export{b as default}; diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-task-queues-layout.svelte.3bd4a625.js b/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-task-queues-layout.svelte.3bd4a625.js deleted file mode 100644 index ca22b9702f..0000000000 --- a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-task-queues-layout.svelte.3bd4a625.js +++ /dev/null @@ -1 +0,0 @@ -import{S as c,b as p,a as d,G as m,m as h,w as $,c as v,p as x,q as y,x as b,k as f,d as g,u,f as _,M as q,H,I as P,J as S,j,g as k}from"../chunks/index.d29c66be.js";function w(i){let s,r,n,a;const o=i[1].default,e=m(o,i,i[0],null);return{c(){s=h("h1"),r=$("Pollers"),n=v(),e&&e.c(),this.h()},l(t){s=x(t,"H1",{class:!0,"data-testid":!0});var l=y(s);r=b(l,"Pollers"),l.forEach(f),n=g(t),e&&e.l(t),this.h()},h(){u(s,"class","relative flex items-center gap-4 text-2xl"),u(s,"data-testid","pollers-title")},m(t,l){_(t,s,l),q(s,r),_(t,n,l),e&&e.m(t,l),a=!0},p(t,[l]){e&&e.p&&(!a||l&1)&&H(e,o,t,t[0],a?S(o,t[0],l,null):P(t[0]),null)},i(t){a||(j(e,t),a=!0)},o(t){k(e,t),a=!1},d(t){t&&f(s),t&&f(n),e&&e.d(t)}}}function C(i,s,r){let{$$slots:n={},$$scope:a}=s;return i.$$set=o=>{"$$scope"in o&&r(0,a=o.$$scope)},[a,n]}class G extends c{constructor(s){super(),p(this,s,C,w,d,{})}}export{G as default}; diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-task-queues-page.svelte.d7761eda.js b/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-task-queues-page.svelte.d7761eda.js deleted file mode 100644 index 8827b06a64..0000000000 --- a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-task-queues-page.svelte.d7761eda.js +++ /dev/null @@ -1 +0,0 @@ -import{S as s,b as t,a}from"../chunks/index.d29c66be.js";class o extends s{constructor(e){super(),t(this,e,null,null,a,{})}}export{o as default}; diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-compact-page.ts.31a26e21.js b/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-compact-page.ts.31a26e21.js deleted file mode 100644 index fb5f161ca5..0000000000 --- a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-compact-page.ts.31a26e21.js +++ /dev/null @@ -1 +0,0 @@ -import"../chunks/index.b1f5b21f.js";import"../chunks/route-for.5e008fb6.js";import{l as t}from"../chunks/_page.e56da16f.js";export{t as load}; diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-feed-page.ts.31a26e21.js b/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-feed-page.ts.31a26e21.js deleted file mode 100644 index a4622d4c08..0000000000 --- a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-feed-page.ts.31a26e21.js +++ /dev/null @@ -1 +0,0 @@ -import"../chunks/index.b1f5b21f.js";import"../chunks/route-for.5e008fb6.js";import{l as t}from"../chunks/_page.6c6cf695.js";export{t as load}; diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-json-page.ts.31a26e21.js b/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-json-page.ts.31a26e21.js deleted file mode 100644 index 2325ee6361..0000000000 --- a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-json-page.ts.31a26e21.js +++ /dev/null @@ -1 +0,0 @@ -import"../chunks/index.b1f5b21f.js";import"../chunks/route-for.5e008fb6.js";import{l as t}from"../chunks/_page.18598a95.js";export{t as load}; diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-page.svelte.fd0bafff.js b/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-page.svelte.fd0bafff.js deleted file mode 100644 index 426841a174..0000000000 --- a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-page.svelte.fd0bafff.js +++ /dev/null @@ -1,11 +0,0 @@ -import{S as ue,b as ce,a as me,e as te,f as w,j as $,z as K,g as p,h as G,k as c,L as ee,m as I,w as N,c as S,C as k,p as C,q as T,x as R,d as D,D as y,u as v,M as _,E as b,a1 as ct,a2 as mt,F as E,y as se,au as Tr,n as X,_ as Ue,O as rt,R as bt,V as hr,a5 as Et,P as yr,a7 as Ir,a3 as Re,a4 as Pe,G as st,H as ot,I as at,J as it,B as nt,i as Cr,a6 as Ar,A as Wr,Y as Sr,Z as Dr}from"../chunks/index.d29c66be.js";import{p as Be}from"../chunks/stores.1f7fa6eb.js";import{d as ft,e as Nr,b as Tt}from"../chunks/event-view.73e1a728.js";import{E as _r,F as Rr,G as Pr,u as Br,g as Hr,n as Vr,h as Fr,p as Lr,B as Or}from"../chunks/is-event-type.0064ca29.js";import{s as ut}from"../chunks/parse-with-big-int.02af2f95.js";import{h as jr,a as Mr}from"../chunks/has.8da86d13.js";import{a as $t,b as gr,c as tt,e as wr}from"../chunks/events-service.c3f5d068.js";import{w as qe,a as yt,r as Ur}from"../chunks/workflow-run.2461dc7d.js";import{n as qr}from"../chunks/namespaces.52575875.js";import{T as zr,a as et}from"../chunks/toggle-buttons.8fcf9ebe.js";import{f as Le}from"../chunks/format-date.100c5f23.js";import{j as It,D as Ct}from"../chunks/format-time.66fea38b.js";import{h as Qr,f as Te,o as At,g as Wt,k as Se}from"../chunks/route-for.5e008fb6.js";import{L as Ie}from"../chunks/link.d5f6f19e.js";import{I as pt}from"../chunks/icon.5aa23970.js";import{B as ye}from"../chunks/badge.2c189bf4.js";import{C as ze}from"../chunks/code-block.fc92cd67.js";import{T as vr,C as He}from"../chunks/tooltip.ca813c82.js";import{j as St,k as Dt}from"../chunks/format-event-attributes.f0307b43.js";import{t as Nt}from"../chunks/to-time-difference.be87d1bf.js";import{A as dt}from"../chunks/accordion.2f807bee.js";import{P as kr}from"../chunks/pagination.c0661e6a.js";import{T as Qe,a as Je}from"../chunks/table-header-row.a7bab5a4.js";import{T as lt}from"../chunks/table-row.4a68a50d.js";import{W as Jr}from"../chunks/workflow-status.688af89a.js";import"../chunks/navigation.529c81bc.js";import{E as Kr}from"../chunks/empty-state.bf113865.js";import{t as Gr}from"../chunks/time-format.6ef667eb.js";import{A as Yr}from"../chunks/alert.bf61782e.js";import{b as br,E as Zr,a as Xr}from"../chunks/event-empty-row.4b13ada5.js";import{D as xr}from"../chunks/drawer.e151c6f1.js";import{B as en}from"../chunks/button.e7112b29.js";import{a as ht}from"../chunks/auth-user.ead5c000.js";import{e as tn}from"../chunks/filters.2ba801c3.js";import{g as Rt}from"../chunks/index.e1962a6e.js";import{C as rn}from"../chunks/get-event-categorization.b6da7e5f.js";import{T as nn}from"../chunks/toggle-switch.58d0ba8c.js";import{W as ln}from"../chunks/workflow-json-navigator.d241bda8.js";import{P as sn}from"../chunks/page-title.ba38eecf.js";const on=["WorkflowExecutionFailed","WorkflowExecutionCompleted","WorkflowExecutionContinuedAsNew","WorkflowExecutionTimedOut","WorkflowExecutionCanceled","WorkflowExecutionTerminated"],Pt=s=>!!s.workflowExecutionStartedEventAttributes,Bt=s=>{for(const e of on)if(s.eventType===e)return!0;return!1},Ht=s=>s.eventType==="WorkflowTaskFailed",Vt=s=>s.eventType==="WorkflowTaskCompleted",an=s=>{var e;return _r(s)?(e=s.attributes.input)==null?void 0:e.payloads:Rr(s)?s.attributes.result===null?null:s.attributes.result.payloads:s.attributes},fn=s=>{var f,u;let e,r,t,n=!1,l,o,i,a=!1;for(const m of s.start)if(Pt(m)){l=m;continue}else if(Bt(m)){o=m;continue}else if(Vt(m)){i&&(i=void 0);continue}else if(!a&&Ht(m)){i=m;continue}for(const m of s.end)if(Pt(m)){l=m;continue}else if(Bt(m)){o=m;continue}else if(Vt(m)){a=!0;continue}else if(!a&&Ht(m)){i=m;continue}return l&&(e=ut(((u=(f=l==null?void 0:l.workflowExecutionStartedEventAttributes)==null?void 0:f.input)==null?void 0:u.payloads)??null)),o&&(n=_r(o),r=ut(an(o))),i&&(t=i),{input:e,results:r,error:t,contAsNew:n}},un=s=>{for(const e of s)if(jr(e.attributes,"newExecutionRunId")&&Mr(e.attributes.newExecutionRunId))return e.attributes.newExecutionRunId},cn=s=>Br(s)||Hr(s)||Vr(s)||Fr(s)||Lr(s),mn=(s,e,r,t)=>{var g,h,A,F,M,U,q;const n=r.filter(j=>cn(j)),l=!!(s!=null&&s.pendingChildren.length)||!!n.length,o=s==null?void 0:s.parent,i=(h=(g=t==null?void 0:t.find(j=>j.namespaceInfo.id===s.parentNamespaceId))==null?void 0:g.namespaceInfo)==null?void 0:h.name,a=e.start.find(Pr),f=un(e.end),u=(A=a==null?void 0:a.attributes)==null?void 0:A.firstExecutionRunId,m=u===(s==null?void 0:s.runId)?void 0:u,d=(F=a==null?void 0:a.attributes)==null?void 0:F.continuedExecutionRunId,W=(q=(U=(M=a==null?void 0:a.attributes)==null?void 0:M.searchAttributes)==null?void 0:U.indexedFields)==null?void 0:q.TemporalScheduledById;return{hasRelationships:!!(o||l||m||d||f||W),hasChildren:l,children:n,first:m,previous:d,parent:o,parentNamespaceName:i,next:f,scheduleId:W}},$n=async({namespace:s,workflowId:e,runId:r,settings:t,accessToken:n})=>{var f;const o=((f=t==null?void 0:t.codec)==null?void 0:f.decodeEventHistoryDownload)?await $t({namespace:s,workflowId:e,runId:r,settings:t,accessToken:n,sort:"ascending"}):await gr({namespace:s,workflowId:e,runId:r,sort:"ascending"}),i=ut({events:o},null,2);a(i,`${r}/events.json`,"text/plain");function a(u,m,d){const W=document.createElement("a"),P=new Blob([u],{type:d});W.href=URL.createObjectURL(P),W.download=m,W.click()}};function Ft(s,e,r){const t=s.slice();t[6]=e[r].id,t[7]=Tr(e[r],["id"]);const n=t[7].attempt>1;return t[8]=n,t}function Lt(s){let e,r,t,n,l,o=[],i=new Map,a,f,u,m,d=s[0]&&Ot(s),W=s[2];const P=g=>g[6];for(let g=0;g{d=null}),G()),h&6&&(W=g[2],K(),o=ct(o,h,P,1,g,W,i,l,mt,zt,null,Ft),G());const A={};h&2&&(A.href=g[1]),h&2048&&(A.$$scope={dirty:h,ctx:g}),u.$set(A)},i(g){if(!m){$(d);for(let h=0;h{l=null}),G()),(!n||i&4)&&r!==(r=o[7].attempt+"")&&se(t,r)},i(o){n||($(l),n=!0)},o(o){p(l),n=!1},d(o){l&&l.d(o),o&&c(e),o&&c(t)}}}function gn(s){let e=Dt(s[7].maximumAttempts,s[7].attempt)+"",r;return{c(){r=N(e)},l(t){r=R(t,e)},m(t,n){w(t,r,n)},p(t,n){n&4&&e!==(e=Dt(t[7].maximumAttempts,t[7].attempt)+"")&&se(r,e)},d(t){t&&c(r)}}}function Mt(s){let e,r,t,n,l,o;return l=new ye({props:{type:s[8]?"error":"default",$$slots:{default:[wn]},$$scope:{ctx:s}}}),{c(){e=I("div"),r=I("h4"),t=N("Next Retry"),n=S(),k(l.$$.fragment),this.h()},l(i){e=C(i,"DIV",{class:!0});var a=T(e);r=C(a,"H4",{class:!0});var f=T(r);t=R(f,"Next Retry"),f.forEach(c),n=D(a),y(l.$$.fragment,a),a.forEach(c),this.h()},h(){v(r,"class","pending-activity-detail-header svelte-155uvlv"),v(e,"class","pending-activity-detail svelte-155uvlv")},m(i,a){w(i,e,a),_(e,r),_(r,t),_(e,n),b(l,e,null),o=!0},p(i,a){const f={};a&4&&(f.type=i[8]?"error":"default"),a&2052&&(f.$$scope={dirty:a,ctx:i}),l.$set(f)},i(i){o||($(l.$$.fragment,i),o=!0)},o(i){p(l.$$.fragment,i),o=!1},d(i){i&&c(e),E(l)}}}function wn(s){let e=Nt({date:s[7].scheduledTime,negativeDefault:"None"})+"",r;return{c(){r=N(e)},l(t){r=R(t,e)},m(t,n){w(t,r,n)},p(t,n){n&4&&e!==(e=Nt({date:t[7].scheduledTime,negativeDefault:"None"})+"")&&se(r,e)},d(t){t&&c(r)}}}function Ut(s){let e,r,t,n,l,o;return l=new ze({props:{class:"max-h-32",content:s[7].heartbeatDetails}}),{c(){e=I("div"),r=I("h4"),t=N("Heartbeat Details"),n=S(),k(l.$$.fragment),this.h()},l(i){e=C(i,"DIV",{class:!0});var a=T(e);r=C(a,"H4",{class:!0});var f=T(r);t=R(f,"Heartbeat Details"),f.forEach(c),n=D(a),y(l.$$.fragment,a),a.forEach(c),this.h()},h(){v(r,"class","pending-activity-detail-header svelte-155uvlv"),v(e,"class","w-1/2 grow")},m(i,a){w(i,e,a),_(e,r),_(r,t),_(e,n),b(l,e,null),o=!0},p(i,a){const f={};a&4&&(f.content=i[7].heartbeatDetails),l.$set(f)},i(i){o||($(l.$$.fragment,i),o=!0)},o(i){p(l.$$.fragment,i),o=!1},d(i){i&&c(e),E(l)}}}function qt(s){let e,r,t,n,l,o;return l=new ze({props:{class:"max-h-32",content:s[7].lastFailure}}),{c(){e=I("div"),r=I("h4"),t=N("Last Failure"),n=S(),k(l.$$.fragment),this.h()},l(i){e=C(i,"DIV",{class:!0});var a=T(e);r=C(a,"H4",{class:!0});var f=T(r);t=R(f,"Last Failure"),f.forEach(c),n=D(a),y(l.$$.fragment,a),a.forEach(c),this.h()},h(){v(r,"class","pending-activity-detail-header svelte-155uvlv"),v(e,"class","w-1/2 grow")},m(i,a){w(i,e,a),_(e,r),_(r,t),_(e,n),b(l,e,null),o=!0},p(i,a){const f={};a&4&&(f.content=i[7].lastFailure),l.$set(f)},i(i){o||($(l.$$.fragment,i),o=!0)},o(i){p(l.$$.fragment,i),o=!1},d(i){i&&c(e),E(l)}}}function zt(s,e){var Oe,je;let r,t,n=e[7].activityId+"",l,o,i,a,f,u,m,d,W,P,g,h,A,F,M,U,q=Le(e[7].lastHeartbeatTime,"relative")+"",j,L,ne,Y,x,O,z,pe,B,Q,re,H,V,de,ge,le,he,_e,J,$e=St(e[7].maximumAttempts,It(Ct({start:Date.now(),end:e[7].expirationTime})))+"",ve,Ae,oe,Ce,ke,Ee;g=new ye({props:{type:e[8]?"error":"default",$$slots:{default:[hn]},$$scope:{ctx:e}}}),z=new ye({props:{type:e[8]?"error":"default",$$slots:{default:[_n]},$$scope:{ctx:e}}}),V=new ye({props:{type:e[8]?"error":"default",$$slots:{default:[gn]},$$scope:{ctx:e}}});let ae=e[8]&&e[7].scheduledTime&&Mt(e),ie=((Oe=e[7])==null?void 0:Oe.heartbeatDetails)&&Ut(e),fe=((je=e[7])==null?void 0:je.lastFailure)&&qt(e);return{key:s,first:null,c(){r=I("div"),t=I("h3"),l=N(n),o=S(),i=I("div"),a=I("div"),f=I("a"),u=I("div"),m=I("div"),d=I("h4"),W=N("Activity Type"),P=S(),k(g.$$.fragment),h=S(),A=I("div"),F=I("h4"),M=N("Last Heartbeat"),U=S(),j=N(q),L=S(),ne=I("div"),Y=I("h4"),x=N("Attempt"),O=S(),k(z.$$.fragment),pe=S(),B=I("div"),Q=I("h4"),re=N("Attempts Left"),H=S(),k(V.$$.fragment),de=S(),ae&&ae.c(),ge=S(),le=I("div"),he=I("h4"),_e=N("Expiration"),J=S(),ve=N($e),Ae=S(),oe=I("div"),ie&&ie.c(),Ce=S(),fe&&fe.c(),ke=S(),this.h()},l(we){r=C(we,"DIV",{class:!0});var Z=T(r);t=C(Z,"H3",{class:!0});var We=T(t);l=R(We,n),We.forEach(c),o=D(Z),i=C(Z,"DIV",{class:!0});var Ve=T(i);a=C(Ve,"DIV",{class:!0});var De=T(a);f=C(De,"A",{class:!0,href:!0});var Me=T(f);u=C(Me,"DIV",{class:!0});var be=T(u);m=C(be,"DIV",{class:!0});var Ke=T(m);d=C(Ke,"H4",{class:!0});var _t=T(d);W=R(_t,"Activity Type"),_t.forEach(c),P=D(Ke),y(g.$$.fragment,Ke),Ke.forEach(c),h=D(be),A=C(be,"DIV",{class:!0});var Ge=T(A);F=C(Ge,"H4",{class:!0});var gt=T(F);M=R(gt,"Last Heartbeat"),gt.forEach(c),U=D(Ge),j=R(Ge,q),Ge.forEach(c),L=D(be),ne=C(be,"DIV",{class:!0});var Ye=T(ne);Y=C(Ye,"H4",{class:!0});var wt=T(Y);x=R(wt,"Attempt"),wt.forEach(c),O=D(Ye),y(z.$$.fragment,Ye),Ye.forEach(c),pe=D(be),B=C(be,"DIV",{class:!0});var Ze=T(B);Q=C(Ze,"H4",{class:!0});var vt=T(Q);re=R(vt,"Attempts Left"),vt.forEach(c),H=D(Ze),y(V.$$.fragment,Ze),Ze.forEach(c),de=D(be),ae&&ae.l(be),ge=D(be),le=C(be,"DIV",{class:!0});var Xe=T(le);he=C(Xe,"H4",{class:!0});var kt=T(he);_e=R(kt,"Expiration"),kt.forEach(c),J=D(Xe),ve=R(Xe,$e),Xe.forEach(c),be.forEach(c),Me.forEach(c),Ae=D(De),oe=C(De,"DIV",{class:!0});var xe=T(oe);ie&&ie.l(xe),Ce=D(xe),fe&&fe.l(xe),xe.forEach(c),De.forEach(c),Ve.forEach(c),ke=D(Z),Z.forEach(c),this.h()},h(){v(t,"class","w-full self-start text-sm font-normal text-gray-500"),v(d,"class","pending-activity-detail-header svelte-155uvlv"),v(m,"class","pending-activity-detail svelte-155uvlv"),v(F,"class","pending-activity-detail-header svelte-155uvlv"),v(A,"class","pending-activity-detail svelte-155uvlv"),v(Y,"class","pending-activity-detail-header svelte-155uvlv"),v(ne,"class","pending-activity-detail svelte-155uvlv"),v(Q,"class","pending-activity-detail-header svelte-155uvlv"),v(B,"class","pending-activity-detail svelte-155uvlv"),v(he,"class","pending-activity-detail-header svelte-155uvlv"),v(le,"class","pending-activity-detail svelte-155uvlv"),v(u,"class","pending-activity-inner-row svelte-155uvlv"),v(f,"class","flex w-full items-center hover:bg-gray-50"),v(f,"href",e[1]),v(oe,"class","pending-activity-failure-details svelte-155uvlv"),v(a,"class","pending-activity-summary svelte-155uvlv"),v(i,"class","pending-activity-row svelte-155uvlv"),v(r,"class","pending-activity-row-container svelte-155uvlv"),this.first=r},m(we,Z){w(we,r,Z),_(r,t),_(t,l),_(r,o),_(r,i),_(i,a),_(a,f),_(f,u),_(u,m),_(m,d),_(d,W),_(m,P),b(g,m,null),_(u,h),_(u,A),_(A,F),_(F,M),_(A,U),_(A,j),_(u,L),_(u,ne),_(ne,Y),_(Y,x),_(ne,O),b(z,ne,null),_(u,pe),_(u,B),_(B,Q),_(Q,re),_(B,H),b(V,B,null),_(u,de),ae&&ae.m(u,null),_(u,ge),_(u,le),_(le,he),_(he,_e),_(le,J),_(le,ve),_(a,Ae),_(a,oe),ie&&ie.m(oe,null),_(oe,Ce),fe&&fe.m(oe,null),_(r,ke),Ee=!0},p(we,Z){var Me,be;e=we,(!Ee||Z&4)&&n!==(n=e[7].activityId+"")&&se(l,n);const We={};Z&4&&(We.type=e[8]?"error":"default"),Z&2052&&(We.$$scope={dirty:Z,ctx:e}),g.$set(We),(!Ee||Z&4)&&q!==(q=Le(e[7].lastHeartbeatTime,"relative")+"")&&se(j,q);const Ve={};Z&4&&(Ve.type=e[8]?"error":"default"),Z&2052&&(Ve.$$scope={dirty:Z,ctx:e}),z.$set(Ve);const De={};Z&4&&(De.type=e[8]?"error":"default"),Z&2052&&(De.$$scope={dirty:Z,ctx:e}),V.$set(De),e[8]&&e[7].scheduledTime?ae?(ae.p(e,Z),Z&4&&$(ae,1)):(ae=Mt(e),ae.c(),$(ae,1),ae.m(u,ge)):ae&&(K(),p(ae,1,1,()=>{ae=null}),G()),(!Ee||Z&4)&&$e!==($e=St(e[7].maximumAttempts,It(Ct({start:Date.now(),end:e[7].expirationTime})))+"")&&se(ve,$e),(!Ee||Z&2)&&v(f,"href",e[1]),(Me=e[7])!=null&&Me.heartbeatDetails?ie?(ie.p(e,Z),Z&4&&$(ie,1)):(ie=Ut(e),ie.c(),$(ie,1),ie.m(oe,Ce)):ie&&(K(),p(ie,1,1,()=>{ie=null}),G()),(be=e[7])!=null&&be.lastFailure?fe?(fe.p(e,Z),Z&4&&$(fe,1)):(fe=qt(e),fe.c(),$(fe,1),fe.m(oe,null)):fe&&(K(),p(fe,1,1,()=>{fe=null}),G())},i(we){Ee||($(g.$$.fragment,we),$(z.$$.fragment,we),$(V.$$.fragment,we),$(ae),$(ie),$(fe),Ee=!0)},o(we){p(g.$$.fragment,we),p(z.$$.fragment,we),p(V.$$.fragment,we),p(ae),p(ie),p(fe),Ee=!1},d(we){we&&c(r),E(g),E(z),E(V),ae&&ae.d(),ie&&ie.d(),fe&&fe.d()}}}function vn(s){let e;return{c(){e=N("Show all")},l(r){e=R(r,"Show all")},m(r,t){w(r,e,t)},d(r){r&&c(e)}}}function kn(s){let e,r,t=s[2].length&&Lt(s);return{c(){t&&t.c(),e=te()},l(n){t&&t.l(n),e=te()},m(n,l){t&&t.m(n,l),w(n,e,l),r=!0},p(n,[l]){n[2].length?t?(t.p(n,l),l&4&&$(t,1)):(t=Lt(n),t.c(),$(t,1),t.m(e.parentNode,e)):t&&(K(),p(t,1,1,()=>{t=null}),G())},i(n){r||($(t),r=!0)},o(n){p(t),r=!1},d(n){t&&t.d(n),n&&c(e)}}}function bn(s,e,r){let t,n,l,o,i,a;return ee(s,Be,f=>r(4,i=f)),ee(s,qe,f=>r(5,a=f)),s.$$.update=()=>{s.$$.dirty&32&&r(3,{workflow:t}=a,t),s.$$.dirty&8&&r(2,n=t==null?void 0:t.pendingActivities),s.$$.dirty&16&&r(1,l=Qr({namespace:i.params.namespace,workflow:i.params.workflow,run:i.params.run})),s.$$.dirty&8&&r(0,o=["Terminated","TimedOut","Canceled"].includes(t==null?void 0:t.status))},[o,l,n,t,i,a]}class En extends ue{constructor(e){super(),ce(this,e,bn,kn,me,{})}}function Qt(s,e,r){const t=s.slice();return t[7]=e[r],t}function Tn(s){let e=s[7].workflowId+"",r;return{c(){r=N(e)},l(t){r=R(t,e)},m(t,n){w(t,r,n)},p(t,n){n&64&&e!==(e=t[7].workflowId+"")&&se(r,e)},d(t){t&&c(r)}}}function yn(s){let e=s[7].runId+"",r;return{c(){r=N(e)},l(t){r=R(t,e)},m(t,n){w(t,r,n)},p(t,n){n&64&&e!==(e=t[7].runId+"")&&se(r,e)},d(t){t&&c(r)}}}function In(s){let e,r,t,n,l,o,i,a,f,u;return r=new Jr({props:{status:s[7].status}}),l=new Ie({props:{newTab:!0,href:Te({namespace:s[7].namespace,workflow:s[7].workflowId,run:s[7].runId}),$$slots:{default:[Tn]},$$scope:{ctx:s}}}),a=new Ie({props:{newTab:!0,href:Te({namespace:s[7].namespace,workflow:s[7].workflowId,run:s[7].runId}),$$slots:{default:[yn]},$$scope:{ctx:s}}}),{c(){e=I("td"),k(r.$$.fragment),t=S(),n=I("td"),k(l.$$.fragment),o=S(),i=I("td"),k(a.$$.fragment),f=S(),this.h()},l(m){e=C(m,"TD",{class:!0});var d=T(e);y(r.$$.fragment,d),d.forEach(c),t=D(m),n=C(m,"TD",{class:!0});var W=T(n);y(l.$$.fragment,W),W.forEach(c),o=D(m),i=C(m,"TD",{class:!0});var P=T(i);y(a.$$.fragment,P),P.forEach(c),f=D(m),this.h()},h(){v(e,"class","max-md:hidden"),v(n,"class","hover:text-blue-700 hover:underline"),v(i,"class","hover:text-blue-700 hover:underline")},m(m,d){w(m,e,d),b(r,e,null),w(m,t,d),w(m,n,d),b(l,n,null),w(m,o,d),w(m,i,d),b(a,i,null),w(m,f,d),u=!0},p(m,d){const W={};d&64&&(W.status=m[7].status),r.$set(W);const P={};d&64&&(P.href=Te({namespace:m[7].namespace,workflow:m[7].workflowId,run:m[7].runId})),d&1088&&(P.$$scope={dirty:d,ctx:m}),l.$set(P);const g={};d&64&&(g.href=Te({namespace:m[7].namespace,workflow:m[7].workflowId,run:m[7].runId})),d&1088&&(g.$$scope={dirty:d,ctx:m}),a.$set(g)},i(m){u||($(r.$$.fragment,m),$(l.$$.fragment,m),$(a.$$.fragment,m),u=!0)},o(m){p(r.$$.fragment,m),p(l.$$.fragment,m),p(a.$$.fragment,m),u=!1},d(m){m&&c(e),E(r),m&&c(t),m&&c(n),E(l),m&&c(o),m&&c(i),E(a),m&&c(f)}}}function Jt(s,e){let r,t,n;return t=new lt({props:{$$slots:{default:[In]},$$scope:{ctx:e}}}),{key:s,first:null,c(){r=te(),k(t.$$.fragment),this.h()},l(l){r=te(),y(t.$$.fragment,l),this.h()},h(){this.first=r},m(l,o){w(l,r,o),b(t,l,o),n=!0},p(l,o){e=l;const i={};o&1088&&(i.$$scope={dirty:o,ctx:e}),t.$set(i)},i(l){n||($(t.$$.fragment,l),n=!0)},o(l){p(t.$$.fragment,l),n=!1},d(l){l&&c(r),E(t,l)}}}function Cn(s){let e=[],r=new Map,t,n,l=s[6];const o=i=>i[7].runId;for(let i=0;i({6:t}),({visibleItems:t})=>t?64:0],default:[Sn,({visibleItems:t})=>({6:t}),({visibleItems:t})=>t?64:0]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,[n]){const l={};n&1&&(l.items=t[0]),n&1088&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function Rn(s,e,r){let t,n,l,{children:o=[]}=e,{pendingChildren:i=[]}=e,{namespace:a}=e;return s.$$set=f=>{"children"in f&&r(1,o=f.children),"pendingChildren"in f&&r(2,i=f.pendingChildren),"namespace"in f&&r(3,a=f.namespace)},s.$$.update=()=>{s.$$.dirty&12&&r(5,t=i.map(f=>({runId:f.runId,workflowId:f.workflowId,status:"Running",namespace:a}))),s.$$.dirty&10&&r(4,n=o.map(f=>{var u;return{runId:f.attributes.workflowExecution.runId,workflowId:f.attributes.workflowExecution.workflowId,status:f.classification,namespace:((u=f.attributes)===null||u===void 0?void 0:u.namespace)||a}})),s.$$.dirty&48&&r(0,l=[...t,...n])},[l,o,i,a,n,t]}class Pn extends ue{constructor(e){super(),ce(this,e,Rn,Nn,me,{children:1,pendingChildren:2,namespace:3})}}function Bn(s){let e,r;return e=new He({props:{content:s[0].workflowId,visible:!0}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&1&&(l.content=t[0].workflowId),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function Hn(s){let e,r;return e=new He({props:{content:s[0].runId,visible:!0}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&1&&(l.content=t[0].runId),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function Vn(s){let e,r,t,n,l,o;return r=new Ie({props:{newTab:!0,href:Te({namespace:s[1]??s[2],workflow:s[0].workflowId,run:s[0].runId}),$$slots:{default:[Bn]},$$scope:{ctx:s}}}),l=new Ie({props:{newTab:!0,href:Te({namespace:s[1]??s[2],workflow:s[0].workflowId,run:s[0].runId}),$$slots:{default:[Hn]},$$scope:{ctx:s}}}),{c(){e=I("td"),k(r.$$.fragment),t=S(),n=I("td"),k(l.$$.fragment)},l(i){e=C(i,"TD",{});var a=T(e);y(r.$$.fragment,a),a.forEach(c),t=D(i),n=C(i,"TD",{});var f=T(n);y(l.$$.fragment,f),f.forEach(c)},m(i,a){w(i,e,a),b(r,e,null),w(i,t,a),w(i,n,a),b(l,n,null),o=!0},p(i,a){const f={};a&7&&(f.href=Te({namespace:i[1]??i[2],workflow:i[0].workflowId,run:i[0].runId})),a&9&&(f.$$scope={dirty:a,ctx:i}),r.$set(f);const u={};a&7&&(u.href=Te({namespace:i[1]??i[2],workflow:i[0].workflowId,run:i[0].runId})),a&9&&(u.$$scope={dirty:a,ctx:i}),l.$set(u)},i(i){o||($(r.$$.fragment,i),$(l.$$.fragment,i),o=!0)},o(i){p(r.$$.fragment,i),p(l.$$.fragment,i),o=!1},d(i){i&&c(e),E(r),i&&c(t),i&&c(n),E(l)}}}function Fn(s){let e,r;return e=new lt({props:{class:"hover:text-blue-700 hover:underline",$$slots:{default:[Vn]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&15&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function Ln(s){let e,r,t,n,l;return{c(){e=I("th"),r=N("Parent Workflow ID"),t=S(),n=I("th"),l=N("Parent Run ID")},l(o){e=C(o,"TH",{});var i=T(e);r=R(i,"Parent Workflow ID"),i.forEach(c),t=D(o),n=C(o,"TH",{});var a=T(n);l=R(a,"Parent Run ID"),a.forEach(c)},m(o,i){w(o,e,i),_(e,r),w(o,t,i),w(o,n,i),_(n,l)},p:X,d(o){o&&c(e),o&&c(t),o&&c(n)}}}function On(s){let e,r;return e=new Je({props:{slot:"headers",$$slots:{default:[Ln]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&8&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function jn(s){let e,r;return e=new Qe({props:{class:"w-full",$$slots:{headers:[On],default:[Fn]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,[n]){const l={};n&15&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function Mn(s,e,r){let{parent:t}=e,{parentNamespaceName:n}=e,{namespace:l}=e;return s.$$set=o=>{"parent"in o&&r(0,t=o.parent),"parentNamespaceName"in o&&r(1,n=o.parentNamespaceName),"namespace"in o&&r(2,l=o.namespace)},[t,n,l]}class Un extends ue{constructor(e){super(),ce(this,e,Mn,jn,me,{parent:0,parentNamespaceName:1,namespace:2})}}function Kt(s){let e,r;return e=new Ie({props:{newTab:!0,href:Te({namespace:s[1],workflow:s[0],run:s[2]}),$$slots:{default:[qn]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&7&&(l.href=Te({namespace:t[1],workflow:t[0],run:t[2]})),n&36&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function qn(s){let e,r;return e=new He({props:{content:s[2],visible:!0}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&4&&(l.content=t[2]),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function Gt(s){let e,r;return e=new Ie({props:{newTab:!0,href:Te({namespace:s[1],workflow:s[0],run:s[4]}),$$slots:{default:[zn]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&19&&(l.href=Te({namespace:t[1],workflow:t[0],run:t[4]})),n&48&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function zn(s){let e,r;return e=new He({props:{content:s[4],visible:!0}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&16&&(l.content=t[4]),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function Yt(s){let e,r;return e=new Ie({props:{newTab:!0,href:Te({namespace:s[1],workflow:s[0],run:s[3]}),$$slots:{default:[Qn]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&11&&(l.href=Te({namespace:t[1],workflow:t[0],run:t[3]})),n&40&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function Qn(s){let e,r;return e=new He({props:{content:s[3],visible:!0}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&8&&(l.content=t[3]),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function Jn(s){let e,r,t,n,l,o,i=s[2]&&Kt(s),a=s[4]&&Gt(s),f=s[3]&&Yt(s);return{c(){e=I("td"),i&&i.c(),r=S(),t=I("td"),a&&a.c(),n=S(),l=I("td"),f&&f.c(),this.h()},l(u){e=C(u,"TD",{class:!0});var m=T(e);i&&i.l(m),m.forEach(c),r=D(u),t=C(u,"TD",{class:!0});var d=T(t);a&&a.l(d),d.forEach(c),n=D(u),l=C(u,"TD",{class:!0});var W=T(l);f&&f.l(W),W.forEach(c),this.h()},h(){v(e,"class","w-1/3 hover:text-blue-700 hover:underline"),v(t,"class","w-1/3 hover:text-blue-700 hover:underline"),v(l,"class","w-1/3 hover:text-blue-700 hover:underline")},m(u,m){w(u,e,m),i&&i.m(e,null),w(u,r,m),w(u,t,m),a&&a.m(t,null),w(u,n,m),w(u,l,m),f&&f.m(l,null),o=!0},p(u,m){u[2]?i?(i.p(u,m),m&4&&$(i,1)):(i=Kt(u),i.c(),$(i,1),i.m(e,null)):i&&(K(),p(i,1,1,()=>{i=null}),G()),u[4]?a?(a.p(u,m),m&16&&$(a,1)):(a=Gt(u),a.c(),$(a,1),a.m(t,null)):a&&(K(),p(a,1,1,()=>{a=null}),G()),u[3]?f?(f.p(u,m),m&8&&$(f,1)):(f=Yt(u),f.c(),$(f,1),f.m(l,null)):f&&(K(),p(f,1,1,()=>{f=null}),G())},i(u){o||($(i),$(a),$(f),o=!0)},o(u){p(i),p(a),p(f),o=!1},d(u){u&&c(e),i&&i.d(),u&&c(r),u&&c(t),a&&a.d(),u&&c(n),u&&c(l),f&&f.d()}}}function Kn(s){let e,r;return e=new lt({props:{$$slots:{default:[Jn]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&63&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function Gn(s){let e,r,t,n,l,o,i,a;return{c(){e=I("th"),r=N("First Execution"),t=S(),n=I("th"),l=N("Previous Execution"),o=S(),i=I("th"),a=N("Next Execution")},l(f){e=C(f,"TH",{});var u=T(e);r=R(u,"First Execution"),u.forEach(c),t=D(f),n=C(f,"TH",{});var m=T(n);l=R(m,"Previous Execution"),m.forEach(c),o=D(f),i=C(f,"TH",{});var d=T(i);a=R(d,"Next Execution"),d.forEach(c)},m(f,u){w(f,e,u),_(e,r),w(f,t,u),w(f,n,u),_(n,l),w(f,o,u),w(f,i,u),_(i,a)},p:X,d(f){f&&c(e),f&&c(t),f&&c(n),f&&c(o),f&&c(i)}}}function Yn(s){let e,r;return e=new Je({props:{slot:"headers",$$slots:{default:[Gn]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&32&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function Zn(s){let e,r;return e=new Qe({props:{class:"w-full",$$slots:{headers:[Yn],default:[Kn]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,[n]){const l={};n&63&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function Xn(s,e,r){let{workflow:t}=e,{namespace:n}=e,{first:l}=e,{next:o}=e,{previous:i}=e;return s.$$set=a=>{"workflow"in a&&r(0,t=a.workflow),"namespace"in a&&r(1,n=a.namespace),"first"in a&&r(2,l=a.first),"next"in a&&r(3,o=a.next),"previous"in a&&r(4,i=a.previous)},[t,n,l,o,i]}class xn extends ue{constructor(e){super(),ce(this,e,Xn,Zn,me,{workflow:0,namespace:1,first:2,next:3,previous:4})}}function el(s){let e,r;return e=new He({props:{content:s[0],visible:!0}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&1&&(l.content=t[0]),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function tl(s){let e,r,t;return r=new Ie({props:{newTab:!0,href:At({namespace:s[1],scheduleId:s[0]}),$$slots:{default:[el]},$$scope:{ctx:s}}}),{c(){e=I("td"),k(r.$$.fragment)},l(n){e=C(n,"TD",{});var l=T(e);y(r.$$.fragment,l),l.forEach(c)},m(n,l){w(n,e,l),b(r,e,null),t=!0},p(n,l){const o={};l&3&&(o.href=At({namespace:n[1],scheduleId:n[0]})),l&5&&(o.$$scope={dirty:l,ctx:n}),r.$set(o)},i(n){t||($(r.$$.fragment,n),t=!0)},o(n){p(r.$$.fragment,n),t=!1},d(n){n&&c(e),E(r)}}}function rl(s){let e,r;return e=new lt({props:{class:"hover:text-blue-700 hover:underline",$$slots:{default:[tl]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&7&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function nl(s){let e,r;return{c(){e=I("th"),r=N("Schedule")},l(t){e=C(t,"TH",{});var n=T(e);r=R(n,"Schedule"),n.forEach(c)},m(t,n){w(t,e,n),_(e,r)},p:X,d(t){t&&c(e)}}}function ll(s){let e,r;return e=new Je({props:{slot:"headers",$$slots:{default:[nl]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&4&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function sl(s){let e,r;return e=new Qe({props:{class:"w-full",$$slots:{headers:[ll],default:[rl]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,[n]){const l={};n&7&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function ol(s,e,r){let{scheduleId:t}=e,{namespace:n}=e;return s.$$set=l=>{"scheduleId"in l&&r(0,t=l.scheduleId),"namespace"in l&&r(1,n=l.namespace)},[t,n]}class al extends ue{constructor(e){super(),ce(this,e,ol,sl,me,{scheduleId:0,namespace:1})}}function il(s){let e,r;return{c(){e=I("p"),r=N("This workflow doesn’t have any relationships")},l(t){e=C(t,"P",{});var n=T(e);r=R(n,"This workflow doesn’t have any relationships"),n.forEach(c)},m(t,n){w(t,e,n),_(e,r)},p:X,i:X,o:X,d(t){t&&c(e)}}}function fl(s){let e,r,t,n,l,o,i=s[8]&&Zt(s),a=s[3]&&Xt(s),f=(s[2]||s[7]||s[6])&&xt(s),u=s[0]&&er(s);return{c(){e=I("div"),i&&i.c(),r=S(),a&&a.c(),t=S(),f&&f.c(),n=S(),u&&u.c(),l=te(),this.h()},l(m){e=C(m,"DIV",{class:!0});var d=T(e);i&&i.l(d),r=D(d),a&&a.l(d),t=D(d),f&&f.l(d),d.forEach(c),n=D(m),u&&u.l(m),l=te(),this.h()},h(){v(e,"class","flex w-full flex-wrap gap-4")},m(m,d){w(m,e,d),i&&i.m(e,null),_(e,r),a&&a.m(e,null),_(e,t),f&&f.m(e,null),w(m,n,d),u&&u.m(m,d),w(m,l,d),o=!0},p(m,d){m[8]?i?(i.p(m,d),d&256&&$(i,1)):(i=Zt(m),i.c(),$(i,1),i.m(e,r)):i&&(K(),p(i,1,1,()=>{i=null}),G()),m[3]?a?(a.p(m,d),d&8&&$(a,1)):(a=Xt(m),a.c(),$(a,1),a.m(e,t)):a&&(K(),p(a,1,1,()=>{a=null}),G()),m[2]||m[7]||m[6]?f?(f.p(m,d),d&196&&$(f,1)):(f=xt(m),f.c(),$(f,1),f.m(e,null)):f&&(K(),p(f,1,1,()=>{f=null}),G()),m[0]?u?(u.p(m,d),d&1&&$(u,1)):(u=er(m),u.c(),$(u,1),u.m(l.parentNode,l)):u&&(K(),p(u,1,1,()=>{u=null}),G())},i(m){o||($(i),$(a),$(f),$(u),o=!0)},o(m){p(i),p(a),p(f),p(u),o=!1},d(m){m&&c(e),i&&i.d(),a&&a.d(),f&&f.d(),m&&c(n),u&&u.d(m),m&&c(l)}}}function Zt(s){let e,r;return e=new al({props:{scheduleId:s[8],namespace:s[10]}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&256&&(l.scheduleId=t[8]),n&1024&&(l.namespace=t[10]),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function Xt(s){let e,r;return e=new Un({props:{parent:s[3],parentNamespaceName:s[4],namespace:s[10]}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&8&&(l.parent=t[3]),n&16&&(l.parentNamespaceName=t[4]),n&1024&&(l.namespace=t[10]),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function xt(s){let e,r;return e=new xn({props:{first:s[2],previous:s[7],next:s[6],workflow:s[11],namespace:s[10]}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&4&&(l.first=t[2]),n&128&&(l.previous=t[7]),n&64&&(l.next=t[6]),n&2048&&(l.workflow=t[11]),n&1024&&(l.namespace=t[10]),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function er(s){let e,r;return e=new Pn({props:{children:s[5],pendingChildren:s[12].workflow.pendingChildren,namespace:s[9].params.namespace}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&32&&(l.children=t[5]),n&4096&&(l.pendingChildren=t[12].workflow.pendingChildren),n&512&&(l.namespace=t[9].params.namespace),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function ul(s){let e,r,t,n;const l=[fl,il],o=[];function i(a,f){return a[1]?0:1}return e=i(s),r=o[e]=l[e](s),{c(){r.c(),t=te()},l(a){r.l(a),t=te()},m(a,f){o[e].m(a,f),w(a,t,f),n=!0},p(a,f){let u=e;e=i(a),e===u?o[e].p(a,f):(K(),p(o[u],1,1,()=>{o[u]=null}),G(),r=o[e],r?r.p(a,f):(r=o[e]=l[e](a),r.c()),$(r,1),r.m(t.parentNode,t))},i(a){n||($(r),n=!0)},o(a){p(r),n=!1},d(a){o[e].d(a),a&&c(t)}}}function tr(s){let e,r;return e=new ye({props:{type:"purple",$$slots:{default:[cl]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function cl(s){let e;return{c(){e=N("Scheduled")},l(r){e=R(r,"Scheduled")},m(r,t){w(r,e,t)},d(r){r&&c(e)}}}function ml(s){let e=(s[3]?1:0)+"",r,t;return{c(){r=N(e),t=N(" Parent")},l(n){r=R(n,e),t=R(n," Parent")},m(n,l){w(n,r,l),w(n,t,l)},p(n,l){l&8&&e!==(e=(n[3]?1:0)+"")&&se(r,e)},d(n){n&&c(r),n&&c(t)}}}function $l(s){let e=s[12].workflow.pendingChildren.length+"",r,t;return{c(){r=N(e),t=N(" Pending Children")},l(n){r=R(n,e),t=R(n," Pending Children")},m(n,l){w(n,r,l),w(n,t,l)},p(n,l){l&4096&&e!==(e=n[12].workflow.pendingChildren.length+"")&&se(r,e)},d(n){n&&c(r),n&&c(t)}}}function pl(s){let e=s[5].length+"",r,t;return{c(){r=N(e),t=N(" Children")},l(n){r=R(n,e),t=R(n," Children")},m(n,l){w(n,r,l),w(n,t,l)},p(n,l){l&32&&e!==(e=n[5].length+"")&&se(r,e)},d(n){n&&c(r),n&&c(t)}}}function dl(s){let e=(s[2]?1:0)+"",r,t;return{c(){r=N(e),t=N(" First")},l(n){r=R(n,e),t=R(n," First")},m(n,l){w(n,r,l),w(n,t,l)},p(n,l){l&4&&e!==(e=(n[2]?1:0)+"")&&se(r,e)},d(n){n&&c(r),n&&c(t)}}}function hl(s){let e=(s[7]?1:0)+"",r,t;return{c(){r=N(e),t=N(" Previous")},l(n){r=R(n,e),t=R(n," Previous")},m(n,l){w(n,r,l),w(n,t,l)},p(n,l){l&128&&e!==(e=(n[7]?1:0)+"")&&se(r,e)},d(n){n&&c(r),n&&c(t)}}}function _l(s){let e=(s[6]?1:0)+"",r,t;return{c(){r=N(e),t=N(" Next")},l(n){r=R(n,e),t=R(n," Next")},m(n,l){w(n,r,l),w(n,t,l)},p(n,l){l&64&&e!==(e=(n[6]?1:0)+"")&&se(r,e)},d(n){n&&c(r),n&&c(t)}}}function gl(s){let e,r,t,n,l,o,i,a,f,u,m,d,W,P,g=s[8]&&tr(s);return t=new ye({props:{type:s[3]?"purple":"gray",$$slots:{default:[ml]},$$scope:{ctx:s}}}),l=new ye({props:{type:s[12].workflow.pendingChildren.length?"purple":"gray",$$slots:{default:[$l]},$$scope:{ctx:s}}}),i=new ye({props:{type:s[5].length?"purple":"gray",$$slots:{default:[pl]},$$scope:{ctx:s}}}),f=new ye({props:{type:s[2]?"purple":"gray",$$slots:{default:[dl]},$$scope:{ctx:s}}}),m=new ye({props:{type:s[7]?"purple":"gray",$$slots:{default:[hl]},$$scope:{ctx:s}}}),W=new ye({props:{type:s[6]?"purple":"gray",$$slots:{default:[_l]},$$scope:{ctx:s}}}),{c(){e=I("div"),g&&g.c(),r=S(),k(t.$$.fragment),n=S(),k(l.$$.fragment),o=S(),k(i.$$.fragment),a=S(),k(f.$$.fragment),u=S(),k(m.$$.fragment),d=S(),k(W.$$.fragment),this.h()},l(h){e=C(h,"DIV",{slot:!0,class:!0});var A=T(e);g&&g.l(A),r=D(A),y(t.$$.fragment,A),n=D(A),y(l.$$.fragment,A),o=D(A),y(i.$$.fragment,A),a=D(A),y(f.$$.fragment,A),u=D(A),y(m.$$.fragment,A),d=D(A),y(W.$$.fragment,A),A.forEach(c),this.h()},h(){v(e,"slot","summary"),v(e,"class","hidden flex-row gap-2 lg:flex")},m(h,A){w(h,e,A),g&&g.m(e,null),_(e,r),b(t,e,null),_(e,n),b(l,e,null),_(e,o),b(i,e,null),_(e,a),b(f,e,null),_(e,u),b(m,e,null),_(e,d),b(W,e,null),P=!0},p(h,A){h[8]?g?A&256&&$(g,1):(g=tr(h),g.c(),$(g,1),g.m(e,r)):g&&(K(),p(g,1,1,()=>{g=null}),G());const F={};A&8&&(F.type=h[3]?"purple":"gray"),A&8200&&(F.$$scope={dirty:A,ctx:h}),t.$set(F);const M={};A&4096&&(M.type=h[12].workflow.pendingChildren.length?"purple":"gray"),A&12288&&(M.$$scope={dirty:A,ctx:h}),l.$set(M);const U={};A&32&&(U.type=h[5].length?"purple":"gray"),A&8224&&(U.$$scope={dirty:A,ctx:h}),i.$set(U);const q={};A&4&&(q.type=h[2]?"purple":"gray"),A&8196&&(q.$$scope={dirty:A,ctx:h}),f.$set(q);const j={};A&128&&(j.type=h[7]?"purple":"gray"),A&8320&&(j.$$scope={dirty:A,ctx:h}),m.$set(j);const L={};A&64&&(L.type=h[6]?"purple":"gray"),A&8256&&(L.$$scope={dirty:A,ctx:h}),W.$set(L)},i(h){P||($(g),$(t.$$.fragment,h),$(l.$$.fragment,h),$(i.$$.fragment,h),$(f.$$.fragment,h),$(m.$$.fragment,h),$(W.$$.fragment,h),P=!0)},o(h){p(g),p(t.$$.fragment,h),p(l.$$.fragment,h),p(i.$$.fragment,h),p(f.$$.fragment,h),p(m.$$.fragment,h),p(W.$$.fragment,h),P=!1},d(h){h&&c(e),g&&g.d(),E(t),E(l),E(i),E(f),E(m),E(W)}}}function wl(s){let e,r,t;return r=new dt({props:{title:"Relationships",icon:"relationship",$$slots:{summary:[gl],default:[ul]},$$scope:{ctx:s}}}),{c(){e=I("section"),k(r.$$.fragment)},l(n){e=C(n,"SECTION",{});var l=T(e);y(r.$$.fragment,l),l.forEach(c)},m(n,l){w(n,e,l),b(r,e,null),t=!0},p(n,[l]){const o={};l&16383&&(o.$$scope={dirty:l,ctx:n}),r.$set(o)},i(n){t||($(r.$$.fragment,n),t=!0)},o(n){p(r.$$.fragment,n),t=!1},d(n){n&&c(e),E(r)}}}function vl(s,e,r){let t,n,l,o;ee(s,Be,h=>r(9,l=h)),ee(s,qe,h=>r(12,o=h));let{hasChildren:i}=e,{hasRelationships:a}=e,{first:f}=e,{parent:u}=e,{parentNamespaceName:m}=e,{children:d}=e,{next:W}=e,{previous:P}=e,{scheduleId:g}=e;return s.$$set=h=>{"hasChildren"in h&&r(0,i=h.hasChildren),"hasRelationships"in h&&r(1,a=h.hasRelationships),"first"in h&&r(2,f=h.first),"parent"in h&&r(3,u=h.parent),"parentNamespaceName"in h&&r(4,m=h.parentNamespaceName),"children"in h&&r(5,d=h.children),"next"in h&&r(6,W=h.next),"previous"in h&&r(7,P=h.previous),"scheduleId"in h&&r(8,g=h.scheduleId)},s.$$.update=()=>{s.$$.dirty&512&&r(11,{workflow:t,namespace:n}=l.params,t,(r(10,n),r(9,l)))},[i,a,f,u,m,d,W,P,g,l,n,t,o]}class kl extends ue{constructor(e){super(),ce(this,e,vl,wl,me,{hasChildren:0,hasRelationships:1,first:2,parent:3,parentNamespaceName:4,children:5,next:6,previous:7,scheduleId:8})}}function rr(s){var n;let e,r,t;return r=new Kr({props:{icon:"warning",title:"No Workers Running",content:"Please make sure you have at least one worker connected to the "+(((n=s[0])==null?void 0:n.taskQueue)??"")+" Task Queue.",class:"my-0"}}),{c(){e=I("section"),k(r.$$.fragment),this.h()},l(l){e=C(l,"SECTION",{class:!0});var o=T(e);y(r.$$.fragment,o),o.forEach(c),this.h()},h(){v(e,"class","stack-trace svelte-y5tg73")},m(l,o){w(l,e,o),b(r,e,null),t=!0},p(l,o){var a;const i={};o&1&&(i.content="Please make sure you have at least one worker connected to the "+(((a=l[0])==null?void 0:a.taskQueue)??"")+" Task Queue."),r.$set(i)},i(l){t||($(r.$$.fragment,l),t=!0)},o(l){p(r.$$.fragment,l),t=!1},d(l){l&&c(e),E(r)}}}function bl(s){let e,r,t=s[1]&&rr(s);return{c(){t&&t.c(),e=te()},l(n){t&&t.l(n),e=te()},m(n,l){t&&t.m(n,l),w(n,e,l),r=!0},p(n,[l]){n[1]?t?(t.p(n,l),l&2&&$(t,1)):(t=rr(n),t.c(),$(t,1),t.m(e.parentNode,e)):t&&(K(),p(t,1,1,()=>{t=null}),G())},i(n){r||($(t),r=!0)},o(n){p(t),r=!1},d(n){t&&t.d(n),n&&c(e)}}}function El(s,e,r){let t,n,l,o;ee(s,qe,a=>r(4,o=a));var i;return s.$$.update=()=>{s.$$.dirty&16&&r(0,{workflow:t,workers:n}=o,t,(r(3,n),r(4,o))),s.$$.dirty&13&&r(1,l=(t==null?void 0:t.isRunning)&&!(!(r(2,i=n==null?void 0:n.pollers)===null||i===void 0)&&i.length))},[t,l,i,n,o]}class Tl extends ue{constructor(e){super(),ce(this,e,El,bl,me,{})}}function yl(s){let e,r,t,n,l,o=s[0]&&nr(s);const i=[Al,Cl],a=[];function f(u,m){return u[3]?0:1}return r=f(s),t=a[r]=i[r](s),{c(){o&&o.c(),e=S(),t.c(),n=te()},l(u){o&&o.l(u),e=D(u),t.l(u),n=te()},m(u,m){o&&o.m(u,m),w(u,e,m),a[r].m(u,m),w(u,n,m),l=!0},p(u,m){u[0]?o?o.p(u,m):(o=nr(u),o.c(),o.m(e.parentNode,e)):o&&(o.d(1),o=null);let d=r;r=f(u),r===d?a[r].p(u,m):(K(),p(a[d],1,1,()=>{a[d]=null}),G(),t=a[r],t?t.p(u,m):(t=a[r]=i[r](u),t.c()),$(t,1),t.m(n.parentNode,n))},i(u){l||($(t),l=!0)},o(u){p(t),l=!1},d(u){o&&o.d(u),u&&c(e),a[r].d(u),u&&c(n)}}}function Il(s){let e,r;return e=new He({props:{content:s[1],visible:!0,"container-class":"gap-1 w-full",$$slots:{default:[Rl]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&2&&(l.content=t[1]),n&43&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function nr(s){let e,r;return{c(){e=N(s[0]),r=N(":")},l(t){e=R(t,s[0]),r=R(t,":")},m(t,n){w(t,e,n),w(t,r,n)},p(t,n){n&1&&se(e,t[0])},d(t){t&&c(e),t&&c(r)}}}function Cl(s){let e,r;return{c(){e=I("span"),r=N(s[1]),this.h()},l(t){e=C(t,"SPAN",{class:!0});var n=T(e);r=R(n,s[1]),n.forEach(c),this.h()},h(){v(e,"class","select-all truncate")},m(t,n){w(t,e,n),_(e,r)},p(t,n){n&2&&se(r,t[1])},i:X,o:X,d(t){t&&c(e)}}}function Al(s){let e,r;return e=new Ie({props:{href:s[3],class:"truncate",$$slots:{default:[Wl]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&8&&(l.href=t[3]),n&34&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function Wl(s){let e;return{c(){e=N(s[1])},l(r){e=R(r,s[1])},m(r,t){w(r,e,t)},p(r,t){t&2&&se(e,r[1])},d(r){r&&c(e)}}}function lr(s){let e,r;return{c(){e=N(s[0]),r=N(":")},l(t){e=R(t,s[0]),r=R(t,":")},m(t,n){w(t,e,n),w(t,r,n)},p(t,n){n&1&&se(e,t[0])},d(t){t&&c(e),t&&c(r)}}}function Sl(s){let e,r;return{c(){e=I("span"),r=N(s[1]),this.h()},l(t){e=C(t,"SPAN",{class:!0});var n=T(e);r=R(n,s[1]),n.forEach(c),this.h()},h(){v(e,"class","select-all truncate")},m(t,n){w(t,e,n),_(e,r)},p(t,n){n&2&&se(r,t[1])},i:X,o:X,d(t){t&&c(e)}}}function Dl(s){let e,r;return e=new Ie({props:{href:s[3],class:"truncate",$$slots:{default:[Nl]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&8&&(l.href=t[3]),n&34&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function Nl(s){let e;return{c(){e=N(s[1])},l(r){e=R(r,s[1])},m(r,t){w(r,e,t)},p(r,t){t&2&&se(e,r[1])},d(r){r&&c(e)}}}function Rl(s){let e,r,t,n,l,o=s[0]&&lr(s);const i=[Dl,Sl],a=[];function f(u,m){return u[3]?0:1}return r=f(s),t=a[r]=i[r](s),{c(){o&&o.c(),e=S(),t.c(),n=te()},l(u){o&&o.l(u),e=D(u),t.l(u),n=te()},m(u,m){o&&o.m(u,m),w(u,e,m),a[r].m(u,m),w(u,n,m),l=!0},p(u,m){u[0]?o?o.p(u,m):(o=lr(u),o.c(),o.m(e.parentNode,e)):o&&(o.d(1),o=null);let d=r;r=f(u),r===d?a[r].p(u,m):(K(),p(a[d],1,1,()=>{a[d]=null}),G(),t=a[r],t?t.p(u,m):(t=a[r]=i[r](u),t.c()),$(t,1),t.m(n.parentNode,n))},i(u){l||($(t),l=!0)},o(u){p(t),l=!1},d(u){o&&o.d(u),u&&c(e),a[r].d(u),u&&c(n)}}}function Pl(s){let e,r,t,n,l;const o=[Il,yl],i=[];function a(f,u){return f[2]?0:1}return r=a(s),t=i[r]=o[r](s),{c(){e=I("p"),t.c(),this.h()},l(f){e=C(f,"P",{class:!0});var u=T(e);t.l(u),u.forEach(c),this.h()},h(){v(e,"class",n="flex items-center gap-2 text-"+s[4]+" whitespace-nowrap pt-2")},m(f,u){w(f,e,u),i[r].m(e,null),l=!0},p(f,[u]){let m=r;r=a(f),r===m?i[r].p(f,u):(K(),p(i[m],1,1,()=>{i[m]=null}),G(),t=i[r],t?t.p(f,u):(t=i[r]=o[r](f),t.c()),$(t,1),t.m(e,null)),(!l||u&16&&n!==(n="flex items-center gap-2 text-"+f[4]+" whitespace-nowrap pt-2"))&&v(e,"class",n)},i(f){l||($(t),l=!0)},o(f){p(t),l=!1},d(f){f&&c(e),i[r].d()}}}function Bl(s,e,r){let{title:t=""}=e,{content:n}=e,{copyable:l=!1}=e,{href:o=null}=e,{textSize:i="md"}=e;return s.$$set=a=>{"title"in a&&r(0,t=a.title),"content"in a&&r(1,n=a.content),"copyable"in a&&r(2,l=a.copyable),"href"in a&&r(3,o=a.href),"textSize"in a&&r(4,i=a.textSize)},[t,n,l,o,i]}class Fe extends ue{constructor(e){super(),ce(this,e,Bl,Pl,me,{title:0,content:1,copyable:2,href:3,textSize:4})}}function Hl(s){var re,H,V,de,ge,le,he,_e;let e,r,t,n,l,o,i,a,f,u,m,d,W,P,g,h,A,F,M,U,q,j,L,ne,Y,x,O,z,pe,B,Q;return a=new Fe({props:{content:(re=s[0])==null?void 0:re.name,copyable:!0}}),u=new Fe({props:{content:(H=s[0])==null?void 0:H.runId,copyable:!0}}),F=new Fe({props:{content:(V=s[0])==null?void 0:V.taskQueue,href:Wt({namespace:s[2].params.namespace,workflow:(de=s[0])==null?void 0:de.id,run:(ge=s[0])==null?void 0:ge.runId}),copyable:!0}}),U=new Fe({props:{title:"State Transitions",content:(le=s[0])==null?void 0:le.stateTransitionCount}}),z=new Fe({props:{title:"Start Time",content:Le((he=s[0])==null?void 0:he.startTime,s[3])}}),B=new Fe({props:{title:"Close Time",content:Le((_e=s[0])==null?void 0:_e.endTime,s[3])}}),{c(){e=I("div"),r=I("div"),t=I("h3"),n=N("Workflow Type"),l=S(),o=I("div"),i=S(),k(a.$$.fragment),f=S(),k(u.$$.fragment),m=S(),d=I("div"),W=I("h3"),P=N("Task Queue"),g=S(),h=I("div"),A=S(),k(F.$$.fragment),M=S(),k(U.$$.fragment),q=S(),j=I("div"),L=I("h3"),ne=N("Start & Close Time"),Y=S(),x=I("div"),O=S(),k(z.$$.fragment),pe=S(),k(B.$$.fragment),this.h()},l(J){e=C(J,"DIV",{class:!0});var $e=T(e);r=C($e,"DIV",{class:!0});var ve=T(r);t=C(ve,"H3",{class:!0});var Ae=T(t);n=R(Ae,"Workflow Type"),Ae.forEach(c),l=D(ve),o=C(ve,"DIV",{class:!0}),T(o).forEach(c),i=D(ve),y(a.$$.fragment,ve),f=D(ve),y(u.$$.fragment,ve),ve.forEach(c),m=D($e),d=C($e,"DIV",{class:!0});var oe=T(d);W=C(oe,"H3",{class:!0});var Ce=T(W);P=R(Ce,"Task Queue"),Ce.forEach(c),g=D(oe),h=C(oe,"DIV",{class:!0}),T(h).forEach(c),A=D(oe),y(F.$$.fragment,oe),M=D(oe),y(U.$$.fragment,oe),oe.forEach(c),q=D($e),j=C($e,"DIV",{class:!0});var ke=T(j);L=C(ke,"H3",{class:!0});var Ee=T(L);ne=R(Ee,"Start & Close Time"),Ee.forEach(c),Y=D(ke),x=C(ke,"DIV",{class:!0}),T(x).forEach(c),O=D(ke),y(z.$$.fragment,ke),pe=D(ke),y(B.$$.fragment,ke),ke.forEach(c),$e.forEach(c),this.h()},h(){v(t,"class","font-medium"),v(o,"class","h-0.5 rounded-full bg-gray-900"),v(r,"class","col-span-1 md:col-span-2"),v(W,"class","font-medium"),v(h,"class","h-0.5 rounded-full bg-gray-900"),v(d,"class","col-span-1"),v(L,"class","font-medium"),v(x,"class","h-0.5 rounded-full bg-gray-900"),v(j,"class","col-span-1"),v(e,"class","grid-row-3 grid w-full grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-4 xl:w-11/12")},m(J,$e){w(J,e,$e),_(e,r),_(r,t),_(t,n),_(r,l),_(r,o),_(r,i),b(a,r,null),_(r,f),b(u,r,null),_(e,m),_(e,d),_(d,W),_(W,P),_(d,g),_(d,h),_(d,A),b(F,d,null),_(d,M),b(U,d,null),_(e,q),_(e,j),_(j,L),_(L,ne),_(j,Y),_(j,x),_(j,O),b(z,j,null),_(j,pe),b(B,j,null),Q=!0},p(J,$e){var ae,ie,fe,Oe,je,we,Z,We;const ve={};$e&1&&(ve.content=(ae=J[0])==null?void 0:ae.name),a.$set(ve);const Ae={};$e&1&&(Ae.content=(ie=J[0])==null?void 0:ie.runId),u.$set(Ae);const oe={};$e&1&&(oe.content=(fe=J[0])==null?void 0:fe.taskQueue),$e&5&&(oe.href=Wt({namespace:J[2].params.namespace,workflow:(Oe=J[0])==null?void 0:Oe.id,run:(je=J[0])==null?void 0:je.runId})),F.$set(oe);const Ce={};$e&1&&(Ce.content=(we=J[0])==null?void 0:we.stateTransitionCount),U.$set(Ce);const ke={};$e&9&&(ke.content=Le((Z=J[0])==null?void 0:Z.startTime,J[3])),z.$set(ke);const Ee={};$e&9&&(Ee.content=Le((We=J[0])==null?void 0:We.endTime,J[3])),B.$set(Ee)},i(J){Q||($(a.$$.fragment,J),$(u.$$.fragment,J),$(F.$$.fragment,J),$(U.$$.fragment,J),$(z.$$.fragment,J),$(B.$$.fragment,J),Q=!0)},o(J){p(a.$$.fragment,J),p(u.$$.fragment,J),p(F.$$.fragment,J),p(U.$$.fragment,J),p(z.$$.fragment,J),p(B.$$.fragment,J),Q=!1},d(J){J&&c(e),E(a),E(u),E(F),E(U),E(z),E(B)}}}function Vl(s){let e,r,t;return r=new dt({props:{title:"Summary",icon:"summary",open:s[1],onToggle:s[5],$$slots:{default:[Hl]},$$scope:{ctx:s}}}),{c(){e=I("section"),k(r.$$.fragment)},l(n){e=C(n,"SECTION",{});var l=T(e);y(r.$$.fragment,l),l.forEach(c)},m(n,l){w(n,e,l),b(r,e,null),t=!0},p(n,[l]){const o={};l&2&&(o.open=n[1]),l&2&&(o.onToggle=n[5]),l&77&&(o.$$scope={dirty:l,ctx:n}),r.$set(o)},i(n){t||($(r.$$.fragment,n),t=!0)},o(n){p(r.$$.fragment,n),t=!1},d(n){n&&c(e),E(r)}}}function Fl(s,e,r){let t,n,l,o,i;ee(s,qe,f=>r(4,n=f)),ee(s,yt,f=>r(1,l=f)),ee(s,Be,f=>r(2,o=f)),ee(s,Gr,f=>r(3,i=f));const a=()=>{Ue(yt,l=!l,l)};return s.$$.update=()=>{s.$$.dirty&16&&r(0,{workflow:t}=n,t)},[t,l,o,i,n,a]}class Ll extends ue{constructor(e){super(),ce(this,e,Fl,Vl,me,{})}}function sr(s){let e,r;return e=new Yr({props:{bold:!0,icon:"warning",intent:"warning",title:s[4],role:"status",$$slots:{default:[ql]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&16&&(l.title=t[4]),n&1039&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function or(s){let e,r,t,n,l;return t=new Ie({props:{newTab:!0,href:s[1],$$slots:{default:[Ol]},$$scope:{ctx:s}}}),{c(){e=I("p"),r=N("Learn more about "),k(t.$$.fragment),n=N(".")},l(o){e=C(o,"P",{});var i=T(e);r=R(i,"Learn more about "),y(t.$$.fragment,i),n=R(i,"."),i.forEach(c)},m(o,i){w(o,e,i),_(e,r),b(t,e,null),_(e,n),l=!0},p(o,i){const a={};i&2&&(a.href=o[1]),i&1028&&(a.$$scope={dirty:i,ctx:o}),t.$set(a)},i(o){l||($(t.$$.fragment,o),l=!0)},o(o){p(t.$$.fragment,o),l=!1},d(o){o&&c(e),E(t)}}}function Ol(s){let e;return{c(){e=N(s[2])},l(r){e=R(r,s[2])},m(r,t){w(r,e,t)},p(r,t){t&4&&se(e,r[2])},d(r){r&&c(e)}}}function jl(s){let e,r;return e=new br({props:{event:s[0],initialItem:s[0],visibleItems:[s[0]],typedError:!0}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&1&&(l.event=t[0]),n&1&&(l.initialItem=t[0]),n&1&&(l.visibleItems=[t[0]]),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function Ml(s){let e,r,t,n,l,o,i,a,f,u,m,d,W,P;return a=new pt({props:{name:"clock"}}),{c(){e=I("th"),r=S(),t=I("th"),n=I("span"),l=N("Date & Time"),o=S(),i=I("span"),k(a.$$.fragment),f=S(),u=I("th"),m=N("Event"),d=S(),W=I("th"),this.h()},l(g){e=C(g,"TH",{class:!0}),T(e).forEach(c),r=D(g),t=C(g,"TH",{class:!0});var h=T(t);n=C(h,"SPAN",{class:!0});var A=T(n);l=R(A,"Date & Time"),A.forEach(c),o=D(h),i=C(h,"SPAN",{class:!0});var F=T(i);y(a.$$.fragment,F),F.forEach(c),h.forEach(c),f=D(g),u=C(g,"TH",{class:!0});var M=T(u);m=R(M,"Event"),M.forEach(c),d=D(g),W=C(g,"TH",{class:!0}),T(W).forEach(c),this.h()},h(){v(e,"class","w-14 xl:w-10"),v(n,"class","max-md:hidden"),v(i,"class","md:hidden"),v(t,"class","w-16 md:w-32"),v(u,"class","w-44"),v(W,"class","w-auto xl:w-80")},m(g,h){w(g,e,h),w(g,r,h),w(g,t,h),_(t,n),_(n,l),_(t,o),_(t,i),b(a,i,null),w(g,f,h),w(g,u,h),_(u,m),w(g,d,h),w(g,W,h),P=!0},p:X,i(g){P||($(a.$$.fragment,g),P=!0)},o(g){p(a.$$.fragment,g),P=!1},d(g){g&&c(e),g&&c(r),g&&c(t),E(a),g&&c(f),g&&c(u),g&&c(d),g&&c(W)}}}function Ul(s){let e,r;return e=new Je({props:{slot:"headers",$$slots:{default:[Ml]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&1024&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function ql(s){let e,r,t,n,l,o,i,a=s[2]&&s[1]&&or(s);return o=new Qe({props:{class:"dark w-full table-fixed",$$slots:{headers:[Ul],default:[jl]},$$scope:{ctx:s}}}),{c(){e=I("p"),r=N(s[3]),t=S(),a&&a.c(),n=S(),l=I("div"),k(o.$$.fragment),this.h()},l(f){e=C(f,"P",{});var u=T(e);r=R(u,s[3]),u.forEach(c),t=D(f),a&&a.l(f),n=D(f),l=C(f,"DIV",{class:!0});var m=T(l);y(o.$$.fragment,m),m.forEach(c),this.h()},h(){v(l,"class","mt-2 bg-white")},m(f,u){w(f,e,u),_(e,r),w(f,t,u),a&&a.m(f,u),w(f,n,u),w(f,l,u),b(o,l,null),i=!0},p(f,u){(!i||u&8)&&se(r,f[3]),f[2]&&f[1]?a?(a.p(f,u),u&6&&$(a,1)):(a=or(f),a.c(),$(a,1),a.m(n.parentNode,n)):a&&(K(),p(a,1,1,()=>{a=null}),G());const m={};u&1025&&(m.$$scope={dirty:u,ctx:f}),o.$set(m)},i(f){i||($(a),$(o.$$.fragment,f),i=!0)},o(f){p(a),p(o.$$.fragment,f),i=!1},d(f){f&&c(e),f&&c(t),a&&a.d(f),f&&c(n),f&&c(l),E(o)}}}function zl(s){let e,r,t=(s[4]||s[3])&&sr(s);return{c(){t&&t.c(),e=te()},l(n){t&&t.l(n),e=te()},m(n,l){t&&t.m(n,l),w(n,e,l),r=!0},p(n,[l]){n[4]||n[3]?t?(t.p(n,l),l&24&&$(t,1)):(t=sr(n),t.c(),$(t,1),t.m(e.parentNode,e)):t&&(K(),p(t,1,1,()=>{t=null}),G())},i(n){r||($(t),r=!0)},o(n){p(t),r=!1},d(n){t&&t.d(n),n&&c(e)}}}function Ql(s,e,r){let t,n,l,o,i,a;var f;const u={Unspecified:{title:"Unspecified",copy:"The Workflow Task failed. See error for details."},UnhandledCommand:{title:"Unhandled Command",copy:"The Workflow Task failed because there are new available events since the last Workflow Task started. A retry Workflow Task has been scheduled and the Workflow will have a chance to handle those new events."},BadScheduleActivityAttributes:{title:"Bad Schedule Activity Attributes",copy:"The Workflow Task failed because of missing or incorrect ScheduleActivity attributes."},BadRequestCancelActivityAttributes:{title:"Bad Request Cancel Activity Attributes",copy:"The Workflow Task failed because of bad RequestCancelActivity attributes. An Activity was scheduled to cancel, but the scheduled event id was never set."},BadStartTimerAttributes:{title:"Bad Start Timer Attributes",copy:"The Workflow Task failed because the scheduled event is missing a timer id."},BadCancelTimerAttributes:{title:"Bad Cancel Timer Attributes",copy:"The Workflow Task failed when trying to cancel a timer due to an unset timer id."},BadRecordMarkerAttributes:{title:"Bad Record Marker Attributes",copy:"The Workflow Task failed because of a missing or invalid Marker name."},BadCompleteWorkflowExecutionAttributes:{title:"Bad Complete Workflow Execution Attributes",copy:"The Workflow Task failed because of an unset attribute on CompleteWorkflowExecution."},BadFailWorkflowExecutionAttribute:{title:"Bad Fail Workflow Execution Attributes",copy:"The Workflow Task failed because of an unset FailWorkflowExecution attribute or failure."},BadCancelWorkflowExecutionAttributes:{title:"Bad Cancel Workflow Execution Attributes",copy:"The Workflow Task failed because of an unset attribute on CancelWorkflowExecution."},BadRequestCancelExternalAttributes:{title:"Bad Request Cancel External Attributes",copy:"The Workflow Task failed due to an invalid attribute on a request to cancel an external Workflow. Check the Failure Message for more details."},BadContinueAsNewAttributes:{title:"Bad Continue As New Attributes",copy:"The Workflow Task failed because it failed to validate on a ContinueAsNew attribute. Check the Failure Message for more details."},StartTimerDuplicateId:{title:"Start Timer Duplicate",copy:"The Workflow Task failed because a timer with the given timer id has already started."},ResetStickyTaskQueue:{title:"Reset Sticky Task Queue",copy:"The Workflow Task failed because the Sticky Task Queue needs to be reset. The system will automatically retry."},WorkflowWorkerUnhandledFailure:{title:"Workflow Worker Unhandled Failure",copy:"The Workflow Task failed due to an unhandled failure from the Workflow code.",actionCopy:"deterministic constraints",link:"https://docs.temporal.io/workflows/#deterministic-constraints"},WorkflowTaskHeartbeatError:{title:"Workflow Task Heartbeat Error",copy:"The Workflow Task failed to send a heartbeat while executing long-running local Activities. These local Activities will re-execute on the next Workflow Task attempt. If this error is persistent, these local Activities will run repeatedly until the Workflow times out."},BadSignalWorkflowExecutionAttributes:{title:"Bad Signal Workflow Execution Attributes",copy:"The Workflow Task failed to validate attributes for SignalWorkflowExecution. Check the Failure Message for more details."},BadStartChildExecutionAttributes:{title:"Bad Start Child Execution Attributes",copy:"The Workflow Task failed to validate attributes needed for StartChildWorkflowExecution. Check the Failure Message for more details."},ForceCloseCommand:{title:"Force Close Command",copy:"The Workflow Task was forced to close. A retry will be scheduled if the error is recoverable."},FailoverCloseCommand:{title:"Failover Close Command",copy:"The Workflow Task was forced to close due to a Namespace failover. A retry will be scheduled automatically."},BadSignalInputSize:{title:"Bad Signal Input Size",copy:"The payload has exceeded the available input size on a Signal."},ResetWorkflow:{title:"Reset Workflow",copy:"The system failed this Workflow Task. If a reset for this Workflow was requested check the progress on the new Workflow, otherwise reset this Workflow."},BadBinary:{title:"Bad Binary",copy:"The system failed this Workflow Task because the deployment of this Worker is marked as bad binary."},ScheduleActivityDuplicatId:{title:"Schedule Activity Duplicate ID",copy:"The Workflow Task failed because the Activity ID is already in use, please check if you have specified the same Activity ID in your workflow."},BadSearchAttributes:{title:"Bad Search Attributes",copy:"A Search attribute is either missing or the value exceeds the limit. This might cause Workflow tasks to continue to retry without success.",actionCopy:"configuring search attributes",link:"https://docs.temporal.io/visibility#search-attribute"},NonDeterministicError:{title:"Non Deterministic Error",copy:"A non-deterministic error has caused the Workflow Task to fail. This usually means the workflow code has a non-backward compatible change without a proper versioning branch."},BadModifyWorkflowPropertiesAttributes:{title:"Bad Modify Workflow Properties Attributes",copy:"The Workflow Task failed to validate attributes on ModifyWorkflowProperty on the upsert memo. Check the Failure Message for more details."},PendingChildWorkflowsLimitExceeded:{title:"Pending Child Workflows Limit Exceeded",copy:"The capacity for pending child Workflows has been reached. The Workflow Task was failed to prevent any more child Workflows from being added."},PendingActivitiesLimitExceeded:{title:"Pending Activities Limit Exceeded",copy:"The capacity for pending Activities has been reached. The Workflow Task was failed to prevent another Activity from being created."},PendingSignalsLimitExceeded:{title:"Pending Signals Limit Exceeded",copy:"The capacity for pending Signals to be sent from this Workflow has been reached."},PendingRequestCancelLimitExceeded:{title:"Pending Request Cancel Limit Exceeded",copy:"The capacity for pending requests to cancel other Workflows has been reached."},BadUpdateWorkflowExecutionMessage:{title:"Bad Update",copy:"A Workflow Execution tried to complete before receiving an Update."},UnhandledUpdate:{title:"Unhandled Update",copy:"A Workflow Update was received by the Temporal Server while a Workflow Task was being processed on a Worker."}};function m(W){var P;if(!W||!W.workflowTaskFailedEventAttributes)return;const{workflowTaskFailedEventAttributes:{failure:g,cause:h}}=W;return((P=g==null?void 0:g.applicationFailureInfo)===null||P===void 0?void 0:P.type)==="workflowTaskHeartbeatError"?"WorkflowTaskHeartbeatError":h}let{error:d}=e;return s.$$set=W=>{"error"in W&&r(0,d=W.error)},s.$$.update=()=>{s.$$.dirty&1&&r(7,t=m(d)),s.$$.dirty&160&&r(6,n=r(5,f=u[t])!==null&&f!==void 0?f:{}),s.$$.dirty&64&&r(4,{title:l="",copy:o="",actionCopy:i="",link:a=""}=n,l,(r(3,o),r(6,n),r(7,t),r(5,f),r(0,d)),(r(2,i),r(6,n),r(7,t),r(5,f),r(0,d)),(r(1,a),r(6,n),r(7,t),r(5,f),r(0,d)))},[d,a,i,o,l,f,n,t]}class Jl extends ue{constructor(e){super(),ce(this,e,Ql,zl,me,{error:0})}}function ar(s,e,r){const t=s.slice();return t[1]=e[r],t}function ir(s){let e,r;return e=new ye({props:{type:"count",class:"rounded-sm",$$slots:{default:[Kl]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&516&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function Kl(s){let e=s[2].length+"",r;return{c(){r=N(e)},l(t){r=R(t,e)},m(t,n){w(t,r,n)},p(t,n){n&4&&e!==(e=t[2].length+"")&&se(r,e)},d(t){t&&c(r)}}}function Gl(s){let e,r;return e=new ze({props:{content:"Results will appear upon completion.",language:"text",class:"mb-2 lg:max-h-[24rem]",copyable:!1}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p:X,i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function Yl(s){let e,r,t,n;const l=[Xl,Zl],o=[];function i(a,f){return a[4]?0:1}return e=i(s),r=o[e]=l[e](s),{c(){r.c(),t=te()},l(a){r.l(a),t=te()},m(a,f){o[e].m(a,f),w(a,t,f),n=!0},p(a,f){let u=e;e=i(a),e===u?o[e].p(a,f):(K(),p(o[u],1,1,()=>{o[u]=null}),G(),r=o[e],r?r.p(a,f):(r=o[e]=l[e](a),r.c()),$(r,1),r.m(t.parentNode,t))},i(a){n||($(r),n=!0)},o(a){p(r),n=!1},d(a){o[e].d(a),a&&c(t)}}}function Zl(s){let e,r;return e=new ze({props:{content:s[1],class:"mb-2 lg:max-h-[23.5rem]"}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&2&&(l.content=t[1]),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function Xl(s){let e,r,t=s[2],n=[];for(let o=0;op(n[o],1,1,()=>{n[o]=null});return{c(){e=I("div");for(let o=0;o{f=null}),G());let A=o;o=d(g),o===A?m[o].p(g,h):(K(),p(m[A],1,1,()=>{m[A]=null}),G(),i=m[o],i?i.p(g,h):(i=m[o]=u[o](g),i.c()),$(i,1),i.m(e,null)),bt(e,P=hr(W,[{class:"flex w-full flex-col lg:w-1/2"},h&32&&g[5]]))},i(g){a||($(f),$(i),a=!0)},o(g){p(f),p(i),a=!1},d(g){g&&c(e),f&&f.d(),m[o].d()}}}function es(s,e,r){let t,n,l;const o=["content","title"];let i=Et(e,o),{content:a}=e,{title:f}=e;const u=m=>{try{const d=JSON.parse(m);return Array.isArray(d)?d:[]}catch{return[]}};return s.$$set=m=>{e=rt(rt({},e),yr(m)),r(5,i=Et(e,o)),"content"in m&&r(1,a=m.content),"title"in m&&r(0,f=m.title)},s.$$.update=()=>{s.$$.dirty&2&&r(2,t=u(a)),s.$$.dirty&4&&r(4,n=t.length>0),s.$$.dirty&4&&r(3,l=t.length>1)},[f,a,t,l,n,i]}class ur extends ue{constructor(e){super(),ce(this,e,es,xl,me,{content:1,title:0})}}function ts(s){let e,r,t,n,l;return{c(){e=Re("svg"),r=Re("path"),t=S(),n=I("span"),l=N("Arrow key up"),this.h()},l(o){e=Pe(o,"svg",{class:!0,"aria-hidden":!0,fill:!0,xmlns:!0,viewBox:!0});var i=T(e);r=Pe(i,"path",{d:!0}),T(r).forEach(c),i.forEach(c),t=D(o),n=C(o,"SPAN",{class:!0});var a=T(n);l=R(a,"Arrow key up"),a.forEach(c),this.h()},h(){v(r,"d","M9.39 265.4l127.1-128C143.6 131.1 151.8 128 160 128s16.38 3.125 22.63 9.375l127.1 128c9.156 9.156 11.9 22.91 6.943 34.88S300.9 320 287.1 320H32.01c-12.94 0-24.62-7.781-29.58-19.75S.2333 274.5 9.39 265.4z"),v(e,"class","h-4 w-4"),v(e,"aria-hidden","true"),v(e,"fill","currentColor"),v(e,"xmlns","http://www.w3.org/2000/svg"),v(e,"viewBox","0 0 320 512"),v(n,"class","sr-only")},m(o,i){w(o,e,i),_(e,r),w(o,t,i),w(o,n,i),_(n,l)},p:X,i:X,o:X,d(o){o&&c(e),o&&c(t),o&&c(n)}}}class rs extends ue{constructor(e){super(),ce(this,e,null,ts,me,{})}}function ns(s){let e,r,t,n,l;return{c(){e=Re("svg"),r=Re("path"),t=S(),n=I("span"),l=N("Arrow key down"),this.h()},l(o){e=Pe(o,"svg",{class:!0,"aria-hidden":!0,fill:!0,xmlns:!0,viewBox:!0});var i=T(e);r=Pe(i,"path",{d:!0}),T(r).forEach(c),i.forEach(c),t=D(o),n=C(o,"SPAN",{class:!0});var a=T(n);l=R(a,"Arrow key down"),a.forEach(c),this.h()},h(){v(r,"d","M310.6 246.6l-127.1 128C176.4 380.9 168.2 384 160 384s-16.38-3.125-22.63-9.375l-127.1-128C.2244 237.5-2.516 223.7 2.438 211.8S19.07 192 32 192h255.1c12.94 0 24.62 7.781 29.58 19.75S319.8 237.5 310.6 246.6z"),v(e,"class","h-4 w-4"),v(e,"aria-hidden","true"),v(e,"fill","currentColor"),v(e,"xmlns","http://www.w3.org/2000/svg"),v(e,"viewBox","0 0 320 512"),v(n,"class","sr-only")},m(o,i){w(o,e,i),_(e,r),w(o,t,i),w(o,n,i),_(n,l)},p:X,i:X,o:X,d(o){o&&c(e),o&&c(t),o&&c(n)}}}class ls extends ue{constructor(e){super(),ce(this,e,null,ns,me,{})}}function ss(s){let e,r,t,n,l;return{c(){e=Re("svg"),r=Re("path"),t=S(),n=I("span"),l=N("Arrow key right"),this.h()},l(o){e=Pe(o,"svg",{class:!0,"aria-hidden":!0,fill:!0,xmlns:!0,viewBox:!0});var i=T(e);r=Pe(i,"path",{d:!0}),T(r).forEach(c),i.forEach(c),t=D(o),n=C(o,"SPAN",{class:!0});var a=T(n);l=R(a,"Arrow key right"),a.forEach(c),this.h()},h(){v(r,"d","M118.6 105.4l128 127.1C252.9 239.6 256 247.8 256 255.1s-3.125 16.38-9.375 22.63l-128 127.1c-9.156 9.156-22.91 11.9-34.88 6.943S64 396.9 64 383.1V128c0-12.94 7.781-24.62 19.75-29.58S109.5 96.23 118.6 105.4z"),v(e,"class","h-4 w-4"),v(e,"aria-hidden","true"),v(e,"fill","currentColor"),v(e,"xmlns","http://www.w3.org/2000/svg"),v(e,"viewBox","0 0 256 512"),v(n,"class","sr-only")},m(o,i){w(o,e,i),_(e,r),w(o,t,i),w(o,n,i),_(n,l)},p:X,i:X,o:X,d(o){o&&c(e),o&&c(t),o&&c(n)}}}class os extends ue{constructor(e){super(),ce(this,e,null,ss,me,{})}}function as(s){let e,r,t,n,l;return{c(){e=Re("svg"),r=Re("path"),t=S(),n=I("span"),l=N("Arrow key left"),this.h()},l(o){e=Pe(o,"svg",{class:!0,"aria-hidden":!0,fill:!0,xmlns:!0,viewBox:!0});var i=T(e);r=Pe(i,"path",{d:!0}),T(r).forEach(c),i.forEach(c),t=D(o),n=C(o,"SPAN",{class:!0});var a=T(n);l=R(a,"Arrow key left"),a.forEach(c),this.h()},h(){v(r,"d","M137.4 406.6l-128-127.1C3.125 272.4 0 264.2 0 255.1s3.125-16.38 9.375-22.63l128-127.1c9.156-9.156 22.91-11.9 34.88-6.943S192 115.1 192 128v255.1c0 12.94-7.781 24.62-19.75 29.58S146.5 415.8 137.4 406.6z"),v(e,"class","h-4 w-4"),v(e,"aria-hidden","true"),v(e,"fill","currentColor"),v(e,"xmlns","http://www.w3.org/2000/svg"),v(e,"viewBox","0 0 256 512"),v(n,"class","sr-only")},m(o,i){w(o,e,i),_(e,r),w(o,t,i),w(o,n,i),_(n,l)},p:X,i:X,o:X,d(o){o&&c(e),o&&c(t),o&&c(n)}}}class is extends ue{constructor(e){super(),ce(this,e,null,as,me,{})}}function fs(s){let e;const r=s[3].default,t=st(r,s,s[4],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,l){t&&t.m(n,l),e=!0},p(n,l){t&&t.p&&(!e||l&16)&&ot(t,r,n,n[4],e?it(r,n[4],l,null):at(n[4]),null)},i(n){e||($(t,n),e=!0)},o(n){p(t,n),e=!1},d(n){t&&t.d(n)}}}function us(s){let e,r,t;var n=s[2][s[1]];function l(o){return{}}return n&&(e=nt(n,l())),{c(){e&&k(e.$$.fragment),r=te()},l(o){e&&y(e.$$.fragment,o),r=te()},m(o,i){e&&b(e,o,i),w(o,r,i),t=!0},p(o,i){if(n!==(n=o[2][o[1]])){if(e){K();const a=e;p(a.$$.fragment,1,0,()=>{E(a,1)}),G()}n?(e=nt(n,l()),k(e.$$.fragment),$(e.$$.fragment,1),b(e,r.parentNode,r)):e=null}},i(o){t||(e&&$(e.$$.fragment,o),t=!0)},o(o){e&&p(e.$$.fragment,o),t=!1},d(o){o&&c(r),e&&E(e,o)}}}function cs(s){let e,r,t,n;const l=[us,fs],o=[];function i(a,f){return a[1]?0:1}return r=i(s),t=o[r]=l[r](s),{c(){e=I("kbd"),t.c(),this.h()},l(a){e=C(a,"KBD",{class:!0});var f=T(e);t.l(f),f.forEach(c),this.h()},h(){v(e,"class","shortcut svelte-y44j93")},m(a,f){w(a,e,f),o[r].m(e,null),n=!0},p(a,f){let u=r;r=i(a),r===u?o[r].p(a,f):(K(),p(o[u],1,1,()=>{o[u]=null}),G(),t=o[r],t?t.p(a,f):(t=o[r]=l[r](a),t.c()),$(t,1),t.m(e,null))},i(a){n||($(t),n=!0)},o(a){p(t),n=!1},d(a){a&&c(e),o[r].d()}}}function ms(s){let e,r;return e=new vr({props:{text:s[0],hide:!s[0],top:!0,$$slots:{default:[cs]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,[n]){const l={};n&1&&(l.text=t[0]),n&1&&(l.hide=!t[0]),n&18&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function $s(s,e,r){let{$$slots:t={},$$scope:n}=e,{tooltipText:l=""}=e,{arrow:o=void 0}=e;const i={up:rs,down:ls,left:is,right:os};return s.$$set=a=>{"tooltipText"in a&&r(0,l=a.tooltipText),"arrow"in a&&r(1,o=a.arrow),"$$scope"in a&&r(4,n=a.$$scope)},[l,o,i,t,n]}class Ne extends ue{constructor(e){super(),ce(this,e,$s,ms,me,{tooltipText:0,arrow:1})}}function ps(s){let e,r;return{c(){e=I("span"),r=N("?"),this.h()},l(t){e=C(t,"SPAN",{class:!0});var n=T(e);r=R(n,"?"),n.forEach(c),this.h()},h(){v(e,"class","flex h-[24px] w-[24px] items-center justify-center text-xl")},m(t,n){w(t,e,n),_(e,r)},p:X,d(t){t&&c(e)}}}function ds(s){let e;return{c(){e=N("L")},l(r){e=R(r,"L")},m(r,t){w(r,e,t)},d(r){r&&c(e)}}}function hs(s){let e;return{c(){e=N("H")},l(r){e=R(r,"H")},m(r,t){w(r,e,t)},d(r){r&&c(e)}}}function _s(s){let e;return{c(){e=N("J")},l(r){e=R(r,"J")},m(r,t){w(r,e,t)},d(r){r&&c(e)}}}function gs(s){let e;return{c(){e=N("K")},l(r){e=R(r,"K")},m(r,t){w(r,e,t)},d(r){r&&c(e)}}}function ws(s){let e,r,t,n,l,o,i,a,f,u,m,d,W,P,g,h,A,F,M,U,q,j,L,ne,Y,x,O,z,pe;return l=new Ne({props:{arrow:"right"}}),i=new Ne({props:{$$slots:{default:[ds]},$$scope:{ctx:s}}}),d=new Ne({props:{arrow:"left"}}),P=new Ne({props:{$$slots:{default:[hs]},$$scope:{ctx:s}}}),M=new Ne({props:{arrow:"down"}}),q=new Ne({props:{$$slots:{default:[_s]},$$scope:{ctx:s}}}),x=new Ne({props:{arrow:"up"}}),z=new Ne({props:{$$slots:{default:[gs]},$$scope:{ctx:s}}}),{c(){e=I("div"),r=I("div"),t=N(`Next Page - `),n=I("div"),k(l.$$.fragment),o=N("|"),k(i.$$.fragment),a=S(),f=I("div"),u=N(`Previous Page - `),m=I("div"),k(d.$$.fragment),W=N("|"),k(P.$$.fragment),g=S(),h=I("div"),A=N(`Next Row - `),F=I("div"),k(M.$$.fragment),U=N("|"),k(q.$$.fragment),j=S(),L=I("div"),ne=N(`Previous Row - `),Y=I("div"),k(x.$$.fragment),O=N("|"),k(z.$$.fragment),this.h()},l(B){e=C(B,"DIV",{class:!0});var Q=T(e);r=C(Q,"DIV",{class:!0});var re=T(r);t=R(re,`Next Page - `),n=C(re,"DIV",{class:!0});var H=T(n);y(l.$$.fragment,H),o=R(H,"|"),y(i.$$.fragment,H),H.forEach(c),re.forEach(c),a=D(Q),f=C(Q,"DIV",{class:!0});var V=T(f);u=R(V,`Previous Page - `),m=C(V,"DIV",{class:!0});var de=T(m);y(d.$$.fragment,de),W=R(de,"|"),y(P.$$.fragment,de),de.forEach(c),V.forEach(c),g=D(Q),h=C(Q,"DIV",{class:!0});var ge=T(h);A=R(ge,`Next Row - `),F=C(ge,"DIV",{class:!0});var le=T(F);y(M.$$.fragment,le),U=R(le,"|"),y(q.$$.fragment,le),le.forEach(c),ge.forEach(c),j=D(Q),L=C(Q,"DIV",{class:!0});var he=T(L);ne=R(he,`Previous Row - `),Y=C(he,"DIV",{class:!0});var _e=T(Y);y(x.$$.fragment,_e),O=R(_e,"|"),y(z.$$.fragment,_e),_e.forEach(c),he.forEach(c),Q.forEach(c),this.h()},h(){v(n,"class","shortcut svelte-1030a4e"),v(r,"class","cell svelte-1030a4e"),v(m,"class","shortcut svelte-1030a4e"),v(f,"class","cell svelte-1030a4e"),v(F,"class","shortcut svelte-1030a4e"),v(h,"class","cell svelte-1030a4e"),v(Y,"class","shortcut svelte-1030a4e"),v(L,"class","cell svelte-1030a4e"),v(e,"class","grid grid-cols-1 gap-8 text-gray-500 dark:text-gray-400 md:grid-cols-2 xl:grid-cols-4")},m(B,Q){w(B,e,Q),_(e,r),_(r,t),_(r,n),b(l,n,null),_(n,o),b(i,n,null),_(e,a),_(e,f),_(f,u),_(f,m),b(d,m,null),_(m,W),b(P,m,null),_(e,g),_(e,h),_(h,A),_(h,F),b(M,F,null),_(F,U),b(q,F,null),_(e,j),_(e,L),_(L,ne),_(L,Y),b(x,Y,null),_(Y,O),b(z,Y,null),pe=!0},p(B,Q){const re={};Q&8&&(re.$$scope={dirty:Q,ctx:B}),i.$set(re);const H={};Q&8&&(H.$$scope={dirty:Q,ctx:B}),P.$set(H);const V={};Q&8&&(V.$$scope={dirty:Q,ctx:B}),q.$set(V);const de={};Q&8&&(de.$$scope={dirty:Q,ctx:B}),z.$set(de)},i(B){pe||($(l.$$.fragment,B),$(i.$$.fragment,B),$(d.$$.fragment,B),$(P.$$.fragment,B),$(M.$$.fragment,B),$(q.$$.fragment,B),$(x.$$.fragment,B),$(z.$$.fragment,B),pe=!0)},o(B){p(l.$$.fragment,B),p(i.$$.fragment,B),p(d.$$.fragment,B),p(P.$$.fragment,B),p(M.$$.fragment,B),p(q.$$.fragment,B),p(x.$$.fragment,B),p(z.$$.fragment,B),pe=!1},d(B){B&&c(e),E(l),E(i),E(d),E(P),E(M),E(q),E(x),E(z)}}}function vs(s){let e,r,t,n,l;return r=new en({props:{class:"!py-1.5 !px-1",variant:"secondary",$$slots:{default:[ps]},$$scope:{ctx:s}}}),r.$on("click",function(){Cr(s[1])&&s[1].apply(this,arguments)}),n=new xr({props:{open:s[0],onClick:s[2],title:"Keyboard Shortcuts",$$slots:{default:[ws]},$$scope:{ctx:s}}}),{c(){e=I("div"),k(r.$$.fragment),t=S(),k(n.$$.fragment),this.h()},l(o){e=C(o,"DIV",{class:!0});var i=T(e);y(r.$$.fragment,i),i.forEach(c),t=D(o),y(n.$$.fragment,o),this.h()},h(){v(e,"class","shortcut-key-button svelte-1030a4e")},m(o,i){w(o,e,i),b(r,e,null),w(o,t,i),b(n,o,i),l=!0},p(o,[i]){s=o;const a={};i&8&&(a.$$scope={dirty:i,ctx:s}),r.$set(a);const f={};i&1&&(f.open=s[0]),i&4&&(f.onClick=s[2]),i&8&&(f.$$scope={dirty:i,ctx:s}),n.$set(f)},i(o){l||($(r.$$.fragment,o),$(n.$$.fragment,o),l=!0)},o(o){p(r.$$.fragment,o),p(n.$$.fragment,o),l=!1},d(o){o&&c(e),E(r),o&&c(t),E(n,o)}}}function ks(s,e,r){let{open:t=!1}=e,{onOpen:n}=e,{onClose:l}=e;return s.$$set=o=>{"open"in o&&r(0,t=o.open),"onOpen"in o&&r(1,n=o.onOpen),"onClose"in o&&r(2,l=o.onClose)},[t,n,l]}class bs extends ue{constructor(e){super(),ce(this,e,ks,vs,me,{open:0,onOpen:1,onClose:2})}}const Es=s=>({}),cr=s=>({});function Ts(s){let e,r,t,n,l;return r=new ur({props:{title:"Input",content:s[3].input,"data-testid":"workflow-input"}}),n=new ur({props:{content:s[3].results,title:s[3].contAsNew?"Continued as New with Input":"Results","data-testid":"workflow-results"}}),{c(){e=I("div"),k(r.$$.fragment),t=S(),k(n.$$.fragment),this.h()},l(o){e=C(o,"DIV",{class:!0});var i=T(e);y(r.$$.fragment,i),t=D(i),y(n.$$.fragment,i),i.forEach(c),this.h()},h(){v(e,"class","flex w-full flex-col gap-2 lg:flex-row")},m(o,i){w(o,e,i),b(r,e,null),_(e,t),b(n,e,null),l=!0},p(o,i){const a={};i&8&&(a.content=o[3].input),r.$set(a);const f={};i&8&&(f.content=o[3].results),i&8&&(f.title=o[3].contAsNew?"Continued as New with Input":"Results"),n.$set(f)},i(o){l||($(r.$$.fragment,o),$(n.$$.fragment,o),l=!0)},o(o){p(r.$$.fragment,o),p(n.$$.fragment,o),l=!1},d(o){o&&c(e),E(r),E(n)}}}function ys(s){let e;return{c(){e=N("History")},l(r){e=R(r,"History")},m(r,t){w(r,e,t)},d(r){r&&c(e)}}}function Is(s){let e;return{c(){e=N("Compact")},l(r){e=R(r,"Compact")},m(r,t){w(r,e,t)},d(r){r&&c(e)}}}function Cs(s){let e;return{c(){e=N("JSON")},l(r){e=R(r,"JSON")},m(r,t){w(r,e,t)},d(r){r&&c(e)}}}function As(s){let e;return{c(){e=N("Download")},l(r){e=R(r,"Download")},m(r,t){w(r,e,t)},d(r){r&&c(e)}}}function Ws(s){let e,r,t,n,l,o,i,a;return e=new et({props:{icon:"feed",active:s[4]==="feed","data-testid":"feed",$$slots:{default:[ys]},$$scope:{ctx:s}}}),e.$on("click",s[13]),t=new et({props:{icon:"compact",active:s[4]==="compact","data-testid":"compact",$$slots:{default:[Is]},$$scope:{ctx:s}}}),t.$on("click",s[14]),l=new et({props:{icon:"json",active:s[4]==="json","data-testid":"json",$$slots:{default:[Cs]},$$scope:{ctx:s}}}),l.$on("click",s[15]),i=new et({props:{icon:"download","data-testid":"download",$$slots:{default:[As]},$$scope:{ctx:s}}}),i.$on("click",s[16]),{c(){k(e.$$.fragment),r=S(),k(t.$$.fragment),n=S(),k(l.$$.fragment),o=S(),k(i.$$.fragment)},l(f){y(e.$$.fragment,f),r=D(f),y(t.$$.fragment,f),n=D(f),y(l.$$.fragment,f),o=D(f),y(i.$$.fragment,f)},m(f,u){b(e,f,u),w(f,r,u),b(t,f,u),w(f,n,u),b(l,f,u),w(f,o,u),b(i,f,u),a=!0},p(f,u){const m={};u&16&&(m.active=f[4]==="feed"),u&524288&&(m.$$scope={dirty:u,ctx:f}),e.$set(m);const d={};u&16&&(d.active=f[4]==="compact"),u&524288&&(d.$$scope={dirty:u,ctx:f}),t.$set(d);const W={};u&16&&(W.active=f[4]==="json"),u&524288&&(W.$$scope={dirty:u,ctx:f}),l.$set(W);const P={};u&524288&&(P.$$scope={dirty:u,ctx:f}),i.$set(P)},i(f){a||($(e.$$.fragment,f),$(t.$$.fragment,f),$(l.$$.fragment,f),$(i.$$.fragment,f),a=!0)},o(f){p(e.$$.fragment,f),p(t.$$.fragment,f),p(l.$$.fragment,f),p(i.$$.fragment,f),a=!1},d(f){E(e,f),f&&c(r),E(t,f),f&&c(n),E(l,f),f&&c(o),E(i,f)}}}function Ss(s){let e,r,t,n,l,o,i,a,f,u,m,d,W,P,g,h,A,F,M,U,q,j,L,ne,Y,x;r=new Tl({}),n=new Jl({props:{error:s[3].error}}),o=new Ll({});const O=[s[2]];let z={};for(let H=0;Hr(4,o=L)),ee(s,Be,L=>r(5,i=L)),ee(s,qr,L=>r(9,a=L)),ee(s,tt,L=>r(10,f=L)),ee(s,wr,L=>r(11,u=L)),ee(s,qe,L=>r(0,m=L)),ee(s,ht,L=>r(6,d=L));let{$$slots:W={},$$scope:P}=e,g=!1;const h=L=>{i.url.searchParams.get("page")&&i.url.searchParams.delete("page"),Ue(ft,o=L,o)},A=()=>h("feed"),F=()=>h("compact"),M=()=>h("json"),U=()=>{var L,ne;return $n({namespace:Se(i.params.namespace),workflowId:Se((L=m.workflow)==null?void 0:L.id),runId:Se((ne=m.workflow)==null?void 0:ne.runId),settings:i.data.settings,accessToken:d==null?void 0:d.accessToken})},q=()=>r(1,g=!0),j=()=>r(1,g=!1);return s.$$set=L=>{"$$scope"in L&&r(19,P=L.$$scope)},s.$$.update=()=>{s.$$.dirty&2048&&r(3,t=fn(u)),s.$$.dirty&1&&r(8,{workflow:n}=m,n),s.$$.dirty&3840&&r(2,l=mn(n,u,f,a))},[m,g,l,t,o,i,d,h,n,a,f,u,W,A,F,M,U,q,j,P]}class Ns extends ue{constructor(e){super(),ce(this,e,Ds,Ss,me,{})}}function mr(s,e,r){const t=s.slice();return t[27]=e[r],t[29]=r,t}function $r(s){let e,r;return e=new Xr({props:{loading:s[1]}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&2&&(l.loading=t[1]),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function pr(s,e){let r,t,n;function l(){return e[19](e[26],e[29])}return t=new br({props:{event:e[27],compact:e[0],visibleItems:e[24],expandAll:e[5]==="true",initialItem:e[4],active:e[25]===e[29],onRowClick:l}}),{key:s,first:null,c(){r=te(),k(t.$$.fragment),this.h()},l(o){r=te(),y(t.$$.fragment,o),this.h()},h(){this.first=r},m(o,i){w(o,r,i),b(t,o,i),n=!0},p(o,i){e=o;const a={};i&16777216&&(a.event=e[27]),i&1&&(a.compact=e[0]),i&16777216&&(a.visibleItems=e[24]),i&32&&(a.expandAll=e[5]==="true"),i&16&&(a.initialItem=e[4]),i&50331648&&(a.active=e[25]===e[29]),i&83886080&&(a.onRowClick=l),t.$set(a)},i(o){n||($(t.$$.fragment,o),n=!0)},o(o){p(t.$$.fragment,o),n=!1},d(o){o&&c(r),E(t,o)}}}function Rs(s){let e=[],r=new Map,t,n,l=s[24];const o=a=>`${a[27].id}-${a[27].timestamp}`;for(let a=0;a{i=null}),G()):(i=$r(a),i.c(),$(i,1),i.m(t.parentNode,t)))},i(a){if(!n){for(let f=0;f({24:t,25:n,26:l}),({visibleItems:t,activeRowIndex:n,setActiveRowIndex:l})=>(t?16777216:0)|(n?33554432:0)|(l?67108864:0)]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,[n]){const l={};n&8&&(l.items=t[3]),n&4&&(l.updating=t[2]),n&1191182391&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function Hs(s,e,r){let t,n,l,o,i,a,f,u,m,d,W,P,g,h,A,F,M;ee(s,tt,O=>r(13,d=O)),ee(s,wr,O=>r(14,W=O)),ee(s,Nr,O=>r(15,P=O)),ee(s,tn,O=>r(16,g=O)),ee(s,Tt,O=>r(5,h=O)),ee(s,Ur,O=>r(17,A=O)),ee(s,ht,O=>r(20,F=O)),ee(s,Be,O=>r(18,M=O));let{compact:U=!1}=e,q=!0;const j=()=>{Ue(tt,d=[],d),r(1,q=!0)},L=async(O,z,pe,B)=>{const{settings:Q}=M.data;j(),Ue(tt,d=await $t({namespace:O,workflowId:z,runId:pe,settings:Q,accessToken:F==null?void 0:F.accessToken,sort:U?"ascending":B}),d),r(1,q=!1)};function ne(O){Ue(Tt,h=O.detail.expanded,h)}const Y=(O,z)=>{if(z){const pe=O.filter(B=>z===rn.LOCAL_ACTIVITY?Or(B):B.category===z);return U?Rt(pe,P):pe}return U?Rt(O,P):O},x=(O,z)=>O(z);return s.$$set=O=>{"compact"in O&&r(0,U=O.compact)},s.$$.update=()=>{s.$$.dirty&262144&&r(12,{namespace:t,workflow:n,run:l}=M.params,t,(r(11,n),r(18,M)),(r(10,l),r(18,M))),s.$$.dirty&171008&&L(t,n,l,P),s.$$.dirty&65536&&r(8,o=g),s.$$.dirty&49153&&r(9,i=P==="descending"&&!U?W==null?void 0:W.end:W==null?void 0:W.start),s.$$.dirty&8704&&r(7,a=d.length?d:i),s.$$.dirty&128&&r(4,f=a==null?void 0:a[0]),s.$$.dirty&384&&r(3,u=Y(a,o)),s.$$.dirty&8320&&r(2,m=a.length&&!d.length)},[U,q,m,u,f,h,ne,a,o,i,l,n,t,d,W,P,g,A,M,x]}class Er extends ue{constructor(e){super(),ce(this,e,Hs,Bs,me,{compact:0})}}function Vs(s){let e,r;return e=new Er({}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p:X,i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}class dr extends ue{constructor(e){super(),ce(this,e,null,Vs,me,{})}}function Fs(s){let e,r,t,n,l;function o(a){s[2](a)}let i={id:"decode-event-history","data-testid":"decode-event-history-toggle"};return s[0]!==void 0&&(i.checked=s[0]),r=new nn({props:i}),Wr.push(()=>Sr(r,"checked",o)),{c(){e=I("label"),k(r.$$.fragment),n=N("View decoded event history"),this.h()},l(a){e=C(a,"LABEL",{slot:!0,for:!0,class:!0});var f=T(e);y(r.$$.fragment,f),n=R(f,"View decoded event history"),f.forEach(c),this.h()},h(){v(e,"slot","decode"),v(e,"for","decode-event-history"),v(e,"class","flex items-center gap-4 font-secondary text-sm w-96 min-w-fit sm:justify-end")},m(a,f){w(a,e,f),b(r,e,null),_(e,n),l=!0},p(a,f){const u={};!t&&f&1&&(t=!0,u.checked=a[0],Dr(()=>t=!1)),r.$set(u)},i(a){l||($(r.$$.fragment,a),l=!0)},o(a){p(r.$$.fragment,a),l=!1},d(a){a&&c(e),E(r)}}}function Ls(s){let e,r;return e=new ln({props:{events:s[1],$$slots:{decode:[Fs]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,[n]){const l={};n&2&&(l.events=t[1]),n&513&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function Os(s,e,r){let t,n;ee(s,ht,d=>r(3,t=d)),ee(s,Be,d=>r(4,n=d));const{namespace:l,workflow:o,run:i}=n.params;let a=!0,f=[];const u=async()=>{r(1,f=a?await $t({namespace:Se(l),workflowId:Se(o),runId:Se(i),settings:n.data.settings,accessToken:t==null?void 0:t.accessToken,sort:"ascending"}):await gr({namespace:Se(l),workflowId:Se(o),runId:Se(i),sort:"ascending"}))};function m(d){a=d,r(0,a)}return s.$$.update=()=>{s.$$.dirty&1&&u()},[a,f,m]}class js extends ue{constructor(e){super(),ce(this,e,Os,Ls,me,{})}}function Ms(s){let e,r;return e=new Er({props:{compact:!0}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p:X,i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}class Us extends ue{constructor(e){super(),ce(this,e,null,Ms,me,{})}}function qs(s){let e,r,t;var n=s[0];function l(o){return{}}return n&&(e=nt(n,l())),{c(){e&&k(e.$$.fragment),r=te()},l(o){e&&y(e.$$.fragment,o),r=te()},m(o,i){e&&b(e,o,i),w(o,r,i),t=!0},p(o,i){if(n!==(n=o[0])){if(e){K();const a=e;p(a.$$.fragment,1,0,()=>{E(a,1)}),G()}n?(e=nt(n,l()),k(e.$$.fragment),$(e.$$.fragment,1),b(e,r.parentNode,r)):e=null}},i(o){t||(e&&$(e.$$.fragment,o),t=!0)},o(o){e&&p(e.$$.fragment,o),t=!1},d(o){o&&c(r),e&&E(e,o)}}}function zs(s){let e,r,t,n;return e=new sn({props:{title:`Workflow History | ${s[2]}`,url:s[1].url.href}}),t=new Ns({props:{$$slots:{default:[qs]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment),r=S(),k(t.$$.fragment)},l(l){y(e.$$.fragment,l),r=D(l),y(t.$$.fragment,l)},m(l,o){b(e,l,o),w(l,r,o),b(t,l,o),n=!0},p(l,[o]){const i={};o&2&&(i.url=l[1].url.href),e.$set(i);const a={};o&65&&(a.$$scope={dirty:o,ctx:l}),t.$set(a)},i(l){n||($(e.$$.fragment,l),$(t.$$.fragment,l),n=!0)},o(l){p(e.$$.fragment,l),p(t.$$.fragment,l),n=!1},d(l){E(e,l),l&&c(r),E(t,l)}}}function Qs(s,e,r){let t,n,l;ee(s,ft,f=>r(4,n=f)),ee(s,Be,f=>r(1,l=f));var o;const i=l.params.workflow,a={feed:dr,compact:Us,json:js};return s.$$.update=()=>{s.$$.dirty&24&&r(0,t=r(3,o=a[n])!==null&&o!==void 0?o:dr)},[t,l,i,o,n]}class Ro extends ue{constructor(e){super(),ce(this,e,Qs,zs,me,{})}}export{Ro as default}; diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-page.ts.4ed993c7.js b/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-page.ts.4ed993c7.js deleted file mode 100644 index 8b13789179..0000000000 --- a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-page.ts.4ed993c7.js +++ /dev/null @@ -1 +0,0 @@ - diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-page.svelte.d7761eda.js b/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-page.svelte.d7761eda.js deleted file mode 100644 index 8827b06a64..0000000000 --- a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-page.svelte.d7761eda.js +++ /dev/null @@ -1 +0,0 @@ -import{S as s,b as t,a}from"../chunks/index.d29c66be.js";class o extends s{constructor(e){super(),t(this,e,null,null,a,{})}}export{o as default}; diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-page.ts.bf6101d9.js b/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-page.ts.bf6101d9.js deleted file mode 100644 index ef445de0a5..0000000000 --- a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-page.ts.bf6101d9.js +++ /dev/null @@ -1 +0,0 @@ -import"../chunks/index.b1f5b21f.js";import{l}from"../chunks/_page.2bedfed4.js";export{l as load}; diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-pending-activities-page.svelte.95c32b1b.js b/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-pending-activities-page.svelte.95c32b1b.js deleted file mode 100644 index 72c84d9a7d..0000000000 --- a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-pending-activities-page.svelte.95c32b1b.js +++ /dev/null @@ -1 +0,0 @@ -import{S as lt,b as rt,a as at,e as J,f as T,z as K,g as E,h as O,j as b,k as c,L as Pe,C as W,D as M,E as j,n as st,F as C,a1 as ft,a2 as nt,au as ot,m as $,w as I,c as k,p as h,q as d,x as A,d as w,u as S,M as u,y as q}from"../chunks/index.d29c66be.js";import{p as ut}from"../chunks/stores.1f7fa6eb.js";import{w as ct}from"../chunks/workflow-run.2461dc7d.js";import{I as mt}from"../chunks/icon.5aa23970.js";import{B as oe}from"../chunks/badge.2c189bf4.js";import{E as pt}from"../chunks/empty-state.bf113865.js";import{L as _t}from"../chunks/link.d5f6f19e.js";import{C as it}from"../chunks/code-block.fc92cd67.js";import{T as $t,a as ht}from"../chunks/table-header-row.a7bab5a4.js";import{T as dt}from"../chunks/table-row.4a68a50d.js";import{f as te}from"../chunks/format-date.100c5f23.js";import{j as Ce,D as qe}from"../chunks/format-time.66fea38b.js";import{k as Be,l as ze,j as Ue}from"../chunks/format-event-attributes.f0307b43.js";import{t as vt}from"../chunks/time-format.6ef667eb.js";import{t as Ve}from"../chunks/to-time-difference.be87d1bf.js";import{P as bt}from"../chunks/page-title.ba38eecf.js";function Ge(o,e,l){const t=o.slice();t[4]=e[l].id,t[5]=e[l].activityId,t[6]=ot(e[l],["id","activityId"]);const f=t[6].attempt>1;return t[7]=f,t}function gt(o){let e,l;return e=new pt({props:{title:"No Pending Activities"}}),{c(){W(e.$$.fragment)},l(t){M(e.$$.fragment,t)},m(t,f){j(e,t,f),l=!0},p:st,i(t){l||(b(e.$$.fragment,t),l=!0)},o(t){E(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function kt(o){let e,l;return e=new $t({props:{class:"mb-6 w-full min-w-[600px] table-fixed",$$slots:{headers:[Pt],default:[Ht]},$$scope:{ctx:o}}}),{c(){W(e.$$.fragment)},l(t){M(e.$$.fragment,t)},m(t,f){j(e,t,f),l=!0},p(t,f){const r={};f&1027&&(r.$$scope={dirty:f,ctx:t}),e.$set(r)},i(t){l||(b(e.$$.fragment,t),l=!0)},o(t){E(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function wt(o){let e=o[5]+"",l;return{c(){l=I(e)},l(t){l=A(t,e)},m(t,f){T(t,l,f)},p(t,f){f&1&&e!==(e=t[5]+"")&&q(l,e)},d(t){t&&c(l)}}}function Et(o){let e=o[6].activityType+"",l;return{c(){l=I(e)},l(t){l=A(t,e)},m(t,f){T(t,l,f)},p(t,f){f&1&&e!==(e=t[6].activityType+"")&&q(l,e)},d(t){t&&c(l)}}}function Je(o){let e,l;return e=new mt({props:{class:"mr-1",name:"retry"}}),{c(){W(e.$$.fragment)},l(t){M(e.$$.fragment,t)},m(t,f){j(e,t,f),l=!0},i(t){l||(b(e.$$.fragment,t),l=!0)},o(t){E(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function Tt(o){let e,l=o[6].attempt+"",t,f,r=o[7]&&Je();return{c(){r&&r.c(),e=k(),t=I(l)},l(a){r&&r.l(a),e=w(a),t=A(a,l)},m(a,s){r&&r.m(a,s),T(a,e,s),T(a,t,s),f=!0},p(a,s){a[7]?r?s&1&&b(r,1):(r=Je(),r.c(),b(r,1),r.m(e.parentNode,e)):r&&(K(),E(r,1,1,()=>{r=null}),O()),(!f||s&1)&&l!==(l=a[6].attempt+"")&&q(t,l)},i(a){f||(b(r),f=!0)},o(a){E(r),f=!1},d(a){r&&r.d(a),a&&c(e),a&&c(t)}}}function Ke(o){let e,l,t,f,r,a,s,i;r=new oe({props:{type:"error",$$slots:{default:[Lt]},$$scope:{ctx:o}}});let n=o[6].scheduledTime&&Oe(o);return{c(){e=$("li"),l=$("h4"),t=I("Attempts Left"),f=k(),W(r.$$.fragment),a=k(),n&&n.c(),s=J(),this.h()},l(_){e=h(_,"LI",{class:!0});var m=d(e);l=h(m,"H4",{});var g=d(l);t=A(g,"Attempts Left"),g.forEach(c),f=w(m),M(r.$$.fragment,m),m.forEach(c),a=w(_),n&&n.l(_),s=J(),this.h()},h(){S(e,"class","event-table-row svelte-pnunl5")},m(_,m){T(_,e,m),u(e,l),u(l,t),u(e,f),j(r,e,null),T(_,a,m),n&&n.m(_,m),T(_,s,m),i=!0},p(_,m){const g={};m&1025&&(g.$$scope={dirty:m,ctx:_}),r.$set(g),_[6].scheduledTime?n?(n.p(_,m),m&1&&b(n,1)):(n=Oe(_),n.c(),b(n,1),n.m(s.parentNode,s)):n&&(K(),E(n,1,1,()=>{n=null}),O())},i(_){i||(b(r.$$.fragment,_),b(n),i=!0)},o(_){E(r.$$.fragment,_),E(n),i=!1},d(_){_&&c(e),C(r),_&&c(a),n&&n.d(_),_&&c(s)}}}function Lt(o){let e=Be(o[6].maximumAttempts,o[6].attempt)+"",l;return{c(){l=I(e)},l(t){l=A(t,e)},m(t,f){T(t,l,f)},p(t,f){f&1&&e!==(e=Be(t[6].maximumAttempts,t[6].attempt)+"")&&q(l,e)},d(t){t&&c(l)}}}function Oe(o){let e,l,t,f,r,a;return r=new oe({props:{type:"error",$$slots:{default:[It]},$$scope:{ctx:o}}}),{c(){e=$("li"),l=$("h4"),t=I("Next Retry"),f=k(),W(r.$$.fragment),this.h()},l(s){e=h(s,"LI",{class:!0});var i=d(e);l=h(i,"H4",{});var n=d(l);t=A(n,"Next Retry"),n.forEach(c),f=w(i),M(r.$$.fragment,i),i.forEach(c),this.h()},h(){S(e,"class","event-table-row svelte-pnunl5")},m(s,i){T(s,e,i),u(e,l),u(l,t),u(e,f),j(r,e,null),a=!0},p(s,i){const n={};i&1025&&(n.$$scope={dirty:i,ctx:s}),r.$set(n)},i(s){a||(b(r.$$.fragment,s),a=!0)},o(s){E(r.$$.fragment,s),a=!1},d(s){s&&c(e),C(r)}}}function It(o){let e=Ve({date:o[6].scheduledTime,negativeDefault:"None"})+"",l;return{c(){l=I(e)},l(t){l=A(t,e)},m(t,f){T(t,l,f)},p(t,f){f&1&&e!==(e=Ve({date:t[6].scheduledTime,negativeDefault:"None"})+"")&&q(l,e)},d(t){t&&c(l)}}}function At(o){let e=ze(o[6].maximumAttempts)+"",l;return{c(){l=I(e)},l(t){l=A(t,e)},m(t,f){T(t,l,f)},p(t,f){f&1&&e!==(e=ze(t[6].maximumAttempts)+"")&&q(l,e)},d(t){t&&c(l)}}}function Qe(o){let e,l,t,f,r,a,s,i=Ue(o[6].maximumAttempts,Ce(qe({start:Date.now(),end:o[6].expirationTime})))+"",n,_,m=o[6].heartbeatDetails&&Xe(o),g=o[6].lastFailure&&Ye(o);return{c(){m&&m.c(),e=k(),g&&g.c(),l=k(),t=$("li"),f=$("h4"),r=I("Retry Expiration"),a=k(),s=$("p"),n=I(i),this.h()},l(v){m&&m.l(v),e=w(v),g&&g.l(v),l=w(v),t=h(v,"LI",{class:!0});var H=d(t);f=h(H,"H4",{});var X=d(f);r=A(X,"Retry Expiration"),X.forEach(c),a=w(H),s=h(H,"P",{});var Y=d(s);n=A(Y,i),Y.forEach(c),H.forEach(c),this.h()},h(){S(t,"class","event-table-row svelte-pnunl5")},m(v,H){m&&m.m(v,H),T(v,e,H),g&&g.m(v,H),T(v,l,H),T(v,t,H),u(t,f),u(f,r),u(t,a),u(t,s),u(s,n),_=!0},p(v,H){v[6].heartbeatDetails?m?(m.p(v,H),H&1&&b(m,1)):(m=Xe(v),m.c(),b(m,1),m.m(e.parentNode,e)):m&&(K(),E(m,1,1,()=>{m=null}),O()),v[6].lastFailure?g?(g.p(v,H),H&1&&b(g,1)):(g=Ye(v),g.c(),b(g,1),g.m(l.parentNode,l)):g&&(K(),E(g,1,1,()=>{g=null}),O()),(!_||H&1)&&i!==(i=Ue(v[6].maximumAttempts,Ce(qe({start:Date.now(),end:v[6].expirationTime})))+"")&&q(n,i)},i(v){_||(b(m),b(g),_=!0)},o(v){E(m),E(g),_=!1},d(v){m&&m.d(v),v&&c(e),g&&g.d(v),v&&c(l),v&&c(t)}}}function Xe(o){let e,l,t,f,r,a;return r=new it({props:{slot:"value",class:"pb-2",content:o[6].heartbeatDetails}}),{c(){e=$("li"),l=$("h4"),t=I("Heartbeat Details"),f=k(),W(r.$$.fragment),this.h()},l(s){e=h(s,"LI",{class:!0});var i=d(e);l=h(i,"H4",{});var n=d(l);t=A(n,"Heartbeat Details"),n.forEach(c),f=w(i),M(r.$$.fragment,i),i.forEach(c),this.h()},h(){S(e,"class","event-table-row svelte-pnunl5")},m(s,i){T(s,e,i),u(e,l),u(l,t),u(e,f),j(r,e,null),a=!0},p(s,i){const n={};i&1&&(n.content=s[6].heartbeatDetails),r.$set(n)},i(s){a||(b(r.$$.fragment,s),a=!0)},o(s){E(r.$$.fragment,s),a=!1},d(s){s&&c(e),C(r)}}}function Ye(o){let e,l,t,f,r,a;return r=new it({props:{slot:"value",class:"pb-2",content:o[6].lastFailure}}),{c(){e=$("li"),l=$("h4"),t=I("Last Failure"),f=k(),W(r.$$.fragment),this.h()},l(s){e=h(s,"LI",{class:!0});var i=d(e);l=h(i,"H4",{});var n=d(l);t=A(n,"Last Failure"),n.forEach(c),f=w(i),M(r.$$.fragment,i),i.forEach(c),this.h()},h(){S(e,"class","event-table-row svelte-pnunl5")},m(s,i){T(s,e,i),u(e,l),u(l,t),u(e,f),j(r,e,null),a=!0},p(s,i){const n={};i&1&&(n.content=s[6].lastFailure),r.$set(n)},i(s){a||(b(r.$$.fragment,s),a=!0)},o(s){E(r.$$.fragment,s),a=!1},d(s){s&&c(e),C(r)}}}function Ze(o){let e,l,t,f,r,a=te(o[6].lastStartedTime,o[1])+"",s;return{c(){e=$("li"),l=$("h4"),t=I("Last Started Time"),f=k(),r=$("p"),s=I(a),this.h()},l(i){e=h(i,"LI",{class:!0});var n=d(e);l=h(n,"H4",{});var _=d(l);t=A(_,"Last Started Time"),_.forEach(c),f=w(n),r=h(n,"P",{});var m=d(r);s=A(m,a),m.forEach(c),n.forEach(c),this.h()},h(){S(e,"class","event-table-row svelte-pnunl5")},m(i,n){T(i,e,n),u(e,l),u(l,t),u(e,f),u(e,r),u(r,s)},p(i,n){n&3&&a!==(a=te(i[6].lastStartedTime,i[1])+"")&&q(s,a)},d(i){i&&c(e)}}}function xe(o){let e,l,t,f,r,a=te(o[6].scheduledTime,o[1])+"",s;return{c(){e=$("li"),l=$("h4"),t=I("Scheduled Time"),f=k(),r=$("p"),s=I(a),this.h()},l(i){e=h(i,"LI",{class:!0});var n=d(e);l=h(n,"H4",{});var _=d(l);t=A(_,"Scheduled Time"),_.forEach(c),f=w(n),r=h(n,"P",{});var m=d(r);s=A(m,a),m.forEach(c),n.forEach(c),this.h()},h(){S(e,"class","event-table-row svelte-pnunl5")},m(i,n){T(i,e,n),u(e,l),u(l,t),u(e,f),u(e,r),u(r,s)},p(i,n){n&3&&a!==(a=te(i[6].scheduledTime,i[1])+"")&&q(s,a)},d(i){i&&c(e)}}}function et(o){let e,l,t,f,r,a=o[6].lastWorkerIdentity+"",s;return{c(){e=$("li"),l=$("h4"),t=I("Last Worker Identity"),f=k(),r=$("p"),s=I(a),this.h()},l(i){e=h(i,"LI",{class:!0});var n=d(e);l=h(n,"H4",{});var _=d(l);t=A(_,"Last Worker Identity"),_.forEach(c),f=w(n),r=h(n,"P",{});var m=d(r);s=A(m,a),m.forEach(c),n.forEach(c),this.h()},h(){S(e,"class","event-table-row svelte-pnunl5")},m(i,n){T(i,e,n),u(e,l),u(l,t),u(e,f),u(e,r),u(r,s)},p(i,n){n&1&&a!==(a=i[6].lastWorkerIdentity+"")&&q(s,a)},d(i){i&&c(e)}}}function Dt(o){let e,l,t,f,r,a,s,i,n,_,m,g,v,H,X,Y,B,ke,ue,z,le,we,Ee,U,Te,ce,V,re,Le,Ie,ae,se=te(o[6].lastHeartbeatTime,"relative")+"",me,Ae,G,ie,De,He,fe,ne=o[6].state+"",pe,ye,_e,$e,he,Z;t=new _t({props:{href:"#"+o[4],$$slots:{default:[wt]},$$scope:{ctx:o}}}),m=new oe({props:{type:o[7]?"error":"default",$$slots:{default:[Et]},$$scope:{ctx:o}}}),B=new oe({props:{type:o[7]?"error":"default",$$slots:{default:[Tt]},$$scope:{ctx:o}}});let y=o[7]&&Ke(o);U=new oe({props:{$$slots:{default:[At]},$$scope:{ctx:o}}});let P=o[7]&&Qe(o),N=o[6].lastStartedTime&&Ze(o),F=o[6].scheduledTime&&xe(o),R=o[6].lastWorkerIdentity&&et(o);return{c(){e=$("td"),l=$("div"),W(t.$$.fragment),f=k(),r=$("td"),a=$("ul"),s=$("li"),i=$("h4"),n=I("Activity Type"),_=k(),W(m.$$.fragment),g=k(),v=$("li"),H=$("h4"),X=I("Attempt"),Y=k(),W(B.$$.fragment),ke=k(),y&&y.c(),ue=k(),z=$("li"),le=$("h4"),we=I("Maximum Attempts"),Ee=k(),W(U.$$.fragment),Te=k(),P&&P.c(),ce=k(),V=$("li"),re=$("h4"),Le=I("Last Heartbeat"),Ie=k(),ae=$("p"),me=I(se),Ae=k(),G=$("li"),ie=$("h4"),De=I("State"),He=k(),fe=$("p"),pe=I(ne),ye=k(),N&&N.c(),_e=k(),F&&F.c(),$e=k(),R&&R.c(),he=k(),this.h()},l(p){e=h(p,"TD",{class:!0});var L=d(e);l=h(L,"DIV",{class:!0});var x=d(l);M(t.$$.fragment,x),x.forEach(c),L.forEach(c),f=w(p),r=h(p,"TD",{class:!0});var ee=d(r);a=h(ee,"UL",{});var D=d(a);s=h(D,"LI",{class:!0});var Q=d(s);i=h(Q,"H4",{class:!0});var Se=d(i);n=A(Se,"Activity Type"),Se.forEach(c),_=w(Q),M(m.$$.fragment,Q),Q.forEach(c),g=w(D),v=h(D,"LI",{class:!0});var de=d(v);H=h(de,"H4",{});var Ne=d(H);X=A(Ne,"Attempt"),Ne.forEach(c),Y=w(de),M(B.$$.fragment,de),de.forEach(c),ke=w(D),y&&y.l(D),ue=w(D),z=h(D,"LI",{class:!0});var ve=d(z);le=h(ve,"H4",{});var Fe=d(le);we=A(Fe,"Maximum Attempts"),Fe.forEach(c),Ee=w(ve),M(U.$$.fragment,ve),ve.forEach(c),Te=w(D),P&&P.l(D),ce=w(D),V=h(D,"LI",{class:!0});var be=d(V);re=h(be,"H4",{});var Re=d(re);Le=A(Re,"Last Heartbeat"),Re.forEach(c),Ie=w(be),ae=h(be,"P",{});var We=d(ae);me=A(We,se),We.forEach(c),be.forEach(c),Ae=w(D),G=h(D,"LI",{class:!0});var ge=d(G);ie=h(ge,"H4",{});var Me=d(ie);De=A(Me,"State"),Me.forEach(c),He=w(ge),fe=h(ge,"P",{});var je=d(fe);pe=A(je,ne),je.forEach(c),ge.forEach(c),ye=w(D),N&&N.l(D),_e=w(D),F&&F.l(D),$e=w(D),R&&R.l(D),D.forEach(c),ee.forEach(c),he=w(p),this.h()},h(){S(l,"class","pt-1"),S(e,"class","w-44 items-start break-all py-5 pl-5 pr-2 align-top"),S(i,"class","font-semibold"),S(s,"class","event-table-row svelte-pnunl5"),S(v,"class","event-table-row svelte-pnunl5"),S(z,"class","event-table-row svelte-pnunl5"),S(V,"class","event-table-row svelte-pnunl5"),S(G,"class","event-table-row svelte-pnunl5"),S(r,"class","py-4 px-5")},m(p,L){T(p,e,L),u(e,l),j(t,l,null),T(p,f,L),T(p,r,L),u(r,a),u(a,s),u(s,i),u(i,n),u(s,_),j(m,s,null),u(a,g),u(a,v),u(v,H),u(H,X),u(v,Y),j(B,v,null),u(a,ke),y&&y.m(a,null),u(a,ue),u(a,z),u(z,le),u(le,we),u(z,Ee),j(U,z,null),u(a,Te),P&&P.m(a,null),u(a,ce),u(a,V),u(V,re),u(re,Le),u(V,Ie),u(V,ae),u(ae,me),u(a,Ae),u(a,G),u(G,ie),u(ie,De),u(G,He),u(G,fe),u(fe,pe),u(a,ye),N&&N.m(a,null),u(a,_e),F&&F.m(a,null),u(a,$e),R&&R.m(a,null),T(p,he,L),Z=!0},p(p,L){const x={};L&1&&(x.href="#"+p[4]),L&1025&&(x.$$scope={dirty:L,ctx:p}),t.$set(x);const ee={};L&1&&(ee.type=p[7]?"error":"default"),L&1025&&(ee.$$scope={dirty:L,ctx:p}),m.$set(ee);const D={};L&1&&(D.type=p[7]?"error":"default"),L&1025&&(D.$$scope={dirty:L,ctx:p}),B.$set(D),p[7]?y?(y.p(p,L),L&1&&b(y,1)):(y=Ke(p),y.c(),b(y,1),y.m(a,ue)):y&&(K(),E(y,1,1,()=>{y=null}),O());const Q={};L&1025&&(Q.$$scope={dirty:L,ctx:p}),U.$set(Q),p[7]?P?(P.p(p,L),L&1&&b(P,1)):(P=Qe(p),P.c(),b(P,1),P.m(a,ce)):P&&(K(),E(P,1,1,()=>{P=null}),O()),(!Z||L&1)&&se!==(se=te(p[6].lastHeartbeatTime,"relative")+"")&&q(me,se),(!Z||L&1)&&ne!==(ne=p[6].state+"")&&q(pe,ne),p[6].lastStartedTime?N?N.p(p,L):(N=Ze(p),N.c(),N.m(a,_e)):N&&(N.d(1),N=null),p[6].scheduledTime?F?F.p(p,L):(F=xe(p),F.c(),F.m(a,$e)):F&&(F.d(1),F=null),p[6].lastWorkerIdentity?R?R.p(p,L):(R=et(p),R.c(),R.m(a,null)):R&&(R.d(1),R=null)},i(p){Z||(b(t.$$.fragment,p),b(m.$$.fragment,p),b(B.$$.fragment,p),b(y),b(U.$$.fragment,p),b(P),Z=!0)},o(p){E(t.$$.fragment,p),E(m.$$.fragment,p),E(B.$$.fragment,p),E(y),E(U.$$.fragment,p),E(P),Z=!1},d(p){p&&c(e),C(t),p&&c(f),p&&c(r),C(m),C(B),y&&y.d(),C(U),P&&P.d(),N&&N.d(),F&&F.d(),R&&R.d(),p&&c(he)}}}function tt(o,e){let l,t,f;return t=new dt({props:{$$slots:{default:[Dt]},$$scope:{ctx:e}}}),{key:o,first:null,c(){l=J(),W(t.$$.fragment),this.h()},l(r){l=J(),M(t.$$.fragment,r),this.h()},h(){this.first=l},m(r,a){T(r,l,a),j(t,r,a),f=!0},p(r,a){e=r;const s={};a&1027&&(s.$$scope={dirty:a,ctx:e}),t.$set(s)},i(r){f||(b(t.$$.fragment,r),f=!0)},o(r){E(t.$$.fragment,r),f=!1},d(r){r&&c(l),C(t,r)}}}function Ht(o){let e=[],l=new Map,t,f,r=o[0];const a=s=>s[4];for(let s=0;s{a[_]=null}),O(),l=a[e],l?l.p(i,n):(l=a[e]=r[e](i),l.c()),b(l,1),l.m(t.parentNode,t))},i(i){f||(b(l),f=!0)},o(i){E(l),f=!1},d(i){a[e].d(i),i&&c(t)}}}function Nt(o,e,l){let t,f,r;Pe(o,ct,s=>l(3,f=s)),Pe(o,vt,s=>l(1,r=s));var a;return o.$$.update=()=>{o.$$.dirty&12&&l(0,t=l(2,a=f.workflow)===null||a===void 0?void 0:a.pendingActivities)},[t,r,a,f]}class Ft extends lt{constructor(e){super(),rt(this,e,Nt,St,at,{})}}function Rt(o){let e,l,t,f;return e=new bt({props:{title:`Pending Activities | ${o[1]}`,url:o[0].url.href}}),t=new Ft({}),{c(){W(e.$$.fragment),l=k(),W(t.$$.fragment)},l(r){M(e.$$.fragment,r),l=w(r),M(t.$$.fragment,r)},m(r,a){j(e,r,a),T(r,l,a),j(t,r,a),f=!0},p(r,[a]){const s={};a&1&&(s.url=r[0].url.href),e.$set(s)},i(r){f||(b(e.$$.fragment,r),b(t.$$.fragment,r),f=!0)},o(r){E(e.$$.fragment,r),E(t.$$.fragment,r),f=!1},d(r){C(e,r),r&&c(l),C(t,r)}}}function Wt(o,e,l){let t;Pe(o,ut,r=>l(0,t=r));const f=t.params.workflow;return[t,f]}class xt extends lt{constructor(e){super(),rt(this,e,Wt,Rt,at,{})}}export{xt as default}; diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-stack-trace-page.svelte.825638f2.js b/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-stack-trace-page.svelte.825638f2.js deleted file mode 100644 index acdc76e52e..0000000000 --- a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-stack-trace-page.svelte.825638f2.js +++ /dev/null @@ -1 +0,0 @@ -import{S as B,b as F,a as O,m as E,p as S,q as L,k as _,f as d,z as U,g as k,h as j,j as $,L as C,C as w,D as v,E as T,F as y,ar as Q,e as D,as as H,w as h,x as b,M as g,y as z,n as A,c as I,d as q,u as N}from"../chunks/index.d29c66be.js";import{p as M}from"../chunks/stores.1f7fa6eb.js";import{w as J}from"../chunks/workflow-run.2461dc7d.js";import{b as W}from"../chunks/query-service.2b2ddc65.js";import{C as K}from"../chunks/code-block.fc92cd67.js";import{B as X}from"../chunks/button.e7112b29.js";import{E as G}from"../chunks/empty-state.bf113865.js";import{L as Y}from"../chunks/loading.9b5a6a67.js";import{L as Z}from"../chunks/link.d5f6f19e.js";import{a as x}from"../chunks/auth-user.ead5c000.js";import{P as ee}from"../chunks/page-title.ba38eecf.js";function te(c){let t,r;return t=new G({props:{title:"No Stack Traces Found",testId:"query-stack-trace-empty",$$slots:{default:[oe]},$$scope:{ctx:c}}}),{c(){w(t.$$.fragment)},l(e){v(t.$$.fragment,e)},m(e,o){T(t,e,o),r=!0},p(e,o){const n={};o&4105&&(n.$$scope={dirty:o,ctx:e}),t.$set(n)},i(e){r||($(t.$$.fragment,e),r=!0)},o(e){k(t.$$.fragment,e),r=!1},d(e){y(t,e)}}}function re(c){let t,r,e,o={ctx:c,current:null,token:null,hasCatch:!0,pending:ce,then:le,catch:ae,value:10,error:11,blocks:[,,,]};return Q(r=c[2],o),{c(){t=D(),o.block.c()},l(n){t=D(),o.block.l(n)},m(n,a){d(n,t,a),o.block.m(n,o.anchor=a),o.mount=()=>t.parentNode,o.anchor=t,e=!0},p(n,a){c=n,o.ctx=c,a&4&&r!==(r=c[2])&&Q(r,o)||H(o,c,a)},i(n){e||($(o.block),e=!0)},o(n){for(let a=0;a<3;a+=1){const l=o.blocks[a];k(l)}e=!1},d(n){n&&_(t),o.block.d(n),o.token=null,o=null}}}function V(c){var p;let t,r,e,o,n=((p=c[0])==null?void 0:p.taskQueue)+"",a,l,s;return e=new Z({props:{href:"https://docs.temporal.io/workflows#stack-trace-query",$$slots:{default:[ne]},$$scope:{ctx:c}}}),{c(){t=E("p"),r=h("To enable "),w(e.$$.fragment),o=h(", run a Worker on the "),a=h(n),l=h(" Task Queue.")},l(i){t=S(i,"P",{});var f=L(t);r=b(f,"To enable "),v(e.$$.fragment,f),o=b(f,", run a Worker on the "),a=b(f,n),l=b(f," Task Queue."),f.forEach(_)},m(i,f){d(i,t,f),g(t,r),T(e,t,null),g(t,o),g(t,a),g(t,l),s=!0},p(i,f){var u;const m={};f&4096&&(m.$$scope={dirty:f,ctx:i}),e.$set(m),(!s||f&1)&&n!==(n=((u=i[0])==null?void 0:u.taskQueue)+"")&&z(a,n)},i(i){s||($(e.$$.fragment,i),s=!0)},o(i){k(e.$$.fragment,i),s=!1},d(i){i&&_(t),y(e)}}}function ne(c){let t;return{c(){t=h("stack traces")},l(r){t=b(r,"stack traces")},m(r,e){d(r,t,e)},d(r){r&&_(t)}}}function oe(c){var o,n,a;let t,r,e=((o=c[0])==null?void 0:o.isRunning)&&((a=(n=c[3])==null?void 0:n.pollers)==null?void 0:a.length)===0&&V(c);return{c(){e&&e.c(),t=D()},l(l){e&&e.l(l),t=D()},m(l,s){e&&e.m(l,s),d(l,t,s),r=!0},p(l,s){var p,i,f;(p=l[0])!=null&&p.isRunning&&((f=(i=l[3])==null?void 0:i.pollers)==null?void 0:f.length)===0?e?(e.p(l,s),s&9&&$(e,1)):(e=V(l),e.c(),$(e,1),e.m(t.parentNode,t)):e&&(U(),k(e,1,1,()=>{e=null}),j())},i(l){r||($(e),r=!0)},o(l){k(e),r=!1},d(l){e&&e.d(l),l&&_(t)}}}function ae(c){let t,r;return t=new G({props:{title:"An Error Occured",content:"Please make sure you have at least one worker running."}}),{c(){w(t.$$.fragment)},l(e){v(t.$$.fragment,e)},m(e,o){T(t,e,o),r=!0},p:A,i(e){r||($(t.$$.fragment,e),r=!0)},o(e){k(t.$$.fragment,e),r=!1},d(e){y(t,e)}}}function le(c){let t,r,e,o,n,a=c[1].toLocaleTimeString()+"",l,s,p,i,f;return r=new X({props:{icon:"retry",loading:ue,$$slots:{default:[se]},$$scope:{ctx:c}}}),r.$on("click",c[4]),i=new K({props:{content:c[10],language:"text",testId:"query-stack-trace"}}),{c(){t=E("div"),w(r.$$.fragment),e=I(),o=E("p"),n=h("Stack Trace at "),l=h(a),s=I(),p=E("div"),w(i.$$.fragment),this.h()},l(m){t=S(m,"DIV",{class:!0});var u=L(t);v(r.$$.fragment,u),e=q(u),o=S(u,"P",{});var R=L(o);n=b(R,"Stack Trace at "),l=b(R,a),R.forEach(_),u.forEach(_),s=q(m),p=S(m,"DIV",{class:!0});var P=L(p);v(i.$$.fragment,P),P.forEach(_),this.h()},h(){N(t,"class","flex items-center gap-4"),N(p,"class","flex items-start h-full")},m(m,u){d(m,t,u),T(r,t,null),g(t,e),g(t,o),g(o,n),g(o,l),d(m,s,u),d(m,p,u),T(i,p,null),f=!0},p(m,u){const R={};u&4096&&(R.$$scope={dirty:u,ctx:m}),r.$set(R),(!f||u&2)&&a!==(a=m[1].toLocaleTimeString()+"")&&z(l,a);const P={};u&4&&(P.content=m[10]),i.$set(P)},i(m){f||($(r.$$.fragment,m),$(i.$$.fragment,m),f=!0)},o(m){k(r.$$.fragment,m),k(i.$$.fragment,m),f=!1},d(m){m&&_(t),y(r),m&&_(s),m&&_(p),y(i)}}}function se(c){let t;return{c(){t=h("Refresh")},l(r){t=b(r,"Refresh")},m(r,e){d(r,t,e)},d(r){r&&_(t)}}}function ce(c){let t,r,e,o,n,a;return r=new Y({}),{c(){t=E("div"),w(r.$$.fragment),e=I(),o=E("p"),n=h("(This will fail if you have no workers running.)"),this.h()},l(l){t=S(l,"DIV",{class:!0});var s=L(t);v(r.$$.fragment,s),e=q(s),o=S(s,"P",{});var p=L(o);n=b(p,"(This will fail if you have no workers running.)"),p.forEach(_),s.forEach(_),this.h()},h(){N(t,"class","text-center")},m(l,s){d(l,t,s),T(r,t,null),g(t,e),g(t,o),g(o,n),a=!0},p:A,i(l){a||($(r.$$.fragment,l),a=!0)},o(l){k(r.$$.fragment,l),a=!1},d(l){l&&_(t),y(r)}}}function ie(c){let t,r,e,o;const n=[re,te],a=[];function l(s,p){var i,f,m;return(i=s[0])!=null&&i.isRunning&&((m=(f=s[3])==null?void 0:f.pollers)==null?void 0:m.length)>0?0:1}return r=l(c),e=a[r]=n[r](c),{c(){t=E("section"),e.c()},l(s){t=S(s,"SECTION",{});var p=L(t);e.l(p),p.forEach(_)},m(s,p){d(s,t,p),a[r].m(t,null),o=!0},p(s,[p]){let i=r;r=l(s),r===i?a[r].p(s,p):(U(),k(a[i],1,1,()=>{a[i]=null}),j(),e=a[r],e?e.p(s,p):(e=a[r]=n[r](s),e.c()),$(e,1),e.m(t,null))},i(s){o||($(e),o=!0)},o(s){k(e),o=!1},d(s){s&&_(t),a[r].d()}}}let ue=!1;function fe(c,t,r){let e,o,n,a,l;C(c,x,u=>r(6,n=u)),C(c,M,u=>r(7,a=u)),C(c,J,u=>r(5,l=u));const{namespace:s}=a.params;let p=new Date;const i=()=>{var u;return W({workflow:e,namespace:s},(u=a.data)===null||u===void 0?void 0:u.settings,n==null?void 0:n.accessToken)};let f;const m=()=>{var u;r(2,f=W({workflow:e,namespace:s},(u=a.data)===null||u===void 0?void 0:u.settings,n==null?void 0:n.accessToken)),f.then(()=>{r(1,p=new Date)})};return c.$$.update=()=>{c.$$.dirty&32&&r(0,{workflow:e,workers:o}=l,e,(r(3,o),r(5,l))),c.$$.dirty&1&&e!=null&&e.isRunning&&r(2,f=i())},[e,p,f,o,m,l]}class me extends B{constructor(t){super(),F(this,t,fe,ie,O,{})}}function pe(c){let t,r,e,o;return t=new ee({props:{title:`Stack Trace | ${c[1]}`,url:c[0].url.href}}),e=new me({}),{c(){w(t.$$.fragment),r=I(),w(e.$$.fragment)},l(n){v(t.$$.fragment,n),r=q(n),v(e.$$.fragment,n)},m(n,a){T(t,n,a),d(n,r,a),T(e,n,a),o=!0},p(n,[a]){const l={};a&1&&(l.url=n[0].url.href),t.$set(l)},i(n){o||($(t.$$.fragment,n),$(e.$$.fragment,n),o=!0)},o(n){k(t.$$.fragment,n),k(e.$$.fragment,n),o=!1},d(n){y(t,n),n&&_(r),y(e,n)}}}function _e(c,t,r){let e;C(c,M,n=>r(0,e=n));const o=e.params.workflow;return[e,o]}class Se extends B{constructor(t){super(),F(this,t,_e,pe,O,{})}}export{Se as default}; diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-page.ts.fde3a77e.js b/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-page.ts.fde3a77e.js deleted file mode 100644 index 9e73f67d94..0000000000 --- a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-page.ts.fde3a77e.js +++ /dev/null @@ -1 +0,0 @@ -import{s as o}from"../chunks/_page.b14944b6.js";export{o as ssr}; diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-page.ts.2f87d2ba.js b/ui/assets/cloud/_app/immutable/entry/(app)-page.ts.2f87d2ba.js deleted file mode 100644 index e93b152919..0000000000 --- a/ui/assets/cloud/_app/immutable/entry/(app)-page.ts.2f87d2ba.js +++ /dev/null @@ -1 +0,0 @@ -import"../chunks/index.b1f5b21f.js";import"../chunks/route-for.5e008fb6.js";import{l as t}from"../chunks/_page.c4d10a05.js";export{t as load}; diff --git a/ui/assets/cloud/_app/immutable/entry/(login)-layout.svelte.025dfd6f.js b/ui/assets/cloud/_app/immutable/entry/(login)-layout.svelte.025dfd6f.js deleted file mode 100644 index ccb0f36781..0000000000 --- a/ui/assets/cloud/_app/immutable/entry/(login)-layout.svelte.025dfd6f.js +++ /dev/null @@ -1 +0,0 @@ -import{S as o,b as i,a as r,G as u,H as f,I as _,J as c,j as p,g as d}from"../chunks/index.d29c66be.js";function m(n){let s;const l=n[1].default,e=u(l,n,n[0],null);return{c(){e&&e.c()},l(t){e&&e.l(t)},m(t,a){e&&e.m(t,a),s=!0},p(t,[a]){e&&e.p&&(!s||a&1)&&f(e,l,t,t[0],s?c(l,t[0],a,null):_(t[0]),null)},i(t){s||(p(e,t),s=!0)},o(t){d(e,t),s=!1},d(t){e&&e.d(t)}}}function $(n,s,l){let{$$slots:e={},$$scope:t}=s;return n.$$set=a=>{"$$scope"in a&&l(0,t=a.$$scope)},[t,e]}class b extends o{constructor(s){super(),i(this,s,$,m,r,{})}}export{b as default}; diff --git a/ui/assets/cloud/_app/immutable/entry/(login)-layout.ts.717b09e7.js b/ui/assets/cloud/_app/immutable/entry/(login)-layout.ts.717b09e7.js deleted file mode 100644 index f35f30ce6b..0000000000 --- a/ui/assets/cloud/_app/immutable/entry/(login)-layout.ts.717b09e7.js +++ /dev/null @@ -1 +0,0 @@ -/* empty css */import"../chunks/index.b1f5b21f.js";import"../chunks/settings-service.3ce5ddfc.js";import{l as t,s as a}from"../chunks/_layout.78b2222c.js";export{t as load,a as ssr}; diff --git a/ui/assets/cloud/_app/immutable/entry/(login)-login-page.svelte.5e61f9e4.js b/ui/assets/cloud/_app/immutable/entry/(login)-login-page.svelte.5e61f9e4.js deleted file mode 100644 index c7fc165792..0000000000 --- a/ui/assets/cloud/_app/immutable/entry/(login)-login-page.svelte.5e61f9e4.js +++ /dev/null @@ -1 +0,0 @@ -import{S as U,b as z,a as J,C as B,c as w,m as _,w as I,D as H,d as x,p as h,q as $,k as i,x as D,ab as K,u as l,E as M,f as y,M as u,j as T,g as V,F as W,L as Q,n as X}from"../chunks/index.d29c66be.js";import{p as Y}from"../chunks/stores.1f7fa6eb.js";import{P as Z}from"../chunks/page-title.ba38eecf.js";import{B as tt}from"../chunks/button.e7112b29.js";import{s as et}from"../chunks/route-for.5e008fb6.js";import{F as at,L as st}from"../chunks/feedback-button.689bf634.js";function rt(c){let e;return{c(){e=I("Continue to SSO")},l(s){e=D(s,"Continue to SSO")},m(s,a){y(s,e,a)},d(s){s&&i(e)}}}function nt(c){let e,s,a;return{c(){e=_("div"),s=_("p"),a=I(c[2]),this.h()},l(r){e=h(r,"DIV",{class:!0});var n=$(e);s=h(n,"P",{class:!0});var b=$(s);a=D(b,c[2]),b.forEach(i),n.forEach(i),this.h()},h(){l(s,"class","rounded-md border-2 border-orange-500 bg-orange-100 p-5 text-center"),l(e,"class","my-12 flex flex-col items-center justify-start gap-2")},m(r,n){y(r,e,n),u(e,s),u(s,a)},p:X,d(r){r&&i(e)}}}function ot(c){let e,s,a,r,n,b,P,m,S,f,v,F,j,E,q,A,k,p,O,C;e=new Z({props:{title:"Login",url:c[0].url.href}}),m=new at({}),p=new tt({props:{testId:"login-button",variant:"login",icon:"lock",$$slots:{default:[rt]},$$scope:{ctx:c}}}),p.$on("click",c[4]);let g=c[2]&&nt(c);return{c(){B(e.$$.fragment),s=w(),a=_("header"),r=_("a"),n=_("img"),P=w(),B(m.$$.fragment),S=w(),f=_("section"),v=_("h1"),F=I("Welcome back."),j=w(),E=_("p"),q=I("Let's get you signed in."),A=w(),k=_("div"),B(p.$$.fragment),O=w(),g&&g.c(),this.h()},l(t){H(e.$$.fragment,t),s=x(t),a=h(t,"HEADER",{class:!0});var o=$(a);r=h(o,"A",{href:!0,class:!0});var L=$(r);n=h(L,"IMG",{src:!0,alt:!0,class:!0}),L.forEach(i),P=x(o),H(m.$$.fragment,o),o.forEach(i),S=x(t),f=h(t,"SECTION",{class:!0});var d=$(f);v=h(d,"H1",{class:!0,"data-testid":!0});var G=$(v);F=D(G,"Welcome back."),G.forEach(i),j=x(d),E=h(d,"P",{class:!0,"data-testid":!0});var N=$(E);q=D(N,"Let's get you signed in."),N.forEach(i),A=x(d),k=h(d,"DIV",{class:!0});var R=$(k);H(p.$$.fragment,R),R.forEach(i),O=x(d),g&&g.l(d),d.forEach(i),this.h()},h(){K(n.src,b=st)||l(n,"src",b),l(n,"alt","Temporal Logo"),l(n,"class","max-h-10"),l(r,"href","/"),l(r,"class","inline-block"),l(a,"class","flex h-16 w-full items-center justify-between bg-primary px-10"),l(v,"class","text-8xl font-semibold"),l(v,"data-testid","login-title"),l(E,"class","my-7"),l(E,"data-testid","login-info"),l(k,"class","mx-auto"),l(f,"class","my-[20vh] text-center")},m(t,o){M(e,t,o),y(t,s,o),y(t,a,o),u(a,r),u(r,n),u(a,P),M(m,a,null),y(t,S,o),y(t,f,o),u(f,v),u(v,F),u(f,j),u(f,E),u(E,q),u(f,A),u(f,k),M(p,k,null),u(f,O),g&&g.m(f,null),C=!0},p(t,[o]){const L={};o&1&&(L.url=t[0].url.href),e.$set(L);const d={};o&32&&(d.$$scope={dirty:o,ctx:t}),p.$set(d),t[2]&&g.p(t,o)},i(t){C||(T(e.$$.fragment,t),T(m.$$.fragment,t),T(p.$$.fragment,t),C=!0)},o(t){V(e.$$.fragment,t),V(m.$$.fragment,t),V(p.$$.fragment,t),C=!1},d(t){W(e,t),t&&i(s),t&&i(a),W(m),t&&i(S),t&&i(f),W(p),g&&g.d()}}}function lt(c,e,s){let a;Q(c,Y,m=>s(0,a=m));let{data:r}=e,{settings:n}=r;const b=a.url.searchParams.get("error"),P=()=>{window.location.assign(et({settings:n,searchParams:a.url.searchParams,originUrl:a.url.origin}))};return c.$$set=m=>{"data"in m&&s(3,r=m.data)},[a,n,b,r,P]}class pt extends U{constructor(e){super(),z(this,e,lt,ot,J,{data:3})}}export{pt as default}; diff --git a/ui/assets/cloud/_app/immutable/entry/(login)-signin-page.svelte.5e61f9e4.js b/ui/assets/cloud/_app/immutable/entry/(login)-signin-page.svelte.5e61f9e4.js deleted file mode 100644 index c7fc165792..0000000000 --- a/ui/assets/cloud/_app/immutable/entry/(login)-signin-page.svelte.5e61f9e4.js +++ /dev/null @@ -1 +0,0 @@ -import{S as U,b as z,a as J,C as B,c as w,m as _,w as I,D as H,d as x,p as h,q as $,k as i,x as D,ab as K,u as l,E as M,f as y,M as u,j as T,g as V,F as W,L as Q,n as X}from"../chunks/index.d29c66be.js";import{p as Y}from"../chunks/stores.1f7fa6eb.js";import{P as Z}from"../chunks/page-title.ba38eecf.js";import{B as tt}from"../chunks/button.e7112b29.js";import{s as et}from"../chunks/route-for.5e008fb6.js";import{F as at,L as st}from"../chunks/feedback-button.689bf634.js";function rt(c){let e;return{c(){e=I("Continue to SSO")},l(s){e=D(s,"Continue to SSO")},m(s,a){y(s,e,a)},d(s){s&&i(e)}}}function nt(c){let e,s,a;return{c(){e=_("div"),s=_("p"),a=I(c[2]),this.h()},l(r){e=h(r,"DIV",{class:!0});var n=$(e);s=h(n,"P",{class:!0});var b=$(s);a=D(b,c[2]),b.forEach(i),n.forEach(i),this.h()},h(){l(s,"class","rounded-md border-2 border-orange-500 bg-orange-100 p-5 text-center"),l(e,"class","my-12 flex flex-col items-center justify-start gap-2")},m(r,n){y(r,e,n),u(e,s),u(s,a)},p:X,d(r){r&&i(e)}}}function ot(c){let e,s,a,r,n,b,P,m,S,f,v,F,j,E,q,A,k,p,O,C;e=new Z({props:{title:"Login",url:c[0].url.href}}),m=new at({}),p=new tt({props:{testId:"login-button",variant:"login",icon:"lock",$$slots:{default:[rt]},$$scope:{ctx:c}}}),p.$on("click",c[4]);let g=c[2]&&nt(c);return{c(){B(e.$$.fragment),s=w(),a=_("header"),r=_("a"),n=_("img"),P=w(),B(m.$$.fragment),S=w(),f=_("section"),v=_("h1"),F=I("Welcome back."),j=w(),E=_("p"),q=I("Let's get you signed in."),A=w(),k=_("div"),B(p.$$.fragment),O=w(),g&&g.c(),this.h()},l(t){H(e.$$.fragment,t),s=x(t),a=h(t,"HEADER",{class:!0});var o=$(a);r=h(o,"A",{href:!0,class:!0});var L=$(r);n=h(L,"IMG",{src:!0,alt:!0,class:!0}),L.forEach(i),P=x(o),H(m.$$.fragment,o),o.forEach(i),S=x(t),f=h(t,"SECTION",{class:!0});var d=$(f);v=h(d,"H1",{class:!0,"data-testid":!0});var G=$(v);F=D(G,"Welcome back."),G.forEach(i),j=x(d),E=h(d,"P",{class:!0,"data-testid":!0});var N=$(E);q=D(N,"Let's get you signed in."),N.forEach(i),A=x(d),k=h(d,"DIV",{class:!0});var R=$(k);H(p.$$.fragment,R),R.forEach(i),O=x(d),g&&g.l(d),d.forEach(i),this.h()},h(){K(n.src,b=st)||l(n,"src",b),l(n,"alt","Temporal Logo"),l(n,"class","max-h-10"),l(r,"href","/"),l(r,"class","inline-block"),l(a,"class","flex h-16 w-full items-center justify-between bg-primary px-10"),l(v,"class","text-8xl font-semibold"),l(v,"data-testid","login-title"),l(E,"class","my-7"),l(E,"data-testid","login-info"),l(k,"class","mx-auto"),l(f,"class","my-[20vh] text-center")},m(t,o){M(e,t,o),y(t,s,o),y(t,a,o),u(a,r),u(r,n),u(a,P),M(m,a,null),y(t,S,o),y(t,f,o),u(f,v),u(v,F),u(f,j),u(f,E),u(E,q),u(f,A),u(f,k),M(p,k,null),u(f,O),g&&g.m(f,null),C=!0},p(t,[o]){const L={};o&1&&(L.url=t[0].url.href),e.$set(L);const d={};o&32&&(d.$$scope={dirty:o,ctx:t}),p.$set(d),t[2]&&g.p(t,o)},i(t){C||(T(e.$$.fragment,t),T(m.$$.fragment,t),T(p.$$.fragment,t),C=!0)},o(t){V(e.$$.fragment,t),V(m.$$.fragment,t),V(p.$$.fragment,t),C=!1},d(t){W(e,t),t&&i(s),t&&i(a),W(m),t&&i(S),t&&i(f),W(p),g&&g.d()}}}function lt(c,e,s){let a;Q(c,Y,m=>s(0,a=m));let{data:r}=e,{settings:n}=r;const b=a.url.searchParams.get("error"),P=()=>{window.location.assign(et({settings:n,searchParams:a.url.searchParams,originUrl:a.url.origin}))};return c.$$set=m=>{"data"in m&&s(3,r=m.data)},[a,n,b,r,P]}class pt extends U{constructor(e){super(),z(this,e,lt,ot,J,{data:3})}}export{pt as default}; diff --git a/ui/assets/cloud/_app/immutable/entry/_layout.ts.b8c5dadf.js b/ui/assets/cloud/_app/immutable/entry/_layout.ts.b8c5dadf.js deleted file mode 100644 index 1a259cf8fb..0000000000 --- a/ui/assets/cloud/_app/immutable/entry/_layout.ts.b8c5dadf.js +++ /dev/null @@ -1 +0,0 @@ -import"../chunks/index.d29c66be.js";import{l as m,s as p}from"../chunks/_layout.42e1b349.js";import"../chunks/index.9b9e188f.js";export{m as load,p as ssr}; diff --git a/ui/assets/cloud/_app/immutable/entry/layout.svelte.025dfd6f.js b/ui/assets/cloud/_app/immutable/entry/layout.svelte.025dfd6f.js deleted file mode 100644 index ccb0f36781..0000000000 --- a/ui/assets/cloud/_app/immutable/entry/layout.svelte.025dfd6f.js +++ /dev/null @@ -1 +0,0 @@ -import{S as o,b as i,a as r,G as u,H as f,I as _,J as c,j as p,g as d}from"../chunks/index.d29c66be.js";function m(n){let s;const l=n[1].default,e=u(l,n,n[0],null);return{c(){e&&e.c()},l(t){e&&e.l(t)},m(t,a){e&&e.m(t,a),s=!0},p(t,[a]){e&&e.p&&(!s||a&1)&&f(e,l,t,t[0],s?c(l,t[0],a,null):_(t[0]),null)},i(t){s||(p(e,t),s=!0)},o(t){d(e,t),s=!1},d(t){e&&e.d(t)}}}function $(n,s,l){let{$$slots:e={},$$scope:t}=s;return n.$$set=a=>{"$$scope"in a&&l(0,t=a.$$scope)},[t,e]}class b extends o{constructor(s){super(),i(this,s,$,m,r,{})}}export{b as default}; diff --git a/ui/assets/cloud/_app/immutable/entry/start.c9079a4d.js b/ui/assets/cloud/_app/immutable/entry/start.c9079a4d.js deleted file mode 100644 index 7afad583c7..0000000000 --- a/ui/assets/cloud/_app/immutable/entry/start.c9079a4d.js +++ /dev/null @@ -1,3 +0,0 @@ -import{o as Ce,t as se}from"../chunks/index.d29c66be.js";import{S as ze,a as Be,I as q,g as qe,f as Fe,b as ge,c as ce,s as M,i as ye,d as Q,P as Me,e as We}from"../chunks/singletons.6d6802f9.js";import{b as z}from"../chunks/paths.fd839acd.js";import{R as He,H as ee}from"../chunks/control.e7f5239e.js";function Xe(n,i){return n==="/"||i==="ignore"?n:i==="never"?n.endsWith("/")?n.slice(0,-1):n:i==="always"&&!n.endsWith("/")?n+"/":n}function Ze(n){return n.split("%25").map(decodeURI).join("%25")}function Qe(n){for(const i in n)n[i]=decodeURIComponent(n[i]);return n}const et=["href","pathname","search","searchParams","toString","toJSON"];function tt(n,i){const p=new URL(n);for(const c of et){let u=p[c];Object.defineProperty(p,c,{get(){return i(),u},enumerable:!0,configurable:!0})}return nt(p),p}function nt(n){Object.defineProperty(n,"hash",{get(){throw new Error("Cannot access event.url.hash. Consider using `$page.url.hash` inside a component instead")}})}const at="/__data.json";function rt(n){return n.replace(/\/$/,"")+at}function Ge(n){try{return JSON.parse(sessionStorage[n])}catch{}}function Ve(n,i){const p=JSON.stringify(i);try{sessionStorage[n]=p}catch{}}function ot(...n){let i=5381;for(const p of n)if(typeof p=="string"){let c=p.length;for(;c;)i=i*33^p.charCodeAt(--c)}else if(ArrayBuffer.isView(p)){const c=new Uint8Array(p.buffer,p.byteOffset,p.byteLength);let u=c.length;for(;u;)i=i*33^c[--u]}else throw new TypeError("value must be a string or TypedArray");return(i>>>0).toString(36)}const le=window.fetch;window.fetch=(n,i)=>((n instanceof Request?n.method:(i==null?void 0:i.method)||"GET")!=="GET"&&te.delete(ve(n)),le(n,i));const te=new Map;function it(n,i){const p=ve(n,i),c=document.querySelector(p);if(c!=null&&c.textContent){const{body:u,...d}=JSON.parse(c.textContent),L=c.getAttribute("data-ttl");return L&&te.set(p,{body:u,init:d,ttl:1e3*Number(L)}),Promise.resolve(new Response(u,d))}return le(n,i)}function st(n,i,p){if(te.size>0){const c=ve(n,p),u=te.get(c);if(u){if(performance.now(){const u=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(c);if(u)return i.push({name:u[1],matcher:u[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const d=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(c);if(d)return i.push({name:d[1],matcher:d[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!c)return;const L=c.split(/\[(.+?)\](?!\])/);return"/"+L.map((_,g)=>{if(g%2){if(_.startsWith("x+"))return we(String.fromCharCode(parseInt(_.slice(2),16)));if(_.startsWith("u+"))return we(String.fromCharCode(..._.slice(2).split("-").map(A=>parseInt(A,16))));const m=ct.exec(_);if(!m)throw new Error(`Invalid param: ${_}. Params and matcher names can only have underscores and alphanumeric characters.`);const[,$,P,E,O]=m;return i.push({name:E,matcher:O,optional:!!$,rest:!!P,chained:P?g===1&&L[0]==="":!1}),P?"(.*?)":$?"([^/]*)?":"([^/]+?)"}return we(_)}).join("")}).join("")}/?$`),params:i}}function ft(n){return!/^\([^)]+\)$/.test(n)}function ut(n){return n.slice(1).split("/").filter(ft)}function dt(n,i,p){const c={},u=n.slice(1);let d=0;for(let L=0;Lg).join("/"),d=0;continue}if(_===void 0){l.rest&&(c[l.name]="");continue}if(!l.matcher||p[l.matcher](_)){c[l.name]=_;const g=i[L+1],m=u[L+1];g&&!g.rest&&g.optional&&m&&(d=0);continue}if(l.optional&&l.chained){d++;continue}return}if(!d)return c}function we(n){return n.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function pt({nodes:n,server_loads:i,dictionary:p,matchers:c}){const u=new Set(i);return Object.entries(p).map(([l,[_,g,m]])=>{const{pattern:$,params:P}=lt(l),E={id:l,exec:O=>{const A=$.exec(O);if(A)return dt(A,P,c)},errors:[1,...m||[]].map(O=>n[O]),layouts:[0,...g||[]].map(L),leaf:d(_)};return E.errors.length=E.layouts.length=Math.max(E.errors.length,E.layouts.length),E});function d(l){const _=l<0;return _&&(l=~l),[_,n[l]]}function L(l){return l===void 0?l:[u.has(l),n[l]]}}async function ht(n){var i;for(const p in n)if(typeof((i=n[p])==null?void 0:i.then)=="function")return Object.fromEntries(await Promise.all(Object.entries(n).map(async([c,u])=>[c,await u])));return n}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");const mt=-1,gt=-2,yt=-3,wt=-4,_t=-5,bt=-6;function vt(n,i){if(typeof n=="number")return u(n,!0);if(!Array.isArray(n)||n.length===0)throw new Error("Invalid input");const p=n,c=Array(p.length);function u(d,L=!1){if(d===mt)return;if(d===yt)return NaN;if(d===wt)return 1/0;if(d===_t)return-1/0;if(d===bt)return-0;if(L)throw new Error("Invalid input");if(d in c)return c[d];const l=p[d];if(!l||typeof l!="object")c[d]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const _=l[0],g=i==null?void 0:i[_];if(g)return c[d]=g(u(l[1]));switch(_){case"Date":c[d]=new Date(l[1]);break;case"Set":const m=new Set;c[d]=m;for(let E=1;Ei!=null)}const B=Ge(ze)??{},Z=Ge(Be)??{};function _e(n){B[n]=Q()}function kt(n,i){var $e;const p=pt(n),c=n.nodes[0],u=n.nodes[1];c(),u();const d=document.documentElement,L=[],l=[];let _=null;const g={before_navigate:[],after_navigate:[]};let m={branch:[],error:null,url:null},$=!1,P=!1,E=!0,O=!1,A=!1,J=!1,H=!1,F,N=($e=history.state)==null?void 0:$e[q];N||(N=Date.now(),history.replaceState({...history.state,[q]:N},"",location.href));const fe=B[N];fe&&(history.scrollRestoration="manual",scrollTo(fe.x,fe.y));let V,Ee,ne;async function ke(){ne=ne||Promise.resolve(),await ne,ne=null;const t=new URL(location.href),e=W(t,!0);_=null,await Ae(e,t,[])}function Se(t){l.some(e=>e==null?void 0:e.snapshot)&&(Z[t]=l.map(e=>{var r;return(r=e==null?void 0:e.snapshot)==null?void 0:r.capture()}))}function Re(t){var e;(e=Z[t])==null||e.forEach((r,a)=>{var s,o;(o=(s=l[a])==null?void 0:s.snapshot)==null||o.restore(r)})}function Le(){_e(N),Ve(ze,B),Se(N),Ve(Be,Z)}async function ue(t,{noScroll:e=!1,replaceState:r=!1,keepFocus:a=!1,state:s={},invalidateAll:o=!1},h,f){return typeof t=="string"&&(t=new URL(t,qe(document))),ie({url:t,scroll:e?Q():null,keepfocus:a,redirect_chain:h,details:{state:s,replaceState:r},nav_token:f,accepted:()=>{o&&(H=!0)},blocked:()=>{},type:"goto"})}async function Ie(t){return _={id:t.id,promise:Ue(t).then(e=>(e.type==="loaded"&&e.state.error&&(_=null),e))},_.promise}async function ae(...t){const r=p.filter(a=>t.some(s=>a.exec(s))).map(a=>Promise.all([...a.layouts,a.leaf].map(s=>s==null?void 0:s[1]())));await Promise.all(r)}async function Ae(t,e,r,a,s,o={},h){var y,w,R;Ee=o;let f=t&&await Ue(t);if(!f){if(ye(e,z))return await G(e);f=await xe(e,{id:null},await X(new Error(`Not found: ${e.pathname}`),{url:e,params:{},route:{id:null}}),404)}if(e=(t==null?void 0:t.url)||e,Ee!==o)return!1;if(f.type==="redirect")if(r.length>10||r.includes(e.pathname))f=await re({status:500,error:await X(new Error("Redirect loop"),{url:e,params:{},route:{id:null}}),url:e,route:{id:null}});else return ue(new URL(f.location,e).href,{},[...r,e.pathname],o),!1;else((y=f.props.page)==null?void 0:y.status)>=400&&await M.updated.check()&&await G(e);if(L.length=0,H=!1,O=!0,a&&(_e(a),Se(a)),(w=f.props.page)!=null&&w.url&&f.props.page.url.pathname!==e.pathname&&(e.pathname=(R=f.props.page)==null?void 0:R.url.pathname),s&&s.details){const{details:v}=s,I=v.replaceState?0:1;if(v.state[q]=N+=I,history[v.replaceState?"replaceState":"pushState"](v.state,"",e),!v.replaceState){let S=N+1;for(;Z[S]||B[S];)delete Z[S],delete B[S],S+=1}}if(_=null,P?(m=f.state,f.props.page&&(f.props.page.url=e),F.$set(f.props)):Pe(f),s){const{scroll:v,keepfocus:I}=s,{activeElement:S}=document;if(await se(),E){const U=e.hash&&document.getElementById(decodeURIComponent(e.hash.slice(1)));v?scrollTo(v.x,v.y):U?U.scrollIntoView():scrollTo(0,0)}const b=document.activeElement!==S&&document.activeElement!==document.body;!I&&!b&&await be()}else await se();E=!0,f.props.page&&(V=f.props.page),h&&h(),O=!1}function Pe(t){var a;m=t.state;const e=document.querySelector("style[data-sveltekit]");e&&e.remove(),V=t.props.page,F=new n.root({target:i,props:{...t.props,stores:M,components:l},hydrate:!0}),Re(N);const r={from:null,to:{params:m.params,route:{id:((a=m.route)==null?void 0:a.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter"};g.after_navigate.forEach(s=>s(r)),P=!0}async function Y({url:t,params:e,branch:r,status:a,error:s,route:o,form:h}){let f="never";for(const S of r)(S==null?void 0:S.slash)!==void 0&&(f=S.slash);t.pathname=Xe(t.pathname,f),t.search=t.search;const y={type:"loaded",state:{url:t,params:e,branch:r,error:s,route:o},props:{constructors:Et(r).map(S=>S.node.component)}};h!==void 0&&(y.props.form=h);let w={},R=!V,v=0;for(let S=0;S(f.params.add(U),b[U])}),data:(o==null?void 0:o.data)??null,url:tt(r,()=>{f.url=!0}),async fetch(b,U){let D;b instanceof Request?(D=b.url,U={body:b.method==="GET"||b.method==="HEAD"?void 0:await b.blob(),cache:b.cache,credentials:b.credentials,headers:b.headers,integrity:b.integrity,keepalive:b.keepalive,method:b.method,mode:b.mode,redirect:b.redirect,referrer:b.referrer,referrerPolicy:b.referrerPolicy,signal:b.signal,...U}):D=b;const C=new URL(D,r);return I(C.href),C.origin===r.origin&&(D=C.href.slice(r.origin.length)),P?st(D,C.href,U):it(D,U)},setHeaders:()=>{},depends:I,parent(){return f.parent=!0,e()}};h=await y.universal.load.call(null,S)??null,h=h?await ht(h):null}return{node:y,loader:t,server:o,universal:(R=y.universal)!=null&&R.load?{type:"data",data:h,uses:f}:null,data:h??(o==null?void 0:o.data)??null,slash:((v=y.universal)==null?void 0:v.trailingSlash)??(o==null?void 0:o.slash)}}function Oe(t,e,r,a,s){if(H)return!0;if(!a)return!1;if(a.parent&&t||a.route&&e||a.url&&r)return!0;for(const o of a.params)if(s[o]!==m.params[o])return!0;for(const o of a.dependencies)if(L.some(h=>h(new URL(o))))return!0;return!1}function pe(t,e){return(t==null?void 0:t.type)==="data"?t:(t==null?void 0:t.type)==="skip"?e??null:null}async function Ue({id:t,invalidating:e,url:r,params:a,route:s}){if((_==null?void 0:_.id)===t)return _.promise;const{errors:o,layouts:h,leaf:f}=s,y=[...h,f];o.forEach(k=>k==null?void 0:k().catch(()=>{})),y.forEach(k=>k==null?void 0:k[1]().catch(()=>{}));let w=null;const R=m.url?t!==m.url.pathname+m.url.search:!1,v=m.route?s.id!==m.route.id:!1;let I=!1;const S=y.map((k,T)=>{var K;const j=m.branch[T],x=!!(k!=null&&k[0])&&((j==null?void 0:j.loader)!==k[1]||Oe(I,v,R,(K=j.server)==null?void 0:K.uses,a));return x&&(I=!0),x});if(S.some(Boolean)){try{w=await Ke(r,S)}catch(k){return re({status:k instanceof ee?k.status:500,error:await X(k,{url:r,params:a,route:{id:s.id}}),url:r,route:s})}if(w.type==="redirect")return w}const b=w==null?void 0:w.nodes;let U=!1;const D=y.map(async(k,T)=>{var he;if(!k)return;const j=m.branch[T],x=b==null?void 0:b[T];if((!x||x.type==="skip")&&k[1]===(j==null?void 0:j.loader)&&!Oe(U,v,R,(he=j.universal)==null?void 0:he.uses,a))return j;if(U=!0,(x==null?void 0:x.type)==="error")throw x;return de({loader:k[1],url:r,params:a,route:s,parent:async()=>{var De;const Te={};for(let me=0;me{});const C=[];for(let k=0;kPromise.resolve({}),server_data_node:pe(o)}),y={node:await u(),loader:u,universal:null,server:null,data:null};return await Y({url:r,params:s,branch:[f,y],status:t,error:e,route:null})}function W(t,e){if(ye(t,z))return;const r=oe(t);for(const a of p){const s=a.exec(r);if(s)return{id:t.pathname+t.search,invalidating:e,route:a,params:Qe(s),url:t}}}function oe(t){return Ze(t.pathname.slice(z.length)||"/")}function Ne({url:t,type:e,intent:r,delta:a}){var f,y;let s=!1;const o={from:{params:m.params,route:{id:((f=m.route)==null?void 0:f.id)??null},url:m.url},to:{params:(r==null?void 0:r.params)??null,route:{id:((y=r==null?void 0:r.route)==null?void 0:y.id)??null},url:t},willUnload:!r,type:e};a!==void 0&&(o.delta=a);const h={...o,cancel:()=>{s=!0}};return A||g.before_navigate.forEach(w=>w(h)),s?null:o}async function ie({url:t,scroll:e,keepfocus:r,redirect_chain:a,details:s,type:o,delta:h,nav_token:f,accepted:y,blocked:w}){const R=W(t,!1),v=Ne({url:t,type:o,delta:h,intent:R});if(!v){w();return}const I=N;y(),A=!0,P&&M.navigating.set(v),await Ae(R,t,a,I,{scroll:e,keepfocus:r,details:s},f,()=>{A=!1,g.after_navigate.forEach(S=>S(v)),M.navigating.set(null)})}async function xe(t,e,r,a){return t.origin===location.origin&&t.pathname===location.pathname&&!$?await re({status:a,error:r,url:t,route:e}):await G(t)}function G(t){return location.href=t.href,new Promise(()=>{})}function Ye(){let t;d.addEventListener("mousemove",o=>{const h=o.target;clearTimeout(t),t=setTimeout(()=>{a(h,2)},20)});function e(o){a(o.composedPath()[0],1)}d.addEventListener("mousedown",e),d.addEventListener("touchstart",e,{passive:!0});const r=new IntersectionObserver(o=>{for(const h of o)h.isIntersecting&&(ae(oe(new URL(h.target.href))),r.unobserve(h.target))},{threshold:0});function a(o,h){const f=Fe(o,d);if(!f)return;const{url:y,external:w}=ge(f,z);if(w)return;const R=ce(f);if(!R.reload)if(h<=R.preload_data){const v=W(y,!1);v&&Ie(v)}else h<=R.preload_code&&ae(oe(y))}function s(){r.disconnect();for(const o of d.querySelectorAll("a")){const{url:h,external:f}=ge(o,z);if(f)continue;const y=ce(o);y.reload||(y.preload_code===Me.viewport&&r.observe(o),y.preload_code===Me.eager&&ae(oe(h)))}}g.after_navigate.push(s),s()}function X(t,e){return t instanceof ee?t.body:n.hooks.handleError({error:t,event:e})??{message:e.route.id!=null?"Internal Error":"Not Found"}}return{after_navigate:t=>{Ce(()=>(g.after_navigate.push(t),()=>{const e=g.after_navigate.indexOf(t);g.after_navigate.splice(e,1)}))},before_navigate:t=>{Ce(()=>(g.before_navigate.push(t),()=>{const e=g.before_navigate.indexOf(t);g.before_navigate.splice(e,1)}))},disable_scroll_handling:()=>{(O||!P)&&(E=!1)},goto:(t,e={})=>ue(t,e,[]),invalidate:t=>{if(typeof t=="function")L.push(t);else{const{href:e}=new URL(t,location.href);L.push(r=>r.href===e)}return ke()},invalidateAll:()=>(H=!0,ke()),preload_data:async t=>{const e=new URL(t,qe(document)),r=W(e,!1);if(!r)throw new Error(`Attempted to preload a URL that does not belong to this app: ${e}`);await Ie(r)},preload_code:ae,apply_action:async t=>{if(t.type==="error"){const e=new URL(location.href),{branch:r,route:a}=m;if(!a)return;const s=await je(m.branch.length,r,a.errors);if(s){const o=await Y({url:e,params:m.params,branch:r.slice(0,s.idx).concat(s.node),status:t.status??500,error:t.error,route:a});m=o.state,F.$set(o.props),se().then(be)}}else t.type==="redirect"?ue(t.location,{invalidateAll:!0},[]):(F.$set({form:null,page:{...V,form:t.data,status:t.status}}),await se(),F.$set({form:t.data}),t.type==="success"&&be())},_start_router:()=>{var t;history.scrollRestoration="manual",addEventListener("beforeunload",e=>{var a;let r=!1;if(Le(),!A){const s={from:{params:m.params,route:{id:((a=m.route)==null?void 0:a.id)??null},url:m.url},to:null,willUnload:!0,type:"leave",cancel:()=>r=!0};g.before_navigate.forEach(o=>o(s))}r?(e.preventDefault(),e.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Le()}),(t=navigator.connection)!=null&&t.saveData||Ye(),d.addEventListener("click",e=>{if(e.button||e.which!==1||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.defaultPrevented)return;const r=Fe(e.composedPath()[0],d);if(!r)return;const{url:a,external:s,target:o}=ge(r,z);if(!a)return;if(o==="_parent"||o==="_top"){if(window.parent!==window)return}else if(o&&o!=="_self")return;const h=ce(r);if(!(r instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:"))return;if(s||h.reload){Ne({url:a,type:"link"})?A=!0:e.preventDefault();return}const[y,w]=a.href.split("#");if(w!==void 0&&y===location.href.split("#")[0]){J=!0,_e(N),m.url=a,M.page.set({...V,url:a}),M.page.notify();return}ie({url:a,scroll:h.noscroll?Q():null,keepfocus:h.keep_focus??!1,redirect_chain:[],details:{state:{},replaceState:h.replace_state??a.href===location.href},accepted:()=>e.preventDefault(),blocked:()=>e.preventDefault(),type:"link"})}),d.addEventListener("submit",e=>{if(e.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(e.target),a=e.submitter;if(((a==null?void 0:a.formMethod)||r.method)!=="get")return;const o=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||r.action);if(ye(o,z))return;const h=e.target,{keep_focus:f,noscroll:y,reload:w,replace_state:R}=ce(h);if(w)return;e.preventDefault(),e.stopPropagation();const v=new FormData(h),I=a==null?void 0:a.getAttribute("name");I&&v.append(I,(a==null?void 0:a.getAttribute("value"))??""),o.search=new URLSearchParams(v).toString(),ie({url:o,scroll:y?Q():null,keepfocus:f??!1,redirect_chain:[],details:{state:{},replaceState:R??o.href===location.href},nav_token:{},accepted:()=>{},blocked:()=>{},type:"form"})}),addEventListener("popstate",async e=>{var r;if((r=e.state)!=null&&r[q]){if(e.state[q]===N)return;const a=B[e.state[q]];if(m.url.href.split("#")[0]===location.href.split("#")[0]){B[N]=Q(),N=e.state[q],scrollTo(a.x,a.y);return}const s=e.state[q]-N;let o=!1;await ie({url:new URL(location.href),scroll:a,keepfocus:!1,redirect_chain:[],details:null,accepted:()=>{N=e.state[q]},blocked:()=>{history.go(-s),o=!0},type:"popstate",delta:s}),o||Re(N)}}),addEventListener("hashchange",()=>{J&&(J=!1,history.replaceState({...history.state,[q]:++N},"",location.href))});for(const e of document.querySelectorAll("link"))e.rel==="icon"&&(e.href=e.href);addEventListener("pageshow",e=>{e.persisted&&M.navigating.set(null)})},_hydrate:async({status:t=200,error:e,node_ids:r,params:a,route:s,data:o,form:h})=>{$=!0;const f=new URL(location.href);({params:a={},route:s={id:null}}=W(f,!1)||{});let y;try{const w=r.map(async(R,v)=>{const I=o[v];return I!=null&&I.uses&&(I.uses=Je(I.uses)),de({loader:n.nodes[R],url:f,params:a,route:s,parent:async()=>{const S={};for(let b=0;bR===s.id)??null})}catch(w){if(w instanceof He){await G(new URL(w.location,location.href));return}y=await re({status:w instanceof ee?w.status:500,error:await X(w,{url:f,params:a,route:s}),url:f,route:s})}Pe(y)}}}async function Ke(n,i){const p=new URL(n);p.pathname=rt(n.pathname),p.searchParams.append("x-sveltekit-invalidated",i.map(u=>u?"1":"").join("_"));const c=await le(p.href);if(!c.ok)throw new ee(c.status,await c.json());return new Promise(async u=>{var m;const d=new Map,L=c.body.getReader(),l=new TextDecoder;function _($){return vt($,{Promise:P=>new Promise((E,O)=>{d.set(P,{fulfil:E,reject:O})})})}let g="";for(;;){const{done:$,value:P}=await L.read();if($&&!g)break;for(g+=!P&&g?` -`:l.decode(P);;){const E=g.indexOf(` -`);if(E===-1)break;const O=JSON.parse(g.slice(0,E));if(g=g.slice(E+1),O.type==="redirect")return u(O);if(O.type==="data")(m=O.nodes)==null||m.forEach(A=>{(A==null?void 0:A.type)==="data"&&(A.uses=Je(A.uses),A.data=_(A.data))}),u(O);else if(O.type==="chunk"){const{id:A,data:J,error:H}=O,F=d.get(A);d.delete(A),H?F.reject(_(H)):F.fulfil(_(J))}}}})}function Je(n){return{dependencies:new Set((n==null?void 0:n.dependencies)??[]),params:new Set((n==null?void 0:n.params)??[]),parent:!!(n!=null&&n.parent),route:!!(n!=null&&n.route),url:!!(n!=null&&n.url)}}function be(){const n=document.querySelector("[autofocus]");if(n)n.focus();else{const i=document.body,p=i.getAttribute("tabindex");return i.tabIndex=-1,i.focus({preventScroll:!0}),p!==null?i.setAttribute("tabindex",p):i.removeAttribute("tabindex"),new Promise(c=>{setTimeout(()=>{var u;c((u=getSelection())==null?void 0:u.removeAllRanges())})})}}async function At(n,i,p){const c=kt(n,i);We({client:c}),p?await c._hydrate(p):c.goto(location.href,{replaceState:!0}),c._start_router()}export{At as start}; diff --git a/ui/assets/cloud/_app/version.json b/ui/assets/cloud/_app/version.json deleted file mode 100644 index ca42f90044..0000000000 --- a/ui/assets/cloud/_app/version.json +++ /dev/null @@ -1 +0,0 @@ -{"version":"1686848129793"} \ No newline at end of file diff --git a/ui/assets/cloud/favicon.ico b/ui/assets/cloud/favicon.ico deleted file mode 100644 index 277bc4ba6a..0000000000 Binary files a/ui/assets/cloud/favicon.ico and /dev/null differ diff --git a/ui/assets/cloud/i18n/locales/en/common.json b/ui/assets/cloud/i18n/locales/en/common.json deleted file mode 100644 index 89dae6507d..0000000000 --- a/ui/assets/cloud/i18n/locales/en/common.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "loading": "loading", - "filtering": "filtering", - "unknown-error": "An unknown error occurred.", - "search-placeholder": "Enter a query", - "apply": "Apply", - "all-time": "All Time", - "custom": "Custom", - "start-time": "Start Time", - "end-time": "End Time", - "relative": "Relative", - "utc": "UTC", - "local": "Local", - "cancel": "Cancel", - "ascending": "Ascending", - "descending": "Descending", - "start": "Start", - "end": "End", - "true": "True", - "false": "False", - "after": "After", - "before": "Before", - "in-last": "In Last", - "equals": "Equals", - "greater-than": "Greater Than", - "greater-than-or-equal-to": "Greater than or equal to", - "less-than": "Less than", - "less-than-or-equal-to": "Less than or equal to", - "is": "Is", - "is-not": "Is Not", - "all": "All" -} diff --git a/ui/assets/cloud/i18n/locales/en/workflows.json b/ui/assets/cloud/i18n/locales/en/workflows.json deleted file mode 100644 index 609451660c..0000000000 --- a/ui/assets/cloud/i18n/locales/en/workflows.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "recent-workflows": "Recent Workflows", - "workflows-count_one": "{{count, number}} workflow", - "workflows-count_other": "{{count, number}} workflows", - "filtered-workflows-count": "Results {{filtered, number}} of {{total, number}} workflows", - "terminate": "Terminate", - "cancel": "Cancel", - "confirm": "Confirm", - "reason": "Reason", - "batch-operation-modal-title": "{{action}} Workflows", - "workflow-action-reason-placeholder": "{{action}} from the Web UI", - "workflow-action-reason-placeholder-with-email": "{{action}} from the Web UI by {{email}}", - "batch-operation-confirmation-all": "Are you sure you want to {{action}} all workflows matching the following query? This action cannot be undone.", - "batch-operation-count-disclaimer": "Note: The actual count of workflows that will be affected is the total number of running workflows matching this query at the time of clicking \"{{action}}\".", - "batch-cancel-confirmation_one": "Are you sure you want to cancel {{count, number}} running workflow?", - "batch-cancel-confirmation_other": "Are you sure you want to cancel {{count, number}} running workflows?", - "batch-terminate-confirmation_one": "Are you sure you want to terminate {{count, number}} running workflow?", - "batch-terminate-confirmation_other": "Are you sure you want to terminate {{count, number}} running workflows?", - "batch-operation-confirmation-input-hint": "If you supply a custom reason, \"{{placeholder}}\" will be appended to it.", - "batch-terminate-all-success": "The batch $t(terminate) request is processing in the background.", - "batch-cancel-all-success": "The batch $t(cancel) request is processing in the background.", - "batch-terminate-success": "Successfully $t(terminated) {{count}} workflows.", - "batch-cancel-success": "Successfully $t(canceled) {{count}} workflows.", - "configure-workflows": "Configure Workflow List", - "configure-workflows-description": "Add (<1>), re-arrange (<2>), and remove (<3>), Workflow Headings to personalize the Workflow List Table.", - "all-statuses": "All Statuses", - "running": "Running", - "timed-out": "Timed Out", - "completed": "Completed", - "failed": "Failed", - "contd-as-new": "Cont'd as New", - "continued-as-new": "ContinuedAsNew", - "terminated": "Terminated", - "canceled": "Canceled", - "paused": "Paused", - "reset": "Reset", - "n-selected": "{{count, number}} selected", - "all-selected": "All {{count, number}} selected.", - "select-all": "select all {{count, number}}", - "request-cancellation": "Request Cancellation" -} diff --git a/ui/assets/cloud/index.html b/ui/assets/cloud/index.html deleted file mode 100644 index dfa551507c..0000000000 --- a/ui/assets/cloud/index.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - -
- -
- - diff --git a/ui/assets/local/_app/immutable/chunks/1.68f1fabf.js b/ui/assets/local/_app/immutable/chunks/1.68f1fabf.js deleted file mode 100644 index 84b2c37316..0000000000 --- a/ui/assets/local/_app/immutable/chunks/1.68f1fabf.js +++ /dev/null @@ -1 +0,0 @@ -import{default as t}from"../entry/_error.svelte.93c4f5aa.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/1.b175c1ff.js b/ui/assets/local/_app/immutable/chunks/1.b175c1ff.js new file mode 100644 index 0000000000..efc62b68b5 --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/1.b175c1ff.js @@ -0,0 +1 @@ +import{default as t}from"../entry/_error.svelte.0fce50e2.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/10.29ef2c9a.js b/ui/assets/local/_app/immutable/chunks/10.29ef2c9a.js deleted file mode 100644 index c75551aaf5..0000000000 --- a/ui/assets/local/_app/immutable/chunks/10.29ef2c9a.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as r}from"./_page.30b46e3a.js";import{default as t}from"../entry/(app)-page.svelte.4b600c94.js";export{t as component,r as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/10.84ba26ae.js b/ui/assets/local/_app/immutable/chunks/10.84ba26ae.js new file mode 100644 index 0000000000..1267e545ab --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/10.84ba26ae.js @@ -0,0 +1 @@ +import{_ as r}from"./_page.0c8248fb.js";import{default as t}from"../entry/(app)-page.svelte.4c5b11b2.js";export{t as component,r as universal}; diff --git a/ui/assets/cloud/_app/immutable/chunks/11.28702c9b.js b/ui/assets/local/_app/immutable/chunks/11.c8fa3985.js similarity index 57% rename from ui/assets/cloud/_app/immutable/chunks/11.28702c9b.js rename to ui/assets/local/_app/immutable/chunks/11.c8fa3985.js index 3930d30056..c5e94a5494 100644 --- a/ui/assets/cloud/_app/immutable/chunks/11.28702c9b.js +++ b/ui/assets/local/_app/immutable/chunks/11.c8fa3985.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-data-converter-_port_-page.svelte.815e5970.js";export{t as component}; +import{default as t}from"../entry/(app)-data-converter-_port_-page.svelte.d8b1684f.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/11.dbf549ff.js b/ui/assets/local/_app/immutable/chunks/11.dbf549ff.js deleted file mode 100644 index a36f256815..0000000000 --- a/ui/assets/local/_app/immutable/chunks/11.dbf549ff.js +++ /dev/null @@ -1 +0,0 @@ -import{default as t}from"../entry/(app)-data-converter-_port_-page.svelte.12309b9e.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/12.3a6066d3.js b/ui/assets/local/_app/immutable/chunks/12.3a6066d3.js deleted file mode 100644 index a235aca579..0000000000 --- a/ui/assets/local/_app/immutable/chunks/12.3a6066d3.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e}from"./_page.b25cff4d.js";export{e as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/12.a4817e35.js b/ui/assets/local/_app/immutable/chunks/12.a4817e35.js new file mode 100644 index 0000000000..f2fd6dc129 --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/12.a4817e35.js @@ -0,0 +1 @@ +import{_ as e}from"./_page.5ea3b623.js";export{e as universal}; diff --git a/ui/assets/cloud/_app/immutable/chunks/13.30b798bf.js b/ui/assets/local/_app/immutable/chunks/13.27a982ba.js similarity index 62% rename from ui/assets/cloud/_app/immutable/chunks/13.30b798bf.js rename to ui/assets/local/_app/immutable/chunks/13.27a982ba.js index 6ec90d0f78..a212034f90 100644 --- a/ui/assets/cloud/_app/immutable/chunks/13.30b798bf.js +++ b/ui/assets/local/_app/immutable/chunks/13.27a982ba.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-import-events-page.svelte.a9190473.js";export{t as component}; +import{default as t}from"../entry/(app)-import-events-page.svelte.fd3bb0a6.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/13.6e120505.js b/ui/assets/local/_app/immutable/chunks/13.6e120505.js deleted file mode 100644 index 20220f996b..0000000000 --- a/ui/assets/local/_app/immutable/chunks/13.6e120505.js +++ /dev/null @@ -1 +0,0 @@ -import{default as t}from"../entry/(app)-import-events-page.svelte.c066feba.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/14.21ccb1cb.js b/ui/assets/local/_app/immutable/chunks/14.21ccb1cb.js deleted file mode 100644 index 1af15bc9a2..0000000000 --- a/ui/assets/local/_app/immutable/chunks/14.21ccb1cb.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e}from"./_page.8a0df0ae.js";export{e as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/14.a298948a.js b/ui/assets/local/_app/immutable/chunks/14.a298948a.js new file mode 100644 index 0000000000..0cf7f3a0f8 --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/14.a298948a.js @@ -0,0 +1 @@ +import{_ as e}from"./_page.a2911484.js";export{e as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/15.3a478b71.js b/ui/assets/local/_app/immutable/chunks/15.3a478b71.js deleted file mode 100644 index 445c616878..0000000000 --- a/ui/assets/local/_app/immutable/chunks/15.3a478b71.js +++ /dev/null @@ -1 +0,0 @@ -import{default as t}from"../entry/(app)-import-events-_namespace_-_workflow_-_run_-history-compact-page.svelte.72445973.js";export{t as component}; diff --git a/ui/assets/cloud/_app/immutable/chunks/15.366b7d49.js b/ui/assets/local/_app/immutable/chunks/15.df3bb41f.js similarity index 56% rename from ui/assets/cloud/_app/immutable/chunks/15.366b7d49.js rename to ui/assets/local/_app/immutable/chunks/15.df3bb41f.js index eaa3de2e7b..8d24cf65fb 100644 --- a/ui/assets/cloud/_app/immutable/chunks/15.366b7d49.js +++ b/ui/assets/local/_app/immutable/chunks/15.df3bb41f.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-import-events-_namespace_-_workflow_-_run_-history-compact-page.svelte.c3b22927.js";export{t as component}; +import{default as t}from"../entry/(app)-import-events-_namespace_-_workflow_-_run_-history-compact-page.svelte.1ebc33d5.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/16.55308f99.js b/ui/assets/local/_app/immutable/chunks/16.2273673f.js similarity index 55% rename from ui/assets/local/_app/immutable/chunks/16.55308f99.js rename to ui/assets/local/_app/immutable/chunks/16.2273673f.js index b347e27834..5d62925217 100644 --- a/ui/assets/local/_app/immutable/chunks/16.55308f99.js +++ b/ui/assets/local/_app/immutable/chunks/16.2273673f.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-import-events-_namespace_-_workflow_-_run_-history-feed-page.svelte.7f587b37.js";export{t as component}; +import{default as t}from"../entry/(app)-import-events-_namespace_-_workflow_-_run_-history-feed-page.svelte.b4fdbb72.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/18.78b2293c.js b/ui/assets/local/_app/immutable/chunks/18.a3a1a0ad.js similarity index 64% rename from ui/assets/local/_app/immutable/chunks/18.78b2293c.js rename to ui/assets/local/_app/immutable/chunks/18.a3a1a0ad.js index 9b3be5b4a7..e692610a52 100644 --- a/ui/assets/local/_app/immutable/chunks/18.78b2293c.js +++ b/ui/assets/local/_app/immutable/chunks/18.a3a1a0ad.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-namespaces-page.svelte.21e80e49.js";export{t as component}; +import{default as t}from"../entry/(app)-namespaces-page.svelte.22421bc2.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/19.514e39dd.js b/ui/assets/local/_app/immutable/chunks/19.514e39dd.js new file mode 100644 index 0000000000..56ab874c4a --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/19.514e39dd.js @@ -0,0 +1 @@ +import{_ as r}from"./_page.16a3c60c.js";import{default as t}from"../entry/(app)-namespaces-_namespace_-page.svelte.ddd6b2c4.js";export{t as component,r as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/19.5f811108.js b/ui/assets/local/_app/immutable/chunks/19.5f811108.js deleted file mode 100644 index e51f399d69..0000000000 --- a/ui/assets/local/_app/immutable/chunks/19.5f811108.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as r}from"./_page.6e7d6739.js";import{default as t}from"../entry/(app)-namespaces-_namespace_-page.svelte.c1b805e5.js";export{t as component,r as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/2.3b21da7f.js b/ui/assets/local/_app/immutable/chunks/2.3b21da7f.js new file mode 100644 index 0000000000..ac70770782 --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/2.3b21da7f.js @@ -0,0 +1 @@ +import{_ as r}from"./_layout.0155ac74.js";import{default as t}from"../entry/(app)-layout.svelte.61e45ab4.js";export{t as component,r as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/2.9d67083b.js b/ui/assets/local/_app/immutable/chunks/2.9d67083b.js deleted file mode 100644 index 5bda33d547..0000000000 --- a/ui/assets/local/_app/immutable/chunks/2.9d67083b.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as r}from"./_layout.02558e64.js";import{default as t}from"../entry/(app)-layout.svelte.e752d465.js";export{t as component,r as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/20.032260a5.js b/ui/assets/local/_app/immutable/chunks/20.032260a5.js new file mode 100644 index 0000000000..ba42d27b1e --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/20.032260a5.js @@ -0,0 +1 @@ +import{_ as r}from"./_page.ee80cdee.js";import{default as t}from"../entry/(app)-namespaces-_namespace_-archival-page.svelte.c0965e7b.js";export{t as component,r as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/20.3a69a2ec.js b/ui/assets/local/_app/immutable/chunks/20.3a69a2ec.js deleted file mode 100644 index 09b17e98c6..0000000000 --- a/ui/assets/local/_app/immutable/chunks/20.3a69a2ec.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as r}from"./_page.e51a117d.js";import{default as t}from"../entry/(app)-namespaces-_namespace_-archival-page.svelte.34c9a4c1.js";export{t as component,r as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/21.321d67c2.js b/ui/assets/local/_app/immutable/chunks/21.321d67c2.js deleted file mode 100644 index 53d25177da..0000000000 --- a/ui/assets/local/_app/immutable/chunks/21.321d67c2.js +++ /dev/null @@ -1 +0,0 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-schedules-page.svelte.7f794d86.js";export{t as component}; diff --git a/ui/assets/cloud/_app/immutable/chunks/21.85271fe8.js b/ui/assets/local/_app/immutable/chunks/21.38ff7670.js similarity index 52% rename from ui/assets/cloud/_app/immutable/chunks/21.85271fe8.js rename to ui/assets/local/_app/immutable/chunks/21.38ff7670.js index becd976095..2ea5510454 100644 --- a/ui/assets/cloud/_app/immutable/chunks/21.85271fe8.js +++ b/ui/assets/local/_app/immutable/chunks/21.38ff7670.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-schedules-page.svelte.1302979b.js";export{t as component}; +import{default as t}from"../entry/(app)-namespaces-_namespace_-schedules-page.svelte.d643b96f.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/22.45003b19.js b/ui/assets/local/_app/immutable/chunks/22.6b7a2277.js similarity index 51% rename from ui/assets/local/_app/immutable/chunks/22.45003b19.js rename to ui/assets/local/_app/immutable/chunks/22.6b7a2277.js index 9859fa4be6..46886e15ee 100644 --- a/ui/assets/local/_app/immutable/chunks/22.45003b19.js +++ b/ui/assets/local/_app/immutable/chunks/22.6b7a2277.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-schedules-_schedule_-page.svelte.467bd416.js";export{t as component}; +import{default as t}from"../entry/(app)-namespaces-_namespace_-schedules-_schedule_-page.svelte.5636df7d.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/23.a62a5fba.js b/ui/assets/local/_app/immutable/chunks/23.1cb2e135.js similarity index 53% rename from ui/assets/local/_app/immutable/chunks/23.a62a5fba.js rename to ui/assets/local/_app/immutable/chunks/23.1cb2e135.js index 917679d81d..3c4068d963 100644 --- a/ui/assets/local/_app/immutable/chunks/23.a62a5fba.js +++ b/ui/assets/local/_app/immutable/chunks/23.1cb2e135.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-schedules-_schedule_-edit-page.svelte.91631de2.js";export{t as component}; +import{default as t}from"../entry/(app)-namespaces-_namespace_-schedules-_schedule_-edit-page.svelte.204f3672.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/24.3d9b96a1.js b/ui/assets/local/_app/immutable/chunks/24.8c00fb2e.js similarity index 50% rename from ui/assets/local/_app/immutable/chunks/24.3d9b96a1.js rename to ui/assets/local/_app/immutable/chunks/24.8c00fb2e.js index a59c838f1f..a354d5fe17 100644 --- a/ui/assets/local/_app/immutable/chunks/24.3d9b96a1.js +++ b/ui/assets/local/_app/immutable/chunks/24.8c00fb2e.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-schedules-create-page.svelte.6e3e5cfb.js";export{t as component}; +import{default as t}from"../entry/(app)-namespaces-_namespace_-schedules-create-page.svelte.6075f889.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/26.aa4813c2.js b/ui/assets/local/_app/immutable/chunks/26.aa4813c2.js deleted file mode 100644 index 8c1c4ea5c3..0000000000 --- a/ui/assets/local/_app/immutable/chunks/26.aa4813c2.js +++ /dev/null @@ -1 +0,0 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-task-queues-_queue_-page.svelte.2382e8cc.js";export{t as component}; diff --git a/ui/assets/cloud/_app/immutable/chunks/26.c46ae2ee.js b/ui/assets/local/_app/immutable/chunks/26.ab06cbba.js similarity index 51% rename from ui/assets/cloud/_app/immutable/chunks/26.c46ae2ee.js rename to ui/assets/local/_app/immutable/chunks/26.ab06cbba.js index 2909831215..db7c199647 100644 --- a/ui/assets/cloud/_app/immutable/chunks/26.c46ae2ee.js +++ b/ui/assets/local/_app/immutable/chunks/26.ab06cbba.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-task-queues-_queue_-page.svelte.fddc8044.js";export{t as component}; +import{default as t}from"../entry/(app)-namespaces-_namespace_-task-queues-_queue_-page.svelte.9db50202.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/27.0275ca82.js b/ui/assets/local/_app/immutable/chunks/27.0275ca82.js new file mode 100644 index 0000000000..30576539be --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/27.0275ca82.js @@ -0,0 +1 @@ +import{_ as r}from"./_page.b14944b6.js";import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-page.svelte.b7634936.js";export{t as component,r as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/27.36cb67c2.js b/ui/assets/local/_app/immutable/chunks/27.36cb67c2.js deleted file mode 100644 index f84f3996f7..0000000000 --- a/ui/assets/local/_app/immutable/chunks/27.36cb67c2.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as r}from"./_page.b14944b6.js";import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-page.svelte.dddd00d3.js";export{t as component,r as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/28.4c324ec2.js b/ui/assets/local/_app/immutable/chunks/28.4c324ec2.js deleted file mode 100644 index 4f10b17856..0000000000 --- a/ui/assets/local/_app/immutable/chunks/28.4c324ec2.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e}from"./_page.78470139.js";export{e as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/28.c96b5bba.js b/ui/assets/local/_app/immutable/chunks/28.c96b5bba.js new file mode 100644 index 0000000000..57409ec61a --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/28.c96b5bba.js @@ -0,0 +1 @@ +import{_ as e}from"./_page.e4417f20.js";export{e as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/3.14dff8d4.js b/ui/assets/local/_app/immutable/chunks/3.14dff8d4.js new file mode 100644 index 0000000000..e347f12c3b --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/3.14dff8d4.js @@ -0,0 +1 @@ +import{default as t}from"../entry/(app)-import-layout.svelte.73b1b562.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/3.413a0b2b.js b/ui/assets/local/_app/immutable/chunks/3.413a0b2b.js deleted file mode 100644 index 1eae7134ae..0000000000 --- a/ui/assets/local/_app/immutable/chunks/3.413a0b2b.js +++ /dev/null @@ -1 +0,0 @@ -import{default as t}from"../entry/(app)-import-layout.svelte.b6f54d72.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/30.59d2ef22.js b/ui/assets/local/_app/immutable/chunks/30.59d2ef22.js deleted file mode 100644 index b03d19769f..0000000000 --- a/ui/assets/local/_app/immutable/chunks/30.59d2ef22.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as r}from"./_page.ed77219c.js";import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-page.svelte.923c8d96.js";export{t as component,r as universal}; diff --git a/ui/assets/cloud/_app/immutable/chunks/30.a1cdd78a.js b/ui/assets/local/_app/immutable/chunks/30.cf0002c3.js similarity index 68% rename from ui/assets/cloud/_app/immutable/chunks/30.a1cdd78a.js rename to ui/assets/local/_app/immutable/chunks/30.cf0002c3.js index 764de078c4..835fadb295 100644 --- a/ui/assets/cloud/_app/immutable/chunks/30.a1cdd78a.js +++ b/ui/assets/local/_app/immutable/chunks/30.cf0002c3.js @@ -1 +1 @@ -import{_ as r}from"./_page.ed77219c.js";import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-page.svelte.fd0bafff.js";export{t as component,r as universal}; +import{_ as r}from"./_page.ed77219c.js";import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-page.svelte.47f32cdb.js";export{t as component,r as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/31.3d8b8247.js b/ui/assets/local/_app/immutable/chunks/31.3d8b8247.js deleted file mode 100644 index ce7fca307e..0000000000 --- a/ui/assets/local/_app/immutable/chunks/31.3d8b8247.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e}from"./_page.7000bda5.js";export{e as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/31.c537bdbd.js b/ui/assets/local/_app/immutable/chunks/31.c537bdbd.js new file mode 100644 index 0000000000..eeaa7aaed4 --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/31.c537bdbd.js @@ -0,0 +1 @@ +import{_ as e}from"./_page.b0e16fa6.js";export{e as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/32.3d8b8247.js b/ui/assets/local/_app/immutable/chunks/32.3d8b8247.js deleted file mode 100644 index 97b65f1d69..0000000000 --- a/ui/assets/local/_app/immutable/chunks/32.3d8b8247.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e}from"./_page.0f7a0fac.js";export{e as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/32.c537bdbd.js b/ui/assets/local/_app/immutable/chunks/32.c537bdbd.js new file mode 100644 index 0000000000..82cef1f19b --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/32.c537bdbd.js @@ -0,0 +1 @@ +import{_ as e}from"./_page.eecc6007.js";export{e as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/33.3d8b8247.js b/ui/assets/local/_app/immutable/chunks/33.3d8b8247.js deleted file mode 100644 index 309bc1b481..0000000000 --- a/ui/assets/local/_app/immutable/chunks/33.3d8b8247.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e}from"./_page.104de196.js";export{e as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/33.c537bdbd.js b/ui/assets/local/_app/immutable/chunks/33.c537bdbd.js new file mode 100644 index 0000000000..ef92fb5958 --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/33.c537bdbd.js @@ -0,0 +1 @@ +import{_ as e}from"./_page.029207e9.js";export{e as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/34.be6aca19.js b/ui/assets/local/_app/immutable/chunks/34.be6aca19.js new file mode 100644 index 0000000000..5a44ca5586 --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/34.be6aca19.js @@ -0,0 +1 @@ +import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-pending-activities-page.svelte.3d467d50.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/34.bf8dc7fb.js b/ui/assets/local/_app/immutable/chunks/34.bf8dc7fb.js deleted file mode 100644 index fc351ce5ab..0000000000 --- a/ui/assets/local/_app/immutable/chunks/34.bf8dc7fb.js +++ /dev/null @@ -1 +0,0 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-pending-activities-page.svelte.d124774a.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/35.0d560c35.js b/ui/assets/local/_app/immutable/chunks/35.f1d877ff.js similarity index 55% rename from ui/assets/local/_app/immutable/chunks/35.0d560c35.js rename to ui/assets/local/_app/immutable/chunks/35.f1d877ff.js index 5e98b449ca..f089da147f 100644 --- a/ui/assets/local/_app/immutable/chunks/35.0d560c35.js +++ b/ui/assets/local/_app/immutable/chunks/35.f1d877ff.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-query-page.svelte.2238d95a.js";export{t as component}; +import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-query-page.svelte.037f6ee6.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/36.8883dc95.js b/ui/assets/local/_app/immutable/chunks/36.81916e1d.js similarity index 57% rename from ui/assets/local/_app/immutable/chunks/36.8883dc95.js rename to ui/assets/local/_app/immutable/chunks/36.81916e1d.js index 7f622c90f9..8bab73c916 100644 --- a/ui/assets/local/_app/immutable/chunks/36.8883dc95.js +++ b/ui/assets/local/_app/immutable/chunks/36.81916e1d.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-stack-trace-page.svelte.fca0456a.js";export{t as component}; +import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-stack-trace-page.svelte.666a12d3.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/37.fbb07753.js b/ui/assets/local/_app/immutable/chunks/37.555e3f46.js similarity index 56% rename from ui/assets/local/_app/immutable/chunks/37.fbb07753.js rename to ui/assets/local/_app/immutable/chunks/37.555e3f46.js index b5dd5a7a05..af09bf650f 100644 --- a/ui/assets/local/_app/immutable/chunks/37.fbb07753.js +++ b/ui/assets/local/_app/immutable/chunks/37.555e3f46.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-workers-page.svelte.1cc953f3.js";export{t as component}; +import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-workers-page.svelte.a20aa4e3.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/38.4b687c1d.js b/ui/assets/local/_app/immutable/chunks/38.4b687c1d.js deleted file mode 100644 index f057f1a637..0000000000 --- a/ui/assets/local/_app/immutable/chunks/38.4b687c1d.js +++ /dev/null @@ -1 +0,0 @@ -import{default as t}from"../entry/(app)-select-namespace-page.svelte.be707960.js";export{t as component}; diff --git a/ui/assets/cloud/_app/immutable/chunks/38.331e6a91.js b/ui/assets/local/_app/immutable/chunks/38.b3b299ad.js similarity index 60% rename from ui/assets/cloud/_app/immutable/chunks/38.331e6a91.js rename to ui/assets/local/_app/immutable/chunks/38.b3b299ad.js index 69e37a488b..d3413ba016 100644 --- a/ui/assets/cloud/_app/immutable/chunks/38.331e6a91.js +++ b/ui/assets/local/_app/immutable/chunks/38.b3b299ad.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-select-namespace-page.svelte.5c70abb3.js";export{t as component}; +import{default as t}from"../entry/(app)-select-namespace-page.svelte.bd1ca2bc.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/39.04e3ca71.js b/ui/assets/local/_app/immutable/chunks/39.04e3ca71.js deleted file mode 100644 index d10af2158b..0000000000 --- a/ui/assets/local/_app/immutable/chunks/39.04e3ca71.js +++ /dev/null @@ -1 +0,0 @@ -import{default as t}from"../entry/(login)-login-page.svelte.567aa30a.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/39.5b06ec66.js b/ui/assets/local/_app/immutable/chunks/39.5b06ec66.js new file mode 100644 index 0000000000..fda23e142f --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/39.5b06ec66.js @@ -0,0 +1 @@ +import{default as t}from"../entry/(login)-login-page.svelte.97e05593.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/4.45be338c.js b/ui/assets/local/_app/immutable/chunks/4.09a92121.js similarity index 54% rename from ui/assets/local/_app/immutable/chunks/4.45be338c.js rename to ui/assets/local/_app/immutable/chunks/4.09a92121.js index 2283f1b13d..c7cb981a88 100644 --- a/ui/assets/local/_app/immutable/chunks/4.45be338c.js +++ b/ui/assets/local/_app/immutable/chunks/4.09a92121.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-import-events-_namespace_-_workflow_-_run_-history-layout.svelte.a479651f.js";export{t as component}; +import{default as t}from"../entry/(app)-import-events-_namespace_-_workflow_-_run_-history-layout.svelte.860dbcd8.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/40.67eb5659.js b/ui/assets/local/_app/immutable/chunks/40.67eb5659.js new file mode 100644 index 0000000000..dbe92ed3b5 --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/40.67eb5659.js @@ -0,0 +1 @@ +import{default as t}from"../entry/(login)-signin-page.svelte.97e05593.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/40.c8d56018.js b/ui/assets/local/_app/immutable/chunks/40.c8d56018.js deleted file mode 100644 index 28c24cf5d6..0000000000 --- a/ui/assets/local/_app/immutable/chunks/40.c8d56018.js +++ /dev/null @@ -1 +0,0 @@ -import{default as t}from"../entry/(login)-signin-page.svelte.567aa30a.js";export{t as component}; diff --git a/ui/assets/cloud/_app/immutable/chunks/0.fd416dd1.js b/ui/assets/local/_app/immutable/chunks/5.7afa0853.js similarity index 54% rename from ui/assets/cloud/_app/immutable/chunks/0.fd416dd1.js rename to ui/assets/local/_app/immutable/chunks/5.7afa0853.js index 45c1d6ae69..93c5eebbae 100644 --- a/ui/assets/cloud/_app/immutable/chunks/0.fd416dd1.js +++ b/ui/assets/local/_app/immutable/chunks/5.7afa0853.js @@ -1 +1 @@ -import{_ as r}from"./_layout.42e1b349.js";import{default as t}from"../entry/layout.svelte.025dfd6f.js";export{t as component,r as universal}; +import{_ as r}from"./_layout.d9d2dc15.js";import{default as t}from"../entry/layout.svelte.025dfd6f.js";export{t as component,r as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/5.b9aa0a3d.js b/ui/assets/local/_app/immutable/chunks/5.b9aa0a3d.js deleted file mode 100644 index b1d85a8ff7..0000000000 --- a/ui/assets/local/_app/immutable/chunks/5.b9aa0a3d.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as r}from"./_layout.21a62851.js";import{default as t}from"../entry/layout.svelte.025dfd6f.js";export{t as component,r as universal}; diff --git a/ui/assets/cloud/_app/immutable/chunks/8.8f4a62f7.js b/ui/assets/local/_app/immutable/chunks/8.2ada265f.js similarity index 54% rename from ui/assets/cloud/_app/immutable/chunks/8.8f4a62f7.js rename to ui/assets/local/_app/immutable/chunks/8.2ada265f.js index 609d7695ac..ee0dd4d17d 100644 --- a/ui/assets/cloud/_app/immutable/chunks/8.8f4a62f7.js +++ b/ui/assets/local/_app/immutable/chunks/8.2ada265f.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-layout.svelte.8cf81567.js";export{t as component}; +import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-layout.svelte.ba213781.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/8.3705dbe5.js b/ui/assets/local/_app/immutable/chunks/8.3705dbe5.js deleted file mode 100644 index 1b6303914b..0000000000 --- a/ui/assets/local/_app/immutable/chunks/8.3705dbe5.js +++ /dev/null @@ -1 +0,0 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-layout.svelte.c84bd2ad.js";export{t as component}; diff --git a/ui/assets/cloud/_app/immutable/chunks/9.5bef39ff.js b/ui/assets/local/_app/immutable/chunks/9.1e97cfce.js similarity index 57% rename from ui/assets/cloud/_app/immutable/chunks/9.5bef39ff.js rename to ui/assets/local/_app/immutable/chunks/9.1e97cfce.js index 691b33b977..054cc74a52 100644 --- a/ui/assets/cloud/_app/immutable/chunks/9.5bef39ff.js +++ b/ui/assets/local/_app/immutable/chunks/9.1e97cfce.js @@ -1 +1 @@ -import{_ as r}from"./_layout.78b2222c.js";import{default as t}from"../entry/(login)-layout.svelte.025dfd6f.js";export{t as component,r as universal}; +import{_ as r}from"./_layout.7611e016.js";import{default as t}from"../entry/(login)-layout.svelte.025dfd6f.js";export{t as component,r as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/9.355cce96.js b/ui/assets/local/_app/immutable/chunks/9.355cce96.js deleted file mode 100644 index 838abfc72d..0000000000 --- a/ui/assets/local/_app/immutable/chunks/9.355cce96.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as r}from"./_layout.89dc294c.js";import{default as t}from"../entry/(login)-layout.svelte.025dfd6f.js";export{t as component,r as universal}; diff --git a/ui/assets/cloud/_app/immutable/chunks/_layout.2d899b3e.js b/ui/assets/local/_app/immutable/chunks/_layout.0155ac74.js similarity index 96% rename from ui/assets/cloud/_app/immutable/chunks/_layout.2d899b3e.js rename to ui/assets/local/_app/immutable/chunks/_layout.0155ac74.js index f8415dfdb3..b4444e68a1 100644 --- a/ui/assets/cloud/_app/immutable/chunks/_layout.2d899b3e.js +++ b/ui/assets/local/_app/immutable/chunks/_layout.0155ac74.js @@ -1 +1 @@ -import{r as ae}from"./index.b1f5b21f.js";import{c as K}from"./_commonjsHelpers.28e086c5.js";/* empty css */import{f as oe}from"./settings-service.3ce5ddfc.js";import{s as ie,g as se}from"./auth-user.ead5c000.js";import{c as le}from"./cluster.90d7eb2f.js";import{r as ce,a as ue}from"./route-for-api.5906c1df.js";import{f as ge}from"./namespaces-service.bc2964ad.js";import{B as X,e as fe}from"./route-for.5e008fb6.js";import{p as he}from"./parse-with-big-int.02af2f95.js";import{a as de}from"./atob.79a337b0.js";var Q={},pe={get exports(){return Q},set exports(h){Q=h}};(function(h){var u=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{},g=function(c){var d=/\blang(?:uage)?-([\w-]+)\b/i,v=0,f={},i={manual:c.Prism&&c.Prism.manual,disableWorkerMessageHandler:c.Prism&&c.Prism.disableWorkerMessageHandler,util:{encode:function t(e){return e instanceof w?new w(e.type,t(e.content),e.alias):Array.isArray(e)?e.map(t):e.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(n){var t=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(n.stack)||[])[1];if(t){var e=document.getElementsByTagName("script");for(var a in e)if(e[a].src==t)return e[a]}return null}},isActive:function(t,e,a){for(var n="no-"+e;t;){var r=t.classList;if(r.contains(e))return!0;if(r.contains(n))return!1;t=t.parentElement}return!!a}},languages:{plain:f,plaintext:f,text:f,txt:f,extend:function(t,e){var a=i.util.clone(i.languages[t]);for(var n in e)a[n]=e[n];return a},insertBefore:function(t,e,a,n){var r=(n=n||i.languages)[t],s={};for(var o in r)if(r.hasOwnProperty(o)){if(o==e)for(var l in a)a.hasOwnProperty(l)&&(s[l]=a[l]);a.hasOwnProperty(o)||(s[o]=r[o])}var p=n[t];return n[t]=s,i.languages.DFS(i.languages,function(x,N){N===p&&x!=t&&(this[x]=s)}),s},DFS:function t(e,a,n,r){r=r||{};var s=i.util.objId;for(var o in e)if(e.hasOwnProperty(o)){a.call(e,o,e[o],n||o);var l=e[o],p=i.util.type(l);p!=="Object"||r[s(l)]?p!=="Array"||r[s(l)]||(r[s(l)]=!0,t(l,a,o,r)):(r[s(l)]=!0,t(l,a,null,r))}}},plugins:{},highlightAll:function(t,e){i.highlightAllUnder(document,t,e)},highlightAllUnder:function(t,e,a){var n={callback:a,container:t,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};i.hooks.run("before-highlightall",n),n.elements=Array.prototype.slice.apply(n.container.querySelectorAll(n.selector)),i.hooks.run("before-all-elements-highlight",n);for(var r,s=0;r=n.elements[s++];)i.highlightElement(r,e===!0,n.callback)},highlightElement:function(t,e,a){var n=i.util.getLanguage(t),r=i.languages[n];t.className=t.className.replace(d,"").replace(/\s+/g," ")+" language-"+n;var s=t.parentElement;s&&s.nodeName.toLowerCase()==="pre"&&(s.className=s.className.replace(d,"").replace(/\s+/g," ")+" language-"+n);var o={element:t,language:n,grammar:r,code:t.textContent};function l(x){o.highlightedCode=x,i.hooks.run("before-insert",o),o.element.innerHTML=o.highlightedCode,i.hooks.run("after-highlight",o),i.hooks.run("complete",o),a&&a.call(o.element)}if(i.hooks.run("before-sanity-check",o),(s=o.element.parentElement)&&s.nodeName.toLowerCase()==="pre"&&!s.hasAttribute("tabindex")&&s.setAttribute("tabindex","0"),!o.code)return i.hooks.run("complete",o),void(a&&a.call(o.element));if(i.hooks.run("before-highlight",o),o.grammar)if(e&&c.Worker){const x=i.filename??`${window.location.origin}/src/lib/vendor/prism/prism.cjs`;var p=new Worker(x);p.onerror=function(){l(i.highlight(o.code,o.grammar,o.language))},p.onmessage=function(N){l(N.data)},p.postMessage(JSON.stringify({language:o.language,code:o.code,immediateClose:!0}))}else l(i.highlight(o.code,o.grammar,o.language));else l(i.util.encode(o.code))},highlight:function(t,e,a){var n={code:t,grammar:e,language:a};return i.hooks.run("before-tokenize",n),n.tokens=i.tokenize(n.code,n.grammar),i.hooks.run("after-tokenize",n),w.stringify(i.util.encode(n.tokens),n.language)},tokenize:function(t,e){var a=e.rest;if(a){for(var n in a)e[n]=a[n];delete e.rest}var r=new Y;return P(r,r.head,t),function s(o,l,p,x,N,y){for(var O in p)if(p.hasOwnProperty(O)&&p[O]){var E=p[O];E=Array.isArray(E)?E:[E];for(var _=0;_=y.reach);k+=m.value.length,m=m.next){var j=m.value;if(l.length>o.length)return;if(!(j instanceof w)){var A,T=1;if(R){if(!(A=$(V,k,o,G)))break;var W=A.index,ne=A.index+A[0].length,S=k;for(S+=m.value.length;S<=W;)m=m.next,S+=m.value.length;if(S-=m.value.length,k=S,m.value instanceof w)continue;for(var L=m;L!==l.tail&&(Sy.reach&&(y.reach=q);var M=m.prev;F&&(M=P(l,M,F),k+=F.length),Z(l,M,T);var re=new w(O,H?i.tokenize(I,H):I,ee,I);if(m=P(l,M,re),J&&P(l,m,J),1y.reach&&(y.reach=U.reach)}}}}}}(t,r,e,r.head,0),function(s){for(var o=[],l=s.head.next;l!==s.tail;)o.push(l.value),l=l.next;return o}(r)},hooks:{all:{},add:function(t,e){var a=i.hooks.all;a[t]=a[t]||[],a[t].push(e)},run:function(t,e){var a=i.hooks.all[t];if(a&&a.length)for(var n,r=0;n=a[r++];)n(e)}},Token:w};function w(t,e,a,n){this.type=t,this.content=e,this.alias=a,this.length=0|(n||"").length}function $(t,e,a,n){t.lastIndex=e;var r=t.exec(a);if(r&&n&&r[1]){var s=r[1].length;r.index+=s,r[0]=r[0].slice(s)}return r}function Y(){var t={value:null,prev:null,next:null},e={value:null,prev:t,next:null};t.next=e,this.head=t,this.tail=e,this.length=0}function P(t,e,a){var n=e.next,r={value:a,prev:e,next:n};return e.next=r,n.prev=r,t.length++,r}function Z(t,e,a){for(var n=e.next,r=0;r"+r.content+""},!c.document)return c.addEventListener&&(i.disableWorkerMessageHandler||c.addEventListener("message",function(t){var e=JSON.parse(t.data),a=e.language,n=e.code,r=e.immediateClose;c.postMessage(i.highlight(n,i.languages[a],a)),r&&c.close()},!1)),i;var C=i.util.currentScript();function B(){i.manual||i.highlightAll()}if(C&&(i.filename=C.src,C.hasAttribute("data-manual")&&(i.manual=!0)),!i.manual){var D=document.readyState;D==="loading"||D==="interactive"&&C&&C.defer?document.addEventListener("DOMContentLoaded",B):window.requestAnimationFrame?window.requestAnimationFrame(B):window.setTimeout(B,16)}return i}(u);h.exports&&(h.exports=g),typeof K<"u"&&(K.Prism=g),g.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:true|false)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},g.languages.webmanifest=g.languages.json})(pe);const me=async(h,u=fetch)=>{if(h.runtimeEnvironment.isCloud)return;const g=ce("cluster");return await ue(g,{request:u}).then(c=>(le.set(c),c))},ve=async(h=fetch)=>{try{const u=await h("https://api.github.com/repos/temporalio/ui-server/releases"),g=await u.json();if(!u.ok)return;let c;if(g.length>0){const{tag_name:d}=g[0];c=d.replace("v","")}return c}catch{return""}},ye=(h,u)=>!h.auth.enabled||Boolean(u==null?void 0:u.accessToken),z="user",be=(h=X)=>{if(!h)return{};const u=document.cookie.split(";");let g=0,c=u.find(v=>v.includes(z+g)),d="";for(;c;){const[v,f]=c.split("=");d+=f,g++,c=u.find(i=>i.includes(z+g))}if(d)try{const v=de(d),f=he(v);return{accessToken:f==null?void 0:f.AccessToken,idToken:f==null?void 0:f.IDToken,name:f==null?void 0:f.Name,picture:f==null?void 0:f.Picture,email:f==null?void 0:f.Email}}catch(v){console.error(v)}return{}},ke=(h=X)=>{if(!h)return;const u=document.cookie.split(";");let g=0,c=u.find(d=>d.includes(z+g));for(;c;){const[d]=c.split("=");document.cookie=`${d}=; max-age=-1; path=/`,g++,c=u.find(v=>v.includes(z+g))}},we=async function({fetch:h}){const u=await oe(h),g=be();g!=null&&g.accessToken&&(ie(g),ke());const c=se();if(!ye(u,c))throw ae(302,fe());ge(u,h);const d=await me(u,h),v={current:u.version,recommended:u.notifyOnNewVersion?await ve(h):void 0};return{user:c,uiVersionInfo:v,settings:u,cluster:d}},Te=Object.freeze(Object.defineProperty({__proto__:null,load:we},Symbol.toStringTag,{value:"Module"}));export{Te as _,we as l}; +import{r as ae}from"./index.b1f5b21f.js";import{c as K}from"./_commonjsHelpers.28e086c5.js";/* empty css */import{f as oe}from"./settings-service.4436430b.js";import{s as ie,g as se}from"./auth-user.ead5c000.js";import{c as le}from"./cluster.90d7eb2f.js";import{r as ce,a as ue}from"./route-for-api.851ff400.js";import{f as ge}from"./namespaces-service.97b7c0ed.js";import{B as X,e as fe}from"./route-for.3e9c6ff4.js";import{p as he}from"./parse-with-big-int.02af2f95.js";import{a as de}from"./atob.1f6851d3.js";var Q={},pe={get exports(){return Q},set exports(h){Q=h}};(function(h){var u=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{},g=function(c){var d=/\blang(?:uage)?-([\w-]+)\b/i,v=0,f={},i={manual:c.Prism&&c.Prism.manual,disableWorkerMessageHandler:c.Prism&&c.Prism.disableWorkerMessageHandler,util:{encode:function t(e){return e instanceof w?new w(e.type,t(e.content),e.alias):Array.isArray(e)?e.map(t):e.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(n){var t=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(n.stack)||[])[1];if(t){var e=document.getElementsByTagName("script");for(var a in e)if(e[a].src==t)return e[a]}return null}},isActive:function(t,e,a){for(var n="no-"+e;t;){var r=t.classList;if(r.contains(e))return!0;if(r.contains(n))return!1;t=t.parentElement}return!!a}},languages:{plain:f,plaintext:f,text:f,txt:f,extend:function(t,e){var a=i.util.clone(i.languages[t]);for(var n in e)a[n]=e[n];return a},insertBefore:function(t,e,a,n){var r=(n=n||i.languages)[t],s={};for(var o in r)if(r.hasOwnProperty(o)){if(o==e)for(var l in a)a.hasOwnProperty(l)&&(s[l]=a[l]);a.hasOwnProperty(o)||(s[o]=r[o])}var p=n[t];return n[t]=s,i.languages.DFS(i.languages,function(x,N){N===p&&x!=t&&(this[x]=s)}),s},DFS:function t(e,a,n,r){r=r||{};var s=i.util.objId;for(var o in e)if(e.hasOwnProperty(o)){a.call(e,o,e[o],n||o);var l=e[o],p=i.util.type(l);p!=="Object"||r[s(l)]?p!=="Array"||r[s(l)]||(r[s(l)]=!0,t(l,a,o,r)):(r[s(l)]=!0,t(l,a,null,r))}}},plugins:{},highlightAll:function(t,e){i.highlightAllUnder(document,t,e)},highlightAllUnder:function(t,e,a){var n={callback:a,container:t,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};i.hooks.run("before-highlightall",n),n.elements=Array.prototype.slice.apply(n.container.querySelectorAll(n.selector)),i.hooks.run("before-all-elements-highlight",n);for(var r,s=0;r=n.elements[s++];)i.highlightElement(r,e===!0,n.callback)},highlightElement:function(t,e,a){var n=i.util.getLanguage(t),r=i.languages[n];t.className=t.className.replace(d,"").replace(/\s+/g," ")+" language-"+n;var s=t.parentElement;s&&s.nodeName.toLowerCase()==="pre"&&(s.className=s.className.replace(d,"").replace(/\s+/g," ")+" language-"+n);var o={element:t,language:n,grammar:r,code:t.textContent};function l(x){o.highlightedCode=x,i.hooks.run("before-insert",o),o.element.innerHTML=o.highlightedCode,i.hooks.run("after-highlight",o),i.hooks.run("complete",o),a&&a.call(o.element)}if(i.hooks.run("before-sanity-check",o),(s=o.element.parentElement)&&s.nodeName.toLowerCase()==="pre"&&!s.hasAttribute("tabindex")&&s.setAttribute("tabindex","0"),!o.code)return i.hooks.run("complete",o),void(a&&a.call(o.element));if(i.hooks.run("before-highlight",o),o.grammar)if(e&&c.Worker){const x=i.filename??`${window.location.origin}/src/lib/vendor/prism/prism.cjs`;var p=new Worker(x);p.onerror=function(){l(i.highlight(o.code,o.grammar,o.language))},p.onmessage=function(N){l(N.data)},p.postMessage(JSON.stringify({language:o.language,code:o.code,immediateClose:!0}))}else l(i.highlight(o.code,o.grammar,o.language));else l(i.util.encode(o.code))},highlight:function(t,e,a){var n={code:t,grammar:e,language:a};return i.hooks.run("before-tokenize",n),n.tokens=i.tokenize(n.code,n.grammar),i.hooks.run("after-tokenize",n),w.stringify(i.util.encode(n.tokens),n.language)},tokenize:function(t,e){var a=e.rest;if(a){for(var n in a)e[n]=a[n];delete e.rest}var r=new Y;return P(r,r.head,t),function s(o,l,p,x,N,y){for(var O in p)if(p.hasOwnProperty(O)&&p[O]){var E=p[O];E=Array.isArray(E)?E:[E];for(var _=0;_=y.reach);k+=m.value.length,m=m.next){var j=m.value;if(l.length>o.length)return;if(!(j instanceof w)){var A,T=1;if(R){if(!(A=$(V,k,o,G)))break;var W=A.index,ne=A.index+A[0].length,S=k;for(S+=m.value.length;S<=W;)m=m.next,S+=m.value.length;if(S-=m.value.length,k=S,m.value instanceof w)continue;for(var L=m;L!==l.tail&&(Sy.reach&&(y.reach=q);var M=m.prev;F&&(M=P(l,M,F),k+=F.length),Z(l,M,T);var re=new w(O,H?i.tokenize(I,H):I,ee,I);if(m=P(l,M,re),J&&P(l,m,J),1y.reach&&(y.reach=U.reach)}}}}}}(t,r,e,r.head,0),function(s){for(var o=[],l=s.head.next;l!==s.tail;)o.push(l.value),l=l.next;return o}(r)},hooks:{all:{},add:function(t,e){var a=i.hooks.all;a[t]=a[t]||[],a[t].push(e)},run:function(t,e){var a=i.hooks.all[t];if(a&&a.length)for(var n,r=0;n=a[r++];)n(e)}},Token:w};function w(t,e,a,n){this.type=t,this.content=e,this.alias=a,this.length=0|(n||"").length}function $(t,e,a,n){t.lastIndex=e;var r=t.exec(a);if(r&&n&&r[1]){var s=r[1].length;r.index+=s,r[0]=r[0].slice(s)}return r}function Y(){var t={value:null,prev:null,next:null},e={value:null,prev:t,next:null};t.next=e,this.head=t,this.tail=e,this.length=0}function P(t,e,a){var n=e.next,r={value:a,prev:e,next:n};return e.next=r,n.prev=r,t.length++,r}function Z(t,e,a){for(var n=e.next,r=0;r"+r.content+""},!c.document)return c.addEventListener&&(i.disableWorkerMessageHandler||c.addEventListener("message",function(t){var e=JSON.parse(t.data),a=e.language,n=e.code,r=e.immediateClose;c.postMessage(i.highlight(n,i.languages[a],a)),r&&c.close()},!1)),i;var C=i.util.currentScript();function B(){i.manual||i.highlightAll()}if(C&&(i.filename=C.src,C.hasAttribute("data-manual")&&(i.manual=!0)),!i.manual){var D=document.readyState;D==="loading"||D==="interactive"&&C&&C.defer?document.addEventListener("DOMContentLoaded",B):window.requestAnimationFrame?window.requestAnimationFrame(B):window.setTimeout(B,16)}return i}(u);h.exports&&(h.exports=g),typeof K<"u"&&(K.Prism=g),g.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:true|false)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},g.languages.webmanifest=g.languages.json})(pe);const me=async(h,u=fetch)=>{if(h.runtimeEnvironment.isCloud)return;const g=ce("cluster");return await ue(g,{request:u}).then(c=>(le.set(c),c))},ve=async(h=fetch)=>{try{const u=await h("https://api.github.com/repos/temporalio/ui-server/releases"),g=await u.json();if(!u.ok)return;let c;if(g.length>0){const{tag_name:d}=g[0];c=d.replace("v","")}return c}catch{return""}},ye=(h,u)=>!h.auth.enabled||Boolean(u==null?void 0:u.accessToken),z="user",be=(h=X)=>{if(!h)return{};const u=document.cookie.split(";");let g=0,c=u.find(v=>v.includes(z+g)),d="";for(;c;){const[v,f]=c.split("=");d+=f,g++,c=u.find(i=>i.includes(z+g))}if(d)try{const v=de(d),f=he(v);return{accessToken:f==null?void 0:f.AccessToken,idToken:f==null?void 0:f.IDToken,name:f==null?void 0:f.Name,picture:f==null?void 0:f.Picture,email:f==null?void 0:f.Email}}catch(v){console.error(v)}return{}},ke=(h=X)=>{if(!h)return;const u=document.cookie.split(";");let g=0,c=u.find(d=>d.includes(z+g));for(;c;){const[d]=c.split("=");document.cookie=`${d}=; max-age=-1; path=/`,g++,c=u.find(v=>v.includes(z+g))}},we=async function({fetch:h}){const u=await oe(h),g=be();g!=null&&g.accessToken&&(ie(g),ke());const c=se();if(!ye(u,c))throw ae(302,fe());ge(u,h);const d=await me(u,h),v={current:u.version,recommended:u.notifyOnNewVersion?await ve(h):void 0};return{user:c,uiVersionInfo:v,settings:u,cluster:d}},Te=Object.freeze(Object.defineProperty({__proto__:null,load:we},Symbol.toStringTag,{value:"Module"}));export{Te as _,we as l}; diff --git a/ui/assets/local/_app/immutable/chunks/_layout.02558e64.js b/ui/assets/local/_app/immutable/chunks/_layout.02558e64.js deleted file mode 100644 index a82effd94a..0000000000 --- a/ui/assets/local/_app/immutable/chunks/_layout.02558e64.js +++ /dev/null @@ -1 +0,0 @@ -import{r as ae}from"./index.b1f5b21f.js";import{c as K}from"./_commonjsHelpers.28e086c5.js";/* empty css */import{f as oe}from"./settings-service.499312b2.js";import{s as ie,g as se}from"./auth-user.ead5c000.js";import{c as le}from"./cluster.90d7eb2f.js";import{r as ce,a as ue}from"./route-for-api.58c31c66.js";import{f as ge}from"./namespaces-service.00a861d3.js";import{B as X,e as fe}from"./route-for.b4518ba8.js";import{p as he}from"./parse-with-big-int.02af2f95.js";import{a as de}from"./atob.7dd98e11.js";var Q={},pe={get exports(){return Q},set exports(h){Q=h}};(function(h){var u=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{},g=function(c){var d=/\blang(?:uage)?-([\w-]+)\b/i,v=0,f={},i={manual:c.Prism&&c.Prism.manual,disableWorkerMessageHandler:c.Prism&&c.Prism.disableWorkerMessageHandler,util:{encode:function t(e){return e instanceof w?new w(e.type,t(e.content),e.alias):Array.isArray(e)?e.map(t):e.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(n){var t=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(n.stack)||[])[1];if(t){var e=document.getElementsByTagName("script");for(var a in e)if(e[a].src==t)return e[a]}return null}},isActive:function(t,e,a){for(var n="no-"+e;t;){var r=t.classList;if(r.contains(e))return!0;if(r.contains(n))return!1;t=t.parentElement}return!!a}},languages:{plain:f,plaintext:f,text:f,txt:f,extend:function(t,e){var a=i.util.clone(i.languages[t]);for(var n in e)a[n]=e[n];return a},insertBefore:function(t,e,a,n){var r=(n=n||i.languages)[t],s={};for(var o in r)if(r.hasOwnProperty(o)){if(o==e)for(var l in a)a.hasOwnProperty(l)&&(s[l]=a[l]);a.hasOwnProperty(o)||(s[o]=r[o])}var p=n[t];return n[t]=s,i.languages.DFS(i.languages,function(x,N){N===p&&x!=t&&(this[x]=s)}),s},DFS:function t(e,a,n,r){r=r||{};var s=i.util.objId;for(var o in e)if(e.hasOwnProperty(o)){a.call(e,o,e[o],n||o);var l=e[o],p=i.util.type(l);p!=="Object"||r[s(l)]?p!=="Array"||r[s(l)]||(r[s(l)]=!0,t(l,a,o,r)):(r[s(l)]=!0,t(l,a,null,r))}}},plugins:{},highlightAll:function(t,e){i.highlightAllUnder(document,t,e)},highlightAllUnder:function(t,e,a){var n={callback:a,container:t,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};i.hooks.run("before-highlightall",n),n.elements=Array.prototype.slice.apply(n.container.querySelectorAll(n.selector)),i.hooks.run("before-all-elements-highlight",n);for(var r,s=0;r=n.elements[s++];)i.highlightElement(r,e===!0,n.callback)},highlightElement:function(t,e,a){var n=i.util.getLanguage(t),r=i.languages[n];t.className=t.className.replace(d,"").replace(/\s+/g," ")+" language-"+n;var s=t.parentElement;s&&s.nodeName.toLowerCase()==="pre"&&(s.className=s.className.replace(d,"").replace(/\s+/g," ")+" language-"+n);var o={element:t,language:n,grammar:r,code:t.textContent};function l(x){o.highlightedCode=x,i.hooks.run("before-insert",o),o.element.innerHTML=o.highlightedCode,i.hooks.run("after-highlight",o),i.hooks.run("complete",o),a&&a.call(o.element)}if(i.hooks.run("before-sanity-check",o),(s=o.element.parentElement)&&s.nodeName.toLowerCase()==="pre"&&!s.hasAttribute("tabindex")&&s.setAttribute("tabindex","0"),!o.code)return i.hooks.run("complete",o),void(a&&a.call(o.element));if(i.hooks.run("before-highlight",o),o.grammar)if(e&&c.Worker){const x=i.filename??`${window.location.origin}/src/lib/vendor/prism/prism.cjs`;var p=new Worker(x);p.onerror=function(){l(i.highlight(o.code,o.grammar,o.language))},p.onmessage=function(N){l(N.data)},p.postMessage(JSON.stringify({language:o.language,code:o.code,immediateClose:!0}))}else l(i.highlight(o.code,o.grammar,o.language));else l(i.util.encode(o.code))},highlight:function(t,e,a){var n={code:t,grammar:e,language:a};return i.hooks.run("before-tokenize",n),n.tokens=i.tokenize(n.code,n.grammar),i.hooks.run("after-tokenize",n),w.stringify(i.util.encode(n.tokens),n.language)},tokenize:function(t,e){var a=e.rest;if(a){for(var n in a)e[n]=a[n];delete e.rest}var r=new Y;return P(r,r.head,t),function s(o,l,p,x,N,y){for(var O in p)if(p.hasOwnProperty(O)&&p[O]){var E=p[O];E=Array.isArray(E)?E:[E];for(var _=0;_=y.reach);k+=m.value.length,m=m.next){var j=m.value;if(l.length>o.length)return;if(!(j instanceof w)){var A,T=1;if(R){if(!(A=$(V,k,o,G)))break;var W=A.index,ne=A.index+A[0].length,S=k;for(S+=m.value.length;S<=W;)m=m.next,S+=m.value.length;if(S-=m.value.length,k=S,m.value instanceof w)continue;for(var L=m;L!==l.tail&&(Sy.reach&&(y.reach=q);var M=m.prev;F&&(M=P(l,M,F),k+=F.length),Z(l,M,T);var re=new w(O,H?i.tokenize(I,H):I,ee,I);if(m=P(l,M,re),J&&P(l,m,J),1y.reach&&(y.reach=U.reach)}}}}}}(t,r,e,r.head,0),function(s){for(var o=[],l=s.head.next;l!==s.tail;)o.push(l.value),l=l.next;return o}(r)},hooks:{all:{},add:function(t,e){var a=i.hooks.all;a[t]=a[t]||[],a[t].push(e)},run:function(t,e){var a=i.hooks.all[t];if(a&&a.length)for(var n,r=0;n=a[r++];)n(e)}},Token:w};function w(t,e,a,n){this.type=t,this.content=e,this.alias=a,this.length=0|(n||"").length}function $(t,e,a,n){t.lastIndex=e;var r=t.exec(a);if(r&&n&&r[1]){var s=r[1].length;r.index+=s,r[0]=r[0].slice(s)}return r}function Y(){var t={value:null,prev:null,next:null},e={value:null,prev:t,next:null};t.next=e,this.head=t,this.tail=e,this.length=0}function P(t,e,a){var n=e.next,r={value:a,prev:e,next:n};return e.next=r,n.prev=r,t.length++,r}function Z(t,e,a){for(var n=e.next,r=0;r"+r.content+""},!c.document)return c.addEventListener&&(i.disableWorkerMessageHandler||c.addEventListener("message",function(t){var e=JSON.parse(t.data),a=e.language,n=e.code,r=e.immediateClose;c.postMessage(i.highlight(n,i.languages[a],a)),r&&c.close()},!1)),i;var C=i.util.currentScript();function B(){i.manual||i.highlightAll()}if(C&&(i.filename=C.src,C.hasAttribute("data-manual")&&(i.manual=!0)),!i.manual){var D=document.readyState;D==="loading"||D==="interactive"&&C&&C.defer?document.addEventListener("DOMContentLoaded",B):window.requestAnimationFrame?window.requestAnimationFrame(B):window.setTimeout(B,16)}return i}(u);h.exports&&(h.exports=g),typeof K<"u"&&(K.Prism=g),g.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:true|false)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},g.languages.webmanifest=g.languages.json})(pe);const me=async(h,u=fetch)=>{if(h.runtimeEnvironment.isCloud)return;const g=ce("cluster");return await ue(g,{request:u}).then(c=>(le.set(c),c))},ve=async(h=fetch)=>{try{const u=await h("https://api.github.com/repos/temporalio/ui-server/releases"),g=await u.json();if(!u.ok)return;let c;if(g.length>0){const{tag_name:d}=g[0];c=d.replace("v","")}return c}catch{return""}},ye=(h,u)=>!h.auth.enabled||Boolean(u==null?void 0:u.accessToken),z="user",be=(h=X)=>{if(!h)return{};const u=document.cookie.split(";");let g=0,c=u.find(v=>v.includes(z+g)),d="";for(;c;){const[v,f]=c.split("=");d+=f,g++,c=u.find(i=>i.includes(z+g))}if(d)try{const v=de(d),f=he(v);return{accessToken:f==null?void 0:f.AccessToken,idToken:f==null?void 0:f.IDToken,name:f==null?void 0:f.Name,picture:f==null?void 0:f.Picture,email:f==null?void 0:f.Email}}catch(v){console.error(v)}return{}},ke=(h=X)=>{if(!h)return;const u=document.cookie.split(";");let g=0,c=u.find(d=>d.includes(z+g));for(;c;){const[d]=c.split("=");document.cookie=`${d}=; max-age=-1; path=/`,g++,c=u.find(v=>v.includes(z+g))}},we=async function({fetch:h}){const u=await oe(h),g=be();g!=null&&g.accessToken&&(ie(g),ke());const c=se();if(!ye(u,c))throw ae(302,fe());ge(u,h);const d=await me(u,h),v={current:u.version,recommended:u.notifyOnNewVersion?await ve(h):void 0};return{user:c,uiVersionInfo:v,settings:u,cluster:d}},Te=Object.freeze(Object.defineProperty({__proto__:null,load:we},Symbol.toStringTag,{value:"Module"}));export{Te as _,we as l}; diff --git a/ui/assets/local/_app/immutable/chunks/_layout.21a62851.js b/ui/assets/local/_app/immutable/chunks/_layout.21a62851.js deleted file mode 100644 index 42d6eef844..0000000000 --- a/ui/assets/local/_app/immutable/chunks/_layout.21a62851.js +++ /dev/null @@ -1 +0,0 @@ -import{r as a,a as o}from"./route-for-api.58c31c66.js";import{a as c}from"./search-attributes.c866741f.js";const u=async(t,e=fetch)=>{const s=a("search-attributes",{namespace:t});return o(s,{request:e}).then(r=>({customAttributes:r.customAttributes,systemAttributes:r.systemAttributes}))},i=async({params:t})=>{const e=await u(t.namespace);c.set(e)},b=Object.freeze(Object.defineProperty({__proto__:null,load:i},Symbol.toStringTag,{value:"Module"}));export{b as _,i as l}; diff --git a/ui/assets/cloud/_app/immutable/chunks/_layout.78b2222c.js b/ui/assets/local/_app/immutable/chunks/_layout.7611e016.js similarity index 81% rename from ui/assets/cloud/_app/immutable/chunks/_layout.78b2222c.js rename to ui/assets/local/_app/immutable/chunks/_layout.7611e016.js index 6adc26de83..f99b0c9b61 100644 --- a/ui/assets/cloud/_app/immutable/chunks/_layout.78b2222c.js +++ b/ui/assets/local/_app/immutable/chunks/_layout.7611e016.js @@ -1 +1 @@ -/* empty css */import{e}from"./index.b1f5b21f.js";import{f as r}from"./settings-service.3ce5ddfc.js";const s=!1,a=async function({fetch:o}){const t=await r(o);if(!t.auth.enabled)throw e(404);return{settings:t}},c=Object.freeze(Object.defineProperty({__proto__:null,load:a,ssr:s},Symbol.toStringTag,{value:"Module"}));export{c as _,a as l,s}; +/* empty css */import{e}from"./index.b1f5b21f.js";import{f as r}from"./settings-service.4436430b.js";const s=!1,a=async function({fetch:o}){const t=await r(o);if(!t.auth.enabled)throw e(404);return{settings:t}},c=Object.freeze(Object.defineProperty({__proto__:null,load:a,ssr:s},Symbol.toStringTag,{value:"Module"}));export{c as _,a as l,s}; diff --git a/ui/assets/local/_app/immutable/chunks/_layout.89dc294c.js b/ui/assets/local/_app/immutable/chunks/_layout.89dc294c.js deleted file mode 100644 index 6dff330799..0000000000 --- a/ui/assets/local/_app/immutable/chunks/_layout.89dc294c.js +++ /dev/null @@ -1 +0,0 @@ -/* empty css */import{e}from"./index.b1f5b21f.js";import{f as r}from"./settings-service.499312b2.js";const s=!1,a=async function({fetch:o}){const t=await r(o);if(!t.auth.enabled)throw e(404);return{settings:t}},c=Object.freeze(Object.defineProperty({__proto__:null,load:a,ssr:s},Symbol.toStringTag,{value:"Module"}));export{c as _,a as l,s}; diff --git a/ui/assets/local/_app/immutable/chunks/_layout.d9d2dc15.js b/ui/assets/local/_app/immutable/chunks/_layout.d9d2dc15.js new file mode 100644 index 0000000000..de2021dc54 --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/_layout.d9d2dc15.js @@ -0,0 +1 @@ +import{r as o,a}from"./route-for-api.851ff400.js";import{a as c}from"./search-attributes.c866741f.js";const u=async(t,e=fetch)=>{try{const r=o("search-attributes",{namespace:t}),s=await a(r,{request:e});return{customAttributes:s.customAttributes,systemAttributes:s.systemAttributes}}catch(r){return console.error("Error fetching search attributes for namespace",t,r),{customAttributes:{},systemAttributes:{}}}},i=async({params:t})=>{const e=await u(t.namespace);c.set(e)},m=Object.freeze(Object.defineProperty({__proto__:null,load:i},Symbol.toStringTag,{value:"Module"}));export{m as _,i as l}; diff --git a/ui/assets/cloud/_app/immutable/chunks/_page.18598a95.js b/ui/assets/local/_app/immutable/chunks/_page.029207e9.js similarity index 80% rename from ui/assets/cloud/_app/immutable/chunks/_page.18598a95.js rename to ui/assets/local/_app/immutable/chunks/_page.029207e9.js index c9c7d36cdf..f8dcdb9985 100644 --- a/ui/assets/cloud/_app/immutable/chunks/_page.18598a95.js +++ b/ui/assets/local/_app/immutable/chunks/_page.029207e9.js @@ -1 +1 @@ -import{r as a}from"./index.b1f5b21f.js";import{f as s}from"./route-for.5e008fb6.js";const c=async function({params:o}){const{namespace:r,workflow:t,run:e}=o,n=s({namespace:r,workflow:t,run:e});throw a(302,n)},i=Object.freeze(Object.defineProperty({__proto__:null,load:c},Symbol.toStringTag,{value:"Module"}));export{i as _,c as l}; +import{r as a}from"./index.b1f5b21f.js";import{f as s}from"./route-for.3e9c6ff4.js";const c=async function({params:o}){const{namespace:r,workflow:t,run:e}=o,n=s({namespace:r,workflow:t,run:e});throw a(302,n)},i=Object.freeze(Object.defineProperty({__proto__:null,load:c},Symbol.toStringTag,{value:"Module"}));export{i as _,c as l}; diff --git a/ui/assets/cloud/_app/immutable/chunks/_page.c4d10a05.js b/ui/assets/local/_app/immutable/chunks/_page.0c8248fb.js similarity index 85% rename from ui/assets/cloud/_app/immutable/chunks/_page.c4d10a05.js rename to ui/assets/local/_app/immutable/chunks/_page.0c8248fb.js index c60b1f1812..8b77626602 100644 --- a/ui/assets/cloud/_app/immutable/chunks/_page.c4d10a05.js +++ b/ui/assets/local/_app/immutable/chunks/_page.0c8248fb.js @@ -1 +1 @@ -import{r as a}from"./index.b1f5b21f.js";import{r as n}from"./route-for.5e008fb6.js";const i=async({parent:s})=>{var t,r;const e=await s(),o=(t=e==null?void 0:e.settings)==null?void 0:t.defaultNamespace;if((r=e.settings.runtimeEnvironment)==null?void 0:r.isCloud)throw a(302,n({namespace:o}));return{defaultNamespace:o}},m=Object.freeze(Object.defineProperty({__proto__:null,load:i},Symbol.toStringTag,{value:"Module"}));export{m as _,i as l}; +import{r as a}from"./index.b1f5b21f.js";import{r as n}from"./route-for.3e9c6ff4.js";const i=async({parent:s})=>{var t,r;const e=await s(),o=(t=e==null?void 0:e.settings)==null?void 0:t.defaultNamespace;if((r=e.settings.runtimeEnvironment)==null?void 0:r.isCloud)throw a(302,n({namespace:o}));return{defaultNamespace:o}},m=Object.freeze(Object.defineProperty({__proto__:null,load:i},Symbol.toStringTag,{value:"Module"}));export{m as _,i as l}; diff --git a/ui/assets/local/_app/immutable/chunks/_page.0f7a0fac.js b/ui/assets/local/_app/immutable/chunks/_page.0f7a0fac.js deleted file mode 100644 index 42693dfcf1..0000000000 --- a/ui/assets/local/_app/immutable/chunks/_page.0f7a0fac.js +++ /dev/null @@ -1 +0,0 @@ -import{r as a}from"./index.b1f5b21f.js";import{f as s}from"./route-for.b4518ba8.js";const c=async function({params:o}){const{namespace:r,workflow:t,run:e}=o,n=s({namespace:r,workflow:t,run:e});throw a(302,n)},i=Object.freeze(Object.defineProperty({__proto__:null,load:c},Symbol.toStringTag,{value:"Module"}));export{i as _,c as l}; diff --git a/ui/assets/local/_app/immutable/chunks/_page.104de196.js b/ui/assets/local/_app/immutable/chunks/_page.104de196.js deleted file mode 100644 index 42693dfcf1..0000000000 --- a/ui/assets/local/_app/immutable/chunks/_page.104de196.js +++ /dev/null @@ -1 +0,0 @@ -import{r as a}from"./index.b1f5b21f.js";import{f as s}from"./route-for.b4518ba8.js";const c=async function({params:o}){const{namespace:r,workflow:t,run:e}=o,n=s({namespace:r,workflow:t,run:e});throw a(302,n)},i=Object.freeze(Object.defineProperty({__proto__:null,load:c},Symbol.toStringTag,{value:"Module"}));export{i as _,c as l}; diff --git a/ui/assets/cloud/_app/immutable/chunks/_page.f7d990da.js b/ui/assets/local/_app/immutable/chunks/_page.16a3c60c.js similarity index 89% rename from ui/assets/cloud/_app/immutable/chunks/_page.f7d990da.js rename to ui/assets/local/_app/immutable/chunks/_page.16a3c60c.js index 3ad1ded5e1..56ae15171a 100644 --- a/ui/assets/cloud/_app/immutable/chunks/_page.f7d990da.js +++ b/ui/assets/local/_app/immutable/chunks/_page.16a3c60c.js @@ -1 +1 @@ -import{a as l}from"./namespaces-service.bc2964ad.js";const s=t=>{var o,e;const r=(o=t==null?void 0:t.replicationConfig)==null?void 0:o.clusters,n=(e=t==null?void 0:t.replicationConfig)==null?void 0:e.activeClusterName;return r!=null&&r.length?r.map(({clusterName:i})=>i===n?`${i} (active)`:i).join(", "):"Unknown"},c=async function({params:t,url:r}){const{searchParams:n}=r;n.has("time-range")&&n.delete("time-range");const o=await l(t.namespace),e=s(o);return{namespace:o,clusters:e}},a=Object.freeze(Object.defineProperty({__proto__:null,load:c},Symbol.toStringTag,{value:"Module"}));export{a as _,c as l}; +import{a as l}from"./namespaces-service.97b7c0ed.js";const s=t=>{var o,e;const r=(o=t==null?void 0:t.replicationConfig)==null?void 0:o.clusters,n=(e=t==null?void 0:t.replicationConfig)==null?void 0:e.activeClusterName;return r!=null&&r.length?r.map(({clusterName:i})=>i===n?`${i} (active)`:i).join(", "):"Unknown"},c=async function({params:t,url:r}){const{searchParams:n}=r;n.has("time-range")&&n.delete("time-range");const o=await l(t.namespace),e=s(o);return{namespace:o,clusters:e}},a=Object.freeze(Object.defineProperty({__proto__:null,load:c},Symbol.toStringTag,{value:"Module"}));export{a as _,c as l}; diff --git a/ui/assets/local/_app/immutable/chunks/_page.30b46e3a.js b/ui/assets/local/_app/immutable/chunks/_page.30b46e3a.js deleted file mode 100644 index 0e8d8d0aff..0000000000 --- a/ui/assets/local/_app/immutable/chunks/_page.30b46e3a.js +++ /dev/null @@ -1 +0,0 @@ -import{r as a}from"./index.b1f5b21f.js";import{r as n}from"./route-for.b4518ba8.js";const i=async({parent:s})=>{var t,r;const e=await s(),o=(t=e==null?void 0:e.settings)==null?void 0:t.defaultNamespace;if((r=e.settings.runtimeEnvironment)==null?void 0:r.isCloud)throw a(302,n({namespace:o}));return{defaultNamespace:o}},m=Object.freeze(Object.defineProperty({__proto__:null,load:i},Symbol.toStringTag,{value:"Module"}));export{m as _,i as l}; diff --git a/ui/assets/cloud/_app/immutable/chunks/_page.ebb8d4b9.js b/ui/assets/local/_app/immutable/chunks/_page.5ea3b623.js similarity index 74% rename from ui/assets/cloud/_app/immutable/chunks/_page.ebb8d4b9.js rename to ui/assets/local/_app/immutable/chunks/_page.5ea3b623.js index f636388be7..c4345b5894 100644 --- a/ui/assets/cloud/_app/immutable/chunks/_page.ebb8d4b9.js +++ b/ui/assets/local/_app/immutable/chunks/_page.5ea3b623.js @@ -1 +1 @@ -import{r}from"./index.b1f5b21f.js";import{d as t}from"./route-for.5e008fb6.js";const e=async()=>{const o=t();throw r(302,o)},c=Object.freeze(Object.defineProperty({__proto__:null,load:e},Symbol.toStringTag,{value:"Module"}));export{c as _,e as l}; +import{r}from"./index.b1f5b21f.js";import{d as t}from"./route-for.3e9c6ff4.js";const e=async()=>{const o=t();throw r(302,o)},c=Object.freeze(Object.defineProperty({__proto__:null,load:e},Symbol.toStringTag,{value:"Module"}));export{c as _,e as l}; diff --git a/ui/assets/local/_app/immutable/chunks/_page.6e7d6739.js b/ui/assets/local/_app/immutable/chunks/_page.6e7d6739.js deleted file mode 100644 index 2290375295..0000000000 --- a/ui/assets/local/_app/immutable/chunks/_page.6e7d6739.js +++ /dev/null @@ -1 +0,0 @@ -import{a as l}from"./namespaces-service.00a861d3.js";const s=t=>{var o,e;const r=(o=t==null?void 0:t.replicationConfig)==null?void 0:o.clusters,n=(e=t==null?void 0:t.replicationConfig)==null?void 0:e.activeClusterName;return r!=null&&r.length?r.map(({clusterName:i})=>i===n?`${i} (active)`:i).join(", "):"Unknown"},c=async function({params:t,url:r}){const{searchParams:n}=r;n.has("time-range")&&n.delete("time-range");const o=await l(t.namespace),e=s(o);return{namespace:o,clusters:e}},a=Object.freeze(Object.defineProperty({__proto__:null,load:c},Symbol.toStringTag,{value:"Module"}));export{a as _,c as l}; diff --git a/ui/assets/local/_app/immutable/chunks/_page.7000bda5.js b/ui/assets/local/_app/immutable/chunks/_page.7000bda5.js deleted file mode 100644 index 42693dfcf1..0000000000 --- a/ui/assets/local/_app/immutable/chunks/_page.7000bda5.js +++ /dev/null @@ -1 +0,0 @@ -import{r as a}from"./index.b1f5b21f.js";import{f as s}from"./route-for.b4518ba8.js";const c=async function({params:o}){const{namespace:r,workflow:t,run:e}=o,n=s({namespace:r,workflow:t,run:e});throw a(302,n)},i=Object.freeze(Object.defineProperty({__proto__:null,load:c},Symbol.toStringTag,{value:"Module"}));export{i as _,c as l}; diff --git a/ui/assets/local/_app/immutable/chunks/_page.78470139.js b/ui/assets/local/_app/immutable/chunks/_page.78470139.js deleted file mode 100644 index c00f4ce92b..0000000000 --- a/ui/assets/local/_app/immutable/chunks/_page.78470139.js +++ /dev/null @@ -1 +0,0 @@ -import{r as n,e as s}from"./index.b1f5b21f.js";import{h as c}from"./workflow-service.43d562ed.js";const l=async function({url:r,params:e}){const{namespace:t,workflow:a}=e,{runId:o}=await c({namespace:t,workflowId:a});throw o?n(302,`${r.pathname}/${o}`):s(404)},p=Object.freeze(Object.defineProperty({__proto__:null,load:l},Symbol.toStringTag,{value:"Module"}));export{p as _,l}; diff --git a/ui/assets/local/_app/immutable/chunks/_page.8a0df0ae.js b/ui/assets/local/_app/immutable/chunks/_page.8a0df0ae.js deleted file mode 100644 index 4dc66f9436..0000000000 --- a/ui/assets/local/_app/immutable/chunks/_page.8a0df0ae.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./index.b1f5b21f.js";import{d as e}from"./route-for.b4518ba8.js";const r=async function(){const o=e("feed");throw t(302,o)},c=Object.freeze(Object.defineProperty({__proto__:null,load:r},Symbol.toStringTag,{value:"Module"}));export{c as _,r as l}; diff --git a/ui/assets/cloud/_app/immutable/chunks/_page.22f2adc8.js b/ui/assets/local/_app/immutable/chunks/_page.a2911484.js similarity index 75% rename from ui/assets/cloud/_app/immutable/chunks/_page.22f2adc8.js rename to ui/assets/local/_app/immutable/chunks/_page.a2911484.js index 2f4afaa771..c132f25520 100644 --- a/ui/assets/cloud/_app/immutable/chunks/_page.22f2adc8.js +++ b/ui/assets/local/_app/immutable/chunks/_page.a2911484.js @@ -1 +1 @@ -import{r as t}from"./index.b1f5b21f.js";import{d as e}from"./route-for.5e008fb6.js";const r=async function(){const o=e("feed");throw t(302,o)},c=Object.freeze(Object.defineProperty({__proto__:null,load:r},Symbol.toStringTag,{value:"Module"}));export{c as _,r as l}; +import{r as t}from"./index.b1f5b21f.js";import{d as e}from"./route-for.3e9c6ff4.js";const r=async function(){const o=e("feed");throw t(302,o)},c=Object.freeze(Object.defineProperty({__proto__:null,load:r},Symbol.toStringTag,{value:"Module"}));export{c as _,r as l}; diff --git a/ui/assets/cloud/_app/immutable/chunks/_page.6c6cf695.js b/ui/assets/local/_app/immutable/chunks/_page.b0e16fa6.js similarity index 80% rename from ui/assets/cloud/_app/immutable/chunks/_page.6c6cf695.js rename to ui/assets/local/_app/immutable/chunks/_page.b0e16fa6.js index c9c7d36cdf..f8dcdb9985 100644 --- a/ui/assets/cloud/_app/immutable/chunks/_page.6c6cf695.js +++ b/ui/assets/local/_app/immutable/chunks/_page.b0e16fa6.js @@ -1 +1 @@ -import{r as a}from"./index.b1f5b21f.js";import{f as s}from"./route-for.5e008fb6.js";const c=async function({params:o}){const{namespace:r,workflow:t,run:e}=o,n=s({namespace:r,workflow:t,run:e});throw a(302,n)},i=Object.freeze(Object.defineProperty({__proto__:null,load:c},Symbol.toStringTag,{value:"Module"}));export{i as _,c as l}; +import{r as a}from"./index.b1f5b21f.js";import{f as s}from"./route-for.3e9c6ff4.js";const c=async function({params:o}){const{namespace:r,workflow:t,run:e}=o,n=s({namespace:r,workflow:t,run:e});throw a(302,n)},i=Object.freeze(Object.defineProperty({__proto__:null,load:c},Symbol.toStringTag,{value:"Module"}));export{i as _,c as l}; diff --git a/ui/assets/local/_app/immutable/chunks/_page.b25cff4d.js b/ui/assets/local/_app/immutable/chunks/_page.b25cff4d.js deleted file mode 100644 index 0bd9b9ef43..0000000000 --- a/ui/assets/local/_app/immutable/chunks/_page.b25cff4d.js +++ /dev/null @@ -1 +0,0 @@ -import{r}from"./index.b1f5b21f.js";import{d as t}from"./route-for.b4518ba8.js";const e=async()=>{const o=t();throw r(302,o)},c=Object.freeze(Object.defineProperty({__proto__:null,load:e},Symbol.toStringTag,{value:"Module"}));export{c as _,e as l}; diff --git a/ui/assets/cloud/_app/immutable/chunks/_page.22924f6a.js b/ui/assets/local/_app/immutable/chunks/_page.e4417f20.js similarity index 83% rename from ui/assets/cloud/_app/immutable/chunks/_page.22924f6a.js rename to ui/assets/local/_app/immutable/chunks/_page.e4417f20.js index 8763a2bb18..ea240768c0 100644 --- a/ui/assets/cloud/_app/immutable/chunks/_page.22924f6a.js +++ b/ui/assets/local/_app/immutable/chunks/_page.e4417f20.js @@ -1 +1 @@ -import{r as n,e as s}from"./index.b1f5b21f.js";import{h as c}from"./workflow-service.22d7ee79.js";const l=async function({url:r,params:e}){const{namespace:t,workflow:a}=e,{runId:o}=await c({namespace:t,workflowId:a});throw o?n(302,`${r.pathname}/${o}`):s(404)},p=Object.freeze(Object.defineProperty({__proto__:null,load:l},Symbol.toStringTag,{value:"Module"}));export{p as _,l}; +import{r as n,e as s}from"./index.b1f5b21f.js";import{h as c}from"./workflow-service.5b743be0.js";const l=async function({url:r,params:e}){const{namespace:t,workflow:a}=e,{runId:o}=await c({namespace:t,workflowId:a});throw o?n(302,`${r.pathname}/${o}`):s(404)},p=Object.freeze(Object.defineProperty({__proto__:null,load:l},Symbol.toStringTag,{value:"Module"}));export{p as _,l}; diff --git a/ui/assets/local/_app/immutable/chunks/_page.e51a117d.js b/ui/assets/local/_app/immutable/chunks/_page.e51a117d.js deleted file mode 100644 index 88ab388fec..0000000000 --- a/ui/assets/local/_app/immutable/chunks/_page.e51a117d.js +++ /dev/null @@ -1 +0,0 @@ -import{e as A}from"./workflow-service.43d562ed.js";import{a as _}from"./namespaces-service.00a861d3.js";const E=async function({params:e,url:d}){var c,n,l,f,h,g,w,u;const{searchParams:o}=d;o.has("time-range")||o.set("time-range","1 day");const y=o.get("workflow-id"),m=o.get("workflow-type"),v=o.get("time-range"),p=o.get("status"),t=await _(e.namespace),b=(l=(n=(c=t.config)==null?void 0:c.historyArchivalUri)==null?void 0:n.toLowerCase())==null?void 0:l.startsWith("s3://"),k=(g=(h=(f=t.config)==null?void 0:f.historyArchivalUri)==null?void 0:h.toLowerCase())==null?void 0:g.startsWith("gs://"),i=b||k,S=i?{}:{workflowId:y,workflowType:m,closeTime:v,executionStatus:p},a=((w=t==null?void 0:t.config)==null?void 0:w.historyArchivalState)==="Enabled",s=((u=t==null?void 0:t.config)==null?void 0:u.visibilityArchivalState)==="Enabled",r=a&&s?await A(e.namespace,S,fetch):null;return{workflows:r?r.workflows:[],namespace:t,archivalEnabled:a,visibilityArchivalEnabled:s,archivalQueryingNotSupported:i}},j=Object.freeze(Object.defineProperty({__proto__:null,load:E},Symbol.toStringTag,{value:"Module"}));export{j as _,E as l}; diff --git a/ui/assets/cloud/_app/immutable/chunks/_page.bd93f6f1.js b/ui/assets/local/_app/immutable/chunks/_page.ee80cdee.js similarity index 88% rename from ui/assets/cloud/_app/immutable/chunks/_page.bd93f6f1.js rename to ui/assets/local/_app/immutable/chunks/_page.ee80cdee.js index c47ca1da6d..57c10fac29 100644 --- a/ui/assets/cloud/_app/immutable/chunks/_page.bd93f6f1.js +++ b/ui/assets/local/_app/immutable/chunks/_page.ee80cdee.js @@ -1 +1 @@ -import{e as A}from"./workflow-service.22d7ee79.js";import{a as _}from"./namespaces-service.bc2964ad.js";const E=async function({params:e,url:d}){var c,n,l,f,h,g,w,u;const{searchParams:o}=d;o.has("time-range")||o.set("time-range","1 day");const y=o.get("workflow-id"),m=o.get("workflow-type"),v=o.get("time-range"),p=o.get("status"),t=await _(e.namespace),b=(l=(n=(c=t.config)==null?void 0:c.historyArchivalUri)==null?void 0:n.toLowerCase())==null?void 0:l.startsWith("s3://"),k=(g=(h=(f=t.config)==null?void 0:f.historyArchivalUri)==null?void 0:h.toLowerCase())==null?void 0:g.startsWith("gs://"),i=b||k,S=i?{}:{workflowId:y,workflowType:m,closeTime:v,executionStatus:p},a=((w=t==null?void 0:t.config)==null?void 0:w.historyArchivalState)==="Enabled",s=((u=t==null?void 0:t.config)==null?void 0:u.visibilityArchivalState)==="Enabled",r=a&&s?await A(e.namespace,S,fetch):null;return{workflows:r?r.workflows:[],namespace:t,archivalEnabled:a,visibilityArchivalEnabled:s,archivalQueryingNotSupported:i}},j=Object.freeze(Object.defineProperty({__proto__:null,load:E},Symbol.toStringTag,{value:"Module"}));export{j as _,E as l}; +import{e as A}from"./workflow-service.5b743be0.js";import{a as _}from"./namespaces-service.97b7c0ed.js";const E=async function({params:e,url:d}){var c,n,l,f,h,g,w,u;const{searchParams:o}=d;o.has("time-range")||o.set("time-range","1 day");const y=o.get("workflow-id"),m=o.get("workflow-type"),v=o.get("time-range"),p=o.get("status"),t=await _(e.namespace),b=(l=(n=(c=t.config)==null?void 0:c.historyArchivalUri)==null?void 0:n.toLowerCase())==null?void 0:l.startsWith("s3://"),k=(g=(h=(f=t.config)==null?void 0:f.historyArchivalUri)==null?void 0:h.toLowerCase())==null?void 0:g.startsWith("gs://"),i=b||k,S=i?{}:{workflowId:y,workflowType:m,closeTime:v,executionStatus:p},a=((w=t==null?void 0:t.config)==null?void 0:w.historyArchivalState)==="Enabled",s=((u=t==null?void 0:t.config)==null?void 0:u.visibilityArchivalState)==="Enabled",r=a&&s?await A(e.namespace,S,fetch):null;return{workflows:r?r.workflows:[],namespace:t,archivalEnabled:a,visibilityArchivalEnabled:s,archivalQueryingNotSupported:i}},j=Object.freeze(Object.defineProperty({__proto__:null,load:E},Symbol.toStringTag,{value:"Module"}));export{j as _,E as l}; diff --git a/ui/assets/cloud/_app/immutable/chunks/_page.e56da16f.js b/ui/assets/local/_app/immutable/chunks/_page.eecc6007.js similarity index 80% rename from ui/assets/cloud/_app/immutable/chunks/_page.e56da16f.js rename to ui/assets/local/_app/immutable/chunks/_page.eecc6007.js index c9c7d36cdf..f8dcdb9985 100644 --- a/ui/assets/cloud/_app/immutable/chunks/_page.e56da16f.js +++ b/ui/assets/local/_app/immutable/chunks/_page.eecc6007.js @@ -1 +1 @@ -import{r as a}from"./index.b1f5b21f.js";import{f as s}from"./route-for.5e008fb6.js";const c=async function({params:o}){const{namespace:r,workflow:t,run:e}=o,n=s({namespace:r,workflow:t,run:e});throw a(302,n)},i=Object.freeze(Object.defineProperty({__proto__:null,load:c},Symbol.toStringTag,{value:"Module"}));export{i as _,c as l}; +import{r as a}from"./index.b1f5b21f.js";import{f as s}from"./route-for.3e9c6ff4.js";const c=async function({params:o}){const{namespace:r,workflow:t,run:e}=o,n=s({namespace:r,workflow:t,run:e});throw a(302,n)},i=Object.freeze(Object.defineProperty({__proto__:null,load:c},Symbol.toStringTag,{value:"Module"}));export{i as _,c as l}; diff --git a/ui/assets/cloud/_app/immutable/chunks/atob.79a337b0.js b/ui/assets/local/_app/immutable/chunks/atob.1f6851d3.js similarity index 72% rename from ui/assets/cloud/_app/immutable/chunks/atob.79a337b0.js rename to ui/assets/local/_app/immutable/chunks/atob.1f6851d3.js index f083ff0823..c3a3750c70 100644 --- a/ui/assets/cloud/_app/immutable/chunks/atob.79a337b0.js +++ b/ui/assets/local/_app/immutable/chunks/atob.1f6851d3.js @@ -1 +1 @@ -import{B as t}from"./route-for.5e008fb6.js";function e(o){return decodeURIComponent(window.atob(o).split("").map(function(n){return"%"+("00"+n.charCodeAt(0).toString(16)).slice(-2)}).join(""))}const i=(o,n=t)=>n?e(o):o;export{i as a}; +import{B as t}from"./route-for.3e9c6ff4.js";function e(o){return decodeURIComponent(window.atob(o).split("").map(function(n){return"%"+("00"+n.charCodeAt(0).toString(16)).slice(-2)}).join(""))}const i=(o,n=t)=>n?e(o):o;export{i as a}; diff --git a/ui/assets/local/_app/immutable/chunks/atob.7dd98e11.js b/ui/assets/local/_app/immutable/chunks/atob.7dd98e11.js deleted file mode 100644 index 798d304b96..0000000000 --- a/ui/assets/local/_app/immutable/chunks/atob.7dd98e11.js +++ /dev/null @@ -1 +0,0 @@ -import{B as t}from"./route-for.b4518ba8.js";function e(o){return decodeURIComponent(window.atob(o).split("").map(function(n){return"%"+("00"+n.charCodeAt(0).toString(16)).slice(-2)}).join(""))}const i=(o,n=t)=>n?e(o):o;export{i as a}; diff --git a/ui/assets/local/_app/immutable/chunks/decode-payload.f0f298e9.js b/ui/assets/local/_app/immutable/chunks/decode-payload.f6b25529.js similarity index 99% rename from ui/assets/local/_app/immutable/chunks/decode-payload.f0f298e9.js rename to ui/assets/local/_app/immutable/chunks/decode-payload.f6b25529.js index 52ffa1e2db..827d20e629 100644 --- a/ui/assets/local/_app/immutable/chunks/decode-payload.f0f298e9.js +++ b/ui/assets/local/_app/immutable/chunks/decode-payload.f6b25529.js @@ -1,2 +1,2 @@ -import{K as Yt}from"./index.d29c66be.js";import{s as Ee,d as Qt,a as Zt}from"./data-converter-config.816c1717.js";import{s as V,p as Le}from"./parse-with-big-int.02af2f95.js";import{v as er,s as Me,b as tr}from"./is-http.91300684.js";import{a as We}from"./atob.7dd98e11.js";import{i as It,h as R}from"./has.8da86d13.js";var Ie={},rr={get exports(){return Ie},set exports(r){Ie=r}};/* chnl v1.2.0 by Vitaliy Potapov @preserve */function Ot(r){return(Ot=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(r)}function x(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function Ne(r,e){for(var t=0;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function ir(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function sr(r,e){return!e||typeof e!="object"&&typeof e!="function"?ir(r):e}function ar(r){var e=or();return function(){var t,n=Oe(r);if(e){var o=Oe(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return sr(this,t)}}function Be(r){return cr(r)||ur(r)||lr(r)||pr()}function cr(r){if(Array.isArray(r))return ke(r)}function ur(r){if(typeof Symbol<"u"&&Symbol.iterator in Object(r))return Array.from(r)}function lr(r,e){if(r){if(typeof r=="string")return ke(r,e);var t=Object.prototype.toString.call(r).slice(8,-1);return t==="Object"&&r.constructor&&(t=r.constructor.name),t==="Map"||t==="Set"?Array.from(r):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?ke(r,e):void 0}}function ke(r,e){(e==null||e>r.length)&&(e=r.length);for(var t=0,n=new Array(e);t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function ir(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function sr(r,e){return!e||typeof e!="object"&&typeof e!="function"?ir(r):e}function ar(r){var e=or();return function(){var t,n=Oe(r);if(e){var o=Oe(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return sr(this,t)}}function Be(r){return cr(r)||ur(r)||lr(r)||pr()}function cr(r){if(Array.isArray(r))return ke(r)}function ur(r){if(typeof Symbol<"u"&&Symbol.iterator in Object(r))return Array.from(r)}function lr(r,e){if(r){if(typeof r=="string")return ke(r,e);var t=Object.prototype.toString.call(r).slice(8,-1);return t==="Object"&&r.constructor&&(t=r.constructor.name),t==="Map"||t==="Set"?Array.from(r):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?ke(r,e):void 0}}function ke(r,e){(e==null||e>r.length)&&(e=r.length);for(var t=0,n=new Array(e);t{this._isPending=!0,this._resolve=e,this._reject=t})}_handleTimeout(){const e=Ue(this._options.timeoutReason),t=typeof e=="string"?e.replace("{timeout}",this._options.timeout):"",n=new q.TimeoutError(t);this.reject(n)}_createTimer(){this._options.timeout&&(this._timer=setTimeout(()=>this._handleTimeout(),this._options.timeout))}_clearTimer(){this._timer&&(clearTimeout(this._timer),this._timer=null)}_settle(e){this._isPending=!1,this._value=e,this._clearTimer()}_callFn(e){if(typeof e=="function")try{const t=e();this._tryAttachToPromise(t)}catch(t){this.reject(t)}}_tryAttachToPromise(e){Ge(e)&&e.then(t=>this.resolve(t),t=>this.reject(t))}};q.TimeoutError=jt("TimeoutError");q.ResetError=jt("ResetError");var Tt=q,Z={};Object.defineProperty(Z,"__esModule",{value:!0});Z.PromisedMap=void 0;var mr=function(){function r(){this.map=new Map}return Object.defineProperty(r.prototype,"size",{get:function(){return this.map.size},enumerable:!1,configurable:!0}),r.prototype.set=function(e,t){var n=this.createMapItem(t);return this.map.set(e,n),n.promise},r.prototype.get=function(e){var t=this.map.get(e);return t&&t.data},r.prototype.has=function(e){return this.map.has(e)},r.prototype.delete=function(e){return this.map.delete(e)},r.prototype.resolve=function(e,t){var n=this.map.get(e);n&&(this.delete(e),n.resolve(t))},r.prototype.reject=function(e,t){var n=this.map.get(e);n&&(this.delete(e),n.reject(t))},r.prototype.resolveAll=function(e){this.map.forEach(function(t){return t.resolve(e)}),this.map.clear()},r.prototype.rejectAll=function(e){this.map.forEach(function(t){return t.reject(e)}),this.map.clear()},r.prototype.forEach=function(e){this.map.forEach(function(t,n,o){return e(t.data,n,o)})},r.prototype.clear=function(){return this.map.clear()},r.prototype.createMapItem=function(e){var t={data:e};return t.promise=new Promise(function(n,o){t.resolve=n,t.reject=o}),t},r}();Z.PromisedMap=mr;var H={},_r={get exports(){return H},set exports(r){H=r}},gr="Function.prototype.bind called on incompatible ",re=Array.prototype.slice,br=Object.prototype.toString,Pr="[object Function]",wr=function(e){var t=this;if(typeof t!="function"||br.call(t)!==Pr)throw new TypeError(gr+t);for(var n=re.call(arguments,1),o,s=function(){if(this instanceof o){var f=t.apply(this,n.concat(re.call(arguments)));return Object(f)===f?f:this}else return t.apply(e,n.concat(re.call(arguments)))},a=Math.max(0,t.length-n.length),i=[],c=0;c"u"?y:S(Uint8Array),L={"%AggregateError%":typeof AggregateError>"u"?y:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?y:ArrayBuffer,"%ArrayIteratorPrototype%":C?S([][Symbol.iterator]()):y,"%AsyncFromSyncIteratorPrototype%":y,"%AsyncFunction%":j,"%AsyncGenerator%":j,"%AsyncGeneratorFunction%":j,"%AsyncIteratorPrototype%":j,"%Atomics%":typeof Atomics>"u"?y:Atomics,"%BigInt%":typeof BigInt>"u"?y:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?y:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?y:Float32Array,"%Float64Array%":typeof Float64Array>"u"?y:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?y:FinalizationRegistry,"%Function%":Lt,"%GeneratorFunction%":j,"%Int8Array%":typeof Int8Array>"u"?y:Int8Array,"%Int16Array%":typeof Int16Array>"u"?y:Int16Array,"%Int32Array%":typeof Int32Array>"u"?y:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":C?S(S([][Symbol.iterator]())):y,"%JSON%":typeof JSON=="object"?JSON:y,"%Map%":typeof Map>"u"?y:Map,"%MapIteratorPrototype%":typeof Map>"u"||!C?y:S(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?y:Promise,"%Proxy%":typeof Proxy>"u"?y:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?y:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?y:Set,"%SetIteratorPrototype%":typeof Set>"u"||!C?y:S(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?y:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":C?S(""[Symbol.iterator]()):y,"%Symbol%":C?Symbol:y,"%SyntaxError%":$,"%ThrowTypeError%":Or,"%TypedArray%":kr,"%TypeError%":T,"%Uint8Array%":typeof Uint8Array>"u"?y:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?y:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?y:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?y:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?y:WeakMap,"%WeakRef%":typeof WeakRef>"u"?y:WeakRef,"%WeakSet%":typeof WeakSet>"u"?y:WeakSet},Cr=function r(e){var t;if(e==="%AsyncFunction%")t=ne("async function () {}");else if(e==="%GeneratorFunction%")t=ne("function* () {}");else if(e==="%AsyncGeneratorFunction%")t=ne("async function* () {}");else if(e==="%AsyncGenerator%"){var n=r("%AsyncGeneratorFunction%");n&&(t=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var o=r("%AsyncGenerator%");o&&(t=S(o.prototype))}return L[e]=t,t},He={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},W=De,K=I,jr=W.call(Function.call,Array.prototype.concat),Tr=W.call(Function.apply,Array.prototype.splice),Ke=W.call(Function.call,String.prototype.replace),J=W.call(Function.call,String.prototype.slice),Lr=W.call(Function.call,RegExp.prototype.exec),$r=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Dr=/\\(\\)?/g,Fr=function(e){var t=J(e,0,1),n=J(e,-1);if(t==="%"&&n!=="%")throw new $("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&t!=="%")throw new $("invalid intrinsic syntax, expected opening `%`");var o=[];return Ke(e,$r,function(s,a,i,c){o[o.length]=i?Ke(c,Dr,"$1"):a||s}),o},qr=function(e,t){var n=e,o;if(K(He,n)&&(o=He[n],n="%"+o[0]+"%"),K(L,n)){var s=L[n];if(s===j&&(s=Cr(n)),typeof s>"u"&&!t)throw new T("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:o,name:n,value:s}}throw new $("intrinsic "+e+" does not exist!")},b=function(e,t){if(typeof e!="string"||e.length===0)throw new T("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new T('"allowMissing" argument must be a boolean');if(Lr(/^%?[^%]*%?$/,e)===null)throw new $("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Fr(e),o=n.length>0?n[0]:"",s=qr("%"+o+"%",t),a=s.name,i=s.value,c=!1,p=s.alias;p&&(o=p[0],Tr(n,jr([0,1],p)));for(var f=1,h=!0;f=n.length){var g=E(i,l);h=!!g,h&&"get"in g&&!("originalValue"in g.get)?i=g.get:i=i[l]}else h=K(i,l),i=i[l];h&&!c&&(L[a]=i)}}return i};(function(r){var e=De,t=b,n=t("%Function.prototype.apply%"),o=t("%Function.prototype.call%"),s=t("%Reflect.apply%",!0)||e.call(o,n),a=t("%Object.getOwnPropertyDescriptor%",!0),i=t("%Object.defineProperty%",!0),c=t("%Math.max%");if(i)try{i({},"a",{value:1})}catch{i=null}r.exports=function(h){var l=s(e,o,arguments);if(a&&i){var u=a(l,"length");u.configurable&&i(l,"length",{value:1+c(0,h.length-(arguments.length-1))})}return l};var p=function(){return s(e,n,arguments)};i?i(r.exports,"apply",{value:p}):r.exports.apply=p})(_r);var Je=Object.prototype.toString,$t=function(e){var t=Je.call(e),n=t==="[object Arguments]";return n||(n=t!=="[object Array]"&&e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&Je.call(e.callee)==="[object Function]"),n},ie,ze;function xr(){if(ze)return ie;ze=1;var r;if(!Object.keys){var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=$t,o=Object.prototype.propertyIsEnumerable,s=!o.call({toString:null},"toString"),a=o.call(function(){},"prototype"),i=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],c=function(l){var u=l.constructor;return u&&u.prototype===l},p={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},f=function(){if(typeof window>"u")return!1;for(var l in window)try{if(!p["$"+l]&&e.call(window,l)&&window[l]!==null&&typeof window[l]=="object")try{c(window[l])}catch{return!0}}catch{return!0}return!1}(),h=function(l){if(typeof window>"u"||!f)return c(l);try{return c(l)}catch{return!1}};r=function(u){var m=u!==null&&typeof u=="object",g=t.call(u)==="[object Function]",k=n(u),ee=m&&t.call(u)==="[object String]",_=[];if(!m&&!g&&!k)throw new TypeError("Object.keys called on a non-object");var d=a&&g;if(ee&&u.length>0&&!e.call(u,0))for(var v=0;v0)for(var D=0;D2?arguments[2]:{},n=Gr(e);Ur&&(n=Hr.call(n,Object.getOwnPropertySymbols(e)));for(var o=0;o"u"||typeof d=="object"))try{var v=i.call(d);return(v===h||v===l||v===u||v===c)&&d("")==null}catch{}return!1})}return se=e?function(d){if(k(d))return!0;if(!d||typeof d!="function"&&typeof d!="object")return!1;try{e(d,null,t)}catch(v){if(v!==n)return!1}return!s(d)&&a(d)}:function(d){if(k(d))return!0;if(!d||typeof d!="function"&&typeof d!="object")return!1;if(m)return a(d);if(s(d))return!1;var v=i.call(d);return v!==p&&v!==f&&!/^\[object HTML/.test(v)?!1:a(d)},se}var Ze;function Wt(){return Ze||(Ze=1,function(r){r.exports=Yr()}(Xr)),z}var X={},et={get exports(){return X},set exports(r){X=r}},Y={},Qr={get exports(){return Y},set exports(r){Y=r}},tt;function Zr(){return tt||(tt=1,function(r){r.exports=b}(Qr)),Y}var ae,rt;function en(){if(rt)return ae;rt=1;var r=b,e=I,t=r("%TypeError%");return ae=function(o,s){if(o.Type(s)!=="Object")return!1;var a={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var i in s)if(e(s,i)&&!a[i])return!1;if(o.IsDataDescriptor(s)&&o.IsAccessorDescriptor(s))throw new t("Property Descriptors may not be both accessor and data descriptors");return!0},ae}var ce,nt;function Nt(){if(nt)return ce;nt=1;var r=b,e=H,t=e(r("String.prototype.indexOf"));return ce=function(o,s){var a=r(o,!!s);return typeof a=="function"&&t(o,".prototype.")>-1?e(a):a},ce}var ue,ot;function tn(){if(ot)return ue;ot=1;var r=b,e=r("%Array%"),t=!e.isArray&&Nt()("Object.prototype.toString");return ue=e.isArray||function(o){return t(o)==="[object Array]"},ue}var le,it;function rn(){if(it)return le;it=1;var r=Dt,e=b,t=r()&&e("%Object.defineProperty%",!0),n=r.hasArrayLengthDefineBug(),o=n&&tn(),s=Nt(),a=s("Object.prototype.propertyIsEnumerable");return le=function(c,p,f,h,l,u){if(!t){if(!c(u)||!u["[[Configurable]]"]||!u["[[Writable]]"]||l in h&&a(h,l)!==!!u["[[Enumerable]]"])return!1;var m=u["[[Value]]"];return h[l]=m,p(h[l],m)}return n&&l==="length"&&"[[Value]]"in u&&o(h)&&h.length!==u["[[Value]]"]?(h.length=u["[[Value]]"],h.length===u["[[Value]]"]):(t(h,l,f(u)),!0)},le}var pe,st;function nn(){if(st)return pe;st=1;var r=I;return pe=function(t){return r(t,"[[StartIndex]]")&&r(t,"[[EndIndex]]")&&t["[[StartIndex]]"]>=0&&t["[[EndIndex]]"]>=t["[[StartIndex]]"]&&String(parseInt(t["[[StartIndex]]"],10))===String(t["[[StartIndex]]"])&&String(parseInt(t["[[EndIndex]]"],10))===String(t["[[EndIndex]]"])},pe}var fe,at;function qe(){if(at)return fe;at=1;var r=b,e=r("%TypeError%"),t=r("%SyntaxError%"),n=I,o=nn(),s={"Property Descriptor":function(i){var c={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var p in i)if(n(i,p)&&!c[p])return!1;var f=n(i,"[[Value]]"),h=n(i,"[[Get]]")||n(i,"[[Set]]");if(f&&h)throw new e("Property Descriptors may not be both accessor and data descriptors");return!0},"Match Record":o,"Iterator Record":function(i){return n(i,"[[Iterator]]")&&n(i,"[[NextMethod]]")&&n(i,"[[Done]]")},"PromiseCapability Record":function(i){return i&&n(i,"[[Resolve]]")&&typeof i["[[Resolve]]"]=="function"&&n(i,"[[Reject]]")&&typeof i["[[Reject]]"]=="function"&&n(i,"[[Promise]]")&&i["[[Promise]]"]&&typeof i["[[Promise]]"].then=="function"},"AsyncGeneratorRequest Record":function(i){return i&&n(i,"[[Completion]]")&&n(i,"[[Capability]]")&&s["PromiseCapability Record"](i["[[Capability]]"])}};return fe=function(i,c,p,f){var h=s[c];if(typeof h!="function")throw new t("unknown record type: "+c);if(i(f)!=="Object"||!h(f))throw new e(p+" must be a "+c)},fe}var ye,ct;function on(){return ct||(ct=1,ye=function(e){if(typeof e>"u")return e;var t={};return"[[Value]]"in e&&(t.value=e["[[Value]]"]),"[[Writable]]"in e&&(t.writable=!!e["[[Writable]]"]),"[[Get]]"in e&&(t.get=e["[[Get]]"]),"[[Set]]"in e&&(t.set=e["[[Set]]"]),"[[Enumerable]]"in e&&(t.enumerable=!!e["[[Enumerable]]"]),"[[Configurable]]"in e&&(t.configurable=!!e["[[Configurable]]"]),t}),ye}var he,ut;function sn(){return ut||(ut=1,he=function(e){if(e===null)return"Null";if(typeof e>"u")return"Undefined";if(typeof e=="function"||typeof e=="object")return"Object";if(typeof e=="number")return"Number";if(typeof e=="boolean")return"Boolean";if(typeof e=="string")return"String"}),he}var de,lt;function O(){if(lt)return de;lt=1;var r=sn();return de=function(t){return typeof t=="symbol"?"Symbol":typeof t=="bigint"?"BigInt":r(t)},de}var ve,pt;function an(){if(pt)return ve;pt=1;var r=qe(),e=on(),t=O();return ve=function(o){return typeof o<"u"&&r(t,"Property Descriptor","Desc",o),e(o)},ve}var me,ft;function cn(){if(ft)return me;ft=1;var r=I,e=qe(),t=O();return me=function(o){return!(typeof o>"u"||(e(t,"Property Descriptor","Desc",o),!r(o,"[[Get]]")&&!r(o,"[[Set]]")))},me}var _e,yt;function un(){if(yt)return _e;yt=1;var r=I,e=qe(),t=O();return _e=function(o){return!(typeof o>"u"||(e(t,"Property Descriptor","Desc",o),!r(o,"[[Value]]")&&!r(o,"[[Writable]]")))},_e}var ge,ht;function ln(){return ht||(ht=1,ge=function(e){return typeof e=="string"||typeof e=="symbol"}),ge}var be,dt;function pn(){return dt||(dt=1,be=Number.isNaN||function(e){return e!==e}),be}var Pe,vt;function fn(){if(vt)return Pe;vt=1;var r=pn();return Pe=function(t,n){return t===n?t===0?1/t===1/n:!0:r(t)&&r(n)},Pe}var we,mt;function yn(){return mt||(mt=1,we=function(e){return!!e}),we}var Se,_t;function hn(){if(_t)return Se;_t=1;var r=I,e=b,t=e("%TypeError%"),n=O(),o=yn(),s=Wt();return Se=function(i){if(n(i)!=="Object")throw new t("ToPropertyDescriptor requires an object");var c={};if(r(i,"enumerable")&&(c["[[Enumerable]]"]=o(i.enumerable)),r(i,"configurable")&&(c["[[Configurable]]"]=o(i.configurable)),r(i,"value")&&(c["[[Value]]"]=i.value),r(i,"writable")&&(c["[[Writable]]"]=o(i.writable)),r(i,"get")){var p=i.get;if(typeof p<"u"&&!s(p))throw new t("getter must be a function");c["[[Get]]"]=p}if(r(i,"set")){var f=i.set;if(typeof f<"u"&&!s(f))throw new t("setter must be a function");c["[[Set]]"]=f}if((r(c,"[[Get]]")||r(c,"[[Set]]"))&&(r(c,"[[Value]]")||r(c,"[[Writable]]")))throw new t("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return c},Se}var Ae,gt;function dn(){if(gt)return Ae;gt=1;var r=b,e=r("%TypeError%"),t=en(),n=rn(),o=an(),s=cn(),a=un(),i=ln(),c=fn(),p=hn(),f=O();return Ae=function(l,u,m){if(f(l)!=="Object")throw new e("Assertion failed: Type(O) is not Object");if(!i(u))throw new e("Assertion failed: IsPropertyKey(P) is not true");var g=t({Type:f,IsDataDescriptor:a,IsAccessorDescriptor:s},m)?m:p(m);if(!t({Type:f,IsDataDescriptor:a,IsAccessorDescriptor:s},g))throw new e("Assertion failed: Desc is not a valid Property Descriptor");return n(a,c,o,l,u,g)},Ae}var bt;function vn(){if(bt)return X;bt=1;var r=Zr(),e=r("%Reflect.construct%",!0),t=dn();try{t({},"",{"[[Get]]":function(){}})}catch{t=null}if(t&&e){var n={},o={};t(o,"length",{"[[Get]]":function(){throw n},"[[Enumerable]]":!0}),et.exports=function(a){try{e(a,o)}catch(i){return i===n}}}else et.exports=function(a){return typeof a=="function"&&!!a.prototype};return X}var Re,Pt;function mn(){if(Pt)return Re;Pt=1;var r=b,e=r("%Symbol.species%",!0),t=r("%TypeError%"),n=vn(),o=O();return Re=function(a,i){if(o(a)!=="Object")throw new t("Assertion failed: Type(O) is not Object");var c=a.constructor;if(typeof c>"u")return i;if(o(c)!=="Object")throw new t("O.constructor is not an Object");var p=e?c[e]:void 0;if(p==null)return i;if(n(p))return p;throw new t("no constructor found")},Re}var _n=Fe;_n();var gn=Wt(),bn=mn(),Pn=O(),Bt=function(e,t){return new e(function(n){n(t)})},wn=Promise,Sn=function(e,t){return function(n){var o=t(),s=Bt(e,o),a=function(){return n};return s.then(a)}},An=function(e,t){return function(n){var o=t(),s=Bt(e,o),a=function(){throw n};return s.then(a)}},Te=function(e){var t=this;if(Pn(t)!=="Object")throw new TypeError("receiver is not an Object");var n=bn(t,wn),o=e,s=e;return gn(e)&&(o=Sn(n,e),s=An(n,e)),t.then(o,s)};if(Object.getOwnPropertyDescriptor){var wt=Object.getOwnPropertyDescriptor(Te,"name");wt&&wt.configurable&&Object.defineProperty(Te,"name",{configurable:!0,value:"finally"})}var Gt=Te,Rn=Fe,En=Gt,Ut=function(){return Rn(),typeof Promise.prototype.finally=="function"?Promise.prototype.finally:En},In=Fe,On=Ut,kn=Mt,Cn=function(){In();var e=On();return kn(Promise.prototype,{finally:e},{finally:function(){return Promise.prototype.finally!==e}}),e},jn=H,Tn=Mt,Ln=Gt,Vt=Ut,$n=Cn,Ht=jn(Vt());Tn(Ht,{getPolyfill:Vt,implementation:Ln,shim:$n});var Dn=Ht;const Fn=Tt,qn=Dn;var xn=class{constructor(){this._items=new Map}create(e,t,n){return this._rejectExistingRequest(e),this._createNewRequest(e,t,n)}resolve(e,t){e&&this._items.has(e)&&this._items.get(e).resolve(t)}rejectAll(e){this._items.forEach(t=>t.isPending?t.reject(e):null)}_rejectExistingRequest(e){const t=this._items.get(e);t&&t.isPending&&t.reject(new Error(`WebSocket request is replaced, id: ${e}`))}_createNewRequest(e,t,n){const o=new Fn({timeout:n,timeoutReason:`WebSocket request was rejected by timeout (${n} ms). RequestId: ${e}`});return this._items.set(e,o),qn(o.call(t),()=>this._deleteRequest(e,o))}_deleteRequest(e,t){this._items.get(e)===t&&this._items.delete(e)}},Mn={createWebSocket:r=>new WebSocket(r),packMessage:null,unpackMessage:null,attachRequestId:null,extractRequestId:null,extractMessageData:r=>r.data,timeout:0,connectionTimeout:0},xe={};xe.throwIf=(r,e)=>{if(r)throw new Error(e)};xe.isPromise=r=>r&&typeof r.then=="function";const P=Ie,St=Tt,{PromisedMap:Wn}=Z,Nn=xn,At=Mn,{throwIf:B,isPromise:Bn}=xe,G={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3};class Gn{constructor(e,t){this._assertOptions(t),this._url=e,this._options=Object.assign({},At,t),this._requests=new Nn,this._promisedMap=new Wn,this._ws=null,this._wsSubscription=null,this._createOpeningController(),this._createClosingController(),this._createChannels()}get ws(){return this._ws}get url(){return this._url}get isOpening(){return Boolean(this._ws&&this._ws.readyState===G.CONNECTING)}get isOpened(){return Boolean(this._ws&&this._ws.readyState===G.OPEN)}get isClosing(){return Boolean(this._ws&&this._ws.readyState===G.CLOSING)}get isClosed(){return Boolean(!this._ws||this._ws.readyState===G.CLOSED)}get onOpen(){return this._onOpen}get onSend(){return this._onSend}get onMessage(){return this._onMessage}get onUnpackedMessage(){return this._onUnpackedMessage}get onResponse(){return this._onResponse}get onClose(){return this._onClose}get onError(){return this._onError}open(){return this.isClosing?Promise.reject(new Error("Can't open WebSocket while closing.")):this.isOpened?this._opening.promise:this._opening.call(()=>{this._opening.promise.catch(e=>this._cleanup(e)),this._createWS()})}sendRequest(e,t={}){const n=t.requestId||`${Math.random()}`,o=t.timeout!==void 0?t.timeout:this._options.timeout;return this._requests.create(n,()=>{this._assertRequestIdHandlers();const s=this._options.attachRequestId(e,n);this.sendPacked(s)},o)}sendPacked(e){this._assertPackingHandlers();const t=this._options.packMessage(e);this.send(t)}send(e){B(!this.isOpened,"Can't send data because WebSocket is not opened."),this._ws.send(e),this._onSend.dispatchAsync(e)}waitUnpackedMessage(e,t={}){return B(typeof e!="function",`Predicate must be a function, got ${typeof e}`),t.timeout&&setTimeout(()=>{if(this._promisedMap.has(e)){const n=t.timeoutError||new Error("Timeout");this._promisedMap.reject(e,n)}},t.timeout),this._promisedMap.set(e)}close(e,t){return this.isClosed?Promise.resolve(this._closing.value):this._closing.call(()=>this._ws.close(e,t))}removeAllListeners(){this._onOpen.removeAllListeners(),this._onMessage.removeAllListeners(),this._onUnpackedMessage.removeAllListeners(),this._onResponse.removeAllListeners(),this._onSend.removeAllListeners(),this._onClose.removeAllListeners(),this._onError.removeAllListeners()}_createOpeningController(){const e=this._options.connectionTimeout||this._options.timeout;this._opening=new St({timeout:e,timeoutReason:`Can't open WebSocket within allowed timeout: ${e} ms.`})}_createClosingController(){const e=this._options.timeout;this._closing=new St({timeout:e,timeoutReason:`Can't close WebSocket within allowed timeout: ${e} ms.`})}_createChannels(){this._onOpen=new P,this._onMessage=new P,this._onUnpackedMessage=new P,this._onResponse=new P,this._onSend=new P,this._onClose=new P,this._onError=new P}_createWS(){this._ws=this._options.createWebSocket(this._url),this._wsSubscription=new P.Subscription([{channel:this._ws,event:"open",listener:e=>this._handleOpen(e)},{channel:this._ws,event:"message",listener:e=>this._handleMessage(e)},{channel:this._ws,event:"error",listener:e=>this._handleError(e)},{channel:this._ws,event:"close",listener:e=>this._handleClose(e)}]).on()}_handleOpen(e){this._onOpen.dispatchAsync(e),this._opening.resolve(e)}_handleMessage(e){const t=this._options.extractMessageData(e);this._onMessage.dispatchAsync(t),this._tryUnpack(t)}_tryUnpack(e){this._options.unpackMessage&&(e=this._options.unpackMessage(e),Bn(e)?e.then(t=>this._handleUnpackedData(t)):this._handleUnpackedData(e))}_handleUnpackedData(e){e!==void 0&&(this._onUnpackedMessage.dispatchAsync(e),this._tryHandleResponse(e)),this._tryHandleWaitingMessage(e)}_tryHandleResponse(e){if(this._options.extractRequestId){const t=this._options.extractRequestId(e);t&&(this._onResponse.dispatchAsync(e,t),this._requests.resolve(t,e))}}_tryHandleWaitingMessage(e){this._promisedMap.forEach((t,n)=>{let o=!1;try{o=n(e)}catch(s){this._promisedMap.reject(n,s);return}o&&this._promisedMap.resolve(n,e)})}_handleError(e){this._onError.dispatchAsync(e)}_handleClose(e){this._onClose.dispatchAsync(e),this._closing.resolve(e);const t=new Error(`WebSocket closed with reason: ${e.reason} (${e.code}).`);this._opening.isPending&&this._opening.reject(t),this._cleanup(t)}_cleanupWS(){this._wsSubscription&&(this._wsSubscription.off(),this._wsSubscription=null),this._ws=null}_cleanup(e){this._cleanupWS(),this._requests.rejectAll(e)}_assertOptions(e){Object.keys(e||{}).forEach(t=>{if(!At.hasOwnProperty(t))throw new Error(`Unknown option: ${t}`)})}_assertPackingHandlers(){const{packMessage:e,unpackMessage:t}=this._options;B(!e||!t,"Please define 'options.packMessage / options.unpackMessage' for sending packed messages.")}_assertRequestIdHandlers(){const{attachRequestId:e,extractRequestId:t}=this._options;B(!e||!t,"Please define 'options.attachRequestId / options.extractRequestId' for sending requests.")}}var Un=Gn;let w=null;const Vn=Yt(Qt)??null,Hn=(r,e)=>{if(!r)return{hasWebsocket:!1,websocket:null,closeSocket:()=>null};try{w=new Un(`ws://localhost:${r}/`,{packMessage:t=>V(t),unpackMessage:t=>Le(t),attachRequestId:(t,n)=>Object.assign({requestId:n},t),extractRequestId:t=>t&&t.requestId,...e}),w.onError.addListener(t=>{console.error(`Websocket connection error: ${t}`)})}catch(t){Ee(`Error creating websocket: ${t}`)}return w==null||w.open(),{hasWebsocket:!0,websocket:w,closeSocket:()=>w?w.close():null}},Kn=Hn(Vn);async function Rt(r,e){if(!e)return r;if(!e.isOpened)try{await e.open()}catch(n){Ee(`Error opening websocket: ${n}`)}return e.isOpened?e.sendRequest({payload:V(r)}).then(n=>{Zt();try{return Le(n.content)}catch{return n.content}}).catch(n=>{Ee(`Error decoding websocket response: ${n}`)}):Promise.resolve(r)}async function Jn({payloads:r,namespace:e,settings:t,accessToken:n}){var f,h,l;const o=(f=t==null?void 0:t.codec)==null?void 0:f.endpoint,s=(h=t==null?void 0:t.codec)==null?void 0:h.passAccessToken,a=(l=t==null?void 0:t.codec)==null?void 0:l.includeCredentials,i={"Content-Type":"application/json","X-Namespace":e};if(s)if(er(o))i.Authorization=`Bearer ${n}`;else return Me(),r;const c=a?{headers:i,credentials:"include",method:"POST",body:V(r)}:{headers:i,method:"POST",body:V(r)};return fetch(o+"/decode",c).then(u=>u.json()).then(u=>(tr(),u)).catch(()=>(Me(),r))}const Kt=r=>Array.isArray(r)?r:[r];function A(r){var t;if(r===null)return r;const e=We(String(((t=r==null?void 0:r.metadata)==null?void 0:t.encoding)??""));if(r!=null&&r.metadata&&(r.metadata.encodingDecoded=e),e!=null&&e.startsWith("json/"))try{return Le(We(String((r==null?void 0:r.data)??"")))}catch(n){console.warn("Could not parse payload: ",n)}return e==="binary/null"?null:r}const oo=r=>{if(R(r,"searchAttributes")&&R(r.searchAttributes,"indexedFields")){const e=r.searchAttributes.indexedFields;Object.entries(e).forEach(([t,n])=>{e[t]=A(n)})}if(R(r,"memo")&&R(r.memo,"fields")){const e=r.memo.fields;Object.entries(e).forEach(([t,n])=>{e[t]=A(n)})}if(R(r,"header")&&R(r.header,"fields")){const e=r.header.fields;Object.entries(e).forEach(([t,n])=>{e[t]=A(n)})}if(R(r,"queryResult")){const e=r==null?void 0:r.queryResult;Object.entries(e).forEach(([t,n])=>{e[t]=A(n)})}return r},zn=(r,e,t)=>async n=>{var o;if((o=e==null?void 0:e.codec)!=null&&o.endpoint){const s=await Jn({payloads:{payloads:n},namespace:r,settings:e,accessToken:t});return((s==null?void 0:s.payloads)??[]).map(A)}else return n.map(A)},Et=(r,...e)=>{for(const t of e)if(r===t)return!0;return!1},Jt=async(r,e,t,n)=>{const o=zn(e,t,n);if(r)for(const s of Object.keys(r))if(Et(s,"payloads","encodedAttributes")&&r[s]){const a=Kt(r[s]),i=await o(a);r[s]=Et(s,"encodedAttributes")?i[0]:i}else{const a=r[s];It(a)&&(r[s]=await Jt(a,e,t,n))}return r},zt=async(r,e)=>{if(r)for(const t of Object.keys(r))if(t==="payloads"){let n;const o=Kt(r[t]);e!=null&&e.hasWebsocket?n=await Promise.all((o??[]).map(async a=>await Rt(a,e.websocket))):n=o.map(A),r[t]=n}else if(t==="encodedAttributes"&&r[t]){let n;const o=r[t];e!=null&&e.hasWebsocket?n=await Rt(o,e.websocket):n=A(o),r[t]=n}else{const n=r[t];It(n)&&(r[t]=await zt(n,e))}return r},io=async({attributes:r,namespace:e,settings:t,accessToken:n})=>await Jt(r,e,t,n),so=async(r,e)=>await zt(r,e??Kn);export{so as a,A as b,io as c,oo as d}; diff --git a/ui/assets/cloud/_app/immutable/chunks/error.0aaac20c.js b/ui/assets/local/_app/immutable/chunks/error.78b7832f.js similarity index 95% rename from ui/assets/cloud/_app/immutable/chunks/error.0aaac20c.js rename to ui/assets/local/_app/immutable/chunks/error.78b7832f.js index b791a6f267..24d37770a9 100644 --- a/ui/assets/cloud/_app/immutable/chunks/error.0aaac20c.js +++ b/ui/assets/local/_app/immutable/chunks/error.78b7832f.js @@ -1,4 +1,4 @@ -import{S as z,b as A,a as B,m as S,w as g,c as y,C as D,p as x,q as T,x as $,k as p,d as N,D as U,u as _,f as P,M as o,E as F,y as G,j as H,g as I,F as M,L as J,N as K}from"./index.d29c66be.js";import{a as Q}from"./navigation.529c81bc.js";import{p as R}from"./stores.1f7fa6eb.js";import{h as V}from"./has.8da86d13.js";import{L as O}from"./link.d5f6f19e.js";function W(a){let e;return{c(){e=g("Try a refresh")},l(t){e=$(t,"Try a refresh")},m(t,l){P(t,e,l)},d(t){t&&p(e)}}}function X(a){let e;return{c(){e=g("jump on our Slack Channel")},l(t){e=$(t,"jump on our Slack Channel")},m(t,l){P(t,e,l)},d(t){t&&p(e)}}}function Y(a){let e,t,l,h,n,d,E,u,v,c,i,f,L,m,j,C;return f=new O({props:{href:a[1],target:"_self",class:"underline underline-offset-2",$$slots:{default:[W]},$$scope:{ctx:a}}}),f.$on("click",a[5]),m=new O({props:{href:"https://temporal.io/slack",$$slots:{default:[X]},$$scope:{ctx:a}}}),{c(){e=S("section"),t=S("h1"),l=g(a[0]),h=y(),n=S("p"),d=g("Uh oh. There's an error."),E=y(),u=S("p"),v=g(a[2]),c=y(),i=S("p"),D(f.$$.fragment),L=g(` +import{S as z,b as A,a as B,m as S,w as g,c as y,C as D,p as x,q as T,x as $,k as p,d as N,D as U,u as _,f as P,M as o,E as F,y as G,j as H,g as I,F as M,L as J,N as K}from"./index.d29c66be.js";import{a as Q}from"./navigation.e41eebee.js";import{p as R}from"./stores.8c019868.js";import{h as V}from"./has.8da86d13.js";import{L as O}from"./link.d5f6f19e.js";function W(a){let e;return{c(){e=g("Try a refresh")},l(t){e=$(t,"Try a refresh")},m(t,l){P(t,e,l)},d(t){t&&p(e)}}}function X(a){let e;return{c(){e=g("jump on our Slack Channel")},l(t){e=$(t,"jump on our Slack Channel")},m(t,l){P(t,e,l)},d(t){t&&p(e)}}}function Y(a){let e,t,l,h,n,d,E,u,v,c,i,f,L,m,j,C;return f=new O({props:{href:a[1],target:"_self",class:"underline underline-offset-2",$$slots:{default:[W]},$$scope:{ctx:a}}}),f.$on("click",a[5]),m=new O({props:{href:"https://temporal.io/slack",$$slots:{default:[X]},$$scope:{ctx:a}}}),{c(){e=S("section"),t=S("h1"),l=g(a[0]),h=y(),n=S("p"),d=g("Uh oh. There's an error."),E=y(),u=S("p"),v=g(a[2]),c=y(),i=S("p"),D(f.$$.fragment),L=g(` or `),D(m.$$.fragment),j=g("."),this.h()},l(s){e=x(s,"SECTION",{"aria-roledescription":!0,class:!0,role:!0});var r=T(e);t=x(r,"H1",{class:!0});var k=T(t);l=$(k,a[0]),k.forEach(p),h=N(r),n=x(r,"P",{class:!0});var b=T(n);d=$(b,"Uh oh. There's an error."),b.forEach(p),E=N(r),u=x(r,"P",{class:!0});var q=T(u);v=$(q,a[2]),q.forEach(p),c=N(r),i=x(r,"P",{class:!0});var w=T(i);U(f.$$.fragment,w),L=$(w,` or diff --git a/ui/assets/local/_app/immutable/chunks/error.a3e96e45.js b/ui/assets/local/_app/immutable/chunks/error.a3e96e45.js deleted file mode 100644 index 2726a22d58..0000000000 --- a/ui/assets/local/_app/immutable/chunks/error.a3e96e45.js +++ /dev/null @@ -1,5 +0,0 @@ -import{S as z,b as A,a as B,m as S,w as g,c as y,C as D,p as x,q as T,x as $,k as p,d as N,D as U,u as _,f as P,M as o,E as F,y as G,j as H,g as I,F as M,L as J,N as K}from"./index.d29c66be.js";import{a as Q}from"./navigation.9ceca11e.js";import{p as R}from"./stores.b938c0e3.js";import{h as V}from"./has.8da86d13.js";import{L as O}from"./link.d5f6f19e.js";function W(a){let e;return{c(){e=g("Try a refresh")},l(t){e=$(t,"Try a refresh")},m(t,l){P(t,e,l)},d(t){t&&p(e)}}}function X(a){let e;return{c(){e=g("jump on our Slack Channel")},l(t){e=$(t,"jump on our Slack Channel")},m(t,l){P(t,e,l)},d(t){t&&p(e)}}}function Y(a){let e,t,l,h,n,d,E,u,v,c,i,f,L,m,j,C;return f=new O({props:{href:a[1],target:"_self",class:"underline underline-offset-2",$$slots:{default:[W]},$$scope:{ctx:a}}}),f.$on("click",a[5]),m=new O({props:{href:"https://temporal.io/slack",$$slots:{default:[X]},$$scope:{ctx:a}}}),{c(){e=S("section"),t=S("h1"),l=g(a[0]),h=y(),n=S("p"),d=g("Uh oh. There's an error."),E=y(),u=S("p"),v=g(a[2]),c=y(),i=S("p"),D(f.$$.fragment),L=g(` - or - `),D(m.$$.fragment),j=g("."),this.h()},l(s){e=x(s,"SECTION",{"aria-roledescription":!0,class:!0,role:!0});var r=T(e);t=x(r,"H1",{class:!0});var k=T(t);l=$(k,a[0]),k.forEach(p),h=N(r),n=x(r,"P",{class:!0});var b=T(n);d=$(b,"Uh oh. There's an error."),b.forEach(p),E=N(r),u=x(r,"P",{class:!0});var q=T(u);v=$(q,a[2]),q.forEach(p),c=N(r),i=x(r,"P",{class:!0});var w=T(i);U(f.$$.fragment,w),L=$(w,` - or - `),U(m.$$.fragment,w),j=$(w,"."),w.forEach(p),r.forEach(p),this.h()},h(){_(t,"class","text-[12rem] font-semibold"),_(n,"class","-mt-6 mb-5 text-lg"),_(u,"class","my-4 w-auto text-2xl font-extrabold text-red-700"),_(i,"class","text-lg"),_(e,"aria-roledescription","error"),_(e,"class","mt-32 text-center align-middle"),_(e,"role","alert")},m(s,r){P(s,e,r),o(e,t),o(t,l),o(e,h),o(e,n),o(n,d),o(e,E),o(e,u),o(u,v),o(e,c),o(e,i),F(f,i,null),o(i,L),F(m,i,null),o(i,j),C=!0},p(s,[r]){(!C||r&1)&&G(l,s[0]);const k={};r&2&&(k.href=s[1]),r&128&&(k.$$scope={dirty:r,ctx:s}),f.$set(k);const b={};r&128&&(b.$$scope={dirty:r,ctx:s}),m.$set(b)},i(s){C||(H(f.$$.fragment,s),H(m.$$.fragment,s),C=!0)},o(s){I(f.$$.fragment,s),I(m.$$.fragment,s),C=!1},d(s){s&&p(e),M(f),M(m)}}}function Z(a,e,t){let l,h;J(a,R,c=>t(4,h=c));let{error:n=null}=e,{status:d=500}=e,E=(n==null?void 0:n.message)||"";V(n,"statusCode")&&(d=n.statusCode);const u=K();Q(()=>{u("clearError",{})});const v=()=>{window.location.reload()};return a.$$set=c=>{"error"in c&&t(3,n=c.error),"status"in c&&t(0,d=c.status)},a.$$.update=()=>{a.$$.dirty&16&&t(1,l=h.url.toString())},[d,l,E,n,h,v]}class ne extends z{constructor(e){super(),A(this,e,Z,Y,B,{error:3,status:0})}}export{ne as E}; diff --git a/ui/assets/local/_app/immutable/chunks/event-empty-row.f1ffb146.js b/ui/assets/local/_app/immutable/chunks/event-empty-row.7d16dc36.js similarity index 99% rename from ui/assets/local/_app/immutable/chunks/event-empty-row.f1ffb146.js rename to ui/assets/local/_app/immutable/chunks/event-empty-row.7d16dc36.js index d28a32a204..3babe21673 100644 --- a/ui/assets/local/_app/immutable/chunks/event-empty-row.f1ffb146.js +++ b/ui/assets/local/_app/immutable/chunks/event-empty-row.7d16dc36.js @@ -1 +1 @@ -import{S as _e,b as me,a as he,m as b,p as k,q as $,k as _,u as g,f as D,z as Q,g as w,h as z,j as p,L as ce,O as we,P as De,w as B,c as y,x as M,d as A,T as j,M as h,y as W,n as Te,C as G,D as O,E as S,F as N,G as jt,X as nt,U as $e,H as Lt,I as Bt,J as Mt,Q as el,e as le,N as Ut,a1 as Ee,a2 as Ve,al as tl,W as Wt,ac as ll,V as nl,a6 as rl,A as sl,Y as al,Z as il,$ as ol,aa as fl,_ as Se}from"./index.d29c66be.js";import{C as Pe,a as cl}from"./tooltip.ca813c82.js";import{I as ve}from"./icon.5aa23970.js";import{c as Ne,e as Me,b as ul}from"./event-view.73e1a728.js";import{t as qt,s as dl}from"./time-format.6ef667eb.js";import{e as Ue,a as We,b as qe,i as Fe}from"./index.e1962a6e.js";import{f as rt}from"./format-date.100c5f23.js";import{o as He}from"./format-time.66fea38b.js";import{s as Ht,a as Qt,b as zt,c as Re,g as Qe,d as _l,e as st,f as Jt,h as ml,i as at}from"./format-event-attributes.f0307b43.js";import{p as Be}from"./stores.b938c0e3.js";import{f as ne}from"./format-camel-case.960a78f9.js";import{m as je,f as ke}from"./route-for.b4518ba8.js";import{C as ze}from"./code-block.fc92cd67.js";import{L as Ce}from"./link.d5f6f19e.js";import{B as Le}from"./is-event-type.0064ca29.js";import{T as Xt,a as hl}from"./table-header-row.a7bab5a4.js";import{D as Yt}from"./dropdown-menu.abe6e484.js";import{c as vl,a as pl}from"./get-event-categorization.b6da7e5f.js";import{u as Zt}from"./pagination.15ad2803.js";import{i as gl}from"./version-check.d006b302.js";import{e as it}from"./filters.a4cc47c7.js";import{t as bl}from"./versions.dfa21225.js";import{E as kl}from"./empty-state.bf113865.js";import{L as $l}from"./loading.9b5a6a67.js";function wl(s){let e,l,t=ne(s[0])+"",n,r,o,i,c;return{c(){e=b("div"),l=b("p"),n=B(t),r=y(),o=b("p"),i=b("span"),c=B(s[1]),this.h()},l(a){e=k(a,"DIV",{class:!0});var f=$(e);l=k(f,"P",{class:!0});var u=$(l);n=M(u,t),u.forEach(_),r=A(f),o=k(f,"P",{class:!0});var d=$(o);i=k(d,"SPAN",{class:!0});var m=$(i);c=M(m,s[1]),m.forEach(_),d.forEach(_),f.forEach(_),this.h()},h(){g(l,"class","mr-3 truncate text-sm"),g(i,"class","w-full select-all text-gray-700 svelte-n4ehvt"),j(i,"badge",!Re(s[0])),g(o,"class","truncate text-right text-sm xl:text-left"),g(e,"class","flex w-full flex-wrap items-center gap-1 pr-1")},m(a,f){D(a,e,f),h(e,l),h(l,n),h(e,r),h(e,o),h(o,i),h(i,c)},p(a,f){f&1&&t!==(t=ne(a[0])+"")&&W(n,t),f&2&&W(c,a[1]),f&1&&j(i,"badge",!Re(a[0]))},i:Te,o:Te,d(a){a&&_(e)}}}function El(s){let e,l,t=ne(s[0])+"",n,r,o,i,c;return i=new Pe({props:{content:s[1],"container-class":"",$$slots:{default:[Pl]},$$scope:{ctx:s}}}),{c(){e=b("div"),l=b("p"),n=B(t),r=y(),o=b("div"),G(i.$$.fragment),this.h()},l(a){e=k(a,"DIV",{class:!0});var f=$(e);l=k(f,"P",{class:!0});var u=$(l);n=M(u,t),u.forEach(_),r=A(f),o=k(f,"DIV",{class:!0});var d=$(o);O(i.$$.fragment,d),d.forEach(_),f.forEach(_),this.h()},h(){g(l,"class","mr-3 truncate text-sm"),g(o,"class","truncate text-sm "),g(e,"class","flex w-full flex-wrap items-center gap-1 pr-1")},m(a,f){D(a,e,f),h(e,l),h(l,n),h(e,r),h(e,o),S(i,o,null),c=!0},p(a,f){(!c||f&1)&&t!==(t=ne(a[0])+"")&&W(n,t);const u={};f&2&&(u.content=a[1]),f&258&&(u.$$scope={dirty:f,ctx:a}),i.$set(u)},i(a){c||(p(i.$$.fragment,a),c=!0)},o(a){w(i.$$.fragment,a),c=!1},d(a){a&&_(e),N(i)}}}function Il(s){let e,l,t=ne(s[0])+"",n,r,o,i,c;return i=new Pe({props:{content:s[1],"container-class":"xl:flex-row",$$slots:{default:[yl]},$$scope:{ctx:s}}}),{c(){e=b("div"),l=b("p"),n=B(t),r=y(),o=b("div"),G(i.$$.fragment),this.h()},l(a){e=k(a,"DIV",{class:!0});var f=$(e);l=k(f,"P",{class:!0});var u=$(l);n=M(u,t),u.forEach(_),r=A(f),o=k(f,"DIV",{class:!0});var d=$(o);O(i.$$.fragment,d),d.forEach(_),f.forEach(_),this.h()},h(){g(l,"class","truncate text-sm"),g(o,"class","truncate text-sm"),g(e,"class","flex w-full flex-wrap items-center gap-1 pr-1")},m(a,f){D(a,e,f),h(e,l),h(l,n),h(e,r),h(e,o),S(i,o,null),c=!0},p(a,f){(!c||f&1)&&t!==(t=ne(a[0])+"")&&W(n,t);const u={};f&2&&(u.content=a[1]),f&262&&(u.$$scope={dirty:f,ctx:a}),i.$set(u)},i(a){c||(p(i.$$.fragment,a),c=!0)},o(a){w(i.$$.fragment,a),c=!1},d(a){a&&_(e),N(i)}}}function Dl(s){let e,l,t=ne(s[0])+"",n,r,o,i,c;return i=new Pe({props:{content:s[1],"container-class":" xl:flex-row",$$slots:{default:[Gl]},$$scope:{ctx:s}}}),{c(){e=b("div"),l=b("p"),n=B(t),r=y(),o=b("div"),G(i.$$.fragment),this.h()},l(a){e=k(a,"DIV",{class:!0});var f=$(e);l=k(f,"P",{class:!0});var u=$(l);n=M(u,t),u.forEach(_),r=A(f),o=k(f,"DIV",{class:!0});var d=$(o);O(i.$$.fragment,d),d.forEach(_),f.forEach(_),this.h()},h(){g(l,"class","mr-3 truncate text-sm"),g(o,"class","truncate text-sm"),g(e,"class","flex w-full flex-wrap items-center gap-1 pr-1")},m(a,f){D(a,e,f),h(e,l),h(l,n),h(e,r),h(e,o),S(i,o,null),c=!0},p(a,f){(!c||f&1)&&t!==(t=ne(a[0])+"")&&W(n,t);const u={};f&2&&(u.content=a[1]),f&258&&(u.$$scope={dirty:f,ctx:a}),i.$set(u)},i(a){c||(p(i.$$.fragment,a),c=!0)},o(a){w(i.$$.fragment,a),c=!1},d(a){a&&_(e),N(i)}}}function Tl(s){let e,l,t=ne(s[0])+"",n,r,o,i;return o=new ze({props:{content:Qe(s[1]),inline:s[3]}}),{c(){e=b("div"),l=b("p"),n=B(t),r=y(),G(o.$$.fragment),this.h()},l(c){e=k(c,"DIV",{class:!0});var a=$(e);l=k(a,"P",{class:!0});var f=$(l);n=M(f,t),f.forEach(_),r=A(a),O(o.$$.fragment,a),a.forEach(_),this.h()},h(){g(l,"class","min-w-fit text-sm"),g(e,"class","flex w-full flex-wrap items-center pr-1 xl:flex-nowrap xl:gap-4")},m(c,a){D(c,e,a),h(e,l),h(l,n),h(e,r),S(o,e,null),i=!0},p(c,a){(!i||a&1)&&t!==(t=ne(c[0])+"")&&W(n,t);const f={};a&2&&(f.content=Qe(c[1])),a&8&&(f.inline=c[3]),o.$set(f)},i(c){i||(p(o.$$.fragment,c),i=!0)},o(c){w(o.$$.fragment,c),i=!1},d(c){c&&_(e),N(o)}}}function Vl(s){let e;return{c(){e=B(s[1])},l(l){e=M(l,s[1])},m(l,t){D(l,e,t)},p(l,t){t&2&&W(e,l[1])},d(l){l&&_(e)}}}function Pl(s){let e,l;return e=new Ce({props:{class:"truncate",newTab:!0,href:je({namespace:s[5],queue:s[1]}),$$slots:{default:[Vl]},$$scope:{ctx:s}}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},p(t,n){const r={};n&2&&(r.href=je({namespace:t[5],queue:t[1]})),n&258&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function Cl(s){let e;return{c(){e=B(s[1])},l(l){e=M(l,s[1])},m(l,t){D(l,e,t)},p(l,t){t&2&&W(e,l[1])},d(l){l&&_(e)}}}function yl(s){let e,l;return e=new Ce({props:{class:"truncate",newTab:!0,href:ke({namespace:s[5],workflow:s[2].workflowExecutionWorkflowId,run:s[2].workflowExecutionRunId}),$$slots:{default:[Cl]},$$scope:{ctx:s}}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},p(t,n){const r={};n&4&&(r.href=ke({namespace:t[5],workflow:t[2].workflowExecutionWorkflowId,run:t[2].workflowExecutionRunId})),n&258&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function Al(s){let e;return{c(){e=B(s[1])},l(l){e=M(l,s[1])},m(l,t){D(l,e,t)},p(l,t){t&2&&W(e,l[1])},d(l){l&&_(e)}}}function Gl(s){let e,l;return e=new Ce({props:{class:"truncate",newTab:!0,href:ke({namespace:s[5],workflow:s[4],run:s[1]}),$$slots:{default:[Al]},$$scope:{ctx:s}}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},p(t,n){const r={};n&2&&(r.href=ke({namespace:t[5],workflow:t[4],run:t[1]})),n&258&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function Ol(s){let e,l,t,n,r,o,i,c;const a=[Tl,Dl,Il,El,wl],f=[];function u(d,m){return m&1&&(l=null),m&5&&(t=null),m&1&&(n=null),typeof d[1]=="object"?0:(l==null&&(l=!!Ht(d[0])),l?1:(t==null&&(t=!!Qt(d[0],d[2])),t?2:(n==null&&(n=!!zt(d[0])),n?3:4)))}return r=u(s,-1),o=f[r]=a[r](s),{c(){e=b("div"),o.c(),this.h()},l(d){e=k(d,"DIV",{class:!0});var m=$(e);o.l(m),m.forEach(_),this.h()},h(){g(e,"class",i="flex flex-row items-center gap-2 first:pt-0 last:border-b-0 xl:gap-4 "+s[6].class+" svelte-n4ehvt")},m(d,m){D(d,e,m),f[r].m(e,null),c=!0},p(d,[m]){let v=r;r=u(d,m),r===v?f[r].p(d,m):(Q(),w(f[v],1,1,()=>{f[v]=null}),z(),o=f[r],o?o.p(d,m):(o=f[r]=a[r](d),o.c()),p(o,1),o.m(e,null)),(!c||m&64&&i!==(i="flex flex-row items-center gap-2 first:pt-0 last:border-b-0 xl:gap-4 "+d[6].class+" svelte-n4ehvt"))&&g(e,"class",i)},i(d){c||(p(o),c=!0)},o(d){w(o),c=!1},d(d){d&&_(e),f[r].d()}}}function Sl(s,e,l){let t;ce(s,Be,f=>l(7,t=f));let{key:n}=e,{value:r}=e,{attributes:o}=e,{inline:i=!1}=e;const{workflow:c,namespace:a}=t.params;return s.$$set=f=>{l(6,e=we(we({},e),De(f))),"key"in f&&l(0,n=f.key),"value"in f&&l(1,r=f.value),"attributes"in f&&l(2,o=f.attributes),"inline"in f&&l(3,i=f.inline)},e=De(e),[n,r,o,i,c,a,e]}class Nl extends _e{constructor(e){super(),me(this,e,Sl,Ol,he,{key:0,value:1,attributes:2,inline:3})}}function Fl(s){let e,l,t=ne(s[0])+"",n,r,o,i,c;return{c(){e=b("div"),l=b("p"),n=B(t),r=y(),o=b("p"),i=b("span"),c=B(s[1]),this.h()},l(a){e=k(a,"DIV",{class:!0});var f=$(e);l=k(f,"P",{class:!0});var u=$(l);n=M(u,t),u.forEach(_),r=A(f),o=k(f,"P",{class:!0});var d=$(o);i=k(d,"SPAN",{class:!0});var m=$(i);c=M(m,s[1]),m.forEach(_),d.forEach(_),f.forEach(_),this.h()},h(){g(l,"class","text-sm"),g(i,"class","select-all px-2 svelte-cl0oev"),j(i,"badge",!Re(s[0])),g(o,"class","text-sm"),g(e,"class","content detail-row svelte-cl0oev")},m(a,f){D(a,e,f),h(e,l),h(l,n),h(e,r),h(e,o),h(o,i),h(i,c)},p(a,f){f&1&&t!==(t=ne(a[0])+"")&&W(n,t),f&2&&W(c,a[1]),f&1&&j(i,"badge",!Re(a[0]))},i:Te,o:Te,d(a){a&&_(e)}}}function Rl(s){let e,l,t=ne(s[0])+"",n,r,o,i,c;return i=new Pe({props:{content:s[1],"container-class":"xl:flex-row",$$slots:{default:[Ul]},$$scope:{ctx:s}}}),{c(){e=b("div"),l=b("p"),n=B(t),r=y(),o=b("div"),G(i.$$.fragment),this.h()},l(a){e=k(a,"DIV",{class:!0});var f=$(e);l=k(f,"P",{class:!0});var u=$(l);n=M(u,t),u.forEach(_),r=A(f),o=k(f,"DIV",{class:!0});var d=$(o);O(i.$$.fragment,d),d.forEach(_),f.forEach(_),this.h()},h(){g(l,"class","text-sm"),g(o,"class","text-sm"),g(e,"class","content detail-row svelte-cl0oev")},m(a,f){D(a,e,f),h(e,l),h(l,n),h(e,r),h(e,o),S(i,o,null),c=!0},p(a,f){(!c||f&1)&&t!==(t=ne(a[0])+"")&&W(n,t);const u={};f&2&&(u.content=a[1]),f&1026&&(u.$$scope={dirty:f,ctx:a}),i.$set(u)},i(a){c||(p(i.$$.fragment,a),c=!0)},o(a){w(i.$$.fragment,a),c=!1},d(a){a&&_(e),N(i)}}}function jl(s){let e,l,t=ne(s[0])+"",n,r,o,i,c;return i=new Pe({props:{content:s[1],"container-class":"xl:flex-row",$$slots:{default:[ql]},$$scope:{ctx:s}}}),{c(){e=b("div"),l=b("p"),n=B(t),r=y(),o=b("div"),G(i.$$.fragment),this.h()},l(a){e=k(a,"DIV",{class:!0});var f=$(e);l=k(f,"P",{class:!0});var u=$(l);n=M(u,t),u.forEach(_),r=A(f),o=k(f,"DIV",{class:!0});var d=$(o);O(i.$$.fragment,d),d.forEach(_),f.forEach(_),this.h()},h(){g(l,"class","text-sm"),g(o,"class","text-sm"),g(e,"class","content detail-row svelte-cl0oev")},m(a,f){D(a,e,f),h(e,l),h(l,n),h(e,r),h(e,o),S(i,o,null),c=!0},p(a,f){(!c||f&1)&&t!==(t=ne(a[0])+"")&&W(n,t);const u={};f&2&&(u.content=a[1]),f&1030&&(u.$$scope={dirty:f,ctx:a}),i.$set(u)},i(a){c||(p(i.$$.fragment,a),c=!0)},o(a){w(i.$$.fragment,a),c=!1},d(a){a&&_(e),N(i)}}}function Ll(s){let e,l,t=ne(s[0])+"",n,r,o,i,c;return i=new Pe({props:{content:s[1],"container-class":"flex-row-reverse xl:flex-row",$$slots:{default:[Ql]},$$scope:{ctx:s}}}),{c(){e=b("div"),l=b("p"),n=B(t),r=y(),o=b("div"),G(i.$$.fragment),this.h()},l(a){e=k(a,"DIV",{class:!0});var f=$(e);l=k(f,"P",{class:!0});var u=$(l);n=M(u,t),u.forEach(_),r=A(f),o=k(f,"DIV",{class:!0});var d=$(o);O(i.$$.fragment,d),d.forEach(_),f.forEach(_),this.h()},h(){g(l,"class","text-sm"),g(o,"class","text-sm"),g(e,"class","content detail-row svelte-cl0oev")},m(a,f){D(a,e,f),h(e,l),h(l,n),h(e,r),h(e,o),S(i,o,null),c=!0},p(a,f){(!c||f&1)&&t!==(t=ne(a[0])+"")&&W(n,t);const u={};f&2&&(u.content=a[1]),f&1026&&(u.$$scope={dirty:f,ctx:a}),i.$set(u)},i(a){c||(p(i.$$.fragment,a),c=!0)},o(a){w(i.$$.fragment,a),c=!1},d(a){a&&_(e),N(i)}}}function Bl(s){let e,l,t,n=ne(s[0])+"",r,o,i,c,a,f;i=new ze({props:{content:s[4],class:"h-auto "+(s[5]?"mb-2":"")+" max-h-96 overflow-auto",inline:s[3]}});let u=s[5]&&!s[3]&&ot(s);return{c(){e=b("div"),l=b("div"),t=b("p"),r=B(n),o=y(),G(i.$$.fragment),a=y(),u&&u.c(),this.h()},l(d){e=k(d,"DIV",{class:!0});var m=$(e);l=k(m,"DIV",{class:!0});var v=$(l);t=k(v,"P",{class:!0});var E=$(t);r=M(E,n),E.forEach(_),o=A(v),O(i.$$.fragment,v),v.forEach(_),a=A(m),u&&u.l(m),m.forEach(_),this.h()},h(){g(t,"class","text-sm"),g(l,"class",c="flex flex-col "+(s[5]?"lg:w-1/2":"")),g(e,"class","content code-block-row svelte-cl0oev"),j(e,"code-with-stack-trace",s[5])},m(d,m){D(d,e,m),h(e,l),h(l,t),h(t,r),h(l,o),S(i,l,null),h(e,a),u&&u.m(e,null),f=!0},p(d,m){(!f||m&1)&&n!==(n=ne(d[0])+"")&&W(r,n);const v={};m&16&&(v.content=d[4]),m&32&&(v.class="h-auto "+(d[5]?"mb-2":"")+" max-h-96 overflow-auto"),m&8&&(v.inline=d[3]),i.$set(v),(!f||m&32&&c!==(c="flex flex-col "+(d[5]?"lg:w-1/2":"")))&&g(l,"class",c),d[5]&&!d[3]?u?(u.p(d,m),m&40&&p(u,1)):(u=ot(d),u.c(),p(u,1),u.m(e,null)):u&&(Q(),w(u,1,1,()=>{u=null}),z()),(!f||m&32)&&j(e,"code-with-stack-trace",d[5])},i(d){f||(p(i.$$.fragment,d),p(u),f=!0)},o(d){w(i.$$.fragment,d),w(u),f=!1},d(d){d&&_(e),N(i),u&&u.d()}}}function Ml(s){let e;return{c(){e=B(s[1])},l(l){e=M(l,s[1])},m(l,t){D(l,e,t)},p(l,t){t&2&&W(e,l[1])},d(l){l&&_(e)}}}function Ul(s){let e,l;return e=new Ce({props:{newTab:!0,href:je({namespace:s[7],queue:s[1]}),$$slots:{default:[Ml]},$$scope:{ctx:s}}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},p(t,n){const r={};n&2&&(r.href=je({namespace:t[7],queue:t[1]})),n&1026&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function Wl(s){let e;return{c(){e=B(s[1])},l(l){e=M(l,s[1])},m(l,t){D(l,e,t)},p(l,t){t&2&&W(e,l[1])},d(l){l&&_(e)}}}function ql(s){var t;let e,l;return e=new Ce({props:{newTab:!0,href:ke({namespace:((t=s[2])==null?void 0:t.namespace)||s[7],workflow:s[2].workflowExecutionWorkflowId,run:s[2].workflowExecutionRunId}),$$slots:{default:[Wl]},$$scope:{ctx:s}}}),{c(){G(e.$$.fragment)},l(n){O(e.$$.fragment,n)},m(n,r){S(e,n,r),l=!0},p(n,r){var i;const o={};r&4&&(o.href=ke({namespace:((i=n[2])==null?void 0:i.namespace)||n[7],workflow:n[2].workflowExecutionWorkflowId,run:n[2].workflowExecutionRunId})),r&1026&&(o.$$scope={dirty:r,ctx:n}),e.$set(o)},i(n){l||(p(e.$$.fragment,n),l=!0)},o(n){w(e.$$.fragment,n),l=!1},d(n){N(e,n)}}}function Hl(s){let e;return{c(){e=B(s[1])},l(l){e=M(l,s[1])},m(l,t){D(l,e,t)},p(l,t){t&2&&W(e,l[1])},d(l){l&&_(e)}}}function Ql(s){let e,l;return e=new Ce({props:{newTab:!0,href:ke({namespace:s[7],workflow:s[6],run:s[1]}),$$slots:{default:[Hl]},$$scope:{ctx:s}}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},p(t,n){const r={};n&2&&(r.href=ke({namespace:t[7],workflow:t[6],run:t[1]})),n&1026&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function ot(s){let e,l,t,n,r,o;return r=new ze({props:{content:s[5],class:"mb-2 h-full lg:pr-2",language:"text"}}),{c(){e=b("div"),l=b("p"),t=B("Stack trace"),n=y(),G(r.$$.fragment),this.h()},l(i){e=k(i,"DIV",{class:!0});var c=$(e);l=k(c,"P",{class:!0});var a=$(l);t=M(a,"Stack trace"),a.forEach(_),n=A(c),O(r.$$.fragment,c),c.forEach(_),this.h()},h(){g(l,"class","text-sm"),g(e,"class","flex flex-col lg:w-1/2")},m(i,c){D(i,e,c),h(e,l),h(l,t),h(e,n),S(r,e,null),o=!0},p(i,c){const a={};c&32&&(a.content=i[5]),r.$set(a)},i(i){o||(p(r.$$.fragment,i),o=!0)},o(i){w(r.$$.fragment,i),o=!1},d(i){i&&_(e),N(r)}}}function zl(s){let e,l,t,n,r,o,i,c;const a=[Bl,Ll,jl,Rl,Fl],f=[];function u(d,m){return m&1&&(l=null),m&5&&(t=null),m&1&&(n=null),typeof d[1]=="object"?0:(l==null&&(l=!!Ht(d[0])),l?1:(t==null&&(t=!!Qt(d[0],d[2])),t?2:(n==null&&(n=!!zt(d[0])),n?3:4)))}return r=u(s,-1),o=f[r]=a[r](s),{c(){e=b("div"),o.c(),this.h()},l(d){e=k(d,"DIV",{class:!0});var m=$(e);o.l(m),m.forEach(_),this.h()},h(){g(e,"class",i="row "+s[8].class+" svelte-cl0oev")},m(d,m){D(d,e,m),f[r].m(e,null),c=!0},p(d,[m]){let v=r;r=u(d,m),r===v?f[r].p(d,m):(Q(),w(f[v],1,1,()=>{f[v]=null}),z(),o=f[r],o?o.p(d,m):(o=f[r]=a[r](d),o.c()),p(o,1),o.m(e,null)),(!c||m&256&&i!==(i="row "+d[8].class+" svelte-cl0oev"))&&g(e,"class",i)},i(d){c||(p(o),c=!0)},o(d){w(o),c=!1},d(d){d&&_(e),f[r].d()}}}function Jl(s,e,l){let t,n,r;ce(s,Be,d=>l(9,r=d));let{key:o}=e,{value:i}=e,{attributes:c}=e,{inline:a=!1}=e;const{workflow:f,namespace:u}=r.params;return s.$$set=d=>{l(8,e=we(we({},e),De(d))),"key"in d&&l(0,o=d.key),"value"in d&&l(1,i=d.value),"attributes"in d&&l(2,c=d.attributes),"inline"in d&&l(3,a=d.inline)},s.$$.update=()=>{s.$$.dirty&2&&l(4,t=Qe(i)),s.$$.dirty&16&&l(5,n=_l(t))},e=De(e),[o,i,c,a,t,n,f,u,e]}class Kt extends _e{constructor(e){super(),me(this,e,Jl,zl,he,{key:0,value:1,attributes:2,inline:3})}}function ft(s){let e,l,t;return l=new ve({props:{name:s[1]?"spinner":s[3]}}),{c(){e=b("span"),G(l.$$.fragment),this.h()},l(n){e=k(n,"SPAN",{});var r=$(e);O(l.$$.fragment,r),r.forEach(_),this.h()},h(){j(e,"animate-spin",s[1])},m(n,r){D(n,e,r),S(l,e,null),t=!0},p(n,r){const o={};r&10&&(o.name=n[1]?"spinner":n[3]),l.$set(o),(!t||r&2)&&j(e,"animate-spin",n[1])},i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){w(l.$$.fragment,n),t=!1},d(n){n&&_(e),N(l)}}}function Xl(s){let e,l,t,n,r,o,i=s[3]&&ft(s);const c=s[7].default,a=jt(c,s,s[6],null);return{c(){e=b("button"),i&&i.c(),l=y(),a&&a.c(),this.h()},l(f){e=k(f,"BUTTON",{class:!0});var u=$(e);i&&i.l(u),l=A(u),a&&a.l(u),u.forEach(_),this.h()},h(){g(e,"class",t=nt(`pill ${s[5]} ${s[4]}`)+" svelte-czm4v2"),e.disabled=s[0],j(e,"active",s[2])},m(f,u){D(f,e,u),i&&i.m(e,null),h(e,l),a&&a.m(e,null),n=!0,r||(o=$e(e,"click",s[8]),r=!0)},p(f,[u]){f[3]?i?(i.p(f,u),u&8&&p(i,1)):(i=ft(f),i.c(),p(i,1),i.m(e,l)):i&&(Q(),w(i,1,1,()=>{i=null}),z()),a&&a.p&&(!n||u&64)&&Lt(a,c,f,f[6],n?Mt(c,f[6],u,null):Bt(f[6]),null),(!n||u&48&&t!==(t=nt(`pill ${f[5]} ${f[4]}`)+" svelte-czm4v2"))&&g(e,"class",t),(!n||u&1)&&(e.disabled=f[0]),(!n||u&52)&&j(e,"active",f[2])},i(f){n||(p(i),p(a,f),n=!0)},o(f){w(i),w(a,f),n=!1},d(f){f&&_(e),i&&i.d(),a&&a.d(f),r=!1,o()}}}function Yl(s,e,l){let{$$slots:t={},$$scope:n}=e,{disabled:r=!1}=e,{loading:o=!1}=e,{active:i=!1}=e,{icon:c=null}=e,{classes:a=e.class}=e,{color:f="gray"}=e;function u(d){el.call(this,s,d)}return s.$$set=d=>{l(9,e=we(we({},e),De(d))),"disabled"in d&&l(0,r=d.disabled),"loading"in d&&l(1,o=d.loading),"active"in d&&l(2,i=d.active),"icon"in d&&l(3,c=d.icon),"classes"in d&&l(4,a=d.classes),"color"in d&&l(5,f=d.color),"$$scope"in d&&l(6,n=d.$$scope)},e=De(e),[r,o,i,c,a,f,n,t,u]}class Zl extends _e{constructor(e){super(),me(this,e,Yl,Xl,he,{disabled:0,loading:1,active:2,icon:3,classes:4,color:5})}}function ct(s,e,l){const t=s.slice();t[5]=e[l][0],t[6]=e[l][1];const n=t[1]===t[5];return t[7]=n,t}function ut(s){let e,l,t=[],n=new Map,r,o=Object.entries(s[0]);const i=c=>c[5];for(let c=0;c{r=null}),z())},i(o){n||(p(r),n=!0)},o(o){w(r),n=!1},d(o){o&&_(l),r&&r.d(o),o&&_(t)}}}function xl(s){let e,l,t=s[2]>1&&ut(s);return{c(){t&&t.c(),e=le()},l(n){t&&t.l(n),e=le()},m(n,r){t&&t.m(n,r),D(n,e,r),l=!0},p(n,[r]){n[2]>1?t?(t.p(n,r),r&4&&p(t,1)):(t=ut(n),t.c(),p(t,1),t.m(e.parentNode,e)):t&&(Q(),w(t,1,1,()=>{t=null}),z())},i(n){l||(p(t),l=!0)},o(n){w(t),l=!1},d(n){t&&t.d(n),n&&_(e)}}}function en(s,e,l){let t,{attributeGrouping:n}=e,{activePill:r}=e;const o=Ut(),i=c=>o("pillChange",{key:c});return s.$$set=c=>{"attributeGrouping"in c&&l(0,n=c.attributeGrouping),"activePill"in c&&l(1,r=c.activePill)},s.$$.update=()=>{s.$$.dirty&1&&l(2,t=Object.values(n).reduce((c,a)=>(a.length&&(c+=1),c),0))},[n,r,t,o,i]}class xt extends _e{constructor(e){super(),me(this,e,en,xl,he,{attributeGrouping:0,activePill:1})}}function mt(s,e,l){const t=s.slice();return t[4]=e[l][0],t[5]=e[l][1],t}function ht(s,e){let l,t,n,r,o,i=e[4]+"",c,a,f,u,d=(Le(e[5])?"LocalActivity":e[5].eventType)+"",m,v,E,I,U,q;function Z(){return e[3](e[4])}return{key:s,first:null,c(){l=b("tr"),t=b("td"),n=y(),r=b("td"),o=b("p"),c=B(i),a=y(),f=b("td"),u=b("p"),m=B(d),v=y(),E=b("td"),I=y(),this.h()},l(T){l=k(T,"TR",{class:!0});var P=$(l);t=k(P,"TD",{class:!0}),$(t).forEach(_),n=A(P),r=k(P,"TD",{class:!0});var K=$(r);o=k(K,"P",{class:!0});var J=$(o);c=M(J,i),J.forEach(_),K.forEach(_),a=A(P),f=k(P,"TD",{});var X=$(f);u=k(X,"P",{class:!0});var x=$(u);m=M(x,d),x.forEach(_),X.forEach(_),v=A(P),E=k(P,"TD",{}),$(E).forEach(_),I=A(P),P.forEach(_),this.h()},h(){g(t,"class","w-1/12"),g(o,"class","truncate text-sm text-gray-500 md:text-base"),g(r,"class","w-24"),g(u,"class","event-type truncate text-sm md:text-base svelte-1joe2mb"),g(l,"class","row svelte-1joe2mb"),j(l,"active",e[4]===e[1]),j(l,"failure",Ue(e[5])),j(l,"canceled",We(e[5])),j(l,"terminated",qe(e[5])),this.first=l},m(T,P){D(T,l,P),h(l,t),h(l,n),h(l,r),h(r,o),h(o,c),h(l,a),h(l,f),h(f,u),h(u,m),h(l,v),h(l,E),h(l,I),U||(q=$e(l,"click",Wt(ll(Z))),U=!0)},p(T,P){e=T,P&1&&i!==(i=e[4]+"")&&W(c,i),P&1&&d!==(d=(Le(e[5])?"LocalActivity":e[5].eventType)+"")&&W(m,d),P&3&&j(l,"active",e[4]===e[1]),P&1&&j(l,"failure",Ue(e[5])),P&1&&j(l,"canceled",We(e[5])),P&1&&j(l,"terminated",qe(e[5]))},d(T){T&&_(l),U=!1,q()}}}function tn(s){let e=[],l=new Map,t,n=[...s[0].events].reverse();const r=o=>o[4];for(let o=0;or(i);return s.$$set=i=>{"eventGroup"in i&&l(0,t=i.eventGroup),"selectedId"in i&&l(1,n=i.selectedId),"onGroupClick"in i&&l(2,r=i.onGroupClick)},[t,n,r,o]}class rn extends _e{constructor(e){super(),me(this,e,nn,ln,he,{eventGroup:0,selectedId:1,onGroupClick:2})}}function vt(s,e,l){const t=s.slice();return t[10]=e[l][0],t[11]=e[l][1],t}function pt(s,e,l){const t=s.slice();return t[10]=e[l][0],t[11]=e[l][1],t}function sn(s){let e,l,t,n=[],r=new Map,o;l=new xt({props:{attributeGrouping:s[4],activePill:s[5]}}),l.$on("pillChange",s[7]);let i=s[6];const c=a=>a[10];for(let a=0;ad[10];for(let d=0;d{o=null}),z())},i(c){r||(p(o),r=!0)},o(c){w(o),r=!1},d(c){c&&_(l),o&&o.d(c),c&&_(n)}}}function kt(s){let e,l;return e=new Kt({props:{key:s[10],value:s[11],attributes:s[3],class:"w-full"}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},p(t,n){const r={};n&64&&(r.key=t[10]),n&64&&(r.value=t[11]),n&8&&(r.attributes=t[3]),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function $t(s,e){var i;let l,t=(i=e[4][e[5]])==null?void 0:i.includes(e[10]),n,r,o=t&&kt(e);return{key:s,first:null,c(){l=le(),o&&o.c(),n=le(),this.h()},l(c){l=le(),o&&o.l(c),n=le(),this.h()},h(){this.first=l},m(c,a){D(c,l,a),o&&o.m(c,a),D(c,n,a),r=!0},p(c,a){var f;e=c,a&112&&(t=(f=e[4][e[5]])==null?void 0:f.includes(e[10])),t?o?(o.p(e,a),a&112&&p(o,1)):(o=kt(e),o.c(),p(o,1),o.m(n.parentNode,n)):o&&(Q(),w(o,1,1,()=>{o=null}),z())},i(c){r||(p(o),r=!0)},o(c){w(o),r=!1},d(c){c&&_(l),o&&o.d(c),c&&_(n)}}}function on(s){let e,l,t,n,r;const o=[an,sn],i=[];function c(a,f){return f&6&&(e=null),e==null&&(e=!!(a[2]&&Fe(a[1]))),e?0:1}return l=c(s,-1),t=i[l]=o[l](s),{c(){t.c(),n=le()},l(a){t.l(a),n=le()},m(a,f){i[l].m(a,f),D(a,n,f),r=!0},p(a,[f]){let u=l;l=c(a,f),l===u?i[l].p(a,f):(Q(),w(i[u],1,1,()=>{i[u]=null}),z(),t=i[l],t?t.p(a,f):(t=i[l]=o[l](a),t.c()),p(t,1),t.m(n.parentNode,n))},i(a){r||(p(t),r=!0)},o(a){w(t),r=!1},d(a){i[l].d(a),a&&_(n)}}}function fn(s,e,l){let t,n,r,o,{event:i}=e,{currentEvent:c}=e,{compact:a=!1}=e,{selectedId:f}=e;const u=m=>{l(5,r=m.detail.key)},d=m=>l(0,f=m);return s.$$set=m=>{"event"in m&&l(1,i=m.event),"currentEvent"in m&&l(9,c=m.currentEvent),"compact"in m&&l(2,a=m.compact),"selectedId"in m&&l(0,f=m.selectedId)},s.$$.update=()=>{s.$$.dirty&516&&l(3,t=Jt(c,{compact:a})),s.$$.dirty&10&&l(4,n=ml(i,t)),s.$$.dirty&16&&l(5,r=Object.keys(n).find(m=>n[m].length)),s.$$.dirty&8&&l(6,o=Object.entries(t))},[f,i,a,t,n,r,o,u,d,c]}class cn extends _e{constructor(e){super(),me(this,e,fn,on,he,{event:1,currentEvent:9,compact:2,selectedId:0})}}function un(s){var t;let e=rt((t=s[0])==null?void 0:t.eventTime,s[12])+"",l;return{c(){l=B(e)},l(n){l=M(n,e)},m(n,r){D(n,l,r)},p(n,r){var o;r&4097&&e!==(e=rt((o=n[0])==null?void 0:o.eventTime,n[12])+"")&&W(l,e)},d(n){n&&_(l)}}}function dn(s){let e=He({start:s[1].eventTime,end:s[7].eventTime})+"",l,t,n;return{c(){l=B(e),t=y(),n=B(s[9])},l(r){l=M(r,e),t=A(r),n=M(r,s[9])},m(r,o){D(r,l,o),D(r,t,o),D(r,n,o)},p(r,o){o&130&&e!==(e=He({start:r[1].eventTime,end:r[7].eventTime})+"")&&W(l,e),o&512&&W(n,r[9])},d(r){r&&_(l),r&&_(t),r&&_(n)}}}function wt(s){let e,l;return e=new ve({props:{class:"mr-1.5 inline text-red-700",name:"clock"}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function Et(s){let e,l;return e=new ve({props:{class:"mr-1.5 inline text-yellow-700",name:"clock"}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function It(s){let e,l;return e=new ve({props:{class:"mr-1.5 inline text-pink-700",name:"clock"}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function Dt(s){let e,l;const t=[at(s[7]),{attributes:s[10]},{class:"invisible h-0 w-0 md:visible md:h-auto md:w-auto"},{inline:!0}];let n={};for(let r=0;ral(t,"selectedId",i)),{c(){e=b("tr"),l=b("td"),G(t.$$.fragment),this.h()},l(a){e=k(a,"TR",{class:!0});var f=$(e);l=k(f,"TD",{class:!0,colspan:!0});var u=$(l);O(t.$$.fragment,u),u.forEach(_),f.forEach(_),this.h()},h(){g(l,"class","expanded-cell svelte-aaifo7"),g(l,"colspan","6"),g(e,"class","svelte-aaifo7"),j(e,"typedError",s[4])},m(a,f){D(a,e,f),h(e,l),S(t,l,null),o=!0},p(a,f){const u={};f&1&&(u.event=a[0]),f&128&&(u.currentEvent=a[7]),f&4&&(u.compact=a[2]),!n&&f&64&&(n=!0,u.selectedId=a[6],il(()=>n=!1)),t.$set(u),(!o||f&16)&&j(e,"typedError",a[4])},i(a){o||(p(t.$$.fragment,a),a&&(r||ol(()=>{r=fl(e,cl,{}),r.start()})),o=!0)},o(a){w(t.$$.fragment,a),o=!1},d(a){a&&_(e),N(t)}}}function _n(s){let e,l,t,n,r,o,i=s[0].id+"",c,a,f,u,d,m,v,E,I,U,q,Z,T=(Le(s[0])?"LocalActivity":s[0].name)+"",P,K,J,X,x,fe,pe,F,oe,H,R,V,Y,ue,ie,Ie,ye;function ge(C,L){return C[11]?dn:un}let Ge=ge(s),de=Ge(s),re=s[2]&&s[14]&&wt(),se=s[2]&&s[15]&&Et(),ae=s[2]&&s[16]&&It(),ee=!s[8]&&Dt(s);F=new ve({props:{class:"inline",name:s[8]?"chevron-up":"chevron-down"}});let te=s[8]&&Tt(s);return{c(){e=b("tr"),l=b("td"),t=y(),n=b("td"),r=b("a"),o=b("p"),c=B(i),f=y(),u=b("td"),d=b("p"),de.c(),m=y(),v=b("td"),E=b("div"),re&&re.c(),I=y(),se&&se.c(),U=y(),ae&&ae.c(),q=y(),Z=b("p"),P=B(T),K=y(),J=b("td"),X=b("div"),x=b("div"),ee&&ee.c(),fe=y(),pe=b("div"),G(F.$$.fragment),oe=y(),H=b("td"),Y=y(),te&&te.c(),ue=le(),this.h()},l(C){e=k(C,"TR",{class:!0,id:!0,"aria-expanded":!0,"data-testid":!0});var L=$(e);l=k(L,"TD",{}),$(l).forEach(_),t=A(L),n=k(L,"TD",{class:!0});var Ae=$(n);r=k(Ae,"A",{class:!0,href:!0});var Je=$(r);o=k(Je,"P",{class:!0});var Xe=$(o);c=M(Xe,i),Xe.forEach(_),Je.forEach(_),Ae.forEach(_),f=A(L),u=k(L,"TD",{class:!0});var Ye=$(u);d=k(Ye,"P",{class:!0});var Ze=$(d);de.l(Ze),Ze.forEach(_),Ye.forEach(_),m=A(L),v=k(L,"TD",{class:!0});var Ke=$(v);E=k(Ke,"DIV",{class:!0});var be=$(E);re&&re.l(be),I=A(be),se&&se.l(be),U=A(be),ae&&ae.l(be),q=A(be),Z=k(be,"P",{class:!0});var xe=$(Z);P=M(xe,T),xe.forEach(_),be.forEach(_),Ke.forEach(_),K=A(L),J=k(L,"TD",{class:!0});var et=$(J);X=k(et,"DIV",{class:!0});var Oe=$(X);x=k(Oe,"DIV",{class:!0});var tt=$(x);ee&&ee.l(tt),tt.forEach(_),fe=A(Oe),pe=k(Oe,"DIV",{});var lt=$(pe);O(F.$$.fragment,lt),lt.forEach(_),Oe.forEach(_),et.forEach(_),oe=A(L),H=k(L,"TD",{}),$(H).forEach(_),L.forEach(_),Y=A(C),te&&te.l(C),ue=le(),this.h()},h(){g(o,"class","truncate"),g(r,"class","text-sm text-gray-500 md:text-base"),g(r,"href",a="#"+s[0].id),g(n,"class","w-24 text-left"),g(d,"class","break-word truncate text-sm md:whitespace-normal md:text-base"),g(u,"class","text-left"),g(Z,"class","event-name truncate text-sm font-semibold md:text-base svelte-aaifo7"),g(E,"class","flex"),g(v,"class","text-right text-sm font-normal xl:text-left"),g(x,"class","grow truncate"),g(X,"class","flex w-full items-center justify-between"),g(J,"class","overflow-hidden"),g(e,"class","row svelte-aaifo7"),g(e,"id",R=s[0].id),g(e,"aria-expanded",V=s[8]||s[3]),g(e,"data-testid","event-summary-row"),j(e,"expanded",s[8]&&!s[3]),j(e,"active",s[5]),j(e,"failure",s[14]),j(e,"canceled",s[15]),j(e,"terminated",s[16]),j(e,"typedError",s[4])},m(C,L){D(C,e,L),h(e,l),h(e,t),h(e,n),h(n,r),h(r,o),h(o,c),h(e,f),h(e,u),h(u,d),de.m(d,null),h(e,m),h(e,v),h(v,E),re&&re.m(E,null),h(E,I),se&&se.m(E,null),h(E,U),ae&&ae.m(E,null),h(E,q),h(E,Z),h(Z,P),h(e,K),h(e,J),h(J,X),h(X,x),ee&&ee.m(x,null),h(X,fe),h(X,pe),S(F,pe,null),h(e,oe),h(e,H),D(C,Y,L),te&&te.m(C,L),D(C,ue,L),ie=!0,Ie||(ye=$e(e,"click",Wt(s[13])),Ie=!0)},p(C,[L]){(!ie||L&1)&&i!==(i=C[0].id+"")&&W(c,i),(!ie||L&1&&a!==(a="#"+C[0].id))&&g(r,"href",a),Ge===(Ge=ge(C))&&de?de.p(C,L):(de.d(1),de=Ge(C),de&&(de.c(),de.m(d,null))),C[2]&&C[14]?re?L&4&&p(re,1):(re=wt(),re.c(),p(re,1),re.m(E,I)):re&&(Q(),w(re,1,1,()=>{re=null}),z()),C[2]&&C[15]?se?L&4&&p(se,1):(se=Et(),se.c(),p(se,1),se.m(E,U)):se&&(Q(),w(se,1,1,()=>{se=null}),z()),C[2]&&C[16]?ae?L&4&&p(ae,1):(ae=It(),ae.c(),p(ae,1),ae.m(E,q)):ae&&(Q(),w(ae,1,1,()=>{ae=null}),z()),(!ie||L&1)&&T!==(T=(Le(C[0])?"LocalActivity":C[0].name)+"")&&W(P,T),C[8]?ee&&(Q(),w(ee,1,1,()=>{ee=null}),z()):ee?(ee.p(C,L),L&256&&p(ee,1)):(ee=Dt(C),ee.c(),p(ee,1),ee.m(x,null));const Ae={};L&256&&(Ae.name=C[8]?"chevron-up":"chevron-down"),F.$set(Ae),(!ie||L&1&&R!==(R=C[0].id))&&g(e,"id",R),(!ie||L&264&&V!==(V=C[8]||C[3]))&&g(e,"aria-expanded",V),(!ie||L&264)&&j(e,"expanded",C[8]&&!C[3]),(!ie||L&32)&&j(e,"active",C[5]),(!ie||L&16)&&j(e,"typedError",C[4]),C[8]?te?(te.p(C,L),L&256&&p(te,1)):(te=Tt(C),te.c(),p(te,1),te.m(ue.parentNode,ue)):te&&(Q(),w(te,1,1,()=>{te=null}),z())},i(C){ie||(p(re),p(se),p(ae),p(ee),p(F.$$.fragment,C),p(te),ie=!0)},o(C){w(re),w(se),w(ae),w(ee),w(F.$$.fragment,C),w(te),ie=!1},d(C){C&&_(e),de.d(),re&&re.d(),se&&se.d(),ae&&ae.d(),ee&&ee.d(),N(F),C&&_(Y),te&&te.d(C),C&&_(ue),Ie=!1,ye()}}}function mn(s,e,l){let t,n,r,o,i,c,a,f,u,d;ce(s,Ne,F=>l(22,f=F)),ce(s,Me,F=>l(23,u=F)),ce(s,qt,F=>l(12,d=F));var m;let{event:v}=e,{visibleItems:E}=e,{initialItem:I}=e,{compact:U=!1}=e,{expandAll:q=!1}=e,{typedError:Z=!1}=e,{active:T=!1}=e,{onRowClick:P=Te}=e,K=Fe(v)?Array.from(v.events.keys()).pop():v.id;const J=()=>{l(8,t=!t),P()},X=Ue(v),x=We(v),fe=qe(v);function pe(F){K=F,l(6,K)}return s.$$set=F=>{"event"in F&&l(0,v=F.event),"visibleItems"in F&&l(17,E=F.visibleItems),"initialItem"in F&&l(1,I=F.initialItem),"compact"in F&&l(2,U=F.compact),"expandAll"in F&&l(3,q=F.expandAll),"typedError"in F&&l(4,Z=F.typedError),"active"in F&&l(5,T=F.active),"onRowClick"in F&&l(18,P=F.onRowClick)},s.$$.update=()=>{if(s.$$.dirty&40&&l(8,t=q||T),s.$$.dirty&65&&l(7,n=Fe(v)?v.events.get(K):v),s.$$.dirty&8388608&&l(20,r=u==="descending"),s.$$.dirty&4194304&&l(21,o=f==="true"),s.$$.dirty&2097155&&l(11,i=o&&I&&v.id!==I.id),s.$$.dirty&5&&l(10,c=Jt(v,{compact:U})),s.$$.dirty&1704065){const F=E.indexOf(v),oe=E[F-1];if(oe){const H=He({start:Fe(oe)?l(19,m=oe==null?void 0:oe.initialEvent)===null||m===void 0?void 0:m.eventTime:oe==null?void 0:oe.eventTime,end:n==null?void 0:n.eventTime});l(9,a=H?`(${r?"-":"+"}${H})`:"")}}},l(9,a=""),[v,I,U,q,Z,T,K,n,t,a,c,i,d,J,X,x,fe,E,P,m,r,o,f,u,pe]}class sr extends _e{constructor(e){super(),me(this,e,mn,_n,he,{event:0,visibleItems:17,initialItem:1,compact:2,expandAll:3,typedError:4,active:5,onRowClick:18})}}function Vt(s,e,l){const t=s.slice();return t[2]=e[l].label,t[11]=e[l].option,t}function Pt(s){let e,l;return e=new ve({props:{name:"checkmark"}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function Ct(s,e){let l,t,n,r,o=e[2]+"",i,c,a,f,u,d=e[1]===e[11]&&Pt();function m(){return e[8](e[11])}return{key:s,first:null,c(){l=b("div"),t=b("div"),d&&d.c(),n=y(),r=b("button"),i=B(o),c=y(),this.h()},l(v){l=k(v,"DIV",{class:!0});var E=$(l);t=k(E,"DIV",{class:!0});var I=$(t);d&&d.l(I),I.forEach(_),n=A(E),r=k(E,"BUTTON",{"data-testid":!0});var U=$(r);i=M(U,o),U.forEach(_),c=A(E),E.forEach(_),this.h()},h(){g(t,"class","check active svelte-1rp7hf"),g(r,"data-testid","event-category-option"),g(l,"class","option svelte-1rp7hf"),j(l,"active",e[1]===e[11]),this.first=l},m(v,E){D(v,l,E),h(l,t),d&&d.m(t,null),h(l,n),h(l,r),h(r,i),h(l,c),a=!0,f||(u=$e(r,"click",m),f=!0)},p(v,E){e=v,e[1]===e[11]?d?E&3&&p(d,1):(d=Pt(),d.c(),p(d,1),d.m(t,null)):d&&(Q(),w(d,1,1,()=>{d=null}),z()),(!a||E&1)&&o!==(o=e[2]+"")&&W(i,o),(!a||E&3)&&j(l,"active",e[1]===e[11])},i(v){a||(p(d),a=!0)},o(v){w(d),a=!1},d(v){v&&_(l),d&&d.d(),f=!1,u()}}}function hn(s){let e,l=[],t=new Map,n,r=s[0];const o=i=>i[11];for(let i=0;il(9,r=v)),ce(s,Be,v=>l(7,o=v)),ce(s,bl,v=>l(10,i=v));var c,a;let{compact:f=!1}=e,u=f?vl:pl;gl("1.21",i)&&(u=u.filter(({option:v})=>v!=="update"));const d=v=>{l(1,n=v)},m=v=>d(v);return s.$$set=v=>{"compact"in v&&l(4,f=v.compact)},s.$$.update=()=>{s.$$.dirty&16&&l(2,t=f?"Event Type":"Workflow Events"),s.$$.dirty&224&&l(1,n=l(6,a=l(5,c=o.url)===null||c===void 0?void 0:c.searchParams)===null||a===void 0?void 0:a.get(yt)),s.$$.dirty&131&&Zt({parameter:yt,value:n,url:o.url}).then(v=>{var E,I;const U=u.find(({option:q})=>q===v);l(1,n=(I=(E=U==null?void 0:U.option)===null||E===void 0?void 0:E.toString())!==null&&I!==void 0?I:null),Se(it,r=n,r)})},[u,n,t,d,f,c,a,o,m]}class bn extends _e{constructor(e){super(),me(this,e,gn,pn,he,{compact:4})}}const kn=({compact:s,timeFormat:e,sortOrder:l,showElapsed:t})=>{if(!((s||l==="descending")&&e==="UTC"&&t==="false"))return`${l}:${e}:${t}`};function At(s,e,l){const t=s.slice();return t[13]=e[l].label,t[14]=e[l].option,t}function Gt(s,e,l){const t=s.slice();return t[14]=e[l].option,t[13]=e[l].label,t}function Ot(s){let e,l;return e=new ve({props:{name:"checkmark"}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function St(s,e){let l,t,n,r,o=e[13]+"",i,c,a,f,u=e[1]===e[14]&&Ot();function d(){return e[10](e[14])}return{key:s,first:null,c(){l=b("div"),t=b("div"),u&&u.c(),n=y(),r=b("button"),i=B(o),this.h()},l(m){l=k(m,"DIV",{class:!0});var v=$(l);t=k(v,"DIV",{class:!0});var E=$(t);u&&u.l(E),E.forEach(_),n=A(v),r=k(v,"BUTTON",{});var I=$(r);i=M(I,o),I.forEach(_),v.forEach(_),this.h()},h(){g(t,"class","check active svelte-1rp7hf"),g(l,"class","option svelte-1rp7hf"),j(l,"active",e[1]===e[14]),this.first=l},m(m,v){D(m,l,v),h(l,t),u&&u.m(t,null),h(l,n),h(l,r),h(r,i),c=!0,a||(f=$e(r,"click",d),a=!0)},p(m,v){e=m,e[1]===e[14]?u?v&2&&p(u,1):(u=Ot(),u.c(),p(u,1),u.m(t,null)):u&&(Q(),w(u,1,1,()=>{u=null}),z()),(!c||v&18)&&j(l,"active",e[1]===e[14])},i(m){c||(p(u),c=!0)},o(m){w(u),c=!1},d(m){m&&_(l),u&&u.d(),a=!1,f()}}}function Nt(s){let e,l;return e=new ve({props:{name:"checkmark"}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function Ft(s,e){let l,t,n,r,o=e[13]+"",i,c,a,f,u=e[2]===e[14]&&Nt();function d(){return e[11](e[14])}return{key:s,first:null,c(){l=b("div"),t=b("div"),u&&u.c(),n=y(),r=b("button"),i=B(o),this.h()},l(m){l=k(m,"DIV",{class:!0});var v=$(l);t=k(v,"DIV",{class:!0});var E=$(t);u&&u.l(E),E.forEach(_),n=A(v),r=k(v,"BUTTON",{"data-testid":!0});var I=$(r);i=M(I,o),I.forEach(_),v.forEach(_),this.h()},h(){g(t,"class","check active svelte-1rp7hf"),g(r,"data-testid","event-date-filter-"+e[14]),g(l,"class","option svelte-1rp7hf"),j(l,"active",e[2]===e[14]),this.first=l},m(m,v){D(m,l,v),h(l,t),u&&u.m(t,null),h(l,n),h(l,r),h(r,i),c=!0,a||(f=$e(r,"click",d),a=!0)},p(m,v){e=m,e[2]===e[14]?u?v&4&&p(u,1):(u=Nt(),u.c(),p(u,1),u.m(t,null)):u&&(Q(),w(u,1,1,()=>{u=null}),z()),(!c||v&36)&&j(l,"active",e[2]===e[14])},i(m){c||(p(u),c=!0)},o(m){w(u),c=!1},d(m){m&&_(l),u&&u.d(),a=!1,f()}}}function Rt(s){let e,l;return e=new ve({props:{name:"checkmark"}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function $n(s){let e,l=[],t=new Map,n,r,o,i,c,a,f=[],u=new Map,d,m,v,E,I,U,q,Z,T,P,K,J,X,x,fe=s[4];const pe=R=>R[14];for(let R=0;RR[14];for(let R=0;R{H=null}),z()),(!J||V&1)&&j(q,"active",R[0]==="true")},i(R){if(!J){for(let V=0;Vl(0,n=I)),ce(s,Me,I=>l(1,r=I)),ce(s,qt,I=>l(2,o=I)),ce(s,Be,I=>l(12,i=I));let{compact:c}=e,a=[{label:"Sort 1-9",option:"ascending"},{label:"Sort 9-1",option:"descending"}],f=[{label:"Relative",option:"relative"},{label:"UTC",option:"UTC"},{label:"Local",option:"local"}];const u=I=>{Se(Me,r=I,r),Zt({parameter:"sort",value:I,url:i.url})},d=I=>{dl(I)},m=()=>{n==="true"?Se(Ne,n="false",n):Se(Ne,n="true",n)},v=I=>u(I),E=I=>d(I);return s.$$set=I=>{"compact"in I&&l(9,c=I.compact)},s.$$.update=()=>{s.$$.dirty&519&&l(3,t=kn({compact:c,timeFormat:o,sortOrder:r,showElapsed:n}))},[n,r,o,t,a,f,u,d,m,c,v,E]}class Dn extends _e{constructor(e){super(),me(this,e,In,En,he,{compact:9})}}function Tn(s){let e;const l=s[4].default,t=jt(l,s,s[5],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,r){t&&t.m(n,r),e=!0},p(n,r){t&&t.p&&(!e||r&32)&&Lt(t,l,n,n[5],e?Mt(l,n[5],r,null):Bt(n[5]),null)},i(n){e||(p(t,n),e=!0)},o(n){w(t,n),e=!1},d(n){t&&t.d(n)}}}function Vn(s){let e,l,t,n,r,o,i,c,a,f,u,d,m=s[2]?"Collapse all":"Expand All",v,E,I,U,q,Z;return n=new Dn({props:{compact:s[0]}}),i=new bn({props:{compact:s[0]}}),I=new ve({props:{name:s[2]?"chevron-up":"chevron-down"}}),{c(){e=b("th"),l=y(),t=b("th"),G(n.$$.fragment),r=y(),o=b("th"),G(i.$$.fragment),c=y(),a=b("th"),f=b("div"),u=b("button"),d=b("span"),v=B(m),E=y(),G(I.$$.fragment),this.h()},l(T){e=k(T,"TH",{class:!0}),$(e).forEach(_),l=A(T),t=k(T,"TH",{class:!0});var P=$(t);O(n.$$.fragment,P),P.forEach(_),r=A(T),o=k(T,"TH",{class:!0});var K=$(o);O(i.$$.fragment,K),K.forEach(_),c=A(T),a=k(T,"TH",{class:!0});var J=$(a);f=k(J,"DIV",{class:!0});var X=$(f);u=k(X,"BUTTON",{class:!0});var x=$(u);d=k(x,"SPAN",{class:!0});var fe=$(d);v=M(fe,m),fe.forEach(_),E=A(x),O(I.$$.fragment,x),x.forEach(_),X.forEach(_),J.forEach(_),this.h()},h(){g(e,"class","w-14 xl:w-10"),g(t,"class","w-16 md:w-32"),g(o,"class","w-44"),g(d,"class","hidden sm:block"),g(u,"class","relative flex w-28 items-center justify-end rounded sm:justify-between"),g(f,"class","flex w-full justify-end"),g(a,"class","w-auto xl:w-80")},m(T,P){D(T,e,P),D(T,l,P),D(T,t,P),S(n,t,null),D(T,r,P),D(T,o,P),S(i,o,null),D(T,c,P),D(T,a,P),h(a,f),h(f,u),h(u,d),h(d,v),h(u,E),S(I,u,null),U=!0,q||(Z=$e(u,"click",s[3]),q=!0)},p(T,P){const K={};P&1&&(K.compact=T[0]),n.$set(K);const J={};P&1&&(J.compact=T[0]),i.$set(J),(!U||P&4)&&m!==(m=T[2]?"Collapse all":"Expand All")&&W(v,m);const X={};P&4&&(X.name=T[2]?"chevron-up":"chevron-down"),I.$set(X)},i(T){U||(p(n.$$.fragment,T),p(i.$$.fragment,T),p(I.$$.fragment,T),U=!0)},o(T){w(n.$$.fragment,T),w(i.$$.fragment,T),w(I.$$.fragment,T),U=!1},d(T){T&&_(e),T&&_(l),T&&_(t),N(n),T&&_(r),T&&_(o),N(i),T&&_(c),T&&_(a),N(I),q=!1,Z()}}}function Pn(s){let e,l;return e=new hl({props:{slot:"headers",$$slots:{default:[Vn]},$$scope:{ctx:s}}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},p(t,n){const r={};n&37&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function Cn(s){let e,l;return e=new Xt({props:{updating:s[1],class:"dark w-full table-fixed",$$slots:{headers:[Pn],default:[Tn]},$$scope:{ctx:s}}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},p(t,[n]){const r={};n&2&&(r.updating=t[1]),n&37&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function yn(s,e,l){let t;ce(s,ul,u=>l(6,t=u));let{$$slots:n={},$$scope:r}=e,{compact:o=!1}=e,{updating:i=!1}=e,c=t==="true";const a=Ut();function f(){l(2,c=!c),a("expandAll",{expanded:c?"true":"false"})}return s.$$set=u=>{"compact"in u&&l(0,o=u.compact),"updating"in u&&l(1,i=u.updating),"$$scope"in u&&l(5,r=u.$$scope)},[o,i,c,f,n,r]}class ar extends _e{constructor(e){super(),me(this,e,yn,Cn,he,{compact:0,updating:1})}}function An(s){let e,l;return e=new kl({props:{title:"No Events Match",content:"There are no events that match your filters or selected view. Adjust your filters or view to see your events."}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function Gn(s){let e,l;return e=new $l({}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function On(s){let e,l,t,n,r;const o=[Gn,An],i=[];function c(a,f){return a[0]?0:1}return t=c(s),n=i[t]=o[t](s),{c(){e=b("tr"),l=b("td"),n.c(),this.h()},l(a){e=k(a,"TR",{class:!0});var f=$(e);l=k(f,"TD",{colspan:!0});var u=$(l);n.l(u),u.forEach(_),f.forEach(_),this.h()},h(){g(l,"colspan","6"),g(e,"class","row svelte-kwty14")},m(a,f){D(a,e,f),h(e,l),i[t].m(l,null),r=!0},p(a,[f]){let u=t;t=c(a),t!==u&&(Q(),w(i[u],1,1,()=>{i[u]=null}),z(),n=i[t],n||(n=i[t]=o[t](a),n.c()),p(n,1),n.m(l,null))},i(a){r||(p(n),r=!0)},o(a){w(n),r=!1},d(a){a&&_(e),i[t].d()}}}function Sn(s,e,l){let{loading:t=!1}=e;return s.$$set=n=>{"loading"in n&&l(0,t=n.loading)},[t]}class ir extends _e{constructor(e){super(),me(this,e,Sn,On,he,{loading:0})}}export{ar as E,ir as a,sr as b}; +import{S as _e,b as me,a as he,m as b,p as k,q as $,k as _,u as g,f as D,z as Q,g as w,h as z,j as p,L as ce,O as we,P as De,w as B,c as y,x as M,d as A,T as j,M as h,y as W,n as Te,C as G,D as O,E as S,F as N,G as jt,X as nt,U as $e,H as Lt,I as Bt,J as Mt,Q as el,e as le,N as Ut,a1 as Ee,a2 as Ve,al as tl,W as Wt,ac as ll,V as nl,a6 as rl,A as sl,Y as al,Z as il,$ as ol,aa as fl,_ as Se}from"./index.d29c66be.js";import{C as Pe,a as cl}from"./tooltip.ca813c82.js";import{I as ve}from"./icon.5aa23970.js";import{c as Ne,e as Me,b as ul}from"./event-view.73e1a728.js";import{t as qt,s as dl}from"./time-format.6ef667eb.js";import{e as Ue,a as We,b as qe,i as Fe}from"./index.e1962a6e.js";import{f as rt}from"./format-date.100c5f23.js";import{o as He}from"./format-time.66fea38b.js";import{s as Ht,a as Qt,b as zt,c as Re,g as Qe,d as _l,e as st,f as Jt,h as ml,i as at}from"./format-event-attributes.f0307b43.js";import{p as Be}from"./stores.8c019868.js";import{f as ne}from"./format-camel-case.960a78f9.js";import{m as je,f as ke}from"./route-for.3e9c6ff4.js";import{C as ze}from"./code-block.fc92cd67.js";import{L as Ce}from"./link.d5f6f19e.js";import{B as Le}from"./is-event-type.0064ca29.js";import{T as Xt,a as hl}from"./table-header-row.a7bab5a4.js";import{D as Yt}from"./dropdown-menu.abe6e484.js";import{c as vl,a as pl}from"./get-event-categorization.b6da7e5f.js";import{u as Zt}from"./pagination.a8beaf3b.js";import{i as gl}from"./version-check.d006b302.js";import{e as it}from"./filters.9cc46c9a.js";import{t as bl}from"./versions.dfa21225.js";import{E as kl}from"./empty-state.bf113865.js";import{L as $l}from"./loading.9b5a6a67.js";function wl(s){let e,l,t=ne(s[0])+"",n,r,o,i,c;return{c(){e=b("div"),l=b("p"),n=B(t),r=y(),o=b("p"),i=b("span"),c=B(s[1]),this.h()},l(a){e=k(a,"DIV",{class:!0});var f=$(e);l=k(f,"P",{class:!0});var u=$(l);n=M(u,t),u.forEach(_),r=A(f),o=k(f,"P",{class:!0});var d=$(o);i=k(d,"SPAN",{class:!0});var m=$(i);c=M(m,s[1]),m.forEach(_),d.forEach(_),f.forEach(_),this.h()},h(){g(l,"class","mr-3 truncate text-sm"),g(i,"class","w-full select-all text-gray-700 svelte-n4ehvt"),j(i,"badge",!Re(s[0])),g(o,"class","truncate text-right text-sm xl:text-left"),g(e,"class","flex w-full flex-wrap items-center gap-1 pr-1")},m(a,f){D(a,e,f),h(e,l),h(l,n),h(e,r),h(e,o),h(o,i),h(i,c)},p(a,f){f&1&&t!==(t=ne(a[0])+"")&&W(n,t),f&2&&W(c,a[1]),f&1&&j(i,"badge",!Re(a[0]))},i:Te,o:Te,d(a){a&&_(e)}}}function El(s){let e,l,t=ne(s[0])+"",n,r,o,i,c;return i=new Pe({props:{content:s[1],"container-class":"",$$slots:{default:[Pl]},$$scope:{ctx:s}}}),{c(){e=b("div"),l=b("p"),n=B(t),r=y(),o=b("div"),G(i.$$.fragment),this.h()},l(a){e=k(a,"DIV",{class:!0});var f=$(e);l=k(f,"P",{class:!0});var u=$(l);n=M(u,t),u.forEach(_),r=A(f),o=k(f,"DIV",{class:!0});var d=$(o);O(i.$$.fragment,d),d.forEach(_),f.forEach(_),this.h()},h(){g(l,"class","mr-3 truncate text-sm"),g(o,"class","truncate text-sm "),g(e,"class","flex w-full flex-wrap items-center gap-1 pr-1")},m(a,f){D(a,e,f),h(e,l),h(l,n),h(e,r),h(e,o),S(i,o,null),c=!0},p(a,f){(!c||f&1)&&t!==(t=ne(a[0])+"")&&W(n,t);const u={};f&2&&(u.content=a[1]),f&258&&(u.$$scope={dirty:f,ctx:a}),i.$set(u)},i(a){c||(p(i.$$.fragment,a),c=!0)},o(a){w(i.$$.fragment,a),c=!1},d(a){a&&_(e),N(i)}}}function Il(s){let e,l,t=ne(s[0])+"",n,r,o,i,c;return i=new Pe({props:{content:s[1],"container-class":"xl:flex-row",$$slots:{default:[yl]},$$scope:{ctx:s}}}),{c(){e=b("div"),l=b("p"),n=B(t),r=y(),o=b("div"),G(i.$$.fragment),this.h()},l(a){e=k(a,"DIV",{class:!0});var f=$(e);l=k(f,"P",{class:!0});var u=$(l);n=M(u,t),u.forEach(_),r=A(f),o=k(f,"DIV",{class:!0});var d=$(o);O(i.$$.fragment,d),d.forEach(_),f.forEach(_),this.h()},h(){g(l,"class","truncate text-sm"),g(o,"class","truncate text-sm"),g(e,"class","flex w-full flex-wrap items-center gap-1 pr-1")},m(a,f){D(a,e,f),h(e,l),h(l,n),h(e,r),h(e,o),S(i,o,null),c=!0},p(a,f){(!c||f&1)&&t!==(t=ne(a[0])+"")&&W(n,t);const u={};f&2&&(u.content=a[1]),f&262&&(u.$$scope={dirty:f,ctx:a}),i.$set(u)},i(a){c||(p(i.$$.fragment,a),c=!0)},o(a){w(i.$$.fragment,a),c=!1},d(a){a&&_(e),N(i)}}}function Dl(s){let e,l,t=ne(s[0])+"",n,r,o,i,c;return i=new Pe({props:{content:s[1],"container-class":" xl:flex-row",$$slots:{default:[Gl]},$$scope:{ctx:s}}}),{c(){e=b("div"),l=b("p"),n=B(t),r=y(),o=b("div"),G(i.$$.fragment),this.h()},l(a){e=k(a,"DIV",{class:!0});var f=$(e);l=k(f,"P",{class:!0});var u=$(l);n=M(u,t),u.forEach(_),r=A(f),o=k(f,"DIV",{class:!0});var d=$(o);O(i.$$.fragment,d),d.forEach(_),f.forEach(_),this.h()},h(){g(l,"class","mr-3 truncate text-sm"),g(o,"class","truncate text-sm"),g(e,"class","flex w-full flex-wrap items-center gap-1 pr-1")},m(a,f){D(a,e,f),h(e,l),h(l,n),h(e,r),h(e,o),S(i,o,null),c=!0},p(a,f){(!c||f&1)&&t!==(t=ne(a[0])+"")&&W(n,t);const u={};f&2&&(u.content=a[1]),f&258&&(u.$$scope={dirty:f,ctx:a}),i.$set(u)},i(a){c||(p(i.$$.fragment,a),c=!0)},o(a){w(i.$$.fragment,a),c=!1},d(a){a&&_(e),N(i)}}}function Tl(s){let e,l,t=ne(s[0])+"",n,r,o,i;return o=new ze({props:{content:Qe(s[1]),inline:s[3]}}),{c(){e=b("div"),l=b("p"),n=B(t),r=y(),G(o.$$.fragment),this.h()},l(c){e=k(c,"DIV",{class:!0});var a=$(e);l=k(a,"P",{class:!0});var f=$(l);n=M(f,t),f.forEach(_),r=A(a),O(o.$$.fragment,a),a.forEach(_),this.h()},h(){g(l,"class","min-w-fit text-sm"),g(e,"class","flex w-full flex-wrap items-center pr-1 xl:flex-nowrap xl:gap-4")},m(c,a){D(c,e,a),h(e,l),h(l,n),h(e,r),S(o,e,null),i=!0},p(c,a){(!i||a&1)&&t!==(t=ne(c[0])+"")&&W(n,t);const f={};a&2&&(f.content=Qe(c[1])),a&8&&(f.inline=c[3]),o.$set(f)},i(c){i||(p(o.$$.fragment,c),i=!0)},o(c){w(o.$$.fragment,c),i=!1},d(c){c&&_(e),N(o)}}}function Vl(s){let e;return{c(){e=B(s[1])},l(l){e=M(l,s[1])},m(l,t){D(l,e,t)},p(l,t){t&2&&W(e,l[1])},d(l){l&&_(e)}}}function Pl(s){let e,l;return e=new Ce({props:{class:"truncate",newTab:!0,href:je({namespace:s[5],queue:s[1]}),$$slots:{default:[Vl]},$$scope:{ctx:s}}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},p(t,n){const r={};n&2&&(r.href=je({namespace:t[5],queue:t[1]})),n&258&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function Cl(s){let e;return{c(){e=B(s[1])},l(l){e=M(l,s[1])},m(l,t){D(l,e,t)},p(l,t){t&2&&W(e,l[1])},d(l){l&&_(e)}}}function yl(s){let e,l;return e=new Ce({props:{class:"truncate",newTab:!0,href:ke({namespace:s[5],workflow:s[2].workflowExecutionWorkflowId,run:s[2].workflowExecutionRunId}),$$slots:{default:[Cl]},$$scope:{ctx:s}}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},p(t,n){const r={};n&4&&(r.href=ke({namespace:t[5],workflow:t[2].workflowExecutionWorkflowId,run:t[2].workflowExecutionRunId})),n&258&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function Al(s){let e;return{c(){e=B(s[1])},l(l){e=M(l,s[1])},m(l,t){D(l,e,t)},p(l,t){t&2&&W(e,l[1])},d(l){l&&_(e)}}}function Gl(s){let e,l;return e=new Ce({props:{class:"truncate",newTab:!0,href:ke({namespace:s[5],workflow:s[4],run:s[1]}),$$slots:{default:[Al]},$$scope:{ctx:s}}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},p(t,n){const r={};n&2&&(r.href=ke({namespace:t[5],workflow:t[4],run:t[1]})),n&258&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function Ol(s){let e,l,t,n,r,o,i,c;const a=[Tl,Dl,Il,El,wl],f=[];function u(d,m){return m&1&&(l=null),m&5&&(t=null),m&1&&(n=null),typeof d[1]=="object"?0:(l==null&&(l=!!Ht(d[0])),l?1:(t==null&&(t=!!Qt(d[0],d[2])),t?2:(n==null&&(n=!!zt(d[0])),n?3:4)))}return r=u(s,-1),o=f[r]=a[r](s),{c(){e=b("div"),o.c(),this.h()},l(d){e=k(d,"DIV",{class:!0});var m=$(e);o.l(m),m.forEach(_),this.h()},h(){g(e,"class",i="flex flex-row items-center gap-2 first:pt-0 last:border-b-0 xl:gap-4 "+s[6].class+" svelte-n4ehvt")},m(d,m){D(d,e,m),f[r].m(e,null),c=!0},p(d,[m]){let v=r;r=u(d,m),r===v?f[r].p(d,m):(Q(),w(f[v],1,1,()=>{f[v]=null}),z(),o=f[r],o?o.p(d,m):(o=f[r]=a[r](d),o.c()),p(o,1),o.m(e,null)),(!c||m&64&&i!==(i="flex flex-row items-center gap-2 first:pt-0 last:border-b-0 xl:gap-4 "+d[6].class+" svelte-n4ehvt"))&&g(e,"class",i)},i(d){c||(p(o),c=!0)},o(d){w(o),c=!1},d(d){d&&_(e),f[r].d()}}}function Sl(s,e,l){let t;ce(s,Be,f=>l(7,t=f));let{key:n}=e,{value:r}=e,{attributes:o}=e,{inline:i=!1}=e;const{workflow:c,namespace:a}=t.params;return s.$$set=f=>{l(6,e=we(we({},e),De(f))),"key"in f&&l(0,n=f.key),"value"in f&&l(1,r=f.value),"attributes"in f&&l(2,o=f.attributes),"inline"in f&&l(3,i=f.inline)},e=De(e),[n,r,o,i,c,a,e]}class Nl extends _e{constructor(e){super(),me(this,e,Sl,Ol,he,{key:0,value:1,attributes:2,inline:3})}}function Fl(s){let e,l,t=ne(s[0])+"",n,r,o,i,c;return{c(){e=b("div"),l=b("p"),n=B(t),r=y(),o=b("p"),i=b("span"),c=B(s[1]),this.h()},l(a){e=k(a,"DIV",{class:!0});var f=$(e);l=k(f,"P",{class:!0});var u=$(l);n=M(u,t),u.forEach(_),r=A(f),o=k(f,"P",{class:!0});var d=$(o);i=k(d,"SPAN",{class:!0});var m=$(i);c=M(m,s[1]),m.forEach(_),d.forEach(_),f.forEach(_),this.h()},h(){g(l,"class","text-sm"),g(i,"class","select-all px-2 svelte-cl0oev"),j(i,"badge",!Re(s[0])),g(o,"class","text-sm"),g(e,"class","content detail-row svelte-cl0oev")},m(a,f){D(a,e,f),h(e,l),h(l,n),h(e,r),h(e,o),h(o,i),h(i,c)},p(a,f){f&1&&t!==(t=ne(a[0])+"")&&W(n,t),f&2&&W(c,a[1]),f&1&&j(i,"badge",!Re(a[0]))},i:Te,o:Te,d(a){a&&_(e)}}}function Rl(s){let e,l,t=ne(s[0])+"",n,r,o,i,c;return i=new Pe({props:{content:s[1],"container-class":"xl:flex-row",$$slots:{default:[Ul]},$$scope:{ctx:s}}}),{c(){e=b("div"),l=b("p"),n=B(t),r=y(),o=b("div"),G(i.$$.fragment),this.h()},l(a){e=k(a,"DIV",{class:!0});var f=$(e);l=k(f,"P",{class:!0});var u=$(l);n=M(u,t),u.forEach(_),r=A(f),o=k(f,"DIV",{class:!0});var d=$(o);O(i.$$.fragment,d),d.forEach(_),f.forEach(_),this.h()},h(){g(l,"class","text-sm"),g(o,"class","text-sm"),g(e,"class","content detail-row svelte-cl0oev")},m(a,f){D(a,e,f),h(e,l),h(l,n),h(e,r),h(e,o),S(i,o,null),c=!0},p(a,f){(!c||f&1)&&t!==(t=ne(a[0])+"")&&W(n,t);const u={};f&2&&(u.content=a[1]),f&1026&&(u.$$scope={dirty:f,ctx:a}),i.$set(u)},i(a){c||(p(i.$$.fragment,a),c=!0)},o(a){w(i.$$.fragment,a),c=!1},d(a){a&&_(e),N(i)}}}function jl(s){let e,l,t=ne(s[0])+"",n,r,o,i,c;return i=new Pe({props:{content:s[1],"container-class":"xl:flex-row",$$slots:{default:[ql]},$$scope:{ctx:s}}}),{c(){e=b("div"),l=b("p"),n=B(t),r=y(),o=b("div"),G(i.$$.fragment),this.h()},l(a){e=k(a,"DIV",{class:!0});var f=$(e);l=k(f,"P",{class:!0});var u=$(l);n=M(u,t),u.forEach(_),r=A(f),o=k(f,"DIV",{class:!0});var d=$(o);O(i.$$.fragment,d),d.forEach(_),f.forEach(_),this.h()},h(){g(l,"class","text-sm"),g(o,"class","text-sm"),g(e,"class","content detail-row svelte-cl0oev")},m(a,f){D(a,e,f),h(e,l),h(l,n),h(e,r),h(e,o),S(i,o,null),c=!0},p(a,f){(!c||f&1)&&t!==(t=ne(a[0])+"")&&W(n,t);const u={};f&2&&(u.content=a[1]),f&1030&&(u.$$scope={dirty:f,ctx:a}),i.$set(u)},i(a){c||(p(i.$$.fragment,a),c=!0)},o(a){w(i.$$.fragment,a),c=!1},d(a){a&&_(e),N(i)}}}function Ll(s){let e,l,t=ne(s[0])+"",n,r,o,i,c;return i=new Pe({props:{content:s[1],"container-class":"flex-row-reverse xl:flex-row",$$slots:{default:[Ql]},$$scope:{ctx:s}}}),{c(){e=b("div"),l=b("p"),n=B(t),r=y(),o=b("div"),G(i.$$.fragment),this.h()},l(a){e=k(a,"DIV",{class:!0});var f=$(e);l=k(f,"P",{class:!0});var u=$(l);n=M(u,t),u.forEach(_),r=A(f),o=k(f,"DIV",{class:!0});var d=$(o);O(i.$$.fragment,d),d.forEach(_),f.forEach(_),this.h()},h(){g(l,"class","text-sm"),g(o,"class","text-sm"),g(e,"class","content detail-row svelte-cl0oev")},m(a,f){D(a,e,f),h(e,l),h(l,n),h(e,r),h(e,o),S(i,o,null),c=!0},p(a,f){(!c||f&1)&&t!==(t=ne(a[0])+"")&&W(n,t);const u={};f&2&&(u.content=a[1]),f&1026&&(u.$$scope={dirty:f,ctx:a}),i.$set(u)},i(a){c||(p(i.$$.fragment,a),c=!0)},o(a){w(i.$$.fragment,a),c=!1},d(a){a&&_(e),N(i)}}}function Bl(s){let e,l,t,n=ne(s[0])+"",r,o,i,c,a,f;i=new ze({props:{content:s[4],class:"h-auto "+(s[5]?"mb-2":"")+" max-h-96 overflow-auto",inline:s[3]}});let u=s[5]&&!s[3]&&ot(s);return{c(){e=b("div"),l=b("div"),t=b("p"),r=B(n),o=y(),G(i.$$.fragment),a=y(),u&&u.c(),this.h()},l(d){e=k(d,"DIV",{class:!0});var m=$(e);l=k(m,"DIV",{class:!0});var v=$(l);t=k(v,"P",{class:!0});var E=$(t);r=M(E,n),E.forEach(_),o=A(v),O(i.$$.fragment,v),v.forEach(_),a=A(m),u&&u.l(m),m.forEach(_),this.h()},h(){g(t,"class","text-sm"),g(l,"class",c="flex flex-col "+(s[5]?"lg:w-1/2":"")),g(e,"class","content code-block-row svelte-cl0oev"),j(e,"code-with-stack-trace",s[5])},m(d,m){D(d,e,m),h(e,l),h(l,t),h(t,r),h(l,o),S(i,l,null),h(e,a),u&&u.m(e,null),f=!0},p(d,m){(!f||m&1)&&n!==(n=ne(d[0])+"")&&W(r,n);const v={};m&16&&(v.content=d[4]),m&32&&(v.class="h-auto "+(d[5]?"mb-2":"")+" max-h-96 overflow-auto"),m&8&&(v.inline=d[3]),i.$set(v),(!f||m&32&&c!==(c="flex flex-col "+(d[5]?"lg:w-1/2":"")))&&g(l,"class",c),d[5]&&!d[3]?u?(u.p(d,m),m&40&&p(u,1)):(u=ot(d),u.c(),p(u,1),u.m(e,null)):u&&(Q(),w(u,1,1,()=>{u=null}),z()),(!f||m&32)&&j(e,"code-with-stack-trace",d[5])},i(d){f||(p(i.$$.fragment,d),p(u),f=!0)},o(d){w(i.$$.fragment,d),w(u),f=!1},d(d){d&&_(e),N(i),u&&u.d()}}}function Ml(s){let e;return{c(){e=B(s[1])},l(l){e=M(l,s[1])},m(l,t){D(l,e,t)},p(l,t){t&2&&W(e,l[1])},d(l){l&&_(e)}}}function Ul(s){let e,l;return e=new Ce({props:{newTab:!0,href:je({namespace:s[7],queue:s[1]}),$$slots:{default:[Ml]},$$scope:{ctx:s}}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},p(t,n){const r={};n&2&&(r.href=je({namespace:t[7],queue:t[1]})),n&1026&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function Wl(s){let e;return{c(){e=B(s[1])},l(l){e=M(l,s[1])},m(l,t){D(l,e,t)},p(l,t){t&2&&W(e,l[1])},d(l){l&&_(e)}}}function ql(s){var t;let e,l;return e=new Ce({props:{newTab:!0,href:ke({namespace:((t=s[2])==null?void 0:t.namespace)||s[7],workflow:s[2].workflowExecutionWorkflowId,run:s[2].workflowExecutionRunId}),$$slots:{default:[Wl]},$$scope:{ctx:s}}}),{c(){G(e.$$.fragment)},l(n){O(e.$$.fragment,n)},m(n,r){S(e,n,r),l=!0},p(n,r){var i;const o={};r&4&&(o.href=ke({namespace:((i=n[2])==null?void 0:i.namespace)||n[7],workflow:n[2].workflowExecutionWorkflowId,run:n[2].workflowExecutionRunId})),r&1026&&(o.$$scope={dirty:r,ctx:n}),e.$set(o)},i(n){l||(p(e.$$.fragment,n),l=!0)},o(n){w(e.$$.fragment,n),l=!1},d(n){N(e,n)}}}function Hl(s){let e;return{c(){e=B(s[1])},l(l){e=M(l,s[1])},m(l,t){D(l,e,t)},p(l,t){t&2&&W(e,l[1])},d(l){l&&_(e)}}}function Ql(s){let e,l;return e=new Ce({props:{newTab:!0,href:ke({namespace:s[7],workflow:s[6],run:s[1]}),$$slots:{default:[Hl]},$$scope:{ctx:s}}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},p(t,n){const r={};n&2&&(r.href=ke({namespace:t[7],workflow:t[6],run:t[1]})),n&1026&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function ot(s){let e,l,t,n,r,o;return r=new ze({props:{content:s[5],class:"mb-2 h-full lg:pr-2",language:"text"}}),{c(){e=b("div"),l=b("p"),t=B("Stack trace"),n=y(),G(r.$$.fragment),this.h()},l(i){e=k(i,"DIV",{class:!0});var c=$(e);l=k(c,"P",{class:!0});var a=$(l);t=M(a,"Stack trace"),a.forEach(_),n=A(c),O(r.$$.fragment,c),c.forEach(_),this.h()},h(){g(l,"class","text-sm"),g(e,"class","flex flex-col lg:w-1/2")},m(i,c){D(i,e,c),h(e,l),h(l,t),h(e,n),S(r,e,null),o=!0},p(i,c){const a={};c&32&&(a.content=i[5]),r.$set(a)},i(i){o||(p(r.$$.fragment,i),o=!0)},o(i){w(r.$$.fragment,i),o=!1},d(i){i&&_(e),N(r)}}}function zl(s){let e,l,t,n,r,o,i,c;const a=[Bl,Ll,jl,Rl,Fl],f=[];function u(d,m){return m&1&&(l=null),m&5&&(t=null),m&1&&(n=null),typeof d[1]=="object"?0:(l==null&&(l=!!Ht(d[0])),l?1:(t==null&&(t=!!Qt(d[0],d[2])),t?2:(n==null&&(n=!!zt(d[0])),n?3:4)))}return r=u(s,-1),o=f[r]=a[r](s),{c(){e=b("div"),o.c(),this.h()},l(d){e=k(d,"DIV",{class:!0});var m=$(e);o.l(m),m.forEach(_),this.h()},h(){g(e,"class",i="row "+s[8].class+" svelte-cl0oev")},m(d,m){D(d,e,m),f[r].m(e,null),c=!0},p(d,[m]){let v=r;r=u(d,m),r===v?f[r].p(d,m):(Q(),w(f[v],1,1,()=>{f[v]=null}),z(),o=f[r],o?o.p(d,m):(o=f[r]=a[r](d),o.c()),p(o,1),o.m(e,null)),(!c||m&256&&i!==(i="row "+d[8].class+" svelte-cl0oev"))&&g(e,"class",i)},i(d){c||(p(o),c=!0)},o(d){w(o),c=!1},d(d){d&&_(e),f[r].d()}}}function Jl(s,e,l){let t,n,r;ce(s,Be,d=>l(9,r=d));let{key:o}=e,{value:i}=e,{attributes:c}=e,{inline:a=!1}=e;const{workflow:f,namespace:u}=r.params;return s.$$set=d=>{l(8,e=we(we({},e),De(d))),"key"in d&&l(0,o=d.key),"value"in d&&l(1,i=d.value),"attributes"in d&&l(2,c=d.attributes),"inline"in d&&l(3,a=d.inline)},s.$$.update=()=>{s.$$.dirty&2&&l(4,t=Qe(i)),s.$$.dirty&16&&l(5,n=_l(t))},e=De(e),[o,i,c,a,t,n,f,u,e]}class Kt extends _e{constructor(e){super(),me(this,e,Jl,zl,he,{key:0,value:1,attributes:2,inline:3})}}function ft(s){let e,l,t;return l=new ve({props:{name:s[1]?"spinner":s[3]}}),{c(){e=b("span"),G(l.$$.fragment),this.h()},l(n){e=k(n,"SPAN",{});var r=$(e);O(l.$$.fragment,r),r.forEach(_),this.h()},h(){j(e,"animate-spin",s[1])},m(n,r){D(n,e,r),S(l,e,null),t=!0},p(n,r){const o={};r&10&&(o.name=n[1]?"spinner":n[3]),l.$set(o),(!t||r&2)&&j(e,"animate-spin",n[1])},i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){w(l.$$.fragment,n),t=!1},d(n){n&&_(e),N(l)}}}function Xl(s){let e,l,t,n,r,o,i=s[3]&&ft(s);const c=s[7].default,a=jt(c,s,s[6],null);return{c(){e=b("button"),i&&i.c(),l=y(),a&&a.c(),this.h()},l(f){e=k(f,"BUTTON",{class:!0});var u=$(e);i&&i.l(u),l=A(u),a&&a.l(u),u.forEach(_),this.h()},h(){g(e,"class",t=nt(`pill ${s[5]} ${s[4]}`)+" svelte-czm4v2"),e.disabled=s[0],j(e,"active",s[2])},m(f,u){D(f,e,u),i&&i.m(e,null),h(e,l),a&&a.m(e,null),n=!0,r||(o=$e(e,"click",s[8]),r=!0)},p(f,[u]){f[3]?i?(i.p(f,u),u&8&&p(i,1)):(i=ft(f),i.c(),p(i,1),i.m(e,l)):i&&(Q(),w(i,1,1,()=>{i=null}),z()),a&&a.p&&(!n||u&64)&&Lt(a,c,f,f[6],n?Mt(c,f[6],u,null):Bt(f[6]),null),(!n||u&48&&t!==(t=nt(`pill ${f[5]} ${f[4]}`)+" svelte-czm4v2"))&&g(e,"class",t),(!n||u&1)&&(e.disabled=f[0]),(!n||u&52)&&j(e,"active",f[2])},i(f){n||(p(i),p(a,f),n=!0)},o(f){w(i),w(a,f),n=!1},d(f){f&&_(e),i&&i.d(),a&&a.d(f),r=!1,o()}}}function Yl(s,e,l){let{$$slots:t={},$$scope:n}=e,{disabled:r=!1}=e,{loading:o=!1}=e,{active:i=!1}=e,{icon:c=null}=e,{classes:a=e.class}=e,{color:f="gray"}=e;function u(d){el.call(this,s,d)}return s.$$set=d=>{l(9,e=we(we({},e),De(d))),"disabled"in d&&l(0,r=d.disabled),"loading"in d&&l(1,o=d.loading),"active"in d&&l(2,i=d.active),"icon"in d&&l(3,c=d.icon),"classes"in d&&l(4,a=d.classes),"color"in d&&l(5,f=d.color),"$$scope"in d&&l(6,n=d.$$scope)},e=De(e),[r,o,i,c,a,f,n,t,u]}class Zl extends _e{constructor(e){super(),me(this,e,Yl,Xl,he,{disabled:0,loading:1,active:2,icon:3,classes:4,color:5})}}function ct(s,e,l){const t=s.slice();t[5]=e[l][0],t[6]=e[l][1];const n=t[1]===t[5];return t[7]=n,t}function ut(s){let e,l,t=[],n=new Map,r,o=Object.entries(s[0]);const i=c=>c[5];for(let c=0;c{r=null}),z())},i(o){n||(p(r),n=!0)},o(o){w(r),n=!1},d(o){o&&_(l),r&&r.d(o),o&&_(t)}}}function xl(s){let e,l,t=s[2]>1&&ut(s);return{c(){t&&t.c(),e=le()},l(n){t&&t.l(n),e=le()},m(n,r){t&&t.m(n,r),D(n,e,r),l=!0},p(n,[r]){n[2]>1?t?(t.p(n,r),r&4&&p(t,1)):(t=ut(n),t.c(),p(t,1),t.m(e.parentNode,e)):t&&(Q(),w(t,1,1,()=>{t=null}),z())},i(n){l||(p(t),l=!0)},o(n){w(t),l=!1},d(n){t&&t.d(n),n&&_(e)}}}function en(s,e,l){let t,{attributeGrouping:n}=e,{activePill:r}=e;const o=Ut(),i=c=>o("pillChange",{key:c});return s.$$set=c=>{"attributeGrouping"in c&&l(0,n=c.attributeGrouping),"activePill"in c&&l(1,r=c.activePill)},s.$$.update=()=>{s.$$.dirty&1&&l(2,t=Object.values(n).reduce((c,a)=>(a.length&&(c+=1),c),0))},[n,r,t,o,i]}class xt extends _e{constructor(e){super(),me(this,e,en,xl,he,{attributeGrouping:0,activePill:1})}}function mt(s,e,l){const t=s.slice();return t[4]=e[l][0],t[5]=e[l][1],t}function ht(s,e){let l,t,n,r,o,i=e[4]+"",c,a,f,u,d=(Le(e[5])?"LocalActivity":e[5].eventType)+"",m,v,E,I,U,q;function Z(){return e[3](e[4])}return{key:s,first:null,c(){l=b("tr"),t=b("td"),n=y(),r=b("td"),o=b("p"),c=B(i),a=y(),f=b("td"),u=b("p"),m=B(d),v=y(),E=b("td"),I=y(),this.h()},l(T){l=k(T,"TR",{class:!0});var P=$(l);t=k(P,"TD",{class:!0}),$(t).forEach(_),n=A(P),r=k(P,"TD",{class:!0});var K=$(r);o=k(K,"P",{class:!0});var J=$(o);c=M(J,i),J.forEach(_),K.forEach(_),a=A(P),f=k(P,"TD",{});var X=$(f);u=k(X,"P",{class:!0});var x=$(u);m=M(x,d),x.forEach(_),X.forEach(_),v=A(P),E=k(P,"TD",{}),$(E).forEach(_),I=A(P),P.forEach(_),this.h()},h(){g(t,"class","w-1/12"),g(o,"class","truncate text-sm text-gray-500 md:text-base"),g(r,"class","w-24"),g(u,"class","event-type truncate text-sm md:text-base svelte-1joe2mb"),g(l,"class","row svelte-1joe2mb"),j(l,"active",e[4]===e[1]),j(l,"failure",Ue(e[5])),j(l,"canceled",We(e[5])),j(l,"terminated",qe(e[5])),this.first=l},m(T,P){D(T,l,P),h(l,t),h(l,n),h(l,r),h(r,o),h(o,c),h(l,a),h(l,f),h(f,u),h(u,m),h(l,v),h(l,E),h(l,I),U||(q=$e(l,"click",Wt(ll(Z))),U=!0)},p(T,P){e=T,P&1&&i!==(i=e[4]+"")&&W(c,i),P&1&&d!==(d=(Le(e[5])?"LocalActivity":e[5].eventType)+"")&&W(m,d),P&3&&j(l,"active",e[4]===e[1]),P&1&&j(l,"failure",Ue(e[5])),P&1&&j(l,"canceled",We(e[5])),P&1&&j(l,"terminated",qe(e[5]))},d(T){T&&_(l),U=!1,q()}}}function tn(s){let e=[],l=new Map,t,n=[...s[0].events].reverse();const r=o=>o[4];for(let o=0;or(i);return s.$$set=i=>{"eventGroup"in i&&l(0,t=i.eventGroup),"selectedId"in i&&l(1,n=i.selectedId),"onGroupClick"in i&&l(2,r=i.onGroupClick)},[t,n,r,o]}class rn extends _e{constructor(e){super(),me(this,e,nn,ln,he,{eventGroup:0,selectedId:1,onGroupClick:2})}}function vt(s,e,l){const t=s.slice();return t[10]=e[l][0],t[11]=e[l][1],t}function pt(s,e,l){const t=s.slice();return t[10]=e[l][0],t[11]=e[l][1],t}function sn(s){let e,l,t,n=[],r=new Map,o;l=new xt({props:{attributeGrouping:s[4],activePill:s[5]}}),l.$on("pillChange",s[7]);let i=s[6];const c=a=>a[10];for(let a=0;ad[10];for(let d=0;d{o=null}),z())},i(c){r||(p(o),r=!0)},o(c){w(o),r=!1},d(c){c&&_(l),o&&o.d(c),c&&_(n)}}}function kt(s){let e,l;return e=new Kt({props:{key:s[10],value:s[11],attributes:s[3],class:"w-full"}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},p(t,n){const r={};n&64&&(r.key=t[10]),n&64&&(r.value=t[11]),n&8&&(r.attributes=t[3]),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function $t(s,e){var i;let l,t=(i=e[4][e[5]])==null?void 0:i.includes(e[10]),n,r,o=t&&kt(e);return{key:s,first:null,c(){l=le(),o&&o.c(),n=le(),this.h()},l(c){l=le(),o&&o.l(c),n=le(),this.h()},h(){this.first=l},m(c,a){D(c,l,a),o&&o.m(c,a),D(c,n,a),r=!0},p(c,a){var f;e=c,a&112&&(t=(f=e[4][e[5]])==null?void 0:f.includes(e[10])),t?o?(o.p(e,a),a&112&&p(o,1)):(o=kt(e),o.c(),p(o,1),o.m(n.parentNode,n)):o&&(Q(),w(o,1,1,()=>{o=null}),z())},i(c){r||(p(o),r=!0)},o(c){w(o),r=!1},d(c){c&&_(l),o&&o.d(c),c&&_(n)}}}function on(s){let e,l,t,n,r;const o=[an,sn],i=[];function c(a,f){return f&6&&(e=null),e==null&&(e=!!(a[2]&&Fe(a[1]))),e?0:1}return l=c(s,-1),t=i[l]=o[l](s),{c(){t.c(),n=le()},l(a){t.l(a),n=le()},m(a,f){i[l].m(a,f),D(a,n,f),r=!0},p(a,[f]){let u=l;l=c(a,f),l===u?i[l].p(a,f):(Q(),w(i[u],1,1,()=>{i[u]=null}),z(),t=i[l],t?t.p(a,f):(t=i[l]=o[l](a),t.c()),p(t,1),t.m(n.parentNode,n))},i(a){r||(p(t),r=!0)},o(a){w(t),r=!1},d(a){i[l].d(a),a&&_(n)}}}function fn(s,e,l){let t,n,r,o,{event:i}=e,{currentEvent:c}=e,{compact:a=!1}=e,{selectedId:f}=e;const u=m=>{l(5,r=m.detail.key)},d=m=>l(0,f=m);return s.$$set=m=>{"event"in m&&l(1,i=m.event),"currentEvent"in m&&l(9,c=m.currentEvent),"compact"in m&&l(2,a=m.compact),"selectedId"in m&&l(0,f=m.selectedId)},s.$$.update=()=>{s.$$.dirty&516&&l(3,t=Jt(c,{compact:a})),s.$$.dirty&10&&l(4,n=ml(i,t)),s.$$.dirty&16&&l(5,r=Object.keys(n).find(m=>n[m].length)),s.$$.dirty&8&&l(6,o=Object.entries(t))},[f,i,a,t,n,r,o,u,d,c]}class cn extends _e{constructor(e){super(),me(this,e,fn,on,he,{event:1,currentEvent:9,compact:2,selectedId:0})}}function un(s){var t;let e=rt((t=s[0])==null?void 0:t.eventTime,s[12])+"",l;return{c(){l=B(e)},l(n){l=M(n,e)},m(n,r){D(n,l,r)},p(n,r){var o;r&4097&&e!==(e=rt((o=n[0])==null?void 0:o.eventTime,n[12])+"")&&W(l,e)},d(n){n&&_(l)}}}function dn(s){let e=He({start:s[1].eventTime,end:s[7].eventTime})+"",l,t,n;return{c(){l=B(e),t=y(),n=B(s[9])},l(r){l=M(r,e),t=A(r),n=M(r,s[9])},m(r,o){D(r,l,o),D(r,t,o),D(r,n,o)},p(r,o){o&130&&e!==(e=He({start:r[1].eventTime,end:r[7].eventTime})+"")&&W(l,e),o&512&&W(n,r[9])},d(r){r&&_(l),r&&_(t),r&&_(n)}}}function wt(s){let e,l;return e=new ve({props:{class:"mr-1.5 inline text-red-700",name:"clock"}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function Et(s){let e,l;return e=new ve({props:{class:"mr-1.5 inline text-yellow-700",name:"clock"}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function It(s){let e,l;return e=new ve({props:{class:"mr-1.5 inline text-pink-700",name:"clock"}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function Dt(s){let e,l;const t=[at(s[7]),{attributes:s[10]},{class:"invisible h-0 w-0 md:visible md:h-auto md:w-auto"},{inline:!0}];let n={};for(let r=0;ral(t,"selectedId",i)),{c(){e=b("tr"),l=b("td"),G(t.$$.fragment),this.h()},l(a){e=k(a,"TR",{class:!0});var f=$(e);l=k(f,"TD",{class:!0,colspan:!0});var u=$(l);O(t.$$.fragment,u),u.forEach(_),f.forEach(_),this.h()},h(){g(l,"class","expanded-cell svelte-aaifo7"),g(l,"colspan","6"),g(e,"class","svelte-aaifo7"),j(e,"typedError",s[4])},m(a,f){D(a,e,f),h(e,l),S(t,l,null),o=!0},p(a,f){const u={};f&1&&(u.event=a[0]),f&128&&(u.currentEvent=a[7]),f&4&&(u.compact=a[2]),!n&&f&64&&(n=!0,u.selectedId=a[6],il(()=>n=!1)),t.$set(u),(!o||f&16)&&j(e,"typedError",a[4])},i(a){o||(p(t.$$.fragment,a),a&&(r||ol(()=>{r=fl(e,cl,{}),r.start()})),o=!0)},o(a){w(t.$$.fragment,a),o=!1},d(a){a&&_(e),N(t)}}}function _n(s){let e,l,t,n,r,o,i=s[0].id+"",c,a,f,u,d,m,v,E,I,U,q,Z,T=(Le(s[0])?"LocalActivity":s[0].name)+"",P,K,J,X,x,fe,pe,F,oe,H,R,V,Y,ue,ie,Ie,ye;function ge(C,L){return C[11]?dn:un}let Ge=ge(s),de=Ge(s),re=s[2]&&s[14]&&wt(),se=s[2]&&s[15]&&Et(),ae=s[2]&&s[16]&&It(),ee=!s[8]&&Dt(s);F=new ve({props:{class:"inline",name:s[8]?"chevron-up":"chevron-down"}});let te=s[8]&&Tt(s);return{c(){e=b("tr"),l=b("td"),t=y(),n=b("td"),r=b("a"),o=b("p"),c=B(i),f=y(),u=b("td"),d=b("p"),de.c(),m=y(),v=b("td"),E=b("div"),re&&re.c(),I=y(),se&&se.c(),U=y(),ae&&ae.c(),q=y(),Z=b("p"),P=B(T),K=y(),J=b("td"),X=b("div"),x=b("div"),ee&&ee.c(),fe=y(),pe=b("div"),G(F.$$.fragment),oe=y(),H=b("td"),Y=y(),te&&te.c(),ue=le(),this.h()},l(C){e=k(C,"TR",{class:!0,id:!0,"aria-expanded":!0,"data-testid":!0});var L=$(e);l=k(L,"TD",{}),$(l).forEach(_),t=A(L),n=k(L,"TD",{class:!0});var Ae=$(n);r=k(Ae,"A",{class:!0,href:!0});var Je=$(r);o=k(Je,"P",{class:!0});var Xe=$(o);c=M(Xe,i),Xe.forEach(_),Je.forEach(_),Ae.forEach(_),f=A(L),u=k(L,"TD",{class:!0});var Ye=$(u);d=k(Ye,"P",{class:!0});var Ze=$(d);de.l(Ze),Ze.forEach(_),Ye.forEach(_),m=A(L),v=k(L,"TD",{class:!0});var Ke=$(v);E=k(Ke,"DIV",{class:!0});var be=$(E);re&&re.l(be),I=A(be),se&&se.l(be),U=A(be),ae&&ae.l(be),q=A(be),Z=k(be,"P",{class:!0});var xe=$(Z);P=M(xe,T),xe.forEach(_),be.forEach(_),Ke.forEach(_),K=A(L),J=k(L,"TD",{class:!0});var et=$(J);X=k(et,"DIV",{class:!0});var Oe=$(X);x=k(Oe,"DIV",{class:!0});var tt=$(x);ee&&ee.l(tt),tt.forEach(_),fe=A(Oe),pe=k(Oe,"DIV",{});var lt=$(pe);O(F.$$.fragment,lt),lt.forEach(_),Oe.forEach(_),et.forEach(_),oe=A(L),H=k(L,"TD",{}),$(H).forEach(_),L.forEach(_),Y=A(C),te&&te.l(C),ue=le(),this.h()},h(){g(o,"class","truncate"),g(r,"class","text-sm text-gray-500 md:text-base"),g(r,"href",a="#"+s[0].id),g(n,"class","w-24 text-left"),g(d,"class","break-word truncate text-sm md:whitespace-normal md:text-base"),g(u,"class","text-left"),g(Z,"class","event-name truncate text-sm font-semibold md:text-base svelte-aaifo7"),g(E,"class","flex"),g(v,"class","text-right text-sm font-normal xl:text-left"),g(x,"class","grow truncate"),g(X,"class","flex w-full items-center justify-between"),g(J,"class","overflow-hidden"),g(e,"class","row svelte-aaifo7"),g(e,"id",R=s[0].id),g(e,"aria-expanded",V=s[8]||s[3]),g(e,"data-testid","event-summary-row"),j(e,"expanded",s[8]&&!s[3]),j(e,"active",s[5]),j(e,"failure",s[14]),j(e,"canceled",s[15]),j(e,"terminated",s[16]),j(e,"typedError",s[4])},m(C,L){D(C,e,L),h(e,l),h(e,t),h(e,n),h(n,r),h(r,o),h(o,c),h(e,f),h(e,u),h(u,d),de.m(d,null),h(e,m),h(e,v),h(v,E),re&&re.m(E,null),h(E,I),se&&se.m(E,null),h(E,U),ae&&ae.m(E,null),h(E,q),h(E,Z),h(Z,P),h(e,K),h(e,J),h(J,X),h(X,x),ee&&ee.m(x,null),h(X,fe),h(X,pe),S(F,pe,null),h(e,oe),h(e,H),D(C,Y,L),te&&te.m(C,L),D(C,ue,L),ie=!0,Ie||(ye=$e(e,"click",Wt(s[13])),Ie=!0)},p(C,[L]){(!ie||L&1)&&i!==(i=C[0].id+"")&&W(c,i),(!ie||L&1&&a!==(a="#"+C[0].id))&&g(r,"href",a),Ge===(Ge=ge(C))&&de?de.p(C,L):(de.d(1),de=Ge(C),de&&(de.c(),de.m(d,null))),C[2]&&C[14]?re?L&4&&p(re,1):(re=wt(),re.c(),p(re,1),re.m(E,I)):re&&(Q(),w(re,1,1,()=>{re=null}),z()),C[2]&&C[15]?se?L&4&&p(se,1):(se=Et(),se.c(),p(se,1),se.m(E,U)):se&&(Q(),w(se,1,1,()=>{se=null}),z()),C[2]&&C[16]?ae?L&4&&p(ae,1):(ae=It(),ae.c(),p(ae,1),ae.m(E,q)):ae&&(Q(),w(ae,1,1,()=>{ae=null}),z()),(!ie||L&1)&&T!==(T=(Le(C[0])?"LocalActivity":C[0].name)+"")&&W(P,T),C[8]?ee&&(Q(),w(ee,1,1,()=>{ee=null}),z()):ee?(ee.p(C,L),L&256&&p(ee,1)):(ee=Dt(C),ee.c(),p(ee,1),ee.m(x,null));const Ae={};L&256&&(Ae.name=C[8]?"chevron-up":"chevron-down"),F.$set(Ae),(!ie||L&1&&R!==(R=C[0].id))&&g(e,"id",R),(!ie||L&264&&V!==(V=C[8]||C[3]))&&g(e,"aria-expanded",V),(!ie||L&264)&&j(e,"expanded",C[8]&&!C[3]),(!ie||L&32)&&j(e,"active",C[5]),(!ie||L&16)&&j(e,"typedError",C[4]),C[8]?te?(te.p(C,L),L&256&&p(te,1)):(te=Tt(C),te.c(),p(te,1),te.m(ue.parentNode,ue)):te&&(Q(),w(te,1,1,()=>{te=null}),z())},i(C){ie||(p(re),p(se),p(ae),p(ee),p(F.$$.fragment,C),p(te),ie=!0)},o(C){w(re),w(se),w(ae),w(ee),w(F.$$.fragment,C),w(te),ie=!1},d(C){C&&_(e),de.d(),re&&re.d(),se&&se.d(),ae&&ae.d(),ee&&ee.d(),N(F),C&&_(Y),te&&te.d(C),C&&_(ue),Ie=!1,ye()}}}function mn(s,e,l){let t,n,r,o,i,c,a,f,u,d;ce(s,Ne,F=>l(22,f=F)),ce(s,Me,F=>l(23,u=F)),ce(s,qt,F=>l(12,d=F));var m;let{event:v}=e,{visibleItems:E}=e,{initialItem:I}=e,{compact:U=!1}=e,{expandAll:q=!1}=e,{typedError:Z=!1}=e,{active:T=!1}=e,{onRowClick:P=Te}=e,K=Fe(v)?Array.from(v.events.keys()).pop():v.id;const J=()=>{l(8,t=!t),P()},X=Ue(v),x=We(v),fe=qe(v);function pe(F){K=F,l(6,K)}return s.$$set=F=>{"event"in F&&l(0,v=F.event),"visibleItems"in F&&l(17,E=F.visibleItems),"initialItem"in F&&l(1,I=F.initialItem),"compact"in F&&l(2,U=F.compact),"expandAll"in F&&l(3,q=F.expandAll),"typedError"in F&&l(4,Z=F.typedError),"active"in F&&l(5,T=F.active),"onRowClick"in F&&l(18,P=F.onRowClick)},s.$$.update=()=>{if(s.$$.dirty&40&&l(8,t=q||T),s.$$.dirty&65&&l(7,n=Fe(v)?v.events.get(K):v),s.$$.dirty&8388608&&l(20,r=u==="descending"),s.$$.dirty&4194304&&l(21,o=f==="true"),s.$$.dirty&2097155&&l(11,i=o&&I&&v.id!==I.id),s.$$.dirty&5&&l(10,c=Jt(v,{compact:U})),s.$$.dirty&1704065){const F=E.indexOf(v),oe=E[F-1];if(oe){const H=He({start:Fe(oe)?l(19,m=oe==null?void 0:oe.initialEvent)===null||m===void 0?void 0:m.eventTime:oe==null?void 0:oe.eventTime,end:n==null?void 0:n.eventTime});l(9,a=H?`(${r?"-":"+"}${H})`:"")}}},l(9,a=""),[v,I,U,q,Z,T,K,n,t,a,c,i,d,J,X,x,fe,E,P,m,r,o,f,u,pe]}class sr extends _e{constructor(e){super(),me(this,e,mn,_n,he,{event:0,visibleItems:17,initialItem:1,compact:2,expandAll:3,typedError:4,active:5,onRowClick:18})}}function Vt(s,e,l){const t=s.slice();return t[2]=e[l].label,t[11]=e[l].option,t}function Pt(s){let e,l;return e=new ve({props:{name:"checkmark"}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function Ct(s,e){let l,t,n,r,o=e[2]+"",i,c,a,f,u,d=e[1]===e[11]&&Pt();function m(){return e[8](e[11])}return{key:s,first:null,c(){l=b("div"),t=b("div"),d&&d.c(),n=y(),r=b("button"),i=B(o),c=y(),this.h()},l(v){l=k(v,"DIV",{class:!0});var E=$(l);t=k(E,"DIV",{class:!0});var I=$(t);d&&d.l(I),I.forEach(_),n=A(E),r=k(E,"BUTTON",{"data-testid":!0});var U=$(r);i=M(U,o),U.forEach(_),c=A(E),E.forEach(_),this.h()},h(){g(t,"class","check active svelte-1rp7hf"),g(r,"data-testid","event-category-option"),g(l,"class","option svelte-1rp7hf"),j(l,"active",e[1]===e[11]),this.first=l},m(v,E){D(v,l,E),h(l,t),d&&d.m(t,null),h(l,n),h(l,r),h(r,i),h(l,c),a=!0,f||(u=$e(r,"click",m),f=!0)},p(v,E){e=v,e[1]===e[11]?d?E&3&&p(d,1):(d=Pt(),d.c(),p(d,1),d.m(t,null)):d&&(Q(),w(d,1,1,()=>{d=null}),z()),(!a||E&1)&&o!==(o=e[2]+"")&&W(i,o),(!a||E&3)&&j(l,"active",e[1]===e[11])},i(v){a||(p(d),a=!0)},o(v){w(d),a=!1},d(v){v&&_(l),d&&d.d(),f=!1,u()}}}function hn(s){let e,l=[],t=new Map,n,r=s[0];const o=i=>i[11];for(let i=0;il(9,r=v)),ce(s,Be,v=>l(7,o=v)),ce(s,bl,v=>l(10,i=v));var c,a;let{compact:f=!1}=e,u=f?vl:pl;gl("1.21",i)&&(u=u.filter(({option:v})=>v!=="update"));const d=v=>{l(1,n=v)},m=v=>d(v);return s.$$set=v=>{"compact"in v&&l(4,f=v.compact)},s.$$.update=()=>{s.$$.dirty&16&&l(2,t=f?"Event Type":"Workflow Events"),s.$$.dirty&224&&l(1,n=l(6,a=l(5,c=o.url)===null||c===void 0?void 0:c.searchParams)===null||a===void 0?void 0:a.get(yt)),s.$$.dirty&131&&Zt({parameter:yt,value:n,url:o.url}).then(v=>{var E,I;const U=u.find(({option:q})=>q===v);l(1,n=(I=(E=U==null?void 0:U.option)===null||E===void 0?void 0:E.toString())!==null&&I!==void 0?I:null),Se(it,r=n,r)})},[u,n,t,d,f,c,a,o,m]}class bn extends _e{constructor(e){super(),me(this,e,gn,pn,he,{compact:4})}}const kn=({compact:s,timeFormat:e,sortOrder:l,showElapsed:t})=>{if(!((s||l==="descending")&&e==="UTC"&&t==="false"))return`${l}:${e}:${t}`};function At(s,e,l){const t=s.slice();return t[13]=e[l].label,t[14]=e[l].option,t}function Gt(s,e,l){const t=s.slice();return t[14]=e[l].option,t[13]=e[l].label,t}function Ot(s){let e,l;return e=new ve({props:{name:"checkmark"}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function St(s,e){let l,t,n,r,o=e[13]+"",i,c,a,f,u=e[1]===e[14]&&Ot();function d(){return e[10](e[14])}return{key:s,first:null,c(){l=b("div"),t=b("div"),u&&u.c(),n=y(),r=b("button"),i=B(o),this.h()},l(m){l=k(m,"DIV",{class:!0});var v=$(l);t=k(v,"DIV",{class:!0});var E=$(t);u&&u.l(E),E.forEach(_),n=A(v),r=k(v,"BUTTON",{});var I=$(r);i=M(I,o),I.forEach(_),v.forEach(_),this.h()},h(){g(t,"class","check active svelte-1rp7hf"),g(l,"class","option svelte-1rp7hf"),j(l,"active",e[1]===e[14]),this.first=l},m(m,v){D(m,l,v),h(l,t),u&&u.m(t,null),h(l,n),h(l,r),h(r,i),c=!0,a||(f=$e(r,"click",d),a=!0)},p(m,v){e=m,e[1]===e[14]?u?v&2&&p(u,1):(u=Ot(),u.c(),p(u,1),u.m(t,null)):u&&(Q(),w(u,1,1,()=>{u=null}),z()),(!c||v&18)&&j(l,"active",e[1]===e[14])},i(m){c||(p(u),c=!0)},o(m){w(u),c=!1},d(m){m&&_(l),u&&u.d(),a=!1,f()}}}function Nt(s){let e,l;return e=new ve({props:{name:"checkmark"}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function Ft(s,e){let l,t,n,r,o=e[13]+"",i,c,a,f,u=e[2]===e[14]&&Nt();function d(){return e[11](e[14])}return{key:s,first:null,c(){l=b("div"),t=b("div"),u&&u.c(),n=y(),r=b("button"),i=B(o),this.h()},l(m){l=k(m,"DIV",{class:!0});var v=$(l);t=k(v,"DIV",{class:!0});var E=$(t);u&&u.l(E),E.forEach(_),n=A(v),r=k(v,"BUTTON",{"data-testid":!0});var I=$(r);i=M(I,o),I.forEach(_),v.forEach(_),this.h()},h(){g(t,"class","check active svelte-1rp7hf"),g(r,"data-testid","event-date-filter-"+e[14]),g(l,"class","option svelte-1rp7hf"),j(l,"active",e[2]===e[14]),this.first=l},m(m,v){D(m,l,v),h(l,t),u&&u.m(t,null),h(l,n),h(l,r),h(r,i),c=!0,a||(f=$e(r,"click",d),a=!0)},p(m,v){e=m,e[2]===e[14]?u?v&4&&p(u,1):(u=Nt(),u.c(),p(u,1),u.m(t,null)):u&&(Q(),w(u,1,1,()=>{u=null}),z()),(!c||v&36)&&j(l,"active",e[2]===e[14])},i(m){c||(p(u),c=!0)},o(m){w(u),c=!1},d(m){m&&_(l),u&&u.d(),a=!1,f()}}}function Rt(s){let e,l;return e=new ve({props:{name:"checkmark"}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function $n(s){let e,l=[],t=new Map,n,r,o,i,c,a,f=[],u=new Map,d,m,v,E,I,U,q,Z,T,P,K,J,X,x,fe=s[4];const pe=R=>R[14];for(let R=0;RR[14];for(let R=0;R{H=null}),z()),(!J||V&1)&&j(q,"active",R[0]==="true")},i(R){if(!J){for(let V=0;Vl(0,n=I)),ce(s,Me,I=>l(1,r=I)),ce(s,qt,I=>l(2,o=I)),ce(s,Be,I=>l(12,i=I));let{compact:c}=e,a=[{label:"Sort 1-9",option:"ascending"},{label:"Sort 9-1",option:"descending"}],f=[{label:"Relative",option:"relative"},{label:"UTC",option:"UTC"},{label:"Local",option:"local"}];const u=I=>{Se(Me,r=I,r),Zt({parameter:"sort",value:I,url:i.url})},d=I=>{dl(I)},m=()=>{n==="true"?Se(Ne,n="false",n):Se(Ne,n="true",n)},v=I=>u(I),E=I=>d(I);return s.$$set=I=>{"compact"in I&&l(9,c=I.compact)},s.$$.update=()=>{s.$$.dirty&519&&l(3,t=kn({compact:c,timeFormat:o,sortOrder:r,showElapsed:n}))},[n,r,o,t,a,f,u,d,m,c,v,E]}class Dn extends _e{constructor(e){super(),me(this,e,In,En,he,{compact:9})}}function Tn(s){let e;const l=s[4].default,t=jt(l,s,s[5],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,r){t&&t.m(n,r),e=!0},p(n,r){t&&t.p&&(!e||r&32)&&Lt(t,l,n,n[5],e?Mt(l,n[5],r,null):Bt(n[5]),null)},i(n){e||(p(t,n),e=!0)},o(n){w(t,n),e=!1},d(n){t&&t.d(n)}}}function Vn(s){let e,l,t,n,r,o,i,c,a,f,u,d,m=s[2]?"Collapse all":"Expand All",v,E,I,U,q,Z;return n=new Dn({props:{compact:s[0]}}),i=new bn({props:{compact:s[0]}}),I=new ve({props:{name:s[2]?"chevron-up":"chevron-down"}}),{c(){e=b("th"),l=y(),t=b("th"),G(n.$$.fragment),r=y(),o=b("th"),G(i.$$.fragment),c=y(),a=b("th"),f=b("div"),u=b("button"),d=b("span"),v=B(m),E=y(),G(I.$$.fragment),this.h()},l(T){e=k(T,"TH",{class:!0}),$(e).forEach(_),l=A(T),t=k(T,"TH",{class:!0});var P=$(t);O(n.$$.fragment,P),P.forEach(_),r=A(T),o=k(T,"TH",{class:!0});var K=$(o);O(i.$$.fragment,K),K.forEach(_),c=A(T),a=k(T,"TH",{class:!0});var J=$(a);f=k(J,"DIV",{class:!0});var X=$(f);u=k(X,"BUTTON",{class:!0});var x=$(u);d=k(x,"SPAN",{class:!0});var fe=$(d);v=M(fe,m),fe.forEach(_),E=A(x),O(I.$$.fragment,x),x.forEach(_),X.forEach(_),J.forEach(_),this.h()},h(){g(e,"class","w-14 xl:w-10"),g(t,"class","w-16 md:w-32"),g(o,"class","w-44"),g(d,"class","hidden sm:block"),g(u,"class","relative flex w-28 items-center justify-end rounded sm:justify-between"),g(f,"class","flex w-full justify-end"),g(a,"class","w-auto xl:w-80")},m(T,P){D(T,e,P),D(T,l,P),D(T,t,P),S(n,t,null),D(T,r,P),D(T,o,P),S(i,o,null),D(T,c,P),D(T,a,P),h(a,f),h(f,u),h(u,d),h(d,v),h(u,E),S(I,u,null),U=!0,q||(Z=$e(u,"click",s[3]),q=!0)},p(T,P){const K={};P&1&&(K.compact=T[0]),n.$set(K);const J={};P&1&&(J.compact=T[0]),i.$set(J),(!U||P&4)&&m!==(m=T[2]?"Collapse all":"Expand All")&&W(v,m);const X={};P&4&&(X.name=T[2]?"chevron-up":"chevron-down"),I.$set(X)},i(T){U||(p(n.$$.fragment,T),p(i.$$.fragment,T),p(I.$$.fragment,T),U=!0)},o(T){w(n.$$.fragment,T),w(i.$$.fragment,T),w(I.$$.fragment,T),U=!1},d(T){T&&_(e),T&&_(l),T&&_(t),N(n),T&&_(r),T&&_(o),N(i),T&&_(c),T&&_(a),N(I),q=!1,Z()}}}function Pn(s){let e,l;return e=new hl({props:{slot:"headers",$$slots:{default:[Vn]},$$scope:{ctx:s}}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},p(t,n){const r={};n&37&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function Cn(s){let e,l;return e=new Xt({props:{updating:s[1],class:"dark w-full table-fixed",$$slots:{headers:[Pn],default:[Tn]},$$scope:{ctx:s}}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},p(t,[n]){const r={};n&2&&(r.updating=t[1]),n&37&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function yn(s,e,l){let t;ce(s,ul,u=>l(6,t=u));let{$$slots:n={},$$scope:r}=e,{compact:o=!1}=e,{updating:i=!1}=e,c=t==="true";const a=Ut();function f(){l(2,c=!c),a("expandAll",{expanded:c?"true":"false"})}return s.$$set=u=>{"compact"in u&&l(0,o=u.compact),"updating"in u&&l(1,i=u.updating),"$$scope"in u&&l(5,r=u.$$scope)},[o,i,c,f,n,r]}class ar extends _e{constructor(e){super(),me(this,e,yn,Cn,he,{compact:0,updating:1})}}function An(s){let e,l;return e=new kl({props:{title:"No Events Match",content:"There are no events that match your filters or selected view. Adjust your filters or view to see your events."}}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function Gn(s){let e,l;return e=new $l({}),{c(){G(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,n){S(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){w(e.$$.fragment,t),l=!1},d(t){N(e,t)}}}function On(s){let e,l,t,n,r;const o=[Gn,An],i=[];function c(a,f){return a[0]?0:1}return t=c(s),n=i[t]=o[t](s),{c(){e=b("tr"),l=b("td"),n.c(),this.h()},l(a){e=k(a,"TR",{class:!0});var f=$(e);l=k(f,"TD",{colspan:!0});var u=$(l);n.l(u),u.forEach(_),f.forEach(_),this.h()},h(){g(l,"colspan","6"),g(e,"class","row svelte-kwty14")},m(a,f){D(a,e,f),h(e,l),i[t].m(l,null),r=!0},p(a,[f]){let u=t;t=c(a),t!==u&&(Q(),w(i[u],1,1,()=>{i[u]=null}),z(),n=i[t],n||(n=i[t]=o[t](a),n.c()),p(n,1),n.m(l,null))},i(a){r||(p(n),r=!0)},o(a){w(n),r=!1},d(a){a&&_(e),i[t].d()}}}function Sn(s,e,l){let{loading:t=!1}=e;return s.$$set=n=>{"loading"in n&&l(0,t=n.loading)},[t]}class ir extends _e{constructor(e){super(),me(this,e,Sn,On,he,{loading:0})}}export{ar as E,ir as a,sr as b}; diff --git a/ui/assets/local/_app/immutable/chunks/event-history-file-import.11e4730e.js b/ui/assets/local/_app/immutable/chunks/event-history-file-import.21cce287.js similarity index 91% rename from ui/assets/local/_app/immutable/chunks/event-history-file-import.11e4730e.js rename to ui/assets/local/_app/immutable/chunks/event-history-file-import.21cce287.js index 2c1aa279df..115f446e8e 100644 --- a/ui/assets/local/_app/immutable/chunks/event-history-file-import.11e4730e.js +++ b/ui/assets/local/_app/immutable/chunks/event-history-file-import.21cce287.js @@ -1 +1 @@ -import{S as $,b as C,a as U,m as k,c as w,C as F,p as I,d as N,D as T,u as g,f as y,E as x,U as A,j as B,g as j,k as b,F as G,L as h,w as H,x as J}from"./index.d29c66be.js";import{d as L}from"./route-for.b4518ba8.js";import{g as O}from"./navigation.9ceca11e.js";import{B as q}from"./button.e7112b29.js";import{t as D}from"./index.2668dc9e.js";import{t as S}from"./toaster.fda31b2d.js";import{i as P,a as R}from"./import-events.d74da7cc.js";import{p as W}from"./parse-with-big-int.02af2f95.js";import{g as z}from"./index.e1962a6e.js";import{p as K}from"./stores.b938c0e3.js";import{a as M}from"./auth-user.ead5c000.js";import{l as Q}from"./namespaces.52575875.js";function V(r){let o;return{c(){o=H("Import")},l(e){o=J(e,"Import")},m(e,s){y(e,o,s)},d(e){e&&b(o)}}}function X(r){let o,e,s,p,c,a;return s=new q({props:{icon:"file-upload",disabled:!r[0],$$slots:{default:[V]},$$scope:{ctx:r}}}),s.$on("click",r[2]),{c(){o=k("input"),e=w(),F(s.$$.fragment),this.h()},l(t){o=I(t,"INPUT",{class:!0,type:!0,accept:!0}),e=N(t),T(s.$$.fragment,t),this.h()},h(){g(o,"class","import-input block rounded-md border border-gray-200 p-2"),g(o,"type","file"),g(o,"accept",".json")},m(t,i){y(t,o,i),y(t,e,i),x(s,t,i),p=!0,c||(a=A(o,"change",r[1]),c=!0)},p(t,[i]){const f={};i&1&&(f.disabled=!t[0]),i&128&&(f.$$scope={dirty:i,ctx:t}),s.$set(f)},i(t){p||(B(s.$$.fragment,t),p=!0)},o(t){j(s.$$.fragment,t),p=!1},d(t){t&&b(o),t&&b(e),G(s,t),c=!1,a()}}}function Y(r,o,e){let s,p,c;h(r,Q,n=>e(4,s=n)),h(r,M,n=>e(5,p=n)),h(r,K,n=>e(6,c=n));let a,t=!1;return[t,async n=>{var l;const m=n.target,d=(l=m==null?void 0:m.files)===null||l===void 0?void 0:l[0],u=new FileReader;d&&(u.readAsText(d),u.onload=()=>{var _,v;try{const E=(v=(_=u==null?void 0:u.result)===null||_===void 0?void 0:_.toString())!==null&&v!==void 0?v:"";a=W(E),e(0,t=!0)}catch{S.push({variant:"error",message:"Could not parse JSON"}),e(0,t=!1)}})},async()=>{const{settings:n}=c.data;try{const l=await D({response:Array.isArray(a)?a:a==null?void 0:a.events,namespace:s,settings:n,accessToken:p.accessToken}),m=z(l);P.set(l),R.set(m),e(0,t=!1);const d=L(s,"feed");O(d)}catch(l){console.error(l),S.push({variant:"error",message:"Could not create event history from JSON"})}}]}class mt extends ${constructor(o){super(),C(this,o,Y,X,U,{})}}export{mt as E}; +import{S as $,b as C,a as U,m as k,c as w,C as F,p as I,d as N,D as T,u as g,f as y,E as x,U as A,j as B,g as j,k as b,F as G,L as h,w as H,x as J}from"./index.d29c66be.js";import{d as L}from"./route-for.3e9c6ff4.js";import{g as O}from"./navigation.e41eebee.js";import{B as q}from"./button.e7112b29.js";import{t as D}from"./index.227f6018.js";import{t as S}from"./toaster.fda31b2d.js";import{i as P,a as R}from"./import-events.d74da7cc.js";import{p as W}from"./parse-with-big-int.02af2f95.js";import{g as z}from"./index.e1962a6e.js";import{p as K}from"./stores.8c019868.js";import{a as M}from"./auth-user.ead5c000.js";import{l as Q}from"./namespaces.52575875.js";function V(r){let o;return{c(){o=H("Import")},l(e){o=J(e,"Import")},m(e,s){y(e,o,s)},d(e){e&&b(o)}}}function X(r){let o,e,s,p,c,a;return s=new q({props:{icon:"file-upload",disabled:!r[0],$$slots:{default:[V]},$$scope:{ctx:r}}}),s.$on("click",r[2]),{c(){o=k("input"),e=w(),F(s.$$.fragment),this.h()},l(t){o=I(t,"INPUT",{class:!0,type:!0,accept:!0}),e=N(t),T(s.$$.fragment,t),this.h()},h(){g(o,"class","import-input block rounded-md border border-gray-200 p-2"),g(o,"type","file"),g(o,"accept",".json")},m(t,i){y(t,o,i),y(t,e,i),x(s,t,i),p=!0,c||(a=A(o,"change",r[1]),c=!0)},p(t,[i]){const f={};i&1&&(f.disabled=!t[0]),i&128&&(f.$$scope={dirty:i,ctx:t}),s.$set(f)},i(t){p||(B(s.$$.fragment,t),p=!0)},o(t){j(s.$$.fragment,t),p=!1},d(t){t&&b(o),t&&b(e),G(s,t),c=!1,a()}}}function Y(r,o,e){let s,p,c;h(r,Q,n=>e(4,s=n)),h(r,M,n=>e(5,p=n)),h(r,K,n=>e(6,c=n));let a,t=!1;return[t,async n=>{var l;const m=n.target,d=(l=m==null?void 0:m.files)===null||l===void 0?void 0:l[0],u=new FileReader;d&&(u.readAsText(d),u.onload=()=>{var _,v;try{const E=(v=(_=u==null?void 0:u.result)===null||_===void 0?void 0:_.toString())!==null&&v!==void 0?v:"";a=W(E),e(0,t=!0)}catch{S.push({variant:"error",message:"Could not parse JSON"}),e(0,t=!1)}})},async()=>{const{settings:n}=c.data;try{const l=await D({response:Array.isArray(a)?a:a==null?void 0:a.events,namespace:s,settings:n,accessToken:p.accessToken}),m=z(l);P.set(l),R.set(m),e(0,t=!1);const d=L(s,"feed");O(d)}catch(l){console.error(l),S.push({variant:"error",message:"Could not create event history from JSON"})}}]}class mt extends ${constructor(o){super(),C(this,o,Y,X,U,{})}}export{mt as E}; diff --git a/ui/assets/local/_app/immutable/chunks/events-service.85840f73.js b/ui/assets/local/_app/immutable/chunks/events-service.85840f73.js deleted file mode 100644 index e746d9b87d..0000000000 --- a/ui/assets/local/_app/immutable/chunks/events-service.85840f73.js +++ /dev/null @@ -1 +0,0 @@ -import{d as r,w as u}from"./index.255b7490.js";import{p as m}from"./stores.b938c0e3.js";import{e as S}from"./event-view.73e1a728.js";import{k as v}from"./route-for.b4518ba8.js";import{r as y}from"./workflow-run.2461dc7d.js";import{a as F}from"./auth-user.ead5c000.js";import{D as q}from"./is-event-type.0064ca29.js";import{p as h}from"./paginated.a3aba4c2.js";import{r as l,a as w}from"./route-for-api.58c31c66.js";import{t as f}from"./index.2668dc9e.js";import{b as A}from"./has.8da86d13.js";const H=r([m],([t])=>t.params.namespace?v(t.params.namespace):""),P=r([m],([t])=>t.params.workflow?v(t.params.workflow):""),T=r([m],([t])=>t.params.run?v(t.params.run):""),b=r([m],([t])=>{var e;return(e=t.data)==null?void 0:e.settings}),x=r([F],([t])=>t==null?void 0:t.accessToken),z=r([H,P,T,S],([t,e,s,n])=>({namespace:t,workflowId:e,runId:s,sort:n}));r([z,b,x,y],([t,e,s,n])=>({...t,settings:e,accessToken:s,refresh:y,$refresh:n}));const D={start:[],end:[]},X=u(D),Y=u(null),j=u([]),Z=r(j,t=>t.filter(q)),k=t=>!A(t)||t==="descending"?"events.descending":t==="ascending"?"events.ascending":"events.descending",_=async({namespace:t,workflowId:e,runId:s,sort:n,onStart:o,onUpdate:a,onComplete:c})=>{const i=k(n),p=l(i,{namespace:t,workflowId:e,runId:s});return(await h(async d=>w(p,{token:d,request:fetch}),{onStart:o,onUpdate:a,onComplete:c})).history.events},U=async({namespace:t,workflowId:e,runId:s,sort:n,settings:o,accessToken:a,onStart:c,onUpdate:i,onComplete:p})=>{const E=k(n),d=l(E,{namespace:t,workflowId:e,runId:s}),I=await h(async R=>w(d,{token:R,request:fetch}),{onStart:c,onUpdate:i,onComplete:p});return await f({response:I.history.events,namespace:t,settings:o,accessToken:a})},g=async({namespace:t,workflowId:e,runId:s,sort:n})=>{const o=l(`events.${n}`,{namespace:t,workflowId:e,runId:s});try{return(await w(o,{request:fetch,params:{maximumPageSize:"20"}})).history.events}catch{return[]}},$=async t=>{const{settings:e,namespace:s,accessToken:n}=t,o=await g({...t,sort:"ascending"}),a=await g({...t,sort:"descending"}),[c,i]=await Promise.all([f({response:o,namespace:s,settings:e,accessToken:n}),f({response:a,namespace:s,settings:e,accessToken:n})]);return{start:c,end:i}};export{U as a,_ as b,j as c,X as e,$ as f,D as i,Z as r,Y as t}; diff --git a/ui/assets/cloud/_app/immutable/chunks/events-service.c3f5d068.js b/ui/assets/local/_app/immutable/chunks/events-service.8ba652e5.js similarity index 85% rename from ui/assets/cloud/_app/immutable/chunks/events-service.c3f5d068.js rename to ui/assets/local/_app/immutable/chunks/events-service.8ba652e5.js index f5fd4cd5f6..b01c52c3c7 100644 --- a/ui/assets/cloud/_app/immutable/chunks/events-service.c3f5d068.js +++ b/ui/assets/local/_app/immutable/chunks/events-service.8ba652e5.js @@ -1 +1 @@ -import{d as r,w as u}from"./index.255b7490.js";import{p as m}from"./stores.1f7fa6eb.js";import{e as S}from"./event-view.73e1a728.js";import{k as v}from"./route-for.5e008fb6.js";import{r as y}from"./workflow-run.2461dc7d.js";import{a as F}from"./auth-user.ead5c000.js";import{D as q}from"./is-event-type.0064ca29.js";import{p as h}from"./paginated.03c25b75.js";import{r as l,a as w}from"./route-for-api.5906c1df.js";import{t as f}from"./index.823c6788.js";import{b as A}from"./has.8da86d13.js";const H=r([m],([t])=>t.params.namespace?v(t.params.namespace):""),P=r([m],([t])=>t.params.workflow?v(t.params.workflow):""),T=r([m],([t])=>t.params.run?v(t.params.run):""),b=r([m],([t])=>{var e;return(e=t.data)==null?void 0:e.settings}),x=r([F],([t])=>t==null?void 0:t.accessToken),z=r([H,P,T,S],([t,e,s,n])=>({namespace:t,workflowId:e,runId:s,sort:n}));r([z,b,x,y],([t,e,s,n])=>({...t,settings:e,accessToken:s,refresh:y,$refresh:n}));const D={start:[],end:[]},X=u(D),Y=u(null),j=u([]),Z=r(j,t=>t.filter(q)),k=t=>!A(t)||t==="descending"?"events.descending":t==="ascending"?"events.ascending":"events.descending",_=async({namespace:t,workflowId:e,runId:s,sort:n,onStart:o,onUpdate:a,onComplete:c})=>{const i=k(n),p=l(i,{namespace:t,workflowId:e,runId:s});return(await h(async d=>w(p,{token:d,request:fetch}),{onStart:o,onUpdate:a,onComplete:c})).history.events},U=async({namespace:t,workflowId:e,runId:s,sort:n,settings:o,accessToken:a,onStart:c,onUpdate:i,onComplete:p})=>{const E=k(n),d=l(E,{namespace:t,workflowId:e,runId:s}),I=await h(async R=>w(d,{token:R,request:fetch}),{onStart:c,onUpdate:i,onComplete:p});return await f({response:I.history.events,namespace:t,settings:o,accessToken:a})},g=async({namespace:t,workflowId:e,runId:s,sort:n})=>{const o=l(`events.${n}`,{namespace:t,workflowId:e,runId:s});try{return(await w(o,{request:fetch,params:{maximumPageSize:"20"}})).history.events}catch{return[]}},$=async t=>{const{settings:e,namespace:s,accessToken:n}=t,o=await g({...t,sort:"ascending"}),a=await g({...t,sort:"descending"}),[c,i]=await Promise.all([f({response:o,namespace:s,settings:e,accessToken:n}),f({response:a,namespace:s,settings:e,accessToken:n})]);return{start:c,end:i}};export{U as a,_ as b,j as c,X as e,$ as f,D as i,Z as r,Y as t}; +import{d as r,w as u}from"./index.255b7490.js";import{p as m}from"./stores.8c019868.js";import{e as S}from"./event-view.73e1a728.js";import{k as v}from"./route-for.3e9c6ff4.js";import{r as y}from"./workflow-run.2461dc7d.js";import{a as F}from"./auth-user.ead5c000.js";import{D as q}from"./is-event-type.0064ca29.js";import{p as h}from"./paginated.5c5a4acc.js";import{r as l,a as w}from"./route-for-api.851ff400.js";import{t as f}from"./index.227f6018.js";import{b as A}from"./has.8da86d13.js";const H=r([m],([t])=>t.params.namespace?v(t.params.namespace):""),P=r([m],([t])=>t.params.workflow?v(t.params.workflow):""),T=r([m],([t])=>t.params.run?v(t.params.run):""),b=r([m],([t])=>{var e;return(e=t.data)==null?void 0:e.settings}),x=r([F],([t])=>t==null?void 0:t.accessToken),z=r([H,P,T,S],([t,e,s,n])=>({namespace:t,workflowId:e,runId:s,sort:n}));r([z,b,x,y],([t,e,s,n])=>({...t,settings:e,accessToken:s,refresh:y,$refresh:n}));const D={start:[],end:[]},X=u(D),Y=u(null),j=u([]),Z=r(j,t=>t.filter(q)),k=t=>!A(t)||t==="descending"?"events.descending":t==="ascending"?"events.ascending":"events.descending",_=async({namespace:t,workflowId:e,runId:s,sort:n,onStart:o,onUpdate:a,onComplete:c})=>{const i=k(n),p=l(i,{namespace:t,workflowId:e,runId:s});return(await h(async d=>w(p,{token:d,request:fetch}),{onStart:o,onUpdate:a,onComplete:c})).history.events},U=async({namespace:t,workflowId:e,runId:s,sort:n,settings:o,accessToken:a,onStart:c,onUpdate:i,onComplete:p})=>{const E=k(n),d=l(E,{namespace:t,workflowId:e,runId:s}),I=await h(async R=>w(d,{token:R,request:fetch}),{onStart:c,onUpdate:i,onComplete:p});return await f({response:I.history.events,namespace:t,settings:o,accessToken:a})},g=async({namespace:t,workflowId:e,runId:s,sort:n})=>{const o=l(`events.${n}`,{namespace:t,workflowId:e,runId:s});try{return(await w(o,{request:fetch,params:{maximumPageSize:"20"}})).history.events}catch{return[]}},$=async t=>{const{settings:e,namespace:s,accessToken:n}=t,o=await g({...t,sort:"ascending"}),a=await g({...t,sort:"descending"}),[c,i]=await Promise.all([f({response:o,namespace:s,settings:e,accessToken:n}),f({response:a,namespace:s,settings:e,accessToken:n})]);return{start:c,end:i}};export{U as a,_ as b,j as c,X as e,$ as f,D as i,Z as r,Y as t}; diff --git a/ui/assets/local/_app/immutable/chunks/feedback-button.6827b829.js b/ui/assets/local/_app/immutable/chunks/feedback-button.6827b829.js deleted file mode 100644 index f63e81d198..0000000000 --- a/ui/assets/local/_app/immutable/chunks/feedback-button.6827b829.js +++ /dev/null @@ -1,3 +0,0 @@ -import{S as v,b,a as g,m as f,C as k,w as $,p as m,q as p,D as x,k as d,x as w,u as r,f as y,M as _,E as F,n as L,j as E,g as I,F as D,L as q}from"./index.d29c66be.js";import{I as C}from"./icon.5aa23970.js";import{p as G}from"./stores.b938c0e3.js";const A=""+new URL("../assets/logo.44c7bc2a.svg",import.meta.url).href;function R(c){let e,s,n,t,o,i;return t=new C({props:{class:"text-purple-200",name:"feedback",height:12,width:12}}),{c(){e=f("a"),s=f("div"),n=f("div"),k(t.$$.fragment),o=$(` - Give Feedback`),this.h()},l(a){e=m(a,"A",{href:!0,target:!0,"data-testid":!0,rel:!0});var l=p(e);s=m(l,"DIV",{class:!0});var u=p(s);n=m(u,"DIV",{class:!0});var h=p(n);x(t.$$.fragment,h),h.forEach(d),o=w(u,` - Give Feedback`),u.forEach(d),l.forEach(d),this.h()},h(){r(n,"class","feedback-icon svelte-x1notn"),r(s,"class","feedback-button svelte-x1notn"),r(e,"href",c[0]),r(e,"target","_blank"),r(e,"data-testid","give-feedback"),r(e,"rel","noreferrer")},m(a,l){y(a,e,l),_(e,s),_(s,n),F(t,n,null),_(s,o),i=!0},p:L,i(a){i||(E(t.$$.fragment,a),i=!0)},o(a){I(t.$$.fragment,a),i=!1},d(a){a&&d(e),D(t)}}}function S(c,e,s){let n;q(c,G,a=>s(3,n=a));var t,o;return[((o=(t=n.data)===null||t===void 0?void 0:t.settings)===null||o===void 0?void 0:o.feedbackURL)||"https://github.com/temporalio/ui/issues/new/choose"]}class B extends v{constructor(e){super(),b(this,e,S,R,g,{})}}export{B as F,A as L}; diff --git a/ui/assets/cloud/_app/immutable/chunks/feedback-button.689bf634.js b/ui/assets/local/_app/immutable/chunks/feedback-button.fb093b9d.js similarity index 95% rename from ui/assets/cloud/_app/immutable/chunks/feedback-button.689bf634.js rename to ui/assets/local/_app/immutable/chunks/feedback-button.fb093b9d.js index b4ae573a3d..734e1af647 100644 --- a/ui/assets/cloud/_app/immutable/chunks/feedback-button.689bf634.js +++ b/ui/assets/local/_app/immutable/chunks/feedback-button.fb093b9d.js @@ -1,3 +1,3 @@ -import{S as v,b,a as g,m as f,C as k,w as $,p as m,q as p,D as x,k as d,x as w,u as r,f as y,M as _,E as F,n as L,j as E,g as I,F as D,L as q}from"./index.d29c66be.js";import{I as C}from"./icon.5aa23970.js";import{p as G}from"./stores.1f7fa6eb.js";const A=""+new URL("../assets/logo.44c7bc2a.svg",import.meta.url).href;function R(c){let e,s,n,t,o,i;return t=new C({props:{class:"text-purple-200",name:"feedback",height:12,width:12}}),{c(){e=f("a"),s=f("div"),n=f("div"),k(t.$$.fragment),o=$(` +import{S as v,b,a as g,m as f,C as k,w as $,p as m,q as p,D as x,k as d,x as w,u as r,f as y,M as _,E as F,n as L,j as E,g as I,F as D,L as q}from"./index.d29c66be.js";import{I as C}from"./icon.5aa23970.js";import{p as G}from"./stores.8c019868.js";const A=""+new URL("../assets/logo.44c7bc2a.svg",import.meta.url).href;function R(c){let e,s,n,t,o,i;return t=new C({props:{class:"text-purple-200",name:"feedback",height:12,width:12}}),{c(){e=f("a"),s=f("div"),n=f("div"),k(t.$$.fragment),o=$(` Give Feedback`),this.h()},l(a){e=m(a,"A",{href:!0,target:!0,"data-testid":!0,rel:!0});var l=p(e);s=m(l,"DIV",{class:!0});var u=p(s);n=m(u,"DIV",{class:!0});var h=p(n);x(t.$$.fragment,h),h.forEach(d),o=w(u,` Give Feedback`),u.forEach(d),l.forEach(d),this.h()},h(){r(n,"class","feedback-icon svelte-x1notn"),r(s,"class","feedback-button svelte-x1notn"),r(e,"href",c[0]),r(e,"target","_blank"),r(e,"data-testid","give-feedback"),r(e,"rel","noreferrer")},m(a,l){y(a,e,l),_(e,s),_(s,n),F(t,n,null),_(s,o),i=!0},p:L,i(a){i||(E(t.$$.fragment,a),i=!0)},o(a){I(t.$$.fragment,a),i=!1},d(a){a&&d(e),D(t)}}}function S(c,e,s){let n;q(c,G,a=>s(3,n=a));var t,o;return[((o=(t=n.data)===null||t===void 0?void 0:t.settings)===null||o===void 0?void 0:o.feedbackURL)||"https://github.com/temporalio/ui/issues/new/choose"]}class B extends v{constructor(e){super(),b(this,e,S,R,g,{})}}export{B as F,A as L}; diff --git a/ui/assets/cloud/_app/immutable/chunks/filters.2ba801c3.js b/ui/assets/local/_app/immutable/chunks/filters.9cc46c9a.js similarity index 78% rename from ui/assets/cloud/_app/immutable/chunks/filters.2ba801c3.js rename to ui/assets/local/_app/immutable/chunks/filters.9cc46c9a.js index fe574f878c..05b675800b 100644 --- a/ui/assets/cloud/_app/immutable/chunks/filters.2ba801c3.js +++ b/ui/assets/local/_app/immutable/chunks/filters.9cc46c9a.js @@ -1 +1 @@ -import{p as u}from"./persist-store.bb6871e4.js";import{d as t,w as s}from"./index.255b7490.js";import{p as i}from"./stores.1f7fa6eb.js";import{K as o}from"./index.d29c66be.js";const l=t([i],([r])=>r.url.searchParams.get("query")),n=t([i],([r])=>r.url.searchParams.get("category")),a=t([l,n],([r,e])=>({query:r,category:e})),c=r=>a.subscribe(({query:e})=>{!e&&o(m).length&&r([])}),p=r=>a.subscribe(({query:e})=>{!e&&o(g).length&&r([])}),q=u("workflowDateTimeFilter",void 0,!0),m=s([],c),g=s([],p),f=r=>a.subscribe(({category:e})=>{!e&&o(y)&&r(null)}),y=s(null,f);export{m as a,y as e,q as p,g as w}; +import{p as u}from"./persist-store.bb6871e4.js";import{d as t,w as s}from"./index.255b7490.js";import{p as i}from"./stores.8c019868.js";import{K as o}from"./index.d29c66be.js";const l=t([i],([r])=>r.url.searchParams.get("query")),n=t([i],([r])=>r.url.searchParams.get("category")),a=t([l,n],([r,e])=>({query:r,category:e})),c=r=>a.subscribe(({query:e})=>{!e&&o(m).length&&r([])}),p=r=>a.subscribe(({query:e})=>{!e&&o(g).length&&r([])}),q=u("workflowDateTimeFilter",void 0,!0),m=s([],c),g=s([],p),f=r=>a.subscribe(({category:e})=>{!e&&o(y)&&r(null)}),y=s(null,f);export{m as a,y as e,q as p,g as w}; diff --git a/ui/assets/local/_app/immutable/chunks/filters.a4cc47c7.js b/ui/assets/local/_app/immutable/chunks/filters.a4cc47c7.js deleted file mode 100644 index 9e4dc3ab2a..0000000000 --- a/ui/assets/local/_app/immutable/chunks/filters.a4cc47c7.js +++ /dev/null @@ -1 +0,0 @@ -import{p as u}from"./persist-store.bb6871e4.js";import{d as t,w as s}from"./index.255b7490.js";import{p as i}from"./stores.b938c0e3.js";import{K as o}from"./index.d29c66be.js";const l=t([i],([r])=>r.url.searchParams.get("query")),n=t([i],([r])=>r.url.searchParams.get("category")),a=t([l,n],([r,e])=>({query:r,category:e})),c=r=>a.subscribe(({query:e})=>{!e&&o(m).length&&r([])}),p=r=>a.subscribe(({query:e})=>{!e&&o(g).length&&r([])}),q=u("workflowDateTimeFilter",void 0,!0),m=s([],c),g=s([],p),f=r=>a.subscribe(({category:e})=>{!e&&o(y)&&r(null)}),y=s(null,f);export{m as a,y as e,q as p,g as w}; diff --git a/ui/assets/cloud/_app/immutable/chunks/index.823c6788.js b/ui/assets/local/_app/immutable/chunks/index.227f6018.js similarity index 96% rename from ui/assets/cloud/_app/immutable/chunks/index.823c6788.js rename to ui/assets/local/_app/immutable/chunks/index.227f6018.js index 6fb6cad2fb..7a4e956e2c 100644 --- a/ui/assets/cloud/_app/immutable/chunks/index.823c6788.js +++ b/ui/assets/local/_app/immutable/chunks/index.227f6018.js @@ -1 +1 @@ -import{c as y,p as T,i as g}from"./is-http.91300684.js";import{c as v,a as k,d as w}from"./decode-payload.fd21ad3e.js";import{f as P}from"./format-date.100c5f23.js";import{f as S}from"./is-event-type.0064ca29.js";import{g as R,a as q,b as E}from"./get-codec.a019b391.js";import{g as I}from"./get-event-categorization.b6da7e5f.js";import{s as W}from"./simplify-attributes.28929a11.js";const F=["Unspecified","Scheduled","Open","New","Started","Initiated","Running","Completed","Fired","CancelRequested","TimedOut","Signaled","Canceled","Failed","Terminated"],J=e=>{if(e.includes("RequestCancel"))return"CancelRequested";for(const n of F)if(e.includes(n))return n};async function O({historyEvent:e,namespace:n,settings:t,accessToken:s},{convertWithCodec:a=v,convertWithWebsocket:o=k,decodeAttributes:c=w,encoderEndpoint:i=y,codecPassAccessToken:d=T,codecIncludeCredentials:r=g}={}){const{key:l,attributes:u}=S(e),m=R(t,i),p=q(t,d),f=E(t,r),C={...t,codec:{...t==null?void 0:t.codec,endpoint:m,passAccessToken:p,includeCredentials:f}},A=m?await a({attributes:u,namespace:n,settings:C,accessToken:s}):await o(u),b=c(A);return{type:l,...b}}const x=async({historyEvent:e,namespace:n,settings:t,accessToken:s})=>{const a=String(e.eventId),o=e.eventType,c=P(String(e.eventTime)),i=J(o),d=I(o),r=await O({historyEvent:e,namespace:n,settings:t,accessToken:s}).then(l=>W(l));return{...e,name:o,id:a,eventType:o,timestamp:c,classification:i,category:d,attributes:r}},j=async({response:e,namespace:n,settings:t,accessToken:s})=>await Promise.all(e.map(a=>x({historyEvent:a,namespace:n,settings:t,accessToken:s})));export{j as t}; +import{c as y,p as T,i as g}from"./is-http.91300684.js";import{c as v,a as k,d as w}from"./decode-payload.f6b25529.js";import{f as P}from"./format-date.100c5f23.js";import{f as S}from"./is-event-type.0064ca29.js";import{g as R,a as q,b as E}from"./get-codec.a019b391.js";import{g as I}from"./get-event-categorization.b6da7e5f.js";import{s as W}from"./simplify-attributes.28929a11.js";const F=["Unspecified","Scheduled","Open","New","Started","Initiated","Running","Completed","Fired","CancelRequested","TimedOut","Signaled","Canceled","Failed","Terminated"],J=e=>{if(e.includes("RequestCancel"))return"CancelRequested";for(const n of F)if(e.includes(n))return n};async function O({historyEvent:e,namespace:n,settings:t,accessToken:s},{convertWithCodec:a=v,convertWithWebsocket:o=k,decodeAttributes:c=w,encoderEndpoint:i=y,codecPassAccessToken:d=T,codecIncludeCredentials:r=g}={}){const{key:l,attributes:u}=S(e),m=R(t,i),p=q(t,d),f=E(t,r),C={...t,codec:{...t==null?void 0:t.codec,endpoint:m,passAccessToken:p,includeCredentials:f}},A=m?await a({attributes:u,namespace:n,settings:C,accessToken:s}):await o(u),b=c(A);return{type:l,...b}}const x=async({historyEvent:e,namespace:n,settings:t,accessToken:s})=>{const a=String(e.eventId),o=e.eventType,c=P(String(e.eventTime)),i=J(o),d=I(o),r=await O({historyEvent:e,namespace:n,settings:t,accessToken:s}).then(l=>W(l));return{...e,name:o,id:a,eventType:o,timestamp:c,classification:i,category:d,attributes:r}},j=async({response:e,namespace:n,settings:t,accessToken:s})=>await Promise.all(e.map(a=>x({historyEvent:a,namespace:n,settings:t,accessToken:s})));export{j as t}; diff --git a/ui/assets/local/_app/immutable/chunks/index.2668dc9e.js b/ui/assets/local/_app/immutable/chunks/index.2668dc9e.js deleted file mode 100644 index a9f6f874db..0000000000 --- a/ui/assets/local/_app/immutable/chunks/index.2668dc9e.js +++ /dev/null @@ -1 +0,0 @@ -import{c as y,p as T,i as g}from"./is-http.91300684.js";import{c as v,a as k,d as w}from"./decode-payload.f0f298e9.js";import{f as P}from"./format-date.100c5f23.js";import{f as S}from"./is-event-type.0064ca29.js";import{g as R,a as q,b as E}from"./get-codec.a019b391.js";import{g as I}from"./get-event-categorization.b6da7e5f.js";import{s as W}from"./simplify-attributes.28929a11.js";const F=["Unspecified","Scheduled","Open","New","Started","Initiated","Running","Completed","Fired","CancelRequested","TimedOut","Signaled","Canceled","Failed","Terminated"],J=e=>{if(e.includes("RequestCancel"))return"CancelRequested";for(const n of F)if(e.includes(n))return n};async function O({historyEvent:e,namespace:n,settings:t,accessToken:s},{convertWithCodec:a=v,convertWithWebsocket:o=k,decodeAttributes:c=w,encoderEndpoint:i=y,codecPassAccessToken:d=T,codecIncludeCredentials:r=g}={}){const{key:l,attributes:u}=S(e),m=R(t,i),p=q(t,d),f=E(t,r),C={...t,codec:{...t==null?void 0:t.codec,endpoint:m,passAccessToken:p,includeCredentials:f}},A=m?await a({attributes:u,namespace:n,settings:C,accessToken:s}):await o(u),b=c(A);return{type:l,...b}}const x=async({historyEvent:e,namespace:n,settings:t,accessToken:s})=>{const a=String(e.eventId),o=e.eventType,c=P(String(e.eventTime)),i=J(o),d=I(o),r=await O({historyEvent:e,namespace:n,settings:t,accessToken:s}).then(l=>W(l));return{...e,name:o,id:a,eventType:o,timestamp:c,classification:i,category:d,attributes:r}},j=async({response:e,namespace:n,settings:t,accessToken:s})=>await Promise.all(e.map(a=>x({historyEvent:a,namespace:n,settings:t,accessToken:s})));export{j as t}; diff --git a/ui/assets/cloud/_app/immutable/chunks/list-workflow-query.722ba818.js b/ui/assets/local/_app/immutable/chunks/list-workflow-query.4d12de04.js similarity index 95% rename from ui/assets/cloud/_app/immutable/chunks/list-workflow-query.722ba818.js rename to ui/assets/local/_app/immutable/chunks/list-workflow-query.4d12de04.js index 12141272cd..51868431dc 100644 --- a/ui/assets/cloud/_app/immutable/chunks/list-workflow-query.722ba818.js +++ b/ui/assets/local/_app/immutable/chunks/list-workflow-query.4d12de04.js @@ -1 +1 @@ -import{k as f,l as d,m as s,n as m}from"./format-time.66fea38b.js";import{d as o}from"./index.255b7490.js";import{p as l}from"./stores.1f7fa6eb.js";import{c as n}from"./cluster.90d7eb2f.js";import{t as u}from"./versions.dfa21225.js";import{i as c}from"./version-check.d006b302.js";import{K as p}from"./index.d29c66be.js";const y=(t,r)=>{var i;return((i=t==null?void 0:t.visibilityStore)==null?void 0:i.includes("elasticsearch"))||c(r,"1.19")},w=t=>{var r;return(r=t==null?void 0:t.visibilityStore)==null?void 0:r.includes("elasticsearch")},a=o([l],([t])=>{var r,i,e;return(e=(i=(r=t.data)==null?void 0:r.settings)==null?void 0:i.runtimeEnvironment)==null?void 0:e.isCloud}),b=o([n,u,a],([t,r,i])=>y(t,r)||i),D=o([n,a],([t,r])=>w(t)||r),S={workflowId:"WorkflowId",workflowType:"WorkflowType",timeRange:"StartTime",executionStatus:"ExecutionStatus",closeTime:"CloseTime"},g=["workflowId","workflowType","timeRange","executionStatus","closeTime"],T=t=>!(t===null||t===void 0||t===""||typeof t=="string"&&t==="undefined"),E=t=>{if(typeof t!="string")return!1;for(const r of g)if(r===t)return!0;return!1},V=(t,r,i)=>{const e=S[t];return r==="All"?"":f(r)||d(r)?i||p(b)?`${e} > "${s(r)}"`:`${e} BETWEEN "${s(r)}" AND "${m()}"`:`${e}="${r}"`},$=(t,r)=>Object.entries(t).map(([i,e])=>{if(E(i)&&T(e))return V(i,e,r)}).filter(Boolean),C=(t,r=!1)=>$(t,r).join(" and ");export{D as a,a as i,b as s,C as t}; +import{k as f,l as d,m as s,n as m}from"./format-time.66fea38b.js";import{d as o}from"./index.255b7490.js";import{p as l}from"./stores.8c019868.js";import{c as n}from"./cluster.90d7eb2f.js";import{t as u}from"./versions.dfa21225.js";import{i as c}from"./version-check.d006b302.js";import{K as p}from"./index.d29c66be.js";const y=(t,r)=>{var i;return((i=t==null?void 0:t.visibilityStore)==null?void 0:i.includes("elasticsearch"))||c(r,"1.19")},w=t=>{var r;return(r=t==null?void 0:t.visibilityStore)==null?void 0:r.includes("elasticsearch")},a=o([l],([t])=>{var r,i,e;return(e=(i=(r=t.data)==null?void 0:r.settings)==null?void 0:i.runtimeEnvironment)==null?void 0:e.isCloud}),b=o([n,u,a],([t,r,i])=>y(t,r)||i),D=o([n,a],([t,r])=>w(t)||r),S={workflowId:"WorkflowId",workflowType:"WorkflowType",timeRange:"StartTime",executionStatus:"ExecutionStatus",closeTime:"CloseTime"},g=["workflowId","workflowType","timeRange","executionStatus","closeTime"],T=t=>!(t===null||t===void 0||t===""||typeof t=="string"&&t==="undefined"),E=t=>{if(typeof t!="string")return!1;for(const r of g)if(r===t)return!0;return!1},V=(t,r,i)=>{const e=S[t];return r==="All"?"":f(r)||d(r)?i||p(b)?`${e} > "${s(r)}"`:`${e} BETWEEN "${s(r)}" AND "${m()}"`:`${e}="${r}"`},$=(t,r)=>Object.entries(t).map(([i,e])=>{if(E(i)&&T(e))return V(i,e,r)}).filter(Boolean),C=(t,r=!1)=>$(t,r).join(" and ");export{D as a,a as i,b as s,C as t}; diff --git a/ui/assets/local/_app/immutable/chunks/list-workflow-query.c93ce807.js b/ui/assets/local/_app/immutable/chunks/list-workflow-query.c93ce807.js deleted file mode 100644 index 5ce8c8a23d..0000000000 --- a/ui/assets/local/_app/immutable/chunks/list-workflow-query.c93ce807.js +++ /dev/null @@ -1 +0,0 @@ -import{k as f,l as d,m as s,n as m}from"./format-time.66fea38b.js";import{d as o}from"./index.255b7490.js";import{p as l}from"./stores.b938c0e3.js";import{c as n}from"./cluster.90d7eb2f.js";import{t as u}from"./versions.dfa21225.js";import{i as c}from"./version-check.d006b302.js";import{K as p}from"./index.d29c66be.js";const y=(t,r)=>{var i;return((i=t==null?void 0:t.visibilityStore)==null?void 0:i.includes("elasticsearch"))||c(r,"1.19")},w=t=>{var r;return(r=t==null?void 0:t.visibilityStore)==null?void 0:r.includes("elasticsearch")},a=o([l],([t])=>{var r,i,e;return(e=(i=(r=t.data)==null?void 0:r.settings)==null?void 0:i.runtimeEnvironment)==null?void 0:e.isCloud}),b=o([n,u,a],([t,r,i])=>y(t,r)||i),D=o([n,a],([t,r])=>w(t)||r),S={workflowId:"WorkflowId",workflowType:"WorkflowType",timeRange:"StartTime",executionStatus:"ExecutionStatus",closeTime:"CloseTime"},g=["workflowId","workflowType","timeRange","executionStatus","closeTime"],T=t=>!(t===null||t===void 0||t===""||typeof t=="string"&&t==="undefined"),E=t=>{if(typeof t!="string")return!1;for(const r of g)if(r===t)return!0;return!1},V=(t,r,i)=>{const e=S[t];return r==="All"?"":f(r)||d(r)?i||p(b)?`${e} > "${s(r)}"`:`${e} BETWEEN "${s(r)}" AND "${m()}"`:`${e}="${r}"`},$=(t,r)=>Object.entries(t).map(([i,e])=>{if(E(i)&&T(e))return V(i,e,r)}).filter(Boolean),C=(t,r=!1)=>$(t,r).join(" and ");export{D as a,a as i,b as s,C as t}; diff --git a/ui/assets/local/_app/immutable/chunks/namespaces-service.00a861d3.js b/ui/assets/local/_app/immutable/chunks/namespaces-service.00a861d3.js deleted file mode 100644 index da5cbae435..0000000000 --- a/ui/assets/local/_app/immutable/chunks/namespaces-service.00a861d3.js +++ /dev/null @@ -1 +0,0 @@ -import{t as p}from"./toaster.fda31b2d.js";import{n as c}from"./namespaces.52575875.js";import{p as u}from"./paginated.a3aba4c2.js";import{r as f,a as i}from"./route-for-api.58c31c66.js";const h={namespaces:[]};async function N(n,e=fetch){const{showTemporalSystemNamespace:o,runtimeEnvironment:a}=n;if(a.isCloud){c.set([]);return}try{const s=f("namespaces"),r=await u(async m=>i(s,{request:e,token:m,onError:()=>p.push({variant:"error",message:"Unable to fetch namespaces"})})),t=((r==null?void 0:r.namespaces)??[]).filter(m=>o||m.namespaceInfo.name!=="temporal-system");c.set(t)}catch{c.set([])}}async function d(n,e,o=fetch){var t;const[a]=h.namespaces;if((t=e==null?void 0:e.runtimeEnvironment)!=null&&t.isCloud)return a;const s=f("namespace",{namespace:n});return await i(s,{request:o,onError:()=>p.push({variant:"error",message:"Unable to fetch namespaces"})})??a}export{d as a,N as f}; diff --git a/ui/assets/cloud/_app/immutable/chunks/namespaces-service.bc2964ad.js b/ui/assets/local/_app/immutable/chunks/namespaces-service.97b7c0ed.js similarity index 85% rename from ui/assets/cloud/_app/immutable/chunks/namespaces-service.bc2964ad.js rename to ui/assets/local/_app/immutable/chunks/namespaces-service.97b7c0ed.js index 343504e3f9..cd95f55e84 100644 --- a/ui/assets/cloud/_app/immutable/chunks/namespaces-service.bc2964ad.js +++ b/ui/assets/local/_app/immutable/chunks/namespaces-service.97b7c0ed.js @@ -1 +1 @@ -import{t as p}from"./toaster.fda31b2d.js";import{n as c}from"./namespaces.52575875.js";import{p as u}from"./paginated.03c25b75.js";import{r as f,a as i}from"./route-for-api.5906c1df.js";const h={namespaces:[]};async function N(n,e=fetch){const{showTemporalSystemNamespace:o,runtimeEnvironment:a}=n;if(a.isCloud){c.set([]);return}try{const s=f("namespaces"),r=await u(async m=>i(s,{request:e,token:m,onError:()=>p.push({variant:"error",message:"Unable to fetch namespaces"})})),t=((r==null?void 0:r.namespaces)??[]).filter(m=>o||m.namespaceInfo.name!=="temporal-system");c.set(t)}catch{c.set([])}}async function d(n,e,o=fetch){var t;const[a]=h.namespaces;if((t=e==null?void 0:e.runtimeEnvironment)!=null&&t.isCloud)return a;const s=f("namespace",{namespace:n});return await i(s,{request:o,onError:()=>p.push({variant:"error",message:"Unable to fetch namespaces"})})??a}export{d as a,N as f}; +import{t as p}from"./toaster.fda31b2d.js";import{n as c}from"./namespaces.52575875.js";import{p as u}from"./paginated.5c5a4acc.js";import{r as f,a as i}from"./route-for-api.851ff400.js";const h={namespaces:[]};async function N(n,e=fetch){const{showTemporalSystemNamespace:o,runtimeEnvironment:a}=n;if(a.isCloud){c.set([]);return}try{const s=f("namespaces"),r=await u(async m=>i(s,{request:e,token:m,onError:()=>p.push({variant:"error",message:"Unable to fetch namespaces"})})),t=((r==null?void 0:r.namespaces)??[]).filter(m=>o||m.namespaceInfo.name!=="temporal-system");c.set(t)}catch{c.set([])}}async function d(n,e,o=fetch){var t;const[a]=h.namespaces;if((t=e==null?void 0:e.runtimeEnvironment)!=null&&t.isCloud)return a;const s=f("namespace",{namespace:n});return await i(s,{request:o,onError:()=>p.push({variant:"error",message:"Unable to fetch namespaces"})})??a}export{d as a,N as f}; diff --git a/ui/assets/local/_app/immutable/chunks/navigation.9ceca11e.js b/ui/assets/local/_app/immutable/chunks/navigation.9ceca11e.js deleted file mode 100644 index 89f7884a9c..0000000000 --- a/ui/assets/local/_app/immutable/chunks/navigation.9ceca11e.js +++ /dev/null @@ -1 +0,0 @@ -import{h as a}from"./singletons.1197b53d.js";a.disable_scroll_handling;const e=a.goto,o=a.invalidate;a.invalidateAll;a.preload_data;a.preload_code;a.before_navigate;const i=a.after_navigate;export{i as a,e as g,o as i}; diff --git a/ui/assets/cloud/_app/immutable/chunks/navigation.529c81bc.js b/ui/assets/local/_app/immutable/chunks/navigation.e41eebee.js similarity index 70% rename from ui/assets/cloud/_app/immutable/chunks/navigation.529c81bc.js rename to ui/assets/local/_app/immutable/chunks/navigation.e41eebee.js index a14dcf3a4d..2483db44ca 100644 --- a/ui/assets/cloud/_app/immutable/chunks/navigation.529c81bc.js +++ b/ui/assets/local/_app/immutable/chunks/navigation.e41eebee.js @@ -1 +1 @@ -import{h as a}from"./singletons.6d6802f9.js";a.disable_scroll_handling;const e=a.goto,o=a.invalidate;a.invalidateAll;a.preload_data;a.preload_code;a.before_navigate;const i=a.after_navigate;export{i as a,e as g,o as i}; +import{h as a}from"./singletons.9d1a23a0.js";a.disable_scroll_handling;const e=a.goto,o=a.invalidate;a.invalidateAll;a.preload_data;a.preload_code;a.before_navigate;const i=a.after_navigate;export{i as a,e as g,o as i}; diff --git a/ui/assets/cloud/_app/immutable/chunks/paginated.03c25b75.js b/ui/assets/local/_app/immutable/chunks/paginated.5c5a4acc.js similarity index 89% rename from ui/assets/cloud/_app/immutable/chunks/paginated.03c25b75.js rename to ui/assets/local/_app/immutable/chunks/paginated.5c5a4acc.js index fd6e998b50..e52ddf4ebc 100644 --- a/ui/assets/cloud/_app/immutable/chunks/paginated.03c25b75.js +++ b/ui/assets/local/_app/immutable/chunks/paginated.5c5a4acc.js @@ -1 +1 @@ -import{h as g}from"./route-for-api.5906c1df.js";import{i as c}from"./persist-store.bb6871e4.js";const p=(i={},e={})=>{const s={...i};for(const r of Object.keys(e)){const t=s[r];Array.isArray(t)?s[r]=s[r].concat(e[r]):typeof t=="object"&&!Array.isArray(t)?s[r]=p(s[r],e[r]):s[r]=e[r]}return s},k=async(i,{onStart:e,onUpdate:s,onComplete:r,onError:t=g,token:u,previousProps:n}={})=>{!n&&c(e)&&e();try{const a=await i(u),{nextPageToken:f,...y}=a,o=p(n,y);return c(s)&&s(o,y),f?k(i,{onStart:e,onUpdate:s,onComplete:r,token:f,previousProps:o}):(c(r)&&r(o),o)}catch(a){t(a)}};export{k as p}; +import{h as g}from"./route-for-api.851ff400.js";import{i as c}from"./persist-store.bb6871e4.js";const p=(i={},e={})=>{const s={...i};for(const r of Object.keys(e)){const t=s[r];Array.isArray(t)?s[r]=s[r].concat(e[r]):typeof t=="object"&&!Array.isArray(t)?s[r]=p(s[r],e[r]):s[r]=e[r]}return s},k=async(i,{onStart:e,onUpdate:s,onComplete:r,onError:t=g,token:u,previousProps:n}={})=>{!n&&c(e)&&e();try{const a=await i(u),{nextPageToken:f,...y}=a,o=p(n,y);return c(s)&&s(o,y),f?k(i,{onStart:e,onUpdate:s,onComplete:r,token:f,previousProps:o}):(c(r)&&r(o),o)}catch(a){t(a)}};export{k as p}; diff --git a/ui/assets/local/_app/immutable/chunks/paginated.a3aba4c2.js b/ui/assets/local/_app/immutable/chunks/paginated.a3aba4c2.js deleted file mode 100644 index 6a1b6579e7..0000000000 --- a/ui/assets/local/_app/immutable/chunks/paginated.a3aba4c2.js +++ /dev/null @@ -1 +0,0 @@ -import{h as g}from"./route-for-api.58c31c66.js";import{i as c}from"./persist-store.bb6871e4.js";const p=(i={},e={})=>{const s={...i};for(const r of Object.keys(e)){const t=s[r];Array.isArray(t)?s[r]=s[r].concat(e[r]):typeof t=="object"&&!Array.isArray(t)?s[r]=p(s[r],e[r]):s[r]=e[r]}return s},k=async(i,{onStart:e,onUpdate:s,onComplete:r,onError:t=g,token:u,previousProps:n}={})=>{!n&&c(e)&&e();try{const a=await i(u),{nextPageToken:f,...y}=a,o=p(n,y);return c(s)&&s(o,y),f?k(i,{onStart:e,onUpdate:s,onComplete:r,token:f,previousProps:o}):(c(r)&&r(o),o)}catch(a){t(a)}};export{k as p}; diff --git a/ui/assets/local/_app/immutable/chunks/pagination.15ad2803.js b/ui/assets/local/_app/immutable/chunks/pagination.15ad2803.js deleted file mode 100644 index 4c1b6e654c..0000000000 --- a/ui/assets/local/_app/immutable/chunks/pagination.15ad2803.js +++ /dev/null @@ -1 +0,0 @@ -import{K as j,S as Je,b as Xe,a as Ze,O as ce,A as Nt,Y as At,C as he,D as pe,E as Ie,V as St,a6 as Et,Z as jt,j as k,g as A,F as we,L as ht,P as Ee,G as ne,H as oe,I as ie,J as re,e as tt,f as C,z as Re,h as Ne,a7 as Kt,k as b,m as V,p as M,q as D,u as I,n as ee,$ as lt,c as Z,d as Q,X as Me,T as fe,M as w,am as Tt,U as ue,r as pt,a5 as st,ag as Vt,o as Mt,s as Dt,w as x,x as $,y as be}from"./index.d29c66be.js";import{p as Qe}from"./stores.b938c0e3.js";import{d as Ft,w as He}from"./index.255b7490.js";import{i as zt,g as Bt}from"./navigation.9ceca11e.js";import{S as Ot,a as Ut}from"./simple-select.2e5f96b1.js";const Ct={keepFocus:!0,noScroll:!0},De=async({parameter:e,value:t,url:a,goto:s=Bt,allowEmpty:l=!1})=>{var n,o;const u=String(t);if(t?a.searchParams.set(e,u):l?a.searchParams.set(e,""):a.searchParams.delete(e),a.href!==window.location.href){const r=`/namespaces/${(o=(n=j(Qe))==null?void 0:n.params)==null?void 0:o.namespace}/workflows`;a.pathname===r&&await zt(m=>m.pathname===r),s(a,Ct)}return t},Ae=100,je=["100","250","500"],Se="per-page",at=je[je.length-1],Fe=(e,t)=>Math.floor(e/t)+1,It=(e,t,a)=>isNaN(e)||e<=1?0:e>wt(t,a)?a.length-t:Math.floor(t*(e-1)),Wt=(e,t,a)=>{const s=Fe(e,t);return It(s,t,a)},nt=(e,t)=>Math.min(e-1,t-1),wt=(e,t)=>Math.ceil(t.length/e),Le=(e,t)=>isNaN(e)||e<0?0:ee>=t.length||e<0,Ht=(e=[],t=Ae,a=0)=>{t=Pt(t);const s=Wt(Ge(a),t,e),l=He(t),u=He(s),n=He(void 0),o=_=>{l.set(Ge(_))},f=()=>{u.update(_=>{const c=_+j(l);return qe(c,e)?_:Le(c,e)})},r=()=>{u.update(_=>{const c=_-j(l);return Le(c,e)})},m=_=>{const c=j(l),v=It(Number(_),c,e),T=e.slice(v,v+c).length;return j(n)>T-1&&n.set(T-1),u.set(v)},z=_=>{const c=Fe(Number(_),j(l));m(c)},N=_=>{for(let c=0;c{const c=N(_);return Fe(c,j(l))},O=_=>{const c=e.slice(j(u),j(u)+j(l)).length,v=nt(c,j(l));_<=v&&n.set(_)},d=()=>{const _=e.slice(j(u),j(u)+j(l)).length,c=nt(_,j(l));j(n)===void 0?n.set(0):j(n){const _=j(n)>=1?j(n)-1:0;n.set(_)},{subscribe:R}=Ft([u,l,n],([_,c,v])=>({items:e.slice(_,_+c),initialItem:e[0],hasPrevious:!qe(_-c,e),hasNext:!qe(_+c,e),startingIndex:_,endingIndex:Le(_+c-1,e),length:e.length,pageSize:c,currentPage:Fe(_,c),totalPages:wt(c,e),activeRowIndex:v}));return{subscribe:R,adjustPageSize:o,next:f,previous:r,jumpToPage:m,jumpToIndex:z,findIndex:N,findPage:P,nextRow:d,previousRow:U,setActiveRowIndex:O}},Pt=(e=Ae)=>{const t=Ge(e);return isNaN(t)||!t?Ae:t},Ge=(e=0)=>{const t=Number(e);return isNaN(t)||!t?0:Math.abs(t)};function ot(e,t,a){const s=e.slice();return s[13]=t[a],s}function it(e){let t,a;return t=new Ut({props:{value:e[13]}}),{c(){he(t.$$.fragment)},l(s){pe(t.$$.fragment,s)},m(s,l){Ie(t,s,l),a=!0},p(s,l){const u={};l&1&&(u.value=s[13]),t.$set(u)},i(s){a||(k(t.$$.fragment,s),a=!0)},o(s){A(t.$$.fragment,s),a=!1},d(s){we(t,s)}}}function Lt(e){let t,a,s=e[0].map(rt),l=[];for(let n=0;nA(l[n],1,1,()=>{l[n]=null});return{c(){for(let n=0;nAt(t,"value",u)),t.$on("change",e[3]),{c(){he(t.$$.fragment)},l(o){pe(t.$$.fragment,o)},m(o,f){Ie(t,o,f),s=!0},p(o,[f]){const r=f&20?St(l,[f&4&&{id:o[2]},f&16&&Et(o[4]),l[2]]):{};f&1025&&(r.$$scope={dirty:f,ctx:o}),!a&&f&2&&(a=!0,r.value=o[1],jt(()=>a=!1)),t.$set(r)},i(o){s||(k(t.$$.fragment,o),s=!0)},o(o){A(t.$$.fragment,o),s=!1},d(o){we(t,o)}}}const rt=e=>e.toString();function Jt(e,t,a){let s;ht(e,Qe,d=>a(11,s=d));let{$$slots:l={},$$scope:u}=t,{label:n=null}=t,{value:o}=t,{options:f=[]}=t,{parameter:r=null}=t;const m=`${r||n}-filter`;let N=r&&s.url.searchParams.get(r)||o&&o.toString();const P=()=>{De({parameter:r,value:N,url:s.url}).then(d=>a(5,o=d))};function O(d){N=d,a(1,N)}return e.$$set=d=>{a(4,t=ce(ce({},t),Ee(d))),"label"in d&&a(6,n=d.label),"value"in d&&a(5,o=d.value),"options"in d&&a(0,f=d.options),"parameter"in d&&a(7,r=d.parameter),"$$scope"in d&&a(10,u=d.$$scope)},t=Ee(t),[f,N,m,P,t,o,n,r,l,O,u]}class kt extends Je{constructor(t){super(),Xe(this,t,Jt,Gt,Ze,{label:6,value:5,options:0,parameter:7})}}const Xt=({width:e,height:t,screenWidth:a,breakpoint:s=1279})=>e&&t&&a>s?`position: absolute; right: ${e+20}px; top: -${t+14}px`:"";function Zt(e){let t,a;return{c(){t=V("div"),this.h()},l(s){t=M(s,"DIV",{class:!0}),D(t).forEach(b),this.h()},h(){I(t,"class",a="background-animate w-full rounded-full bg-gradient-to-r from-gray-100 via-gray-200 to-gray-300 "+e[0].class+" svelte-1hpjfio")},m(s,l){C(s,t,l)},p(s,[l]){l&1&&a!==(a="background-animate w-full rounded-full bg-gradient-to-r from-gray-100 via-gray-200 to-gray-300 "+s[0].class+" svelte-1hpjfio")&&I(t,"class",a)},i:ee,o:ee,d(s){s&&b(t)}}}function Qt(e,t,a){return e.$$set=s=>{a(0,t=ce(ce({},t),Ee(s)))},t=Ee(t),[t]}class Rt extends Je{constructor(t){super(),Xe(this,t,Qt,Zt,Ze,{})}}const Yt=e=>({visibleItems:e&64,initialItem:e&64,activeRowIndex:e&64,setActiveRowIndex:e&16}),ft=e=>({visibleItems:e[6].items,initialItem:e[6].initialItem,activeRowIndex:e[6].activeRowIndex,setActiveRowIndex:e[4].setActiveRowIndex}),yt=e=>({visibleItems:e&64,initialItem:e&64,activeRowIndex:e&64,setActiveRowIndex:e&16}),ut=e=>({visibleItems:e[6].items,initialItem:e[6].initialItem,activeRowIndex:e[6].activeRowIndex,setActiveRowIndex:e[4].setActiveRowIndex}),xt=e=>({visibleItems:e&64,initialItem:e&64,activeRowIndex:e&64,setActiveRowIndex:e&16}),ct=e=>({visibleItems:e[6].items,initialItem:e[6].initialItem,activeRowIndex:e[6].activeRowIndex,setActiveRowIndex:e[4].setActiveRowIndex}),$t=e=>({visibleItems:e&64,initialItem:e&64,activeRowIndex:e&64,setActiveRowIndex:e&16}),_t=e=>({visibleItems:e[6].items,initialItem:e[6].initialItem,activeRowIndex:e[6].activeRowIndex,setActiveRowIndex:e[4].setActiveRowIndex}),el=e=>({visibleItems:e&64,initialItem:e&64,activeRowIndex:e&64,setActiveRowIndex:e&16}),mt=e=>({visibleItems:e[6].items,initialItem:e[6].initialItem,activeRowIndex:e[6].activeRowIndex,setActiveRowIndex:e[4].setActiveRowIndex}),tl=e=>({visibleItems:e&64,initialItem:e&64,activeRowIndex:e&64,setActiveRowIndex:e&16}),gt=e=>({visibleItems:e[6].items,initialItem:e[6].initialItem,activeRowIndex:e[6].activeRowIndex,setActiveRowIndex:e[4].setActiveRowIndex}),ll=e=>({visibleItems:e&64,initialItem:e&64,activeRowIndex:e&64,setActiveRowIndex:e&16}),dt=e=>({visibleItems:e[6].items,initialItem:e[6].initialItem,activeRowIndex:e[6].activeRowIndex,setActiveRowIndex:e[4].setActiveRowIndex});function vt(e){let t,a;return t=new kt({props:{label:"Per Page",parameter:Se,value:e[5],options:je}}),{c(){he(t.$$.fragment)},l(s){pe(t.$$.fragment,s)},m(s,l){Ie(t,s,l),a=!0},p(s,l){const u={};l&32&&(u.value=s[5]),t.$set(u)},i(s){a||(k(t.$$.fragment,s),a=!0)},o(s){A(t.$$.fragment,s),a=!1},d(s){we(t,s)}}}function sl(e){let t=(e[6].length?e[6].startingIndex+1:0)+"",a,s,l=e[6].endingIndex+1+"",u,n,o=e[6].length+"",f;return{c(){a=x(t),s=x("–"),u=x(l),n=x(" of "),f=x(o)},l(r){a=$(r,t),s=$(r,"–"),u=$(r,l),n=$(r," of "),f=$(r,o)},m(r,m){C(r,a,m),C(r,s,m),C(r,u,m),C(r,n,m),C(r,f,m)},p(r,m){m&64&&t!==(t=(r[6].length?r[6].startingIndex+1:0)+"")&&be(a,t),m&64&&l!==(l=r[6].endingIndex+1+"")&&be(u,l),m&64&&o!==(o=r[6].length+"")&&be(f,o)},i:ee,o:ee,d(r){r&&b(a),r&&b(s),r&&b(u),r&&b(n),r&&b(f)}}}function al(e){let t,a;return t=new Rt({props:{class:"block h-5 w-24"}}),{c(){he(t.$$.fragment)},l(s){pe(t.$$.fragment,s)},m(s,l){Ie(t,s,l),a=!0},p:ee,i(s){a||(k(t.$$.fragment,s),a=!0)},o(s){A(t.$$.fragment,s),a=!1},d(s){we(t,s)}}}function nl(e){let t,a,s,l,u,n,o,f,r,m,z,N,P,O,d;const U=[al,sl],R=[];function _(c,v){return c[1]?0:1}return o=_(e),f=R[o]=U[o](e),{c(){t=V("div"),a=V("button"),s=V("span"),u=Z(),n=V("p"),f.c(),r=Z(),m=V("button"),z=V("span"),this.h()},l(c){t=M(c,"DIV",{class:!0});var v=D(t);a=M(v,"BUTTON",{class:!0,"aria-label":!0});var T=D(a);s=M(T,"SPAN",{class:!0}),D(s).forEach(b),T.forEach(b),u=Q(v),n=M(v,"P",{});var Y=D(n);f.l(Y),Y.forEach(b),r=Q(v),m=M(v,"BUTTON",{class:!0,"aria-label":!0});var K=D(m);z=M(K,"SPAN",{class:!0}),D(z).forEach(b),K.forEach(b),v.forEach(b),this.h()},h(){I(s,"class","arrow arrow-left svelte-1780ds3"),fe(s,"arrow-left-disabled",!e[6].hasPrevious),I(a,"class","caret svelte-1780ds3"),a.disabled=l=!e[6].hasPrevious,I(a,"aria-label","previous"),I(z,"class","arrow arrow-right svelte-1780ds3"),fe(z,"arrow-right-disabled",!e[6].hasNext),I(m,"class","caret svelte-1780ds3"),m.disabled=N=!e[6].hasNext,I(m,"aria-label","next"),I(t,"class","flex items-center justify-center gap-3")},m(c,v){C(c,t,v),w(t,a),w(a,s),w(t,u),w(t,n),R[o].m(n,null),w(t,r),w(t,m),w(m,z),P=!0,O||(d=[ue(a,"click",e[24]),ue(m,"click",e[25])],O=!0)},p(c,v){(!P||v&64)&&fe(s,"arrow-left-disabled",!c[6].hasPrevious),(!P||v&64&&l!==(l=!c[6].hasPrevious))&&(a.disabled=l);let T=o;o=_(c),o===T?R[o].p(c,v):(Re(),A(R[T],1,1,()=>{R[T]=null}),Ne(),f=R[o],f?f.p(c,v):(f=R[o]=U[o](c),f.c()),k(f,1),f.m(n,null)),(!P||v&64)&&fe(z,"arrow-right-disabled",!c[6].hasNext),(!P||v&64&&N!==(N=!c[6].hasNext))&&(m.disabled=N)},i(c){P||(k(f),P=!0)},o(c){A(f),P=!1},d(c){c&&b(t),R[o].d(),O=!1,pt(d)}}}function bt(e){let t,a;return t=new kt({props:{label:"Per Page",parameter:Se,value:e[5],options:je}}),{c(){he(t.$$.fragment)},l(s){pe(t.$$.fragment,s)},m(s,l){Ie(t,s,l),a=!0},p(s,l){const u={};l&32&&(u.value=s[5]),t.$set(u)},i(s){a||(k(t.$$.fragment,s),a=!0)},o(s){A(t.$$.fragment,s),a=!1},d(s){we(t,s)}}}function ol(e){let t=(e[6].length?e[6].startingIndex+1:0)+"",a,s,l=e[6].endingIndex+1+"",u,n,o=e[6].length+"",f;return{c(){a=x(t),s=x("–"),u=x(l),n=x(" of "),f=x(o)},l(r){a=$(r,t),s=$(r,"–"),u=$(r,l),n=$(r," of "),f=$(r,o)},m(r,m){C(r,a,m),C(r,s,m),C(r,u,m),C(r,n,m),C(r,f,m)},p(r,m){m&64&&t!==(t=(r[6].length?r[6].startingIndex+1:0)+"")&&be(a,t),m&64&&l!==(l=r[6].endingIndex+1+"")&&be(u,l),m&64&&o!==(o=r[6].length+"")&&be(f,o)},i:ee,o:ee,d(r){r&&b(a),r&&b(s),r&&b(u),r&&b(n),r&&b(f)}}}function il(e){let t,a;return t=new Rt({props:{class:"block h-5 w-24"}}),{c(){he(t.$$.fragment)},l(s){pe(t.$$.fragment,s)},m(s,l){Ie(t,s,l),a=!0},p:ee,i(s){a||(k(t.$$.fragment,s),a=!0)},o(s){A(t.$$.fragment,s),a=!1},d(s){we(t,s)}}}function rl(e){let t,a,s,l,u,n,o,f,r,m,z,N,P,O,d,U,R,_,c,v,T,Y,K,B,te,F,y,_e,Pe,me,ge,h,ke,Ke;lt(e[23]);const p=e[22]["action-top-left"],W=ne(p,e,e[21],dt),ze=e[22]["action-top-center"],H=ne(ze,e,e[21],gt);let S=!e[0]&&vt(e);const Be=e[22]["pagination-top"],Te=ne(Be,e,e[21],mt),L=Te||nl(e),Oe=e[22]["action-top-right"],q=ne(Oe,e,e[21],_t),Ue=e[22].default,G=ne(Ue,e,e[21],ct),Ce=e[22]["action-bottom-left"],J=ne(Ce,e,e[21],ut);let E=!e[0]&&bt(e);const Ye=[il,ol],le=[];function ye(i,g){return i[1]?0:1}K=ye(e),B=le[K]=Ye[K](e);const We=e[22]["action-bottom-right"],X=ne(We,e,e[21],ft);return{c(){t=V("div"),a=V("div"),W&&W.c(),s=Z(),l=V("nav"),H&&H.c(),u=Z(),S&&S.c(),n=Z(),L&&L.c(),o=Z(),q&&q.c(),z=Z(),G&&G.c(),N=Z(),P=V("nav"),J&&J.c(),O=Z(),d=V("div"),E&&E.c(),U=Z(),R=V("div"),_=V("button"),c=V("span"),T=Z(),Y=V("p"),B.c(),te=Z(),F=V("button"),y=V("span"),Pe=Z(),X&&X.c(),this.h()},l(i){t=M(i,"DIV",{class:!0});var g=D(t);a=M(g,"DIV",{class:!0});var se=D(a);W&&W.l(se),s=Q(se),l=M(se,"NAV",{style:!0,class:!0,"aria-label":!0});var ae=D(l);H&&H.l(ae),u=Q(ae),S&&S.l(ae),n=Q(ae),L&&L.l(ae),o=Q(ae),q&&q.l(ae),ae.forEach(b),se.forEach(b),z=Q(g),G&&G.l(g),N=Q(g),P=M(g,"NAV",{class:!0,"aria-label":!0});var Ve=D(P);J&&J.l(Ve),O=Q(Ve),d=M(Ve,"DIV",{class:!0});var de=D(d);E&&E.l(de),U=Q(de),R=M(de,"DIV",{class:!0});var ve=D(R);_=M(ve,"BUTTON",{class:!0,"aria-label":!0});var xe=D(_);c=M(xe,"SPAN",{class:!0}),D(c).forEach(b),xe.forEach(b),T=Q(ve),Y=M(ve,"P",{});var $e=D(Y);B.l($e),$e.forEach(b),te=Q(ve),F=M(ve,"BUTTON",{class:!0,"aria-label":!0});var et=D(F);y=M(et,"SPAN",{class:!0}),D(y).forEach(b),et.forEach(b),ve.forEach(b),Pe=Q(de),X&&X.l(de),de.forEach(b),Ve.forEach(b),g.forEach(b),this.h()},h(){I(l,"style",e[7]),I(l,"class","flex flex-col justify-end gap-4 md:flex-row"),I(l,"aria-label",f=e[12]["aria-label"]),lt(()=>e[26].call(l)),I(a,"class",m=Me(`flex flex-col items-center gap-4 lg:flex-row ${e[11]["action-top-left"]?"justify-between":"justify-end"}`)+" svelte-1780ds3"),I(c,"class","arrow arrow-left svelte-1780ds3"),fe(c,"arrow-left-disabled",!e[6].hasPrevious),I(_,"class","caret svelte-1780ds3"),_.disabled=v=!e[6].hasPrevious,I(_,"aria-label","previous"),I(y,"class","arrow arrow-right svelte-1780ds3"),fe(y,"arrow-right-disabled",!e[6].hasNext),I(F,"class","caret svelte-1780ds3"),F.disabled=_e=!e[6].hasNext,I(F,"aria-label","next"),I(R,"class","flex items-center justify-center gap-3"),I(d,"class","flex gap-4"),I(P,"class",me=Me(`flex ${e[11]["action-bottom-left"]?"justify-between":"justify-end"}`)+" svelte-1780ds3"),I(P,"aria-label",ge=e[12]["aria-label"]),I(t,"class","pagination relative mb-8 flex flex-col gap-4")},m(i,g){C(i,t,g),w(t,a),W&&W.m(a,null),w(a,s),w(a,l),H&&H.m(l,null),w(l,u),S&&S.m(l,null),w(l,n),L&&L.m(l,null),w(l,o),q&&q.m(l,null),r=Tt(l,e[26].bind(l)),w(t,z),G&&G.m(t,null),w(t,N),w(t,P),J&&J.m(P,null),w(P,O),w(P,d),E&&E.m(d,null),w(d,U),w(d,R),w(R,_),w(_,c),w(R,T),w(R,Y),le[K].m(Y,null),w(R,te),w(R,F),w(F,y),w(d,Pe),X&&X.m(d,null),h=!0,ke||(Ke=[ue(window,"resize",e[9]),ue(window,"keydown",e[10]),ue(window,"resize",e[23]),ue(_,"click",e[27]),ue(F,"click",e[28])],ke=!0)},p(i,[g]){W&&W.p&&(!h||g&2097232)&&oe(W,p,i,i[21],h?re(p,i[21],g,ll):ie(i[21]),dt),H&&H.p&&(!h||g&2097232)&&oe(H,ze,i,i[21],h?re(ze,i[21],g,tl):ie(i[21]),gt),i[0]?S&&(Re(),A(S,1,1,()=>{S=null}),Ne()):S?(S.p(i,g),g&1&&k(S,1)):(S=vt(i),S.c(),k(S,1),S.m(l,n)),Te?Te.p&&(!h||g&2097232)&&oe(Te,Be,i,i[21],h?re(Be,i[21],g,el):ie(i[21]),mt):L&&L.p&&(!h||g&82)&&L.p(i,h?g:-1),q&&q.p&&(!h||g&2097232)&&oe(q,Oe,i,i[21],h?re(Oe,i[21],g,$t):ie(i[21]),_t),(!h||g&128)&&I(l,"style",i[7]),(!h||g&4096&&f!==(f=i[12]["aria-label"]))&&I(l,"aria-label",f),(!h||g&2048&&m!==(m=Me(`flex flex-col items-center gap-4 lg:flex-row ${i[11]["action-top-left"]?"justify-between":"justify-end"}`)+" svelte-1780ds3"))&&I(a,"class",m),G&&G.p&&(!h||g&2097232)&&oe(G,Ue,i,i[21],h?re(Ue,i[21],g,xt):ie(i[21]),ct),J&&J.p&&(!h||g&2097232)&&oe(J,Ce,i,i[21],h?re(Ce,i[21],g,yt):ie(i[21]),ut),i[0]?E&&(Re(),A(E,1,1,()=>{E=null}),Ne()):E?(E.p(i,g),g&1&&k(E,1)):(E=bt(i),E.c(),k(E,1),E.m(d,U)),(!h||g&64)&&fe(c,"arrow-left-disabled",!i[6].hasPrevious),(!h||g&64&&v!==(v=!i[6].hasPrevious))&&(_.disabled=v);let se=K;K=ye(i),K===se?le[K].p(i,g):(Re(),A(le[se],1,1,()=>{le[se]=null}),Ne(),B=le[K],B?B.p(i,g):(B=le[K]=Ye[K](i),B.c()),k(B,1),B.m(Y,null)),(!h||g&64)&&fe(y,"arrow-right-disabled",!i[6].hasNext),(!h||g&64&&_e!==(_e=!i[6].hasNext))&&(F.disabled=_e),X&&X.p&&(!h||g&2097232)&&oe(X,We,i,i[21],h?re(We,i[21],g,Yt):ie(i[21]),ft),(!h||g&2048&&me!==(me=Me(`flex ${i[11]["action-bottom-left"]?"justify-between":"justify-end"}`)+" svelte-1780ds3"))&&I(P,"class",me),(!h||g&4096&&ge!==(ge=i[12]["aria-label"]))&&I(P,"aria-label",ge)},i(i){h||(k(W,i),k(H,i),k(S),k(L,i),k(q,i),k(G,i),k(J,i),k(E),k(B),k(X,i),h=!0)},o(i){A(W,i),A(H,i),A(S),A(L,i),A(q,i),A(G,i),A(J,i),A(E),A(B),A(X,i),h=!1},d(i){i&&b(t),W&&W.d(i),H&&H.d(i),S&&S.d(),L&&L.d(i),q&&q.d(i),r(),G&&G.d(i),J&&J.d(i),E&&E.d(),le[K].d(),X&&X.d(i),ke=!1,pt(Ke)}}}function fl(e,t,a){let s,l,u,n;const o=["items","floatId","startingIndex","currentPageKey","itemsPerPage","updating"];let f=st(t,o),r,m=ee,z=()=>(m(),m=Dt(l,p=>a(6,r=p)),l),N;ht(e,Qe,p=>a(20,N=p)),e.$$.on_destroy.push(()=>m());let{$$slots:P={},$$scope:O}=t;const d=Vt(P);var U;let{items:R}=t,{floatId:_=void 0}=t,{startingIndex:c=0}=t,{currentPageKey:v="page"}=t,{itemsPerPage:T=null}=t,{updating:Y=!1}=t,K,B,te;Mt(()=>{y(),c>0&&F()});const F=()=>{De({parameter:v,value:r.currentPage,url:N.url})},y=()=>{var p;_&&a(18,B=(p=document.getElementById(_))===null||p===void 0?void 0:p.clientWidth)};async function _e(p){switch(p.code){case"ArrowRight":case"KeyL":r.hasNext&&(l.next(),F());break;case"ArrowLeft":case"KeyH":r.hasPrevious&&(l.previous(),F());break;case"ArrowUp":case"KeyK":l.previousRow();break;case"ArrowDown":case"KeyJ":l.nextRow();break}}function Pe(){a(2,K=window.innerWidth)}const me=()=>{l.previous(),F()},ge=()=>{l.next(),F()};function h(){te=this.clientHeight,a(3,te)}const ke=()=>l.previous(),Ke=()=>l.next();return e.$$set=p=>{t=ce(ce({},t),Ee(p)),a(12,f=st(t,o)),"items"in p&&a(13,R=p.items),"floatId"in p&&a(14,_=p.floatId),"startingIndex"in p&&a(15,c=p.startingIndex),"currentPageKey"in p&&a(16,v=p.currentPageKey),"itemsPerPage"in p&&a(0,T=p.itemsPerPage),"updating"in p&&a(1,Y=p.updating),"$$scope"in p&&a(21,O=p.$$scope)},e.$$.update=()=>{e.$$.dirty&1048577&&a(5,s=T!==null?String(T):String(Pt(N.url.searchParams.get(Se))).toString()),e.$$.dirty&1048608&&(parseInt(s,10)>parseInt(at,10)?De({parameter:Se,value:at,url:N.url}):je.includes(s)||De({parameter:Se,value:Ae,url:N.url})),e.$$.dirty&40992&&z(a(4,l=Ht(R,s,c))),e.$$.dirty&1245248&&a(19,u=a(17,U=N.url.searchParams.get(v))!==null&&U!==void 0?U:r.currentPage),e.$$.dirty&524304&&l.jumpToPage(u),e.$$.dirty&262156&&a(7,n=Xt({width:B,height:te,screenWidth:K}))},[T,Y,K,te,l,s,r,n,F,y,_e,d,f,R,_,c,v,U,B,u,N,O,P,Pe,me,ge,h,ke,Ke]}class dl extends Je{constructor(t){super(),Xe(this,t,fl,rl,Ze,{items:13,floatId:14,startingIndex:15,currentPageKey:16,itemsPerPage:0,updating:1})}}export{kt as F,dl as P,De as u}; diff --git a/ui/assets/cloud/_app/immutable/chunks/pagination.c0661e6a.js b/ui/assets/local/_app/immutable/chunks/pagination.a8beaf3b.js similarity index 98% rename from ui/assets/cloud/_app/immutable/chunks/pagination.c0661e6a.js rename to ui/assets/local/_app/immutable/chunks/pagination.a8beaf3b.js index da845f6405..3f6f124ca0 100644 --- a/ui/assets/cloud/_app/immutable/chunks/pagination.c0661e6a.js +++ b/ui/assets/local/_app/immutable/chunks/pagination.a8beaf3b.js @@ -1 +1 @@ -import{K as j,S as Je,b as Xe,a as Ze,O as ce,A as Nt,Y as At,C as he,D as pe,E as Ie,V as St,a6 as Et,Z as jt,j as k,g as A,F as we,L as ht,P as Ee,G as ne,H as oe,I as ie,J as re,e as tt,f as C,z as Re,h as Ne,a7 as Kt,k as b,m as V,p as M,q as D,u as I,n as ee,$ as lt,c as Z,d as Q,X as Me,T as fe,M as w,am as Tt,U as ue,r as pt,a5 as st,ag as Vt,o as Mt,s as Dt,w as x,x as $,y as be}from"./index.d29c66be.js";import{p as Qe}from"./stores.1f7fa6eb.js";import{d as Ft,w as He}from"./index.255b7490.js";import{i as zt,g as Bt}from"./navigation.529c81bc.js";import{S as Ot,a as Ut}from"./simple-select.2e5f96b1.js";const Ct={keepFocus:!0,noScroll:!0},De=async({parameter:e,value:t,url:a,goto:s=Bt,allowEmpty:l=!1})=>{var n,o;const u=String(t);if(t?a.searchParams.set(e,u):l?a.searchParams.set(e,""):a.searchParams.delete(e),a.href!==window.location.href){const r=`/namespaces/${(o=(n=j(Qe))==null?void 0:n.params)==null?void 0:o.namespace}/workflows`;a.pathname===r&&await zt(m=>m.pathname===r),s(a,Ct)}return t},Ae=100,je=["100","250","500"],Se="per-page",at=je[je.length-1],Fe=(e,t)=>Math.floor(e/t)+1,It=(e,t,a)=>isNaN(e)||e<=1?0:e>wt(t,a)?a.length-t:Math.floor(t*(e-1)),Wt=(e,t,a)=>{const s=Fe(e,t);return It(s,t,a)},nt=(e,t)=>Math.min(e-1,t-1),wt=(e,t)=>Math.ceil(t.length/e),Le=(e,t)=>isNaN(e)||e<0?0:ee>=t.length||e<0,Ht=(e=[],t=Ae,a=0)=>{t=Pt(t);const s=Wt(Ge(a),t,e),l=He(t),u=He(s),n=He(void 0),o=_=>{l.set(Ge(_))},f=()=>{u.update(_=>{const c=_+j(l);return qe(c,e)?_:Le(c,e)})},r=()=>{u.update(_=>{const c=_-j(l);return Le(c,e)})},m=_=>{const c=j(l),v=It(Number(_),c,e),T=e.slice(v,v+c).length;return j(n)>T-1&&n.set(T-1),u.set(v)},z=_=>{const c=Fe(Number(_),j(l));m(c)},N=_=>{for(let c=0;c{const c=N(_);return Fe(c,j(l))},O=_=>{const c=e.slice(j(u),j(u)+j(l)).length,v=nt(c,j(l));_<=v&&n.set(_)},d=()=>{const _=e.slice(j(u),j(u)+j(l)).length,c=nt(_,j(l));j(n)===void 0?n.set(0):j(n){const _=j(n)>=1?j(n)-1:0;n.set(_)},{subscribe:R}=Ft([u,l,n],([_,c,v])=>({items:e.slice(_,_+c),initialItem:e[0],hasPrevious:!qe(_-c,e),hasNext:!qe(_+c,e),startingIndex:_,endingIndex:Le(_+c-1,e),length:e.length,pageSize:c,currentPage:Fe(_,c),totalPages:wt(c,e),activeRowIndex:v}));return{subscribe:R,adjustPageSize:o,next:f,previous:r,jumpToPage:m,jumpToIndex:z,findIndex:N,findPage:P,nextRow:d,previousRow:U,setActiveRowIndex:O}},Pt=(e=Ae)=>{const t=Ge(e);return isNaN(t)||!t?Ae:t},Ge=(e=0)=>{const t=Number(e);return isNaN(t)||!t?0:Math.abs(t)};function ot(e,t,a){const s=e.slice();return s[13]=t[a],s}function it(e){let t,a;return t=new Ut({props:{value:e[13]}}),{c(){he(t.$$.fragment)},l(s){pe(t.$$.fragment,s)},m(s,l){Ie(t,s,l),a=!0},p(s,l){const u={};l&1&&(u.value=s[13]),t.$set(u)},i(s){a||(k(t.$$.fragment,s),a=!0)},o(s){A(t.$$.fragment,s),a=!1},d(s){we(t,s)}}}function Lt(e){let t,a,s=e[0].map(rt),l=[];for(let n=0;nA(l[n],1,1,()=>{l[n]=null});return{c(){for(let n=0;nAt(t,"value",u)),t.$on("change",e[3]),{c(){he(t.$$.fragment)},l(o){pe(t.$$.fragment,o)},m(o,f){Ie(t,o,f),s=!0},p(o,[f]){const r=f&20?St(l,[f&4&&{id:o[2]},f&16&&Et(o[4]),l[2]]):{};f&1025&&(r.$$scope={dirty:f,ctx:o}),!a&&f&2&&(a=!0,r.value=o[1],jt(()=>a=!1)),t.$set(r)},i(o){s||(k(t.$$.fragment,o),s=!0)},o(o){A(t.$$.fragment,o),s=!1},d(o){we(t,o)}}}const rt=e=>e.toString();function Jt(e,t,a){let s;ht(e,Qe,d=>a(11,s=d));let{$$slots:l={},$$scope:u}=t,{label:n=null}=t,{value:o}=t,{options:f=[]}=t,{parameter:r=null}=t;const m=`${r||n}-filter`;let N=r&&s.url.searchParams.get(r)||o&&o.toString();const P=()=>{De({parameter:r,value:N,url:s.url}).then(d=>a(5,o=d))};function O(d){N=d,a(1,N)}return e.$$set=d=>{a(4,t=ce(ce({},t),Ee(d))),"label"in d&&a(6,n=d.label),"value"in d&&a(5,o=d.value),"options"in d&&a(0,f=d.options),"parameter"in d&&a(7,r=d.parameter),"$$scope"in d&&a(10,u=d.$$scope)},t=Ee(t),[f,N,m,P,t,o,n,r,l,O,u]}class kt extends Je{constructor(t){super(),Xe(this,t,Jt,Gt,Ze,{label:6,value:5,options:0,parameter:7})}}const Xt=({width:e,height:t,screenWidth:a,breakpoint:s=1279})=>e&&t&&a>s?`position: absolute; right: ${e+20}px; top: -${t+14}px`:"";function Zt(e){let t,a;return{c(){t=V("div"),this.h()},l(s){t=M(s,"DIV",{class:!0}),D(t).forEach(b),this.h()},h(){I(t,"class",a="background-animate w-full rounded-full bg-gradient-to-r from-gray-100 via-gray-200 to-gray-300 "+e[0].class+" svelte-1hpjfio")},m(s,l){C(s,t,l)},p(s,[l]){l&1&&a!==(a="background-animate w-full rounded-full bg-gradient-to-r from-gray-100 via-gray-200 to-gray-300 "+s[0].class+" svelte-1hpjfio")&&I(t,"class",a)},i:ee,o:ee,d(s){s&&b(t)}}}function Qt(e,t,a){return e.$$set=s=>{a(0,t=ce(ce({},t),Ee(s)))},t=Ee(t),[t]}class Rt extends Je{constructor(t){super(),Xe(this,t,Qt,Zt,Ze,{})}}const Yt=e=>({visibleItems:e&64,initialItem:e&64,activeRowIndex:e&64,setActiveRowIndex:e&16}),ft=e=>({visibleItems:e[6].items,initialItem:e[6].initialItem,activeRowIndex:e[6].activeRowIndex,setActiveRowIndex:e[4].setActiveRowIndex}),yt=e=>({visibleItems:e&64,initialItem:e&64,activeRowIndex:e&64,setActiveRowIndex:e&16}),ut=e=>({visibleItems:e[6].items,initialItem:e[6].initialItem,activeRowIndex:e[6].activeRowIndex,setActiveRowIndex:e[4].setActiveRowIndex}),xt=e=>({visibleItems:e&64,initialItem:e&64,activeRowIndex:e&64,setActiveRowIndex:e&16}),ct=e=>({visibleItems:e[6].items,initialItem:e[6].initialItem,activeRowIndex:e[6].activeRowIndex,setActiveRowIndex:e[4].setActiveRowIndex}),$t=e=>({visibleItems:e&64,initialItem:e&64,activeRowIndex:e&64,setActiveRowIndex:e&16}),_t=e=>({visibleItems:e[6].items,initialItem:e[6].initialItem,activeRowIndex:e[6].activeRowIndex,setActiveRowIndex:e[4].setActiveRowIndex}),el=e=>({visibleItems:e&64,initialItem:e&64,activeRowIndex:e&64,setActiveRowIndex:e&16}),mt=e=>({visibleItems:e[6].items,initialItem:e[6].initialItem,activeRowIndex:e[6].activeRowIndex,setActiveRowIndex:e[4].setActiveRowIndex}),tl=e=>({visibleItems:e&64,initialItem:e&64,activeRowIndex:e&64,setActiveRowIndex:e&16}),gt=e=>({visibleItems:e[6].items,initialItem:e[6].initialItem,activeRowIndex:e[6].activeRowIndex,setActiveRowIndex:e[4].setActiveRowIndex}),ll=e=>({visibleItems:e&64,initialItem:e&64,activeRowIndex:e&64,setActiveRowIndex:e&16}),dt=e=>({visibleItems:e[6].items,initialItem:e[6].initialItem,activeRowIndex:e[6].activeRowIndex,setActiveRowIndex:e[4].setActiveRowIndex});function vt(e){let t,a;return t=new kt({props:{label:"Per Page",parameter:Se,value:e[5],options:je}}),{c(){he(t.$$.fragment)},l(s){pe(t.$$.fragment,s)},m(s,l){Ie(t,s,l),a=!0},p(s,l){const u={};l&32&&(u.value=s[5]),t.$set(u)},i(s){a||(k(t.$$.fragment,s),a=!0)},o(s){A(t.$$.fragment,s),a=!1},d(s){we(t,s)}}}function sl(e){let t=(e[6].length?e[6].startingIndex+1:0)+"",a,s,l=e[6].endingIndex+1+"",u,n,o=e[6].length+"",f;return{c(){a=x(t),s=x("–"),u=x(l),n=x(" of "),f=x(o)},l(r){a=$(r,t),s=$(r,"–"),u=$(r,l),n=$(r," of "),f=$(r,o)},m(r,m){C(r,a,m),C(r,s,m),C(r,u,m),C(r,n,m),C(r,f,m)},p(r,m){m&64&&t!==(t=(r[6].length?r[6].startingIndex+1:0)+"")&&be(a,t),m&64&&l!==(l=r[6].endingIndex+1+"")&&be(u,l),m&64&&o!==(o=r[6].length+"")&&be(f,o)},i:ee,o:ee,d(r){r&&b(a),r&&b(s),r&&b(u),r&&b(n),r&&b(f)}}}function al(e){let t,a;return t=new Rt({props:{class:"block h-5 w-24"}}),{c(){he(t.$$.fragment)},l(s){pe(t.$$.fragment,s)},m(s,l){Ie(t,s,l),a=!0},p:ee,i(s){a||(k(t.$$.fragment,s),a=!0)},o(s){A(t.$$.fragment,s),a=!1},d(s){we(t,s)}}}function nl(e){let t,a,s,l,u,n,o,f,r,m,z,N,P,O,d;const U=[al,sl],R=[];function _(c,v){return c[1]?0:1}return o=_(e),f=R[o]=U[o](e),{c(){t=V("div"),a=V("button"),s=V("span"),u=Z(),n=V("p"),f.c(),r=Z(),m=V("button"),z=V("span"),this.h()},l(c){t=M(c,"DIV",{class:!0});var v=D(t);a=M(v,"BUTTON",{class:!0,"aria-label":!0});var T=D(a);s=M(T,"SPAN",{class:!0}),D(s).forEach(b),T.forEach(b),u=Q(v),n=M(v,"P",{});var Y=D(n);f.l(Y),Y.forEach(b),r=Q(v),m=M(v,"BUTTON",{class:!0,"aria-label":!0});var K=D(m);z=M(K,"SPAN",{class:!0}),D(z).forEach(b),K.forEach(b),v.forEach(b),this.h()},h(){I(s,"class","arrow arrow-left svelte-1780ds3"),fe(s,"arrow-left-disabled",!e[6].hasPrevious),I(a,"class","caret svelte-1780ds3"),a.disabled=l=!e[6].hasPrevious,I(a,"aria-label","previous"),I(z,"class","arrow arrow-right svelte-1780ds3"),fe(z,"arrow-right-disabled",!e[6].hasNext),I(m,"class","caret svelte-1780ds3"),m.disabled=N=!e[6].hasNext,I(m,"aria-label","next"),I(t,"class","flex items-center justify-center gap-3")},m(c,v){C(c,t,v),w(t,a),w(a,s),w(t,u),w(t,n),R[o].m(n,null),w(t,r),w(t,m),w(m,z),P=!0,O||(d=[ue(a,"click",e[24]),ue(m,"click",e[25])],O=!0)},p(c,v){(!P||v&64)&&fe(s,"arrow-left-disabled",!c[6].hasPrevious),(!P||v&64&&l!==(l=!c[6].hasPrevious))&&(a.disabled=l);let T=o;o=_(c),o===T?R[o].p(c,v):(Re(),A(R[T],1,1,()=>{R[T]=null}),Ne(),f=R[o],f?f.p(c,v):(f=R[o]=U[o](c),f.c()),k(f,1),f.m(n,null)),(!P||v&64)&&fe(z,"arrow-right-disabled",!c[6].hasNext),(!P||v&64&&N!==(N=!c[6].hasNext))&&(m.disabled=N)},i(c){P||(k(f),P=!0)},o(c){A(f),P=!1},d(c){c&&b(t),R[o].d(),O=!1,pt(d)}}}function bt(e){let t,a;return t=new kt({props:{label:"Per Page",parameter:Se,value:e[5],options:je}}),{c(){he(t.$$.fragment)},l(s){pe(t.$$.fragment,s)},m(s,l){Ie(t,s,l),a=!0},p(s,l){const u={};l&32&&(u.value=s[5]),t.$set(u)},i(s){a||(k(t.$$.fragment,s),a=!0)},o(s){A(t.$$.fragment,s),a=!1},d(s){we(t,s)}}}function ol(e){let t=(e[6].length?e[6].startingIndex+1:0)+"",a,s,l=e[6].endingIndex+1+"",u,n,o=e[6].length+"",f;return{c(){a=x(t),s=x("–"),u=x(l),n=x(" of "),f=x(o)},l(r){a=$(r,t),s=$(r,"–"),u=$(r,l),n=$(r," of "),f=$(r,o)},m(r,m){C(r,a,m),C(r,s,m),C(r,u,m),C(r,n,m),C(r,f,m)},p(r,m){m&64&&t!==(t=(r[6].length?r[6].startingIndex+1:0)+"")&&be(a,t),m&64&&l!==(l=r[6].endingIndex+1+"")&&be(u,l),m&64&&o!==(o=r[6].length+"")&&be(f,o)},i:ee,o:ee,d(r){r&&b(a),r&&b(s),r&&b(u),r&&b(n),r&&b(f)}}}function il(e){let t,a;return t=new Rt({props:{class:"block h-5 w-24"}}),{c(){he(t.$$.fragment)},l(s){pe(t.$$.fragment,s)},m(s,l){Ie(t,s,l),a=!0},p:ee,i(s){a||(k(t.$$.fragment,s),a=!0)},o(s){A(t.$$.fragment,s),a=!1},d(s){we(t,s)}}}function rl(e){let t,a,s,l,u,n,o,f,r,m,z,N,P,O,d,U,R,_,c,v,T,Y,K,B,te,F,y,_e,Pe,me,ge,h,ke,Ke;lt(e[23]);const p=e[22]["action-top-left"],W=ne(p,e,e[21],dt),ze=e[22]["action-top-center"],H=ne(ze,e,e[21],gt);let S=!e[0]&&vt(e);const Be=e[22]["pagination-top"],Te=ne(Be,e,e[21],mt),L=Te||nl(e),Oe=e[22]["action-top-right"],q=ne(Oe,e,e[21],_t),Ue=e[22].default,G=ne(Ue,e,e[21],ct),Ce=e[22]["action-bottom-left"],J=ne(Ce,e,e[21],ut);let E=!e[0]&&bt(e);const Ye=[il,ol],le=[];function ye(i,g){return i[1]?0:1}K=ye(e),B=le[K]=Ye[K](e);const We=e[22]["action-bottom-right"],X=ne(We,e,e[21],ft);return{c(){t=V("div"),a=V("div"),W&&W.c(),s=Z(),l=V("nav"),H&&H.c(),u=Z(),S&&S.c(),n=Z(),L&&L.c(),o=Z(),q&&q.c(),z=Z(),G&&G.c(),N=Z(),P=V("nav"),J&&J.c(),O=Z(),d=V("div"),E&&E.c(),U=Z(),R=V("div"),_=V("button"),c=V("span"),T=Z(),Y=V("p"),B.c(),te=Z(),F=V("button"),y=V("span"),Pe=Z(),X&&X.c(),this.h()},l(i){t=M(i,"DIV",{class:!0});var g=D(t);a=M(g,"DIV",{class:!0});var se=D(a);W&&W.l(se),s=Q(se),l=M(se,"NAV",{style:!0,class:!0,"aria-label":!0});var ae=D(l);H&&H.l(ae),u=Q(ae),S&&S.l(ae),n=Q(ae),L&&L.l(ae),o=Q(ae),q&&q.l(ae),ae.forEach(b),se.forEach(b),z=Q(g),G&&G.l(g),N=Q(g),P=M(g,"NAV",{class:!0,"aria-label":!0});var Ve=D(P);J&&J.l(Ve),O=Q(Ve),d=M(Ve,"DIV",{class:!0});var de=D(d);E&&E.l(de),U=Q(de),R=M(de,"DIV",{class:!0});var ve=D(R);_=M(ve,"BUTTON",{class:!0,"aria-label":!0});var xe=D(_);c=M(xe,"SPAN",{class:!0}),D(c).forEach(b),xe.forEach(b),T=Q(ve),Y=M(ve,"P",{});var $e=D(Y);B.l($e),$e.forEach(b),te=Q(ve),F=M(ve,"BUTTON",{class:!0,"aria-label":!0});var et=D(F);y=M(et,"SPAN",{class:!0}),D(y).forEach(b),et.forEach(b),ve.forEach(b),Pe=Q(de),X&&X.l(de),de.forEach(b),Ve.forEach(b),g.forEach(b),this.h()},h(){I(l,"style",e[7]),I(l,"class","flex flex-col justify-end gap-4 md:flex-row"),I(l,"aria-label",f=e[12]["aria-label"]),lt(()=>e[26].call(l)),I(a,"class",m=Me(`flex flex-col items-center gap-4 lg:flex-row ${e[11]["action-top-left"]?"justify-between":"justify-end"}`)+" svelte-1780ds3"),I(c,"class","arrow arrow-left svelte-1780ds3"),fe(c,"arrow-left-disabled",!e[6].hasPrevious),I(_,"class","caret svelte-1780ds3"),_.disabled=v=!e[6].hasPrevious,I(_,"aria-label","previous"),I(y,"class","arrow arrow-right svelte-1780ds3"),fe(y,"arrow-right-disabled",!e[6].hasNext),I(F,"class","caret svelte-1780ds3"),F.disabled=_e=!e[6].hasNext,I(F,"aria-label","next"),I(R,"class","flex items-center justify-center gap-3"),I(d,"class","flex gap-4"),I(P,"class",me=Me(`flex ${e[11]["action-bottom-left"]?"justify-between":"justify-end"}`)+" svelte-1780ds3"),I(P,"aria-label",ge=e[12]["aria-label"]),I(t,"class","pagination relative mb-8 flex flex-col gap-4")},m(i,g){C(i,t,g),w(t,a),W&&W.m(a,null),w(a,s),w(a,l),H&&H.m(l,null),w(l,u),S&&S.m(l,null),w(l,n),L&&L.m(l,null),w(l,o),q&&q.m(l,null),r=Tt(l,e[26].bind(l)),w(t,z),G&&G.m(t,null),w(t,N),w(t,P),J&&J.m(P,null),w(P,O),w(P,d),E&&E.m(d,null),w(d,U),w(d,R),w(R,_),w(_,c),w(R,T),w(R,Y),le[K].m(Y,null),w(R,te),w(R,F),w(F,y),w(d,Pe),X&&X.m(d,null),h=!0,ke||(Ke=[ue(window,"resize",e[9]),ue(window,"keydown",e[10]),ue(window,"resize",e[23]),ue(_,"click",e[27]),ue(F,"click",e[28])],ke=!0)},p(i,[g]){W&&W.p&&(!h||g&2097232)&&oe(W,p,i,i[21],h?re(p,i[21],g,ll):ie(i[21]),dt),H&&H.p&&(!h||g&2097232)&&oe(H,ze,i,i[21],h?re(ze,i[21],g,tl):ie(i[21]),gt),i[0]?S&&(Re(),A(S,1,1,()=>{S=null}),Ne()):S?(S.p(i,g),g&1&&k(S,1)):(S=vt(i),S.c(),k(S,1),S.m(l,n)),Te?Te.p&&(!h||g&2097232)&&oe(Te,Be,i,i[21],h?re(Be,i[21],g,el):ie(i[21]),mt):L&&L.p&&(!h||g&82)&&L.p(i,h?g:-1),q&&q.p&&(!h||g&2097232)&&oe(q,Oe,i,i[21],h?re(Oe,i[21],g,$t):ie(i[21]),_t),(!h||g&128)&&I(l,"style",i[7]),(!h||g&4096&&f!==(f=i[12]["aria-label"]))&&I(l,"aria-label",f),(!h||g&2048&&m!==(m=Me(`flex flex-col items-center gap-4 lg:flex-row ${i[11]["action-top-left"]?"justify-between":"justify-end"}`)+" svelte-1780ds3"))&&I(a,"class",m),G&&G.p&&(!h||g&2097232)&&oe(G,Ue,i,i[21],h?re(Ue,i[21],g,xt):ie(i[21]),ct),J&&J.p&&(!h||g&2097232)&&oe(J,Ce,i,i[21],h?re(Ce,i[21],g,yt):ie(i[21]),ut),i[0]?E&&(Re(),A(E,1,1,()=>{E=null}),Ne()):E?(E.p(i,g),g&1&&k(E,1)):(E=bt(i),E.c(),k(E,1),E.m(d,U)),(!h||g&64)&&fe(c,"arrow-left-disabled",!i[6].hasPrevious),(!h||g&64&&v!==(v=!i[6].hasPrevious))&&(_.disabled=v);let se=K;K=ye(i),K===se?le[K].p(i,g):(Re(),A(le[se],1,1,()=>{le[se]=null}),Ne(),B=le[K],B?B.p(i,g):(B=le[K]=Ye[K](i),B.c()),k(B,1),B.m(Y,null)),(!h||g&64)&&fe(y,"arrow-right-disabled",!i[6].hasNext),(!h||g&64&&_e!==(_e=!i[6].hasNext))&&(F.disabled=_e),X&&X.p&&(!h||g&2097232)&&oe(X,We,i,i[21],h?re(We,i[21],g,Yt):ie(i[21]),ft),(!h||g&2048&&me!==(me=Me(`flex ${i[11]["action-bottom-left"]?"justify-between":"justify-end"}`)+" svelte-1780ds3"))&&I(P,"class",me),(!h||g&4096&&ge!==(ge=i[12]["aria-label"]))&&I(P,"aria-label",ge)},i(i){h||(k(W,i),k(H,i),k(S),k(L,i),k(q,i),k(G,i),k(J,i),k(E),k(B),k(X,i),h=!0)},o(i){A(W,i),A(H,i),A(S),A(L,i),A(q,i),A(G,i),A(J,i),A(E),A(B),A(X,i),h=!1},d(i){i&&b(t),W&&W.d(i),H&&H.d(i),S&&S.d(),L&&L.d(i),q&&q.d(i),r(),G&&G.d(i),J&&J.d(i),E&&E.d(),le[K].d(),X&&X.d(i),ke=!1,pt(Ke)}}}function fl(e,t,a){let s,l,u,n;const o=["items","floatId","startingIndex","currentPageKey","itemsPerPage","updating"];let f=st(t,o),r,m=ee,z=()=>(m(),m=Dt(l,p=>a(6,r=p)),l),N;ht(e,Qe,p=>a(20,N=p)),e.$$.on_destroy.push(()=>m());let{$$slots:P={},$$scope:O}=t;const d=Vt(P);var U;let{items:R}=t,{floatId:_=void 0}=t,{startingIndex:c=0}=t,{currentPageKey:v="page"}=t,{itemsPerPage:T=null}=t,{updating:Y=!1}=t,K,B,te;Mt(()=>{y(),c>0&&F()});const F=()=>{De({parameter:v,value:r.currentPage,url:N.url})},y=()=>{var p;_&&a(18,B=(p=document.getElementById(_))===null||p===void 0?void 0:p.clientWidth)};async function _e(p){switch(p.code){case"ArrowRight":case"KeyL":r.hasNext&&(l.next(),F());break;case"ArrowLeft":case"KeyH":r.hasPrevious&&(l.previous(),F());break;case"ArrowUp":case"KeyK":l.previousRow();break;case"ArrowDown":case"KeyJ":l.nextRow();break}}function Pe(){a(2,K=window.innerWidth)}const me=()=>{l.previous(),F()},ge=()=>{l.next(),F()};function h(){te=this.clientHeight,a(3,te)}const ke=()=>l.previous(),Ke=()=>l.next();return e.$$set=p=>{t=ce(ce({},t),Ee(p)),a(12,f=st(t,o)),"items"in p&&a(13,R=p.items),"floatId"in p&&a(14,_=p.floatId),"startingIndex"in p&&a(15,c=p.startingIndex),"currentPageKey"in p&&a(16,v=p.currentPageKey),"itemsPerPage"in p&&a(0,T=p.itemsPerPage),"updating"in p&&a(1,Y=p.updating),"$$scope"in p&&a(21,O=p.$$scope)},e.$$.update=()=>{e.$$.dirty&1048577&&a(5,s=T!==null?String(T):String(Pt(N.url.searchParams.get(Se))).toString()),e.$$.dirty&1048608&&(parseInt(s,10)>parseInt(at,10)?De({parameter:Se,value:at,url:N.url}):je.includes(s)||De({parameter:Se,value:Ae,url:N.url})),e.$$.dirty&40992&&z(a(4,l=Ht(R,s,c))),e.$$.dirty&1245248&&a(19,u=a(17,U=N.url.searchParams.get(v))!==null&&U!==void 0?U:r.currentPage),e.$$.dirty&524304&&l.jumpToPage(u),e.$$.dirty&262156&&a(7,n=Xt({width:B,height:te,screenWidth:K}))},[T,Y,K,te,l,s,r,n,F,y,_e,d,f,R,_,c,v,U,B,u,N,O,P,Pe,me,ge,h,ke,Ke]}class dl extends Je{constructor(t){super(),Xe(this,t,fl,rl,Ze,{items:13,floatId:14,startingIndex:15,currentPageKey:16,itemsPerPage:0,updating:1})}}export{kt as F,dl as P,De as u}; +import{K as j,S as Je,b as Xe,a as Ze,O as ce,A as Nt,Y as At,C as he,D as pe,E as Ie,V as St,a6 as Et,Z as jt,j as k,g as A,F as we,L as ht,P as Ee,G as ne,H as oe,I as ie,J as re,e as tt,f as C,z as Re,h as Ne,a7 as Kt,k as b,m as V,p as M,q as D,u as I,n as ee,$ as lt,c as Z,d as Q,X as Me,T as fe,M as w,am as Tt,U as ue,r as pt,a5 as st,ag as Vt,o as Mt,s as Dt,w as x,x as $,y as be}from"./index.d29c66be.js";import{p as Qe}from"./stores.8c019868.js";import{d as Ft,w as He}from"./index.255b7490.js";import{i as zt,g as Bt}from"./navigation.e41eebee.js";import{S as Ot,a as Ut}from"./simple-select.2e5f96b1.js";const Ct={keepFocus:!0,noScroll:!0},De=async({parameter:e,value:t,url:a,goto:s=Bt,allowEmpty:l=!1})=>{var n,o;const u=String(t);if(t?a.searchParams.set(e,u):l?a.searchParams.set(e,""):a.searchParams.delete(e),a.href!==window.location.href){const r=`/namespaces/${(o=(n=j(Qe))==null?void 0:n.params)==null?void 0:o.namespace}/workflows`;a.pathname===r&&await zt(m=>m.pathname===r),s(a,Ct)}return t},Ae=100,je=["100","250","500"],Se="per-page",at=je[je.length-1],Fe=(e,t)=>Math.floor(e/t)+1,It=(e,t,a)=>isNaN(e)||e<=1?0:e>wt(t,a)?a.length-t:Math.floor(t*(e-1)),Wt=(e,t,a)=>{const s=Fe(e,t);return It(s,t,a)},nt=(e,t)=>Math.min(e-1,t-1),wt=(e,t)=>Math.ceil(t.length/e),Le=(e,t)=>isNaN(e)||e<0?0:ee>=t.length||e<0,Ht=(e=[],t=Ae,a=0)=>{t=Pt(t);const s=Wt(Ge(a),t,e),l=He(t),u=He(s),n=He(void 0),o=_=>{l.set(Ge(_))},f=()=>{u.update(_=>{const c=_+j(l);return qe(c,e)?_:Le(c,e)})},r=()=>{u.update(_=>{const c=_-j(l);return Le(c,e)})},m=_=>{const c=j(l),v=It(Number(_),c,e),T=e.slice(v,v+c).length;return j(n)>T-1&&n.set(T-1),u.set(v)},z=_=>{const c=Fe(Number(_),j(l));m(c)},N=_=>{for(let c=0;c{const c=N(_);return Fe(c,j(l))},O=_=>{const c=e.slice(j(u),j(u)+j(l)).length,v=nt(c,j(l));_<=v&&n.set(_)},d=()=>{const _=e.slice(j(u),j(u)+j(l)).length,c=nt(_,j(l));j(n)===void 0?n.set(0):j(n){const _=j(n)>=1?j(n)-1:0;n.set(_)},{subscribe:R}=Ft([u,l,n],([_,c,v])=>({items:e.slice(_,_+c),initialItem:e[0],hasPrevious:!qe(_-c,e),hasNext:!qe(_+c,e),startingIndex:_,endingIndex:Le(_+c-1,e),length:e.length,pageSize:c,currentPage:Fe(_,c),totalPages:wt(c,e),activeRowIndex:v}));return{subscribe:R,adjustPageSize:o,next:f,previous:r,jumpToPage:m,jumpToIndex:z,findIndex:N,findPage:P,nextRow:d,previousRow:U,setActiveRowIndex:O}},Pt=(e=Ae)=>{const t=Ge(e);return isNaN(t)||!t?Ae:t},Ge=(e=0)=>{const t=Number(e);return isNaN(t)||!t?0:Math.abs(t)};function ot(e,t,a){const s=e.slice();return s[13]=t[a],s}function it(e){let t,a;return t=new Ut({props:{value:e[13]}}),{c(){he(t.$$.fragment)},l(s){pe(t.$$.fragment,s)},m(s,l){Ie(t,s,l),a=!0},p(s,l){const u={};l&1&&(u.value=s[13]),t.$set(u)},i(s){a||(k(t.$$.fragment,s),a=!0)},o(s){A(t.$$.fragment,s),a=!1},d(s){we(t,s)}}}function Lt(e){let t,a,s=e[0].map(rt),l=[];for(let n=0;nA(l[n],1,1,()=>{l[n]=null});return{c(){for(let n=0;nAt(t,"value",u)),t.$on("change",e[3]),{c(){he(t.$$.fragment)},l(o){pe(t.$$.fragment,o)},m(o,f){Ie(t,o,f),s=!0},p(o,[f]){const r=f&20?St(l,[f&4&&{id:o[2]},f&16&&Et(o[4]),l[2]]):{};f&1025&&(r.$$scope={dirty:f,ctx:o}),!a&&f&2&&(a=!0,r.value=o[1],jt(()=>a=!1)),t.$set(r)},i(o){s||(k(t.$$.fragment,o),s=!0)},o(o){A(t.$$.fragment,o),s=!1},d(o){we(t,o)}}}const rt=e=>e.toString();function Jt(e,t,a){let s;ht(e,Qe,d=>a(11,s=d));let{$$slots:l={},$$scope:u}=t,{label:n=null}=t,{value:o}=t,{options:f=[]}=t,{parameter:r=null}=t;const m=`${r||n}-filter`;let N=r&&s.url.searchParams.get(r)||o&&o.toString();const P=()=>{De({parameter:r,value:N,url:s.url}).then(d=>a(5,o=d))};function O(d){N=d,a(1,N)}return e.$$set=d=>{a(4,t=ce(ce({},t),Ee(d))),"label"in d&&a(6,n=d.label),"value"in d&&a(5,o=d.value),"options"in d&&a(0,f=d.options),"parameter"in d&&a(7,r=d.parameter),"$$scope"in d&&a(10,u=d.$$scope)},t=Ee(t),[f,N,m,P,t,o,n,r,l,O,u]}class kt extends Je{constructor(t){super(),Xe(this,t,Jt,Gt,Ze,{label:6,value:5,options:0,parameter:7})}}const Xt=({width:e,height:t,screenWidth:a,breakpoint:s=1279})=>e&&t&&a>s?`position: absolute; right: ${e+20}px; top: -${t+14}px`:"";function Zt(e){let t,a;return{c(){t=V("div"),this.h()},l(s){t=M(s,"DIV",{class:!0}),D(t).forEach(b),this.h()},h(){I(t,"class",a="background-animate w-full rounded-full bg-gradient-to-r from-gray-100 via-gray-200 to-gray-300 "+e[0].class+" svelte-1hpjfio")},m(s,l){C(s,t,l)},p(s,[l]){l&1&&a!==(a="background-animate w-full rounded-full bg-gradient-to-r from-gray-100 via-gray-200 to-gray-300 "+s[0].class+" svelte-1hpjfio")&&I(t,"class",a)},i:ee,o:ee,d(s){s&&b(t)}}}function Qt(e,t,a){return e.$$set=s=>{a(0,t=ce(ce({},t),Ee(s)))},t=Ee(t),[t]}class Rt extends Je{constructor(t){super(),Xe(this,t,Qt,Zt,Ze,{})}}const Yt=e=>({visibleItems:e&64,initialItem:e&64,activeRowIndex:e&64,setActiveRowIndex:e&16}),ft=e=>({visibleItems:e[6].items,initialItem:e[6].initialItem,activeRowIndex:e[6].activeRowIndex,setActiveRowIndex:e[4].setActiveRowIndex}),yt=e=>({visibleItems:e&64,initialItem:e&64,activeRowIndex:e&64,setActiveRowIndex:e&16}),ut=e=>({visibleItems:e[6].items,initialItem:e[6].initialItem,activeRowIndex:e[6].activeRowIndex,setActiveRowIndex:e[4].setActiveRowIndex}),xt=e=>({visibleItems:e&64,initialItem:e&64,activeRowIndex:e&64,setActiveRowIndex:e&16}),ct=e=>({visibleItems:e[6].items,initialItem:e[6].initialItem,activeRowIndex:e[6].activeRowIndex,setActiveRowIndex:e[4].setActiveRowIndex}),$t=e=>({visibleItems:e&64,initialItem:e&64,activeRowIndex:e&64,setActiveRowIndex:e&16}),_t=e=>({visibleItems:e[6].items,initialItem:e[6].initialItem,activeRowIndex:e[6].activeRowIndex,setActiveRowIndex:e[4].setActiveRowIndex}),el=e=>({visibleItems:e&64,initialItem:e&64,activeRowIndex:e&64,setActiveRowIndex:e&16}),mt=e=>({visibleItems:e[6].items,initialItem:e[6].initialItem,activeRowIndex:e[6].activeRowIndex,setActiveRowIndex:e[4].setActiveRowIndex}),tl=e=>({visibleItems:e&64,initialItem:e&64,activeRowIndex:e&64,setActiveRowIndex:e&16}),gt=e=>({visibleItems:e[6].items,initialItem:e[6].initialItem,activeRowIndex:e[6].activeRowIndex,setActiveRowIndex:e[4].setActiveRowIndex}),ll=e=>({visibleItems:e&64,initialItem:e&64,activeRowIndex:e&64,setActiveRowIndex:e&16}),dt=e=>({visibleItems:e[6].items,initialItem:e[6].initialItem,activeRowIndex:e[6].activeRowIndex,setActiveRowIndex:e[4].setActiveRowIndex});function vt(e){let t,a;return t=new kt({props:{label:"Per Page",parameter:Se,value:e[5],options:je}}),{c(){he(t.$$.fragment)},l(s){pe(t.$$.fragment,s)},m(s,l){Ie(t,s,l),a=!0},p(s,l){const u={};l&32&&(u.value=s[5]),t.$set(u)},i(s){a||(k(t.$$.fragment,s),a=!0)},o(s){A(t.$$.fragment,s),a=!1},d(s){we(t,s)}}}function sl(e){let t=(e[6].length?e[6].startingIndex+1:0)+"",a,s,l=e[6].endingIndex+1+"",u,n,o=e[6].length+"",f;return{c(){a=x(t),s=x("–"),u=x(l),n=x(" of "),f=x(o)},l(r){a=$(r,t),s=$(r,"–"),u=$(r,l),n=$(r," of "),f=$(r,o)},m(r,m){C(r,a,m),C(r,s,m),C(r,u,m),C(r,n,m),C(r,f,m)},p(r,m){m&64&&t!==(t=(r[6].length?r[6].startingIndex+1:0)+"")&&be(a,t),m&64&&l!==(l=r[6].endingIndex+1+"")&&be(u,l),m&64&&o!==(o=r[6].length+"")&&be(f,o)},i:ee,o:ee,d(r){r&&b(a),r&&b(s),r&&b(u),r&&b(n),r&&b(f)}}}function al(e){let t,a;return t=new Rt({props:{class:"block h-5 w-24"}}),{c(){he(t.$$.fragment)},l(s){pe(t.$$.fragment,s)},m(s,l){Ie(t,s,l),a=!0},p:ee,i(s){a||(k(t.$$.fragment,s),a=!0)},o(s){A(t.$$.fragment,s),a=!1},d(s){we(t,s)}}}function nl(e){let t,a,s,l,u,n,o,f,r,m,z,N,P,O,d;const U=[al,sl],R=[];function _(c,v){return c[1]?0:1}return o=_(e),f=R[o]=U[o](e),{c(){t=V("div"),a=V("button"),s=V("span"),u=Z(),n=V("p"),f.c(),r=Z(),m=V("button"),z=V("span"),this.h()},l(c){t=M(c,"DIV",{class:!0});var v=D(t);a=M(v,"BUTTON",{class:!0,"aria-label":!0});var T=D(a);s=M(T,"SPAN",{class:!0}),D(s).forEach(b),T.forEach(b),u=Q(v),n=M(v,"P",{});var Y=D(n);f.l(Y),Y.forEach(b),r=Q(v),m=M(v,"BUTTON",{class:!0,"aria-label":!0});var K=D(m);z=M(K,"SPAN",{class:!0}),D(z).forEach(b),K.forEach(b),v.forEach(b),this.h()},h(){I(s,"class","arrow arrow-left svelte-1780ds3"),fe(s,"arrow-left-disabled",!e[6].hasPrevious),I(a,"class","caret svelte-1780ds3"),a.disabled=l=!e[6].hasPrevious,I(a,"aria-label","previous"),I(z,"class","arrow arrow-right svelte-1780ds3"),fe(z,"arrow-right-disabled",!e[6].hasNext),I(m,"class","caret svelte-1780ds3"),m.disabled=N=!e[6].hasNext,I(m,"aria-label","next"),I(t,"class","flex items-center justify-center gap-3")},m(c,v){C(c,t,v),w(t,a),w(a,s),w(t,u),w(t,n),R[o].m(n,null),w(t,r),w(t,m),w(m,z),P=!0,O||(d=[ue(a,"click",e[24]),ue(m,"click",e[25])],O=!0)},p(c,v){(!P||v&64)&&fe(s,"arrow-left-disabled",!c[6].hasPrevious),(!P||v&64&&l!==(l=!c[6].hasPrevious))&&(a.disabled=l);let T=o;o=_(c),o===T?R[o].p(c,v):(Re(),A(R[T],1,1,()=>{R[T]=null}),Ne(),f=R[o],f?f.p(c,v):(f=R[o]=U[o](c),f.c()),k(f,1),f.m(n,null)),(!P||v&64)&&fe(z,"arrow-right-disabled",!c[6].hasNext),(!P||v&64&&N!==(N=!c[6].hasNext))&&(m.disabled=N)},i(c){P||(k(f),P=!0)},o(c){A(f),P=!1},d(c){c&&b(t),R[o].d(),O=!1,pt(d)}}}function bt(e){let t,a;return t=new kt({props:{label:"Per Page",parameter:Se,value:e[5],options:je}}),{c(){he(t.$$.fragment)},l(s){pe(t.$$.fragment,s)},m(s,l){Ie(t,s,l),a=!0},p(s,l){const u={};l&32&&(u.value=s[5]),t.$set(u)},i(s){a||(k(t.$$.fragment,s),a=!0)},o(s){A(t.$$.fragment,s),a=!1},d(s){we(t,s)}}}function ol(e){let t=(e[6].length?e[6].startingIndex+1:0)+"",a,s,l=e[6].endingIndex+1+"",u,n,o=e[6].length+"",f;return{c(){a=x(t),s=x("–"),u=x(l),n=x(" of "),f=x(o)},l(r){a=$(r,t),s=$(r,"–"),u=$(r,l),n=$(r," of "),f=$(r,o)},m(r,m){C(r,a,m),C(r,s,m),C(r,u,m),C(r,n,m),C(r,f,m)},p(r,m){m&64&&t!==(t=(r[6].length?r[6].startingIndex+1:0)+"")&&be(a,t),m&64&&l!==(l=r[6].endingIndex+1+"")&&be(u,l),m&64&&o!==(o=r[6].length+"")&&be(f,o)},i:ee,o:ee,d(r){r&&b(a),r&&b(s),r&&b(u),r&&b(n),r&&b(f)}}}function il(e){let t,a;return t=new Rt({props:{class:"block h-5 w-24"}}),{c(){he(t.$$.fragment)},l(s){pe(t.$$.fragment,s)},m(s,l){Ie(t,s,l),a=!0},p:ee,i(s){a||(k(t.$$.fragment,s),a=!0)},o(s){A(t.$$.fragment,s),a=!1},d(s){we(t,s)}}}function rl(e){let t,a,s,l,u,n,o,f,r,m,z,N,P,O,d,U,R,_,c,v,T,Y,K,B,te,F,y,_e,Pe,me,ge,h,ke,Ke;lt(e[23]);const p=e[22]["action-top-left"],W=ne(p,e,e[21],dt),ze=e[22]["action-top-center"],H=ne(ze,e,e[21],gt);let S=!e[0]&&vt(e);const Be=e[22]["pagination-top"],Te=ne(Be,e,e[21],mt),L=Te||nl(e),Oe=e[22]["action-top-right"],q=ne(Oe,e,e[21],_t),Ue=e[22].default,G=ne(Ue,e,e[21],ct),Ce=e[22]["action-bottom-left"],J=ne(Ce,e,e[21],ut);let E=!e[0]&&bt(e);const Ye=[il,ol],le=[];function ye(i,g){return i[1]?0:1}K=ye(e),B=le[K]=Ye[K](e);const We=e[22]["action-bottom-right"],X=ne(We,e,e[21],ft);return{c(){t=V("div"),a=V("div"),W&&W.c(),s=Z(),l=V("nav"),H&&H.c(),u=Z(),S&&S.c(),n=Z(),L&&L.c(),o=Z(),q&&q.c(),z=Z(),G&&G.c(),N=Z(),P=V("nav"),J&&J.c(),O=Z(),d=V("div"),E&&E.c(),U=Z(),R=V("div"),_=V("button"),c=V("span"),T=Z(),Y=V("p"),B.c(),te=Z(),F=V("button"),y=V("span"),Pe=Z(),X&&X.c(),this.h()},l(i){t=M(i,"DIV",{class:!0});var g=D(t);a=M(g,"DIV",{class:!0});var se=D(a);W&&W.l(se),s=Q(se),l=M(se,"NAV",{style:!0,class:!0,"aria-label":!0});var ae=D(l);H&&H.l(ae),u=Q(ae),S&&S.l(ae),n=Q(ae),L&&L.l(ae),o=Q(ae),q&&q.l(ae),ae.forEach(b),se.forEach(b),z=Q(g),G&&G.l(g),N=Q(g),P=M(g,"NAV",{class:!0,"aria-label":!0});var Ve=D(P);J&&J.l(Ve),O=Q(Ve),d=M(Ve,"DIV",{class:!0});var de=D(d);E&&E.l(de),U=Q(de),R=M(de,"DIV",{class:!0});var ve=D(R);_=M(ve,"BUTTON",{class:!0,"aria-label":!0});var xe=D(_);c=M(xe,"SPAN",{class:!0}),D(c).forEach(b),xe.forEach(b),T=Q(ve),Y=M(ve,"P",{});var $e=D(Y);B.l($e),$e.forEach(b),te=Q(ve),F=M(ve,"BUTTON",{class:!0,"aria-label":!0});var et=D(F);y=M(et,"SPAN",{class:!0}),D(y).forEach(b),et.forEach(b),ve.forEach(b),Pe=Q(de),X&&X.l(de),de.forEach(b),Ve.forEach(b),g.forEach(b),this.h()},h(){I(l,"style",e[7]),I(l,"class","flex flex-col justify-end gap-4 md:flex-row"),I(l,"aria-label",f=e[12]["aria-label"]),lt(()=>e[26].call(l)),I(a,"class",m=Me(`flex flex-col items-center gap-4 lg:flex-row ${e[11]["action-top-left"]?"justify-between":"justify-end"}`)+" svelte-1780ds3"),I(c,"class","arrow arrow-left svelte-1780ds3"),fe(c,"arrow-left-disabled",!e[6].hasPrevious),I(_,"class","caret svelte-1780ds3"),_.disabled=v=!e[6].hasPrevious,I(_,"aria-label","previous"),I(y,"class","arrow arrow-right svelte-1780ds3"),fe(y,"arrow-right-disabled",!e[6].hasNext),I(F,"class","caret svelte-1780ds3"),F.disabled=_e=!e[6].hasNext,I(F,"aria-label","next"),I(R,"class","flex items-center justify-center gap-3"),I(d,"class","flex gap-4"),I(P,"class",me=Me(`flex ${e[11]["action-bottom-left"]?"justify-between":"justify-end"}`)+" svelte-1780ds3"),I(P,"aria-label",ge=e[12]["aria-label"]),I(t,"class","pagination relative mb-8 flex flex-col gap-4")},m(i,g){C(i,t,g),w(t,a),W&&W.m(a,null),w(a,s),w(a,l),H&&H.m(l,null),w(l,u),S&&S.m(l,null),w(l,n),L&&L.m(l,null),w(l,o),q&&q.m(l,null),r=Tt(l,e[26].bind(l)),w(t,z),G&&G.m(t,null),w(t,N),w(t,P),J&&J.m(P,null),w(P,O),w(P,d),E&&E.m(d,null),w(d,U),w(d,R),w(R,_),w(_,c),w(R,T),w(R,Y),le[K].m(Y,null),w(R,te),w(R,F),w(F,y),w(d,Pe),X&&X.m(d,null),h=!0,ke||(Ke=[ue(window,"resize",e[9]),ue(window,"keydown",e[10]),ue(window,"resize",e[23]),ue(_,"click",e[27]),ue(F,"click",e[28])],ke=!0)},p(i,[g]){W&&W.p&&(!h||g&2097232)&&oe(W,p,i,i[21],h?re(p,i[21],g,ll):ie(i[21]),dt),H&&H.p&&(!h||g&2097232)&&oe(H,ze,i,i[21],h?re(ze,i[21],g,tl):ie(i[21]),gt),i[0]?S&&(Re(),A(S,1,1,()=>{S=null}),Ne()):S?(S.p(i,g),g&1&&k(S,1)):(S=vt(i),S.c(),k(S,1),S.m(l,n)),Te?Te.p&&(!h||g&2097232)&&oe(Te,Be,i,i[21],h?re(Be,i[21],g,el):ie(i[21]),mt):L&&L.p&&(!h||g&82)&&L.p(i,h?g:-1),q&&q.p&&(!h||g&2097232)&&oe(q,Oe,i,i[21],h?re(Oe,i[21],g,$t):ie(i[21]),_t),(!h||g&128)&&I(l,"style",i[7]),(!h||g&4096&&f!==(f=i[12]["aria-label"]))&&I(l,"aria-label",f),(!h||g&2048&&m!==(m=Me(`flex flex-col items-center gap-4 lg:flex-row ${i[11]["action-top-left"]?"justify-between":"justify-end"}`)+" svelte-1780ds3"))&&I(a,"class",m),G&&G.p&&(!h||g&2097232)&&oe(G,Ue,i,i[21],h?re(Ue,i[21],g,xt):ie(i[21]),ct),J&&J.p&&(!h||g&2097232)&&oe(J,Ce,i,i[21],h?re(Ce,i[21],g,yt):ie(i[21]),ut),i[0]?E&&(Re(),A(E,1,1,()=>{E=null}),Ne()):E?(E.p(i,g),g&1&&k(E,1)):(E=bt(i),E.c(),k(E,1),E.m(d,U)),(!h||g&64)&&fe(c,"arrow-left-disabled",!i[6].hasPrevious),(!h||g&64&&v!==(v=!i[6].hasPrevious))&&(_.disabled=v);let se=K;K=ye(i),K===se?le[K].p(i,g):(Re(),A(le[se],1,1,()=>{le[se]=null}),Ne(),B=le[K],B?B.p(i,g):(B=le[K]=Ye[K](i),B.c()),k(B,1),B.m(Y,null)),(!h||g&64)&&fe(y,"arrow-right-disabled",!i[6].hasNext),(!h||g&64&&_e!==(_e=!i[6].hasNext))&&(F.disabled=_e),X&&X.p&&(!h||g&2097232)&&oe(X,We,i,i[21],h?re(We,i[21],g,Yt):ie(i[21]),ft),(!h||g&2048&&me!==(me=Me(`flex ${i[11]["action-bottom-left"]?"justify-between":"justify-end"}`)+" svelte-1780ds3"))&&I(P,"class",me),(!h||g&4096&&ge!==(ge=i[12]["aria-label"]))&&I(P,"aria-label",ge)},i(i){h||(k(W,i),k(H,i),k(S),k(L,i),k(q,i),k(G,i),k(J,i),k(E),k(B),k(X,i),h=!0)},o(i){A(W,i),A(H,i),A(S),A(L,i),A(q,i),A(G,i),A(J,i),A(E),A(B),A(X,i),h=!1},d(i){i&&b(t),W&&W.d(i),H&&H.d(i),S&&S.d(),L&&L.d(i),q&&q.d(i),r(),G&&G.d(i),J&&J.d(i),E&&E.d(),le[K].d(),X&&X.d(i),ke=!1,pt(Ke)}}}function fl(e,t,a){let s,l,u,n;const o=["items","floatId","startingIndex","currentPageKey","itemsPerPage","updating"];let f=st(t,o),r,m=ee,z=()=>(m(),m=Dt(l,p=>a(6,r=p)),l),N;ht(e,Qe,p=>a(20,N=p)),e.$$.on_destroy.push(()=>m());let{$$slots:P={},$$scope:O}=t;const d=Vt(P);var U;let{items:R}=t,{floatId:_=void 0}=t,{startingIndex:c=0}=t,{currentPageKey:v="page"}=t,{itemsPerPage:T=null}=t,{updating:Y=!1}=t,K,B,te;Mt(()=>{y(),c>0&&F()});const F=()=>{De({parameter:v,value:r.currentPage,url:N.url})},y=()=>{var p;_&&a(18,B=(p=document.getElementById(_))===null||p===void 0?void 0:p.clientWidth)};async function _e(p){switch(p.code){case"ArrowRight":case"KeyL":r.hasNext&&(l.next(),F());break;case"ArrowLeft":case"KeyH":r.hasPrevious&&(l.previous(),F());break;case"ArrowUp":case"KeyK":l.previousRow();break;case"ArrowDown":case"KeyJ":l.nextRow();break}}function Pe(){a(2,K=window.innerWidth)}const me=()=>{l.previous(),F()},ge=()=>{l.next(),F()};function h(){te=this.clientHeight,a(3,te)}const ke=()=>l.previous(),Ke=()=>l.next();return e.$$set=p=>{t=ce(ce({},t),Ee(p)),a(12,f=st(t,o)),"items"in p&&a(13,R=p.items),"floatId"in p&&a(14,_=p.floatId),"startingIndex"in p&&a(15,c=p.startingIndex),"currentPageKey"in p&&a(16,v=p.currentPageKey),"itemsPerPage"in p&&a(0,T=p.itemsPerPage),"updating"in p&&a(1,Y=p.updating),"$$scope"in p&&a(21,O=p.$$scope)},e.$$.update=()=>{e.$$.dirty&1048577&&a(5,s=T!==null?String(T):String(Pt(N.url.searchParams.get(Se))).toString()),e.$$.dirty&1048608&&(parseInt(s,10)>parseInt(at,10)?De({parameter:Se,value:at,url:N.url}):je.includes(s)||De({parameter:Se,value:Ae,url:N.url})),e.$$.dirty&40992&&z(a(4,l=Ht(R,s,c))),e.$$.dirty&1245248&&a(19,u=a(17,U=N.url.searchParams.get(v))!==null&&U!==void 0?U:r.currentPage),e.$$.dirty&524304&&l.jumpToPage(u),e.$$.dirty&262156&&a(7,n=Xt({width:B,height:te,screenWidth:K}))},[T,Y,K,te,l,s,r,n,F,y,_e,d,f,R,_,c,v,U,B,u,N,O,P,Pe,me,ge,h,ke,Ke]}class dl extends Je{constructor(t){super(),Xe(this,t,fl,rl,Ze,{items:13,floatId:14,startingIndex:15,currentPageKey:16,itemsPerPage:0,updating:1})}}export{kt as F,dl as P,De as u}; diff --git a/ui/assets/local/_app/immutable/chunks/paths.11885d69.js b/ui/assets/local/_app/immutable/chunks/paths.11885d69.js new file mode 100644 index 0000000000..694377b098 --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/paths.11885d69.js @@ -0,0 +1 @@ +var s;const e=((s=globalThis.__sveltekit_72xj96)==null?void 0:s.base)??"";var a;const t=((a=globalThis.__sveltekit_72xj96)==null?void 0:a.assets)??e;export{t as a,e as b}; diff --git a/ui/assets/local/_app/immutable/chunks/paths.97c04cbe.js b/ui/assets/local/_app/immutable/chunks/paths.97c04cbe.js deleted file mode 100644 index 28b97da39f..0000000000 --- a/ui/assets/local/_app/immutable/chunks/paths.97c04cbe.js +++ /dev/null @@ -1 +0,0 @@ -var s;const e=((s=globalThis.__sveltekit_1ujlwyd)==null?void 0:s.base)??"";var a;const t=((a=globalThis.__sveltekit_1ujlwyd)==null?void 0:a.assets)??e;export{t as a,e as b}; diff --git a/ui/assets/local/_app/immutable/chunks/pollers-service.0e06b260.js b/ui/assets/local/_app/immutable/chunks/pollers-service.0e06b260.js deleted file mode 100644 index 0973d8b9bb..0000000000 --- a/ui/assets/local/_app/immutable/chunks/pollers-service.0e06b260.js +++ /dev/null @@ -1 +0,0 @@ -import{r as y,a as l}from"./route-for-api.58c31c66.js";async function m(n,r=fetch){const o=y("task-queue",n),a=await l(o,{request:r,params:{taskQueueType:"1"}}),s=await l(o,{request:r,params:{taskQueueType:"2"}});s.pollers.forEach(e=>{e.taskQueueTypes=["ACTIVITY"]}),a.pollers.forEach(e=>{e.taskQueueTypes=["WORKFLOW"]});const i=e=>(t,u)=>{const c=t[u.identity]||{lastAccessTime:void 0,taskQueueTypes:[]};return t[u.identity]={lastAccessTime:!c.lastAccessTime||c.lastAccessTimea.pollers.some(t=>{if(e.identity===t.identity)return e.taskQueueTypes=[...t.taskQueueTypes,...e.taskQueueTypes],e})),s.pollers.reduce(i("ACTIVITY"),a.pollers.reduce(i("WORKFLOW"),{}));const T=s.pollers.length?s.pollers:a.pollers,p=s.pollers.length?s.taskQueueStatus:a.taskQueueStatus;return{pollers:T,taskQueueStatus:p}}export{m as g}; diff --git a/ui/assets/cloud/_app/immutable/chunks/pollers-service.49149478.js b/ui/assets/local/_app/immutable/chunks/pollers-service.1177164f.js similarity index 93% rename from ui/assets/cloud/_app/immutable/chunks/pollers-service.49149478.js rename to ui/assets/local/_app/immutable/chunks/pollers-service.1177164f.js index cf0dfb00f5..3c7c30cdf1 100644 --- a/ui/assets/cloud/_app/immutable/chunks/pollers-service.49149478.js +++ b/ui/assets/local/_app/immutable/chunks/pollers-service.1177164f.js @@ -1 +1 @@ -import{r as y,a as l}from"./route-for-api.5906c1df.js";async function m(n,r=fetch){const o=y("task-queue",n),a=await l(o,{request:r,params:{taskQueueType:"1"}}),s=await l(o,{request:r,params:{taskQueueType:"2"}});s.pollers.forEach(e=>{e.taskQueueTypes=["ACTIVITY"]}),a.pollers.forEach(e=>{e.taskQueueTypes=["WORKFLOW"]});const i=e=>(t,u)=>{const c=t[u.identity]||{lastAccessTime:void 0,taskQueueTypes:[]};return t[u.identity]={lastAccessTime:!c.lastAccessTime||c.lastAccessTimea.pollers.some(t=>{if(e.identity===t.identity)return e.taskQueueTypes=[...t.taskQueueTypes,...e.taskQueueTypes],e})),s.pollers.reduce(i("ACTIVITY"),a.pollers.reduce(i("WORKFLOW"),{}));const T=s.pollers.length?s.pollers:a.pollers,p=s.pollers.length?s.taskQueueStatus:a.taskQueueStatus;return{pollers:T,taskQueueStatus:p}}export{m as g}; +import{r as y,a as l}from"./route-for-api.851ff400.js";async function m(n,r=fetch){const o=y("task-queue",n),a=await l(o,{request:r,params:{taskQueueType:"1"}}),s=await l(o,{request:r,params:{taskQueueType:"2"}});s.pollers.forEach(e=>{e.taskQueueTypes=["ACTIVITY"]}),a.pollers.forEach(e=>{e.taskQueueTypes=["WORKFLOW"]});const i=e=>(t,u)=>{const c=t[u.identity]||{lastAccessTime:void 0,taskQueueTypes:[]};return t[u.identity]={lastAccessTime:!c.lastAccessTime||c.lastAccessTimea.pollers.some(t=>{if(e.identity===t.identity)return e.taskQueueTypes=[...t.taskQueueTypes,...e.taskQueueTypes],e})),s.pollers.reduce(i("ACTIVITY"),a.pollers.reduce(i("WORKFLOW"),{}));const T=s.pollers.length?s.pollers:a.pollers,p=s.pollers.length?s.taskQueueStatus:a.taskQueueStatus;return{pollers:T,taskQueueStatus:p}}export{m as g}; diff --git a/ui/assets/cloud/_app/immutable/chunks/query-service.2b2ddc65.js b/ui/assets/local/_app/immutable/chunks/query-service.0341631d.js similarity index 91% rename from ui/assets/cloud/_app/immutable/chunks/query-service.2b2ddc65.js rename to ui/assets/local/_app/immutable/chunks/query-service.0341631d.js index 251fb11bc2..d663b95cc0 100644 --- a/ui/assets/cloud/_app/immutable/chunks/query-service.2b2ddc65.js +++ b/ui/assets/local/_app/immutable/chunks/query-service.0341631d.js @@ -1 +1 @@ -import{r as f,a as m,e as l}from"./route-for-api.5906c1df.js";import{g as h,a as T}from"./get-codec.a019b391.js";import{c as _,a as g}from"./decode-payload.fd21ad3e.js";import{s as d,p as A}from"./parse-with-big-int.02af2f95.js";import{h as I}from"./has.8da86d13.js";import{p as b}from"./is-http.91300684.js";const P=t=>{const e=t.indexOf("["),r=t.indexOf("]");return t.slice(e+1,r).split(" ").filter(a=>a!=="__stack_trace").map(a=>a.endsWith(",")?a.slice(0,a.length-1):a)},O=async(t,e)=>(e=await e,{namespace:t,workflowId:e.id,runId:e.runId});async function u({workflow:t,namespace:e,queryType:r},a=fetch,s){t=await t;const o=await O(e,t),n=f("query",o);return await m(n,{options:{method:"POST",body:d({execution:{workflowId:t.id,runId:t.runId},query:{queryType:r}})},request:a,onError:s,notifyOnError:!1})}async function Q(t,e=fetch){return new Promise((r,a)=>{u({...t,queryType:"@@temporal-internal__list"},e,s=>{l(s.body)&&s.body.message.includes("@@temporal-internal__list")?r(P(s.body.message)):a(s)})})}async function W(t,e,r,a=fetch){return u(t,a).then(async s=>{const{queryResult:o}=s??{queryResult:{payloads:[]}};let n=o.payloads;try{if(n[0]){const c=h(e),y=T(e,b),p={...e,codec:{...e==null?void 0:e.codec,endpoint:c,passAccessToken:y}},i=c?await _({attributes:o,namespace:t.namespace,settings:p,accessToken:r}):await g(o);I(i,"payloads")&&Array.isArray(i.payloads)&&(n=i.payloads[0])}return A(n)}catch{return typeof n!="string"?d(n):n}})}async function v(t,e,r){return W({...t,queryType:"__stack_trace"},e,r)}export{W as a,v as b,Q as g}; +import{r as f,a as m,e as l}from"./route-for-api.851ff400.js";import{g as h,a as T}from"./get-codec.a019b391.js";import{c as _,a as g}from"./decode-payload.f6b25529.js";import{s as d,p as A}from"./parse-with-big-int.02af2f95.js";import{h as I}from"./has.8da86d13.js";import{p as b}from"./is-http.91300684.js";const P=t=>{const e=t.indexOf("["),r=t.indexOf("]");return t.slice(e+1,r).split(" ").filter(a=>a!=="__stack_trace").map(a=>a.endsWith(",")?a.slice(0,a.length-1):a)},O=async(t,e)=>(e=await e,{namespace:t,workflowId:e.id,runId:e.runId});async function u({workflow:t,namespace:e,queryType:r},a=fetch,s){t=await t;const o=await O(e,t),n=f("query",o);return await m(n,{options:{method:"POST",body:d({execution:{workflowId:t.id,runId:t.runId},query:{queryType:r}})},request:a,onError:s,notifyOnError:!1})}async function Q(t,e=fetch){return new Promise((r,a)=>{u({...t,queryType:"@@temporal-internal__list"},e,s=>{l(s.body)&&s.body.message.includes("@@temporal-internal__list")?r(P(s.body.message)):a(s)})})}async function W(t,e,r,a=fetch){return u(t,a).then(async s=>{const{queryResult:o}=s??{queryResult:{payloads:[]}};let n=o.payloads;try{if(n[0]){const c=h(e),y=T(e,b),p={...e,codec:{...e==null?void 0:e.codec,endpoint:c,passAccessToken:y}},i=c?await _({attributes:o,namespace:t.namespace,settings:p,accessToken:r}):await g(o);I(i,"payloads")&&Array.isArray(i.payloads)&&(n=i.payloads[0])}return A(n)}catch{return typeof n!="string"?d(n):n}})}async function v(t,e,r){return W({...t,queryType:"__stack_trace"},e,r)}export{W as a,v as b,Q as g}; diff --git a/ui/assets/local/_app/immutable/chunks/query-service.50cde2c9.js b/ui/assets/local/_app/immutable/chunks/query-service.50cde2c9.js deleted file mode 100644 index 434d68fa63..0000000000 --- a/ui/assets/local/_app/immutable/chunks/query-service.50cde2c9.js +++ /dev/null @@ -1 +0,0 @@ -import{r as f,a as m,e as l}from"./route-for-api.58c31c66.js";import{g as h,a as T}from"./get-codec.a019b391.js";import{c as _,a as g}from"./decode-payload.f0f298e9.js";import{s as d,p as A}from"./parse-with-big-int.02af2f95.js";import{h as I}from"./has.8da86d13.js";import{p as b}from"./is-http.91300684.js";const P=t=>{const e=t.indexOf("["),r=t.indexOf("]");return t.slice(e+1,r).split(" ").filter(a=>a!=="__stack_trace").map(a=>a.endsWith(",")?a.slice(0,a.length-1):a)},O=async(t,e)=>(e=await e,{namespace:t,workflowId:e.id,runId:e.runId});async function u({workflow:t,namespace:e,queryType:r},a=fetch,s){t=await t;const o=await O(e,t),n=f("query",o);return await m(n,{options:{method:"POST",body:d({execution:{workflowId:t.id,runId:t.runId},query:{queryType:r}})},request:a,onError:s,notifyOnError:!1})}async function Q(t,e=fetch){return new Promise((r,a)=>{u({...t,queryType:"@@temporal-internal__list"},e,s=>{l(s.body)&&s.body.message.includes("@@temporal-internal__list")?r(P(s.body.message)):a(s)})})}async function W(t,e,r,a=fetch){return u(t,a).then(async s=>{const{queryResult:o}=s??{queryResult:{payloads:[]}};let n=o.payloads;try{if(n[0]){const c=h(e),y=T(e,b),p={...e,codec:{...e==null?void 0:e.codec,endpoint:c,passAccessToken:y}},i=c?await _({attributes:o,namespace:t.namespace,settings:p,accessToken:r}):await g(o);I(i,"payloads")&&Array.isArray(i.payloads)&&(n=i.payloads[0])}return A(n)}catch{return typeof n!="string"?d(n):n}})}async function v(t,e,r){return W({...t,queryType:"__stack_trace"},e,r)}export{W as a,v as b,Q as g}; diff --git a/ui/assets/local/_app/immutable/chunks/route-for-api.58c31c66.js b/ui/assets/local/_app/immutable/chunks/route-for-api.851ff400.js similarity index 96% rename from ui/assets/local/_app/immutable/chunks/route-for-api.58c31c66.js rename to ui/assets/local/_app/immutable/chunks/route-for-api.851ff400.js index 4fc33d9515..75908c65f7 100644 --- a/ui/assets/local/_app/immutable/chunks/route-for-api.58c31c66.js +++ b/ui/assets/local/_app/immutable/chunks/route-for-api.851ff400.js @@ -1 +1 @@ -import{B as l,e as h,t as C}from"./route-for.b4518ba8.js";import{g as k}from"./auth-user.ead5c000.js";import{w as q}from"./index.255b7490.js";import{t as F}from"./toaster.fda31b2d.js";import{i as R}from"./is-network-error.3dd5226d.js";import{h as I}from"./has.8da86d13.js";import{i as O}from"./persist-store.bb6871e4.js";import{p as W}from"./stores.b938c0e3.js";import{K as P}from"./index.d29c66be.js";import{b as N}from"./paths.97c04cbe.js";const S=q(null);function _(c=l){const n="",o=!n.startsWith("http");let s="";return o?s=c?window.location.origin+n:"":s=n,s.endsWith("/")&&(s=s.slice(0,-1)),s}const z=(c,n=F,o=S,s=l)=>{throw typeof c=="string"?n.push({variant:"error",message:c}):c.report=!1,c instanceof Error&&n.push({variant:"error",message:c.message}),v(c)&&s&&window.location.assign(h(c==null?void 0:c.message)),b(c)&&s&&window.location.assign(h(c==null?void 0:c.message)),R(c)&&(n.push({variant:"error",message:`${c.statusCode} ${c.statusText}`}),o.set(c)),c},on=(c,n=l)=>{var s;const o=`${c==null?void 0:c.status} ${(s=c==null?void 0:c.body)==null?void 0:s.message}`;if(v(c)&&n){window.location.assign(h(o));return}if(b(c)&&n){window.location.assign(h(o));return}},v=c=>y(c,401),b=c=>y(c,403),y=(c,n)=>I(c,"statusCode")?c.statusCode===n:I(c,"status")?c.status===n:!1,sn=c=>(c==null?void 0:c.message)!==void 0&&typeof(c==null?void 0:c.message)=="string",un=async(c,n={})=>{const{params:o={},request:s=fetch,token:w,notifyOnError:u=!0,handleError:f=z,onError:$,isBrowser:g=l}=n;let{options:t}=n;const T=w?{next_page_token:w}:{},U=new URLSearchParams({...o,...T}),E=C(c,U);try{t=L(t,g),t=await B(t,g);const i=await s(E,t),d=await i.json(),{status:A,statusText:x}=i;if(!i.ok)if($&&O($))$({status:A,statusText:x,body:d});else throw{statusCode:i.status,statusText:i.statusText,response:i,message:(d==null?void 0:d.message)??i.statusText};return d}catch(i){if(u)f(i);else throw i}},L=(c,n=l)=>{const o={credentials:"include",...c};return o.headers=H(c==null?void 0:c.headers,n),o},B=async(c,n=l)=>(k().accessToken?(c.headers=await e(c==null?void 0:c.headers,async()=>k().accessToken,n),c.headers=K(c==null?void 0:c.headers,k().idToken,n)):globalThis!=null&&globalThis.AccessToken&&(c.headers=await e(c==null?void 0:c.headers,globalThis.AccessToken,n)),c),e=async(c,n,o=l)=>{if(c||(c={}),!o)return c;try{const s=await n();s&&(c.Authorization=`Bearer ${s}`)}catch(s){console.error(s)}return c},K=(c={},n,o=l)=>(o&&n&&(c["Authorization-Extras"]=n),c),H=(c,n=l)=>{if(c||(c={}),!n)return c;const o="_csrf=",s="X-CSRF-TOKEN";try{let u=document.cookie.split(";").find(f=>f.includes(o));u&&!c[s]&&(u=u.trim().slice(o.length),c[s]=u)}catch(w){console.error(w)}return c},X=(c,n)=>c?c.replace("%namespace%",n):"",D=c=>{var u,f;let n="";const o=(u=P(W).data)==null?void 0:u.webUrl,s=o&&c,w=((f=globalThis==null?void 0:globalThis.AppConfig)==null?void 0:f.apiUrl)&&c;return s?n=o:w?(console.warn("Using fallback api url, web url not found"),n=X(globalThis.AppConfig.apiUrl,c)):n=_(),n.endsWith("/")&&(n=n.slice(0,-1)),n=`${n}${N}`,n},G=c=>(c.startsWith("/")&&(c=c.slice(1)),`/api/v1/${c}`),J=(c,n)=>`${D(n)}${c}`,M=c=>Object.keys(c??{}).reduce((n,o)=>(n[o]=encodeURIComponent(encodeURIComponent(c[o])),n),{namespace:"",workflowId:"",scheduleId:"",runId:"",queue:"",activityId:""});function Q(c,n,o=!0){o&&(n=M(n));const s={cluster:"/cluster","events.ascending":`/namespaces/${n==null?void 0:n.namespace}/workflows/${n==null?void 0:n.workflowId}/runs/${n==null?void 0:n.runId}/events`,"events.descending":`/namespaces/${n==null?void 0:n.namespace}/workflows/${n==null?void 0:n.workflowId}/runs/${n==null?void 0:n.runId}/events/reverse`,namespaces:"/namespaces",namespace:`/namespaces/${n==null?void 0:n.namespace}`,query:`/namespaces/${n==null?void 0:n.namespace}/workflows/${n==null?void 0:n.workflowId}/runs/${n==null?void 0:n.runId}/query`,"schedule.delete":`/namespaces/${n==null?void 0:n.namespace}/schedules/${n==null?void 0:n.scheduleId}`,schedule:`/namespaces/${n==null?void 0:n.namespace}/schedules/${n==null?void 0:n.scheduleId}`,schedules:`/namespaces/${n==null?void 0:n.namespace}/schedules`,"search-attributes":`/namespaces/${n.namespace}/search-attributes`,settings:"/settings","task-queue":`/namespaces/${n==null?void 0:n.namespace}/task-queues/${n==null?void 0:n.queue}`,user:"/me","workflow.terminate":`/namespaces/${n==null?void 0:n.namespace}/workflows/${n==null?void 0:n.workflowId}/runs/${n==null?void 0:n.runId}/terminate`,"workflow.cancel":`/namespaces/${n.namespace}/workflows/${n.workflowId}/runs/${n.runId}/cancel`,"workflow.signal":`/namespaces/${n.namespace}/workflows/${n.workflowId}/runs/${n.runId}/signal`,"workflow.reset":`/namespaces/${n.namespace}/workflows/${n.workflowId}/runs/${n.runId}/reset`,workflow:`/namespaces/${n==null?void 0:n.namespace}/workflows/${n==null?void 0:n.workflowId}/runs/${n==null?void 0:n.runId}`,"workflows.archived":`/namespaces/${n==null?void 0:n.namespace}/workflows/archived`,workflows:`/namespaces/${n==null?void 0:n.namespace}/workflows`,"workflows.count":`/namespaces/${n==null?void 0:n.namespace}/workflows/count`,"activity.complete":`/namespaces/${n.namespace}/workflows/${n.workflowId}/runs/${n.runId}/activities/${n.activityId}/complete`,"activity.fail":`/namespaces/${n.namespace}/workflows/${n.workflowId}/runs/${n.runId}/activities/${n.activityId}/fail`,"batch-operations":`/namespaces/${n.namespace}/batch-operations`,"batch-operation.describe":`/namespaces/${n.namespace}/batch-operations/describe`};return G(s[c])}function ln(c,n,o=!0){const s=Q(c,n,o);return J(s,n==null?void 0:n.namespace)}export{un as a,D as b,on as c,b as d,sn as e,_ as g,z as h,v as i,S as n,Q as p,ln as r}; +import{B as l,e as h,t as C}from"./route-for.3e9c6ff4.js";import{g as k}from"./auth-user.ead5c000.js";import{w as q}from"./index.255b7490.js";import{t as F}from"./toaster.fda31b2d.js";import{i as R}from"./is-network-error.3dd5226d.js";import{h as I}from"./has.8da86d13.js";import{i as O}from"./persist-store.bb6871e4.js";import{p as W}from"./stores.8c019868.js";import{K as P}from"./index.d29c66be.js";import{b as N}from"./paths.11885d69.js";const S=q(null);function _(c=l){const n="",o=!n.startsWith("http");let s="";return o?s=c?window.location.origin+n:"":s=n,s.endsWith("/")&&(s=s.slice(0,-1)),s}const z=(c,n=F,o=S,s=l)=>{throw typeof c=="string"?n.push({variant:"error",message:c}):c.report=!1,c instanceof Error&&n.push({variant:"error",message:c.message}),v(c)&&s&&window.location.assign(h(c==null?void 0:c.message)),b(c)&&s&&window.location.assign(h(c==null?void 0:c.message)),R(c)&&(n.push({variant:"error",message:`${c.statusCode} ${c.statusText}`}),o.set(c)),c},on=(c,n=l)=>{var s;const o=`${c==null?void 0:c.status} ${(s=c==null?void 0:c.body)==null?void 0:s.message}`;if(v(c)&&n){window.location.assign(h(o));return}if(b(c)&&n){window.location.assign(h(o));return}},v=c=>y(c,401),b=c=>y(c,403),y=(c,n)=>I(c,"statusCode")?c.statusCode===n:I(c,"status")?c.status===n:!1,sn=c=>(c==null?void 0:c.message)!==void 0&&typeof(c==null?void 0:c.message)=="string",un=async(c,n={})=>{const{params:o={},request:s=fetch,token:w,notifyOnError:u=!0,handleError:f=z,onError:$,isBrowser:g=l}=n;let{options:t}=n;const T=w?{next_page_token:w}:{},U=new URLSearchParams({...o,...T}),E=C(c,U);try{t=L(t,g),t=await B(t,g);const i=await s(E,t),d=await i.json(),{status:A,statusText:x}=i;if(!i.ok)if($&&O($))$({status:A,statusText:x,body:d});else throw{statusCode:i.status,statusText:i.statusText,response:i,message:(d==null?void 0:d.message)??i.statusText};return d}catch(i){if(u)f(i);else throw i}},L=(c,n=l)=>{const o={credentials:"include",...c};return o.headers=H(c==null?void 0:c.headers,n),o},B=async(c,n=l)=>(k().accessToken?(c.headers=await e(c==null?void 0:c.headers,async()=>k().accessToken,n),c.headers=K(c==null?void 0:c.headers,k().idToken,n)):globalThis!=null&&globalThis.AccessToken&&(c.headers=await e(c==null?void 0:c.headers,globalThis.AccessToken,n)),c),e=async(c,n,o=l)=>{if(c||(c={}),!o)return c;try{const s=await n();s&&(c.Authorization=`Bearer ${s}`)}catch(s){console.error(s)}return c},K=(c={},n,o=l)=>(o&&n&&(c["Authorization-Extras"]=n),c),H=(c,n=l)=>{if(c||(c={}),!n)return c;const o="_csrf=",s="X-CSRF-TOKEN";try{let u=document.cookie.split(";").find(f=>f.includes(o));u&&!c[s]&&(u=u.trim().slice(o.length),c[s]=u)}catch(w){console.error(w)}return c},X=(c,n)=>c?c.replace("%namespace%",n):"",D=c=>{var u,f;let n="";const o=(u=P(W).data)==null?void 0:u.webUrl,s=o&&c,w=((f=globalThis==null?void 0:globalThis.AppConfig)==null?void 0:f.apiUrl)&&c;return s?n=o:w?(console.warn("Using fallback api url, web url not found"),n=X(globalThis.AppConfig.apiUrl,c)):n=_(),n.endsWith("/")&&(n=n.slice(0,-1)),n=`${n}${N}`,n},G=c=>(c.startsWith("/")&&(c=c.slice(1)),`/api/v1/${c}`),J=(c,n)=>`${D(n)}${c}`,M=c=>Object.keys(c??{}).reduce((n,o)=>(n[o]=encodeURIComponent(encodeURIComponent(c[o])),n),{namespace:"",workflowId:"",scheduleId:"",runId:"",queue:"",activityId:""});function Q(c,n,o=!0){o&&(n=M(n));const s={cluster:"/cluster","events.ascending":`/namespaces/${n==null?void 0:n.namespace}/workflows/${n==null?void 0:n.workflowId}/runs/${n==null?void 0:n.runId}/events`,"events.descending":`/namespaces/${n==null?void 0:n.namespace}/workflows/${n==null?void 0:n.workflowId}/runs/${n==null?void 0:n.runId}/events/reverse`,namespaces:"/namespaces",namespace:`/namespaces/${n==null?void 0:n.namespace}`,query:`/namespaces/${n==null?void 0:n.namespace}/workflows/${n==null?void 0:n.workflowId}/runs/${n==null?void 0:n.runId}/query`,"schedule.delete":`/namespaces/${n==null?void 0:n.namespace}/schedules/${n==null?void 0:n.scheduleId}`,schedule:`/namespaces/${n==null?void 0:n.namespace}/schedules/${n==null?void 0:n.scheduleId}`,schedules:`/namespaces/${n==null?void 0:n.namespace}/schedules`,"search-attributes":`/namespaces/${n.namespace}/search-attributes`,settings:"/settings","task-queue":`/namespaces/${n==null?void 0:n.namespace}/task-queues/${n==null?void 0:n.queue}`,user:"/me","workflow.terminate":`/namespaces/${n==null?void 0:n.namespace}/workflows/${n==null?void 0:n.workflowId}/runs/${n==null?void 0:n.runId}/terminate`,"workflow.cancel":`/namespaces/${n.namespace}/workflows/${n.workflowId}/runs/${n.runId}/cancel`,"workflow.signal":`/namespaces/${n.namespace}/workflows/${n.workflowId}/runs/${n.runId}/signal`,"workflow.reset":`/namespaces/${n.namespace}/workflows/${n.workflowId}/runs/${n.runId}/reset`,workflow:`/namespaces/${n==null?void 0:n.namespace}/workflows/${n==null?void 0:n.workflowId}/runs/${n==null?void 0:n.runId}`,"workflows.archived":`/namespaces/${n==null?void 0:n.namespace}/workflows/archived`,workflows:`/namespaces/${n==null?void 0:n.namespace}/workflows`,"workflows.count":`/namespaces/${n==null?void 0:n.namespace}/workflows/count`,"activity.complete":`/namespaces/${n.namespace}/workflows/${n.workflowId}/runs/${n.runId}/activities/${n.activityId}/complete`,"activity.fail":`/namespaces/${n.namespace}/workflows/${n.workflowId}/runs/${n.runId}/activities/${n.activityId}/fail`,"batch-operations":`/namespaces/${n.namespace}/batch-operations`,"batch-operation.describe":`/namespaces/${n.namespace}/batch-operations/describe`};return G(s[c])}function ln(c,n,o=!0){const s=Q(c,n,o);return J(s,n==null?void 0:n.namespace)}export{un as a,D as b,on as c,b as d,sn as e,_ as g,z as h,v as i,S as n,Q as p,ln as r}; diff --git a/ui/assets/cloud/_app/immutable/chunks/route-for.5e008fb6.js b/ui/assets/local/_app/immutable/chunks/route-for.3e9c6ff4.js similarity index 97% rename from ui/assets/cloud/_app/immutable/chunks/route-for.5e008fb6.js rename to ui/assets/local/_app/immutable/chunks/route-for.3e9c6ff4.js index 92d2bbc1da..30ee3f66e6 100644 --- a/ui/assets/cloud/_app/immutable/chunks/route-for.5e008fb6.js +++ b/ui/assets/local/_app/immutable/chunks/route-for.3e9c6ff4.js @@ -1 +1 @@ -import{b as o}from"./paths.fd839acd.js";const p=!0,h=(e,r)=>{const t=r instanceof URLSearchParams;return r&&!t&&(r=new URLSearchParams(r)),r?`${e}?${r}`:e};function c(e){return e&&e.replace(/%/g,"%25").replace(/,/g,"%2C").replace(/\//g,"%2F").replace(/\\/g,"%5C").replace(/\?/g,"%3F").replace(/:/g,"%3A").replace(/@/g,"%40").replace(/&/g,"%26").replace(/=/g,"%3D").replace(/\+/g,"%2B").replace(/\$/g,"%24").replace(/#/g,"%23")}function d(e){return e&&e.replace(/%2C/g,",").replace(/%2F/g,"/").replace(/%5C/g,"\\").replace(/%3F/g,"?").replace(/%3A/g,":").replace(/%40/g,"@").replace(/%26/g,"&").replace(/%3D/g,"=").replace(/%2B/g,"+").replace(/%24/g,"$").replace(/%23/g,"#").replace(/%25/g,"%")}const m=()=>`${o}/namespaces`,u=({namespace:e})=>`${o}/namespaces/${e}`,w=()=>`${o}/select-namespace`,F=e=>`${u(e)}/workflows`,S=e=>`${u(e)}/archival`,s=({workflow:e,run:r,...t})=>{const a=c(e);return`${F(t)}/${a}/${r}`},i=e=>`${u(e)}/schedules`,P=({namespace:e})=>`${i({namespace:e})}/create`,U=({scheduleId:e,namespace:r})=>{const t=c(e);return`${i({namespace:r})}/${t}`},k=({scheduleId:e,namespace:r})=>{const t=c(e);return`${i({namespace:r})}/${t}/edit`},v=({queryParams:e,...r})=>{const t=`${s(r)}/history`;return h(`${t}`,e)},R=e=>`${s(e)}/workers`,y=e=>{const r=c(e.queue);return`${u({namespace:e.namespace})}/task-queues/${r}`},L=e=>`${s(e)}/stack-trace`,W=e=>`${s(e)}/query`,q=e=>`${s(e)}/pending-activities`,A=e=>{const{settings:r,searchParams:t,originUrl:a}=e,n=new URL(`${o}/auth/sso`,r.baseUrl);let l=r.auth.options??[];return l=[...l,"returnUrl"],l.forEach(g=>{if(!t)return;const $=t.get(g);$&&n.searchParams.set(g,$)}),!n.searchParams.get("returnUrl")&&a&&n.searchParams.set("returnUrl",a),n.toString()},C=(e="",r=p)=>{if(r){const t=new URL(`${o}/login`,window.location.origin);return t.searchParams.set("returnUrl",window.location.href),e&&t.searchParams.set("error",e),t.toString()}return`${o}/login`},E=(e,r)=>e&&r?`${o}/import/events/${e}/workflow/run/history/${r}`:`${o}/import/events`;export{p as B,S as a,m as b,i as c,E as d,C as e,v as f,R as g,q as h,L as i,W as j,d as k,w as l,y as m,u as n,U as o,P as p,k as q,F as r,A as s,h as t}; +import{b as o}from"./paths.11885d69.js";const p=!0,h=(e,r)=>{const t=r instanceof URLSearchParams;return r&&!t&&(r=new URLSearchParams(r)),r?`${e}?${r}`:e};function c(e){return e&&e.replace(/%/g,"%25").replace(/,/g,"%2C").replace(/\//g,"%2F").replace(/\\/g,"%5C").replace(/\?/g,"%3F").replace(/:/g,"%3A").replace(/@/g,"%40").replace(/&/g,"%26").replace(/=/g,"%3D").replace(/\+/g,"%2B").replace(/\$/g,"%24").replace(/#/g,"%23")}function d(e){return e&&e.replace(/%2C/g,",").replace(/%2F/g,"/").replace(/%5C/g,"\\").replace(/%3F/g,"?").replace(/%3A/g,":").replace(/%40/g,"@").replace(/%26/g,"&").replace(/%3D/g,"=").replace(/%2B/g,"+").replace(/%24/g,"$").replace(/%23/g,"#").replace(/%25/g,"%")}const m=()=>`${o}/namespaces`,u=({namespace:e})=>`${o}/namespaces/${e}`,w=()=>`${o}/select-namespace`,F=e=>`${u(e)}/workflows`,S=e=>`${u(e)}/archival`,s=({workflow:e,run:r,...t})=>{const a=c(e);return`${F(t)}/${a}/${r}`},i=e=>`${u(e)}/schedules`,P=({namespace:e})=>`${i({namespace:e})}/create`,U=({scheduleId:e,namespace:r})=>{const t=c(e);return`${i({namespace:r})}/${t}`},k=({scheduleId:e,namespace:r})=>{const t=c(e);return`${i({namespace:r})}/${t}/edit`},v=({queryParams:e,...r})=>{const t=`${s(r)}/history`;return h(`${t}`,e)},R=e=>`${s(e)}/workers`,y=e=>{const r=c(e.queue);return`${u({namespace:e.namespace})}/task-queues/${r}`},L=e=>`${s(e)}/stack-trace`,W=e=>`${s(e)}/query`,q=e=>`${s(e)}/pending-activities`,A=e=>{const{settings:r,searchParams:t,originUrl:a}=e,n=new URL(`${o}/auth/sso`,r.baseUrl);let l=r.auth.options??[];return l=[...l,"returnUrl"],l.forEach(g=>{if(!t)return;const $=t.get(g);$&&n.searchParams.set(g,$)}),!n.searchParams.get("returnUrl")&&a&&n.searchParams.set("returnUrl",a),n.toString()},C=(e="",r=p)=>{if(r){const t=new URL(`${o}/login`,window.location.origin);return t.searchParams.set("returnUrl",window.location.href),e&&t.searchParams.set("error",e),t.toString()}return`${o}/login`},E=(e,r)=>e&&r?`${o}/import/events/${e}/workflow/run/history/${r}`:`${o}/import/events`;export{p as B,S as a,m as b,i as c,E as d,C as e,v as f,R as g,q as h,L as i,W as j,d as k,w as l,y as m,u as n,U as o,P as p,k as q,F as r,A as s,h as t}; diff --git a/ui/assets/local/_app/immutable/chunks/route-for.b4518ba8.js b/ui/assets/local/_app/immutable/chunks/route-for.b4518ba8.js deleted file mode 100644 index e990781698..0000000000 --- a/ui/assets/local/_app/immutable/chunks/route-for.b4518ba8.js +++ /dev/null @@ -1 +0,0 @@ -import{b as o}from"./paths.97c04cbe.js";const p=!0,h=(e,r)=>{const t=r instanceof URLSearchParams;return r&&!t&&(r=new URLSearchParams(r)),r?`${e}?${r}`:e};function c(e){return e&&e.replace(/%/g,"%25").replace(/,/g,"%2C").replace(/\//g,"%2F").replace(/\\/g,"%5C").replace(/\?/g,"%3F").replace(/:/g,"%3A").replace(/@/g,"%40").replace(/&/g,"%26").replace(/=/g,"%3D").replace(/\+/g,"%2B").replace(/\$/g,"%24").replace(/#/g,"%23")}function d(e){return e&&e.replace(/%2C/g,",").replace(/%2F/g,"/").replace(/%5C/g,"\\").replace(/%3F/g,"?").replace(/%3A/g,":").replace(/%40/g,"@").replace(/%26/g,"&").replace(/%3D/g,"=").replace(/%2B/g,"+").replace(/%24/g,"$").replace(/%23/g,"#").replace(/%25/g,"%")}const m=()=>`${o}/namespaces`,u=({namespace:e})=>`${o}/namespaces/${e}`,w=()=>`${o}/select-namespace`,F=e=>`${u(e)}/workflows`,S=e=>`${u(e)}/archival`,s=({workflow:e,run:r,...t})=>{const a=c(e);return`${F(t)}/${a}/${r}`},i=e=>`${u(e)}/schedules`,P=({namespace:e})=>`${i({namespace:e})}/create`,U=({scheduleId:e,namespace:r})=>{const t=c(e);return`${i({namespace:r})}/${t}`},k=({scheduleId:e,namespace:r})=>{const t=c(e);return`${i({namespace:r})}/${t}/edit`},v=({queryParams:e,...r})=>{const t=`${s(r)}/history`;return h(`${t}`,e)},R=e=>`${s(e)}/workers`,y=e=>{const r=c(e.queue);return`${u({namespace:e.namespace})}/task-queues/${r}`},L=e=>`${s(e)}/stack-trace`,W=e=>`${s(e)}/query`,q=e=>`${s(e)}/pending-activities`,A=e=>{const{settings:r,searchParams:t,originUrl:a}=e,n=new URL(`${o}/auth/sso`,r.baseUrl);let l=r.auth.options??[];return l=[...l,"returnUrl"],l.forEach(g=>{if(!t)return;const $=t.get(g);$&&n.searchParams.set(g,$)}),!n.searchParams.get("returnUrl")&&a&&n.searchParams.set("returnUrl",a),n.toString()},C=(e="",r=p)=>{if(r){const t=new URL(`${o}/login`,window.location.origin);return t.searchParams.set("returnUrl",window.location.href),e&&t.searchParams.set("error",e),t.toString()}return`${o}/login`},E=(e,r)=>e&&r?`${o}/import/events/${e}/workflow/run/history/${r}`:`${o}/import/events`;export{p as B,S as a,m as b,i as c,E as d,C as e,v as f,R as g,q as h,L as i,W as j,d as k,w as l,y as m,u as n,U as o,P as p,k as q,F as r,A as s,h as t}; diff --git a/ui/assets/local/_app/immutable/chunks/schedule-form-view.39a52816.js b/ui/assets/local/_app/immutable/chunks/schedule-form-view.f2d04ca3.js similarity index 99% rename from ui/assets/local/_app/immutable/chunks/schedule-form-view.39a52816.js rename to ui/assets/local/_app/immutable/chunks/schedule-form-view.f2d04ca3.js index 8f1ea9ff97..a150972416 100644 --- a/ui/assets/local/_app/immutable/chunks/schedule-form-view.39a52816.js +++ b/ui/assets/local/_app/immutable/chunks/schedule-form-view.f2d04ca3.js @@ -1,4 +1,4 @@ -import{S as $e,b as be,a as we,G as $t,O as Ye,m as D,p as W,q as T,k as g,R as tt,T as ve,f as U,H as bt,I as wt,J as kt,V as Mt,j as E,g as S,a5 as nt,ae as St,L as Re,P as Dt,A as F,Y as Q,w as Z,c as V,C as A,x as X,d as C,D as B,u as L,M as v,E as H,Z as j,F as N,y as yt,n as Ie,a7 as Fe,U as je,ac as Ke,z as ze,h as Ge,ai as Wt,_ as st,v as It}from"./index.d29c66be.js";import{e as Je,l as Tt}from"./schedules.7d01b1a1.js";import{A as Vt}from"./alert.bf61782e.js";import{I as Ct}from"./icon.5aa23970.js";import{B as Pt}from"./button.e7112b29.js";import{L as At}from"./loading.9b5a6a67.js";import{I as ge}from"./input.0adb9ec6.js";import{c as Bt,T as Ht,a as Nt,b as Ne}from"./tab-list.bd3b7764.js";import{M as Lt,a as Rt,b as Ut,c as qe}from"./menu-item.be414f05.js";import{g as Qe,w as lt,m as it}from"./calendar.81d1e381.js";import{T as qt,a as ut}from"./toggle-buttons.10f7f06f.js";import{p as Ot}from"./stores.b938c0e3.js";import{S as Ft}from"./schedule-frequency.c1093480.js";import{o as Qt,c as jt}from"./route-for.b4518ba8.js";function Kt(n){let e,t;const s=n[7].default,i=$t(s,n,n[6],null);let r=[{id:n[0]},{"aria-labelledby":n[1]},{tabindex:"0"},{role:"tabpanel"},n[4]],a={};for(let f=0;ft(5,a=m)),o(u),n.$$set=m=>{e=Ye(Ye({},e),Dt(m)),t(4,r=nt(e,i)),"id"in m&&t(0,u=m.id),"tabId"in m&&t(1,c=m.tabId),"$$scope"in m&&t(6,l=m.$$scope)},n.$$.update=()=>{n.$$.dirty&33&&t(2,s=a===u)},[u,c,s,d,r,a,l,f]}class Le extends $e{constructor(e){super(),be(this,e,zt,Kt,we,{id:0,tabId:1})}}function Gt(n){let e;return{c(){e=Z(n[6])},l(t){e=X(t,n[6])},m(t,s){U(t,e,s)},p(t,s){s&64&&yt(e,t[6])},d(t){t&&g(e)}}}function Jt(n){let e;return{c(){e=Z("days")},l(t){e=X(t,"days")},m(t,s){U(t,e,s)},d(t){t&&g(e)}}}function Yt(n){let e;return{c(){e=Z("hrs")},l(t){e=X(t,"hrs")},m(t,s){U(t,e,s)},d(t){t&&g(e)}}}function Zt(n){let e;return{c(){e=Z("min")},l(t){e=X(t,"min")},m(t,s){U(t,e,s)},d(t){t&&g(e)}}}function Xt(n){let e;return{c(){e=Z("sec")},l(t){e=X(t,"sec")},m(t,s){U(t,e,s)},d(t){t&&g(e)}}}function xt(n){let e,t,s,i,r,a,f,l;return e=new qe({props:{$$slots:{default:[Jt]},$$scope:{ctx:n}}}),e.$on("click",n[14]),s=new qe({props:{$$slots:{default:[Yt]},$$scope:{ctx:n}}}),s.$on("click",n[15]),r=new qe({props:{$$slots:{default:[Zt]},$$scope:{ctx:n}}}),r.$on("click",n[16]),f=new qe({props:{$$slots:{default:[Xt]},$$scope:{ctx:n}}}),f.$on("click",n[17]),{c(){A(e.$$.fragment),t=V(),A(s.$$.fragment),i=V(),A(r.$$.fragment),a=V(),A(f.$$.fragment)},l(u){B(e.$$.fragment,u),t=C(u),B(s.$$.fragment,u),i=C(u),B(r.$$.fragment,u),a=C(u),B(f.$$.fragment,u)},m(u,c){H(e,u,c),U(u,t,c),H(s,u,c),U(u,i,c),H(r,u,c),U(u,a,c),H(f,u,c),l=!0},p(u,c){const o={};c&262144&&(o.$$scope={dirty:c,ctx:u}),e.$set(o);const d={};c&262144&&(d.$$scope={dirty:c,ctx:u}),s.$set(d);const m={};c&262144&&(m.$$scope={dirty:c,ctx:u}),r.$set(m);const p={};c&262144&&(p.$$scope={dirty:c,ctx:u}),f.$set(p)},i(u){l||(E(e.$$.fragment,u),E(s.$$.fragment,u),E(r.$$.fragment,u),E(f.$$.fragment,u),l=!0)},o(u){S(e.$$.fragment,u),S(s.$$.fragment,u),S(r.$$.fragment,u),S(f.$$.fragment,u),l=!1},d(u){N(e,u),u&&g(t),N(s,u),u&&g(i),N(r,u),u&&g(a),N(f,u)}}}function en(n){let e,t,s,i;return e=new Rt({props:{hasIndicator:!0,id:"phase",controls:"phase-menu",class:"rounded-r bg-offWhite border border-primary border-l-0 h-10 w-16 px-2",$$slots:{default:[Gt]},$$scope:{ctx:n}}}),s=new Ut({props:{id:"phase-menu",$$slots:{default:[xt]},$$scope:{ctx:n}}}),{c(){A(e.$$.fragment),t=V(),A(s.$$.fragment)},l(r){B(e.$$.fragment,r),t=C(r),B(s.$$.fragment,r)},m(r,a){H(e,r,a),U(r,t,a),H(s,r,a),i=!0},p(r,a){const f={};a&262208&&(f.$$scope={dirty:a,ctx:r}),e.$set(f);const l={};a&262144&&(l.$$scope={dirty:a,ctx:r}),s.$set(l)},i(r){i||(E(e.$$.fragment,r),E(s.$$.fragment,r),i=!0)},o(r){S(e.$$.fragment,r),S(s.$$.fragment,r),i=!1},d(r){N(e,r),r&&g(t),N(s,r)}}}function tn(n){let e,t,s,i,r,a,f,l,u,c,o,d,m,p,O,k,I,R,q,h,$,K,x,J,ue,P,w,z,ne,G,Y,fe,ae,le,oe,de,y,ee,pe,ce,he,ke,Oe,_e,ye;function Ee(M){n[9](M)}let Me={id:"days",placeholder:"00",suffix:"days",maxLength:3,error:n[7](n[0])};n[0]!==void 0&&(Me.value=n[0]),c=new ge({props:Me}),F.push(()=>Q(c,"value",Ee));function Ve(M){n[10](M)}let Se={id:"hour",placeholder:"00",suffix:"hrs",maxLength:2,error:n[7](n[1])};n[1]!==void 0&&(Se.value=n[1]),I=new ge({props:Se}),F.push(()=>Q(I,"value",Ve));function Ce(M){n[11](M)}let De={id:"minute",placeholder:"00",suffix:"min",maxLength:2,error:n[7](n[2])};n[2]!==void 0&&(De.value=n[2]),J=new ge({props:De}),F.push(()=>Q(J,"value",Ce));function Pe(M){n[12](M)}let We={id:"second",placeholder:"00",suffix:"sec",maxLength:2,error:n[7](n[3])};n[3]!==void 0&&(We.value=n[3]),Y=new ge({props:We}),F.push(()=>Q(Y,"value",Pe));function Ae(M){n[13](M)}let Te={id:"phase",placeholder:"00",error:n[7](n[4]),unroundRight:!0,class:"h-10"};return n[5]!==void 0&&(Te.value=n[5]),he=new ge({props:Te}),F.push(()=>Q(he,"value",Ae)),_e=new Lt({props:{$$slots:{default:[en]},$$scope:{ctx:n}}}),{c(){e=D("div"),t=D("h3"),s=Z("Recurring Time"),i=V(),r=D("p"),a=Z(`Specify the time interval for this schedule to run (for example every 5 +import{S as $e,b as be,a as we,G as $t,O as Ye,m as D,p as W,q as T,k as g,R as tt,T as ve,f as U,H as bt,I as wt,J as kt,V as Mt,j as E,g as S,a5 as nt,ae as St,L as Re,P as Dt,A as F,Y as Q,w as Z,c as V,C as A,x as X,d as C,D as B,u as L,M as v,E as H,Z as j,F as N,y as yt,n as Ie,a7 as Fe,U as je,ac as Ke,z as ze,h as Ge,ai as Wt,_ as st,v as It}from"./index.d29c66be.js";import{e as Je,l as Tt}from"./schedules.e00ba3db.js";import{A as Vt}from"./alert.bf61782e.js";import{I as Ct}from"./icon.5aa23970.js";import{B as Pt}from"./button.e7112b29.js";import{L as At}from"./loading.9b5a6a67.js";import{I as ge}from"./input.0adb9ec6.js";import{c as Bt,T as Ht,a as Nt,b as Ne}from"./tab-list.bd3b7764.js";import{M as Lt,a as Rt,b as Ut,c as qe}from"./menu-item.be414f05.js";import{g as Qe,w as lt,m as it}from"./calendar.81d1e381.js";import{T as qt,a as ut}from"./toggle-buttons.d2c900e1.js";import{p as Ot}from"./stores.8c019868.js";import{S as Ft}from"./schedule-frequency.b820a236.js";import{o as Qt,c as jt}from"./route-for.3e9c6ff4.js";function Kt(n){let e,t;const s=n[7].default,i=$t(s,n,n[6],null);let r=[{id:n[0]},{"aria-labelledby":n[1]},{tabindex:"0"},{role:"tabpanel"},n[4]],a={};for(let f=0;ft(5,a=m)),o(u),n.$$set=m=>{e=Ye(Ye({},e),Dt(m)),t(4,r=nt(e,i)),"id"in m&&t(0,u=m.id),"tabId"in m&&t(1,c=m.tabId),"$$scope"in m&&t(6,l=m.$$scope)},n.$$.update=()=>{n.$$.dirty&33&&t(2,s=a===u)},[u,c,s,d,r,a,l,f]}class Le extends $e{constructor(e){super(),be(this,e,zt,Kt,we,{id:0,tabId:1})}}function Gt(n){let e;return{c(){e=Z(n[6])},l(t){e=X(t,n[6])},m(t,s){U(t,e,s)},p(t,s){s&64&&yt(e,t[6])},d(t){t&&g(e)}}}function Jt(n){let e;return{c(){e=Z("days")},l(t){e=X(t,"days")},m(t,s){U(t,e,s)},d(t){t&&g(e)}}}function Yt(n){let e;return{c(){e=Z("hrs")},l(t){e=X(t,"hrs")},m(t,s){U(t,e,s)},d(t){t&&g(e)}}}function Zt(n){let e;return{c(){e=Z("min")},l(t){e=X(t,"min")},m(t,s){U(t,e,s)},d(t){t&&g(e)}}}function Xt(n){let e;return{c(){e=Z("sec")},l(t){e=X(t,"sec")},m(t,s){U(t,e,s)},d(t){t&&g(e)}}}function xt(n){let e,t,s,i,r,a,f,l;return e=new qe({props:{$$slots:{default:[Jt]},$$scope:{ctx:n}}}),e.$on("click",n[14]),s=new qe({props:{$$slots:{default:[Yt]},$$scope:{ctx:n}}}),s.$on("click",n[15]),r=new qe({props:{$$slots:{default:[Zt]},$$scope:{ctx:n}}}),r.$on("click",n[16]),f=new qe({props:{$$slots:{default:[Xt]},$$scope:{ctx:n}}}),f.$on("click",n[17]),{c(){A(e.$$.fragment),t=V(),A(s.$$.fragment),i=V(),A(r.$$.fragment),a=V(),A(f.$$.fragment)},l(u){B(e.$$.fragment,u),t=C(u),B(s.$$.fragment,u),i=C(u),B(r.$$.fragment,u),a=C(u),B(f.$$.fragment,u)},m(u,c){H(e,u,c),U(u,t,c),H(s,u,c),U(u,i,c),H(r,u,c),U(u,a,c),H(f,u,c),l=!0},p(u,c){const o={};c&262144&&(o.$$scope={dirty:c,ctx:u}),e.$set(o);const d={};c&262144&&(d.$$scope={dirty:c,ctx:u}),s.$set(d);const m={};c&262144&&(m.$$scope={dirty:c,ctx:u}),r.$set(m);const p={};c&262144&&(p.$$scope={dirty:c,ctx:u}),f.$set(p)},i(u){l||(E(e.$$.fragment,u),E(s.$$.fragment,u),E(r.$$.fragment,u),E(f.$$.fragment,u),l=!0)},o(u){S(e.$$.fragment,u),S(s.$$.fragment,u),S(r.$$.fragment,u),S(f.$$.fragment,u),l=!1},d(u){N(e,u),u&&g(t),N(s,u),u&&g(i),N(r,u),u&&g(a),N(f,u)}}}function en(n){let e,t,s,i;return e=new Rt({props:{hasIndicator:!0,id:"phase",controls:"phase-menu",class:"rounded-r bg-offWhite border border-primary border-l-0 h-10 w-16 px-2",$$slots:{default:[Gt]},$$scope:{ctx:n}}}),s=new Ut({props:{id:"phase-menu",$$slots:{default:[xt]},$$scope:{ctx:n}}}),{c(){A(e.$$.fragment),t=V(),A(s.$$.fragment)},l(r){B(e.$$.fragment,r),t=C(r),B(s.$$.fragment,r)},m(r,a){H(e,r,a),U(r,t,a),H(s,r,a),i=!0},p(r,a){const f={};a&262208&&(f.$$scope={dirty:a,ctx:r}),e.$set(f);const l={};a&262144&&(l.$$scope={dirty:a,ctx:r}),s.$set(l)},i(r){i||(E(e.$$.fragment,r),E(s.$$.fragment,r),i=!0)},o(r){S(e.$$.fragment,r),S(s.$$.fragment,r),i=!1},d(r){N(e,r),r&&g(t),N(s,r)}}}function tn(n){let e,t,s,i,r,a,f,l,u,c,o,d,m,p,O,k,I,R,q,h,$,K,x,J,ue,P,w,z,ne,G,Y,fe,ae,le,oe,de,y,ee,pe,ce,he,ke,Oe,_e,ye;function Ee(M){n[9](M)}let Me={id:"days",placeholder:"00",suffix:"days",maxLength:3,error:n[7](n[0])};n[0]!==void 0&&(Me.value=n[0]),c=new ge({props:Me}),F.push(()=>Q(c,"value",Ee));function Ve(M){n[10](M)}let Se={id:"hour",placeholder:"00",suffix:"hrs",maxLength:2,error:n[7](n[1])};n[1]!==void 0&&(Se.value=n[1]),I=new ge({props:Se}),F.push(()=>Q(I,"value",Ve));function Ce(M){n[11](M)}let De={id:"minute",placeholder:"00",suffix:"min",maxLength:2,error:n[7](n[2])};n[2]!==void 0&&(De.value=n[2]),J=new ge({props:De}),F.push(()=>Q(J,"value",Ce));function Pe(M){n[12](M)}let We={id:"second",placeholder:"00",suffix:"sec",maxLength:2,error:n[7](n[3])};n[3]!==void 0&&(We.value=n[3]),Y=new ge({props:We}),F.push(()=>Q(Y,"value",Pe));function Ae(M){n[13](M)}let Te={id:"phase",placeholder:"00",error:n[7](n[4]),unroundRight:!0,class:"h-10"};return n[5]!==void 0&&(Te.value=n[5]),he=new ge({props:Te}),F.push(()=>Q(he,"value",Ae)),_e=new Lt({props:{$$slots:{default:[en]},$$scope:{ctx:n}}}),{c(){e=D("div"),t=D("h3"),s=Z("Recurring Time"),i=V(),r=D("p"),a=Z(`Specify the time interval for this schedule to run (for example every 5 minutes).`),f=V(),l=D("div"),u=D("div"),A(c.$$.fragment),d=V(),m=D("div"),p=Z(":"),O=V(),k=D("div"),A(I.$$.fragment),q=V(),h=D("div"),$=Z(":"),K=V(),x=D("div"),A(J.$$.fragment),P=V(),w=D("div"),z=Z(":"),ne=V(),G=D("div"),A(Y.$$.fragment),ae=V(),le=D("h3"),oe=Z("Offset"),de=V(),y=D("p"),ee=Z(`Specify the time to offset when this schedule will run (for example 15 min past the hour).`),pe=V(),ce=D("div"),A(he.$$.fragment),Oe=V(),A(_e.$$.fragment),this.h()},l(M){e=W(M,"DIV",{class:!0});var _=T(e);t=W(_,"H3",{class:!0});var b=T(t);s=X(b,"Recurring Time"),b.forEach(g),i=C(_),r=W(_,"P",{});var re=T(r);a=X(re,`Specify the time interval for this schedule to run (for example every 5 minutes).`),re.forEach(g),f=C(_),l=W(_,"DIV",{class:!0});var te=T(l);u=W(te,"DIV",{class:!0});var se=T(u);B(c.$$.fragment,se),se.forEach(g),d=C(te),m=W(te,"DIV",{});var me=T(m);p=X(me,":"),me.forEach(g),O=C(te),k=W(te,"DIV",{class:!0});var ie=T(k);B(I.$$.fragment,ie),ie.forEach(g),q=C(te),h=W(te,"DIV",{});var Be=T(h);$=X(Be,":"),Be.forEach(g),K=C(te),x=W(te,"DIV",{class:!0});var He=T(x);B(J.$$.fragment,He),He.forEach(g),P=C(te),w=W(te,"DIV",{});var Ze=T(w);z=X(Ze,":"),Ze.forEach(g),ne=C(te),G=W(te,"DIV",{class:!0});var Xe=T(G);B(Y.$$.fragment,Xe),Xe.forEach(g),te.forEach(g),ae=C(_),le=W(_,"H3",{class:!0});var xe=T(le);oe=X(xe,"Offset"),xe.forEach(g),de=C(_),y=W(_,"P",{});var et=T(y);ee=X(et,`Specify the time to offset when this schedule will run (for example 15 min diff --git a/ui/assets/cloud/_app/immutable/chunks/schedule-frequency.0254bcb6.js b/ui/assets/local/_app/immutable/chunks/schedule-frequency.b820a236.js similarity index 98% rename from ui/assets/cloud/_app/immutable/chunks/schedule-frequency.0254bcb6.js rename to ui/assets/local/_app/immutable/chunks/schedule-frequency.b820a236.js index e37a91cb30..281a99ca22 100644 --- a/ui/assets/cloud/_app/immutable/chunks/schedule-frequency.0254bcb6.js +++ b/ui/assets/local/_app/immutable/chunks/schedule-frequency.b820a236.js @@ -1 +1 @@ -import{r as h,a as p}from"./route-for-api.5906c1df.js";import{s as $}from"./parse-with-big-int.02af2f95.js";import{v as k}from"./toaster.fda31b2d.js";import{S as w,b as D,a as H,m as y,p as S,q as b,k as f,u as v,f as _,n as P,O as I,P as C,w as g,c as L,x as E,d as M,M as T,y as j}from"./index.d29c66be.js";import{g as F,w as O,m as U}from"./calendar.81d1e381.js";const X=async(c,e=fetch)=>{let n="";const l=a=>{var i;return n=((i=a==null?void 0:a.body)==null?void 0:i.message)??`Error fetching schedules: ${a.status}: ${a.statusText}`},s=h("schedules",{namespace:c}),{schedules:o,nextPageToken:t}=await p(s,{params:{},onError:l,request:e})??{schedules:[],nextPageToken:""};return{schedules:o,nextPageToken:String(t),error:n}};async function Y(c,e=fetch){const n=h("schedule",c);return p(n,{request:e})}async function Z(c,e=fetch){const n=h("schedule.delete",c);return p(n,{request:e,options:{method:"DELETE"}})}async function ee({namespace:c,body:e}){let n="";const l=t=>{var a;return n=((a=t==null?void 0:t.body)==null?void 0:a.message)??`Error creating schedule: ${t.status}: ${t.statusText}`},s=h("schedules",{namespace:c}),{conflictToken:o}=await p(s,{options:{method:"POST",body:$({request_id:k(),...e})},onError:l});return{conflictToken:o,error:n}}async function te({namespace:c,scheduleId:e,body:n}){let l="";const s=t=>{var a;return l=((a=t==null?void 0:t.body)==null?void 0:a.message)??`Error editing schedule: ${t.status}: ${t.statusText}`},o=h("schedule",{namespace:c,scheduleId:e});return await p(o,{options:{method:"POST",body:$({request_id:k(),...n})},onError:s}),{error:l}}async function se({namespace:c,scheduleId:e,reason:n}){const l={patch:{pause:n}},s=h("schedule",{namespace:c,scheduleId:e});return await p(s,{options:{method:"PATCH",body:$({...l,request_id:k()})},onError:o=>console.error(o)})}async function ae({namespace:c,scheduleId:e,reason:n}){const l={patch:{unpause:n}},s=h("schedule",{namespace:c,scheduleId:e});return await p(s,{options:{method:"PATCH",body:$({...l,request_id:k()})}})}const ne=({preset:c,month:e,dayOfMonth:n,dayOfWeek:l,hour:s,minute:o})=>{let t="";const a=!s||!parseInt(s)||parseInt(s)<12?"am":"pm",r=`${(!s||!parseInt(s)?"12":parseInt(s)<=12?s:(parseInt(s)-12).toString()).padStart(2,"0")}:${o?o.padStart(2,"0"):"00"}${a}`;if(c==="week"){const u=F.find(d=>d.value===l);u?t=`${u.label} at ${r}`:t=`${l.split(",").map(q=>O.find(N=>N.value===q).label).join(", ")} at ${r}`}else if(c==="month")if(e==="*")t=`Every ${n} of the month at ${r}`;else{const d=e.split(",").map(m=>U.find(x=>x.value===m).label).join(", ");t=`Every ${n} of ${d} at ${r}`}return t},A=(c="",e=!1)=>{let n="";if(!c)return n;const l=parseInt(c.slice(0,-1)),s=Math.floor(l/(60*60*24));let o=l-(s>0?s*60*60*24:0);const t=Math.floor(o/(60*60));o=o-(t>0?t*60*60:0);const a=Math.floor(o/60),i=a>0?o-a*60:o,r=`${t?t.toString().padStart(2,"0"):"00"}hrs`,u=`${a?a.toString().padStart(2,"0"):"00"}min`,d=`${i?i.toString().padStart(2,"0"):"00"}sec`,m=e?"Offset":"Every";return s?n=`${m} ${s}days:${r}:${u}:${d}`:t?n=`${m} ${r}:${u}:${d}`:a?n=`${m} ${u}:${d}`:i&&(n=`${m} ${d}`),n};function W(c){let e,n=A(c[1])+"",l,s,o,t=A(c[2],!0)+"",a;return{c(){e=y("p"),l=g(n),s=L(),o=y("p"),a=g(t),this.h()},l(i){e=S(i,"P",{"data-testid":!0});var r=b(e);l=E(r,n),r.forEach(f),s=M(i),o=S(i,"P",{"data-testid":!0});var u=b(o);a=E(u,t),u.forEach(f),this.h()},h(){v(e,"data-testid","schedule-interval-frequency"),v(o,"data-testid","schedule-phase-frequency")},m(i,r){_(i,e,r),T(e,l),_(i,s,r),_(i,o,r),T(o,a)},p:P,d(i){i&&f(e),i&&f(s),i&&f(o)}}}function B(c){var o;let e,n=(((o=c[0])==null?void 0:o.comment)??"")+"",l,s;return{c(){e=y("p"),l=g(n),s=g(" UTC"),this.h()},l(t){e=S(t,"P",{"data-testid":!0});var a=b(e);l=E(a,n),s=E(a," UTC"),a.forEach(f),this.h()},h(){v(e,"data-testid","schedule-calendar-frequency")},m(t,a){_(t,e,a),T(e,l),T(e,s)},p(t,a){var i;a&1&&n!==(n=(((i=t[0])==null?void 0:i.comment)??"")+"")&&j(l,n)},d(t){t&&f(e)}}}function V(c){let e,n;function l(t,a){return t[0]?B:W}let s=l(c),o=s(c);return{c(){e=y("div"),o.c(),this.h()},l(t){e=S(t,"DIV",{class:!0});var a=b(e);o.l(a),a.forEach(f),this.h()},h(){v(e,"class",n="flex flex-col "+c[3].class)},m(t,a){_(t,e,a),o.m(e,null)},p(t,[a]){s===(s=l(t))&&o?o.p(t,a):(o.d(1),o=s(t),o&&(o.c(),o.m(e,null))),a&8&&n!==(n="flex flex-col "+t[3].class)&&v(e,"class",n)},i:P,o:P,d(t){t&&f(e),o.d()}}}function z(c,e,n){let{calendar:l=void 0}=e,{interval:s=void 0}=e;const o=s==null?void 0:s.interval,t=s==null?void 0:s.phase;return c.$$set=a=>{n(3,e=I(I({},e),C(a))),"calendar"in a&&n(0,l=a.calendar),"interval"in a&&n(4,s=a.interval)},e=C(e),[l,o,t,e,s]}class oe extends w{constructor(e){super(),D(this,e,z,V,H,{calendar:0,interval:4})}}export{oe as S,Y as a,ne as b,ee as c,Z as d,te as e,X as f,se as p,ae as u}; +import{r as h,a as p}from"./route-for-api.851ff400.js";import{s as $}from"./parse-with-big-int.02af2f95.js";import{v as k}from"./toaster.fda31b2d.js";import{S as w,b as D,a as H,m as y,p as S,q as b,k as f,u as v,f as _,n as P,O as I,P as C,w as g,c as L,x as E,d as M,M as T,y as j}from"./index.d29c66be.js";import{g as F,w as O,m as U}from"./calendar.81d1e381.js";const X=async(c,e=fetch)=>{let n="";const l=a=>{var i;return n=((i=a==null?void 0:a.body)==null?void 0:i.message)??`Error fetching schedules: ${a.status}: ${a.statusText}`},s=h("schedules",{namespace:c}),{schedules:o,nextPageToken:t}=await p(s,{params:{},onError:l,request:e})??{schedules:[],nextPageToken:""};return{schedules:o,nextPageToken:String(t),error:n}};async function Y(c,e=fetch){const n=h("schedule",c);return p(n,{request:e})}async function Z(c,e=fetch){const n=h("schedule.delete",c);return p(n,{request:e,options:{method:"DELETE"}})}async function ee({namespace:c,body:e}){let n="";const l=t=>{var a;return n=((a=t==null?void 0:t.body)==null?void 0:a.message)??`Error creating schedule: ${t.status}: ${t.statusText}`},s=h("schedules",{namespace:c}),{conflictToken:o}=await p(s,{options:{method:"POST",body:$({request_id:k(),...e})},onError:l});return{conflictToken:o,error:n}}async function te({namespace:c,scheduleId:e,body:n}){let l="";const s=t=>{var a;return l=((a=t==null?void 0:t.body)==null?void 0:a.message)??`Error editing schedule: ${t.status}: ${t.statusText}`},o=h("schedule",{namespace:c,scheduleId:e});return await p(o,{options:{method:"POST",body:$({request_id:k(),...n})},onError:s}),{error:l}}async function se({namespace:c,scheduleId:e,reason:n}){const l={patch:{pause:n}},s=h("schedule",{namespace:c,scheduleId:e});return await p(s,{options:{method:"PATCH",body:$({...l,request_id:k()})},onError:o=>console.error(o)})}async function ae({namespace:c,scheduleId:e,reason:n}){const l={patch:{unpause:n}},s=h("schedule",{namespace:c,scheduleId:e});return await p(s,{options:{method:"PATCH",body:$({...l,request_id:k()})}})}const ne=({preset:c,month:e,dayOfMonth:n,dayOfWeek:l,hour:s,minute:o})=>{let t="";const a=!s||!parseInt(s)||parseInt(s)<12?"am":"pm",r=`${(!s||!parseInt(s)?"12":parseInt(s)<=12?s:(parseInt(s)-12).toString()).padStart(2,"0")}:${o?o.padStart(2,"0"):"00"}${a}`;if(c==="week"){const u=F.find(d=>d.value===l);u?t=`${u.label} at ${r}`:t=`${l.split(",").map(q=>O.find(N=>N.value===q).label).join(", ")} at ${r}`}else if(c==="month")if(e==="*")t=`Every ${n} of the month at ${r}`;else{const d=e.split(",").map(m=>U.find(x=>x.value===m).label).join(", ");t=`Every ${n} of ${d} at ${r}`}return t},A=(c="",e=!1)=>{let n="";if(!c)return n;const l=parseInt(c.slice(0,-1)),s=Math.floor(l/(60*60*24));let o=l-(s>0?s*60*60*24:0);const t=Math.floor(o/(60*60));o=o-(t>0?t*60*60:0);const a=Math.floor(o/60),i=a>0?o-a*60:o,r=`${t?t.toString().padStart(2,"0"):"00"}hrs`,u=`${a?a.toString().padStart(2,"0"):"00"}min`,d=`${i?i.toString().padStart(2,"0"):"00"}sec`,m=e?"Offset":"Every";return s?n=`${m} ${s}days:${r}:${u}:${d}`:t?n=`${m} ${r}:${u}:${d}`:a?n=`${m} ${u}:${d}`:i&&(n=`${m} ${d}`),n};function W(c){let e,n=A(c[1])+"",l,s,o,t=A(c[2],!0)+"",a;return{c(){e=y("p"),l=g(n),s=L(),o=y("p"),a=g(t),this.h()},l(i){e=S(i,"P",{"data-testid":!0});var r=b(e);l=E(r,n),r.forEach(f),s=M(i),o=S(i,"P",{"data-testid":!0});var u=b(o);a=E(u,t),u.forEach(f),this.h()},h(){v(e,"data-testid","schedule-interval-frequency"),v(o,"data-testid","schedule-phase-frequency")},m(i,r){_(i,e,r),T(e,l),_(i,s,r),_(i,o,r),T(o,a)},p:P,d(i){i&&f(e),i&&f(s),i&&f(o)}}}function B(c){var o;let e,n=(((o=c[0])==null?void 0:o.comment)??"")+"",l,s;return{c(){e=y("p"),l=g(n),s=g(" UTC"),this.h()},l(t){e=S(t,"P",{"data-testid":!0});var a=b(e);l=E(a,n),s=E(a," UTC"),a.forEach(f),this.h()},h(){v(e,"data-testid","schedule-calendar-frequency")},m(t,a){_(t,e,a),T(e,l),T(e,s)},p(t,a){var i;a&1&&n!==(n=(((i=t[0])==null?void 0:i.comment)??"")+"")&&j(l,n)},d(t){t&&f(e)}}}function V(c){let e,n;function l(t,a){return t[0]?B:W}let s=l(c),o=s(c);return{c(){e=y("div"),o.c(),this.h()},l(t){e=S(t,"DIV",{class:!0});var a=b(e);o.l(a),a.forEach(f),this.h()},h(){v(e,"class",n="flex flex-col "+c[3].class)},m(t,a){_(t,e,a),o.m(e,null)},p(t,[a]){s===(s=l(t))&&o?o.p(t,a):(o.d(1),o=s(t),o&&(o.c(),o.m(e,null))),a&8&&n!==(n="flex flex-col "+t[3].class)&&v(e,"class",n)},i:P,o:P,d(t){t&&f(e),o.d()}}}function z(c,e,n){let{calendar:l=void 0}=e,{interval:s=void 0}=e;const o=s==null?void 0:s.interval,t=s==null?void 0:s.phase;return c.$$set=a=>{n(3,e=I(I({},e),C(a))),"calendar"in a&&n(0,l=a.calendar),"interval"in a&&n(4,s=a.interval)},e=C(e),[l,o,t,e,s]}class oe extends w{constructor(e){super(),D(this,e,z,V,H,{calendar:0,interval:4})}}export{oe as S,Y as a,ne as b,ee as c,Z as d,te as e,X as f,se as p,ae as u}; diff --git a/ui/assets/local/_app/immutable/chunks/schedule-frequency.c1093480.js b/ui/assets/local/_app/immutable/chunks/schedule-frequency.c1093480.js deleted file mode 100644 index 7f39a0e226..0000000000 --- a/ui/assets/local/_app/immutable/chunks/schedule-frequency.c1093480.js +++ /dev/null @@ -1 +0,0 @@ -import{r as h,a as p}from"./route-for-api.58c31c66.js";import{s as $}from"./parse-with-big-int.02af2f95.js";import{v as k}from"./toaster.fda31b2d.js";import{S as w,b as D,a as H,m as y,p as S,q as b,k as f,u as v,f as _,n as P,O as I,P as C,w as g,c as L,x as E,d as M,M as T,y as j}from"./index.d29c66be.js";import{g as F,w as O,m as U}from"./calendar.81d1e381.js";const X=async(c,e=fetch)=>{let n="";const l=a=>{var i;return n=((i=a==null?void 0:a.body)==null?void 0:i.message)??`Error fetching schedules: ${a.status}: ${a.statusText}`},s=h("schedules",{namespace:c}),{schedules:o,nextPageToken:t}=await p(s,{params:{},onError:l,request:e})??{schedules:[],nextPageToken:""};return{schedules:o,nextPageToken:String(t),error:n}};async function Y(c,e=fetch){const n=h("schedule",c);return p(n,{request:e})}async function Z(c,e=fetch){const n=h("schedule.delete",c);return p(n,{request:e,options:{method:"DELETE"}})}async function ee({namespace:c,body:e}){let n="";const l=t=>{var a;return n=((a=t==null?void 0:t.body)==null?void 0:a.message)??`Error creating schedule: ${t.status}: ${t.statusText}`},s=h("schedules",{namespace:c}),{conflictToken:o}=await p(s,{options:{method:"POST",body:$({request_id:k(),...e})},onError:l});return{conflictToken:o,error:n}}async function te({namespace:c,scheduleId:e,body:n}){let l="";const s=t=>{var a;return l=((a=t==null?void 0:t.body)==null?void 0:a.message)??`Error editing schedule: ${t.status}: ${t.statusText}`},o=h("schedule",{namespace:c,scheduleId:e});return await p(o,{options:{method:"POST",body:$({request_id:k(),...n})},onError:s}),{error:l}}async function se({namespace:c,scheduleId:e,reason:n}){const l={patch:{pause:n}},s=h("schedule",{namespace:c,scheduleId:e});return await p(s,{options:{method:"PATCH",body:$({...l,request_id:k()})},onError:o=>console.error(o)})}async function ae({namespace:c,scheduleId:e,reason:n}){const l={patch:{unpause:n}},s=h("schedule",{namespace:c,scheduleId:e});return await p(s,{options:{method:"PATCH",body:$({...l,request_id:k()})}})}const ne=({preset:c,month:e,dayOfMonth:n,dayOfWeek:l,hour:s,minute:o})=>{let t="";const a=!s||!parseInt(s)||parseInt(s)<12?"am":"pm",r=`${(!s||!parseInt(s)?"12":parseInt(s)<=12?s:(parseInt(s)-12).toString()).padStart(2,"0")}:${o?o.padStart(2,"0"):"00"}${a}`;if(c==="week"){const u=F.find(d=>d.value===l);u?t=`${u.label} at ${r}`:t=`${l.split(",").map(q=>O.find(N=>N.value===q).label).join(", ")} at ${r}`}else if(c==="month")if(e==="*")t=`Every ${n} of the month at ${r}`;else{const d=e.split(",").map(m=>U.find(x=>x.value===m).label).join(", ");t=`Every ${n} of ${d} at ${r}`}return t},A=(c="",e=!1)=>{let n="";if(!c)return n;const l=parseInt(c.slice(0,-1)),s=Math.floor(l/(60*60*24));let o=l-(s>0?s*60*60*24:0);const t=Math.floor(o/(60*60));o=o-(t>0?t*60*60:0);const a=Math.floor(o/60),i=a>0?o-a*60:o,r=`${t?t.toString().padStart(2,"0"):"00"}hrs`,u=`${a?a.toString().padStart(2,"0"):"00"}min`,d=`${i?i.toString().padStart(2,"0"):"00"}sec`,m=e?"Offset":"Every";return s?n=`${m} ${s}days:${r}:${u}:${d}`:t?n=`${m} ${r}:${u}:${d}`:a?n=`${m} ${u}:${d}`:i&&(n=`${m} ${d}`),n};function W(c){let e,n=A(c[1])+"",l,s,o,t=A(c[2],!0)+"",a;return{c(){e=y("p"),l=g(n),s=L(),o=y("p"),a=g(t),this.h()},l(i){e=S(i,"P",{"data-testid":!0});var r=b(e);l=E(r,n),r.forEach(f),s=M(i),o=S(i,"P",{"data-testid":!0});var u=b(o);a=E(u,t),u.forEach(f),this.h()},h(){v(e,"data-testid","schedule-interval-frequency"),v(o,"data-testid","schedule-phase-frequency")},m(i,r){_(i,e,r),T(e,l),_(i,s,r),_(i,o,r),T(o,a)},p:P,d(i){i&&f(e),i&&f(s),i&&f(o)}}}function B(c){var o;let e,n=(((o=c[0])==null?void 0:o.comment)??"")+"",l,s;return{c(){e=y("p"),l=g(n),s=g(" UTC"),this.h()},l(t){e=S(t,"P",{"data-testid":!0});var a=b(e);l=E(a,n),s=E(a," UTC"),a.forEach(f),this.h()},h(){v(e,"data-testid","schedule-calendar-frequency")},m(t,a){_(t,e,a),T(e,l),T(e,s)},p(t,a){var i;a&1&&n!==(n=(((i=t[0])==null?void 0:i.comment)??"")+"")&&j(l,n)},d(t){t&&f(e)}}}function V(c){let e,n;function l(t,a){return t[0]?B:W}let s=l(c),o=s(c);return{c(){e=y("div"),o.c(),this.h()},l(t){e=S(t,"DIV",{class:!0});var a=b(e);o.l(a),a.forEach(f),this.h()},h(){v(e,"class",n="flex flex-col "+c[3].class)},m(t,a){_(t,e,a),o.m(e,null)},p(t,[a]){s===(s=l(t))&&o?o.p(t,a):(o.d(1),o=s(t),o&&(o.c(),o.m(e,null))),a&8&&n!==(n="flex flex-col "+t[3].class)&&v(e,"class",n)},i:P,o:P,d(t){t&&f(e),o.d()}}}function z(c,e,n){let{calendar:l=void 0}=e,{interval:s=void 0}=e;const o=s==null?void 0:s.interval,t=s==null?void 0:s.phase;return c.$$set=a=>{n(3,e=I(I({},e),C(a))),"calendar"in a&&n(0,l=a.calendar),"interval"in a&&n(4,s=a.interval)},e=C(e),[l,o,t,e,s]}class oe extends w{constructor(e){super(),D(this,e,z,V,H,{calendar:0,interval:4})}}export{oe as S,Y as a,ne as b,ee as c,Z as d,te as e,X as f,se as p,ae as u}; diff --git a/ui/assets/local/_app/immutable/chunks/schedules.7d01b1a1.js b/ui/assets/local/_app/immutable/chunks/schedules.7d01b1a1.js deleted file mode 100644 index 8d788288af..0000000000 --- a/ui/assets/local/_app/immutable/chunks/schedules.7d01b1a1.js +++ /dev/null @@ -1 +0,0 @@ -import{g}from"./navigation.9ceca11e.js";import{w as v}from"./index.255b7490.js";import{c as I,o as M}from"./route-for.b4518ba8.js";import{c as C,e as O,b as Q}from"./schedule-frequency.c1093480.js";const f=e=>e?parseInt(e):0,W=(e,a,t,s)=>`${f(e)*60*60*24+f(a)*60*60+f(t)*60+f(s)}s`,j=({months:e=[],daysOfMonth:a=[],daysOfWeek:t=[]})=>{var l,n;const s=e.sort((o,i)=>parseInt(o)-parseInt(i)).join(","),r=a.sort((o,i)=>o-i).join(","),u=(((n=(l=t==null?void 0:t[0])==null?void 0:l.split(","))==null?void 0:n.length)>1?t[0].split(","):t).sort((o,i)=>parseInt(o)-parseInt(i)).join(",");return{month:s,dayOfMonth:r,dayOfWeek:u}},T=(e,a,t)=>{const{hour:s,minute:r,second:c,phase:u,cronString:l}=a,{preset:n,months:o,days:i,daysOfMonth:m,daysOfWeek:h}=t;if(n==="string"){const p=`${l}#${l}`;e.schedule.spec.cronString=[p],e.schedule.spec.calendar=[],e.schedule.spec.interval=[]}else if(n==="interval"){const p=W(i,s,r,c);e.schedule.spec.interval=[{interval:p,phase:u||"0s"}],e.schedule.spec.cronString=[],e.schedule.spec.calendar=[]}else{const{month:p,dayOfMonth:k,dayOfWeek:S}=j({months:o,daysOfMonth:m,daysOfWeek:h}),y=Q({preset:n,month:p,dayOfMonth:k,dayOfWeek:S,hour:s,minute:r,second:c});e.schedule.spec.calendar=[{year:"*",month:n==="month"?p:"",dayOfMonth:n==="month"?k:"",dayOfWeek:n==="week"?S:"",hour:s,minute:r,second:c,comment:y}],e.schedule.spec.interval=[],e.schedule.spec.cronString=[]}},F=async({action:e,spec:a,presets:t})=>{const{namespace:s,name:r,workflowId:c,workflowType:u,taskQueue:l}=e,n={schedule_id:r,schedule:{spec:{calendar:[],interval:[],cronString:[]},action:{startWorkflow:{workflowId:c,workflowType:{name:u},taskQueue:{name:l}}}}};T(n,a,t),d.set(!0);const{error:o}=await C({namespace:s,body:n});o?(w.set(o),d.set(!1)):setTimeout(()=>{w.set(""),d.set(!1),g(I({namespace:s}))},2e3)},_=async({action:e,spec:a,presets:t},s,r)=>{const{namespace:c,name:u,workflowId:l,workflowType:n,taskQueue:o}=e,{preset:i}=t,m={schedule_id:r,schedule:{...s,action:{startWorkflow:{...s.action.startWorkflow,workflowId:l,workflowType:{name:n},taskQueue:{name:o}}}}};i==="existing"?m.schedule.spec=s.spec:(T(m,a,t),m.schedule.spec.structuredCalendar=[]),d.set(!0);const{error:h}=await O({namespace:c,scheduleId:r,body:m});h?(w.set(h),d.set(!1)):setTimeout(()=>{g(M({namespace:c,scheduleId:u})),w.set(""),d.set(!1)},2e3)},d=v(!1),w=v("");export{F as a,w as e,d as l,_ as s}; diff --git a/ui/assets/cloud/_app/immutable/chunks/schedules.9f53df59.js b/ui/assets/local/_app/immutable/chunks/schedules.e00ba3db.js similarity index 91% rename from ui/assets/cloud/_app/immutable/chunks/schedules.9f53df59.js rename to ui/assets/local/_app/immutable/chunks/schedules.e00ba3db.js index e56908a769..e6b4324901 100644 --- a/ui/assets/cloud/_app/immutable/chunks/schedules.9f53df59.js +++ b/ui/assets/local/_app/immutable/chunks/schedules.e00ba3db.js @@ -1 +1 @@ -import{g}from"./navigation.529c81bc.js";import{w as v}from"./index.255b7490.js";import{c as I,o as M}from"./route-for.5e008fb6.js";import{c as C,e as O,b as Q}from"./schedule-frequency.0254bcb6.js";const f=e=>e?parseInt(e):0,W=(e,a,t,s)=>`${f(e)*60*60*24+f(a)*60*60+f(t)*60+f(s)}s`,j=({months:e=[],daysOfMonth:a=[],daysOfWeek:t=[]})=>{var l,n;const s=e.sort((o,i)=>parseInt(o)-parseInt(i)).join(","),r=a.sort((o,i)=>o-i).join(","),u=(((n=(l=t==null?void 0:t[0])==null?void 0:l.split(","))==null?void 0:n.length)>1?t[0].split(","):t).sort((o,i)=>parseInt(o)-parseInt(i)).join(",");return{month:s,dayOfMonth:r,dayOfWeek:u}},T=(e,a,t)=>{const{hour:s,minute:r,second:c,phase:u,cronString:l}=a,{preset:n,months:o,days:i,daysOfMonth:m,daysOfWeek:h}=t;if(n==="string"){const p=`${l}#${l}`;e.schedule.spec.cronString=[p],e.schedule.spec.calendar=[],e.schedule.spec.interval=[]}else if(n==="interval"){const p=W(i,s,r,c);e.schedule.spec.interval=[{interval:p,phase:u||"0s"}],e.schedule.spec.cronString=[],e.schedule.spec.calendar=[]}else{const{month:p,dayOfMonth:k,dayOfWeek:S}=j({months:o,daysOfMonth:m,daysOfWeek:h}),y=Q({preset:n,month:p,dayOfMonth:k,dayOfWeek:S,hour:s,minute:r,second:c});e.schedule.spec.calendar=[{year:"*",month:n==="month"?p:"",dayOfMonth:n==="month"?k:"",dayOfWeek:n==="week"?S:"",hour:s,minute:r,second:c,comment:y}],e.schedule.spec.interval=[],e.schedule.spec.cronString=[]}},F=async({action:e,spec:a,presets:t})=>{const{namespace:s,name:r,workflowId:c,workflowType:u,taskQueue:l}=e,n={schedule_id:r,schedule:{spec:{calendar:[],interval:[],cronString:[]},action:{startWorkflow:{workflowId:c,workflowType:{name:u},taskQueue:{name:l}}}}};T(n,a,t),d.set(!0);const{error:o}=await C({namespace:s,body:n});o?(w.set(o),d.set(!1)):setTimeout(()=>{w.set(""),d.set(!1),g(I({namespace:s}))},2e3)},_=async({action:e,spec:a,presets:t},s,r)=>{const{namespace:c,name:u,workflowId:l,workflowType:n,taskQueue:o}=e,{preset:i}=t,m={schedule_id:r,schedule:{...s,action:{startWorkflow:{...s.action.startWorkflow,workflowId:l,workflowType:{name:n},taskQueue:{name:o}}}}};i==="existing"?m.schedule.spec=s.spec:(T(m,a,t),m.schedule.spec.structuredCalendar=[]),d.set(!0);const{error:h}=await O({namespace:c,scheduleId:r,body:m});h?(w.set(h),d.set(!1)):setTimeout(()=>{g(M({namespace:c,scheduleId:u})),w.set(""),d.set(!1)},2e3)},d=v(!1),w=v("");export{F as a,w as e,d as l,_ as s}; +import{g}from"./navigation.e41eebee.js";import{w as v}from"./index.255b7490.js";import{c as I,o as M}from"./route-for.3e9c6ff4.js";import{c as C,e as O,b as Q}from"./schedule-frequency.b820a236.js";const f=e=>e?parseInt(e):0,W=(e,a,t,s)=>`${f(e)*60*60*24+f(a)*60*60+f(t)*60+f(s)}s`,j=({months:e=[],daysOfMonth:a=[],daysOfWeek:t=[]})=>{var l,n;const s=e.sort((o,i)=>parseInt(o)-parseInt(i)).join(","),r=a.sort((o,i)=>o-i).join(","),u=(((n=(l=t==null?void 0:t[0])==null?void 0:l.split(","))==null?void 0:n.length)>1?t[0].split(","):t).sort((o,i)=>parseInt(o)-parseInt(i)).join(",");return{month:s,dayOfMonth:r,dayOfWeek:u}},T=(e,a,t)=>{const{hour:s,minute:r,second:c,phase:u,cronString:l}=a,{preset:n,months:o,days:i,daysOfMonth:m,daysOfWeek:h}=t;if(n==="string"){const p=`${l}#${l}`;e.schedule.spec.cronString=[p],e.schedule.spec.calendar=[],e.schedule.spec.interval=[]}else if(n==="interval"){const p=W(i,s,r,c);e.schedule.spec.interval=[{interval:p,phase:u||"0s"}],e.schedule.spec.cronString=[],e.schedule.spec.calendar=[]}else{const{month:p,dayOfMonth:k,dayOfWeek:S}=j({months:o,daysOfMonth:m,daysOfWeek:h}),y=Q({preset:n,month:p,dayOfMonth:k,dayOfWeek:S,hour:s,minute:r,second:c});e.schedule.spec.calendar=[{year:"*",month:n==="month"?p:"",dayOfMonth:n==="month"?k:"",dayOfWeek:n==="week"?S:"",hour:s,minute:r,second:c,comment:y}],e.schedule.spec.interval=[],e.schedule.spec.cronString=[]}},F=async({action:e,spec:a,presets:t})=>{const{namespace:s,name:r,workflowId:c,workflowType:u,taskQueue:l}=e,n={schedule_id:r,schedule:{spec:{calendar:[],interval:[],cronString:[]},action:{startWorkflow:{workflowId:c,workflowType:{name:u},taskQueue:{name:l}}}}};T(n,a,t),d.set(!0);const{error:o}=await C({namespace:s,body:n});o?(w.set(o),d.set(!1)):setTimeout(()=>{w.set(""),d.set(!1),g(I({namespace:s}))},2e3)},_=async({action:e,spec:a,presets:t},s,r)=>{const{namespace:c,name:u,workflowId:l,workflowType:n,taskQueue:o}=e,{preset:i}=t,m={schedule_id:r,schedule:{...s,action:{startWorkflow:{...s.action.startWorkflow,workflowId:l,workflowType:{name:n},taskQueue:{name:o}}}}};i==="existing"?m.schedule.spec=s.spec:(T(m,a,t),m.schedule.spec.structuredCalendar=[]),d.set(!0);const{error:h}=await O({namespace:c,scheduleId:r,body:m});h?(w.set(h),d.set(!1)):setTimeout(()=>{g(M({namespace:c,scheduleId:u})),w.set(""),d.set(!1)},2e3)},d=v(!1),w=v("");export{F as a,w as e,d as l,_ as s}; diff --git a/ui/assets/local/_app/immutable/chunks/search.c15cabf9.js b/ui/assets/local/_app/immutable/chunks/search.14478462.js similarity index 97% rename from ui/assets/local/_app/immutable/chunks/search.c15cabf9.js rename to ui/assets/local/_app/immutable/chunks/search.14478462.js index cefd3cc742..16600c4489 100644 --- a/ui/assets/local/_app/immutable/chunks/search.c15cabf9.js +++ b/ui/assets/local/_app/immutable/chunks/search.14478462.js @@ -1 +1 @@ -import{S as ye,b as Te,a as he,C as M,D as z,E as V,j as S,g as D,F as G,G as Xe,H as Ye,I as Ze,J as $e,m as g,w as H,c as C,p as E,q as F,x as L,k as c,d as P,u as b,f as T,M as k,n as te,e as Ue,z as me,h as _e,L as Ke,U as j,W as le,ac as se,r as We,T as Ae,i as xe,y as Y,Q as Se}from"./index.d29c66be.js";import{T as et,a as tt}from"./table-header-row.a7bab5a4.js";import{p as lt}from"./stores.b938c0e3.js";import{f as X}from"./format-date.100c5f23.js";import{u as st,v as rt,w as at,x as Oe}from"./format-time.66fea38b.js";import{f as ot}from"./route-for.b4518ba8.js";import{u as nt}from"./pagination.15ad2803.js";import{t as Qe}from"./list-workflow-query.c93ce807.js";import{d as ft,e as Fe,f as ut,g as it,j as ct}from"./has.8da86d13.js";import{W as mt}from"./workflow-status.ddd088c4.js";import{I as qe}from"./icon.5aa23970.js";import{c as _t}from"./copy-to-clipboard.a65bc890.js";import{T as ht}from"./table-row.4a68a50d.js";import{B as dt}from"./button.e7112b29.js";function pt(r){let e;const s=r[1].default,t=Xe(s,r,r[2],null);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,o){t&&t.m(l,o),e=!0},p(l,o){t&&t.p&&(!e||o&4)&&Ye(t,s,l,l[2],e?$e(s,l[2],o,null):Ze(l[2]),null)},i(l){e||(S(t,l),e=!0)},o(l){D(t,l),e=!1},d(l){t&&t.d(l)}}}function wt(r){let e,s,t,l,o,a,n,f,i,h,q,p,w,m,_,W,B;return{c(){e=g("th"),s=H("Status"),t=C(),l=g("th"),o=H("Workflow ID"),a=C(),n=g("th"),f=H("Type"),i=C(),h=g("th"),q=H("Start"),p=C(),w=g("th"),m=H("End"),_=C(),W=g("th"),B=H("Summary"),this.h()},l(d){e=E(d,"TH",{class:!0});var y=F(e);s=L(y,"Status"),y.forEach(c),t=P(d),l=E(d,"TH",{class:!0});var I=F(l);o=L(I,"Workflow ID"),I.forEach(c),a=P(d),n=E(d,"TH",{class:!0});var J=F(n);f=L(J,"Type"),J.forEach(c),i=P(d),h=E(d,"TH",{class:!0});var U=F(h);q=L(U,"Start"),U.forEach(c),p=P(d),w=E(d,"TH",{class:!0});var A=F(w);m=L(A,"End"),A.forEach(c),_=P(d),W=E(d,"TH",{class:!0,colspan:!0});var N=F(W);B=L(N,"Summary"),N.forEach(c),this.h()},h(){b(e,"class","w-32 max-md:hidden"),b(l,"class","max-md:hidden md:w-auto"),b(n,"class","w-60 max-md:hidden"),b(h,"class","w-60 max-xl:hidden"),b(w,"class","w-60 max-xl:hidden"),b(W,"class","md:hidden"),b(W,"colspan","3")},m(d,y){T(d,e,y),k(e,s),T(d,t,y),T(d,l,y),k(l,o),T(d,a,y),T(d,n,y),k(n,f),T(d,i,y),T(d,h,y),k(h,q),T(d,p,y),T(d,w,y),k(w,m),T(d,_,y),T(d,W,y),k(W,B)},p:te,d(d){d&&c(e),d&&c(t),d&&c(l),d&&c(a),d&&c(n),d&&c(i),d&&c(h),d&&c(p),d&&c(w),d&&c(_),d&&c(W)}}}function bt(r){let e,s;return e=new tt({props:{slot:"headers",$$slots:{default:[wt]},$$scope:{ctx:r}}}),{c(){M(e.$$.fragment)},l(t){z(e.$$.fragment,t)},m(t,l){V(e,t,l),s=!0},p(t,l){const o={};l&4&&(o.$$scope={dirty:l,ctx:t}),e.$set(o)},i(t){s||(S(e.$$.fragment,t),s=!0)},o(t){D(e.$$.fragment,t),s=!1},d(t){G(e,t)}}}function kt(r){let e,s;return e=new et({props:{class:"w-full md:table-fixed",updating:r[0],"data-testid":"workflows-table",$$slots:{headers:[bt],default:[pt]},$$scope:{ctx:r}}}),{c(){M(e.$$.fragment)},l(t){z(e.$$.fragment,t)},m(t,l){V(e,t,l),s=!0},p(t,[l]){const o={};l&1&&(o.updating=t[0]),l&4&&(o.$$scope={dirty:l,ctx:t}),e.$set(o)},i(t){s||(S(e.$$.fragment,t),s=!0)},o(t){D(e.$$.fragment,t),s=!1},d(t){G(e,t)}}}function vt(r,e,s){let{$$slots:t={},$$scope:l}=e,{updating:o=!1}=e;return r.$$set=a=>{"updating"in a&&s(0,o=a.updating),"$$scope"in a&&s(2,l=a.$$scope)},[o,t,l]}class Zt extends ye{constructor(e){super(),Te(this,e,vt,kt,he,{updating:0})}}const yt=r=>{const e=[],s=()=>{t&&(e.push(t),t="")};let t="",l=0;for(;le=>e.toLowerCase()===r.toLowerCase(),ve=(r,e)=>r[e+2],Tt=r=>{if(r){for(const e of at)if(r[e])return{[e]:r[e]}}},gt=ge("WorkflowType"),Et=ge("WorkflowId"),St=ge("StartTime"),Ft=ge("ExecutionStatus"),Wt=r=>{const e=yt(r),s={workflowId:"",workflowType:"",executionStatus:null,timeRange:null};return e.forEach((t,l)=>{if(Et(t)&&(s.workflowId=ve(e,l)),gt(t)&&(s.workflowType=ve(e,l)),Ft(t)){const o=ve(e,l);ct(o)&&(s.executionStatus=o)}if(St(t)){const o=ve(e,l);try{const a=st(o),n=Tt(a);s.timeRange=rt(n)}catch(a){console.error("Error parsing StartTime from query",a)}}}),s};function Re(r){let e,s,t,l,o,a,n=r[1]&&Me(r),f=r[2]&&Ve(r);return{c(){e=g("div"),n&&n.c(),s=C(),f&&f.c(),this.h()},l(i){e=E(i,"DIV",{class:!0});var h=F(e);n&&n.l(h),s=P(h),f&&f.l(h),h.forEach(c),this.h()},h(){b(e,"class",t="copy-or-filter "+r[6]+" svelte-1f7279h")},m(i,h){T(i,e,h),n&&n.m(e,null),k(e,s),f&&f.m(e,null),l=!0,o||(a=[j(e,"click",le(se(te))),j(e,"keyup",le(se(te)))],o=!0)},p(i,h){i[1]?n?(n.p(i,h),h&2&&S(n,1)):(n=Me(i),n.c(),S(n,1),n.m(e,s)):n&&(me(),D(n,1,1,()=>{n=null}),_e()),i[2]?f?(f.p(i,h),h&4&&S(f,1)):(f=Ve(i),f.c(),S(f,1),f.m(e,null)):f&&(me(),D(f,1,1,()=>{f=null}),_e()),(!l||h&64&&t!==(t="copy-or-filter "+i[6]+" svelte-1f7279h"))&&b(e,"class",t)},i(i){l||(S(n),S(f),l=!0)},o(i){D(n),D(f),l=!1},d(i){i&&c(e),n&&n.d(),f&&f.d(),o=!1,We(a)}}}function Me(r){let e,s=r[5],t,l,o,a=ze();return{c(){e=g("button"),a.c(),this.h()},l(n){e=E(n,"BUTTON",{class:!0});var f=F(e);a.l(f),f.forEach(c),this.h()},h(){b(e,"class","copy-or-filter-button svelte-1f7279h"),Ae(e,"filtered",r[5])},m(n,f){T(n,e,f),a.m(e,null),t=!0,l||(o=j(e,"click",le(se(function(){xe(r[4])&&r[4].apply(this,arguments)}))),l=!0)},p(n,f){r=n,f&32&&he(s,s=r[5])?(me(),D(a,1,1,te),_e(),a=ze(),a.c(),S(a,1),a.m(e,null)):a.p(r,f),(!t||f&32)&&Ae(e,"filtered",r[5])},i(n){t||(S(a),t=!0)},o(n){D(a),t=!1},d(n){n&&c(e),a.d(n),l=!1,o()}}}function ze(r){let e,s;return e=new qe({props:{name:"filter"}}),{c(){M(e.$$.fragment)},l(t){z(e.$$.fragment,t)},m(t,l){V(e,t,l),s=!0},p:te,i(t){s||(S(e.$$.fragment,t),s=!0)},o(t){D(e.$$.fragment,t),s=!1},d(t){G(e,t)}}}function Ve(r){let e,s,t,l,o;return s=new qe({props:{name:r[7]?"checkmark":"copy",stroke:"#000"}}),{c(){e=g("button"),M(s.$$.fragment),this.h()},l(a){e=E(a,"BUTTON",{class:!0});var n=F(e);z(s.$$.fragment,n),n.forEach(c),this.h()},h(){b(e,"class","copy-or-filter-button svelte-1f7279h")},m(a,n){T(a,e,n),V(s,e,null),t=!0,l||(o=j(e,"click",le(se(r[10]))),l=!0)},p(a,n){const f={};n&128&&(f.name=a[7]?"checkmark":"copy"),s.$set(f)},i(a){t||(S(s.$$.fragment,a),t=!0)},o(a){D(s.$$.fragment,a),t=!1},d(a){a&&c(e),G(s),l=!1,o()}}}function qt(r){let e,s,t=r[0]&&Re(r);return{c(){t&&t.c(),e=Ue()},l(l){t&&t.l(l),e=Ue()},m(l,o){t&&t.m(l,o),T(l,e,o),s=!0},p(l,[o]){l[0]?t?(t.p(l,o),o&1&&S(t,1)):(t=Re(l),t.c(),S(t,1),t.m(e.parentNode,e)):t&&(me(),D(t,1,1,()=>{t=null}),_e())},i(l){s||(S(t),s=!0)},o(l){D(t),s=!1},d(l){t&&t.d(l),l&&c(e)}}}function Dt(r,e,s){let t,{show:l=!1}=e,{filterable:o=!0}=e,{copyable:a=!0}=e,{content:n}=e,{onFilter:f=te}=e,{filtered:i=!1}=e,{class:h=""}=e;const{copy:q,copied:p}=_t(700);Ke(r,p,m=>s(7,t=m));const w=m=>q(m,n);return r.$$set=m=>{"show"in m&&s(0,l=m.show),"filterable"in m&&s(1,o=m.filterable),"copyable"in m&&s(2,a=m.copyable),"content"in m&&s(3,n=m.content),"onFilter"in m&&s(4,f=m.onFilter),"filtered"in m&&s(5,i=m.filtered),"class"in m&&s(6,h=m.class)},[l,o,a,n,f,i,h,t,q,p,w]}class Ge extends ye{constructor(e){super(),Te(this,e,Dt,qt,he,{show:0,filterable:1,copyable:2,content:3,onFilter:4,filtered:5,class:6})}}function It(r){var Ie,Ce,Pe;let e,s,t,l,o,a=r[0].id+"",n,f,i,h,q,p=X(r[0].startTime,r[1])+"",w,m,_,W,B,d,y,I=r[0].name+"",J,U,A,N,re,x,ae=X(r[0].endTime,r[1])+"",de,pe,Z,oe,ne=X(r[0].startTime,r[1])+"",we,be,$,fe,ue=X(r[0].endTime,r[1])+"",ke,O,Ee,De;return s=new mt({props:{status:r[0].status,delay:Oe(r[0].startTime)}}),i=new Ge({props:{show:r[2],content:r[0].id,filterable:!1}}),N=new Ge({props:{show:r[2],content:r[0].name,onFilter:r[12],filtered:(Pe=(Ce=(Ie=r[4].url)==null?void 0:Ie.searchParams)==null?void 0:Ce.get("query"))==null?void 0:Pe.includes(r[0].name)}}),{c(){e=g("td"),M(s.$$.fragment),t=C(),l=g("td"),o=g("span"),n=H(a),f=C(),M(i.$$.fragment),h=C(),q=g("p"),w=H(p),m=C(),_=g("td"),W=g("h3"),B=H("Workflow Name:"),d=C(),y=g("button"),J=H(I),A=C(),M(N.$$.fragment),re=C(),x=g("p"),de=H(ae),pe=C(),Z=g("td"),oe=g("p"),we=H(ne),be=C(),$=g("td"),fe=g("p"),ke=H(ue),this.h()},l(u){e=E(u,"TD",{});var v=F(e);z(s.$$.fragment,v),v.forEach(c),t=P(u),l=E(u,"TD",{class:!0});var R=F(l);o=E(R,"SPAN",{class:!0});var ee=F(o);n=L(ee,a),ee.forEach(c),f=P(R),z(i.$$.fragment,R),h=P(R),q=E(R,"P",{class:!0});var K=F(q);w=L(K,p),K.forEach(c),R.forEach(c),m=P(u),_=E(u,"TD",{class:!0});var Q=F(_);W=E(Q,"H3",{class:!0});var ie=F(W);B=L(ie,"Workflow Name:"),ie.forEach(c),d=P(Q),y=E(Q,"BUTTON",{class:!0,"aria-label":!0});var ce=F(y);J=L(ce,I),ce.forEach(c),A=P(Q),z(N.$$.fragment,Q),re=P(Q),x=E(Q,"P",{class:!0});var je=F(x);de=L(je,ae),je.forEach(c),Q.forEach(c),pe=P(u),Z=E(u,"TD",{class:!0});var He=F(Z);oe=E(He,"P",{});var Le=F(oe);we=L(Le,ne),Le.forEach(c),He.forEach(c),be=P(u),$=E(u,"TD",{class:!0});var Ne=F($);fe=E(Ne,"P",{});var Be=F(fe);ke=L(Be,ue),Be.forEach(c),Ne.forEach(c),this.h()},h(){b(o,"class","table-link svelte-tyqpjy"),b(q,"class","inline-time-cell svelte-tyqpjy"),b(l,"class","relative break-words pr-4"),b(W,"class","md:hidden"),b(y,"class","table-link svelte-tyqpjy"),b(y,"aria-label",U="filter by "+r[0].name+" type"),b(x,"class","inline-time-cell svelte-tyqpjy"),b(_,"class","relative truncate"),b(Z,"class","time-cell svelte-tyqpjy"),b($,"class","time-cell svelte-tyqpjy")},m(u,v){T(u,e,v),V(s,e,null),T(u,t,v),T(u,l,v),k(l,o),k(o,n),k(l,f),V(i,l,null),k(l,h),k(l,q),k(q,w),T(u,m,v),T(u,_,v),k(_,W),k(W,B),k(_,d),k(_,y),k(y,J),k(_,A),V(N,_,null),k(_,re),k(_,x),k(x,de),T(u,pe,v),T(u,Z,v),k(Z,oe),k(oe,we),T(u,be,v),T(u,$,v),k($,fe),k(fe,ke),O=!0,Ee||(De=[j(l,"mouseover",r[7]),j(l,"focus",r[8]),j(l,"mouseleave",r[9]),j(l,"blur",r[10]),j(y,"click",le(se(r[11]))),j(_,"mouseover",r[13]),j(_,"focus",r[14]),j(_,"mouseleave",r[15]),j(_,"blur",r[16])],Ee=!0)},p(u,v){var Q,ie,ce;const R={};v&1&&(R.status=u[0].status),v&1&&(R.delay=Oe(u[0].startTime)),s.$set(R),(!O||v&1)&&a!==(a=u[0].id+"")&&Y(n,a);const ee={};v&4&&(ee.show=u[2]),v&1&&(ee.content=u[0].id),i.$set(ee),(!O||v&3)&&p!==(p=X(u[0].startTime,u[1])+"")&&Y(w,p),(!O||v&1)&&I!==(I=u[0].name+"")&&Y(J,I),(!O||v&1&&U!==(U="filter by "+u[0].name+" type"))&&b(y,"aria-label",U);const K={};v&4&&(K.show=u[2]),v&1&&(K.content=u[0].name),v&1&&(K.onFilter=u[12]),v&17&&(K.filtered=(ce=(ie=(Q=u[4].url)==null?void 0:Q.searchParams)==null?void 0:ie.get("query"))==null?void 0:ce.includes(u[0].name)),N.$set(K),(!O||v&3)&&ae!==(ae=X(u[0].endTime,u[1])+"")&&Y(de,ae),(!O||v&3)&&ne!==(ne=X(u[0].startTime,u[1])+"")&&Y(we,ne),(!O||v&3)&&ue!==(ue=X(u[0].endTime,u[1])+"")&&Y(ke,ue)},i(u){O||(S(s.$$.fragment,u),S(i.$$.fragment,u),S(N.$$.fragment,u),O=!0)},o(u){D(s.$$.fragment,u),D(i.$$.fragment,u),D(N.$$.fragment,u),O=!1},d(u){u&&c(e),G(s),u&&c(t),u&&c(l),G(i),u&&c(m),u&&c(_),G(N),u&&c(pe),u&&c(Z),u&&c(be),u&&c($),Ee=!1,We(De)}}}function Ct(r){let e,s;return e=new ht({props:{href:r[3],class:"workflow-summary-row",$$slots:{default:[It]},$$scope:{ctx:r}}}),{c(){M(e.$$.fragment)},l(t){z(e.$$.fragment,t)},m(t,l){V(e,t,l),s=!0},p(t,[l]){const o={};l&8&&(o.href=t[3]),l&131095&&(o.$$scope={dirty:l,ctx:t}),e.$set(o)},i(t){s||(S(e.$$.fragment,t),s=!0)},o(t){D(e.$$.fragment,t),s=!1},d(t){G(e,t)}}}function Pt(r,e,s){let t,l;Ke(r,lt,I=>s(4,l=I));let{namespace:o}=e,{workflow:a}=e,{timeFormat:n}=e,f=!1;const i=I=>{const J=Qe({timeRange:"All"}),U=l.url.searchParams.get("query"),A=Wt(U??J),N=(A==null?void 0:A.workflowType)===I?"":I,re=Qe({...A,workflowType:N});nt({url:l.url,parameter:"query",value:re,allowEmpty:!0})},h=()=>s(2,f=!0),q=()=>s(2,f=!0),p=()=>s(2,f=!1),w=()=>s(2,f=!1),m=()=>i(a.name),_=()=>i(a.name),W=()=>s(2,f=!0),B=()=>s(2,f=!0),d=()=>s(2,f=!1),y=()=>s(2,f=!1);return r.$$set=I=>{"namespace"in I&&s(6,o=I.namespace),"workflow"in I&&s(0,a=I.workflow),"timeFormat"in I&&s(1,n=I.timeFormat)},r.$$.update=()=>{r.$$.dirty&65&&s(3,t=ot({namespace:o,workflow:a.id,run:a.runId}))},[a,n,f,t,l,i,o,h,q,p,w,m,_,W,B,d,y]}class $t extends ye{constructor(e){super(),Te(this,e,Pt,Ct,he,{namespace:6,workflow:0,timeFormat:1})}}var xt=jt;function jt(r,e,s,t){var l,o,a;return function(){if(a=this,o=Array.prototype.slice.call(arguments),l&&(s||t))return;if(!s)return i(),l=setTimeout(f,e),l;l=setTimeout(i,e),r.apply(a,o);function f(){i(),r.apply(a,o)}function i(){clearTimeout(l),l=null}}}function Je(r){let e,s;return e=new qe({props:{name:"search",class:"ml-4 flex items-center text-gray-700"}}),{c(){M(e.$$.fragment)},l(t){z(e.$$.fragment,t)},m(t,l){V(e,t,l),s=!0},i(t){s||(S(e.$$.fragment,t),s=!0)},o(t){D(e.$$.fragment,t),s=!1},d(t){G(e,t)}}}function Ht(r){let e;return{c(){e=H(r[2])},l(s){e=L(s,r[2])},m(s,t){T(s,e,t)},p(s,t){t&4&&Y(e,s[2])},d(s){s&&c(e)}}}function Lt(r){let e,s,t,l,o,a,n,f,i,h,q,p,w=r[4]&&Je();return i=new dt({props:{class:"m-2",type:"submit",$$slots:{default:[Ht]},$$scope:{ctx:r}}}),{c(){e=g("form"),w&&w.c(),s=C(),t=g("label"),l=H(r[2]),o=C(),a=g("input"),n=C(),f=g("div"),M(i.$$.fragment),this.h()},l(m){e=E(m,"FORM",{class:!0,role:!0});var _=F(e);w&&w.l(_),s=P(_),t=E(_,"LABEL",{for:!0,class:!0});var W=F(t);l=L(W,r[2]),W.forEach(c),o=P(_),a=E(_,"INPUT",{id:!0,type:!0,class:!0,name:!0,placeholder:!0,autocomplete:!0}),n=P(_),f=E(_,"DIV",{});var B=F(f);z(i.$$.fragment,B),B.forEach(c),_.forEach(c),this.h()},h(){b(t,"for",r[5]),b(t,"class","hidden"),b(a,"id",r[5]),b(a,"type","search"),b(a,"class","w-full rounded-l-lg px-4 focus:outline-none"),b(a,"name",r[3]),a.value=r[1],b(a,"placeholder",r[0]),b(a,"autocomplete","off"),b(e,"class","relative flex items-center rounded-lg border-2 bg-white transition-colors focus-within:border-blue-700"),b(e,"role","search")},m(m,_){T(m,e,_),w&&w.m(e,null),k(e,s),k(e,t),k(t,l),k(e,o),k(e,a),k(e,n),k(e,f),V(i,f,null),h=!0,q||(p=[j(a,"input",r[7]),j(a,"keydown",le(r[8])),j(e,"submit",se(r[6]))],q=!0)},p(m,[_]){m[4]?w?_&16&&S(w,1):(w=Je(),w.c(),S(w,1),w.m(e,s)):w&&(me(),D(w,1,1,()=>{w=null}),_e()),(!h||_&4)&&Y(l,m[2]),(!h||_&32)&&b(t,"for",m[5]),(!h||_&32)&&b(a,"id",m[5]),(!h||_&8)&&b(a,"name",m[3]),(!h||_&2&&a.value!==m[1])&&(a.value=m[1]),(!h||_&1)&&b(a,"placeholder",m[0]);const W={};_&516&&(W.$$scope={dirty:_,ctx:m}),i.$set(W)},i(m){h||(S(w),S(i.$$.fragment,m),h=!0)},o(m){D(w),D(i.$$.fragment,m),h=!1},d(m){m&&c(e),w&&w.d(),G(i),q=!1,We(p)}}}function Nt(r,e,s){let{placeholder:t=""}=e,{value:l=""}=e,{label:o="Search"}=e,{name:a="query"}=e,{icon:n=!1}=e,{id:f=`${o.toLocaleUpperCase()}-input`}=e;function i(p){Se.call(this,r,p)}function h(p){Se.call(this,r,p)}function q(p){Se.call(this,r,p)}return r.$$set=p=>{"placeholder"in p&&s(0,t=p.placeholder),"value"in p&&s(1,l=p.value),"label"in p&&s(2,o=p.label),"name"in p&&s(3,a=p.name),"icon"in p&&s(4,n=p.icon),"id"in p&&s(5,f=p.id)},[t,l,o,a,n,f,i,h,q]}class el extends ye{constructor(e){super(),Te(this,e,Nt,Lt,he,{placeholder:0,value:1,label:2,name:3,icon:4,id:5})}}export{Ge as F,el as S,Zt as W,$t as a,yt as b,xt as j,Wt as t}; +import{S as ye,b as Te,a as he,C as M,D as z,E as V,j as S,g as D,F as G,G as Xe,H as Ye,I as Ze,J as $e,m as g,w as H,c as C,p as E,q as F,x as L,k as c,d as P,u as b,f as T,M as k,n as te,e as Ue,z as me,h as _e,L as Ke,U as j,W as le,ac as se,r as We,T as Ae,i as xe,y as Y,Q as Se}from"./index.d29c66be.js";import{T as et,a as tt}from"./table-header-row.a7bab5a4.js";import{p as lt}from"./stores.8c019868.js";import{f as X}from"./format-date.100c5f23.js";import{u as st,v as rt,w as at,x as Oe}from"./format-time.66fea38b.js";import{f as ot}from"./route-for.3e9c6ff4.js";import{u as nt}from"./pagination.a8beaf3b.js";import{t as Qe}from"./list-workflow-query.4d12de04.js";import{d as ft,e as Fe,f as ut,g as it,j as ct}from"./has.8da86d13.js";import{W as mt}from"./workflow-status.8e93b70c.js";import{I as qe}from"./icon.5aa23970.js";import{c as _t}from"./copy-to-clipboard.a65bc890.js";import{T as ht}from"./table-row.4a68a50d.js";import{B as dt}from"./button.e7112b29.js";function pt(r){let e;const s=r[1].default,t=Xe(s,r,r[2],null);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,o){t&&t.m(l,o),e=!0},p(l,o){t&&t.p&&(!e||o&4)&&Ye(t,s,l,l[2],e?$e(s,l[2],o,null):Ze(l[2]),null)},i(l){e||(S(t,l),e=!0)},o(l){D(t,l),e=!1},d(l){t&&t.d(l)}}}function wt(r){let e,s,t,l,o,a,n,f,i,h,q,p,w,m,_,W,B;return{c(){e=g("th"),s=H("Status"),t=C(),l=g("th"),o=H("Workflow ID"),a=C(),n=g("th"),f=H("Type"),i=C(),h=g("th"),q=H("Start"),p=C(),w=g("th"),m=H("End"),_=C(),W=g("th"),B=H("Summary"),this.h()},l(d){e=E(d,"TH",{class:!0});var y=F(e);s=L(y,"Status"),y.forEach(c),t=P(d),l=E(d,"TH",{class:!0});var I=F(l);o=L(I,"Workflow ID"),I.forEach(c),a=P(d),n=E(d,"TH",{class:!0});var J=F(n);f=L(J,"Type"),J.forEach(c),i=P(d),h=E(d,"TH",{class:!0});var U=F(h);q=L(U,"Start"),U.forEach(c),p=P(d),w=E(d,"TH",{class:!0});var A=F(w);m=L(A,"End"),A.forEach(c),_=P(d),W=E(d,"TH",{class:!0,colspan:!0});var N=F(W);B=L(N,"Summary"),N.forEach(c),this.h()},h(){b(e,"class","w-32 max-md:hidden"),b(l,"class","max-md:hidden md:w-auto"),b(n,"class","w-60 max-md:hidden"),b(h,"class","w-60 max-xl:hidden"),b(w,"class","w-60 max-xl:hidden"),b(W,"class","md:hidden"),b(W,"colspan","3")},m(d,y){T(d,e,y),k(e,s),T(d,t,y),T(d,l,y),k(l,o),T(d,a,y),T(d,n,y),k(n,f),T(d,i,y),T(d,h,y),k(h,q),T(d,p,y),T(d,w,y),k(w,m),T(d,_,y),T(d,W,y),k(W,B)},p:te,d(d){d&&c(e),d&&c(t),d&&c(l),d&&c(a),d&&c(n),d&&c(i),d&&c(h),d&&c(p),d&&c(w),d&&c(_),d&&c(W)}}}function bt(r){let e,s;return e=new tt({props:{slot:"headers",$$slots:{default:[wt]},$$scope:{ctx:r}}}),{c(){M(e.$$.fragment)},l(t){z(e.$$.fragment,t)},m(t,l){V(e,t,l),s=!0},p(t,l){const o={};l&4&&(o.$$scope={dirty:l,ctx:t}),e.$set(o)},i(t){s||(S(e.$$.fragment,t),s=!0)},o(t){D(e.$$.fragment,t),s=!1},d(t){G(e,t)}}}function kt(r){let e,s;return e=new et({props:{class:"w-full md:table-fixed",updating:r[0],"data-testid":"workflows-table",$$slots:{headers:[bt],default:[pt]},$$scope:{ctx:r}}}),{c(){M(e.$$.fragment)},l(t){z(e.$$.fragment,t)},m(t,l){V(e,t,l),s=!0},p(t,[l]){const o={};l&1&&(o.updating=t[0]),l&4&&(o.$$scope={dirty:l,ctx:t}),e.$set(o)},i(t){s||(S(e.$$.fragment,t),s=!0)},o(t){D(e.$$.fragment,t),s=!1},d(t){G(e,t)}}}function vt(r,e,s){let{$$slots:t={},$$scope:l}=e,{updating:o=!1}=e;return r.$$set=a=>{"updating"in a&&s(0,o=a.updating),"$$scope"in a&&s(2,l=a.$$scope)},[o,t,l]}class Zt extends ye{constructor(e){super(),Te(this,e,vt,kt,he,{updating:0})}}const yt=r=>{const e=[],s=()=>{t&&(e.push(t),t="")};let t="",l=0;for(;le=>e.toLowerCase()===r.toLowerCase(),ve=(r,e)=>r[e+2],Tt=r=>{if(r){for(const e of at)if(r[e])return{[e]:r[e]}}},gt=ge("WorkflowType"),Et=ge("WorkflowId"),St=ge("StartTime"),Ft=ge("ExecutionStatus"),Wt=r=>{const e=yt(r),s={workflowId:"",workflowType:"",executionStatus:null,timeRange:null};return e.forEach((t,l)=>{if(Et(t)&&(s.workflowId=ve(e,l)),gt(t)&&(s.workflowType=ve(e,l)),Ft(t)){const o=ve(e,l);ct(o)&&(s.executionStatus=o)}if(St(t)){const o=ve(e,l);try{const a=st(o),n=Tt(a);s.timeRange=rt(n)}catch(a){console.error("Error parsing StartTime from query",a)}}}),s};function Re(r){let e,s,t,l,o,a,n=r[1]&&Me(r),f=r[2]&&Ve(r);return{c(){e=g("div"),n&&n.c(),s=C(),f&&f.c(),this.h()},l(i){e=E(i,"DIV",{class:!0});var h=F(e);n&&n.l(h),s=P(h),f&&f.l(h),h.forEach(c),this.h()},h(){b(e,"class",t="copy-or-filter "+r[6]+" svelte-1f7279h")},m(i,h){T(i,e,h),n&&n.m(e,null),k(e,s),f&&f.m(e,null),l=!0,o||(a=[j(e,"click",le(se(te))),j(e,"keyup",le(se(te)))],o=!0)},p(i,h){i[1]?n?(n.p(i,h),h&2&&S(n,1)):(n=Me(i),n.c(),S(n,1),n.m(e,s)):n&&(me(),D(n,1,1,()=>{n=null}),_e()),i[2]?f?(f.p(i,h),h&4&&S(f,1)):(f=Ve(i),f.c(),S(f,1),f.m(e,null)):f&&(me(),D(f,1,1,()=>{f=null}),_e()),(!l||h&64&&t!==(t="copy-or-filter "+i[6]+" svelte-1f7279h"))&&b(e,"class",t)},i(i){l||(S(n),S(f),l=!0)},o(i){D(n),D(f),l=!1},d(i){i&&c(e),n&&n.d(),f&&f.d(),o=!1,We(a)}}}function Me(r){let e,s=r[5],t,l,o,a=ze();return{c(){e=g("button"),a.c(),this.h()},l(n){e=E(n,"BUTTON",{class:!0});var f=F(e);a.l(f),f.forEach(c),this.h()},h(){b(e,"class","copy-or-filter-button svelte-1f7279h"),Ae(e,"filtered",r[5])},m(n,f){T(n,e,f),a.m(e,null),t=!0,l||(o=j(e,"click",le(se(function(){xe(r[4])&&r[4].apply(this,arguments)}))),l=!0)},p(n,f){r=n,f&32&&he(s,s=r[5])?(me(),D(a,1,1,te),_e(),a=ze(),a.c(),S(a,1),a.m(e,null)):a.p(r,f),(!t||f&32)&&Ae(e,"filtered",r[5])},i(n){t||(S(a),t=!0)},o(n){D(a),t=!1},d(n){n&&c(e),a.d(n),l=!1,o()}}}function ze(r){let e,s;return e=new qe({props:{name:"filter"}}),{c(){M(e.$$.fragment)},l(t){z(e.$$.fragment,t)},m(t,l){V(e,t,l),s=!0},p:te,i(t){s||(S(e.$$.fragment,t),s=!0)},o(t){D(e.$$.fragment,t),s=!1},d(t){G(e,t)}}}function Ve(r){let e,s,t,l,o;return s=new qe({props:{name:r[7]?"checkmark":"copy",stroke:"#000"}}),{c(){e=g("button"),M(s.$$.fragment),this.h()},l(a){e=E(a,"BUTTON",{class:!0});var n=F(e);z(s.$$.fragment,n),n.forEach(c),this.h()},h(){b(e,"class","copy-or-filter-button svelte-1f7279h")},m(a,n){T(a,e,n),V(s,e,null),t=!0,l||(o=j(e,"click",le(se(r[10]))),l=!0)},p(a,n){const f={};n&128&&(f.name=a[7]?"checkmark":"copy"),s.$set(f)},i(a){t||(S(s.$$.fragment,a),t=!0)},o(a){D(s.$$.fragment,a),t=!1},d(a){a&&c(e),G(s),l=!1,o()}}}function qt(r){let e,s,t=r[0]&&Re(r);return{c(){t&&t.c(),e=Ue()},l(l){t&&t.l(l),e=Ue()},m(l,o){t&&t.m(l,o),T(l,e,o),s=!0},p(l,[o]){l[0]?t?(t.p(l,o),o&1&&S(t,1)):(t=Re(l),t.c(),S(t,1),t.m(e.parentNode,e)):t&&(me(),D(t,1,1,()=>{t=null}),_e())},i(l){s||(S(t),s=!0)},o(l){D(t),s=!1},d(l){t&&t.d(l),l&&c(e)}}}function Dt(r,e,s){let t,{show:l=!1}=e,{filterable:o=!0}=e,{copyable:a=!0}=e,{content:n}=e,{onFilter:f=te}=e,{filtered:i=!1}=e,{class:h=""}=e;const{copy:q,copied:p}=_t(700);Ke(r,p,m=>s(7,t=m));const w=m=>q(m,n);return r.$$set=m=>{"show"in m&&s(0,l=m.show),"filterable"in m&&s(1,o=m.filterable),"copyable"in m&&s(2,a=m.copyable),"content"in m&&s(3,n=m.content),"onFilter"in m&&s(4,f=m.onFilter),"filtered"in m&&s(5,i=m.filtered),"class"in m&&s(6,h=m.class)},[l,o,a,n,f,i,h,t,q,p,w]}class Ge extends ye{constructor(e){super(),Te(this,e,Dt,qt,he,{show:0,filterable:1,copyable:2,content:3,onFilter:4,filtered:5,class:6})}}function It(r){var Ie,Ce,Pe;let e,s,t,l,o,a=r[0].id+"",n,f,i,h,q,p=X(r[0].startTime,r[1])+"",w,m,_,W,B,d,y,I=r[0].name+"",J,U,A,N,re,x,ae=X(r[0].endTime,r[1])+"",de,pe,Z,oe,ne=X(r[0].startTime,r[1])+"",we,be,$,fe,ue=X(r[0].endTime,r[1])+"",ke,O,Ee,De;return s=new mt({props:{status:r[0].status,delay:Oe(r[0].startTime)}}),i=new Ge({props:{show:r[2],content:r[0].id,filterable:!1}}),N=new Ge({props:{show:r[2],content:r[0].name,onFilter:r[12],filtered:(Pe=(Ce=(Ie=r[4].url)==null?void 0:Ie.searchParams)==null?void 0:Ce.get("query"))==null?void 0:Pe.includes(r[0].name)}}),{c(){e=g("td"),M(s.$$.fragment),t=C(),l=g("td"),o=g("span"),n=H(a),f=C(),M(i.$$.fragment),h=C(),q=g("p"),w=H(p),m=C(),_=g("td"),W=g("h3"),B=H("Workflow Name:"),d=C(),y=g("button"),J=H(I),A=C(),M(N.$$.fragment),re=C(),x=g("p"),de=H(ae),pe=C(),Z=g("td"),oe=g("p"),we=H(ne),be=C(),$=g("td"),fe=g("p"),ke=H(ue),this.h()},l(u){e=E(u,"TD",{});var v=F(e);z(s.$$.fragment,v),v.forEach(c),t=P(u),l=E(u,"TD",{class:!0});var R=F(l);o=E(R,"SPAN",{class:!0});var ee=F(o);n=L(ee,a),ee.forEach(c),f=P(R),z(i.$$.fragment,R),h=P(R),q=E(R,"P",{class:!0});var K=F(q);w=L(K,p),K.forEach(c),R.forEach(c),m=P(u),_=E(u,"TD",{class:!0});var Q=F(_);W=E(Q,"H3",{class:!0});var ie=F(W);B=L(ie,"Workflow Name:"),ie.forEach(c),d=P(Q),y=E(Q,"BUTTON",{class:!0,"aria-label":!0});var ce=F(y);J=L(ce,I),ce.forEach(c),A=P(Q),z(N.$$.fragment,Q),re=P(Q),x=E(Q,"P",{class:!0});var je=F(x);de=L(je,ae),je.forEach(c),Q.forEach(c),pe=P(u),Z=E(u,"TD",{class:!0});var He=F(Z);oe=E(He,"P",{});var Le=F(oe);we=L(Le,ne),Le.forEach(c),He.forEach(c),be=P(u),$=E(u,"TD",{class:!0});var Ne=F($);fe=E(Ne,"P",{});var Be=F(fe);ke=L(Be,ue),Be.forEach(c),Ne.forEach(c),this.h()},h(){b(o,"class","table-link svelte-tyqpjy"),b(q,"class","inline-time-cell svelte-tyqpjy"),b(l,"class","relative break-words pr-4"),b(W,"class","md:hidden"),b(y,"class","table-link svelte-tyqpjy"),b(y,"aria-label",U="filter by "+r[0].name+" type"),b(x,"class","inline-time-cell svelte-tyqpjy"),b(_,"class","relative truncate"),b(Z,"class","time-cell svelte-tyqpjy"),b($,"class","time-cell svelte-tyqpjy")},m(u,v){T(u,e,v),V(s,e,null),T(u,t,v),T(u,l,v),k(l,o),k(o,n),k(l,f),V(i,l,null),k(l,h),k(l,q),k(q,w),T(u,m,v),T(u,_,v),k(_,W),k(W,B),k(_,d),k(_,y),k(y,J),k(_,A),V(N,_,null),k(_,re),k(_,x),k(x,de),T(u,pe,v),T(u,Z,v),k(Z,oe),k(oe,we),T(u,be,v),T(u,$,v),k($,fe),k(fe,ke),O=!0,Ee||(De=[j(l,"mouseover",r[7]),j(l,"focus",r[8]),j(l,"mouseleave",r[9]),j(l,"blur",r[10]),j(y,"click",le(se(r[11]))),j(_,"mouseover",r[13]),j(_,"focus",r[14]),j(_,"mouseleave",r[15]),j(_,"blur",r[16])],Ee=!0)},p(u,v){var Q,ie,ce;const R={};v&1&&(R.status=u[0].status),v&1&&(R.delay=Oe(u[0].startTime)),s.$set(R),(!O||v&1)&&a!==(a=u[0].id+"")&&Y(n,a);const ee={};v&4&&(ee.show=u[2]),v&1&&(ee.content=u[0].id),i.$set(ee),(!O||v&3)&&p!==(p=X(u[0].startTime,u[1])+"")&&Y(w,p),(!O||v&1)&&I!==(I=u[0].name+"")&&Y(J,I),(!O||v&1&&U!==(U="filter by "+u[0].name+" type"))&&b(y,"aria-label",U);const K={};v&4&&(K.show=u[2]),v&1&&(K.content=u[0].name),v&1&&(K.onFilter=u[12]),v&17&&(K.filtered=(ce=(ie=(Q=u[4].url)==null?void 0:Q.searchParams)==null?void 0:ie.get("query"))==null?void 0:ce.includes(u[0].name)),N.$set(K),(!O||v&3)&&ae!==(ae=X(u[0].endTime,u[1])+"")&&Y(de,ae),(!O||v&3)&&ne!==(ne=X(u[0].startTime,u[1])+"")&&Y(we,ne),(!O||v&3)&&ue!==(ue=X(u[0].endTime,u[1])+"")&&Y(ke,ue)},i(u){O||(S(s.$$.fragment,u),S(i.$$.fragment,u),S(N.$$.fragment,u),O=!0)},o(u){D(s.$$.fragment,u),D(i.$$.fragment,u),D(N.$$.fragment,u),O=!1},d(u){u&&c(e),G(s),u&&c(t),u&&c(l),G(i),u&&c(m),u&&c(_),G(N),u&&c(pe),u&&c(Z),u&&c(be),u&&c($),Ee=!1,We(De)}}}function Ct(r){let e,s;return e=new ht({props:{href:r[3],class:"workflow-summary-row",$$slots:{default:[It]},$$scope:{ctx:r}}}),{c(){M(e.$$.fragment)},l(t){z(e.$$.fragment,t)},m(t,l){V(e,t,l),s=!0},p(t,[l]){const o={};l&8&&(o.href=t[3]),l&131095&&(o.$$scope={dirty:l,ctx:t}),e.$set(o)},i(t){s||(S(e.$$.fragment,t),s=!0)},o(t){D(e.$$.fragment,t),s=!1},d(t){G(e,t)}}}function Pt(r,e,s){let t,l;Ke(r,lt,I=>s(4,l=I));let{namespace:o}=e,{workflow:a}=e,{timeFormat:n}=e,f=!1;const i=I=>{const J=Qe({timeRange:"All"}),U=l.url.searchParams.get("query"),A=Wt(U??J),N=(A==null?void 0:A.workflowType)===I?"":I,re=Qe({...A,workflowType:N});nt({url:l.url,parameter:"query",value:re,allowEmpty:!0})},h=()=>s(2,f=!0),q=()=>s(2,f=!0),p=()=>s(2,f=!1),w=()=>s(2,f=!1),m=()=>i(a.name),_=()=>i(a.name),W=()=>s(2,f=!0),B=()=>s(2,f=!0),d=()=>s(2,f=!1),y=()=>s(2,f=!1);return r.$$set=I=>{"namespace"in I&&s(6,o=I.namespace),"workflow"in I&&s(0,a=I.workflow),"timeFormat"in I&&s(1,n=I.timeFormat)},r.$$.update=()=>{r.$$.dirty&65&&s(3,t=ot({namespace:o,workflow:a.id,run:a.runId}))},[a,n,f,t,l,i,o,h,q,p,w,m,_,W,B,d,y]}class $t extends ye{constructor(e){super(),Te(this,e,Pt,Ct,he,{namespace:6,workflow:0,timeFormat:1})}}var xt=jt;function jt(r,e,s,t){var l,o,a;return function(){if(a=this,o=Array.prototype.slice.call(arguments),l&&(s||t))return;if(!s)return i(),l=setTimeout(f,e),l;l=setTimeout(i,e),r.apply(a,o);function f(){i(),r.apply(a,o)}function i(){clearTimeout(l),l=null}}}function Je(r){let e,s;return e=new qe({props:{name:"search",class:"ml-4 flex items-center text-gray-700"}}),{c(){M(e.$$.fragment)},l(t){z(e.$$.fragment,t)},m(t,l){V(e,t,l),s=!0},i(t){s||(S(e.$$.fragment,t),s=!0)},o(t){D(e.$$.fragment,t),s=!1},d(t){G(e,t)}}}function Ht(r){let e;return{c(){e=H(r[2])},l(s){e=L(s,r[2])},m(s,t){T(s,e,t)},p(s,t){t&4&&Y(e,s[2])},d(s){s&&c(e)}}}function Lt(r){let e,s,t,l,o,a,n,f,i,h,q,p,w=r[4]&&Je();return i=new dt({props:{class:"m-2",type:"submit",$$slots:{default:[Ht]},$$scope:{ctx:r}}}),{c(){e=g("form"),w&&w.c(),s=C(),t=g("label"),l=H(r[2]),o=C(),a=g("input"),n=C(),f=g("div"),M(i.$$.fragment),this.h()},l(m){e=E(m,"FORM",{class:!0,role:!0});var _=F(e);w&&w.l(_),s=P(_),t=E(_,"LABEL",{for:!0,class:!0});var W=F(t);l=L(W,r[2]),W.forEach(c),o=P(_),a=E(_,"INPUT",{id:!0,type:!0,class:!0,name:!0,placeholder:!0,autocomplete:!0}),n=P(_),f=E(_,"DIV",{});var B=F(f);z(i.$$.fragment,B),B.forEach(c),_.forEach(c),this.h()},h(){b(t,"for",r[5]),b(t,"class","hidden"),b(a,"id",r[5]),b(a,"type","search"),b(a,"class","w-full rounded-l-lg px-4 focus:outline-none"),b(a,"name",r[3]),a.value=r[1],b(a,"placeholder",r[0]),b(a,"autocomplete","off"),b(e,"class","relative flex items-center rounded-lg border-2 bg-white transition-colors focus-within:border-blue-700"),b(e,"role","search")},m(m,_){T(m,e,_),w&&w.m(e,null),k(e,s),k(e,t),k(t,l),k(e,o),k(e,a),k(e,n),k(e,f),V(i,f,null),h=!0,q||(p=[j(a,"input",r[7]),j(a,"keydown",le(r[8])),j(e,"submit",se(r[6]))],q=!0)},p(m,[_]){m[4]?w?_&16&&S(w,1):(w=Je(),w.c(),S(w,1),w.m(e,s)):w&&(me(),D(w,1,1,()=>{w=null}),_e()),(!h||_&4)&&Y(l,m[2]),(!h||_&32)&&b(t,"for",m[5]),(!h||_&32)&&b(a,"id",m[5]),(!h||_&8)&&b(a,"name",m[3]),(!h||_&2&&a.value!==m[1])&&(a.value=m[1]),(!h||_&1)&&b(a,"placeholder",m[0]);const W={};_&516&&(W.$$scope={dirty:_,ctx:m}),i.$set(W)},i(m){h||(S(w),S(i.$$.fragment,m),h=!0)},o(m){D(w),D(i.$$.fragment,m),h=!1},d(m){m&&c(e),w&&w.d(),G(i),q=!1,We(p)}}}function Nt(r,e,s){let{placeholder:t=""}=e,{value:l=""}=e,{label:o="Search"}=e,{name:a="query"}=e,{icon:n=!1}=e,{id:f=`${o.toLocaleUpperCase()}-input`}=e;function i(p){Se.call(this,r,p)}function h(p){Se.call(this,r,p)}function q(p){Se.call(this,r,p)}return r.$$set=p=>{"placeholder"in p&&s(0,t=p.placeholder),"value"in p&&s(1,l=p.value),"label"in p&&s(2,o=p.label),"name"in p&&s(3,a=p.name),"icon"in p&&s(4,n=p.icon),"id"in p&&s(5,f=p.id)},[t,l,o,a,n,f,i,h,q]}class el extends ye{constructor(e){super(),Te(this,e,Nt,Lt,he,{placeholder:0,value:1,label:2,name:3,icon:4,id:5})}}export{Ge as F,el as S,Zt as W,$t as a,yt as b,xt as j,Wt as t}; diff --git a/ui/assets/local/_app/immutable/chunks/settings-service.499312b2.js b/ui/assets/local/_app/immutable/chunks/settings-service.4436430b.js similarity index 96% rename from ui/assets/local/_app/immutable/chunks/settings-service.499312b2.js rename to ui/assets/local/_app/immutable/chunks/settings-service.4436430b.js index 72f9a75ca0..0c4ecfa3c8 100644 --- a/ui/assets/local/_app/immutable/chunks/settings-service.499312b2.js +++ b/ui/assets/local/_app/immutable/chunks/settings-service.4436430b.js @@ -1 +1 @@ -import{s as b}from"./settings.a68ca666.js";import{r as D,a as e,g as A}from"./route-for-api.58c31c66.js";function h(){return{}.VITE_TEMPORAL_UI_BUILD_TARGET??null}const m=/(tmprl\.cloud|tmprl-test\.cloud)$/,C=async(w=fetch)=>{var l,c,d,i,u,f;const t=D("settings"),a=await e(t,{request:w}),r=h(),o={auth:{enabled:!!((l=a==null?void 0:a.Auth)!=null&&l.Enabled),options:(c=a==null?void 0:a.Auth)==null?void 0:c.Options},baseUrl:A(),codec:{endpoint:(d=a==null?void 0:a.Codec)==null?void 0:d.Endpoint,passAccessToken:(i=a==null?void 0:a.Codec)==null?void 0:i.PassAccessToken,includeCredentials:(u=a==null?void 0:a.Codec)==null?void 0:u.IncludeCredentials,decodeEventHistoryDownload:(f=a==null?void 0:a.Codec)==null?void 0:f.DecodeEventHistoryDownload},defaultNamespace:(a==null?void 0:a.DefaultNamespace)||"default",disableWriteActions:!!(a!=null&&a.DisableWriteActions)||!1,workflowTerminateDisabled:!!(a!=null&&a.WorkflowTerminateDisabled),workflowCancelDisabled:!!(a!=null&&a.WorkflowCancelDisabled),workflowSignalDisabled:!!(a!=null&&a.WorkflowSignalDisabled),workflowResetDisabled:!!(a!=null&&a.WorkflowResetDisabled),batchActionsDisabled:!!(a!=null&&a.BatchActionsDisabled),showTemporalSystemNamespace:a==null?void 0:a.ShowTemporalSystemNamespace,notifyOnNewVersion:a==null?void 0:a.NotifyOnNewVersion,feedbackURL:a==null?void 0:a.FeedbackURL,runtimeEnvironment:{get isCloud(){return r?r==="cloud":m.test(window.location.hostname)},get isLocal(){return r?r==="local":m.test(window.location.hostname)},envOverride:Boolean(r)},version:a==null?void 0:a.Version};return b.set(o),o};export{C as f,m as i}; +import{s as b}from"./settings.a68ca666.js";import{r as D,a as e,g as A}from"./route-for-api.851ff400.js";function h(){return{}.VITE_TEMPORAL_UI_BUILD_TARGET??null}const m=/(tmprl\.cloud|tmprl-test\.cloud)$/,C=async(w=fetch)=>{var l,c,d,i,u,f;const t=D("settings"),a=await e(t,{request:w}),r=h(),o={auth:{enabled:!!((l=a==null?void 0:a.Auth)!=null&&l.Enabled),options:(c=a==null?void 0:a.Auth)==null?void 0:c.Options},baseUrl:A(),codec:{endpoint:(d=a==null?void 0:a.Codec)==null?void 0:d.Endpoint,passAccessToken:(i=a==null?void 0:a.Codec)==null?void 0:i.PassAccessToken,includeCredentials:(u=a==null?void 0:a.Codec)==null?void 0:u.IncludeCredentials,decodeEventHistoryDownload:(f=a==null?void 0:a.Codec)==null?void 0:f.DecodeEventHistoryDownload},defaultNamespace:(a==null?void 0:a.DefaultNamespace)||"default",disableWriteActions:!!(a!=null&&a.DisableWriteActions)||!1,workflowTerminateDisabled:!!(a!=null&&a.WorkflowTerminateDisabled),workflowCancelDisabled:!!(a!=null&&a.WorkflowCancelDisabled),workflowSignalDisabled:!!(a!=null&&a.WorkflowSignalDisabled),workflowResetDisabled:!!(a!=null&&a.WorkflowResetDisabled),batchActionsDisabled:!!(a!=null&&a.BatchActionsDisabled),showTemporalSystemNamespace:a==null?void 0:a.ShowTemporalSystemNamespace,notifyOnNewVersion:a==null?void 0:a.NotifyOnNewVersion,feedbackURL:a==null?void 0:a.FeedbackURL,runtimeEnvironment:{get isCloud(){return r?r==="cloud":m.test(window.location.hostname)},get isLocal(){return r?r==="local":m.test(window.location.hostname)},envOverride:Boolean(r)},version:a==null?void 0:a.Version};return b.set(o),o};export{C as f,m as i}; diff --git a/ui/assets/local/_app/immutable/chunks/singletons.1197b53d.js b/ui/assets/local/_app/immutable/chunks/singletons.1197b53d.js deleted file mode 100644 index 9fe5f1a764..0000000000 --- a/ui/assets/local/_app/immutable/chunks/singletons.1197b53d.js +++ /dev/null @@ -1 +0,0 @@ -import{w as u}from"./index.255b7490.js";import{a as h}from"./paths.97c04cbe.js";const g="1686848082722",w="sveltekit:snapshot",A="sveltekit:scroll",R="sveltekit:index",f={tap:1,hover:2,viewport:3,eager:4,off:-1};function T(e){let t=e.baseURI;if(!t){const n=e.getElementsByTagName("base");t=n.length?n[0].href:e.URL}return t}function I(){return{x:pageXOffset,y:pageYOffset}}function i(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const d={...f,"":f.hover};function _(e){let t=e.assignedSlot??e.parentNode;return(t==null?void 0:t.nodeType)===11&&(t=t.host),t}function S(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=_(e)}}function y(e,t){let n;try{n=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const s=e instanceof SVGAElement?e.target.baseVal:e.target,a=!n||!!s||v(n,t)||(e.getAttribute("rel")||"").split(/\s+/).includes("external")||e.hasAttribute("download");return{url:n,external:a,target:s}}function x(e){let t=null,n=null,s=null,a=null,r=null,l=null,o=e;for(;o&&o!==document.documentElement;)s===null&&(s=i(o,"preload-code")),a===null&&(a=i(o,"preload-data")),t===null&&(t=i(o,"keepfocus")),n===null&&(n=i(o,"noscroll")),r===null&&(r=i(o,"reload")),l===null&&(l=i(o,"replacestate")),o=_(o);return{preload_code:d[s??"off"],preload_data:d[a??"off"],keep_focus:t==="off"?!1:t===""?!0:null,noscroll:n==="off"?!1:n===""?!0:null,reload:r==="off"?!1:r===""?!0:null,replace_state:l==="off"?!1:l===""?!0:null}}function p(e){const t=u(e);let n=!0;function s(){n=!0,t.update(l=>l)}function a(l){n=!1,t.set(l)}function r(l){let o;return t.subscribe(c=>{(o===void 0||n&&c!==o)&&l(o=c)})}return{notify:s,set:a,subscribe:r}}function b(){const{set:e,subscribe:t}=u(!1),n=1e4;let s;async function a(){clearTimeout(s),s=setTimeout(a,n);const r=await fetch(`${h}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(r.ok){const o=(await r.json()).version!==g;return o&&(e(!0),clearTimeout(s)),o}else throw new Error(`Version check failed: ${r.status}`)}return s=setTimeout(a,n),{subscribe:t,check:a}}function v(e,t){return e.origin!==location.origin||!e.pathname.startsWith(t)}let m;function O(e){m=e.client}const U={url:p({}),page:p({}),navigating:u(null),updated:b()};export{R as I,f as P,A as S,w as a,y as b,x as c,I as d,O as e,S as f,T as g,m as h,v as i,U as s}; diff --git a/ui/assets/cloud/_app/immutable/chunks/singletons.6d6802f9.js b/ui/assets/local/_app/immutable/chunks/singletons.9d1a23a0.js similarity index 97% rename from ui/assets/cloud/_app/immutable/chunks/singletons.6d6802f9.js rename to ui/assets/local/_app/immutable/chunks/singletons.9d1a23a0.js index a751ecb73c..396eaf8d13 100644 --- a/ui/assets/cloud/_app/immutable/chunks/singletons.6d6802f9.js +++ b/ui/assets/local/_app/immutable/chunks/singletons.9d1a23a0.js @@ -1 +1 @@ -import{w as u}from"./index.255b7490.js";import{a as h}from"./paths.fd839acd.js";const g="1686848129793",w="sveltekit:snapshot",A="sveltekit:scroll",R="sveltekit:index",f={tap:1,hover:2,viewport:3,eager:4,off:-1};function T(e){let t=e.baseURI;if(!t){const n=e.getElementsByTagName("base");t=n.length?n[0].href:e.URL}return t}function I(){return{x:pageXOffset,y:pageYOffset}}function i(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const d={...f,"":f.hover};function _(e){let t=e.assignedSlot??e.parentNode;return(t==null?void 0:t.nodeType)===11&&(t=t.host),t}function S(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=_(e)}}function y(e,t){let n;try{n=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const s=e instanceof SVGAElement?e.target.baseVal:e.target,a=!n||!!s||v(n,t)||(e.getAttribute("rel")||"").split(/\s+/).includes("external")||e.hasAttribute("download");return{url:n,external:a,target:s}}function x(e){let t=null,n=null,s=null,a=null,r=null,l=null,o=e;for(;o&&o!==document.documentElement;)s===null&&(s=i(o,"preload-code")),a===null&&(a=i(o,"preload-data")),t===null&&(t=i(o,"keepfocus")),n===null&&(n=i(o,"noscroll")),r===null&&(r=i(o,"reload")),l===null&&(l=i(o,"replacestate")),o=_(o);return{preload_code:d[s??"off"],preload_data:d[a??"off"],keep_focus:t==="off"?!1:t===""?!0:null,noscroll:n==="off"?!1:n===""?!0:null,reload:r==="off"?!1:r===""?!0:null,replace_state:l==="off"?!1:l===""?!0:null}}function p(e){const t=u(e);let n=!0;function s(){n=!0,t.update(l=>l)}function a(l){n=!1,t.set(l)}function r(l){let o;return t.subscribe(c=>{(o===void 0||n&&c!==o)&&l(o=c)})}return{notify:s,set:a,subscribe:r}}function b(){const{set:e,subscribe:t}=u(!1),n=1e4;let s;async function a(){clearTimeout(s),s=setTimeout(a,n);const r=await fetch(`${h}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(r.ok){const o=(await r.json()).version!==g;return o&&(e(!0),clearTimeout(s)),o}else throw new Error(`Version check failed: ${r.status}`)}return s=setTimeout(a,n),{subscribe:t,check:a}}function v(e,t){return e.origin!==location.origin||!e.pathname.startsWith(t)}let m;function O(e){m=e.client}const U={url:p({}),page:p({}),navigating:u(null),updated:b()};export{R as I,f as P,A as S,w as a,y as b,x as c,I as d,O as e,S as f,T as g,m as h,v as i,U as s}; +import{w as u}from"./index.255b7490.js";import{a as h}from"./paths.11885d69.js";const g="1686851790756",w="sveltekit:snapshot",A="sveltekit:scroll",R="sveltekit:index",f={tap:1,hover:2,viewport:3,eager:4,off:-1};function T(e){let t=e.baseURI;if(!t){const n=e.getElementsByTagName("base");t=n.length?n[0].href:e.URL}return t}function I(){return{x:pageXOffset,y:pageYOffset}}function i(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const d={...f,"":f.hover};function _(e){let t=e.assignedSlot??e.parentNode;return(t==null?void 0:t.nodeType)===11&&(t=t.host),t}function S(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=_(e)}}function y(e,t){let n;try{n=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const s=e instanceof SVGAElement?e.target.baseVal:e.target,a=!n||!!s||v(n,t)||(e.getAttribute("rel")||"").split(/\s+/).includes("external")||e.hasAttribute("download");return{url:n,external:a,target:s}}function x(e){let t=null,n=null,s=null,a=null,r=null,l=null,o=e;for(;o&&o!==document.documentElement;)s===null&&(s=i(o,"preload-code")),a===null&&(a=i(o,"preload-data")),t===null&&(t=i(o,"keepfocus")),n===null&&(n=i(o,"noscroll")),r===null&&(r=i(o,"reload")),l===null&&(l=i(o,"replacestate")),o=_(o);return{preload_code:d[s??"off"],preload_data:d[a??"off"],keep_focus:t==="off"?!1:t===""?!0:null,noscroll:n==="off"?!1:n===""?!0:null,reload:r==="off"?!1:r===""?!0:null,replace_state:l==="off"?!1:l===""?!0:null}}function p(e){const t=u(e);let n=!0;function s(){n=!0,t.update(l=>l)}function a(l){n=!1,t.set(l)}function r(l){let o;return t.subscribe(c=>{(o===void 0||n&&c!==o)&&l(o=c)})}return{notify:s,set:a,subscribe:r}}function b(){const{set:e,subscribe:t}=u(!1),n=1e4;let s;async function a(){clearTimeout(s),s=setTimeout(a,n);const r=await fetch(`${h}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(r.ok){const o=(await r.json()).version!==g;return o&&(e(!0),clearTimeout(s)),o}else throw new Error(`Version check failed: ${r.status}`)}return s=setTimeout(a,n),{subscribe:t,check:a}}function v(e,t){return e.origin!==location.origin||!e.pathname.startsWith(t)}let m;function O(e){m=e.client}const U={url:p({}),page:p({}),navigating:u(null),updated:b()};export{R as I,f as P,A as S,w as a,y as b,x as c,I as d,O as e,S as f,T as g,m as h,v as i,U as s}; diff --git a/ui/assets/cloud/_app/immutable/chunks/stores.1f7fa6eb.js b/ui/assets/local/_app/immutable/chunks/stores.8c019868.js similarity index 69% rename from ui/assets/cloud/_app/immutable/chunks/stores.1f7fa6eb.js rename to ui/assets/local/_app/immutable/chunks/stores.8c019868.js index be6c3ee8ad..0f4e8516ba 100644 --- a/ui/assets/cloud/_app/immutable/chunks/stores.1f7fa6eb.js +++ b/ui/assets/local/_app/immutable/chunks/stores.8c019868.js @@ -1 +1 @@ -import"./index.d29c66be.js";import{s as t}from"./singletons.6d6802f9.js";const r=()=>{const s=t;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},u={subscribe(s){return r().page.subscribe(s)}},c={subscribe(s){const e=r().updated;return c.check=e.check,e.subscribe(s)},check:()=>{throw new Error("Cannot check updated store before subscribing")}};export{u as p,c as u}; +import"./index.d29c66be.js";import{s as t}from"./singletons.9d1a23a0.js";const r=()=>{const s=t;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},u={subscribe(s){return r().page.subscribe(s)}},c={subscribe(s){const e=r().updated;return c.check=e.check,e.subscribe(s)},check:()=>{throw new Error("Cannot check updated store before subscribing")}};export{u as p,c as u}; diff --git a/ui/assets/local/_app/immutable/chunks/stores.b938c0e3.js b/ui/assets/local/_app/immutable/chunks/stores.b938c0e3.js deleted file mode 100644 index ade140e9f7..0000000000 --- a/ui/assets/local/_app/immutable/chunks/stores.b938c0e3.js +++ /dev/null @@ -1 +0,0 @@ -import"./index.d29c66be.js";import{s as t}from"./singletons.1197b53d.js";const r=()=>{const s=t;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},u={subscribe(s){return r().page.subscribe(s)}},c={subscribe(s){const e=r().updated;return c.check=e.check,e.subscribe(s)},check:()=>{throw new Error("Cannot check updated store before subscribing")}};export{u as p,c as u}; diff --git a/ui/assets/local/_app/immutable/chunks/toggle-buttons.10f7f06f.js b/ui/assets/local/_app/immutable/chunks/toggle-buttons.10f7f06f.js deleted file mode 100644 index 38538f2a6b..0000000000 --- a/ui/assets/local/_app/immutable/chunks/toggle-buttons.10f7f06f.js +++ /dev/null @@ -1 +0,0 @@ -import{ae as w,S as J,b as L,a as M,e as F,f as j,z,g,h as B,j as v,k as b,L as $,O as T,P as G,Q as H,m as y,p as E,q as I,R as N,T as p,U as O,V as Q,G as D,H as V,I as A,J as S,C as R,c as U,D as K,d as W,u as C,E as X,M as P,F as Y,ad as x}from"./index.d29c66be.js";import{I as Z}from"./icon.5aa23970.js";import{p as ee}from"./stores.b938c0e3.js";function le(r){return w(r)}function te(r){let e,l,t,s,a,u,i,n;const f=[re,ne],c=[];function h(_,o){return _[0]?0:1}l=h(r),t=c[l]=f[l](r);let k=[{class:s="flex cursor-pointer items-center justify-center border border-gray-900 py-2 px-4 text-sm "+r[6].class},{id:a=r[6].id},r[6]],d={};for(let _=0;_{c[m]=null}),B(),t=c[l],t?t.p(_,o):(t=c[l]=f[l](_),t.c()),v(t,1),t.m(e,null)),N(e,d=Q(k,[(!u||o&64&&s!==(s="flex cursor-pointer items-center justify-center border border-gray-900 py-2 px-4 text-sm "+_[6].class))&&{class:s},(!u||o&64&&a!==(a=_[6].id))&&{id:a},o&64&&_[6]])),p(e,"rounded-lg",!_[1]),p(e,"active",_[4]),p(e,"group",_[1]),p(e,"svelte-1orl6nd",!0)},i(_){u||(v(t),u=!0)},o(_){g(t),u=!1},d(_){_&&b(e),c[l].d(),i=!1,n()}}}function se(r){let e,l,t,s,a,u,i,n,f;const c=[ie,ae],h=[];function k(o,m){return o[0]?0:1}l=k(r),t=h[l]=c[l](r);let d=[{class:s="flex items-center justify-center border border-gray-900 py-2 px-4 text-sm "+r[6].class},{href:a=r[2]+r[5].url.search},{id:u=r[6].id},r[6]],_={};for(let o=0;o{h[q]=null}),B(),t=h[l],t?t.p(o,m):(t=h[l]=c[l](o),t.c()),v(t,1),t.m(e,null)),N(e,_=Q(d,[(!i||m&64&&s!==(s="flex items-center justify-center border border-gray-900 py-2 px-4 text-sm "+o[6].class))&&{class:s},(!i||m&36&&a!==(a=o[2]+o[5].url.search))&&{href:a},(!i||m&64&&u!==(u=o[6].id))&&{id:u},m&64&&o[6]])),p(e,"rounded-lg",!o[1]),p(e,"active",o[5].url.pathname.includes(o[3])||o[4]),p(e,"group",o[1]),p(e,"svelte-1orl6nd",!0)},i(o){i||(v(t),i=!0)},o(o){g(t),i=!1},d(o){o&&b(e),h[l].d(),n=!1,f()}}}function ne(r){let e;const l=r[8].default,t=D(l,r,r[7],null);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,a){t&&t.m(s,a),e=!0},p(s,a){t&&t.p&&(!e||a&128)&&V(t,l,s,s[7],e?S(l,s[7],a,null):A(s[7]),null)},i(s){e||(v(t,s),e=!0)},o(s){g(t,s),e=!1},d(s){t&&t.d(s)}}}function re(r){let e,l,t,s,a;l=new Z({props:{name:r[0]}});const u=r[8].default,i=D(u,r,r[7],null);return{c(){e=y("div"),R(l.$$.fragment),t=U(),s=y("span"),i&&i.c(),this.h()},l(n){e=E(n,"DIV",{class:!0});var f=I(e);K(l.$$.fragment,f),t=W(f),s=E(f,"SPAN",{class:!0});var c=I(s);i&&i.l(c),c.forEach(b),f.forEach(b),this.h()},h(){C(s,"class","hidden md:block"),C(e,"class","flex items-center gap-2")},m(n,f){j(n,e,f),X(l,e,null),P(e,t),P(e,s),i&&i.m(s,null),a=!0},p(n,f){const c={};f&1&&(c.name=n[0]),l.$set(c),i&&i.p&&(!a||f&128)&&V(i,u,n,n[7],a?S(u,n[7],f,null):A(n[7]),null)},i(n){a||(v(l.$$.fragment,n),v(i,n),a=!0)},o(n){g(l.$$.fragment,n),g(i,n),a=!1},d(n){n&&b(e),Y(l),i&&i.d(n)}}}function ae(r){let e;const l=r[8].default,t=D(l,r,r[7],null);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,a){t&&t.m(s,a),e=!0},p(s,a){t&&t.p&&(!e||a&128)&&V(t,l,s,s[7],e?S(l,s[7],a,null):A(s[7]),null)},i(s){e||(v(t,s),e=!0)},o(s){g(t,s),e=!1},d(s){t&&t.d(s)}}}function ie(r){let e,l,t,s,a;l=new Z({props:{name:r[0]}});const u=r[8].default,i=D(u,r,r[7],null);return{c(){e=y("div"),R(l.$$.fragment),t=U(),s=y("span"),i&&i.c(),this.h()},l(n){e=E(n,"DIV",{class:!0});var f=I(e);K(l.$$.fragment,f),t=W(f),s=E(f,"SPAN",{class:!0});var c=I(s);i&&i.l(c),c.forEach(b),f.forEach(b),this.h()},h(){C(s,"class","hidden md:block"),C(e,"class","flex items-center gap-2")},m(n,f){j(n,e,f),X(l,e,null),P(e,t),P(e,s),i&&i.m(s,null),a=!0},p(n,f){const c={};f&1&&(c.name=n[0]),l.$set(c),i&&i.p&&(!a||f&128)&&V(i,u,n,n[7],a?S(u,n[7],f,null):A(n[7]),null)},i(n){a||(v(l.$$.fragment,n),v(i,n),a=!0)},o(n){g(l.$$.fragment,n),g(i,n),a=!1},d(n){n&&b(e),Y(l),i&&i.d(n)}}}function oe(r){let e,l,t,s;const a=[se,te],u=[];function i(n,f){return n[2]?0:1}return e=i(r),l=u[e]=a[e](r),{c(){l.c(),t=F()},l(n){l.l(n),t=F()},m(n,f){u[e].m(n,f),j(n,t,f),s=!0},p(n,[f]){let c=e;e=i(n),e===c?u[e].p(n,f):(z(),g(u[c],1,1,()=>{u[c]=null}),B(),l=u[e],l?l.p(n,f):(l=u[e]=a[e](n),l.c()),v(l,1),l.m(t.parentNode,t))},i(n){s||(v(l),s=!0)},o(n){g(l),s=!1},d(n){u[e].d(n),n&&b(t)}}}function ue(r,e,l){let t;$(r,ee,d=>l(5,t=d));let{$$slots:s={},$$scope:a}=e,{icon:u=null}=e,{group:i=le("group")}=e,{href:n=""}=e,{base:f=n}=e,{active:c=!1}=e;function h(d){H.call(this,r,d)}function k(d){H.call(this,r,d)}return r.$$set=d=>{l(6,e=T(T({},e),G(d))),"icon"in d&&l(0,u=d.icon),"group"in d&&l(1,i=d.group),"href"in d&&l(2,n=d.href),"base"in d&&l(3,f=d.base),"active"in d&&l(4,c=d.active),"$$scope"in d&&l(7,a=d.$$scope)},e=G(e),[u,i,n,f,c,t,e,a,s,h,k]}class pe extends J{constructor(e){super(),L(this,e,ue,oe,M,{icon:0,group:1,href:2,base:3,active:4})}}function fe(r){let e,l;const t=r[1].default,s=D(t,r,r[0],null);return{c(){e=y("div"),s&&s.c(),this.h()},l(a){e=E(a,"DIV",{class:!0});var u=I(e);s&&s.l(u),u.forEach(b),this.h()},h(){C(e,"class","flex")},m(a,u){j(a,e,u),s&&s.m(e,null),l=!0},p(a,[u]){s&&s.p&&(!l||u&1)&&V(s,t,a,a[0],l?S(t,a[0],u,null):A(a[0]),null)},i(a){l||(v(s,a),l=!0)},o(a){g(s,a),l=!1},d(a){a&&b(e),s&&s.d(a)}}}function ce(r,e,l){let{$$slots:t={},$$scope:s}=e;return x("group",!0),r.$$set=a=>{"$$scope"in a&&l(0,s=a.$$scope)},[s,t]}class he extends J{constructor(e){super(),L(this,e,ce,fe,M,{})}}export{he as T,pe as a}; diff --git a/ui/assets/cloud/_app/immutable/chunks/toggle-buttons.8fcf9ebe.js b/ui/assets/local/_app/immutable/chunks/toggle-buttons.d2c900e1.js similarity index 98% rename from ui/assets/cloud/_app/immutable/chunks/toggle-buttons.8fcf9ebe.js rename to ui/assets/local/_app/immutable/chunks/toggle-buttons.d2c900e1.js index 48cb1c5dba..dc8f7cfd23 100644 --- a/ui/assets/cloud/_app/immutable/chunks/toggle-buttons.8fcf9ebe.js +++ b/ui/assets/local/_app/immutable/chunks/toggle-buttons.d2c900e1.js @@ -1 +1 @@ -import{ae as w,S as J,b as L,a as M,e as F,f as j,z,g,h as B,j as v,k as b,L as $,O as T,P as G,Q as H,m as y,p as E,q as I,R as N,T as p,U as O,V as Q,G as D,H as V,I as A,J as S,C as R,c as U,D as K,d as W,u as C,E as X,M as P,F as Y,ad as x}from"./index.d29c66be.js";import{I as Z}from"./icon.5aa23970.js";import{p as ee}from"./stores.1f7fa6eb.js";function le(r){return w(r)}function te(r){let e,l,t,s,a,u,i,n;const f=[re,ne],c=[];function h(_,o){return _[0]?0:1}l=h(r),t=c[l]=f[l](r);let k=[{class:s="flex cursor-pointer items-center justify-center border border-gray-900 py-2 px-4 text-sm "+r[6].class},{id:a=r[6].id},r[6]],d={};for(let _=0;_{c[m]=null}),B(),t=c[l],t?t.p(_,o):(t=c[l]=f[l](_),t.c()),v(t,1),t.m(e,null)),N(e,d=Q(k,[(!u||o&64&&s!==(s="flex cursor-pointer items-center justify-center border border-gray-900 py-2 px-4 text-sm "+_[6].class))&&{class:s},(!u||o&64&&a!==(a=_[6].id))&&{id:a},o&64&&_[6]])),p(e,"rounded-lg",!_[1]),p(e,"active",_[4]),p(e,"group",_[1]),p(e,"svelte-1orl6nd",!0)},i(_){u||(v(t),u=!0)},o(_){g(t),u=!1},d(_){_&&b(e),c[l].d(),i=!1,n()}}}function se(r){let e,l,t,s,a,u,i,n,f;const c=[ie,ae],h=[];function k(o,m){return o[0]?0:1}l=k(r),t=h[l]=c[l](r);let d=[{class:s="flex items-center justify-center border border-gray-900 py-2 px-4 text-sm "+r[6].class},{href:a=r[2]+r[5].url.search},{id:u=r[6].id},r[6]],_={};for(let o=0;o{h[q]=null}),B(),t=h[l],t?t.p(o,m):(t=h[l]=c[l](o),t.c()),v(t,1),t.m(e,null)),N(e,_=Q(d,[(!i||m&64&&s!==(s="flex items-center justify-center border border-gray-900 py-2 px-4 text-sm "+o[6].class))&&{class:s},(!i||m&36&&a!==(a=o[2]+o[5].url.search))&&{href:a},(!i||m&64&&u!==(u=o[6].id))&&{id:u},m&64&&o[6]])),p(e,"rounded-lg",!o[1]),p(e,"active",o[5].url.pathname.includes(o[3])||o[4]),p(e,"group",o[1]),p(e,"svelte-1orl6nd",!0)},i(o){i||(v(t),i=!0)},o(o){g(t),i=!1},d(o){o&&b(e),h[l].d(),n=!1,f()}}}function ne(r){let e;const l=r[8].default,t=D(l,r,r[7],null);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,a){t&&t.m(s,a),e=!0},p(s,a){t&&t.p&&(!e||a&128)&&V(t,l,s,s[7],e?S(l,s[7],a,null):A(s[7]),null)},i(s){e||(v(t,s),e=!0)},o(s){g(t,s),e=!1},d(s){t&&t.d(s)}}}function re(r){let e,l,t,s,a;l=new Z({props:{name:r[0]}});const u=r[8].default,i=D(u,r,r[7],null);return{c(){e=y("div"),R(l.$$.fragment),t=U(),s=y("span"),i&&i.c(),this.h()},l(n){e=E(n,"DIV",{class:!0});var f=I(e);K(l.$$.fragment,f),t=W(f),s=E(f,"SPAN",{class:!0});var c=I(s);i&&i.l(c),c.forEach(b),f.forEach(b),this.h()},h(){C(s,"class","hidden md:block"),C(e,"class","flex items-center gap-2")},m(n,f){j(n,e,f),X(l,e,null),P(e,t),P(e,s),i&&i.m(s,null),a=!0},p(n,f){const c={};f&1&&(c.name=n[0]),l.$set(c),i&&i.p&&(!a||f&128)&&V(i,u,n,n[7],a?S(u,n[7],f,null):A(n[7]),null)},i(n){a||(v(l.$$.fragment,n),v(i,n),a=!0)},o(n){g(l.$$.fragment,n),g(i,n),a=!1},d(n){n&&b(e),Y(l),i&&i.d(n)}}}function ae(r){let e;const l=r[8].default,t=D(l,r,r[7],null);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,a){t&&t.m(s,a),e=!0},p(s,a){t&&t.p&&(!e||a&128)&&V(t,l,s,s[7],e?S(l,s[7],a,null):A(s[7]),null)},i(s){e||(v(t,s),e=!0)},o(s){g(t,s),e=!1},d(s){t&&t.d(s)}}}function ie(r){let e,l,t,s,a;l=new Z({props:{name:r[0]}});const u=r[8].default,i=D(u,r,r[7],null);return{c(){e=y("div"),R(l.$$.fragment),t=U(),s=y("span"),i&&i.c(),this.h()},l(n){e=E(n,"DIV",{class:!0});var f=I(e);K(l.$$.fragment,f),t=W(f),s=E(f,"SPAN",{class:!0});var c=I(s);i&&i.l(c),c.forEach(b),f.forEach(b),this.h()},h(){C(s,"class","hidden md:block"),C(e,"class","flex items-center gap-2")},m(n,f){j(n,e,f),X(l,e,null),P(e,t),P(e,s),i&&i.m(s,null),a=!0},p(n,f){const c={};f&1&&(c.name=n[0]),l.$set(c),i&&i.p&&(!a||f&128)&&V(i,u,n,n[7],a?S(u,n[7],f,null):A(n[7]),null)},i(n){a||(v(l.$$.fragment,n),v(i,n),a=!0)},o(n){g(l.$$.fragment,n),g(i,n),a=!1},d(n){n&&b(e),Y(l),i&&i.d(n)}}}function oe(r){let e,l,t,s;const a=[se,te],u=[];function i(n,f){return n[2]?0:1}return e=i(r),l=u[e]=a[e](r),{c(){l.c(),t=F()},l(n){l.l(n),t=F()},m(n,f){u[e].m(n,f),j(n,t,f),s=!0},p(n,[f]){let c=e;e=i(n),e===c?u[e].p(n,f):(z(),g(u[c],1,1,()=>{u[c]=null}),B(),l=u[e],l?l.p(n,f):(l=u[e]=a[e](n),l.c()),v(l,1),l.m(t.parentNode,t))},i(n){s||(v(l),s=!0)},o(n){g(l),s=!1},d(n){u[e].d(n),n&&b(t)}}}function ue(r,e,l){let t;$(r,ee,d=>l(5,t=d));let{$$slots:s={},$$scope:a}=e,{icon:u=null}=e,{group:i=le("group")}=e,{href:n=""}=e,{base:f=n}=e,{active:c=!1}=e;function h(d){H.call(this,r,d)}function k(d){H.call(this,r,d)}return r.$$set=d=>{l(6,e=T(T({},e),G(d))),"icon"in d&&l(0,u=d.icon),"group"in d&&l(1,i=d.group),"href"in d&&l(2,n=d.href),"base"in d&&l(3,f=d.base),"active"in d&&l(4,c=d.active),"$$scope"in d&&l(7,a=d.$$scope)},e=G(e),[u,i,n,f,c,t,e,a,s,h,k]}class pe extends J{constructor(e){super(),L(this,e,ue,oe,M,{icon:0,group:1,href:2,base:3,active:4})}}function fe(r){let e,l;const t=r[1].default,s=D(t,r,r[0],null);return{c(){e=y("div"),s&&s.c(),this.h()},l(a){e=E(a,"DIV",{class:!0});var u=I(e);s&&s.l(u),u.forEach(b),this.h()},h(){C(e,"class","flex")},m(a,u){j(a,e,u),s&&s.m(e,null),l=!0},p(a,[u]){s&&s.p&&(!l||u&1)&&V(s,t,a,a[0],l?S(t,a[0],u,null):A(a[0]),null)},i(a){l||(v(s,a),l=!0)},o(a){g(s,a),l=!1},d(a){a&&b(e),s&&s.d(a)}}}function ce(r,e,l){let{$$slots:t={},$$scope:s}=e;return x("group",!0),r.$$set=a=>{"$$scope"in a&&l(0,s=a.$$scope)},[s,t]}class he extends J{constructor(e){super(),L(this,e,ce,fe,M,{})}}export{he as T,pe as a}; +import{ae as w,S as J,b as L,a as M,e as F,f as j,z,g,h as B,j as v,k as b,L as $,O as T,P as G,Q as H,m as y,p as E,q as I,R as N,T as p,U as O,V as Q,G as D,H as V,I as A,J as S,C as R,c as U,D as K,d as W,u as C,E as X,M as P,F as Y,ad as x}from"./index.d29c66be.js";import{I as Z}from"./icon.5aa23970.js";import{p as ee}from"./stores.8c019868.js";function le(r){return w(r)}function te(r){let e,l,t,s,a,u,i,n;const f=[re,ne],c=[];function h(_,o){return _[0]?0:1}l=h(r),t=c[l]=f[l](r);let k=[{class:s="flex cursor-pointer items-center justify-center border border-gray-900 py-2 px-4 text-sm "+r[6].class},{id:a=r[6].id},r[6]],d={};for(let _=0;_{c[m]=null}),B(),t=c[l],t?t.p(_,o):(t=c[l]=f[l](_),t.c()),v(t,1),t.m(e,null)),N(e,d=Q(k,[(!u||o&64&&s!==(s="flex cursor-pointer items-center justify-center border border-gray-900 py-2 px-4 text-sm "+_[6].class))&&{class:s},(!u||o&64&&a!==(a=_[6].id))&&{id:a},o&64&&_[6]])),p(e,"rounded-lg",!_[1]),p(e,"active",_[4]),p(e,"group",_[1]),p(e,"svelte-1orl6nd",!0)},i(_){u||(v(t),u=!0)},o(_){g(t),u=!1},d(_){_&&b(e),c[l].d(),i=!1,n()}}}function se(r){let e,l,t,s,a,u,i,n,f;const c=[ie,ae],h=[];function k(o,m){return o[0]?0:1}l=k(r),t=h[l]=c[l](r);let d=[{class:s="flex items-center justify-center border border-gray-900 py-2 px-4 text-sm "+r[6].class},{href:a=r[2]+r[5].url.search},{id:u=r[6].id},r[6]],_={};for(let o=0;o{h[q]=null}),B(),t=h[l],t?t.p(o,m):(t=h[l]=c[l](o),t.c()),v(t,1),t.m(e,null)),N(e,_=Q(d,[(!i||m&64&&s!==(s="flex items-center justify-center border border-gray-900 py-2 px-4 text-sm "+o[6].class))&&{class:s},(!i||m&36&&a!==(a=o[2]+o[5].url.search))&&{href:a},(!i||m&64&&u!==(u=o[6].id))&&{id:u},m&64&&o[6]])),p(e,"rounded-lg",!o[1]),p(e,"active",o[5].url.pathname.includes(o[3])||o[4]),p(e,"group",o[1]),p(e,"svelte-1orl6nd",!0)},i(o){i||(v(t),i=!0)},o(o){g(t),i=!1},d(o){o&&b(e),h[l].d(),n=!1,f()}}}function ne(r){let e;const l=r[8].default,t=D(l,r,r[7],null);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,a){t&&t.m(s,a),e=!0},p(s,a){t&&t.p&&(!e||a&128)&&V(t,l,s,s[7],e?S(l,s[7],a,null):A(s[7]),null)},i(s){e||(v(t,s),e=!0)},o(s){g(t,s),e=!1},d(s){t&&t.d(s)}}}function re(r){let e,l,t,s,a;l=new Z({props:{name:r[0]}});const u=r[8].default,i=D(u,r,r[7],null);return{c(){e=y("div"),R(l.$$.fragment),t=U(),s=y("span"),i&&i.c(),this.h()},l(n){e=E(n,"DIV",{class:!0});var f=I(e);K(l.$$.fragment,f),t=W(f),s=E(f,"SPAN",{class:!0});var c=I(s);i&&i.l(c),c.forEach(b),f.forEach(b),this.h()},h(){C(s,"class","hidden md:block"),C(e,"class","flex items-center gap-2")},m(n,f){j(n,e,f),X(l,e,null),P(e,t),P(e,s),i&&i.m(s,null),a=!0},p(n,f){const c={};f&1&&(c.name=n[0]),l.$set(c),i&&i.p&&(!a||f&128)&&V(i,u,n,n[7],a?S(u,n[7],f,null):A(n[7]),null)},i(n){a||(v(l.$$.fragment,n),v(i,n),a=!0)},o(n){g(l.$$.fragment,n),g(i,n),a=!1},d(n){n&&b(e),Y(l),i&&i.d(n)}}}function ae(r){let e;const l=r[8].default,t=D(l,r,r[7],null);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,a){t&&t.m(s,a),e=!0},p(s,a){t&&t.p&&(!e||a&128)&&V(t,l,s,s[7],e?S(l,s[7],a,null):A(s[7]),null)},i(s){e||(v(t,s),e=!0)},o(s){g(t,s),e=!1},d(s){t&&t.d(s)}}}function ie(r){let e,l,t,s,a;l=new Z({props:{name:r[0]}});const u=r[8].default,i=D(u,r,r[7],null);return{c(){e=y("div"),R(l.$$.fragment),t=U(),s=y("span"),i&&i.c(),this.h()},l(n){e=E(n,"DIV",{class:!0});var f=I(e);K(l.$$.fragment,f),t=W(f),s=E(f,"SPAN",{class:!0});var c=I(s);i&&i.l(c),c.forEach(b),f.forEach(b),this.h()},h(){C(s,"class","hidden md:block"),C(e,"class","flex items-center gap-2")},m(n,f){j(n,e,f),X(l,e,null),P(e,t),P(e,s),i&&i.m(s,null),a=!0},p(n,f){const c={};f&1&&(c.name=n[0]),l.$set(c),i&&i.p&&(!a||f&128)&&V(i,u,n,n[7],a?S(u,n[7],f,null):A(n[7]),null)},i(n){a||(v(l.$$.fragment,n),v(i,n),a=!0)},o(n){g(l.$$.fragment,n),g(i,n),a=!1},d(n){n&&b(e),Y(l),i&&i.d(n)}}}function oe(r){let e,l,t,s;const a=[se,te],u=[];function i(n,f){return n[2]?0:1}return e=i(r),l=u[e]=a[e](r),{c(){l.c(),t=F()},l(n){l.l(n),t=F()},m(n,f){u[e].m(n,f),j(n,t,f),s=!0},p(n,[f]){let c=e;e=i(n),e===c?u[e].p(n,f):(z(),g(u[c],1,1,()=>{u[c]=null}),B(),l=u[e],l?l.p(n,f):(l=u[e]=a[e](n),l.c()),v(l,1),l.m(t.parentNode,t))},i(n){s||(v(l),s=!0)},o(n){g(l),s=!1},d(n){u[e].d(n),n&&b(t)}}}function ue(r,e,l){let t;$(r,ee,d=>l(5,t=d));let{$$slots:s={},$$scope:a}=e,{icon:u=null}=e,{group:i=le("group")}=e,{href:n=""}=e,{base:f=n}=e,{active:c=!1}=e;function h(d){H.call(this,r,d)}function k(d){H.call(this,r,d)}return r.$$set=d=>{l(6,e=T(T({},e),G(d))),"icon"in d&&l(0,u=d.icon),"group"in d&&l(1,i=d.group),"href"in d&&l(2,n=d.href),"base"in d&&l(3,f=d.base),"active"in d&&l(4,c=d.active),"$$scope"in d&&l(7,a=d.$$scope)},e=G(e),[u,i,n,f,c,t,e,a,s,h,k]}class pe extends J{constructor(e){super(),L(this,e,ue,oe,M,{icon:0,group:1,href:2,base:3,active:4})}}function fe(r){let e,l;const t=r[1].default,s=D(t,r,r[0],null);return{c(){e=y("div"),s&&s.c(),this.h()},l(a){e=E(a,"DIV",{class:!0});var u=I(e);s&&s.l(u),u.forEach(b),this.h()},h(){C(e,"class","flex")},m(a,u){j(a,e,u),s&&s.m(e,null),l=!0},p(a,[u]){s&&s.p&&(!l||u&1)&&V(s,t,a,a[0],l?S(t,a[0],u,null):A(a[0]),null)},i(a){l||(v(s,a),l=!0)},o(a){g(s,a),l=!1},d(a){a&&b(e),s&&s.d(a)}}}function ce(r,e,l){let{$$slots:t={},$$scope:s}=e;return x("group",!0),r.$$set=a=>{"$$scope"in a&&l(0,s=a.$$scope)},[s,t]}class he extends J{constructor(e){super(),L(this,e,ce,fe,M,{})}}export{he as T,pe as a}; diff --git a/ui/assets/local/_app/immutable/chunks/workflow-service.43d562ed.js b/ui/assets/local/_app/immutable/chunks/workflow-service.43d562ed.js deleted file mode 100644 index 1dcf018803..0000000000 --- a/ui/assets/local/_app/immutable/chunks/workflow-service.43d562ed.js +++ /dev/null @@ -1 +0,0 @@ -import{b as B}from"./decode-payload.f0f298e9.js";import{c as p}from"./has.8da86d13.js";import{K as U,n as k}from"./index.d29c66be.js";import{s as Q}from"./settings.a68ca666.js";import{s as R}from"./simplify-attributes.28929a11.js";import{b as $,p as q,a as u,r as w,c as N,i as _,d as j}from"./route-for-api.58c31c66.js";import{t as D}from"./list-workflow-query.c93ce807.js";import{s as y}from"./parse-with-big-int.02af2f95.js";import{B as L}from"./route-for.b4518ba8.js";import{v as K}from"./toaster.fda31b2d.js";const G=(o=Q)=>!U(o).disableWriteActions,H=(o=[])=>o.map(t=>{const n=R(t,!0),r=t.activityId;return{...n,id:r}}),J=o=>p(o)||p(o.indexedFields)?{}:{indexedFields:Object.entries(o.indexedFields).reduce((n,[r,e])=>({...n,[r]:B(e)}),{})},x=o=>{var I,g,b,T,W,A;const t=J(o.workflowExecutionInfo.searchAttributes),n=o.workflowExecutionInfo.type.name,r=o.workflowExecutionInfo.execution.workflowId,e=o.workflowExecutionInfo.execution.runId,i=o.workflowExecutionInfo.startTime,c=o.workflowExecutionInfo.closeTime,a=o.workflowExecutionInfo.executionTime,l=o.workflowExecutionInfo.status,f=o.workflowExecutionInfo.status==="Running",d=o.workflowExecutionInfo.historyLength,E=o.workflowExecutionInfo.historySizeBytes,s=`/workflows/${r}/${e}`,m=((g=(I=o==null?void 0:o.executionConfig)==null?void 0:I.taskQueue)==null?void 0:g.name)||((b=o==null?void 0:o.workflowExecutionInfo)==null?void 0:b.taskQueue),h=(T=o==null?void 0:o.workflowExecutionInfo)==null?void 0:T.parentNamespaceId,S=(W=o==null?void 0:o.workflowExecutionInfo)==null?void 0:W.parentExecution,v=o.workflowExecutionInfo.stateTransitionCount,C=(A=o.executionConfig)==null?void 0:A.defaultWorkflowTaskTimeout,O=H(o.pendingActivities),z=(o==null?void 0:o.pendingChildren)??[];return{name:n,id:r,runId:e,startTime:i,endTime:c,executionTime:a,status:l,historyEvents:d,historySizeBytes:E,searchAttributes:t,url:s,taskQueue:m,pendingActivities:O,pendingChildren:z,parentNamespaceId:h,parent:S,stateTransitionCount:v,isRunning:f,defaultWorkflowTaskTimeout:C,get canBeTerminated(){return f&&G()}}},P=o=>(o.executions||[]).map(t=>x({workflowExecutionInfo:t})),M=o=>window.btoa(encodeURIComponent(o).replace(/%([0-9A-F]{2})/g,(t,n)=>String.fromCharCode(parseInt(n,16)))),F=(o,t=L)=>t?M(o):o,ao=async(o,t,n=fetch)=>{let r=0,e=0;try{const i=w("workflows.count",{namespace:o});if(t){const c=u(i,{params:{query:t},onError:k,handleError:k,request:n}),a=u(i,{params:{query:""},onError:k,handleError:k,request:n}),[l,f]=await Promise.all([c,a]);e=parseInt(l==null?void 0:l.count),r=parseInt(f==null?void 0:f.count)}else{const c=await u(i,{params:{},onError:k,handleError:k,request:n});r=parseInt(c==null?void 0:c.count)}}catch{}return{count:e,totalCount:r}},V=async(o,t,n=fetch,r=!1)=>{const e=t.query||D(t,r);let i;try{i=decodeURIComponent(e)}catch{i=e}const c=r?"workflows.archived":"workflows";let a="";const l=s=>{var m,h;N(s),(m=s==null?void 0:s.body)!=null&&m.message||s!=null&&s.status?a=((h=s==null?void 0:s.body)==null?void 0:h.message)??`Error fetching workflows: ${s.status}: ${s.statusText}`:a="Error fetching workflows: Server failed to respond"},f=w(c,{namespace:o}),{executions:d,nextPageToken:E}=await u(f,{params:{query:i},onError:l,handleError:l,request:n})??{executions:[],nextPageToken:""};return{workflows:P({executions:d}),nextPageToken:String(E),error:a}},so=async({namespace:o,workflowId:t,url:n},r=fetch)=>{var d;const e="workflows",i=n??$(o),c=q(e,{namespace:o}),a=i+c,{executions:l}=await u(a,{params:{query:`WorkflowId="${t}"`,pageSize:"1"},request:r})??{executions:[]},f=(d=P({executions:l}))==null?void 0:d[0];return{runId:f==null?void 0:f.runId}},fo=async(o,t=fetch,n=!1)=>{const r=n?"workflows.archived":"workflows";let e=!0;const i=a=>{(_(a)||j(a))&&(e=!1)},c=w(r,{namespace:o});return await u(c,{params:{pageSize:"1"},onError:i,handleError:i,request:t}),{authorized:e}},uo=async(o,t,n=fetch)=>V(o,t,n,!0);async function lo(o,t=fetch){const n=w("workflow",o);return u(n,{request:t}).then(x)}async function wo({workflow:o,namespace:t,reason:n,identity:r}){const e=w("workflow.terminate",{namespace:t,workflowId:o.id,runId:o.runId});return await u(e,{options:{method:"POST",body:y({reason:n,...r&&{identity:r}})},notifyOnError:!1})}async function ko({namespace:o,workflowId:t,runId:n},r=fetch){const e=w("workflow.cancel",{namespace:o,workflowId:t,runId:n});return u(e,{request:r,notifyOnError:!1,options:{method:"POST"}})}async function mo({namespace:o,workflowId:t,runId:n,signalName:r,signalInput:e}){const i=w("workflow.signal",{namespace:o,workflowId:t,runId:n});return u(i,{notifyOnError:!1,options:{method:"POST",body:y({signalName:r,input:{payloads:e?[{metadata:{encoding:F("json/plain")},data:F(e)}]:null}})}})}async function ho({namespace:o,workflowId:t,runId:n,eventId:r,reason:e,resetReapplyType:i}){const c=w("workflow.reset",{namespace:o,workflowId:t,runId:n}),a={workflowExecution:{workflowId:t,runId:n},workflowTaskFinishEventId:r,resetReapplyType:i,requestId:K(),reason:e};return u(c,{notifyOnError:!1,options:{method:"POST",body:y(a)}})}async function Eo(o,t=fetch){const n=e=>{console.error(e)},r=w("workflow",o);return u(r,{request:t,onError:n,handleError:n}).then(x)}export{V as a,ao as b,ko as c,fo as d,uo as e,lo as f,Eo as g,so as h,ho as r,mo as s,wo as t,G as w}; diff --git a/ui/assets/cloud/_app/immutable/chunks/workflow-service.22d7ee79.js b/ui/assets/local/_app/immutable/chunks/workflow-service.5b743be0.js similarity index 95% rename from ui/assets/cloud/_app/immutable/chunks/workflow-service.22d7ee79.js rename to ui/assets/local/_app/immutable/chunks/workflow-service.5b743be0.js index d40575ac12..ac39f1ac42 100644 --- a/ui/assets/cloud/_app/immutable/chunks/workflow-service.22d7ee79.js +++ b/ui/assets/local/_app/immutable/chunks/workflow-service.5b743be0.js @@ -1 +1 @@ -import{b as B}from"./decode-payload.fd21ad3e.js";import{c as p}from"./has.8da86d13.js";import{K as U,n as k}from"./index.d29c66be.js";import{s as Q}from"./settings.a68ca666.js";import{s as R}from"./simplify-attributes.28929a11.js";import{b as $,p as q,a as u,r as w,c as N,i as _,d as j}from"./route-for-api.5906c1df.js";import{t as D}from"./list-workflow-query.722ba818.js";import{s as y}from"./parse-with-big-int.02af2f95.js";import{B as L}from"./route-for.5e008fb6.js";import{v as K}from"./toaster.fda31b2d.js";const G=(o=Q)=>!U(o).disableWriteActions,H=(o=[])=>o.map(t=>{const n=R(t,!0),r=t.activityId;return{...n,id:r}}),J=o=>p(o)||p(o.indexedFields)?{}:{indexedFields:Object.entries(o.indexedFields).reduce((n,[r,e])=>({...n,[r]:B(e)}),{})},x=o=>{var I,g,b,T,W,A;const t=J(o.workflowExecutionInfo.searchAttributes),n=o.workflowExecutionInfo.type.name,r=o.workflowExecutionInfo.execution.workflowId,e=o.workflowExecutionInfo.execution.runId,i=o.workflowExecutionInfo.startTime,c=o.workflowExecutionInfo.closeTime,a=o.workflowExecutionInfo.executionTime,l=o.workflowExecutionInfo.status,f=o.workflowExecutionInfo.status==="Running",d=o.workflowExecutionInfo.historyLength,E=o.workflowExecutionInfo.historySizeBytes,s=`/workflows/${r}/${e}`,m=((g=(I=o==null?void 0:o.executionConfig)==null?void 0:I.taskQueue)==null?void 0:g.name)||((b=o==null?void 0:o.workflowExecutionInfo)==null?void 0:b.taskQueue),h=(T=o==null?void 0:o.workflowExecutionInfo)==null?void 0:T.parentNamespaceId,S=(W=o==null?void 0:o.workflowExecutionInfo)==null?void 0:W.parentExecution,v=o.workflowExecutionInfo.stateTransitionCount,C=(A=o.executionConfig)==null?void 0:A.defaultWorkflowTaskTimeout,O=H(o.pendingActivities),z=(o==null?void 0:o.pendingChildren)??[];return{name:n,id:r,runId:e,startTime:i,endTime:c,executionTime:a,status:l,historyEvents:d,historySizeBytes:E,searchAttributes:t,url:s,taskQueue:m,pendingActivities:O,pendingChildren:z,parentNamespaceId:h,parent:S,stateTransitionCount:v,isRunning:f,defaultWorkflowTaskTimeout:C,get canBeTerminated(){return f&&G()}}},P=o=>(o.executions||[]).map(t=>x({workflowExecutionInfo:t})),M=o=>window.btoa(encodeURIComponent(o).replace(/%([0-9A-F]{2})/g,(t,n)=>String.fromCharCode(parseInt(n,16)))),F=(o,t=L)=>t?M(o):o,ao=async(o,t,n=fetch)=>{let r=0,e=0;try{const i=w("workflows.count",{namespace:o});if(t){const c=u(i,{params:{query:t},onError:k,handleError:k,request:n}),a=u(i,{params:{query:""},onError:k,handleError:k,request:n}),[l,f]=await Promise.all([c,a]);e=parseInt(l==null?void 0:l.count),r=parseInt(f==null?void 0:f.count)}else{const c=await u(i,{params:{},onError:k,handleError:k,request:n});r=parseInt(c==null?void 0:c.count)}}catch{}return{count:e,totalCount:r}},V=async(o,t,n=fetch,r=!1)=>{const e=t.query||D(t,r);let i;try{i=decodeURIComponent(e)}catch{i=e}const c=r?"workflows.archived":"workflows";let a="";const l=s=>{var m,h;N(s),(m=s==null?void 0:s.body)!=null&&m.message||s!=null&&s.status?a=((h=s==null?void 0:s.body)==null?void 0:h.message)??`Error fetching workflows: ${s.status}: ${s.statusText}`:a="Error fetching workflows: Server failed to respond"},f=w(c,{namespace:o}),{executions:d,nextPageToken:E}=await u(f,{params:{query:i},onError:l,handleError:l,request:n})??{executions:[],nextPageToken:""};return{workflows:P({executions:d}),nextPageToken:String(E),error:a}},so=async({namespace:o,workflowId:t,url:n},r=fetch)=>{var d;const e="workflows",i=n??$(o),c=q(e,{namespace:o}),a=i+c,{executions:l}=await u(a,{params:{query:`WorkflowId="${t}"`,pageSize:"1"},request:r})??{executions:[]},f=(d=P({executions:l}))==null?void 0:d[0];return{runId:f==null?void 0:f.runId}},fo=async(o,t=fetch,n=!1)=>{const r=n?"workflows.archived":"workflows";let e=!0;const i=a=>{(_(a)||j(a))&&(e=!1)},c=w(r,{namespace:o});return await u(c,{params:{pageSize:"1"},onError:i,handleError:i,request:t}),{authorized:e}},uo=async(o,t,n=fetch)=>V(o,t,n,!0);async function lo(o,t=fetch){const n=w("workflow",o);return u(n,{request:t}).then(x)}async function wo({workflow:o,namespace:t,reason:n,identity:r}){const e=w("workflow.terminate",{namespace:t,workflowId:o.id,runId:o.runId});return await u(e,{options:{method:"POST",body:y({reason:n,...r&&{identity:r}})},notifyOnError:!1})}async function ko({namespace:o,workflowId:t,runId:n},r=fetch){const e=w("workflow.cancel",{namespace:o,workflowId:t,runId:n});return u(e,{request:r,notifyOnError:!1,options:{method:"POST"}})}async function mo({namespace:o,workflowId:t,runId:n,signalName:r,signalInput:e}){const i=w("workflow.signal",{namespace:o,workflowId:t,runId:n});return u(i,{notifyOnError:!1,options:{method:"POST",body:y({signalName:r,input:{payloads:e?[{metadata:{encoding:F("json/plain")},data:F(e)}]:null}})}})}async function ho({namespace:o,workflowId:t,runId:n,eventId:r,reason:e,resetReapplyType:i}){const c=w("workflow.reset",{namespace:o,workflowId:t,runId:n}),a={workflowExecution:{workflowId:t,runId:n},workflowTaskFinishEventId:r,resetReapplyType:i,requestId:K(),reason:e};return u(c,{notifyOnError:!1,options:{method:"POST",body:y(a)}})}async function Eo(o,t=fetch){const n=e=>{console.error(e)},r=w("workflow",o);return u(r,{request:t,onError:n,handleError:n}).then(x)}export{V as a,ao as b,ko as c,fo as d,uo as e,lo as f,Eo as g,so as h,ho as r,mo as s,wo as t,G as w}; +import{b as B}from"./decode-payload.f6b25529.js";import{c as p}from"./has.8da86d13.js";import{K as U,n as k}from"./index.d29c66be.js";import{s as Q}from"./settings.a68ca666.js";import{s as R}from"./simplify-attributes.28929a11.js";import{b as $,p as q,a as u,r as w,c as N,i as _,d as j}from"./route-for-api.851ff400.js";import{t as D}from"./list-workflow-query.4d12de04.js";import{s as y}from"./parse-with-big-int.02af2f95.js";import{B as L}from"./route-for.3e9c6ff4.js";import{v as K}from"./toaster.fda31b2d.js";const G=(o=Q)=>!U(o).disableWriteActions,H=(o=[])=>o.map(t=>{const n=R(t,!0),r=t.activityId;return{...n,id:r}}),J=o=>p(o)||p(o.indexedFields)?{}:{indexedFields:Object.entries(o.indexedFields).reduce((n,[r,e])=>({...n,[r]:B(e)}),{})},x=o=>{var I,g,b,T,W,A;const t=J(o.workflowExecutionInfo.searchAttributes),n=o.workflowExecutionInfo.type.name,r=o.workflowExecutionInfo.execution.workflowId,e=o.workflowExecutionInfo.execution.runId,i=o.workflowExecutionInfo.startTime,c=o.workflowExecutionInfo.closeTime,a=o.workflowExecutionInfo.executionTime,l=o.workflowExecutionInfo.status,f=o.workflowExecutionInfo.status==="Running",d=o.workflowExecutionInfo.historyLength,E=o.workflowExecutionInfo.historySizeBytes,s=`/workflows/${r}/${e}`,m=((g=(I=o==null?void 0:o.executionConfig)==null?void 0:I.taskQueue)==null?void 0:g.name)||((b=o==null?void 0:o.workflowExecutionInfo)==null?void 0:b.taskQueue),h=(T=o==null?void 0:o.workflowExecutionInfo)==null?void 0:T.parentNamespaceId,S=(W=o==null?void 0:o.workflowExecutionInfo)==null?void 0:W.parentExecution,v=o.workflowExecutionInfo.stateTransitionCount,C=(A=o.executionConfig)==null?void 0:A.defaultWorkflowTaskTimeout,O=H(o.pendingActivities),z=(o==null?void 0:o.pendingChildren)??[];return{name:n,id:r,runId:e,startTime:i,endTime:c,executionTime:a,status:l,historyEvents:d,historySizeBytes:E,searchAttributes:t,url:s,taskQueue:m,pendingActivities:O,pendingChildren:z,parentNamespaceId:h,parent:S,stateTransitionCount:v,isRunning:f,defaultWorkflowTaskTimeout:C,get canBeTerminated(){return f&&G()}}},P=o=>(o.executions||[]).map(t=>x({workflowExecutionInfo:t})),M=o=>window.btoa(encodeURIComponent(o).replace(/%([0-9A-F]{2})/g,(t,n)=>String.fromCharCode(parseInt(n,16)))),F=(o,t=L)=>t?M(o):o,ao=async(o,t,n=fetch)=>{let r=0,e=0;try{const i=w("workflows.count",{namespace:o});if(t){const c=u(i,{params:{query:t},onError:k,handleError:k,request:n}),a=u(i,{params:{query:""},onError:k,handleError:k,request:n}),[l,f]=await Promise.all([c,a]);e=parseInt(l==null?void 0:l.count),r=parseInt(f==null?void 0:f.count)}else{const c=await u(i,{params:{},onError:k,handleError:k,request:n});r=parseInt(c==null?void 0:c.count)}}catch{}return{count:e,totalCount:r}},V=async(o,t,n=fetch,r=!1)=>{const e=t.query||D(t,r);let i;try{i=decodeURIComponent(e)}catch{i=e}const c=r?"workflows.archived":"workflows";let a="";const l=s=>{var m,h;N(s),(m=s==null?void 0:s.body)!=null&&m.message||s!=null&&s.status?a=((h=s==null?void 0:s.body)==null?void 0:h.message)??`Error fetching workflows: ${s.status}: ${s.statusText}`:a="Error fetching workflows: Server failed to respond"},f=w(c,{namespace:o}),{executions:d,nextPageToken:E}=await u(f,{params:{query:i},onError:l,handleError:l,request:n})??{executions:[],nextPageToken:""};return{workflows:P({executions:d}),nextPageToken:String(E),error:a}},so=async({namespace:o,workflowId:t,url:n},r=fetch)=>{var d;const e="workflows",i=n??$(o),c=q(e,{namespace:o}),a=i+c,{executions:l}=await u(a,{params:{query:`WorkflowId="${t}"`,pageSize:"1"},request:r})??{executions:[]},f=(d=P({executions:l}))==null?void 0:d[0];return{runId:f==null?void 0:f.runId}},fo=async(o,t=fetch,n=!1)=>{const r=n?"workflows.archived":"workflows";let e=!0;const i=a=>{(_(a)||j(a))&&(e=!1)},c=w(r,{namespace:o});return await u(c,{params:{pageSize:"1"},onError:i,handleError:i,request:t}),{authorized:e}},uo=async(o,t,n=fetch)=>V(o,t,n,!0);async function lo(o,t=fetch){const n=w("workflow",o);return u(n,{request:t}).then(x)}async function wo({workflow:o,namespace:t,reason:n,identity:r}){const e=w("workflow.terminate",{namespace:t,workflowId:o.id,runId:o.runId});return await u(e,{options:{method:"POST",body:y({reason:n,...r&&{identity:r}})},notifyOnError:!1})}async function ko({namespace:o,workflowId:t,runId:n},r=fetch){const e=w("workflow.cancel",{namespace:o,workflowId:t,runId:n});return u(e,{request:r,notifyOnError:!1,options:{method:"POST"}})}async function mo({namespace:o,workflowId:t,runId:n,signalName:r,signalInput:e}){const i=w("workflow.signal",{namespace:o,workflowId:t,runId:n});return u(i,{notifyOnError:!1,options:{method:"POST",body:y({signalName:r,input:{payloads:e?[{metadata:{encoding:F("json/plain")},data:F(e)}]:null}})}})}async function ho({namespace:o,workflowId:t,runId:n,eventId:r,reason:e,resetReapplyType:i}){const c=w("workflow.reset",{namespace:o,workflowId:t,runId:n}),a={workflowExecution:{workflowId:t,runId:n},workflowTaskFinishEventId:r,resetReapplyType:i,requestId:K(),reason:e};return u(c,{notifyOnError:!1,options:{method:"POST",body:y(a)}})}async function Eo(o,t=fetch){const n=e=>{console.error(e)},r=w("workflow",o);return u(r,{request:t,onError:n,handleError:n}).then(x)}export{V as a,ao as b,ko as c,fo as d,uo as e,lo as f,Eo as g,so as h,ho as r,mo as s,wo as t,G as w}; diff --git a/ui/assets/local/_app/immutable/chunks/workflow-status.ddd088c4.js b/ui/assets/local/_app/immutable/chunks/workflow-status.8e93b70c.js similarity index 98% rename from ui/assets/local/_app/immutable/chunks/workflow-status.ddd088c4.js rename to ui/assets/local/_app/immutable/chunks/workflow-status.8e93b70c.js index ae6163bc98..2e410b76eb 100644 --- a/ui/assets/local/_app/immutable/chunks/workflow-status.ddd088c4.js +++ b/ui/assets/local/_app/immutable/chunks/workflow-status.8e93b70c.js @@ -1 +1 @@ -import{S as A,b as F,a as P,m as v,a3 as I,c as k,w as T,p as g,q as _,a4 as z,k as p,d as x,x as B,u as i,f as j,M as f,n as N,K as q,y as H,j as b,z as M,g as D,h as W,C,D as G,E as J,F as L}from"./index.d29c66be.js";import{p as Q}from"./stores.b938c0e3.js";import{a as X}from"./index.9b9e188f.js";import{i as E}from"./has.8da86d13.js";function Y(l){let e,s,t,n,r,u,c,a,o,d;return{c(){e=v("div"),s=v("div"),t=I("svg"),n=I("polyline"),r=k(),u=v("div"),c=k(),a=v("div"),o=k(),d=T(R),this.h()},l(m){e=g(m,"DIV",{class:!0,style:!0});var h=_(e);s=g(h,"DIV",{class:!0});var y=_(s);t=z(y,"svg",{version:!0,xmlns:!0,"xmlns:xlink":!0,x:!0,y:!0,width:!0,height:!0,viewBox:!0,"enable-background":!0,"xml:space":!0});var S=_(t);n=z(S,"polyline",{fill:!0,stroke:!0,"stroke-width":!0,"stroke-miterlimit":!0,points:!0}),_(n).forEach(p),S.forEach(p),r=x(y),u=g(y,"DIV",{class:!0}),_(u).forEach(p),c=x(y),a=g(y,"DIV",{class:!0}),_(a).forEach(p),y.forEach(p),o=x(h),d=B(h,R),h.forEach(p),this.h()},h(){i(n,"fill","none"),i(n,"stroke","#1D4ED8"),i(n,"stroke-width","3"),i(n,"stroke-miterlimit","10"),i(n,"points","0,45.486 18.514,45.486 24.595,33.324 32.676,45.486 37.771,45.486 42.838,55.622 51.959,18 56.067,45 60.067,60.729 63.122,45.486 77.297,45.486 83.379,41.419 90.473,45.486 100,45.486"),i(t,"version","1.0"),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),i(t,"x","0px"),i(t,"y","0px"),i(t,"width","30px"),i(t,"height","18px"),i(t,"viewBox","0 0 150 73"),i(t,"enable-background","new 0 0 150 73"),i(t,"xml:space","preserve"),i(u,"class","fade-in svelte-8dynez"),i(a,"class","fade-out svelte-8dynez"),i(s,"class","heart-rate svelte-8dynez"),i(e,"class","heart-beat svelte-8dynez"),i(e,"style",l[0])},m(m,h){j(m,e,h),f(e,s),f(s,t),f(t,n),f(s,r),f(s,u),f(s,c),f(s,a),f(e,o),f(e,d)},p(m,[h]){h&1&&i(e,"style",m[0])},i:N,o:N,d(m){m&&p(e)}}}let R="";function Z(l,e,s){let t,{delay:n=0}=e;return l.$$set=r=>{"delay"in r&&s(1,n=r.delay)},l.$$.update=()=>{l.$$.dirty&2&&s(0,t=`--animation-delay:${n}ms;`)},[t,n]}class U extends A{constructor(e){super(),F(this,e,Z,Y,P,{delay:1})}}function w(l,e,s,t){const{t:n}=q(Q).data.i18n();let r,u,c,a;l in X?r=l:(r="common",u=l),E(e)?a=e:typeof e=="number"?c=e:u===void 0&&(u=e),typeof s=="number"?c=s:E(s)&&(a=s),E(t)&&(a=t);const o={...c!==void 0&&{count:c},...a&&{replace:a}};return n(`${r}:${String(u)}`,o)}function V(l){let e,s;return e=new U({props:{delay:l[0]}}),{c(){C(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,n){J(e,t,n),s=!0},p(t,n){const r={};n&1&&(r.delay=t[0]),e.$set(r)},i(t){s||(b(e.$$.fragment,t),s=!0)},o(t){D(e.$$.fragment,t),s=!1},d(t){L(e,t)}}}function $(l){let e,s,t,n,r,u,c,a=l[2]&&V(l);return{c(){e=v("span"),s=v("h6"),t=v("span"),n=T(l[1]),r=k(),a&&a.c(),this.h()},l(o){e=g(o,"SPAN",{class:!0});var d=_(e);s=g(d,"H6",{class:!0});var m=_(s);t=g(m,"SPAN",{class:!0});var h=_(t);n=B(h,l[1]),h.forEach(p),r=x(m),a&&a.l(m),m.forEach(p),d.forEach(p),this.h()},h(){i(t,"class","whitespace-nowrap"),i(s,"class",u=l[3]+" flex rounded-sm px-1 py-1 svelte-b7co3f"),i(e,"class","flex text-center text-sm font-medium leading-4")},m(o,d){j(o,e,d),f(e,s),f(s,t),f(t,n),f(s,r),a&&a.m(s,null),c=!0},p(o,[d]){(!c||d&2)&&H(n,o[1]),o[2]?a?(a.p(o,d),d&4&&b(a,1)):(a=V(o),a.c(),b(a,1),a.m(s,null)):a&&(M(),D(a,1,1,()=>{a=null}),W()),(!c||d&8&&u!==(u=o[3]+" flex rounded-sm px-1 py-1 svelte-b7co3f"))&&i(s,"class",u)},i(o){c||(b(a),c=!0)},o(o){D(a),c=!1},d(o){o&&p(e),a&&a.d()}}}function K(l,e,s){let t,n,r,{status:u="Running"}=e,{delay:c=0}=e;const a={Running:w("workflows","running"),TimedOut:w("workflows","timed-out"),Completed:w("workflows","completed"),Failed:w("workflows","failed"),ContinuedAsNew:w("workflows","continued-as-new"),Canceled:w("workflows","canceled"),Terminated:w("workflows","terminated"),Paused:w("workflows","paused")},o={Running:"blue",TimedOut:"orange",Completed:"green",Failed:"red",ContinuedAsNew:"purple",Canceled:"yellow",Terminated:"gray",Paused:"yellow"};return l.$$set=d=>{"status"in d&&s(4,u=d.status),"delay"in d&&s(0,c=d.delay)},l.$$.update=()=>{l.$$.dirty&16&&s(3,t=o[u]),l.$$.dirty&16&&s(1,n=a[u]),l.$$.dirty&2&&s(2,r=n===a.Running)},[c,n,r,t,u]}class ae extends A{constructor(e){super(),F(this,e,K,$,P,{status:4,delay:0})}}export{ae as W,w as t}; +import{S as A,b as F,a as P,m as v,a3 as I,c as k,w as T,p as g,q as _,a4 as z,k as p,d as x,x as B,u as i,f as j,M as f,n as N,K as q,y as H,j as b,z as M,g as D,h as W,C,D as G,E as J,F as L}from"./index.d29c66be.js";import{p as Q}from"./stores.8c019868.js";import{a as X}from"./index.9b9e188f.js";import{i as E}from"./has.8da86d13.js";function Y(l){let e,s,t,n,r,u,c,a,o,d;return{c(){e=v("div"),s=v("div"),t=I("svg"),n=I("polyline"),r=k(),u=v("div"),c=k(),a=v("div"),o=k(),d=T(R),this.h()},l(m){e=g(m,"DIV",{class:!0,style:!0});var h=_(e);s=g(h,"DIV",{class:!0});var y=_(s);t=z(y,"svg",{version:!0,xmlns:!0,"xmlns:xlink":!0,x:!0,y:!0,width:!0,height:!0,viewBox:!0,"enable-background":!0,"xml:space":!0});var S=_(t);n=z(S,"polyline",{fill:!0,stroke:!0,"stroke-width":!0,"stroke-miterlimit":!0,points:!0}),_(n).forEach(p),S.forEach(p),r=x(y),u=g(y,"DIV",{class:!0}),_(u).forEach(p),c=x(y),a=g(y,"DIV",{class:!0}),_(a).forEach(p),y.forEach(p),o=x(h),d=B(h,R),h.forEach(p),this.h()},h(){i(n,"fill","none"),i(n,"stroke","#1D4ED8"),i(n,"stroke-width","3"),i(n,"stroke-miterlimit","10"),i(n,"points","0,45.486 18.514,45.486 24.595,33.324 32.676,45.486 37.771,45.486 42.838,55.622 51.959,18 56.067,45 60.067,60.729 63.122,45.486 77.297,45.486 83.379,41.419 90.473,45.486 100,45.486"),i(t,"version","1.0"),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),i(t,"x","0px"),i(t,"y","0px"),i(t,"width","30px"),i(t,"height","18px"),i(t,"viewBox","0 0 150 73"),i(t,"enable-background","new 0 0 150 73"),i(t,"xml:space","preserve"),i(u,"class","fade-in svelte-8dynez"),i(a,"class","fade-out svelte-8dynez"),i(s,"class","heart-rate svelte-8dynez"),i(e,"class","heart-beat svelte-8dynez"),i(e,"style",l[0])},m(m,h){j(m,e,h),f(e,s),f(s,t),f(t,n),f(s,r),f(s,u),f(s,c),f(s,a),f(e,o),f(e,d)},p(m,[h]){h&1&&i(e,"style",m[0])},i:N,o:N,d(m){m&&p(e)}}}let R="";function Z(l,e,s){let t,{delay:n=0}=e;return l.$$set=r=>{"delay"in r&&s(1,n=r.delay)},l.$$.update=()=>{l.$$.dirty&2&&s(0,t=`--animation-delay:${n}ms;`)},[t,n]}class U extends A{constructor(e){super(),F(this,e,Z,Y,P,{delay:1})}}function w(l,e,s,t){const{t:n}=q(Q).data.i18n();let r,u,c,a;l in X?r=l:(r="common",u=l),E(e)?a=e:typeof e=="number"?c=e:u===void 0&&(u=e),typeof s=="number"?c=s:E(s)&&(a=s),E(t)&&(a=t);const o={...c!==void 0&&{count:c},...a&&{replace:a}};return n(`${r}:${String(u)}`,o)}function V(l){let e,s;return e=new U({props:{delay:l[0]}}),{c(){C(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,n){J(e,t,n),s=!0},p(t,n){const r={};n&1&&(r.delay=t[0]),e.$set(r)},i(t){s||(b(e.$$.fragment,t),s=!0)},o(t){D(e.$$.fragment,t),s=!1},d(t){L(e,t)}}}function $(l){let e,s,t,n,r,u,c,a=l[2]&&V(l);return{c(){e=v("span"),s=v("h6"),t=v("span"),n=T(l[1]),r=k(),a&&a.c(),this.h()},l(o){e=g(o,"SPAN",{class:!0});var d=_(e);s=g(d,"H6",{class:!0});var m=_(s);t=g(m,"SPAN",{class:!0});var h=_(t);n=B(h,l[1]),h.forEach(p),r=x(m),a&&a.l(m),m.forEach(p),d.forEach(p),this.h()},h(){i(t,"class","whitespace-nowrap"),i(s,"class",u=l[3]+" flex rounded-sm px-1 py-1 svelte-b7co3f"),i(e,"class","flex text-center text-sm font-medium leading-4")},m(o,d){j(o,e,d),f(e,s),f(s,t),f(t,n),f(s,r),a&&a.m(s,null),c=!0},p(o,[d]){(!c||d&2)&&H(n,o[1]),o[2]?a?(a.p(o,d),d&4&&b(a,1)):(a=V(o),a.c(),b(a,1),a.m(s,null)):a&&(M(),D(a,1,1,()=>{a=null}),W()),(!c||d&8&&u!==(u=o[3]+" flex rounded-sm px-1 py-1 svelte-b7co3f"))&&i(s,"class",u)},i(o){c||(b(a),c=!0)},o(o){D(a),c=!1},d(o){o&&p(e),a&&a.d()}}}function K(l,e,s){let t,n,r,{status:u="Running"}=e,{delay:c=0}=e;const a={Running:w("workflows","running"),TimedOut:w("workflows","timed-out"),Completed:w("workflows","completed"),Failed:w("workflows","failed"),ContinuedAsNew:w("workflows","continued-as-new"),Canceled:w("workflows","canceled"),Terminated:w("workflows","terminated"),Paused:w("workflows","paused")},o={Running:"blue",TimedOut:"orange",Completed:"green",Failed:"red",ContinuedAsNew:"purple",Canceled:"yellow",Terminated:"gray",Paused:"yellow"};return l.$$set=d=>{"status"in d&&s(4,u=d.status),"delay"in d&&s(0,c=d.delay)},l.$$.update=()=>{l.$$.dirty&16&&s(3,t=o[u]),l.$$.dirty&16&&s(1,n=a[u]),l.$$.dirty&2&&s(2,r=n===a.Running)},[c,n,r,t,u]}class ae extends A{constructor(e){super(),F(this,e,K,$,P,{status:4,delay:0})}}export{ae as W,w as t}; diff --git a/ui/assets/local/_app/immutable/chunks/workflow-terminate-enabled.fbd7bba7.js b/ui/assets/local/_app/immutable/chunks/workflow-terminate-enabled.682bc0d8.js similarity index 88% rename from ui/assets/local/_app/immutable/chunks/workflow-terminate-enabled.fbd7bba7.js rename to ui/assets/local/_app/immutable/chunks/workflow-terminate-enabled.682bc0d8.js index 930e4566e7..e8c9c3887a 100644 --- a/ui/assets/local/_app/immutable/chunks/workflow-terminate-enabled.fbd7bba7.js +++ b/ui/assets/local/_app/immutable/chunks/workflow-terminate-enabled.682bc0d8.js @@ -1 +1 @@ -import{d as c,r as d,w as a}from"./index.255b7490.js";import{p as w}from"./stores.b938c0e3.js";import{a as m,b as k}from"./workflow-service.43d562ed.js";import{s as h}from"./list-workflow-query.c93ce807.js";import{t as n}from"./workflow-status.ddd088c4.js";const b=300,p=async(r,o,e)=>{o.set(!0);try{await e()}catch(s){console.error(s)}r.set(!1),setTimeout(()=>{o.set(!1)},b)},C=a(0),g=c([w],([r])=>r.params.namespace),v=c([w],([r])=>r.url.searchParams.get("query")),A=c([g,v,C,h],([r,o,e,s])=>({namespace:r,query:o,refresh:e,supportsAdvancedVisibility:s})),W=r=>{S.set(r)},q=r=>A.subscribe(({namespace:o,query:e,supportsAdvancedVisibility:s})=>{p(E,P,async()=>{const{workflows:f,error:l}=await m(o,{query:e});if(r(f),s){const u=await k(o,e);W(u)}l?i.set(l):i.set("")})}),Q=a(""),P=a(!0),E=a(!0),S=a({count:0,totalCount:0}),i=a(""),z=d([],q),B=a("");var T=(r=>(r[r.Unspecified=0]="Unspecified",r[r.Signal=1]="Signal",r[r.None=2]="None",r))(T||{}),t=(r=>(r[r.Cancel=0]="Cancel",r[r.Reset=1]="Reset",r[r.Terminate=2]="Terminate",r))(t||{});function U(r){console.error("Unhandled action:",r)}const V=r=>{switch(r){case t.Cancel:return"canceled";case t.Reset:return"reset";case t.Terminate:return"terminated";default:U(r)}},x=(r,o)=>{const e=n("workflows",V(r));return o?n("workflows","workflow-action-reason-placeholder-with-email",{action:e,email:o}):n("workflows","workflow-action-reason-placeholder",{action:e})},F=({action:r,reason:o,email:e})=>{const s=x(r,e);return o?[o.trim(),s].join(" "):s},G=r=>!r.disableWriteActions&&!r.workflowCancelDisabled,H=r=>!r.disableWriteActions&&!r.workflowTerminateDisabled;export{t as A,T as R,H as a,Q as b,z as c,i as d,B as e,F as f,x as g,S as h,E as l,C as r,P as u,G as w}; +import{d as c,r as d,w as a}from"./index.255b7490.js";import{p as w}from"./stores.8c019868.js";import{a as m,b as k}from"./workflow-service.5b743be0.js";import{s as h}from"./list-workflow-query.4d12de04.js";import{t as n}from"./workflow-status.8e93b70c.js";const b=300,p=async(r,o,e)=>{o.set(!0);try{await e()}catch(s){console.error(s)}r.set(!1),setTimeout(()=>{o.set(!1)},b)},C=a(0),g=c([w],([r])=>r.params.namespace),v=c([w],([r])=>r.url.searchParams.get("query")),A=c([g,v,C,h],([r,o,e,s])=>({namespace:r,query:o,refresh:e,supportsAdvancedVisibility:s})),W=r=>{S.set(r)},q=r=>A.subscribe(({namespace:o,query:e,supportsAdvancedVisibility:s})=>{p(E,P,async()=>{const{workflows:f,error:l}=await m(o,{query:e});if(r(f),s){const u=await k(o,e);W(u)}l?i.set(l):i.set("")})}),Q=a(""),P=a(!0),E=a(!0),S=a({count:0,totalCount:0}),i=a(""),z=d([],q),B=a("");var T=(r=>(r[r.Unspecified=0]="Unspecified",r[r.Signal=1]="Signal",r[r.None=2]="None",r))(T||{}),t=(r=>(r[r.Cancel=0]="Cancel",r[r.Reset=1]="Reset",r[r.Terminate=2]="Terminate",r))(t||{});function U(r){console.error("Unhandled action:",r)}const V=r=>{switch(r){case t.Cancel:return"canceled";case t.Reset:return"reset";case t.Terminate:return"terminated";default:U(r)}},x=(r,o)=>{const e=n("workflows",V(r));return o?n("workflows","workflow-action-reason-placeholder-with-email",{action:e,email:o}):n("workflows","workflow-action-reason-placeholder",{action:e})},F=({action:r,reason:o,email:e})=>{const s=x(r,e);return o?[o.trim(),s].join(" "):s},G=r=>!r.disableWriteActions&&!r.workflowCancelDisabled,H=r=>!r.disableWriteActions&&!r.workflowTerminateDisabled;export{t as A,T as R,H as a,Q as b,z as c,i as d,B as e,F as f,x as g,S as h,E as l,C as r,P as u,G as w}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-data-converter-_port_-page.svelte.12309b9e.js b/ui/assets/local/_app/immutable/entry/(app)-data-converter-_port_-page.svelte.12309b9e.js deleted file mode 100644 index c9e2e3f570..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-data-converter-_port_-page.svelte.12309b9e.js +++ /dev/null @@ -1 +0,0 @@ -import{S as r,b as n,a as p,L as m,o as u}from"../chunks/index.d29c66be.js";import{g as c}from"../chunks/navigation.9ceca11e.js";import{p as i}from"../chunks/stores.b938c0e3.js";import{t as l}from"../chunks/toaster.fda31b2d.js";import{d as f}from"../chunks/data-converter-config.816c1717.js";function g(e,o,a){let s;return m(e,i,t=>a(0,s=t)),u(()=>{let{port:t}=s.params;f.set(t),c("/",{replaceState:!0}),l.push({message:"Successfully set encoder"})}),[]}class h extends r{constructor(o){super(),n(this,o,g,null,p,{})}}export{h as default}; diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-data-converter-_port_-page.svelte.815e5970.js b/ui/assets/local/_app/immutable/entry/(app)-data-converter-_port_-page.svelte.d8b1684f.js similarity index 76% rename from ui/assets/cloud/_app/immutable/entry/(app)-data-converter-_port_-page.svelte.815e5970.js rename to ui/assets/local/_app/immutable/entry/(app)-data-converter-_port_-page.svelte.d8b1684f.js index 4c123b6a0c..918f91d503 100644 --- a/ui/assets/cloud/_app/immutable/entry/(app)-data-converter-_port_-page.svelte.815e5970.js +++ b/ui/assets/local/_app/immutable/entry/(app)-data-converter-_port_-page.svelte.d8b1684f.js @@ -1 +1 @@ -import{S as r,b as n,a as p,L as m,o as u}from"../chunks/index.d29c66be.js";import{g as c}from"../chunks/navigation.529c81bc.js";import{p as i}from"../chunks/stores.1f7fa6eb.js";import{t as l}from"../chunks/toaster.fda31b2d.js";import{d as f}from"../chunks/data-converter-config.816c1717.js";function g(e,o,a){let s;return m(e,i,t=>a(0,s=t)),u(()=>{let{port:t}=s.params;f.set(t),c("/",{replaceState:!0}),l.push({message:"Successfully set encoder"})}),[]}class h extends r{constructor(o){super(),n(this,o,g,null,p,{})}}export{h as default}; +import{S as r,b as n,a as p,L as m,o as u}from"../chunks/index.d29c66be.js";import{g as c}from"../chunks/navigation.e41eebee.js";import{p as i}from"../chunks/stores.8c019868.js";import{t as l}from"../chunks/toaster.fda31b2d.js";import{d as f}from"../chunks/data-converter-config.816c1717.js";function g(e,o,a){let s;return m(e,i,t=>a(0,s=t)),u(()=>{let{port:t}=s.params;f.set(t),c("/",{replaceState:!0}),l.push({message:"Successfully set encoder"})}),[]}class h extends r{constructor(o){super(),n(this,o,g,null,p,{})}}export{h as default}; diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-compact-page.svelte.c3b22927.js b/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-compact-page.svelte.1ebc33d5.js similarity index 91% rename from ui/assets/cloud/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-compact-page.svelte.c3b22927.js rename to ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-compact-page.svelte.1ebc33d5.js index 051a7d80b4..30a53b6fc4 100644 --- a/ui/assets/cloud/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-compact-page.svelte.c3b22927.js +++ b/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-compact-page.svelte.1ebc33d5.js @@ -1 +1 @@ -import{S,b as G,a as P,C as $,D as h,E as d,j as c,g as p,F as v,L as _,_ as N,e as g,f as C,z as y,a1 as j,h as b,k as F,a2 as q}from"../chunks/index.d29c66be.js";import{a as z}from"../chunks/import-events.d74da7cc.js";import{E as D,a as L,b as M}from"../chunks/event-empty-row.4b13ada5.js";import{P as B}from"../chunks/pagination.c0661e6a.js";import{b as E,e as H}from"../chunks/event-view.73e1a728.js";import{e as J}from"../chunks/filters.2ba801c3.js";function k(i,t,r){const e=i.slice();return e[10]=t[r],e}function w(i){let t,r;return t=new L({}),{c(){$(t.$$.fragment)},l(e){h(t.$$.fragment,e)},m(e,o){d(t,e,o),r=!0},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){v(t,e)}}}function A(i,t){let r,e,o;return e=new M({props:{event:t[10],compact:I,expandAll:t[1]==="true",initialItem:t[9],visibleItems:t[8]}}),{key:i,first:null,c(){r=g(),$(e.$$.fragment),this.h()},l(n){r=g(),h(e.$$.fragment,n),this.h()},h(){this.first=r},m(n,f){C(n,r,f),d(e,n,f),o=!0},p(n,f){t=n;const s={};f&256&&(s.event=t[10]),f&2&&(s.expandAll=t[1]==="true"),f&512&&(s.initialItem=t[9]),f&256&&(s.visibleItems=t[8]),e.$set(s)},i(n){o||(c(e.$$.fragment,n),o=!0)},o(n){p(e.$$.fragment,n),o=!1},d(n){n&&F(r),v(e,n)}}}function K(i){let t=[],r=new Map,e,o,n=i[8];const f=a=>`${a[10].id}-${a[10].timestamp}`;for(let a=0;a{s=null}),b()):s||(s=w(),s.c(),c(s,1),s.m(e.parentNode,e)))},i(a){if(!o){for(let l=0;l({8:e,9:o}),({visibleItems:e,initialItem:o})=>(e?256:0)|(o?512:0)]},$$scope:{ctx:i}}}),{c(){$(t.$$.fragment)},l(e){h(t.$$.fragment,e)},m(e,o){d(t,e,o),r=!0},p(e,[o]){const n={};o&1&&(n.items=e[0]),o&8962&&(n.$$scope={dirty:o,ctx:e}),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){v(t,e)}}}let I=!0;function R(i,t,r){let e,o,n,f,s,a,l;_(i,E,u=>r(1,f=u)),_(i,z,u=>r(5,s=u)),_(i,H,u=>r(6,a=u)),_(i,J,u=>r(7,l=u));function m(u){N(E,f=u.detail.expanded,f)}return i.$$.update=()=>{i.$$.dirty&128&&r(3,e=l),i.$$.dirty&96&&r(4,o=a==="descending"?[...s].reverse():s),i.$$.dirty&24&&r(0,n=o.filter(u=>e?u.category===e:u))},[n,f,m,e,o,s,a,l]}class Z extends S{constructor(t){super(),G(this,t,R,Q,P,{})}}export{Z as default}; +import{S,b as G,a as P,C as $,D as h,E as d,j as c,g as p,F as v,L as _,_ as N,e as g,f as C,z as y,a1 as j,h as b,k as F,a2 as q}from"../chunks/index.d29c66be.js";import{a as z}from"../chunks/import-events.d74da7cc.js";import{E as D,a as L,b as M}from"../chunks/event-empty-row.7d16dc36.js";import{P as B}from"../chunks/pagination.a8beaf3b.js";import{b as E,e as H}from"../chunks/event-view.73e1a728.js";import{e as J}from"../chunks/filters.9cc46c9a.js";function k(i,t,r){const e=i.slice();return e[10]=t[r],e}function w(i){let t,r;return t=new L({}),{c(){$(t.$$.fragment)},l(e){h(t.$$.fragment,e)},m(e,o){d(t,e,o),r=!0},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){v(t,e)}}}function A(i,t){let r,e,o;return e=new M({props:{event:t[10],compact:I,expandAll:t[1]==="true",initialItem:t[9],visibleItems:t[8]}}),{key:i,first:null,c(){r=g(),$(e.$$.fragment),this.h()},l(n){r=g(),h(e.$$.fragment,n),this.h()},h(){this.first=r},m(n,f){C(n,r,f),d(e,n,f),o=!0},p(n,f){t=n;const s={};f&256&&(s.event=t[10]),f&2&&(s.expandAll=t[1]==="true"),f&512&&(s.initialItem=t[9]),f&256&&(s.visibleItems=t[8]),e.$set(s)},i(n){o||(c(e.$$.fragment,n),o=!0)},o(n){p(e.$$.fragment,n),o=!1},d(n){n&&F(r),v(e,n)}}}function K(i){let t=[],r=new Map,e,o,n=i[8];const f=a=>`${a[10].id}-${a[10].timestamp}`;for(let a=0;a{s=null}),b()):s||(s=w(),s.c(),c(s,1),s.m(e.parentNode,e)))},i(a){if(!o){for(let l=0;l({8:e,9:o}),({visibleItems:e,initialItem:o})=>(e?256:0)|(o?512:0)]},$$scope:{ctx:i}}}),{c(){$(t.$$.fragment)},l(e){h(t.$$.fragment,e)},m(e,o){d(t,e,o),r=!0},p(e,[o]){const n={};o&1&&(n.items=e[0]),o&8962&&(n.$$scope={dirty:o,ctx:e}),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){v(t,e)}}}let I=!0;function R(i,t,r){let e,o,n,f,s,a,l;_(i,E,u=>r(1,f=u)),_(i,z,u=>r(5,s=u)),_(i,H,u=>r(6,a=u)),_(i,J,u=>r(7,l=u));function m(u){N(E,f=u.detail.expanded,f)}return i.$$.update=()=>{i.$$.dirty&128&&r(3,e=l),i.$$.dirty&96&&r(4,o=a==="descending"?[...s].reverse():s),i.$$.dirty&24&&r(0,n=o.filter(u=>e?u.category===e:u))},[n,f,m,e,o,s,a,l]}class Z extends S{constructor(t){super(),G(this,t,R,Q,P,{})}}export{Z as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-compact-page.svelte.72445973.js b/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-compact-page.svelte.72445973.js deleted file mode 100644 index 2f843a8243..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-compact-page.svelte.72445973.js +++ /dev/null @@ -1 +0,0 @@ -import{S,b as G,a as P,C as $,D as h,E as d,j as c,g as p,F as v,L as _,_ as N,e as g,f as C,z as y,a1 as j,h as b,k as F,a2 as q}from"../chunks/index.d29c66be.js";import{a as z}from"../chunks/import-events.d74da7cc.js";import{E as D,a as L,b as M}from"../chunks/event-empty-row.f1ffb146.js";import{P as B}from"../chunks/pagination.15ad2803.js";import{b as E,e as H}from"../chunks/event-view.73e1a728.js";import{e as J}from"../chunks/filters.a4cc47c7.js";function k(i,t,r){const e=i.slice();return e[10]=t[r],e}function w(i){let t,r;return t=new L({}),{c(){$(t.$$.fragment)},l(e){h(t.$$.fragment,e)},m(e,o){d(t,e,o),r=!0},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){v(t,e)}}}function A(i,t){let r,e,o;return e=new M({props:{event:t[10],compact:I,expandAll:t[1]==="true",initialItem:t[9],visibleItems:t[8]}}),{key:i,first:null,c(){r=g(),$(e.$$.fragment),this.h()},l(n){r=g(),h(e.$$.fragment,n),this.h()},h(){this.first=r},m(n,f){C(n,r,f),d(e,n,f),o=!0},p(n,f){t=n;const s={};f&256&&(s.event=t[10]),f&2&&(s.expandAll=t[1]==="true"),f&512&&(s.initialItem=t[9]),f&256&&(s.visibleItems=t[8]),e.$set(s)},i(n){o||(c(e.$$.fragment,n),o=!0)},o(n){p(e.$$.fragment,n),o=!1},d(n){n&&F(r),v(e,n)}}}function K(i){let t=[],r=new Map,e,o,n=i[8];const f=a=>`${a[10].id}-${a[10].timestamp}`;for(let a=0;a{s=null}),b()):s||(s=w(),s.c(),c(s,1),s.m(e.parentNode,e)))},i(a){if(!o){for(let l=0;l({8:e,9:o}),({visibleItems:e,initialItem:o})=>(e?256:0)|(o?512:0)]},$$scope:{ctx:i}}}),{c(){$(t.$$.fragment)},l(e){h(t.$$.fragment,e)},m(e,o){d(t,e,o),r=!0},p(e,[o]){const n={};o&1&&(n.items=e[0]),o&8962&&(n.$$scope={dirty:o,ctx:e}),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){v(t,e)}}}let I=!0;function R(i,t,r){let e,o,n,f,s,a,l;_(i,E,u=>r(1,f=u)),_(i,z,u=>r(5,s=u)),_(i,H,u=>r(6,a=u)),_(i,J,u=>r(7,l=u));function m(u){N(E,f=u.detail.expanded,f)}return i.$$.update=()=>{i.$$.dirty&128&&r(3,e=l),i.$$.dirty&96&&r(4,o=a==="descending"?[...s].reverse():s),i.$$.dirty&24&&r(0,n=o.filter(u=>e?u.category===e:u))},[n,f,m,e,o,s,a,l]}class Z extends S{constructor(t){super(),G(this,t,R,Q,P,{})}}export{Z as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-feed-page.svelte.7f587b37.js b/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-feed-page.svelte.7f587b37.js deleted file mode 100644 index 3261a4fc6b..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-feed-page.svelte.7f587b37.js +++ /dev/null @@ -1 +0,0 @@ -import{S,b as P,a as N,C as $,D as h,E as d,j as c,g as p,F as v,L as _,_ as j,e as g,f as C,z as y,a1 as q,h as b,k as F,a2 as z}from"../chunks/index.d29c66be.js";import{i as D}from"../chunks/import-events.d74da7cc.js";import{E as L,a as M,b as B}from"../chunks/event-empty-row.f1ffb146.js";import{P as G}from"../chunks/pagination.15ad2803.js";import{b as E,e as H}from"../chunks/event-view.73e1a728.js";import{e as J}from"../chunks/filters.a4cc47c7.js";function k(i,t,r){const e=i.slice();return e[10]=t[r],e}function w(i){let t,r;return t=new M({}),{c(){$(t.$$.fragment)},l(e){h(t.$$.fragment,e)},m(e,o){d(t,e,o),r=!0},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){v(t,e)}}}function A(i,t){let r,e,o;return e=new B({props:{event:t[10],compact:I,expandAll:t[1]==="true",initialItem:t[9],visibleItems:t[8]}}),{key:i,first:null,c(){r=g(),$(e.$$.fragment),this.h()},l(n){r=g(),h(e.$$.fragment,n),this.h()},h(){this.first=r},m(n,f){C(n,r,f),d(e,n,f),o=!0},p(n,f){t=n;const s={};f&256&&(s.event=t[10]),f&2&&(s.expandAll=t[1]==="true"),f&512&&(s.initialItem=t[9]),f&256&&(s.visibleItems=t[8]),e.$set(s)},i(n){o||(c(e.$$.fragment,n),o=!0)},o(n){p(e.$$.fragment,n),o=!1},d(n){n&&F(r),v(e,n)}}}function K(i){let t=[],r=new Map,e,o,n=i[8];const f=a=>`${a[10].id}-${a[10].timestamp}`;for(let a=0;a{s=null}),b()):s||(s=w(),s.c(),c(s,1),s.m(e.parentNode,e)))},i(a){if(!o){for(let l=0;l({8:e,9:o}),({visibleItems:e,initialItem:o})=>(e?256:0)|(o?512:0)]},$$scope:{ctx:i}}}),{c(){$(t.$$.fragment)},l(e){h(t.$$.fragment,e)},m(e,o){d(t,e,o),r=!0},p(e,[o]){const n={};o&1&&(n.items=e[0]),o&8962&&(n.$$scope={dirty:o,ctx:e}),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){v(t,e)}}}let I=!1;function R(i,t,r){let e,o,n,f,s,a,l;_(i,E,m=>r(1,f=m)),_(i,D,m=>r(5,s=m)),_(i,H,m=>r(6,a=m)),_(i,J,m=>r(7,l=m));function u(m){j(E,f=m.detail.expanded,f)}return i.$$.update=()=>{i.$$.dirty&128&&r(3,e=l),i.$$.dirty&96&&r(4,o=a==="descending"?[...s].reverse():s),i.$$.dirty&24&&r(0,n=o.filter(m=>e?m.category===e:m))},[n,f,u,e,o,s,a,l]}class Z extends S{constructor(t){super(),P(this,t,R,Q,N,{})}}export{Z as default}; diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-feed-page.svelte.d95bcfdd.js b/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-feed-page.svelte.b4fdbb72.js similarity index 91% rename from ui/assets/cloud/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-feed-page.svelte.d95bcfdd.js rename to ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-feed-page.svelte.b4fdbb72.js index 0a7845934a..94526072d4 100644 --- a/ui/assets/cloud/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-feed-page.svelte.d95bcfdd.js +++ b/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-feed-page.svelte.b4fdbb72.js @@ -1 +1 @@ -import{S,b as P,a as N,C as $,D as h,E as d,j as c,g as p,F as v,L as _,_ as j,e as g,f as C,z as y,a1 as q,h as b,k as F,a2 as z}from"../chunks/index.d29c66be.js";import{i as D}from"../chunks/import-events.d74da7cc.js";import{E as L,a as M,b as B}from"../chunks/event-empty-row.4b13ada5.js";import{P as G}from"../chunks/pagination.c0661e6a.js";import{b as E,e as H}from"../chunks/event-view.73e1a728.js";import{e as J}from"../chunks/filters.2ba801c3.js";function k(i,t,r){const e=i.slice();return e[10]=t[r],e}function w(i){let t,r;return t=new M({}),{c(){$(t.$$.fragment)},l(e){h(t.$$.fragment,e)},m(e,o){d(t,e,o),r=!0},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){v(t,e)}}}function A(i,t){let r,e,o;return e=new B({props:{event:t[10],compact:I,expandAll:t[1]==="true",initialItem:t[9],visibleItems:t[8]}}),{key:i,first:null,c(){r=g(),$(e.$$.fragment),this.h()},l(n){r=g(),h(e.$$.fragment,n),this.h()},h(){this.first=r},m(n,f){C(n,r,f),d(e,n,f),o=!0},p(n,f){t=n;const s={};f&256&&(s.event=t[10]),f&2&&(s.expandAll=t[1]==="true"),f&512&&(s.initialItem=t[9]),f&256&&(s.visibleItems=t[8]),e.$set(s)},i(n){o||(c(e.$$.fragment,n),o=!0)},o(n){p(e.$$.fragment,n),o=!1},d(n){n&&F(r),v(e,n)}}}function K(i){let t=[],r=new Map,e,o,n=i[8];const f=a=>`${a[10].id}-${a[10].timestamp}`;for(let a=0;a{s=null}),b()):s||(s=w(),s.c(),c(s,1),s.m(e.parentNode,e)))},i(a){if(!o){for(let l=0;l({8:e,9:o}),({visibleItems:e,initialItem:o})=>(e?256:0)|(o?512:0)]},$$scope:{ctx:i}}}),{c(){$(t.$$.fragment)},l(e){h(t.$$.fragment,e)},m(e,o){d(t,e,o),r=!0},p(e,[o]){const n={};o&1&&(n.items=e[0]),o&8962&&(n.$$scope={dirty:o,ctx:e}),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){v(t,e)}}}let I=!1;function R(i,t,r){let e,o,n,f,s,a,l;_(i,E,m=>r(1,f=m)),_(i,D,m=>r(5,s=m)),_(i,H,m=>r(6,a=m)),_(i,J,m=>r(7,l=m));function u(m){j(E,f=m.detail.expanded,f)}return i.$$.update=()=>{i.$$.dirty&128&&r(3,e=l),i.$$.dirty&96&&r(4,o=a==="descending"?[...s].reverse():s),i.$$.dirty&24&&r(0,n=o.filter(m=>e?m.category===e:m))},[n,f,u,e,o,s,a,l]}class Z extends S{constructor(t){super(),P(this,t,R,Q,N,{})}}export{Z as default}; +import{S,b as P,a as N,C as $,D as h,E as d,j as c,g as p,F as v,L as _,_ as j,e as g,f as C,z as y,a1 as q,h as b,k as F,a2 as z}from"../chunks/index.d29c66be.js";import{i as D}from"../chunks/import-events.d74da7cc.js";import{E as L,a as M,b as B}from"../chunks/event-empty-row.7d16dc36.js";import{P as G}from"../chunks/pagination.a8beaf3b.js";import{b as E,e as H}from"../chunks/event-view.73e1a728.js";import{e as J}from"../chunks/filters.9cc46c9a.js";function k(i,t,r){const e=i.slice();return e[10]=t[r],e}function w(i){let t,r;return t=new M({}),{c(){$(t.$$.fragment)},l(e){h(t.$$.fragment,e)},m(e,o){d(t,e,o),r=!0},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){v(t,e)}}}function A(i,t){let r,e,o;return e=new B({props:{event:t[10],compact:I,expandAll:t[1]==="true",initialItem:t[9],visibleItems:t[8]}}),{key:i,first:null,c(){r=g(),$(e.$$.fragment),this.h()},l(n){r=g(),h(e.$$.fragment,n),this.h()},h(){this.first=r},m(n,f){C(n,r,f),d(e,n,f),o=!0},p(n,f){t=n;const s={};f&256&&(s.event=t[10]),f&2&&(s.expandAll=t[1]==="true"),f&512&&(s.initialItem=t[9]),f&256&&(s.visibleItems=t[8]),e.$set(s)},i(n){o||(c(e.$$.fragment,n),o=!0)},o(n){p(e.$$.fragment,n),o=!1},d(n){n&&F(r),v(e,n)}}}function K(i){let t=[],r=new Map,e,o,n=i[8];const f=a=>`${a[10].id}-${a[10].timestamp}`;for(let a=0;a{s=null}),b()):s||(s=w(),s.c(),c(s,1),s.m(e.parentNode,e)))},i(a){if(!o){for(let l=0;l({8:e,9:o}),({visibleItems:e,initialItem:o})=>(e?256:0)|(o?512:0)]},$$scope:{ctx:i}}}),{c(){$(t.$$.fragment)},l(e){h(t.$$.fragment,e)},m(e,o){d(t,e,o),r=!0},p(e,[o]){const n={};o&1&&(n.items=e[0]),o&8962&&(n.$$scope={dirty:o,ctx:e}),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){v(t,e)}}}let I=!1;function R(i,t,r){let e,o,n,f,s,a,l;_(i,E,m=>r(1,f=m)),_(i,D,m=>r(5,s=m)),_(i,H,m=>r(6,a=m)),_(i,J,m=>r(7,l=m));function u(m){j(E,f=m.detail.expanded,f)}return i.$$.update=()=>{i.$$.dirty&128&&r(3,e=l),i.$$.dirty&96&&r(4,o=a==="descending"?[...s].reverse():s),i.$$.dirty&24&&r(0,n=o.filter(m=>e?m.category===e:m))},[n,f,u,e,o,s,a,l]}class Z extends S{constructor(t){super(),P(this,t,R,Q,N,{})}}export{Z as default}; diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-layout.svelte.8759b4a7.js b/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-layout.svelte.860dbcd8.js similarity index 93% rename from ui/assets/cloud/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-layout.svelte.8759b4a7.js rename to ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-layout.svelte.860dbcd8.js index 3f1b088c8d..5f14b7fe43 100644 --- a/ui/assets/cloud/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-layout.svelte.8759b4a7.js +++ b/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-layout.svelte.860dbcd8.js @@ -1 +1 @@ -import{S as M,b as z,a as B,G as K,m as E,w as J,c as y,C as T,p as I,q as N,x as O,k as c,d as D,D as C,u as g,f as V,M as d,E as H,H as P,I as Q,J as R,j as v,g as h,F as S,L as W}from"../chunks/index.d29c66be.js";import{d as j}from"../chunks/route-for.5e008fb6.js";import{T as X,a as F}from"../chunks/toggle-buttons.8fcf9ebe.js";import{E as Y}from"../chunks/event-history-file-import.ab5995f6.js";import{l as Z}from"../chunks/namespaces.52575875.js";function x(o){let e;return{c(){e=J("Timeline")},l(s){e=O(s,"Timeline")},m(s,t){V(s,e,t)},d(s){s&&c(e)}}}function ee(o){let e;return{c(){e=J("Compact")},l(s){e=O(s,"Compact")},m(s,t){V(s,e,t)},d(s){s&&c(e)}}}function te(o){let e;return{c(){e=J("JSON")},l(s){e=O(s,"JSON")},m(s,t){V(s,e,t)},d(s){s&&c(e)}}}function se(o){let e,s,t,a,r,i;return e=new F({props:{icon:"feed",href:j(o[0],"feed"),$$slots:{default:[x]},$$scope:{ctx:o}}}),t=new F({props:{icon:"compact",href:j(o[0],"compact"),$$slots:{default:[ee]},$$scope:{ctx:o}}}),r=new F({props:{icon:"json",href:j(o[0],"json"),$$slots:{default:[te]},$$scope:{ctx:o}}}),{c(){T(e.$$.fragment),s=y(),T(t.$$.fragment),a=y(),T(r.$$.fragment)},l(n){C(e.$$.fragment,n),s=D(n),C(t.$$.fragment,n),a=D(n),C(r.$$.fragment,n)},m(n,f){H(e,n,f),V(n,s,f),H(t,n,f),V(n,a,f),H(r,n,f),i=!0},p(n,f){const p={};f&1&&(p.href=j(n[0],"feed")),f&4&&(p.$$scope={dirty:f,ctx:n}),e.$set(p);const _={};f&1&&(_.href=j(n[0],"compact")),f&4&&(_.$$scope={dirty:f,ctx:n}),t.$set(_);const m={};f&1&&(m.href=j(n[0],"json")),f&4&&(m.$$scope={dirty:f,ctx:n}),r.$set(m)},i(n){i||(v(e.$$.fragment,n),v(t.$$.fragment,n),v(r.$$.fragment,n),i=!0)},o(n){h(e.$$.fragment,n),h(t.$$.fragment,n),h(r.$$.fragment,n),i=!1},d(n){S(e,n),n&&c(s),S(t,n),n&&c(a),S(r,n)}}}function ne(o){let e,s,t,a,r,i,n,f,p,_,m,q,w;n=new Y({}),m=new X({props:{$$slots:{default:[se]},$$scope:{ctx:o}}});const A=o[1].default,$=K(A,o,o[2],null);return{c(){e=E("section"),s=E("nav"),t=E("h3"),a=J("Import Event History"),r=y(),i=E("div"),T(n.$$.fragment),f=y(),p=E("nav"),_=E("div"),T(m.$$.fragment),q=y(),$&&$.c(),this.h()},l(l){e=I(l,"SECTION",{id:!0});var u=N(e);s=I(u,"NAV",{class:!0,"aria-label":!0});var b=N(s);t=I(b,"H3",{class:!0});var L=N(t);a=O(L,"Import Event History"),L.forEach(c),r=D(b),i=I(b,"DIV",{class:!0});var U=N(i);C(n.$$.fragment,U),U.forEach(c),b.forEach(c),f=D(u),p=I(u,"NAV",{class:!0,"aria-label":!0});var k=N(p);_=I(k,"DIV",{id:!0,class:!0});var G=N(_);C(m.$$.fragment,G),G.forEach(c),k.forEach(c),q=D(u),$&&$.l(u),u.forEach(c),this.h()},h(){g(t,"class","text-lg font-medium"),g(i,"class","flex gap-4"),g(s,"class","flex items-end justify-between gap-4 pb-4"),g(s,"aria-label","import event history"),g(_,"id","event-view-toggle"),g(_,"class","flex gap-4 bg-white"),g(p,"class","my-4 flex items-end justify-end gap-4"),g(p,"aria-label","event history view"),g(e,"id","event-history")},m(l,u){V(l,e,u),d(e,s),d(s,t),d(t,a),d(s,r),d(s,i),H(n,i,null),d(e,f),d(e,p),d(p,_),H(m,_,null),d(e,q),$&&$.m(e,null),w=!0},p(l,[u]){const b={};u&5&&(b.$$scope={dirty:u,ctx:l}),m.$set(b),$&&$.p&&(!w||u&4)&&P($,A,l,l[2],w?R(A,l[2],u,null):Q(l[2]),null)},i(l){w||(v(n.$$.fragment,l),v(m.$$.fragment,l),v($,l),w=!0)},o(l){h(n.$$.fragment,l),h(m.$$.fragment,l),h($,l),w=!1},d(l){l&&c(e),S(n),S(m),$&&$.d(l)}}}function ae(o,e,s){let t;W(o,Z,i=>s(0,t=i));let{$$slots:a={},$$scope:r}=e;return o.$$set=i=>{"$$scope"in i&&s(2,r=i.$$scope)},[t,a,r]}class oe extends M{constructor(e){super(),z(this,e,ae,ne,B,{})}}function re(o){let e;const s=o[0].default,t=K(s,o,o[1],null);return{c(){t&&t.c()},l(a){t&&t.l(a)},m(a,r){t&&t.m(a,r),e=!0},p(a,r){t&&t.p&&(!e||r&2)&&P(t,s,a,a[1],e?R(s,a[1],r,null):Q(a[1]),null)},i(a){e||(v(t,a),e=!0)},o(a){h(t,a),e=!1},d(a){t&&t.d(a)}}}function le(o){let e,s;return e=new oe({props:{$$slots:{default:[re]},$$scope:{ctx:o}}}),{c(){T(e.$$.fragment)},l(t){C(e.$$.fragment,t)},m(t,a){H(e,t,a),s=!0},p(t,[a]){const r={};a&2&&(r.$$scope={dirty:a,ctx:t}),e.$set(r)},i(t){s||(v(e.$$.fragment,t),s=!0)},o(t){h(e.$$.fragment,t),s=!1},d(t){S(e,t)}}}function fe(o,e,s){let{$$slots:t={},$$scope:a}=e;return o.$$set=r=>{"$$scope"in r&&s(1,a=r.$$scope)},[t,a]}class pe extends M{constructor(e){super(),z(this,e,fe,le,B,{})}}export{pe as default}; +import{S as M,b as z,a as B,G as K,m as E,w as J,c as y,C as T,p as I,q as N,x as O,k as c,d as D,D as C,u as g,f as V,M as d,E as H,H as P,I as Q,J as R,j as v,g as h,F as S,L as W}from"../chunks/index.d29c66be.js";import{d as j}from"../chunks/route-for.3e9c6ff4.js";import{T as X,a as F}from"../chunks/toggle-buttons.d2c900e1.js";import{E as Y}from"../chunks/event-history-file-import.21cce287.js";import{l as Z}from"../chunks/namespaces.52575875.js";function x(o){let e;return{c(){e=J("Timeline")},l(s){e=O(s,"Timeline")},m(s,t){V(s,e,t)},d(s){s&&c(e)}}}function ee(o){let e;return{c(){e=J("Compact")},l(s){e=O(s,"Compact")},m(s,t){V(s,e,t)},d(s){s&&c(e)}}}function te(o){let e;return{c(){e=J("JSON")},l(s){e=O(s,"JSON")},m(s,t){V(s,e,t)},d(s){s&&c(e)}}}function se(o){let e,s,t,a,r,i;return e=new F({props:{icon:"feed",href:j(o[0],"feed"),$$slots:{default:[x]},$$scope:{ctx:o}}}),t=new F({props:{icon:"compact",href:j(o[0],"compact"),$$slots:{default:[ee]},$$scope:{ctx:o}}}),r=new F({props:{icon:"json",href:j(o[0],"json"),$$slots:{default:[te]},$$scope:{ctx:o}}}),{c(){T(e.$$.fragment),s=y(),T(t.$$.fragment),a=y(),T(r.$$.fragment)},l(n){C(e.$$.fragment,n),s=D(n),C(t.$$.fragment,n),a=D(n),C(r.$$.fragment,n)},m(n,f){H(e,n,f),V(n,s,f),H(t,n,f),V(n,a,f),H(r,n,f),i=!0},p(n,f){const p={};f&1&&(p.href=j(n[0],"feed")),f&4&&(p.$$scope={dirty:f,ctx:n}),e.$set(p);const _={};f&1&&(_.href=j(n[0],"compact")),f&4&&(_.$$scope={dirty:f,ctx:n}),t.$set(_);const m={};f&1&&(m.href=j(n[0],"json")),f&4&&(m.$$scope={dirty:f,ctx:n}),r.$set(m)},i(n){i||(v(e.$$.fragment,n),v(t.$$.fragment,n),v(r.$$.fragment,n),i=!0)},o(n){h(e.$$.fragment,n),h(t.$$.fragment,n),h(r.$$.fragment,n),i=!1},d(n){S(e,n),n&&c(s),S(t,n),n&&c(a),S(r,n)}}}function ne(o){let e,s,t,a,r,i,n,f,p,_,m,q,w;n=new Y({}),m=new X({props:{$$slots:{default:[se]},$$scope:{ctx:o}}});const A=o[1].default,$=K(A,o,o[2],null);return{c(){e=E("section"),s=E("nav"),t=E("h3"),a=J("Import Event History"),r=y(),i=E("div"),T(n.$$.fragment),f=y(),p=E("nav"),_=E("div"),T(m.$$.fragment),q=y(),$&&$.c(),this.h()},l(l){e=I(l,"SECTION",{id:!0});var u=N(e);s=I(u,"NAV",{class:!0,"aria-label":!0});var b=N(s);t=I(b,"H3",{class:!0});var L=N(t);a=O(L,"Import Event History"),L.forEach(c),r=D(b),i=I(b,"DIV",{class:!0});var U=N(i);C(n.$$.fragment,U),U.forEach(c),b.forEach(c),f=D(u),p=I(u,"NAV",{class:!0,"aria-label":!0});var k=N(p);_=I(k,"DIV",{id:!0,class:!0});var G=N(_);C(m.$$.fragment,G),G.forEach(c),k.forEach(c),q=D(u),$&&$.l(u),u.forEach(c),this.h()},h(){g(t,"class","text-lg font-medium"),g(i,"class","flex gap-4"),g(s,"class","flex items-end justify-between gap-4 pb-4"),g(s,"aria-label","import event history"),g(_,"id","event-view-toggle"),g(_,"class","flex gap-4 bg-white"),g(p,"class","my-4 flex items-end justify-end gap-4"),g(p,"aria-label","event history view"),g(e,"id","event-history")},m(l,u){V(l,e,u),d(e,s),d(s,t),d(t,a),d(s,r),d(s,i),H(n,i,null),d(e,f),d(e,p),d(p,_),H(m,_,null),d(e,q),$&&$.m(e,null),w=!0},p(l,[u]){const b={};u&5&&(b.$$scope={dirty:u,ctx:l}),m.$set(b),$&&$.p&&(!w||u&4)&&P($,A,l,l[2],w?R(A,l[2],u,null):Q(l[2]),null)},i(l){w||(v(n.$$.fragment,l),v(m.$$.fragment,l),v($,l),w=!0)},o(l){h(n.$$.fragment,l),h(m.$$.fragment,l),h($,l),w=!1},d(l){l&&c(e),S(n),S(m),$&&$.d(l)}}}function ae(o,e,s){let t;W(o,Z,i=>s(0,t=i));let{$$slots:a={},$$scope:r}=e;return o.$$set=i=>{"$$scope"in i&&s(2,r=i.$$scope)},[t,a,r]}class oe extends M{constructor(e){super(),z(this,e,ae,ne,B,{})}}function re(o){let e;const s=o[0].default,t=K(s,o,o[1],null);return{c(){t&&t.c()},l(a){t&&t.l(a)},m(a,r){t&&t.m(a,r),e=!0},p(a,r){t&&t.p&&(!e||r&2)&&P(t,s,a,a[1],e?R(s,a[1],r,null):Q(a[1]),null)},i(a){e||(v(t,a),e=!0)},o(a){h(t,a),e=!1},d(a){t&&t.d(a)}}}function le(o){let e,s;return e=new oe({props:{$$slots:{default:[re]},$$scope:{ctx:o}}}),{c(){T(e.$$.fragment)},l(t){C(e.$$.fragment,t)},m(t,a){H(e,t,a),s=!0},p(t,[a]){const r={};a&2&&(r.$$scope={dirty:a,ctx:t}),e.$set(r)},i(t){s||(v(e.$$.fragment,t),s=!0)},o(t){h(e.$$.fragment,t),s=!1},d(t){S(e,t)}}}function fe(o,e,s){let{$$slots:t={},$$scope:a}=e;return o.$$set=r=>{"$$scope"in r&&s(1,a=r.$$scope)},[t,a]}class pe extends M{constructor(e){super(),z(this,e,fe,le,B,{})}}export{pe as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-layout.svelte.a479651f.js b/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-layout.svelte.a479651f.js deleted file mode 100644 index ec9367c00c..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-layout.svelte.a479651f.js +++ /dev/null @@ -1 +0,0 @@ -import{S as M,b as z,a as B,G as K,m as E,w as J,c as y,C as T,p as I,q as N,x as O,k as c,d as D,D as C,u as g,f as V,M as d,E as H,H as P,I as Q,J as R,j as v,g as h,F as S,L as W}from"../chunks/index.d29c66be.js";import{d as j}from"../chunks/route-for.b4518ba8.js";import{T as X,a as F}from"../chunks/toggle-buttons.10f7f06f.js";import{E as Y}from"../chunks/event-history-file-import.11e4730e.js";import{l as Z}from"../chunks/namespaces.52575875.js";function x(o){let e;return{c(){e=J("Timeline")},l(s){e=O(s,"Timeline")},m(s,t){V(s,e,t)},d(s){s&&c(e)}}}function ee(o){let e;return{c(){e=J("Compact")},l(s){e=O(s,"Compact")},m(s,t){V(s,e,t)},d(s){s&&c(e)}}}function te(o){let e;return{c(){e=J("JSON")},l(s){e=O(s,"JSON")},m(s,t){V(s,e,t)},d(s){s&&c(e)}}}function se(o){let e,s,t,a,r,i;return e=new F({props:{icon:"feed",href:j(o[0],"feed"),$$slots:{default:[x]},$$scope:{ctx:o}}}),t=new F({props:{icon:"compact",href:j(o[0],"compact"),$$slots:{default:[ee]},$$scope:{ctx:o}}}),r=new F({props:{icon:"json",href:j(o[0],"json"),$$slots:{default:[te]},$$scope:{ctx:o}}}),{c(){T(e.$$.fragment),s=y(),T(t.$$.fragment),a=y(),T(r.$$.fragment)},l(n){C(e.$$.fragment,n),s=D(n),C(t.$$.fragment,n),a=D(n),C(r.$$.fragment,n)},m(n,f){H(e,n,f),V(n,s,f),H(t,n,f),V(n,a,f),H(r,n,f),i=!0},p(n,f){const p={};f&1&&(p.href=j(n[0],"feed")),f&4&&(p.$$scope={dirty:f,ctx:n}),e.$set(p);const _={};f&1&&(_.href=j(n[0],"compact")),f&4&&(_.$$scope={dirty:f,ctx:n}),t.$set(_);const m={};f&1&&(m.href=j(n[0],"json")),f&4&&(m.$$scope={dirty:f,ctx:n}),r.$set(m)},i(n){i||(v(e.$$.fragment,n),v(t.$$.fragment,n),v(r.$$.fragment,n),i=!0)},o(n){h(e.$$.fragment,n),h(t.$$.fragment,n),h(r.$$.fragment,n),i=!1},d(n){S(e,n),n&&c(s),S(t,n),n&&c(a),S(r,n)}}}function ne(o){let e,s,t,a,r,i,n,f,p,_,m,q,w;n=new Y({}),m=new X({props:{$$slots:{default:[se]},$$scope:{ctx:o}}});const A=o[1].default,$=K(A,o,o[2],null);return{c(){e=E("section"),s=E("nav"),t=E("h3"),a=J("Import Event History"),r=y(),i=E("div"),T(n.$$.fragment),f=y(),p=E("nav"),_=E("div"),T(m.$$.fragment),q=y(),$&&$.c(),this.h()},l(l){e=I(l,"SECTION",{id:!0});var u=N(e);s=I(u,"NAV",{class:!0,"aria-label":!0});var b=N(s);t=I(b,"H3",{class:!0});var L=N(t);a=O(L,"Import Event History"),L.forEach(c),r=D(b),i=I(b,"DIV",{class:!0});var U=N(i);C(n.$$.fragment,U),U.forEach(c),b.forEach(c),f=D(u),p=I(u,"NAV",{class:!0,"aria-label":!0});var k=N(p);_=I(k,"DIV",{id:!0,class:!0});var G=N(_);C(m.$$.fragment,G),G.forEach(c),k.forEach(c),q=D(u),$&&$.l(u),u.forEach(c),this.h()},h(){g(t,"class","text-lg font-medium"),g(i,"class","flex gap-4"),g(s,"class","flex items-end justify-between gap-4 pb-4"),g(s,"aria-label","import event history"),g(_,"id","event-view-toggle"),g(_,"class","flex gap-4 bg-white"),g(p,"class","my-4 flex items-end justify-end gap-4"),g(p,"aria-label","event history view"),g(e,"id","event-history")},m(l,u){V(l,e,u),d(e,s),d(s,t),d(t,a),d(s,r),d(s,i),H(n,i,null),d(e,f),d(e,p),d(p,_),H(m,_,null),d(e,q),$&&$.m(e,null),w=!0},p(l,[u]){const b={};u&5&&(b.$$scope={dirty:u,ctx:l}),m.$set(b),$&&$.p&&(!w||u&4)&&P($,A,l,l[2],w?R(A,l[2],u,null):Q(l[2]),null)},i(l){w||(v(n.$$.fragment,l),v(m.$$.fragment,l),v($,l),w=!0)},o(l){h(n.$$.fragment,l),h(m.$$.fragment,l),h($,l),w=!1},d(l){l&&c(e),S(n),S(m),$&&$.d(l)}}}function ae(o,e,s){let t;W(o,Z,i=>s(0,t=i));let{$$slots:a={},$$scope:r}=e;return o.$$set=i=>{"$$scope"in i&&s(2,r=i.$$scope)},[t,a,r]}class oe extends M{constructor(e){super(),z(this,e,ae,ne,B,{})}}function re(o){let e;const s=o[0].default,t=K(s,o,o[1],null);return{c(){t&&t.c()},l(a){t&&t.l(a)},m(a,r){t&&t.m(a,r),e=!0},p(a,r){t&&t.p&&(!e||r&2)&&P(t,s,a,a[1],e?R(s,a[1],r,null):Q(a[1]),null)},i(a){e||(v(t,a),e=!0)},o(a){h(t,a),e=!1},d(a){t&&t.d(a)}}}function le(o){let e,s;return e=new oe({props:{$$slots:{default:[re]},$$scope:{ctx:o}}}),{c(){T(e.$$.fragment)},l(t){C(e.$$.fragment,t)},m(t,a){H(e,t,a),s=!0},p(t,[a]){const r={};a&2&&(r.$$scope={dirty:a,ctx:t}),e.$set(r)},i(t){s||(v(e.$$.fragment,t),s=!0)},o(t){h(e.$$.fragment,t),s=!1},d(t){S(e,t)}}}function fe(o,e,s){let{$$slots:t={},$$scope:a}=e;return o.$$set=r=>{"$$scope"in r&&s(1,a=r.$$scope)},[t,a]}class pe extends M{constructor(e){super(),z(this,e,fe,le,B,{})}}export{pe as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-page.ts.36f865ca.js b/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-page.ts.36f865ca.js new file mode 100644 index 0000000000..eec7bd60ef --- /dev/null +++ b/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-page.ts.36f865ca.js @@ -0,0 +1 @@ +import"../chunks/index.b1f5b21f.js";import"../chunks/route-for.3e9c6ff4.js";import{l as t}from"../chunks/_page.a2911484.js";export{t as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-page.ts.e27d96e0.js b/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-page.ts.e27d96e0.js deleted file mode 100644 index e770ed04d1..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-page.ts.e27d96e0.js +++ /dev/null @@ -1 +0,0 @@ -import"../chunks/index.b1f5b21f.js";import"../chunks/route-for.b4518ba8.js";import{l as t}from"../chunks/_page.8a0df0ae.js";export{t as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-import-events-page.svelte.c066feba.js b/ui/assets/local/_app/immutable/entry/(app)-import-events-page.svelte.c066feba.js deleted file mode 100644 index 67668d2b02..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-import-events-page.svelte.c066feba.js +++ /dev/null @@ -1 +0,0 @@ -import{S as X,b as Y,a as Z,m as c,w as q,c as w,C as k,p as m,q as f,x as G,k as i,d as H,D as V,u as o,f as tt,M as s,E as C,j as D,g as S,F as N,n as et}from"../chunks/index.d29c66be.js";import{E as rt}from"../chunks/event-history-file-import.11e4730e.js";import{C as W}from"../chunks/code-block.fc92cd67.js";import{L as at}from"../chunks/link.d5f6f19e.js";function st($){let t;return{c(){t=q("View in Github")},l(e){t=G(e,"View in Github")},m(e,r){tt(e,t,r)},d(e){e&&i(t)}}}function nt($){let t,e,r,I,J,E,v,L,n,b,A,F,y,d,M,x,P,T,p,h,z,g,O;return v=new rt({}),d=new at({props:{target:"_blank",href:"https://github.com/temporalio/api/blob/1cd0ac0bbd8e71c7bfc9fe1900c678b432e66e5b/temporal/api/history/v1/message.proto",class:"mb-8",$$slots:{default:[st]},$$scope:{ctx:$}}}),h=new W({props:{content:$[0],inline:!0}}),g=new W({props:{content:ot,inline:!0}}),{c(){t=c("section"),e=c("nav"),r=c("h1"),I=q("Import Event History"),J=w(),E=c("div"),k(v.$$.fragment),L=w(),n=c("div"),b=c("code"),A=q("type HistoryEvent = temporal.api.history.v1.IHistoryEvent"),F=w(),y=c("div"),k(d.$$.fragment),M=w(),x=c("h3"),P=q("Expected JSON formats"),T=w(),p=c("div"),k(h.$$.fragment),z=w(),k(g.$$.fragment),this.h()},l(a){t=m(a,"SECTION",{class:!0});var l=f(t);e=m(l,"NAV",{id:!0,class:!0,"aria-label":!0});var _=f(e);r=m(_,"H1",{class:!0,"data-testid":!0});var B=f(r);I=G(B,"Import Event History"),B.forEach(i),J=H(_),E=m(_,"DIV",{class:!0});var K=f(E);V(v.$$.fragment,K),K.forEach(i),_.forEach(i),L=H(l),n=m(l,"DIV",{class:!0});var u=f(n);b=m(u,"CODE",{class:!0});var Q=f(b);A=G(Q,"type HistoryEvent = temporal.api.history.v1.IHistoryEvent"),Q.forEach(i),F=H(u),y=m(u,"DIV",{class:!0});var R=f(y);V(d.$$.fragment,R),R.forEach(i),M=H(u),x=m(u,"H3",{class:!0});var U=f(x);P=G(U,"Expected JSON formats"),U.forEach(i),T=H(u),p=m(u,"DIV",{class:!0});var j=f(p);V(h.$$.fragment,j),z=H(j),V(g.$$.fragment,j),j.forEach(i),u.forEach(i),l.forEach(i),this.h()},h(){o(r,"class","text-lg font-medium"),o(r,"data-testid","import-event-history"),o(E,"class","flex gap-4"),o(e,"id","event-history"),o(e,"class","block items-center justify-between gap-4 pb-4 lg:flex"),o(e,"aria-label","import event history"),o(b,"class","text-md bg-gray-200 p-2 font-medium"),o(y,"class","mt-4"),o(x,"class","mt-8 text-lg font-medium"),o(p,"class","h-40 text-center"),o(n,"class","w-full md:w-1/2"),o(t,"class","flex flex-col gap-4")},m(a,l){tt(a,t,l),s(t,e),s(e,r),s(r,I),s(e,J),s(e,E),C(v,E,null),s(t,L),s(t,n),s(n,b),s(b,A),s(n,F),s(n,y),C(d,y,null),s(n,M),s(n,x),s(x,P),s(n,T),s(n,p),C(h,p,null),s(p,z),C(g,p,null),O=!0},p(a,[l]){const _={};l&2&&(_.$$scope={dirty:l,ctx:a}),d.$set(_)},i(a){O||(D(v.$$.fragment,a),D(d.$$.fragment,a),D(h.$$.fragment,a),D(g.$$.fragment,a),O=!0)},o(a){S(v.$$.fragment,a),S(d.$$.fragment,a),S(h.$$.fragment,a),S(g.$$.fragment,a),O=!1},d(a){a&&i(t),N(v),N(d),N(h),N(g)}}}const ot="HistoryEvent[]";function it($){return[{events:"HistoryEvent[]"}]}class lt extends X{constructor(t){super(),Y(this,t,it,nt,Z,{})}}function ct($){let t,e;return t=new lt({}),{c(){k(t.$$.fragment)},l(r){V(t.$$.fragment,r)},m(r,I){C(t,r,I),e=!0},p:et,i(r){e||(D(t.$$.fragment,r),e=!0)},o(r){S(t.$$.fragment,r),e=!1},d(r){N(t,r)}}}class ut extends X{constructor(t){super(),Y(this,t,null,ct,Z,{})}}export{ut as default}; diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-import-events-page.svelte.a9190473.js b/ui/assets/local/_app/immutable/entry/(app)-import-events-page.svelte.fd3bb0a6.js similarity index 98% rename from ui/assets/cloud/_app/immutable/entry/(app)-import-events-page.svelte.a9190473.js rename to ui/assets/local/_app/immutable/entry/(app)-import-events-page.svelte.fd3bb0a6.js index a73a3ee08c..ce3cb97364 100644 --- a/ui/assets/cloud/_app/immutable/entry/(app)-import-events-page.svelte.a9190473.js +++ b/ui/assets/local/_app/immutable/entry/(app)-import-events-page.svelte.fd3bb0a6.js @@ -1 +1 @@ -import{S as X,b as Y,a as Z,m as c,w as q,c as w,C as k,p as m,q as f,x as G,k as i,d as H,D as V,u as o,f as tt,M as s,E as C,j as D,g as S,F as N,n as et}from"../chunks/index.d29c66be.js";import{E as rt}from"../chunks/event-history-file-import.ab5995f6.js";import{C as W}from"../chunks/code-block.fc92cd67.js";import{L as at}from"../chunks/link.d5f6f19e.js";function st($){let t;return{c(){t=q("View in Github")},l(e){t=G(e,"View in Github")},m(e,r){tt(e,t,r)},d(e){e&&i(t)}}}function nt($){let t,e,r,I,J,E,v,L,n,b,A,F,y,d,M,x,P,T,p,h,z,g,O;return v=new rt({}),d=new at({props:{target:"_blank",href:"https://github.com/temporalio/api/blob/1cd0ac0bbd8e71c7bfc9fe1900c678b432e66e5b/temporal/api/history/v1/message.proto",class:"mb-8",$$slots:{default:[st]},$$scope:{ctx:$}}}),h=new W({props:{content:$[0],inline:!0}}),g=new W({props:{content:ot,inline:!0}}),{c(){t=c("section"),e=c("nav"),r=c("h1"),I=q("Import Event History"),J=w(),E=c("div"),k(v.$$.fragment),L=w(),n=c("div"),b=c("code"),A=q("type HistoryEvent = temporal.api.history.v1.IHistoryEvent"),F=w(),y=c("div"),k(d.$$.fragment),M=w(),x=c("h3"),P=q("Expected JSON formats"),T=w(),p=c("div"),k(h.$$.fragment),z=w(),k(g.$$.fragment),this.h()},l(a){t=m(a,"SECTION",{class:!0});var l=f(t);e=m(l,"NAV",{id:!0,class:!0,"aria-label":!0});var _=f(e);r=m(_,"H1",{class:!0,"data-testid":!0});var B=f(r);I=G(B,"Import Event History"),B.forEach(i),J=H(_),E=m(_,"DIV",{class:!0});var K=f(E);V(v.$$.fragment,K),K.forEach(i),_.forEach(i),L=H(l),n=m(l,"DIV",{class:!0});var u=f(n);b=m(u,"CODE",{class:!0});var Q=f(b);A=G(Q,"type HistoryEvent = temporal.api.history.v1.IHistoryEvent"),Q.forEach(i),F=H(u),y=m(u,"DIV",{class:!0});var R=f(y);V(d.$$.fragment,R),R.forEach(i),M=H(u),x=m(u,"H3",{class:!0});var U=f(x);P=G(U,"Expected JSON formats"),U.forEach(i),T=H(u),p=m(u,"DIV",{class:!0});var j=f(p);V(h.$$.fragment,j),z=H(j),V(g.$$.fragment,j),j.forEach(i),u.forEach(i),l.forEach(i),this.h()},h(){o(r,"class","text-lg font-medium"),o(r,"data-testid","import-event-history"),o(E,"class","flex gap-4"),o(e,"id","event-history"),o(e,"class","block items-center justify-between gap-4 pb-4 lg:flex"),o(e,"aria-label","import event history"),o(b,"class","text-md bg-gray-200 p-2 font-medium"),o(y,"class","mt-4"),o(x,"class","mt-8 text-lg font-medium"),o(p,"class","h-40 text-center"),o(n,"class","w-full md:w-1/2"),o(t,"class","flex flex-col gap-4")},m(a,l){tt(a,t,l),s(t,e),s(e,r),s(r,I),s(e,J),s(e,E),C(v,E,null),s(t,L),s(t,n),s(n,b),s(b,A),s(n,F),s(n,y),C(d,y,null),s(n,M),s(n,x),s(x,P),s(n,T),s(n,p),C(h,p,null),s(p,z),C(g,p,null),O=!0},p(a,[l]){const _={};l&2&&(_.$$scope={dirty:l,ctx:a}),d.$set(_)},i(a){O||(D(v.$$.fragment,a),D(d.$$.fragment,a),D(h.$$.fragment,a),D(g.$$.fragment,a),O=!0)},o(a){S(v.$$.fragment,a),S(d.$$.fragment,a),S(h.$$.fragment,a),S(g.$$.fragment,a),O=!1},d(a){a&&i(t),N(v),N(d),N(h),N(g)}}}const ot="HistoryEvent[]";function it($){return[{events:"HistoryEvent[]"}]}class lt extends X{constructor(t){super(),Y(this,t,it,nt,Z,{})}}function ct($){let t,e;return t=new lt({}),{c(){k(t.$$.fragment)},l(r){V(t.$$.fragment,r)},m(r,I){C(t,r,I),e=!0},p:et,i(r){e||(D(t.$$.fragment,r),e=!0)},o(r){S(t.$$.fragment,r),e=!1},d(r){N(t,r)}}}class ut extends X{constructor(t){super(),Y(this,t,null,ct,Z,{})}}export{ut as default}; +import{S as X,b as Y,a as Z,m as c,w as q,c as w,C as k,p as m,q as f,x as G,k as i,d as H,D as V,u as o,f as tt,M as s,E as C,j as D,g as S,F as N,n as et}from"../chunks/index.d29c66be.js";import{E as rt}from"../chunks/event-history-file-import.21cce287.js";import{C as W}from"../chunks/code-block.fc92cd67.js";import{L as at}from"../chunks/link.d5f6f19e.js";function st($){let t;return{c(){t=q("View in Github")},l(e){t=G(e,"View in Github")},m(e,r){tt(e,t,r)},d(e){e&&i(t)}}}function nt($){let t,e,r,I,J,E,v,L,n,b,A,F,y,d,M,x,P,T,p,h,z,g,O;return v=new rt({}),d=new at({props:{target:"_blank",href:"https://github.com/temporalio/api/blob/1cd0ac0bbd8e71c7bfc9fe1900c678b432e66e5b/temporal/api/history/v1/message.proto",class:"mb-8",$$slots:{default:[st]},$$scope:{ctx:$}}}),h=new W({props:{content:$[0],inline:!0}}),g=new W({props:{content:ot,inline:!0}}),{c(){t=c("section"),e=c("nav"),r=c("h1"),I=q("Import Event History"),J=w(),E=c("div"),k(v.$$.fragment),L=w(),n=c("div"),b=c("code"),A=q("type HistoryEvent = temporal.api.history.v1.IHistoryEvent"),F=w(),y=c("div"),k(d.$$.fragment),M=w(),x=c("h3"),P=q("Expected JSON formats"),T=w(),p=c("div"),k(h.$$.fragment),z=w(),k(g.$$.fragment),this.h()},l(a){t=m(a,"SECTION",{class:!0});var l=f(t);e=m(l,"NAV",{id:!0,class:!0,"aria-label":!0});var _=f(e);r=m(_,"H1",{class:!0,"data-testid":!0});var B=f(r);I=G(B,"Import Event History"),B.forEach(i),J=H(_),E=m(_,"DIV",{class:!0});var K=f(E);V(v.$$.fragment,K),K.forEach(i),_.forEach(i),L=H(l),n=m(l,"DIV",{class:!0});var u=f(n);b=m(u,"CODE",{class:!0});var Q=f(b);A=G(Q,"type HistoryEvent = temporal.api.history.v1.IHistoryEvent"),Q.forEach(i),F=H(u),y=m(u,"DIV",{class:!0});var R=f(y);V(d.$$.fragment,R),R.forEach(i),M=H(u),x=m(u,"H3",{class:!0});var U=f(x);P=G(U,"Expected JSON formats"),U.forEach(i),T=H(u),p=m(u,"DIV",{class:!0});var j=f(p);V(h.$$.fragment,j),z=H(j),V(g.$$.fragment,j),j.forEach(i),u.forEach(i),l.forEach(i),this.h()},h(){o(r,"class","text-lg font-medium"),o(r,"data-testid","import-event-history"),o(E,"class","flex gap-4"),o(e,"id","event-history"),o(e,"class","block items-center justify-between gap-4 pb-4 lg:flex"),o(e,"aria-label","import event history"),o(b,"class","text-md bg-gray-200 p-2 font-medium"),o(y,"class","mt-4"),o(x,"class","mt-8 text-lg font-medium"),o(p,"class","h-40 text-center"),o(n,"class","w-full md:w-1/2"),o(t,"class","flex flex-col gap-4")},m(a,l){tt(a,t,l),s(t,e),s(e,r),s(r,I),s(e,J),s(e,E),C(v,E,null),s(t,L),s(t,n),s(n,b),s(b,A),s(n,F),s(n,y),C(d,y,null),s(n,M),s(n,x),s(x,P),s(n,T),s(n,p),C(h,p,null),s(p,z),C(g,p,null),O=!0},p(a,[l]){const _={};l&2&&(_.$$scope={dirty:l,ctx:a}),d.$set(_)},i(a){O||(D(v.$$.fragment,a),D(d.$$.fragment,a),D(h.$$.fragment,a),D(g.$$.fragment,a),O=!0)},o(a){S(v.$$.fragment,a),S(d.$$.fragment,a),S(h.$$.fragment,a),S(g.$$.fragment,a),O=!1},d(a){a&&i(t),N(v),N(d),N(h),N(g)}}}const ot="HistoryEvent[]";function it($){return[{events:"HistoryEvent[]"}]}class lt extends X{constructor(t){super(),Y(this,t,it,nt,Z,{})}}function ct($){let t,e;return t=new lt({}),{c(){k(t.$$.fragment)},l(r){V(t.$$.fragment,r)},m(r,I){C(t,r,I),e=!0},p:et,i(r){e||(D(t.$$.fragment,r),e=!0)},o(r){S(t.$$.fragment,r),e=!1},d(r){N(t,r)}}}class ut extends X{constructor(t){super(),Y(this,t,null,ct,Z,{})}}export{ut as default}; diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-import-layout.svelte.ef4c2c96.js b/ui/assets/local/_app/immutable/entry/(app)-import-layout.svelte.73b1b562.js similarity index 93% rename from ui/assets/cloud/_app/immutable/entry/(app)-import-layout.svelte.ef4c2c96.js rename to ui/assets/local/_app/immutable/entry/(app)-import-layout.svelte.73b1b562.js index a9f3d63b6b..691251ec0a 100644 --- a/ui/assets/cloud/_app/immutable/entry/(app)-import-layout.svelte.ef4c2c96.js +++ b/ui/assets/local/_app/immutable/entry/(app)-import-layout.svelte.73b1b562.js @@ -1 +1 @@ -import{S as u,b as _,a as m,G as c,C as $,c as g,D as d,d as b,E as h,f as y,H as C,I as E,J as H,j as f,g as p,F as I,k as L,L as P}from"../chunks/index.d29c66be.js";import{p as S}from"../chunks/stores.1f7fa6eb.js";import{P as j}from"../chunks/page-title.ba38eecf.js";function k(n){let s,o,a;s=new j({props:{title:"Import Event History",url:n[0].url.href}});const l=n[2].default,e=c(l,n,n[1],null);return{c(){$(s.$$.fragment),o=g(),e&&e.c()},l(t){d(s.$$.fragment,t),o=b(t),e&&e.l(t)},m(t,r){h(s,t,r),y(t,o,r),e&&e.m(t,r),a=!0},p(t,[r]){const i={};r&1&&(i.url=t[0].url.href),s.$set(i),e&&e.p&&(!a||r&2)&&C(e,l,t,t[1],a?H(l,t[1],r,null):E(t[1]),null)},i(t){a||(f(s.$$.fragment,t),f(e,t),a=!0)},o(t){p(s.$$.fragment,t),p(e,t),a=!1},d(t){I(s,t),t&&L(o),e&&e.d(t)}}}function q(n,s,o){let a;P(n,S,t=>o(0,a=t));let{$$slots:l={},$$scope:e}=s;return n.$$set=t=>{"$$scope"in t&&o(1,e=t.$$scope)},[a,e,l]}class F extends u{constructor(s){super(),_(this,s,q,k,m,{})}}export{F as default}; +import{S as u,b as _,a as m,G as c,C as $,c as g,D as d,d as b,E as h,f as y,H as C,I as E,J as H,j as f,g as p,F as I,k as L,L as P}from"../chunks/index.d29c66be.js";import{p as S}from"../chunks/stores.8c019868.js";import{P as j}from"../chunks/page-title.ba38eecf.js";function k(n){let s,o,a;s=new j({props:{title:"Import Event History",url:n[0].url.href}});const l=n[2].default,e=c(l,n,n[1],null);return{c(){$(s.$$.fragment),o=g(),e&&e.c()},l(t){d(s.$$.fragment,t),o=b(t),e&&e.l(t)},m(t,r){h(s,t,r),y(t,o,r),e&&e.m(t,r),a=!0},p(t,[r]){const i={};r&1&&(i.url=t[0].url.href),s.$set(i),e&&e.p&&(!a||r&2)&&C(e,l,t,t[1],a?H(l,t[1],r,null):E(t[1]),null)},i(t){a||(f(s.$$.fragment,t),f(e,t),a=!0)},o(t){p(s.$$.fragment,t),p(e,t),a=!1},d(t){I(s,t),t&&L(o),e&&e.d(t)}}}function q(n,s,o){let a;P(n,S,t=>o(0,a=t));let{$$slots:l={},$$scope:e}=s;return n.$$set=t=>{"$$scope"in t&&o(1,e=t.$$scope)},[a,e,l]}class F extends u{constructor(s){super(),_(this,s,q,k,m,{})}}export{F as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-import-layout.svelte.b6f54d72.js b/ui/assets/local/_app/immutable/entry/(app)-import-layout.svelte.b6f54d72.js deleted file mode 100644 index d1ff361b8b..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-import-layout.svelte.b6f54d72.js +++ /dev/null @@ -1 +0,0 @@ -import{S as u,b as _,a as m,G as c,C as $,c as g,D as d,d as b,E as h,f as y,H as C,I as E,J as H,j as f,g as p,F as I,k as L,L as P}from"../chunks/index.d29c66be.js";import{p as S}from"../chunks/stores.b938c0e3.js";import{P as j}from"../chunks/page-title.ba38eecf.js";function k(n){let s,o,a;s=new j({props:{title:"Import Event History",url:n[0].url.href}});const l=n[2].default,e=c(l,n,n[1],null);return{c(){$(s.$$.fragment),o=g(),e&&e.c()},l(t){d(s.$$.fragment,t),o=b(t),e&&e.l(t)},m(t,r){h(s,t,r),y(t,o,r),e&&e.m(t,r),a=!0},p(t,[r]){const i={};r&1&&(i.url=t[0].url.href),s.$set(i),e&&e.p&&(!a||r&2)&&C(e,l,t,t[1],a?H(l,t[1],r,null):E(t[1]),null)},i(t){a||(f(s.$$.fragment,t),f(e,t),a=!0)},o(t){p(s.$$.fragment,t),p(e,t),a=!1},d(t){I(s,t),t&&L(o),e&&e.d(t)}}}function q(n,s,o){let a;P(n,S,t=>o(0,a=t));let{$$slots:l={},$$scope:e}=s;return n.$$set=t=>{"$$scope"in t&&o(1,e=t.$$scope)},[a,e,l]}class F extends u{constructor(s){super(),_(this,s,q,k,m,{})}}export{F as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-import-page.ts.8408d04a.js b/ui/assets/local/_app/immutable/entry/(app)-import-page.ts.8408d04a.js deleted file mode 100644 index b93bd7818c..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-import-page.ts.8408d04a.js +++ /dev/null @@ -1 +0,0 @@ -import"../chunks/index.b1f5b21f.js";import"../chunks/route-for.b4518ba8.js";import{l as t}from"../chunks/_page.b25cff4d.js";export{t as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-import-page.ts.e49c4eb8.js b/ui/assets/local/_app/immutable/entry/(app)-import-page.ts.e49c4eb8.js new file mode 100644 index 0000000000..0e62fe4727 --- /dev/null +++ b/ui/assets/local/_app/immutable/entry/(app)-import-page.ts.e49c4eb8.js @@ -0,0 +1 @@ +import"../chunks/index.b1f5b21f.js";import"../chunks/route-for.3e9c6ff4.js";import{l as t}from"../chunks/_page.5ea3b623.js";export{t as load}; diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-layout.svelte.c2defaca.js b/ui/assets/local/_app/immutable/entry/(app)-layout.svelte.61e45ab4.js similarity index 99% rename from ui/assets/cloud/_app/immutable/entry/(app)-layout.svelte.c2defaca.js rename to ui/assets/local/_app/immutable/entry/(app)-layout.svelte.61e45ab4.js index f74c8c5353..447294b59c 100644 --- a/ui/assets/cloud/_app/immutable/entry/(app)-layout.svelte.c2defaca.js +++ b/ui/assets/local/_app/immutable/entry/(app)-layout.svelte.61e45ab4.js @@ -1,4 +1,4 @@ -import{K as ln,S as re,b as oe,a as ne,e as ee,f as I,n as fe,k as _,L as x,O as ke,P as Le,m as $,w as R,c as U,p as b,q as k,x as H,d as j,u as m,X as ye,M as v,U as pe,y as we,j as h,g,A as Ce,Y as Te,C as T,D as V,E as D,Z as Ve,F as B,z as he,h as ge,s as Re,_ as ve,G,H as X,I as J,J as Q,$ as rn,a0 as pt,N as pn,a1 as hn,a2 as gn,i as it,T as te,o as vn,a3 as Ge,a4 as Xe,v as ht,R as gt,V as on,a5 as je,a6 as $n,a7 as bn,a8 as We,W as an,r as Ze,Q as fn,a9 as kn,aa as wn,ab as vt}from"../chunks/index.d29c66be.js";import{p as Be,u as En}from"../chunks/stores.1f7fa6eb.js";import{a as un,c as Cn}from"../chunks/auth-user.ead5c000.js";import{g as $t}from"../chunks/navigation.529c81bc.js";import{r as qe,a as In,b as Tn,c as bt,d as Vn,e as Dn}from"../chunks/route-for.5e008fb6.js";import{i as cn}from"../chunks/version-check.d006b302.js";import{p as at}from"../chunks/persist-store.bb6871e4.js";import{n as Je}from"../chunks/route-for-api.5906c1df.js";import{E as Bn}from"../chunks/error.0aaac20c.js";import{w as Qe,d as Nn}from"../chunks/index.255b7490.js";import{I as Ln,f as Ye,T as He}from"../chunks/tooltip.ca813c82.js";import{t as kt}from"../chunks/toaster.fda31b2d.js";import{l as ze,n as Sn}from"../chunks/namespaces.52575875.js";import{w as wt,a as Et}from"../chunks/filters.2ba801c3.js";import{I as $e}from"../chunks/icon.5aa23970.js";import{M as yn}from"../chunks/modal.765fc6dd.js";import{B as xe}from"../chunks/button.e7112b29.js";import{i as An}from"../chunks/settings-service.3ce5ddfc.js";import{B as Pn}from"../chunks/badge.2c189bf4.js";import{M as Un,a as jn,b as Fn,c as Ct}from"../chunks/menu-item.be414f05.js";import{E as Mn}from"../chunks/empty-state.bf113865.js";import{I as On}from"../chunks/input.0adb9ec6.js";import{d as et,l as Rn}from"../chunks/data-converter-config.816c1717.js";import{c as tt,o as nt,l as Hn,i as It,p as Tt,v as qn,a as Wn}from"../chunks/is-http.91300684.js";import{c as zn}from"../chunks/outside-click.0db702a6.js";import{T as Vt}from"../chunks/toggle-switch.58d0ba8c.js";import{r as Dt}from"../chunks/workflow-run.2461dc7d.js";import{A as Kn}from"../chunks/accordion.2f807bee.js";var Ke=(l=>(l[l.TemporalVersion=1]="TemporalVersion",l[l.UIVersion=2]="UIVersion",l))(Ke||{});const st=at("closedBanners",null),Zn=l=>{let e=ln(st)??[];e=[...e,l],e=e.slice(e.length-10,e.length),st.set(e)};function Bt(l){let e,n,t,s,r,o,a,i,u,f;return{c(){e=$("section"),n=$("a"),t=R(l[2]),s=U(),r=$("button"),o=R("✕"),this.h()},l(c){e=b(c,"SECTION",{class:!0,"data-testid":!0});var d=k(e);n=b(d,"A",{href:!0,target:!0,rel:!0});var p=k(n);t=H(p,l[2]),p.forEach(_),s=j(d),r=b(d,"BUTTON",{class:!0,"data-testid":!0});var C=k(r);o=H(C,"✕"),C.forEach(_),d.forEach(_),this.h()},h(){m(n,"href",l[3]),m(n,"target","_blank"),m(n,"rel","noreferrer"),m(r,"class","text-black-600 absolute top-0 right-0 mr-5"),m(r,"data-testid","close-banner"),m(e,"class",a=ye(`relative block text-center leading-10 ${l[1]}`)+" svelte-1xgik0j"),m(e,"data-testid",i=l[5].testId)},m(c,d){I(c,e,d),v(e,n),v(n,t),v(e,s),v(e,r),v(r,o),u||(f=pe(r,"click",l[8]),u=!0)},p(c,d){d&4&&we(t,c[2]),d&8&&m(n,"href",c[3]),d&2&&a!==(a=ye(`relative block text-center leading-10 ${c[1]}`)+" svelte-1xgik0j")&&m(e,"class",a),d&32&&i!==(i=c[5].testId)&&m(e,"data-testid",i)},d(c){c&&_(e),u=!1,f()}}}function Gn(l){let e,n=l[4]&&Bt(l);return{c(){n&&n.c(),e=ee()},l(t){n&&n.l(t),e=ee()},m(t,s){n&&n.m(t,s),I(t,e,s)},p(t,[s]){t[4]?n?n.p(t,s):(n=Bt(t),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},i:fe,o:fe,d(t){n&&n.d(t),t&&_(e)}}}function Xn(l,e,n){let t,s;x(l,st,c=>n(7,s=c));let{key:r}=e,{severity:o}=e,{message:a}=e,{link:i}=e,{shownBanner:u}=e;const f=()=>Zn(r);return l.$$set=c=>{n(5,e=ke(ke({},e),Le(c))),"key"in c&&n(0,r=c.key),"severity"in c&&n(1,o=c.severity),"message"in c&&n(2,a=c.message),"link"in c&&n(3,i=c.link),"shownBanner"in c&&n(6,u=c.shownBanner)},l.$$.update=()=>{l.$$.dirty&129&&n(4,t=!(s??[]).includes(r)),l.$$.dirty&80&&(t||n(6,u++,u))},e=Le(e),[r,o,a,i,t,e,u,s,f]}class dn extends re{constructor(e){super(),oe(this,e,Xn,Gn,ne,{key:0,severity:1,message:2,link:3,shownBanner:6})}}function Jn(l){let e,n,t;function s(o){l[6](o)}let r={key:l[2],severity:l[1],message:l[5],link:l[3],testId:"temporal-version-banner"};return l[0]!==void 0&&(r.shownBanner=l[0]),e=new dn({props:r}),Ce.push(()=>Te(e,"shownBanner",s)),{c(){T(e.$$.fragment)},l(o){V(e.$$.fragment,o)},m(o,a){D(e,o,a),t=!0},p(o,a){const i={};!n&&a&1&&(n=!0,i.shownBanner=o[0],Ve(()=>n=!1)),e.$set(i)},i(o){t||(h(e.$$.fragment,o),t=!0)},o(o){g(e.$$.fragment,o),t=!1},d(o){B(e,o)}}}function Qn(l){let e,n,t=l[4]&&Jn(l);return{c(){t&&t.c(),e=ee()},l(s){t&&t.l(s),e=ee()},m(s,r){t&&t.m(s,r),I(s,e,r),n=!0},p(s,[r]){s[4]&&t.p(s,r)},i(s){n||(h(t),n=!0)},o(s){g(t),n=!1},d(s){t&&t.d(s),s&&_(e)}}}function Yn(l,e,n){let t;x(l,Be,w=>n(12,t=w));var s,r,o,a,i;let{shownBanner:u}=e;const{cluster:f}=t.data,c={High:"high",Medium:"medium",Low:"low"},{recommended:d,current:p}=(s=f==null?void 0:f.versionInfo)!==null&&s!==void 0?s:{},C=(o=(r=f==null?void 0:f.versionInfo)===null||r===void 0?void 0:r.alerts)===null||o===void 0?void 0:o[0],N=C?c[C.severity]:c.Low,L=`server-v${p==null?void 0:p.version}`,E=`https://github.com/temporalio/temporal/releases/tag/v${(i=(a=f==null?void 0:f.versionInfo)===null||a===void 0?void 0:a.recommended)===null||i===void 0?void 0:i.version}`,P=cn(d==null?void 0:d.version,p==null?void 0:p.version),y=N===c.Low?`📥 Temporal v${d==null?void 0:d.version} is available`:`📥 ${C==null?void 0:C.message}`;function S(w){u=w,n(0,u)}return l.$$set=w=>{"shownBanner"in w&&n(0,u=w.shownBanner)},[u,N,L,E,P,y,S]}class xn extends re{constructor(e){super(),oe(this,e,Yn,Qn,ne,{shownBanner:0})}}function es(l){let e,n,t;function s(o){l[6](o)}let r={key:l[1],severity:ns,message:l[2],link:l[4],testId:"ui-version-banner"};return l[0]!==void 0&&(r.shownBanner=l[0]),e=new dn({props:r}),Ce.push(()=>Te(e,"shownBanner",s)),{c(){T(e.$$.fragment)},l(o){V(e.$$.fragment,o)},m(o,a){D(e,o,a),t=!0},p(o,a){const i={};!n&&a&1&&(n=!0,i.shownBanner=o[0],Ve(()=>n=!1)),e.$set(i)},i(o){t||(h(e.$$.fragment,o),t=!0)},o(o){g(e.$$.fragment,o),t=!1},d(o){B(e,o)}}}function ts(l){let e,n,t=l[3]&&es(l);return{c(){t&&t.c(),e=ee()},l(s){t&&t.l(s),e=ee()},m(s,r){t&&t.m(s,r),I(s,e,r),n=!0},p(s,[r]){s[3]&&t.p(s,r)},i(s){n||(h(t),n=!0)},o(s){g(t),n=!1},d(s){t&&t.d(s),s&&_(e)}}}const ns="low";function ss(l,e,n){let{shownBanner:t}=e,{uiVersionInfo:s}=e;const r=`ui-v${s==null?void 0:s.current}`,o=`📥 Temporal UI v${s==null?void 0:s.recommended} is available`,a=cn(s==null?void 0:s.recommended,s==null?void 0:s.current),i=`https://github.com/temporalio/ui-server/releases/tag/v${s==null?void 0:s.recommended}`;function u(f){t=f,n(0,t)}return l.$$set=f=>{"shownBanner"in f&&n(0,t=f.shownBanner),"uiVersionInfo"in f&&n(5,s=f.uiVersionInfo)},[t,r,o,a,i,s,u]}class ls extends re{constructor(e){super(),oe(this,e,ss,ts,ne,{shownBanner:0,uiVersionInfo:5})}}function rs(l){let e,n,t,s;const r=[is,os],o=[];function a(i,u){return i[1]===Ke.TemporalVersion?0:i[1]===Ke.UIVersion?1:-1}return~(e=a(l))&&(n=o[e]=r[e](l)),{c(){n&&n.c(),t=ee()},l(i){n&&n.l(i),t=ee()},m(i,u){~e&&o[e].m(i,u),I(i,t,u),s=!0},p(i,u){let f=e;e=a(i),e===f?~e&&o[e].p(i,u):(n&&(he(),g(o[f],1,1,()=>{o[f]=null}),ge()),~e?(n=o[e],n?n.p(i,u):(n=o[e]=r[e](i),n.c()),h(n,1),n.m(t.parentNode,t)):n=null)},i(i){s||(h(n),s=!0)},o(i){g(n),s=!1},d(i){~e&&o[e].d(i),i&&_(t)}}}function os(l){let e,n,t;function s(o){l[4](o)}let r={uiVersionInfo:l[0]};return l[1]!==void 0&&(r.shownBanner=l[1]),e=new ls({props:r}),Ce.push(()=>Te(e,"shownBanner",s)),{c(){T(e.$$.fragment)},l(o){V(e.$$.fragment,o)},m(o,a){D(e,o,a),t=!0},p(o,a){const i={};a&1&&(i.uiVersionInfo=o[0]),!n&&a&2&&(n=!0,i.shownBanner=o[1],Ve(()=>n=!1)),e.$set(i)},i(o){t||(h(e.$$.fragment,o),t=!0)},o(o){g(e.$$.fragment,o),t=!1},d(o){B(e,o)}}}function is(l){let e,n,t;function s(o){l[3](o)}let r={};return l[1]!==void 0&&(r.shownBanner=l[1]),e=new xn({props:r}),Ce.push(()=>Te(e,"shownBanner",s)),{c(){T(e.$$.fragment)},l(o){V(e.$$.fragment,o)},m(o,a){D(e,o,a),t=!0},p(o,a){const i={};!n&&a&2&&(n=!0,i.shownBanner=o[1],Ve(()=>n=!1)),e.$set(i)},i(o){t||(h(e.$$.fragment,o),t=!0)},o(o){g(e.$$.fragment,o),t=!1},d(o){B(e,o)}}}function as(l){let e,n,t=l[2]&&rs(l);return{c(){t&&t.c(),e=ee()},l(s){t&&t.l(s),e=ee()},m(s,r){t&&t.m(s,r),I(s,e,r),n=!0},p(s,[r]){s[2]&&t.p(s,r)},i(s){n||(h(t),n=!0)},o(s){g(t),n=!1},d(s){t&&t.d(s),s&&_(e)}}}function fs(l,e,n){let t;x(l,Be,f=>n(6,t=f));var s;let{uiVersionInfo:r}=e,o=Ke.TemporalVersion;const a=(s=t.data)===null||s===void 0?void 0:s.settings.notifyOnNewVersion;function i(f){o=f,n(1,o)}function u(f){o=f,n(1,o)}return l.$$set=f=>{"uiVersionInfo"in f&&n(0,r=f.uiVersionInfo)},[r,o,a,i,u]}class us extends re{constructor(e){super(),oe(this,e,fs,as,ne,{uiVersionInfo:0})}}function cs(l){let e;const n=l[7].default,t=G(n,l,l[6],null);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,r){t&&t.m(s,r),e=!0},p(s,r){t&&t.p&&(!e||r&64)&&X(t,n,s,s[6],e?Q(n,s[6],r,null):J(s[6]),null)},i(s){e||(h(t,s),e=!0)},o(s){g(t,s),e=!1},d(s){t&&t.d(s)}}}function ds(l){let e,n;return e=new Bn({props:{error:l[1]}}),e.$on("clearError",l[2]),{c(){T(e.$$.fragment)},l(t){V(e.$$.fragment,t)},m(t,s){D(e,t,s),n=!0},p(t,s){const r={};s&2&&(r.error=t[1]),e.$set(r)},i(t){n||(h(e.$$.fragment,t),n=!0)},o(t){g(e.$$.fragment,t),n=!1},d(t){B(e,t)}}}function ms(l){let e,n,t,s;const r=[ds,cs],o=[];function a(i,u){return i[1]?0:1}return e=a(l),n=o[e]=r[e](l),{c(){n.c(),t=ee()},l(i){n.l(i),t=ee()},m(i,u){o[e].m(i,u),I(i,t,u),s=!0},p(i,[u]){let f=e;e=a(i),e===f?o[e].p(i,u):(he(),g(o[f],1,1,()=>{o[f]=null}),ge(),n=o[e],n?n.p(i,u):(n=o[e]=r[e](i),n.c()),h(n,1),n.m(t.parentNode,t))},i(i){s||(h(n),s=!0)},o(i){g(n),s=!1},d(i){o[e].d(i),i&&_(t)}}}function _s(l,e,n){let t,s,r=fe,o=()=>(r(),r=Re(u,p=>n(5,s=p)),u);x(l,Je,p=>n(4,t=p)),l.$$.on_destroy.push(()=>r());let{$$slots:a={},$$scope:i}=e,{error:u=null}=e;o();let{onError:f=null}=e,c;function d(){ve(u,s=null,s),n(3,f=null),n(1,c=null),ve(Je,t=null,t)}return l.$$set=p=>{"error"in p&&o(n(0,u=p.error)),"onError"in p&&n(3,f=p.onError),"$$scope"in p&&n(6,i=p.$$scope)},l.$$.update=()=>{l.$$.dirty&59&&(u&&s&&n(1,c=u),Je&&t&&n(1,c=t),f&&c&&f(c))},[u,c,d,f,t,s,i,a]}class ps extends re{constructor(e){super(),oe(this,e,_s,ms,ne,{error:0,onError:3})}}const hs=l=>({}),Nt=l=>({});function gs(l){let e;const n=l[3].default,t=G(n,l,l[2],null);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,r){t&&t.m(s,r),e=!0},p(s,r){t&&t.p&&(!e||r&4)&&X(t,n,s,s[2],e?Q(n,s[2],r,null):J(s[2]),null)},i(s){e||(h(t,s),e=!0)},o(s){g(t,s),e=!1},d(s){t&&t.d(s)}}}function vs(l){let e;const n=l[3].fallback,t=G(n,l,l[2],Nt),s=t||$s();return{c(){s&&s.c()},l(r){s&&s.l(r)},m(r,o){s&&s.m(r,o),e=!0},p(r,o){t&&t.p&&(!e||o&4)&&X(t,n,r,r[2],e?Q(n,r[2],o,hs):J(r[2]),Nt)},i(r){e||(h(s,r),e=!0)},o(r){g(s,r),e=!1},d(r){s&&s.d(r)}}}function $s(l){let e;return{c(){e=R("Error Rendering Component")},l(n){e=H(n,"Error Rendering Component")},m(n,t){I(n,e,t)},d(n){n&&_(e)}}}function bs(l){let e,n,t,s;const r=[vs,gs],o=[];function a(i,u){return i[1]?0:1}return e=a(l),n=o[e]=r[e](l),{c(){n.c(),t=ee()},l(i){n.l(i),t=ee()},m(i,u){o[e].m(i,u),I(i,t,u),s=!0},p(i,[u]){let f=e;e=a(i),e===f?o[e].p(i,u):(he(),g(o[f],1,1,()=>{o[f]=null}),ge(),n=o[e],n?n.p(i,u):(n=o[e]=r[e](i),n.c()),h(n,1),n.m(t.parentNode,t))},i(i){s||(h(n),s=!0)},o(i){g(n),s=!1},d(i){o[e].d(i),i&&_(t)}}}function ks(l,e,n){let t,s=fe,r=()=>(s(),s=Re(i,u=>n(1,t=u)),i);l.$$.on_destroy.push(()=>s());let{$$slots:o={},$$scope:a}=e,{error:i=null}=e;return r(),l.$$set=u=>{"error"in u&&r(n(0,i=u.error)),"$$scope"in u&&n(2,a=u.$$scope)},[i,t,a,o]}class ws extends re{constructor(e){super(),oe(this,e,ks,bs,ne,{error:0})}}function Es(l){let e;const n=l[5].default,t=G(n,l,l[4],null);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,r){t&&t.m(s,r),e=!0},p(s,r){t&&t.p&&(!e||r&16)&&X(t,n,s,s[4],e?Q(n,s[4],r,null):J(s[4]),null)},i(s){e||(h(t,s),e=!0)},o(s){g(t,s),e=!1},d(s){t&&t.d(s)}}}function Cs(l){let e,n,t=l[1].message+"",s,r,o,a,i=(l[2]?l[1].stack:"")+"",u,f;return{c(){e=$("div"),n=$("b"),s=R(t),r=U(),o=$("pre"),a=R(" "),u=R(i),f=R(` +import{K as ln,S as re,b as oe,a as ne,e as ee,f as I,n as fe,k as _,L as x,O as ke,P as Le,m as $,w as R,c as U,p as b,q as k,x as H,d as j,u as m,X as ye,M as v,U as pe,y as we,j as h,g,A as Ce,Y as Te,C as T,D as V,E as D,Z as Ve,F as B,z as he,h as ge,s as Re,_ as ve,G,H as X,I as J,J as Q,$ as rn,a0 as pt,N as pn,a1 as hn,a2 as gn,i as it,T as te,o as vn,a3 as Ge,a4 as Xe,v as ht,R as gt,V as on,a5 as je,a6 as $n,a7 as bn,a8 as We,W as an,r as Ze,Q as fn,a9 as kn,aa as wn,ab as vt}from"../chunks/index.d29c66be.js";import{p as Be,u as En}from"../chunks/stores.8c019868.js";import{a as un,c as Cn}from"../chunks/auth-user.ead5c000.js";import{g as $t}from"../chunks/navigation.e41eebee.js";import{r as qe,a as In,b as Tn,c as bt,d as Vn,e as Dn}from"../chunks/route-for.3e9c6ff4.js";import{i as cn}from"../chunks/version-check.d006b302.js";import{p as at}from"../chunks/persist-store.bb6871e4.js";import{n as Je}from"../chunks/route-for-api.851ff400.js";import{E as Bn}from"../chunks/error.78b7832f.js";import{w as Qe,d as Nn}from"../chunks/index.255b7490.js";import{I as Ln,f as Ye,T as He}from"../chunks/tooltip.ca813c82.js";import{t as kt}from"../chunks/toaster.fda31b2d.js";import{l as ze,n as Sn}from"../chunks/namespaces.52575875.js";import{w as wt,a as Et}from"../chunks/filters.9cc46c9a.js";import{I as $e}from"../chunks/icon.5aa23970.js";import{M as yn}from"../chunks/modal.765fc6dd.js";import{B as xe}from"../chunks/button.e7112b29.js";import{i as An}from"../chunks/settings-service.4436430b.js";import{B as Pn}from"../chunks/badge.2c189bf4.js";import{M as Un,a as jn,b as Fn,c as Ct}from"../chunks/menu-item.be414f05.js";import{E as Mn}from"../chunks/empty-state.bf113865.js";import{I as On}from"../chunks/input.0adb9ec6.js";import{d as et,l as Rn}from"../chunks/data-converter-config.816c1717.js";import{c as tt,o as nt,l as Hn,i as It,p as Tt,v as qn,a as Wn}from"../chunks/is-http.91300684.js";import{c as zn}from"../chunks/outside-click.0db702a6.js";import{T as Vt}from"../chunks/toggle-switch.58d0ba8c.js";import{r as Dt}from"../chunks/workflow-run.2461dc7d.js";import{A as Kn}from"../chunks/accordion.2f807bee.js";var Ke=(l=>(l[l.TemporalVersion=1]="TemporalVersion",l[l.UIVersion=2]="UIVersion",l))(Ke||{});const st=at("closedBanners",null),Zn=l=>{let e=ln(st)??[];e=[...e,l],e=e.slice(e.length-10,e.length),st.set(e)};function Bt(l){let e,n,t,s,r,o,a,i,u,f;return{c(){e=$("section"),n=$("a"),t=R(l[2]),s=U(),r=$("button"),o=R("✕"),this.h()},l(c){e=b(c,"SECTION",{class:!0,"data-testid":!0});var d=k(e);n=b(d,"A",{href:!0,target:!0,rel:!0});var p=k(n);t=H(p,l[2]),p.forEach(_),s=j(d),r=b(d,"BUTTON",{class:!0,"data-testid":!0});var C=k(r);o=H(C,"✕"),C.forEach(_),d.forEach(_),this.h()},h(){m(n,"href",l[3]),m(n,"target","_blank"),m(n,"rel","noreferrer"),m(r,"class","text-black-600 absolute top-0 right-0 mr-5"),m(r,"data-testid","close-banner"),m(e,"class",a=ye(`relative block text-center leading-10 ${l[1]}`)+" svelte-1xgik0j"),m(e,"data-testid",i=l[5].testId)},m(c,d){I(c,e,d),v(e,n),v(n,t),v(e,s),v(e,r),v(r,o),u||(f=pe(r,"click",l[8]),u=!0)},p(c,d){d&4&&we(t,c[2]),d&8&&m(n,"href",c[3]),d&2&&a!==(a=ye(`relative block text-center leading-10 ${c[1]}`)+" svelte-1xgik0j")&&m(e,"class",a),d&32&&i!==(i=c[5].testId)&&m(e,"data-testid",i)},d(c){c&&_(e),u=!1,f()}}}function Gn(l){let e,n=l[4]&&Bt(l);return{c(){n&&n.c(),e=ee()},l(t){n&&n.l(t),e=ee()},m(t,s){n&&n.m(t,s),I(t,e,s)},p(t,[s]){t[4]?n?n.p(t,s):(n=Bt(t),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},i:fe,o:fe,d(t){n&&n.d(t),t&&_(e)}}}function Xn(l,e,n){let t,s;x(l,st,c=>n(7,s=c));let{key:r}=e,{severity:o}=e,{message:a}=e,{link:i}=e,{shownBanner:u}=e;const f=()=>Zn(r);return l.$$set=c=>{n(5,e=ke(ke({},e),Le(c))),"key"in c&&n(0,r=c.key),"severity"in c&&n(1,o=c.severity),"message"in c&&n(2,a=c.message),"link"in c&&n(3,i=c.link),"shownBanner"in c&&n(6,u=c.shownBanner)},l.$$.update=()=>{l.$$.dirty&129&&n(4,t=!(s??[]).includes(r)),l.$$.dirty&80&&(t||n(6,u++,u))},e=Le(e),[r,o,a,i,t,e,u,s,f]}class dn extends re{constructor(e){super(),oe(this,e,Xn,Gn,ne,{key:0,severity:1,message:2,link:3,shownBanner:6})}}function Jn(l){let e,n,t;function s(o){l[6](o)}let r={key:l[2],severity:l[1],message:l[5],link:l[3],testId:"temporal-version-banner"};return l[0]!==void 0&&(r.shownBanner=l[0]),e=new dn({props:r}),Ce.push(()=>Te(e,"shownBanner",s)),{c(){T(e.$$.fragment)},l(o){V(e.$$.fragment,o)},m(o,a){D(e,o,a),t=!0},p(o,a){const i={};!n&&a&1&&(n=!0,i.shownBanner=o[0],Ve(()=>n=!1)),e.$set(i)},i(o){t||(h(e.$$.fragment,o),t=!0)},o(o){g(e.$$.fragment,o),t=!1},d(o){B(e,o)}}}function Qn(l){let e,n,t=l[4]&&Jn(l);return{c(){t&&t.c(),e=ee()},l(s){t&&t.l(s),e=ee()},m(s,r){t&&t.m(s,r),I(s,e,r),n=!0},p(s,[r]){s[4]&&t.p(s,r)},i(s){n||(h(t),n=!0)},o(s){g(t),n=!1},d(s){t&&t.d(s),s&&_(e)}}}function Yn(l,e,n){let t;x(l,Be,w=>n(12,t=w));var s,r,o,a,i;let{shownBanner:u}=e;const{cluster:f}=t.data,c={High:"high",Medium:"medium",Low:"low"},{recommended:d,current:p}=(s=f==null?void 0:f.versionInfo)!==null&&s!==void 0?s:{},C=(o=(r=f==null?void 0:f.versionInfo)===null||r===void 0?void 0:r.alerts)===null||o===void 0?void 0:o[0],N=C?c[C.severity]:c.Low,L=`server-v${p==null?void 0:p.version}`,E=`https://github.com/temporalio/temporal/releases/tag/v${(i=(a=f==null?void 0:f.versionInfo)===null||a===void 0?void 0:a.recommended)===null||i===void 0?void 0:i.version}`,P=cn(d==null?void 0:d.version,p==null?void 0:p.version),y=N===c.Low?`📥 Temporal v${d==null?void 0:d.version} is available`:`📥 ${C==null?void 0:C.message}`;function S(w){u=w,n(0,u)}return l.$$set=w=>{"shownBanner"in w&&n(0,u=w.shownBanner)},[u,N,L,E,P,y,S]}class xn extends re{constructor(e){super(),oe(this,e,Yn,Qn,ne,{shownBanner:0})}}function es(l){let e,n,t;function s(o){l[6](o)}let r={key:l[1],severity:ns,message:l[2],link:l[4],testId:"ui-version-banner"};return l[0]!==void 0&&(r.shownBanner=l[0]),e=new dn({props:r}),Ce.push(()=>Te(e,"shownBanner",s)),{c(){T(e.$$.fragment)},l(o){V(e.$$.fragment,o)},m(o,a){D(e,o,a),t=!0},p(o,a){const i={};!n&&a&1&&(n=!0,i.shownBanner=o[0],Ve(()=>n=!1)),e.$set(i)},i(o){t||(h(e.$$.fragment,o),t=!0)},o(o){g(e.$$.fragment,o),t=!1},d(o){B(e,o)}}}function ts(l){let e,n,t=l[3]&&es(l);return{c(){t&&t.c(),e=ee()},l(s){t&&t.l(s),e=ee()},m(s,r){t&&t.m(s,r),I(s,e,r),n=!0},p(s,[r]){s[3]&&t.p(s,r)},i(s){n||(h(t),n=!0)},o(s){g(t),n=!1},d(s){t&&t.d(s),s&&_(e)}}}const ns="low";function ss(l,e,n){let{shownBanner:t}=e,{uiVersionInfo:s}=e;const r=`ui-v${s==null?void 0:s.current}`,o=`📥 Temporal UI v${s==null?void 0:s.recommended} is available`,a=cn(s==null?void 0:s.recommended,s==null?void 0:s.current),i=`https://github.com/temporalio/ui-server/releases/tag/v${s==null?void 0:s.recommended}`;function u(f){t=f,n(0,t)}return l.$$set=f=>{"shownBanner"in f&&n(0,t=f.shownBanner),"uiVersionInfo"in f&&n(5,s=f.uiVersionInfo)},[t,r,o,a,i,s,u]}class ls extends re{constructor(e){super(),oe(this,e,ss,ts,ne,{shownBanner:0,uiVersionInfo:5})}}function rs(l){let e,n,t,s;const r=[is,os],o=[];function a(i,u){return i[1]===Ke.TemporalVersion?0:i[1]===Ke.UIVersion?1:-1}return~(e=a(l))&&(n=o[e]=r[e](l)),{c(){n&&n.c(),t=ee()},l(i){n&&n.l(i),t=ee()},m(i,u){~e&&o[e].m(i,u),I(i,t,u),s=!0},p(i,u){let f=e;e=a(i),e===f?~e&&o[e].p(i,u):(n&&(he(),g(o[f],1,1,()=>{o[f]=null}),ge()),~e?(n=o[e],n?n.p(i,u):(n=o[e]=r[e](i),n.c()),h(n,1),n.m(t.parentNode,t)):n=null)},i(i){s||(h(n),s=!0)},o(i){g(n),s=!1},d(i){~e&&o[e].d(i),i&&_(t)}}}function os(l){let e,n,t;function s(o){l[4](o)}let r={uiVersionInfo:l[0]};return l[1]!==void 0&&(r.shownBanner=l[1]),e=new ls({props:r}),Ce.push(()=>Te(e,"shownBanner",s)),{c(){T(e.$$.fragment)},l(o){V(e.$$.fragment,o)},m(o,a){D(e,o,a),t=!0},p(o,a){const i={};a&1&&(i.uiVersionInfo=o[0]),!n&&a&2&&(n=!0,i.shownBanner=o[1],Ve(()=>n=!1)),e.$set(i)},i(o){t||(h(e.$$.fragment,o),t=!0)},o(o){g(e.$$.fragment,o),t=!1},d(o){B(e,o)}}}function is(l){let e,n,t;function s(o){l[3](o)}let r={};return l[1]!==void 0&&(r.shownBanner=l[1]),e=new xn({props:r}),Ce.push(()=>Te(e,"shownBanner",s)),{c(){T(e.$$.fragment)},l(o){V(e.$$.fragment,o)},m(o,a){D(e,o,a),t=!0},p(o,a){const i={};!n&&a&2&&(n=!0,i.shownBanner=o[1],Ve(()=>n=!1)),e.$set(i)},i(o){t||(h(e.$$.fragment,o),t=!0)},o(o){g(e.$$.fragment,o),t=!1},d(o){B(e,o)}}}function as(l){let e,n,t=l[2]&&rs(l);return{c(){t&&t.c(),e=ee()},l(s){t&&t.l(s),e=ee()},m(s,r){t&&t.m(s,r),I(s,e,r),n=!0},p(s,[r]){s[2]&&t.p(s,r)},i(s){n||(h(t),n=!0)},o(s){g(t),n=!1},d(s){t&&t.d(s),s&&_(e)}}}function fs(l,e,n){let t;x(l,Be,f=>n(6,t=f));var s;let{uiVersionInfo:r}=e,o=Ke.TemporalVersion;const a=(s=t.data)===null||s===void 0?void 0:s.settings.notifyOnNewVersion;function i(f){o=f,n(1,o)}function u(f){o=f,n(1,o)}return l.$$set=f=>{"uiVersionInfo"in f&&n(0,r=f.uiVersionInfo)},[r,o,a,i,u]}class us extends re{constructor(e){super(),oe(this,e,fs,as,ne,{uiVersionInfo:0})}}function cs(l){let e;const n=l[7].default,t=G(n,l,l[6],null);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,r){t&&t.m(s,r),e=!0},p(s,r){t&&t.p&&(!e||r&64)&&X(t,n,s,s[6],e?Q(n,s[6],r,null):J(s[6]),null)},i(s){e||(h(t,s),e=!0)},o(s){g(t,s),e=!1},d(s){t&&t.d(s)}}}function ds(l){let e,n;return e=new Bn({props:{error:l[1]}}),e.$on("clearError",l[2]),{c(){T(e.$$.fragment)},l(t){V(e.$$.fragment,t)},m(t,s){D(e,t,s),n=!0},p(t,s){const r={};s&2&&(r.error=t[1]),e.$set(r)},i(t){n||(h(e.$$.fragment,t),n=!0)},o(t){g(e.$$.fragment,t),n=!1},d(t){B(e,t)}}}function ms(l){let e,n,t,s;const r=[ds,cs],o=[];function a(i,u){return i[1]?0:1}return e=a(l),n=o[e]=r[e](l),{c(){n.c(),t=ee()},l(i){n.l(i),t=ee()},m(i,u){o[e].m(i,u),I(i,t,u),s=!0},p(i,[u]){let f=e;e=a(i),e===f?o[e].p(i,u):(he(),g(o[f],1,1,()=>{o[f]=null}),ge(),n=o[e],n?n.p(i,u):(n=o[e]=r[e](i),n.c()),h(n,1),n.m(t.parentNode,t))},i(i){s||(h(n),s=!0)},o(i){g(n),s=!1},d(i){o[e].d(i),i&&_(t)}}}function _s(l,e,n){let t,s,r=fe,o=()=>(r(),r=Re(u,p=>n(5,s=p)),u);x(l,Je,p=>n(4,t=p)),l.$$.on_destroy.push(()=>r());let{$$slots:a={},$$scope:i}=e,{error:u=null}=e;o();let{onError:f=null}=e,c;function d(){ve(u,s=null,s),n(3,f=null),n(1,c=null),ve(Je,t=null,t)}return l.$$set=p=>{"error"in p&&o(n(0,u=p.error)),"onError"in p&&n(3,f=p.onError),"$$scope"in p&&n(6,i=p.$$scope)},l.$$.update=()=>{l.$$.dirty&59&&(u&&s&&n(1,c=u),Je&&t&&n(1,c=t),f&&c&&f(c))},[u,c,d,f,t,s,i,a]}class ps extends re{constructor(e){super(),oe(this,e,_s,ms,ne,{error:0,onError:3})}}const hs=l=>({}),Nt=l=>({});function gs(l){let e;const n=l[3].default,t=G(n,l,l[2],null);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,r){t&&t.m(s,r),e=!0},p(s,r){t&&t.p&&(!e||r&4)&&X(t,n,s,s[2],e?Q(n,s[2],r,null):J(s[2]),null)},i(s){e||(h(t,s),e=!0)},o(s){g(t,s),e=!1},d(s){t&&t.d(s)}}}function vs(l){let e;const n=l[3].fallback,t=G(n,l,l[2],Nt),s=t||$s();return{c(){s&&s.c()},l(r){s&&s.l(r)},m(r,o){s&&s.m(r,o),e=!0},p(r,o){t&&t.p&&(!e||o&4)&&X(t,n,r,r[2],e?Q(n,r[2],o,hs):J(r[2]),Nt)},i(r){e||(h(s,r),e=!0)},o(r){g(s,r),e=!1},d(r){s&&s.d(r)}}}function $s(l){let e;return{c(){e=R("Error Rendering Component")},l(n){e=H(n,"Error Rendering Component")},m(n,t){I(n,e,t)},d(n){n&&_(e)}}}function bs(l){let e,n,t,s;const r=[vs,gs],o=[];function a(i,u){return i[1]?0:1}return e=a(l),n=o[e]=r[e](l),{c(){n.c(),t=ee()},l(i){n.l(i),t=ee()},m(i,u){o[e].m(i,u),I(i,t,u),s=!0},p(i,[u]){let f=e;e=a(i),e===f?o[e].p(i,u):(he(),g(o[f],1,1,()=>{o[f]=null}),ge(),n=o[e],n?n.p(i,u):(n=o[e]=r[e](i),n.c()),h(n,1),n.m(t.parentNode,t))},i(i){s||(h(n),s=!0)},o(i){g(n),s=!1},d(i){o[e].d(i),i&&_(t)}}}function ks(l,e,n){let t,s=fe,r=()=>(s(),s=Re(i,u=>n(1,t=u)),i);l.$$.on_destroy.push(()=>s());let{$$slots:o={},$$scope:a}=e,{error:i=null}=e;return r(),l.$$set=u=>{"error"in u&&r(n(0,i=u.error)),"$$scope"in u&&n(2,a=u.$$scope)},[i,t,a,o]}class ws extends re{constructor(e){super(),oe(this,e,ks,bs,ne,{error:0})}}function Es(l){let e;const n=l[5].default,t=G(n,l,l[4],null);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,r){t&&t.m(s,r),e=!0},p(s,r){t&&t.p&&(!e||r&16)&&X(t,n,s,s[4],e?Q(n,s[4],r,null):J(s[4]),null)},i(s){e||(h(t,s),e=!0)},o(s){g(t,s),e=!1},d(s){t&&t.d(s)}}}function Cs(l){let e,n,t=l[1].message+"",s,r,o,a,i=(l[2]?l[1].stack:"")+"",u,f;return{c(){e=$("div"),n=$("b"),s=R(t),r=U(),o=$("pre"),a=R(" "),u=R(i),f=R(` `),this.h()},l(c){e=b(c,"DIV",{class:!0});var d=k(e);n=b(d,"B",{});var p=k(n);s=H(p,t),p.forEach(_),r=j(d),o=b(d,"PRE",{class:!0});var C=k(o);a=H(C," "),u=H(C,i),f=H(C,` `),C.forEach(_),d.forEach(_),this.h()},h(){m(o,"class","trace svelte-urrl06"),m(e,"class","error svelte-urrl06")},m(c,d){I(c,e,d),v(e,n),v(n,s),v(e,r),v(e,o),v(o,a),v(o,u),v(o,f)},p(c,d){d&2&&t!==(t=c[1].message+"")&&we(s,t),d&2&&i!==(i=(c[2]?c[1].stack:"")+"")&&we(u,i)},i:fe,o:fe,d(c){c&&_(e)}}}function Is(l){let e,n,t,s;const r=[Cs,Es],o=[];function a(i,u){return i[1]?0:1}return e=a(l),n=o[e]=r[e](l),{c(){n.c(),t=ee()},l(i){n.l(i),t=ee()},m(i,u){o[e].m(i,u),I(i,t,u),s=!0},p(i,[u]){let f=e;e=a(i),e===f?o[e].p(i,u):(he(),g(o[f],1,1,()=>{o[f]=null}),ge(),n=o[e],n?n.p(i,u):(n=o[e]=r[e](i),n.c()),h(n,1),n.m(t.parentNode,t))},i(i){s||(h(n),s=!0)},o(i){g(n),s=!1},d(i){o[e].d(i),i&&_(t)}}}function Ts(l,e,n){let t,s=fe,r=()=>(s(),s=Re(i,d=>n(1,t=d)),i);l.$$.on_destroy.push(()=>s());let{$$slots:o={},$$scope:a}=e,{error:i=null}=e;r();let{onError:u=null}=e,c=(typeof process<"u"&&process.env&&"production")!=="production";return l.$$set=d=>{"error"in d&&r(n(0,i=d.error)),"onError"in d&&n(3,u=d.onError),"$$scope"in d&&n(4,a=d.$$scope)},l.$$.update=()=>{l.$$.dirty&10&&t&&u&&u(t)},[i,t,c,u,a,o]}class Vs extends re{constructor(e){super(),oe(this,e,Ts,Is,ne,{error:0,onError:3})}}const Ds=["c","l","h","m","p","a","i","o","d"];function ft(l){if(l.$$render){let n=l.$$render;return l.$$render=(t,s,r,o)=>{const a=Qe(void 0);try{return n(t,{error:a,...s},r,o)}catch(i){return a.set(i),n(t,{error:a,...s},r,{})}},l}function e(n,t){return function(...r){try{return n(...r)}catch(o){t(o)}}}return class extends l{constructor(t){const s=Qe(void 0);t.props.$$slots.default=t.props.$$slots.default.map(r=>(...o)=>{let i=e(r,s.set)(...o);if(i)for(let u of Ds)i[u]&&(i[u]=e(i[u],s.set));return i}),super(t),this.$$set({error:s})}}}ft(Vs);const Bs=ft(ps);ft(ws);function Ns(l){let e,n,t,s,r,o,a;const i=l[4].default,u=G(i,l,l[3],null);return s=new Ln({props:{icon:"close"}}),s.$on("click",l[2]),{c(){e=$("div"),n=$("p"),u&&u.c(),t=U(),T(s.$$.fragment),this.h()},l(f){e=b(f,"DIV",{id:!0,class:!0});var c=k(e);n=b(c,"P",{class:!0});var d=k(n);u&&u.l(d),d.forEach(_),t=j(c),V(s.$$.fragment,c),c.forEach(_),this.h()},h(){m(n,"class","font-secondary text-sm"),m(e,"id",l[0]),m(e,"class",r="flex grow-0 items-center justify-between gap-4 rounded py-3 px-4 shadow "+l[1]+" svelte-19tipv7")},m(f,c){I(f,e,c),v(e,n),u&&u.m(n,null),v(e,t),D(s,e,null),a=!0},p(f,[c]){u&&u.p&&(!a||c&8)&&X(u,i,f,f[3],a?Q(i,f[3],c,null):J(f[3]),null),(!a||c&1)&&m(e,"id",f[0]),(!a||c&2&&r!==(r="flex grow-0 items-center justify-between gap-4 rounded py-3 px-4 shadow "+f[1]+" svelte-19tipv7"))&&m(e,"class",r)},i(f){a||(h(u,f),h(s.$$.fragment,f),rn(()=>{o||(o=pt(e,Ye,{x:250},!0)),o.run(1)}),a=!0)},o(f){g(u,f),g(s.$$.fragment,f),o||(o=pt(e,Ye,{x:250},!1)),o.run(0),a=!1},d(f){f&&_(e),u&&u.d(f),B(s),f&&o&&o.end()}}}function Ls(l,e,n){let{$$slots:t={},$$scope:s}=e;const r=pn();let{id:o}=e,{variant:a}=e;const i=()=>{r("dismiss",{id:o})};return l.$$set=u=>{"id"in u&&n(0,o=u.id),"variant"in u&&n(1,a=u.variant),"$$scope"in u&&n(3,s=u.$$scope)},[o,a,i,s,t]}class Ss extends re{constructor(e){super(),oe(this,e,Ls,Ns,ne,{id:0,variant:1})}}function Lt(l,e,n){const t=l.slice();return t[4]=e[n].message,t[5]=e[n].variant,t[6]=e[n].id,t}function ys(l){let e=l[4]+"",n,t;return{c(){n=R(e),t=U()},l(s){n=H(s,e),t=j(s)},m(s,r){I(s,n,r),I(s,t,r)},p(s,r){r&2&&e!==(e=s[4]+"")&&we(n,e)},d(s){s&&_(n),s&&_(t)}}}function St(l,e){let n,t,s;return t=new Ss({props:{variant:e[5],id:e[6],$$slots:{default:[ys]},$$scope:{ctx:e}}}),t.$on("dismiss",e[2]),{key:l,first:null,c(){n=ee(),T(t.$$.fragment),this.h()},l(r){n=ee(),V(t.$$.fragment,r),this.h()},h(){this.first=n},m(r,o){I(r,n,o),D(t,r,o),s=!0},p(r,o){e=r;const a={};o&2&&(a.variant=e[5]),o&2&&(a.id=e[6]),o&514&&(a.$$scope={dirty:o,ctx:e}),t.$set(a)},i(r){s||(h(t.$$.fragment,r),s=!0)},o(r){g(t.$$.fragment,r),s=!1},d(r){r&&_(n),B(t,r)}}}function As(l){let e,n=[],t=new Map,s,r=l[1];const o=a=>a[6];for(let a=0;a(s(),s=Re(a,u=>n(1,t=u)),a);l.$$.on_destroy.push(()=>s());let{pop:o}=e,{toasts:a}=e;r();const i=u=>{o(u.detail.id)};return l.$$set=u=>{"pop"in u&&n(3,o=u.pop),"toasts"in u&&r(n(0,a=u.toasts))},[a,t,i,o]}class Us extends re{constructor(e){super(),oe(this,e,Ps,As,ne,{pop:3,toasts:0})}}function js(l){let e,n,t,s,r,o;const a=l[4].default,i=G(a,l,l[3],null);return s=new xe({props:{class:"!py-1.5 !px-1",icon:"arrow-up",variant:"secondary"}}),s.$on("click",function(){it(l[1])&&l[1].apply(this,arguments)}),{c(){e=$("div"),i&&i.c(),n=U(),t=$("div"),T(s.$$.fragment),this.h()},l(u){e=b(u,"DIV",{id:!0,class:!0});var f=k(e);i&&i.l(f),n=j(f),t=b(f,"DIV",{class:!0});var c=k(t);V(s.$$.fragment,c),c.forEach(_),f.forEach(_),this.h()},h(){m(t,"class","back-to-top svelte-78r2pw"),te(t,"hidden",l[0]),m(e,"id","scroll-container"),m(e,"class",r=ye(l[2].class)+" svelte-78r2pw")},m(u,f){I(u,e,f),i&&i.m(e,null),v(e,n),v(e,t),D(s,t,null),o=!0},p(u,[f]){l=u,i&&i.p&&(!o||f&8)&&X(i,a,l,l[3],o?Q(a,l[3],f,null):J(l[3]),null),(!o||f&1)&&te(t,"hidden",l[0]),(!o||f&4&&r!==(r=ye(l[2].class)+" svelte-78r2pw"))&&m(e,"class",r)},i(u){o||(h(i,u),h(s.$$.fragment,u),o=!0)},o(u){g(i,u),g(s.$$.fragment,u),o=!1},d(u){u&&_(e),i&&i.d(u),B(s)}}}function Fs(l,e,n){let{$$slots:t={},$$scope:s}=e,{hidden:r=!0}=e,{onScrollToTopClick:o}=e;return l.$$set=a=>{n(2,e=ke(ke({},e),Le(a))),"hidden"in a&&n(0,r=a.hidden),"onScrollToTopClick"in a&&n(1,o=a.onScrollToTopClick),"$$scope"in a&&n(3,s=a.$$scope)},e=Le(e),[r,o,e,s,t]}class Ms extends re{constructor(e){super(),oe(this,e,Fs,js,ne,{hidden:0,onScrollToTopClick:1})}}const lt=at("viewedFeatureTags",null),Os=l=>{let e=ln(lt)??[];e.includes(l)||(e=[...e,l],lt.set(e))};function Rs(l){let e,n;return{c(){e=$("h1"),n=R("Check out the new top navigation!"),this.h()},l(t){e=b(t,"H1",{slot:!0,"data-testid":!0});var s=k(e);n=H(s,"Check out the new top navigation!"),s.forEach(_),this.h()},h(){m(e,"slot","title"),m(e,"data-testid","overlay-title")},m(t,s){I(t,e,s),v(e,n)},p:fe,d(t){t&&_(e)}}}function Hs(l){let e,n,t,s,r,o,a,i,u,f;return s=new $e({props:{name:"namespace-switcher",class:"scale-100"}}),i=new $e({props:{name:"transcoder-on",status:"configured"}}),{c(){e=$("div"),n=$("div"),t=$("div"),T(s.$$.fragment),r=R(` Easily switch between Namespaces and know which Namespace you are currently diff --git a/ui/assets/local/_app/immutable/entry/(app)-layout.svelte.e752d465.js b/ui/assets/local/_app/immutable/entry/(app)-layout.svelte.e752d465.js deleted file mode 100644 index e83ac4fa23..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-layout.svelte.e752d465.js +++ /dev/null @@ -1,25 +0,0 @@ -import{K as ln,S as re,b as oe,a as ne,e as ee,f as I,n as fe,k as _,L as x,O as ke,P as Le,m as $,w as R,c as U,p as b,q as k,x as H,d as j,u as m,X as ye,M as v,U as pe,y as we,j as h,g,A as Ce,Y as Te,C as T,D as V,E as D,Z as Ve,F as B,z as he,h as ge,s as Re,_ as ve,G,H as X,I as J,J as Q,$ as rn,a0 as pt,N as pn,a1 as hn,a2 as gn,i as it,T as te,o as vn,a3 as Ge,a4 as Xe,v as ht,R as gt,V as on,a5 as je,a6 as $n,a7 as bn,a8 as We,W as an,r as Ze,Q as fn,a9 as kn,aa as wn,ab as vt}from"../chunks/index.d29c66be.js";import{p as Be,u as En}from"../chunks/stores.b938c0e3.js";import{a as un,c as Cn}from"../chunks/auth-user.ead5c000.js";import{g as $t}from"../chunks/navigation.9ceca11e.js";import{r as qe,a as In,b as Tn,c as bt,d as Vn,e as Dn}from"../chunks/route-for.b4518ba8.js";import{i as cn}from"../chunks/version-check.d006b302.js";import{p as at}from"../chunks/persist-store.bb6871e4.js";import{n as Je}from"../chunks/route-for-api.58c31c66.js";import{E as Bn}from"../chunks/error.a3e96e45.js";import{w as Qe,d as Nn}from"../chunks/index.255b7490.js";import{I as Ln,f as Ye,T as He}from"../chunks/tooltip.ca813c82.js";import{t as kt}from"../chunks/toaster.fda31b2d.js";import{l as ze,n as Sn}from"../chunks/namespaces.52575875.js";import{w as wt,a as Et}from"../chunks/filters.a4cc47c7.js";import{I as $e}from"../chunks/icon.5aa23970.js";import{M as yn}from"../chunks/modal.765fc6dd.js";import{B as xe}from"../chunks/button.e7112b29.js";import{i as An}from"../chunks/settings-service.499312b2.js";import{B as Pn}from"../chunks/badge.2c189bf4.js";import{M as Un,a as jn,b as Fn,c as Ct}from"../chunks/menu-item.be414f05.js";import{E as Mn}from"../chunks/empty-state.bf113865.js";import{I as On}from"../chunks/input.0adb9ec6.js";import{d as et,l as Rn}from"../chunks/data-converter-config.816c1717.js";import{c as tt,o as nt,l as Hn,i as It,p as Tt,v as qn,a as Wn}from"../chunks/is-http.91300684.js";import{c as zn}from"../chunks/outside-click.0db702a6.js";import{T as Vt}from"../chunks/toggle-switch.58d0ba8c.js";import{r as Dt}from"../chunks/workflow-run.2461dc7d.js";import{A as Kn}from"../chunks/accordion.2f807bee.js";var Ke=(l=>(l[l.TemporalVersion=1]="TemporalVersion",l[l.UIVersion=2]="UIVersion",l))(Ke||{});const st=at("closedBanners",null),Zn=l=>{let e=ln(st)??[];e=[...e,l],e=e.slice(e.length-10,e.length),st.set(e)};function Bt(l){let e,n,t,s,r,o,a,i,u,f;return{c(){e=$("section"),n=$("a"),t=R(l[2]),s=U(),r=$("button"),o=R("✕"),this.h()},l(c){e=b(c,"SECTION",{class:!0,"data-testid":!0});var d=k(e);n=b(d,"A",{href:!0,target:!0,rel:!0});var p=k(n);t=H(p,l[2]),p.forEach(_),s=j(d),r=b(d,"BUTTON",{class:!0,"data-testid":!0});var C=k(r);o=H(C,"✕"),C.forEach(_),d.forEach(_),this.h()},h(){m(n,"href",l[3]),m(n,"target","_blank"),m(n,"rel","noreferrer"),m(r,"class","text-black-600 absolute top-0 right-0 mr-5"),m(r,"data-testid","close-banner"),m(e,"class",a=ye(`relative block text-center leading-10 ${l[1]}`)+" svelte-1xgik0j"),m(e,"data-testid",i=l[5].testId)},m(c,d){I(c,e,d),v(e,n),v(n,t),v(e,s),v(e,r),v(r,o),u||(f=pe(r,"click",l[8]),u=!0)},p(c,d){d&4&&we(t,c[2]),d&8&&m(n,"href",c[3]),d&2&&a!==(a=ye(`relative block text-center leading-10 ${c[1]}`)+" svelte-1xgik0j")&&m(e,"class",a),d&32&&i!==(i=c[5].testId)&&m(e,"data-testid",i)},d(c){c&&_(e),u=!1,f()}}}function Gn(l){let e,n=l[4]&&Bt(l);return{c(){n&&n.c(),e=ee()},l(t){n&&n.l(t),e=ee()},m(t,s){n&&n.m(t,s),I(t,e,s)},p(t,[s]){t[4]?n?n.p(t,s):(n=Bt(t),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},i:fe,o:fe,d(t){n&&n.d(t),t&&_(e)}}}function Xn(l,e,n){let t,s;x(l,st,c=>n(7,s=c));let{key:r}=e,{severity:o}=e,{message:a}=e,{link:i}=e,{shownBanner:u}=e;const f=()=>Zn(r);return l.$$set=c=>{n(5,e=ke(ke({},e),Le(c))),"key"in c&&n(0,r=c.key),"severity"in c&&n(1,o=c.severity),"message"in c&&n(2,a=c.message),"link"in c&&n(3,i=c.link),"shownBanner"in c&&n(6,u=c.shownBanner)},l.$$.update=()=>{l.$$.dirty&129&&n(4,t=!(s??[]).includes(r)),l.$$.dirty&80&&(t||n(6,u++,u))},e=Le(e),[r,o,a,i,t,e,u,s,f]}class dn extends re{constructor(e){super(),oe(this,e,Xn,Gn,ne,{key:0,severity:1,message:2,link:3,shownBanner:6})}}function Jn(l){let e,n,t;function s(o){l[6](o)}let r={key:l[2],severity:l[1],message:l[5],link:l[3],testId:"temporal-version-banner"};return l[0]!==void 0&&(r.shownBanner=l[0]),e=new dn({props:r}),Ce.push(()=>Te(e,"shownBanner",s)),{c(){T(e.$$.fragment)},l(o){V(e.$$.fragment,o)},m(o,a){D(e,o,a),t=!0},p(o,a){const i={};!n&&a&1&&(n=!0,i.shownBanner=o[0],Ve(()=>n=!1)),e.$set(i)},i(o){t||(h(e.$$.fragment,o),t=!0)},o(o){g(e.$$.fragment,o),t=!1},d(o){B(e,o)}}}function Qn(l){let e,n,t=l[4]&&Jn(l);return{c(){t&&t.c(),e=ee()},l(s){t&&t.l(s),e=ee()},m(s,r){t&&t.m(s,r),I(s,e,r),n=!0},p(s,[r]){s[4]&&t.p(s,r)},i(s){n||(h(t),n=!0)},o(s){g(t),n=!1},d(s){t&&t.d(s),s&&_(e)}}}function Yn(l,e,n){let t;x(l,Be,w=>n(12,t=w));var s,r,o,a,i;let{shownBanner:u}=e;const{cluster:f}=t.data,c={High:"high",Medium:"medium",Low:"low"},{recommended:d,current:p}=(s=f==null?void 0:f.versionInfo)!==null&&s!==void 0?s:{},C=(o=(r=f==null?void 0:f.versionInfo)===null||r===void 0?void 0:r.alerts)===null||o===void 0?void 0:o[0],N=C?c[C.severity]:c.Low,L=`server-v${p==null?void 0:p.version}`,E=`https://github.com/temporalio/temporal/releases/tag/v${(i=(a=f==null?void 0:f.versionInfo)===null||a===void 0?void 0:a.recommended)===null||i===void 0?void 0:i.version}`,P=cn(d==null?void 0:d.version,p==null?void 0:p.version),y=N===c.Low?`📥 Temporal v${d==null?void 0:d.version} is available`:`📥 ${C==null?void 0:C.message}`;function S(w){u=w,n(0,u)}return l.$$set=w=>{"shownBanner"in w&&n(0,u=w.shownBanner)},[u,N,L,E,P,y,S]}class xn extends re{constructor(e){super(),oe(this,e,Yn,Qn,ne,{shownBanner:0})}}function es(l){let e,n,t;function s(o){l[6](o)}let r={key:l[1],severity:ns,message:l[2],link:l[4],testId:"ui-version-banner"};return l[0]!==void 0&&(r.shownBanner=l[0]),e=new dn({props:r}),Ce.push(()=>Te(e,"shownBanner",s)),{c(){T(e.$$.fragment)},l(o){V(e.$$.fragment,o)},m(o,a){D(e,o,a),t=!0},p(o,a){const i={};!n&&a&1&&(n=!0,i.shownBanner=o[0],Ve(()=>n=!1)),e.$set(i)},i(o){t||(h(e.$$.fragment,o),t=!0)},o(o){g(e.$$.fragment,o),t=!1},d(o){B(e,o)}}}function ts(l){let e,n,t=l[3]&&es(l);return{c(){t&&t.c(),e=ee()},l(s){t&&t.l(s),e=ee()},m(s,r){t&&t.m(s,r),I(s,e,r),n=!0},p(s,[r]){s[3]&&t.p(s,r)},i(s){n||(h(t),n=!0)},o(s){g(t),n=!1},d(s){t&&t.d(s),s&&_(e)}}}const ns="low";function ss(l,e,n){let{shownBanner:t}=e,{uiVersionInfo:s}=e;const r=`ui-v${s==null?void 0:s.current}`,o=`📥 Temporal UI v${s==null?void 0:s.recommended} is available`,a=cn(s==null?void 0:s.recommended,s==null?void 0:s.current),i=`https://github.com/temporalio/ui-server/releases/tag/v${s==null?void 0:s.recommended}`;function u(f){t=f,n(0,t)}return l.$$set=f=>{"shownBanner"in f&&n(0,t=f.shownBanner),"uiVersionInfo"in f&&n(5,s=f.uiVersionInfo)},[t,r,o,a,i,s,u]}class ls extends re{constructor(e){super(),oe(this,e,ss,ts,ne,{shownBanner:0,uiVersionInfo:5})}}function rs(l){let e,n,t,s;const r=[is,os],o=[];function a(i,u){return i[1]===Ke.TemporalVersion?0:i[1]===Ke.UIVersion?1:-1}return~(e=a(l))&&(n=o[e]=r[e](l)),{c(){n&&n.c(),t=ee()},l(i){n&&n.l(i),t=ee()},m(i,u){~e&&o[e].m(i,u),I(i,t,u),s=!0},p(i,u){let f=e;e=a(i),e===f?~e&&o[e].p(i,u):(n&&(he(),g(o[f],1,1,()=>{o[f]=null}),ge()),~e?(n=o[e],n?n.p(i,u):(n=o[e]=r[e](i),n.c()),h(n,1),n.m(t.parentNode,t)):n=null)},i(i){s||(h(n),s=!0)},o(i){g(n),s=!1},d(i){~e&&o[e].d(i),i&&_(t)}}}function os(l){let e,n,t;function s(o){l[4](o)}let r={uiVersionInfo:l[0]};return l[1]!==void 0&&(r.shownBanner=l[1]),e=new ls({props:r}),Ce.push(()=>Te(e,"shownBanner",s)),{c(){T(e.$$.fragment)},l(o){V(e.$$.fragment,o)},m(o,a){D(e,o,a),t=!0},p(o,a){const i={};a&1&&(i.uiVersionInfo=o[0]),!n&&a&2&&(n=!0,i.shownBanner=o[1],Ve(()=>n=!1)),e.$set(i)},i(o){t||(h(e.$$.fragment,o),t=!0)},o(o){g(e.$$.fragment,o),t=!1},d(o){B(e,o)}}}function is(l){let e,n,t;function s(o){l[3](o)}let r={};return l[1]!==void 0&&(r.shownBanner=l[1]),e=new xn({props:r}),Ce.push(()=>Te(e,"shownBanner",s)),{c(){T(e.$$.fragment)},l(o){V(e.$$.fragment,o)},m(o,a){D(e,o,a),t=!0},p(o,a){const i={};!n&&a&2&&(n=!0,i.shownBanner=o[1],Ve(()=>n=!1)),e.$set(i)},i(o){t||(h(e.$$.fragment,o),t=!0)},o(o){g(e.$$.fragment,o),t=!1},d(o){B(e,o)}}}function as(l){let e,n,t=l[2]&&rs(l);return{c(){t&&t.c(),e=ee()},l(s){t&&t.l(s),e=ee()},m(s,r){t&&t.m(s,r),I(s,e,r),n=!0},p(s,[r]){s[2]&&t.p(s,r)},i(s){n||(h(t),n=!0)},o(s){g(t),n=!1},d(s){t&&t.d(s),s&&_(e)}}}function fs(l,e,n){let t;x(l,Be,f=>n(6,t=f));var s;let{uiVersionInfo:r}=e,o=Ke.TemporalVersion;const a=(s=t.data)===null||s===void 0?void 0:s.settings.notifyOnNewVersion;function i(f){o=f,n(1,o)}function u(f){o=f,n(1,o)}return l.$$set=f=>{"uiVersionInfo"in f&&n(0,r=f.uiVersionInfo)},[r,o,a,i,u]}class us extends re{constructor(e){super(),oe(this,e,fs,as,ne,{uiVersionInfo:0})}}function cs(l){let e;const n=l[7].default,t=G(n,l,l[6],null);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,r){t&&t.m(s,r),e=!0},p(s,r){t&&t.p&&(!e||r&64)&&X(t,n,s,s[6],e?Q(n,s[6],r,null):J(s[6]),null)},i(s){e||(h(t,s),e=!0)},o(s){g(t,s),e=!1},d(s){t&&t.d(s)}}}function ds(l){let e,n;return e=new Bn({props:{error:l[1]}}),e.$on("clearError",l[2]),{c(){T(e.$$.fragment)},l(t){V(e.$$.fragment,t)},m(t,s){D(e,t,s),n=!0},p(t,s){const r={};s&2&&(r.error=t[1]),e.$set(r)},i(t){n||(h(e.$$.fragment,t),n=!0)},o(t){g(e.$$.fragment,t),n=!1},d(t){B(e,t)}}}function ms(l){let e,n,t,s;const r=[ds,cs],o=[];function a(i,u){return i[1]?0:1}return e=a(l),n=o[e]=r[e](l),{c(){n.c(),t=ee()},l(i){n.l(i),t=ee()},m(i,u){o[e].m(i,u),I(i,t,u),s=!0},p(i,[u]){let f=e;e=a(i),e===f?o[e].p(i,u):(he(),g(o[f],1,1,()=>{o[f]=null}),ge(),n=o[e],n?n.p(i,u):(n=o[e]=r[e](i),n.c()),h(n,1),n.m(t.parentNode,t))},i(i){s||(h(n),s=!0)},o(i){g(n),s=!1},d(i){o[e].d(i),i&&_(t)}}}function _s(l,e,n){let t,s,r=fe,o=()=>(r(),r=Re(u,p=>n(5,s=p)),u);x(l,Je,p=>n(4,t=p)),l.$$.on_destroy.push(()=>r());let{$$slots:a={},$$scope:i}=e,{error:u=null}=e;o();let{onError:f=null}=e,c;function d(){ve(u,s=null,s),n(3,f=null),n(1,c=null),ve(Je,t=null,t)}return l.$$set=p=>{"error"in p&&o(n(0,u=p.error)),"onError"in p&&n(3,f=p.onError),"$$scope"in p&&n(6,i=p.$$scope)},l.$$.update=()=>{l.$$.dirty&59&&(u&&s&&n(1,c=u),Je&&t&&n(1,c=t),f&&c&&f(c))},[u,c,d,f,t,s,i,a]}class ps extends re{constructor(e){super(),oe(this,e,_s,ms,ne,{error:0,onError:3})}}const hs=l=>({}),Nt=l=>({});function gs(l){let e;const n=l[3].default,t=G(n,l,l[2],null);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,r){t&&t.m(s,r),e=!0},p(s,r){t&&t.p&&(!e||r&4)&&X(t,n,s,s[2],e?Q(n,s[2],r,null):J(s[2]),null)},i(s){e||(h(t,s),e=!0)},o(s){g(t,s),e=!1},d(s){t&&t.d(s)}}}function vs(l){let e;const n=l[3].fallback,t=G(n,l,l[2],Nt),s=t||$s();return{c(){s&&s.c()},l(r){s&&s.l(r)},m(r,o){s&&s.m(r,o),e=!0},p(r,o){t&&t.p&&(!e||o&4)&&X(t,n,r,r[2],e?Q(n,r[2],o,hs):J(r[2]),Nt)},i(r){e||(h(s,r),e=!0)},o(r){g(s,r),e=!1},d(r){s&&s.d(r)}}}function $s(l){let e;return{c(){e=R("Error Rendering Component")},l(n){e=H(n,"Error Rendering Component")},m(n,t){I(n,e,t)},d(n){n&&_(e)}}}function bs(l){let e,n,t,s;const r=[vs,gs],o=[];function a(i,u){return i[1]?0:1}return e=a(l),n=o[e]=r[e](l),{c(){n.c(),t=ee()},l(i){n.l(i),t=ee()},m(i,u){o[e].m(i,u),I(i,t,u),s=!0},p(i,[u]){let f=e;e=a(i),e===f?o[e].p(i,u):(he(),g(o[f],1,1,()=>{o[f]=null}),ge(),n=o[e],n?n.p(i,u):(n=o[e]=r[e](i),n.c()),h(n,1),n.m(t.parentNode,t))},i(i){s||(h(n),s=!0)},o(i){g(n),s=!1},d(i){o[e].d(i),i&&_(t)}}}function ks(l,e,n){let t,s=fe,r=()=>(s(),s=Re(i,u=>n(1,t=u)),i);l.$$.on_destroy.push(()=>s());let{$$slots:o={},$$scope:a}=e,{error:i=null}=e;return r(),l.$$set=u=>{"error"in u&&r(n(0,i=u.error)),"$$scope"in u&&n(2,a=u.$$scope)},[i,t,a,o]}class ws extends re{constructor(e){super(),oe(this,e,ks,bs,ne,{error:0})}}function Es(l){let e;const n=l[5].default,t=G(n,l,l[4],null);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,r){t&&t.m(s,r),e=!0},p(s,r){t&&t.p&&(!e||r&16)&&X(t,n,s,s[4],e?Q(n,s[4],r,null):J(s[4]),null)},i(s){e||(h(t,s),e=!0)},o(s){g(t,s),e=!1},d(s){t&&t.d(s)}}}function Cs(l){let e,n,t=l[1].message+"",s,r,o,a,i=(l[2]?l[1].stack:"")+"",u,f;return{c(){e=$("div"),n=$("b"),s=R(t),r=U(),o=$("pre"),a=R(" "),u=R(i),f=R(` - `),this.h()},l(c){e=b(c,"DIV",{class:!0});var d=k(e);n=b(d,"B",{});var p=k(n);s=H(p,t),p.forEach(_),r=j(d),o=b(d,"PRE",{class:!0});var C=k(o);a=H(C," "),u=H(C,i),f=H(C,` - `),C.forEach(_),d.forEach(_),this.h()},h(){m(o,"class","trace svelte-urrl06"),m(e,"class","error svelte-urrl06")},m(c,d){I(c,e,d),v(e,n),v(n,s),v(e,r),v(e,o),v(o,a),v(o,u),v(o,f)},p(c,d){d&2&&t!==(t=c[1].message+"")&&we(s,t),d&2&&i!==(i=(c[2]?c[1].stack:"")+"")&&we(u,i)},i:fe,o:fe,d(c){c&&_(e)}}}function Is(l){let e,n,t,s;const r=[Cs,Es],o=[];function a(i,u){return i[1]?0:1}return e=a(l),n=o[e]=r[e](l),{c(){n.c(),t=ee()},l(i){n.l(i),t=ee()},m(i,u){o[e].m(i,u),I(i,t,u),s=!0},p(i,[u]){let f=e;e=a(i),e===f?o[e].p(i,u):(he(),g(o[f],1,1,()=>{o[f]=null}),ge(),n=o[e],n?n.p(i,u):(n=o[e]=r[e](i),n.c()),h(n,1),n.m(t.parentNode,t))},i(i){s||(h(n),s=!0)},o(i){g(n),s=!1},d(i){o[e].d(i),i&&_(t)}}}function Ts(l,e,n){let t,s=fe,r=()=>(s(),s=Re(i,d=>n(1,t=d)),i);l.$$.on_destroy.push(()=>s());let{$$slots:o={},$$scope:a}=e,{error:i=null}=e;r();let{onError:u=null}=e,c=(typeof process<"u"&&process.env&&"production")!=="production";return l.$$set=d=>{"error"in d&&r(n(0,i=d.error)),"onError"in d&&n(3,u=d.onError),"$$scope"in d&&n(4,a=d.$$scope)},l.$$.update=()=>{l.$$.dirty&10&&t&&u&&u(t)},[i,t,c,u,a,o]}class Vs extends re{constructor(e){super(),oe(this,e,Ts,Is,ne,{error:0,onError:3})}}const Ds=["c","l","h","m","p","a","i","o","d"];function ft(l){if(l.$$render){let n=l.$$render;return l.$$render=(t,s,r,o)=>{const a=Qe(void 0);try{return n(t,{error:a,...s},r,o)}catch(i){return a.set(i),n(t,{error:a,...s},r,{})}},l}function e(n,t){return function(...r){try{return n(...r)}catch(o){t(o)}}}return class extends l{constructor(t){const s=Qe(void 0);t.props.$$slots.default=t.props.$$slots.default.map(r=>(...o)=>{let i=e(r,s.set)(...o);if(i)for(let u of Ds)i[u]&&(i[u]=e(i[u],s.set));return i}),super(t),this.$$set({error:s})}}}ft(Vs);const Bs=ft(ps);ft(ws);function Ns(l){let e,n,t,s,r,o,a;const i=l[4].default,u=G(i,l,l[3],null);return s=new Ln({props:{icon:"close"}}),s.$on("click",l[2]),{c(){e=$("div"),n=$("p"),u&&u.c(),t=U(),T(s.$$.fragment),this.h()},l(f){e=b(f,"DIV",{id:!0,class:!0});var c=k(e);n=b(c,"P",{class:!0});var d=k(n);u&&u.l(d),d.forEach(_),t=j(c),V(s.$$.fragment,c),c.forEach(_),this.h()},h(){m(n,"class","font-secondary text-sm"),m(e,"id",l[0]),m(e,"class",r="flex grow-0 items-center justify-between gap-4 rounded py-3 px-4 shadow "+l[1]+" svelte-19tipv7")},m(f,c){I(f,e,c),v(e,n),u&&u.m(n,null),v(e,t),D(s,e,null),a=!0},p(f,[c]){u&&u.p&&(!a||c&8)&&X(u,i,f,f[3],a?Q(i,f[3],c,null):J(f[3]),null),(!a||c&1)&&m(e,"id",f[0]),(!a||c&2&&r!==(r="flex grow-0 items-center justify-between gap-4 rounded py-3 px-4 shadow "+f[1]+" svelte-19tipv7"))&&m(e,"class",r)},i(f){a||(h(u,f),h(s.$$.fragment,f),rn(()=>{o||(o=pt(e,Ye,{x:250},!0)),o.run(1)}),a=!0)},o(f){g(u,f),g(s.$$.fragment,f),o||(o=pt(e,Ye,{x:250},!1)),o.run(0),a=!1},d(f){f&&_(e),u&&u.d(f),B(s),f&&o&&o.end()}}}function Ls(l,e,n){let{$$slots:t={},$$scope:s}=e;const r=pn();let{id:o}=e,{variant:a}=e;const i=()=>{r("dismiss",{id:o})};return l.$$set=u=>{"id"in u&&n(0,o=u.id),"variant"in u&&n(1,a=u.variant),"$$scope"in u&&n(3,s=u.$$scope)},[o,a,i,s,t]}class Ss extends re{constructor(e){super(),oe(this,e,Ls,Ns,ne,{id:0,variant:1})}}function Lt(l,e,n){const t=l.slice();return t[4]=e[n].message,t[5]=e[n].variant,t[6]=e[n].id,t}function ys(l){let e=l[4]+"",n,t;return{c(){n=R(e),t=U()},l(s){n=H(s,e),t=j(s)},m(s,r){I(s,n,r),I(s,t,r)},p(s,r){r&2&&e!==(e=s[4]+"")&&we(n,e)},d(s){s&&_(n),s&&_(t)}}}function St(l,e){let n,t,s;return t=new Ss({props:{variant:e[5],id:e[6],$$slots:{default:[ys]},$$scope:{ctx:e}}}),t.$on("dismiss",e[2]),{key:l,first:null,c(){n=ee(),T(t.$$.fragment),this.h()},l(r){n=ee(),V(t.$$.fragment,r),this.h()},h(){this.first=n},m(r,o){I(r,n,o),D(t,r,o),s=!0},p(r,o){e=r;const a={};o&2&&(a.variant=e[5]),o&2&&(a.id=e[6]),o&514&&(a.$$scope={dirty:o,ctx:e}),t.$set(a)},i(r){s||(h(t.$$.fragment,r),s=!0)},o(r){g(t.$$.fragment,r),s=!1},d(r){r&&_(n),B(t,r)}}}function As(l){let e,n=[],t=new Map,s,r=l[1];const o=a=>a[6];for(let a=0;a(s(),s=Re(a,u=>n(1,t=u)),a);l.$$.on_destroy.push(()=>s());let{pop:o}=e,{toasts:a}=e;r();const i=u=>{o(u.detail.id)};return l.$$set=u=>{"pop"in u&&n(3,o=u.pop),"toasts"in u&&r(n(0,a=u.toasts))},[a,t,i,o]}class Us extends re{constructor(e){super(),oe(this,e,Ps,As,ne,{pop:3,toasts:0})}}function js(l){let e,n,t,s,r,o;const a=l[4].default,i=G(a,l,l[3],null);return s=new xe({props:{class:"!py-1.5 !px-1",icon:"arrow-up",variant:"secondary"}}),s.$on("click",function(){it(l[1])&&l[1].apply(this,arguments)}),{c(){e=$("div"),i&&i.c(),n=U(),t=$("div"),T(s.$$.fragment),this.h()},l(u){e=b(u,"DIV",{id:!0,class:!0});var f=k(e);i&&i.l(f),n=j(f),t=b(f,"DIV",{class:!0});var c=k(t);V(s.$$.fragment,c),c.forEach(_),f.forEach(_),this.h()},h(){m(t,"class","back-to-top svelte-78r2pw"),te(t,"hidden",l[0]),m(e,"id","scroll-container"),m(e,"class",r=ye(l[2].class)+" svelte-78r2pw")},m(u,f){I(u,e,f),i&&i.m(e,null),v(e,n),v(e,t),D(s,t,null),o=!0},p(u,[f]){l=u,i&&i.p&&(!o||f&8)&&X(i,a,l,l[3],o?Q(a,l[3],f,null):J(l[3]),null),(!o||f&1)&&te(t,"hidden",l[0]),(!o||f&4&&r!==(r=ye(l[2].class)+" svelte-78r2pw"))&&m(e,"class",r)},i(u){o||(h(i,u),h(s.$$.fragment,u),o=!0)},o(u){g(i,u),g(s.$$.fragment,u),o=!1},d(u){u&&_(e),i&&i.d(u),B(s)}}}function Fs(l,e,n){let{$$slots:t={},$$scope:s}=e,{hidden:r=!0}=e,{onScrollToTopClick:o}=e;return l.$$set=a=>{n(2,e=ke(ke({},e),Le(a))),"hidden"in a&&n(0,r=a.hidden),"onScrollToTopClick"in a&&n(1,o=a.onScrollToTopClick),"$$scope"in a&&n(3,s=a.$$scope)},e=Le(e),[r,o,e,s,t]}class Ms extends re{constructor(e){super(),oe(this,e,Fs,js,ne,{hidden:0,onScrollToTopClick:1})}}const lt=at("viewedFeatureTags",null),Os=l=>{let e=ln(lt)??[];e.includes(l)||(e=[...e,l],lt.set(e))};function Rs(l){let e,n;return{c(){e=$("h1"),n=R("Check out the new top navigation!"),this.h()},l(t){e=b(t,"H1",{slot:!0,"data-testid":!0});var s=k(e);n=H(s,"Check out the new top navigation!"),s.forEach(_),this.h()},h(){m(e,"slot","title"),m(e,"data-testid","overlay-title")},m(t,s){I(t,e,s),v(e,n)},p:fe,d(t){t&&_(e)}}}function Hs(l){let e,n,t,s,r,o,a,i,u,f;return s=new $e({props:{name:"namespace-switcher",class:"scale-100"}}),i=new $e({props:{name:"transcoder-on",status:"configured"}}),{c(){e=$("div"),n=$("div"),t=$("div"),T(s.$$.fragment),r=R(` - Easily switch between Namespaces and know which Namespace you are currently - on.`),o=U(),a=$("div"),T(i.$$.fragment),u=R(` - Set your Codec Server settings and view its status.`),this.h()},l(c){e=b(c,"DIV",{slot:!0,class:!0});var d=k(e);n=b(d,"DIV",{class:!0});var p=k(n);t=b(p,"DIV",{});var C=k(t);V(s.$$.fragment,C),C.forEach(_),r=H(p,` - Easily switch between Namespaces and know which Namespace you are currently - on.`),p.forEach(_),o=j(d),a=b(d,"DIV",{class:!0});var N=k(a);V(i.$$.fragment,N),u=H(N,` - Set your Codec Server settings and view its status.`),N.forEach(_),d.forEach(_),this.h()},h(){m(n,"class","flex gap-4 text-base"),m(a,"class","flex gap-4 text-base"),m(e,"slot","content"),m(e,"class","flex flex-col gap-4")},m(c,d){I(c,e,d),v(e,n),v(n,t),D(s,t,null),v(n,r),v(e,o),v(e,a),D(i,a,null),v(a,u),f=!0},p:fe,i(c){f||(h(s.$$.fragment,c),h(i.$$.fragment,c),f=!0)},o(c){g(s.$$.fragment,c),g(i.$$.fragment,c),f=!1},d(c){c&&_(e),B(s),B(i)}}}function qs(l){let e,n,t,s,r,o,a,i;const u=l[4].default,f=G(u,l,l[6],null);t=new Ms({props:{hidden:l[1],onScrollToTopClick:Ks}});let c={id:"overlay-modal","data-testid":"overlay-modal",cancelText:"Got it!",hideConfirm:!0,large:!0,hightlightNav:!0,$$slots:{content:[Hs],title:[Rs]},$$scope:{ctx:l}};return r=new yn({props:c}),l[5](r),r.$on("cancelModal",l[3]),r.$on("confirmModal",l[3]),{c(){e=$("main"),f&&f.c(),n=U(),T(t.$$.fragment),s=U(),T(r.$$.fragment),this.h()},l(d){e=b(d,"MAIN",{id:!0,class:!0});var p=k(e);f&&f.l(p),n=j(p),V(t.$$.fragment,p),p.forEach(_),s=j(d),V(r.$$.fragment,d),this.h()},h(){m(e,"id","content"),m(e,"class","relative h-screen w-max flex-auto overflow-auto bg-gray-100")},m(d,p){I(d,e,p),f&&f.m(e,null),v(e,n),D(t,e,null),I(d,s,p),D(r,d,p),o=!0,a||(i=pe(e,"scroll",l[2]),a=!0)},p(d,[p]){f&&f.p&&(!o||p&64)&&X(f,u,d,d[6],o?Q(u,d[6],p,null):J(d[6]),null);const C={};p&2&&(C.hidden=d[1]),t.$set(C);const N={};p&64&&(N.$$scope={dirty:p,ctx:d}),r.$set(N)},i(d){o||(h(f,d),h(t.$$.fragment,d),h(r.$$.fragment,d),o=!0)},o(d){g(f,d),g(t.$$.fragment,d),g(r.$$.fragment,d),o=!1},d(d){d&&_(e),f&&f.d(d),B(t),d&&_(s),l[5](null),B(r,d),a=!1,i()}}}let Ws=150;function zs(){return document.getElementById("content")}function Ks(){var l;(l=zs())===null||l===void 0||l.scrollTo(0,0)}function Zs(l,e,n){let t;x(l,lt,c=>n(7,t=c));let{$$slots:s={},$$scope:r}=e,o,a=!0;function i(c){const p=c.target.scrollTop;n(1,a=Boolean(p{(t==null?void 0:t.includes("topNav"))||(o.open(),Os("topNav"))});const u=()=>{o.close()};function f(c){Ce[c?"unshift":"push"](()=>{o=c,n(0,o)})}return l.$$set=c=>{"$$scope"in c&&n(6,r=c.$$scope)},[o,a,i,u,s,f,r]}class Gs extends re{constructor(e){super(),oe(this,e,Zs,qs,ne,{})}}function Xs(l){let e,n,t,s;return{c(){e=Ge("svg"),n=Ge("title"),t=R(l[2]),s=Ge("path"),this.h()},l(r){e=Xe(r,"svg",{width:!0,height:!0,viewBox:!0,xmlns:!0,"xmlns:xlink":!0,version:!0,role:!0,"aria-labelledby":!0});var o=k(e);n=Xe(o,"title",{id:!0});var a=k(n);t=H(a,l[2]),a.forEach(_),s=Xe(o,"path",{id:!0,d:!0,stroke:!0,fill:!0}),k(s).forEach(_),o.forEach(_),this.h()},h(){m(n,"id","temporalLogoTitleID"),m(s,"id","Path"),m(s,"d","M65.816 34.224 C63.684 18.251 58.288 4.917 49.999 4.917 41.711 4.917 36.314 18.251 34.182 34.224 18.208 36.357 4.874 41.753 4.874 50.042 4.874 58.33 18.211 63.727 34.182 65.859 36.314 81.83 41.711 95.167 49.999 95.167 58.288 95.167 63.684 81.83 65.816 65.859 81.79 63.727 95.124 58.33 95.124 50.042 95.124 41.753 81.788 36.357 65.816 34.224 Z M33.661 61.206 C18.363 58.997 9.44 53.939 9.44 50.042 9.44 46.144 18.363 41.087 33.661 38.877 33.324 42.56 33.149 46.319 33.149 50.042 33.149 53.764 33.324 57.526 33.661 61.206 Z M49.999 9.483 C53.897 9.483 58.954 18.405 61.164 33.703 57.483 33.367 53.721 33.191 49.999 33.191 46.277 33.191 42.515 33.367 38.835 33.703 41.044 18.405 46.102 9.483 49.999 9.483 Z M66.338 61.206 C65.585 61.316 62.496 61.678 61.715 61.755 61.638 62.539 61.273 65.625 61.166 66.378 58.956 81.676 53.899 90.598 50.001 90.598 46.104 90.598 41.047 81.676 38.837 66.378 38.73 65.625 38.365 62.536 38.288 61.755 37.932 58.129 37.717 54.234 37.717 50.042 37.717 45.85 37.932 41.954 38.288 38.326 41.914 37.97 45.809 37.755 50.001 37.755 54.194 37.755 58.089 37.97 61.715 38.326 62.499 38.403 65.585 38.767 66.338 38.875 81.636 41.085 90.56 46.144 90.56 50.039 90.56 53.935 81.636 58.997 66.338 61.206 Z"),m(s,"stroke",l[3]),m(s,"fill",l[3]),m(e,"width",l[0]),m(e,"height",l[1]),m(e,"viewBox","0 0 100 100"),m(e,"xmlns","http://www.w3.org/2000/svg"),m(e,"xmlns:xlink","http://www.w3.org/1999/xlink"),m(e,"version","1.1"),m(e,"role","img"),m(e,"aria-labelledby","temporalLogoTitleID")},m(r,o){I(r,e,o),v(e,n),v(n,t),v(e,s)},p(r,[o]){o&4&&we(t,r[2]),o&1&&m(e,"width",r[0]),o&2&&m(e,"height",r[1])},i:fe,o:fe,d(r){r&&_(e)}}}function Js(l,e,n){let{width:t="100px"}=e,{height:s="100px"}=e,{isCloud:r}=e,{title:o="Temporal Logo"}=e,a=r?"black":"white";return l.$$set=i=>{"width"in i&&n(0,t=i.width),"height"in i&&n(1,s=i.height),"isCloud"in i&&n(4,r=i.isCloud),"title"in i&&n(2,o=i.title)},[t,s,o,a,r]}class Qs extends re{constructor(e){super(),oe(this,e,Js,Xs,ne,{width:0,height:1,isCloud:4,title:2})}}const rt=at("navOpen",!1);const Ys=l=>({}),yt=l=>({}),xs=l=>({}),At=l=>({}),el=l=>({}),Pt=l=>({}),tl=l=>({}),Ut=l=>({});function nl(l){var _e,Ie;let e,n,t,s,r,o,a,i,u,f,c,d,p,C,N,L,E,P,y,S,w,F,M,Y=(((Ie=(_e=l[3].data)==null?void 0:_e.settings)==null?void 0:Ie.version)??"")+"",Z,se,z,q,de,ie;s=new Qs({props:{height:"24px",width:"24px",isCloud:l[0],title:"View Recent Workflows"}}),i=new $e({props:{name:l[2]?"chevron-left":"chevron-right"}});const O=l[7].top,le=G(O,l,l[6],Ut),ue=l[7].middle,me=G(ue,l,l[6],Pt),Se=l[7].bottom,ce=G(Se,l,l[6],At),Ne=l[7].drawer,be=G(Ne,l,l[6],yt);let W=[{class:"nav-header transition-width"},{"data-testid":"navigation-header"},{"aria-label":"primary"},l[5]],ae={};for(let A=0;An(2,r=d)),x(l,Be,d=>n(3,o=d));let{$$slots:a={},$$scope:i}=e,{isCloud:u=!1}=e,{linkList:f}=e;function c(){ve(rt,r=!r,r)}return l.$$set=d=>{e=ke(ke({},e),Le(d)),n(5,s=je(e,t)),"isCloud"in d&&n(0,u=d.isCloud),"linkList"in d&&n(1,f=d.linkList),"$$scope"in d&&n(6,i=d.$$scope)},[u,f,r,o,c,s,i,a]}class ll extends re{constructor(e){super(),oe(this,e,sl,nl,ne,{isCloud:0,linkList:1})}}function rl(l){let e;const n=l[9].default,t=G(n,l,l[8],null);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,r){t&&t.m(s,r),e=!0},p(s,r){t&&t.p&&(!e||r&256)&&X(t,n,s,s[8],e?Q(n,s[8],r,null):J(s[8]),null)},i(s){e||(h(t,s),e=!0)},o(s){g(t,s),e=!1},d(s){t&&t.d(s)}}}function ol(l){let e,n;const t=l[9].default,s=G(t,l,l[8],null);return{c(){e=$("a"),s&&s.c(),this.h()},l(r){e=b(r,"A",{href:!0,class:!0});var o=k(e);s&&s.l(o),o.forEach(_),this.h()},h(){m(e,"href",l[0]),m(e,"class",ye(l[5])+" svelte-1wt7irb")},m(r,o){I(r,e,o),s&&s.m(e,null),n=!0},p(r,o){s&&s.p&&(!n||o&256)&&X(s,t,r,r[8],n?Q(t,r[8],o,null):J(r[8]),null),(!n||o&1)&&m(e,"href",r[0])},i(r){n||(h(s,r),n=!0)},o(r){g(s,r),n=!1},d(r){r&&_(e),s&&s.d(r)}}}function il(l){let e,n;const t=l[9].default,s=G(t,l,l[8],null);return{c(){e=$("a"),s&&s.c(),this.h()},l(r){e=b(r,"A",{href:!0,rel:!0,target:!0,class:!0});var o=k(e);s&&s.l(o),o.forEach(_),this.h()},h(){m(e,"href",l[0]),m(e,"rel","noreferrer"),m(e,"target","_blank"),m(e,"class",ye(l[5])+" svelte-1wt7irb")},m(r,o){I(r,e,o),s&&s.m(e,null),n=!0},p(r,o){s&&s.p&&(!n||o&256)&&X(s,t,r,r[8],n?Q(t,r[8],o,null):J(r[8]),null),(!n||o&1)&&m(e,"href",r[0])},i(r){n||(h(s,r),n=!0)},o(r){g(s,r),n=!1},d(r){r&&_(e),s&&s.d(r)}}}function al(l){let e,n,t,s;const r=l[9].default,o=G(r,l,l[8],null);return{c(){e=$("button"),o&&o.c(),this.h()},l(a){e=b(a,"BUTTON",{class:!0});var i=k(e);o&&o.l(i),i.forEach(_),this.h()},h(){m(e,"class",l[5]+" text-left svelte-1wt7irb")},m(a,i){I(a,e,i),o&&o.m(e,null),n=!0,t||(s=pe(e,"click",function(){it(l[4])&&l[4].apply(this,arguments)}),t=!0)},p(a,i){l=a,o&&o.p&&(!n||i&256)&&X(o,r,l,l[8],n?Q(r,l[8],i,null):J(l[8]),null)},i(a){n||(h(o,a),n=!0)},o(a){g(o,a),n=!1},d(a){a&&_(e),o&&o.d(a),t=!1,s()}}}function fl(l){let e,n,t,s,r,o;const a=[al,il,ol,rl],i=[];function u(f,c){return f[4]!==null?0:f[0]&&f[3]?1:f[0]?2:3}return n=u(l),t=i[n]=a[n](l),{c(){e=$("li"),t.c(),this.h()},l(f){e=b(f,"LI",{class:!0,"data-testid":!0});var c=k(e);t.l(c),c.forEach(_),this.h()},h(){m(e,"class",s=ye(l[0]?"":l[5])+" svelte-1wt7irb"),m(e,"data-testid",r=l[6]["data-testid"]),te(e,"noFilter",l[1]),te(e,"wrap",l[2])},m(f,c){I(f,e,c),i[n].m(e,null),o=!0},p(f,[c]){let d=n;n=u(f),n===d?i[n].p(f,c):(he(),g(i[d],1,1,()=>{i[d]=null}),ge(),t=i[n],t?t.p(f,c):(t=i[n]=a[n](f),t.c()),h(t,1),t.m(e,null)),(!o||c&1&&s!==(s=ye(f[0]?"":f[5])+" svelte-1wt7irb"))&&m(e,"class",s),(!o||c&64&&r!==(r=f[6]["data-testid"]))&&m(e,"data-testid",r),(!o||c&3)&&te(e,"noFilter",f[1]),(!o||c&5)&&te(e,"wrap",f[2])},i(f){o||(h(t),o=!0)},o(f){g(t),o=!1},d(f){f&&_(e),i[n].d()}}}function ul(l,e,n){let{$$slots:t={},$$scope:s}=e,{link:r=null}=e,{isCloud:o}=e,{noFilter:a=!1}=e,{wrap:i=!1}=e,{externalLink:u=!1}=e,{handleClick:f=null}=e,c=`nav-row ${e.class} ${o?"cloud":"local"}`;return l.$$set=d=>{n(6,e=ke(ke({},e),Le(d))),"link"in d&&n(0,r=d.link),"isCloud"in d&&n(7,o=d.isCloud),"noFilter"in d&&n(1,a=d.noFilter),"wrap"in d&&n(2,i=d.wrap),"externalLink"in d&&n(3,u=d.externalLink),"handleClick"in d&&n(4,f=d.handleClick),"$$scope"in d&&n(8,s=d.$$scope)},e=Le(e),[r,a,i,u,f,c,e,o,s,t]}class Fe extends re{constructor(e){super(),oe(this,e,ul,fl,ne,{link:0,isCloud:7,noFilter:1,wrap:2,externalLink:3,handleClick:4})}}function cl(l){let e;const n=l[2].default,t=G(n,l,l[3],null);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,r){t&&t.m(s,r),e=!0},p(s,r){t&&t.p&&(!e||r&8)&&X(t,n,s,s[3],e?Q(n,s[3],r,null):J(s[3]),null)},i(s){e||(h(t,s),e=!0)},o(s){g(t,s),e=!1},d(s){t&&t.d(s)}}}function dl(l){let e,n;const t=[{hide:l[1]},l[0]];let s={$$slots:{default:[cl]},$$scope:{ctx:l}};for(let r=0;rn(1,r=u));let{$$slots:o={},$$scope:a}=e,{props:i=s}=e;return l.$$set=u=>{e=ke(ke({},e),Le(u)),n(4,s=je(e,t)),"props"in u&&n(0,i=u.props),"$$scope"in u&&n(3,a=u.$$scope)},[i,r,o,a]}class Me extends re{constructor(e){super(),oe(this,e,ml,dl,ne,{props:0})}}const _l=l=>({}),jt=l=>({});function pl(l){let e;const n=l[3].default,t=G(n,l,l[2],null);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,r){t&&t.m(s,r),e=!0},p(s,r){t&&t.p&&(!e||r&4)&&X(t,n,s,s[2],e?Q(n,s[2],r,null):J(s[2]),null)},i(s){e||(h(t,s),e=!0)},o(s){g(t,s),e=!1},d(s){t&&t.d(s)}}}function hl(l){let e;const n=l[3].fallback,t=G(n,l,l[2],jt);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,r){t&&t.m(s,r),e=!0},p(s,r){t&&t.p&&(!e||r&4)&&X(t,n,s,s[2],e?Q(n,s[2],r,_l):J(s[2]),jt)},i(s){e||(h(t,s),e=!0)},o(s){g(t,s),e=!1},d(s){t&&t.d(s)}}}function gl(l){let e,n,t,s;const r=[hl,pl],o=[];function a(i,u){var f,c,d;return i[0]||(d=(c=(f=i[1].data)==null?void 0:f.settings)==null?void 0:c.runtimeEnvironment)!=null&&d.isCloud?0:1}return e=a(l),n=o[e]=r[e](l),{c(){n.c(),t=ee()},l(i){n.l(i),t=ee()},m(i,u){o[e].m(i,u),I(i,t,u),s=!0},p(i,[u]){let f=e;e=a(i),e===f?o[e].p(i,u):(he(),g(o[f],1,1,()=>{o[f]=null}),ge(),n=o[e],n?n.p(i,u):(n=o[e]=r[e](i),n.c()),h(n,1),n.m(t.parentNode,t))},i(i){s||(h(n),s=!0)},o(i){g(n),s=!1},d(i){o[e].d(i),i&&_(t)}}}function vl(l,e,n){let t;x(l,Be,a=>n(1,t=a));let{$$slots:s={},$$scope:r}=e,{isCloud:o=!1}=e;return l.$$set=a=>{"isCloud"in a&&n(0,o=a.isCloud),"$$scope"in a&&n(2,r=a.$$scope)},[o,t,r,s]}class ot extends re{constructor(e){super(),oe(this,e,vl,gl,ne,{isCloud:0})}}const $l=l=>({}),Ft=l=>({});function bl(l){let e;const n=l[2].fallback,t=G(n,l,l[1],Ft);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,r){t&&t.m(s,r),e=!0},p(s,r){t&&t.p&&(!e||r&2)&&X(t,n,s,s[1],e?Q(n,s[1],r,$l):J(s[1]),Ft)},i(s){e||(h(t,s),e=!0)},o(s){g(t,s),e=!1},d(s){t&&t.d(s)}}}function kl(l){let e;const n=l[2].default,t=G(n,l,l[1],null);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,r){t&&t.m(s,r),e=!0},p(s,r){t&&t.p&&(!e||r&2)&&X(t,n,s,s[1],e?Q(n,s[1],r,null):J(s[1]),null)},i(s){e||(h(t,s),e=!0)},o(s){g(t,s),e=!1},d(s){t&&t.d(s)}}}function wl(l){let e,n,t,s;const r=[kl,bl],o=[];function a(i,u){return i[0]?0:1}return e=a(l),n=o[e]=r[e](l),{c(){n.c(),t=ee()},l(i){n.l(i),t=ee()},m(i,u){o[e].m(i,u),I(i,t,u),s=!0},p(i,[u]){let f=e;e=a(i),e===f?o[e].p(i,u):(he(),g(o[f],1,1,()=>{o[f]=null}),ge(),n=o[e],n?n.p(i,u):(n=o[e]=r[e](i),n.c()),h(n,1),n.m(t.parentNode,t))},i(i){s||(h(n),s=!0)},o(i){g(n),s=!1},d(i){o[e].d(i),i&&_(t)}}}function El(l,e,n){let{$$slots:t={},$$scope:s}=e,{enabled:r=!1}=e;return l.$$set=o=>{"enabled"in o&&n(0,r=o.enabled),"$$scope"in o&&n(1,s=o.$$scope)},[r,s,t]}class Cl extends re{constructor(e){super(),oe(this,e,El,wl,ne,{enabled:0})}}function Il(){return!0}const Tl=l=>({}),Mt=l=>({});function Vl(l){let e;const n=l[4].default,t=G(n,l,l[3],null);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,r){t&&t.m(s,r),e=!0},p(s,r){t&&t.p&&(!e||r&8)&&X(t,n,s,s[3],e?Q(n,s[3],r,null):J(s[3]),null)},i(s){e||(h(t,s),e=!0)},o(s){g(t,s),e=!1},d(s){t&&t.d(s)}}}function Dl(l){let e;const n=l[4].fallback,t=G(n,l,l[3],Mt);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,r){t&&t.m(s,r),e=!0},p(s,r){t&&t.p&&(!e||r&8)&&X(t,n,s,s[3],e?Q(n,s[3],r,Tl):J(s[3]),Mt)},i(s){e||(h(t,s),e=!0)},o(s){g(t,s),e=!1},d(s){t&&t.d(s)}}}function Bl(l){let e,n,t,s;const r=[Dl,Vl],o=[];function a(i,u){return i[0]&&i[1]?0:1}return e=a(l),n=o[e]=r[e](l),{c(){n.c(),t=ee()},l(i){n.l(i),t=ee()},m(i,u){o[e].m(i,u),I(i,t,u),s=!0},p(i,[u]){let f=e;e=a(i),e===f?o[e].p(i,u):(he(),g(o[f],1,1,()=>{o[f]=null}),ge(),n=o[e],n?n.p(i,u):(n=o[e]=r[e](i),n.c()),h(n,1),n.m(t.parentNode,t))},i(i){s||(h(n),s=!0)},o(i){g(n),s=!1},d(i){o[e].d(i),i&&_(t)}}}function Nl(l,e,n){let t,s;x(l,Be,i=>n(2,s=i));let{$$slots:r={},$$scope:o}=e,{isCloud:a=!0}=e;return l.$$set=i=>{"isCloud"in i&&n(0,a=i.isCloud),"$$scope"in i&&n(3,o=i.$$scope)},l.$$.update=()=>{l.$$.dirty&4&&n(1,t=An.test(Il?s.url.hostname:""))},[a,t,s,o,r]}class Ll extends re{constructor(e){super(),oe(this,e,Nl,Bl,ne,{isCloud:0})}}const Sl=l=>({}),Ot=l=>({}),yl=l=>({}),Rt=l=>({}),Al=l=>({}),Ht=l=>({}),Pl=l=>({}),qt=l=>({}),Ul=l=>({}),Wt=l=>({});function jl(l){let e,n,t;return n=new $e({props:{name:"workflow"}}),{c(){e=$("div"),T(n.$$.fragment),this.h()},l(s){e=b(s,"DIV",{class:!0});var r=k(e);V(n.$$.fragment,r),r.forEach(_),this.h()},h(){m(e,"class","nav-icon svelte-1jb7rp7")},m(s,r){I(s,e,r),D(n,e,null),t=!0},p:fe,i(s){t||(h(n.$$.fragment,s),t=!0)},o(s){g(n.$$.fragment,s),t=!1},d(s){s&&_(e),B(n)}}}function Fl(l){let e,n,t,s,r;return e=new Me({props:{right:!0,text:"Workflows",$$slots:{default:[jl]},$$scope:{ctx:l}}}),{c(){T(e.$$.fragment),n=U(),t=$("div"),s=R("Workflows"),this.h()},l(o){V(e.$$.fragment,o),n=j(o),t=b(o,"DIV",{class:!0});var a=k(t);s=H(a,"Workflows"),a.forEach(_),this.h()},h(){m(t,"class","nav-title svelte-1jb7rp7")},m(o,a){D(e,o,a),I(o,n,a),I(o,t,a),v(t,s),r=!0},p(o,a){const i={};a&16&&(i.$$scope={dirty:a,ctx:o}),e.$set(i)},i(o){r||(h(e.$$.fragment,o),r=!0)},o(o){g(e.$$.fragment,o),r=!1},d(o){B(e,o),o&&_(n),o&&_(t)}}}function Ml(l){let e,n,t;return n=new $e({props:{name:"schedules"}}),{c(){e=$("div"),T(n.$$.fragment),this.h()},l(s){e=b(s,"DIV",{class:!0});var r=k(e);V(n.$$.fragment,r),r.forEach(_),this.h()},h(){m(e,"class","nav-icon svelte-1jb7rp7")},m(s,r){I(s,e,r),D(n,e,null),t=!0},p:fe,i(s){t||(h(n.$$.fragment,s),t=!0)},o(s){g(n.$$.fragment,s),t=!1},d(s){s&&_(e),B(n)}}}function Ol(l){let e,n,t,s,r;return e=new Me({props:{right:!0,text:"Schedules",$$slots:{default:[Ml]},$$scope:{ctx:l}}}),{c(){T(e.$$.fragment),n=U(),t=$("div"),s=R("Schedules"),this.h()},l(o){V(e.$$.fragment,o),n=j(o),t=b(o,"DIV",{class:!0});var a=k(t);s=H(a,"Schedules"),a.forEach(_),this.h()},h(){m(t,"class","nav-title svelte-1jb7rp7")},m(o,a){D(e,o,a),I(o,n,a),I(o,t,a),v(t,s),r=!0},p(o,a){const i={};a&16&&(i.$$scope={dirty:a,ctx:o}),e.$set(i)},i(o){r||(h(e.$$.fragment,o),r=!0)},o(o){g(e.$$.fragment,o),r=!1},d(o){B(e,o),o&&_(n),o&&_(t)}}}function Rl(l){let e,n;return e=new Fe({props:{link:l[2].schedules,isCloud:l[0],"data-testid":"schedules-button",$$slots:{default:[Ol]},$$scope:{ctx:l}}}),{c(){T(e.$$.fragment)},l(t){V(e.$$.fragment,t)},m(t,s){D(e,t,s),n=!0},p(t,s){const r={};s&4&&(r.link=t[2].schedules),s&1&&(r.isCloud=t[0]),s&16&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){n||(h(e.$$.fragment,t),n=!0)},o(t){g(e.$$.fragment,t),n=!1},d(t){B(e,t)}}}function Hl(l){var t,s;let e,n;return e=new Cl({props:{enabled:Boolean((s=(t=l[1])==null?void 0:t.namespaceInfo)==null?void 0:s.supportsSchedules),$$slots:{default:[Rl]},$$scope:{ctx:l}}}),{c(){T(e.$$.fragment)},l(r){V(e.$$.fragment,r)},m(r,o){D(e,r,o),n=!0},p(r,o){var i,u;const a={};o&2&&(a.enabled=Boolean((u=(i=r[1])==null?void 0:i.namespaceInfo)==null?void 0:u.supportsSchedules)),o&21&&(a.$$scope={dirty:o,ctx:r}),e.$set(a)},i(r){n||(h(e.$$.fragment,r),n=!0)},o(r){g(e.$$.fragment,r),n=!1},d(r){B(e,r)}}}function ql(l){let e,n,t;return n=new $e({props:{name:"archives"}}),{c(){e=$("div"),T(n.$$.fragment),this.h()},l(s){e=b(s,"DIV",{class:!0});var r=k(e);V(n.$$.fragment,r),r.forEach(_),this.h()},h(){m(e,"class","nav-icon svelte-1jb7rp7")},m(s,r){I(s,e,r),D(n,e,null),t=!0},p:fe,i(s){t||(h(n.$$.fragment,s),t=!0)},o(s){g(n.$$.fragment,s),t=!1},d(s){s&&_(e),B(n)}}}function Wl(l){let e,n,t,s,r;return e=new Me({props:{right:!0,text:"Archive",$$slots:{default:[ql]},$$scope:{ctx:l}}}),{c(){T(e.$$.fragment),n=U(),t=$("div"),s=R("Archive"),this.h()},l(o){V(e.$$.fragment,o),n=j(o),t=b(o,"DIV",{class:!0});var a=k(t);s=H(a,"Archive"),a.forEach(_),this.h()},h(){m(t,"class","nav-title svelte-1jb7rp7")},m(o,a){D(e,o,a),I(o,n,a),I(o,t,a),v(t,s),r=!0},p(o,a){const i={};a&16&&(i.$$scope={dirty:a,ctx:o}),e.$set(i)},i(o){r||(h(e.$$.fragment,o),r=!0)},o(o){g(e.$$.fragment,o),r=!1},d(o){B(e,o),o&&_(n),o&&_(t)}}}function zl(l){let e,n;return e=new Fe({props:{link:l[2].archive,isCloud:l[0],"data-testid":"archive-button",$$slots:{default:[Wl]},$$scope:{ctx:l}}}),{c(){T(e.$$.fragment)},l(t){V(e.$$.fragment,t)},m(t,s){D(e,t,s),n=!0},p(t,s){const r={};s&4&&(r.link=t[2].archive),s&1&&(r.isCloud=t[0]),s&16&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){n||(h(e.$$.fragment,t),n=!0)},o(t){g(e.$$.fragment,t),n=!1},d(t){B(e,t)}}}function Kl(l){let e,n,t,s,r,o,a;e=new Fe({props:{link:l[2].workflows,isCloud:l[0],"data-testid":"workflows-button",$$slots:{default:[Fl]},$$scope:{ctx:l}}}),t=new ot({props:{isCloud:l[0],$$slots:{default:[Hl]},$$scope:{ctx:l}}});const i=l[3].top,u=G(i,l,l[4],Ot);return o=new ot({props:{isCloud:l[0],$$slots:{default:[zl]},$$scope:{ctx:l}}}),{c(){T(e.$$.fragment),n=U(),T(t.$$.fragment),s=U(),u&&u.c(),r=U(),T(o.$$.fragment)},l(f){V(e.$$.fragment,f),n=j(f),V(t.$$.fragment,f),s=j(f),u&&u.l(f),r=j(f),V(o.$$.fragment,f)},m(f,c){D(e,f,c),I(f,n,c),D(t,f,c),I(f,s,c),u&&u.m(f,c),I(f,r,c),D(o,f,c),a=!0},p(f,c){const d={};c&4&&(d.link=f[2].workflows),c&1&&(d.isCloud=f[0]),c&16&&(d.$$scope={dirty:c,ctx:f}),e.$set(d);const p={};c&1&&(p.isCloud=f[0]),c&23&&(p.$$scope={dirty:c,ctx:f}),t.$set(p),u&&u.p&&(!a||c&16)&&X(u,i,f,f[4],a?Q(i,f[4],c,Sl):J(f[4]),Ot);const C={};c&1&&(C.isCloud=f[0]),c&21&&(C.$$scope={dirty:c,ctx:f}),o.$set(C)},i(f){a||(h(e.$$.fragment,f),h(t.$$.fragment,f),h(u,f),h(o.$$.fragment,f),a=!0)},o(f){g(e.$$.fragment,f),g(t.$$.fragment,f),g(u,f),g(o.$$.fragment,f),a=!1},d(f){B(e,f),f&&_(n),B(t,f),f&&_(s),u&&u.d(f),f&&_(r),B(o,f)}}}function Zl(l){let e,n,t;return n=new $e({props:{name:"namespace"}}),{c(){e=$("div"),T(n.$$.fragment),this.h()},l(s){e=b(s,"DIV",{class:!0});var r=k(e);V(n.$$.fragment,r),r.forEach(_),this.h()},h(){m(e,"class","nav-icon svelte-1jb7rp7")},m(s,r){I(s,e,r),D(n,e,null),t=!0},p:fe,i(s){t||(h(n.$$.fragment,s),t=!0)},o(s){g(n.$$.fragment,s),t=!1},d(s){s&&_(e),B(n)}}}function Gl(l){let e,n,t,s,r;return e=new Me({props:{right:!0,text:"Namespaces",$$slots:{default:[Zl]},$$scope:{ctx:l}}}),{c(){T(e.$$.fragment),n=U(),t=$("div"),s=R("Namespaces"),this.h()},l(o){V(e.$$.fragment,o),n=j(o),t=b(o,"DIV",{class:!0});var a=k(t);s=H(a,"Namespaces"),a.forEach(_),this.h()},h(){m(t,"class","nav-title svelte-1jb7rp7")},m(o,a){D(e,o,a),I(o,n,a),I(o,t,a),v(t,s),r=!0},p(o,a){const i={};a&16&&(i.$$scope={dirty:a,ctx:o}),e.$set(i)},i(o){r||(h(e.$$.fragment,o),r=!0)},o(o){g(e.$$.fragment,o),r=!1},d(o){B(e,o),o&&_(n),o&&_(t)}}}function Xl(l){let e,n;return e=new Fe({props:{link:l[2].namespaces,isCloud:l[0],"data-testid":"namespaces-button",$$slots:{default:[Gl]},$$scope:{ctx:l}}}),{c(){T(e.$$.fragment)},l(t){V(e.$$.fragment,t)},m(t,s){D(e,t,s),n=!0},p(t,s){const r={};s&4&&(r.link=t[2].namespaces),s&1&&(r.isCloud=t[0]),s&16&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){n||(h(e.$$.fragment,t),n=!0)},o(t){g(e.$$.fragment,t),n=!1},d(t){B(e,t)}}}function Jl(l){let e,n,t;e=new Ll({props:{isCloud:l[0],$$slots:{default:[Xl]},$$scope:{ctx:l}}});const s=l[3].middle,r=G(s,l,l[4],Rt);return{c(){T(e.$$.fragment),n=U(),r&&r.c()},l(o){V(e.$$.fragment,o),n=j(o),r&&r.l(o)},m(o,a){D(e,o,a),I(o,n,a),r&&r.m(o,a),t=!0},p(o,a){const i={};a&1&&(i.isCloud=o[0]),a&21&&(i.$$scope={dirty:a,ctx:o}),e.$set(i),r&&r.p&&(!t||a&16)&&X(r,s,o,o[4],t?Q(s,o[4],a,yl):J(o[4]),Rt)},i(o){t||(h(e.$$.fragment,o),h(r,o),t=!0)},o(o){g(e.$$.fragment,o),g(r,o),t=!1},d(o){B(e,o),o&&_(n),r&&r.d(o)}}}function Ql(l){let e,n,t;return n=new $e({props:{name:"import"}}),{c(){e=$("div"),T(n.$$.fragment),this.h()},l(s){e=b(s,"DIV",{class:!0});var r=k(e);V(n.$$.fragment,r),r.forEach(_),this.h()},h(){m(e,"class","nav-icon svelte-1jb7rp7")},m(s,r){I(s,e,r),D(n,e,null),t=!0},p:fe,i(s){t||(h(n.$$.fragment,s),t=!0)},o(s){g(n.$$.fragment,s),t=!1},d(s){s&&_(e),B(n)}}}function Yl(l){let e,n,t,s,r;return e=new Me({props:{right:!0,text:"Import",$$slots:{default:[Ql]},$$scope:{ctx:l}}}),{c(){T(e.$$.fragment),n=U(),t=$("div"),s=R("Import"),this.h()},l(o){V(e.$$.fragment,o),n=j(o),t=b(o,"DIV",{class:!0});var a=k(t);s=H(a,"Import"),a.forEach(_),this.h()},h(){m(t,"class","nav-title svelte-1jb7rp7")},m(o,a){D(e,o,a),I(o,n,a),I(o,t,a),v(t,s),r=!0},p(o,a){const i={};a&16&&(i.$$scope={dirty:a,ctx:o}),e.$set(i)},i(o){r||(h(e.$$.fragment,o),r=!0)},o(o){g(e.$$.fragment,o),r=!1},d(o){B(e,o),o&&_(n),o&&_(t)}}}function xl(l){let e,n;return e=new Fe({props:{link:l[2].import,isCloud:l[0],"data-testid":"import-button",$$slots:{default:[Yl]},$$scope:{ctx:l}}}),{c(){T(e.$$.fragment)},l(t){V(e.$$.fragment,t)},m(t,s){D(e,t,s),n=!0},p(t,s){const r={};s&4&&(r.link=t[2].import),s&1&&(r.isCloud=t[0]),s&16&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){n||(h(e.$$.fragment,t),n=!0)},o(t){g(e.$$.fragment,t),n=!1},d(t){B(e,t)}}}function er(l){let e,n;return e=new ot({props:{isCloud:l[0],$$slots:{default:[xl]},$$scope:{ctx:l}}}),{c(){T(e.$$.fragment)},l(t){V(e.$$.fragment,t)},m(t,s){D(e,t,s),n=!0},p(t,s){const r={};s&1&&(r.isCloud=t[0]),s&21&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){n||(h(e.$$.fragment,t),n=!0)},o(t){g(e.$$.fragment,t),n=!1},d(t){B(e,t)}}}function tr(l){let e,n,t;return n=new $e({props:{name:"feedback"}}),{c(){e=$("div"),T(n.$$.fragment),this.h()},l(s){e=b(s,"DIV",{class:!0});var r=k(e);V(n.$$.fragment,r),r.forEach(_),this.h()},h(){m(e,"class","nav-icon svelte-1jb7rp7")},m(s,r){I(s,e,r),D(n,e,null),t=!0},p:fe,i(s){t||(h(n.$$.fragment,s),t=!0)},o(s){g(n.$$.fragment,s),t=!1},d(s){s&&_(e),B(n)}}}function nr(l){let e,n,t,s,r;return e=new Me({props:{right:!0,text:"Feedback",$$slots:{default:[tr]},$$scope:{ctx:l}}}),{c(){T(e.$$.fragment),n=U(),t=$("div"),s=R("Feedback"),this.h()},l(o){V(e.$$.fragment,o),n=j(o),t=b(o,"DIV",{class:!0});var a=k(t);s=H(a,"Feedback"),a.forEach(_),this.h()},h(){m(t,"class","nav-title svelte-1jb7rp7")},m(o,a){D(e,o,a),I(o,n,a),I(o,t,a),v(t,s),r=!0},p(o,a){const i={};a&16&&(i.$$scope={dirty:a,ctx:o}),e.$set(i)},i(o){r||(h(e.$$.fragment,o),r=!0)},o(o){g(e.$$.fragment,o),r=!1},d(o){B(e,o),o&&_(n),o&&_(t)}}}function sr(l){let e,n;return e=new Fe({props:{link:l[2].feedback,isCloud:l[0],externalLink:!0,$$slots:{default:[nr]},$$scope:{ctx:l}}}),{c(){T(e.$$.fragment)},l(t){V(e.$$.fragment,t)},m(t,s){D(e,t,s),n=!0},p(t,s){const r={};s&4&&(r.link=t[2].feedback),s&1&&(r.isCloud=t[0]),s&16&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){n||(h(e.$$.fragment,t),n=!0)},o(t){g(e.$$.fragment,t),n=!1},d(t){B(e,t)}}}function lr(l){let e,n,t;const s=l[3].bottom,r=G(s,l,l[4],Wt),o=l[3].import,a=G(o,l,l[4],qt),i=a||er(l),u=l[3].feedback,f=G(u,l,l[4],Ht),c=f||sr(l);return{c(){r&&r.c(),e=U(),i&&i.c(),n=U(),c&&c.c()},l(d){r&&r.l(d),e=j(d),i&&i.l(d),n=j(d),c&&c.l(d)},m(d,p){r&&r.m(d,p),I(d,e,p),i&&i.m(d,p),I(d,n,p),c&&c.m(d,p),t=!0},p(d,p){r&&r.p&&(!t||p&16)&&X(r,s,d,d[4],t?Q(s,d[4],p,Ul):J(d[4]),Wt),a?a.p&&(!t||p&16)&&X(a,o,d,d[4],t?Q(o,d[4],p,Pl):J(d[4]),qt):i&&i.p&&(!t||p&5)&&i.p(d,t?p:-1),f?f.p&&(!t||p&16)&&X(f,u,d,d[4],t?Q(u,d[4],p,Al):J(d[4]),Ht):c&&c.p&&(!t||p&5)&&c.p(d,t?p:-1)},i(d){t||(h(r,d),h(i,d),h(c,d),t=!0)},o(d){g(r,d),g(i,d),g(c,d),t=!1},d(d){r&&r.d(d),d&&_(e),i&&i.d(d),d&&_(n),c&&c.d(d)}}}function rr(l){let e,n;return e=new ll({props:{isCloud:l[0],linkList:l[2],$$slots:{bottom:[lr],middle:[Jl],top:[Kl]},$$scope:{ctx:l}}}),{c(){T(e.$$.fragment)},l(t){V(e.$$.fragment,t)},m(t,s){D(e,t,s),n=!0},p(t,[s]){const r={};s&1&&(r.isCloud=t[0]),s&4&&(r.linkList=t[2]),s&23&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){n||(h(e.$$.fragment,t),n=!0)},o(t){g(e.$$.fragment,t),n=!1},d(t){B(e,t)}}}function or(l,e,n){let{$$slots:t={},$$scope:s}=e,{isCloud:r=!1}=e,{activeNamespace:o}=e,{linkList:a}=e;return l.$$set=i=>{"isCloud"in i&&n(0,r=i.isCloud),"activeNamespace"in i&&n(1,o=i.activeNamespace),"linkList"in i&&n(2,a=i.linkList),"$$scope"in i&&n(4,s=i.$$scope)},[r,o,a,t,s]}class ir extends re{constructor(e){super(),oe(this,e,or,rr,ne,{isCloud:0,activeNamespace:1,linkList:2})}}const ar=l=>({open:l&32}),zt=l=>({open:l[5]}),fr=l=>({}),Kt=l=>({});function ur(l){let e;const n=l[3].trigger,t=G(n,l,l[4],Kt);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,r){t&&t.m(s,r),e=!0},p(s,r){t&&t.p&&(!e||r&16)&&X(t,n,s,s[4],e?Q(n,s[4],r,fr):J(s[4]),Kt)},i(s){e||(h(t,s),e=!0)},o(s){g(t,s),e=!1},d(s){t&&t.d(s)}}}function cr(l){let e;const n=l[3].items,t=G(n,l,l[4],zt);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,r){t&&t.m(s,r),e=!0},p(s,r){t&&t.p&&(!e||r&48)&&X(t,n,s,s[4],e?Q(n,s[4],r,ar):J(s[4]),zt)},i(s){e||(h(t,s),e=!0)},o(s){g(t,s),e=!1},d(s){t&&t.d(s)}}}function dr(l){let e,n,t,s;return e=new jn({props:{controls:l[0],class:l[2].buttonClass,$$slots:{default:[ur]},$$scope:{ctx:l}}}),t=new Fn({props:{position:l[1],class:"min-w-fit "+l[2].menuClass,id:l[0],$$slots:{default:[cr]},$$scope:{ctx:l}}}),{c(){T(e.$$.fragment),n=U(),T(t.$$.fragment)},l(r){V(e.$$.fragment,r),n=j(r),V(t.$$.fragment,r)},m(r,o){D(e,r,o),I(r,n,o),D(t,r,o),s=!0},p(r,o){const a={};o&1&&(a.controls=r[0]),o&4&&(a.class=r[2].buttonClass),o&16&&(a.$$scope={dirty:o,ctx:r}),e.$set(a);const i={};o&2&&(i.position=r[1]),o&4&&(i.class="min-w-fit "+r[2].menuClass),o&1&&(i.id=r[0]),o&48&&(i.$$scope={dirty:o,ctx:r}),t.$set(i)},i(r){s||(h(e.$$.fragment,r),h(t.$$.fragment,r),s=!0)},o(r){g(e.$$.fragment,r),g(t.$$.fragment,r),s=!1},d(r){B(e,r),r&&_(n),B(t,r)}}}function mr(l){let e,n;return e=new Un({props:{$$slots:{default:[dr,({open:t})=>({5:t}),({open:t})=>t?32:0]},$$scope:{ctx:l}}}),{c(){T(e.$$.fragment)},l(t){V(e.$$.fragment,t)},m(t,s){D(e,t,s),n=!0},p(t,[s]){const r={};s&55&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){n||(h(e.$$.fragment,t),n=!0)},o(t){g(e.$$.fragment,t),n=!1},d(t){B(e,t)}}}function _r(l,e,n){const t=["id","position"];let s=je(e,t),{$$slots:r={},$$scope:o}=e,{id:a}=e,{position:i="left"}=e;return l.$$set=u=>{e=ke(ke({},e),Le(u)),n(2,s=je(e,t)),"id"in u&&n(0,a=u.id),"position"in u&&n(1,i=u.position),"$$scope"in u&&n(4,o=u.$$scope)},[a,i,s,r,o]}class mn extends re{constructor(e){super(),oe(this,e,_r,mr,ne,{id:0,position:1})}}function Zt(l,e,n){const t=l.slice();return t[16]=e[n],t}function Gt(l){let e,n;return e=new Mn({props:{title:"No Namespaces"}}),{c(){T(e.$$.fragment)},l(t){V(e.$$.fragment,t)},m(t,s){D(e,t,s),n=!0},p:fe,i(t){n||(h(e.$$.fragment,t),n=!0)},o(t){g(e.$$.fragment,t),n=!1},d(t){B(e,t)}}}function Xt(l){let e,n;return e=new $e({props:{name:"checkmark"}}),{c(){T(e.$$.fragment)},l(t){V(e.$$.fragment,t)},m(t,s){D(e,t,s),n=!0},i(t){n||(h(e.$$.fragment,t),n=!0)},o(t){g(e.$$.fragment,t),n=!1},d(t){B(e,t)}}}function Jt(l){var N;let e,n,t,s,r,o=l[16].namespace+"",a,i,u,f,c,d,p=l[16].namespace===((N=l[5].params)==null?void 0:N.namespace)&&Xt();function C(){return l[10](l[16])}return{c(){e=$("li"),n=$("a"),t=$("div"),p&&p.c(),s=U(),r=$("p"),a=R(o),u=U(),this.h()},l(L){e=b(L,"LI",{class:!0,"data-testid":!0});var E=k(e);n=b(E,"A",{href:!0,class:!0});var P=k(n);t=b(P,"DIV",{class:!0});var y=k(t);p&&p.l(y),y.forEach(_),s=j(P),r=b(P,"P",{class:!0});var S=k(r);a=H(S,o),S.forEach(_),P.forEach(_),u=j(E),E.forEach(_),this.h()},h(){var L;m(t,"class","active h-6 w-6"),m(r,"class","link svelte-18e28dw"),m(n,"href",i=l[16].href(l[16].namespace)),m(n,"class","flex w-full p-3"),te(n,"active",l[16].namespace===((L=l[5].params)==null?void 0:L.namespace)),m(e,"class","item svelte-18e28dw"),m(e,"data-testid","namespace-list-item")},m(L,E){I(L,e,E),v(e,n),v(n,t),p&&p.m(t,null),v(n,s),v(n,r),v(r,a),v(e,u),f=!0,c||(d=pe(n,"click",C),c=!0)},p(L,E){var P,y;l=L,l[16].namespace===((P=l[5].params)==null?void 0:P.namespace)?p?E&40&&h(p,1):(p=Xt(),p.c(),h(p,1),p.m(t,null)):p&&(he(),g(p,1,1,()=>{p=null}),ge()),(!f||E&8)&&o!==(o=l[16].namespace+"")&&we(a,o),(!f||E&8&&i!==(i=l[16].href(l[16].namespace)))&&m(n,"href",i),(!f||E&40)&&te(n,"active",l[16].namespace===((y=l[5].params)==null?void 0:y.namespace))},i(L){f||(h(p),f=!0)},o(L){g(p),f=!1},d(L){L&&_(e),p&&p.d(),c=!1,d()}}}function pr(l){let e,n,t,s,r,o,a,i,u,f,c,d,p;function C(S){l[9](S)}let N={autoFocus:!0,id:"namespace-search",icon:"search",placeholder:"Search"};l[1]!==void 0&&(N.value=l[1]),a=new On({props:N}),Ce.push(()=>Te(a,"value",C));let L=l[3],E=[];for(let S=0;Sg(E[S],1,1,()=>{E[S]=null});let y=null;return L.length||(y=Gt()),{c(){e=$("div"),n=$("div"),t=$("h2"),s=R("Select a Namespace"),r=U(),o=$("div"),T(a.$$.fragment),u=U(),f=$("ul");for(let S=0;Si=!1)),a.$set(F),w&56){L=S[3];let M;for(M=0;M{y=null}),ge()):(y=Gt(),y.c(),h(y,1),y.m(f,null))}},i(S){if(!c){h(a.$$.fragment,S);for(let w=0;w(r(),r=Re(f,w=>n(8,s=w)),f),a,i;x(l,ze,w=>n(4,a=w)),x(l,Be,w=>n(5,i=w)),l.$$.on_destroy.push(()=>r());let{namespaceList:u=[]}=e,{open:f}=e;o();let c="",d=0,p;const C=()=>s&&p?Array.from(p.querySelectorAll("input, a")).filter(w=>w instanceof HTMLDivElement?w.isContentEditable:!w.disabled):[],N=w=>{const F=C(),M=F[0],Y=F[F.length-1];w.key==="Tab"&&(w.shiftKey?document.activeElement===M?(Y.focus(),d=F.length-1,w.preventDefault()):d=d-1:document.activeElement===Y?(M.focus(),d=0,w.preventDefault()):d=d+1)},L=w=>{const F=C();if(w.key==="ArrowUp"){if(w.preventDefault(),d===1)return;{const M=F[d-1];M&&(M.focus(),d=d-1)}}else if(w.key==="ArrowDown")if(w.preventDefault(),d===0){const M=F[2];M&&(M.focus(),d=d+2)}else{const M=F[d+1];M&&(M.focus(),d=d+1)}},E=w=>{const F=C();!s||!F.length||F.length===1||(N(w),L(w))};function P(w){c=w,n(1,c)}const y=w=>ve(ze,a=w.namespace,a);function S(w){Ce[w?"unshift":"push"](()=>{p=w,n(2,p)})}return l.$$set=w=>{"namespaceList"in w&&n(7,u=w.namespaceList),"open"in w&&o(n(0,f=w.open))},l.$$.update=()=>{l.$$.dirty&256&&s&&C()[0].focus(),l.$$.dirty&130&&n(3,t=u.sort((w,F)=>w.namespace>F.namespace?1:F.namespace>w.namespace?-1:0).filter(({namespace:w})=>w.includes(c)))},[f,c,p,t,a,i,E,u,s,P,y,S]}class gr extends re{constructor(e){super(),oe(this,e,hr,pr,ne,{namespaceList:7,open:0})}}const _n=Nn([Be,tt,nt,Hn,et,Rn,un],([l,e,n,t,s,r,o])=>{var P,y,S,w,F,M,Y,Z,se;const a=l.params.namespace,i=(S=(y=(P=l==null?void 0:l.data)==null?void 0:P.settings)==null?void 0:y.codec)==null?void 0:S.endpoint,u=Boolean((M=(F=(w=l==null?void 0:l.data)==null?void 0:w.settings)==null?void 0:F.codec)==null?void 0:M.passAccessToken),f=Boolean((se=(Z=(Y=l==null?void 0:l.data)==null?void 0:Y.settings)==null?void 0:Z.codec)==null?void 0:se.includeCredentials),c=n?e:i||e,d=o==null?void 0:o.accessToken,p=c?t==="notRequested":r==="notRequested",C=c?t==="error":r==="error",N=c?t==="success":r==="success",L=Boolean(c&&s),E=Boolean(c||s);return{namespace:a,settingsEndpoint:i,settingsPassAccessToken:u,settingsIncludeCredentials:f,endpoint:c,accessToken:d,hasNotRequested:p,hasError:C,hasSuccess:N,hasEndpointAndPortConfigured:L,hasEndpointOrPortConfigured:E}});function Qt(l){let e,n;return{c(){e=$("small"),n=R(l[3]),this.h()},l(t){e=b(t,"SMALL",{"data-testid":!0,class:!0});var s=k(e);n=H(s,l[3]),s.forEach(_),this.h()},h(){m(e,"data-testid","data-encoder-endpoint-error"),m(e,"class","text-red-700")},m(t,s){I(t,e,s),v(e,n)},p(t,s){s&8&&we(n,t[3])},d(t){t&&_(e)}}}function Yt(l){let e,n;return{c(){e=$("small"),n=R(`Warning: Pre-flight checks will be done and could result in failure to - decode if incorrectly configured.`),this.h()},l(t){e=b(t,"SMALL",{"data-testid":!0});var s=k(e);n=H(s,`Warning: Pre-flight checks will be done and could result in failure to - decode if incorrectly configured.`),s.forEach(_),this.h()},h(){m(e,"data-testid","data-encoder-cross-origin-credentials")},m(t,s){I(t,e,s),v(e,n)},d(t){t&&_(e)}}}function vr(l){let e,n,t,s,r,o,a,i,u,f,c,d,p,C,N,L,E,P,y,S,w,F,M,Y,Z=l[3]&&Qt(l);function se(O){l[6](O)}let z={id:"pass-access-token","data-testid":"data-encoder-pass-access-token"};l[1]!==void 0&&(z.checked=l[1]),p=new Vt({props:z}),Ce.push(()=>Te(p,"checked",se));function q(O){l[7](O)}let de={id:"pass-access-credentials","data-testid":"data-encoder-include-credentials"};l[2]!==void 0&&(de.checked=l[2]),P=new Vt({props:de}),Ce.push(()=>Te(P,"checked",q));let ie=l[2]&&Yt();return{c(){e=$("div"),n=$("div"),t=$("h3"),s=R("Codec Server browser endpoint"),r=U(),o=$("p"),a=R(`Enter a Codec Server endpoint for this browser. This will be stored in - your browser and will only be accessible by you.`),i=U(),u=$("textarea"),f=U(),Z&&Z.c(),c=U(),d=$("label"),T(p.$$.fragment),N=R("Pass the user access token with your endpoint."),L=U(),E=$("label"),T(P.$$.fragment),S=R("Include cross-origin credentials."),w=U(),ie&&ie.c(),this.h()},l(O){e=b(O,"DIV",{class:!0});var le=k(e);n=b(le,"DIV",{class:!0});var ue=k(n);t=b(ue,"H3",{class:!0,"data-testid":!0});var me=k(t);s=H(me,"Codec Server browser endpoint"),me.forEach(_),r=j(ue),o=b(ue,"P",{class:!0});var Se=k(o);a=H(Se,`Enter a Codec Server endpoint for this browser. This will be stored in - your browser and will only be accessible by you.`),Se.forEach(_),i=j(ue),u=b(ue,"TEXTAREA",{class:!0,rows:!0,placeholder:!0,"data-testid":!0}),k(u).forEach(_),f=j(ue),Z&&Z.l(ue),c=j(ue),d=b(ue,"LABEL",{for:!0,class:!0});var ce=k(d);V(p.$$.fragment,ce),N=H(ce,"Pass the user access token with your endpoint."),ce.forEach(_),L=j(ue),E=b(ue,"LABEL",{for:!0,class:!0});var Ne=k(E);V(P.$$.fragment,Ne),S=H(Ne,"Include cross-origin credentials."),Ne.forEach(_),w=j(ue),ie&&ie.l(ue),ue.forEach(_),le.forEach(_),this.h()},h(){m(t,"class","text-sm font-medium"),m(t,"data-testid","data-encoder-endpoint-title"),m(o,"class","text-sm"),m(u,"class","block w-full rounded-xl border-2 border-gray-900 p-2 svelte-gbph9f"),m(u,"rows",3),m(u,"placeholder","Paste your endpoint here"),m(u,"data-testid","data-encoder-endpoint-input"),te(u,"error",l[3]),m(d,"for","pass-access-token"),m(d,"class","flex items-center gap-4 font-secondary text-sm"),m(E,"for","pass-access-credentials"),m(E,"class","flex items-center gap-4 font-secondary text-sm"),m(n,"class","flex flex-col gap-2"),m(e,"class","flex flex-col gap-4")},m(O,le){I(O,e,le),v(e,n),v(n,t),v(t,s),v(n,r),v(n,o),v(o,a),v(n,i),v(n,u),We(u,l[0]),v(n,f),Z&&Z.m(n,null),v(n,c),v(n,d),D(p,d,null),v(d,N),v(n,L),v(n,E),D(P,E,null),v(E,S),v(n,w),ie&&ie.m(n,null),F=!0,M||(Y=[pe(u,"input",l[5]),pe(u,"keydown",an(l[4]))],M=!0)},p(O,[le]){le&1&&We(u,O[0]),(!F||le&8)&&te(u,"error",O[3]),O[3]?Z?Z.p(O,le):(Z=Qt(O),Z.c(),Z.m(n,c)):Z&&(Z.d(1),Z=null);const ue={};!C&&le&2&&(C=!0,ue.checked=O[1],Ve(()=>C=!1)),p.$set(ue);const me={};!y&&le&4&&(y=!0,me.checked=O[2],Ve(()=>y=!1)),P.$set(me),O[2]?ie||(ie=Yt(),ie.c(),ie.m(n,null)):ie&&(ie.d(1),ie=null)},i(O){F||(h(p.$$.fragment,O),h(P.$$.fragment,O),F=!0)},o(O){g(p.$$.fragment,O),g(P.$$.fragment,O),F=!1},d(O){O&&_(e),Z&&Z.d(),B(p),B(P),ie&&ie.d(),M=!1,Ze(Y)}}}function $r(l,e,n){let{endpoint:t=""}=e,{passToken:s=!1}=e,{includeCreds:r=!1}=e,{error:o=""}=e;function a(c){fn.call(this,l,c)}function i(){t=this.value,n(0,t)}function u(c){s=c,n(1,s)}function f(c){r=c,n(2,r)}return l.$$set=c=>{"endpoint"in c&&n(0,t=c.endpoint),"passToken"in c&&n(1,s=c.passToken),"includeCreds"in c&&n(2,r=c.includeCreds),"error"in c&&n(3,o=c.error)},[t,s,r,o,a,i,u,f]}class br extends re{constructor(e){super(),oe(this,e,$r,vr,ne,{endpoint:0,passToken:1,includeCreds:2,error:3})}}function kr(l){let e,n,t,s,r,o,a,i,u,f,c,d,p;return{c(){e=$("div"),n=$("h3"),t=R("tctl plugin port "),s=$("span"),r=R("Deprecated"),o=U(),a=$("div"),i=$("input"),u=U(),f=$("p"),c=R("*If both are set, the Codec Server endpoint will be used."),this.h()},l(C){e=b(C,"DIV",{class:!0});var N=k(e);n=b(N,"H3",{class:!0,"data-testid":!0});var L=k(n);t=H(L,"tctl plugin port "),s=b(L,"SPAN",{class:!0});var E=k(s);r=H(E,"Deprecated"),E.forEach(_),L.forEach(_),o=j(N),a=b(N,"DIV",{class:!0});var P=k(a);i=b(P,"INPUT",{class:!0,placeholder:!0,"data-testid":!0}),u=j(P),f=b(P,"P",{"data-testid":!0,class:!0});var y=k(f);c=H(y,"*If both are set, the Codec Server endpoint will be used."),y.forEach(_),P.forEach(_),N.forEach(_),this.h()},h(){m(s,"class","rounded-lg bg-orange-100 px-1 text-sm text-orange-900"),m(n,"class","text-lg"),m(n,"data-testid","data-encoder-port-title"),m(i,"class","block w-24 rounded-xl border-2 border-gray-900 p-2"),m(i,"placeholder","Port"),m(i,"data-testid","data-encoder-port-input"),m(f,"data-testid","data-encoder-info"),m(f,"class","text-sm w-[220px]"),m(a,"class","flex gap-2"),m(e,"class","my-4")},m(C,N){I(C,e,N),v(e,n),v(n,t),v(n,s),v(s,r),v(e,o),v(e,a),v(a,i),We(i,l[0]),v(a,u),v(a,f),v(f,c),d||(p=[pe(i,"input",l[2]),pe(i,"keydown",an(l[1]))],d=!0)},p(C,[N]){N&1&&i.value!==C[0]&&We(i,C[0])},i:fe,o:fe,d(C){C&&_(e),d=!1,Ze(p)}}}function wr(l,e,n){let{port:t=""}=e;function s(o){fn.call(this,l,o)}function r(){t=this.value,n(0,t)}return l.$$set=o=>{"port"in o&&n(0,t=o.port)},[t,s,r]}class Er extends re{constructor(e){super(),oe(this,e,wr,kr,ne,{port:0})}}function xt(l){let e,n,t,s,r,o,a,i,u,f,c,d,p,C,N,L,E,P,y,S,w,F,M,Y,Z,se,z,q,de,ie,O,le;N=new Kn({props:{"data-testid":"override-accordion",title:l[5]?`Use my browser setting and ignore ${l[7]}-level setting.`:`Use ${l[7]}-level setting, where available.`,$$slots:{default:[Cr]},$$scope:{ctx:l}}});function ue(W){l[16](W)}function me(W){l[17](W)}function Se(W){l[18](W)}let ce={error:l[6]};l[0]!==void 0&&(ce.endpoint=l[0]),l[1]!==void 0&&(ce.passToken=l[1]),l[4]!==void 0&&(ce.includeCreds=l[4]),E=new br({props:ce}),Ce.push(()=>Te(E,"endpoint",ue)),Ce.push(()=>Te(E,"passToken",me)),Ce.push(()=>Te(E,"includeCreds",Se));function Ne(W){l[19](W)}let be={};return l[3]!==void 0&&(be.port=l[3]),F=new Er({props:be}),Ce.push(()=>Te(F,"port",Ne)),se=new xe({props:{thin:!0,disabled:Boolean(l[6])||l[5]&&!l[0],testId:"confirm-data-encoder-button",type:"submit",$$slots:{default:[Ir]},$$scope:{ctx:l}}}),se.$on("click",l[9]),q=new xe({props:{thin:!0,variant:"link",testId:"cancel-data-encoder-button",$$slots:{default:[Tr]},$$scope:{ctx:l}}}),q.$on("click",l[8]),{c(){e=$("div"),n=$("div"),t=$("div"),s=$("h3"),r=R("Codec Server"),o=U(),a=$("p"),i=R("A "),u=$("a"),f=R("Codec Server"),c=R(` - decodes your data. A Codec Server endpoint can be set at the `),d=R(l[7]),p=R(` - level, or locally in your browser.`),C=U(),T(N.$$.fragment),L=U(),T(E.$$.fragment),w=U(),T(F.$$.fragment),Y=U(),Z=$("div"),T(se.$$.fragment),z=U(),T(q.$$.fragment),this.h()},l(W){e=b(W,"DIV",{class:!0});var ae=k(e);n=b(ae,"DIV",{class:!0});var _e=k(n);t=b(_e,"DIV",{class:!0});var Ie=k(t);s=b(Ie,"H3",{"data-testid":!0,class:!0});var A=k(s);r=H(A,"Codec Server"),A.forEach(_),Ie.forEach(_),o=j(_e),a=b(_e,"P",{class:!0});var K=k(a);i=H(K,"A "),u=b(K,"A",{rel:!0,target:!0,href:!0,class:!0});var Ee=k(u);f=H(Ee,"Codec Server"),Ee.forEach(_),c=H(K,` - decodes your data. A Codec Server endpoint can be set at the `),d=H(K,l[7]),p=H(K,` - level, or locally in your browser.`),K.forEach(_),C=j(_e),V(N.$$.fragment,_e),L=j(_e),V(E.$$.fragment,_e),w=j(_e),V(F.$$.fragment,_e),Y=j(_e),Z=b(_e,"DIV",{class:!0});var De=k(Z);V(se.$$.fragment,De),z=j(De),V(q.$$.fragment,De),De.forEach(_),_e.forEach(_),ae.forEach(_),this.h()},h(){m(s,"data-testid","data-encoder-title"),m(s,"class","text-xl"),m(t,"class","flex items-center justify-between space-x-2"),m(u,"rel","noreferrer"),m(u,"target","_blank"),m(u,"href","https://docs.temporal.io/dataconversion#codec-server"),m(u,"class","text-blue-700 underline decoration-blue-700"),m(a,"class","text-sm"),m(Z,"class","flex items-center gap-4"),m(n,"class","w-full xl:w-1/2 flex flex-col gap-4"),m(e,"class","relative w-full h-auto p-12 bg-blue-50 border-b border-blue-100 flex flex-col gap-6")},m(W,ae){I(W,e,ae),v(e,n),v(n,t),v(t,s),v(s,r),v(n,o),v(n,a),v(a,i),v(a,u),v(u,f),v(a,c),v(a,d),v(a,p),v(n,C),D(N,n,null),v(n,L),D(E,n,null),v(n,w),D(F,n,null),v(n,Y),v(n,Z),D(se,Z,null),v(Z,z),D(q,Z,null),ie=!0,O||(le=[kn(zn.call(null,e)),pe(e,"click-outside",l[20])],O=!0)},p(W,ae){(!ie||ae&128)&&we(d,W[7]);const _e={};ae&160&&(_e.title=W[5]?`Use my browser setting and ignore ${W[7]}-level setting.`:`Use ${W[7]}-level setting, where available.`),ae&134217888&&(_e.$$scope={dirty:ae,ctx:W}),N.$set(_e);const Ie={};ae&64&&(Ie.error=W[6]),!P&&ae&1&&(P=!0,Ie.endpoint=W[0],Ve(()=>P=!1)),!y&&ae&2&&(y=!0,Ie.passToken=W[1],Ve(()=>y=!1)),!S&&ae&16&&(S=!0,Ie.includeCreds=W[4],Ve(()=>S=!1)),E.$set(Ie);const A={};!M&&ae&8&&(M=!0,A.port=W[3],Ve(()=>M=!1)),F.$set(A);const K={};ae&97&&(K.disabled=Boolean(W[6])||W[5]&&!W[0]),ae&134217728&&(K.$$scope={dirty:ae,ctx:W}),se.$set(K);const Ee={};ae&134217728&&(Ee.$$scope={dirty:ae,ctx:W}),q.$set(Ee)},i(W){ie||(h(N.$$.fragment,W),h(E.$$.fragment,W),h(F.$$.fragment,W),h(se.$$.fragment,W),h(q.$$.fragment,W),de||rn(()=>{de=wn(e,Ye,{y:-50,delay:0,duration:500}),de.start()}),ie=!0)},o(W){g(N.$$.fragment,W),g(E.$$.fragment,W),g(F.$$.fragment,W),g(se.$$.fragment,W),g(q.$$.fragment,W),ie=!1},d(W){W&&_(e),B(N),B(E),B(F),B(se),B(q),O=!1,Ze(le)}}}function Cr(l){let e,n,t,s,r,o,a,i,u,f,c,d,p,C,N;return{c(){e=$("div"),n=$("label"),t=$("input"),r=R(` - Use `),o=R(l[7]),a=R(`-level setting, where available. Otherwise, - use my browser setting.`),i=U(),u=$("label"),f=$("input"),c=R(` - Use my browser setting and ignore `),d=R(l[7]),p=R(`-level - setting.`),this.h()},l(L){e=b(L,"DIV",{class:!0});var E=k(e);n=b(E,"LABEL",{class:!0,for:!0});var P=k(n);t=b(P,"INPUT",{class:!0,type:!0,name:!0,id:!0,"data-testid":!0}),r=H(P,` - Use `),o=H(P,l[7]),a=H(P,`-level setting, where available. Otherwise, - use my browser setting.`),P.forEach(_),i=j(E),u=b(E,"LABEL",{class:!0,for:!0});var y=k(u);f=b(y,"INPUT",{class:!0,type:!0,name:!0,id:!0,"data-testid":!0}),c=H(y,` - Use my browser setting and ignore `),d=H(y,l[7]),p=H(y,`-level - setting.`),y.forEach(_),E.forEach(_),this.h()},h(){m(t,"class","w-4 h-4 accent-gray-900"),m(t,"type","radio"),t.checked=s=!l[5],m(t,"name","use-configuration-endpoint"),m(t,"id","use-configuration-endpoint-radio"),m(t,"data-testid","use-configuration-endpoint-input"),m(n,"class","flex flex-row items-center gap-2 cursor-pointer"),m(n,"for","use-configuration-endpoint-radio"),m(f,"class","w-4 h-4 accent-gray-900"),m(f,"type","radio"),f.checked=l[5],m(f,"name","use-local-endpoint"),m(f,"id","use-local-endpoint-radio"),m(f,"data-testid","use-local-endpoint-input"),m(u,"class","flex flex-row items-center gap-2 cursor-pointer"),m(u,"for","use-local-endpoint-radio"),m(e,"class","flex flex-col gap-2")},m(L,E){I(L,e,E),v(e,n),v(n,t),v(n,r),v(n,o),v(n,a),v(e,i),v(e,u),v(u,f),v(u,c),v(u,d),v(u,p),C||(N=[pe(t,"click",l[14]),pe(f,"click",l[15])],C=!0)},p(L,E){E&32&&s!==(s=!L[5])&&(t.checked=s),E&128&&we(o,L[7]),E&32&&(f.checked=L[5]),E&128&&we(d,L[7])},d(L){L&&_(e),C=!1,Ze(N)}}}function Ir(l){let e;return{c(){e=R("Apply")},l(n){e=H(n,"Apply")},m(n,t){I(n,e,t)},d(n){n&&_(e)}}}function Tr(l){let e;return{c(){e=R("Cancel")},l(n){e=H(n,"Cancel")},m(n,t){I(n,e,t)},d(n){n&&_(e)}}}function Vr(l){let e,n,t=l[2]&&xt(l);return{c(){t&&t.c(),e=ee()},l(s){t&&t.l(s),e=ee()},m(s,r){t&&t.m(s,r),I(s,e,r),n=!0},p(s,[r]){s[2]?t?(t.p(s,r),r&4&&h(t,1)):(t=xt(s),t.c(),h(t,1),t.m(e.parentNode,e)):t&&(he(),g(t,1,1,()=>{t=null}),ge())},i(s){n||(h(t),n=!0)},o(s){g(t),n=!1},d(s){t&&t.d(s),s&&_(e)}}}const Ue=Qe(!1);function Dr(l,e,n){let t,s,r,o,a,i=fe,u,f,c,d,p;x(l,Dt,O=>n(21,r=O)),x(l,Be,O=>n(13,o=O)),x(l,Ue,O=>n(2,a=O)),x(l,nt,O=>n(22,u=O)),x(l,et,O=>n(23,f=O)),x(l,It,O=>n(24,c=O)),x(l,Tt,O=>n(25,d=O)),x(l,tt,O=>n(26,p=O)),l.$$.on_destroy.push(()=>i());var C,N,L;let E=p??"",P=f??"",y=d??!1,S=c??!1,w=u??!1;const F=()=>{n(0,E=p),n(3,P=f),n(1,y=d),n(4,S=c),n(5,w=u),ve(Ue,a=!1,a)},M=()=>{n(6,t=""),ve(tt,p=E,p),ve(Tt,d=y,d),ve(It,c=S,c),ve(et,f=P,f),ve(nt,u=w,u),ve(Ue,a=!1,a),o.url.pathname.endsWith("history")&&ve(Dt,r=Date.now(),r)},Y=()=>n(5,w=!1),Z=()=>n(5,w=!0);function se(O){E=O,n(0,E)}function z(O){y=O,n(1,y)}function q(O){S=O,n(4,S)}function de(O){P=O,n(3,P)}const ie=()=>ve(Ue,a=!1,a);return l.$$.update=()=>{l.$$.dirty&15360&&n(7,s=!(n(12,L=n(11,N=n(10,C=o.data)===null||C===void 0?void 0:C.settings)===null||N===void 0?void 0:N.runtimeEnvironment)===null||L===void 0)&&L.isCloud?"Namespace":"Cluster"),l.$$.dirty&3&&(y&&!qn(E)?n(6,t="Endpoint must be https:// if passing access token"):E&&!Wn(E)?n(6,t="Endpoint must start with http:// or https://"):n(6,t="")),l.$$.dirty&4&&(a||F())},n(6,t=""),[E,y,a,P,S,w,t,s,F,M,C,N,L,o,Y,Z,se,z,q,de,ie]}class Br extends re{constructor(e){super(),oe(this,e,Dr,Vr,ne,{})}}function Nr(l){let e,n;return e=new He({props:{bottomRight:!0,text:"Configure Codec Server",$$slots:{default:[Sr]},$$scope:{ctx:l}}}),{c(){T(e.$$.fragment)},l(t){V(e.$$.fragment,t)},m(t,s){D(e,t,s),n=!0},p(t,s){const r={};s&8&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){n||(h(e.$$.fragment,t),n=!0)},o(t){g(e.$$.fragment,t),n=!1},d(t){B(e,t)}}}function Lr(l){let e,n,t,s;const r=[Pr,Ar,yr],o=[];function a(i,u){var f;return(f=i[0])!=null&&f.hasNotRequested?0:i[0].hasError?1:i[0].hasSuccess?2:-1}return~(e=a(l))&&(n=o[e]=r[e](l)),{c(){n&&n.c(),t=ee()},l(i){n&&n.l(i),t=ee()},m(i,u){~e&&o[e].m(i,u),I(i,t,u),s=!0},p(i,u){let f=e;e=a(i),e===f?~e&&o[e].p(i,u):(n&&(he(),g(o[f],1,1,()=>{o[f]=null}),ge()),~e?(n=o[e],n?n.p(i,u):(n=o[e]=r[e](i),n.c()),h(n,1),n.m(t.parentNode,t)):n=null)},i(i){s||(h(n),s=!0)},o(i){g(n),s=!1},d(i){~e&&o[e].d(i),i&&_(t)}}}function Sr(l){let e,n,t,s,r,o,a;t=new $e({props:{name:"transcoder-off"}});const i=l[2].default,u=G(i,l,l[3],null);return{c(){e=$("button"),n=$("div"),T(t.$$.fragment),s=U(),u&&u.c(),this.h()},l(f){e=b(f,"BUTTON",{class:!0,"data-testid":!0});var c=k(e);n=b(c,"DIV",{class:!0});var d=k(n);V(t.$$.fragment,d),d.forEach(_),s=j(c),u&&u.l(c),c.forEach(_),this.h()},h(){m(n,"class","mx-1 flex items-center"),m(e,"class","relative flex items-center"),m(e,"data-testid","data-encoder-status")},m(f,c){I(f,e,c),v(e,n),D(t,n,null),v(e,s),u&&u.m(e,null),r=!0,o||(a=pe(e,"click",l[1]),o=!0)},p(f,c){u&&u.p&&(!r||c&8)&&X(u,i,f,f[3],r?Q(i,f[3],c,null):J(f[3]),null)},i(f){r||(h(t.$$.fragment,f),h(u,f),r=!0)},o(f){g(t.$$.fragment,f),g(u,f),r=!1},d(f){f&&_(e),B(t),u&&u.d(f),o=!1,a()}}}function yr(l){let e,n;return e=new He({props:{bottomRight:!0,text:"Codec Server succesfully converted content",$$slots:{default:[Ur]},$$scope:{ctx:l}}}),{c(){T(e.$$.fragment)},l(t){V(e.$$.fragment,t)},m(t,s){D(e,t,s),n=!0},p(t,s){const r={};s&8&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){n||(h(e.$$.fragment,t),n=!0)},o(t){g(e.$$.fragment,t),n=!1},d(t){B(e,t)}}}function Ar(l){let e,n;return e=new He({props:{bottomRight:!0,text:"Codec Server could not connect",$$slots:{default:[jr]},$$scope:{ctx:l}}}),{c(){T(e.$$.fragment)},l(t){V(e.$$.fragment,t)},m(t,s){D(e,t,s),n=!0},p(t,s){const r={};s&8&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){n||(h(e.$$.fragment,t),n=!0)},o(t){g(e.$$.fragment,t),n=!1},d(t){B(e,t)}}}function Pr(l){let e,n;return e=new He({props:{bottomRight:!0,text:"Codec Server is configured",$$slots:{default:[Fr]},$$scope:{ctx:l}}}),{c(){T(e.$$.fragment)},l(t){V(e.$$.fragment,t)},m(t,s){D(e,t,s),n=!0},p(t,s){const r={};s&8&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){n||(h(e.$$.fragment,t),n=!0)},o(t){g(e.$$.fragment,t),n=!1},d(t){B(e,t)}}}function Ur(l){let e,n,t,s,r,o,a;t=new $e({props:{name:"transcoder-on"}});const i=l[2].default,u=G(i,l,l[3],null);return{c(){e=$("button"),n=$("div"),T(t.$$.fragment),s=U(),u&&u.c(),this.h()},l(f){e=b(f,"BUTTON",{class:!0,"data-testid":!0});var c=k(e);n=b(c,"DIV",{class:!0});var d=k(n);V(t.$$.fragment,d),d.forEach(_),s=j(c),u&&u.l(c),c.forEach(_),this.h()},h(){m(n,"class","mx-1 flex items-center"),m(e,"class","relative flex items-center"),m(e,"data-testid","data-encoder-status-success")},m(f,c){I(f,e,c),v(e,n),D(t,n,null),v(e,s),u&&u.m(e,null),r=!0,o||(a=pe(e,"click",l[1]),o=!0)},p(f,c){u&&u.p&&(!r||c&8)&&X(u,i,f,f[3],r?Q(i,f[3],c,null):J(f[3]),null)},i(f){r||(h(t.$$.fragment,f),h(u,f),r=!0)},o(f){g(t.$$.fragment,f),g(u,f),r=!1},d(f){f&&_(e),B(t),u&&u.d(f),o=!1,a()}}}function jr(l){let e,n,t,s,r,o,a;t=new $e({props:{name:"transcoder-error"}});const i=l[2].default,u=G(i,l,l[3],null);return{c(){e=$("button"),n=$("div"),T(t.$$.fragment),s=U(),u&&u.c(),this.h()},l(f){e=b(f,"BUTTON",{class:!0,"data-testid":!0});var c=k(e);n=b(c,"DIV",{class:!0});var d=k(n);V(t.$$.fragment,d),d.forEach(_),s=j(c),u&&u.l(c),c.forEach(_),this.h()},h(){m(n,"class","mx-1 flex items-center"),m(e,"class","relative flex items-center"),m(e,"data-testid","data-encoder-status-error")},m(f,c){I(f,e,c),v(e,n),D(t,n,null),v(e,s),u&&u.m(e,null),r=!0,o||(a=pe(e,"click",l[1]),o=!0)},p(f,c){u&&u.p&&(!r||c&8)&&X(u,i,f,f[3],r?Q(i,f[3],c,null):J(f[3]),null)},i(f){r||(h(t.$$.fragment,f),h(u,f),r=!0)},o(f){g(t.$$.fragment,f),g(u,f),r=!1},d(f){f&&_(e),B(t),u&&u.d(f),o=!1,a()}}}function Fr(l){let e,n,t,s,r,o,a;t=new $e({props:{name:"transcoder-on"}});const i=l[2].default,u=G(i,l,l[3],null);return{c(){e=$("button"),n=$("div"),T(t.$$.fragment),s=U(),u&&u.c(),this.h()},l(f){e=b(f,"BUTTON",{class:!0,"data-testid":!0});var c=k(e);n=b(c,"DIV",{class:!0});var d=k(n);V(t.$$.fragment,d),d.forEach(_),s=j(c),u&&u.l(c),c.forEach(_),this.h()},h(){m(n,"class","mx-1 flex items-center"),m(e,"class","relative flex items-center"),m(e,"data-testid","data-encoder-status-configured")},m(f,c){I(f,e,c),v(e,n),D(t,n,null),v(e,s),u&&u.m(e,null),r=!0,o||(a=pe(e,"click",l[1]),o=!0)},p(f,c){u&&u.p&&(!r||c&8)&&X(u,i,f,f[3],r?Q(i,f[3],c,null):J(f[3]),null)},i(f){r||(h(t.$$.fragment,f),h(u,f),r=!0)},o(f){g(t.$$.fragment,f),g(u,f),r=!1},d(f){f&&_(e),B(t),u&&u.d(f),o=!1,a()}}}function Mr(l){let e,n,t,s;const r=[Lr,Nr],o=[];function a(i,u){var f;return(f=i[0])!=null&&f.hasEndpointOrPortConfigured?0:1}return e=a(l),n=o[e]=r[e](l),{c(){n.c(),t=ee()},l(i){n.l(i),t=ee()},m(i,u){o[e].m(i,u),I(i,t,u),s=!0},p(i,[u]){let f=e;e=a(i),e===f?o[e].p(i,u):(he(),g(o[f],1,1,()=>{o[f]=null}),ge(),n=o[e],n?n.p(i,u):(n=o[e]=r[e](i),n.c()),h(n,1),n.m(t.parentNode,t))},i(i){s||(h(n),s=!0)},o(i){g(n),s=!1},d(i){o[e].d(i),i&&_(t)}}}function Or(l,e,n){let t,s;x(l,Ue,i=>n(4,t=i)),x(l,_n,i=>n(0,s=i));let{$$slots:r={},$$scope:o}=e;const a=()=>{var i;ve(Ue,t=!t,t),t&&((i=document.getElementById("content"))===null||i===void 0||i.scrollTo(0,0))};return l.$$set=i=>{"$$scope"in i&&n(3,o=i.$$scope)},[s,a,r,o]}class Rr extends re{constructor(e){super(),oe(this,e,Or,Mr,ne,{})}}function en(l){let e=l[2],n,t,s,r=tn(l);return t=new Rr({}),{c(){r.c(),n=U(),T(t.$$.fragment)},l(o){r.l(o),n=j(o),V(t.$$.fragment,o)},m(o,a){r.m(o,a),I(o,n,a),D(t,o,a),s=!0},p(o,a){a&4&&ne(e,e=o[2])?(he(),g(r,1,1,fe),ge(),r=tn(o),r.c(),h(r,1),r.m(n.parentNode,n)):r.p(o,a)},i(o){s||(h(r),h(t.$$.fragment,o),s=!0)},o(o){g(r),g(t.$$.fragment,o),s=!1},d(o){r.d(o),o&&_(n),B(t,o)}}}function Hr(l){let e,n,t,s,r;return e=new $e({props:{name:"namespace-switcher",class:"scale-75"}}),s=new $e({props:{name:"chevron-down"}}),{c(){T(e.$$.fragment),n=$("span"),t=R(l[2]),T(s.$$.fragment),this.h()},l(o){V(e.$$.fragment,o),n=b(o,"SPAN",{class:!0});var a=k(n);t=H(a,l[2]),a.forEach(_),V(s.$$.fragment,o),this.h()},h(){m(n,"class","max-w-[160px] truncate md:max-w-none")},m(o,a){D(e,o,a),I(o,n,a),v(n,t),D(s,o,a),r=!0},p(o,a){(!r||a&4)&&we(t,o[2])},i(o){r||(h(e.$$.fragment,o),h(s.$$.fragment,o),r=!0)},o(o){g(e.$$.fragment,o),g(s.$$.fragment,o),r=!1},d(o){B(e,o),o&&_(n),B(s,o)}}}function qr(l){let e,n,t;return n=new Pn({props:{type:"purple",class:"leading-0 flex gap-1 truncate pl-2",$$slots:{default:[Hr]},$$scope:{ctx:l}}}),{c(){e=$("div"),T(n.$$.fragment),this.h()},l(s){e=b(s,"DIV",{slot:!0,"data-testid":!0});var r=k(e);V(n.$$.fragment,r),r.forEach(_),this.h()},h(){m(e,"slot","trigger"),m(e,"data-testid","namespace-select-button")},m(s,r){I(s,e,r),D(n,e,null),t=!0},p(s,r){const o={};r&2052&&(o.$$scope={dirty:r,ctx:s}),n.$set(o)},i(s){t||(h(n.$$.fragment,s),t=!0)},o(s){g(n.$$.fragment,s),t=!1},d(s){s&&_(e),B(n)}}}function Wr(l){let e,n,t;return n=new gr({props:{namespaceList:l[1],open:l[10]}}),{c(){e=$("div"),T(n.$$.fragment),this.h()},l(s){e=b(s,"DIV",{class:!0,slot:!0,"data-testid":!0});var r=k(e);V(n.$$.fragment,r),r.forEach(_),this.h()},h(){m(e,"class","h-auto max-h-[400px] w-[220px] max-w-[220px] overflow-auto md:w-[360px] md:max-w-[360px] lg:w-[500px] lg:max-w-[500px]"),m(e,"slot","items"),m(e,"data-testid","namespace-select-list")},m(s,r){I(s,e,r),D(n,e,null),t=!0},p(s,r){const o={};r&2&&(o.namespaceList=s[1]),r&1024&&(o.open=s[10]),n.$set(o)},i(s){t||(h(n.$$.fragment,s),t=!0)},o(s){g(n.$$.fragment,s),t=!1},d(s){s&&_(e),B(n)}}}function tn(l){let e,n;return e=new mn({props:{id:"namespace",position:"right",menuClass:"border-2 bg-purple-200",buttonClass:"border border-purple-700 rounded-sm",$$slots:{items:[Wr,({open:t})=>({10:t}),({open:t})=>t?1024:0],trigger:[qr]},$$scope:{ctx:l}}}),{c(){T(e.$$.fragment)},l(t){V(e.$$.fragment,t)},m(t,s){D(e,t,s),n=!0},p(t,s){const r={};s&3078&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){n||(h(e.$$.fragment,t),n=!0)},o(t){g(e.$$.fragment,t),n=!1},d(t){B(e,t)}}}function nn(l){let e,n;return e=new mn({props:{id:"user",position:"right",$$slots:{items:[Gr],trigger:[zr]},$$scope:{ctx:l}}}),{c(){T(e.$$.fragment)},l(t){V(e.$$.fragment,t)},m(t,s){D(e,t,s),n=!0},p(t,s){const r={};s&2121&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){n||(h(e.$$.fragment,t),n=!0)},o(t){g(e.$$.fragment,t),n=!1},d(t){B(e,t)}}}function sn(l){var s;let e,n=((s=l[6])==null?void 0:s.name.trim().charAt(0))+"",t;return{c(){e=$("div"),t=R(n),this.h()},l(r){e=b(r,"DIV",{class:!0});var o=k(e);t=H(o,n),o.forEach(_),this.h()},h(){m(e,"class","text-center text-sm text-black")},m(r,o){I(r,e,o),v(e,t)},p(r,o){var a;o&64&&n!==(n=((a=r[6])==null?void 0:a.name.trim().charAt(0))+"")&&we(t,n)},d(r){r&&_(e)}}}function zr(l){var p;let e,n,t,s,r,o,a,i,u,f,c,d=((p=l[6])==null?void 0:p.name)&&sn(l);return i=new $e({props:{name:"chevron-down",class:"mt-1"}}),{c(){e=$("div"),n=$("img"),r=U(),o=$("div"),d&&d.c(),a=U(),T(i.$$.fragment),this.h()},l(C){e=b(C,"DIV",{slot:!0,class:!0});var N=k(e);n=b(N,"IMG",{src:!0,alt:!0,class:!0}),r=j(N),o=b(N,"DIV",{class:!0});var L=k(o);d&&d.l(L),L.forEach(_),a=j(N),V(i.$$.fragment,N),N.forEach(_),this.h()},h(){var C,N;vt(n.src,t=(C=l[6])==null?void 0:C.picture)||m(n,"src",t),m(n,"alt",s=((N=l[6])==null?void 0:N.profile)??"user profile"),m(n,"class","h-[24px] w-[24px] cursor-pointer rounded-md"),te(n,"hidden",!l[3]),m(o,"class","aspect-square h-[24px] h-full w-[24px] rounded-md bg-blue-200 p-0.5"),te(o,"hidden",l[3]),m(e,"slot","trigger"),m(e,"class","flex items-center gap-1")},m(C,N){I(C,e,N),v(e,n),v(e,r),v(e,o),d&&d.m(o,null),v(e,a),D(i,e,null),u=!0,f||(c=pe(n,"error",l[7]),f=!0)},p(C,N){var L,E,P;(!u||N&64&&!vt(n.src,t=(L=C[6])==null?void 0:L.picture))&&m(n,"src",t),(!u||N&64&&s!==(s=((E=C[6])==null?void 0:E.profile)??"user profile"))&&m(n,"alt",s),(!u||N&8)&&te(n,"hidden",!C[3]),(P=C[6])!=null&&P.name?d?d.p(C,N):(d=sn(C),d.c(),d.m(o,null)):d&&(d.d(1),d=null),(!u||N&8)&&te(o,"hidden",C[3])},i(C){u||(h(i.$$.fragment,C),u=!0)},o(C){g(i.$$.fragment,C),u=!1},d(C){C&&_(e),d&&d.d(),B(i),f=!1,c()}}}function Kr(l){let e=l[6].email+"",n;return{c(){n=R(e)},l(t){n=H(t,e)},m(t,s){I(t,n,s)},p(t,s){s&64&&e!==(e=t[6].email+"")&&we(n,e)},d(t){t&&_(n)}}}function Zr(l){let e;return{c(){e=R("Log out")},l(n){e=H(n,"Log out")},m(n,t){I(n,e,t)},d(n){n&&_(e)}}}function Gr(l){let e,n,t,s,r;return n=new Ct({props:{class:"truncate rounded-t-xl",disabled:!0,$$slots:{default:[Kr]},$$scope:{ctx:l}}}),s=new Ct({props:{class:"rounded-b-xl",$$slots:{default:[Zr]},$$scope:{ctx:l}}}),s.$on("click",function(){it(l[0])&&l[0].apply(this,arguments)}),{c(){e=$("div"),T(n.$$.fragment),t=U(),T(s.$$.fragment),this.h()},l(o){e=b(o,"DIV",{class:!0,slot:!0});var a=k(e);V(n.$$.fragment,a),t=j(a),V(s.$$.fragment,a),a.forEach(_),this.h()},h(){m(e,"class","h-auto w-[300px]"),m(e,"slot","items")},m(o,a){I(o,e,a),D(n,e,null),v(e,t),D(s,e,null),r=!0},p(o,a){l=o;const i={};a&2112&&(i.$$scope={dirty:a,ctx:l}),n.$set(i);const u={};a&2048&&(u.$$scope={dirty:a,ctx:l}),s.$set(u)},i(o){r||(h(n.$$.fragment,o),h(s.$$.fragment,o),r=!0)},o(o){g(n.$$.fragment,o),g(s.$$.fragment,o),r=!1},d(o){o&&_(e),B(n),B(s)}}}function Xr(l){let e,n,t,s,r,o,a=l[4]&&en(l),i=l[6].accessToken&&nn(l);return{c(){e=$("div"),n=$("div"),t=U(),s=$("div"),a&&a.c(),r=U(),i&&i.c(),this.h()},l(u){e=b(u,"DIV",{class:!0,"data-testid":!0});var f=k(e);n=b(f,"DIV",{class:!0}),k(n).forEach(_),t=j(f),s=b(f,"DIV",{class:!0});var c=k(s);a&&a.l(c),r=j(c),i&&i.l(c),c.forEach(_),f.forEach(_),this.h()},h(){m(n,"class","flex items-center gap-2"),m(s,"class","flex items-center gap-2"),m(e,"class","sticky top-0 z-30 flex h-10 w-full items-center justify-between border-b-2 bg-gray-100 p-1 px-4 md:px-10"),m(e,"data-testid","top-nav"),te(e,"bg-red-50",l[5].hasError&&l[4])},m(u,f){I(u,e,f),v(e,n),v(e,t),v(e,s),a&&a.m(s,null),v(s,r),i&&i.m(s,null),o=!0},p(u,[f]){u[4]?a?(a.p(u,f),f&16&&h(a,1)):(a=en(u),a.c(),h(a,1),a.m(s,r)):a&&(he(),g(a,1,1,()=>{a=null}),ge()),u[6].accessToken?i?(i.p(u,f),f&64&&h(i,1)):(i=nn(u),i.c(),h(i,1),i.m(s,null)):i&&(he(),g(i,1,1,()=>{i=null}),ge()),(!o||f&48)&&te(e,"bg-red-50",u[5].hasError&&u[4])},i(u){o||(h(a),h(i),o=!0)},o(u){g(a),g(i),o=!1},d(u){u&&_(e),a&&a.d(),i&&i.d()}}}function Jr(l,e,n){let t,s,r,o,a,i;x(l,Be,p=>n(9,o=p)),x(l,_n,p=>n(5,a=p)),x(l,un,p=>n(6,i=p));let{logout:u}=e,{namespaceList:f=[]}=e,c=!0;function d(){n(3,c=!1)}return l.$$set=p=>{"logout"in p&&n(0,u=p.logout),"namespaceList"in p&&n(1,f=p.namespaceList)},l.$$.update=()=>{l.$$.dirty&512&&n(2,t=o.params.namespace),l.$$.dirty&512&&n(8,s=o.url.pathname.split("/")),l.$$.dirty&260&&n(4,r=t&&(s.includes("workflows")||s.includes("schedules")||s.includes("task-queues")))},[u,f,t,c,r,a,i,d,s,o]}class Qr extends re{constructor(e){super(),oe(this,e,Jr,Xr,ne,{logout:0,namespaceList:1})}}function Yr(l){let e;const n=l[19].default,t=G(n,l,l[20],null);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,r){t&&t.m(s,r),e=!0},p(s,r){t&&t.p&&(!e||r&1048576)&&X(t,n,s,s[20],e?Q(n,s[20],r,null):J(s[20]),null)},i(s){e||(h(t,s),e=!0)},o(s){g(t,s),e=!1},d(s){t&&t.d(s)}}}function xr(l){let e,n,t,s,r,o,a,i,u;return e=new Br({}),t=new Qr({props:{logout:l[5],namespaceList:l[2]}}),r=new us({props:{uiVersionInfo:l[4]}}),i=new Bs({props:{onError:to,$$slots:{default:[Yr]},$$scope:{ctx:l}}}),{c(){T(e.$$.fragment),n=U(),T(t.$$.fragment),s=U(),T(r.$$.fragment),o=U(),a=$("div"),T(i.$$.fragment),this.h()},l(f){V(e.$$.fragment,f),n=j(f),V(t.$$.fragment,f),s=j(f),V(r.$$.fragment,f),o=j(f),a=b(f,"DIV",{class:!0});var c=k(a);V(i.$$.fragment,c),c.forEach(_),this.h()},h(){m(a,"class","z-10 -mt-4 flex w-full flex-col gap-4 px-10 pb-10 pt-8")},m(f,c){D(e,f,c),I(f,n,c),D(t,f,c),I(f,s,c),D(r,f,c),I(f,o,c),I(f,a,c),D(i,a,null),u=!0},p(f,c){const d={};c&4&&(d.namespaceList=f[2]),t.$set(d);const p={};c&16&&(p.uiVersionInfo=f[4]),r.$set(p);const C={};c&1048576&&(C.$$scope={dirty:c,ctx:f}),i.$set(C)},i(f){u||(h(e.$$.fragment,f),h(t.$$.fragment,f),h(r.$$.fragment,f),h(i.$$.fragment,f),u=!0)},o(f){g(e.$$.fragment,f),g(t.$$.fragment,f),g(r.$$.fragment,f),g(i.$$.fragment,f),u=!1},d(f){B(e,f),f&&_(n),B(t,f),f&&_(s),B(r,f),f&&_(o),f&&_(a),B(i)}}}function eo(l){let e,n,t,s,r,o,a,i;return n=new Us({props:{pop:kt.pop,toasts:kt.toasts}}),r=new ir({props:{activeNamespace:l[3],linkList:l[1],isCloud:l[0]}}),a=new Gs({props:{$$slots:{default:[xr]},$$scope:{ctx:l}}}),{c(){e=$("div"),T(n.$$.fragment),t=U(),s=$("div"),T(r.$$.fragment),o=U(),T(a.$$.fragment),this.h()},l(u){e=b(u,"DIV",{class:!0});var f=k(e);V(n.$$.fragment,f),t=j(f),s=b(f,"DIV",{class:!0});var c=k(s);V(r.$$.fragment,c),c.forEach(_),o=j(f),V(a.$$.fragment,f),f.forEach(_),this.h()},h(){m(s,"class","sticky top-0 z-20 h-screen w-auto"),m(e,"class","flex w-screen flex-row")},m(u,f){I(u,e,f),D(n,e,null),v(e,t),v(e,s),D(r,s,null),v(e,o),D(a,e,null),i=!0},p(u,[f]){const c={};f&8&&(c.activeNamespace=u[3]),f&2&&(c.linkList=u[1]),f&1&&(c.isCloud=u[0]),r.$set(c);const d={};f&1048596&&(d.$$scope={dirty:f,ctx:u}),a.$set(d)},i(u){i||(h(n.$$.fragment,u),h(r.$$.fragment,u),h(a.$$.fragment,u),i=!0)},o(u){g(n.$$.fragment,u),g(r.$$.fragment,u),g(a.$$.fragment,u),i=!1},d(u){u&&_(e),B(n),B(r),B(a)}}}const to=()=>{};function no(l,e,n){let t,s,r,o,a,i,u,f,c,d,p,C;x(l,Be,z=>n(16,f=z)),x(l,wt,z=>n(21,c=z)),x(l,Et,z=>n(22,d=z)),x(l,ze,z=>n(17,p=z)),x(l,Sn,z=>n(18,C=z));let{$$slots:N={},$$scope:L}=e;var E,P,y,S,w,F,M;let{data:Y}=e;function Z(z){return f.url.pathname.endsWith("schedules")?bt({namespace:z}):qe({namespace:z})}const se=()=>{Cn(),$t(Dn())};return En.subscribe(async z=>{z&&window.location.reload()}),l.$$set=z=>{"data"in z&&n(6,Y=z.data),"$$scope"in z&&n(20,L=z.$$scope)},l.$$.update=()=>{l.$$.dirty&64&&n(4,{uiVersionInfo:t}=Y,t),l.$$.dirty&66432&&n(0,s=n(9,y=n(8,P=n(7,E=f.data)===null||E===void 0?void 0:E.settings)===null||P===void 0?void 0:P.runtimeEnvironment)===null||y===void 0?void 0:y.isCloud),l.$$.dirty&327681&&n(15,a=s?[f.params.namespace]:C.map(z=>{var q;return(q=z==null?void 0:z.namespaceInfo)===null||q===void 0?void 0:q.name})),l.$$.dirty&32769&&n(2,i=a.map(z=>{const q=de=>s?qe({namespace:de}):Z(de);return{namespace:z,href:de=>q(de),onClick:de=>{ve(ze,p=de,p),ve(Et,d=[],d),ve(wt,c=[],c),$t(q(de))}}})),l.$$.dirty&199680&&n(14,r=n(11,w=n(10,S=f.params)===null||S===void 0?void 0:S.namespace)!==null&&w!==void 0?w:p),l.$$.dirty&278528&&n(3,o=C.find(z=>{var q;return((q=z==null?void 0:z.namespaceInfo)===null||q===void 0?void 0:q.name)===r})),l.$$.dirty&94208&&n(1,u={home:qe({namespace:r}),archive:In({namespace:r}),namespaces:Tn(),schedules:bt({namespace:r}),workflows:qe({namespace:r}),import:Vn(),feedback:(n(13,M=n(12,F=f.data)===null||F===void 0?void 0:F.settings)===null||M===void 0?void 0:M.feedbackURL)||"https://github.com/temporalio/ui/issues/new/choose"})},[s,u,i,o,t,se,Y,E,P,y,S,w,F,M,r,a,f,p,C,N,L]}class yo extends re{constructor(e){super(),oe(this,e,no,eo,ne,{data:6})}}export{yo as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-layout.ts.79161442.js b/ui/assets/local/_app/immutable/entry/(app)-layout.ts.79161442.js deleted file mode 100644 index 63e87b519f..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-layout.ts.79161442.js +++ /dev/null @@ -1 +0,0 @@ -import"../chunks/index.b1f5b21f.js";import{l as d}from"../chunks/_layout.02558e64.js";/* empty css */import"../chunks/settings-service.499312b2.js";import"../chunks/auth-user.ead5c000.js";import"../chunks/namespaces-service.00a861d3.js";import"../chunks/route-for.b4518ba8.js";export{d as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-layout.ts.e4a5852e.js b/ui/assets/local/_app/immutable/entry/(app)-layout.ts.e4a5852e.js new file mode 100644 index 0000000000..61f4fd5cb4 --- /dev/null +++ b/ui/assets/local/_app/immutable/entry/(app)-layout.ts.e4a5852e.js @@ -0,0 +1 @@ +import"../chunks/index.b1f5b21f.js";import{l as d}from"../chunks/_layout.0155ac74.js";/* empty css */import"../chunks/settings-service.4436430b.js";import"../chunks/auth-user.ead5c000.js";import"../chunks/namespaces-service.97b7c0ed.js";import"../chunks/route-for.3e9c6ff4.js";export{d as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.svelte.34c9a4c1.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.svelte.34c9a4c1.js deleted file mode 100644 index f3d2167e2f..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.svelte.34c9a4c1.js +++ /dev/null @@ -1,3 +0,0 @@ -import{S as U,b as H,a as M,m as C,w as P,c as S,C as w,p as q,q as I,x as F,k as _,d as N,D as y,u as v,f as b,M as k,E,a8 as J,U as L,W as ce,y as me,j as d,g,F as T,r as pe,L as B,Q as _e,z as j,h as D,ac as fe,A as $e,Y as he,Z as de,e as W,a7 as ue,a1 as ge,a2 as be,n as V}from"../chunks/index.d29c66be.js";import{t as R}from"../chunks/time-format.6ef667eb.js";import{p as z}from"../chunks/stores.b938c0e3.js";import{j as ve,S as ke,W as we,a as ye}from"../chunks/search.c15cabf9.js";import{g as K}from"../chunks/navigation.9ceca11e.js";import{s as X}from"../chunks/format-time.66fea38b.js";import{S as Ee,a as Q}from"../chunks/simple-select.2e5f96b1.js";import{u as Te,F as x,P as Ae}from"../chunks/pagination.15ad2803.js";import{I as Pe}from"../chunks/icon.5aa23970.js";import{E as Se}from"../chunks/empty-state.bf113865.js";import{C as Y}from"../chunks/code-block.fc92cd67.js";import{P as Fe}from"../chunks/page-title.ba38eecf.js";function Ne(i){let e,r,t,l,o,n,a,s,u,c,p;return n=new Pe({props:{name:"search",class:"flex items-center text-gray-700"}}),{c(){e=C("div"),r=C("label"),t=P(i[0]),l=S(),o=C("span"),w(n.$$.fragment),a=S(),s=C("input"),this.h()},l(f){e=q(f,"DIV",{class:!0});var m=I(e);r=q(m,"LABEL",{for:!0,class:!0});var $=I(r);t=F($,i[0]),$.forEach(_),l=N(m),o=q(m,"SPAN",{class:!0});var h=I(o);y(n.$$.fragment,h),h.forEach(_),a=N(m),s=q(m,"INPUT",{type:!0,class:!0,placeholder:!0,id:!0}),m.forEach(_),this.h()},h(){v(r,"for",i[2]),v(r,"class","hidden"),v(o,"class","svelte-fxm0nn"),v(s,"type","search"),v(s,"class","block w-full focus:outline-none"),v(s,"placeholder",i[0]),v(s,"id",i[2]),v(e,"class","input-container focus-within:border-blue-700 svelte-fxm0nn")},m(f,m){b(f,e,m),k(e,r),k(r,t),k(e,l),k(e,o),E(n,o,null),k(e,a),k(e,s),J(s,i[1]),u=!0,c||(p=[L(s,"input",i[7]),L(s,"keydown",ce(i[6]))],c=!0)},p(f,[m]){(!u||m&1)&&me(t,f[0]),(!u||m&1)&&v(s,"placeholder",f[0]),m&2&&J(s,f[1])},i(f){u||(d(n.$$.fragment,f),u=!0)},o(f){g(n.$$.fragment,f),u=!1},d(f){f&&_(e),T(n),c=!1,pe(p)}}}function Ce(i,e,r){let t;B(i,z,f=>r(5,t=f));let{parameter:l}=e,{name:o}=e,{value:n}=e,a=l&&t.url.searchParams.get(l)||n;const s=`${l||o}-filter`,u=ve(Te,300);function c(f){_e.call(this,i,f)}function p(){a=this.value,r(1,a)}return i.$$set=f=>{"parameter"in f&&r(3,l=f.parameter),"name"in f&&r(0,o=f.name),"value"in f&&r(4,n=f.value)},i.$$.update=()=>{i.$$.dirty&42&&u({parameter:l,value:a,url:t.url})},[o,a,s,l,n,t,c,p]}class ee extends U{constructor(e){super(),H(this,e,Ce,Ne,M,{parameter:3,name:0,value:4})}}function te(i,e,r){const t=i.slice();return t[7]=e[r][0],t[8]=e[r][1],t}function le(i,e,r){const t=i.slice();return t[8]=e[r],t}function qe(i){let e,r,t,l,o;return{c(){e=C("a"),r=P("Advanced Search"),this.h()},l(n){e=q(n,"A",{href:!0,class:!0});var a=I(e);r=F(a,"Advanced Search"),a.forEach(_),this.h()},h(){v(e,"href",t=i[1].url.pathname+"?query"),v(e,"class","text-blue-700")},m(n,a){b(n,e,a),k(e,r),l||(o=L(e,"click",fe(i[5]("advanced"))),l=!0)},p(n,a){a&2&&t!==(t=n[1].url.pathname+"?query")&&v(e,"href",t)},d(n){n&&_(e),l=!1,o()}}}function Ie(i){let e,r,t,l,o;return{c(){e=C("a"),r=P("Basic Search"),this.h()},l(n){e=q(n,"A",{href:!0,class:!0});var a=I(e);r=F(a,"Basic Search"),a.forEach(_),this.h()},h(){v(e,"href",t=i[1].url.pathname),v(e,"class","text-blue-700")},m(n,a){b(n,e,a),k(e,r),l||(o=L(e,"click",fe(i[5]("basic"))),l=!0)},p(n,a){a&2&&t!==(t=n[1].url.pathname)&&v(e,"href",t)},d(n){n&&_(e),l=!1,o()}}}function We(i){let e,r,t,l,o,n,a,s,u,c,p,f;r=new ee({props:{parameter:"workflow-id",name:"Workflow ID",value:Ve}}),l=new ee({props:{parameter:"workflow-type",name:"Workflow Type",value:ze}}),n=new x({props:{label:"Time Range",parameter:"time-range",value:"24 hours",$$slots:{default:[Qe]},$$scope:{ctx:i}}}),s=new x({props:{label:"Workflow Status",parameter:"status",value:null,$$slots:{default:[Le]},$$scope:{ctx:i}}});function m(h){i[6](h)}let $={id:"filter-by-relative-time",$$slots:{default:[He]},$$scope:{ctx:i}};return i[2]!==void 0&&($.value=i[2]),c=new Ee({props:$}),$e.push(()=>he(c,"value",m)),{c(){e=C("div"),w(r.$$.fragment),t=S(),w(l.$$.fragment),o=S(),w(n.$$.fragment),a=S(),w(s.$$.fragment),u=S(),w(c.$$.fragment),this.h()},l(h){e=q(h,"DIV",{class:!0,role:!0});var A=I(e);y(r.$$.fragment,A),t=N(A),y(l.$$.fragment,A),o=N(A),y(n.$$.fragment,A),a=N(A),y(s.$$.fragment,A),u=N(A),y(c.$$.fragment,A),A.forEach(_),this.h()},h(){v(e,"class","grid grid-cols-1 gap-4 sm:grid-cols-2 md:grid-cols-5"),v(e,"role","search")},m(h,A){b(h,e,A),E(r,e,null),k(e,t),E(l,e,null),k(e,o),E(n,e,null),k(e,a),E(s,e,null),k(e,u),E(c,e,null),f=!0},p(h,A){const Z={};A&8192&&(Z.$$scope={dirty:A,ctx:h}),n.$set(Z);const G={};A&8192&&(G.$$scope={dirty:A,ctx:h}),s.$set(G);const O={};A&8192&&(O.$$scope={dirty:A,ctx:h}),!p&&A&4&&(p=!0,O.value=h[2],de(()=>p=!1)),c.$set(O)},i(h){f||(d(r.$$.fragment,h),d(l.$$.fragment,h),d(n.$$.fragment,h),d(s.$$.fragment,h),d(c.$$.fragment,h),f=!0)},o(h){g(r.$$.fragment,h),g(l.$$.fragment,h),g(n.$$.fragment,h),g(s.$$.fragment,h),g(c.$$.fragment,h),f=!1},d(h){h&&_(e),T(r),T(l),T(n),T(s),T(c)}}}function je(i){let e,r;return e=new ke({props:{icon:!0,placeholder:"Query…",value:i[1].url.searchParams.get("query")}}),e.$on("submit",i[4]),{c(){w(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,l){E(e,t,l),r=!0},p(t,l){const o={};l&2&&(o.value=t[1].url.searchParams.get("query")),e.$set(o)},i(t){r||(d(e.$$.fragment,t),r=!0)},o(t){g(e.$$.fragment,t),r=!1},d(t){T(e,t)}}}function De(i){let e=i[8]+"",r;return{c(){r=P(e)},l(t){r=F(t,e)},m(t,l){b(t,r,l)},p:V,d(t){t&&_(r)}}}function re(i){let e,r;return e=new Q({props:{value:i[8],$$slots:{default:[De]},$$scope:{ctx:i}}}),{c(){w(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,l){E(e,t,l),r=!0},p(t,l){const o={};l&8192&&(o.$$scope={dirty:l,ctx:t}),e.$set(o)},i(t){r||(d(e.$$.fragment,t),r=!0)},o(t){g(e.$$.fragment,t),r=!1},d(t){T(e,t)}}}function Qe(i){let e,r,t=X,l=[];for(let n=0;ng(l[n],1,1,()=>{l[n]=null});return{c(){for(let n=0;na[7];for(let a=0;a{p[h]=null}),D(),o=p[l],o?o.p(m,$):(o=p[l]=c[l](m),o.c()),d(o,1),o.m(e,null))},i(m){n||(d(o),n=!0)},o(m){g(o),n=!1},d(m){m&&_(e),u.d(),p[l].d()}}}let Ve="",ze="";function Ye(i,e,r){let t,l;B(i,z,c=>r(1,t=c)),B(i,R,c=>r(2,l=c));const o={All:null,"Timed Out":"TimedOut",Completed:"Completed",Failed:"Failed","Continued as New":"ContinuedAsNew",Canceled:"Canceled",Terminated:"Terminated"};let n=t.url.searchParams.has("query");const a=c=>{const f=new FormData(c.target).get("query");t.url.searchParams.set("query",String(f)),K(t.url.toString())},s=c=>p=>{const f=p.target;r(0,n=c==="advanced"),n||t.url.searchParams.delete("query"),K(f.href)};function u(c){l=c,R.set(l)}return[n,t,l,o,a,s,u]}class Ze extends U{constructor(e){super(),H(this,e,Ye,Me,M,{})}}function ne(i,e,r){const t=i.slice();return t[9]=e[r],t}function Ge(i){let e,r,t,l,o,n,a,s,u,c;a=new Y({props:{content:`temporal operator namespace update --history-archival-state enabled ${i[4]}`,language:"text",inline:!0}});let p=!i[1]&&se(i);return{c(){e=C("h1"),r=P("This namespace is currently not enabled for archival."),t=S(),l=C("p"),o=P("Run this command to enable archival visibility for event histories:"),n=S(),w(a.$$.fragment),s=S(),p&&p.c(),u=W(),this.h()},l(f){e=q(f,"H1",{class:!0,"data-testid":!0});var m=I(e);r=F(m,"This namespace is currently not enabled for archival."),m.forEach(_),t=N(f),l=q(f,"P",{});var $=I(l);o=F($,"Run this command to enable archival visibility for event histories:"),$.forEach(_),n=N(f),y(a.$$.fragment,f),s=N(f),p&&p.l(f),u=W(),this.h()},h(){v(e,"class","text-2xl"),v(e,"data-testid","archived-disabled-title")},m(f,m){b(f,e,m),k(e,r),b(f,t,m),b(f,l,m),k(l,o),b(f,n,m),E(a,f,m),b(f,s,m),p&&p.m(f,m),b(f,u,m),c=!0},p(f,m){const $={};m&16&&($.content=`temporal operator namespace update --history-archival-state enabled ${f[4]}`),a.$set($),f[1]?p&&(j(),g(p,1,1,()=>{p=null}),D()):p?(p.p(f,m),m&2&&d(p,1)):(p=se(f),p.c(),d(p,1),p.m(u.parentNode,u))},i(f){c||(d(a.$$.fragment,f),d(p),c=!0)},o(f){g(a.$$.fragment,f),g(p),c=!1},d(f){f&&_(e),f&&_(t),f&&_(l),f&&_(n),T(a,f),f&&_(s),p&&p.d(f),f&&_(u)}}}function Je(i){let e,r,t,l,o,n,a,s,u,c,p;return c=new Y({props:{content:`temporal operator namespace update --visibility-archival-state enabled ${i[4]}`,language:"text",inline:!0}}),{c(){e=C("h1"),r=P(`This namespace is currently enabled for archival but visibility is not - enabled.`),t=S(),l=C("p"),o=P("To enable "),n=C("a"),a=P("archival visibility"),s=P(":"),u=S(),w(c.$$.fragment),this.h()},l(f){e=q(f,"H1",{class:!0,"data-testid":!0});var m=I(e);r=F(m,`This namespace is currently enabled for archival but visibility is not - enabled.`),m.forEach(_),t=N(f),l=q(f,"P",{});var $=I(l);o=F($,"To enable "),n=q($,"A",{class:!0,href:!0,target:!0,rel:!0});var h=I(n);a=F(h,"archival visibility"),h.forEach(_),s=F($,":"),$.forEach(_),u=N(f),y(c.$$.fragment,f),this.h()},h(){v(e,"class","text-2xl"),v(e,"data-testid","visibility-disabled-title"),v(n,"class","text-blue-700 underline"),v(n,"href","https://docs.temporal.io/clusters#archival"),v(n,"target","_blank"),v(n,"rel","noreferrer")},m(f,m){b(f,e,m),k(e,r),b(f,t,m),b(f,l,m),k(l,o),k(l,n),k(n,a),k(l,s),b(f,u,m),E(c,f,m),p=!0},p(f,m){const $={};m&16&&($.content=`temporal operator namespace update --visibility-archival-state enabled ${f[4]}`),c.$set($)},i(f){p||(d(c.$$.fragment,f),p=!0)},o(f){g(c.$$.fragment,f),p=!1},d(f){f&&_(e),f&&_(t),f&&_(l),f&&_(u),T(c,f)}}}function Ke(i){let e,r,t,l,o,n,a,s,u=!i[0]&&oe();const c=[xe,Xe],p=[];function f(m,$){var h;return(h=m[3])!=null&&h.length?0:1}return o=f(i),n=p[o]=c[o](i),{c(){e=C("h1"),r=P("Archived Workflows"),t=S(),u&&u.c(),l=S(),n.c(),a=W(),this.h()},l(m){e=q(m,"H1",{class:!0,"data-testid":!0});var $=I(e);r=F($,"Archived Workflows"),$.forEach(_),t=N(m),u&&u.l(m),l=N(m),n.l(m),a=W(),this.h()},h(){v(e,"class","text-2xl"),v(e,"data-testid","archived-enabled-title")},m(m,$){b(m,e,$),k(e,r),b(m,t,$),u&&u.m(m,$),b(m,l,$),p[o].m(m,$),b(m,a,$),s=!0},p(m,$){m[0]?u&&(j(),g(u,1,1,()=>{u=null}),D()):u?$&1&&d(u,1):(u=oe(),u.c(),d(u,1),u.m(l.parentNode,l));let h=o;o=f(m),o===h?p[o].p(m,$):(j(),g(p[h],1,1,()=>{p[h]=null}),D(),n=p[o],n?n.p(m,$):(n=p[o]=c[o](m),n.c()),d(n,1),n.m(a.parentNode,a))},i(m){s||(d(u),d(n),s=!0)},o(m){g(u),g(n),s=!1},d(m){m&&_(e),m&&_(t),u&&u.d(m),m&&_(l),p[o].d(m),m&&_(a)}}}function se(i){let e,r,t,l,o,n,a,s;return a=new Y({props:{content:`temporal operator namespace update --visibility-archival-state enabled ${i[4]}`,language:"text",inline:!0}}),{c(){e=C("p"),r=P("To enable "),t=C("a"),l=P("archival visibility"),o=P(":"),n=S(),w(a.$$.fragment),this.h()},l(u){e=q(u,"P",{});var c=I(e);r=F(c,"To enable "),t=q(c,"A",{class:!0,href:!0,target:!0,rel:!0});var p=I(t);l=F(p,"archival visibility"),p.forEach(_),o=F(c,":"),c.forEach(_),n=N(u),y(a.$$.fragment,u),this.h()},h(){v(t,"class","text-blue-700 underline"),v(t,"href","https://docs.temporal.io/clusters#archival"),v(t,"target","_blank"),v(t,"rel","noreferrer")},m(u,c){b(u,e,c),k(e,r),k(e,t),k(t,l),k(e,o),b(u,n,c),E(a,u,c),s=!0},p(u,c){const p={};c&16&&(p.content=`temporal operator namespace update --visibility-archival-state enabled ${u[4]}`),a.$set(p)},i(u){s||(d(a.$$.fragment,u),s=!0)},o(u){g(a.$$.fragment,u),s=!1},d(u){u&&_(e),u&&_(n),T(a,u)}}}function oe(i){let e,r;return e=new Ze({}),{c(){w(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,l){E(e,t,l),r=!0},i(t){r||(d(e.$$.fragment,t),r=!0)},o(t){g(e.$$.fragment,t),r=!1},d(t){T(e,t)}}}function Xe(i){let e,r;return e=new Se({props:{title:"No Workflows Found",content:"If you have filters applied, try adjusting them."}}),{c(){w(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,l){E(e,t,l),r=!0},p:V,i(t){r||(d(e.$$.fragment,t),r=!0)},o(t){g(e.$$.fragment,t),r=!1},d(t){T(e,t)}}}function xe(i){let e,r;return e=new Ae({props:{items:i[3],"aria-label":"archived workflows",$$slots:{default:[tt,({visibleItems:t})=>({8:t}),({visibleItems:t})=>t?256:0]},$$scope:{ctx:i}}}),{c(){w(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,l){E(e,t,l),r=!0},p(t,l){const o={};l&8&&(o.items=t[3]),l&4432&&(o.$$scope={dirty:l,ctx:t}),e.$set(o)},i(t){r||(d(e.$$.fragment,t),r=!0)},o(t){g(e.$$.fragment,t),r=!1},d(t){T(e,t)}}}function ie(i){let e,r;return e=new ye({props:{workflow:i[9],namespace:i[4],timeFormat:i[6]}}),{c(){w(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,l){E(e,t,l),r=!0},p(t,l){const o={};l&256&&(o.workflow=t[9]),l&16&&(o.namespace=t[4]),l&64&&(o.timeFormat=t[6]),e.$set(o)},i(t){r||(d(e.$$.fragment,t),r=!0)},o(t){g(e.$$.fragment,t),r=!1},d(t){T(e,t)}}}function et(i){let e,r,t=i[8],l=[];for(let n=0;ng(l[n],1,1,()=>{l[n]=null});return{c(){for(let n=0;n{s[m]=null}),D(),l=s[t],l?l.p(c,p):(l=s[t]=a[t](c),l.c()),d(l,1),l.m(o.parentNode,o))},i(c){n||(d(e.$$.fragment,c),d(l),n=!0)},o(c){g(e.$$.fragment,c),g(l),n=!1},d(c){T(e,c),c&&_(r),s[t].d(c),c&&_(o)}}}function rt(i,e,r){let t,l,o,n,a,s,u;B(i,z,p=>r(5,s=p)),B(i,R,p=>r(6,u=p));let{data:c}=e;return i.$$set=p=>{"data"in p&&r(7,c=p.data)},i.$$.update=()=>{i.$$.dirty&128&&r(4,{namespace:{namespaceInfo:{name:t}},workflows:l,archivalEnabled:o,visibilityArchivalEnabled:n,archivalQueryingNotSupported:a}=c,t,(r(3,l),r(7,c)),(r(2,o),r(7,c)),(r(1,n),r(7,c)),(r(0,a),r(7,c)))},[a,n,o,l,t,s,u,c]}class ht extends U{constructor(e){super(),H(this,e,rt,lt,M,{data:7})}}export{ht as default}; diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.svelte.cc6f05c6.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.svelte.c0965e7b.js similarity index 98% rename from ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.svelte.cc6f05c6.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.svelte.c0965e7b.js index b554f1793c..a17d73fdde 100644 --- a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.svelte.cc6f05c6.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.svelte.c0965e7b.js @@ -1,3 +1,3 @@ -import{S as U,b as H,a as M,m as C,w as P,c as S,C as w,p as q,q as I,x as F,k as _,d as N,D as y,u as v,f as b,M as k,E,a8 as J,U as L,W as ce,y as me,j as d,g,F as T,r as pe,L as B,Q as _e,z as j,h as D,ac as fe,A as $e,Y as he,Z as de,e as W,a7 as ue,a1 as ge,a2 as be,n as V}from"../chunks/index.d29c66be.js";import{t as R}from"../chunks/time-format.6ef667eb.js";import{p as z}from"../chunks/stores.1f7fa6eb.js";import{j as ve,S as ke,W as we,a as ye}from"../chunks/search.ceb62d05.js";import{g as K}from"../chunks/navigation.529c81bc.js";import{s as X}from"../chunks/format-time.66fea38b.js";import{S as Ee,a as Q}from"../chunks/simple-select.2e5f96b1.js";import{u as Te,F as x,P as Ae}from"../chunks/pagination.c0661e6a.js";import{I as Pe}from"../chunks/icon.5aa23970.js";import{E as Se}from"../chunks/empty-state.bf113865.js";import{C as Y}from"../chunks/code-block.fc92cd67.js";import{P as Fe}from"../chunks/page-title.ba38eecf.js";function Ne(i){let e,r,t,l,o,n,a,s,u,c,p;return n=new Pe({props:{name:"search",class:"flex items-center text-gray-700"}}),{c(){e=C("div"),r=C("label"),t=P(i[0]),l=S(),o=C("span"),w(n.$$.fragment),a=S(),s=C("input"),this.h()},l(f){e=q(f,"DIV",{class:!0});var m=I(e);r=q(m,"LABEL",{for:!0,class:!0});var $=I(r);t=F($,i[0]),$.forEach(_),l=N(m),o=q(m,"SPAN",{class:!0});var h=I(o);y(n.$$.fragment,h),h.forEach(_),a=N(m),s=q(m,"INPUT",{type:!0,class:!0,placeholder:!0,id:!0}),m.forEach(_),this.h()},h(){v(r,"for",i[2]),v(r,"class","hidden"),v(o,"class","svelte-fxm0nn"),v(s,"type","search"),v(s,"class","block w-full focus:outline-none"),v(s,"placeholder",i[0]),v(s,"id",i[2]),v(e,"class","input-container focus-within:border-blue-700 svelte-fxm0nn")},m(f,m){b(f,e,m),k(e,r),k(r,t),k(e,l),k(e,o),E(n,o,null),k(e,a),k(e,s),J(s,i[1]),u=!0,c||(p=[L(s,"input",i[7]),L(s,"keydown",ce(i[6]))],c=!0)},p(f,[m]){(!u||m&1)&&me(t,f[0]),(!u||m&1)&&v(s,"placeholder",f[0]),m&2&&J(s,f[1])},i(f){u||(d(n.$$.fragment,f),u=!0)},o(f){g(n.$$.fragment,f),u=!1},d(f){f&&_(e),T(n),c=!1,pe(p)}}}function Ce(i,e,r){let t;B(i,z,f=>r(5,t=f));let{parameter:l}=e,{name:o}=e,{value:n}=e,a=l&&t.url.searchParams.get(l)||n;const s=`${l||o}-filter`,u=ve(Te,300);function c(f){_e.call(this,i,f)}function p(){a=this.value,r(1,a)}return i.$$set=f=>{"parameter"in f&&r(3,l=f.parameter),"name"in f&&r(0,o=f.name),"value"in f&&r(4,n=f.value)},i.$$.update=()=>{i.$$.dirty&42&&u({parameter:l,value:a,url:t.url})},[o,a,s,l,n,t,c,p]}class ee extends U{constructor(e){super(),H(this,e,Ce,Ne,M,{parameter:3,name:0,value:4})}}function te(i,e,r){const t=i.slice();return t[7]=e[r][0],t[8]=e[r][1],t}function le(i,e,r){const t=i.slice();return t[8]=e[r],t}function qe(i){let e,r,t,l,o;return{c(){e=C("a"),r=P("Advanced Search"),this.h()},l(n){e=q(n,"A",{href:!0,class:!0});var a=I(e);r=F(a,"Advanced Search"),a.forEach(_),this.h()},h(){v(e,"href",t=i[1].url.pathname+"?query"),v(e,"class","text-blue-700")},m(n,a){b(n,e,a),k(e,r),l||(o=L(e,"click",fe(i[5]("advanced"))),l=!0)},p(n,a){a&2&&t!==(t=n[1].url.pathname+"?query")&&v(e,"href",t)},d(n){n&&_(e),l=!1,o()}}}function Ie(i){let e,r,t,l,o;return{c(){e=C("a"),r=P("Basic Search"),this.h()},l(n){e=q(n,"A",{href:!0,class:!0});var a=I(e);r=F(a,"Basic Search"),a.forEach(_),this.h()},h(){v(e,"href",t=i[1].url.pathname),v(e,"class","text-blue-700")},m(n,a){b(n,e,a),k(e,r),l||(o=L(e,"click",fe(i[5]("basic"))),l=!0)},p(n,a){a&2&&t!==(t=n[1].url.pathname)&&v(e,"href",t)},d(n){n&&_(e),l=!1,o()}}}function We(i){let e,r,t,l,o,n,a,s,u,c,p,f;r=new ee({props:{parameter:"workflow-id",name:"Workflow ID",value:Ve}}),l=new ee({props:{parameter:"workflow-type",name:"Workflow Type",value:ze}}),n=new x({props:{label:"Time Range",parameter:"time-range",value:"24 hours",$$slots:{default:[Qe]},$$scope:{ctx:i}}}),s=new x({props:{label:"Workflow Status",parameter:"status",value:null,$$slots:{default:[Le]},$$scope:{ctx:i}}});function m(h){i[6](h)}let $={id:"filter-by-relative-time",$$slots:{default:[He]},$$scope:{ctx:i}};return i[2]!==void 0&&($.value=i[2]),c=new Ee({props:$}),$e.push(()=>he(c,"value",m)),{c(){e=C("div"),w(r.$$.fragment),t=S(),w(l.$$.fragment),o=S(),w(n.$$.fragment),a=S(),w(s.$$.fragment),u=S(),w(c.$$.fragment),this.h()},l(h){e=q(h,"DIV",{class:!0,role:!0});var A=I(e);y(r.$$.fragment,A),t=N(A),y(l.$$.fragment,A),o=N(A),y(n.$$.fragment,A),a=N(A),y(s.$$.fragment,A),u=N(A),y(c.$$.fragment,A),A.forEach(_),this.h()},h(){v(e,"class","grid grid-cols-1 gap-4 sm:grid-cols-2 md:grid-cols-5"),v(e,"role","search")},m(h,A){b(h,e,A),E(r,e,null),k(e,t),E(l,e,null),k(e,o),E(n,e,null),k(e,a),E(s,e,null),k(e,u),E(c,e,null),f=!0},p(h,A){const Z={};A&8192&&(Z.$$scope={dirty:A,ctx:h}),n.$set(Z);const G={};A&8192&&(G.$$scope={dirty:A,ctx:h}),s.$set(G);const O={};A&8192&&(O.$$scope={dirty:A,ctx:h}),!p&&A&4&&(p=!0,O.value=h[2],de(()=>p=!1)),c.$set(O)},i(h){f||(d(r.$$.fragment,h),d(l.$$.fragment,h),d(n.$$.fragment,h),d(s.$$.fragment,h),d(c.$$.fragment,h),f=!0)},o(h){g(r.$$.fragment,h),g(l.$$.fragment,h),g(n.$$.fragment,h),g(s.$$.fragment,h),g(c.$$.fragment,h),f=!1},d(h){h&&_(e),T(r),T(l),T(n),T(s),T(c)}}}function je(i){let e,r;return e=new ke({props:{icon:!0,placeholder:"Query…",value:i[1].url.searchParams.get("query")}}),e.$on("submit",i[4]),{c(){w(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,l){E(e,t,l),r=!0},p(t,l){const o={};l&2&&(o.value=t[1].url.searchParams.get("query")),e.$set(o)},i(t){r||(d(e.$$.fragment,t),r=!0)},o(t){g(e.$$.fragment,t),r=!1},d(t){T(e,t)}}}function De(i){let e=i[8]+"",r;return{c(){r=P(e)},l(t){r=F(t,e)},m(t,l){b(t,r,l)},p:V,d(t){t&&_(r)}}}function re(i){let e,r;return e=new Q({props:{value:i[8],$$slots:{default:[De]},$$scope:{ctx:i}}}),{c(){w(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,l){E(e,t,l),r=!0},p(t,l){const o={};l&8192&&(o.$$scope={dirty:l,ctx:t}),e.$set(o)},i(t){r||(d(e.$$.fragment,t),r=!0)},o(t){g(e.$$.fragment,t),r=!1},d(t){T(e,t)}}}function Qe(i){let e,r,t=X,l=[];for(let n=0;ng(l[n],1,1,()=>{l[n]=null});return{c(){for(let n=0;na[7];for(let a=0;a{p[h]=null}),D(),o=p[l],o?o.p(m,$):(o=p[l]=c[l](m),o.c()),d(o,1),o.m(e,null))},i(m){n||(d(o),n=!0)},o(m){g(o),n=!1},d(m){m&&_(e),u.d(),p[l].d()}}}let Ve="",ze="";function Ye(i,e,r){let t,l;B(i,z,c=>r(1,t=c)),B(i,R,c=>r(2,l=c));const o={All:null,"Timed Out":"TimedOut",Completed:"Completed",Failed:"Failed","Continued as New":"ContinuedAsNew",Canceled:"Canceled",Terminated:"Terminated"};let n=t.url.searchParams.has("query");const a=c=>{const f=new FormData(c.target).get("query");t.url.searchParams.set("query",String(f)),K(t.url.toString())},s=c=>p=>{const f=p.target;r(0,n=c==="advanced"),n||t.url.searchParams.delete("query"),K(f.href)};function u(c){l=c,R.set(l)}return[n,t,l,o,a,s,u]}class Ze extends U{constructor(e){super(),H(this,e,Ye,Me,M,{})}}function ne(i,e,r){const t=i.slice();return t[9]=e[r],t}function Ge(i){let e,r,t,l,o,n,a,s,u,c;a=new Y({props:{content:`temporal operator namespace update --history-archival-state enabled ${i[4]}`,language:"text",inline:!0}});let p=!i[1]&&se(i);return{c(){e=C("h1"),r=P("This namespace is currently not enabled for archival."),t=S(),l=C("p"),o=P("Run this command to enable archival visibility for event histories:"),n=S(),w(a.$$.fragment),s=S(),p&&p.c(),u=W(),this.h()},l(f){e=q(f,"H1",{class:!0,"data-testid":!0});var m=I(e);r=F(m,"This namespace is currently not enabled for archival."),m.forEach(_),t=N(f),l=q(f,"P",{});var $=I(l);o=F($,"Run this command to enable archival visibility for event histories:"),$.forEach(_),n=N(f),y(a.$$.fragment,f),s=N(f),p&&p.l(f),u=W(),this.h()},h(){v(e,"class","text-2xl"),v(e,"data-testid","archived-disabled-title")},m(f,m){b(f,e,m),k(e,r),b(f,t,m),b(f,l,m),k(l,o),b(f,n,m),E(a,f,m),b(f,s,m),p&&p.m(f,m),b(f,u,m),c=!0},p(f,m){const $={};m&16&&($.content=`temporal operator namespace update --history-archival-state enabled ${f[4]}`),a.$set($),f[1]?p&&(j(),g(p,1,1,()=>{p=null}),D()):p?(p.p(f,m),m&2&&d(p,1)):(p=se(f),p.c(),d(p,1),p.m(u.parentNode,u))},i(f){c||(d(a.$$.fragment,f),d(p),c=!0)},o(f){g(a.$$.fragment,f),g(p),c=!1},d(f){f&&_(e),f&&_(t),f&&_(l),f&&_(n),T(a,f),f&&_(s),p&&p.d(f),f&&_(u)}}}function Je(i){let e,r,t,l,o,n,a,s,u,c,p;return c=new Y({props:{content:`temporal operator namespace update --visibility-archival-state enabled ${i[4]}`,language:"text",inline:!0}}),{c(){e=C("h1"),r=P(`This namespace is currently enabled for archival but visibility is not +import{S as U,b as H,a as M,m as C,w as P,c as S,C as w,p as q,q as I,x as F,k as _,d as N,D as y,u as v,f as b,M as k,E,a8 as J,U as L,W as ce,y as me,j as d,g,F as T,r as pe,L as B,Q as _e,z as j,h as D,ac as fe,A as $e,Y as he,Z as de,e as W,a7 as ue,a1 as ge,a2 as be,n as V}from"../chunks/index.d29c66be.js";import{t as R}from"../chunks/time-format.6ef667eb.js";import{p as z}from"../chunks/stores.8c019868.js";import{j as ve,S as ke,W as we,a as ye}from"../chunks/search.14478462.js";import{g as K}from"../chunks/navigation.e41eebee.js";import{s as X}from"../chunks/format-time.66fea38b.js";import{S as Ee,a as Q}from"../chunks/simple-select.2e5f96b1.js";import{u as Te,F as x,P as Ae}from"../chunks/pagination.a8beaf3b.js";import{I as Pe}from"../chunks/icon.5aa23970.js";import{E as Se}from"../chunks/empty-state.bf113865.js";import{C as Y}from"../chunks/code-block.fc92cd67.js";import{P as Fe}from"../chunks/page-title.ba38eecf.js";function Ne(i){let e,r,t,l,o,n,a,s,u,c,p;return n=new Pe({props:{name:"search",class:"flex items-center text-gray-700"}}),{c(){e=C("div"),r=C("label"),t=P(i[0]),l=S(),o=C("span"),w(n.$$.fragment),a=S(),s=C("input"),this.h()},l(f){e=q(f,"DIV",{class:!0});var m=I(e);r=q(m,"LABEL",{for:!0,class:!0});var $=I(r);t=F($,i[0]),$.forEach(_),l=N(m),o=q(m,"SPAN",{class:!0});var h=I(o);y(n.$$.fragment,h),h.forEach(_),a=N(m),s=q(m,"INPUT",{type:!0,class:!0,placeholder:!0,id:!0}),m.forEach(_),this.h()},h(){v(r,"for",i[2]),v(r,"class","hidden"),v(o,"class","svelte-fxm0nn"),v(s,"type","search"),v(s,"class","block w-full focus:outline-none"),v(s,"placeholder",i[0]),v(s,"id",i[2]),v(e,"class","input-container focus-within:border-blue-700 svelte-fxm0nn")},m(f,m){b(f,e,m),k(e,r),k(r,t),k(e,l),k(e,o),E(n,o,null),k(e,a),k(e,s),J(s,i[1]),u=!0,c||(p=[L(s,"input",i[7]),L(s,"keydown",ce(i[6]))],c=!0)},p(f,[m]){(!u||m&1)&&me(t,f[0]),(!u||m&1)&&v(s,"placeholder",f[0]),m&2&&J(s,f[1])},i(f){u||(d(n.$$.fragment,f),u=!0)},o(f){g(n.$$.fragment,f),u=!1},d(f){f&&_(e),T(n),c=!1,pe(p)}}}function Ce(i,e,r){let t;B(i,z,f=>r(5,t=f));let{parameter:l}=e,{name:o}=e,{value:n}=e,a=l&&t.url.searchParams.get(l)||n;const s=`${l||o}-filter`,u=ve(Te,300);function c(f){_e.call(this,i,f)}function p(){a=this.value,r(1,a)}return i.$$set=f=>{"parameter"in f&&r(3,l=f.parameter),"name"in f&&r(0,o=f.name),"value"in f&&r(4,n=f.value)},i.$$.update=()=>{i.$$.dirty&42&&u({parameter:l,value:a,url:t.url})},[o,a,s,l,n,t,c,p]}class ee extends U{constructor(e){super(),H(this,e,Ce,Ne,M,{parameter:3,name:0,value:4})}}function te(i,e,r){const t=i.slice();return t[7]=e[r][0],t[8]=e[r][1],t}function le(i,e,r){const t=i.slice();return t[8]=e[r],t}function qe(i){let e,r,t,l,o;return{c(){e=C("a"),r=P("Advanced Search"),this.h()},l(n){e=q(n,"A",{href:!0,class:!0});var a=I(e);r=F(a,"Advanced Search"),a.forEach(_),this.h()},h(){v(e,"href",t=i[1].url.pathname+"?query"),v(e,"class","text-blue-700")},m(n,a){b(n,e,a),k(e,r),l||(o=L(e,"click",fe(i[5]("advanced"))),l=!0)},p(n,a){a&2&&t!==(t=n[1].url.pathname+"?query")&&v(e,"href",t)},d(n){n&&_(e),l=!1,o()}}}function Ie(i){let e,r,t,l,o;return{c(){e=C("a"),r=P("Basic Search"),this.h()},l(n){e=q(n,"A",{href:!0,class:!0});var a=I(e);r=F(a,"Basic Search"),a.forEach(_),this.h()},h(){v(e,"href",t=i[1].url.pathname),v(e,"class","text-blue-700")},m(n,a){b(n,e,a),k(e,r),l||(o=L(e,"click",fe(i[5]("basic"))),l=!0)},p(n,a){a&2&&t!==(t=n[1].url.pathname)&&v(e,"href",t)},d(n){n&&_(e),l=!1,o()}}}function We(i){let e,r,t,l,o,n,a,s,u,c,p,f;r=new ee({props:{parameter:"workflow-id",name:"Workflow ID",value:Ve}}),l=new ee({props:{parameter:"workflow-type",name:"Workflow Type",value:ze}}),n=new x({props:{label:"Time Range",parameter:"time-range",value:"24 hours",$$slots:{default:[Qe]},$$scope:{ctx:i}}}),s=new x({props:{label:"Workflow Status",parameter:"status",value:null,$$slots:{default:[Le]},$$scope:{ctx:i}}});function m(h){i[6](h)}let $={id:"filter-by-relative-time",$$slots:{default:[He]},$$scope:{ctx:i}};return i[2]!==void 0&&($.value=i[2]),c=new Ee({props:$}),$e.push(()=>he(c,"value",m)),{c(){e=C("div"),w(r.$$.fragment),t=S(),w(l.$$.fragment),o=S(),w(n.$$.fragment),a=S(),w(s.$$.fragment),u=S(),w(c.$$.fragment),this.h()},l(h){e=q(h,"DIV",{class:!0,role:!0});var A=I(e);y(r.$$.fragment,A),t=N(A),y(l.$$.fragment,A),o=N(A),y(n.$$.fragment,A),a=N(A),y(s.$$.fragment,A),u=N(A),y(c.$$.fragment,A),A.forEach(_),this.h()},h(){v(e,"class","grid grid-cols-1 gap-4 sm:grid-cols-2 md:grid-cols-5"),v(e,"role","search")},m(h,A){b(h,e,A),E(r,e,null),k(e,t),E(l,e,null),k(e,o),E(n,e,null),k(e,a),E(s,e,null),k(e,u),E(c,e,null),f=!0},p(h,A){const Z={};A&8192&&(Z.$$scope={dirty:A,ctx:h}),n.$set(Z);const G={};A&8192&&(G.$$scope={dirty:A,ctx:h}),s.$set(G);const O={};A&8192&&(O.$$scope={dirty:A,ctx:h}),!p&&A&4&&(p=!0,O.value=h[2],de(()=>p=!1)),c.$set(O)},i(h){f||(d(r.$$.fragment,h),d(l.$$.fragment,h),d(n.$$.fragment,h),d(s.$$.fragment,h),d(c.$$.fragment,h),f=!0)},o(h){g(r.$$.fragment,h),g(l.$$.fragment,h),g(n.$$.fragment,h),g(s.$$.fragment,h),g(c.$$.fragment,h),f=!1},d(h){h&&_(e),T(r),T(l),T(n),T(s),T(c)}}}function je(i){let e,r;return e=new ke({props:{icon:!0,placeholder:"Query…",value:i[1].url.searchParams.get("query")}}),e.$on("submit",i[4]),{c(){w(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,l){E(e,t,l),r=!0},p(t,l){const o={};l&2&&(o.value=t[1].url.searchParams.get("query")),e.$set(o)},i(t){r||(d(e.$$.fragment,t),r=!0)},o(t){g(e.$$.fragment,t),r=!1},d(t){T(e,t)}}}function De(i){let e=i[8]+"",r;return{c(){r=P(e)},l(t){r=F(t,e)},m(t,l){b(t,r,l)},p:V,d(t){t&&_(r)}}}function re(i){let e,r;return e=new Q({props:{value:i[8],$$slots:{default:[De]},$$scope:{ctx:i}}}),{c(){w(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,l){E(e,t,l),r=!0},p(t,l){const o={};l&8192&&(o.$$scope={dirty:l,ctx:t}),e.$set(o)},i(t){r||(d(e.$$.fragment,t),r=!0)},o(t){g(e.$$.fragment,t),r=!1},d(t){T(e,t)}}}function Qe(i){let e,r,t=X,l=[];for(let n=0;ng(l[n],1,1,()=>{l[n]=null});return{c(){for(let n=0;na[7];for(let a=0;a{p[h]=null}),D(),o=p[l],o?o.p(m,$):(o=p[l]=c[l](m),o.c()),d(o,1),o.m(e,null))},i(m){n||(d(o),n=!0)},o(m){g(o),n=!1},d(m){m&&_(e),u.d(),p[l].d()}}}let Ve="",ze="";function Ye(i,e,r){let t,l;B(i,z,c=>r(1,t=c)),B(i,R,c=>r(2,l=c));const o={All:null,"Timed Out":"TimedOut",Completed:"Completed",Failed:"Failed","Continued as New":"ContinuedAsNew",Canceled:"Canceled",Terminated:"Terminated"};let n=t.url.searchParams.has("query");const a=c=>{const f=new FormData(c.target).get("query");t.url.searchParams.set("query",String(f)),K(t.url.toString())},s=c=>p=>{const f=p.target;r(0,n=c==="advanced"),n||t.url.searchParams.delete("query"),K(f.href)};function u(c){l=c,R.set(l)}return[n,t,l,o,a,s,u]}class Ze extends U{constructor(e){super(),H(this,e,Ye,Me,M,{})}}function ne(i,e,r){const t=i.slice();return t[9]=e[r],t}function Ge(i){let e,r,t,l,o,n,a,s,u,c;a=new Y({props:{content:`temporal operator namespace update --history-archival-state enabled ${i[4]}`,language:"text",inline:!0}});let p=!i[1]&&se(i);return{c(){e=C("h1"),r=P("This namespace is currently not enabled for archival."),t=S(),l=C("p"),o=P("Run this command to enable archival visibility for event histories:"),n=S(),w(a.$$.fragment),s=S(),p&&p.c(),u=W(),this.h()},l(f){e=q(f,"H1",{class:!0,"data-testid":!0});var m=I(e);r=F(m,"This namespace is currently not enabled for archival."),m.forEach(_),t=N(f),l=q(f,"P",{});var $=I(l);o=F($,"Run this command to enable archival visibility for event histories:"),$.forEach(_),n=N(f),y(a.$$.fragment,f),s=N(f),p&&p.l(f),u=W(),this.h()},h(){v(e,"class","text-2xl"),v(e,"data-testid","archived-disabled-title")},m(f,m){b(f,e,m),k(e,r),b(f,t,m),b(f,l,m),k(l,o),b(f,n,m),E(a,f,m),b(f,s,m),p&&p.m(f,m),b(f,u,m),c=!0},p(f,m){const $={};m&16&&($.content=`temporal operator namespace update --history-archival-state enabled ${f[4]}`),a.$set($),f[1]?p&&(j(),g(p,1,1,()=>{p=null}),D()):p?(p.p(f,m),m&2&&d(p,1)):(p=se(f),p.c(),d(p,1),p.m(u.parentNode,u))},i(f){c||(d(a.$$.fragment,f),d(p),c=!0)},o(f){g(a.$$.fragment,f),g(p),c=!1},d(f){f&&_(e),f&&_(t),f&&_(l),f&&_(n),T(a,f),f&&_(s),p&&p.d(f),f&&_(u)}}}function Je(i){let e,r,t,l,o,n,a,s,u,c,p;return c=new Y({props:{content:`temporal operator namespace update --visibility-archival-state enabled ${i[4]}`,language:"text",inline:!0}}),{c(){e=C("h1"),r=P(`This namespace is currently enabled for archival but visibility is not enabled.`),t=S(),l=C("p"),o=P("To enable "),n=C("a"),a=P("archival visibility"),s=P(":"),u=S(),w(c.$$.fragment),this.h()},l(f){e=q(f,"H1",{class:!0,"data-testid":!0});var m=I(e);r=F(m,`This namespace is currently enabled for archival but visibility is not enabled.`),m.forEach(_),t=N(f),l=q(f,"P",{});var $=I(l);o=F($,"To enable "),n=q($,"A",{class:!0,href:!0,target:!0,rel:!0});var h=I(n);a=F(h,"archival visibility"),h.forEach(_),s=F($,":"),$.forEach(_),u=N(f),y(c.$$.fragment,f),this.h()},h(){v(e,"class","text-2xl"),v(e,"data-testid","visibility-disabled-title"),v(n,"class","text-blue-700 underline"),v(n,"href","https://docs.temporal.io/clusters#archival"),v(n,"target","_blank"),v(n,"rel","noreferrer")},m(f,m){b(f,e,m),k(e,r),b(f,t,m),b(f,l,m),k(l,o),k(l,n),k(n,a),k(l,s),b(f,u,m),E(c,f,m),p=!0},p(f,m){const $={};m&16&&($.content=`temporal operator namespace update --visibility-archival-state enabled ${f[4]}`),c.$set($)},i(f){p||(d(c.$$.fragment,f),p=!0)},o(f){g(c.$$.fragment,f),p=!1},d(f){f&&_(e),f&&_(t),f&&_(l),f&&_(u),T(c,f)}}}function Ke(i){let e,r,t,l,o,n,a,s,u=!i[0]&&oe();const c=[xe,Xe],p=[];function f(m,$){var h;return(h=m[3])!=null&&h.length?0:1}return o=f(i),n=p[o]=c[o](i),{c(){e=C("h1"),r=P("Archived Workflows"),t=S(),u&&u.c(),l=S(),n.c(),a=W(),this.h()},l(m){e=q(m,"H1",{class:!0,"data-testid":!0});var $=I(e);r=F($,"Archived Workflows"),$.forEach(_),t=N(m),u&&u.l(m),l=N(m),n.l(m),a=W(),this.h()},h(){v(e,"class","text-2xl"),v(e,"data-testid","archived-enabled-title")},m(m,$){b(m,e,$),k(e,r),b(m,t,$),u&&u.m(m,$),b(m,l,$),p[o].m(m,$),b(m,a,$),s=!0},p(m,$){m[0]?u&&(j(),g(u,1,1,()=>{u=null}),D()):u?$&1&&d(u,1):(u=oe(),u.c(),d(u,1),u.m(l.parentNode,l));let h=o;o=f(m),o===h?p[o].p(m,$):(j(),g(p[h],1,1,()=>{p[h]=null}),D(),n=p[o],n?n.p(m,$):(n=p[o]=c[o](m),n.c()),d(n,1),n.m(a.parentNode,a))},i(m){s||(d(u),d(n),s=!0)},o(m){g(u),g(n),s=!1},d(m){m&&_(e),m&&_(t),u&&u.d(m),m&&_(l),p[o].d(m),m&&_(a)}}}function se(i){let e,r,t,l,o,n,a,s;return a=new Y({props:{content:`temporal operator namespace update --visibility-archival-state enabled ${i[4]}`,language:"text",inline:!0}}),{c(){e=C("p"),r=P("To enable "),t=C("a"),l=P("archival visibility"),o=P(":"),n=S(),w(a.$$.fragment),this.h()},l(u){e=q(u,"P",{});var c=I(e);r=F(c,"To enable "),t=q(c,"A",{class:!0,href:!0,target:!0,rel:!0});var p=I(t);l=F(p,"archival visibility"),p.forEach(_),o=F(c,":"),c.forEach(_),n=N(u),y(a.$$.fragment,u),this.h()},h(){v(t,"class","text-blue-700 underline"),v(t,"href","https://docs.temporal.io/clusters#archival"),v(t,"target","_blank"),v(t,"rel","noreferrer")},m(u,c){b(u,e,c),k(e,r),k(e,t),k(t,l),k(e,o),b(u,n,c),E(a,u,c),s=!0},p(u,c){const p={};c&16&&(p.content=`temporal operator namespace update --visibility-archival-state enabled ${u[4]}`),a.$set(p)},i(u){s||(d(a.$$.fragment,u),s=!0)},o(u){g(a.$$.fragment,u),s=!1},d(u){u&&_(e),u&&_(n),T(a,u)}}}function oe(i){let e,r;return e=new Ze({}),{c(){w(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,l){E(e,t,l),r=!0},i(t){r||(d(e.$$.fragment,t),r=!0)},o(t){g(e.$$.fragment,t),r=!1},d(t){T(e,t)}}}function Xe(i){let e,r;return e=new Se({props:{title:"No Workflows Found",content:"If you have filters applied, try adjusting them."}}),{c(){w(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,l){E(e,t,l),r=!0},p:V,i(t){r||(d(e.$$.fragment,t),r=!0)},o(t){g(e.$$.fragment,t),r=!1},d(t){T(e,t)}}}function xe(i){let e,r;return e=new Ae({props:{items:i[3],"aria-label":"archived workflows",$$slots:{default:[tt,({visibleItems:t})=>({8:t}),({visibleItems:t})=>t?256:0]},$$scope:{ctx:i}}}),{c(){w(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,l){E(e,t,l),r=!0},p(t,l){const o={};l&8&&(o.items=t[3]),l&4432&&(o.$$scope={dirty:l,ctx:t}),e.$set(o)},i(t){r||(d(e.$$.fragment,t),r=!0)},o(t){g(e.$$.fragment,t),r=!1},d(t){T(e,t)}}}function ie(i){let e,r;return e=new ye({props:{workflow:i[9],namespace:i[4],timeFormat:i[6]}}),{c(){w(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,l){E(e,t,l),r=!0},p(t,l){const o={};l&256&&(o.workflow=t[9]),l&16&&(o.namespace=t[4]),l&64&&(o.timeFormat=t[6]),e.$set(o)},i(t){r||(d(e.$$.fragment,t),r=!0)},o(t){g(e.$$.fragment,t),r=!1},d(t){T(e,t)}}}function et(i){let e,r,t=i[8],l=[];for(let n=0;ng(l[n],1,1,()=>{l[n]=null});return{c(){for(let n=0;n{s[m]=null}),D(),l=s[t],l?l.p(c,p):(l=s[t]=a[t](c),l.c()),d(l,1),l.m(o.parentNode,o))},i(c){n||(d(e.$$.fragment,c),d(l),n=!0)},o(c){g(e.$$.fragment,c),g(l),n=!1},d(c){T(e,c),c&&_(r),s[t].d(c),c&&_(o)}}}function rt(i,e,r){let t,l,o,n,a,s,u;B(i,z,p=>r(5,s=p)),B(i,R,p=>r(6,u=p));let{data:c}=e;return i.$$set=p=>{"data"in p&&r(7,c=p.data)},i.$$.update=()=>{i.$$.dirty&128&&r(4,{namespace:{namespaceInfo:{name:t}},workflows:l,archivalEnabled:o,visibilityArchivalEnabled:n,archivalQueryingNotSupported:a}=c,t,(r(3,l),r(7,c)),(r(2,o),r(7,c)),(r(1,n),r(7,c)),(r(0,a),r(7,c)))},[a,n,o,l,t,s,u,c]}class ht extends U{constructor(e){super(),H(this,e,rt,lt,M,{data:7})}}export{ht as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.ts.7565bef4.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.ts.7565bef4.js deleted file mode 100644 index 3fda5d3d0b..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.ts.7565bef4.js +++ /dev/null @@ -1 +0,0 @@ -import"../chunks/workflow-service.43d562ed.js";import"../chunks/namespaces-service.00a861d3.js";import{l as t}from"../chunks/_page.e51a117d.js";export{t as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.ts.ba2f1964.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.ts.ba2f1964.js new file mode 100644 index 0000000000..11cc228451 --- /dev/null +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.ts.ba2f1964.js @@ -0,0 +1 @@ +import"../chunks/workflow-service.5b743be0.js";import"../chunks/namespaces-service.97b7c0ed.js";import{l as t}from"../chunks/_page.ee80cdee.js";export{t as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-layout.ts.4850a81f.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-layout.ts.4850a81f.js deleted file mode 100644 index 32d873e00e..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-layout.ts.4850a81f.js +++ /dev/null @@ -1 +0,0 @@ -import{l}from"../chunks/_layout.21a62851.js";import"../chunks/search-attributes.c866741f.js";export{l as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-layout.ts.b2ed9c64.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-layout.ts.b2ed9c64.js new file mode 100644 index 0000000000..45013b7118 --- /dev/null +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-layout.ts.b2ed9c64.js @@ -0,0 +1 @@ +import{l}from"../chunks/_layout.d9d2dc15.js";import"../chunks/search-attributes.c866741f.js";export{l as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-page.svelte.c1b805e5.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-page.svelte.ddd6b2c4.js similarity index 99% rename from ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-page.svelte.c1b805e5.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-page.svelte.ddd6b2c4.js index cddd1ef01b..afbb782317 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-page.svelte.c1b805e5.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-page.svelte.ddd6b2c4.js @@ -1 +1 @@ -import{S as ft,b as nt,a as it,G as ct,m as _,p as $,q as m,k as s,u as W,f as T,H as _t,I as $t,J as mt,j as F,g as P,O as et,P as tt,C as Y,c as k,w as g,e as Be,D as z,d as S,x as D,E as J,M as i,y as q,h as ut,F as Q,L as Re,o as pt,_ as ht,z as dt,a7 as vt,n as Fe}from"../chunks/index.d29c66be.js";import{p as Tt}from"../chunks/stores.b938c0e3.js";import{t as Et,u as bt}from"../chunks/versions.dfa21225.js";import{l as lt}from"../chunks/namespaces.52575875.js";import{s as wt}from"../chunks/search-attributes.c866741f.js";import{s as gt}from"../chunks/settings.a68ca666.js";import{q as at}from"../chunks/format-time.66fea38b.js";import{P as Dt}from"../chunks/page-title.ba38eecf.js";import{T as ye,a as At}from"../chunks/table-header-row.a7bab5a4.js";import{T as Rt}from"../chunks/table-row.4a68a50d.js";import{B as pe}from"../chunks/badge.2c189bf4.js";function kt(f){let e,l,t;const a=f[2].default,r=ct(a,f,f[1],null);return{c(){e=_("div"),r&&r.c(),this.h()},l(o){e=$(o,"DIV",{class:!0});var n=m(e);r&&r.l(n),n.forEach(s),this.h()},h(){W(e,"class",l="card bg-white "+f[0].class+" svelte-hm2avd")},m(o,n){T(o,e,n),r&&r.m(e,null),t=!0},p(o,[n]){r&&r.p&&(!t||n&2)&&_t(r,a,o,o[1],t?mt(a,o[1],n,null):$t(o[1]),null),(!t||n&1&&l!==(l="card bg-white "+o[0].class+" svelte-hm2avd"))&&W(e,"class",l)},i(o){t||(F(r,o),t=!0)},o(o){P(r,o),t=!1},d(o){o&&s(e),r&&r.d(o)}}}function St(f,e,l){let{$$slots:t={},$$scope:a}=e;return f.$$set=r=>{l(0,e=et(et({},e),tt(r))),"$$scope"in r&&l(1,a=r.$$scope)},e=tt(e),[e,a,t]}class It extends ft{constructor(e){super(),nt(this,e,St,kt,it,{})}}function st(f,e,l){const t=f.slice();return t[13]=e[l][0],t[14]=e[l][1],t}function Ct(f){var t;let e=(t=f[0])!=null&&t.isGlobalNamespace?"Yes":"No",l;return{c(){l=g(e)},l(a){l=D(a,e)},m(a,r){T(a,l,r)},p(a,r){var o;r&1&&e!==(e=(o=a[0])!=null&&o.isGlobalNamespace?"Yes":"No")&&q(l,e)},d(a){a&&s(l)}}}function Ht(f){var t,a;let e=((a=(t=f[0])==null?void 0:t.config)==null?void 0:a.historyArchivalState)+"",l;return{c(){l=g(e)},l(r){l=D(r,e)},m(r,o){T(r,l,o)},p(r,o){var n,u;o&1&&e!==(e=((u=(n=r[0])==null?void 0:n.config)==null?void 0:u.historyArchivalState)+"")&&q(l,e)},d(r){r&&s(l)}}}function Vt(f){var t,a;let e=((a=(t=f[0])==null?void 0:t.config)==null?void 0:a.visibilityArchivalState)+"",l;return{c(){l=g(e)},l(r){l=D(r,e)},m(r,o){T(r,l,o)},p(r,o){var n,u;o&1&&e!==(e=((u=(n=r[0])==null?void 0:n.config)==null?void 0:u.visibilityArchivalState)+"")&&q(l,e)},d(r){r&&s(l)}}}function Nt(f){var Pe,Ue,Ge,Oe,je,qe,Ke,Me,Ye,ze;let e,l,t,a,r,o=(((Ue=(Pe=f[0])==null?void 0:Pe.namespaceInfo)==null?void 0:Ue.ownerEmail)||"Unknown")+"",n,u,v,I,V,N,C,b,A,d,y,U,E,R,O=at((Oe=(Ge=f[0])==null?void 0:Ge.config)==null?void 0:Oe.workflowExecutionRetentionTtl.toString())+"",B,p,w,j,te,X,x,G,ee,K,le,ue,ae,fe,c,H,M,se,re,ne,oe,ie=((je=f[0])==null?void 0:je.failoverVersion)+"",he,ve,Z,de,ge,ce,_e,Te,$e;return b=new pe({props:{class:"px-1 py-0",type:f[8]((qe=f[0])==null?void 0:qe.isGlobalNamespace,!1),$$slots:{default:[Ct]},$$scope:{ctx:f}}}),G=new pe({props:{class:"px-1 py-0",type:f[7]((Me=(Ke=f[0])==null?void 0:Ke.config)==null?void 0:Me.historyArchivalState),$$slots:{default:[Ht]},$$scope:{ctx:f}}}),c=new pe({props:{class:"px-1 py-0",type:f[7]((ze=(Ye=f[0])==null?void 0:Ye.config)==null?void 0:ze.visibilityArchivalState),$$slots:{default:[Vt]},$$scope:{ctx:f}}}),{c(){e=_("tr"),l=_("td"),t=g("Owner"),a=k(),r=_("td"),n=g(o),u=k(),v=_("tr"),I=_("td"),V=g("Global"),N=k(),C=_("td"),Y(b.$$.fragment),A=k(),d=_("tr"),y=_("td"),U=g("Retention Period"),E=k(),R=_("td"),B=g(O),p=k(),w=_("tr"),j=_("td"),te=g("History Archival"),X=k(),x=_("td"),Y(G.$$.fragment),ee=k(),K=_("tr"),le=_("td"),ue=g("Visibility Archival"),ae=k(),fe=_("td"),Y(c.$$.fragment),H=k(),M=_("tr"),se=_("td"),re=g("Failover Version"),ne=k(),oe=_("td"),he=g(ie),ve=k(),Z=_("tr"),de=_("td"),ge=g("Clusters"),ce=k(),_e=_("td"),Te=g(f[1]),this.h()},l(h){e=$(h,"TR",{"data-testid":!0});var L=m(e);l=$(L,"TD",{});var De=m(l);t=D(De,"Owner"),De.forEach(s),a=S(L),r=$(L,"TD",{});var Ae=m(r);n=D(Ae,o),Ae.forEach(s),L.forEach(s),u=S(h),v=$(h,"TR",{"data-testid":!0});var me=m(v);I=$(me,"TD",{});var ke=m(I);V=D(ke,"Global"),ke.forEach(s),N=S(me),C=$(me,"TD",{});var Se=m(C);z(b.$$.fragment,Se),Se.forEach(s),me.forEach(s),A=S(h),d=$(h,"TR",{"data-testid":!0});var Ee=m(d);y=$(Ee,"TD",{});var Ie=m(y);U=D(Ie,"Retention Period"),Ie.forEach(s),E=S(Ee),R=$(Ee,"TD",{});var Ce=m(R);B=D(Ce,O),Ce.forEach(s),Ee.forEach(s),p=S(h),w=$(h,"TR",{"data-testid":!0});var be=m(w);j=$(be,"TD",{});var He=m(j);te=D(He,"History Archival"),He.forEach(s),X=S(be),x=$(be,"TD",{});var Ve=m(x);z(G.$$.fragment,Ve),Ve.forEach(s),be.forEach(s),ee=S(h),K=$(h,"TR",{"data-testid":!0});var we=m(K);le=$(we,"TD",{});var Ne=m(le);ue=D(Ne,"Visibility Archival"),Ne.forEach(s),ae=S(we),fe=$(we,"TD",{});var Je=m(fe);z(c.$$.fragment,Je),Je.forEach(s),we.forEach(s),H=S(h),M=$(h,"TR",{"data-testid":!0});var Le=m(M);se=$(Le,"TD",{});var Qe=m(se);re=D(Qe,"Failover Version"),Qe.forEach(s),ne=S(Le),oe=$(Le,"TD",{});var Xe=m(oe);he=D(Xe,ie),Xe.forEach(s),Le.forEach(s),ve=S(h),Z=$(h,"TR",{"data-testid":!0});var We=m(Z);de=$(We,"TD",{});var Ze=m(de);ge=D(Ze,"Clusters"),Ze.forEach(s),ce=S(We),_e=$(We,"TD",{});var xe=m(_e);Te=D(xe,f[1]),xe.forEach(s),We.forEach(s),this.h()},h(){W(e,"data-testid","namespace-owner"),W(v,"data-testid","namespace-global"),W(d,"data-testid","namespace-retention"),W(w,"data-testid","namespace-history"),W(K,"data-testid","namespace-visibility"),W(M,"data-testid","namespace-failover"),W(Z,"data-testid","namespace-clusters")},m(h,L){T(h,e,L),i(e,l),i(l,t),i(e,a),i(e,r),i(r,n),T(h,u,L),T(h,v,L),i(v,I),i(I,V),i(v,N),i(v,C),J(b,C,null),T(h,A,L),T(h,d,L),i(d,y),i(y,U),i(d,E),i(d,R),i(R,B),T(h,p,L),T(h,w,L),i(w,j),i(j,te),i(w,X),i(w,x),J(G,x,null),T(h,ee,L),T(h,K,L),i(K,le),i(le,ue),i(K,ae),i(K,fe),J(c,fe,null),T(h,H,L),T(h,M,L),i(M,se),i(se,re),i(M,ne),i(M,oe),i(oe,he),T(h,ve,L),T(h,Z,L),i(Z,de),i(de,ge),i(Z,ce),i(Z,_e),i(_e,Te),$e=!0},p(h,L){var ke,Se,Ee,Ie,Ce,be,He,Ve,we,Ne;(!$e||L&1)&&o!==(o=(((Se=(ke=h[0])==null?void 0:ke.namespaceInfo)==null?void 0:Se.ownerEmail)||"Unknown")+"")&&q(n,o);const De={};L&1&&(De.type=h[8]((Ee=h[0])==null?void 0:Ee.isGlobalNamespace,!1)),L&131073&&(De.$$scope={dirty:L,ctx:h}),b.$set(De),(!$e||L&1)&&O!==(O=at((Ce=(Ie=h[0])==null?void 0:Ie.config)==null?void 0:Ce.workflowExecutionRetentionTtl.toString())+"")&&q(B,O);const Ae={};L&1&&(Ae.type=h[7]((He=(be=h[0])==null?void 0:be.config)==null?void 0:He.historyArchivalState)),L&131073&&(Ae.$$scope={dirty:L,ctx:h}),G.$set(Ae);const me={};L&1&&(me.type=h[7]((we=(Ve=h[0])==null?void 0:Ve.config)==null?void 0:we.visibilityArchivalState)),L&131073&&(me.$$scope={dirty:L,ctx:h}),c.$set(me),(!$e||L&1)&&ie!==(ie=((Ne=h[0])==null?void 0:Ne.failoverVersion)+"")&&q(he,ie),(!$e||L&2)&&q(Te,h[1])},i(h){$e||(F(b.$$.fragment,h),F(G.$$.fragment,h),F(c.$$.fragment,h),$e=!0)},o(h){P(b.$$.fragment,h),P(G.$$.fragment,h),P(c.$$.fragment,h),$e=!1},d(h){h&&s(e),h&&s(u),h&&s(v),Q(b),h&&s(A),h&&s(d),h&&s(p),h&&s(w),Q(G),h&&s(ee),h&&s(K),Q(c),h&&s(H),h&&s(M),h&&s(ve),h&&s(Z)}}}function Lt(f){let e,l,t;return{c(){e=_("tr"),l=_("th"),t=_("th"),this.h()},l(a){e=$(a,"TR",{slot:!0});var r=m(e);l=$(r,"TH",{class:!0}),m(l).forEach(s),t=$(r,"TH",{}),m(t).forEach(s),r.forEach(s),this.h()},h(){W(l,"class","w-1/2 lg:w-3/5"),W(e,"slot","headers")},m(a,r){T(a,e,r),i(e,l),i(e,t)},p:Fe,d(a){a&&s(e)}}}function Wt(f){let e,l,t,a,r,o,n,u,v,I,V,N,C;return{c(){e=_("tr"),l=_("td"),t=g("Temporal Server Version"),a=k(),r=_("td"),o=g(f[3]),n=k(),u=_("tr"),v=_("td"),I=g("Temporal UI Version"),V=k(),N=_("td"),C=g(f[4]),this.h()},l(b){e=$(b,"TR",{"data-testid":!0});var A=m(e);l=$(A,"TD",{});var d=m(l);t=D(d,"Temporal Server Version"),d.forEach(s),a=S(A),r=$(A,"TD",{});var y=m(r);o=D(y,f[3]),y.forEach(s),A.forEach(s),n=S(b),u=$(b,"TR",{"data-testid":!0});var U=m(u);v=$(U,"TD",{});var E=m(v);I=D(E,"Temporal UI Version"),E.forEach(s),V=S(U),N=$(U,"TD",{});var R=m(N);C=D(R,f[4]),R.forEach(s),U.forEach(s),this.h()},h(){W(e,"data-testid","server-version"),W(u,"data-testid","ui-version")},m(b,A){T(b,e,A),i(e,l),i(l,t),i(e,a),i(e,r),i(r,o),T(b,n,A),T(b,u,A),i(u,v),i(v,I),i(u,V),i(u,N),i(N,C)},p(b,A){A&8&&q(o,b[3]),A&16&&q(C,b[4])},d(b){b&&s(e),b&&s(n),b&&s(u)}}}function yt(f){let e,l,t;return{c(){e=_("tr"),l=_("th"),t=_("th"),this.h()},l(a){e=$(a,"TR",{slot:!0});var r=m(e);l=$(r,"TH",{class:!0}),m(l).forEach(s),t=$(r,"TH",{}),m(t).forEach(s),r.forEach(s),this.h()},h(){W(l,"class","w-1/2 lg:w-3/4"),W(e,"slot","headers")},m(a,r){T(a,e,r),i(e,l),i(e,t)},p:Fe,d(a){a&&s(e)}}}function Bt(f){let e=f[9](f[5].disableWriteActions)+"",l;return{c(){l=g(e)},l(t){l=D(t,e)},m(t,a){T(t,l,a)},p(t,a){a&32&&e!==(e=t[9](t[5].disableWriteActions)+"")&&q(l,e)},d(t){t&&s(l)}}}function Ft(f){let e=f[9](f[5].workflowTerminateDisabled)+"",l;return{c(){l=g(e)},l(t){l=D(t,e)},m(t,a){T(t,l,a)},p(t,a){a&32&&e!==(e=t[9](t[5].workflowTerminateDisabled)+"")&&q(l,e)},d(t){t&&s(l)}}}function Pt(f){let e=f[9](f[5].workflowCancelDisabled)+"",l;return{c(){l=g(e)},l(t){l=D(t,e)},m(t,a){T(t,l,a)},p(t,a){a&32&&e!==(e=t[9](t[5].workflowCancelDisabled)+"")&&q(l,e)},d(t){t&&s(l)}}}function Ut(f){let e=f[9](f[5].workflowSignalDisabled)+"",l;return{c(){l=g(e)},l(t){l=D(t,e)},m(t,a){T(t,l,a)},p(t,a){a&32&&e!==(e=t[9](t[5].workflowSignalDisabled)+"")&&q(l,e)},d(t){t&&s(l)}}}function Gt(f){let e=f[9](f[5].workflowResetDisabled)+"",l;return{c(){l=g(e)},l(t){l=D(t,e)},m(t,a){T(t,l,a)},p(t,a){a&32&&e!==(e=t[9](t[5].workflowResetDisabled)+"")&&q(l,e)},d(t){t&&s(l)}}}function Ot(f){let e,l,t,a,r,o,n,u,v,I,V,N,C,b,A,d,y,U,E,R,O,B,p,w,j,te,X,x,G,ee,K,le,ue,ae,fe;return o=new pe({props:{class:"px-1 py-0",type:f[8](f[5].disableWriteActions),$$slots:{default:[Bt]},$$scope:{ctx:f}}}),C=new pe({props:{class:"px-1 py-0",type:f[8](f[5].workflowTerminateDisabled),$$slots:{default:[Ft]},$$scope:{ctx:f}}}),R=new pe({props:{class:"px-1 py-0",type:f[8](f[5].workflowCancelDisabled),$$slots:{default:[Pt]},$$scope:{ctx:f}}}),X=new pe({props:{class:"px-1 py-0",type:f[8](f[5].workflowSignalDisabled),$$slots:{default:[Ut]},$$scope:{ctx:f}}}),ae=new pe({props:{class:"px-1 py-0",type:f[8](f[5].workflowResetDisabled),$$slots:{default:[Gt]},$$scope:{ctx:f}}}),{c(){e=_("tr"),l=_("td"),t=g("Client Actions"),a=k(),r=_("td"),Y(o.$$.fragment),n=k(),u=_("tr"),v=_("td"),I=g("Terminate Workflow"),V=k(),N=_("td"),Y(C.$$.fragment),b=k(),A=_("tr"),d=_("td"),y=g("Cancel Workflow"),U=k(),E=_("td"),Y(R.$$.fragment),O=k(),B=_("tr"),p=_("td"),w=g("Signal Workflow"),j=k(),te=_("td"),Y(X.$$.fragment),x=k(),G=_("tr"),ee=_("td"),K=g("Reset Workflow"),le=k(),ue=_("td"),Y(ae.$$.fragment)},l(c){e=$(c,"TR",{});var H=m(e);l=$(H,"TD",{});var M=m(l);t=D(M,"Client Actions"),M.forEach(s),a=S(H),r=$(H,"TD",{});var se=m(r);z(o.$$.fragment,se),se.forEach(s),H.forEach(s),n=S(c),u=$(c,"TR",{});var re=m(u);v=$(re,"TD",{});var ne=m(v);I=D(ne,"Terminate Workflow"),ne.forEach(s),V=S(re),N=$(re,"TD",{});var oe=m(N);z(C.$$.fragment,oe),oe.forEach(s),re.forEach(s),b=S(c),A=$(c,"TR",{});var ie=m(A);d=$(ie,"TD",{});var he=m(d);y=D(he,"Cancel Workflow"),he.forEach(s),U=S(ie),E=$(ie,"TD",{});var ve=m(E);z(R.$$.fragment,ve),ve.forEach(s),ie.forEach(s),O=S(c),B=$(c,"TR",{});var Z=m(B);p=$(Z,"TD",{});var de=m(p);w=D(de,"Signal Workflow"),de.forEach(s),j=S(Z),te=$(Z,"TD",{});var ge=m(te);z(X.$$.fragment,ge),ge.forEach(s),Z.forEach(s),x=S(c),G=$(c,"TR",{});var ce=m(G);ee=$(ce,"TD",{});var _e=m(ee);K=D(_e,"Reset Workflow"),_e.forEach(s),le=S(ce),ue=$(ce,"TD",{});var Te=m(ue);z(ae.$$.fragment,Te),Te.forEach(s),ce.forEach(s)},m(c,H){T(c,e,H),i(e,l),i(l,t),i(e,a),i(e,r),J(o,r,null),T(c,n,H),T(c,u,H),i(u,v),i(v,I),i(u,V),i(u,N),J(C,N,null),T(c,b,H),T(c,A,H),i(A,d),i(d,y),i(A,U),i(A,E),J(R,E,null),T(c,O,H),T(c,B,H),i(B,p),i(p,w),i(B,j),i(B,te),J(X,te,null),T(c,x,H),T(c,G,H),i(G,ee),i(ee,K),i(G,le),i(G,ue),J(ae,ue,null),fe=!0},p(c,H){const M={};H&32&&(M.type=c[8](c[5].disableWriteActions)),H&131104&&(M.$$scope={dirty:H,ctx:c}),o.$set(M);const se={};H&32&&(se.type=c[8](c[5].workflowTerminateDisabled)),H&131104&&(se.$$scope={dirty:H,ctx:c}),C.$set(se);const re={};H&32&&(re.type=c[8](c[5].workflowCancelDisabled)),H&131104&&(re.$$scope={dirty:H,ctx:c}),R.$set(re);const ne={};H&32&&(ne.type=c[8](c[5].workflowSignalDisabled)),H&131104&&(ne.$$scope={dirty:H,ctx:c}),X.$set(ne);const oe={};H&32&&(oe.type=c[8](c[5].workflowResetDisabled)),H&131104&&(oe.$$scope={dirty:H,ctx:c}),ae.$set(oe)},i(c){fe||(F(o.$$.fragment,c),F(C.$$.fragment,c),F(R.$$.fragment,c),F(X.$$.fragment,c),F(ae.$$.fragment,c),fe=!0)},o(c){P(o.$$.fragment,c),P(C.$$.fragment,c),P(R.$$.fragment,c),P(X.$$.fragment,c),P(ae.$$.fragment,c),fe=!1},d(c){c&&s(e),Q(o),c&&s(n),c&&s(u),Q(C),c&&s(b),c&&s(A),Q(R),c&&s(O),c&&s(B),Q(X),c&&s(x),c&&s(G),Q(ae)}}}function jt(f){let e,l,t;return{c(){e=_("tr"),l=_("th"),t=_("th"),this.h()},l(a){e=$(a,"TR",{slot:!0});var r=m(e);l=$(r,"TH",{class:!0}),m(l).forEach(s),t=$(r,"TH",{}),m(t).forEach(s),r.forEach(s),this.h()},h(){W(l,"class","w-1/2 lg:w-3/5"),W(e,"slot","headers")},m(a,r){T(a,e,r),i(e,l),i(e,t)},p:Fe,d(a){a&&s(e)}}}function qt(f){let e,l,t,a,r,o,n,u,v,I,V,N,C,b,A,d,y,U;return r=new ye({props:{variant:"simple",$$slots:{headers:[Lt],default:[Nt]},$$scope:{ctx:f}}}),V=new ye({props:{variant:"simple",$$slots:{headers:[yt],default:[Wt]},$$scope:{ctx:f}}}),y=new ye({props:{variant:"simple",$$slots:{headers:[jt],default:[Ot]},$$scope:{ctx:f}}}),{c(){e=_("article"),l=_("h3"),t=g("Details"),a=k(),Y(r.$$.fragment),o=k(),n=_("article"),u=_("h3"),v=g("Versions"),I=k(),Y(V.$$.fragment),N=k(),C=_("article"),b=_("h3"),A=g("Client Actions"),d=k(),Y(y.$$.fragment),this.h()},l(E){e=$(E,"ARTICLE",{class:!0});var R=m(e);l=$(R,"H3",{class:!0});var O=m(l);t=D(O,"Details"),O.forEach(s),a=S(R),z(r.$$.fragment,R),R.forEach(s),o=S(E),n=$(E,"ARTICLE",{class:!0});var B=m(n);u=$(B,"H3",{class:!0});var p=m(u);v=D(p,"Versions"),p.forEach(s),I=S(B),z(V.$$.fragment,B),B.forEach(s),N=S(E),C=$(E,"ARTICLE",{class:!0});var w=m(C);b=$(w,"H3",{class:!0});var j=m(b);A=D(j,"Client Actions"),j.forEach(s),d=S(w),z(y.$$.fragment,w),w.forEach(s),this.h()},h(){W(l,"class","text-lg font-medium"),W(e,"class","namespace-info flex w-full flex-col"),W(u,"class","text-lg font-medium"),W(n,"class","namespace-info flex w-full flex-col"),W(b,"class","text-lg font-medium"),W(C,"class","namespace-info flex w-full flex-col")},m(E,R){T(E,e,R),i(e,l),i(l,t),i(e,a),J(r,e,null),T(E,o,R),T(E,n,R),i(n,u),i(u,v),i(n,I),J(V,n,null),T(E,N,R),T(E,C,R),i(C,b),i(b,A),i(C,d),J(y,C,null),U=!0},p(E,R){const O={};R&131075&&(O.$$scope={dirty:R,ctx:E}),r.$set(O);const B={};R&131096&&(B.$$scope={dirty:R,ctx:E}),V.$set(B);const p={};R&131104&&(p.$$scope={dirty:R,ctx:E}),y.$set(p)},i(E){U||(F(r.$$.fragment,E),F(V.$$.fragment,E),F(y.$$.fragment,E),U=!0)},o(E){P(r.$$.fragment,E),P(V.$$.fragment,E),P(y.$$.fragment,E),U=!1},d(E){E&&s(e),Q(r),E&&s(o),E&&s(n),Q(V),E&&s(N),E&&s(C),Q(y)}}}function rt(f){let e,l,t,a,r,o;return r=new ye({props:{class:"w-full",$$slots:{headers:[zt],default:[Mt]},$$scope:{ctx:f}}}),{c(){e=_("section"),l=_("h3"),t=g("Search Attributes"),a=k(),Y(r.$$.fragment),this.h()},l(n){e=$(n,"SECTION",{});var u=m(e);l=$(u,"H3",{class:!0});var v=m(l);t=D(v,"Search Attributes"),v.forEach(s),a=S(u),z(r.$$.fragment,u),u.forEach(s),this.h()},h(){W(l,"class","my-4 text-lg font-medium")},m(n,u){T(n,e,u),i(e,l),i(l,t),i(e,a),J(r,e,null),o=!0},p(n,u){const v={};u&131136&&(v.$$scope={dirty:u,ctx:n}),r.$set(v)},i(n){o||(F(r.$$.fragment,n),o=!0)},o(n){P(r.$$.fragment,n),o=!1},d(n){n&&s(e),Q(r)}}}function Kt(f){let e,l=f[13]+"",t,a,r,o=f[14]+"",n,u;return{c(){e=_("td"),t=g(l),a=k(),r=_("td"),n=g(o),u=k()},l(v){e=$(v,"TD",{});var I=m(e);t=D(I,l),I.forEach(s),a=S(v),r=$(v,"TD",{});var V=m(r);n=D(V,o),V.forEach(s),u=S(v)},m(v,I){T(v,e,I),i(e,t),T(v,a,I),T(v,r,I),i(r,n),T(v,u,I)},p(v,I){I&64&&l!==(l=v[13]+"")&&q(t,l),I&64&&o!==(o=v[14]+"")&&q(n,o)},d(v){v&&s(e),v&&s(a),v&&s(r),v&&s(u)}}}function ot(f){let e,l;return e=new Rt({props:{$$slots:{default:[Kt]},$$scope:{ctx:f}}}),{c(){Y(e.$$.fragment)},l(t){z(e.$$.fragment,t)},m(t,a){J(e,t,a),l=!0},p(t,a){const r={};a&131136&&(r.$$scope={dirty:a,ctx:t}),e.$set(r)},i(t){l||(F(e.$$.fragment,t),l=!0)},o(t){P(e.$$.fragment,t),l=!1},d(t){Q(e,t)}}}function Mt(f){let e,l,t=Object.entries(f[6]),a=[];for(let o=0;oP(a[o],1,1,()=>{a[o]=null});return{c(){for(let o=0;o{d=null}),ut())},i(p){A||(F(e.$$.fragment,p),F(N.$$.fragment,p),F(d),A=!0)},o(p){P(e.$$.fragment,p),P(N.$$.fragment,p),P(d),A=!1},d(p){Q(e,p),p&&s(l),p&&s(t),p&&s(n),p&&s(u),p&&s(V),Q(N,p),p&&s(C),d&&d.d(p),p&&s(b)}}}function Qt(f,e,l){let t,a,r,o,n,u,v,I;Re(f,lt,d=>l(12,r=d)),Re(f,Tt,d=>l(2,o=d)),Re(f,Et,d=>l(3,n=d)),Re(f,bt,d=>l(4,u=d)),Re(f,gt,d=>l(5,v=d)),Re(f,wt,d=>l(6,I=d));let{data:V}=e;var N;(function(d){d[d.ARCHIVAL_STATE_UNSPECIFIED=0]="ARCHIVAL_STATE_UNSPECIFIED",d[d.ARCHIVAL_STATE_DISABLED=1]="ARCHIVAL_STATE_DISABLED",d[d.ARCHIVAL_STATE_ENABLED=2]="ARCHIVAL_STATE_ENABLED"})(N||(N={}));const C=d=>d===N.ARCHIVAL_STATE_ENABLED?"green":"default",b=(d,y=!0)=>y?d?"default":"green":d?"green":"default",A=d=>d?"Disabled":"Enabled";return pt(()=>{var d;ht(lt,r=(d=t==null?void 0:t.namespaceInfo)===null||d===void 0?void 0:d.name,r)}),f.$$set=d=>{"data"in d&&l(10,V=d.data)},f.$$.update=()=>{f.$$.dirty&1024&&l(0,{namespace:t,clusters:a}=V,t,(l(1,a),l(10,V)))},[t,a,o,n,u,v,I,C,b,A,V]}class nl extends ft{constructor(e){super(),nt(this,e,Qt,Jt,it,{data:10})}}export{nl as default}; +import{S as ft,b as nt,a as it,G as ct,m as _,p as $,q as m,k as s,u as W,f as T,H as _t,I as $t,J as mt,j as F,g as P,O as et,P as tt,C as Y,c as k,w as g,e as Be,D as z,d as S,x as D,E as J,M as i,y as q,h as ut,F as Q,L as Re,o as pt,_ as ht,z as dt,a7 as vt,n as Fe}from"../chunks/index.d29c66be.js";import{p as Tt}from"../chunks/stores.8c019868.js";import{t as Et,u as bt}from"../chunks/versions.dfa21225.js";import{l as lt}from"../chunks/namespaces.52575875.js";import{s as wt}from"../chunks/search-attributes.c866741f.js";import{s as gt}from"../chunks/settings.a68ca666.js";import{q as at}from"../chunks/format-time.66fea38b.js";import{P as Dt}from"../chunks/page-title.ba38eecf.js";import{T as ye,a as At}from"../chunks/table-header-row.a7bab5a4.js";import{T as Rt}from"../chunks/table-row.4a68a50d.js";import{B as pe}from"../chunks/badge.2c189bf4.js";function kt(f){let e,l,t;const a=f[2].default,r=ct(a,f,f[1],null);return{c(){e=_("div"),r&&r.c(),this.h()},l(o){e=$(o,"DIV",{class:!0});var n=m(e);r&&r.l(n),n.forEach(s),this.h()},h(){W(e,"class",l="card bg-white "+f[0].class+" svelte-hm2avd")},m(o,n){T(o,e,n),r&&r.m(e,null),t=!0},p(o,[n]){r&&r.p&&(!t||n&2)&&_t(r,a,o,o[1],t?mt(a,o[1],n,null):$t(o[1]),null),(!t||n&1&&l!==(l="card bg-white "+o[0].class+" svelte-hm2avd"))&&W(e,"class",l)},i(o){t||(F(r,o),t=!0)},o(o){P(r,o),t=!1},d(o){o&&s(e),r&&r.d(o)}}}function St(f,e,l){let{$$slots:t={},$$scope:a}=e;return f.$$set=r=>{l(0,e=et(et({},e),tt(r))),"$$scope"in r&&l(1,a=r.$$scope)},e=tt(e),[e,a,t]}class It extends ft{constructor(e){super(),nt(this,e,St,kt,it,{})}}function st(f,e,l){const t=f.slice();return t[13]=e[l][0],t[14]=e[l][1],t}function Ct(f){var t;let e=(t=f[0])!=null&&t.isGlobalNamespace?"Yes":"No",l;return{c(){l=g(e)},l(a){l=D(a,e)},m(a,r){T(a,l,r)},p(a,r){var o;r&1&&e!==(e=(o=a[0])!=null&&o.isGlobalNamespace?"Yes":"No")&&q(l,e)},d(a){a&&s(l)}}}function Ht(f){var t,a;let e=((a=(t=f[0])==null?void 0:t.config)==null?void 0:a.historyArchivalState)+"",l;return{c(){l=g(e)},l(r){l=D(r,e)},m(r,o){T(r,l,o)},p(r,o){var n,u;o&1&&e!==(e=((u=(n=r[0])==null?void 0:n.config)==null?void 0:u.historyArchivalState)+"")&&q(l,e)},d(r){r&&s(l)}}}function Vt(f){var t,a;let e=((a=(t=f[0])==null?void 0:t.config)==null?void 0:a.visibilityArchivalState)+"",l;return{c(){l=g(e)},l(r){l=D(r,e)},m(r,o){T(r,l,o)},p(r,o){var n,u;o&1&&e!==(e=((u=(n=r[0])==null?void 0:n.config)==null?void 0:u.visibilityArchivalState)+"")&&q(l,e)},d(r){r&&s(l)}}}function Nt(f){var Pe,Ue,Ge,Oe,je,qe,Ke,Me,Ye,ze;let e,l,t,a,r,o=(((Ue=(Pe=f[0])==null?void 0:Pe.namespaceInfo)==null?void 0:Ue.ownerEmail)||"Unknown")+"",n,u,v,I,V,N,C,b,A,d,y,U,E,R,O=at((Oe=(Ge=f[0])==null?void 0:Ge.config)==null?void 0:Oe.workflowExecutionRetentionTtl.toString())+"",B,p,w,j,te,X,x,G,ee,K,le,ue,ae,fe,c,H,M,se,re,ne,oe,ie=((je=f[0])==null?void 0:je.failoverVersion)+"",he,ve,Z,de,ge,ce,_e,Te,$e;return b=new pe({props:{class:"px-1 py-0",type:f[8]((qe=f[0])==null?void 0:qe.isGlobalNamespace,!1),$$slots:{default:[Ct]},$$scope:{ctx:f}}}),G=new pe({props:{class:"px-1 py-0",type:f[7]((Me=(Ke=f[0])==null?void 0:Ke.config)==null?void 0:Me.historyArchivalState),$$slots:{default:[Ht]},$$scope:{ctx:f}}}),c=new pe({props:{class:"px-1 py-0",type:f[7]((ze=(Ye=f[0])==null?void 0:Ye.config)==null?void 0:ze.visibilityArchivalState),$$slots:{default:[Vt]},$$scope:{ctx:f}}}),{c(){e=_("tr"),l=_("td"),t=g("Owner"),a=k(),r=_("td"),n=g(o),u=k(),v=_("tr"),I=_("td"),V=g("Global"),N=k(),C=_("td"),Y(b.$$.fragment),A=k(),d=_("tr"),y=_("td"),U=g("Retention Period"),E=k(),R=_("td"),B=g(O),p=k(),w=_("tr"),j=_("td"),te=g("History Archival"),X=k(),x=_("td"),Y(G.$$.fragment),ee=k(),K=_("tr"),le=_("td"),ue=g("Visibility Archival"),ae=k(),fe=_("td"),Y(c.$$.fragment),H=k(),M=_("tr"),se=_("td"),re=g("Failover Version"),ne=k(),oe=_("td"),he=g(ie),ve=k(),Z=_("tr"),de=_("td"),ge=g("Clusters"),ce=k(),_e=_("td"),Te=g(f[1]),this.h()},l(h){e=$(h,"TR",{"data-testid":!0});var L=m(e);l=$(L,"TD",{});var De=m(l);t=D(De,"Owner"),De.forEach(s),a=S(L),r=$(L,"TD",{});var Ae=m(r);n=D(Ae,o),Ae.forEach(s),L.forEach(s),u=S(h),v=$(h,"TR",{"data-testid":!0});var me=m(v);I=$(me,"TD",{});var ke=m(I);V=D(ke,"Global"),ke.forEach(s),N=S(me),C=$(me,"TD",{});var Se=m(C);z(b.$$.fragment,Se),Se.forEach(s),me.forEach(s),A=S(h),d=$(h,"TR",{"data-testid":!0});var Ee=m(d);y=$(Ee,"TD",{});var Ie=m(y);U=D(Ie,"Retention Period"),Ie.forEach(s),E=S(Ee),R=$(Ee,"TD",{});var Ce=m(R);B=D(Ce,O),Ce.forEach(s),Ee.forEach(s),p=S(h),w=$(h,"TR",{"data-testid":!0});var be=m(w);j=$(be,"TD",{});var He=m(j);te=D(He,"History Archival"),He.forEach(s),X=S(be),x=$(be,"TD",{});var Ve=m(x);z(G.$$.fragment,Ve),Ve.forEach(s),be.forEach(s),ee=S(h),K=$(h,"TR",{"data-testid":!0});var we=m(K);le=$(we,"TD",{});var Ne=m(le);ue=D(Ne,"Visibility Archival"),Ne.forEach(s),ae=S(we),fe=$(we,"TD",{});var Je=m(fe);z(c.$$.fragment,Je),Je.forEach(s),we.forEach(s),H=S(h),M=$(h,"TR",{"data-testid":!0});var Le=m(M);se=$(Le,"TD",{});var Qe=m(se);re=D(Qe,"Failover Version"),Qe.forEach(s),ne=S(Le),oe=$(Le,"TD",{});var Xe=m(oe);he=D(Xe,ie),Xe.forEach(s),Le.forEach(s),ve=S(h),Z=$(h,"TR",{"data-testid":!0});var We=m(Z);de=$(We,"TD",{});var Ze=m(de);ge=D(Ze,"Clusters"),Ze.forEach(s),ce=S(We),_e=$(We,"TD",{});var xe=m(_e);Te=D(xe,f[1]),xe.forEach(s),We.forEach(s),this.h()},h(){W(e,"data-testid","namespace-owner"),W(v,"data-testid","namespace-global"),W(d,"data-testid","namespace-retention"),W(w,"data-testid","namespace-history"),W(K,"data-testid","namespace-visibility"),W(M,"data-testid","namespace-failover"),W(Z,"data-testid","namespace-clusters")},m(h,L){T(h,e,L),i(e,l),i(l,t),i(e,a),i(e,r),i(r,n),T(h,u,L),T(h,v,L),i(v,I),i(I,V),i(v,N),i(v,C),J(b,C,null),T(h,A,L),T(h,d,L),i(d,y),i(y,U),i(d,E),i(d,R),i(R,B),T(h,p,L),T(h,w,L),i(w,j),i(j,te),i(w,X),i(w,x),J(G,x,null),T(h,ee,L),T(h,K,L),i(K,le),i(le,ue),i(K,ae),i(K,fe),J(c,fe,null),T(h,H,L),T(h,M,L),i(M,se),i(se,re),i(M,ne),i(M,oe),i(oe,he),T(h,ve,L),T(h,Z,L),i(Z,de),i(de,ge),i(Z,ce),i(Z,_e),i(_e,Te),$e=!0},p(h,L){var ke,Se,Ee,Ie,Ce,be,He,Ve,we,Ne;(!$e||L&1)&&o!==(o=(((Se=(ke=h[0])==null?void 0:ke.namespaceInfo)==null?void 0:Se.ownerEmail)||"Unknown")+"")&&q(n,o);const De={};L&1&&(De.type=h[8]((Ee=h[0])==null?void 0:Ee.isGlobalNamespace,!1)),L&131073&&(De.$$scope={dirty:L,ctx:h}),b.$set(De),(!$e||L&1)&&O!==(O=at((Ce=(Ie=h[0])==null?void 0:Ie.config)==null?void 0:Ce.workflowExecutionRetentionTtl.toString())+"")&&q(B,O);const Ae={};L&1&&(Ae.type=h[7]((He=(be=h[0])==null?void 0:be.config)==null?void 0:He.historyArchivalState)),L&131073&&(Ae.$$scope={dirty:L,ctx:h}),G.$set(Ae);const me={};L&1&&(me.type=h[7]((we=(Ve=h[0])==null?void 0:Ve.config)==null?void 0:we.visibilityArchivalState)),L&131073&&(me.$$scope={dirty:L,ctx:h}),c.$set(me),(!$e||L&1)&&ie!==(ie=((Ne=h[0])==null?void 0:Ne.failoverVersion)+"")&&q(he,ie),(!$e||L&2)&&q(Te,h[1])},i(h){$e||(F(b.$$.fragment,h),F(G.$$.fragment,h),F(c.$$.fragment,h),$e=!0)},o(h){P(b.$$.fragment,h),P(G.$$.fragment,h),P(c.$$.fragment,h),$e=!1},d(h){h&&s(e),h&&s(u),h&&s(v),Q(b),h&&s(A),h&&s(d),h&&s(p),h&&s(w),Q(G),h&&s(ee),h&&s(K),Q(c),h&&s(H),h&&s(M),h&&s(ve),h&&s(Z)}}}function Lt(f){let e,l,t;return{c(){e=_("tr"),l=_("th"),t=_("th"),this.h()},l(a){e=$(a,"TR",{slot:!0});var r=m(e);l=$(r,"TH",{class:!0}),m(l).forEach(s),t=$(r,"TH",{}),m(t).forEach(s),r.forEach(s),this.h()},h(){W(l,"class","w-1/2 lg:w-3/5"),W(e,"slot","headers")},m(a,r){T(a,e,r),i(e,l),i(e,t)},p:Fe,d(a){a&&s(e)}}}function Wt(f){let e,l,t,a,r,o,n,u,v,I,V,N,C;return{c(){e=_("tr"),l=_("td"),t=g("Temporal Server Version"),a=k(),r=_("td"),o=g(f[3]),n=k(),u=_("tr"),v=_("td"),I=g("Temporal UI Version"),V=k(),N=_("td"),C=g(f[4]),this.h()},l(b){e=$(b,"TR",{"data-testid":!0});var A=m(e);l=$(A,"TD",{});var d=m(l);t=D(d,"Temporal Server Version"),d.forEach(s),a=S(A),r=$(A,"TD",{});var y=m(r);o=D(y,f[3]),y.forEach(s),A.forEach(s),n=S(b),u=$(b,"TR",{"data-testid":!0});var U=m(u);v=$(U,"TD",{});var E=m(v);I=D(E,"Temporal UI Version"),E.forEach(s),V=S(U),N=$(U,"TD",{});var R=m(N);C=D(R,f[4]),R.forEach(s),U.forEach(s),this.h()},h(){W(e,"data-testid","server-version"),W(u,"data-testid","ui-version")},m(b,A){T(b,e,A),i(e,l),i(l,t),i(e,a),i(e,r),i(r,o),T(b,n,A),T(b,u,A),i(u,v),i(v,I),i(u,V),i(u,N),i(N,C)},p(b,A){A&8&&q(o,b[3]),A&16&&q(C,b[4])},d(b){b&&s(e),b&&s(n),b&&s(u)}}}function yt(f){let e,l,t;return{c(){e=_("tr"),l=_("th"),t=_("th"),this.h()},l(a){e=$(a,"TR",{slot:!0});var r=m(e);l=$(r,"TH",{class:!0}),m(l).forEach(s),t=$(r,"TH",{}),m(t).forEach(s),r.forEach(s),this.h()},h(){W(l,"class","w-1/2 lg:w-3/4"),W(e,"slot","headers")},m(a,r){T(a,e,r),i(e,l),i(e,t)},p:Fe,d(a){a&&s(e)}}}function Bt(f){let e=f[9](f[5].disableWriteActions)+"",l;return{c(){l=g(e)},l(t){l=D(t,e)},m(t,a){T(t,l,a)},p(t,a){a&32&&e!==(e=t[9](t[5].disableWriteActions)+"")&&q(l,e)},d(t){t&&s(l)}}}function Ft(f){let e=f[9](f[5].workflowTerminateDisabled)+"",l;return{c(){l=g(e)},l(t){l=D(t,e)},m(t,a){T(t,l,a)},p(t,a){a&32&&e!==(e=t[9](t[5].workflowTerminateDisabled)+"")&&q(l,e)},d(t){t&&s(l)}}}function Pt(f){let e=f[9](f[5].workflowCancelDisabled)+"",l;return{c(){l=g(e)},l(t){l=D(t,e)},m(t,a){T(t,l,a)},p(t,a){a&32&&e!==(e=t[9](t[5].workflowCancelDisabled)+"")&&q(l,e)},d(t){t&&s(l)}}}function Ut(f){let e=f[9](f[5].workflowSignalDisabled)+"",l;return{c(){l=g(e)},l(t){l=D(t,e)},m(t,a){T(t,l,a)},p(t,a){a&32&&e!==(e=t[9](t[5].workflowSignalDisabled)+"")&&q(l,e)},d(t){t&&s(l)}}}function Gt(f){let e=f[9](f[5].workflowResetDisabled)+"",l;return{c(){l=g(e)},l(t){l=D(t,e)},m(t,a){T(t,l,a)},p(t,a){a&32&&e!==(e=t[9](t[5].workflowResetDisabled)+"")&&q(l,e)},d(t){t&&s(l)}}}function Ot(f){let e,l,t,a,r,o,n,u,v,I,V,N,C,b,A,d,y,U,E,R,O,B,p,w,j,te,X,x,G,ee,K,le,ue,ae,fe;return o=new pe({props:{class:"px-1 py-0",type:f[8](f[5].disableWriteActions),$$slots:{default:[Bt]},$$scope:{ctx:f}}}),C=new pe({props:{class:"px-1 py-0",type:f[8](f[5].workflowTerminateDisabled),$$slots:{default:[Ft]},$$scope:{ctx:f}}}),R=new pe({props:{class:"px-1 py-0",type:f[8](f[5].workflowCancelDisabled),$$slots:{default:[Pt]},$$scope:{ctx:f}}}),X=new pe({props:{class:"px-1 py-0",type:f[8](f[5].workflowSignalDisabled),$$slots:{default:[Ut]},$$scope:{ctx:f}}}),ae=new pe({props:{class:"px-1 py-0",type:f[8](f[5].workflowResetDisabled),$$slots:{default:[Gt]},$$scope:{ctx:f}}}),{c(){e=_("tr"),l=_("td"),t=g("Client Actions"),a=k(),r=_("td"),Y(o.$$.fragment),n=k(),u=_("tr"),v=_("td"),I=g("Terminate Workflow"),V=k(),N=_("td"),Y(C.$$.fragment),b=k(),A=_("tr"),d=_("td"),y=g("Cancel Workflow"),U=k(),E=_("td"),Y(R.$$.fragment),O=k(),B=_("tr"),p=_("td"),w=g("Signal Workflow"),j=k(),te=_("td"),Y(X.$$.fragment),x=k(),G=_("tr"),ee=_("td"),K=g("Reset Workflow"),le=k(),ue=_("td"),Y(ae.$$.fragment)},l(c){e=$(c,"TR",{});var H=m(e);l=$(H,"TD",{});var M=m(l);t=D(M,"Client Actions"),M.forEach(s),a=S(H),r=$(H,"TD",{});var se=m(r);z(o.$$.fragment,se),se.forEach(s),H.forEach(s),n=S(c),u=$(c,"TR",{});var re=m(u);v=$(re,"TD",{});var ne=m(v);I=D(ne,"Terminate Workflow"),ne.forEach(s),V=S(re),N=$(re,"TD",{});var oe=m(N);z(C.$$.fragment,oe),oe.forEach(s),re.forEach(s),b=S(c),A=$(c,"TR",{});var ie=m(A);d=$(ie,"TD",{});var he=m(d);y=D(he,"Cancel Workflow"),he.forEach(s),U=S(ie),E=$(ie,"TD",{});var ve=m(E);z(R.$$.fragment,ve),ve.forEach(s),ie.forEach(s),O=S(c),B=$(c,"TR",{});var Z=m(B);p=$(Z,"TD",{});var de=m(p);w=D(de,"Signal Workflow"),de.forEach(s),j=S(Z),te=$(Z,"TD",{});var ge=m(te);z(X.$$.fragment,ge),ge.forEach(s),Z.forEach(s),x=S(c),G=$(c,"TR",{});var ce=m(G);ee=$(ce,"TD",{});var _e=m(ee);K=D(_e,"Reset Workflow"),_e.forEach(s),le=S(ce),ue=$(ce,"TD",{});var Te=m(ue);z(ae.$$.fragment,Te),Te.forEach(s),ce.forEach(s)},m(c,H){T(c,e,H),i(e,l),i(l,t),i(e,a),i(e,r),J(o,r,null),T(c,n,H),T(c,u,H),i(u,v),i(v,I),i(u,V),i(u,N),J(C,N,null),T(c,b,H),T(c,A,H),i(A,d),i(d,y),i(A,U),i(A,E),J(R,E,null),T(c,O,H),T(c,B,H),i(B,p),i(p,w),i(B,j),i(B,te),J(X,te,null),T(c,x,H),T(c,G,H),i(G,ee),i(ee,K),i(G,le),i(G,ue),J(ae,ue,null),fe=!0},p(c,H){const M={};H&32&&(M.type=c[8](c[5].disableWriteActions)),H&131104&&(M.$$scope={dirty:H,ctx:c}),o.$set(M);const se={};H&32&&(se.type=c[8](c[5].workflowTerminateDisabled)),H&131104&&(se.$$scope={dirty:H,ctx:c}),C.$set(se);const re={};H&32&&(re.type=c[8](c[5].workflowCancelDisabled)),H&131104&&(re.$$scope={dirty:H,ctx:c}),R.$set(re);const ne={};H&32&&(ne.type=c[8](c[5].workflowSignalDisabled)),H&131104&&(ne.$$scope={dirty:H,ctx:c}),X.$set(ne);const oe={};H&32&&(oe.type=c[8](c[5].workflowResetDisabled)),H&131104&&(oe.$$scope={dirty:H,ctx:c}),ae.$set(oe)},i(c){fe||(F(o.$$.fragment,c),F(C.$$.fragment,c),F(R.$$.fragment,c),F(X.$$.fragment,c),F(ae.$$.fragment,c),fe=!0)},o(c){P(o.$$.fragment,c),P(C.$$.fragment,c),P(R.$$.fragment,c),P(X.$$.fragment,c),P(ae.$$.fragment,c),fe=!1},d(c){c&&s(e),Q(o),c&&s(n),c&&s(u),Q(C),c&&s(b),c&&s(A),Q(R),c&&s(O),c&&s(B),Q(X),c&&s(x),c&&s(G),Q(ae)}}}function jt(f){let e,l,t;return{c(){e=_("tr"),l=_("th"),t=_("th"),this.h()},l(a){e=$(a,"TR",{slot:!0});var r=m(e);l=$(r,"TH",{class:!0}),m(l).forEach(s),t=$(r,"TH",{}),m(t).forEach(s),r.forEach(s),this.h()},h(){W(l,"class","w-1/2 lg:w-3/5"),W(e,"slot","headers")},m(a,r){T(a,e,r),i(e,l),i(e,t)},p:Fe,d(a){a&&s(e)}}}function qt(f){let e,l,t,a,r,o,n,u,v,I,V,N,C,b,A,d,y,U;return r=new ye({props:{variant:"simple",$$slots:{headers:[Lt],default:[Nt]},$$scope:{ctx:f}}}),V=new ye({props:{variant:"simple",$$slots:{headers:[yt],default:[Wt]},$$scope:{ctx:f}}}),y=new ye({props:{variant:"simple",$$slots:{headers:[jt],default:[Ot]},$$scope:{ctx:f}}}),{c(){e=_("article"),l=_("h3"),t=g("Details"),a=k(),Y(r.$$.fragment),o=k(),n=_("article"),u=_("h3"),v=g("Versions"),I=k(),Y(V.$$.fragment),N=k(),C=_("article"),b=_("h3"),A=g("Client Actions"),d=k(),Y(y.$$.fragment),this.h()},l(E){e=$(E,"ARTICLE",{class:!0});var R=m(e);l=$(R,"H3",{class:!0});var O=m(l);t=D(O,"Details"),O.forEach(s),a=S(R),z(r.$$.fragment,R),R.forEach(s),o=S(E),n=$(E,"ARTICLE",{class:!0});var B=m(n);u=$(B,"H3",{class:!0});var p=m(u);v=D(p,"Versions"),p.forEach(s),I=S(B),z(V.$$.fragment,B),B.forEach(s),N=S(E),C=$(E,"ARTICLE",{class:!0});var w=m(C);b=$(w,"H3",{class:!0});var j=m(b);A=D(j,"Client Actions"),j.forEach(s),d=S(w),z(y.$$.fragment,w),w.forEach(s),this.h()},h(){W(l,"class","text-lg font-medium"),W(e,"class","namespace-info flex w-full flex-col"),W(u,"class","text-lg font-medium"),W(n,"class","namespace-info flex w-full flex-col"),W(b,"class","text-lg font-medium"),W(C,"class","namespace-info flex w-full flex-col")},m(E,R){T(E,e,R),i(e,l),i(l,t),i(e,a),J(r,e,null),T(E,o,R),T(E,n,R),i(n,u),i(u,v),i(n,I),J(V,n,null),T(E,N,R),T(E,C,R),i(C,b),i(b,A),i(C,d),J(y,C,null),U=!0},p(E,R){const O={};R&131075&&(O.$$scope={dirty:R,ctx:E}),r.$set(O);const B={};R&131096&&(B.$$scope={dirty:R,ctx:E}),V.$set(B);const p={};R&131104&&(p.$$scope={dirty:R,ctx:E}),y.$set(p)},i(E){U||(F(r.$$.fragment,E),F(V.$$.fragment,E),F(y.$$.fragment,E),U=!0)},o(E){P(r.$$.fragment,E),P(V.$$.fragment,E),P(y.$$.fragment,E),U=!1},d(E){E&&s(e),Q(r),E&&s(o),E&&s(n),Q(V),E&&s(N),E&&s(C),Q(y)}}}function rt(f){let e,l,t,a,r,o;return r=new ye({props:{class:"w-full",$$slots:{headers:[zt],default:[Mt]},$$scope:{ctx:f}}}),{c(){e=_("section"),l=_("h3"),t=g("Search Attributes"),a=k(),Y(r.$$.fragment),this.h()},l(n){e=$(n,"SECTION",{});var u=m(e);l=$(u,"H3",{class:!0});var v=m(l);t=D(v,"Search Attributes"),v.forEach(s),a=S(u),z(r.$$.fragment,u),u.forEach(s),this.h()},h(){W(l,"class","my-4 text-lg font-medium")},m(n,u){T(n,e,u),i(e,l),i(l,t),i(e,a),J(r,e,null),o=!0},p(n,u){const v={};u&131136&&(v.$$scope={dirty:u,ctx:n}),r.$set(v)},i(n){o||(F(r.$$.fragment,n),o=!0)},o(n){P(r.$$.fragment,n),o=!1},d(n){n&&s(e),Q(r)}}}function Kt(f){let e,l=f[13]+"",t,a,r,o=f[14]+"",n,u;return{c(){e=_("td"),t=g(l),a=k(),r=_("td"),n=g(o),u=k()},l(v){e=$(v,"TD",{});var I=m(e);t=D(I,l),I.forEach(s),a=S(v),r=$(v,"TD",{});var V=m(r);n=D(V,o),V.forEach(s),u=S(v)},m(v,I){T(v,e,I),i(e,t),T(v,a,I),T(v,r,I),i(r,n),T(v,u,I)},p(v,I){I&64&&l!==(l=v[13]+"")&&q(t,l),I&64&&o!==(o=v[14]+"")&&q(n,o)},d(v){v&&s(e),v&&s(a),v&&s(r),v&&s(u)}}}function ot(f){let e,l;return e=new Rt({props:{$$slots:{default:[Kt]},$$scope:{ctx:f}}}),{c(){Y(e.$$.fragment)},l(t){z(e.$$.fragment,t)},m(t,a){J(e,t,a),l=!0},p(t,a){const r={};a&131136&&(r.$$scope={dirty:a,ctx:t}),e.$set(r)},i(t){l||(F(e.$$.fragment,t),l=!0)},o(t){P(e.$$.fragment,t),l=!1},d(t){Q(e,t)}}}function Mt(f){let e,l,t=Object.entries(f[6]),a=[];for(let o=0;oP(a[o],1,1,()=>{a[o]=null});return{c(){for(let o=0;o{d=null}),ut())},i(p){A||(F(e.$$.fragment,p),F(N.$$.fragment,p),F(d),A=!0)},o(p){P(e.$$.fragment,p),P(N.$$.fragment,p),P(d),A=!1},d(p){Q(e,p),p&&s(l),p&&s(t),p&&s(n),p&&s(u),p&&s(V),Q(N,p),p&&s(C),d&&d.d(p),p&&s(b)}}}function Qt(f,e,l){let t,a,r,o,n,u,v,I;Re(f,lt,d=>l(12,r=d)),Re(f,Tt,d=>l(2,o=d)),Re(f,Et,d=>l(3,n=d)),Re(f,bt,d=>l(4,u=d)),Re(f,gt,d=>l(5,v=d)),Re(f,wt,d=>l(6,I=d));let{data:V}=e;var N;(function(d){d[d.ARCHIVAL_STATE_UNSPECIFIED=0]="ARCHIVAL_STATE_UNSPECIFIED",d[d.ARCHIVAL_STATE_DISABLED=1]="ARCHIVAL_STATE_DISABLED",d[d.ARCHIVAL_STATE_ENABLED=2]="ARCHIVAL_STATE_ENABLED"})(N||(N={}));const C=d=>d===N.ARCHIVAL_STATE_ENABLED?"green":"default",b=(d,y=!0)=>y?d?"default":"green":d?"green":"default",A=d=>d?"Disabled":"Enabled";return pt(()=>{var d;ht(lt,r=(d=t==null?void 0:t.namespaceInfo)===null||d===void 0?void 0:d.name,r)}),f.$$set=d=>{"data"in d&&l(10,V=d.data)},f.$$.update=()=>{f.$$.dirty&1024&&l(0,{namespace:t,clusters:a}=V,t,(l(1,a),l(10,V)))},[t,a,o,n,u,v,I,C,b,A,V]}class nl extends ft{constructor(e){super(),nt(this,e,Qt,Jt,it,{data:10})}}export{nl as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-page.ts.40c3f2bf.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-page.ts.40c3f2bf.js deleted file mode 100644 index 83011e9222..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-page.ts.40c3f2bf.js +++ /dev/null @@ -1 +0,0 @@ -import"../chunks/namespaces-service.00a861d3.js";import{l}from"../chunks/_page.6e7d6739.js";export{l as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-page.ts.991670c7.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-page.ts.991670c7.js new file mode 100644 index 0000000000..7187320245 --- /dev/null +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-page.ts.991670c7.js @@ -0,0 +1 @@ +import"../chunks/namespaces-service.97b7c0ed.js";import{l}from"../chunks/_page.16a3c60c.js";export{l as load}; diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-_schedule_-edit-page.svelte.dda3103c.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-_schedule_-edit-page.svelte.204f3672.js similarity index 88% rename from ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-_schedule_-edit-page.svelte.dda3103c.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-_schedule_-edit-page.svelte.204f3672.js index 01d3ed8345..c6fc98ce6e 100644 --- a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-_schedule_-edit-page.svelte.dda3103c.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-_schedule_-edit-page.svelte.204f3672.js @@ -1 +1 @@ -import{S as g,b as k,a as b,ar as U,e as h,f as w,as as W,j as l,g as u,k as S,L as y,n as c,C as m,D as f,E as p,F as d,c as z,d as A}from"../chunks/index.d29c66be.js";import{p as E}from"../chunks/stores.1f7fa6eb.js";import{P as B}from"../chunks/page-title.ba38eecf.js";import{s as G}from"../chunks/schedules.9f53df59.js";import{L as H}from"../chunks/loading.9b5a6a67.js";import{a as J}from"../chunks/schedule-frequency.0254bcb6.js";import{S as K}from"../chunks/schedule-form-view.9e09dcb7.js";import{k as V}from"../chunks/route-for.5e008fb6.js";function _(o){o[6]=o[7].schedule}function X(o){return{c,l:c,m:c,p:c,i:c,o:c,d:c}}function Y(o){_(o);let t,a;return t=new K({props:{onConfirm:o[1],schedule:o[6]}}),{c(){m(t.$$.fragment)},l(e){f(t.$$.fragment,e)},m(e,r){p(t,e,r),a=!0},p(e,r){_(e)},i(e){a||(l(t.$$.fragment,e),a=!0)},o(e){u(t.$$.fragment,e),a=!1},d(e){d(t,e)}}}function Z(o){let t,a;return t=new H({props:{title:"Loading Schedule..."}}),{c(){m(t.$$.fragment)},l(e){f(t.$$.fragment,e)},m(e,r){p(t,e,r),a=!0},p:c,i(e){a||(l(t.$$.fragment,e),a=!0)},o(e){u(t.$$.fragment,e),a=!1},d(e){d(t,e)}}}function x(o){let t,a,e={ctx:o,current:null,token:null,hasCatch:!1,pending:Z,then:Y,catch:X,value:7,blocks:[,,,]};return U(o[0],e),{c(){t=h(),e.block.c()},l(r){t=h(),e.block.l(r)},m(r,n){w(r,t,n),e.block.m(r,e.anchor=n),e.mount=()=>t.parentNode,e.anchor=t,a=!0},p(r,[n]){o=r,W(e,o,n)},i(r){a||(l(e.block),a=!0)},o(r){for(let n=0;n<3;n+=1){const s=e.blocks[n];u(s)}a=!1},d(r){r&&S(t),e.block.d(r),e.token=null,e=null}}}function ee(o,t,a){let e;y(o,E,$=>a(2,e=$));let r=e.params.namespace,n=e.params.schedule;const s={namespace:r,scheduleId:V(n)};return[J(s),($,v,C)=>{const{name:F,workflowType:I,workflowId:L,taskQueue:P,hour:O,minute:j,second:q,phase:D,cronString:M,daysOfWeek:N,daysOfMonth:Q,days:R,months:T}=v;G({action:{namespace:r,name:F,workflowType:I,workflowId:L,taskQueue:P},spec:{hour:O,minute:j,second:q,phase:D,cronString:M},presets:{preset:$,daysOfWeek:N,daysOfMonth:Q,months:T,days:R}},C,n)}]}class te extends g{constructor(t){super(),k(this,t,ee,x,b,{})}}function ne(o){let t,a,e,r;return t=new B({props:{title:`Schedule Edit | ${o[0].params.schedule}`,url:o[0].url.href}}),e=new te({}),{c(){m(t.$$.fragment),a=z(),m(e.$$.fragment)},l(n){f(t.$$.fragment,n),a=A(n),f(e.$$.fragment,n)},m(n,s){p(t,n,s),w(n,a,s),p(e,n,s),r=!0},p(n,[s]){const i={};s&1&&(i.title=`Schedule Edit | ${n[0].params.schedule}`),s&1&&(i.url=n[0].url.href),t.$set(i)},i(n){r||(l(t.$$.fragment,n),l(e.$$.fragment,n),r=!0)},o(n){u(t.$$.fragment,n),u(e.$$.fragment,n),r=!1},d(n){d(t,n),n&&S(a),d(e,n)}}}function re(o,t,a){let e;return y(o,E,r=>a(0,e=r)),[e]}class he extends g{constructor(t){super(),k(this,t,re,ne,b,{})}}export{he as default}; +import{S as g,b as k,a as b,ar as U,e as h,f as w,as as W,j as l,g as u,k as S,L as y,n as c,C as m,D as f,E as p,F as d,c as z,d as A}from"../chunks/index.d29c66be.js";import{p as E}from"../chunks/stores.8c019868.js";import{P as B}from"../chunks/page-title.ba38eecf.js";import{s as G}from"../chunks/schedules.e00ba3db.js";import{L as H}from"../chunks/loading.9b5a6a67.js";import{a as J}from"../chunks/schedule-frequency.b820a236.js";import{S as K}from"../chunks/schedule-form-view.f2d04ca3.js";import{k as V}from"../chunks/route-for.3e9c6ff4.js";function _(o){o[6]=o[7].schedule}function X(o){return{c,l:c,m:c,p:c,i:c,o:c,d:c}}function Y(o){_(o);let t,a;return t=new K({props:{onConfirm:o[1],schedule:o[6]}}),{c(){m(t.$$.fragment)},l(e){f(t.$$.fragment,e)},m(e,r){p(t,e,r),a=!0},p(e,r){_(e)},i(e){a||(l(t.$$.fragment,e),a=!0)},o(e){u(t.$$.fragment,e),a=!1},d(e){d(t,e)}}}function Z(o){let t,a;return t=new H({props:{title:"Loading Schedule..."}}),{c(){m(t.$$.fragment)},l(e){f(t.$$.fragment,e)},m(e,r){p(t,e,r),a=!0},p:c,i(e){a||(l(t.$$.fragment,e),a=!0)},o(e){u(t.$$.fragment,e),a=!1},d(e){d(t,e)}}}function x(o){let t,a,e={ctx:o,current:null,token:null,hasCatch:!1,pending:Z,then:Y,catch:X,value:7,blocks:[,,,]};return U(o[0],e),{c(){t=h(),e.block.c()},l(r){t=h(),e.block.l(r)},m(r,n){w(r,t,n),e.block.m(r,e.anchor=n),e.mount=()=>t.parentNode,e.anchor=t,a=!0},p(r,[n]){o=r,W(e,o,n)},i(r){a||(l(e.block),a=!0)},o(r){for(let n=0;n<3;n+=1){const s=e.blocks[n];u(s)}a=!1},d(r){r&&S(t),e.block.d(r),e.token=null,e=null}}}function ee(o,t,a){let e;y(o,E,$=>a(2,e=$));let r=e.params.namespace,n=e.params.schedule;const s={namespace:r,scheduleId:V(n)};return[J(s),($,v,C)=>{const{name:F,workflowType:I,workflowId:L,taskQueue:P,hour:O,minute:j,second:q,phase:D,cronString:M,daysOfWeek:N,daysOfMonth:Q,days:R,months:T}=v;G({action:{namespace:r,name:F,workflowType:I,workflowId:L,taskQueue:P},spec:{hour:O,minute:j,second:q,phase:D,cronString:M},presets:{preset:$,daysOfWeek:N,daysOfMonth:Q,months:T,days:R}},C,n)}]}class te extends g{constructor(t){super(),k(this,t,ee,x,b,{})}}function ne(o){let t,a,e,r;return t=new B({props:{title:`Schedule Edit | ${o[0].params.schedule}`,url:o[0].url.href}}),e=new te({}),{c(){m(t.$$.fragment),a=z(),m(e.$$.fragment)},l(n){f(t.$$.fragment,n),a=A(n),f(e.$$.fragment,n)},m(n,s){p(t,n,s),w(n,a,s),p(e,n,s),r=!0},p(n,[s]){const i={};s&1&&(i.title=`Schedule Edit | ${n[0].params.schedule}`),s&1&&(i.url=n[0].url.href),t.$set(i)},i(n){r||(l(t.$$.fragment,n),l(e.$$.fragment,n),r=!0)},o(n){u(t.$$.fragment,n),u(e.$$.fragment,n),r=!1},d(n){d(t,n),n&&S(a),d(e,n)}}}function re(o,t,a){let e;return y(o,E,r=>a(0,e=r)),[e]}class he extends g{constructor(t){super(),k(this,t,re,ne,b,{})}}export{he as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-_schedule_-edit-page.svelte.91631de2.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-_schedule_-edit-page.svelte.91631de2.js deleted file mode 100644 index ebe98710c4..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-_schedule_-edit-page.svelte.91631de2.js +++ /dev/null @@ -1 +0,0 @@ -import{S as g,b as k,a as b,ar as U,e as h,f as w,as as W,j as l,g as u,k as S,L as y,n as c,C as m,D as f,E as p,F as d,c as z,d as A}from"../chunks/index.d29c66be.js";import{p as E}from"../chunks/stores.b938c0e3.js";import{P as B}from"../chunks/page-title.ba38eecf.js";import{s as G}from"../chunks/schedules.7d01b1a1.js";import{L as H}from"../chunks/loading.9b5a6a67.js";import{a as J}from"../chunks/schedule-frequency.c1093480.js";import{S as K}from"../chunks/schedule-form-view.39a52816.js";import{k as V}from"../chunks/route-for.b4518ba8.js";function _(o){o[6]=o[7].schedule}function X(o){return{c,l:c,m:c,p:c,i:c,o:c,d:c}}function Y(o){_(o);let t,a;return t=new K({props:{onConfirm:o[1],schedule:o[6]}}),{c(){m(t.$$.fragment)},l(e){f(t.$$.fragment,e)},m(e,r){p(t,e,r),a=!0},p(e,r){_(e)},i(e){a||(l(t.$$.fragment,e),a=!0)},o(e){u(t.$$.fragment,e),a=!1},d(e){d(t,e)}}}function Z(o){let t,a;return t=new H({props:{title:"Loading Schedule..."}}),{c(){m(t.$$.fragment)},l(e){f(t.$$.fragment,e)},m(e,r){p(t,e,r),a=!0},p:c,i(e){a||(l(t.$$.fragment,e),a=!0)},o(e){u(t.$$.fragment,e),a=!1},d(e){d(t,e)}}}function x(o){let t,a,e={ctx:o,current:null,token:null,hasCatch:!1,pending:Z,then:Y,catch:X,value:7,blocks:[,,,]};return U(o[0],e),{c(){t=h(),e.block.c()},l(r){t=h(),e.block.l(r)},m(r,n){w(r,t,n),e.block.m(r,e.anchor=n),e.mount=()=>t.parentNode,e.anchor=t,a=!0},p(r,[n]){o=r,W(e,o,n)},i(r){a||(l(e.block),a=!0)},o(r){for(let n=0;n<3;n+=1){const s=e.blocks[n];u(s)}a=!1},d(r){r&&S(t),e.block.d(r),e.token=null,e=null}}}function ee(o,t,a){let e;y(o,E,$=>a(2,e=$));let r=e.params.namespace,n=e.params.schedule;const s={namespace:r,scheduleId:V(n)};return[J(s),($,v,C)=>{const{name:F,workflowType:I,workflowId:L,taskQueue:P,hour:O,minute:j,second:q,phase:D,cronString:M,daysOfWeek:N,daysOfMonth:Q,days:R,months:T}=v;G({action:{namespace:r,name:F,workflowType:I,workflowId:L,taskQueue:P},spec:{hour:O,minute:j,second:q,phase:D,cronString:M},presets:{preset:$,daysOfWeek:N,daysOfMonth:Q,months:T,days:R}},C,n)}]}class te extends g{constructor(t){super(),k(this,t,ee,x,b,{})}}function ne(o){let t,a,e,r;return t=new B({props:{title:`Schedule Edit | ${o[0].params.schedule}`,url:o[0].url.href}}),e=new te({}),{c(){m(t.$$.fragment),a=z(),m(e.$$.fragment)},l(n){f(t.$$.fragment,n),a=A(n),f(e.$$.fragment,n)},m(n,s){p(t,n,s),w(n,a,s),p(e,n,s),r=!0},p(n,[s]){const i={};s&1&&(i.title=`Schedule Edit | ${n[0].params.schedule}`),s&1&&(i.url=n[0].url.href),t.$set(i)},i(n){r||(l(t.$$.fragment,n),l(e.$$.fragment,n),r=!0)},o(n){u(t.$$.fragment,n),u(e.$$.fragment,n),r=!1},d(n){d(t,n),n&&S(a),d(e,n)}}}function re(o,t,a){let e;return y(o,E,r=>a(0,e=r)),[e]}class he extends g{constructor(t){super(),k(this,t,re,ne,b,{})}}export{he as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-_schedule_-page.svelte.467bd416.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-_schedule_-page.svelte.5636df7d.js similarity index 98% rename from ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-_schedule_-page.svelte.467bd416.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-_schedule_-page.svelte.5636df7d.js index 7e5fcc9fd9..edf2f4c941 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-_schedule_-page.svelte.467bd416.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-_schedule_-page.svelte.5636df7d.js @@ -1,3 +1,3 @@ -import{S as $e,b as ve,a as ge,m as _,w as k,c as R,p as $,q as v,x as b,k as f,d as D,u as S,f as w,M as c,y as J,n as L,G as Nl,T as dl,H as Hl,I as jl,J as Ll,j as P,g as W,O as ml,P as pl,C as U,D as C,E as M,F,L as Te,e as ee,z as ze,a1 as Ol,a2 as Bl,h as Qe,ar as Ke,as as Vl,a7 as Gl,U as xe,_ as Ze,Q as Jl,A as hl,v as zl,a8 as _l,W as Ql,r as Kl}from"../chunks/index.d29c66be.js";import{p as Wl}from"../chunks/stores.b938c0e3.js";import{P as Xl}from"../chunks/page-title.ba38eecf.js";import{I as yl}from"../chunks/icon.5aa23970.js";import{k as et,f as $l,c as Al,q as Yl}from"../chunks/route-for.b4518ba8.js";import{g as Zl}from"../chunks/navigation.9ceca11e.js";import{S as xl,a as vl,d as es,u as ts,p as ls}from"../chunks/schedule-frequency.c1093480.js";import{f as pe}from"../chunks/format-date.100c5f23.js";import{t as tt}from"../chunks/time-format.6ef667eb.js";import{l as Je}from"../chunks/schedules.7d01b1a1.js";import{W as ql}from"../chunks/workflow-status.ddd088c4.js";import{g as gl}from"../chunks/workflow-service.43d562ed.js";import{E as ss}from"../chunks/empty-state.bf113865.js";import{L as rs}from"../chunks/link.d5f6f19e.js";import{M as wl}from"../chunks/modal.765fc6dd.js";import{S as ns}from"../chunks/split-button.efadbe62.js";import{L as Ul}from"../chunks/loading.9b5a6a67.js";import{c as as}from"../chunks/core-user.faf7a38e.js";import{c as kl}from"../chunks/menu-item.be414f05.js";function os(r){let e,l,t,n,a;return{c(){e=_("h2"),l=k("Memo"),t=R(),n=_("p"),a=k(r[0]),this.h()},l(s){e=$(s,"H2",{class:!0});var o=v(e);l=b(o,"Memo"),o.forEach(f),t=D(s),n=$(s,"P",{});var u=v(n);a=b(u,r[0]),u.forEach(f),this.h()},h(){S(e,"class","mb-4 text-2xl")},m(s,o){w(s,e,o),c(e,l),w(s,t,o),w(s,n,o),c(n,a)},p(s,[o]){o&1&&J(a,s[0])},i:L,o:L,d(s){s&&f(e),s&&f(t),s&&f(n)}}}function us(r,e,l){let{notes:t=""}=e;return r.$$set=n=>{"notes"in n&&l(0,t=n.notes)},[t]}class fs extends $e{constructor(e){super(),ve(this,e,us,os,ge,{notes:0})}}function is(r){let e,l,t;const n=r[3].default,a=Nl(n,r,r[2],null);return{c(){e=_("div"),a&&a.c(),this.h()},l(s){e=$(s,"DIV",{class:!0});var o=v(e);a&&a.l(o),o.forEach(f),this.h()},h(){S(e,"class",l="panel bg-white "+r[1].class+" svelte-11fqqfg"),dl(e,"error",r[0])},m(s,o){w(s,e,o),a&&a.m(e,null),t=!0},p(s,[o]){a&&a.p&&(!t||o&4)&&Hl(a,n,s,s[2],t?Ll(n,s[2],o,null):jl(s[2]),null),(!t||o&2&&l!==(l="panel bg-white "+s[1].class+" svelte-11fqqfg"))&&S(e,"class",l),(!t||o&3)&&dl(e,"error",s[0])},i(s){t||(P(a,s),t=!0)},o(s){W(a,s),t=!1},d(s){s&&f(e),a&&a.d(s)}}}function cs(r,e,l){let{$$slots:t={},$$scope:n}=e,{error:a=!1}=e;return r.$$set=s=>{l(1,e=ml(ml({},e),pl(s))),"error"in s&&l(0,a=s.error),"$$scope"in s&&l(2,n=s.$$scope)},e=pl(e),[a,e,n,t]}class Xe extends $e{constructor(e){super(),ve(this,e,cs,is,ge,{error:0})}}function bl(r,e,l){const t=r.slice();return t[4]=e[l],t}function ds(r){let e,l,t,n,a=r[4].startWorkflowResult.workflowId+"",s,o,u,i,h=pe(r[4].actualTime,r[2])+"",p;return{c(){e=_("div"),l=_("div"),t=R(),n=_("div"),s=k(a),o=R(),u=_("div"),i=_("p"),p=k(h),this.h()},l(m){e=$(m,"DIV",{class:!0});var d=v(e);l=$(d,"DIV",{class:!0}),v(l).forEach(f),t=D(d),n=$(d,"DIV",{class:!0});var g=v(n);s=b(g,a),g.forEach(f),o=D(d),u=$(d,"DIV",{class:!0});var N=v(u);i=$(N,"P",{});var q=v(i);p=b(q,h),q.forEach(f),N.forEach(f),d.forEach(f),this.h()},h(){S(l,"class","w-28"),S(n,"class","w-96"),S(u,"class","ml-auto"),S(e,"class","row svelte-lqpjgu")},m(m,d){w(m,e,d),c(e,l),c(e,t),c(e,n),c(n,s),c(e,o),c(e,u),c(u,i),c(i,p)},p(m,d){d&1&&a!==(a=m[4].startWorkflowResult.workflowId+"")&&J(s,a),d&5&&h!==(h=pe(m[4].actualTime,m[2])+"")&&J(p,h)},i:L,o:L,d(m){m&&f(e)}}}function ms(r){let e,l,t,n,a,s,o,u,i,h=pe(r[4].actualTime,r[2])+"",p,m;return t=new ql({props:{status:r[7].status}}),s=new rs({props:{href:$l({workflow:r[4].startWorkflowResult.workflowId,run:r[4].startWorkflowResult.runId,namespace:r[1]}),$$slots:{default:[ps]},$$scope:{ctx:r}}}),{c(){e=_("div"),l=_("div"),U(t.$$.fragment),n=R(),a=_("div"),U(s.$$.fragment),o=R(),u=_("div"),i=_("p"),p=k(h),this.h()},l(d){e=$(d,"DIV",{class:!0});var g=v(e);l=$(g,"DIV",{class:!0});var N=v(l);C(t.$$.fragment,N),N.forEach(f),n=D(g),a=$(g,"DIV",{class:!0});var q=v(a);C(s.$$.fragment,q),q.forEach(f),o=D(g),u=$(g,"DIV",{class:!0});var H=v(u);i=$(H,"P",{});var O=v(i);p=b(O,h),O.forEach(f),H.forEach(f),g.forEach(f),this.h()},h(){S(l,"class","w-28"),S(a,"class","w-auto break-words mx-2"),S(u,"class","ml-auto"),S(e,"class","row svelte-lqpjgu")},m(d,g){w(d,e,g),c(e,l),M(t,l,null),c(e,n),c(e,a),M(s,a,null),c(e,o),c(e,u),c(u,i),c(i,p),m=!0},p(d,g){const N={};g&3&&(N.status=d[7].status),t.$set(N);const q={};g&3&&(q.href=$l({workflow:d[4].startWorkflowResult.workflowId,run:d[4].startWorkflowResult.runId,namespace:d[1]})),g&257&&(q.$$scope={dirty:g,ctx:d}),s.$set(q),(!m||g&5)&&h!==(h=pe(d[4].actualTime,d[2])+"")&&J(p,h)},i(d){m||(P(t.$$.fragment,d),P(s.$$.fragment,d),m=!0)},o(d){W(t.$$.fragment,d),W(s.$$.fragment,d),m=!1},d(d){d&&f(e),F(t),F(s)}}}function ps(r){let e=r[4].startWorkflowResult.workflowId+"",l;return{c(){l=k(e)},l(t){l=b(t,e)},m(t,n){w(t,l,n)},p(t,n){n&1&&e!==(e=t[4].startWorkflowResult.workflowId+"")&&J(l,e)},d(t){t&&f(l)}}}function hs(r){return{c:L,l:L,m:L,p:L,i:L,o:L,d:L}}function El(r,e){let l,t,n,a,s={ctx:e,current:null,token:null,hasCatch:!0,pending:hs,then:ms,catch:ds,value:7,blocks:[,,,]};return Ke(n=gl({namespace:e[1],workflowId:et(e[4].startWorkflowResult.workflowId),runId:e[4].startWorkflowResult.runId},fetch),s),{key:r,first:null,c(){l=ee(),t=ee(),s.block.c(),this.h()},l(o){l=ee(),t=ee(),s.block.l(o),this.h()},h(){this.first=l},m(o,u){w(o,l,u),w(o,t,u),s.block.m(o,s.anchor=u),s.mount=()=>t.parentNode,s.anchor=t,a=!0},p(o,u){e=o,s.ctx=e,u&3&&n!==(n=gl({namespace:e[1],workflowId:et(e[4].startWorkflowResult.workflowId),runId:e[4].startWorkflowResult.runId},fetch))&&Ke(n,s)||Vl(s,e,u)},i(o){a||(P(s.block),a=!0)},o(o){for(let u=0;u<3;u+=1){const i=s.blocks[u];W(i)}a=!1},d(o){o&&f(l),o&&f(t),s.block.d(o),s.token=null,s=null}}}function Il(r){let e,l;return e=new ss({props:{title:"No Recent Runs"}}),{c(){U(e.$$.fragment)},l(t){C(e.$$.fragment,t)},m(t,n){M(e,t,n),l=!0},i(t){l||(P(e.$$.fragment,t),l=!0)},o(t){W(e.$$.fragment,t),l=!1},d(t){F(e,t)}}}function _s(r){let e,l,t,n=[],a=new Map,s,o,u,i=r[3](r[0]);const h=m=>{var d,g;return(g=(d=m[4])==null?void 0:d.startWorkflowResult)==null?void 0:g.workflowId};for(let m=0;m{p=null}),Qe()):p?d&1&&P(p,1):(p=Il(),p.c(),P(p,1),p.m(o.parentNode,o))},i(m){if(!u){for(let d=0;dl(2,t=o));let{recentRuns:n=[]}=e,{namespace:a}=e;const s=o=>{var u,i;return(i=(u=o==null?void 0:o.sort((h,p)=>new Date(p.actualTime).getTime()-new Date(h.actualTime).getTime()))===null||u===void 0?void 0:u.slice(0,5))!==null&&i!==void 0?i:[]};return r.$$set=o=>{"recentRuns"in o&&l(0,n=o.recentRuns),"namespace"in o&&l(1,a=o.namespace)},[n,a,t,s]}class gs extends $e{constructor(e){super(),ve(this,e,vs,$s,ge,{recentRuns:0,namespace:1})}}function Sl(r,e,l){const t=r.slice();return t[2]=e[l],t}function Rl(r){let e,l,t=pe(r[2],r[1],"from now")+"",n,a;return{c(){e=_("div"),l=_("p"),n=k(t),a=R(),this.h()},l(s){e=$(s,"DIV",{class:!0});var o=v(e);l=$(o,"P",{});var u=v(l);n=b(u,t),u.forEach(f),a=D(o),o.forEach(f),this.h()},h(){S(e,"class","row svelte-kbuuws")},m(s,o){w(s,e,o),c(e,l),c(l,n),c(e,a)},p(s,o){o&3&&t!==(t=pe(s[2],s[1],"from now")+"")&&J(n,t)},d(s){s&&f(e)}}}function ws(r){let e,l,t,n,a=r[0].slice(0,5),s=[];for(let o=0;ol(1,t=a));let{futureRuns:n=[]}=e;return r.$$set=a=>{"futureRuns"in a&&l(0,n=a.futureRuns)},[n,t]}class Es extends $e{constructor(e){super(),ve(this,e,bs,ks,ge,{futureRuns:0})}}function Dl(r){var Ve,oe,Ee,G,Ie,he,ue;let e,l,t=(((Ve=r[0])==null?void 0:Ve.startTime)??"")+"",n,a,s,o,u=(((oe=r[0])==null?void 0:oe.endTime)??"")+"",i,h,p,m,d=(((Ee=r[0])==null?void 0:Ee.jitter)??"")+"",g,N,q,H,O=(((Ie=(G=r[0])==null?void 0:G.excludeCalendar)==null?void 0:Ie[0])??"")+"",te,j,A,Q,x=(((he=r[1])==null?void 0:he.remainingActions)??"")+"",z,T,X,le,ie=(((ue=r[2])==null?void 0:ue.overlapPolicy)??"")+"",we;return{c(){e=_("p"),l=k("Schedule Start Time: "),n=k(t),a=R(),s=_("p"),o=k("Schedule End Time: "),i=k(u),h=R(),p=_("p"),m=k("Jitter: "),g=k(d),N=R(),q=_("p"),H=k("Exclusion Calendar: "),te=k(O),j=R(),A=_("p"),Q=k("Remaining Actions: "),z=k(x),T=R(),X=_("p"),le=k("Overlap Policy: "),we=k(ie)},l(I){e=$(I,"P",{});var y=v(e);l=b(y,"Schedule Start Time: "),n=b(y,t),y.forEach(f),a=D(I),s=$(I,"P",{});var se=v(s);o=b(se,"Schedule End Time: "),i=b(se,u),se.forEach(f),h=D(I),p=$(I,"P",{});var Y=v(p);m=b(Y,"Jitter: "),g=b(Y,d),Y.forEach(f),N=D(I),q=$(I,"P",{});var ce=v(q);H=b(ce,"Exclusion Calendar: "),te=b(ce,O),ce.forEach(f),j=D(I),A=$(I,"P",{});var re=v(A);Q=b(re,"Remaining Actions: "),z=b(re,x),re.forEach(f),T=D(I),X=$(I,"P",{});var Z=v(X);le=b(Z,"Overlap Policy: "),we=b(Z,ie),Z.forEach(f)},m(I,y){w(I,e,y),c(e,l),c(e,n),w(I,a,y),w(I,s,y),c(s,o),c(s,i),w(I,h,y),w(I,p,y),c(p,m),c(p,g),w(I,N,y),w(I,q,y),c(q,H),c(q,te),w(I,j,y),w(I,A,y),c(A,Q),c(A,z),w(I,T,y),w(I,X,y),c(X,le),c(X,we)},p(I,y){var se,Y,ce,re,Z,We,_e;y&1&&t!==(t=(((se=I[0])==null?void 0:se.startTime)??"")+"")&&J(n,t),y&1&&u!==(u=(((Y=I[0])==null?void 0:Y.endTime)??"")+"")&&J(i,u),y&1&&d!==(d=(((ce=I[0])==null?void 0:ce.jitter)??"")+"")&&J(g,d),y&1&&O!==(O=(((Z=(re=I[0])==null?void 0:re.excludeCalendar)==null?void 0:Z[0])??"")+"")&&J(te,O),y&2&&x!==(x=(((We=I[1])==null?void 0:We.remainingActions)??"")+"")&&J(z,x),y&4&&ie!==(ie=(((_e=I[2])==null?void 0:_e.overlapPolicy)??"")+"")&&J(we,ie)},d(I){I&&f(e),I&&f(a),I&&f(s),I&&f(h),I&&f(p),I&&f(N),I&&f(q),I&&f(j),I&&f(A),I&&f(T),I&&f(X)}}}function Is(r){let e,l,t,n,a,s,o,u;t=new yl({props:{class:"inline",name:r[3]?"chevron-up":"chevron-down"}});let i=r[3]&&Dl(r);return{c(){e=_("button"),l=k("Advanced Settings "),U(t.$$.fragment),n=R(),i&&i.c(),a=ee(),this.h()},l(h){e=$(h,"BUTTON",{class:!0});var p=v(e);l=b(p,"Advanced Settings "),C(t.$$.fragment,p),p.forEach(f),n=D(h),i&&i.l(h),a=ee(),this.h()},h(){S(e,"class","settings svelte-5rdr1k")},m(h,p){w(h,e,p),c(e,l),M(t,e,null),w(h,n,p),i&&i.m(h,p),w(h,a,p),s=!0,o||(u=xe(e,"click",r[4]),o=!0)},p(h,[p]){const m={};p&8&&(m.name=h[3]?"chevron-up":"chevron-down"),t.$set(m),h[3]?i?i.p(h,p):(i=Dl(h),i.c(),i.m(a.parentNode,a)):i&&(i.d(1),i=null)},i(h){s||(P(t.$$.fragment,h),s=!0)},o(h){W(t.$$.fragment,h),s=!1},d(h){h&&f(e),F(t),h&&f(n),i&&i.d(h),h&&f(a),o=!1,u()}}}function Ss(r,e,l){let{spec:t}=e,{state:n}=e,{policies:a}=e,s=!1;const o=()=>l(3,s=!s);return r.$$set=u=>{"spec"in u&&l(0,t=u.spec),"state"in u&&l(1,n=u.state),"policies"in u&&l(2,a=u.policies)},[t,n,a,s,o]}class Rs extends $e{constructor(e){super(),ve(this,e,Ss,Is,ge,{spec:0,state:1,policies:2})}}function Ds(r){let e,l,t,n,a;return{c(){e=_("p"),l=k("Error Message"),t=R(),n=_("p"),a=k(r[0]),this.h()},l(s){e=$(s,"P",{class:!0});var o=v(e);l=b(o,"Error Message"),o.forEach(f),t=D(s),n=$(s,"P",{class:!0});var u=v(n);a=b(u,r[0]),u.forEach(f),this.h()},h(){S(e,"class","error-text svelte-1lke5yx"),S(n,"class","error-text svelte-1lke5yx")},m(s,o){w(s,e,o),c(e,l),w(s,t,o),w(s,n,o),c(n,a)},p(s,o){o&1&&J(a,s[0])},d(s){s&&f(e),s&&f(t),s&&f(n)}}}function Ps(r){let e,l;return e=new Xe({props:{error:!0,$$slots:{default:[Ds]},$$scope:{ctx:r}}}),{c(){U(e.$$.fragment)},l(t){C(e.$$.fragment,t)},m(t,n){M(e,t,n),l=!0},p(t,[n]){const a={};n&3&&(a.$$scope={dirty:n,ctx:t}),e.$set(a)},i(t){l||(P(e.$$.fragment,t),l=!0)},o(t){W(e.$$.fragment,t),l=!1},d(t){F(e,t)}}}function Ts(r,e,l){let{error:t=""}=e;return r.$$set=n=>{"error"in n&&l(0,t=n.error)},[t]}class Vs extends $e{constructor(e){super(),ve(this,e,Ts,Ps,ge,{error:0})}}function Ws(r){let e,l,t,n,a,s;return a=new xl({props:{calendar:r[0],interval:r[1],class:"text-base"}}),{c(){e=_("h2"),l=k("Frequency"),t=R(),n=_("div"),U(a.$$.fragment),this.h()},l(o){e=$(o,"H2",{class:!0});var u=v(e);l=b(u,"Frequency"),u.forEach(f),t=D(o),n=$(o,"DIV",{class:!0});var i=v(n);C(a.$$.fragment,i),i.forEach(f),this.h()},h(){S(e,"class","mb-4 text-2xl"),S(n,"class","pr-2")},m(o,u){w(o,e,u),c(e,l),w(o,t,u),w(o,n,u),M(a,n,null),s=!0},p(o,u){const i={};u&1&&(i.calendar=o[0]),u&2&&(i.interval=o[1]),a.$set(i)},i(o){s||(P(a.$$.fragment,o),s=!0)},o(o){W(a.$$.fragment,o),s=!1},d(o){o&&f(e),o&&f(t),o&&f(n),F(a)}}}function ys(r){let e,l;return e=new Xe({props:{$$slots:{default:[Ws]},$$scope:{ctx:r}}}),{c(){U(e.$$.fragment)},l(t){C(e.$$.fragment,t)},m(t,n){M(e,t,n),l=!0},p(t,[n]){const a={};n&7&&(a.$$scope={dirty:n,ctx:t}),e.$set(a)},i(t){l||(P(e.$$.fragment,t),l=!0)},o(t){W(e.$$.fragment,t),l=!1},d(t){F(e,t)}}}function As(r,e,l){let{calendar:t=void 0}=e,{interval:n=void 0}=e;return r.$$set=a=>{"calendar"in a&&l(0,t=a.calendar),"interval"in a&&l(1,n=a.interval)},[t,n]}class qs extends $e{constructor(e){super(),ve(this,e,As,ys,ge,{calendar:0,interval:1})}}function Us(r){return{c:L,l:L,m:L,p:L,i:L,o:L,d:L}}function Cs(r){let e,l,t,n;const a=[Fs,Ms],s=[];function o(u,i){return u[4]?0:1}return e=o(r),l=s[e]=a[e](r),{c(){l.c(),t=ee()},l(u){l.l(u),t=ee()},m(u,i){s[e].m(u,i),w(u,t,i),n=!0},p(u,i){let h=e;e=o(u),e===h?s[e].p(u,i):(ze(),W(s[h],1,1,()=>{s[h]=null}),Qe(),l=s[e],l?l.p(u,i):(l=s[e]=a[e](u),l.c()),P(l,1),l.m(t.parentNode,t))},i(u){n||(P(l),n=!0)},o(u){W(l),n=!1},d(u){s[e].d(u),u&&f(t)}}}function Ms(r){var lt,st,rt,nt,at,ot,ut,ft,it,ct,dt,mt,pt,ht,_t,$t,vt,gt,wt,kt,bt,Et,It,St,Rt,Dt,Pt,Tt,Vt,Wt,yt,At,qt,Ut,Ct,Mt;let e,l,t,n,a,s,o,u,i,h,p,m,d,g,N,q,H,O,te,j,A=((at=(nt=(rt=(st=(lt=r[22])==null?void 0:lt.schedule)==null?void 0:st.action)==null?void 0:rt.startWorkflow)==null?void 0:nt.workflowType)==null?void 0:at.name)+"",Q,x,z,T,X,le=pe((ut=(ot=r[22])==null?void 0:ot.info)==null?void 0:ut.createTime,r[5])+"",ie,we,Ve,oe,Ee,G,Ie,he,ue,I,y,se,Y,ce,re,Z,We,_e,ke,Ye,ye,be,Be,de,Ge,me,Ae;n=new yl({props:{name:"chevron-left",class:"inline"}}),i=new ql({props:{status:(ft=r[22])!=null&&ft.schedule.state.paused?"Paused":"Running"}});let K=((ct=(it=r[22])==null?void 0:it.info)==null?void 0:ct.updateTime)&&Pl(r);oe=new ns({props:{position:"right",label:(pt=(mt=(dt=r[22])==null?void 0:dt.schedule)==null?void 0:mt.state)!=null&&pt.paused?"Unpause":"Pause",id:"schedule-actions",disabled:r[9],$$slots:{default:[js]},$$scope:{ctx:r}}}),oe.$on("click",r[14]);let B=((_t=(ht=r[22])==null?void 0:ht.info)==null?void 0:_t.invalidScheduleError)&&Tl(r);ue=new qs({props:{calendar:(wt=(gt=(vt=($t=r[22])==null?void 0:$t.schedule)==null?void 0:vt.spec)==null?void 0:gt.structuredCalendar)==null?void 0:wt[0],interval:(It=(Et=(bt=(kt=r[22])==null?void 0:kt.schedule)==null?void 0:bt.spec)==null?void 0:Et.interval)==null?void 0:It[0]}}),Y=new gs({props:{namespace:r[6],recentRuns:(Rt=(St=r[22])==null?void 0:St.info)==null?void 0:Rt.recentActions}}),Z=new Es({props:{futureRuns:(Pt=(Dt=r[22])==null?void 0:Dt.info)==null?void 0:Pt.futureActionTimes}}),ke=new Rs({props:{spec:(Vt=(Tt=r[22])==null?void 0:Tt.schedule)==null?void 0:Vt.spec,state:(yt=(Wt=r[22])==null?void 0:Wt.schedule)==null?void 0:yt.state,policies:(qt=(At=r[22])==null?void 0:At.schedule)==null?void 0:qt.policies}}),be=new fs({props:{notes:(Mt=(Ct=(Ut=r[22])==null?void 0:Ut.schedule)==null?void 0:Ct.state)==null?void 0:Mt.notes}});function Cl(){return r[17](r[22])}let Ml={id:"pause-schedule-modal",confirmType:"primary",confirmText:r[22].schedule.state.paused?"Unpause":"Pause",confirmDisabled:!r[3],$$slots:{content:[Os],title:[Ls]},$$scope:{ctx:r}};de=new wl({props:Ml}),r[16](de),de.$on("confirmModal",Cl);let Fl={id:"delete-schedule-modal",confirmType:"destructive",confirmText:"Delete",$$slots:{content:[Gs],title:[Bs]},$$scope:{ctx:r}};return me=new wl({props:Fl}),r[18](me),me.$on("confirmModal",r[10]),{c(){e=_("header"),l=_("div"),t=_("a"),U(n.$$.fragment),a=k("Back to Schedules"),s=R(),o=_("div"),u=_("h1"),U(i.$$.fragment),h=R(),p=_("p"),m=k(r[7]),d=R(),g=_("div"),N=_("p"),q=k(r[6]),H=R(),O=_("div"),te=R(),j=_("p"),Q=k(A),x=R(),z=_("div"),T=_("p"),X=k("Created: "),ie=k(le),we=R(),K&&K.c(),Ve=R(),U(oe.$$.fragment),Ee=R(),G=_("div"),B&&B.c(),Ie=R(),he=_("div"),U(ue.$$.fragment),I=R(),y=_("div"),se=_("div"),U(Y.$$.fragment),ce=R(),re=_("div"),U(Z.$$.fragment),We=R(),_e=_("div"),U(ke.$$.fragment),Ye=R(),ye=_("div"),U(be.$$.fragment),Be=R(),U(de.$$.fragment),Ge=R(),U(me.$$.fragment),this.h()},l(E){e=$(E,"HEADER",{class:!0});var V=v(e);l=$(V,"DIV",{class:!0});var ne=v(l);t=$(ne,"A",{href:!0,class:!0,style:!0});var Se=v(t);C(n.$$.fragment,Se),a=b(Se,"Back to Schedules"),Se.forEach(f),s=D(ne),o=$(ne,"DIV",{class:!0});var qe=v(o);u=$(qe,"H1",{class:!0});var Re=v(u);C(i.$$.fragment,Re),h=D(Re),p=$(Re,"P",{class:!0,"data-testid":!0});var Ce=v(p);m=b(Ce,r[7]),Ce.forEach(f),Re.forEach(f),qe.forEach(f),d=D(ne),g=$(ne,"DIV",{class:!0});var fe=v(g);N=$(fe,"P",{});var Me=v(N);q=b(Me,r[6]),Me.forEach(f),H=D(fe),O=$(fe,"DIV",{class:!0}),v(O).forEach(f),te=D(fe),j=$(fe,"P",{});var De=v(j);Q=b(De,A),De.forEach(f),fe.forEach(f),x=D(ne),z=$(ne,"DIV",{class:!0});var Fe=v(z);T=$(Fe,"P",{});var Ue=v(T);X=b(Ue,"Created: "),ie=b(Ue,le),Ue.forEach(f),Fe.forEach(f),we=D(ne),K&&K.l(ne),ne.forEach(f),Ve=D(V),C(oe.$$.fragment,V),V.forEach(f),Ee=D(E),G=$(E,"DIV",{class:!0});var ae=v(G);B&&B.l(ae),Ie=D(ae),he=$(ae,"DIV",{class:!0});var Ne=v(he);C(ue.$$.fragment,Ne),Ne.forEach(f),I=D(ae),y=$(ae,"DIV",{class:!0});var Pe=v(y);se=$(Pe,"DIV",{class:!0});var He=v(se);C(Y.$$.fragment,He),He.forEach(f),ce=D(Pe),re=$(Pe,"DIV",{class:!0});var je=v(re);C(Z.$$.fragment,je),je.forEach(f),Pe.forEach(f),We=D(ae),_e=$(ae,"DIV",{class:!0});var Le=v(_e);C(ke.$$.fragment,Le),Le.forEach(f),Ye=D(ae),ye=$(ae,"DIV",{class:!0});var Oe=v(ye);C(be.$$.fragment,Oe),Oe.forEach(f),ae.forEach(f),Be=D(E),C(de.$$.fragment,E),Ge=D(E),C(me.$$.fragment,E),this.h()},h(){S(t,"href",Al({namespace:r[6]})),S(t,"class","absolute top-0 back-to-schedules svelte-1pb4ys0"),zl(t,"left","-0.5rem"),S(p,"class","font-medium select-all"),S(p,"data-testid","schedule-name"),S(u,"class","text-2xl flex relative items-center gap-4"),S(o,"class","flex justify-between items-center mt-8"),S(O,"class","w-1 h-1 rounded-full bg-gray-900"),S(g,"class","flex items-center gap-2 text-sm"),S(z,"class","flex items-center gap-2 text-sm"),S(l,"class","flex flex-col gap-1 relative"),S(e,"class","flex flex-row justify-between gap-4 mb-8"),S(he,"class","w-full xl:w-1/2"),S(se,"class","w-full xl:w-3/4"),S(re,"class","w-full xl:w-1/4"),S(y,"class","flex flex-col xl:flex-row gap-4"),S(_e,"class","w-full xl:w-1/2"),S(ye,"class","w-full xl:w-1/2"),S(G,"class","flex flex-col gap-4 pb-24")},m(E,V){w(E,e,V),c(e,l),c(l,t),M(n,t,null),c(t,a),c(l,s),c(l,o),c(o,u),M(i,u,null),c(u,h),c(u,p),c(p,m),c(l,d),c(l,g),c(g,N),c(N,q),c(g,H),c(g,O),c(g,te),c(g,j),c(j,Q),c(l,x),c(l,z),c(z,T),c(T,X),c(T,ie),c(l,we),K&&K.m(l,null),c(e,Ve),M(oe,e,null),w(E,Ee,V),w(E,G,V),B&&B.m(G,null),c(G,Ie),c(G,he),M(ue,he,null),c(G,I),c(G,y),c(y,se),M(Y,se,null),c(y,ce),c(y,re),M(Z,re,null),c(G,We),c(G,_e),M(ke,_e,null),c(G,Ye),c(G,ye),M(be,ye,null),w(E,Be,V),M(de,E,V),w(E,Ge,V),M(me,E,V),Ae=!0},p(E,V){var Ue,ae,Ne,Pe,He,je,Le,Oe,Ft,Nt,Ht,jt,Lt,Ot,Bt,Gt,Jt,zt,Qt,Kt,Xt,Yt,Zt,xt,el,tl,ll,sl,rl,nl,al,ol,ul,fl,il,cl;r=E;const ne={};V&1&&(ne.status=(Ue=r[22])!=null&&Ue.schedule.state.paused?"Paused":"Running"),i.$set(ne),(!Ae||V&1)&&A!==(A=((je=(He=(Pe=(Ne=(ae=r[22])==null?void 0:ae.schedule)==null?void 0:Ne.action)==null?void 0:Pe.startWorkflow)==null?void 0:He.workflowType)==null?void 0:je.name)+"")&&J(Q,A),(!Ae||V&33)&&le!==(le=pe((Oe=(Le=r[22])==null?void 0:Le.info)==null?void 0:Oe.createTime,r[5])+"")&&J(ie,le),(Nt=(Ft=r[22])==null?void 0:Ft.info)!=null&&Nt.updateTime?K?K.p(r,V):(K=Pl(r),K.c(),K.m(l,null)):K&&(K.d(1),K=null);const Se={};V&1&&(Se.label=(Lt=(jt=(Ht=r[22])==null?void 0:Ht.schedule)==null?void 0:jt.state)!=null&&Lt.paused?"Unpause":"Pause"),V&8388612&&(Se.$$scope={dirty:V,ctx:r}),oe.$set(Se),(Bt=(Ot=r[22])==null?void 0:Ot.info)!=null&&Bt.invalidScheduleError?B?(B.p(r,V),V&1&&P(B,1)):(B=Tl(r),B.c(),P(B,1),B.m(G,Ie)):B&&(ze(),W(B,1,1,()=>{B=null}),Qe());const qe={};V&1&&(qe.calendar=(Qt=(zt=(Jt=(Gt=r[22])==null?void 0:Gt.schedule)==null?void 0:Jt.spec)==null?void 0:zt.structuredCalendar)==null?void 0:Qt[0]),V&1&&(qe.interval=(Zt=(Yt=(Xt=(Kt=r[22])==null?void 0:Kt.schedule)==null?void 0:Xt.spec)==null?void 0:Yt.interval)==null?void 0:Zt[0]),ue.$set(qe);const Re={};V&1&&(Re.recentRuns=(el=(xt=r[22])==null?void 0:xt.info)==null?void 0:el.recentActions),Y.$set(Re);const Ce={};V&1&&(Ce.futureRuns=(ll=(tl=r[22])==null?void 0:tl.info)==null?void 0:ll.futureActionTimes),Z.$set(Ce);const fe={};V&1&&(fe.spec=(rl=(sl=r[22])==null?void 0:sl.schedule)==null?void 0:rl.spec),V&1&&(fe.state=(al=(nl=r[22])==null?void 0:nl.schedule)==null?void 0:al.state),V&1&&(fe.policies=(ul=(ol=r[22])==null?void 0:ol.schedule)==null?void 0:ul.policies),ke.$set(fe);const Me={};V&1&&(Me.notes=(cl=(il=(fl=r[22])==null?void 0:fl.schedule)==null?void 0:il.state)==null?void 0:cl.notes),be.$set(Me);const De={};V&1&&(De.confirmText=r[22].schedule.state.paused?"Unpause":"Pause"),V&8&&(De.confirmDisabled=!r[3]),V&8388617&&(De.$$scope={dirty:V,ctx:r}),de.$set(De);const Fe={};V&8388608&&(Fe.$$scope={dirty:V,ctx:r}),me.$set(Fe)},i(E){Ae||(P(n.$$.fragment,E),P(i.$$.fragment,E),P(oe.$$.fragment,E),P(B),P(ue.$$.fragment,E),P(Y.$$.fragment,E),P(Z.$$.fragment,E),P(ke.$$.fragment,E),P(be.$$.fragment,E),P(de.$$.fragment,E),P(me.$$.fragment,E),Ae=!0)},o(E){W(n.$$.fragment,E),W(i.$$.fragment,E),W(oe.$$.fragment,E),W(B),W(ue.$$.fragment,E),W(Y.$$.fragment,E),W(Z.$$.fragment,E),W(ke.$$.fragment,E),W(be.$$.fragment,E),W(de.$$.fragment,E),W(me.$$.fragment,E),Ae=!1},d(E){E&&f(e),F(n),F(i),K&&K.d(),F(oe),E&&f(Ee),E&&f(G),B&&B.d(),F(ue),F(Y),F(Z),F(ke),F(be),E&&f(Be),r[16](null),F(de,E),E&&f(Ge),r[18](null),F(me,E)}}}function Fs(r){let e,l;return e=new Ul({props:{title:"Deleting Schedule...",class:"my-2"}}),{c(){U(e.$$.fragment)},l(t){C(e.$$.fragment,t)},m(t,n){M(e,t,n),l=!0},p:L,i(t){l||(P(e.$$.fragment,t),l=!0)},o(t){W(e.$$.fragment,t),l=!1},d(t){F(e,t)}}}function Pl(r){var s,o;let e,l,t,n=pe((o=(s=r[22])==null?void 0:s.info)==null?void 0:o.updateTime,r[5])+"",a;return{c(){e=_("div"),l=_("p"),t=k("Last updated: "),a=k(n),this.h()},l(u){e=$(u,"DIV",{class:!0});var i=v(e);l=$(i,"P",{});var h=v(l);t=b(h,"Last updated: "),a=b(h,n),h.forEach(f),i.forEach(f),this.h()},h(){S(e,"class","flex items-center gap-2 text-sm")},m(u,i){w(u,e,i),c(e,l),c(l,t),c(l,a)},p(u,i){var h,p;i&33&&n!==(n=pe((p=(h=u[22])==null?void 0:h.info)==null?void 0:p.updateTime,u[5])+"")&&J(a,n)},d(u){u&&f(e)}}}function Ns(r){let e;return{c(){e=k("Edit")},l(l){e=b(l,"Edit")},m(l,t){w(l,e,t)},d(l){l&&f(e)}}}function Hs(r){let e;return{c(){e=k("Delete Schedule")},l(l){e=b(l,"Delete Schedule")},m(l,t){w(l,e,t)},d(l){l&&f(e)}}}function js(r){let e,l,t,n;return e=new kl({props:{testId:"edit-schedule",href:Yl({namespace:r[6],scheduleId:r[7]}),$$slots:{default:[Ns]},$$scope:{ctx:r}}}),t=new kl({props:{testId:"delete-schedule",destructive:!0,$$slots:{default:[Hs]},$$scope:{ctx:r}}}),t.$on("click",r[13]),{c(){U(e.$$.fragment),l=R(),U(t.$$.fragment)},l(a){C(e.$$.fragment,a),l=D(a),C(t.$$.fragment,a)},m(a,s){M(e,a,s),w(a,l,s),M(t,a,s),n=!0},p(a,s){const o={};s&8388608&&(o.$$scope={dirty:s,ctx:a}),e.$set(o);const u={};s&8388608&&(u.$$scope={dirty:s,ctx:a}),t.$set(u)},i(a){n||(P(e.$$.fragment,a),P(t.$$.fragment,a),n=!0)},o(a){W(e.$$.fragment,a),W(t.$$.fragment,a),n=!1},d(a){F(e,a),a&&f(l),F(t,a)}}}function Tl(r){var n,a;let e,l,t;return l=new Vs({props:{error:(a=(n=r[22])==null?void 0:n.info)==null?void 0:a.invalidScheduleError}}),{c(){e=_("div"),U(l.$$.fragment),this.h()},l(s){e=$(s,"DIV",{class:!0});var o=v(e);C(l.$$.fragment,o),o.forEach(f),this.h()},h(){S(e,"class","w-full xl:w-1/2")},m(s,o){w(s,e,o),M(l,e,null),t=!0},p(s,o){var i,h;const u={};o&1&&(u.error=(h=(i=s[22])==null?void 0:i.info)==null?void 0:h.invalidScheduleError),l.$set(u)},i(s){t||(P(l.$$.fragment,s),t=!0)},o(s){W(l.$$.fragment,s),t=!1},d(s){s&&f(e),F(l)}}}function Ls(r){let e,l=r[22].schedule.state.paused?"Unpause":"Pause",t,n;return{c(){e=_("h3"),t=k(l),n=k(" Schedule?"),this.h()},l(a){e=$(a,"H3",{slot:!0});var s=v(e);t=b(s,l),n=b(s," Schedule?"),s.forEach(f),this.h()},h(){S(e,"slot","title")},m(a,s){w(a,e,s),c(e,t),c(e,n)},p(a,s){s&1&&l!==(l=a[22].schedule.state.paused?"Unpause":"Pause")&&J(t,l)},d(a){a&&f(e)}}}function Os(r){let e,l,t,n=r[22].schedule.state.paused?"unpause":"pause",a,s,o,u,i,h,p,m,d=r[22].schedule.state.paused?"unpausing":"pausing",g,N,q,H,O,te;return{c(){e=_("div"),l=_("p"),t=k("Are you sure you want to "),a=k(n),s=R(),o=_("strong"),u=k(r[7]),i=k("?"),h=R(),p=_("p"),m=k("Enter a reason for "),g=k(d),N=k(" the schedule."),q=R(),H=_("input"),this.h()},l(j){e=$(j,"DIV",{slot:!0});var A=v(e);l=$(A,"P",{});var Q=v(l);t=b(Q,"Are you sure you want to "),a=b(Q,n),s=D(Q),o=$(Q,"STRONG",{});var x=v(o);u=b(x,r[7]),x.forEach(f),i=b(Q,"?"),Q.forEach(f),h=D(A),p=$(A,"P",{class:!0});var z=v(p);m=b(z,"Enter a reason for "),g=b(z,d),N=b(z," the schedule."),z.forEach(f),q=D(A),H=$(A,"INPUT",{class:!0,placeholder:!0}),A.forEach(f),this.h()},h(){S(p,"class","my-4"),S(H,"class","block w-full border border-gray-200 rounded-md p-2 mt-4"),S(H,"placeholder","Enter a reason"),S(e,"slot","content")},m(j,A){w(j,e,A),c(e,l),c(l,t),c(l,a),c(l,s),c(l,o),c(o,u),c(l,i),c(e,h),c(e,p),c(p,m),c(p,g),c(p,N),c(e,q),c(e,H),_l(H,r[3]),O||(te=[xe(H,"input",r[15]),xe(H,"keydown",Ql(r[12]))],O=!0)},p(j,A){A&1&&n!==(n=j[22].schedule.state.paused?"unpause":"pause")&&J(a,n),A&1&&d!==(d=j[22].schedule.state.paused?"unpausing":"pausing")&&J(g,d),A&8&&H.value!==j[3]&&_l(H,j[3])},d(j){j&&f(e),O=!1,Kl(te)}}}function Bs(r){let e,l;return{c(){e=_("h3"),l=k("Delete Schedule?"),this.h()},l(t){e=$(t,"H3",{slot:!0});var n=v(e);l=b(n,"Delete Schedule?"),n.forEach(f),this.h()},h(){S(e,"slot","title")},m(t,n){w(t,e,n),c(e,l)},p:L,d(t){t&&f(e)}}}function Gs(r){let e,l,t,n,a,s;return{c(){e=_("div"),l=_("p"),t=k(`Are you sure you want to delete +import{S as $e,b as ve,a as ge,m as _,w as k,c as R,p as $,q as v,x as b,k as f,d as D,u as S,f as w,M as c,y as J,n as L,G as Nl,T as dl,H as Hl,I as jl,J as Ll,j as P,g as W,O as ml,P as pl,C as U,D as C,E as M,F,L as Te,e as ee,z as ze,a1 as Ol,a2 as Bl,h as Qe,ar as Ke,as as Vl,a7 as Gl,U as xe,_ as Ze,Q as Jl,A as hl,v as zl,a8 as _l,W as Ql,r as Kl}from"../chunks/index.d29c66be.js";import{p as Wl}from"../chunks/stores.8c019868.js";import{P as Xl}from"../chunks/page-title.ba38eecf.js";import{I as yl}from"../chunks/icon.5aa23970.js";import{k as et,f as $l,c as Al,q as Yl}from"../chunks/route-for.3e9c6ff4.js";import{g as Zl}from"../chunks/navigation.e41eebee.js";import{S as xl,a as vl,d as es,u as ts,p as ls}from"../chunks/schedule-frequency.b820a236.js";import{f as pe}from"../chunks/format-date.100c5f23.js";import{t as tt}from"../chunks/time-format.6ef667eb.js";import{l as Je}from"../chunks/schedules.e00ba3db.js";import{W as ql}from"../chunks/workflow-status.8e93b70c.js";import{g as gl}from"../chunks/workflow-service.5b743be0.js";import{E as ss}from"../chunks/empty-state.bf113865.js";import{L as rs}from"../chunks/link.d5f6f19e.js";import{M as wl}from"../chunks/modal.765fc6dd.js";import{S as ns}from"../chunks/split-button.efadbe62.js";import{L as Ul}from"../chunks/loading.9b5a6a67.js";import{c as as}from"../chunks/core-user.faf7a38e.js";import{c as kl}from"../chunks/menu-item.be414f05.js";function os(r){let e,l,t,n,a;return{c(){e=_("h2"),l=k("Memo"),t=R(),n=_("p"),a=k(r[0]),this.h()},l(s){e=$(s,"H2",{class:!0});var o=v(e);l=b(o,"Memo"),o.forEach(f),t=D(s),n=$(s,"P",{});var u=v(n);a=b(u,r[0]),u.forEach(f),this.h()},h(){S(e,"class","mb-4 text-2xl")},m(s,o){w(s,e,o),c(e,l),w(s,t,o),w(s,n,o),c(n,a)},p(s,[o]){o&1&&J(a,s[0])},i:L,o:L,d(s){s&&f(e),s&&f(t),s&&f(n)}}}function us(r,e,l){let{notes:t=""}=e;return r.$$set=n=>{"notes"in n&&l(0,t=n.notes)},[t]}class fs extends $e{constructor(e){super(),ve(this,e,us,os,ge,{notes:0})}}function is(r){let e,l,t;const n=r[3].default,a=Nl(n,r,r[2],null);return{c(){e=_("div"),a&&a.c(),this.h()},l(s){e=$(s,"DIV",{class:!0});var o=v(e);a&&a.l(o),o.forEach(f),this.h()},h(){S(e,"class",l="panel bg-white "+r[1].class+" svelte-11fqqfg"),dl(e,"error",r[0])},m(s,o){w(s,e,o),a&&a.m(e,null),t=!0},p(s,[o]){a&&a.p&&(!t||o&4)&&Hl(a,n,s,s[2],t?Ll(n,s[2],o,null):jl(s[2]),null),(!t||o&2&&l!==(l="panel bg-white "+s[1].class+" svelte-11fqqfg"))&&S(e,"class",l),(!t||o&3)&&dl(e,"error",s[0])},i(s){t||(P(a,s),t=!0)},o(s){W(a,s),t=!1},d(s){s&&f(e),a&&a.d(s)}}}function cs(r,e,l){let{$$slots:t={},$$scope:n}=e,{error:a=!1}=e;return r.$$set=s=>{l(1,e=ml(ml({},e),pl(s))),"error"in s&&l(0,a=s.error),"$$scope"in s&&l(2,n=s.$$scope)},e=pl(e),[a,e,n,t]}class Xe extends $e{constructor(e){super(),ve(this,e,cs,is,ge,{error:0})}}function bl(r,e,l){const t=r.slice();return t[4]=e[l],t}function ds(r){let e,l,t,n,a=r[4].startWorkflowResult.workflowId+"",s,o,u,i,h=pe(r[4].actualTime,r[2])+"",p;return{c(){e=_("div"),l=_("div"),t=R(),n=_("div"),s=k(a),o=R(),u=_("div"),i=_("p"),p=k(h),this.h()},l(m){e=$(m,"DIV",{class:!0});var d=v(e);l=$(d,"DIV",{class:!0}),v(l).forEach(f),t=D(d),n=$(d,"DIV",{class:!0});var g=v(n);s=b(g,a),g.forEach(f),o=D(d),u=$(d,"DIV",{class:!0});var N=v(u);i=$(N,"P",{});var q=v(i);p=b(q,h),q.forEach(f),N.forEach(f),d.forEach(f),this.h()},h(){S(l,"class","w-28"),S(n,"class","w-96"),S(u,"class","ml-auto"),S(e,"class","row svelte-lqpjgu")},m(m,d){w(m,e,d),c(e,l),c(e,t),c(e,n),c(n,s),c(e,o),c(e,u),c(u,i),c(i,p)},p(m,d){d&1&&a!==(a=m[4].startWorkflowResult.workflowId+"")&&J(s,a),d&5&&h!==(h=pe(m[4].actualTime,m[2])+"")&&J(p,h)},i:L,o:L,d(m){m&&f(e)}}}function ms(r){let e,l,t,n,a,s,o,u,i,h=pe(r[4].actualTime,r[2])+"",p,m;return t=new ql({props:{status:r[7].status}}),s=new rs({props:{href:$l({workflow:r[4].startWorkflowResult.workflowId,run:r[4].startWorkflowResult.runId,namespace:r[1]}),$$slots:{default:[ps]},$$scope:{ctx:r}}}),{c(){e=_("div"),l=_("div"),U(t.$$.fragment),n=R(),a=_("div"),U(s.$$.fragment),o=R(),u=_("div"),i=_("p"),p=k(h),this.h()},l(d){e=$(d,"DIV",{class:!0});var g=v(e);l=$(g,"DIV",{class:!0});var N=v(l);C(t.$$.fragment,N),N.forEach(f),n=D(g),a=$(g,"DIV",{class:!0});var q=v(a);C(s.$$.fragment,q),q.forEach(f),o=D(g),u=$(g,"DIV",{class:!0});var H=v(u);i=$(H,"P",{});var O=v(i);p=b(O,h),O.forEach(f),H.forEach(f),g.forEach(f),this.h()},h(){S(l,"class","w-28"),S(a,"class","w-auto break-words mx-2"),S(u,"class","ml-auto"),S(e,"class","row svelte-lqpjgu")},m(d,g){w(d,e,g),c(e,l),M(t,l,null),c(e,n),c(e,a),M(s,a,null),c(e,o),c(e,u),c(u,i),c(i,p),m=!0},p(d,g){const N={};g&3&&(N.status=d[7].status),t.$set(N);const q={};g&3&&(q.href=$l({workflow:d[4].startWorkflowResult.workflowId,run:d[4].startWorkflowResult.runId,namespace:d[1]})),g&257&&(q.$$scope={dirty:g,ctx:d}),s.$set(q),(!m||g&5)&&h!==(h=pe(d[4].actualTime,d[2])+"")&&J(p,h)},i(d){m||(P(t.$$.fragment,d),P(s.$$.fragment,d),m=!0)},o(d){W(t.$$.fragment,d),W(s.$$.fragment,d),m=!1},d(d){d&&f(e),F(t),F(s)}}}function ps(r){let e=r[4].startWorkflowResult.workflowId+"",l;return{c(){l=k(e)},l(t){l=b(t,e)},m(t,n){w(t,l,n)},p(t,n){n&1&&e!==(e=t[4].startWorkflowResult.workflowId+"")&&J(l,e)},d(t){t&&f(l)}}}function hs(r){return{c:L,l:L,m:L,p:L,i:L,o:L,d:L}}function El(r,e){let l,t,n,a,s={ctx:e,current:null,token:null,hasCatch:!0,pending:hs,then:ms,catch:ds,value:7,blocks:[,,,]};return Ke(n=gl({namespace:e[1],workflowId:et(e[4].startWorkflowResult.workflowId),runId:e[4].startWorkflowResult.runId},fetch),s),{key:r,first:null,c(){l=ee(),t=ee(),s.block.c(),this.h()},l(o){l=ee(),t=ee(),s.block.l(o),this.h()},h(){this.first=l},m(o,u){w(o,l,u),w(o,t,u),s.block.m(o,s.anchor=u),s.mount=()=>t.parentNode,s.anchor=t,a=!0},p(o,u){e=o,s.ctx=e,u&3&&n!==(n=gl({namespace:e[1],workflowId:et(e[4].startWorkflowResult.workflowId),runId:e[4].startWorkflowResult.runId},fetch))&&Ke(n,s)||Vl(s,e,u)},i(o){a||(P(s.block),a=!0)},o(o){for(let u=0;u<3;u+=1){const i=s.blocks[u];W(i)}a=!1},d(o){o&&f(l),o&&f(t),s.block.d(o),s.token=null,s=null}}}function Il(r){let e,l;return e=new ss({props:{title:"No Recent Runs"}}),{c(){U(e.$$.fragment)},l(t){C(e.$$.fragment,t)},m(t,n){M(e,t,n),l=!0},i(t){l||(P(e.$$.fragment,t),l=!0)},o(t){W(e.$$.fragment,t),l=!1},d(t){F(e,t)}}}function _s(r){let e,l,t,n=[],a=new Map,s,o,u,i=r[3](r[0]);const h=m=>{var d,g;return(g=(d=m[4])==null?void 0:d.startWorkflowResult)==null?void 0:g.workflowId};for(let m=0;m{p=null}),Qe()):p?d&1&&P(p,1):(p=Il(),p.c(),P(p,1),p.m(o.parentNode,o))},i(m){if(!u){for(let d=0;dl(2,t=o));let{recentRuns:n=[]}=e,{namespace:a}=e;const s=o=>{var u,i;return(i=(u=o==null?void 0:o.sort((h,p)=>new Date(p.actualTime).getTime()-new Date(h.actualTime).getTime()))===null||u===void 0?void 0:u.slice(0,5))!==null&&i!==void 0?i:[]};return r.$$set=o=>{"recentRuns"in o&&l(0,n=o.recentRuns),"namespace"in o&&l(1,a=o.namespace)},[n,a,t,s]}class gs extends $e{constructor(e){super(),ve(this,e,vs,$s,ge,{recentRuns:0,namespace:1})}}function Sl(r,e,l){const t=r.slice();return t[2]=e[l],t}function Rl(r){let e,l,t=pe(r[2],r[1],"from now")+"",n,a;return{c(){e=_("div"),l=_("p"),n=k(t),a=R(),this.h()},l(s){e=$(s,"DIV",{class:!0});var o=v(e);l=$(o,"P",{});var u=v(l);n=b(u,t),u.forEach(f),a=D(o),o.forEach(f),this.h()},h(){S(e,"class","row svelte-kbuuws")},m(s,o){w(s,e,o),c(e,l),c(l,n),c(e,a)},p(s,o){o&3&&t!==(t=pe(s[2],s[1],"from now")+"")&&J(n,t)},d(s){s&&f(e)}}}function ws(r){let e,l,t,n,a=r[0].slice(0,5),s=[];for(let o=0;ol(1,t=a));let{futureRuns:n=[]}=e;return r.$$set=a=>{"futureRuns"in a&&l(0,n=a.futureRuns)},[n,t]}class Es extends $e{constructor(e){super(),ve(this,e,bs,ks,ge,{futureRuns:0})}}function Dl(r){var Ve,oe,Ee,G,Ie,he,ue;let e,l,t=(((Ve=r[0])==null?void 0:Ve.startTime)??"")+"",n,a,s,o,u=(((oe=r[0])==null?void 0:oe.endTime)??"")+"",i,h,p,m,d=(((Ee=r[0])==null?void 0:Ee.jitter)??"")+"",g,N,q,H,O=(((Ie=(G=r[0])==null?void 0:G.excludeCalendar)==null?void 0:Ie[0])??"")+"",te,j,A,Q,x=(((he=r[1])==null?void 0:he.remainingActions)??"")+"",z,T,X,le,ie=(((ue=r[2])==null?void 0:ue.overlapPolicy)??"")+"",we;return{c(){e=_("p"),l=k("Schedule Start Time: "),n=k(t),a=R(),s=_("p"),o=k("Schedule End Time: "),i=k(u),h=R(),p=_("p"),m=k("Jitter: "),g=k(d),N=R(),q=_("p"),H=k("Exclusion Calendar: "),te=k(O),j=R(),A=_("p"),Q=k("Remaining Actions: "),z=k(x),T=R(),X=_("p"),le=k("Overlap Policy: "),we=k(ie)},l(I){e=$(I,"P",{});var y=v(e);l=b(y,"Schedule Start Time: "),n=b(y,t),y.forEach(f),a=D(I),s=$(I,"P",{});var se=v(s);o=b(se,"Schedule End Time: "),i=b(se,u),se.forEach(f),h=D(I),p=$(I,"P",{});var Y=v(p);m=b(Y,"Jitter: "),g=b(Y,d),Y.forEach(f),N=D(I),q=$(I,"P",{});var ce=v(q);H=b(ce,"Exclusion Calendar: "),te=b(ce,O),ce.forEach(f),j=D(I),A=$(I,"P",{});var re=v(A);Q=b(re,"Remaining Actions: "),z=b(re,x),re.forEach(f),T=D(I),X=$(I,"P",{});var Z=v(X);le=b(Z,"Overlap Policy: "),we=b(Z,ie),Z.forEach(f)},m(I,y){w(I,e,y),c(e,l),c(e,n),w(I,a,y),w(I,s,y),c(s,o),c(s,i),w(I,h,y),w(I,p,y),c(p,m),c(p,g),w(I,N,y),w(I,q,y),c(q,H),c(q,te),w(I,j,y),w(I,A,y),c(A,Q),c(A,z),w(I,T,y),w(I,X,y),c(X,le),c(X,we)},p(I,y){var se,Y,ce,re,Z,We,_e;y&1&&t!==(t=(((se=I[0])==null?void 0:se.startTime)??"")+"")&&J(n,t),y&1&&u!==(u=(((Y=I[0])==null?void 0:Y.endTime)??"")+"")&&J(i,u),y&1&&d!==(d=(((ce=I[0])==null?void 0:ce.jitter)??"")+"")&&J(g,d),y&1&&O!==(O=(((Z=(re=I[0])==null?void 0:re.excludeCalendar)==null?void 0:Z[0])??"")+"")&&J(te,O),y&2&&x!==(x=(((We=I[1])==null?void 0:We.remainingActions)??"")+"")&&J(z,x),y&4&&ie!==(ie=(((_e=I[2])==null?void 0:_e.overlapPolicy)??"")+"")&&J(we,ie)},d(I){I&&f(e),I&&f(a),I&&f(s),I&&f(h),I&&f(p),I&&f(N),I&&f(q),I&&f(j),I&&f(A),I&&f(T),I&&f(X)}}}function Is(r){let e,l,t,n,a,s,o,u;t=new yl({props:{class:"inline",name:r[3]?"chevron-up":"chevron-down"}});let i=r[3]&&Dl(r);return{c(){e=_("button"),l=k("Advanced Settings "),U(t.$$.fragment),n=R(),i&&i.c(),a=ee(),this.h()},l(h){e=$(h,"BUTTON",{class:!0});var p=v(e);l=b(p,"Advanced Settings "),C(t.$$.fragment,p),p.forEach(f),n=D(h),i&&i.l(h),a=ee(),this.h()},h(){S(e,"class","settings svelte-5rdr1k")},m(h,p){w(h,e,p),c(e,l),M(t,e,null),w(h,n,p),i&&i.m(h,p),w(h,a,p),s=!0,o||(u=xe(e,"click",r[4]),o=!0)},p(h,[p]){const m={};p&8&&(m.name=h[3]?"chevron-up":"chevron-down"),t.$set(m),h[3]?i?i.p(h,p):(i=Dl(h),i.c(),i.m(a.parentNode,a)):i&&(i.d(1),i=null)},i(h){s||(P(t.$$.fragment,h),s=!0)},o(h){W(t.$$.fragment,h),s=!1},d(h){h&&f(e),F(t),h&&f(n),i&&i.d(h),h&&f(a),o=!1,u()}}}function Ss(r,e,l){let{spec:t}=e,{state:n}=e,{policies:a}=e,s=!1;const o=()=>l(3,s=!s);return r.$$set=u=>{"spec"in u&&l(0,t=u.spec),"state"in u&&l(1,n=u.state),"policies"in u&&l(2,a=u.policies)},[t,n,a,s,o]}class Rs extends $e{constructor(e){super(),ve(this,e,Ss,Is,ge,{spec:0,state:1,policies:2})}}function Ds(r){let e,l,t,n,a;return{c(){e=_("p"),l=k("Error Message"),t=R(),n=_("p"),a=k(r[0]),this.h()},l(s){e=$(s,"P",{class:!0});var o=v(e);l=b(o,"Error Message"),o.forEach(f),t=D(s),n=$(s,"P",{class:!0});var u=v(n);a=b(u,r[0]),u.forEach(f),this.h()},h(){S(e,"class","error-text svelte-1lke5yx"),S(n,"class","error-text svelte-1lke5yx")},m(s,o){w(s,e,o),c(e,l),w(s,t,o),w(s,n,o),c(n,a)},p(s,o){o&1&&J(a,s[0])},d(s){s&&f(e),s&&f(t),s&&f(n)}}}function Ps(r){let e,l;return e=new Xe({props:{error:!0,$$slots:{default:[Ds]},$$scope:{ctx:r}}}),{c(){U(e.$$.fragment)},l(t){C(e.$$.fragment,t)},m(t,n){M(e,t,n),l=!0},p(t,[n]){const a={};n&3&&(a.$$scope={dirty:n,ctx:t}),e.$set(a)},i(t){l||(P(e.$$.fragment,t),l=!0)},o(t){W(e.$$.fragment,t),l=!1},d(t){F(e,t)}}}function Ts(r,e,l){let{error:t=""}=e;return r.$$set=n=>{"error"in n&&l(0,t=n.error)},[t]}class Vs extends $e{constructor(e){super(),ve(this,e,Ts,Ps,ge,{error:0})}}function Ws(r){let e,l,t,n,a,s;return a=new xl({props:{calendar:r[0],interval:r[1],class:"text-base"}}),{c(){e=_("h2"),l=k("Frequency"),t=R(),n=_("div"),U(a.$$.fragment),this.h()},l(o){e=$(o,"H2",{class:!0});var u=v(e);l=b(u,"Frequency"),u.forEach(f),t=D(o),n=$(o,"DIV",{class:!0});var i=v(n);C(a.$$.fragment,i),i.forEach(f),this.h()},h(){S(e,"class","mb-4 text-2xl"),S(n,"class","pr-2")},m(o,u){w(o,e,u),c(e,l),w(o,t,u),w(o,n,u),M(a,n,null),s=!0},p(o,u){const i={};u&1&&(i.calendar=o[0]),u&2&&(i.interval=o[1]),a.$set(i)},i(o){s||(P(a.$$.fragment,o),s=!0)},o(o){W(a.$$.fragment,o),s=!1},d(o){o&&f(e),o&&f(t),o&&f(n),F(a)}}}function ys(r){let e,l;return e=new Xe({props:{$$slots:{default:[Ws]},$$scope:{ctx:r}}}),{c(){U(e.$$.fragment)},l(t){C(e.$$.fragment,t)},m(t,n){M(e,t,n),l=!0},p(t,[n]){const a={};n&7&&(a.$$scope={dirty:n,ctx:t}),e.$set(a)},i(t){l||(P(e.$$.fragment,t),l=!0)},o(t){W(e.$$.fragment,t),l=!1},d(t){F(e,t)}}}function As(r,e,l){let{calendar:t=void 0}=e,{interval:n=void 0}=e;return r.$$set=a=>{"calendar"in a&&l(0,t=a.calendar),"interval"in a&&l(1,n=a.interval)},[t,n]}class qs extends $e{constructor(e){super(),ve(this,e,As,ys,ge,{calendar:0,interval:1})}}function Us(r){return{c:L,l:L,m:L,p:L,i:L,o:L,d:L}}function Cs(r){let e,l,t,n;const a=[Fs,Ms],s=[];function o(u,i){return u[4]?0:1}return e=o(r),l=s[e]=a[e](r),{c(){l.c(),t=ee()},l(u){l.l(u),t=ee()},m(u,i){s[e].m(u,i),w(u,t,i),n=!0},p(u,i){let h=e;e=o(u),e===h?s[e].p(u,i):(ze(),W(s[h],1,1,()=>{s[h]=null}),Qe(),l=s[e],l?l.p(u,i):(l=s[e]=a[e](u),l.c()),P(l,1),l.m(t.parentNode,t))},i(u){n||(P(l),n=!0)},o(u){W(l),n=!1},d(u){s[e].d(u),u&&f(t)}}}function Ms(r){var lt,st,rt,nt,at,ot,ut,ft,it,ct,dt,mt,pt,ht,_t,$t,vt,gt,wt,kt,bt,Et,It,St,Rt,Dt,Pt,Tt,Vt,Wt,yt,At,qt,Ut,Ct,Mt;let e,l,t,n,a,s,o,u,i,h,p,m,d,g,N,q,H,O,te,j,A=((at=(nt=(rt=(st=(lt=r[22])==null?void 0:lt.schedule)==null?void 0:st.action)==null?void 0:rt.startWorkflow)==null?void 0:nt.workflowType)==null?void 0:at.name)+"",Q,x,z,T,X,le=pe((ut=(ot=r[22])==null?void 0:ot.info)==null?void 0:ut.createTime,r[5])+"",ie,we,Ve,oe,Ee,G,Ie,he,ue,I,y,se,Y,ce,re,Z,We,_e,ke,Ye,ye,be,Be,de,Ge,me,Ae;n=new yl({props:{name:"chevron-left",class:"inline"}}),i=new ql({props:{status:(ft=r[22])!=null&&ft.schedule.state.paused?"Paused":"Running"}});let K=((ct=(it=r[22])==null?void 0:it.info)==null?void 0:ct.updateTime)&&Pl(r);oe=new ns({props:{position:"right",label:(pt=(mt=(dt=r[22])==null?void 0:dt.schedule)==null?void 0:mt.state)!=null&&pt.paused?"Unpause":"Pause",id:"schedule-actions",disabled:r[9],$$slots:{default:[js]},$$scope:{ctx:r}}}),oe.$on("click",r[14]);let B=((_t=(ht=r[22])==null?void 0:ht.info)==null?void 0:_t.invalidScheduleError)&&Tl(r);ue=new qs({props:{calendar:(wt=(gt=(vt=($t=r[22])==null?void 0:$t.schedule)==null?void 0:vt.spec)==null?void 0:gt.structuredCalendar)==null?void 0:wt[0],interval:(It=(Et=(bt=(kt=r[22])==null?void 0:kt.schedule)==null?void 0:bt.spec)==null?void 0:Et.interval)==null?void 0:It[0]}}),Y=new gs({props:{namespace:r[6],recentRuns:(Rt=(St=r[22])==null?void 0:St.info)==null?void 0:Rt.recentActions}}),Z=new Es({props:{futureRuns:(Pt=(Dt=r[22])==null?void 0:Dt.info)==null?void 0:Pt.futureActionTimes}}),ke=new Rs({props:{spec:(Vt=(Tt=r[22])==null?void 0:Tt.schedule)==null?void 0:Vt.spec,state:(yt=(Wt=r[22])==null?void 0:Wt.schedule)==null?void 0:yt.state,policies:(qt=(At=r[22])==null?void 0:At.schedule)==null?void 0:qt.policies}}),be=new fs({props:{notes:(Mt=(Ct=(Ut=r[22])==null?void 0:Ut.schedule)==null?void 0:Ct.state)==null?void 0:Mt.notes}});function Cl(){return r[17](r[22])}let Ml={id:"pause-schedule-modal",confirmType:"primary",confirmText:r[22].schedule.state.paused?"Unpause":"Pause",confirmDisabled:!r[3],$$slots:{content:[Os],title:[Ls]},$$scope:{ctx:r}};de=new wl({props:Ml}),r[16](de),de.$on("confirmModal",Cl);let Fl={id:"delete-schedule-modal",confirmType:"destructive",confirmText:"Delete",$$slots:{content:[Gs],title:[Bs]},$$scope:{ctx:r}};return me=new wl({props:Fl}),r[18](me),me.$on("confirmModal",r[10]),{c(){e=_("header"),l=_("div"),t=_("a"),U(n.$$.fragment),a=k("Back to Schedules"),s=R(),o=_("div"),u=_("h1"),U(i.$$.fragment),h=R(),p=_("p"),m=k(r[7]),d=R(),g=_("div"),N=_("p"),q=k(r[6]),H=R(),O=_("div"),te=R(),j=_("p"),Q=k(A),x=R(),z=_("div"),T=_("p"),X=k("Created: "),ie=k(le),we=R(),K&&K.c(),Ve=R(),U(oe.$$.fragment),Ee=R(),G=_("div"),B&&B.c(),Ie=R(),he=_("div"),U(ue.$$.fragment),I=R(),y=_("div"),se=_("div"),U(Y.$$.fragment),ce=R(),re=_("div"),U(Z.$$.fragment),We=R(),_e=_("div"),U(ke.$$.fragment),Ye=R(),ye=_("div"),U(be.$$.fragment),Be=R(),U(de.$$.fragment),Ge=R(),U(me.$$.fragment),this.h()},l(E){e=$(E,"HEADER",{class:!0});var V=v(e);l=$(V,"DIV",{class:!0});var ne=v(l);t=$(ne,"A",{href:!0,class:!0,style:!0});var Se=v(t);C(n.$$.fragment,Se),a=b(Se,"Back to Schedules"),Se.forEach(f),s=D(ne),o=$(ne,"DIV",{class:!0});var qe=v(o);u=$(qe,"H1",{class:!0});var Re=v(u);C(i.$$.fragment,Re),h=D(Re),p=$(Re,"P",{class:!0,"data-testid":!0});var Ce=v(p);m=b(Ce,r[7]),Ce.forEach(f),Re.forEach(f),qe.forEach(f),d=D(ne),g=$(ne,"DIV",{class:!0});var fe=v(g);N=$(fe,"P",{});var Me=v(N);q=b(Me,r[6]),Me.forEach(f),H=D(fe),O=$(fe,"DIV",{class:!0}),v(O).forEach(f),te=D(fe),j=$(fe,"P",{});var De=v(j);Q=b(De,A),De.forEach(f),fe.forEach(f),x=D(ne),z=$(ne,"DIV",{class:!0});var Fe=v(z);T=$(Fe,"P",{});var Ue=v(T);X=b(Ue,"Created: "),ie=b(Ue,le),Ue.forEach(f),Fe.forEach(f),we=D(ne),K&&K.l(ne),ne.forEach(f),Ve=D(V),C(oe.$$.fragment,V),V.forEach(f),Ee=D(E),G=$(E,"DIV",{class:!0});var ae=v(G);B&&B.l(ae),Ie=D(ae),he=$(ae,"DIV",{class:!0});var Ne=v(he);C(ue.$$.fragment,Ne),Ne.forEach(f),I=D(ae),y=$(ae,"DIV",{class:!0});var Pe=v(y);se=$(Pe,"DIV",{class:!0});var He=v(se);C(Y.$$.fragment,He),He.forEach(f),ce=D(Pe),re=$(Pe,"DIV",{class:!0});var je=v(re);C(Z.$$.fragment,je),je.forEach(f),Pe.forEach(f),We=D(ae),_e=$(ae,"DIV",{class:!0});var Le=v(_e);C(ke.$$.fragment,Le),Le.forEach(f),Ye=D(ae),ye=$(ae,"DIV",{class:!0});var Oe=v(ye);C(be.$$.fragment,Oe),Oe.forEach(f),ae.forEach(f),Be=D(E),C(de.$$.fragment,E),Ge=D(E),C(me.$$.fragment,E),this.h()},h(){S(t,"href",Al({namespace:r[6]})),S(t,"class","absolute top-0 back-to-schedules svelte-1pb4ys0"),zl(t,"left","-0.5rem"),S(p,"class","font-medium select-all"),S(p,"data-testid","schedule-name"),S(u,"class","text-2xl flex relative items-center gap-4"),S(o,"class","flex justify-between items-center mt-8"),S(O,"class","w-1 h-1 rounded-full bg-gray-900"),S(g,"class","flex items-center gap-2 text-sm"),S(z,"class","flex items-center gap-2 text-sm"),S(l,"class","flex flex-col gap-1 relative"),S(e,"class","flex flex-row justify-between gap-4 mb-8"),S(he,"class","w-full xl:w-1/2"),S(se,"class","w-full xl:w-3/4"),S(re,"class","w-full xl:w-1/4"),S(y,"class","flex flex-col xl:flex-row gap-4"),S(_e,"class","w-full xl:w-1/2"),S(ye,"class","w-full xl:w-1/2"),S(G,"class","flex flex-col gap-4 pb-24")},m(E,V){w(E,e,V),c(e,l),c(l,t),M(n,t,null),c(t,a),c(l,s),c(l,o),c(o,u),M(i,u,null),c(u,h),c(u,p),c(p,m),c(l,d),c(l,g),c(g,N),c(N,q),c(g,H),c(g,O),c(g,te),c(g,j),c(j,Q),c(l,x),c(l,z),c(z,T),c(T,X),c(T,ie),c(l,we),K&&K.m(l,null),c(e,Ve),M(oe,e,null),w(E,Ee,V),w(E,G,V),B&&B.m(G,null),c(G,Ie),c(G,he),M(ue,he,null),c(G,I),c(G,y),c(y,se),M(Y,se,null),c(y,ce),c(y,re),M(Z,re,null),c(G,We),c(G,_e),M(ke,_e,null),c(G,Ye),c(G,ye),M(be,ye,null),w(E,Be,V),M(de,E,V),w(E,Ge,V),M(me,E,V),Ae=!0},p(E,V){var Ue,ae,Ne,Pe,He,je,Le,Oe,Ft,Nt,Ht,jt,Lt,Ot,Bt,Gt,Jt,zt,Qt,Kt,Xt,Yt,Zt,xt,el,tl,ll,sl,rl,nl,al,ol,ul,fl,il,cl;r=E;const ne={};V&1&&(ne.status=(Ue=r[22])!=null&&Ue.schedule.state.paused?"Paused":"Running"),i.$set(ne),(!Ae||V&1)&&A!==(A=((je=(He=(Pe=(Ne=(ae=r[22])==null?void 0:ae.schedule)==null?void 0:Ne.action)==null?void 0:Pe.startWorkflow)==null?void 0:He.workflowType)==null?void 0:je.name)+"")&&J(Q,A),(!Ae||V&33)&&le!==(le=pe((Oe=(Le=r[22])==null?void 0:Le.info)==null?void 0:Oe.createTime,r[5])+"")&&J(ie,le),(Nt=(Ft=r[22])==null?void 0:Ft.info)!=null&&Nt.updateTime?K?K.p(r,V):(K=Pl(r),K.c(),K.m(l,null)):K&&(K.d(1),K=null);const Se={};V&1&&(Se.label=(Lt=(jt=(Ht=r[22])==null?void 0:Ht.schedule)==null?void 0:jt.state)!=null&&Lt.paused?"Unpause":"Pause"),V&8388612&&(Se.$$scope={dirty:V,ctx:r}),oe.$set(Se),(Bt=(Ot=r[22])==null?void 0:Ot.info)!=null&&Bt.invalidScheduleError?B?(B.p(r,V),V&1&&P(B,1)):(B=Tl(r),B.c(),P(B,1),B.m(G,Ie)):B&&(ze(),W(B,1,1,()=>{B=null}),Qe());const qe={};V&1&&(qe.calendar=(Qt=(zt=(Jt=(Gt=r[22])==null?void 0:Gt.schedule)==null?void 0:Jt.spec)==null?void 0:zt.structuredCalendar)==null?void 0:Qt[0]),V&1&&(qe.interval=(Zt=(Yt=(Xt=(Kt=r[22])==null?void 0:Kt.schedule)==null?void 0:Xt.spec)==null?void 0:Yt.interval)==null?void 0:Zt[0]),ue.$set(qe);const Re={};V&1&&(Re.recentRuns=(el=(xt=r[22])==null?void 0:xt.info)==null?void 0:el.recentActions),Y.$set(Re);const Ce={};V&1&&(Ce.futureRuns=(ll=(tl=r[22])==null?void 0:tl.info)==null?void 0:ll.futureActionTimes),Z.$set(Ce);const fe={};V&1&&(fe.spec=(rl=(sl=r[22])==null?void 0:sl.schedule)==null?void 0:rl.spec),V&1&&(fe.state=(al=(nl=r[22])==null?void 0:nl.schedule)==null?void 0:al.state),V&1&&(fe.policies=(ul=(ol=r[22])==null?void 0:ol.schedule)==null?void 0:ul.policies),ke.$set(fe);const Me={};V&1&&(Me.notes=(cl=(il=(fl=r[22])==null?void 0:fl.schedule)==null?void 0:il.state)==null?void 0:cl.notes),be.$set(Me);const De={};V&1&&(De.confirmText=r[22].schedule.state.paused?"Unpause":"Pause"),V&8&&(De.confirmDisabled=!r[3]),V&8388617&&(De.$$scope={dirty:V,ctx:r}),de.$set(De);const Fe={};V&8388608&&(Fe.$$scope={dirty:V,ctx:r}),me.$set(Fe)},i(E){Ae||(P(n.$$.fragment,E),P(i.$$.fragment,E),P(oe.$$.fragment,E),P(B),P(ue.$$.fragment,E),P(Y.$$.fragment,E),P(Z.$$.fragment,E),P(ke.$$.fragment,E),P(be.$$.fragment,E),P(de.$$.fragment,E),P(me.$$.fragment,E),Ae=!0)},o(E){W(n.$$.fragment,E),W(i.$$.fragment,E),W(oe.$$.fragment,E),W(B),W(ue.$$.fragment,E),W(Y.$$.fragment,E),W(Z.$$.fragment,E),W(ke.$$.fragment,E),W(be.$$.fragment,E),W(de.$$.fragment,E),W(me.$$.fragment,E),Ae=!1},d(E){E&&f(e),F(n),F(i),K&&K.d(),F(oe),E&&f(Ee),E&&f(G),B&&B.d(),F(ue),F(Y),F(Z),F(ke),F(be),E&&f(Be),r[16](null),F(de,E),E&&f(Ge),r[18](null),F(me,E)}}}function Fs(r){let e,l;return e=new Ul({props:{title:"Deleting Schedule...",class:"my-2"}}),{c(){U(e.$$.fragment)},l(t){C(e.$$.fragment,t)},m(t,n){M(e,t,n),l=!0},p:L,i(t){l||(P(e.$$.fragment,t),l=!0)},o(t){W(e.$$.fragment,t),l=!1},d(t){F(e,t)}}}function Pl(r){var s,o;let e,l,t,n=pe((o=(s=r[22])==null?void 0:s.info)==null?void 0:o.updateTime,r[5])+"",a;return{c(){e=_("div"),l=_("p"),t=k("Last updated: "),a=k(n),this.h()},l(u){e=$(u,"DIV",{class:!0});var i=v(e);l=$(i,"P",{});var h=v(l);t=b(h,"Last updated: "),a=b(h,n),h.forEach(f),i.forEach(f),this.h()},h(){S(e,"class","flex items-center gap-2 text-sm")},m(u,i){w(u,e,i),c(e,l),c(l,t),c(l,a)},p(u,i){var h,p;i&33&&n!==(n=pe((p=(h=u[22])==null?void 0:h.info)==null?void 0:p.updateTime,u[5])+"")&&J(a,n)},d(u){u&&f(e)}}}function Ns(r){let e;return{c(){e=k("Edit")},l(l){e=b(l,"Edit")},m(l,t){w(l,e,t)},d(l){l&&f(e)}}}function Hs(r){let e;return{c(){e=k("Delete Schedule")},l(l){e=b(l,"Delete Schedule")},m(l,t){w(l,e,t)},d(l){l&&f(e)}}}function js(r){let e,l,t,n;return e=new kl({props:{testId:"edit-schedule",href:Yl({namespace:r[6],scheduleId:r[7]}),$$slots:{default:[Ns]},$$scope:{ctx:r}}}),t=new kl({props:{testId:"delete-schedule",destructive:!0,$$slots:{default:[Hs]},$$scope:{ctx:r}}}),t.$on("click",r[13]),{c(){U(e.$$.fragment),l=R(),U(t.$$.fragment)},l(a){C(e.$$.fragment,a),l=D(a),C(t.$$.fragment,a)},m(a,s){M(e,a,s),w(a,l,s),M(t,a,s),n=!0},p(a,s){const o={};s&8388608&&(o.$$scope={dirty:s,ctx:a}),e.$set(o);const u={};s&8388608&&(u.$$scope={dirty:s,ctx:a}),t.$set(u)},i(a){n||(P(e.$$.fragment,a),P(t.$$.fragment,a),n=!0)},o(a){W(e.$$.fragment,a),W(t.$$.fragment,a),n=!1},d(a){F(e,a),a&&f(l),F(t,a)}}}function Tl(r){var n,a;let e,l,t;return l=new Vs({props:{error:(a=(n=r[22])==null?void 0:n.info)==null?void 0:a.invalidScheduleError}}),{c(){e=_("div"),U(l.$$.fragment),this.h()},l(s){e=$(s,"DIV",{class:!0});var o=v(e);C(l.$$.fragment,o),o.forEach(f),this.h()},h(){S(e,"class","w-full xl:w-1/2")},m(s,o){w(s,e,o),M(l,e,null),t=!0},p(s,o){var i,h;const u={};o&1&&(u.error=(h=(i=s[22])==null?void 0:i.info)==null?void 0:h.invalidScheduleError),l.$set(u)},i(s){t||(P(l.$$.fragment,s),t=!0)},o(s){W(l.$$.fragment,s),t=!1},d(s){s&&f(e),F(l)}}}function Ls(r){let e,l=r[22].schedule.state.paused?"Unpause":"Pause",t,n;return{c(){e=_("h3"),t=k(l),n=k(" Schedule?"),this.h()},l(a){e=$(a,"H3",{slot:!0});var s=v(e);t=b(s,l),n=b(s," Schedule?"),s.forEach(f),this.h()},h(){S(e,"slot","title")},m(a,s){w(a,e,s),c(e,t),c(e,n)},p(a,s){s&1&&l!==(l=a[22].schedule.state.paused?"Unpause":"Pause")&&J(t,l)},d(a){a&&f(e)}}}function Os(r){let e,l,t,n=r[22].schedule.state.paused?"unpause":"pause",a,s,o,u,i,h,p,m,d=r[22].schedule.state.paused?"unpausing":"pausing",g,N,q,H,O,te;return{c(){e=_("div"),l=_("p"),t=k("Are you sure you want to "),a=k(n),s=R(),o=_("strong"),u=k(r[7]),i=k("?"),h=R(),p=_("p"),m=k("Enter a reason for "),g=k(d),N=k(" the schedule."),q=R(),H=_("input"),this.h()},l(j){e=$(j,"DIV",{slot:!0});var A=v(e);l=$(A,"P",{});var Q=v(l);t=b(Q,"Are you sure you want to "),a=b(Q,n),s=D(Q),o=$(Q,"STRONG",{});var x=v(o);u=b(x,r[7]),x.forEach(f),i=b(Q,"?"),Q.forEach(f),h=D(A),p=$(A,"P",{class:!0});var z=v(p);m=b(z,"Enter a reason for "),g=b(z,d),N=b(z," the schedule."),z.forEach(f),q=D(A),H=$(A,"INPUT",{class:!0,placeholder:!0}),A.forEach(f),this.h()},h(){S(p,"class","my-4"),S(H,"class","block w-full border border-gray-200 rounded-md p-2 mt-4"),S(H,"placeholder","Enter a reason"),S(e,"slot","content")},m(j,A){w(j,e,A),c(e,l),c(l,t),c(l,a),c(l,s),c(l,o),c(o,u),c(l,i),c(e,h),c(e,p),c(p,m),c(p,g),c(p,N),c(e,q),c(e,H),_l(H,r[3]),O||(te=[xe(H,"input",r[15]),xe(H,"keydown",Ql(r[12]))],O=!0)},p(j,A){A&1&&n!==(n=j[22].schedule.state.paused?"unpause":"pause")&&J(a,n),A&1&&d!==(d=j[22].schedule.state.paused?"unpausing":"pausing")&&J(g,d),A&8&&H.value!==j[3]&&_l(H,j[3])},d(j){j&&f(e),O=!1,Kl(te)}}}function Bs(r){let e,l;return{c(){e=_("h3"),l=k("Delete Schedule?"),this.h()},l(t){e=$(t,"H3",{slot:!0});var n=v(e);l=b(n,"Delete Schedule?"),n.forEach(f),this.h()},h(){S(e,"slot","title")},m(t,n){w(t,e,n),c(e,l)},p:L,d(t){t&&f(e)}}}function Gs(r){let e,l,t,n,a,s;return{c(){e=_("div"),l=_("p"),t=k(`Are you sure you want to delete `),n=_("strong"),a=k(r[7]),s=k("?"),this.h()},l(o){e=$(o,"DIV",{slot:!0});var u=v(e);l=$(u,"P",{});var i=v(l);t=b(i,`Are you sure you want to delete `),n=$(i,"STRONG",{});var h=v(n);a=b(h,r[7]),h.forEach(f),s=b(i,"?"),i.forEach(f),u.forEach(f),this.h()},h(){S(e,"slot","content")},m(o,u){w(o,e,u),c(e,l),c(l,t),c(l,n),c(n,a),c(l,s)},p:L,d(o){o&&f(e)}}}function Js(r){let e,l;return e=new Ul({}),{c(){U(e.$$.fragment)},l(t){C(e.$$.fragment,t)},m(t,n){M(e,t,n),l=!0},p:L,i(t){l||(P(e.$$.fragment,t),l=!0)},o(t){W(e.$$.fragment,t),l=!1},d(t){F(e,t)}}}function zs(r){let e,l,t,n={ctx:r,current:null,token:null,hasCatch:!1,pending:Js,then:Cs,catch:Us,value:22,blocks:[,,,]};return Ke(l=r[0],n),{c(){e=ee(),n.block.c()},l(a){e=ee(),n.block.l(a)},m(a,s){w(a,e,s),n.block.m(a,n.anchor=s),n.mount=()=>e.parentNode,n.anchor=e,t=!0},p(a,[s]){r=a,n.ctx=r,s&1&&l!==(l=r[0])&&Ke(l,n)||Vl(n,r,s)},i(a){t||(P(n.block),t=!0)},o(a){for(let s=0;s<3;s+=1){const o=n.blocks[s];W(o)}t=!1},d(a){a&&f(e),n.block.d(a),n.token=null,n=null}}}function Qs(r,e,l){let t,n,a,s;Te(r,Je,T=>l(4,t=T)),Te(r,Wl,T=>l(20,a=T)),Te(r,tt,T=>l(5,s=T));let o=a.params.namespace,u=a.params.schedule;const i={namespace:o,scheduleId:et(u)};let h=vl(i),p,m,d="",g=as();Te(r,g,T=>l(19,n=T));let N=n.namespaceWriteDisabled(o);const q=async()=>{try{Ze(Je,t=!0,t),await es({namespace:o,scheduleId:u}),m==null||m.close(),setTimeout(()=>{Ze(Je,t=!1,t),Zl(Al({namespace:o}))},2e3)}catch(T){m==null||m.setError(`Cannot delete schedule. ${T==null?void 0:T.message}`),Ze(Je,t=!1,t)}},H=async T=>{var X,le;!((le=(X=T==null?void 0:T.schedule)===null||X===void 0?void 0:X.state)===null||le===void 0)&&le.paused?await ts({namespace:o,scheduleId:u,reason:d}):await ls({namespace:o,scheduleId:u,reason:d}),l(0,h=vl(i,fetch)),l(3,d="")};function O(T){Jl.call(this,r,T)}const te=()=>m.open(),j=()=>p.open();function A(){d=this.value,l(3,d)}function Q(T){hl[T?"unshift":"push"](()=>{p=T,l(1,p)})}const x=T=>H(T);function z(T){hl[T?"unshift":"push"](()=>{m=T,l(2,m)})}return[h,p,m,d,t,s,o,u,g,N,q,H,O,te,j,A,Q,x,z]}class Ks extends $e{constructor(e){super(),ve(this,e,Qs,zs,ge,{})}}function Xs(r){let e,l,t,n;return e=new Xl({props:{title:`Schedule | ${r[1]}`,url:r[0].url.href}}),t=new Ks({}),{c(){U(e.$$.fragment),l=R(),U(t.$$.fragment)},l(a){C(e.$$.fragment,a),l=D(a),C(t.$$.fragment,a)},m(a,s){M(e,a,s),w(a,l,s),M(t,a,s),n=!0},p(a,[s]){const o={};s&1&&(o.url=a[0].url.href),e.$set(o)},i(a){n||(P(e.$$.fragment,a),P(t.$$.fragment,a),n=!0)},o(a){W(e.$$.fragment,a),W(t.$$.fragment,a),n=!1},d(a){F(e,a),a&&f(l),F(t,a)}}}function Ys(r,e,l){let t;Te(r,Wl,a=>l(0,t=a));const n=t.params.schedule;return[t,n]}class $r extends $e{constructor(e){super(),ve(this,e,Ys,Xs,ge,{})}}export{$r as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-create-page.svelte.6e3e5cfb.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-create-page.svelte.6075f889.js similarity index 88% rename from ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-create-page.svelte.6e3e5cfb.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-create-page.svelte.6075f889.js index ea78513f52..8ae96f2500 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-create-page.svelte.6e3e5cfb.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-create-page.svelte.6075f889.js @@ -1 +1 @@ -import{S as $,b as g,a as d,C as m,D as p,E as f,n as E,j as i,g as u,F as l,L as _,c as F,d as I,f as L,k as M}from"../chunks/index.d29c66be.js";import{p as h}from"../chunks/stores.b938c0e3.js";import{a as Q}from"../chunks/schedules.7d01b1a1.js";import{S as T}from"../chunks/schedule-form-view.39a52816.js";import{P as W}from"../chunks/page-title.ba38eecf.js";function z(a){let t,n;return t=new T({props:{onConfirm:a[0]}}),{c(){m(t.$$.fragment)},l(e){p(t.$$.fragment,e)},m(e,s){f(t,e,s),n=!0},p:E,i(e){n||(i(t.$$.fragment,e),n=!0)},o(e){u(t.$$.fragment,e),n=!1},d(e){l(t,e)}}}function A(a,t,n){let e;_(a,h,o=>n(1,e=o));let{namespace:s}=e.params;return[(o,c)=>{const{name:w,workflowType:S,workflowId:C,taskQueue:y,hour:k,minute:b,second:v,phase:P,cronString:x,daysOfWeek:O,daysOfMonth:j,days:q,months:D}=c;Q({action:{namespace:s,name:w,workflowType:S,workflowId:C,taskQueue:y},spec:{hour:k,minute:b,second:v,phase:P,cronString:x},presets:{preset:o,daysOfWeek:O,daysOfMonth:j,months:D,days:q}})}]}class B extends ${constructor(t){super(),g(this,t,A,z,d,{})}}function G(a){let t,n,e,s;return t=new W({props:{title:`Create Schedule | ${a[1]}`,url:a[0].url.href}}),e=new B({}),{c(){m(t.$$.fragment),n=F(),m(e.$$.fragment)},l(r){p(t.$$.fragment,r),n=I(r),p(e.$$.fragment,r)},m(r,o){f(t,r,o),L(r,n,o),f(e,r,o),s=!0},p(r,[o]){const c={};o&1&&(c.url=r[0].url.href),t.$set(c)},i(r){s||(i(t.$$.fragment,r),i(e.$$.fragment,r),s=!0)},o(r){u(t.$$.fragment,r),u(e.$$.fragment,r),s=!1},d(r){l(t,r),r&&M(n),l(e,r)}}}function H(a,t,n){let e;_(a,h,r=>n(0,e=r));const s=e.params.namespace;return[e,s]}class Z extends ${constructor(t){super(),g(this,t,H,G,d,{})}}export{Z as default}; +import{S as $,b as g,a as d,C as m,D as p,E as f,n as E,j as i,g as u,F as l,L as _,c as F,d as I,f as L,k as M}from"../chunks/index.d29c66be.js";import{p as h}from"../chunks/stores.8c019868.js";import{a as Q}from"../chunks/schedules.e00ba3db.js";import{S as T}from"../chunks/schedule-form-view.f2d04ca3.js";import{P as W}from"../chunks/page-title.ba38eecf.js";function z(a){let t,n;return t=new T({props:{onConfirm:a[0]}}),{c(){m(t.$$.fragment)},l(e){p(t.$$.fragment,e)},m(e,s){f(t,e,s),n=!0},p:E,i(e){n||(i(t.$$.fragment,e),n=!0)},o(e){u(t.$$.fragment,e),n=!1},d(e){l(t,e)}}}function A(a,t,n){let e;_(a,h,o=>n(1,e=o));let{namespace:s}=e.params;return[(o,c)=>{const{name:w,workflowType:S,workflowId:C,taskQueue:y,hour:k,minute:b,second:v,phase:P,cronString:x,daysOfWeek:O,daysOfMonth:j,days:q,months:D}=c;Q({action:{namespace:s,name:w,workflowType:S,workflowId:C,taskQueue:y},spec:{hour:k,minute:b,second:v,phase:P,cronString:x},presets:{preset:o,daysOfWeek:O,daysOfMonth:j,months:D,days:q}})}]}class B extends ${constructor(t){super(),g(this,t,A,z,d,{})}}function G(a){let t,n,e,s;return t=new W({props:{title:`Create Schedule | ${a[1]}`,url:a[0].url.href}}),e=new B({}),{c(){m(t.$$.fragment),n=F(),m(e.$$.fragment)},l(r){p(t.$$.fragment,r),n=I(r),p(e.$$.fragment,r)},m(r,o){f(t,r,o),L(r,n,o),f(e,r,o),s=!0},p(r,[o]){const c={};o&1&&(c.url=r[0].url.href),t.$set(c)},i(r){s||(i(t.$$.fragment,r),i(e.$$.fragment,r),s=!0)},o(r){u(t.$$.fragment,r),u(e.$$.fragment,r),s=!1},d(r){l(t,r),r&&M(n),l(e,r)}}}function H(a,t,n){let e;_(a,h,r=>n(0,e=r));const s=e.params.namespace;return[e,s]}class Z extends ${constructor(t){super(),g(this,t,H,G,d,{})}}export{Z as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-page.svelte.7f794d86.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-page.svelte.7f794d86.js deleted file mode 100644 index d5e3ec4153..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-page.svelte.7f794d86.js +++ /dev/null @@ -1 +0,0 @@ -import{S as ne,b as ae,a as oe,C as T,D as E,E as S,j as d,g as b,F as I,G as Oe,H as Ye,I as Ze,J as Ke,m as P,w as W,c as A,p as N,q as L,x as B,k as c,d as M,u as U,f as p,M as H,n as G,L as Q,y as X,z as Y,h as Z,a7 as ce,O as Re,P as Ce,A as Qe,Y as Xe,Z as ye,ar as Pe,e as O,as as st,_ as ue,at as rt}from"../chunks/index.d29c66be.js";import{p as me}from"../chunks/stores.b938c0e3.js";import{E as xe}from"../chunks/empty-state.bf113865.js";import{P as nt}from"../chunks/pagination.15ad2803.js";import{B as et}from"../chunks/button.e7112b29.js";import{B as at}from"../chunks/badge.2c189bf4.js";import{L as ot}from"../chunks/loading.9b5a6a67.js";import{I as ft}from"../chunks/input.0adb9ec6.js";import{g as Ne}from"../chunks/navigation.9ceca11e.js";import{o as ut,f as Le,p as qe}from"../chunks/route-for.b4518ba8.js";import{S as it,f as ct}from"../chunks/schedule-frequency.c1093480.js";import{T as $t,a as mt}from"../chunks/table-header-row.a7bab5a4.js";import{t as re}from"../chunks/time-format.6ef667eb.js";import{f as fe}from"../chunks/format-date.100c5f23.js";import{W as _t}from"../chunks/workflow-status.ddd088c4.js";import{L as $e}from"../chunks/link.d5f6f19e.js";import{T as tt}from"../chunks/table-row.4a68a50d.js";import{c as Fe}from"../chunks/format-camel-case.960a78f9.js";import{I as pt}from"../chunks/icon.5aa23970.js";import{M as dt,a as ht,b as gt,c as ie}from"../chunks/menu-item.be414f05.js";import{c as bt}from"../chunks/core-user.faf7a38e.js";import{P as wt}from"../chunks/page-title.ba38eecf.js";function kt(n){let e;const l=n[0].default,t=Oe(l,n,n[1],null);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,r){t&&t.m(s,r),e=!0},p(s,r){t&&t.p&&(!e||r&2)&&Ye(t,l,s,s[1],e?Ke(l,s[1],r,null):Ze(s[1]),null)},i(s){e||(d(t,s),e=!0)},o(s){b(t,s),e=!1},d(s){t&&t.d(s)}}}function vt(n){let e,l,t,s,r,u,a,o,f,i,$,h,v,w;return{c(){e=P("th"),l=W("Status"),t=A(),s=P("th"),r=W("Schedule Name"),u=A(),a=P("th"),o=W("Workflow Type"),f=A(),i=P("th"),$=W("Recent Runs"),h=A(),v=P("th"),w=W("Upcoming Runs"),this.h()},l(_){e=N(_,"TH",{class:!0});var g=L(e);l=B(g,"Status"),g.forEach(c),t=M(_),s=N(_,"TH",{class:!0});var k=L(s);r=B(k,"Schedule Name"),k.forEach(c),u=M(_),a=N(_,"TH",{class:!0});var q=L(a);o=B(q,"Workflow Type"),q.forEach(c),f=M(_),i=N(_,"TH",{class:!0});var C=L(i);$=B(C,"Recent Runs"),C.forEach(c),h=M(_),v=N(_,"TH",{class:!0});var V=L(v);w=B(V,"Upcoming Runs"),V.forEach(c),this.h()},h(){U(e,"class","w-28"),U(s,"class","md:w-80 xl:w-auto"),U(a,"class","w-60 max-md:hidden xl:w-80"),U(i,"class","w-56 max-xl:hidden"),U(v,"class","w-56 max-xl:hidden")},m(_,g){p(_,e,g),H(e,l),p(_,t,g),p(_,s,g),H(s,r),p(_,u,g),p(_,a,g),H(a,o),p(_,f,g),p(_,i,g),H(i,$),p(_,h,g),p(_,v,g),H(v,w)},p:G,d(_){_&&c(e),_&&c(t),_&&c(s),_&&c(u),_&&c(a),_&&c(f),_&&c(i),_&&c(h),_&&c(v)}}}function Tt(n){let e,l;return e=new mt({props:{slot:"headers",$$slots:{default:[vt]},$$scope:{ctx:n}}}),{c(){T(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,s){S(e,t,s),l=!0},p(t,s){const r={};s&2&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){l||(d(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){I(e,t)}}}function Et(n){let e,l;return e=new $t({props:{class:"table-fixed",$$slots:{headers:[Tt],default:[kt]},$$scope:{ctx:n}}}),{c(){T(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,s){S(e,t,s),l=!0},p(t,[s]){const r={};s&2&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){l||(d(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){I(e,t)}}}function St(n,e,l){let{$$slots:t={},$$scope:s}=e;return n.$$set=r=>{"$$scope"in r&&l(1,s=r.$$scope)},[t,s]}class It extends ne{constructor(e){super(),ae(this,e,St,Et,oe,{})}}function He(n,e,l){const t=n.slice();return t[12]=e[l],t}function We(n,e,l){const t=n.slice();return t[12]=e[l],t}function Dt(n){var t;let e=fe((t=n[12])==null?void 0:t.actualTime,n[2])+"",l;return{c(){l=W(e)},l(s){l=B(s,e)},m(s,r){p(s,l,r)},p(s,r){var u;r&5&&e!==(e=fe((u=s[12])==null?void 0:u.actualTime,s[2])+"")&&X(l,e)},d(s){s&&c(l)}}}function Be(n){var r,u,a,o;let e,l,t,s;return l=new $e({props:{href:Le({namespace:n[3],workflow:(u=(r=n[12])==null?void 0:r.startWorkflowResult)==null?void 0:u.workflowId,run:(o=(a=n[12])==null?void 0:a.startWorkflowResult)==null?void 0:o.runId}),$$slots:{default:[Dt]},$$scope:{ctx:n}}}),{c(){e=P("p"),T(l.$$.fragment),t=A()},l(f){e=N(f,"P",{});var i=L(e);E(l.$$.fragment,i),t=M(i),i.forEach(c)},m(f,i){p(f,e,i),S(l,e,null),H(e,t),s=!0},p(f,i){var h,v,w,_;const $={};i&1&&($.href=Le({namespace:f[3],workflow:(v=(h=f[12])==null?void 0:h.startWorkflowResult)==null?void 0:v.workflowId,run:(_=(w=f[12])==null?void 0:w.startWorkflowResult)==null?void 0:_.runId})),i&131077&&($.$$scope={dirty:i,ctx:f}),l.$set($)},i(f){s||(d(l.$$.fragment,f),s=!0)},o(f){b(l.$$.fragment,f),s=!1},d(f){f&&c(e),I(l)}}}function Ue(n){let e,l=fe(n[12],n[2],"from now")+"",t;return{c(){e=P("div"),t=W(l)},l(s){e=N(s,"DIV",{});var r=L(e);t=B(r,l),r.forEach(c)},m(s,r){p(s,e,r),H(e,t)},p(s,r){r&5&&l!==(l=fe(s[12],s[2],"from now")+"")&&X(t,l)},d(s){s&&c(e)}}}function Rt(n){var _e,pe,de,he,ge,be,we,ke,ve,Te;let e,l,t,s,r,u=n[0].scheduleId+"",a,o,f,i,$,h,v=(((de=(pe=(_e=n[0])==null?void 0:_e.info)==null?void 0:pe.workflowType)==null?void 0:de.name)??"")+"",w,_,g,k,q,C;l=new _t({props:{status:(ge=(he=n[0])==null?void 0:he.info)!=null&&ge.paused?"Paused":"Running"}}),i=new it({props:{calendar:n[4],interval:n[5],class:"text-sm"}});let V=n[6]((we=(be=n[0])==null?void 0:be.info)==null?void 0:we.recentActions),F=[];for(let m=0;mb(F[m],1,1,()=>{F[m]=null});let K=((Te=(ve=(ke=n[0])==null?void 0:ke.info)==null?void 0:ve.futureActionTimes)==null?void 0:Te.slice(0,5))??[],j=[];for(let m=0;ml(10,s=_)),Q(n,re,_=>l(2,r=_));var u,a,o;let{namespace:f}=s.params,{schedule:i}=e;const $=(u=i==null?void 0:i.info)===null||u===void 0?void 0:u.spec,h=(a=$==null?void 0:$.structuredCalendar)===null||a===void 0?void 0:a[0],v=(o=$==null?void 0:$.interval)===null||o===void 0?void 0:o[0],w=_=>{var g;return(g=_==null?void 0:_.sort((k,q)=>new Date(q.actualTime).getTime()-new Date(k.actualTime).getTime()).slice(0,5))!==null&&g!==void 0?g:[]};return n.$$set=_=>{"schedule"in _&&l(0,i=_.schedule)},n.$$.update=()=>{n.$$.dirty&1&&l(1,t=ut({namespace:f,scheduleId:i==null?void 0:i.scheduleId}))},[i,t,r,f,h,v,w]}class Nt extends ne{constructor(e){super(),ae(this,e,Pt,Ct,oe,{schedule:0})}}function Ae(n){let e,l,t;return l=new pt({props:{name:n[2]}}),{c(){e=P("div"),T(l.$$.fragment),this.h()},l(s){e=N(s,"DIV",{class:!0});var r=L(e);E(l.$$.fragment,r),r.forEach(c),this.h()},h(){U(e,"class","ml-2 flex items-center")},m(s,r){p(s,e,r),S(l,e,null),t=!0},p(s,r){const u={};r&4&&(u.name=s[2]),l.$set(u)},i(s){t||(d(l.$$.fragment,s),t=!0)},o(s){b(l.$$.fragment,s),t=!1},d(s){s&&c(e),I(l)}}}function Lt(n){let e,l,t,s,r=n[2]&&Ae(n);return{c(){r&&r.c(),e=A(),l=P("span"),t=W(n[0]),this.h()},l(u){r&&r.l(u),e=M(u),l=N(u,"SPAN",{class:!0});var a=L(l);t=B(a,n[0]),a.forEach(c),this.h()},h(){U(l,"class","ml-2 mr-8")},m(u,a){r&&r.m(u,a),p(u,e,a),p(u,l,a),H(l,t),s=!0},p(u,a){u[2]?r?(r.p(u,a),a&4&&d(r,1)):(r=Ae(u),r.c(),d(r,1),r.m(e.parentNode,e)):r&&(Y(),b(r,1,1,()=>{r=null}),Z()),(!s||a&1)&&X(t,u[0])},i(u){s||(d(r),s=!0)},o(u){b(r),s=!1},d(u){r&&r.d(u),u&&c(e),u&&c(l)}}}function qt(n){let e;const l=n[6].default,t=Oe(l,n,n[8],null);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,r){t&&t.m(s,r),e=!0},p(s,r){t&&t.p&&(!e||r&256)&&Ye(t,l,s,s[8],e?Ke(l,s[8],r,null):Ze(s[8]),null)},i(s){e||(d(t,s),e=!0)},o(s){b(t,s),e=!1},d(s){t&&t.d(s)}}}function Ft(n){let e,l,t,s,r;function u(o){n[7](o)}let a={class:"flex flex-row items-center rounded-lg border border-gray-900 bg-white p-2",controls:n[1],disabled:n[3],hasIndicator:!n[3],$$slots:{default:[Lt]},$$scope:{ctx:n}};return n[4]!==void 0&&(a.show=n[4]),e=new ht({props:a}),Qe.push(()=>Xe(e,"show",u)),s=new gt({props:{class:"min-w-max",id:n[1],show:n[4],$$slots:{default:[qt]},$$scope:{ctx:n}}}),{c(){T(e.$$.fragment),t=A(),T(s.$$.fragment)},l(o){E(e.$$.fragment,o),t=M(o),E(s.$$.fragment,o)},m(o,f){S(e,o,f),p(o,t,f),S(s,o,f),r=!0},p(o,f){const i={};f&2&&(i.controls=o[1]),f&8&&(i.disabled=o[3]),f&8&&(i.hasIndicator=!o[3]),f&261&&(i.$$scope={dirty:f,ctx:o}),!l&&f&16&&(l=!0,i.show=o[4],ye(()=>l=!1)),e.$set(i);const $={};f&2&&($.id=o[1]),f&16&&($.show=o[4]),f&256&&($.$$scope={dirty:f,ctx:o}),s.$set($)},i(o){r||(d(e.$$.fragment,o),d(s.$$.fragment,o),r=!0)},o(o){b(e.$$.fragment,o),b(s.$$.fragment,o),r=!1},d(o){I(e,o),o&&c(t),I(s,o)}}}function Ht(n){let e,l;return e=new dt({props:{class:n[5].class,$$slots:{default:[Ft]},$$scope:{ctx:n}}}),{c(){T(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,s){S(e,t,s),l=!0},p(t,[s]){const r={};s&32&&(r.class=t[5].class),s&287&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){l||(d(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){I(e,t)}}}function Wt(n,e,l){let{$$slots:t={},$$scope:s}=e,{label:r}=e,{id:u}=e,{icon:a=null}=e,{readonly:o=!1}=e,f=!1;function i($){f=$,l(4,f)}return n.$$set=$=>{l(5,e=Re(Re({},e),Ce($))),"label"in $&&l(0,r=$.label),"id"in $&&l(1,u=$.id),"icon"in $&&l(2,a=$.icon),"readonly"in $&&l(3,o=$.readonly),"$$scope"in $&&l(8,s=$.$$scope)},e=Ce(e),[r,u,a,o,f,e,t,i,s]}class Bt extends ne{constructor(e){super(),ae(this,e,Wt,Ht,oe,{label:0,id:1,icon:2,readonly:3})}}const{Boolean:Ut}=rt;function Me(n){n[16]=n[18].schedules,n[17]=n[18].error}function Ve(n,e,l){const t=n.slice();return t[20]=e[l],t}function At(n){let e;return{c(){e=W("Preview")},l(l){e=B(l,"Preview")},m(l,t){p(l,e,t)},d(l){l&&c(e)}}}function je(n){let e,l;return e=new et({props:{class:"h-10",testId:"create-schedule",disabled:n[4],$$slots:{default:[Mt]},$$scope:{ctx:n}}}),e.$on("click",n[10]),{c(){T(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,s){S(e,t,s),l=!0},p(t,s){const r={};s&16&&(r.disabled=t[4]),s&8388608&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){l||(d(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){I(e,t)}}}function Mt(n){let e;return{c(){e=W("Create Schedule")},l(l){e=B(l,"Create Schedule")},m(l,t){p(l,e,t)},d(l){l&&c(e)}}}function Vt(n){return{c:G,l:G,m:G,p:G,i:G,o:G,d:G}}function jt(n){Me(n);let e,l,t,s;const r=[Gt,zt],u=[];function a(o,f){var i;return(i=o[16])!=null&&i.length?0:1}return e=a(n),l=u[e]=r[e](n),{c(){l.c(),t=O()},l(o){l.l(o),t=O()},m(o,f){u[e].m(o,f),p(o,t,f),s=!0},p(o,f){Me(o);let i=e;e=a(o),e===i?u[e].p(o,f):(Y(),b(u[i],1,1,()=>{u[i]=null}),Z(),l=u[e],l?l.p(o,f):(l=u[e]=r[e](o),l.c()),d(l,1),l.m(t.parentNode,t))},i(o){s||(d(l),s=!0)},o(o){b(l),s=!1},d(o){u[e].d(o),o&&c(t)}}}function zt(n){let e,l,t;return l=new xe({props:{title:"No Schedules Found",error:n[17],$$slots:{default:[Zt]},$$scope:{ctx:n}}}),{c(){e=P("div"),T(l.$$.fragment),this.h()},l(s){e=N(s,"DIV",{class:!0});var r=L(e);E(l.$$.fragment,r),r.forEach(c),this.h()},h(){U(e,"class","my-12 flex flex-col items-center justify-start gap-2")},m(s,r){p(s,e,r),S(l,e,null),t=!0},p(s,r){const u={};r&32&&(u.error=s[17]),r&8388658&&(u.$$scope={dirty:r,ctx:s}),l.$set(u)},i(s){t||(d(l.$$.fragment,s),t=!0)},o(s){b(l.$$.fragment,s),t=!1},d(s){s&&c(e),I(l)}}}function Gt(n){let e,l;return e=new nt({props:{items:n[3](n[16]),"aria-label":"schedules",$$slots:{"action-top-right":[sl,({visibleItems:t})=>({19:t}),({visibleItems:t})=>t?524288:0],"action-top-left":[yt,({visibleItems:t})=>({19:t}),({visibleItems:t})=>t?524288:0],default:[Xt,({visibleItems:t})=>({19:t}),({visibleItems:t})=>t?524288:0]},$$scope:{ctx:n}}}),{c(){T(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,s){S(e,t,s),l=!0},p(t,s){const r={};s&40&&(r.items=t[3](t[16])),s&8912961&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){l||(d(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){I(e,t)}}}function Jt(n){let e;return{c(){e=W("docs")},l(l){e=B(l,"docs")},m(l,t){p(l,e,t)},d(l){l&&c(e)}}}function Ot(n){let e;return{c(){e=W("Temporal CLI")},l(l){e=B(l,"Temporal CLI")},m(l,t){p(l,e,t)},d(l){l&&c(e)}}}function ze(n){let e,l;return e=new et({props:{class:"mt-4",testId:"create-schedule",disabled:n[4],$$slots:{default:[Yt]},$$scope:{ctx:n}}}),e.$on("click",n[15]),{c(){T(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,s){S(e,t,s),l=!0},p(t,s){const r={};s&16&&(r.disabled=t[4]),s&8388608&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){l||(d(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){I(e,t)}}}function Yt(n){let e;return{c(){e=W("Create Schedule")},l(l){e=B(l,"Create Schedule")},m(l,t){p(l,e,t)},d(l){l&&c(e)}}}function Zt(n){let e,l,t,s,r,u,a,o,f;t=new $e({props:{target:"_external",href:"https://docs.temporal.io/workflows/#schedule",$$slots:{default:[Jt]},$$scope:{ctx:n}}}),r=new $e({props:{target:"_external",href:"https://docs.temporal.io/cli/schedule",$$slots:{default:[Ot]},$$scope:{ctx:n}}});let i=!n[17]&&ze(n);return{c(){e=P("p"),l=W("Go to "),T(t.$$.fragment),s=W(" or get started with "),T(r.$$.fragment),u=W("."),a=A(),i&&i.c(),o=O()},l($){e=N($,"P",{});var h=L(e);l=B(h,"Go to "),E(t.$$.fragment,h),s=B(h," or get started with "),E(r.$$.fragment,h),u=B(h,"."),h.forEach(c),a=M($),i&&i.l($),o=O()},m($,h){p($,e,h),H(e,l),S(t,e,null),H(e,s),S(r,e,null),H(e,u),p($,a,h),i&&i.m($,h),p($,o,h),f=!0},p($,h){const v={};h&8388608&&(v.$$scope={dirty:h,ctx:$}),t.$set(v);const w={};h&8388608&&(w.$$scope={dirty:h,ctx:$}),r.$set(w),$[17]?i&&(Y(),b(i,1,1,()=>{i=null}),Z()):i?(i.p($,h),h&32&&d(i,1)):(i=ze($),i.c(),d(i,1),i.m(o.parentNode,o))},i($){f||(d(t.$$.fragment,$),d(r.$$.fragment,$),d(i),f=!0)},o($){b(t.$$.fragment,$),b(r.$$.fragment,$),b(i),f=!1},d($){$&&c(e),I(t),I(r),$&&c(a),i&&i.d($),$&&c(o)}}}function Ge(n){let e,l;return e=new tt({props:{$$slots:{default:[Kt]},$$scope:{ctx:n}}}),{c(){T(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,s){S(e,t,s),l=!0},p(t,s){const r={};s&8388608&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){l||(d(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){I(e,t)}}}function Kt(n){let e,l,t,s,r,u,a,o;return s=new xe({props:{title:"No Schedules Found",content:"Try a different search"}}),{c(){e=P("td"),l=A(),t=P("td"),T(s.$$.fragment),r=A(),u=P("td"),a=A(),this.h()},l(f){e=N(f,"TD",{class:!0}),L(e).forEach(c),l=M(f),t=N(f,"TD",{colspan:!0});var i=L(t);E(s.$$.fragment,i),i.forEach(c),r=M(f),u=N(f,"TD",{class:!0}),L(u).forEach(c),a=M(f),this.h()},h(){U(e,"class","hidden xl:table-cell"),U(t,"colspan","3"),U(u,"class","hidden xl:table-cell")},m(f,i){p(f,e,i),p(f,l,i),p(f,t,i),S(s,t,null),p(f,r,i),p(f,u,i),p(f,a,i),o=!0},p:G,i(f){o||(d(s.$$.fragment,f),o=!0)},o(f){b(s.$$.fragment,f),o=!1},d(f){f&&c(e),f&&c(l),f&&c(t),I(s),f&&c(r),f&&c(u),f&&c(a)}}}function Je(n){let e,l;return e=new Nt({props:{schedule:n[20]}}),{c(){T(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,s){S(e,t,s),l=!0},p(t,s){const r={};s&524288&&(r.schedule=t[20]),e.$set(r)},i(t){l||(d(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){I(e,t)}}}function Qt(n){let e,l,t=n[19],s=[];for(let a=0;ab(s[a],1,1,()=>{s[a]=null});let u=null;return t.length||(u=Ge(n)),{c(){for(let a=0;a{u=null}),Z()):(u=Ge(a),u.c(),d(u,1),u.m(e.parentNode,e))}},i(a){if(!l){for(let o=0;oXe(l,"value",r)),l.$on("submit",G),{c(){e=P("div"),T(l.$$.fragment),this.h()},l(a){e=N(a,"DIV",{class:!0});var o=L(e);E(l.$$.fragment,o),o.forEach(c),this.h()},h(){U(e,"class","w-full xl:w-1/2")},m(a,o){p(a,e,o),S(l,e,null),s=!0},p(a,o){const f={};!t&&o&1&&(t=!0,f.value=a[0],ye(()=>t=!1)),l.$set(f)},i(a){s||(d(l.$$.fragment,a),s=!0)},o(a){b(l.$$.fragment,a),s=!1},d(a){a&&c(e),I(l)}}}function xt(n){let e;return{c(){e=W("Relative")},l(l){e=B(l,"Relative")},m(l,t){p(l,e,t)},d(l){l&&c(e)}}}function el(n){let e;return{c(){e=W("UTC")},l(l){e=B(l,"UTC")},m(l,t){p(l,e,t)},d(l){l&&c(e)}}}function tl(n){let e;return{c(){e=W("Local")},l(l){e=B(l,"Local")},m(l,t){p(l,e,t)},d(l){l&&c(e)}}}function ll(n){let e,l,t,s,r,u;return e=new ie({props:{$$slots:{default:[xt]},$$scope:{ctx:n}}}),e.$on("click",n[11]),t=new ie({props:{$$slots:{default:[el]},$$scope:{ctx:n}}}),t.$on("click",n[12]),r=new ie({props:{$$slots:{default:[tl]},$$scope:{ctx:n}}}),r.$on("click",n[13]),{c(){T(e.$$.fragment),l=A(),T(t.$$.fragment),s=A(),T(r.$$.fragment)},l(a){E(e.$$.fragment,a),l=M(a),E(t.$$.fragment,a),s=M(a),E(r.$$.fragment,a)},m(a,o){S(e,a,o),p(a,l,o),S(t,a,o),p(a,s,o),S(r,a,o),u=!0},p(a,o){const f={};o&8388608&&(f.$$scope={dirty:o,ctx:a}),e.$set(f);const i={};o&8388608&&(i.$$scope={dirty:o,ctx:a}),t.$set(i);const $={};o&8388608&&($.$$scope={dirty:o,ctx:a}),r.$set($)},i(a){u||(d(e.$$.fragment,a),d(t.$$.fragment,a),d(r.$$.fragment,a),u=!0)},o(a){b(e.$$.fragment,a),b(t.$$.fragment,a),b(r.$$.fragment,a),u=!1},d(a){I(e,a),a&&c(l),I(t,a),a&&c(s),I(r,a)}}}function sl(n){let e,l;return e=new Bt({props:{id:"timezone",label:Fe(n[6]),icon:"clock",$$slots:{default:[ll]},$$scope:{ctx:n}}}),{c(){T(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,s){S(e,t,s),l=!0},p(t,s){const r={};s&64&&(r.label=Fe(t[6])),s&8388672&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){l||(d(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){I(e,t)}}}function rl(n){let e,l;return e=new ot({}),{c(){T(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,s){S(e,t,s),l=!0},p:G,i(t){l||(d(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){I(e,t)}}}function nl(n){let e,l,t,s,r,u,a,o,f,i,$,h,v;r=new at({props:{type:"beta",$$slots:{default:[At]},$$scope:{ctx:n}}});let w=n[2]&&je(n),_={ctx:n,current:null,token:null,hasCatch:!1,pending:rl,then:jt,catch:Vt,value:18,blocks:[,,,]};return Pe(h=n[5],_),{c(){e=P("header"),l=P("div"),t=P("h1"),s=W("Schedules"),T(r.$$.fragment),u=A(),a=P("p"),o=W(n[1]),f=A(),w&&w.c(),i=A(),$=O(),_.block.c(),this.h()},l(g){e=N(g,"HEADER",{class:!0});var k=L(e);l=N(k,"DIV",{});var q=L(l);t=N(q,"H1",{class:!0});var C=L(t);s=B(C,"Schedules"),E(r.$$.fragment,C),C.forEach(c),u=M(q),a=N(q,"P",{class:!0,"data-testid":!0});var V=L(a);o=B(V,n[1]),V.forEach(c),q.forEach(c),f=M(k),w&&w.l(k),k.forEach(c),i=M(g),$=O(),_.block.l(g),this.h()},h(){U(t,"class","flex items-center gap-2 text-2xl"),U(a,"class","text-sm text-gray-600"),U(a,"data-testid","namespace-name"),U(e,"class","flex flex-col justify-between gap-2 md:flex-row")},m(g,k){p(g,e,k),H(e,l),H(l,t),H(t,s),S(r,t,null),H(l,u),H(l,a),H(a,o),H(e,f),w&&w.m(e,null),p(g,i,k),p(g,$,k),_.block.m(g,_.anchor=k),_.mount=()=>$.parentNode,_.anchor=$,v=!0},p(g,[k]){n=g;const q={};k&8388608&&(q.$$scope={dirty:k,ctx:n}),r.$set(q),(!v||k&2)&&X(o,n[1]),n[2]?w?(w.p(n,k),k&4&&d(w,1)):(w=je(n),w.c(),d(w,1),w.m(e,null)):w&&(Y(),b(w,1,1,()=>{w=null}),Z()),_.ctx=n,k&32&&h!==(h=n[5])&&Pe(h,_)||st(_,n,k)},i(g){v||(d(r.$$.fragment,g),d(w),d(_.block),v=!0)},o(g){b(r.$$.fragment,g),b(w);for(let k=0;k<3;k+=1){const q=_.blocks[k];b(q)}v=!1},d(g){g&&c(e),I(r),w&&w.d(),g&&c(i),g&&c($),_.block.d(g),_.token=null,_=null}}}function al(n,e,l){let t,s,r,u,a,o,f;Q(n,me,C=>l(9,o=C)),Q(n,re,C=>l(6,f=C));let i=!0,$=bt();Q(n,$,C=>l(8,a=C));let h="";const v=()=>Ne(qe({namespace:t})),w=()=>ue(re,f="relative",f),_=()=>ue(re,f="UTC",f),g=()=>ue(re,f="local",f);function k(C){h=C,l(0,h)}const q=()=>Ne(qe({namespace:t}));return n.$$.update=()=>{n.$$.dirty&512&&l(1,t=o.params.namespace),n.$$.dirty&2&&l(5,s=ct(t).then(C=>{const{schedules:V}=C;return l(2,i=Boolean(V==null?void 0:V.length)),C})),n.$$.dirty&258&&l(4,r=a.namespaceWriteDisabled(t)),n.$$.dirty&1&&l(3,u=C=>h?C.filter(V=>V.scheduleId.toLowerCase().includes(h.toLowerCase())):C)},[h,t,i,u,r,s,f,$,a,o,v,w,_,g,k,q]}class ol extends ne{constructor(e){super(),ae(this,e,al,nl,oe,{})}}function fl(n){let e,l,t,s;return e=new wt({props:{title:`Schedules | ${n[0].params.namespace}`,url:n[0].url.href}}),t=new ol({}),{c(){T(e.$$.fragment),l=A(),T(t.$$.fragment)},l(r){E(e.$$.fragment,r),l=M(r),E(t.$$.fragment,r)},m(r,u){S(e,r,u),p(r,l,u),S(t,r,u),s=!0},p(r,[u]){const a={};u&1&&(a.title=`Schedules | ${r[0].params.namespace}`),u&1&&(a.url=r[0].url.href),e.$set(a)},i(r){s||(d(e.$$.fragment,r),d(t.$$.fragment,r),s=!0)},o(r){b(e.$$.fragment,r),b(t.$$.fragment,r),s=!1},d(r){I(e,r),r&&c(l),I(t,r)}}}function ul(n,e,l){let t;return Q(n,me,s=>l(0,t=s)),[t]}class Ll extends ne{constructor(e){super(),ae(this,e,ul,fl,oe,{})}}export{Ll as default}; diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-page.svelte.1302979b.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-page.svelte.d643b96f.js similarity index 98% rename from ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-page.svelte.1302979b.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-page.svelte.d643b96f.js index 4a2445f616..94b5b0e5d5 100644 --- a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-page.svelte.1302979b.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-page.svelte.d643b96f.js @@ -1 +1 @@ -import{S as ne,b as ae,a as oe,C as T,D as E,E as S,j as d,g as b,F as I,G as Oe,H as Ye,I as Ze,J as Ke,m as P,w as W,c as A,p as N,q as L,x as B,k as c,d as M,u as U,f as p,M as H,n as G,L as Q,y as X,z as Y,h as Z,a7 as ce,O as Re,P as Ce,A as Qe,Y as Xe,Z as ye,ar as Pe,e as O,as as st,_ as ue,at as rt}from"../chunks/index.d29c66be.js";import{p as me}from"../chunks/stores.1f7fa6eb.js";import{E as xe}from"../chunks/empty-state.bf113865.js";import{P as nt}from"../chunks/pagination.c0661e6a.js";import{B as et}from"../chunks/button.e7112b29.js";import{B as at}from"../chunks/badge.2c189bf4.js";import{L as ot}from"../chunks/loading.9b5a6a67.js";import{I as ft}from"../chunks/input.0adb9ec6.js";import{g as Ne}from"../chunks/navigation.529c81bc.js";import{o as ut,f as Le,p as qe}from"../chunks/route-for.5e008fb6.js";import{S as it,f as ct}from"../chunks/schedule-frequency.0254bcb6.js";import{T as $t,a as mt}from"../chunks/table-header-row.a7bab5a4.js";import{t as re}from"../chunks/time-format.6ef667eb.js";import{f as fe}from"../chunks/format-date.100c5f23.js";import{W as _t}from"../chunks/workflow-status.688af89a.js";import{L as $e}from"../chunks/link.d5f6f19e.js";import{T as tt}from"../chunks/table-row.4a68a50d.js";import{c as Fe}from"../chunks/format-camel-case.960a78f9.js";import{I as pt}from"../chunks/icon.5aa23970.js";import{M as dt,a as ht,b as gt,c as ie}from"../chunks/menu-item.be414f05.js";import{c as bt}from"../chunks/core-user.faf7a38e.js";import{P as wt}from"../chunks/page-title.ba38eecf.js";function kt(n){let e;const l=n[0].default,t=Oe(l,n,n[1],null);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,r){t&&t.m(s,r),e=!0},p(s,r){t&&t.p&&(!e||r&2)&&Ye(t,l,s,s[1],e?Ke(l,s[1],r,null):Ze(s[1]),null)},i(s){e||(d(t,s),e=!0)},o(s){b(t,s),e=!1},d(s){t&&t.d(s)}}}function vt(n){let e,l,t,s,r,u,a,o,f,i,$,h,v,w;return{c(){e=P("th"),l=W("Status"),t=A(),s=P("th"),r=W("Schedule Name"),u=A(),a=P("th"),o=W("Workflow Type"),f=A(),i=P("th"),$=W("Recent Runs"),h=A(),v=P("th"),w=W("Upcoming Runs"),this.h()},l(_){e=N(_,"TH",{class:!0});var g=L(e);l=B(g,"Status"),g.forEach(c),t=M(_),s=N(_,"TH",{class:!0});var k=L(s);r=B(k,"Schedule Name"),k.forEach(c),u=M(_),a=N(_,"TH",{class:!0});var q=L(a);o=B(q,"Workflow Type"),q.forEach(c),f=M(_),i=N(_,"TH",{class:!0});var C=L(i);$=B(C,"Recent Runs"),C.forEach(c),h=M(_),v=N(_,"TH",{class:!0});var V=L(v);w=B(V,"Upcoming Runs"),V.forEach(c),this.h()},h(){U(e,"class","w-28"),U(s,"class","md:w-80 xl:w-auto"),U(a,"class","w-60 max-md:hidden xl:w-80"),U(i,"class","w-56 max-xl:hidden"),U(v,"class","w-56 max-xl:hidden")},m(_,g){p(_,e,g),H(e,l),p(_,t,g),p(_,s,g),H(s,r),p(_,u,g),p(_,a,g),H(a,o),p(_,f,g),p(_,i,g),H(i,$),p(_,h,g),p(_,v,g),H(v,w)},p:G,d(_){_&&c(e),_&&c(t),_&&c(s),_&&c(u),_&&c(a),_&&c(f),_&&c(i),_&&c(h),_&&c(v)}}}function Tt(n){let e,l;return e=new mt({props:{slot:"headers",$$slots:{default:[vt]},$$scope:{ctx:n}}}),{c(){T(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,s){S(e,t,s),l=!0},p(t,s){const r={};s&2&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){l||(d(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){I(e,t)}}}function Et(n){let e,l;return e=new $t({props:{class:"table-fixed",$$slots:{headers:[Tt],default:[kt]},$$scope:{ctx:n}}}),{c(){T(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,s){S(e,t,s),l=!0},p(t,[s]){const r={};s&2&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){l||(d(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){I(e,t)}}}function St(n,e,l){let{$$slots:t={},$$scope:s}=e;return n.$$set=r=>{"$$scope"in r&&l(1,s=r.$$scope)},[t,s]}class It extends ne{constructor(e){super(),ae(this,e,St,Et,oe,{})}}function He(n,e,l){const t=n.slice();return t[12]=e[l],t}function We(n,e,l){const t=n.slice();return t[12]=e[l],t}function Dt(n){var t;let e=fe((t=n[12])==null?void 0:t.actualTime,n[2])+"",l;return{c(){l=W(e)},l(s){l=B(s,e)},m(s,r){p(s,l,r)},p(s,r){var u;r&5&&e!==(e=fe((u=s[12])==null?void 0:u.actualTime,s[2])+"")&&X(l,e)},d(s){s&&c(l)}}}function Be(n){var r,u,a,o;let e,l,t,s;return l=new $e({props:{href:Le({namespace:n[3],workflow:(u=(r=n[12])==null?void 0:r.startWorkflowResult)==null?void 0:u.workflowId,run:(o=(a=n[12])==null?void 0:a.startWorkflowResult)==null?void 0:o.runId}),$$slots:{default:[Dt]},$$scope:{ctx:n}}}),{c(){e=P("p"),T(l.$$.fragment),t=A()},l(f){e=N(f,"P",{});var i=L(e);E(l.$$.fragment,i),t=M(i),i.forEach(c)},m(f,i){p(f,e,i),S(l,e,null),H(e,t),s=!0},p(f,i){var h,v,w,_;const $={};i&1&&($.href=Le({namespace:f[3],workflow:(v=(h=f[12])==null?void 0:h.startWorkflowResult)==null?void 0:v.workflowId,run:(_=(w=f[12])==null?void 0:w.startWorkflowResult)==null?void 0:_.runId})),i&131077&&($.$$scope={dirty:i,ctx:f}),l.$set($)},i(f){s||(d(l.$$.fragment,f),s=!0)},o(f){b(l.$$.fragment,f),s=!1},d(f){f&&c(e),I(l)}}}function Ue(n){let e,l=fe(n[12],n[2],"from now")+"",t;return{c(){e=P("div"),t=W(l)},l(s){e=N(s,"DIV",{});var r=L(e);t=B(r,l),r.forEach(c)},m(s,r){p(s,e,r),H(e,t)},p(s,r){r&5&&l!==(l=fe(s[12],s[2],"from now")+"")&&X(t,l)},d(s){s&&c(e)}}}function Rt(n){var _e,pe,de,he,ge,be,we,ke,ve,Te;let e,l,t,s,r,u=n[0].scheduleId+"",a,o,f,i,$,h,v=(((de=(pe=(_e=n[0])==null?void 0:_e.info)==null?void 0:pe.workflowType)==null?void 0:de.name)??"")+"",w,_,g,k,q,C;l=new _t({props:{status:(ge=(he=n[0])==null?void 0:he.info)!=null&&ge.paused?"Paused":"Running"}}),i=new it({props:{calendar:n[4],interval:n[5],class:"text-sm"}});let V=n[6]((we=(be=n[0])==null?void 0:be.info)==null?void 0:we.recentActions),F=[];for(let m=0;mb(F[m],1,1,()=>{F[m]=null});let K=((Te=(ve=(ke=n[0])==null?void 0:ke.info)==null?void 0:ve.futureActionTimes)==null?void 0:Te.slice(0,5))??[],j=[];for(let m=0;ml(10,s=_)),Q(n,re,_=>l(2,r=_));var u,a,o;let{namespace:f}=s.params,{schedule:i}=e;const $=(u=i==null?void 0:i.info)===null||u===void 0?void 0:u.spec,h=(a=$==null?void 0:$.structuredCalendar)===null||a===void 0?void 0:a[0],v=(o=$==null?void 0:$.interval)===null||o===void 0?void 0:o[0],w=_=>{var g;return(g=_==null?void 0:_.sort((k,q)=>new Date(q.actualTime).getTime()-new Date(k.actualTime).getTime()).slice(0,5))!==null&&g!==void 0?g:[]};return n.$$set=_=>{"schedule"in _&&l(0,i=_.schedule)},n.$$.update=()=>{n.$$.dirty&1&&l(1,t=ut({namespace:f,scheduleId:i==null?void 0:i.scheduleId}))},[i,t,r,f,h,v,w]}class Nt extends ne{constructor(e){super(),ae(this,e,Pt,Ct,oe,{schedule:0})}}function Ae(n){let e,l,t;return l=new pt({props:{name:n[2]}}),{c(){e=P("div"),T(l.$$.fragment),this.h()},l(s){e=N(s,"DIV",{class:!0});var r=L(e);E(l.$$.fragment,r),r.forEach(c),this.h()},h(){U(e,"class","ml-2 flex items-center")},m(s,r){p(s,e,r),S(l,e,null),t=!0},p(s,r){const u={};r&4&&(u.name=s[2]),l.$set(u)},i(s){t||(d(l.$$.fragment,s),t=!0)},o(s){b(l.$$.fragment,s),t=!1},d(s){s&&c(e),I(l)}}}function Lt(n){let e,l,t,s,r=n[2]&&Ae(n);return{c(){r&&r.c(),e=A(),l=P("span"),t=W(n[0]),this.h()},l(u){r&&r.l(u),e=M(u),l=N(u,"SPAN",{class:!0});var a=L(l);t=B(a,n[0]),a.forEach(c),this.h()},h(){U(l,"class","ml-2 mr-8")},m(u,a){r&&r.m(u,a),p(u,e,a),p(u,l,a),H(l,t),s=!0},p(u,a){u[2]?r?(r.p(u,a),a&4&&d(r,1)):(r=Ae(u),r.c(),d(r,1),r.m(e.parentNode,e)):r&&(Y(),b(r,1,1,()=>{r=null}),Z()),(!s||a&1)&&X(t,u[0])},i(u){s||(d(r),s=!0)},o(u){b(r),s=!1},d(u){r&&r.d(u),u&&c(e),u&&c(l)}}}function qt(n){let e;const l=n[6].default,t=Oe(l,n,n[8],null);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,r){t&&t.m(s,r),e=!0},p(s,r){t&&t.p&&(!e||r&256)&&Ye(t,l,s,s[8],e?Ke(l,s[8],r,null):Ze(s[8]),null)},i(s){e||(d(t,s),e=!0)},o(s){b(t,s),e=!1},d(s){t&&t.d(s)}}}function Ft(n){let e,l,t,s,r;function u(o){n[7](o)}let a={class:"flex flex-row items-center rounded-lg border border-gray-900 bg-white p-2",controls:n[1],disabled:n[3],hasIndicator:!n[3],$$slots:{default:[Lt]},$$scope:{ctx:n}};return n[4]!==void 0&&(a.show=n[4]),e=new ht({props:a}),Qe.push(()=>Xe(e,"show",u)),s=new gt({props:{class:"min-w-max",id:n[1],show:n[4],$$slots:{default:[qt]},$$scope:{ctx:n}}}),{c(){T(e.$$.fragment),t=A(),T(s.$$.fragment)},l(o){E(e.$$.fragment,o),t=M(o),E(s.$$.fragment,o)},m(o,f){S(e,o,f),p(o,t,f),S(s,o,f),r=!0},p(o,f){const i={};f&2&&(i.controls=o[1]),f&8&&(i.disabled=o[3]),f&8&&(i.hasIndicator=!o[3]),f&261&&(i.$$scope={dirty:f,ctx:o}),!l&&f&16&&(l=!0,i.show=o[4],ye(()=>l=!1)),e.$set(i);const $={};f&2&&($.id=o[1]),f&16&&($.show=o[4]),f&256&&($.$$scope={dirty:f,ctx:o}),s.$set($)},i(o){r||(d(e.$$.fragment,o),d(s.$$.fragment,o),r=!0)},o(o){b(e.$$.fragment,o),b(s.$$.fragment,o),r=!1},d(o){I(e,o),o&&c(t),I(s,o)}}}function Ht(n){let e,l;return e=new dt({props:{class:n[5].class,$$slots:{default:[Ft]},$$scope:{ctx:n}}}),{c(){T(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,s){S(e,t,s),l=!0},p(t,[s]){const r={};s&32&&(r.class=t[5].class),s&287&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){l||(d(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){I(e,t)}}}function Wt(n,e,l){let{$$slots:t={},$$scope:s}=e,{label:r}=e,{id:u}=e,{icon:a=null}=e,{readonly:o=!1}=e,f=!1;function i($){f=$,l(4,f)}return n.$$set=$=>{l(5,e=Re(Re({},e),Ce($))),"label"in $&&l(0,r=$.label),"id"in $&&l(1,u=$.id),"icon"in $&&l(2,a=$.icon),"readonly"in $&&l(3,o=$.readonly),"$$scope"in $&&l(8,s=$.$$scope)},e=Ce(e),[r,u,a,o,f,e,t,i,s]}class Bt extends ne{constructor(e){super(),ae(this,e,Wt,Ht,oe,{label:0,id:1,icon:2,readonly:3})}}const{Boolean:Ut}=rt;function Me(n){n[16]=n[18].schedules,n[17]=n[18].error}function Ve(n,e,l){const t=n.slice();return t[20]=e[l],t}function At(n){let e;return{c(){e=W("Preview")},l(l){e=B(l,"Preview")},m(l,t){p(l,e,t)},d(l){l&&c(e)}}}function je(n){let e,l;return e=new et({props:{class:"h-10",testId:"create-schedule",disabled:n[4],$$slots:{default:[Mt]},$$scope:{ctx:n}}}),e.$on("click",n[10]),{c(){T(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,s){S(e,t,s),l=!0},p(t,s){const r={};s&16&&(r.disabled=t[4]),s&8388608&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){l||(d(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){I(e,t)}}}function Mt(n){let e;return{c(){e=W("Create Schedule")},l(l){e=B(l,"Create Schedule")},m(l,t){p(l,e,t)},d(l){l&&c(e)}}}function Vt(n){return{c:G,l:G,m:G,p:G,i:G,o:G,d:G}}function jt(n){Me(n);let e,l,t,s;const r=[Gt,zt],u=[];function a(o,f){var i;return(i=o[16])!=null&&i.length?0:1}return e=a(n),l=u[e]=r[e](n),{c(){l.c(),t=O()},l(o){l.l(o),t=O()},m(o,f){u[e].m(o,f),p(o,t,f),s=!0},p(o,f){Me(o);let i=e;e=a(o),e===i?u[e].p(o,f):(Y(),b(u[i],1,1,()=>{u[i]=null}),Z(),l=u[e],l?l.p(o,f):(l=u[e]=r[e](o),l.c()),d(l,1),l.m(t.parentNode,t))},i(o){s||(d(l),s=!0)},o(o){b(l),s=!1},d(o){u[e].d(o),o&&c(t)}}}function zt(n){let e,l,t;return l=new xe({props:{title:"No Schedules Found",error:n[17],$$slots:{default:[Zt]},$$scope:{ctx:n}}}),{c(){e=P("div"),T(l.$$.fragment),this.h()},l(s){e=N(s,"DIV",{class:!0});var r=L(e);E(l.$$.fragment,r),r.forEach(c),this.h()},h(){U(e,"class","my-12 flex flex-col items-center justify-start gap-2")},m(s,r){p(s,e,r),S(l,e,null),t=!0},p(s,r){const u={};r&32&&(u.error=s[17]),r&8388658&&(u.$$scope={dirty:r,ctx:s}),l.$set(u)},i(s){t||(d(l.$$.fragment,s),t=!0)},o(s){b(l.$$.fragment,s),t=!1},d(s){s&&c(e),I(l)}}}function Gt(n){let e,l;return e=new nt({props:{items:n[3](n[16]),"aria-label":"schedules",$$slots:{"action-top-right":[sl,({visibleItems:t})=>({19:t}),({visibleItems:t})=>t?524288:0],"action-top-left":[yt,({visibleItems:t})=>({19:t}),({visibleItems:t})=>t?524288:0],default:[Xt,({visibleItems:t})=>({19:t}),({visibleItems:t})=>t?524288:0]},$$scope:{ctx:n}}}),{c(){T(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,s){S(e,t,s),l=!0},p(t,s){const r={};s&40&&(r.items=t[3](t[16])),s&8912961&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){l||(d(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){I(e,t)}}}function Jt(n){let e;return{c(){e=W("docs")},l(l){e=B(l,"docs")},m(l,t){p(l,e,t)},d(l){l&&c(e)}}}function Ot(n){let e;return{c(){e=W("Temporal CLI")},l(l){e=B(l,"Temporal CLI")},m(l,t){p(l,e,t)},d(l){l&&c(e)}}}function ze(n){let e,l;return e=new et({props:{class:"mt-4",testId:"create-schedule",disabled:n[4],$$slots:{default:[Yt]},$$scope:{ctx:n}}}),e.$on("click",n[15]),{c(){T(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,s){S(e,t,s),l=!0},p(t,s){const r={};s&16&&(r.disabled=t[4]),s&8388608&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){l||(d(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){I(e,t)}}}function Yt(n){let e;return{c(){e=W("Create Schedule")},l(l){e=B(l,"Create Schedule")},m(l,t){p(l,e,t)},d(l){l&&c(e)}}}function Zt(n){let e,l,t,s,r,u,a,o,f;t=new $e({props:{target:"_external",href:"https://docs.temporal.io/workflows/#schedule",$$slots:{default:[Jt]},$$scope:{ctx:n}}}),r=new $e({props:{target:"_external",href:"https://docs.temporal.io/cli/schedule",$$slots:{default:[Ot]},$$scope:{ctx:n}}});let i=!n[17]&&ze(n);return{c(){e=P("p"),l=W("Go to "),T(t.$$.fragment),s=W(" or get started with "),T(r.$$.fragment),u=W("."),a=A(),i&&i.c(),o=O()},l($){e=N($,"P",{});var h=L(e);l=B(h,"Go to "),E(t.$$.fragment,h),s=B(h," or get started with "),E(r.$$.fragment,h),u=B(h,"."),h.forEach(c),a=M($),i&&i.l($),o=O()},m($,h){p($,e,h),H(e,l),S(t,e,null),H(e,s),S(r,e,null),H(e,u),p($,a,h),i&&i.m($,h),p($,o,h),f=!0},p($,h){const v={};h&8388608&&(v.$$scope={dirty:h,ctx:$}),t.$set(v);const w={};h&8388608&&(w.$$scope={dirty:h,ctx:$}),r.$set(w),$[17]?i&&(Y(),b(i,1,1,()=>{i=null}),Z()):i?(i.p($,h),h&32&&d(i,1)):(i=ze($),i.c(),d(i,1),i.m(o.parentNode,o))},i($){f||(d(t.$$.fragment,$),d(r.$$.fragment,$),d(i),f=!0)},o($){b(t.$$.fragment,$),b(r.$$.fragment,$),b(i),f=!1},d($){$&&c(e),I(t),I(r),$&&c(a),i&&i.d($),$&&c(o)}}}function Ge(n){let e,l;return e=new tt({props:{$$slots:{default:[Kt]},$$scope:{ctx:n}}}),{c(){T(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,s){S(e,t,s),l=!0},p(t,s){const r={};s&8388608&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){l||(d(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){I(e,t)}}}function Kt(n){let e,l,t,s,r,u,a,o;return s=new xe({props:{title:"No Schedules Found",content:"Try a different search"}}),{c(){e=P("td"),l=A(),t=P("td"),T(s.$$.fragment),r=A(),u=P("td"),a=A(),this.h()},l(f){e=N(f,"TD",{class:!0}),L(e).forEach(c),l=M(f),t=N(f,"TD",{colspan:!0});var i=L(t);E(s.$$.fragment,i),i.forEach(c),r=M(f),u=N(f,"TD",{class:!0}),L(u).forEach(c),a=M(f),this.h()},h(){U(e,"class","hidden xl:table-cell"),U(t,"colspan","3"),U(u,"class","hidden xl:table-cell")},m(f,i){p(f,e,i),p(f,l,i),p(f,t,i),S(s,t,null),p(f,r,i),p(f,u,i),p(f,a,i),o=!0},p:G,i(f){o||(d(s.$$.fragment,f),o=!0)},o(f){b(s.$$.fragment,f),o=!1},d(f){f&&c(e),f&&c(l),f&&c(t),I(s),f&&c(r),f&&c(u),f&&c(a)}}}function Je(n){let e,l;return e=new Nt({props:{schedule:n[20]}}),{c(){T(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,s){S(e,t,s),l=!0},p(t,s){const r={};s&524288&&(r.schedule=t[20]),e.$set(r)},i(t){l||(d(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){I(e,t)}}}function Qt(n){let e,l,t=n[19],s=[];for(let a=0;ab(s[a],1,1,()=>{s[a]=null});let u=null;return t.length||(u=Ge(n)),{c(){for(let a=0;a{u=null}),Z()):(u=Ge(a),u.c(),d(u,1),u.m(e.parentNode,e))}},i(a){if(!l){for(let o=0;oXe(l,"value",r)),l.$on("submit",G),{c(){e=P("div"),T(l.$$.fragment),this.h()},l(a){e=N(a,"DIV",{class:!0});var o=L(e);E(l.$$.fragment,o),o.forEach(c),this.h()},h(){U(e,"class","w-full xl:w-1/2")},m(a,o){p(a,e,o),S(l,e,null),s=!0},p(a,o){const f={};!t&&o&1&&(t=!0,f.value=a[0],ye(()=>t=!1)),l.$set(f)},i(a){s||(d(l.$$.fragment,a),s=!0)},o(a){b(l.$$.fragment,a),s=!1},d(a){a&&c(e),I(l)}}}function xt(n){let e;return{c(){e=W("Relative")},l(l){e=B(l,"Relative")},m(l,t){p(l,e,t)},d(l){l&&c(e)}}}function el(n){let e;return{c(){e=W("UTC")},l(l){e=B(l,"UTC")},m(l,t){p(l,e,t)},d(l){l&&c(e)}}}function tl(n){let e;return{c(){e=W("Local")},l(l){e=B(l,"Local")},m(l,t){p(l,e,t)},d(l){l&&c(e)}}}function ll(n){let e,l,t,s,r,u;return e=new ie({props:{$$slots:{default:[xt]},$$scope:{ctx:n}}}),e.$on("click",n[11]),t=new ie({props:{$$slots:{default:[el]},$$scope:{ctx:n}}}),t.$on("click",n[12]),r=new ie({props:{$$slots:{default:[tl]},$$scope:{ctx:n}}}),r.$on("click",n[13]),{c(){T(e.$$.fragment),l=A(),T(t.$$.fragment),s=A(),T(r.$$.fragment)},l(a){E(e.$$.fragment,a),l=M(a),E(t.$$.fragment,a),s=M(a),E(r.$$.fragment,a)},m(a,o){S(e,a,o),p(a,l,o),S(t,a,o),p(a,s,o),S(r,a,o),u=!0},p(a,o){const f={};o&8388608&&(f.$$scope={dirty:o,ctx:a}),e.$set(f);const i={};o&8388608&&(i.$$scope={dirty:o,ctx:a}),t.$set(i);const $={};o&8388608&&($.$$scope={dirty:o,ctx:a}),r.$set($)},i(a){u||(d(e.$$.fragment,a),d(t.$$.fragment,a),d(r.$$.fragment,a),u=!0)},o(a){b(e.$$.fragment,a),b(t.$$.fragment,a),b(r.$$.fragment,a),u=!1},d(a){I(e,a),a&&c(l),I(t,a),a&&c(s),I(r,a)}}}function sl(n){let e,l;return e=new Bt({props:{id:"timezone",label:Fe(n[6]),icon:"clock",$$slots:{default:[ll]},$$scope:{ctx:n}}}),{c(){T(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,s){S(e,t,s),l=!0},p(t,s){const r={};s&64&&(r.label=Fe(t[6])),s&8388672&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){l||(d(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){I(e,t)}}}function rl(n){let e,l;return e=new ot({}),{c(){T(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,s){S(e,t,s),l=!0},p:G,i(t){l||(d(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){I(e,t)}}}function nl(n){let e,l,t,s,r,u,a,o,f,i,$,h,v;r=new at({props:{type:"beta",$$slots:{default:[At]},$$scope:{ctx:n}}});let w=n[2]&&je(n),_={ctx:n,current:null,token:null,hasCatch:!1,pending:rl,then:jt,catch:Vt,value:18,blocks:[,,,]};return Pe(h=n[5],_),{c(){e=P("header"),l=P("div"),t=P("h1"),s=W("Schedules"),T(r.$$.fragment),u=A(),a=P("p"),o=W(n[1]),f=A(),w&&w.c(),i=A(),$=O(),_.block.c(),this.h()},l(g){e=N(g,"HEADER",{class:!0});var k=L(e);l=N(k,"DIV",{});var q=L(l);t=N(q,"H1",{class:!0});var C=L(t);s=B(C,"Schedules"),E(r.$$.fragment,C),C.forEach(c),u=M(q),a=N(q,"P",{class:!0,"data-testid":!0});var V=L(a);o=B(V,n[1]),V.forEach(c),q.forEach(c),f=M(k),w&&w.l(k),k.forEach(c),i=M(g),$=O(),_.block.l(g),this.h()},h(){U(t,"class","flex items-center gap-2 text-2xl"),U(a,"class","text-sm text-gray-600"),U(a,"data-testid","namespace-name"),U(e,"class","flex flex-col justify-between gap-2 md:flex-row")},m(g,k){p(g,e,k),H(e,l),H(l,t),H(t,s),S(r,t,null),H(l,u),H(l,a),H(a,o),H(e,f),w&&w.m(e,null),p(g,i,k),p(g,$,k),_.block.m(g,_.anchor=k),_.mount=()=>$.parentNode,_.anchor=$,v=!0},p(g,[k]){n=g;const q={};k&8388608&&(q.$$scope={dirty:k,ctx:n}),r.$set(q),(!v||k&2)&&X(o,n[1]),n[2]?w?(w.p(n,k),k&4&&d(w,1)):(w=je(n),w.c(),d(w,1),w.m(e,null)):w&&(Y(),b(w,1,1,()=>{w=null}),Z()),_.ctx=n,k&32&&h!==(h=n[5])&&Pe(h,_)||st(_,n,k)},i(g){v||(d(r.$$.fragment,g),d(w),d(_.block),v=!0)},o(g){b(r.$$.fragment,g),b(w);for(let k=0;k<3;k+=1){const q=_.blocks[k];b(q)}v=!1},d(g){g&&c(e),I(r),w&&w.d(),g&&c(i),g&&c($),_.block.d(g),_.token=null,_=null}}}function al(n,e,l){let t,s,r,u,a,o,f;Q(n,me,C=>l(9,o=C)),Q(n,re,C=>l(6,f=C));let i=!0,$=bt();Q(n,$,C=>l(8,a=C));let h="";const v=()=>Ne(qe({namespace:t})),w=()=>ue(re,f="relative",f),_=()=>ue(re,f="UTC",f),g=()=>ue(re,f="local",f);function k(C){h=C,l(0,h)}const q=()=>Ne(qe({namespace:t}));return n.$$.update=()=>{n.$$.dirty&512&&l(1,t=o.params.namespace),n.$$.dirty&2&&l(5,s=ct(t).then(C=>{const{schedules:V}=C;return l(2,i=Boolean(V==null?void 0:V.length)),C})),n.$$.dirty&258&&l(4,r=a.namespaceWriteDisabled(t)),n.$$.dirty&1&&l(3,u=C=>h?C.filter(V=>V.scheduleId.toLowerCase().includes(h.toLowerCase())):C)},[h,t,i,u,r,s,f,$,a,o,v,w,_,g,k,q]}class ol extends ne{constructor(e){super(),ae(this,e,al,nl,oe,{})}}function fl(n){let e,l,t,s;return e=new wt({props:{title:`Schedules | ${n[0].params.namespace}`,url:n[0].url.href}}),t=new ol({}),{c(){T(e.$$.fragment),l=A(),T(t.$$.fragment)},l(r){E(e.$$.fragment,r),l=M(r),E(t.$$.fragment,r)},m(r,u){S(e,r,u),p(r,l,u),S(t,r,u),s=!0},p(r,[u]){const a={};u&1&&(a.title=`Schedules | ${r[0].params.namespace}`),u&1&&(a.url=r[0].url.href),e.$set(a)},i(r){s||(d(e.$$.fragment,r),d(t.$$.fragment,r),s=!0)},o(r){b(e.$$.fragment,r),b(t.$$.fragment,r),s=!1},d(r){I(e,r),r&&c(l),I(t,r)}}}function ul(n,e,l){let t;return Q(n,me,s=>l(0,t=s)),[t]}class Ll extends ne{constructor(e){super(),ae(this,e,ul,fl,oe,{})}}export{Ll as default}; +import{S as ne,b as ae,a as oe,C as T,D as E,E as S,j as d,g as b,F as I,G as Oe,H as Ye,I as Ze,J as Ke,m as P,w as W,c as A,p as N,q as L,x as B,k as c,d as M,u as U,f as p,M as H,n as G,L as Q,y as X,z as Y,h as Z,a7 as ce,O as Re,P as Ce,A as Qe,Y as Xe,Z as ye,ar as Pe,e as O,as as st,_ as ue,at as rt}from"../chunks/index.d29c66be.js";import{p as me}from"../chunks/stores.8c019868.js";import{E as xe}from"../chunks/empty-state.bf113865.js";import{P as nt}from"../chunks/pagination.a8beaf3b.js";import{B as et}from"../chunks/button.e7112b29.js";import{B as at}from"../chunks/badge.2c189bf4.js";import{L as ot}from"../chunks/loading.9b5a6a67.js";import{I as ft}from"../chunks/input.0adb9ec6.js";import{g as Ne}from"../chunks/navigation.e41eebee.js";import{o as ut,f as Le,p as qe}from"../chunks/route-for.3e9c6ff4.js";import{S as it,f as ct}from"../chunks/schedule-frequency.b820a236.js";import{T as $t,a as mt}from"../chunks/table-header-row.a7bab5a4.js";import{t as re}from"../chunks/time-format.6ef667eb.js";import{f as fe}from"../chunks/format-date.100c5f23.js";import{W as _t}from"../chunks/workflow-status.8e93b70c.js";import{L as $e}from"../chunks/link.d5f6f19e.js";import{T as tt}from"../chunks/table-row.4a68a50d.js";import{c as Fe}from"../chunks/format-camel-case.960a78f9.js";import{I as pt}from"../chunks/icon.5aa23970.js";import{M as dt,a as ht,b as gt,c as ie}from"../chunks/menu-item.be414f05.js";import{c as bt}from"../chunks/core-user.faf7a38e.js";import{P as wt}from"../chunks/page-title.ba38eecf.js";function kt(n){let e;const l=n[0].default,t=Oe(l,n,n[1],null);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,r){t&&t.m(s,r),e=!0},p(s,r){t&&t.p&&(!e||r&2)&&Ye(t,l,s,s[1],e?Ke(l,s[1],r,null):Ze(s[1]),null)},i(s){e||(d(t,s),e=!0)},o(s){b(t,s),e=!1},d(s){t&&t.d(s)}}}function vt(n){let e,l,t,s,r,u,a,o,f,i,$,h,v,w;return{c(){e=P("th"),l=W("Status"),t=A(),s=P("th"),r=W("Schedule Name"),u=A(),a=P("th"),o=W("Workflow Type"),f=A(),i=P("th"),$=W("Recent Runs"),h=A(),v=P("th"),w=W("Upcoming Runs"),this.h()},l(_){e=N(_,"TH",{class:!0});var g=L(e);l=B(g,"Status"),g.forEach(c),t=M(_),s=N(_,"TH",{class:!0});var k=L(s);r=B(k,"Schedule Name"),k.forEach(c),u=M(_),a=N(_,"TH",{class:!0});var q=L(a);o=B(q,"Workflow Type"),q.forEach(c),f=M(_),i=N(_,"TH",{class:!0});var C=L(i);$=B(C,"Recent Runs"),C.forEach(c),h=M(_),v=N(_,"TH",{class:!0});var V=L(v);w=B(V,"Upcoming Runs"),V.forEach(c),this.h()},h(){U(e,"class","w-28"),U(s,"class","md:w-80 xl:w-auto"),U(a,"class","w-60 max-md:hidden xl:w-80"),U(i,"class","w-56 max-xl:hidden"),U(v,"class","w-56 max-xl:hidden")},m(_,g){p(_,e,g),H(e,l),p(_,t,g),p(_,s,g),H(s,r),p(_,u,g),p(_,a,g),H(a,o),p(_,f,g),p(_,i,g),H(i,$),p(_,h,g),p(_,v,g),H(v,w)},p:G,d(_){_&&c(e),_&&c(t),_&&c(s),_&&c(u),_&&c(a),_&&c(f),_&&c(i),_&&c(h),_&&c(v)}}}function Tt(n){let e,l;return e=new mt({props:{slot:"headers",$$slots:{default:[vt]},$$scope:{ctx:n}}}),{c(){T(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,s){S(e,t,s),l=!0},p(t,s){const r={};s&2&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){l||(d(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){I(e,t)}}}function Et(n){let e,l;return e=new $t({props:{class:"table-fixed",$$slots:{headers:[Tt],default:[kt]},$$scope:{ctx:n}}}),{c(){T(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,s){S(e,t,s),l=!0},p(t,[s]){const r={};s&2&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){l||(d(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){I(e,t)}}}function St(n,e,l){let{$$slots:t={},$$scope:s}=e;return n.$$set=r=>{"$$scope"in r&&l(1,s=r.$$scope)},[t,s]}class It extends ne{constructor(e){super(),ae(this,e,St,Et,oe,{})}}function He(n,e,l){const t=n.slice();return t[12]=e[l],t}function We(n,e,l){const t=n.slice();return t[12]=e[l],t}function Dt(n){var t;let e=fe((t=n[12])==null?void 0:t.actualTime,n[2])+"",l;return{c(){l=W(e)},l(s){l=B(s,e)},m(s,r){p(s,l,r)},p(s,r){var u;r&5&&e!==(e=fe((u=s[12])==null?void 0:u.actualTime,s[2])+"")&&X(l,e)},d(s){s&&c(l)}}}function Be(n){var r,u,a,o;let e,l,t,s;return l=new $e({props:{href:Le({namespace:n[3],workflow:(u=(r=n[12])==null?void 0:r.startWorkflowResult)==null?void 0:u.workflowId,run:(o=(a=n[12])==null?void 0:a.startWorkflowResult)==null?void 0:o.runId}),$$slots:{default:[Dt]},$$scope:{ctx:n}}}),{c(){e=P("p"),T(l.$$.fragment),t=A()},l(f){e=N(f,"P",{});var i=L(e);E(l.$$.fragment,i),t=M(i),i.forEach(c)},m(f,i){p(f,e,i),S(l,e,null),H(e,t),s=!0},p(f,i){var h,v,w,_;const $={};i&1&&($.href=Le({namespace:f[3],workflow:(v=(h=f[12])==null?void 0:h.startWorkflowResult)==null?void 0:v.workflowId,run:(_=(w=f[12])==null?void 0:w.startWorkflowResult)==null?void 0:_.runId})),i&131077&&($.$$scope={dirty:i,ctx:f}),l.$set($)},i(f){s||(d(l.$$.fragment,f),s=!0)},o(f){b(l.$$.fragment,f),s=!1},d(f){f&&c(e),I(l)}}}function Ue(n){let e,l=fe(n[12],n[2],"from now")+"",t;return{c(){e=P("div"),t=W(l)},l(s){e=N(s,"DIV",{});var r=L(e);t=B(r,l),r.forEach(c)},m(s,r){p(s,e,r),H(e,t)},p(s,r){r&5&&l!==(l=fe(s[12],s[2],"from now")+"")&&X(t,l)},d(s){s&&c(e)}}}function Rt(n){var _e,pe,de,he,ge,be,we,ke,ve,Te;let e,l,t,s,r,u=n[0].scheduleId+"",a,o,f,i,$,h,v=(((de=(pe=(_e=n[0])==null?void 0:_e.info)==null?void 0:pe.workflowType)==null?void 0:de.name)??"")+"",w,_,g,k,q,C;l=new _t({props:{status:(ge=(he=n[0])==null?void 0:he.info)!=null&&ge.paused?"Paused":"Running"}}),i=new it({props:{calendar:n[4],interval:n[5],class:"text-sm"}});let V=n[6]((we=(be=n[0])==null?void 0:be.info)==null?void 0:we.recentActions),F=[];for(let m=0;mb(F[m],1,1,()=>{F[m]=null});let K=((Te=(ve=(ke=n[0])==null?void 0:ke.info)==null?void 0:ve.futureActionTimes)==null?void 0:Te.slice(0,5))??[],j=[];for(let m=0;ml(10,s=_)),Q(n,re,_=>l(2,r=_));var u,a,o;let{namespace:f}=s.params,{schedule:i}=e;const $=(u=i==null?void 0:i.info)===null||u===void 0?void 0:u.spec,h=(a=$==null?void 0:$.structuredCalendar)===null||a===void 0?void 0:a[0],v=(o=$==null?void 0:$.interval)===null||o===void 0?void 0:o[0],w=_=>{var g;return(g=_==null?void 0:_.sort((k,q)=>new Date(q.actualTime).getTime()-new Date(k.actualTime).getTime()).slice(0,5))!==null&&g!==void 0?g:[]};return n.$$set=_=>{"schedule"in _&&l(0,i=_.schedule)},n.$$.update=()=>{n.$$.dirty&1&&l(1,t=ut({namespace:f,scheduleId:i==null?void 0:i.scheduleId}))},[i,t,r,f,h,v,w]}class Nt extends ne{constructor(e){super(),ae(this,e,Pt,Ct,oe,{schedule:0})}}function Ae(n){let e,l,t;return l=new pt({props:{name:n[2]}}),{c(){e=P("div"),T(l.$$.fragment),this.h()},l(s){e=N(s,"DIV",{class:!0});var r=L(e);E(l.$$.fragment,r),r.forEach(c),this.h()},h(){U(e,"class","ml-2 flex items-center")},m(s,r){p(s,e,r),S(l,e,null),t=!0},p(s,r){const u={};r&4&&(u.name=s[2]),l.$set(u)},i(s){t||(d(l.$$.fragment,s),t=!0)},o(s){b(l.$$.fragment,s),t=!1},d(s){s&&c(e),I(l)}}}function Lt(n){let e,l,t,s,r=n[2]&&Ae(n);return{c(){r&&r.c(),e=A(),l=P("span"),t=W(n[0]),this.h()},l(u){r&&r.l(u),e=M(u),l=N(u,"SPAN",{class:!0});var a=L(l);t=B(a,n[0]),a.forEach(c),this.h()},h(){U(l,"class","ml-2 mr-8")},m(u,a){r&&r.m(u,a),p(u,e,a),p(u,l,a),H(l,t),s=!0},p(u,a){u[2]?r?(r.p(u,a),a&4&&d(r,1)):(r=Ae(u),r.c(),d(r,1),r.m(e.parentNode,e)):r&&(Y(),b(r,1,1,()=>{r=null}),Z()),(!s||a&1)&&X(t,u[0])},i(u){s||(d(r),s=!0)},o(u){b(r),s=!1},d(u){r&&r.d(u),u&&c(e),u&&c(l)}}}function qt(n){let e;const l=n[6].default,t=Oe(l,n,n[8],null);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,r){t&&t.m(s,r),e=!0},p(s,r){t&&t.p&&(!e||r&256)&&Ye(t,l,s,s[8],e?Ke(l,s[8],r,null):Ze(s[8]),null)},i(s){e||(d(t,s),e=!0)},o(s){b(t,s),e=!1},d(s){t&&t.d(s)}}}function Ft(n){let e,l,t,s,r;function u(o){n[7](o)}let a={class:"flex flex-row items-center rounded-lg border border-gray-900 bg-white p-2",controls:n[1],disabled:n[3],hasIndicator:!n[3],$$slots:{default:[Lt]},$$scope:{ctx:n}};return n[4]!==void 0&&(a.show=n[4]),e=new ht({props:a}),Qe.push(()=>Xe(e,"show",u)),s=new gt({props:{class:"min-w-max",id:n[1],show:n[4],$$slots:{default:[qt]},$$scope:{ctx:n}}}),{c(){T(e.$$.fragment),t=A(),T(s.$$.fragment)},l(o){E(e.$$.fragment,o),t=M(o),E(s.$$.fragment,o)},m(o,f){S(e,o,f),p(o,t,f),S(s,o,f),r=!0},p(o,f){const i={};f&2&&(i.controls=o[1]),f&8&&(i.disabled=o[3]),f&8&&(i.hasIndicator=!o[3]),f&261&&(i.$$scope={dirty:f,ctx:o}),!l&&f&16&&(l=!0,i.show=o[4],ye(()=>l=!1)),e.$set(i);const $={};f&2&&($.id=o[1]),f&16&&($.show=o[4]),f&256&&($.$$scope={dirty:f,ctx:o}),s.$set($)},i(o){r||(d(e.$$.fragment,o),d(s.$$.fragment,o),r=!0)},o(o){b(e.$$.fragment,o),b(s.$$.fragment,o),r=!1},d(o){I(e,o),o&&c(t),I(s,o)}}}function Ht(n){let e,l;return e=new dt({props:{class:n[5].class,$$slots:{default:[Ft]},$$scope:{ctx:n}}}),{c(){T(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,s){S(e,t,s),l=!0},p(t,[s]){const r={};s&32&&(r.class=t[5].class),s&287&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){l||(d(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){I(e,t)}}}function Wt(n,e,l){let{$$slots:t={},$$scope:s}=e,{label:r}=e,{id:u}=e,{icon:a=null}=e,{readonly:o=!1}=e,f=!1;function i($){f=$,l(4,f)}return n.$$set=$=>{l(5,e=Re(Re({},e),Ce($))),"label"in $&&l(0,r=$.label),"id"in $&&l(1,u=$.id),"icon"in $&&l(2,a=$.icon),"readonly"in $&&l(3,o=$.readonly),"$$scope"in $&&l(8,s=$.$$scope)},e=Ce(e),[r,u,a,o,f,e,t,i,s]}class Bt extends ne{constructor(e){super(),ae(this,e,Wt,Ht,oe,{label:0,id:1,icon:2,readonly:3})}}const{Boolean:Ut}=rt;function Me(n){n[16]=n[18].schedules,n[17]=n[18].error}function Ve(n,e,l){const t=n.slice();return t[20]=e[l],t}function At(n){let e;return{c(){e=W("Preview")},l(l){e=B(l,"Preview")},m(l,t){p(l,e,t)},d(l){l&&c(e)}}}function je(n){let e,l;return e=new et({props:{class:"h-10",testId:"create-schedule",disabled:n[4],$$slots:{default:[Mt]},$$scope:{ctx:n}}}),e.$on("click",n[10]),{c(){T(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,s){S(e,t,s),l=!0},p(t,s){const r={};s&16&&(r.disabled=t[4]),s&8388608&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){l||(d(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){I(e,t)}}}function Mt(n){let e;return{c(){e=W("Create Schedule")},l(l){e=B(l,"Create Schedule")},m(l,t){p(l,e,t)},d(l){l&&c(e)}}}function Vt(n){return{c:G,l:G,m:G,p:G,i:G,o:G,d:G}}function jt(n){Me(n);let e,l,t,s;const r=[Gt,zt],u=[];function a(o,f){var i;return(i=o[16])!=null&&i.length?0:1}return e=a(n),l=u[e]=r[e](n),{c(){l.c(),t=O()},l(o){l.l(o),t=O()},m(o,f){u[e].m(o,f),p(o,t,f),s=!0},p(o,f){Me(o);let i=e;e=a(o),e===i?u[e].p(o,f):(Y(),b(u[i],1,1,()=>{u[i]=null}),Z(),l=u[e],l?l.p(o,f):(l=u[e]=r[e](o),l.c()),d(l,1),l.m(t.parentNode,t))},i(o){s||(d(l),s=!0)},o(o){b(l),s=!1},d(o){u[e].d(o),o&&c(t)}}}function zt(n){let e,l,t;return l=new xe({props:{title:"No Schedules Found",error:n[17],$$slots:{default:[Zt]},$$scope:{ctx:n}}}),{c(){e=P("div"),T(l.$$.fragment),this.h()},l(s){e=N(s,"DIV",{class:!0});var r=L(e);E(l.$$.fragment,r),r.forEach(c),this.h()},h(){U(e,"class","my-12 flex flex-col items-center justify-start gap-2")},m(s,r){p(s,e,r),S(l,e,null),t=!0},p(s,r){const u={};r&32&&(u.error=s[17]),r&8388658&&(u.$$scope={dirty:r,ctx:s}),l.$set(u)},i(s){t||(d(l.$$.fragment,s),t=!0)},o(s){b(l.$$.fragment,s),t=!1},d(s){s&&c(e),I(l)}}}function Gt(n){let e,l;return e=new nt({props:{items:n[3](n[16]),"aria-label":"schedules",$$slots:{"action-top-right":[sl,({visibleItems:t})=>({19:t}),({visibleItems:t})=>t?524288:0],"action-top-left":[yt,({visibleItems:t})=>({19:t}),({visibleItems:t})=>t?524288:0],default:[Xt,({visibleItems:t})=>({19:t}),({visibleItems:t})=>t?524288:0]},$$scope:{ctx:n}}}),{c(){T(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,s){S(e,t,s),l=!0},p(t,s){const r={};s&40&&(r.items=t[3](t[16])),s&8912961&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){l||(d(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){I(e,t)}}}function Jt(n){let e;return{c(){e=W("docs")},l(l){e=B(l,"docs")},m(l,t){p(l,e,t)},d(l){l&&c(e)}}}function Ot(n){let e;return{c(){e=W("Temporal CLI")},l(l){e=B(l,"Temporal CLI")},m(l,t){p(l,e,t)},d(l){l&&c(e)}}}function ze(n){let e,l;return e=new et({props:{class:"mt-4",testId:"create-schedule",disabled:n[4],$$slots:{default:[Yt]},$$scope:{ctx:n}}}),e.$on("click",n[15]),{c(){T(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,s){S(e,t,s),l=!0},p(t,s){const r={};s&16&&(r.disabled=t[4]),s&8388608&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){l||(d(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){I(e,t)}}}function Yt(n){let e;return{c(){e=W("Create Schedule")},l(l){e=B(l,"Create Schedule")},m(l,t){p(l,e,t)},d(l){l&&c(e)}}}function Zt(n){let e,l,t,s,r,u,a,o,f;t=new $e({props:{target:"_external",href:"https://docs.temporal.io/workflows/#schedule",$$slots:{default:[Jt]},$$scope:{ctx:n}}}),r=new $e({props:{target:"_external",href:"https://docs.temporal.io/cli/schedule",$$slots:{default:[Ot]},$$scope:{ctx:n}}});let i=!n[17]&&ze(n);return{c(){e=P("p"),l=W("Go to "),T(t.$$.fragment),s=W(" or get started with "),T(r.$$.fragment),u=W("."),a=A(),i&&i.c(),o=O()},l($){e=N($,"P",{});var h=L(e);l=B(h,"Go to "),E(t.$$.fragment,h),s=B(h," or get started with "),E(r.$$.fragment,h),u=B(h,"."),h.forEach(c),a=M($),i&&i.l($),o=O()},m($,h){p($,e,h),H(e,l),S(t,e,null),H(e,s),S(r,e,null),H(e,u),p($,a,h),i&&i.m($,h),p($,o,h),f=!0},p($,h){const v={};h&8388608&&(v.$$scope={dirty:h,ctx:$}),t.$set(v);const w={};h&8388608&&(w.$$scope={dirty:h,ctx:$}),r.$set(w),$[17]?i&&(Y(),b(i,1,1,()=>{i=null}),Z()):i?(i.p($,h),h&32&&d(i,1)):(i=ze($),i.c(),d(i,1),i.m(o.parentNode,o))},i($){f||(d(t.$$.fragment,$),d(r.$$.fragment,$),d(i),f=!0)},o($){b(t.$$.fragment,$),b(r.$$.fragment,$),b(i),f=!1},d($){$&&c(e),I(t),I(r),$&&c(a),i&&i.d($),$&&c(o)}}}function Ge(n){let e,l;return e=new tt({props:{$$slots:{default:[Kt]},$$scope:{ctx:n}}}),{c(){T(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,s){S(e,t,s),l=!0},p(t,s){const r={};s&8388608&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){l||(d(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){I(e,t)}}}function Kt(n){let e,l,t,s,r,u,a,o;return s=new xe({props:{title:"No Schedules Found",content:"Try a different search"}}),{c(){e=P("td"),l=A(),t=P("td"),T(s.$$.fragment),r=A(),u=P("td"),a=A(),this.h()},l(f){e=N(f,"TD",{class:!0}),L(e).forEach(c),l=M(f),t=N(f,"TD",{colspan:!0});var i=L(t);E(s.$$.fragment,i),i.forEach(c),r=M(f),u=N(f,"TD",{class:!0}),L(u).forEach(c),a=M(f),this.h()},h(){U(e,"class","hidden xl:table-cell"),U(t,"colspan","3"),U(u,"class","hidden xl:table-cell")},m(f,i){p(f,e,i),p(f,l,i),p(f,t,i),S(s,t,null),p(f,r,i),p(f,u,i),p(f,a,i),o=!0},p:G,i(f){o||(d(s.$$.fragment,f),o=!0)},o(f){b(s.$$.fragment,f),o=!1},d(f){f&&c(e),f&&c(l),f&&c(t),I(s),f&&c(r),f&&c(u),f&&c(a)}}}function Je(n){let e,l;return e=new Nt({props:{schedule:n[20]}}),{c(){T(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,s){S(e,t,s),l=!0},p(t,s){const r={};s&524288&&(r.schedule=t[20]),e.$set(r)},i(t){l||(d(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){I(e,t)}}}function Qt(n){let e,l,t=n[19],s=[];for(let a=0;ab(s[a],1,1,()=>{s[a]=null});let u=null;return t.length||(u=Ge(n)),{c(){for(let a=0;a{u=null}),Z()):(u=Ge(a),u.c(),d(u,1),u.m(e.parentNode,e))}},i(a){if(!l){for(let o=0;oXe(l,"value",r)),l.$on("submit",G),{c(){e=P("div"),T(l.$$.fragment),this.h()},l(a){e=N(a,"DIV",{class:!0});var o=L(e);E(l.$$.fragment,o),o.forEach(c),this.h()},h(){U(e,"class","w-full xl:w-1/2")},m(a,o){p(a,e,o),S(l,e,null),s=!0},p(a,o){const f={};!t&&o&1&&(t=!0,f.value=a[0],ye(()=>t=!1)),l.$set(f)},i(a){s||(d(l.$$.fragment,a),s=!0)},o(a){b(l.$$.fragment,a),s=!1},d(a){a&&c(e),I(l)}}}function xt(n){let e;return{c(){e=W("Relative")},l(l){e=B(l,"Relative")},m(l,t){p(l,e,t)},d(l){l&&c(e)}}}function el(n){let e;return{c(){e=W("UTC")},l(l){e=B(l,"UTC")},m(l,t){p(l,e,t)},d(l){l&&c(e)}}}function tl(n){let e;return{c(){e=W("Local")},l(l){e=B(l,"Local")},m(l,t){p(l,e,t)},d(l){l&&c(e)}}}function ll(n){let e,l,t,s,r,u;return e=new ie({props:{$$slots:{default:[xt]},$$scope:{ctx:n}}}),e.$on("click",n[11]),t=new ie({props:{$$slots:{default:[el]},$$scope:{ctx:n}}}),t.$on("click",n[12]),r=new ie({props:{$$slots:{default:[tl]},$$scope:{ctx:n}}}),r.$on("click",n[13]),{c(){T(e.$$.fragment),l=A(),T(t.$$.fragment),s=A(),T(r.$$.fragment)},l(a){E(e.$$.fragment,a),l=M(a),E(t.$$.fragment,a),s=M(a),E(r.$$.fragment,a)},m(a,o){S(e,a,o),p(a,l,o),S(t,a,o),p(a,s,o),S(r,a,o),u=!0},p(a,o){const f={};o&8388608&&(f.$$scope={dirty:o,ctx:a}),e.$set(f);const i={};o&8388608&&(i.$$scope={dirty:o,ctx:a}),t.$set(i);const $={};o&8388608&&($.$$scope={dirty:o,ctx:a}),r.$set($)},i(a){u||(d(e.$$.fragment,a),d(t.$$.fragment,a),d(r.$$.fragment,a),u=!0)},o(a){b(e.$$.fragment,a),b(t.$$.fragment,a),b(r.$$.fragment,a),u=!1},d(a){I(e,a),a&&c(l),I(t,a),a&&c(s),I(r,a)}}}function sl(n){let e,l;return e=new Bt({props:{id:"timezone",label:Fe(n[6]),icon:"clock",$$slots:{default:[ll]},$$scope:{ctx:n}}}),{c(){T(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,s){S(e,t,s),l=!0},p(t,s){const r={};s&64&&(r.label=Fe(t[6])),s&8388672&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){l||(d(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){I(e,t)}}}function rl(n){let e,l;return e=new ot({}),{c(){T(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,s){S(e,t,s),l=!0},p:G,i(t){l||(d(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){I(e,t)}}}function nl(n){let e,l,t,s,r,u,a,o,f,i,$,h,v;r=new at({props:{type:"beta",$$slots:{default:[At]},$$scope:{ctx:n}}});let w=n[2]&&je(n),_={ctx:n,current:null,token:null,hasCatch:!1,pending:rl,then:jt,catch:Vt,value:18,blocks:[,,,]};return Pe(h=n[5],_),{c(){e=P("header"),l=P("div"),t=P("h1"),s=W("Schedules"),T(r.$$.fragment),u=A(),a=P("p"),o=W(n[1]),f=A(),w&&w.c(),i=A(),$=O(),_.block.c(),this.h()},l(g){e=N(g,"HEADER",{class:!0});var k=L(e);l=N(k,"DIV",{});var q=L(l);t=N(q,"H1",{class:!0});var C=L(t);s=B(C,"Schedules"),E(r.$$.fragment,C),C.forEach(c),u=M(q),a=N(q,"P",{class:!0,"data-testid":!0});var V=L(a);o=B(V,n[1]),V.forEach(c),q.forEach(c),f=M(k),w&&w.l(k),k.forEach(c),i=M(g),$=O(),_.block.l(g),this.h()},h(){U(t,"class","flex items-center gap-2 text-2xl"),U(a,"class","text-sm text-gray-600"),U(a,"data-testid","namespace-name"),U(e,"class","flex flex-col justify-between gap-2 md:flex-row")},m(g,k){p(g,e,k),H(e,l),H(l,t),H(t,s),S(r,t,null),H(l,u),H(l,a),H(a,o),H(e,f),w&&w.m(e,null),p(g,i,k),p(g,$,k),_.block.m(g,_.anchor=k),_.mount=()=>$.parentNode,_.anchor=$,v=!0},p(g,[k]){n=g;const q={};k&8388608&&(q.$$scope={dirty:k,ctx:n}),r.$set(q),(!v||k&2)&&X(o,n[1]),n[2]?w?(w.p(n,k),k&4&&d(w,1)):(w=je(n),w.c(),d(w,1),w.m(e,null)):w&&(Y(),b(w,1,1,()=>{w=null}),Z()),_.ctx=n,k&32&&h!==(h=n[5])&&Pe(h,_)||st(_,n,k)},i(g){v||(d(r.$$.fragment,g),d(w),d(_.block),v=!0)},o(g){b(r.$$.fragment,g),b(w);for(let k=0;k<3;k+=1){const q=_.blocks[k];b(q)}v=!1},d(g){g&&c(e),I(r),w&&w.d(),g&&c(i),g&&c($),_.block.d(g),_.token=null,_=null}}}function al(n,e,l){let t,s,r,u,a,o,f;Q(n,me,C=>l(9,o=C)),Q(n,re,C=>l(6,f=C));let i=!0,$=bt();Q(n,$,C=>l(8,a=C));let h="";const v=()=>Ne(qe({namespace:t})),w=()=>ue(re,f="relative",f),_=()=>ue(re,f="UTC",f),g=()=>ue(re,f="local",f);function k(C){h=C,l(0,h)}const q=()=>Ne(qe({namespace:t}));return n.$$.update=()=>{n.$$.dirty&512&&l(1,t=o.params.namespace),n.$$.dirty&2&&l(5,s=ct(t).then(C=>{const{schedules:V}=C;return l(2,i=Boolean(V==null?void 0:V.length)),C})),n.$$.dirty&258&&l(4,r=a.namespaceWriteDisabled(t)),n.$$.dirty&1&&l(3,u=C=>h?C.filter(V=>V.scheduleId.toLowerCase().includes(h.toLowerCase())):C)},[h,t,i,u,r,s,f,$,a,o,v,w,_,g,k,q]}class ol extends ne{constructor(e){super(),ae(this,e,al,nl,oe,{})}}function fl(n){let e,l,t,s;return e=new wt({props:{title:`Schedules | ${n[0].params.namespace}`,url:n[0].url.href}}),t=new ol({}),{c(){T(e.$$.fragment),l=A(),T(t.$$.fragment)},l(r){E(e.$$.fragment,r),l=M(r),E(t.$$.fragment,r)},m(r,u){S(e,r,u),p(r,l,u),S(t,r,u),s=!0},p(r,[u]){const a={};u&1&&(a.title=`Schedules | ${r[0].params.namespace}`),u&1&&(a.url=r[0].url.href),e.$set(a)},i(r){s||(d(e.$$.fragment,r),d(t.$$.fragment,r),s=!0)},o(r){b(e.$$.fragment,r),b(t.$$.fragment,r),s=!1},d(r){I(e,r),r&&c(l),I(t,r)}}}function ul(n,e,l){let t;return Q(n,me,s=>l(0,t=s)),[t]}class Ll extends ne{constructor(e){super(),ae(this,e,ul,fl,oe,{})}}export{Ll as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-task-queues-_queue_-page.svelte.2382e8cc.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-task-queues-_queue_-page.svelte.2382e8cc.js deleted file mode 100644 index 9322c83bc0..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-task-queues-_queue_-page.svelte.2382e8cc.js +++ /dev/null @@ -1 +0,0 @@ -import{S as k,b as g,a as b,ar as P,e as _,f as d,as as y,j as u,g as i,k as h,L as w,n as s,C as m,D as p,E as f,F as $,c as C,d as v}from"../chunks/index.d29c66be.js";import{p as q}from"../chunks/stores.b938c0e3.js";import{W as Q}from"../chunks/workers-list.0e0f0daa.js";import{g as S}from"../chunks/pollers-service.0e06b260.js";import{P as T}from"../chunks/page-title.ba38eecf.js";function W(a){return{c:s,l:s,m:s,p:s,i:s,o:s,d:s}}function j(a){let r,o;return r=new Q({props:{taskQueue:a[0],workers:a[1]}}),{c(){m(r.$$.fragment)},l(e){p(r.$$.fragment,e)},m(e,n){f(r,e,n),o=!0},p:s,i(e){o||(u(r.$$.fragment,e),o=!0)},o(e){i(r.$$.fragment,e),o=!1},d(e){$(r,e)}}}function D(a){return{c:s,l:s,m:s,p:s,i:s,o:s,d:s}}function E(a){let r,o,e={ctx:a,current:null,token:null,hasCatch:!1,pending:D,then:j,catch:W,value:1,blocks:[,,,]};return P(a[1],e),{c(){r=_(),e.block.c()},l(n){r=_(),e.block.l(n)},m(n,t){d(n,r,t),e.block.m(n,e.anchor=t),e.mount=()=>r.parentNode,e.anchor=r,o=!0},p(n,[t]){a=n,y(e,a,t)},i(n){o||(u(e.block),o=!0)},o(n){for(let t=0;t<3;t+=1){const l=e.blocks[t];i(l)}o=!1},d(n){n&&h(r),e.block.d(n),e.token=null,e=null}}}function F(a,r,o){let e;w(a,q,c=>o(2,e=c));let{queue:n,namespace:t}=e.params,l=S({queue:n,namespace:t});return[n,l]}class L extends k{constructor(r){super(),g(this,r,F,E,b,{})}}function N(a){let r,o,e,n;return r=new T({props:{title:`Task Queue | ${a[1]}`,url:a[0].url.href}}),e=new L({}),{c(){m(r.$$.fragment),o=C(),m(e.$$.fragment)},l(t){p(r.$$.fragment,t),o=v(t),p(e.$$.fragment,t)},m(t,l){f(r,t,l),d(t,o,l),f(e,t,l),n=!0},p(t,[l]){const c={};l&1&&(c.url=t[0].url.href),r.$set(c)},i(t){n||(u(r.$$.fragment,t),u(e.$$.fragment,t),n=!0)},o(t){i(r.$$.fragment,t),i(e.$$.fragment,t),n=!1},d(t){$(r,t),t&&h(o),$(e,t)}}}function x(a,r,o){let e;w(a,q,t=>o(0,e=t));const n=e.params.queue;return[e,n]}class I extends k{constructor(r){super(),g(this,r,x,N,b,{})}}export{I as default}; diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-task-queues-_queue_-page.svelte.fddc8044.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-task-queues-_queue_-page.svelte.9db50202.js similarity index 89% rename from ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-task-queues-_queue_-page.svelte.fddc8044.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-task-queues-_queue_-page.svelte.9db50202.js index 0938ea1938..ad0cbebb0d 100644 --- a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-task-queues-_queue_-page.svelte.fddc8044.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-task-queues-_queue_-page.svelte.9db50202.js @@ -1 +1 @@ -import{S as k,b as g,a as b,ar as P,e as _,f as d,as as y,j as u,g as i,k as h,L as w,n as s,C as m,D as p,E as f,F as $,c as C,d as v}from"../chunks/index.d29c66be.js";import{p as q}from"../chunks/stores.1f7fa6eb.js";import{W as Q}from"../chunks/workers-list.0e0f0daa.js";import{g as S}from"../chunks/pollers-service.49149478.js";import{P as T}from"../chunks/page-title.ba38eecf.js";function W(a){return{c:s,l:s,m:s,p:s,i:s,o:s,d:s}}function j(a){let r,o;return r=new Q({props:{taskQueue:a[0],workers:a[1]}}),{c(){m(r.$$.fragment)},l(e){p(r.$$.fragment,e)},m(e,n){f(r,e,n),o=!0},p:s,i(e){o||(u(r.$$.fragment,e),o=!0)},o(e){i(r.$$.fragment,e),o=!1},d(e){$(r,e)}}}function D(a){return{c:s,l:s,m:s,p:s,i:s,o:s,d:s}}function E(a){let r,o,e={ctx:a,current:null,token:null,hasCatch:!1,pending:D,then:j,catch:W,value:1,blocks:[,,,]};return P(a[1],e),{c(){r=_(),e.block.c()},l(n){r=_(),e.block.l(n)},m(n,t){d(n,r,t),e.block.m(n,e.anchor=t),e.mount=()=>r.parentNode,e.anchor=r,o=!0},p(n,[t]){a=n,y(e,a,t)},i(n){o||(u(e.block),o=!0)},o(n){for(let t=0;t<3;t+=1){const l=e.blocks[t];i(l)}o=!1},d(n){n&&h(r),e.block.d(n),e.token=null,e=null}}}function F(a,r,o){let e;w(a,q,c=>o(2,e=c));let{queue:n,namespace:t}=e.params,l=S({queue:n,namespace:t});return[n,l]}class L extends k{constructor(r){super(),g(this,r,F,E,b,{})}}function N(a){let r,o,e,n;return r=new T({props:{title:`Task Queue | ${a[1]}`,url:a[0].url.href}}),e=new L({}),{c(){m(r.$$.fragment),o=C(),m(e.$$.fragment)},l(t){p(r.$$.fragment,t),o=v(t),p(e.$$.fragment,t)},m(t,l){f(r,t,l),d(t,o,l),f(e,t,l),n=!0},p(t,[l]){const c={};l&1&&(c.url=t[0].url.href),r.$set(c)},i(t){n||(u(r.$$.fragment,t),u(e.$$.fragment,t),n=!0)},o(t){i(r.$$.fragment,t),i(e.$$.fragment,t),n=!1},d(t){$(r,t),t&&h(o),$(e,t)}}}function x(a,r,o){let e;w(a,q,t=>o(0,e=t));const n=e.params.queue;return[e,n]}class I extends k{constructor(r){super(),g(this,r,x,N,b,{})}}export{I as default}; +import{S as k,b as g,a as b,ar as P,e as _,f as d,as as y,j as u,g as i,k as h,L as w,n as s,C as m,D as p,E as f,F as $,c as C,d as v}from"../chunks/index.d29c66be.js";import{p as q}from"../chunks/stores.8c019868.js";import{W as Q}from"../chunks/workers-list.0e0f0daa.js";import{g as S}from"../chunks/pollers-service.1177164f.js";import{P as T}from"../chunks/page-title.ba38eecf.js";function W(a){return{c:s,l:s,m:s,p:s,i:s,o:s,d:s}}function j(a){let r,o;return r=new Q({props:{taskQueue:a[0],workers:a[1]}}),{c(){m(r.$$.fragment)},l(e){p(r.$$.fragment,e)},m(e,n){f(r,e,n),o=!0},p:s,i(e){o||(u(r.$$.fragment,e),o=!0)},o(e){i(r.$$.fragment,e),o=!1},d(e){$(r,e)}}}function D(a){return{c:s,l:s,m:s,p:s,i:s,o:s,d:s}}function E(a){let r,o,e={ctx:a,current:null,token:null,hasCatch:!1,pending:D,then:j,catch:W,value:1,blocks:[,,,]};return P(a[1],e),{c(){r=_(),e.block.c()},l(n){r=_(),e.block.l(n)},m(n,t){d(n,r,t),e.block.m(n,e.anchor=t),e.mount=()=>r.parentNode,e.anchor=r,o=!0},p(n,[t]){a=n,y(e,a,t)},i(n){o||(u(e.block),o=!0)},o(n){for(let t=0;t<3;t+=1){const l=e.blocks[t];i(l)}o=!1},d(n){n&&h(r),e.block.d(n),e.token=null,e=null}}}function F(a,r,o){let e;w(a,q,c=>o(2,e=c));let{queue:n,namespace:t}=e.params,l=S({queue:n,namespace:t});return[n,l]}class L extends k{constructor(r){super(),g(this,r,F,E,b,{})}}function N(a){let r,o,e,n;return r=new T({props:{title:`Task Queue | ${a[1]}`,url:a[0].url.href}}),e=new L({}),{c(){m(r.$$.fragment),o=C(),m(e.$$.fragment)},l(t){p(r.$$.fragment,t),o=v(t),p(e.$$.fragment,t)},m(t,l){f(r,t,l),d(t,o,l),f(e,t,l),n=!0},p(t,[l]){const c={};l&1&&(c.url=t[0].url.href),r.$set(c)},i(t){n||(u(r.$$.fragment,t),u(e.$$.fragment,t),n=!0)},o(t){i(r.$$.fragment,t),i(e.$$.fragment,t),n=!1},d(t){$(r,t),t&&h(o),$(e,t)}}}function x(a,r,o){let e;w(a,q,t=>o(0,e=t));const n=e.params.queue;return[e,n]}class I extends k{constructor(r){super(),g(this,r,x,N,b,{})}}export{I as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-compact-page.ts.3e7ca93a.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-compact-page.ts.3e7ca93a.js deleted file mode 100644 index fdfaa70a55..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-compact-page.ts.3e7ca93a.js +++ /dev/null @@ -1 +0,0 @@ -import"../chunks/index.b1f5b21f.js";import"../chunks/route-for.b4518ba8.js";import{l as t}from"../chunks/_page.7000bda5.js";export{t as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-compact-page.ts.7c86de26.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-compact-page.ts.7c86de26.js new file mode 100644 index 0000000000..50d55c60eb --- /dev/null +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-compact-page.ts.7c86de26.js @@ -0,0 +1 @@ +import"../chunks/index.b1f5b21f.js";import"../chunks/route-for.3e9c6ff4.js";import{l as t}from"../chunks/_page.b0e16fa6.js";export{t as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-feed-page.ts.3e7ca93a.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-feed-page.ts.3e7ca93a.js deleted file mode 100644 index ee066e4ab1..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-feed-page.ts.3e7ca93a.js +++ /dev/null @@ -1 +0,0 @@ -import"../chunks/index.b1f5b21f.js";import"../chunks/route-for.b4518ba8.js";import{l as t}from"../chunks/_page.0f7a0fac.js";export{t as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-feed-page.ts.7c86de26.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-feed-page.ts.7c86de26.js new file mode 100644 index 0000000000..79a4290e36 --- /dev/null +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-feed-page.ts.7c86de26.js @@ -0,0 +1 @@ +import"../chunks/index.b1f5b21f.js";import"../chunks/route-for.3e9c6ff4.js";import{l as t}from"../chunks/_page.eecc6007.js";export{t as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-json-page.ts.3e7ca93a.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-json-page.ts.3e7ca93a.js deleted file mode 100644 index d83811735f..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-json-page.ts.3e7ca93a.js +++ /dev/null @@ -1 +0,0 @@ -import"../chunks/index.b1f5b21f.js";import"../chunks/route-for.b4518ba8.js";import{l as t}from"../chunks/_page.104de196.js";export{t as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-json-page.ts.7c86de26.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-json-page.ts.7c86de26.js new file mode 100644 index 0000000000..0a1dcef1c8 --- /dev/null +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-json-page.ts.7c86de26.js @@ -0,0 +1 @@ +import"../chunks/index.b1f5b21f.js";import"../chunks/route-for.3e9c6ff4.js";import{l as t}from"../chunks/_page.029207e9.js";export{t as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-page.svelte.923c8d96.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-page.svelte.47f32cdb.js similarity index 99% rename from ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-page.svelte.923c8d96.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-page.svelte.47f32cdb.js index 4d2a3828c3..838ad5fbbc 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-page.svelte.923c8d96.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-page.svelte.47f32cdb.js @@ -1,4 +1,4 @@ -import{S as ue,b as ce,a as me,e as te,f as w,j as $,z as K,g as p,h as G,k as c,L as ee,m as I,w as N,c as S,C as k,p as C,q as T,x as R,d as D,D as y,u as v,M as _,E as b,a1 as ct,a2 as mt,F as E,y as se,au as Tr,n as X,_ as Ue,O as rt,R as bt,V as hr,a5 as Et,P as yr,a7 as Ir,a3 as Re,a4 as Pe,G as st,H as ot,I as at,J as it,B as nt,i as Cr,a6 as Ar,A as Wr,Y as Sr,Z as Dr}from"../chunks/index.d29c66be.js";import{p as Be}from"../chunks/stores.b938c0e3.js";import{d as ft,e as Nr,b as Tt}from"../chunks/event-view.73e1a728.js";import{E as _r,F as Rr,G as Pr,u as Br,g as Hr,n as Vr,h as Fr,p as Lr,B as Or}from"../chunks/is-event-type.0064ca29.js";import{s as ut}from"../chunks/parse-with-big-int.02af2f95.js";import{h as jr,a as Mr}from"../chunks/has.8da86d13.js";import{a as $t,b as gr,c as tt,e as wr}from"../chunks/events-service.85840f73.js";import{w as qe,a as yt,r as Ur}from"../chunks/workflow-run.2461dc7d.js";import{n as qr}from"../chunks/namespaces.52575875.js";import{T as zr,a as et}from"../chunks/toggle-buttons.10f7f06f.js";import{f as Le}from"../chunks/format-date.100c5f23.js";import{j as It,D as Ct}from"../chunks/format-time.66fea38b.js";import{h as Qr,f as Te,o as At,g as Wt,k as Se}from"../chunks/route-for.b4518ba8.js";import{L as Ie}from"../chunks/link.d5f6f19e.js";import{I as pt}from"../chunks/icon.5aa23970.js";import{B as ye}from"../chunks/badge.2c189bf4.js";import{C as ze}from"../chunks/code-block.fc92cd67.js";import{T as vr,C as He}from"../chunks/tooltip.ca813c82.js";import{j as St,k as Dt}from"../chunks/format-event-attributes.f0307b43.js";import{t as Nt}from"../chunks/to-time-difference.be87d1bf.js";import{A as dt}from"../chunks/accordion.2f807bee.js";import{P as kr}from"../chunks/pagination.15ad2803.js";import{T as Qe,a as Je}from"../chunks/table-header-row.a7bab5a4.js";import{T as lt}from"../chunks/table-row.4a68a50d.js";import{W as Jr}from"../chunks/workflow-status.ddd088c4.js";import"../chunks/navigation.9ceca11e.js";import{E as Kr}from"../chunks/empty-state.bf113865.js";import{t as Gr}from"../chunks/time-format.6ef667eb.js";import{A as Yr}from"../chunks/alert.bf61782e.js";import{b as br,E as Zr,a as Xr}from"../chunks/event-empty-row.f1ffb146.js";import{D as xr}from"../chunks/drawer.e151c6f1.js";import{B as en}from"../chunks/button.e7112b29.js";import{a as ht}from"../chunks/auth-user.ead5c000.js";import{e as tn}from"../chunks/filters.a4cc47c7.js";import{g as Rt}from"../chunks/index.e1962a6e.js";import{C as rn}from"../chunks/get-event-categorization.b6da7e5f.js";import{T as nn}from"../chunks/toggle-switch.58d0ba8c.js";import{W as ln}from"../chunks/workflow-json-navigator.d241bda8.js";import{P as sn}from"../chunks/page-title.ba38eecf.js";const on=["WorkflowExecutionFailed","WorkflowExecutionCompleted","WorkflowExecutionContinuedAsNew","WorkflowExecutionTimedOut","WorkflowExecutionCanceled","WorkflowExecutionTerminated"],Pt=s=>!!s.workflowExecutionStartedEventAttributes,Bt=s=>{for(const e of on)if(s.eventType===e)return!0;return!1},Ht=s=>s.eventType==="WorkflowTaskFailed",Vt=s=>s.eventType==="WorkflowTaskCompleted",an=s=>{var e;return _r(s)?(e=s.attributes.input)==null?void 0:e.payloads:Rr(s)?s.attributes.result===null?null:s.attributes.result.payloads:s.attributes},fn=s=>{var f,u;let e,r,t,n=!1,l,o,i,a=!1;for(const m of s.start)if(Pt(m)){l=m;continue}else if(Bt(m)){o=m;continue}else if(Vt(m)){i&&(i=void 0);continue}else if(!a&&Ht(m)){i=m;continue}for(const m of s.end)if(Pt(m)){l=m;continue}else if(Bt(m)){o=m;continue}else if(Vt(m)){a=!0;continue}else if(!a&&Ht(m)){i=m;continue}return l&&(e=ut(((u=(f=l==null?void 0:l.workflowExecutionStartedEventAttributes)==null?void 0:f.input)==null?void 0:u.payloads)??null)),o&&(n=_r(o),r=ut(an(o))),i&&(t=i),{input:e,results:r,error:t,contAsNew:n}},un=s=>{for(const e of s)if(jr(e.attributes,"newExecutionRunId")&&Mr(e.attributes.newExecutionRunId))return e.attributes.newExecutionRunId},cn=s=>Br(s)||Hr(s)||Vr(s)||Fr(s)||Lr(s),mn=(s,e,r,t)=>{var g,h,A,F,M,U,q;const n=r.filter(j=>cn(j)),l=!!(s!=null&&s.pendingChildren.length)||!!n.length,o=s==null?void 0:s.parent,i=(h=(g=t==null?void 0:t.find(j=>j.namespaceInfo.id===s.parentNamespaceId))==null?void 0:g.namespaceInfo)==null?void 0:h.name,a=e.start.find(Pr),f=un(e.end),u=(A=a==null?void 0:a.attributes)==null?void 0:A.firstExecutionRunId,m=u===(s==null?void 0:s.runId)?void 0:u,d=(F=a==null?void 0:a.attributes)==null?void 0:F.continuedExecutionRunId,W=(q=(U=(M=a==null?void 0:a.attributes)==null?void 0:M.searchAttributes)==null?void 0:U.indexedFields)==null?void 0:q.TemporalScheduledById;return{hasRelationships:!!(o||l||m||d||f||W),hasChildren:l,children:n,first:m,previous:d,parent:o,parentNamespaceName:i,next:f,scheduleId:W}},$n=async({namespace:s,workflowId:e,runId:r,settings:t,accessToken:n})=>{var f;const o=((f=t==null?void 0:t.codec)==null?void 0:f.decodeEventHistoryDownload)?await $t({namespace:s,workflowId:e,runId:r,settings:t,accessToken:n,sort:"ascending"}):await gr({namespace:s,workflowId:e,runId:r,sort:"ascending"}),i=ut({events:o},null,2);a(i,`${r}/events.json`,"text/plain");function a(u,m,d){const W=document.createElement("a"),P=new Blob([u],{type:d});W.href=URL.createObjectURL(P),W.download=m,W.click()}};function Ft(s,e,r){const t=s.slice();t[6]=e[r].id,t[7]=Tr(e[r],["id"]);const n=t[7].attempt>1;return t[8]=n,t}function Lt(s){let e,r,t,n,l,o=[],i=new Map,a,f,u,m,d=s[0]&&Ot(s),W=s[2];const P=g=>g[6];for(let g=0;g!!s.workflowExecutionStartedEventAttributes,Bt=s=>{for(const e of on)if(s.eventType===e)return!0;return!1},Ht=s=>s.eventType==="WorkflowTaskFailed",Vt=s=>s.eventType==="WorkflowTaskCompleted",an=s=>{var e;return _r(s)?(e=s.attributes.input)==null?void 0:e.payloads:Rr(s)?s.attributes.result===null?null:s.attributes.result.payloads:s.attributes},fn=s=>{var f,u;let e,r,t,n=!1,l,o,i,a=!1;for(const m of s.start)if(Pt(m)){l=m;continue}else if(Bt(m)){o=m;continue}else if(Vt(m)){i&&(i=void 0);continue}else if(!a&&Ht(m)){i=m;continue}for(const m of s.end)if(Pt(m)){l=m;continue}else if(Bt(m)){o=m;continue}else if(Vt(m)){a=!0;continue}else if(!a&&Ht(m)){i=m;continue}return l&&(e=ut(((u=(f=l==null?void 0:l.workflowExecutionStartedEventAttributes)==null?void 0:f.input)==null?void 0:u.payloads)??null)),o&&(n=_r(o),r=ut(an(o))),i&&(t=i),{input:e,results:r,error:t,contAsNew:n}},un=s=>{for(const e of s)if(jr(e.attributes,"newExecutionRunId")&&Mr(e.attributes.newExecutionRunId))return e.attributes.newExecutionRunId},cn=s=>Br(s)||Hr(s)||Vr(s)||Fr(s)||Lr(s),mn=(s,e,r,t)=>{var g,h,A,F,M,U,q;const n=r.filter(j=>cn(j)),l=!!(s!=null&&s.pendingChildren.length)||!!n.length,o=s==null?void 0:s.parent,i=(h=(g=t==null?void 0:t.find(j=>j.namespaceInfo.id===s.parentNamespaceId))==null?void 0:g.namespaceInfo)==null?void 0:h.name,a=e.start.find(Pr),f=un(e.end),u=(A=a==null?void 0:a.attributes)==null?void 0:A.firstExecutionRunId,m=u===(s==null?void 0:s.runId)?void 0:u,d=(F=a==null?void 0:a.attributes)==null?void 0:F.continuedExecutionRunId,W=(q=(U=(M=a==null?void 0:a.attributes)==null?void 0:M.searchAttributes)==null?void 0:U.indexedFields)==null?void 0:q.TemporalScheduledById;return{hasRelationships:!!(o||l||m||d||f||W),hasChildren:l,children:n,first:m,previous:d,parent:o,parentNamespaceName:i,next:f,scheduleId:W}},$n=async({namespace:s,workflowId:e,runId:r,settings:t,accessToken:n})=>{var f;const o=((f=t==null?void 0:t.codec)==null?void 0:f.decodeEventHistoryDownload)?await $t({namespace:s,workflowId:e,runId:r,settings:t,accessToken:n,sort:"ascending"}):await gr({namespace:s,workflowId:e,runId:r,sort:"ascending"}),i=ut({events:o},null,2);a(i,`${r}/events.json`,"text/plain");function a(u,m,d){const W=document.createElement("a"),P=new Blob([u],{type:d});W.href=URL.createObjectURL(P),W.download=m,W.click()}};function Ft(s,e,r){const t=s.slice();t[6]=e[r].id,t[7]=Tr(e[r],["id"]);const n=t[7].attempt>1;return t[8]=n,t}function Lt(s){let e,r,t,n,l,o=[],i=new Map,a,f,u,m,d=s[0]&&Ot(s),W=s[2];const P=g=>g[6];for(let g=0;g{d=null}),G()),h&6&&(W=g[2],K(),o=ct(o,h,P,1,g,W,i,l,mt,zt,null,Ft),G());const A={};h&2&&(A.href=g[1]),h&2048&&(A.$$scope={dirty:h,ctx:g}),u.$set(A)},i(g){if(!m){$(d);for(let h=0;h{l=null}),G()),(!n||i&4)&&r!==(r=o[7].attempt+"")&&se(t,r)},i(o){n||($(l),n=!0)},o(o){p(l),n=!1},d(o){l&&l.d(o),o&&c(e),o&&c(t)}}}function gn(s){let e=Dt(s[7].maximumAttempts,s[7].attempt)+"",r;return{c(){r=N(e)},l(t){r=R(t,e)},m(t,n){w(t,r,n)},p(t,n){n&4&&e!==(e=Dt(t[7].maximumAttempts,t[7].attempt)+"")&&se(r,e)},d(t){t&&c(r)}}}function Mt(s){let e,r,t,n,l,o;return l=new ye({props:{type:s[8]?"error":"default",$$slots:{default:[wn]},$$scope:{ctx:s}}}),{c(){e=I("div"),r=I("h4"),t=N("Next Retry"),n=S(),k(l.$$.fragment),this.h()},l(i){e=C(i,"DIV",{class:!0});var a=T(e);r=C(a,"H4",{class:!0});var f=T(r);t=R(f,"Next Retry"),f.forEach(c),n=D(a),y(l.$$.fragment,a),a.forEach(c),this.h()},h(){v(r,"class","pending-activity-detail-header svelte-155uvlv"),v(e,"class","pending-activity-detail svelte-155uvlv")},m(i,a){w(i,e,a),_(e,r),_(r,t),_(e,n),b(l,e,null),o=!0},p(i,a){const f={};a&4&&(f.type=i[8]?"error":"default"),a&2052&&(f.$$scope={dirty:a,ctx:i}),l.$set(f)},i(i){o||($(l.$$.fragment,i),o=!0)},o(i){p(l.$$.fragment,i),o=!1},d(i){i&&c(e),E(l)}}}function wn(s){let e=Nt({date:s[7].scheduledTime,negativeDefault:"None"})+"",r;return{c(){r=N(e)},l(t){r=R(t,e)},m(t,n){w(t,r,n)},p(t,n){n&4&&e!==(e=Nt({date:t[7].scheduledTime,negativeDefault:"None"})+"")&&se(r,e)},d(t){t&&c(r)}}}function Ut(s){let e,r,t,n,l,o;return l=new ze({props:{class:"max-h-32",content:s[7].heartbeatDetails}}),{c(){e=I("div"),r=I("h4"),t=N("Heartbeat Details"),n=S(),k(l.$$.fragment),this.h()},l(i){e=C(i,"DIV",{class:!0});var a=T(e);r=C(a,"H4",{class:!0});var f=T(r);t=R(f,"Heartbeat Details"),f.forEach(c),n=D(a),y(l.$$.fragment,a),a.forEach(c),this.h()},h(){v(r,"class","pending-activity-detail-header svelte-155uvlv"),v(e,"class","w-1/2 grow")},m(i,a){w(i,e,a),_(e,r),_(r,t),_(e,n),b(l,e,null),o=!0},p(i,a){const f={};a&4&&(f.content=i[7].heartbeatDetails),l.$set(f)},i(i){o||($(l.$$.fragment,i),o=!0)},o(i){p(l.$$.fragment,i),o=!1},d(i){i&&c(e),E(l)}}}function qt(s){let e,r,t,n,l,o;return l=new ze({props:{class:"max-h-32",content:s[7].lastFailure}}),{c(){e=I("div"),r=I("h4"),t=N("Last Failure"),n=S(),k(l.$$.fragment),this.h()},l(i){e=C(i,"DIV",{class:!0});var a=T(e);r=C(a,"H4",{class:!0});var f=T(r);t=R(f,"Last Failure"),f.forEach(c),n=D(a),y(l.$$.fragment,a),a.forEach(c),this.h()},h(){v(r,"class","pending-activity-detail-header svelte-155uvlv"),v(e,"class","w-1/2 grow")},m(i,a){w(i,e,a),_(e,r),_(r,t),_(e,n),b(l,e,null),o=!0},p(i,a){const f={};a&4&&(f.content=i[7].lastFailure),l.$set(f)},i(i){o||($(l.$$.fragment,i),o=!0)},o(i){p(l.$$.fragment,i),o=!1},d(i){i&&c(e),E(l)}}}function zt(s,e){var Oe,je;let r,t,n=e[7].activityId+"",l,o,i,a,f,u,m,d,W,P,g,h,A,F,M,U,q=Le(e[7].lastHeartbeatTime,"relative")+"",j,L,ne,Y,x,O,z,pe,B,Q,re,H,V,de,ge,le,he,_e,J,$e=St(e[7].maximumAttempts,It(Ct({start:Date.now(),end:e[7].expirationTime})))+"",ve,Ae,oe,Ce,ke,Ee;g=new ye({props:{type:e[8]?"error":"default",$$slots:{default:[hn]},$$scope:{ctx:e}}}),z=new ye({props:{type:e[8]?"error":"default",$$slots:{default:[_n]},$$scope:{ctx:e}}}),V=new ye({props:{type:e[8]?"error":"default",$$slots:{default:[gn]},$$scope:{ctx:e}}});let ae=e[8]&&e[7].scheduledTime&&Mt(e),ie=((Oe=e[7])==null?void 0:Oe.heartbeatDetails)&&Ut(e),fe=((je=e[7])==null?void 0:je.lastFailure)&&qt(e);return{key:s,first:null,c(){r=I("div"),t=I("h3"),l=N(n),o=S(),i=I("div"),a=I("div"),f=I("a"),u=I("div"),m=I("div"),d=I("h4"),W=N("Activity Type"),P=S(),k(g.$$.fragment),h=S(),A=I("div"),F=I("h4"),M=N("Last Heartbeat"),U=S(),j=N(q),L=S(),ne=I("div"),Y=I("h4"),x=N("Attempt"),O=S(),k(z.$$.fragment),pe=S(),B=I("div"),Q=I("h4"),re=N("Attempts Left"),H=S(),k(V.$$.fragment),de=S(),ae&&ae.c(),ge=S(),le=I("div"),he=I("h4"),_e=N("Expiration"),J=S(),ve=N($e),Ae=S(),oe=I("div"),ie&&ie.c(),Ce=S(),fe&&fe.c(),ke=S(),this.h()},l(we){r=C(we,"DIV",{class:!0});var Z=T(r);t=C(Z,"H3",{class:!0});var We=T(t);l=R(We,n),We.forEach(c),o=D(Z),i=C(Z,"DIV",{class:!0});var Ve=T(i);a=C(Ve,"DIV",{class:!0});var De=T(a);f=C(De,"A",{class:!0,href:!0});var Me=T(f);u=C(Me,"DIV",{class:!0});var be=T(u);m=C(be,"DIV",{class:!0});var Ke=T(m);d=C(Ke,"H4",{class:!0});var _t=T(d);W=R(_t,"Activity Type"),_t.forEach(c),P=D(Ke),y(g.$$.fragment,Ke),Ke.forEach(c),h=D(be),A=C(be,"DIV",{class:!0});var Ge=T(A);F=C(Ge,"H4",{class:!0});var gt=T(F);M=R(gt,"Last Heartbeat"),gt.forEach(c),U=D(Ge),j=R(Ge,q),Ge.forEach(c),L=D(be),ne=C(be,"DIV",{class:!0});var Ye=T(ne);Y=C(Ye,"H4",{class:!0});var wt=T(Y);x=R(wt,"Attempt"),wt.forEach(c),O=D(Ye),y(z.$$.fragment,Ye),Ye.forEach(c),pe=D(be),B=C(be,"DIV",{class:!0});var Ze=T(B);Q=C(Ze,"H4",{class:!0});var vt=T(Q);re=R(vt,"Attempts Left"),vt.forEach(c),H=D(Ze),y(V.$$.fragment,Ze),Ze.forEach(c),de=D(be),ae&&ae.l(be),ge=D(be),le=C(be,"DIV",{class:!0});var Xe=T(le);he=C(Xe,"H4",{class:!0});var kt=T(he);_e=R(kt,"Expiration"),kt.forEach(c),J=D(Xe),ve=R(Xe,$e),Xe.forEach(c),be.forEach(c),Me.forEach(c),Ae=D(De),oe=C(De,"DIV",{class:!0});var xe=T(oe);ie&&ie.l(xe),Ce=D(xe),fe&&fe.l(xe),xe.forEach(c),De.forEach(c),Ve.forEach(c),ke=D(Z),Z.forEach(c),this.h()},h(){v(t,"class","w-full self-start text-sm font-normal text-gray-500"),v(d,"class","pending-activity-detail-header svelte-155uvlv"),v(m,"class","pending-activity-detail svelte-155uvlv"),v(F,"class","pending-activity-detail-header svelte-155uvlv"),v(A,"class","pending-activity-detail svelte-155uvlv"),v(Y,"class","pending-activity-detail-header svelte-155uvlv"),v(ne,"class","pending-activity-detail svelte-155uvlv"),v(Q,"class","pending-activity-detail-header svelte-155uvlv"),v(B,"class","pending-activity-detail svelte-155uvlv"),v(he,"class","pending-activity-detail-header svelte-155uvlv"),v(le,"class","pending-activity-detail svelte-155uvlv"),v(u,"class","pending-activity-inner-row svelte-155uvlv"),v(f,"class","flex w-full items-center hover:bg-gray-50"),v(f,"href",e[1]),v(oe,"class","pending-activity-failure-details svelte-155uvlv"),v(a,"class","pending-activity-summary svelte-155uvlv"),v(i,"class","pending-activity-row svelte-155uvlv"),v(r,"class","pending-activity-row-container svelte-155uvlv"),this.first=r},m(we,Z){w(we,r,Z),_(r,t),_(t,l),_(r,o),_(r,i),_(i,a),_(a,f),_(f,u),_(u,m),_(m,d),_(d,W),_(m,P),b(g,m,null),_(u,h),_(u,A),_(A,F),_(F,M),_(A,U),_(A,j),_(u,L),_(u,ne),_(ne,Y),_(Y,x),_(ne,O),b(z,ne,null),_(u,pe),_(u,B),_(B,Q),_(Q,re),_(B,H),b(V,B,null),_(u,de),ae&&ae.m(u,null),_(u,ge),_(u,le),_(le,he),_(he,_e),_(le,J),_(le,ve),_(a,Ae),_(a,oe),ie&&ie.m(oe,null),_(oe,Ce),fe&&fe.m(oe,null),_(r,ke),Ee=!0},p(we,Z){var Me,be;e=we,(!Ee||Z&4)&&n!==(n=e[7].activityId+"")&&se(l,n);const We={};Z&4&&(We.type=e[8]?"error":"default"),Z&2052&&(We.$$scope={dirty:Z,ctx:e}),g.$set(We),(!Ee||Z&4)&&q!==(q=Le(e[7].lastHeartbeatTime,"relative")+"")&&se(j,q);const Ve={};Z&4&&(Ve.type=e[8]?"error":"default"),Z&2052&&(Ve.$$scope={dirty:Z,ctx:e}),z.$set(Ve);const De={};Z&4&&(De.type=e[8]?"error":"default"),Z&2052&&(De.$$scope={dirty:Z,ctx:e}),V.$set(De),e[8]&&e[7].scheduledTime?ae?(ae.p(e,Z),Z&4&&$(ae,1)):(ae=Mt(e),ae.c(),$(ae,1),ae.m(u,ge)):ae&&(K(),p(ae,1,1,()=>{ae=null}),G()),(!Ee||Z&4)&&$e!==($e=St(e[7].maximumAttempts,It(Ct({start:Date.now(),end:e[7].expirationTime})))+"")&&se(ve,$e),(!Ee||Z&2)&&v(f,"href",e[1]),(Me=e[7])!=null&&Me.heartbeatDetails?ie?(ie.p(e,Z),Z&4&&$(ie,1)):(ie=Ut(e),ie.c(),$(ie,1),ie.m(oe,Ce)):ie&&(K(),p(ie,1,1,()=>{ie=null}),G()),(be=e[7])!=null&&be.lastFailure?fe?(fe.p(e,Z),Z&4&&$(fe,1)):(fe=qt(e),fe.c(),$(fe,1),fe.m(oe,null)):fe&&(K(),p(fe,1,1,()=>{fe=null}),G())},i(we){Ee||($(g.$$.fragment,we),$(z.$$.fragment,we),$(V.$$.fragment,we),$(ae),$(ie),$(fe),Ee=!0)},o(we){p(g.$$.fragment,we),p(z.$$.fragment,we),p(V.$$.fragment,we),p(ae),p(ie),p(fe),Ee=!1},d(we){we&&c(r),E(g),E(z),E(V),ae&&ae.d(),ie&&ie.d(),fe&&fe.d()}}}function vn(s){let e;return{c(){e=N("Show all")},l(r){e=R(r,"Show all")},m(r,t){w(r,e,t)},d(r){r&&c(e)}}}function kn(s){let e,r,t=s[2].length&&Lt(s);return{c(){t&&t.c(),e=te()},l(n){t&&t.l(n),e=te()},m(n,l){t&&t.m(n,l),w(n,e,l),r=!0},p(n,[l]){n[2].length?t?(t.p(n,l),l&4&&$(t,1)):(t=Lt(n),t.c(),$(t,1),t.m(e.parentNode,e)):t&&(K(),p(t,1,1,()=>{t=null}),G())},i(n){r||($(t),r=!0)},o(n){p(t),r=!1},d(n){t&&t.d(n),n&&c(e)}}}function bn(s,e,r){let t,n,l,o,i,a;return ee(s,Be,f=>r(4,i=f)),ee(s,qe,f=>r(5,a=f)),s.$$.update=()=>{s.$$.dirty&32&&r(3,{workflow:t}=a,t),s.$$.dirty&8&&r(2,n=t==null?void 0:t.pendingActivities),s.$$.dirty&16&&r(1,l=Qr({namespace:i.params.namespace,workflow:i.params.workflow,run:i.params.run})),s.$$.dirty&8&&r(0,o=["Terminated","TimedOut","Canceled"].includes(t==null?void 0:t.status))},[o,l,n,t,i,a]}class En extends ue{constructor(e){super(),ce(this,e,bn,kn,me,{})}}function Qt(s,e,r){const t=s.slice();return t[7]=e[r],t}function Tn(s){let e=s[7].workflowId+"",r;return{c(){r=N(e)},l(t){r=R(t,e)},m(t,n){w(t,r,n)},p(t,n){n&64&&e!==(e=t[7].workflowId+"")&&se(r,e)},d(t){t&&c(r)}}}function yn(s){let e=s[7].runId+"",r;return{c(){r=N(e)},l(t){r=R(t,e)},m(t,n){w(t,r,n)},p(t,n){n&64&&e!==(e=t[7].runId+"")&&se(r,e)},d(t){t&&c(r)}}}function In(s){let e,r,t,n,l,o,i,a,f,u;return r=new Jr({props:{status:s[7].status}}),l=new Ie({props:{newTab:!0,href:Te({namespace:s[7].namespace,workflow:s[7].workflowId,run:s[7].runId}),$$slots:{default:[Tn]},$$scope:{ctx:s}}}),a=new Ie({props:{newTab:!0,href:Te({namespace:s[7].namespace,workflow:s[7].workflowId,run:s[7].runId}),$$slots:{default:[yn]},$$scope:{ctx:s}}}),{c(){e=I("td"),k(r.$$.fragment),t=S(),n=I("td"),k(l.$$.fragment),o=S(),i=I("td"),k(a.$$.fragment),f=S(),this.h()},l(m){e=C(m,"TD",{class:!0});var d=T(e);y(r.$$.fragment,d),d.forEach(c),t=D(m),n=C(m,"TD",{class:!0});var W=T(n);y(l.$$.fragment,W),W.forEach(c),o=D(m),i=C(m,"TD",{class:!0});var P=T(i);y(a.$$.fragment,P),P.forEach(c),f=D(m),this.h()},h(){v(e,"class","max-md:hidden"),v(n,"class","hover:text-blue-700 hover:underline"),v(i,"class","hover:text-blue-700 hover:underline")},m(m,d){w(m,e,d),b(r,e,null),w(m,t,d),w(m,n,d),b(l,n,null),w(m,o,d),w(m,i,d),b(a,i,null),w(m,f,d),u=!0},p(m,d){const W={};d&64&&(W.status=m[7].status),r.$set(W);const P={};d&64&&(P.href=Te({namespace:m[7].namespace,workflow:m[7].workflowId,run:m[7].runId})),d&1088&&(P.$$scope={dirty:d,ctx:m}),l.$set(P);const g={};d&64&&(g.href=Te({namespace:m[7].namespace,workflow:m[7].workflowId,run:m[7].runId})),d&1088&&(g.$$scope={dirty:d,ctx:m}),a.$set(g)},i(m){u||($(r.$$.fragment,m),$(l.$$.fragment,m),$(a.$$.fragment,m),u=!0)},o(m){p(r.$$.fragment,m),p(l.$$.fragment,m),p(a.$$.fragment,m),u=!1},d(m){m&&c(e),E(r),m&&c(t),m&&c(n),E(l),m&&c(o),m&&c(i),E(a),m&&c(f)}}}function Jt(s,e){let r,t,n;return t=new lt({props:{$$slots:{default:[In]},$$scope:{ctx:e}}}),{key:s,first:null,c(){r=te(),k(t.$$.fragment),this.h()},l(l){r=te(),y(t.$$.fragment,l),this.h()},h(){this.first=r},m(l,o){w(l,r,o),b(t,l,o),n=!0},p(l,o){e=l;const i={};o&1088&&(i.$$scope={dirty:o,ctx:e}),t.$set(i)},i(l){n||($(t.$$.fragment,l),n=!0)},o(l){p(t.$$.fragment,l),n=!1},d(l){l&&c(r),E(t,l)}}}function Cn(s){let e=[],r=new Map,t,n,l=s[6];const o=i=>i[7].runId;for(let i=0;i({6:t}),({visibleItems:t})=>t?64:0],default:[Sn,({visibleItems:t})=>({6:t}),({visibleItems:t})=>t?64:0]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,[n]){const l={};n&1&&(l.items=t[0]),n&1088&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function Rn(s,e,r){let t,n,l,{children:o=[]}=e,{pendingChildren:i=[]}=e,{namespace:a}=e;return s.$$set=f=>{"children"in f&&r(1,o=f.children),"pendingChildren"in f&&r(2,i=f.pendingChildren),"namespace"in f&&r(3,a=f.namespace)},s.$$.update=()=>{s.$$.dirty&12&&r(5,t=i.map(f=>({runId:f.runId,workflowId:f.workflowId,status:"Running",namespace:a}))),s.$$.dirty&10&&r(4,n=o.map(f=>{var u;return{runId:f.attributes.workflowExecution.runId,workflowId:f.attributes.workflowExecution.workflowId,status:f.classification,namespace:((u=f.attributes)===null||u===void 0?void 0:u.namespace)||a}})),s.$$.dirty&48&&r(0,l=[...t,...n])},[l,o,i,a,n,t]}class Pn extends ue{constructor(e){super(),ce(this,e,Rn,Nn,me,{children:1,pendingChildren:2,namespace:3})}}function Bn(s){let e,r;return e=new He({props:{content:s[0].workflowId,visible:!0}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&1&&(l.content=t[0].workflowId),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function Hn(s){let e,r;return e=new He({props:{content:s[0].runId,visible:!0}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&1&&(l.content=t[0].runId),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function Vn(s){let e,r,t,n,l,o;return r=new Ie({props:{newTab:!0,href:Te({namespace:s[1]??s[2],workflow:s[0].workflowId,run:s[0].runId}),$$slots:{default:[Bn]},$$scope:{ctx:s}}}),l=new Ie({props:{newTab:!0,href:Te({namespace:s[1]??s[2],workflow:s[0].workflowId,run:s[0].runId}),$$slots:{default:[Hn]},$$scope:{ctx:s}}}),{c(){e=I("td"),k(r.$$.fragment),t=S(),n=I("td"),k(l.$$.fragment)},l(i){e=C(i,"TD",{});var a=T(e);y(r.$$.fragment,a),a.forEach(c),t=D(i),n=C(i,"TD",{});var f=T(n);y(l.$$.fragment,f),f.forEach(c)},m(i,a){w(i,e,a),b(r,e,null),w(i,t,a),w(i,n,a),b(l,n,null),o=!0},p(i,a){const f={};a&7&&(f.href=Te({namespace:i[1]??i[2],workflow:i[0].workflowId,run:i[0].runId})),a&9&&(f.$$scope={dirty:a,ctx:i}),r.$set(f);const u={};a&7&&(u.href=Te({namespace:i[1]??i[2],workflow:i[0].workflowId,run:i[0].runId})),a&9&&(u.$$scope={dirty:a,ctx:i}),l.$set(u)},i(i){o||($(r.$$.fragment,i),$(l.$$.fragment,i),o=!0)},o(i){p(r.$$.fragment,i),p(l.$$.fragment,i),o=!1},d(i){i&&c(e),E(r),i&&c(t),i&&c(n),E(l)}}}function Fn(s){let e,r;return e=new lt({props:{class:"hover:text-blue-700 hover:underline",$$slots:{default:[Vn]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&15&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function Ln(s){let e,r,t,n,l;return{c(){e=I("th"),r=N("Parent Workflow ID"),t=S(),n=I("th"),l=N("Parent Run ID")},l(o){e=C(o,"TH",{});var i=T(e);r=R(i,"Parent Workflow ID"),i.forEach(c),t=D(o),n=C(o,"TH",{});var a=T(n);l=R(a,"Parent Run ID"),a.forEach(c)},m(o,i){w(o,e,i),_(e,r),w(o,t,i),w(o,n,i),_(n,l)},p:X,d(o){o&&c(e),o&&c(t),o&&c(n)}}}function On(s){let e,r;return e=new Je({props:{slot:"headers",$$slots:{default:[Ln]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&8&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function jn(s){let e,r;return e=new Qe({props:{class:"w-full",$$slots:{headers:[On],default:[Fn]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,[n]){const l={};n&15&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function Mn(s,e,r){let{parent:t}=e,{parentNamespaceName:n}=e,{namespace:l}=e;return s.$$set=o=>{"parent"in o&&r(0,t=o.parent),"parentNamespaceName"in o&&r(1,n=o.parentNamespaceName),"namespace"in o&&r(2,l=o.namespace)},[t,n,l]}class Un extends ue{constructor(e){super(),ce(this,e,Mn,jn,me,{parent:0,parentNamespaceName:1,namespace:2})}}function Kt(s){let e,r;return e=new Ie({props:{newTab:!0,href:Te({namespace:s[1],workflow:s[0],run:s[2]}),$$slots:{default:[qn]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&7&&(l.href=Te({namespace:t[1],workflow:t[0],run:t[2]})),n&36&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function qn(s){let e,r;return e=new He({props:{content:s[2],visible:!0}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&4&&(l.content=t[2]),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function Gt(s){let e,r;return e=new Ie({props:{newTab:!0,href:Te({namespace:s[1],workflow:s[0],run:s[4]}),$$slots:{default:[zn]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&19&&(l.href=Te({namespace:t[1],workflow:t[0],run:t[4]})),n&48&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function zn(s){let e,r;return e=new He({props:{content:s[4],visible:!0}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&16&&(l.content=t[4]),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function Yt(s){let e,r;return e=new Ie({props:{newTab:!0,href:Te({namespace:s[1],workflow:s[0],run:s[3]}),$$slots:{default:[Qn]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&11&&(l.href=Te({namespace:t[1],workflow:t[0],run:t[3]})),n&40&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function Qn(s){let e,r;return e=new He({props:{content:s[3],visible:!0}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&8&&(l.content=t[3]),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function Jn(s){let e,r,t,n,l,o,i=s[2]&&Kt(s),a=s[4]&&Gt(s),f=s[3]&&Yt(s);return{c(){e=I("td"),i&&i.c(),r=S(),t=I("td"),a&&a.c(),n=S(),l=I("td"),f&&f.c(),this.h()},l(u){e=C(u,"TD",{class:!0});var m=T(e);i&&i.l(m),m.forEach(c),r=D(u),t=C(u,"TD",{class:!0});var d=T(t);a&&a.l(d),d.forEach(c),n=D(u),l=C(u,"TD",{class:!0});var W=T(l);f&&f.l(W),W.forEach(c),this.h()},h(){v(e,"class","w-1/3 hover:text-blue-700 hover:underline"),v(t,"class","w-1/3 hover:text-blue-700 hover:underline"),v(l,"class","w-1/3 hover:text-blue-700 hover:underline")},m(u,m){w(u,e,m),i&&i.m(e,null),w(u,r,m),w(u,t,m),a&&a.m(t,null),w(u,n,m),w(u,l,m),f&&f.m(l,null),o=!0},p(u,m){u[2]?i?(i.p(u,m),m&4&&$(i,1)):(i=Kt(u),i.c(),$(i,1),i.m(e,null)):i&&(K(),p(i,1,1,()=>{i=null}),G()),u[4]?a?(a.p(u,m),m&16&&$(a,1)):(a=Gt(u),a.c(),$(a,1),a.m(t,null)):a&&(K(),p(a,1,1,()=>{a=null}),G()),u[3]?f?(f.p(u,m),m&8&&$(f,1)):(f=Yt(u),f.c(),$(f,1),f.m(l,null)):f&&(K(),p(f,1,1,()=>{f=null}),G())},i(u){o||($(i),$(a),$(f),o=!0)},o(u){p(i),p(a),p(f),o=!1},d(u){u&&c(e),i&&i.d(),u&&c(r),u&&c(t),a&&a.d(),u&&c(n),u&&c(l),f&&f.d()}}}function Kn(s){let e,r;return e=new lt({props:{$$slots:{default:[Jn]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&63&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function Gn(s){let e,r,t,n,l,o,i,a;return{c(){e=I("th"),r=N("First Execution"),t=S(),n=I("th"),l=N("Previous Execution"),o=S(),i=I("th"),a=N("Next Execution")},l(f){e=C(f,"TH",{});var u=T(e);r=R(u,"First Execution"),u.forEach(c),t=D(f),n=C(f,"TH",{});var m=T(n);l=R(m,"Previous Execution"),m.forEach(c),o=D(f),i=C(f,"TH",{});var d=T(i);a=R(d,"Next Execution"),d.forEach(c)},m(f,u){w(f,e,u),_(e,r),w(f,t,u),w(f,n,u),_(n,l),w(f,o,u),w(f,i,u),_(i,a)},p:X,d(f){f&&c(e),f&&c(t),f&&c(n),f&&c(o),f&&c(i)}}}function Yn(s){let e,r;return e=new Je({props:{slot:"headers",$$slots:{default:[Gn]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&32&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function Zn(s){let e,r;return e=new Qe({props:{class:"w-full",$$slots:{headers:[Yn],default:[Kn]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,[n]){const l={};n&63&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function Xn(s,e,r){let{workflow:t}=e,{namespace:n}=e,{first:l}=e,{next:o}=e,{previous:i}=e;return s.$$set=a=>{"workflow"in a&&r(0,t=a.workflow),"namespace"in a&&r(1,n=a.namespace),"first"in a&&r(2,l=a.first),"next"in a&&r(3,o=a.next),"previous"in a&&r(4,i=a.previous)},[t,n,l,o,i]}class xn extends ue{constructor(e){super(),ce(this,e,Xn,Zn,me,{workflow:0,namespace:1,first:2,next:3,previous:4})}}function el(s){let e,r;return e=new He({props:{content:s[0],visible:!0}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&1&&(l.content=t[0]),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function tl(s){let e,r,t;return r=new Ie({props:{newTab:!0,href:At({namespace:s[1],scheduleId:s[0]}),$$slots:{default:[el]},$$scope:{ctx:s}}}),{c(){e=I("td"),k(r.$$.fragment)},l(n){e=C(n,"TD",{});var l=T(e);y(r.$$.fragment,l),l.forEach(c)},m(n,l){w(n,e,l),b(r,e,null),t=!0},p(n,l){const o={};l&3&&(o.href=At({namespace:n[1],scheduleId:n[0]})),l&5&&(o.$$scope={dirty:l,ctx:n}),r.$set(o)},i(n){t||($(r.$$.fragment,n),t=!0)},o(n){p(r.$$.fragment,n),t=!1},d(n){n&&c(e),E(r)}}}function rl(s){let e,r;return e=new lt({props:{class:"hover:text-blue-700 hover:underline",$$slots:{default:[tl]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&7&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function nl(s){let e,r;return{c(){e=I("th"),r=N("Schedule")},l(t){e=C(t,"TH",{});var n=T(e);r=R(n,"Schedule"),n.forEach(c)},m(t,n){w(t,e,n),_(e,r)},p:X,d(t){t&&c(e)}}}function ll(s){let e,r;return e=new Je({props:{slot:"headers",$$slots:{default:[nl]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&4&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function sl(s){let e,r;return e=new Qe({props:{class:"w-full",$$slots:{headers:[ll],default:[rl]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,[n]){const l={};n&7&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function ol(s,e,r){let{scheduleId:t}=e,{namespace:n}=e;return s.$$set=l=>{"scheduleId"in l&&r(0,t=l.scheduleId),"namespace"in l&&r(1,n=l.namespace)},[t,n]}class al extends ue{constructor(e){super(),ce(this,e,ol,sl,me,{scheduleId:0,namespace:1})}}function il(s){let e,r;return{c(){e=I("p"),r=N("This workflow doesn’t have any relationships")},l(t){e=C(t,"P",{});var n=T(e);r=R(n,"This workflow doesn’t have any relationships"),n.forEach(c)},m(t,n){w(t,e,n),_(e,r)},p:X,i:X,o:X,d(t){t&&c(e)}}}function fl(s){let e,r,t,n,l,o,i=s[8]&&Zt(s),a=s[3]&&Xt(s),f=(s[2]||s[7]||s[6])&&xt(s),u=s[0]&&er(s);return{c(){e=I("div"),i&&i.c(),r=S(),a&&a.c(),t=S(),f&&f.c(),n=S(),u&&u.c(),l=te(),this.h()},l(m){e=C(m,"DIV",{class:!0});var d=T(e);i&&i.l(d),r=D(d),a&&a.l(d),t=D(d),f&&f.l(d),d.forEach(c),n=D(m),u&&u.l(m),l=te(),this.h()},h(){v(e,"class","flex w-full flex-wrap gap-4")},m(m,d){w(m,e,d),i&&i.m(e,null),_(e,r),a&&a.m(e,null),_(e,t),f&&f.m(e,null),w(m,n,d),u&&u.m(m,d),w(m,l,d),o=!0},p(m,d){m[8]?i?(i.p(m,d),d&256&&$(i,1)):(i=Zt(m),i.c(),$(i,1),i.m(e,r)):i&&(K(),p(i,1,1,()=>{i=null}),G()),m[3]?a?(a.p(m,d),d&8&&$(a,1)):(a=Xt(m),a.c(),$(a,1),a.m(e,t)):a&&(K(),p(a,1,1,()=>{a=null}),G()),m[2]||m[7]||m[6]?f?(f.p(m,d),d&196&&$(f,1)):(f=xt(m),f.c(),$(f,1),f.m(e,null)):f&&(K(),p(f,1,1,()=>{f=null}),G()),m[0]?u?(u.p(m,d),d&1&&$(u,1)):(u=er(m),u.c(),$(u,1),u.m(l.parentNode,l)):u&&(K(),p(u,1,1,()=>{u=null}),G())},i(m){o||($(i),$(a),$(f),$(u),o=!0)},o(m){p(i),p(a),p(f),p(u),o=!1},d(m){m&&c(e),i&&i.d(),a&&a.d(),f&&f.d(),m&&c(n),u&&u.d(m),m&&c(l)}}}function Zt(s){let e,r;return e=new al({props:{scheduleId:s[8],namespace:s[10]}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&256&&(l.scheduleId=t[8]),n&1024&&(l.namespace=t[10]),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function Xt(s){let e,r;return e=new Un({props:{parent:s[3],parentNamespaceName:s[4],namespace:s[10]}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&8&&(l.parent=t[3]),n&16&&(l.parentNamespaceName=t[4]),n&1024&&(l.namespace=t[10]),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function xt(s){let e,r;return e=new xn({props:{first:s[2],previous:s[7],next:s[6],workflow:s[11],namespace:s[10]}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&4&&(l.first=t[2]),n&128&&(l.previous=t[7]),n&64&&(l.next=t[6]),n&2048&&(l.workflow=t[11]),n&1024&&(l.namespace=t[10]),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function er(s){let e,r;return e=new Pn({props:{children:s[5],pendingChildren:s[12].workflow.pendingChildren,namespace:s[9].params.namespace}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&32&&(l.children=t[5]),n&4096&&(l.pendingChildren=t[12].workflow.pendingChildren),n&512&&(l.namespace=t[9].params.namespace),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function ul(s){let e,r,t,n;const l=[fl,il],o=[];function i(a,f){return a[1]?0:1}return e=i(s),r=o[e]=l[e](s),{c(){r.c(),t=te()},l(a){r.l(a),t=te()},m(a,f){o[e].m(a,f),w(a,t,f),n=!0},p(a,f){let u=e;e=i(a),e===u?o[e].p(a,f):(K(),p(o[u],1,1,()=>{o[u]=null}),G(),r=o[e],r?r.p(a,f):(r=o[e]=l[e](a),r.c()),$(r,1),r.m(t.parentNode,t))},i(a){n||($(r),n=!0)},o(a){p(r),n=!1},d(a){o[e].d(a),a&&c(t)}}}function tr(s){let e,r;return e=new ye({props:{type:"purple",$$slots:{default:[cl]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function cl(s){let e;return{c(){e=N("Scheduled")},l(r){e=R(r,"Scheduled")},m(r,t){w(r,e,t)},d(r){r&&c(e)}}}function ml(s){let e=(s[3]?1:0)+"",r,t;return{c(){r=N(e),t=N(" Parent")},l(n){r=R(n,e),t=R(n," Parent")},m(n,l){w(n,r,l),w(n,t,l)},p(n,l){l&8&&e!==(e=(n[3]?1:0)+"")&&se(r,e)},d(n){n&&c(r),n&&c(t)}}}function $l(s){let e=s[12].workflow.pendingChildren.length+"",r,t;return{c(){r=N(e),t=N(" Pending Children")},l(n){r=R(n,e),t=R(n," Pending Children")},m(n,l){w(n,r,l),w(n,t,l)},p(n,l){l&4096&&e!==(e=n[12].workflow.pendingChildren.length+"")&&se(r,e)},d(n){n&&c(r),n&&c(t)}}}function pl(s){let e=s[5].length+"",r,t;return{c(){r=N(e),t=N(" Children")},l(n){r=R(n,e),t=R(n," Children")},m(n,l){w(n,r,l),w(n,t,l)},p(n,l){l&32&&e!==(e=n[5].length+"")&&se(r,e)},d(n){n&&c(r),n&&c(t)}}}function dl(s){let e=(s[2]?1:0)+"",r,t;return{c(){r=N(e),t=N(" First")},l(n){r=R(n,e),t=R(n," First")},m(n,l){w(n,r,l),w(n,t,l)},p(n,l){l&4&&e!==(e=(n[2]?1:0)+"")&&se(r,e)},d(n){n&&c(r),n&&c(t)}}}function hl(s){let e=(s[7]?1:0)+"",r,t;return{c(){r=N(e),t=N(" Previous")},l(n){r=R(n,e),t=R(n," Previous")},m(n,l){w(n,r,l),w(n,t,l)},p(n,l){l&128&&e!==(e=(n[7]?1:0)+"")&&se(r,e)},d(n){n&&c(r),n&&c(t)}}}function _l(s){let e=(s[6]?1:0)+"",r,t;return{c(){r=N(e),t=N(" Next")},l(n){r=R(n,e),t=R(n," Next")},m(n,l){w(n,r,l),w(n,t,l)},p(n,l){l&64&&e!==(e=(n[6]?1:0)+"")&&se(r,e)},d(n){n&&c(r),n&&c(t)}}}function gl(s){let e,r,t,n,l,o,i,a,f,u,m,d,W,P,g=s[8]&&tr(s);return t=new ye({props:{type:s[3]?"purple":"gray",$$slots:{default:[ml]},$$scope:{ctx:s}}}),l=new ye({props:{type:s[12].workflow.pendingChildren.length?"purple":"gray",$$slots:{default:[$l]},$$scope:{ctx:s}}}),i=new ye({props:{type:s[5].length?"purple":"gray",$$slots:{default:[pl]},$$scope:{ctx:s}}}),f=new ye({props:{type:s[2]?"purple":"gray",$$slots:{default:[dl]},$$scope:{ctx:s}}}),m=new ye({props:{type:s[7]?"purple":"gray",$$slots:{default:[hl]},$$scope:{ctx:s}}}),W=new ye({props:{type:s[6]?"purple":"gray",$$slots:{default:[_l]},$$scope:{ctx:s}}}),{c(){e=I("div"),g&&g.c(),r=S(),k(t.$$.fragment),n=S(),k(l.$$.fragment),o=S(),k(i.$$.fragment),a=S(),k(f.$$.fragment),u=S(),k(m.$$.fragment),d=S(),k(W.$$.fragment),this.h()},l(h){e=C(h,"DIV",{slot:!0,class:!0});var A=T(e);g&&g.l(A),r=D(A),y(t.$$.fragment,A),n=D(A),y(l.$$.fragment,A),o=D(A),y(i.$$.fragment,A),a=D(A),y(f.$$.fragment,A),u=D(A),y(m.$$.fragment,A),d=D(A),y(W.$$.fragment,A),A.forEach(c),this.h()},h(){v(e,"slot","summary"),v(e,"class","hidden flex-row gap-2 lg:flex")},m(h,A){w(h,e,A),g&&g.m(e,null),_(e,r),b(t,e,null),_(e,n),b(l,e,null),_(e,o),b(i,e,null),_(e,a),b(f,e,null),_(e,u),b(m,e,null),_(e,d),b(W,e,null),P=!0},p(h,A){h[8]?g?A&256&&$(g,1):(g=tr(h),g.c(),$(g,1),g.m(e,r)):g&&(K(),p(g,1,1,()=>{g=null}),G());const F={};A&8&&(F.type=h[3]?"purple":"gray"),A&8200&&(F.$$scope={dirty:A,ctx:h}),t.$set(F);const M={};A&4096&&(M.type=h[12].workflow.pendingChildren.length?"purple":"gray"),A&12288&&(M.$$scope={dirty:A,ctx:h}),l.$set(M);const U={};A&32&&(U.type=h[5].length?"purple":"gray"),A&8224&&(U.$$scope={dirty:A,ctx:h}),i.$set(U);const q={};A&4&&(q.type=h[2]?"purple":"gray"),A&8196&&(q.$$scope={dirty:A,ctx:h}),f.$set(q);const j={};A&128&&(j.type=h[7]?"purple":"gray"),A&8320&&(j.$$scope={dirty:A,ctx:h}),m.$set(j);const L={};A&64&&(L.type=h[6]?"purple":"gray"),A&8256&&(L.$$scope={dirty:A,ctx:h}),W.$set(L)},i(h){P||($(g),$(t.$$.fragment,h),$(l.$$.fragment,h),$(i.$$.fragment,h),$(f.$$.fragment,h),$(m.$$.fragment,h),$(W.$$.fragment,h),P=!0)},o(h){p(g),p(t.$$.fragment,h),p(l.$$.fragment,h),p(i.$$.fragment,h),p(f.$$.fragment,h),p(m.$$.fragment,h),p(W.$$.fragment,h),P=!1},d(h){h&&c(e),g&&g.d(),E(t),E(l),E(i),E(f),E(m),E(W)}}}function wl(s){let e,r,t;return r=new dt({props:{title:"Relationships",icon:"relationship",$$slots:{summary:[gl],default:[ul]},$$scope:{ctx:s}}}),{c(){e=I("section"),k(r.$$.fragment)},l(n){e=C(n,"SECTION",{});var l=T(e);y(r.$$.fragment,l),l.forEach(c)},m(n,l){w(n,e,l),b(r,e,null),t=!0},p(n,[l]){const o={};l&16383&&(o.$$scope={dirty:l,ctx:n}),r.$set(o)},i(n){t||($(r.$$.fragment,n),t=!0)},o(n){p(r.$$.fragment,n),t=!1},d(n){n&&c(e),E(r)}}}function vl(s,e,r){let t,n,l,o;ee(s,Be,h=>r(9,l=h)),ee(s,qe,h=>r(12,o=h));let{hasChildren:i}=e,{hasRelationships:a}=e,{first:f}=e,{parent:u}=e,{parentNamespaceName:m}=e,{children:d}=e,{next:W}=e,{previous:P}=e,{scheduleId:g}=e;return s.$$set=h=>{"hasChildren"in h&&r(0,i=h.hasChildren),"hasRelationships"in h&&r(1,a=h.hasRelationships),"first"in h&&r(2,f=h.first),"parent"in h&&r(3,u=h.parent),"parentNamespaceName"in h&&r(4,m=h.parentNamespaceName),"children"in h&&r(5,d=h.children),"next"in h&&r(6,W=h.next),"previous"in h&&r(7,P=h.previous),"scheduleId"in h&&r(8,g=h.scheduleId)},s.$$.update=()=>{s.$$.dirty&512&&r(11,{workflow:t,namespace:n}=l.params,t,(r(10,n),r(9,l)))},[i,a,f,u,m,d,W,P,g,l,n,t,o]}class kl extends ue{constructor(e){super(),ce(this,e,vl,wl,me,{hasChildren:0,hasRelationships:1,first:2,parent:3,parentNamespaceName:4,children:5,next:6,previous:7,scheduleId:8})}}function rr(s){var n;let e,r,t;return r=new Kr({props:{icon:"warning",title:"No Workers Running",content:"Please make sure you have at least one worker connected to the "+(((n=s[0])==null?void 0:n.taskQueue)??"")+" Task Queue.",class:"my-0"}}),{c(){e=I("section"),k(r.$$.fragment),this.h()},l(l){e=C(l,"SECTION",{class:!0});var o=T(e);y(r.$$.fragment,o),o.forEach(c),this.h()},h(){v(e,"class","stack-trace svelte-y5tg73")},m(l,o){w(l,e,o),b(r,e,null),t=!0},p(l,o){var a;const i={};o&1&&(i.content="Please make sure you have at least one worker connected to the "+(((a=l[0])==null?void 0:a.taskQueue)??"")+" Task Queue."),r.$set(i)},i(l){t||($(r.$$.fragment,l),t=!0)},o(l){p(r.$$.fragment,l),t=!1},d(l){l&&c(e),E(r)}}}function bl(s){let e,r,t=s[1]&&rr(s);return{c(){t&&t.c(),e=te()},l(n){t&&t.l(n),e=te()},m(n,l){t&&t.m(n,l),w(n,e,l),r=!0},p(n,[l]){n[1]?t?(t.p(n,l),l&2&&$(t,1)):(t=rr(n),t.c(),$(t,1),t.m(e.parentNode,e)):t&&(K(),p(t,1,1,()=>{t=null}),G())},i(n){r||($(t),r=!0)},o(n){p(t),r=!1},d(n){t&&t.d(n),n&&c(e)}}}function El(s,e,r){let t,n,l,o;ee(s,qe,a=>r(4,o=a));var i;return s.$$.update=()=>{s.$$.dirty&16&&r(0,{workflow:t,workers:n}=o,t,(r(3,n),r(4,o))),s.$$.dirty&13&&r(1,l=(t==null?void 0:t.isRunning)&&!(!(r(2,i=n==null?void 0:n.pollers)===null||i===void 0)&&i.length))},[t,l,i,n,o]}class Tl extends ue{constructor(e){super(),ce(this,e,El,bl,me,{})}}function yl(s){let e,r,t,n,l,o=s[0]&&nr(s);const i=[Al,Cl],a=[];function f(u,m){return u[3]?0:1}return r=f(s),t=a[r]=i[r](s),{c(){o&&o.c(),e=S(),t.c(),n=te()},l(u){o&&o.l(u),e=D(u),t.l(u),n=te()},m(u,m){o&&o.m(u,m),w(u,e,m),a[r].m(u,m),w(u,n,m),l=!0},p(u,m){u[0]?o?o.p(u,m):(o=nr(u),o.c(),o.m(e.parentNode,e)):o&&(o.d(1),o=null);let d=r;r=f(u),r===d?a[r].p(u,m):(K(),p(a[d],1,1,()=>{a[d]=null}),G(),t=a[r],t?t.p(u,m):(t=a[r]=i[r](u),t.c()),$(t,1),t.m(n.parentNode,n))},i(u){l||($(t),l=!0)},o(u){p(t),l=!1},d(u){o&&o.d(u),u&&c(e),a[r].d(u),u&&c(n)}}}function Il(s){let e,r;return e=new He({props:{content:s[1],visible:!0,"container-class":"gap-1 w-full",$$slots:{default:[Rl]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&2&&(l.content=t[1]),n&43&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function nr(s){let e,r;return{c(){e=N(s[0]),r=N(":")},l(t){e=R(t,s[0]),r=R(t,":")},m(t,n){w(t,e,n),w(t,r,n)},p(t,n){n&1&&se(e,t[0])},d(t){t&&c(e),t&&c(r)}}}function Cl(s){let e,r;return{c(){e=I("span"),r=N(s[1]),this.h()},l(t){e=C(t,"SPAN",{class:!0});var n=T(e);r=R(n,s[1]),n.forEach(c),this.h()},h(){v(e,"class","select-all truncate")},m(t,n){w(t,e,n),_(e,r)},p(t,n){n&2&&se(r,t[1])},i:X,o:X,d(t){t&&c(e)}}}function Al(s){let e,r;return e=new Ie({props:{href:s[3],class:"truncate",$$slots:{default:[Wl]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&8&&(l.href=t[3]),n&34&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function Wl(s){let e;return{c(){e=N(s[1])},l(r){e=R(r,s[1])},m(r,t){w(r,e,t)},p(r,t){t&2&&se(e,r[1])},d(r){r&&c(e)}}}function lr(s){let e,r;return{c(){e=N(s[0]),r=N(":")},l(t){e=R(t,s[0]),r=R(t,":")},m(t,n){w(t,e,n),w(t,r,n)},p(t,n){n&1&&se(e,t[0])},d(t){t&&c(e),t&&c(r)}}}function Sl(s){let e,r;return{c(){e=I("span"),r=N(s[1]),this.h()},l(t){e=C(t,"SPAN",{class:!0});var n=T(e);r=R(n,s[1]),n.forEach(c),this.h()},h(){v(e,"class","select-all truncate")},m(t,n){w(t,e,n),_(e,r)},p(t,n){n&2&&se(r,t[1])},i:X,o:X,d(t){t&&c(e)}}}function Dl(s){let e,r;return e=new Ie({props:{href:s[3],class:"truncate",$$slots:{default:[Nl]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&8&&(l.href=t[3]),n&34&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function Nl(s){let e;return{c(){e=N(s[1])},l(r){e=R(r,s[1])},m(r,t){w(r,e,t)},p(r,t){t&2&&se(e,r[1])},d(r){r&&c(e)}}}function Rl(s){let e,r,t,n,l,o=s[0]&&lr(s);const i=[Dl,Sl],a=[];function f(u,m){return u[3]?0:1}return r=f(s),t=a[r]=i[r](s),{c(){o&&o.c(),e=S(),t.c(),n=te()},l(u){o&&o.l(u),e=D(u),t.l(u),n=te()},m(u,m){o&&o.m(u,m),w(u,e,m),a[r].m(u,m),w(u,n,m),l=!0},p(u,m){u[0]?o?o.p(u,m):(o=lr(u),o.c(),o.m(e.parentNode,e)):o&&(o.d(1),o=null);let d=r;r=f(u),r===d?a[r].p(u,m):(K(),p(a[d],1,1,()=>{a[d]=null}),G(),t=a[r],t?t.p(u,m):(t=a[r]=i[r](u),t.c()),$(t,1),t.m(n.parentNode,n))},i(u){l||($(t),l=!0)},o(u){p(t),l=!1},d(u){o&&o.d(u),u&&c(e),a[r].d(u),u&&c(n)}}}function Pl(s){let e,r,t,n,l;const o=[Il,yl],i=[];function a(f,u){return f[2]?0:1}return r=a(s),t=i[r]=o[r](s),{c(){e=I("p"),t.c(),this.h()},l(f){e=C(f,"P",{class:!0});var u=T(e);t.l(u),u.forEach(c),this.h()},h(){v(e,"class",n="flex items-center gap-2 text-"+s[4]+" whitespace-nowrap pt-2")},m(f,u){w(f,e,u),i[r].m(e,null),l=!0},p(f,[u]){let m=r;r=a(f),r===m?i[r].p(f,u):(K(),p(i[m],1,1,()=>{i[m]=null}),G(),t=i[r],t?t.p(f,u):(t=i[r]=o[r](f),t.c()),$(t,1),t.m(e,null)),(!l||u&16&&n!==(n="flex items-center gap-2 text-"+f[4]+" whitespace-nowrap pt-2"))&&v(e,"class",n)},i(f){l||($(t),l=!0)},o(f){p(t),l=!1},d(f){f&&c(e),i[r].d()}}}function Bl(s,e,r){let{title:t=""}=e,{content:n}=e,{copyable:l=!1}=e,{href:o=null}=e,{textSize:i="md"}=e;return s.$$set=a=>{"title"in a&&r(0,t=a.title),"content"in a&&r(1,n=a.content),"copyable"in a&&r(2,l=a.copyable),"href"in a&&r(3,o=a.href),"textSize"in a&&r(4,i=a.textSize)},[t,n,l,o,i]}class Fe extends ue{constructor(e){super(),ce(this,e,Bl,Pl,me,{title:0,content:1,copyable:2,href:3,textSize:4})}}function Hl(s){var re,H,V,de,ge,le,he,_e;let e,r,t,n,l,o,i,a,f,u,m,d,W,P,g,h,A,F,M,U,q,j,L,ne,Y,x,O,z,pe,B,Q;return a=new Fe({props:{content:(re=s[0])==null?void 0:re.name,copyable:!0}}),u=new Fe({props:{content:(H=s[0])==null?void 0:H.runId,copyable:!0}}),F=new Fe({props:{content:(V=s[0])==null?void 0:V.taskQueue,href:Wt({namespace:s[2].params.namespace,workflow:(de=s[0])==null?void 0:de.id,run:(ge=s[0])==null?void 0:ge.runId}),copyable:!0}}),U=new Fe({props:{title:"State Transitions",content:(le=s[0])==null?void 0:le.stateTransitionCount}}),z=new Fe({props:{title:"Start Time",content:Le((he=s[0])==null?void 0:he.startTime,s[3])}}),B=new Fe({props:{title:"Close Time",content:Le((_e=s[0])==null?void 0:_e.endTime,s[3])}}),{c(){e=I("div"),r=I("div"),t=I("h3"),n=N("Workflow Type"),l=S(),o=I("div"),i=S(),k(a.$$.fragment),f=S(),k(u.$$.fragment),m=S(),d=I("div"),W=I("h3"),P=N("Task Queue"),g=S(),h=I("div"),A=S(),k(F.$$.fragment),M=S(),k(U.$$.fragment),q=S(),j=I("div"),L=I("h3"),ne=N("Start & Close Time"),Y=S(),x=I("div"),O=S(),k(z.$$.fragment),pe=S(),k(B.$$.fragment),this.h()},l(J){e=C(J,"DIV",{class:!0});var $e=T(e);r=C($e,"DIV",{class:!0});var ve=T(r);t=C(ve,"H3",{class:!0});var Ae=T(t);n=R(Ae,"Workflow Type"),Ae.forEach(c),l=D(ve),o=C(ve,"DIV",{class:!0}),T(o).forEach(c),i=D(ve),y(a.$$.fragment,ve),f=D(ve),y(u.$$.fragment,ve),ve.forEach(c),m=D($e),d=C($e,"DIV",{class:!0});var oe=T(d);W=C(oe,"H3",{class:!0});var Ce=T(W);P=R(Ce,"Task Queue"),Ce.forEach(c),g=D(oe),h=C(oe,"DIV",{class:!0}),T(h).forEach(c),A=D(oe),y(F.$$.fragment,oe),M=D(oe),y(U.$$.fragment,oe),oe.forEach(c),q=D($e),j=C($e,"DIV",{class:!0});var ke=T(j);L=C(ke,"H3",{class:!0});var Ee=T(L);ne=R(Ee,"Start & Close Time"),Ee.forEach(c),Y=D(ke),x=C(ke,"DIV",{class:!0}),T(x).forEach(c),O=D(ke),y(z.$$.fragment,ke),pe=D(ke),y(B.$$.fragment,ke),ke.forEach(c),$e.forEach(c),this.h()},h(){v(t,"class","font-medium"),v(o,"class","h-0.5 rounded-full bg-gray-900"),v(r,"class","col-span-1 md:col-span-2"),v(W,"class","font-medium"),v(h,"class","h-0.5 rounded-full bg-gray-900"),v(d,"class","col-span-1"),v(L,"class","font-medium"),v(x,"class","h-0.5 rounded-full bg-gray-900"),v(j,"class","col-span-1"),v(e,"class","grid-row-3 grid w-full grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-4 xl:w-11/12")},m(J,$e){w(J,e,$e),_(e,r),_(r,t),_(t,n),_(r,l),_(r,o),_(r,i),b(a,r,null),_(r,f),b(u,r,null),_(e,m),_(e,d),_(d,W),_(W,P),_(d,g),_(d,h),_(d,A),b(F,d,null),_(d,M),b(U,d,null),_(e,q),_(e,j),_(j,L),_(L,ne),_(j,Y),_(j,x),_(j,O),b(z,j,null),_(j,pe),b(B,j,null),Q=!0},p(J,$e){var ae,ie,fe,Oe,je,we,Z,We;const ve={};$e&1&&(ve.content=(ae=J[0])==null?void 0:ae.name),a.$set(ve);const Ae={};$e&1&&(Ae.content=(ie=J[0])==null?void 0:ie.runId),u.$set(Ae);const oe={};$e&1&&(oe.content=(fe=J[0])==null?void 0:fe.taskQueue),$e&5&&(oe.href=Wt({namespace:J[2].params.namespace,workflow:(Oe=J[0])==null?void 0:Oe.id,run:(je=J[0])==null?void 0:je.runId})),F.$set(oe);const Ce={};$e&1&&(Ce.content=(we=J[0])==null?void 0:we.stateTransitionCount),U.$set(Ce);const ke={};$e&9&&(ke.content=Le((Z=J[0])==null?void 0:Z.startTime,J[3])),z.$set(ke);const Ee={};$e&9&&(Ee.content=Le((We=J[0])==null?void 0:We.endTime,J[3])),B.$set(Ee)},i(J){Q||($(a.$$.fragment,J),$(u.$$.fragment,J),$(F.$$.fragment,J),$(U.$$.fragment,J),$(z.$$.fragment,J),$(B.$$.fragment,J),Q=!0)},o(J){p(a.$$.fragment,J),p(u.$$.fragment,J),p(F.$$.fragment,J),p(U.$$.fragment,J),p(z.$$.fragment,J),p(B.$$.fragment,J),Q=!1},d(J){J&&c(e),E(a),E(u),E(F),E(U),E(z),E(B)}}}function Vl(s){let e,r,t;return r=new dt({props:{title:"Summary",icon:"summary",open:s[1],onToggle:s[5],$$slots:{default:[Hl]},$$scope:{ctx:s}}}),{c(){e=I("section"),k(r.$$.fragment)},l(n){e=C(n,"SECTION",{});var l=T(e);y(r.$$.fragment,l),l.forEach(c)},m(n,l){w(n,e,l),b(r,e,null),t=!0},p(n,[l]){const o={};l&2&&(o.open=n[1]),l&2&&(o.onToggle=n[5]),l&77&&(o.$$scope={dirty:l,ctx:n}),r.$set(o)},i(n){t||($(r.$$.fragment,n),t=!0)},o(n){p(r.$$.fragment,n),t=!1},d(n){n&&c(e),E(r)}}}function Fl(s,e,r){let t,n,l,o,i;ee(s,qe,f=>r(4,n=f)),ee(s,yt,f=>r(1,l=f)),ee(s,Be,f=>r(2,o=f)),ee(s,Gr,f=>r(3,i=f));const a=()=>{Ue(yt,l=!l,l)};return s.$$.update=()=>{s.$$.dirty&16&&r(0,{workflow:t}=n,t)},[t,l,o,i,n,a]}class Ll extends ue{constructor(e){super(),ce(this,e,Fl,Vl,me,{})}}function sr(s){let e,r;return e=new Yr({props:{bold:!0,icon:"warning",intent:"warning",title:s[4],role:"status",$$slots:{default:[ql]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&16&&(l.title=t[4]),n&1039&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function or(s){let e,r,t,n,l;return t=new Ie({props:{newTab:!0,href:s[1],$$slots:{default:[Ol]},$$scope:{ctx:s}}}),{c(){e=I("p"),r=N("Learn more about "),k(t.$$.fragment),n=N(".")},l(o){e=C(o,"P",{});var i=T(e);r=R(i,"Learn more about "),y(t.$$.fragment,i),n=R(i,"."),i.forEach(c)},m(o,i){w(o,e,i),_(e,r),b(t,e,null),_(e,n),l=!0},p(o,i){const a={};i&2&&(a.href=o[1]),i&1028&&(a.$$scope={dirty:i,ctx:o}),t.$set(a)},i(o){l||($(t.$$.fragment,o),l=!0)},o(o){p(t.$$.fragment,o),l=!1},d(o){o&&c(e),E(t)}}}function Ol(s){let e;return{c(){e=N(s[2])},l(r){e=R(r,s[2])},m(r,t){w(r,e,t)},p(r,t){t&4&&se(e,r[2])},d(r){r&&c(e)}}}function jl(s){let e,r;return e=new br({props:{event:s[0],initialItem:s[0],visibleItems:[s[0]],typedError:!0}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&1&&(l.event=t[0]),n&1&&(l.initialItem=t[0]),n&1&&(l.visibleItems=[t[0]]),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function Ml(s){let e,r,t,n,l,o,i,a,f,u,m,d,W,P;return a=new pt({props:{name:"clock"}}),{c(){e=I("th"),r=S(),t=I("th"),n=I("span"),l=N("Date & Time"),o=S(),i=I("span"),k(a.$$.fragment),f=S(),u=I("th"),m=N("Event"),d=S(),W=I("th"),this.h()},l(g){e=C(g,"TH",{class:!0}),T(e).forEach(c),r=D(g),t=C(g,"TH",{class:!0});var h=T(t);n=C(h,"SPAN",{class:!0});var A=T(n);l=R(A,"Date & Time"),A.forEach(c),o=D(h),i=C(h,"SPAN",{class:!0});var F=T(i);y(a.$$.fragment,F),F.forEach(c),h.forEach(c),f=D(g),u=C(g,"TH",{class:!0});var M=T(u);m=R(M,"Event"),M.forEach(c),d=D(g),W=C(g,"TH",{class:!0}),T(W).forEach(c),this.h()},h(){v(e,"class","w-14 xl:w-10"),v(n,"class","max-md:hidden"),v(i,"class","md:hidden"),v(t,"class","w-16 md:w-32"),v(u,"class","w-44"),v(W,"class","w-auto xl:w-80")},m(g,h){w(g,e,h),w(g,r,h),w(g,t,h),_(t,n),_(n,l),_(t,o),_(t,i),b(a,i,null),w(g,f,h),w(g,u,h),_(u,m),w(g,d,h),w(g,W,h),P=!0},p:X,i(g){P||($(a.$$.fragment,g),P=!0)},o(g){p(a.$$.fragment,g),P=!1},d(g){g&&c(e),g&&c(r),g&&c(t),E(a),g&&c(f),g&&c(u),g&&c(d),g&&c(W)}}}function Ul(s){let e,r;return e=new Je({props:{slot:"headers",$$slots:{default:[Ml]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&1024&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function ql(s){let e,r,t,n,l,o,i,a=s[2]&&s[1]&&or(s);return o=new Qe({props:{class:"dark w-full table-fixed",$$slots:{headers:[Ul],default:[jl]},$$scope:{ctx:s}}}),{c(){e=I("p"),r=N(s[3]),t=S(),a&&a.c(),n=S(),l=I("div"),k(o.$$.fragment),this.h()},l(f){e=C(f,"P",{});var u=T(e);r=R(u,s[3]),u.forEach(c),t=D(f),a&&a.l(f),n=D(f),l=C(f,"DIV",{class:!0});var m=T(l);y(o.$$.fragment,m),m.forEach(c),this.h()},h(){v(l,"class","mt-2 bg-white")},m(f,u){w(f,e,u),_(e,r),w(f,t,u),a&&a.m(f,u),w(f,n,u),w(f,l,u),b(o,l,null),i=!0},p(f,u){(!i||u&8)&&se(r,f[3]),f[2]&&f[1]?a?(a.p(f,u),u&6&&$(a,1)):(a=or(f),a.c(),$(a,1),a.m(n.parentNode,n)):a&&(K(),p(a,1,1,()=>{a=null}),G());const m={};u&1025&&(m.$$scope={dirty:u,ctx:f}),o.$set(m)},i(f){i||($(a),$(o.$$.fragment,f),i=!0)},o(f){p(a),p(o.$$.fragment,f),i=!1},d(f){f&&c(e),f&&c(t),a&&a.d(f),f&&c(n),f&&c(l),E(o)}}}function zl(s){let e,r,t=(s[4]||s[3])&&sr(s);return{c(){t&&t.c(),e=te()},l(n){t&&t.l(n),e=te()},m(n,l){t&&t.m(n,l),w(n,e,l),r=!0},p(n,[l]){n[4]||n[3]?t?(t.p(n,l),l&24&&$(t,1)):(t=sr(n),t.c(),$(t,1),t.m(e.parentNode,e)):t&&(K(),p(t,1,1,()=>{t=null}),G())},i(n){r||($(t),r=!0)},o(n){p(t),r=!1},d(n){t&&t.d(n),n&&c(e)}}}function Ql(s,e,r){let t,n,l,o,i,a;var f;const u={Unspecified:{title:"Unspecified",copy:"The Workflow Task failed. See error for details."},UnhandledCommand:{title:"Unhandled Command",copy:"The Workflow Task failed because there are new available events since the last Workflow Task started. A retry Workflow Task has been scheduled and the Workflow will have a chance to handle those new events."},BadScheduleActivityAttributes:{title:"Bad Schedule Activity Attributes",copy:"The Workflow Task failed because of missing or incorrect ScheduleActivity attributes."},BadRequestCancelActivityAttributes:{title:"Bad Request Cancel Activity Attributes",copy:"The Workflow Task failed because of bad RequestCancelActivity attributes. An Activity was scheduled to cancel, but the scheduled event id was never set."},BadStartTimerAttributes:{title:"Bad Start Timer Attributes",copy:"The Workflow Task failed because the scheduled event is missing a timer id."},BadCancelTimerAttributes:{title:"Bad Cancel Timer Attributes",copy:"The Workflow Task failed when trying to cancel a timer due to an unset timer id."},BadRecordMarkerAttributes:{title:"Bad Record Marker Attributes",copy:"The Workflow Task failed because of a missing or invalid Marker name."},BadCompleteWorkflowExecutionAttributes:{title:"Bad Complete Workflow Execution Attributes",copy:"The Workflow Task failed because of an unset attribute on CompleteWorkflowExecution."},BadFailWorkflowExecutionAttribute:{title:"Bad Fail Workflow Execution Attributes",copy:"The Workflow Task failed because of an unset FailWorkflowExecution attribute or failure."},BadCancelWorkflowExecutionAttributes:{title:"Bad Cancel Workflow Execution Attributes",copy:"The Workflow Task failed because of an unset attribute on CancelWorkflowExecution."},BadRequestCancelExternalAttributes:{title:"Bad Request Cancel External Attributes",copy:"The Workflow Task failed due to an invalid attribute on a request to cancel an external Workflow. Check the Failure Message for more details."},BadContinueAsNewAttributes:{title:"Bad Continue As New Attributes",copy:"The Workflow Task failed because it failed to validate on a ContinueAsNew attribute. Check the Failure Message for more details."},StartTimerDuplicateId:{title:"Start Timer Duplicate",copy:"The Workflow Task failed because a timer with the given timer id has already started."},ResetStickyTaskQueue:{title:"Reset Sticky Task Queue",copy:"The Workflow Task failed because the Sticky Task Queue needs to be reset. The system will automatically retry."},WorkflowWorkerUnhandledFailure:{title:"Workflow Worker Unhandled Failure",copy:"The Workflow Task failed due to an unhandled failure from the Workflow code.",actionCopy:"deterministic constraints",link:"https://docs.temporal.io/workflows/#deterministic-constraints"},WorkflowTaskHeartbeatError:{title:"Workflow Task Heartbeat Error",copy:"The Workflow Task failed to send a heartbeat while executing long-running local Activities. These local Activities will re-execute on the next Workflow Task attempt. If this error is persistent, these local Activities will run repeatedly until the Workflow times out."},BadSignalWorkflowExecutionAttributes:{title:"Bad Signal Workflow Execution Attributes",copy:"The Workflow Task failed to validate attributes for SignalWorkflowExecution. Check the Failure Message for more details."},BadStartChildExecutionAttributes:{title:"Bad Start Child Execution Attributes",copy:"The Workflow Task failed to validate attributes needed for StartChildWorkflowExecution. Check the Failure Message for more details."},ForceCloseCommand:{title:"Force Close Command",copy:"The Workflow Task was forced to close. A retry will be scheduled if the error is recoverable."},FailoverCloseCommand:{title:"Failover Close Command",copy:"The Workflow Task was forced to close due to a Namespace failover. A retry will be scheduled automatically."},BadSignalInputSize:{title:"Bad Signal Input Size",copy:"The payload has exceeded the available input size on a Signal."},ResetWorkflow:{title:"Reset Workflow",copy:"The system failed this Workflow Task. If a reset for this Workflow was requested check the progress on the new Workflow, otherwise reset this Workflow."},BadBinary:{title:"Bad Binary",copy:"The system failed this Workflow Task because the deployment of this Worker is marked as bad binary."},ScheduleActivityDuplicatId:{title:"Schedule Activity Duplicate ID",copy:"The Workflow Task failed because the Activity ID is already in use, please check if you have specified the same Activity ID in your workflow."},BadSearchAttributes:{title:"Bad Search Attributes",copy:"A Search attribute is either missing or the value exceeds the limit. This might cause Workflow tasks to continue to retry without success.",actionCopy:"configuring search attributes",link:"https://docs.temporal.io/visibility#search-attribute"},NonDeterministicError:{title:"Non Deterministic Error",copy:"A non-deterministic error has caused the Workflow Task to fail. This usually means the workflow code has a non-backward compatible change without a proper versioning branch."},BadModifyWorkflowPropertiesAttributes:{title:"Bad Modify Workflow Properties Attributes",copy:"The Workflow Task failed to validate attributes on ModifyWorkflowProperty on the upsert memo. Check the Failure Message for more details."},PendingChildWorkflowsLimitExceeded:{title:"Pending Child Workflows Limit Exceeded",copy:"The capacity for pending child Workflows has been reached. The Workflow Task was failed to prevent any more child Workflows from being added."},PendingActivitiesLimitExceeded:{title:"Pending Activities Limit Exceeded",copy:"The capacity for pending Activities has been reached. The Workflow Task was failed to prevent another Activity from being created."},PendingSignalsLimitExceeded:{title:"Pending Signals Limit Exceeded",copy:"The capacity for pending Signals to be sent from this Workflow has been reached."},PendingRequestCancelLimitExceeded:{title:"Pending Request Cancel Limit Exceeded",copy:"The capacity for pending requests to cancel other Workflows has been reached."},BadUpdateWorkflowExecutionMessage:{title:"Bad Update",copy:"A Workflow Execution tried to complete before receiving an Update."},UnhandledUpdate:{title:"Unhandled Update",copy:"A Workflow Update was received by the Temporal Server while a Workflow Task was being processed on a Worker."}};function m(W){var P;if(!W||!W.workflowTaskFailedEventAttributes)return;const{workflowTaskFailedEventAttributes:{failure:g,cause:h}}=W;return((P=g==null?void 0:g.applicationFailureInfo)===null||P===void 0?void 0:P.type)==="workflowTaskHeartbeatError"?"WorkflowTaskHeartbeatError":h}let{error:d}=e;return s.$$set=W=>{"error"in W&&r(0,d=W.error)},s.$$.update=()=>{s.$$.dirty&1&&r(7,t=m(d)),s.$$.dirty&160&&r(6,n=r(5,f=u[t])!==null&&f!==void 0?f:{}),s.$$.dirty&64&&r(4,{title:l="",copy:o="",actionCopy:i="",link:a=""}=n,l,(r(3,o),r(6,n),r(7,t),r(5,f),r(0,d)),(r(2,i),r(6,n),r(7,t),r(5,f),r(0,d)),(r(1,a),r(6,n),r(7,t),r(5,f),r(0,d)))},[d,a,i,o,l,f,n,t]}class Jl extends ue{constructor(e){super(),ce(this,e,Ql,zl,me,{error:0})}}function ar(s,e,r){const t=s.slice();return t[1]=e[r],t}function ir(s){let e,r;return e=new ye({props:{type:"count",class:"rounded-sm",$$slots:{default:[Kl]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&516&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function Kl(s){let e=s[2].length+"",r;return{c(){r=N(e)},l(t){r=R(t,e)},m(t,n){w(t,r,n)},p(t,n){n&4&&e!==(e=t[2].length+"")&&se(r,e)},d(t){t&&c(r)}}}function Gl(s){let e,r;return e=new ze({props:{content:"Results will appear upon completion.",language:"text",class:"mb-2 lg:max-h-[24rem]",copyable:!1}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p:X,i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function Yl(s){let e,r,t,n;const l=[Xl,Zl],o=[];function i(a,f){return a[4]?0:1}return e=i(s),r=o[e]=l[e](s),{c(){r.c(),t=te()},l(a){r.l(a),t=te()},m(a,f){o[e].m(a,f),w(a,t,f),n=!0},p(a,f){let u=e;e=i(a),e===u?o[e].p(a,f):(K(),p(o[u],1,1,()=>{o[u]=null}),G(),r=o[e],r?r.p(a,f):(r=o[e]=l[e](a),r.c()),$(r,1),r.m(t.parentNode,t))},i(a){n||($(r),n=!0)},o(a){p(r),n=!1},d(a){o[e].d(a),a&&c(t)}}}function Zl(s){let e,r;return e=new ze({props:{content:s[1],class:"mb-2 lg:max-h-[23.5rem]"}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const l={};n&2&&(l.content=t[1]),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function Xl(s){let e,r,t=s[2],n=[];for(let o=0;op(n[o],1,1,()=>{n[o]=null});return{c(){e=I("div");for(let o=0;o{f=null}),G());let A=o;o=d(g),o===A?m[o].p(g,h):(K(),p(m[A],1,1,()=>{m[A]=null}),G(),i=m[o],i?i.p(g,h):(i=m[o]=u[o](g),i.c()),$(i,1),i.m(e,null)),bt(e,P=hr(W,[{class:"flex w-full flex-col lg:w-1/2"},h&32&&g[5]]))},i(g){a||($(f),$(i),a=!0)},o(g){p(f),p(i),a=!1},d(g){g&&c(e),f&&f.d(),m[o].d()}}}function es(s,e,r){let t,n,l;const o=["content","title"];let i=Et(e,o),{content:a}=e,{title:f}=e;const u=m=>{try{const d=JSON.parse(m);return Array.isArray(d)?d:[]}catch{return[]}};return s.$$set=m=>{e=rt(rt({},e),yr(m)),r(5,i=Et(e,o)),"content"in m&&r(1,a=m.content),"title"in m&&r(0,f=m.title)},s.$$.update=()=>{s.$$.dirty&2&&r(2,t=u(a)),s.$$.dirty&4&&r(4,n=t.length>0),s.$$.dirty&4&&r(3,l=t.length>1)},[f,a,t,l,n,i]}class ur extends ue{constructor(e){super(),ce(this,e,es,xl,me,{content:1,title:0})}}function ts(s){let e,r,t,n,l;return{c(){e=Re("svg"),r=Re("path"),t=S(),n=I("span"),l=N("Arrow key up"),this.h()},l(o){e=Pe(o,"svg",{class:!0,"aria-hidden":!0,fill:!0,xmlns:!0,viewBox:!0});var i=T(e);r=Pe(i,"path",{d:!0}),T(r).forEach(c),i.forEach(c),t=D(o),n=C(o,"SPAN",{class:!0});var a=T(n);l=R(a,"Arrow key up"),a.forEach(c),this.h()},h(){v(r,"d","M9.39 265.4l127.1-128C143.6 131.1 151.8 128 160 128s16.38 3.125 22.63 9.375l127.1 128c9.156 9.156 11.9 22.91 6.943 34.88S300.9 320 287.1 320H32.01c-12.94 0-24.62-7.781-29.58-19.75S.2333 274.5 9.39 265.4z"),v(e,"class","h-4 w-4"),v(e,"aria-hidden","true"),v(e,"fill","currentColor"),v(e,"xmlns","http://www.w3.org/2000/svg"),v(e,"viewBox","0 0 320 512"),v(n,"class","sr-only")},m(o,i){w(o,e,i),_(e,r),w(o,t,i),w(o,n,i),_(n,l)},p:X,i:X,o:X,d(o){o&&c(e),o&&c(t),o&&c(n)}}}class rs extends ue{constructor(e){super(),ce(this,e,null,ts,me,{})}}function ns(s){let e,r,t,n,l;return{c(){e=Re("svg"),r=Re("path"),t=S(),n=I("span"),l=N("Arrow key down"),this.h()},l(o){e=Pe(o,"svg",{class:!0,"aria-hidden":!0,fill:!0,xmlns:!0,viewBox:!0});var i=T(e);r=Pe(i,"path",{d:!0}),T(r).forEach(c),i.forEach(c),t=D(o),n=C(o,"SPAN",{class:!0});var a=T(n);l=R(a,"Arrow key down"),a.forEach(c),this.h()},h(){v(r,"d","M310.6 246.6l-127.1 128C176.4 380.9 168.2 384 160 384s-16.38-3.125-22.63-9.375l-127.1-128C.2244 237.5-2.516 223.7 2.438 211.8S19.07 192 32 192h255.1c12.94 0 24.62 7.781 29.58 19.75S319.8 237.5 310.6 246.6z"),v(e,"class","h-4 w-4"),v(e,"aria-hidden","true"),v(e,"fill","currentColor"),v(e,"xmlns","http://www.w3.org/2000/svg"),v(e,"viewBox","0 0 320 512"),v(n,"class","sr-only")},m(o,i){w(o,e,i),_(e,r),w(o,t,i),w(o,n,i),_(n,l)},p:X,i:X,o:X,d(o){o&&c(e),o&&c(t),o&&c(n)}}}class ls extends ue{constructor(e){super(),ce(this,e,null,ns,me,{})}}function ss(s){let e,r,t,n,l;return{c(){e=Re("svg"),r=Re("path"),t=S(),n=I("span"),l=N("Arrow key right"),this.h()},l(o){e=Pe(o,"svg",{class:!0,"aria-hidden":!0,fill:!0,xmlns:!0,viewBox:!0});var i=T(e);r=Pe(i,"path",{d:!0}),T(r).forEach(c),i.forEach(c),t=D(o),n=C(o,"SPAN",{class:!0});var a=T(n);l=R(a,"Arrow key right"),a.forEach(c),this.h()},h(){v(r,"d","M118.6 105.4l128 127.1C252.9 239.6 256 247.8 256 255.1s-3.125 16.38-9.375 22.63l-128 127.1c-9.156 9.156-22.91 11.9-34.88 6.943S64 396.9 64 383.1V128c0-12.94 7.781-24.62 19.75-29.58S109.5 96.23 118.6 105.4z"),v(e,"class","h-4 w-4"),v(e,"aria-hidden","true"),v(e,"fill","currentColor"),v(e,"xmlns","http://www.w3.org/2000/svg"),v(e,"viewBox","0 0 256 512"),v(n,"class","sr-only")},m(o,i){w(o,e,i),_(e,r),w(o,t,i),w(o,n,i),_(n,l)},p:X,i:X,o:X,d(o){o&&c(e),o&&c(t),o&&c(n)}}}class os extends ue{constructor(e){super(),ce(this,e,null,ss,me,{})}}function as(s){let e,r,t,n,l;return{c(){e=Re("svg"),r=Re("path"),t=S(),n=I("span"),l=N("Arrow key left"),this.h()},l(o){e=Pe(o,"svg",{class:!0,"aria-hidden":!0,fill:!0,xmlns:!0,viewBox:!0});var i=T(e);r=Pe(i,"path",{d:!0}),T(r).forEach(c),i.forEach(c),t=D(o),n=C(o,"SPAN",{class:!0});var a=T(n);l=R(a,"Arrow key left"),a.forEach(c),this.h()},h(){v(r,"d","M137.4 406.6l-128-127.1C3.125 272.4 0 264.2 0 255.1s3.125-16.38 9.375-22.63l128-127.1c9.156-9.156 22.91-11.9 34.88-6.943S192 115.1 192 128v255.1c0 12.94-7.781 24.62-19.75 29.58S146.5 415.8 137.4 406.6z"),v(e,"class","h-4 w-4"),v(e,"aria-hidden","true"),v(e,"fill","currentColor"),v(e,"xmlns","http://www.w3.org/2000/svg"),v(e,"viewBox","0 0 256 512"),v(n,"class","sr-only")},m(o,i){w(o,e,i),_(e,r),w(o,t,i),w(o,n,i),_(n,l)},p:X,i:X,o:X,d(o){o&&c(e),o&&c(t),o&&c(n)}}}class is extends ue{constructor(e){super(),ce(this,e,null,as,me,{})}}function fs(s){let e;const r=s[3].default,t=st(r,s,s[4],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,l){t&&t.m(n,l),e=!0},p(n,l){t&&t.p&&(!e||l&16)&&ot(t,r,n,n[4],e?it(r,n[4],l,null):at(n[4]),null)},i(n){e||($(t,n),e=!0)},o(n){p(t,n),e=!1},d(n){t&&t.d(n)}}}function us(s){let e,r,t;var n=s[2][s[1]];function l(o){return{}}return n&&(e=nt(n,l())),{c(){e&&k(e.$$.fragment),r=te()},l(o){e&&y(e.$$.fragment,o),r=te()},m(o,i){e&&b(e,o,i),w(o,r,i),t=!0},p(o,i){if(n!==(n=o[2][o[1]])){if(e){K();const a=e;p(a.$$.fragment,1,0,()=>{E(a,1)}),G()}n?(e=nt(n,l()),k(e.$$.fragment),$(e.$$.fragment,1),b(e,r.parentNode,r)):e=null}},i(o){t||(e&&$(e.$$.fragment,o),t=!0)},o(o){e&&p(e.$$.fragment,o),t=!1},d(o){o&&c(r),e&&E(e,o)}}}function cs(s){let e,r,t,n;const l=[us,fs],o=[];function i(a,f){return a[1]?0:1}return r=i(s),t=o[r]=l[r](s),{c(){e=I("kbd"),t.c(),this.h()},l(a){e=C(a,"KBD",{class:!0});var f=T(e);t.l(f),f.forEach(c),this.h()},h(){v(e,"class","shortcut svelte-y44j93")},m(a,f){w(a,e,f),o[r].m(e,null),n=!0},p(a,f){let u=r;r=i(a),r===u?o[r].p(a,f):(K(),p(o[u],1,1,()=>{o[u]=null}),G(),t=o[r],t?t.p(a,f):(t=o[r]=l[r](a),t.c()),$(t,1),t.m(e,null))},i(a){n||($(t),n=!0)},o(a){p(t),n=!1},d(a){a&&c(e),o[r].d()}}}function ms(s){let e,r;return e=new vr({props:{text:s[0],hide:!s[0],top:!0,$$slots:{default:[cs]},$$scope:{ctx:s}}}),{c(){k(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,[n]){const l={};n&1&&(l.text=t[0]),n&1&&(l.hide=!t[0]),n&18&&(l.$$scope={dirty:n,ctx:t}),e.$set(l)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){E(e,t)}}}function $s(s,e,r){let{$$slots:t={},$$scope:n}=e,{tooltipText:l=""}=e,{arrow:o=void 0}=e;const i={up:rs,down:ls,left:is,right:os};return s.$$set=a=>{"tooltipText"in a&&r(0,l=a.tooltipText),"arrow"in a&&r(1,o=a.arrow),"$$scope"in a&&r(4,n=a.$$scope)},[l,o,i,t,n]}class Ne extends ue{constructor(e){super(),ce(this,e,$s,ms,me,{tooltipText:0,arrow:1})}}function ps(s){let e,r;return{c(){e=I("span"),r=N("?"),this.h()},l(t){e=C(t,"SPAN",{class:!0});var n=T(e);r=R(n,"?"),n.forEach(c),this.h()},h(){v(e,"class","flex h-[24px] w-[24px] items-center justify-center text-xl")},m(t,n){w(t,e,n),_(e,r)},p:X,d(t){t&&c(e)}}}function ds(s){let e;return{c(){e=N("L")},l(r){e=R(r,"L")},m(r,t){w(r,e,t)},d(r){r&&c(e)}}}function hs(s){let e;return{c(){e=N("H")},l(r){e=R(r,"H")},m(r,t){w(r,e,t)},d(r){r&&c(e)}}}function _s(s){let e;return{c(){e=N("J")},l(r){e=R(r,"J")},m(r,t){w(r,e,t)},d(r){r&&c(e)}}}function gs(s){let e;return{c(){e=N("K")},l(r){e=R(r,"K")},m(r,t){w(r,e,t)},d(r){r&&c(e)}}}function ws(s){let e,r,t,n,l,o,i,a,f,u,m,d,W,P,g,h,A,F,M,U,q,j,L,ne,Y,x,O,z,pe;return l=new Ne({props:{arrow:"right"}}),i=new Ne({props:{$$slots:{default:[ds]},$$scope:{ctx:s}}}),d=new Ne({props:{arrow:"left"}}),P=new Ne({props:{$$slots:{default:[hs]},$$scope:{ctx:s}}}),M=new Ne({props:{arrow:"down"}}),q=new Ne({props:{$$slots:{default:[_s]},$$scope:{ctx:s}}}),x=new Ne({props:{arrow:"up"}}),z=new Ne({props:{$$slots:{default:[gs]},$$scope:{ctx:s}}}),{c(){e=I("div"),r=I("div"),t=N(`Next Page `),n=I("div"),k(l.$$.fragment),o=N("|"),k(i.$$.fragment),a=S(),f=I("div"),u=N(`Previous Page diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-layout.svelte.8cf81567.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-layout.svelte.ba213781.js similarity index 99% rename from ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-layout.svelte.8cf81567.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-layout.svelte.ba213781.js index 40f1dc3f67..131cc7ed33 100644 --- a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-layout.svelte.8cf81567.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-layout.svelte.ba213781.js @@ -1,4 +1,4 @@ -import{S as gt,b as mt,a as bt,m as W,p as F,u as R,f as $,n as Be,k as C,O as Di,q as U,R as $r,U as qt,W as Sn,V as of,a5 as Vr,N as Il,o as $i,P as Ts,Q as lf,A as Oe,G as Kn,c as Q,d as J,T as rt,M as L,z as ft,g as E,h as ct,j as P,H as Gn,I as Qn,J as Jn,r as _l,L as ee,ad as af,_ as ue,w as ae,x as he,y as Et,C as H,D as z,E as q,F as j,ac as hf,ae as ff,ai as Yn,Y as jt,Z as Ut,a7 as cr,e as xn,i as Ll,$ as Nl,aa as $l}from"../chunks/index.d29c66be.js";import{w as Si}from"../chunks/index.255b7490.js";import{p as ur}from"../chunks/stores.1f7fa6eb.js";import{r as lt,w as dn,i as cf}from"../chunks/workflow-run.2461dc7d.js";import{r as Vl,e as pn,t as Wr,i as uf,f as df}from"../chunks/events-service.c3f5d068.js";import{a as Wl}from"../chunks/auth-user.ead5c000.js";import{T as pf,C as gf,f as Fl}from"../chunks/tooltip.ca813c82.js";import{a as gn,e as Fr}from"../chunks/event-view.73e1a728.js";import{R as ti,w as mf,a as bf,f as Hr,A as zr,b as wf}from"../chunks/workflow-terminate-enabled.cb08b74f.js";import{r as qr,f as ii,g as Hi,h as zi,i as qi,j as ji}from"../chunks/route-for.5e008fb6.js";import{B as dr}from"../chunks/badge.2c189bf4.js";import{c as Le,I as Vi}from"../chunks/icon.5aa23970.js";import{W as yf}from"../chunks/workflow-status.688af89a.js";import{w as kf,t as vf,c as Sf,s as xf,r as Af,f as Cf}from"../chunks/workflow-service.22d7ee79.js";import{s as Of}from"../chunks/settings.a68ca666.js";import{c as Tf}from"../chunks/core-user.faf7a38e.js";import{t as as}from"../chunks/toaster.fda31b2d.js";import{S as Mf}from"../chunks/split-button.efadbe62.js";import{c as Df}from"../chunks/menu-item.be414f05.js";import{M as Ui}from"../chunks/modal.765fc6dd.js";import{I as pr}from"../chunks/input.0adb9ec6.js";import{p as Pf}from"../chunks/persist-store.bb6871e4.js";import{T as Rf,a as Bf,b as bi}from"../chunks/tab-list.bd3b7764.js";import{T as Ef}from"../chunks/toggle-switch.58d0ba8c.js";import{A as Hl}from"../chunks/alert.bf61782e.js";import{h as If}from"../chunks/has.8da86d13.js";import{L as _f}from"../chunks/link.d5f6f19e.js";import{L as Lf}from"../chunks/loading.9b5a6a67.js";import{g as Nf}from"../chunks/pollers-service.49149478.js";import{p as $f,c as Vf}from"../chunks/is-http.91300684.js";import{c as Wf,a as Ff,d as Hf}from"../chunks/decode-payload.fd21ad3e.js";import{g as zf,a as qf}from"../chunks/get-codec.a019b391.js";const zl={namespace:null,workflowId:null,runId:null,rawPayloads:null,sort:null},jf=Si(zl),Uf=()=>{jf.set(zl)};function Kf(s){let e;return{c(){e=W("hr"),this.h()},l(t){e=F(t,"HR",{class:!0}),this.h()},h(){R(e,"class","mx-4 border-gray-300")},m(t,i){$(t,e,i)},p:Be,i:Be,o:Be,d(t){t&&C(e)}}}class Gf extends gt{constructor(e){super(),mt(this,e,null,Kf,bt,{})}}class Z{constructor(){}lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,i){let n=[];return this.decompose(0,e,n,2),i.length&&i.decompose(0,i.length,n,3),this.decompose(t,this.length,n,1),at.from(n,this.length-(t-e)+i.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){let i=[];return this.decompose(e,t,i,0),at.from(i,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),i=this.length-this.scanIdentical(e,-1),n=new Oi(this),r=new Oi(e);for(let o=t,l=t;;){if(n.next(o),r.next(o),o=0,n.lineBreak!=r.lineBreak||n.done!=r.done||n.value!=r.value)return!1;if(l+=n.value.length,n.done||l>=i)return!0}}iter(e=1){return new Oi(this,e)}iterRange(e,t=this.length){return new ql(this,e,t)}iterLines(e,t){let i;if(e==null)i=this.iter();else{t==null&&(t=this.lines+1);let n=this.line(e).from;i=this.iterRange(n,Math.max(n,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new jl(i)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?Z.empty:e.length<=32?new ce(e):at.from(ce.split(e,[]))}}class ce extends Z{constructor(e,t=Qf(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,i,n){for(let r=0;;r++){let o=this.text[r],l=n+o.length;if((t?i:l)>=e)return new Jf(n,l,i,o);n=l+1,i++}}decompose(e,t,i,n){let r=e<=0&&t>=this.length?this:new ce(jr(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(n&1){let o=i.pop(),l=mn(r.text,o.text.slice(),0,r.length);if(l.length<=32)i.push(new ce(l,o.length+r.length));else{let a=l.length>>1;i.push(new ce(l.slice(0,a)),new ce(l.slice(a)))}}else i.push(r)}replace(e,t,i){if(!(i instanceof ce))return super.replace(e,t,i);let n=mn(this.text,mn(i.text,jr(this.text,0,e)),t),r=this.length+i.length-(t-e);return n.length<=32?new ce(n,r):at.from(ce.split(n,[]),r)}sliceString(e,t=this.length,i=` +import{S as gt,b as mt,a as bt,m as W,p as F,u as R,f as $,n as Be,k as C,O as Di,q as U,R as $r,U as qt,W as Sn,V as of,a5 as Vr,N as Il,o as $i,P as Ts,Q as lf,A as Oe,G as Kn,c as Q,d as J,T as rt,M as L,z as ft,g as E,h as ct,j as P,H as Gn,I as Qn,J as Jn,r as _l,L as ee,ad as af,_ as ue,w as ae,x as he,y as Et,C as H,D as z,E as q,F as j,ac as hf,ae as ff,ai as Yn,Y as jt,Z as Ut,a7 as cr,e as xn,i as Ll,$ as Nl,aa as $l}from"../chunks/index.d29c66be.js";import{w as Si}from"../chunks/index.255b7490.js";import{p as ur}from"../chunks/stores.8c019868.js";import{r as lt,w as dn,i as cf}from"../chunks/workflow-run.2461dc7d.js";import{r as Vl,e as pn,t as Wr,i as uf,f as df}from"../chunks/events-service.8ba652e5.js";import{a as Wl}from"../chunks/auth-user.ead5c000.js";import{T as pf,C as gf,f as Fl}from"../chunks/tooltip.ca813c82.js";import{a as gn,e as Fr}from"../chunks/event-view.73e1a728.js";import{R as ti,w as mf,a as bf,f as Hr,A as zr,b as wf}from"../chunks/workflow-terminate-enabled.682bc0d8.js";import{r as qr,f as ii,g as Hi,h as zi,i as qi,j as ji}from"../chunks/route-for.3e9c6ff4.js";import{B as dr}from"../chunks/badge.2c189bf4.js";import{c as Le,I as Vi}from"../chunks/icon.5aa23970.js";import{W as yf}from"../chunks/workflow-status.8e93b70c.js";import{w as kf,t as vf,c as Sf,s as xf,r as Af,f as Cf}from"../chunks/workflow-service.5b743be0.js";import{s as Of}from"../chunks/settings.a68ca666.js";import{c as Tf}from"../chunks/core-user.faf7a38e.js";import{t as as}from"../chunks/toaster.fda31b2d.js";import{S as Mf}from"../chunks/split-button.efadbe62.js";import{c as Df}from"../chunks/menu-item.be414f05.js";import{M as Ui}from"../chunks/modal.765fc6dd.js";import{I as pr}from"../chunks/input.0adb9ec6.js";import{p as Pf}from"../chunks/persist-store.bb6871e4.js";import{T as Rf,a as Bf,b as bi}from"../chunks/tab-list.bd3b7764.js";import{T as Ef}from"../chunks/toggle-switch.58d0ba8c.js";import{A as Hl}from"../chunks/alert.bf61782e.js";import{h as If}from"../chunks/has.8da86d13.js";import{L as _f}from"../chunks/link.d5f6f19e.js";import{L as Lf}from"../chunks/loading.9b5a6a67.js";import{g as Nf}from"../chunks/pollers-service.1177164f.js";import{p as $f,c as Vf}from"../chunks/is-http.91300684.js";import{c as Wf,a as Ff,d as Hf}from"../chunks/decode-payload.f6b25529.js";import{g as zf,a as qf}from"../chunks/get-codec.a019b391.js";const zl={namespace:null,workflowId:null,runId:null,rawPayloads:null,sort:null},jf=Si(zl),Uf=()=>{jf.set(zl)};function Kf(s){let e;return{c(){e=W("hr"),this.h()},l(t){e=F(t,"HR",{class:!0}),this.h()},h(){R(e,"class","mx-4 border-gray-300")},m(t,i){$(t,e,i)},p:Be,i:Be,o:Be,d(t){t&&C(e)}}}class Gf extends gt{constructor(e){super(),mt(this,e,null,Kf,bt,{})}}class Z{constructor(){}lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,i){let n=[];return this.decompose(0,e,n,2),i.length&&i.decompose(0,i.length,n,3),this.decompose(t,this.length,n,1),at.from(n,this.length-(t-e)+i.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){let i=[];return this.decompose(e,t,i,0),at.from(i,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),i=this.length-this.scanIdentical(e,-1),n=new Oi(this),r=new Oi(e);for(let o=t,l=t;;){if(n.next(o),r.next(o),o=0,n.lineBreak!=r.lineBreak||n.done!=r.done||n.value!=r.value)return!1;if(l+=n.value.length,n.done||l>=i)return!0}}iter(e=1){return new Oi(this,e)}iterRange(e,t=this.length){return new ql(this,e,t)}iterLines(e,t){let i;if(e==null)i=this.iter();else{t==null&&(t=this.lines+1);let n=this.line(e).from;i=this.iterRange(n,Math.max(n,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new jl(i)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?Z.empty:e.length<=32?new ce(e):at.from(ce.split(e,[]))}}class ce extends Z{constructor(e,t=Qf(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,i,n){for(let r=0;;r++){let o=this.text[r],l=n+o.length;if((t?i:l)>=e)return new Jf(n,l,i,o);n=l+1,i++}}decompose(e,t,i,n){let r=e<=0&&t>=this.length?this:new ce(jr(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(n&1){let o=i.pop(),l=mn(r.text,o.text.slice(),0,r.length);if(l.length<=32)i.push(new ce(l,o.length+r.length));else{let a=l.length>>1;i.push(new ce(l.slice(0,a)),new ce(l.slice(a)))}}else i.push(r)}replace(e,t,i){if(!(i instanceof ce))return super.replace(e,t,i);let n=mn(this.text,mn(i.text,jr(this.text,0,e)),t),r=this.length+i.length-(t-e);return n.length<=32?new ce(n,r):at.from(ce.split(n,[]),r)}sliceString(e,t=this.length,i=` `){let n="";for(let r=0,o=0;r<=t&&oe&&o&&(n+=i),er&&(n+=l.slice(Math.max(0,e-r),t-r)),r=a+1}return n}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let i=[],n=-1;for(let r of e)i.push(r),n+=r.length+1,i.length==32&&(t.push(new ce(i,n)),i=[],n=-1);return n>-1&&t.push(new ce(i,n)),t}}class at extends Z{constructor(e,t){super(),this.children=e,this.length=t,this.lines=0;for(let i of e)this.lines+=i.lines}lineInner(e,t,i,n){for(let r=0;;r++){let o=this.children[r],l=n+o.length,a=i+o.lines-1;if((t?a:l)>=e)return o.lineInner(e,t,i,n);n=l+1,i=a+1}}decompose(e,t,i,n){for(let r=0,o=0;o<=t&&r=o){let h=n&((o<=e?1:0)|(a>=t?2:0));o>=e&&a<=t&&!h?i.push(l):l.decompose(e-o,t-o,i,h)}o=a+1}}replace(e,t,i){if(i.lines=r&&t<=l){let a=o.replace(e-r,t-r,i),h=this.lines-o.lines+a.lines;if(a.lines>5-1&&a.lines>h>>5+1){let f=this.children.slice();return f[n]=a,new at(f,this.length-(t-e)+i.length)}return super.replace(r,l,a)}r=l+1}return super.replace(e,t,i)}sliceString(e,t=this.length,i=` `){let n="";for(let r=0,o=0;re&&r&&(n+=i),eo&&(n+=l.sliceString(e-o,t-o,i)),o=a+1}return n}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof at))return 0;let i=0,[n,r,o,l]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;n+=t,r+=t){if(n==o||r==l)return i;let a=this.children[n],h=e.children[r];if(a!=h)return i+a.scanIdentical(h,t);i+=a.length+1}}static from(e,t=e.reduce((i,n)=>i+n.length+1,-1)){let i=0;for(let d of e)i+=d.lines;if(i<32){let d=[];for(let p of e)p.flatten(d);return new ce(d,t)}let n=Math.max(32,i>>5),r=n<<1,o=n>>1,l=[],a=0,h=-1,f=[];function c(d){let p;if(d.lines>r&&d instanceof at)for(let m of d.children)c(m);else d.lines>o&&(a>o||!a)?(u(),l.push(d)):d instanceof ce&&a&&(p=f[f.length-1])instanceof ce&&d.lines+p.lines<=32?(a+=d.lines,h+=d.length+1,f[f.length-1]=new ce(p.text.concat(d.text),p.length+1+d.length)):(a+d.lines>n&&u(),a+=d.lines,h+=d.length+1,f.push(d))}function u(){a!=0&&(l.push(f.length==1?f[0]:at.from(f,h)),h=-1,a=f.length=0)}for(let d of e)c(d);return u(),l.length==1?l[0]:new at(l,t)}}Z.empty=new ce([""],0);function Qf(s){let e=-1;for(let t of s)e+=t.length+1;return e}function mn(s,e,t=0,i=1e9){for(let n=0,r=0,o=!0;r=t&&(a>i&&(l=l.slice(0,i-n)),n0?1:(e instanceof ce?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let i=this.nodes.length-1,n=this.nodes[i],r=this.offsets[i],o=r>>1,l=n instanceof ce?n.text.length:n.children.length;if(o==(t>0?l:0)){if(i==0)return this.done=!0,this.value="",this;t>0&&this.offsets[i-1]++,this.nodes.pop(),this.offsets.pop()}else if((r&1)==(t>0?0:1)){if(this.offsets[i]+=t,e==0)return this.lineBreak=!0,this.value=` `,this;e--}else if(n instanceof ce){let a=n.text[o+(t<0?-1:0)];if(this.offsets[i]+=t,a.length>Math.max(0,e))return this.value=e==0?a:t>0?a.slice(e):a.slice(0,a.length-e),this;e-=a.length}else{let a=n.children[o+(t<0?-1:0)];e>a.length?(e-=a.length,this.offsets[i]+=t):(t<0&&this.offsets[i]--,this.nodes.push(a),this.offsets.push(t>0?1:(a instanceof ce?a.text.length:a.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class ql{constructor(e,t,i){this.value="",this.done=!1,this.cursor=new Oi(e,t>i?-1:1),this.pos=t>i?e.length:0,this.from=Math.min(t,i),this.to=Math.max(t,i)}nextInner(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);let i=t<0?this.pos-this.from:this.to-this.pos;e>i&&(e=i),i-=e;let{value:n}=this.cursor.next(e);return this.pos+=(n.length+e)*t,this.value=n.length<=i?n:t<0?n.slice(n.length-i):n.slice(0,i),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class jl{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:i,value:n}=this.inner.next(e);return t?(this.done=!0,this.value=""):i?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=n,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(Z.prototype[Symbol.iterator]=function(){return this.iter()},Oi.prototype[Symbol.iterator]=ql.prototype[Symbol.iterator]=jl.prototype[Symbol.iterator]=function(){return this});class Jf{constructor(e,t,i,n){this.from=e,this.to=t,this.number=i,this.text=n}get length(){return this.to-this.from}}let si="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(s=>s?parseInt(s,36):1);for(let s=1;ss)return si[e-1]<=s;return!1}function Ur(s){return s>=127462&&s<=127487}const Kr=8205;function Ve(s,e,t=!0,i=!0){return(t?Ul:Xf)(s,e,i)}function Ul(s,e,t){if(e==s.length)return e;e&&Kl(s.charCodeAt(e))&&Gl(s.charCodeAt(e-1))&&e--;let i=Ne(s,e);for(e+=Ge(i);e=0&&Ur(Ne(s,o));)r++,o-=2;if(r%2==0)break;e+=2}else break}return e}function Xf(s,e,t){for(;e>0;){let i=Ul(s,e-2,t);if(i=56320&&s<57344}function Gl(s){return s>=55296&&s<56320}function Ne(s,e){let t=s.charCodeAt(e);if(!Gl(t)||e+1==s.length)return t;let i=s.charCodeAt(e+1);return Kl(i)?(t-55296<<10)+(i-56320)+65536:t}function Ql(s){return s<=65535?String.fromCharCode(s):(s-=65536,String.fromCharCode((s>>10)+55296,(s&1023)+56320))}function Ge(s){return s<65536?1:2}const Ms=/\r\n?|\n/;var Pe=function(s){return s[s.Simple=0]="Simple",s[s.TrackDel=1]="TrackDel",s[s.TrackBefore=2]="TrackBefore",s[s.TrackAfter=3]="TrackAfter",s}(Pe||(Pe={}));class ut{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;te)return r+(e-n);r+=l}else{if(i!=Pe.Simple&&h>=e&&(i==Pe.TrackDel&&ne||i==Pe.TrackBefore&&ne))return null;if(h>e||h==e&&t<0&&!l)return e==n||t<0?r:r+a;r+=a}n=h}if(e>n)throw new RangeError(`Position ${e} is out of range for changeset of length ${n}`);return r}touchesRange(e,t=e){for(let i=0,n=0;i=0&&n<=t&&l>=e)return nt?"cover":!0;n=l}return!1}toString(){let e="";for(let t=0;t=0?":"+n:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(t=>typeof t!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new ut(e)}static create(e){return new ut(e)}}class ge extends ut{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return Ds(this,(t,i,n,r,o)=>e=e.replace(n,n+(i-t),o),!1),e}mapDesc(e,t=!1){return Ps(this,e,t,!0)}invert(e){let t=this.sections.slice(),i=[];for(let n=0,r=0;n=0){t[n]=l,t[n+1]=o;let a=n>>1;for(;i.length0&&Tt(i,t,r.text),r.forward(f),l+=f}let h=e[o++];for(;l>1].toJSON()))}return e}static of(e,t,i){let n=[],r=[],o=0,l=null;function a(f=!1){if(!f&&!n.length)return;ou||c<0||u>t)throw new RangeError(`Invalid change range ${c} to ${u} (in doc of length ${t})`);let p=d?typeof d=="string"?Z.of(d.split(i||Ms)):d:Z.empty,m=p.length;if(c==u&&m==0)return;co&&Ae(n,c-o,-1),Ae(n,u-c,m),Tt(r,n,p),o=u}}return h(e),a(!l),l}static empty(e){return new ge(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let t=[],i=[];for(let n=0;nl&&typeof o!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(r.length==1)t.push(r[0],0);else{for(;i.length=0&&t<=0&&t==s[n+1]?s[n]+=e:e==0&&s[n]==0?s[n+1]+=t:i?(s[n]+=e,s[n+1]+=t):s.push(e,t)}function Tt(s,e,t){if(t.length==0)return;let i=e.length-2>>1;if(i>1])),!(t||o==s.sections.length||s.sections[o+1]<0);)l=s.sections[o++],a=s.sections[o++];e(n,h,r,f,c),n=h,r=f}}}function Ps(s,e,t,i=!1){let n=[],r=i?[]:null,o=new Pi(s),l=new Pi(e);for(let a=-1;;)if(o.ins==-1&&l.ins==-1){let h=Math.min(o.len,l.len);Ae(n,h,-1),o.forward(h),l.forward(h)}else if(l.ins>=0&&(o.ins<0||a==o.i||o.off==0&&(l.len=0&&a=0){let h=0,f=o.len;for(;f;)if(l.ins==-1){let c=Math.min(f,l.len);h+=c,f-=c,l.forward(c)}else if(l.ins==0&&l.lena||o.ins>=0&&o.len>a)&&(l||i.length>h),r.forward2(a),o.forward(a)}}}}class Pi{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i>1;return t>=e.length?Z.empty:e[t]}textBit(e){let{inserted:t}=this.set,i=this.i-2>>1;return i>=t.length&&!e?Z.empty:t[i].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class Ht{constructor(e,t,i){this.from=e,this.to=t,this.flags=i}get anchor(){return this.flags&16?this.to:this.from}get head(){return this.flags&16?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&4?-1:this.flags&8?1:0}get bidiLevel(){let e=this.flags&3;return e==3?null:e}get goalColumn(){let e=this.flags>>5;return e==33554431?void 0:e}map(e,t=-1){let i,n;return this.empty?i=n=e.mapPos(this.from,t):(i=e.mapPos(this.from,1),n=e.mapPos(this.to,-1)),i==this.from&&n==this.to?this:new Ht(i,n,this.flags)}extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return O.range(e,t);let i=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return O.range(this.anchor,i)}eq(e){return this.anchor==e.anchor&&this.head==e.head}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||typeof e.anchor!="number"||typeof e.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return O.range(e.anchor,e.head)}static create(e,t,i){return new Ht(e,t,i)}}class O{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:O.create(this.ranges.map(i=>i.map(e,t)),this.mainIndex)}eq(e){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let t=0;te.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||typeof e.main!="number"||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new O(e.ranges.map(t=>Ht.fromJSON(t)),e.main)}static single(e,t=e){return new O([O.range(e,t)],0)}static create(e,t=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let i=0,n=0;ne?4:0)|r)}static normalized(e,t=0){let i=e[t];e.sort((n,r)=>n.from-r.from),t=e.indexOf(i);for(let n=1;nr.head?O.range(a,l):O.range(l,a))}}return new O(e,t)}}function Yl(s,e){for(let t of s.ranges)if(t.to>e)throw new RangeError("Selection points outside of document")}let gr=0;class V{constructor(e,t,i,n,r){this.combine=e,this.compareInput=t,this.compare=i,this.isStatic=n,this.id=gr++,this.default=e([]),this.extensions=typeof r=="function"?r(this):r}static define(e={}){return new V(e.combine||(t=>t),e.compareInput||((t,i)=>t===i),e.compare||(e.combine?(t,i)=>t===i:mr),!!e.static,e.enables)}of(e){return new bn([],this,0,e)}compute(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new bn(e,this,1,t)}computeN(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new bn(e,this,2,t)}from(e,t){return t||(t=i=>i),this.compute([e],i=>t(i.field(e)))}}function mr(s,e){return s==e||s.length==e.length&&s.every((t,i)=>t===e[i])}class bn{constructor(e,t,i,n){this.dependencies=e,this.facet=t,this.type=i,this.value=n,this.id=gr++}dynamicSlot(e){var t;let i=this.value,n=this.facet.compareInput,r=this.id,o=e[r]>>1,l=this.type==2,a=!1,h=!1,f=[];for(let c of this.dependencies)c=="doc"?a=!0:c=="selection"?h=!0:((t=e[c.id])!==null&&t!==void 0?t:1)&1||f.push(e[c.id]);return{create(c){return c.values[o]=i(c),1},update(c,u){if(a&&u.docChanged||h&&(u.docChanged||u.selection)||Rs(c,f)){let d=i(c);if(l?!Gr(d,c.values[o],n):!n(d,c.values[o]))return c.values[o]=d,1}return 0},reconfigure:(c,u)=>{let d,p=u.config.address[r];if(p!=null){let m=Cn(u,p);if(this.dependencies.every(g=>g instanceof V?u.facet(g)===c.facet(g):g instanceof Xe?u.field(g,!1)==c.field(g,!1):!0)||(l?Gr(d=i(c),m,n):n(d=i(c),m)))return c.values[o]=m,0}else d=i(c);return c.values[o]=d,1}}}}function Gr(s,e,t){if(s.length!=e.length)return!1;for(let i=0;is[a.id]),n=t.map(a=>a.type),r=i.filter(a=>!(a&1)),o=s[e.id]>>1;function l(a){let h=[];for(let f=0;fi===n),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(Qr).find(i=>i.field==this);return((t==null?void 0:t.create)||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:i=>(i.values[t]=this.create(i),1),update:(i,n)=>{let r=i.values[t],o=this.updateF(r,n);return this.compareF(r,o)?0:(i.values[t]=o,1)},reconfigure:(i,n)=>n.config.address[this.id]!=null?(i.values[t]=n.field(this),0):(i.values[t]=this.create(i),1)}}init(e){return[this,Qr.of({field:this,create:e})]}get extension(){return this}}const Ft={lowest:4,low:3,default:2,high:1,highest:0};function wi(s){return e=>new Xl(e,s)}const Xn={highest:wi(Ft.highest),high:wi(Ft.high),default:wi(Ft.default),low:wi(Ft.low),lowest:wi(Ft.lowest)};class Xl{constructor(e,t){this.inner=e,this.prec=t}}class Zn{of(e){return new Bs(this,e)}reconfigure(e){return Zn.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class Bs{constructor(e,t){this.compartment=e,this.inner=t}}class An{constructor(e,t,i,n,r,o){for(this.base=e,this.compartments=t,this.dynamicSlots=i,this.address=n,this.staticValues=r,this.facets=o,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,t,i){let n=[],r=Object.create(null),o=new Map;for(let u of ec(e,t,o))u instanceof Xe?n.push(u):(r[u.facet.id]||(r[u.facet.id]=[])).push(u);let l=Object.create(null),a=[],h=[];for(let u of n)l[u.id]=h.length<<1,h.push(d=>u.slot(d));let f=i==null?void 0:i.config.facets;for(let u in r){let d=r[u],p=d[0].facet,m=f&&f[u]||[];if(d.every(g=>g.type==0))if(l[p.id]=a.length<<1|1,mr(m,d))a.push(i.facet(p));else{let g=p.combine(d.map(b=>b.value));a.push(i&&p.compare(g,i.facet(p))?i.facet(p):g)}else{for(let g of d)g.type==0?(l[g.id]=a.length<<1|1,a.push(g.value)):(l[g.id]=h.length<<1,h.push(b=>g.dynamicSlot(b)));l[p.id]=h.length<<1,h.push(g=>Zf(g,p,d))}}let c=h.map(u=>u(l));return new An(e,o,c,l,a,r)}}function ec(s,e,t){let i=[[],[],[],[],[]],n=new Map;function r(o,l){let a=n.get(o);if(a!=null){if(a<=l)return;let h=i[a].indexOf(o);h>-1&&i[a].splice(h,1),o instanceof Bs&&t.delete(o.compartment)}if(n.set(o,l),Array.isArray(o))for(let h of o)r(h,l);else if(o instanceof Bs){if(t.has(o.compartment))throw new RangeError("Duplicate use of compartment in extensions");let h=e.get(o.compartment)||o.inner;t.set(o.compartment,h),r(h,l)}else if(o instanceof Xl)r(o.inner,o.prec);else if(o instanceof Xe)i[l].push(o),o.provides&&r(o.provides,l);else if(o instanceof bn)i[l].push(o),o.facet.extensions&&r(o.facet.extensions,Ft.default);else{let h=o.extension;if(!h)throw new Error(`Unrecognized extension value in extension set (${o}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);r(h,l)}}return r(s,Ft.default),i.reduce((o,l)=>o.concat(l))}function Ti(s,e){if(e&1)return 2;let t=e>>1,i=s.status[t];if(i==4)throw new Error("Cyclic dependency between fields and/or facets");if(i&2)return i;s.status[t]=4;let n=s.computeSlot(s,s.config.dynamicSlots[t]);return s.status[t]=2|n}function Cn(s,e){return e&1?s.config.staticValues[e>>1]:s.values[e>>1]}const Zl=V.define(),ea=V.define({combine:s=>s.some(e=>e),static:!0}),ta=V.define({combine:s=>s.length?s[0]:void 0,static:!0}),ia=V.define(),na=V.define(),sa=V.define(),ra=V.define({combine:s=>s.length?s[0]:!1});class $t{constructor(e,t){this.type=e,this.value=t}static define(){return new tc}}class tc{of(e){return new $t(this,e)}}class ic{constructor(e){this.map=e}of(e){return new ne(this,e)}}class ne{constructor(e,t){this.type=e,this.value=t}map(e){let t=this.type.map(this.value,e);return t===void 0?void 0:t==this.value?this:new ne(this.type,t)}is(e){return this.type==e}static define(e={}){return new ic(e.map||(t=>t))}static mapEffects(e,t){if(!e.length)return e;let i=[];for(let n of e){let r=n.map(t);r&&i.push(r)}return i}}ne.reconfigure=ne.define();ne.appendConfig=ne.define();class me{constructor(e,t,i,n,r,o){this.startState=e,this.changes=t,this.selection=i,this.effects=n,this.annotations=r,this.scrollIntoView=o,this._doc=null,this._state=null,i&&Yl(i,t.newLength),r.some(l=>l.type==me.time)||(this.annotations=r.concat(me.time.of(Date.now())))}static create(e,t,i,n,r,o){return new me(e,t,i,n,r,o)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let t of this.annotations)if(t.type==e)return t.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let t=this.annotation(me.userEvent);return!!(t&&(t==e||t.length>e.length&&t.slice(0,e.length)==e&&t[e.length]=="."))}}me.time=$t.define();me.userEvent=$t.define();me.addToHistory=$t.define();me.remote=$t.define();function nc(s,e){let t=[];for(let i=0,n=0;;){let r,o;if(i=s[i]))r=s[i++],o=s[i++];else if(n=0;n--){let r=i[n](s);r instanceof me?s=r:Array.isArray(r)&&r.length==1&&r[0]instanceof me?s=r[0]:s=la(e,ri(r),!1)}return s}function rc(s){let e=s.startState,t=e.facet(sa),i=s;for(let n=t.length-1;n>=0;n--){let r=t[n](s);r&&Object.keys(r).length&&(i=oa(i,Es(e,r,s.changes.newLength),!0))}return i==s?s:me.create(e,s.changes,s.selection,i.effects,i.annotations,i.scrollIntoView)}const oc=[];function ri(s){return s==null?oc:Array.isArray(s)?s:[s]}var Fe=function(s){return s[s.Word=0]="Word",s[s.Space=1]="Space",s[s.Other=2]="Other",s}(Fe||(Fe={}));const lc=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let Is;try{Is=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function ac(s){if(Is)return Is.test(s);for(let e=0;e"€"&&(t.toUpperCase()!=t.toLowerCase()||lc.test(t)))return!0}return!1}function hc(s){return e=>{if(!/\S/.test(e))return Fe.Space;if(ac(e))return Fe.Word;for(let t=0;t-1)return Fe.Word;return Fe.Other}}class X{constructor(e,t,i,n,r,o){this.config=e,this.doc=t,this.selection=i,this.values=n,this.status=e.statusTemplate.slice(),this.computeSlot=r,o&&(o._state=this);for(let l=0;ln.set(a,l)),t=null),n.set(o.value.compartment,o.value.extension)):o.is(ne.reconfigure)?(t=null,i=o.value):o.is(ne.appendConfig)&&(t=null,i=ri(i).concat(o.value));let r;t?r=e.startState.values.slice():(t=An.resolve(i,n,this),r=new X(t,this.doc,this.selection,t.dynamicSlots.map(()=>null),(l,a)=>a.reconfigure(l,this),null).values),new X(t,e.newDoc,e.newSelection,r,(o,l)=>l.update(o,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:e},range:O.cursor(t.from+e.length)}))}changeByRange(e){let t=this.selection,i=e(t.ranges[0]),n=this.changes(i.changes),r=[i.range],o=ri(i.effects);for(let l=1;lo.spec.fromJSON(l,a)))}}return X.create({doc:e.doc,selection:O.fromJSON(e.selection),extensions:t.extensions?n.concat([t.extensions]):n})}static create(e={}){let t=An.resolve(e.extensions||[],new Map),i=e.doc instanceof Z?e.doc:Z.of((e.doc||"").split(t.staticFacet(X.lineSeparator)||Ms)),n=e.selection?e.selection instanceof O?e.selection:O.single(e.selection.anchor,e.selection.head):O.single(0);return Yl(n,i.length),t.staticFacet(ea)||(n=n.asSingle()),new X(t,i,n,t.dynamicSlots.map(()=>null),(r,o)=>o.create(r),null)}get tabSize(){return this.facet(X.tabSize)}get lineBreak(){return this.facet(X.lineSeparator)||` diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-layout.svelte.c84bd2ad.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-layout.svelte.c84bd2ad.js deleted file mode 100644 index ad42e8289e..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-layout.svelte.c84bd2ad.js +++ /dev/null @@ -1,19 +0,0 @@ -import{S as gt,b as mt,a as bt,m as W,p as F,u as R,f as $,n as Be,k as C,O as Di,q as U,R as $r,U as qt,W as Sn,V as of,a5 as Vr,N as Il,o as $i,P as Ts,Q as lf,A as Oe,G as Kn,c as Q,d as J,T as rt,M as L,z as ft,g as E,h as ct,j as P,H as Gn,I as Qn,J as Jn,r as _l,L as ee,ad as af,_ as ue,w as ae,x as he,y as Et,C as H,D as z,E as q,F as j,ac as hf,ae as ff,ai as Yn,Y as jt,Z as Ut,a7 as cr,e as xn,i as Ll,$ as Nl,aa as $l}from"../chunks/index.d29c66be.js";import{w as Si}from"../chunks/index.255b7490.js";import{p as ur}from"../chunks/stores.b938c0e3.js";import{r as lt,w as dn,i as cf}from"../chunks/workflow-run.2461dc7d.js";import{r as Vl,e as pn,t as Wr,i as uf,f as df}from"../chunks/events-service.85840f73.js";import{a as Wl}from"../chunks/auth-user.ead5c000.js";import{T as pf,C as gf,f as Fl}from"../chunks/tooltip.ca813c82.js";import{a as gn,e as Fr}from"../chunks/event-view.73e1a728.js";import{R as ti,w as mf,a as bf,f as Hr,A as zr,b as wf}from"../chunks/workflow-terminate-enabled.fbd7bba7.js";import{r as qr,f as ii,g as Hi,h as zi,i as qi,j as ji}from"../chunks/route-for.b4518ba8.js";import{B as dr}from"../chunks/badge.2c189bf4.js";import{c as Le,I as Vi}from"../chunks/icon.5aa23970.js";import{W as yf}from"../chunks/workflow-status.ddd088c4.js";import{w as kf,t as vf,c as Sf,s as xf,r as Af,f as Cf}from"../chunks/workflow-service.43d562ed.js";import{s as Of}from"../chunks/settings.a68ca666.js";import{c as Tf}from"../chunks/core-user.faf7a38e.js";import{t as as}from"../chunks/toaster.fda31b2d.js";import{S as Mf}from"../chunks/split-button.efadbe62.js";import{c as Df}from"../chunks/menu-item.be414f05.js";import{M as Ui}from"../chunks/modal.765fc6dd.js";import{I as pr}from"../chunks/input.0adb9ec6.js";import{p as Pf}from"../chunks/persist-store.bb6871e4.js";import{T as Rf,a as Bf,b as bi}from"../chunks/tab-list.bd3b7764.js";import{T as Ef}from"../chunks/toggle-switch.58d0ba8c.js";import{A as Hl}from"../chunks/alert.bf61782e.js";import{h as If}from"../chunks/has.8da86d13.js";import{L as _f}from"../chunks/link.d5f6f19e.js";import{L as Lf}from"../chunks/loading.9b5a6a67.js";import{g as Nf}from"../chunks/pollers-service.0e06b260.js";import{p as $f,c as Vf}from"../chunks/is-http.91300684.js";import{c as Wf,a as Ff,d as Hf}from"../chunks/decode-payload.f0f298e9.js";import{g as zf,a as qf}from"../chunks/get-codec.a019b391.js";const zl={namespace:null,workflowId:null,runId:null,rawPayloads:null,sort:null},jf=Si(zl),Uf=()=>{jf.set(zl)};function Kf(s){let e;return{c(){e=W("hr"),this.h()},l(t){e=F(t,"HR",{class:!0}),this.h()},h(){R(e,"class","mx-4 border-gray-300")},m(t,i){$(t,e,i)},p:Be,i:Be,o:Be,d(t){t&&C(e)}}}class Gf extends gt{constructor(e){super(),mt(this,e,null,Kf,bt,{})}}class Z{constructor(){}lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,i){let n=[];return this.decompose(0,e,n,2),i.length&&i.decompose(0,i.length,n,3),this.decompose(t,this.length,n,1),at.from(n,this.length-(t-e)+i.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){let i=[];return this.decompose(e,t,i,0),at.from(i,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),i=this.length-this.scanIdentical(e,-1),n=new Oi(this),r=new Oi(e);for(let o=t,l=t;;){if(n.next(o),r.next(o),o=0,n.lineBreak!=r.lineBreak||n.done!=r.done||n.value!=r.value)return!1;if(l+=n.value.length,n.done||l>=i)return!0}}iter(e=1){return new Oi(this,e)}iterRange(e,t=this.length){return new ql(this,e,t)}iterLines(e,t){let i;if(e==null)i=this.iter();else{t==null&&(t=this.lines+1);let n=this.line(e).from;i=this.iterRange(n,Math.max(n,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new jl(i)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?Z.empty:e.length<=32?new ce(e):at.from(ce.split(e,[]))}}class ce extends Z{constructor(e,t=Qf(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,i,n){for(let r=0;;r++){let o=this.text[r],l=n+o.length;if((t?i:l)>=e)return new Jf(n,l,i,o);n=l+1,i++}}decompose(e,t,i,n){let r=e<=0&&t>=this.length?this:new ce(jr(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(n&1){let o=i.pop(),l=mn(r.text,o.text.slice(),0,r.length);if(l.length<=32)i.push(new ce(l,o.length+r.length));else{let a=l.length>>1;i.push(new ce(l.slice(0,a)),new ce(l.slice(a)))}}else i.push(r)}replace(e,t,i){if(!(i instanceof ce))return super.replace(e,t,i);let n=mn(this.text,mn(i.text,jr(this.text,0,e)),t),r=this.length+i.length-(t-e);return n.length<=32?new ce(n,r):at.from(ce.split(n,[]),r)}sliceString(e,t=this.length,i=` -`){let n="";for(let r=0,o=0;r<=t&&oe&&o&&(n+=i),er&&(n+=l.slice(Math.max(0,e-r),t-r)),r=a+1}return n}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let i=[],n=-1;for(let r of e)i.push(r),n+=r.length+1,i.length==32&&(t.push(new ce(i,n)),i=[],n=-1);return n>-1&&t.push(new ce(i,n)),t}}class at extends Z{constructor(e,t){super(),this.children=e,this.length=t,this.lines=0;for(let i of e)this.lines+=i.lines}lineInner(e,t,i,n){for(let r=0;;r++){let o=this.children[r],l=n+o.length,a=i+o.lines-1;if((t?a:l)>=e)return o.lineInner(e,t,i,n);n=l+1,i=a+1}}decompose(e,t,i,n){for(let r=0,o=0;o<=t&&r=o){let h=n&((o<=e?1:0)|(a>=t?2:0));o>=e&&a<=t&&!h?i.push(l):l.decompose(e-o,t-o,i,h)}o=a+1}}replace(e,t,i){if(i.lines=r&&t<=l){let a=o.replace(e-r,t-r,i),h=this.lines-o.lines+a.lines;if(a.lines>5-1&&a.lines>h>>5+1){let f=this.children.slice();return f[n]=a,new at(f,this.length-(t-e)+i.length)}return super.replace(r,l,a)}r=l+1}return super.replace(e,t,i)}sliceString(e,t=this.length,i=` -`){let n="";for(let r=0,o=0;re&&r&&(n+=i),eo&&(n+=l.sliceString(e-o,t-o,i)),o=a+1}return n}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof at))return 0;let i=0,[n,r,o,l]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;n+=t,r+=t){if(n==o||r==l)return i;let a=this.children[n],h=e.children[r];if(a!=h)return i+a.scanIdentical(h,t);i+=a.length+1}}static from(e,t=e.reduce((i,n)=>i+n.length+1,-1)){let i=0;for(let d of e)i+=d.lines;if(i<32){let d=[];for(let p of e)p.flatten(d);return new ce(d,t)}let n=Math.max(32,i>>5),r=n<<1,o=n>>1,l=[],a=0,h=-1,f=[];function c(d){let p;if(d.lines>r&&d instanceof at)for(let m of d.children)c(m);else d.lines>o&&(a>o||!a)?(u(),l.push(d)):d instanceof ce&&a&&(p=f[f.length-1])instanceof ce&&d.lines+p.lines<=32?(a+=d.lines,h+=d.length+1,f[f.length-1]=new ce(p.text.concat(d.text),p.length+1+d.length)):(a+d.lines>n&&u(),a+=d.lines,h+=d.length+1,f.push(d))}function u(){a!=0&&(l.push(f.length==1?f[0]:at.from(f,h)),h=-1,a=f.length=0)}for(let d of e)c(d);return u(),l.length==1?l[0]:new at(l,t)}}Z.empty=new ce([""],0);function Qf(s){let e=-1;for(let t of s)e+=t.length+1;return e}function mn(s,e,t=0,i=1e9){for(let n=0,r=0,o=!0;r=t&&(a>i&&(l=l.slice(0,i-n)),n0?1:(e instanceof ce?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let i=this.nodes.length-1,n=this.nodes[i],r=this.offsets[i],o=r>>1,l=n instanceof ce?n.text.length:n.children.length;if(o==(t>0?l:0)){if(i==0)return this.done=!0,this.value="",this;t>0&&this.offsets[i-1]++,this.nodes.pop(),this.offsets.pop()}else if((r&1)==(t>0?0:1)){if(this.offsets[i]+=t,e==0)return this.lineBreak=!0,this.value=` -`,this;e--}else if(n instanceof ce){let a=n.text[o+(t<0?-1:0)];if(this.offsets[i]+=t,a.length>Math.max(0,e))return this.value=e==0?a:t>0?a.slice(e):a.slice(0,a.length-e),this;e-=a.length}else{let a=n.children[o+(t<0?-1:0)];e>a.length?(e-=a.length,this.offsets[i]+=t):(t<0&&this.offsets[i]--,this.nodes.push(a),this.offsets.push(t>0?1:(a instanceof ce?a.text.length:a.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class ql{constructor(e,t,i){this.value="",this.done=!1,this.cursor=new Oi(e,t>i?-1:1),this.pos=t>i?e.length:0,this.from=Math.min(t,i),this.to=Math.max(t,i)}nextInner(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);let i=t<0?this.pos-this.from:this.to-this.pos;e>i&&(e=i),i-=e;let{value:n}=this.cursor.next(e);return this.pos+=(n.length+e)*t,this.value=n.length<=i?n:t<0?n.slice(n.length-i):n.slice(0,i),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class jl{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:i,value:n}=this.inner.next(e);return t?(this.done=!0,this.value=""):i?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=n,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(Z.prototype[Symbol.iterator]=function(){return this.iter()},Oi.prototype[Symbol.iterator]=ql.prototype[Symbol.iterator]=jl.prototype[Symbol.iterator]=function(){return this});class Jf{constructor(e,t,i,n){this.from=e,this.to=t,this.number=i,this.text=n}get length(){return this.to-this.from}}let si="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(s=>s?parseInt(s,36):1);for(let s=1;ss)return si[e-1]<=s;return!1}function Ur(s){return s>=127462&&s<=127487}const Kr=8205;function Ve(s,e,t=!0,i=!0){return(t?Ul:Xf)(s,e,i)}function Ul(s,e,t){if(e==s.length)return e;e&&Kl(s.charCodeAt(e))&&Gl(s.charCodeAt(e-1))&&e--;let i=Ne(s,e);for(e+=Ge(i);e=0&&Ur(Ne(s,o));)r++,o-=2;if(r%2==0)break;e+=2}else break}return e}function Xf(s,e,t){for(;e>0;){let i=Ul(s,e-2,t);if(i=56320&&s<57344}function Gl(s){return s>=55296&&s<56320}function Ne(s,e){let t=s.charCodeAt(e);if(!Gl(t)||e+1==s.length)return t;let i=s.charCodeAt(e+1);return Kl(i)?(t-55296<<10)+(i-56320)+65536:t}function Ql(s){return s<=65535?String.fromCharCode(s):(s-=65536,String.fromCharCode((s>>10)+55296,(s&1023)+56320))}function Ge(s){return s<65536?1:2}const Ms=/\r\n?|\n/;var Pe=function(s){return s[s.Simple=0]="Simple",s[s.TrackDel=1]="TrackDel",s[s.TrackBefore=2]="TrackBefore",s[s.TrackAfter=3]="TrackAfter",s}(Pe||(Pe={}));class ut{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;te)return r+(e-n);r+=l}else{if(i!=Pe.Simple&&h>=e&&(i==Pe.TrackDel&&ne||i==Pe.TrackBefore&&ne))return null;if(h>e||h==e&&t<0&&!l)return e==n||t<0?r:r+a;r+=a}n=h}if(e>n)throw new RangeError(`Position ${e} is out of range for changeset of length ${n}`);return r}touchesRange(e,t=e){for(let i=0,n=0;i=0&&n<=t&&l>=e)return nt?"cover":!0;n=l}return!1}toString(){let e="";for(let t=0;t=0?":"+n:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(t=>typeof t!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new ut(e)}static create(e){return new ut(e)}}class ge extends ut{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return Ds(this,(t,i,n,r,o)=>e=e.replace(n,n+(i-t),o),!1),e}mapDesc(e,t=!1){return Ps(this,e,t,!0)}invert(e){let t=this.sections.slice(),i=[];for(let n=0,r=0;n=0){t[n]=l,t[n+1]=o;let a=n>>1;for(;i.length0&&Tt(i,t,r.text),r.forward(f),l+=f}let h=e[o++];for(;l>1].toJSON()))}return e}static of(e,t,i){let n=[],r=[],o=0,l=null;function a(f=!1){if(!f&&!n.length)return;ou||c<0||u>t)throw new RangeError(`Invalid change range ${c} to ${u} (in doc of length ${t})`);let p=d?typeof d=="string"?Z.of(d.split(i||Ms)):d:Z.empty,m=p.length;if(c==u&&m==0)return;co&&Ae(n,c-o,-1),Ae(n,u-c,m),Tt(r,n,p),o=u}}return h(e),a(!l),l}static empty(e){return new ge(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let t=[],i=[];for(let n=0;nl&&typeof o!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(r.length==1)t.push(r[0],0);else{for(;i.length=0&&t<=0&&t==s[n+1]?s[n]+=e:e==0&&s[n]==0?s[n+1]+=t:i?(s[n]+=e,s[n+1]+=t):s.push(e,t)}function Tt(s,e,t){if(t.length==0)return;let i=e.length-2>>1;if(i>1])),!(t||o==s.sections.length||s.sections[o+1]<0);)l=s.sections[o++],a=s.sections[o++];e(n,h,r,f,c),n=h,r=f}}}function Ps(s,e,t,i=!1){let n=[],r=i?[]:null,o=new Pi(s),l=new Pi(e);for(let a=-1;;)if(o.ins==-1&&l.ins==-1){let h=Math.min(o.len,l.len);Ae(n,h,-1),o.forward(h),l.forward(h)}else if(l.ins>=0&&(o.ins<0||a==o.i||o.off==0&&(l.len=0&&a=0){let h=0,f=o.len;for(;f;)if(l.ins==-1){let c=Math.min(f,l.len);h+=c,f-=c,l.forward(c)}else if(l.ins==0&&l.lena||o.ins>=0&&o.len>a)&&(l||i.length>h),r.forward2(a),o.forward(a)}}}}class Pi{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i>1;return t>=e.length?Z.empty:e[t]}textBit(e){let{inserted:t}=this.set,i=this.i-2>>1;return i>=t.length&&!e?Z.empty:t[i].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class Ht{constructor(e,t,i){this.from=e,this.to=t,this.flags=i}get anchor(){return this.flags&16?this.to:this.from}get head(){return this.flags&16?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&4?-1:this.flags&8?1:0}get bidiLevel(){let e=this.flags&3;return e==3?null:e}get goalColumn(){let e=this.flags>>5;return e==33554431?void 0:e}map(e,t=-1){let i,n;return this.empty?i=n=e.mapPos(this.from,t):(i=e.mapPos(this.from,1),n=e.mapPos(this.to,-1)),i==this.from&&n==this.to?this:new Ht(i,n,this.flags)}extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return O.range(e,t);let i=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return O.range(this.anchor,i)}eq(e){return this.anchor==e.anchor&&this.head==e.head}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||typeof e.anchor!="number"||typeof e.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return O.range(e.anchor,e.head)}static create(e,t,i){return new Ht(e,t,i)}}class O{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:O.create(this.ranges.map(i=>i.map(e,t)),this.mainIndex)}eq(e){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let t=0;te.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||typeof e.main!="number"||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new O(e.ranges.map(t=>Ht.fromJSON(t)),e.main)}static single(e,t=e){return new O([O.range(e,t)],0)}static create(e,t=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let i=0,n=0;ne?4:0)|r)}static normalized(e,t=0){let i=e[t];e.sort((n,r)=>n.from-r.from),t=e.indexOf(i);for(let n=1;nr.head?O.range(a,l):O.range(l,a))}}return new O(e,t)}}function Yl(s,e){for(let t of s.ranges)if(t.to>e)throw new RangeError("Selection points outside of document")}let gr=0;class V{constructor(e,t,i,n,r){this.combine=e,this.compareInput=t,this.compare=i,this.isStatic=n,this.id=gr++,this.default=e([]),this.extensions=typeof r=="function"?r(this):r}static define(e={}){return new V(e.combine||(t=>t),e.compareInput||((t,i)=>t===i),e.compare||(e.combine?(t,i)=>t===i:mr),!!e.static,e.enables)}of(e){return new bn([],this,0,e)}compute(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new bn(e,this,1,t)}computeN(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new bn(e,this,2,t)}from(e,t){return t||(t=i=>i),this.compute([e],i=>t(i.field(e)))}}function mr(s,e){return s==e||s.length==e.length&&s.every((t,i)=>t===e[i])}class bn{constructor(e,t,i,n){this.dependencies=e,this.facet=t,this.type=i,this.value=n,this.id=gr++}dynamicSlot(e){var t;let i=this.value,n=this.facet.compareInput,r=this.id,o=e[r]>>1,l=this.type==2,a=!1,h=!1,f=[];for(let c of this.dependencies)c=="doc"?a=!0:c=="selection"?h=!0:((t=e[c.id])!==null&&t!==void 0?t:1)&1||f.push(e[c.id]);return{create(c){return c.values[o]=i(c),1},update(c,u){if(a&&u.docChanged||h&&(u.docChanged||u.selection)||Rs(c,f)){let d=i(c);if(l?!Gr(d,c.values[o],n):!n(d,c.values[o]))return c.values[o]=d,1}return 0},reconfigure:(c,u)=>{let d,p=u.config.address[r];if(p!=null){let m=Cn(u,p);if(this.dependencies.every(g=>g instanceof V?u.facet(g)===c.facet(g):g instanceof Xe?u.field(g,!1)==c.field(g,!1):!0)||(l?Gr(d=i(c),m,n):n(d=i(c),m)))return c.values[o]=m,0}else d=i(c);return c.values[o]=d,1}}}}function Gr(s,e,t){if(s.length!=e.length)return!1;for(let i=0;is[a.id]),n=t.map(a=>a.type),r=i.filter(a=>!(a&1)),o=s[e.id]>>1;function l(a){let h=[];for(let f=0;fi===n),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(Qr).find(i=>i.field==this);return((t==null?void 0:t.create)||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:i=>(i.values[t]=this.create(i),1),update:(i,n)=>{let r=i.values[t],o=this.updateF(r,n);return this.compareF(r,o)?0:(i.values[t]=o,1)},reconfigure:(i,n)=>n.config.address[this.id]!=null?(i.values[t]=n.field(this),0):(i.values[t]=this.create(i),1)}}init(e){return[this,Qr.of({field:this,create:e})]}get extension(){return this}}const Ft={lowest:4,low:3,default:2,high:1,highest:0};function wi(s){return e=>new Xl(e,s)}const Xn={highest:wi(Ft.highest),high:wi(Ft.high),default:wi(Ft.default),low:wi(Ft.low),lowest:wi(Ft.lowest)};class Xl{constructor(e,t){this.inner=e,this.prec=t}}class Zn{of(e){return new Bs(this,e)}reconfigure(e){return Zn.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class Bs{constructor(e,t){this.compartment=e,this.inner=t}}class An{constructor(e,t,i,n,r,o){for(this.base=e,this.compartments=t,this.dynamicSlots=i,this.address=n,this.staticValues=r,this.facets=o,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,t,i){let n=[],r=Object.create(null),o=new Map;for(let u of ec(e,t,o))u instanceof Xe?n.push(u):(r[u.facet.id]||(r[u.facet.id]=[])).push(u);let l=Object.create(null),a=[],h=[];for(let u of n)l[u.id]=h.length<<1,h.push(d=>u.slot(d));let f=i==null?void 0:i.config.facets;for(let u in r){let d=r[u],p=d[0].facet,m=f&&f[u]||[];if(d.every(g=>g.type==0))if(l[p.id]=a.length<<1|1,mr(m,d))a.push(i.facet(p));else{let g=p.combine(d.map(b=>b.value));a.push(i&&p.compare(g,i.facet(p))?i.facet(p):g)}else{for(let g of d)g.type==0?(l[g.id]=a.length<<1|1,a.push(g.value)):(l[g.id]=h.length<<1,h.push(b=>g.dynamicSlot(b)));l[p.id]=h.length<<1,h.push(g=>Zf(g,p,d))}}let c=h.map(u=>u(l));return new An(e,o,c,l,a,r)}}function ec(s,e,t){let i=[[],[],[],[],[]],n=new Map;function r(o,l){let a=n.get(o);if(a!=null){if(a<=l)return;let h=i[a].indexOf(o);h>-1&&i[a].splice(h,1),o instanceof Bs&&t.delete(o.compartment)}if(n.set(o,l),Array.isArray(o))for(let h of o)r(h,l);else if(o instanceof Bs){if(t.has(o.compartment))throw new RangeError("Duplicate use of compartment in extensions");let h=e.get(o.compartment)||o.inner;t.set(o.compartment,h),r(h,l)}else if(o instanceof Xl)r(o.inner,o.prec);else if(o instanceof Xe)i[l].push(o),o.provides&&r(o.provides,l);else if(o instanceof bn)i[l].push(o),o.facet.extensions&&r(o.facet.extensions,Ft.default);else{let h=o.extension;if(!h)throw new Error(`Unrecognized extension value in extension set (${o}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);r(h,l)}}return r(s,Ft.default),i.reduce((o,l)=>o.concat(l))}function Ti(s,e){if(e&1)return 2;let t=e>>1,i=s.status[t];if(i==4)throw new Error("Cyclic dependency between fields and/or facets");if(i&2)return i;s.status[t]=4;let n=s.computeSlot(s,s.config.dynamicSlots[t]);return s.status[t]=2|n}function Cn(s,e){return e&1?s.config.staticValues[e>>1]:s.values[e>>1]}const Zl=V.define(),ea=V.define({combine:s=>s.some(e=>e),static:!0}),ta=V.define({combine:s=>s.length?s[0]:void 0,static:!0}),ia=V.define(),na=V.define(),sa=V.define(),ra=V.define({combine:s=>s.length?s[0]:!1});class $t{constructor(e,t){this.type=e,this.value=t}static define(){return new tc}}class tc{of(e){return new $t(this,e)}}class ic{constructor(e){this.map=e}of(e){return new ne(this,e)}}class ne{constructor(e,t){this.type=e,this.value=t}map(e){let t=this.type.map(this.value,e);return t===void 0?void 0:t==this.value?this:new ne(this.type,t)}is(e){return this.type==e}static define(e={}){return new ic(e.map||(t=>t))}static mapEffects(e,t){if(!e.length)return e;let i=[];for(let n of e){let r=n.map(t);r&&i.push(r)}return i}}ne.reconfigure=ne.define();ne.appendConfig=ne.define();class me{constructor(e,t,i,n,r,o){this.startState=e,this.changes=t,this.selection=i,this.effects=n,this.annotations=r,this.scrollIntoView=o,this._doc=null,this._state=null,i&&Yl(i,t.newLength),r.some(l=>l.type==me.time)||(this.annotations=r.concat(me.time.of(Date.now())))}static create(e,t,i,n,r,o){return new me(e,t,i,n,r,o)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let t of this.annotations)if(t.type==e)return t.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let t=this.annotation(me.userEvent);return!!(t&&(t==e||t.length>e.length&&t.slice(0,e.length)==e&&t[e.length]=="."))}}me.time=$t.define();me.userEvent=$t.define();me.addToHistory=$t.define();me.remote=$t.define();function nc(s,e){let t=[];for(let i=0,n=0;;){let r,o;if(i=s[i]))r=s[i++],o=s[i++];else if(n=0;n--){let r=i[n](s);r instanceof me?s=r:Array.isArray(r)&&r.length==1&&r[0]instanceof me?s=r[0]:s=la(e,ri(r),!1)}return s}function rc(s){let e=s.startState,t=e.facet(sa),i=s;for(let n=t.length-1;n>=0;n--){let r=t[n](s);r&&Object.keys(r).length&&(i=oa(i,Es(e,r,s.changes.newLength),!0))}return i==s?s:me.create(e,s.changes,s.selection,i.effects,i.annotations,i.scrollIntoView)}const oc=[];function ri(s){return s==null?oc:Array.isArray(s)?s:[s]}var Fe=function(s){return s[s.Word=0]="Word",s[s.Space=1]="Space",s[s.Other=2]="Other",s}(Fe||(Fe={}));const lc=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let Is;try{Is=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function ac(s){if(Is)return Is.test(s);for(let e=0;e"€"&&(t.toUpperCase()!=t.toLowerCase()||lc.test(t)))return!0}return!1}function hc(s){return e=>{if(!/\S/.test(e))return Fe.Space;if(ac(e))return Fe.Word;for(let t=0;t-1)return Fe.Word;return Fe.Other}}class X{constructor(e,t,i,n,r,o){this.config=e,this.doc=t,this.selection=i,this.values=n,this.status=e.statusTemplate.slice(),this.computeSlot=r,o&&(o._state=this);for(let l=0;ln.set(a,l)),t=null),n.set(o.value.compartment,o.value.extension)):o.is(ne.reconfigure)?(t=null,i=o.value):o.is(ne.appendConfig)&&(t=null,i=ri(i).concat(o.value));let r;t?r=e.startState.values.slice():(t=An.resolve(i,n,this),r=new X(t,this.doc,this.selection,t.dynamicSlots.map(()=>null),(l,a)=>a.reconfigure(l,this),null).values),new X(t,e.newDoc,e.newSelection,r,(o,l)=>l.update(o,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:e},range:O.cursor(t.from+e.length)}))}changeByRange(e){let t=this.selection,i=e(t.ranges[0]),n=this.changes(i.changes),r=[i.range],o=ri(i.effects);for(let l=1;lo.spec.fromJSON(l,a)))}}return X.create({doc:e.doc,selection:O.fromJSON(e.selection),extensions:t.extensions?n.concat([t.extensions]):n})}static create(e={}){let t=An.resolve(e.extensions||[],new Map),i=e.doc instanceof Z?e.doc:Z.of((e.doc||"").split(t.staticFacet(X.lineSeparator)||Ms)),n=e.selection?e.selection instanceof O?e.selection:O.single(e.selection.anchor,e.selection.head):O.single(0);return Yl(n,i.length),t.staticFacet(ea)||(n=n.asSingle()),new X(t,i,n,t.dynamicSlots.map(()=>null),(r,o)=>o.create(r),null)}get tabSize(){return this.facet(X.tabSize)}get lineBreak(){return this.facet(X.lineSeparator)||` -`}get readOnly(){return this.facet(ra)}phrase(e,...t){for(let i of this.facet(X.phrases))if(Object.prototype.hasOwnProperty.call(i,e)){e=i[e];break}return t.length&&(e=e.replace(/\$(\$|\d*)/g,(i,n)=>{if(n=="$")return"$";let r=+(n||1);return!r||r>t.length?i:t[r-1]})),e}languageDataAt(e,t,i=-1){let n=[];for(let r of this.facet(Zl))for(let o of r(this,t,i))Object.prototype.hasOwnProperty.call(o,e)&&n.push(o[e]);return n}charCategorizer(e){return hc(this.languageDataAt("wordChars",e).join(""))}wordAt(e){let{text:t,from:i,length:n}=this.doc.lineAt(e),r=this.charCategorizer(e),o=e-i,l=e-i;for(;o>0;){let a=Ve(t,o,!1);if(r(t.slice(a,o))!=Fe.Word)break;o=a}for(;ls.length?s[0]:4});X.lineSeparator=ta;X.readOnly=ra;X.phrases=V.define({compare(s,e){let t=Object.keys(s),i=Object.keys(e);return t.length==i.length&&t.every(n=>s[n]==e[n])}});X.languageData=Zl;X.changeFilter=ia;X.transactionFilter=na;X.transactionExtender=sa;Zn.reconfigure=ne.define();function br(s,e,t={}){let i={};for(let n of s)for(let r of Object.keys(n)){let o=n[r],l=i[r];if(l===void 0)i[r]=o;else if(!(l===o||o===void 0))if(Object.hasOwnProperty.call(t,r))i[r]=t[r](l,o);else throw new Error("Config merge conflict for field "+r)}for(let n in e)i[n]===void 0&&(i[n]=e[n]);return i}class Qt{eq(e){return this==e}range(e,t=e){return On.create(e,t,this)}}Qt.prototype.startSide=Qt.prototype.endSide=0;Qt.prototype.point=!1;Qt.prototype.mapMode=Pe.TrackDel;let On=class{constructor(e,t,i){this.from=e,this.to=t,this.value=i}static create(e,t,i){return new On(e,t,i)}};function _s(s,e){return s.from-e.from||s.value.startSide-e.value.startSide}class wr{constructor(e,t,i,n){this.from=e,this.to=t,this.value=i,this.maxPoint=n}get length(){return this.to[this.to.length-1]}findIndex(e,t,i,n=0){let r=i?this.to:this.from;for(let o=n,l=r.length;;){if(o==l)return o;let a=o+l>>1,h=r[a]-e||(i?this.value[a].endSide:this.value[a].startSide)-t;if(a==o)return h>=0?o:l;h>=0?l=a:o=a+1}}between(e,t,i,n){for(let r=this.findIndex(t,-1e9,!0),o=this.findIndex(i,1e9,!1,r);rd||u==d&&h.startSide>0&&h.endSide<=0)continue;(d-u||h.endSide-h.startSide)<0||(o<0&&(o=u),h.point&&(l=Math.max(l,d-u)),i.push(h),n.push(u-o),r.push(d-o))}return{mapped:i.length?new wr(n,r,i,l):null,pos:o}}}class fe{constructor(e,t,i,n){this.chunkPos=e,this.chunk=t,this.nextLayer=i,this.maxPoint=n}static create(e,t,i,n){return new fe(e,t,i,n)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let t of this.chunk)e+=t.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:t=[],sort:i=!1,filterFrom:n=0,filterTo:r=this.length}=e,o=e.filter;if(t.length==0&&!o)return this;if(i&&(t=t.slice().sort(_s)),this.isEmpty)return t.length?fe.of(t):this;let l=new aa(this,null,-1).goto(0),a=0,h=[],f=new Ri;for(;l.value||a=0){let c=t[a++];f.addInner(c.from,c.to,c.value)||h.push(c)}else l.rangeIndex==1&&l.chunkIndexthis.chunkEnd(l.chunkIndex)||rl.to||r=r&&e<=r+o.length&&o.between(r,e-r,t-r,i)===!1)return}this.nextLayer.between(e,t,i)}}iter(e=0){return Bi.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return Bi.from(e).goto(t)}static compare(e,t,i,n,r=-1){let o=e.filter(c=>c.maxPoint>0||!c.isEmpty&&c.maxPoint>=r),l=t.filter(c=>c.maxPoint>0||!c.isEmpty&&c.maxPoint>=r),a=Jr(o,l,i),h=new yi(o,a,r),f=new yi(l,a,r);i.iterGaps((c,u,d)=>Yr(h,c,f,u,d,n)),i.empty&&i.length==0&&Yr(h,0,f,0,0,n)}static eq(e,t,i=0,n){n==null&&(n=1e9-1);let r=e.filter(f=>!f.isEmpty&&t.indexOf(f)<0),o=t.filter(f=>!f.isEmpty&&e.indexOf(f)<0);if(r.length!=o.length)return!1;if(!r.length)return!0;let l=Jr(r,o),a=new yi(r,l,0).goto(i),h=new yi(o,l,0).goto(i);for(;;){if(a.to!=h.to||!Ls(a.active,h.active)||a.point&&(!h.point||!a.point.eq(h.point)))return!1;if(a.to>n)return!0;a.next(),h.next()}}static spans(e,t,i,n,r=-1){let o=new yi(e,null,r).goto(t),l=t,a=o.openStart;for(;;){let h=Math.min(o.to,i);if(o.point){let f=o.activeForPoint(o.to),c=o.pointFroml&&(n.span(l,h,o.active,a),a=o.openEnd(h));if(o.to>i)return a+(o.point&&o.to>i?1:0);l=o.to,o.next()}}static of(e,t=!1){let i=new Ri;for(let n of e instanceof On?[e]:t?fc(e):e)i.add(n.from,n.to,n.value);return i.finish()}}fe.empty=new fe([],[],null,-1);function fc(s){if(s.length>1)for(let e=s[0],t=1;t0)return s.slice().sort(_s);e=i}return s}fe.empty.nextLayer=fe.empty;class Ri{constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}finishChunk(e){this.chunks.push(new wr(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}add(e,t,i){this.addInner(e,t,i)||(this.nextLayer||(this.nextLayer=new Ri)).add(e,t,i)}addInner(e,t,i){let n=e-this.lastTo||i.startSide-this.last.endSide;if(n<=0&&(e-this.lastFrom||i.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return n<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=i,this.lastFrom=e,this.lastTo=t,this.value.push(i),i.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),!0)}addChunk(e,t){if((e-this.lastTo||t.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,t.maxPoint),this.chunks.push(t),this.chunkPos.push(e);let i=t.value.length-1;return this.last=t.value[i],this.lastFrom=t.from[i]+e,this.lastTo=t.to[i]+e,!0}finish(){return this.finishInner(fe.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let t=fe.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function Jr(s,e,t){let i=new Map;for(let r of s)for(let o=0;o=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=i&&n.push(new aa(o,t,i,r));return n.length==1?n[0]:new Bi(n)}get startSide(){return this.value?this.value.startSide:0}goto(e,t=-1e9){for(let i of this.heap)i.goto(e,t);for(let i=this.heap.length>>1;i>=0;i--)hs(this.heap,i);return this.next(),this}forward(e,t){for(let i of this.heap)i.forward(e,t);for(let i=this.heap.length>>1;i>=0;i--)hs(this.heap,i);(this.to-e||this.value.endSide-t)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),hs(this.heap,0)}}}function hs(s,e){for(let t=s[e];;){let i=(e<<1)+1;if(i>=s.length)break;let n=s[i];if(i+1=0&&(n=s[i+1],i++),t.compare(n)<0)break;s[i]=t,s[e]=n,e=i}}class yi{constructor(e,t,i){this.minPoint=i,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=Bi.from(e,t,i)}goto(e,t=-1e9){return this.cursor.goto(e,t),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=t,this.openStart=-1,this.next(),this}forward(e,t){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t)<0;)this.removeActive(this.minActive);this.cursor.forward(e,t)}removeActive(e){Ki(this.active,e),Ki(this.activeTo,e),Ki(this.activeRank,e),this.minActive=Xr(this.active,this.activeTo)}addActive(e){let t=0,{value:i,to:n,rank:r}=this.cursor;for(;t-1&&(this.activeTo[n]-this.cursor.from||this.active[n].endSide-this.cursor.startSide)<0){if(this.activeTo[n]>e){this.to=this.activeTo[n],this.endSide=this.active[n].endSide;break}this.removeActive(n),i&&Ki(i,n)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let r=this.cursor.value;if(!r.point)this.addActive(i),this.cursor.next();else if(t&&this.cursor.to==this.to&&this.cursor.from=0&&i[n]=0&&!(this.activeRank[i]e||this.activeTo[i]==e&&this.active[i].endSide>=this.point.endSide)&&t.push(this.active[i]);return t.reverse()}openEnd(e){let t=0;for(let i=this.activeTo.length-1;i>=0&&this.activeTo[i]>e;i--)t++;return t}}function Yr(s,e,t,i,n,r){s.goto(e),t.goto(i);let o=i+n,l=i,a=i-e;for(;;){let h=s.to+a-t.to||s.endSide-t.endSide,f=h<0?s.to+a:t.to,c=Math.min(f,o);if(s.point||t.point?s.point&&t.point&&(s.point==t.point||s.point.eq(t.point))&&Ls(s.activeForPoint(s.to+a),t.activeForPoint(t.to))||r.comparePoint(l,c,s.point,t.point):c>l&&!Ls(s.active,t.active)&&r.compareRange(l,c,s.active,t.active),f>o)break;l=f,h<=0&&s.next(),h>=0&&t.next()}}function Ls(s,e){if(s.length!=e.length)return!1;for(let t=0;t=e;i--)s[i+1]=s[i];s[e]=t}function Xr(s,e){let t=-1,i=1e9;for(let n=0;n=e)return n;if(n==s.length)break;r+=s.charCodeAt(n)==9?t-r%t:1,n=Ve(s,n)}return i===!0?-1:s.length}const Ns="ͼ",Zr=typeof Symbol>"u"?"__"+Ns:Symbol.for(Ns),$s=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),eo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class It{constructor(e,t){this.rules=[];let{finish:i}=t||{};function n(o){return/^@/.test(o)?[o]:o.split(/,\s*/)}function r(o,l,a,h){let f=[],c=/^@(\w+)\b/.exec(o[0]),u=c&&c[1]=="keyframes";if(c&&l==null)return a.push(o[0]+";");for(let d in l){let p=l[d];if(/&/.test(d))r(d.split(/,\s*/).map(m=>o.map(g=>m.replace(/&/,g))).reduce((m,g)=>m.concat(g)),p,a);else if(p&&typeof p=="object"){if(!c)throw new RangeError("The value of a property ("+d+") should be a primitive value.");r(n(d),p,f,u)}else p!=null&&f.push(d.replace(/_.*/,"").replace(/[A-Z]/g,m=>"-"+m.toLowerCase())+": "+p+";")}(f.length||u)&&a.push((i&&!c&&!h?o.map(i):o).join(", ")+" {"+f.join(" ")+"}")}for(let o in e)r(n(o),e[o],this.rules)}getRules(){return this.rules.join(` -`)}static newName(){let e=eo[Zr]||1;return eo[Zr]=e+1,Ns+e.toString(36)}static mount(e,t){(e[$s]||new uc(e)).mount(Array.isArray(t)?t:[t])}}let Qi=null;class uc{constructor(e){if(!e.head&&e.adoptedStyleSheets&&typeof CSSStyleSheet<"u"){if(Qi)return e.adoptedStyleSheets=[Qi.sheet].concat(e.adoptedStyleSheets),e[$s]=Qi;this.sheet=new CSSStyleSheet,e.adoptedStyleSheets=[this.sheet].concat(e.adoptedStyleSheets),Qi=this}else{this.styleTag=(e.ownerDocument||e).createElement("style");let t=e.head||e;t.insertBefore(this.styleTag,t.firstChild)}this.modules=[],e[$s]=this}mount(e){let t=this.sheet,i=0,n=0;for(let r=0;r-1&&(this.modules.splice(l,1),n--,l=-1),l==-1){if(this.modules.splice(n++,0,o),t)for(let a=0;a",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},to=typeof navigator<"u"&&/Chrome\/(\d+)/.exec(navigator.userAgent),dc=typeof navigator<"u"&&/Mac/.test(navigator.platform),pc=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),gc=dc||to&&+to[1]<57;for(var ve=0;ve<10;ve++)_t[48+ve]=_t[96+ve]=String(ve);for(var ve=1;ve<=24;ve++)_t[ve+111]="F"+ve;for(var ve=65;ve<=90;ve++)_t[ve]=String.fromCharCode(ve+32),Ei[ve]=String.fromCharCode(ve);for(var fs in _t)Ei.hasOwnProperty(fs)||(Ei[fs]=_t[fs]);function mc(s){var e=gc&&(s.ctrlKey||s.altKey||s.metaKey)||pc&&s.shiftKey&&s.key&&s.key.length==1||s.key=="Unidentified",t=!e&&s.key||(s.shiftKey?Ei:_t)[s.keyCode]||s.key||"Unidentified";return t=="Esc"&&(t="Escape"),t=="Del"&&(t="Delete"),t=="Left"&&(t="ArrowLeft"),t=="Up"&&(t="ArrowUp"),t=="Right"&&(t="ArrowRight"),t=="Down"&&(t="ArrowDown"),t}function Tn(s){let e;return s.nodeType==11?e=s.getSelection?s:s.ownerDocument:e=s,e.getSelection()}function hi(s,e){return e?s==e||s.contains(e.nodeType!=1?e.parentNode:e):!1}function bc(s){let e=s.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function wn(s,e){if(!e.anchorNode)return!1;try{return hi(s,e.anchorNode)}catch{return!1}}function Ii(s){return s.nodeType==3?fi(s,0,s.nodeValue.length).getClientRects():s.nodeType==1?s.getClientRects():[]}function Mn(s,e,t,i){return t?io(s,e,t,i,-1)||io(s,e,t,i,1):!1}function Dn(s){for(var e=0;;e++)if(s=s.previousSibling,!s)return e}function io(s,e,t,i,n){for(;;){if(s==t&&e==i)return!0;if(e==(n<0?0:_i(s))){if(s.nodeName=="DIV")return!1;let r=s.parentNode;if(!r||r.nodeType!=1)return!1;e=Dn(s)+(n<0?0:1),s=r}else if(s.nodeType==1){if(s=s.childNodes[e+(n<0?-1:0)],s.nodeType==1&&s.contentEditable=="false")return!1;e=n<0?_i(s):0}else return!1}}function _i(s){return s.nodeType==3?s.nodeValue.length:s.childNodes.length}const fa={left:0,right:0,top:0,bottom:0};function yr(s,e){let t=e?s.left:s.right;return{left:t,right:t,top:s.top,bottom:s.bottom}}function wc(s){return{left:0,right:s.innerWidth,top:0,bottom:s.innerHeight}}function yc(s,e,t,i,n,r,o,l){let a=s.ownerDocument,h=a.defaultView||window;for(let f=s;f;)if(f.nodeType==1){let c,u=f==a.body;if(u)c=wc(h);else{if(f.scrollHeight<=f.clientHeight&&f.scrollWidth<=f.clientWidth){f=f.assignedSlot||f.parentNode;continue}let m=f.getBoundingClientRect();c={left:m.left,right:m.left+f.clientWidth,top:m.top,bottom:m.top+f.clientHeight}}let d=0,p=0;if(n=="nearest")e.top0&&e.bottom>c.bottom+p&&(p=e.bottom-c.bottom+p+o)):e.bottom>c.bottom&&(p=e.bottom-c.bottom+o,t<0&&e.top-p0&&e.right>c.right+d&&(d=e.right-c.right+d+r)):e.right>c.right&&(d=e.right-c.right+r,t<0&&e.leftt.clientHeight||t.scrollWidth>t.clientWidth)return t;t=t.assignedSlot||t.parentNode}else if(t.nodeType==11)t=t.host;else break;return null}class vc{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}setRange(e){this.set(e.anchorNode,e.anchorOffset,e.focusNode,e.focusOffset)}set(e,t,i,n){this.anchorNode=e,this.anchorOffset=t,this.focusNode=i,this.focusOffset=n}}let ei=null;function ca(s){if(s.setActive)return s.setActive();if(ei)return s.focus(ei);let e=[];for(let t=s;t&&(e.push(t,t.scrollTop,t.scrollLeft),t!=t.ownerDocument);t=t.parentNode);if(s.focus(ei==null?{get preventScroll(){return ei={preventScroll:!0},!0}}:void 0),!ei){ei=!1;for(let t=0;tt)return c.domBoundsAround(e,t,h);if(u>=e&&n==-1&&(n=a,r=h),h>t&&c.dom.parentNode==this.dom){o=a,l=f;break}f=u,h=u+c.breakAfter}return{from:r,to:l<0?i+this.length:l,startDOM:(n?this.children[n-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:o=0?this.children[o].dom:null}}markDirty(e=!1){this.dirty|=2,this.markParentsDirty(e)}markParentsDirty(e){for(let t=this.parent;t;t=t.parent){if(e&&(t.dirty|=2),t.dirty&1)return;t.dirty|=1,e=!1}}setParent(e){this.parent!=e&&(this.parent=e,this.dirty&&this.markParentsDirty(!0))}setDOM(e){this.dom&&(this.dom.cmView=null),this.dom=e,e.cmView=this}get rootView(){for(let e=this;;){let t=e.parent;if(!t)return e;e=t}}replaceChildren(e,t,i=kr){this.markDirty();for(let n=e;nthis.pos||e==this.pos&&(t>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let i=this.children[--this.i];this.pos-=i.length+i.breakAfter}}}function pa(s,e,t,i,n,r,o,l,a){let{children:h}=s,f=h.length?h[e]:null,c=r.length?r[r.length-1]:null,u=c?c.breakAfter:o;if(!(e==i&&f&&!o&&!u&&r.length<2&&f.merge(t,n,r.length?c:null,t==0,l,a))){if(i0&&(!o&&r.length&&f.merge(t,f.length,r[0],!1,l,0)?f.breakAfter=r.shift().breakAfter:(t2);var I={mac:lo||/Mac/.test($e.platform),windows:/Win/.test($e.platform),linux:/Linux|X11/.test($e.platform),ie:es,ie_version:ma?Vs.documentMode||6:Fs?+Fs[1]:Ws?+Ws[1]:0,gecko:ro,gecko_version:ro?+(/Firefox\/(\d+)/.exec($e.userAgent)||[0,0])[1]:0,chrome:!!cs,chrome_version:cs?+cs[1]:0,ios:lo,android:/Android\b/.test($e.userAgent),webkit:oo,safari:ba,webkit_version:oo?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,tabSize:Vs.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};const Ac=256;class Lt extends se{constructor(e){super(),this.text=e}get length(){return this.text.length}createDOM(e){this.setDOM(e||document.createTextNode(this.text))}sync(e){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(e&&e.node==this.dom&&(e.written=!0),this.dom.nodeValue=this.text)}reuseDOM(e){e.nodeType==3&&this.createDOM(e)}merge(e,t,i){return i&&(!(i instanceof Lt)||this.length-(t-e)+i.length>Ac)?!1:(this.text=this.text.slice(0,e)+(i?i.text:"")+this.text.slice(t),this.markDirty(),!0)}split(e){let t=new Lt(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),t}localPosFromDOM(e,t){return e==this.dom?t:t?this.text.length:0}domAtPos(e){return new Ce(this.dom,e)}domBoundsAround(e,t,i){return{from:i,to:i+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,t){return Hs(this.dom,e,t)}}class pt extends se{constructor(e,t=[],i=0){super(),this.mark=e,this.children=t,this.length=i;for(let n of t)n.setParent(this)}setAttrs(e){if(ua(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(let t in this.mark.attrs)e.setAttribute(t,this.mark.attrs[t]);return e}reuseDOM(e){e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.dirty|=6)}sync(e){this.dom?this.dirty&4&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(e)}merge(e,t,i,n,r,o){return i&&(!(i instanceof pt&&i.mark.eq(this.mark))||e&&r<=0||te&&t.push(i=e&&(n=r),i=a,r++}let o=this.length-e;return this.length=e,n>-1&&(this.children.length=n,this.markDirty()),new pt(this.mark,t,o)}domAtPos(e){return ka(this,e)}coordsAt(e,t){return Sa(this,e,t)}}function Hs(s,e,t){let i=s.nodeValue.length;e>i&&(e=i);let n=e,r=e,o=0;e==0&&t<0||e==i&&t>=0?I.chrome||I.gecko||(e?(n--,o=1):r=0)?0:l.length-1];return I.safari&&!o&&a.width==0&&(a=Array.prototype.find.call(l,h=>h.width)||a),o?yr(a,o<0):a||null}class Mt extends se{constructor(e,t,i){super(),this.widget=e,this.length=t,this.side=i,this.prevWidget=null}static create(e,t,i){return new(e.customView||Mt)(e,t,i)}split(e){let t=Mt.create(this.widget,this.length-e,this.side);return this.length-=e,t}sync(){(!this.dom||!this.widget.updateDOM(this.dom))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(this.editorView)),this.dom.contentEditable="false")}getSide(){return this.side}merge(e,t,i,n,r,o){return i&&(!(i instanceof Mt)||!this.widget.compare(i.widget)||e>0&&r<=0||t0?i.length-1:0;n=i[r],!(e>0?r==0:r==i.length-1||n.top0?-1:1);return this.length?n:yr(n,this.side>0)}get isEditable(){return!1}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}}class wa extends Mt{domAtPos(e){let{topView:t,text:i}=this.widget;return t?zs(e,0,t,i,(n,r)=>n.domAtPos(r),n=>new Ce(i,Math.min(n,i.nodeValue.length))):new Ce(i,Math.min(e,i.nodeValue.length))}sync(){this.setDOM(this.widget.toDOM())}localPosFromDOM(e,t){let{topView:i,text:n}=this.widget;return i?ya(e,t,i,n):Math.min(t,this.length)}ignoreMutation(){return!1}get overrideDOMText(){return null}coordsAt(e,t){let{topView:i,text:n}=this.widget;return i?zs(e,t,i,n,(r,o,l)=>r.coordsAt(o,l),(r,o)=>Hs(n,r,o)):Hs(n,e,t)}destroy(){var e;super.destroy(),(e=this.widget.topView)===null||e===void 0||e.destroy()}get isEditable(){return!0}canReuseDOM(){return!0}}function zs(s,e,t,i,n,r){if(t instanceof pt){for(let o=t.dom.firstChild;o;o=o.nextSibling){let l=se.get(o);if(!l)return r(s,e);let a=hi(o,i),h=l.length+(a?i.nodeValue.length:0);if(s0?-1:1);return i&&i.topt.top?{left:t.left,right:t.right,top:i.top,bottom:i.bottom}:t}get overrideDOMText(){return Z.empty}}Lt.prototype.children=Mt.prototype.children=ci.prototype.children=kr;function Cc(s,e){let t=s.parent,i=t?t.children.indexOf(s):-1;for(;t&&i>=0;)if(e<0?i>0:ir&&e0;r--){let o=i[r-1];if(o.dom.parentNode==t)return o.domAtPos(o.length)}for(let r=n;r0&&e instanceof pt&&n.length&&(i=n[n.length-1])instanceof pt&&i.mark.eq(e.mark)?va(i,e.children[0],t-1):(n.push(e),e.setParent(s)),s.length+=e.length}function Sa(s,e,t){let i=null,n=-1,r=null,o=-1;function l(h,f){for(let c=0,u=0;c=f&&(d.children.length?l(d,f-u):!r&&(p>f||u==p&&d.getSide()>0)?(r=d,o=f-u):(u0?3e8:-4e8:t>0?1e8:-1e8,new Jt(e,t,t,i,e.widget||null,!1)}static replace(e){let t=!!e.block,i,n;if(e.isBlockGap)i=-5e8,n=4e8;else{let{start:r,end:o}=xa(e,t);i=(r?t?-3e8:-1:5e8)-1,n=(o?t?2e8:1:-6e8)+1}return new Jt(e,i,n,t,e.widget||null,!0)}static line(e){return new Wi(e)}static set(e,t=!1){return fe.of(e,t)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}le.none=fe.empty;class is extends le{constructor(e){let{start:t,end:i}=xa(e);super(t?-1:5e8,i?1:-6e8,null,e),this.tagName=e.tagName||"span",this.class=e.class||"",this.attrs=e.attributes||null}eq(e){return this==e||e instanceof is&&this.tagName==e.tagName&&this.class==e.class&&vr(this.attrs,e.attrs)}range(e,t=e){if(e>=t)throw new RangeError("Mark decorations may not be empty");return super.range(e,t)}}is.prototype.point=!1;class Wi extends le{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof Wi&&this.spec.class==e.spec.class&&vr(this.spec.attributes,e.spec.attributes)}range(e,t=e){if(t!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,t)}}Wi.prototype.mapMode=Pe.TrackBefore;Wi.prototype.point=!0;class Jt extends le{constructor(e,t,i,n,r,o){super(t,i,r,e),this.block=n,this.isReplace=o,this.mapMode=n?t<=0?Pe.TrackBefore:Pe.TrackAfter:Pe.TrackDel}get type(){return this.startSide=5}eq(e){return e instanceof Jt&&Tc(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,t=e){if(this.isReplace&&(e>t||e==t&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&t!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,t)}}Jt.prototype.point=!0;function xa(s,e=!1){let{inclusiveStart:t,inclusiveEnd:i}=s;return t==null&&(t=s.inclusive),i==null&&(i=s.inclusive),{start:t??e,end:i??e}}function Tc(s,e){return s==e||!!(s&&e&&s.compare(e))}function Us(s,e,t,i=0){let n=t.length-1;n>=0&&t[n]+i>=s?t[n]=Math.max(t[n],e):t.push(s,e)}class Te extends se{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(e,t,i,n,r,o){if(i){if(!(i instanceof Te))return!1;this.dom||i.transferDOM(this)}return n&&this.setDeco(i?i.attrs:null),ga(this,e,t,i?i.children:[],r,o),!0}split(e){let t=new Te;if(t.breakAfter=this.breakAfter,this.length==0)return t;let{i,off:n}=this.childPos(e);n&&(t.append(this.children[i].split(n),0),this.children[i].merge(n,this.children[i].length,null,!1,0,0),i++);for(let r=i;r0&&this.children[i-1].length==0;)this.children[--i].destroy();return this.children.length=i,this.markDirty(),this.length=e,t}transferDOM(e){this.dom&&(this.markDirty(),e.setDOM(this.dom),e.prevAttrs=this.prevAttrs===void 0?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(e){vr(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,t){va(this,e,t)}addLineDeco(e){let t=e.spec.attributes,i=e.spec.class;t&&(this.attrs=qs(t,this.attrs||{})),i&&(this.attrs=qs({class:i},this.attrs||{}))}domAtPos(e){return ka(this,e)}reuseDOM(e){e.nodeName=="DIV"&&(this.setDOM(e),this.dirty|=6)}sync(e){var t;this.dom?this.dirty&4&&(ua(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),this.prevAttrs!==void 0&&(js(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e);let i=this.dom.lastChild;for(;i&&se.get(i)instanceof pt;)i=i.lastChild;if(!i||!this.length||i.nodeName!="BR"&&((t=se.get(i))===null||t===void 0?void 0:t.isEditable)==!1&&(!I.ios||!this.children.some(n=>n instanceof Lt))){let n=document.createElement("BR");n.cmIgnore=!0,this.dom.appendChild(n)}}measureTextSize(){if(this.children.length==0||this.length>20)return null;let e=0;for(let t of this.children){if(!(t instanceof Lt)||/[^ -~]/.test(t.text))return null;let i=Ii(t.dom);if(i.length!=1)return null;e+=i[0].width}return e?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:e/this.length}:null}coordsAt(e,t){return Sa(this,e,t)}become(e){return!1}get type(){return be.Text}static find(e,t){for(let i=0,n=0;i=t){if(r instanceof Te)return r;if(o>t)break}n=o+r.breakAfter}return null}}class Kt extends se{constructor(e,t,i){super(),this.widget=e,this.length=t,this.type=i,this.breakAfter=0,this.prevWidget=null}merge(e,t,i,n,r,o){return i&&(!(i instanceof Kt)||!this.widget.compare(i.widget)||e>0&&r<=0||t0;){if(this.textOff==this.text.length){let{value:r,lineBreak:o,done:l}=this.cursor.next(this.skip);if(this.skip=0,l)throw new Error("Ran out of text content when drawing inline views");if(o){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,e--;continue}else this.text=r,this.textOff=0}let n=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(t.slice(t.length-i)),this.getLine().append(Ji(new Lt(this.text.slice(this.textOff,this.textOff+n)),t),i),this.atCursorPos=!0,this.textOff+=n,e-=n,i=0}}span(e,t,i,n){this.buildText(t-e,i,n),this.pos=t,this.openStart<0&&(this.openStart=n)}point(e,t,i,n,r,o){if(this.disallowBlockEffectsFor[o]&&i instanceof Jt){if(i.block)throw new RangeError("Block decorations may not be specified via plugins");if(t>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let l=t-e;if(i instanceof Jt)if(i.block){let{type:a}=i;a==be.WidgetAfter&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new Kt(i.widget||new ao("div"),l,a))}else{let a=Mt.create(i.widget||new ao("span"),l,l?0:i.startSide),h=this.atCursorPos&&!a.isEditable&&r<=n.length&&(e0),f=!a.isEditable&&(en.length||i.startSide<=0),c=this.getLine();this.pendingBuffer==2&&!h&&(this.pendingBuffer=0),this.flushBuffer(n),h&&(c.append(Ji(new ci(1),n),r),r=n.length+Math.max(0,r-n.length)),c.append(Ji(a,n),r),this.atCursorPos=f,this.pendingBuffer=f?en.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=n.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(i);l&&(this.textOff+l<=this.text.length?this.textOff+=l:(this.skip+=l-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=t),this.openStart<0&&(this.openStart=r)}static build(e,t,i,n,r){let o=new Sr(e,t,i,r);return o.openEnd=fe.spans(n,t,i,o),o.openStart<0&&(o.openStart=o.openEnd),o.finish(o.openEnd),o}}function Ji(s,e){for(let t of e)s=new pt(t,[s],s.length);return s}class ao extends ts{constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(e){return e.nodeName.toLowerCase()==this.tag}}const Aa=V.define(),Ca=V.define(),Oa=V.define(),Ta=V.define(),Ks=V.define(),Ma=V.define(),Da=V.define({combine:s=>s.some(e=>e)}),Mc=V.define({combine:s=>s.some(e=>e)});class Pn{constructor(e,t="nearest",i="nearest",n=5,r=5){this.range=e,this.y=t,this.x=i,this.yMargin=n,this.xMargin=r}map(e){return e.empty?this:new Pn(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin)}}const ho=ne.define({map:(s,e)=>s.map(e)});function Je(s,e,t){let i=s.facet(Ta);i.length?i[0](e):window.onerror?window.onerror(String(e),t,void 0,void 0,e):t?console.error(t+":",e):console.error(e)}const ns=V.define({combine:s=>s.length?s[0]:!0});let Dc=0;const xi=V.define();class Nt{constructor(e,t,i,n){this.id=e,this.create=t,this.domEventHandlers=i,this.extension=n(this)}static define(e,t){const{eventHandlers:i,provide:n,decorations:r}=t||{};return new Nt(Dc++,e,i,o=>{let l=[xi.of(o)];return r&&l.push(Li.of(a=>{let h=a.plugin(o);return h?r(h):le.none})),n&&l.push(n(o)),l})}static fromClass(e,t){return Nt.define(i=>new e(i),t)}}class us{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}update(e){if(this.value){if(this.mustUpdate){let t=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(t)}catch(i){if(Je(t.state,i,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(e)}catch(t){Je(e.state,t,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var t;if(!((t=this.value)===null||t===void 0)&&t.destroy)try{this.value.destroy()}catch(i){Je(e.state,i,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const Pa=V.define(),xr=V.define(),Li=V.define(),Ra=V.define(),Ba=V.define(),Ai=V.define();class dt{constructor(e,t,i,n){this.fromA=e,this.toA=t,this.fromB=i,this.toB=n}join(e){return new dt(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let t=e.length,i=this;for(;t>0;t--){let n=e[t-1];if(!(n.fromA>i.toA)){if(n.toAf)break;r+=2}if(!a)return i;new dt(a.fromA,a.toA,a.fromB,a.toB).addToSet(i),o=a.toA,l=a.toB}}}class Rn{constructor(e,t,i){this.view=e,this.state=t,this.transactions=i,this.flags=0,this.startState=e.state,this.changes=ge.empty(this.startState.doc.length);for(let o of i)this.changes=this.changes.compose(o.changes);let n=[];this.changes.iterChangedRanges((o,l,a,h)=>n.push(new dt(o,l,a,h))),this.changedRanges=n;let r=e.hasFocus;r!=e.inputState.notifiedFocused&&(e.inputState.notifiedFocused=r,this.flags|=1)}static create(e,t,i){return new Rn(e,t,i)}get viewportChanged(){return(this.flags&4)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&10)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return this.flags==0&&this.transactions.length==0}}var ye=function(s){return s[s.LTR=0]="LTR",s[s.RTL=1]="RTL",s}(ye||(ye={}));const Gs=ye.LTR,Pc=ye.RTL;function Ea(s){let e=[];for(let t=0;t=t){if(l.level==i)return o;(r<0||(n!=0?n<0?l.fromt:e[r].level>l.level))&&(r=o)}}if(r<0)throw new RangeError("Index out of range");return r}}const oe=[];function _c(s,e){let t=s.length,i=e==Gs?1:2,n=e==Gs?2:1;if(!s||i==1&&!Ic.test(s))return Ia(t);for(let o=0,l=i,a=i;o=0;u-=3)if(et[u+1]==-f){let d=et[u+2],p=d&2?i:d&4?d&1?n:i:0;p&&(oe[o]=oe[et[u]]=p),l=u;break}}else{if(et.length==189)break;et[l++]=o,et[l++]=h,et[l++]=a}else if((c=oe[o])==2||c==1){let u=c==i;a=u?0:1;for(let d=l-3;d>=0;d-=3){let p=et[d+2];if(p&2)break;if(u)et[d+2]|=2;else{if(p&4)break;et[d+2]|=4}}}for(let o=0;ol;){let f=h,c=oe[--h]!=2;for(;h>l&&c==(oe[h-1]!=2);)h--;r.push(new li(h,f,c?2:1))}else r.push(new li(l,o,0))}else for(let o=0;o1)for(let a of this.points)a.node==e&&a.pos>this.text.length&&(a.pos-=o-1);i=r+o}}readNode(e){if(e.cmIgnore)return;let t=se.get(e),i=t&&t.overrideDOMText;if(i!=null){this.findPointInside(e,i.length);for(let n=i.iter();!n.next().done;)n.lineBreak?this.lineBreak():this.append(n.value)}else e.nodeType==3?this.readTextNode(e):e.nodeName=="BR"?e.nextSibling&&this.lineBreak():e.nodeType==1&&this.readRange(e.firstChild,null)}findPointBefore(e,t){for(let i of this.points)i.node==e&&e.childNodes[i.offset]==t&&(i.pos=this.text.length)}findPointInside(e,t){for(let i of this.points)(e.nodeType==3?i.node==e:e.contains(i.node))&&(i.pos=this.text.length+Math.min(t,i.offset))}}function fo(s){return s.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(s.nodeName)}class co{constructor(e,t){this.node=e,this.offset=t,this.pos=-1}}class uo extends se{constructor(e){super(),this.view=e,this.compositionDeco=le.none,this.decorations=[],this.dynamicDecorationMap=[],this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(e.contentDOM),this.children=[new Te],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new dt(0,0,0,e.state.doc.length)],0)}get editorView(){return this.view}get length(){return this.view.state.doc.length}update(e){let t=e.changedRanges;this.minWidth>0&&t.length&&(t.every(({fromA:o,toA:l})=>lthis.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.view.inputState.composing<0?this.compositionDeco=le.none:(e.transactions.length||this.dirty)&&(this.compositionDeco=$c(this.view,e.changes)),(I.ie||I.chrome)&&!this.compositionDeco.size&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let i=this.decorations,n=this.updateDeco(),r=Hc(i,n,e.changes);return t=dt.extendWithRanges(t,r),this.dirty==0&&t.length==0?!1:(this.updateInner(t,e.startState.doc.length),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,t){this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,t);let{observer:i}=this.view;i.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let r=I.chrome||I.ios?{node:i.selectionRange.focusNode,written:!1}:void 0;this.sync(r),this.dirty=0,r&&(r.written||i.selectionRange.focusNode!=r.node)&&(this.forceSelection=!0),this.dom.style.height=""});let n=[];if(this.view.viewport.from||this.view.viewport.to=0?e[n]:null;if(!r)break;let{fromA:o,toA:l,fromB:a,toB:h}=r,{content:f,breakAtStart:c,openStart:u,openEnd:d}=Sr.build(this.view.state.doc,a,h,this.decorations,this.dynamicDecorationMap),{i:p,off:m}=i.findPos(l,1),{i:g,off:b}=i.findPos(o,-1);pa(this,g,b,p,m,f,c,u,d)}}updateSelection(e=!1,t=!1){if((e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange(),!(t||this.mayControlSelection()))return;let i=this.forceSelection;this.forceSelection=!1;let n=this.view.state.selection.main,r=this.domAtPos(n.anchor),o=n.empty?r:this.domAtPos(n.head);if(I.gecko&&n.empty&&Nc(r)){let a=document.createTextNode("");this.view.observer.ignore(()=>r.node.insertBefore(a,r.node.childNodes[r.offset]||null)),r=o=new Ce(a,0),i=!0}let l=this.view.observer.selectionRange;(i||!l.focusNode||!Mn(r.node,r.offset,l.anchorNode,l.anchorOffset)||!Mn(o.node,o.offset,l.focusNode,l.focusOffset))&&(this.view.observer.ignore(()=>{I.android&&I.chrome&&this.dom.contains(l.focusNode)&&zc(l.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let a=Tn(this.view.root);if(a)if(n.empty){if(I.gecko){let h=Wc(r.node,r.offset);if(h&&h!=3){let f=$a(r.node,r.offset,h==1?1:-1);f&&(r=new Ce(f,h==1?0:f.nodeValue.length))}}a.collapse(r.node,r.offset),n.bidiLevel!=null&&l.cursorBidiLevel!=null&&(l.cursorBidiLevel=n.bidiLevel)}else if(a.extend){a.collapse(r.node,r.offset);try{a.extend(o.node,o.offset)}catch{}}else{let h=document.createRange();n.anchor>n.head&&([r,o]=[o,r]),h.setEnd(o.node,o.offset),h.setStart(r.node,r.offset),a.removeAllRanges(),a.addRange(h)}}),this.view.observer.setSelectionRange(r,o)),this.impreciseAnchor=r.precise?null:new Ce(l.anchorNode,l.anchorOffset),this.impreciseHead=o.precise?null:new Ce(l.focusNode,l.focusOffset)}enforceCursorAssoc(){if(this.compositionDeco.size)return;let{view:e}=this,t=e.state.selection.main,i=Tn(e.root),{anchorNode:n,anchorOffset:r}=e.observer.selectionRange;if(!i||!t.empty||!t.assoc||!i.modify)return;let o=Te.find(this,t.head);if(!o)return;let l=o.posAtStart;if(t.head==l||t.head==l+o.length)return;let a=this.coordsAt(t.head,-1),h=this.coordsAt(t.head,1);if(!a||!h||a.bottom>h.top)return;let f=this.domAtPos(t.head+t.assoc);i.collapse(f.node,f.offset),i.modify("move",t.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let c=e.observer.selectionRange;e.docView.posFromDOM(c.anchorNode,c.anchorOffset)!=t.from&&i.collapse(n,r)}mayControlSelection(){let e=this.view.root.activeElement;return e==this.dom||wn(this.dom,this.view.observer.selectionRange)&&!(e&&this.dom.contains(e))}nearest(e){for(let t=e;t;){let i=se.get(t);if(i&&i.rootView==this)return i;t=t.parentNode}return null}posFromDOM(e,t){let i=this.nearest(e);if(!i)throw new RangeError("Trying to find position for a DOM position outside of the document");return i.localPosFromDOM(e,t)+i.posAtStart}domAtPos(e){let{i:t,off:i}=this.childCursor().findPos(e,-1);for(;to||e==o&&r.type!=be.WidgetBefore&&r.type!=be.WidgetAfter&&(!n||t==2||this.children[n-1].breakAfter||this.children[n-1].type==be.WidgetBefore&&t>-2))return r.coordsAt(e-o,t);i=o}}measureVisibleLineHeights(e){let t=[],{from:i,to:n}=e,r=this.view.contentDOM.clientWidth,o=r>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,l=-1,a=this.view.textDirection==ye.LTR;for(let h=0,f=0;fn)break;if(h>=i){let d=c.dom.getBoundingClientRect();if(t.push(d.height),o){let p=c.dom.lastChild,m=p?Ii(p):[];if(m.length){let g=m[m.length-1],b=a?g.right-d.left:d.right-g.left;b>l&&(l=b,this.minWidth=r,this.minWidthFrom=h,this.minWidthTo=u)}}}h=u+c.breakAfter}return t}textDirectionAt(e){let{i:t}=this.childPos(e,1);return getComputedStyle(this.children[t].dom).direction=="rtl"?ye.RTL:ye.LTR}measureTextSize(){for(let n of this.children)if(n instanceof Te){let r=n.measureTextSize();if(r)return r}let e=document.createElement("div"),t,i;return e.className="cm-line",e.style.width="99999px",e.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(e);let n=Ii(e.firstChild)[0];t=e.getBoundingClientRect().height,i=n?n.width/27:7,e.remove()}),{lineHeight:t,charWidth:i}}childCursor(e=this.length){let t=this.children.length;return t&&(e-=this.children[--t].length),new da(this.children,e,t)}computeBlockGapDeco(){let e=[],t=this.view.viewState;for(let i=0,n=0;;n++){let r=n==t.viewports.length?null:t.viewports[n],o=r?r.from-1:this.length;if(o>i){let l=t.lineBlockAt(o).bottom-t.lineBlockAt(i).top;e.push(le.replace({widget:new po(l),block:!0,inclusive:!0,isBlockGap:!0}).range(i,o))}if(!r)break;i=r.to+1}return le.set(e)}updateDeco(){let e=this.view.state.facet(Li).map((t,i)=>(this.dynamicDecorationMap[i]=typeof t=="function")?t(this.view):t);for(let t=e.length;tt.anchor?-1:1),n;if(!i)return;!t.empty&&(n=this.coordsAt(t.anchor,t.anchor>t.head?-1:1))&&(i={left:Math.min(i.left,n.left),top:Math.min(i.top,n.top),right:Math.max(i.right,n.right),bottom:Math.max(i.bottom,n.bottom)});let r=0,o=0,l=0,a=0;for(let f of this.view.state.facet(Ba).map(c=>c(this.view)))if(f){let{left:c,right:u,top:d,bottom:p}=f;c!=null&&(r=Math.max(r,c)),u!=null&&(o=Math.max(o,u)),d!=null&&(l=Math.max(l,d)),p!=null&&(a=Math.max(a,p))}let h={left:i.left-r,top:i.top-l,right:i.right+o,bottom:i.bottom+a};yc(this.view.scrollDOM,h,t.head0&&t<=0)s=s.childNodes[e-1],e=_i(s);else if(s.nodeType==1&&e=0)s=s.childNodes[e],e=0;else return null}}function Wc(s,e){return s.nodeType!=1?0:(e&&s.childNodes[e-1].contentEditable=="false"?1:0)|(e0;){let h=Ve(n.text,o,!1);if(i(n.text.slice(h,o))!=a)break;o=h}for(;ls?e.left-s:Math.max(0,s-e.right)}function Uc(s,e){return e.top>s?e.top-s:Math.max(0,s-e.bottom)}function ds(s,e){return s.tope.top+1}function go(s,e){return es.bottom?{top:s.top,left:s.left,right:s.right,bottom:e}:s}function Js(s,e,t){let i,n,r,o,l=!1,a,h,f,c;for(let p=s.firstChild;p;p=p.nextSibling){let m=Ii(p);for(let g=0;gx||o==x&&r>w)&&(i=p,n=b,r=w,o=x,l=!w||(w>0?g0)),w==0?t>b.bottom&&(!f||f.bottomb.top)&&(h=p,c=b):f&&ds(f,b)?f=mo(f,b.bottom):c&&ds(c,b)&&(c=go(c,b.top))}}if(f&&f.bottom>=t?(i=a,n=f):c&&c.top<=t&&(i=h,n=c),!i)return{node:s,offset:0};let u=Math.max(n.left,Math.min(n.right,e));if(i.nodeType==3)return bo(i,u,t);if(l&&i.contentEditable!="false")return Js(i,u,t);let d=Array.prototype.indexOf.call(s.childNodes,i)+(e>=(n.left+n.right)/2?1:0);return{node:s,offset:d}}function bo(s,e,t){let i=s.nodeValue.length,n=-1,r=1e9,o=0;for(let l=0;lt?f.top-t:t-f.bottom)-1;if(f.left-1<=e&&f.right+1>=e&&c=(f.left+f.right)/2,d=u;if((I.chrome||I.gecko)&&fi(s,l).getBoundingClientRect().left==f.right&&(d=!u),c<=0)return{node:s,offset:l+(d?1:0)};n=l+(d?1:0),r=c}}}return{node:s,offset:n>-1?n:o>0?s.nodeValue.length:0}}function Va(s,{x:e,y:t},i,n=-1){var r;let o=s.contentDOM.getBoundingClientRect(),l=o.top+s.viewState.paddingTop,a,{docHeight:h}=s.viewState,f=t-l;if(f<0)return 0;if(f>h)return s.state.doc.length;for(let b=s.defaultLineHeight/2,w=!1;a=s.elementAtHeight(f),a.type!=be.Text;)for(;f=n>0?a.bottom+b:a.top-b,!(f>=0&&f<=h);){if(w)return i?null:0;w=!0,n=-n}t=l+f;let c=a.from;if(cs.viewport.to)return s.viewport.to==s.state.doc.length?s.state.doc.length:i?null:wo(s,o,a,e,t);let u=s.dom.ownerDocument,d=s.root.elementFromPoint?s.root:u,p=d.elementFromPoint(e,t);p&&!s.contentDOM.contains(p)&&(p=null),p||(e=Math.max(o.left+1,Math.min(o.right-1,e)),p=d.elementFromPoint(e,t),p&&!s.contentDOM.contains(p)&&(p=null));let m,g=-1;if(p&&((r=s.docView.nearest(p))===null||r===void 0?void 0:r.isEditable)!=!1){if(u.caretPositionFromPoint){let b=u.caretPositionFromPoint(e,t);b&&({offsetNode:m,offset:g}=b)}else if(u.caretRangeFromPoint){let b=u.caretRangeFromPoint(e,t);b&&({startContainer:m,startOffset:g}=b,(!s.contentDOM.contains(m)||I.safari&&Kc(m,g,e)||I.chrome&&Gc(m,g,e))&&(m=void 0))}}if(!m||!s.docView.dom.contains(m)){let b=Te.find(s.docView,c);if(!b)return f>a.top+a.height/2?a.to:a.from;({node:m,offset:g}=Js(b.dom,e,t))}return s.docView.posFromDOM(m,g)}function wo(s,e,t,i,n){let r=Math.round((i-e.left)*s.defaultCharacterWidth);if(s.lineWrapping&&t.height>s.defaultLineHeight*1.5){let l=Math.floor((n-t.top)/s.defaultLineHeight);r+=l*s.viewState.heightOracle.lineLength}let o=s.state.sliceDoc(t.from,t.to);return t.from+cc(o,r,s.state.tabSize)}function Kc(s,e,t){let i;if(s.nodeType!=3||e!=(i=s.nodeValue.length))return!1;for(let n=s.nextSibling;n;n=n.nextSibling)if(n.nodeType!=1||n.nodeName!="BR")return!1;return fi(s,i-1,i).getBoundingClientRect().left>t}function Gc(s,e,t){if(e!=0)return!1;for(let n=s;;){let r=n.parentNode;if(!r||r.nodeType!=1||r.firstChild!=n)return!1;if(r.classList.contains("cm-line"))break;n=r}let i=s.nodeType==1?s.getBoundingClientRect():fi(s,0,Math.max(s.nodeValue.length,1)).getBoundingClientRect();return t-i.left>5}function Qc(s,e,t,i){let n=s.state.doc.lineAt(e.head),r=!i||!s.lineWrapping?null:s.coordsAtPos(e.assoc<0&&e.head>n.from?e.head-1:e.head);if(r){let a=s.dom.getBoundingClientRect(),h=s.textDirectionAt(n.from),f=s.posAtCoords({x:t==(h==ye.LTR)?a.right-1:a.left+1,y:(r.top+r.bottom)/2});if(f!=null)return O.cursor(f,t?-1:1)}let o=Te.find(s.docView,e.head),l=o?t?o.posAtEnd:o.posAtStart:t?n.to:n.from;return O.cursor(l,t?-1:1)}function yo(s,e,t,i){let n=s.state.doc.lineAt(e.head),r=s.bidiSpans(n),o=s.textDirectionAt(n.from);for(let l=e,a=null;;){let h=Lc(n,r,o,l,t),f=_a;if(!h){if(n.number==(t?s.state.doc.lines:1))return l;f=` -`,n=s.state.doc.line(n.number+(t?1:-1)),r=s.bidiSpans(n),h=O.cursor(t?n.from:n.to)}if(a){if(!a(f))return l}else{if(!i)return h;a=i(f)}l=h}}function Jc(s,e,t){let i=s.state.charCategorizer(e),n=i(t);return r=>{let o=i(r);return n==Fe.Space&&(n=o),n==o}}function Yc(s,e,t,i){let n=e.head,r=t?1:-1;if(n==(t?s.state.doc.length:0))return O.cursor(n,e.assoc);let o=e.goalColumn,l,a=s.contentDOM.getBoundingClientRect(),h=s.coordsAtPos(n),f=s.documentTop;if(h)o==null&&(o=h.left-a.left),l=r<0?h.top:h.bottom;else{let d=s.viewState.lineBlockAt(n);o==null&&(o=Math.min(a.right-a.left,s.defaultCharacterWidth*(n-d.from))),l=(r<0?d.top:d.bottom)+f}let c=a.left+o,u=i??s.defaultLineHeight>>1;for(let d=0;;d+=10){let p=l+(u+d)*r,m=Va(s,{x:c,y:p},!1,r);if(pa.bottom||(r<0?mn))return O.cursor(m,e.assoc,void 0,o)}}function ps(s,e,t){let i=s.state.facet(Ra).map(n=>n(s));for(;;){let n=!1;for(let r of i)r.between(t.from-1,t.from+1,(o,l,a)=>{t.from>o&&t.fromt.from?O.cursor(o,1):O.cursor(l,-1),n=!0)});if(!n)return t}}class Xc{constructor(e){this.lastKeyCode=0,this.lastKeyTime=0,this.lastTouchTime=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.chromeScrollHack=-1,this.pendingIOSKey=void 0,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastEscPress=0,this.lastContextMenu=0,this.scrollHandlers=[],this.registeredEvents=[],this.customHandlers=[],this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.mouseSelection=null;let t=(i,n)=>{this.ignoreDuringComposition(n)||n.type=="keydown"&&this.keydown(e,n)||(this.mustFlushObserver(n)&&e.observer.forceFlush(),this.runCustomHandlers(n.type,e,n)?n.preventDefault():i(e,n))};for(let i in we){let n=we[i];e.contentDOM.addEventListener(i,r=>{ko(e,r)&&t(n,r)},Ys[i]),this.registeredEvents.push(i)}e.scrollDOM.addEventListener("mousedown",i=>{i.target==e.scrollDOM&&t(we.mousedown,i)}),I.chrome&&I.chrome_version==102&&e.scrollDOM.addEventListener("wheel",()=>{this.chromeScrollHack<0?e.contentDOM.style.pointerEvents="none":window.clearTimeout(this.chromeScrollHack),this.chromeScrollHack=setTimeout(()=>{this.chromeScrollHack=-1,e.contentDOM.style.pointerEvents=""},100)},{passive:!0}),this.notifiedFocused=e.hasFocus,I.safari&&e.contentDOM.addEventListener("input",()=>null)}setSelectionOrigin(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}ensureHandlers(e,t){var i;let n;this.customHandlers=[];for(let r of t)if(n=(i=r.update(e).spec)===null||i===void 0?void 0:i.domEventHandlers){this.customHandlers.push({plugin:r.value,handlers:n});for(let o in n)this.registeredEvents.indexOf(o)<0&&o!="scroll"&&(this.registeredEvents.push(o),e.contentDOM.addEventListener(o,l=>{ko(e,l)&&this.runCustomHandlers(o,e,l)&&l.preventDefault()}))}}runCustomHandlers(e,t,i){for(let n of this.customHandlers){let r=n.handlers[e];if(r)try{if(r.call(n.plugin,i,t)||i.defaultPrevented)return!0}catch(o){Je(t.state,o)}}return!1}runScrollHandlers(e,t){this.lastScrollTop=e.scrollDOM.scrollTop,this.lastScrollLeft=e.scrollDOM.scrollLeft;for(let i of this.customHandlers){let n=i.handlers.scroll;if(n)try{n.call(i.plugin,t,e)}catch(r){Je(e.state,r)}}}keydown(e,t){if(this.lastKeyCode=t.keyCode,this.lastKeyTime=Date.now(),t.keyCode==9&&Date.now()n.keyCode==t.keyCode))&&!t.ctrlKey||Zc.indexOf(t.key)>-1&&t.ctrlKey&&!t.shiftKey)?(this.pendingIOSKey=i||t,setTimeout(()=>this.flushIOSKey(e),250),!0):!1}flushIOSKey(e){let t=this.pendingIOSKey;return t?(this.pendingIOSKey=void 0,oi(e.contentDOM,t.key,t.keyCode)):!1}ignoreDuringComposition(e){return/^key/.test(e.type)?this.composing>0?!0:I.safari&&!I.ios&&Date.now()-this.compositionEndedAt<100?(this.compositionEndedAt=0,!0):!1:!1}mustFlushObserver(e){return e.type=="keydown"&&e.keyCode!=229}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.mouseSelection&&this.mouseSelection.update(e),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}const Wa=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],Zc="dthko",Fa=[16,17,18,20,91,92,224,225];function Yi(s){return s*.7+8}class eu{constructor(e,t,i,n){this.view=e,this.style=i,this.mustSelect=n,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=t,this.scrollParent=kc(e.contentDOM);let r=e.contentDOM.ownerDocument;r.addEventListener("mousemove",this.move=this.move.bind(this)),r.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=t.shiftKey,this.multiple=e.state.facet(X.allowMultipleSelections)&&tu(e,t),this.dragMove=iu(e,t),this.dragging=nu(e,t)&&ja(t)==1?null:!1,this.dragging===!1&&(t.preventDefault(),this.select(t))}move(e){var t;if(e.buttons==0)return this.destroy();if(this.dragging!==!1)return;this.select(this.lastEvent=e);let i=0,n=0,r=((t=this.scrollParent)===null||t===void 0?void 0:t.getBoundingClientRect())||{left:0,top:0,right:this.view.win.innerWidth,bottom:this.view.win.innerHeight};e.clientX<=r.left?i=-Yi(r.left-e.clientX):e.clientX>=r.right&&(i=Yi(e.clientX-r.right)),e.clientY<=r.top?n=-Yi(r.top-e.clientY):e.clientY>=r.bottom&&(n=Yi(e.clientY-r.bottom)),this.setScrollSpeed(i,n)}up(e){this.dragging==null&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=null}setScrollSpeed(e,t){this.scrollSpeed={x:e,y:t},e||t?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){this.scrollParent?(this.scrollParent.scrollLeft+=this.scrollSpeed.x,this.scrollParent.scrollTop+=this.scrollSpeed.y):this.view.win.scrollBy(this.scrollSpeed.x,this.scrollSpeed.y),this.dragging===!1&&this.select(this.lastEvent)}select(e){let t=this.style.get(e,this.extend,this.multiple);(this.mustSelect||!t.eq(this.view.state.selection)||t.main.assoc!=this.view.state.selection.main.assoc)&&this.view.dispatch({selection:t,userEvent:"select.pointer"}),this.mustSelect=!1}update(e){e.docChanged&&this.dragging&&(this.dragging=this.dragging.map(e.changes)),this.style.update(e)&&setTimeout(()=>this.select(this.lastEvent),20)}}function tu(s,e){let t=s.state.facet(Aa);return t.length?t[0](e):I.mac?e.metaKey:e.ctrlKey}function iu(s,e){let t=s.state.facet(Ca);return t.length?t[0](e):I.mac?!e.altKey:!e.ctrlKey}function nu(s,e){let{main:t}=s.state.selection;if(t.empty)return!1;let i=Tn(s.root);if(!i||i.rangeCount==0)return!0;let n=i.getRangeAt(0).getClientRects();for(let r=0;r=e.clientX&&o.top<=e.clientY&&o.bottom>=e.clientY)return!0}return!1}function ko(s,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let t=e.target,i;t!=s.contentDOM;t=t.parentNode)if(!t||t.nodeType==11||(i=se.get(t))&&i.ignoreEvent(e))return!1;return!0}const we=Object.create(null),Ys=Object.create(null),Ha=I.ie&&I.ie_version<15||I.ios&&I.webkit_version<604;function su(s){let e=s.dom.parentNode;if(!e)return;let t=e.appendChild(document.createElement("textarea"));t.style.cssText="position: fixed; left: -10000px; top: 10px",t.focus(),setTimeout(()=>{s.focus(),t.remove(),za(s,t.value)},50)}function za(s,e){let{state:t}=s,i,n=1,r=t.toText(e),o=r.lines==t.selection.ranges.length;if(Xs!=null&&t.selection.ranges.every(a=>a.empty)&&Xs==r.toString()){let a=-1;i=t.changeByRange(h=>{let f=t.doc.lineAt(h.from);if(f.from==a)return{range:h};a=f.from;let c=t.toText((o?r.line(n++).text:e)+t.lineBreak);return{changes:{from:f.from,insert:c},range:O.cursor(h.from+c.length)}})}else o?i=t.changeByRange(a=>{let h=r.line(n++);return{changes:{from:a.from,to:a.to,insert:h.text},range:O.cursor(a.from+h.length)}}):i=t.replaceSelection(r);s.dispatch(i,{userEvent:"input.paste",scrollIntoView:!0})}we.keydown=(s,e)=>{s.inputState.setSelectionOrigin("select"),e.keyCode==27?s.inputState.lastEscPress=Date.now():Fa.indexOf(e.keyCode)<0&&(s.inputState.lastEscPress=0)};we.touchstart=(s,e)=>{s.inputState.lastTouchTime=Date.now(),s.inputState.setSelectionOrigin("select.pointer")};we.touchmove=s=>{s.inputState.setSelectionOrigin("select.pointer")};Ys.touchstart=Ys.touchmove={passive:!0};we.mousedown=(s,e)=>{if(s.observer.flush(),s.inputState.lastTouchTime>Date.now()-2e3)return;let t=null;for(let i of s.state.facet(Oa))if(t=i(s,e),t)break;if(!t&&e.button==0&&(t=lu(s,e)),t){let i=s.root.activeElement!=s.contentDOM;i&&s.observer.ignore(()=>ca(s.contentDOM)),s.inputState.startMouseSelection(new eu(s,e,t,i))}};function vo(s,e,t,i){if(i==1)return O.cursor(e,t);if(i==2)return qc(s.state,e,t);{let n=Te.find(s.docView,e),r=s.state.doc.lineAt(n?n.posAtEnd:e),o=n?n.posAtStart:r.from,l=n?n.posAtEnd:r.to;return ls>=e.top&&s<=e.bottom,So=(s,e,t)=>qa(e,t)&&s>=t.left&&s<=t.right;function ru(s,e,t,i){let n=Te.find(s.docView,e);if(!n)return 1;let r=e-n.posAtStart;if(r==0)return 1;if(r==n.length)return-1;let o=n.coordsAt(r,-1);if(o&&So(t,i,o))return-1;let l=n.coordsAt(r,1);return l&&So(t,i,l)?1:o&&qa(i,o)?-1:1}function xo(s,e){let t=s.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:t,bias:ru(s,t,e.clientX,e.clientY)}}const ou=I.ie&&I.ie_version<=11;let Ao=null,Co=0,Oo=0;function ja(s){if(!ou)return s.detail;let e=Ao,t=Oo;return Ao=s,Oo=Date.now(),Co=!e||t>Date.now()-400&&Math.abs(e.clientX-s.clientX)<2&&Math.abs(e.clientY-s.clientY)<2?(Co+1)%3:1}function lu(s,e){let t=xo(s,e),i=ja(e),n=s.state.selection;return{update(r){r.docChanged&&(t.pos=r.changes.mapPos(t.pos),n=n.map(r.changes))},get(r,o,l){let a=xo(s,r),h=vo(s,a.pos,a.bias,i);if(t.pos!=a.pos&&!o){let f=vo(s,t.pos,t.bias,i),c=Math.min(f.from,h.from),u=Math.max(f.to,h.to);h=c1&&n.ranges.some(f=>f.eq(h))?au(n,h):l?n.addRange(h):O.create([h])}}}function au(s,e){for(let t=0;;t++)if(s.ranges[t].eq(e))return O.create(s.ranges.slice(0,t).concat(s.ranges.slice(t+1)),s.mainIndex==t?0:s.mainIndex-(s.mainIndex>t?1:0))}we.dragstart=(s,e)=>{let{selection:{main:t}}=s.state,{mouseSelection:i}=s.inputState;i&&(i.dragging=t),e.dataTransfer&&(e.dataTransfer.setData("Text",s.state.sliceDoc(t.from,t.to)),e.dataTransfer.effectAllowed="copyMove")};function To(s,e,t,i){if(!t)return;let n=s.posAtCoords({x:e.clientX,y:e.clientY},!1);e.preventDefault();let{mouseSelection:r}=s.inputState,o=i&&r&&r.dragging&&r.dragMove?{from:r.dragging.from,to:r.dragging.to}:null,l={from:n,insert:t},a=s.state.changes(o?[o,l]:l);s.focus(),s.dispatch({changes:a,selection:{anchor:a.mapPos(n,-1),head:a.mapPos(n,1)},userEvent:o?"move.drop":"input.drop"})}we.drop=(s,e)=>{if(!e.dataTransfer)return;if(s.state.readOnly)return e.preventDefault();let t=e.dataTransfer.files;if(t&&t.length){e.preventDefault();let i=Array(t.length),n=0,r=()=>{++n==t.length&&To(s,e,i.filter(o=>o!=null).join(s.state.lineBreak),!1)};for(let o=0;o{/[\x00-\x08\x0e-\x1f]{2}/.test(l.result)||(i[o]=l.result),r()},l.readAsText(t[o])}}else To(s,e,e.dataTransfer.getData("Text"),!0)};we.paste=(s,e)=>{if(s.state.readOnly)return e.preventDefault();s.observer.flush();let t=Ha?null:e.clipboardData;t?(za(s,t.getData("text/plain")),e.preventDefault()):su(s)};function hu(s,e){let t=s.dom.parentNode;if(!t)return;let i=t.appendChild(document.createElement("textarea"));i.style.cssText="position: fixed; left: -10000px; top: 10px",i.value=e,i.focus(),i.selectionEnd=e.length,i.selectionStart=0,setTimeout(()=>{i.remove(),s.focus()},50)}function fu(s){let e=[],t=[],i=!1;for(let n of s.selection.ranges)n.empty||(e.push(s.sliceDoc(n.from,n.to)),t.push(n));if(!e.length){let n=-1;for(let{from:r}of s.selection.ranges){let o=s.doc.lineAt(r);o.number>n&&(e.push(o.text),t.push({from:o.from,to:Math.min(s.doc.length,o.to+1)})),n=o.number}i=!0}return{text:e.join(s.lineBreak),ranges:t,linewise:i}}let Xs=null;we.copy=we.cut=(s,e)=>{let{text:t,ranges:i,linewise:n}=fu(s.state);if(!t&&!n)return;Xs=n?t:null;let r=Ha?null:e.clipboardData;r?(e.preventDefault(),r.clearData(),r.setData("text/plain",t)):hu(s,t),e.type=="cut"&&!s.state.readOnly&&s.dispatch({changes:i,scrollIntoView:!0,userEvent:"delete.cut"})};function Ua(s){setTimeout(()=>{s.hasFocus!=s.inputState.notifiedFocused&&s.update([])},10)}we.focus=s=>{s.inputState.lastFocusTime=Date.now(),!s.scrollDOM.scrollTop&&(s.inputState.lastScrollTop||s.inputState.lastScrollLeft)&&(s.scrollDOM.scrollTop=s.inputState.lastScrollTop,s.scrollDOM.scrollLeft=s.inputState.lastScrollLeft),Ua(s)};we.blur=s=>{s.observer.clearSelectionRange(),Ua(s)};we.compositionstart=we.compositionupdate=s=>{s.inputState.compositionFirstChange==null&&(s.inputState.compositionFirstChange=!0),s.inputState.composing<0&&(s.inputState.composing=0)};we.compositionend=s=>{s.inputState.composing=-1,s.inputState.compositionEndedAt=Date.now(),s.inputState.compositionFirstChange=null,I.chrome&&I.android&&s.observer.flushSoon(),setTimeout(()=>{s.inputState.composing<0&&s.docView.compositionDeco.size&&s.update([])},50)};we.contextmenu=s=>{s.inputState.lastContextMenu=Date.now()};we.beforeinput=(s,e)=>{var t;let i;if(I.chrome&&I.android&&(i=Wa.find(n=>n.inputType==e.inputType))&&(s.observer.delayAndroidKey(i.key,i.keyCode),i.key=="Backspace"||i.key=="Delete")){let n=((t=window.visualViewport)===null||t===void 0?void 0:t.height)||0;setTimeout(()=>{var r;(((r=window.visualViewport)===null||r===void 0?void 0:r.height)||0)>n+10&&s.hasFocus&&(s.contentDOM.blur(),s.focus())},100)}};const Mo=["pre-wrap","normal","pre-line","break-spaces"];class cu{constructor(e){this.lineWrapping=e,this.doc=Z.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.lineLength=30,this.heightChanged=!1}heightForGap(e,t){let i=this.doc.lineAt(t).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(i+=Math.ceil((t-e-i*this.lineLength*.5)/this.lineLength)),this.lineHeight*i}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return Mo.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let t=!1;for(let i=0;i-1,l=Math.round(t)!=Math.round(this.lineHeight)||this.lineWrapping!=o;if(this.lineWrapping=o,this.lineHeight=t,this.charWidth=i,this.lineLength=n,l){this.heightSamples={};for(let a=0;a0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e,t){this.height!=t&&(Math.abs(this.height-t)>yn&&(e.heightChanged=!0),this.height=t)}replace(e,t,i){return Me.of(i)}decomposeLeft(e,t){t.push(this)}decomposeRight(e,t){t.push(this)}applyChanges(e,t,i,n){let r=this;for(let o=n.length-1;o>=0;o--){let{fromA:l,toA:a,fromB:h,toB:f}=n[o],c=r.lineAt(l,ie.ByPosNoHeight,t,0,0),u=c.to>=a?c:r.lineAt(a,ie.ByPosNoHeight,t,0,0);for(f+=u.to-a,a=u.to;o>0&&c.from<=n[o-1].toA;)l=n[o-1].fromA,h=n[o-1].fromB,o--,lr*2){let l=e[t-1];l.break?e.splice(--t,1,l.left,null,l.right):e.splice(--t,1,l.left,l.right),i+=1+l.break,n-=l.size}else if(r>n*2){let l=e[i];l.break?e.splice(i,1,l.left,null,l.right):e.splice(i,1,l.left,l.right),i+=2+l.break,r-=l.size}else break;else if(n=r&&o(this.blockAt(0,i,n,r))}updateHeight(e,t=0,i=!1,n){return n&&n.from<=t&&n.more&&this.setHeight(e,n.heights[n.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}}class _e extends Ka{constructor(e,t){super(e,t,be.Text),this.collapsed=0,this.widgetHeight=0}replace(e,t,i){let n=i[0];return i.length==1&&(n instanceof _e||n instanceof ke&&n.flags&4)&&Math.abs(this.length-n.length)<10?(n instanceof ke?n=new _e(n.length,this.height):n.height=this.height,this.outdated||(n.outdated=!1),n):Me.of(i)}updateHeight(e,t=0,i=!1,n){return n&&n.from<=t&&n.more?this.setHeight(e,n.heights[n.index++]):(i||this.outdated)&&this.setHeight(e,Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class ke extends Me{constructor(e){super(e,0)}lines(e,t){let i=e.lineAt(t).number,n=e.lineAt(t+this.length).number;return{firstLine:i,lastLine:n,lineHeight:this.height/(n-i+1)}}blockAt(e,t,i,n){let{firstLine:r,lastLine:o,lineHeight:l}=this.lines(t,n),a=Math.max(0,Math.min(o-r,Math.floor((e-i)/l))),{from:h,length:f}=t.line(r+a);return new Pt(h,f,i+l*a,l,be.Text)}lineAt(e,t,i,n,r){if(t==ie.ByHeight)return this.blockAt(e,i,n,r);if(t==ie.ByPosNoHeight){let{from:c,to:u}=i.lineAt(e);return new Pt(c,u-c,0,0,be.Text)}let{firstLine:o,lineHeight:l}=this.lines(i,r),{from:a,length:h,number:f}=i.lineAt(e);return new Pt(a,h,n+l*(f-o),l,be.Text)}forEachLine(e,t,i,n,r,o){let{firstLine:l,lineHeight:a}=this.lines(i,r);for(let h=Math.max(e,r),f=Math.min(r+this.length,t);h<=f;){let c=i.lineAt(h);h==e&&(n+=a*(c.number-l)),o(new Pt(c.from,c.length,n,a,be.Text)),n+=a,h=c.to+1}}replace(e,t,i){let n=this.length-t;if(n>0){let r=i[i.length-1];r instanceof ke?i[i.length-1]=new ke(r.length+n):i.push(null,new ke(n-1))}if(e>0){let r=i[0];r instanceof ke?i[0]=new ke(e+r.length):i.unshift(new ke(e-1),null)}return Me.of(i)}decomposeLeft(e,t){t.push(new ke(e-1),null)}decomposeRight(e,t){t.push(null,new ke(this.length-e-1))}updateHeight(e,t=0,i=!1,n){let r=t+this.length;if(n&&n.from<=t+this.length&&n.more){let o=[],l=Math.max(t,n.from),a=-1,h=e.heightChanged;for(n.from>t&&o.push(new ke(n.from-t-1).updateHeight(e,t));l<=r&&n.more;){let c=e.doc.lineAt(l).length;o.length&&o.push(null);let u=n.heights[n.index++];a==-1?a=u:Math.abs(u-a)>=yn&&(a=-2);let d=new _e(c,u);d.outdated=!1,o.push(d),l+=c+1}l<=r&&o.push(null,new ke(r-l).updateHeight(e,l));let f=Me.of(o);return e.heightChanged=h||a<0||Math.abs(f.height-this.height)>=yn||Math.abs(a-this.lines(e.doc,t).lineHeight)>=yn,f}else(i||this.outdated)&&(this.setHeight(e,e.heightForGap(t,t+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}}class du extends Me{constructor(e,t,i){super(e.length+t+i.length,e.height+i.height,t|(e.outdated||i.outdated?2:0)),this.left=e,this.right=i,this.size=e.size+i.size}get break(){return this.flags&1}blockAt(e,t,i,n){let r=i+this.left.height;return el))return h;let f=t==ie.ByPosNoHeight?ie.ByPosNoHeight:ie.ByPos;return a?h.join(this.right.lineAt(l,f,i,o,l)):this.left.lineAt(l,f,i,n,r).join(h)}forEachLine(e,t,i,n,r,o){let l=n+this.left.height,a=r+this.left.length+this.break;if(this.break)e=a&&this.right.forEachLine(e,t,i,l,a,o);else{let h=this.lineAt(a,ie.ByPos,i,n,r);e=e&&h.from<=t&&o(h),t>h.to&&this.right.forEachLine(h.to+1,t,i,l,a,o)}}replace(e,t,i){let n=this.left.length+this.break;if(tthis.left.length)return this.balanced(this.left,this.right.replace(e-n,t-n,i));let r=[];e>0&&this.decomposeLeft(e,r);let o=r.length;for(let l of i)r.push(l);if(e>0&&Do(r,o-1),t=i&&t.push(null)),e>i&&this.right.decomposeLeft(e-i,t)}decomposeRight(e,t){let i=this.left.length,n=i+this.break;if(e>=n)return this.right.decomposeRight(e-n,t);e2*t.size||t.size>2*e.size?Me.of(this.break?[e,null,t]:[e,t]):(this.left=e,this.right=t,this.height=e.height+t.height,this.outdated=e.outdated||t.outdated,this.size=e.size+t.size,this.length=e.length+this.break+t.length,this)}updateHeight(e,t=0,i=!1,n){let{left:r,right:o}=this,l=t+r.length+this.break,a=null;return n&&n.from<=t+r.length&&n.more?a=r=r.updateHeight(e,t,i,n):r.updateHeight(e,t,i),n&&n.from<=l+o.length&&n.more?a=o=o.updateHeight(e,l,i,n):o.updateHeight(e,l,i),a?this.balanced(r,o):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function Do(s,e){let t,i;s[e]==null&&(t=s[e-1])instanceof ke&&(i=s[e+1])instanceof ke&&s.splice(e-1,3,new ke(t.length+1+i.length))}const pu=5;class Ar{constructor(e,t){this.pos=e,this.oracle=t,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,t){if(this.lineStart>-1){let i=Math.min(t,this.lineEnd),n=this.nodes[this.nodes.length-1];n instanceof _e?n.length+=i-this.pos:(i>this.pos||!this.isCovered)&&this.nodes.push(new _e(i-this.pos,-1)),this.writtenTo=i,t>i&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=t}point(e,t,i){if(e=pu)&&this.addLineDeco(n,r)}else t>e&&this.span(e,t);this.lineEnd>-1&&this.lineEnd-1)return;let{from:e,to:t}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=t,this.writtenToe&&this.nodes.push(new _e(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,t){let i=new ke(t-e);return this.oracle.doc.lineAt(e).to==t&&(i.flags|=4),i}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof _e)return e;let t=new _e(0,-1);return this.nodes.push(t),t}addBlock(e){this.enterLine(),e.type==be.WidgetAfter&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,e.type!=be.WidgetBefore&&(this.covering=e)}addLineDeco(e,t){let i=this.ensureLine();i.length+=t,i.collapsed+=t,i.widgetHeight=Math.max(i.widgetHeight,e),this.writtenTo=this.pos=this.pos+t}finish(e){let t=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(t instanceof _e)&&!this.isCovered?this.nodes.push(new _e(0,-1)):(this.writtenTof.clientHeight||f.scrollWidth>f.clientWidth)&&c.overflow!="visible"){let u=f.getBoundingClientRect();r=Math.max(r,u.left),o=Math.min(o,u.right),l=Math.max(l,u.top),a=h==s.parentNode?u.bottom:Math.min(a,u.bottom)}h=c.position=="absolute"||c.position=="fixed"?f.offsetParent:f.parentNode}else if(h.nodeType==11)h=h.host;else break;return{left:r-t.left,right:Math.max(r,o)-t.left,top:l-(t.top+e),bottom:Math.max(l,a)-(t.top+e)}}function wu(s,e){let t=s.getBoundingClientRect();return{left:0,right:t.right-t.left,top:e,bottom:t.bottom-(t.top+e)}}class gs{constructor(e,t,i){this.from=e,this.to=t,this.size=i}static same(e,t){if(e.length!=t.length)return!1;for(let i=0;itypeof i!="function"&&i.class=="cm-lineWrapping");this.heightOracle=new cu(t),this.stateDeco=e.facet(Li).filter(i=>typeof i!="function"),this.heightMap=Me.empty().applyChanges(this.stateDeco,Z.empty,this.heightOracle.setDoc(e.doc),[new dt(0,0,0,e.doc.length)]),this.viewport=this.getViewport(0,null),this.updateViewportLines(),this.updateForViewport(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=le.set(this.lineGaps.map(i=>i.draw(!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:t}=this.state.selection;for(let i=0;i<=1;i++){let n=i?t.head:t.anchor;if(!e.some(({from:r,to:o})=>n>=r&&n<=o)){let{from:r,to:o}=this.lineBlockAt(n);e.push(new Xi(r,o))}}this.viewports=e.sort((i,n)=>i.from-n.from),this.scaler=this.heightMap.height<=7e6?Ro:new Su(this.heightOracle.doc,this.heightMap,this.viewports)}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.state.doc,0,0,e=>{this.viewportLines.push(this.scaler.scale==1?e:Ci(e,this.scaler))})}update(e,t=null){this.state=e.state;let i=this.stateDeco;this.stateDeco=this.state.facet(Li).filter(h=>typeof h!="function");let n=e.changedRanges,r=dt.extendWithRanges(n,gu(i,this.stateDeco,e?e.changes:ge.empty(this.state.doc.length))),o=this.heightMap.height;this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),r),this.heightMap.height!=o&&(e.flags|=2);let l=r.length?this.mapViewport(this.viewport,e.changes):this.viewport;(t&&(t.range.headl.to)||!this.viewportIsAppropriate(l))&&(l=this.getViewport(0,t));let a=!e.changes.empty||e.flags&2||l.from!=this.viewport.from||l.to!=this.viewport.to;this.viewport=l,this.updateForViewport(),a&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>2e3<<1)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(),t&&(this.scrollTarget=t),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(Mc)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let t=e.contentDOM,i=window.getComputedStyle(t),n=this.heightOracle,r=i.whiteSpace;this.defaultTextDirection=i.direction=="rtl"?ye.RTL:ye.LTR;let o=this.heightOracle.mustRefreshForWrapping(r),l=o||this.mustMeasureContent||this.contentDOMHeight!=t.clientHeight;this.contentDOMHeight=t.clientHeight,this.mustMeasureContent=!1;let a=0,h=0,f=parseInt(i.paddingTop)||0,c=parseInt(i.paddingBottom)||0;(this.paddingTop!=f||this.paddingBottom!=c)&&(this.paddingTop=f,this.paddingBottom=c,a|=10),this.editorWidth!=e.scrollDOM.clientWidth&&(n.lineWrapping&&(l=!0),this.editorWidth=e.scrollDOM.clientWidth,a|=8);let u=(this.printing?wu:bu)(t,this.paddingTop),d=u.top-this.pixelViewport.top,p=u.bottom-this.pixelViewport.bottom;this.pixelViewport=u;let m=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(m!=this.inView&&(this.inView=m,m&&(l=!0)),!this.inView&&!this.scrollTarget)return 0;let g=t.clientWidth;if((this.contentDOMWidth!=g||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=g,this.editorHeight=e.scrollDOM.clientHeight,a|=8),l){let w=e.docView.measureVisibleLineHeights(this.viewport);if(n.mustRefreshForHeights(w)&&(o=!0),o||n.lineWrapping&&Math.abs(g-this.contentDOMWidth)>n.charWidth){let{lineHeight:x,charWidth:y}=e.docView.measureTextSize();o=x>0&&n.refresh(r,x,y,g/y,w),o&&(e.docView.minWidth=0,a|=8)}d>0&&p>0?h=Math.max(d,p):d<0&&p<0&&(h=Math.min(d,p)),n.heightChanged=!1;for(let x of this.viewports){let y=x.from==this.viewport.from?w:e.docView.measureVisibleLineHeights(x);this.heightMap=(o?Me.empty().applyChanges(this.stateDeco,Z.empty,this.heightOracle,[new dt(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(n,0,o,new uu(x.from,y))}n.heightChanged&&(a|=2)}let b=!this.viewportIsAppropriate(this.viewport,h)||this.scrollTarget&&(this.scrollTarget.range.headthis.viewport.to);return b&&(this.viewport=this.getViewport(h,this.scrollTarget)),this.updateForViewport(),(a&2||b)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>2e3<<1)&&this.updateLineGaps(this.ensureLineGaps(o?[]:this.lineGaps,e)),a|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),a}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,t){let i=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),n=this.heightMap,r=this.state.doc,{visibleTop:o,visibleBottom:l}=this,a=new Xi(n.lineAt(o-i*1e3,ie.ByHeight,r,0,0).from,n.lineAt(l+(1-i)*1e3,ie.ByHeight,r,0,0).to);if(t){let{head:h}=t.range;if(ha.to){let f=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),c=n.lineAt(h,ie.ByPos,r,0,0),u;t.y=="center"?u=(c.top+c.bottom)/2-f/2:t.y=="start"||t.y=="nearest"&&h=l+Math.max(10,Math.min(i,250)))&&n>o-2*1e3&&r>1,o=n<<1;if(this.defaultTextDirection!=ye.LTR&&!i)return[];let l=[],a=(h,f,c,u)=>{if(f-hh&&gg.from>=c.from&&g.to<=c.to&&Math.abs(g.from-h)g.fromb));if(!m){if(fg.from<=f&&g.to>=f)){let g=t.moveToLineBoundary(O.cursor(f),!1,!0).head;g>h&&(f=g)}m=new gs(h,f,this.gapSize(c,h,f,u))}l.push(m)};for(let h of this.viewportLines){if(h.lengthh.from&&a(h.from,u,h,f),dt.draw(this.heightOracle.lineWrapping))))}computeVisibleRanges(){let e=this.stateDeco;this.lineGaps.length&&(e=e.concat(this.lineGapDeco));let t=[];fe.spans(e,this.viewport.from,this.viewport.to,{span(n,r){t.push({from:n,to:r})},point(){}},20);let i=t.length!=this.visibleRanges.length||this.visibleRanges.some((n,r)=>n.from!=t[r].from||n.to!=t[r].to);return this.visibleRanges=t,i?4:0}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(t=>t.from<=e&&t.to>=e)||Ci(this.heightMap.lineAt(e,ie.ByPos,this.state.doc,0,0),this.scaler)}lineBlockAtHeight(e){return Ci(this.heightMap.lineAt(this.scaler.fromDOM(e),ie.ByHeight,this.state.doc,0,0),this.scaler)}elementAtHeight(e){return Ci(this.heightMap.blockAt(this.scaler.fromDOM(e),this.state.doc,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class Xi{constructor(e,t){this.from=e,this.to=t}}function ku(s,e,t){let i=[],n=s,r=0;return fe.spans(t,s,e,{span(){},point(o,l){o>n&&(i.push({from:n,to:o}),r+=o-n),n=l}},20),n=1)return e[e.length-1].to;let i=Math.floor(s*t);for(let n=0;;n++){let{from:r,to:o}=e[n],l=o-r;if(i<=l)return r+i;i-=l}}function en(s,e){let t=0;for(let{from:i,to:n}of s.ranges){if(e<=n){t+=e-i;break}t+=n-i}return t/s.total}function vu(s,e){for(let t of s)if(e(t))return t}const Ro={toDOM(s){return s},fromDOM(s){return s},scale:1};class Su{constructor(e,t,i){let n=0,r=0,o=0;this.viewports=i.map(({from:l,to:a})=>{let h=t.lineAt(l,ie.ByPos,e,0,0).top,f=t.lineAt(a,ie.ByPos,e,0,0).bottom;return n+=f-h,{from:l,to:a,top:h,bottom:f,domTop:0,domBottom:0}}),this.scale=(7e6-n)/(t.height-n);for(let l of this.viewports)l.domTop=o+(l.top-r)*this.scale,o=l.domBottom=l.domTop+(l.bottom-l.top),r=l.bottom}toDOM(e){for(let t=0,i=0,n=0;;t++){let r=tCi(n,e)):s.type)}const tn=V.define({combine:s=>s.join(" ")}),Zs=V.define({combine:s=>s.indexOf(!0)>-1}),er=It.newName(),Ga=It.newName(),Qa=It.newName(),Ja={"&light":"."+Ga,"&dark":"."+Qa};function tr(s,e,t){return new It(e,{finish(i){return/&/.test(i)?i.replace(/&\w*/,n=>{if(n=="&")return s;if(!t||!t[n])throw new RangeError(`Unsupported selector: ${n}`);return t[n]}):s+" "+i}})}const xu=tr("."+er,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#444"},"&.cm-focused .cm-cursor":{display:"block"},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",left:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-highlightSpace:before":{content:"attr(data-display)",position:"absolute",pointerEvents:"none",color:"#888"},".cm-highlightTab":{backgroundImage:`url('data:image/svg+xml,')`,backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},Ja);class Au{constructor(e,t,i,n){this.typeOver=n,this.bounds=null,this.text="";let{impreciseHead:r,impreciseAnchor:o}=e.docView;if(e.state.readOnly&&t>-1)this.newSel=null;else if(t>-1&&(this.bounds=e.docView.domBoundsAround(t,i,0))){let l=r||o?[]:Ou(e),a=new La(l,e.state);a.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=a.text,this.newSel=Tu(l,this.bounds.from)}else{let l=e.observer.selectionRange,a=r&&r.node==l.focusNode&&r.offset==l.focusOffset||!hi(e.contentDOM,l.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(l.focusNode,l.focusOffset),h=o&&o.node==l.anchorNode&&o.offset==l.anchorOffset||!hi(e.contentDOM,l.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(l.anchorNode,l.anchorOffset);this.newSel=O.single(h,a)}}}function Ya(s,e){let t,{newSel:i}=e,n=s.state.selection.main;if(e.bounds){let{from:r,to:o}=e.bounds,l=n.from,a=null;(s.inputState.lastKeyCode===8&&s.inputState.lastKeyTime>Date.now()-100||I.android&&e.text.length=n.from&&t.to<=n.to&&(t.from!=n.from||t.to!=n.to)&&n.to-n.from-(t.to-t.from)<=4?t={from:n.from,to:n.to,insert:s.state.doc.slice(n.from,t.from).append(t.insert).append(s.state.doc.slice(t.to,n.to))}:(I.mac||I.android)&&t&&t.from==t.to&&t.from==n.head-1&&/^\. ?$/.test(t.insert.toString())?(i&&t.insert.length==2&&(i=O.single(i.main.anchor-1,i.main.head-1)),t={from:n.from,to:n.to,insert:Z.of([" "])}):I.chrome&&t&&t.from==t.to&&t.from==n.head&&t.insert.toString()==` - `&&s.lineWrapping&&(i&&(i=O.single(i.main.anchor-1,i.main.head-1)),t={from:n.from,to:n.to,insert:Z.of([" "])}),t){let r=s.state;if(I.ios&&s.inputState.flushIOSKey(s)||I.android&&(t.from==n.from&&t.to==n.to&&t.insert.length==1&&t.insert.lines==2&&oi(s.contentDOM,"Enter",13)||t.from==n.from-1&&t.to==n.to&&t.insert.length==0&&oi(s.contentDOM,"Backspace",8)||t.from==n.from&&t.to==n.to+1&&t.insert.length==0&&oi(s.contentDOM,"Delete",46)))return!0;let o=t.insert.toString();if(s.state.facet(Ma).some(h=>h(s,t.from,t.to,o)))return!0;s.inputState.composing>=0&&s.inputState.composing++;let l;if(t.from>=n.from&&t.to<=n.to&&t.to-t.from>=(n.to-n.from)/3&&(!i||i.main.empty&&i.main.from==t.from+t.insert.length)&&s.inputState.composing<0){let h=n.fromt.to?r.sliceDoc(t.to,n.to):"";l=r.replaceSelection(s.state.toText(h+t.insert.sliceString(0,void 0,s.state.lineBreak)+f))}else{let h=r.changes(t),f=i&&!r.selection.main.eq(i.main)&&i.main.to<=h.newLength?i.main:void 0;if(r.selection.ranges.length>1&&s.inputState.composing>=0&&t.to<=n.to&&t.to>=n.to-10){let c=s.state.sliceDoc(t.from,t.to),u=Na(s)||s.state.doc.lineAt(n.head),d=n.to-t.to,p=n.to-n.from;l=r.changeByRange(m=>{if(m.from==n.from&&m.to==n.to)return{changes:h,range:f||m.map(h)};let g=m.to-d,b=g-c.length;if(m.to-m.from!=p||s.state.sliceDoc(b,g)!=c||u&&m.to>=u.from&&m.from<=u.to)return{range:m};let w=r.changes({from:b,to:g,insert:t.insert}),x=m.to-n.to;return{changes:w,range:f?O.range(Math.max(0,f.anchor+x),Math.max(0,f.head+x)):m.map(w)}})}else l={changes:h,selection:f&&r.selection.replaceRange(f)}}let a="input.type";return s.composing&&(a+=".compose",s.inputState.compositionFirstChange&&(a+=".start",s.inputState.compositionFirstChange=!1)),s.dispatch(l,{scrollIntoView:!0,userEvent:a}),!0}else if(i&&!i.main.eq(n)){let r=!1,o="select";return s.inputState.lastSelectionTime>Date.now()-50&&(s.inputState.lastSelectionOrigin=="select"&&(r=!0),o=s.inputState.lastSelectionOrigin),s.dispatch({selection:i,scrollIntoView:r,userEvent:o}),!0}else return!1}function Cu(s,e,t,i){let n=Math.min(s.length,e.length),r=0;for(;r0&&l>0&&s.charCodeAt(o-1)==e.charCodeAt(l-1);)o--,l--;if(i=="end"){let a=Math.max(0,r-Math.min(o,l));t-=o+a-r}if(o=o?r-t:0;r-=a,l=r+(l-o),o=r}else if(l=l?r-t:0;r-=a,o=r+(o-l),l=r}return{from:r,toA:o,toB:l}}function Ou(s){let e=[];if(s.root.activeElement!=s.contentDOM)return e;let{anchorNode:t,anchorOffset:i,focusNode:n,focusOffset:r}=s.observer.selectionRange;return t&&(e.push(new co(t,i)),(n!=t||r!=i)&&e.push(new co(n,r))),e}function Tu(s,e){if(s.length==0)return null;let t=s[0].pos,i=s.length==2?s[1].pos:t;return t>-1&&i>-1?O.single(t+e,i+e):null}const Mu={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},ms=I.ie&&I.ie_version<=11;class Du{constructor(e){this.view=e,this.active=!1,this.selectionRange=new vc,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.resizeContent=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(t=>{for(let i of t)this.queue.push(i);(I.ie&&I.ie_version<=11||I.ios&&e.composing)&&t.some(i=>i.type=="childList"&&i.removedNodes.length||i.type=="characterData"&&i.oldValue.length>i.target.nodeValue.length)?this.flushSoon():this.flush()}),ms&&(this.onCharData=t=>{this.queue.push({target:t.target,type:"characterData",oldValue:t.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),typeof ResizeObserver=="function"&&(this.resizeScroll=new ResizeObserver(()=>{var t;((t=this.view.docView)===null||t===void 0?void 0:t.lastUpdate)this.view.requestMeasure()),this.resizeContent.observe(e.contentDOM)),this.addWindowListeners(this.win=e.win),this.start(),typeof IntersectionObserver=="function"&&(this.intersection=new IntersectionObserver(t=>{this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),t.length>0&&t[t.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(t=>{t.length>0&&t[t.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runScrollHandlers(this.view,e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(!1),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(){this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500)}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((t,i)=>t!=e[i]))){this.gapIntersection.disconnect();for(let t of e)this.gapIntersection.observe(t);this.gaps=e}}onSelectionChange(e){let t=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:i}=this,n=this.selectionRange;if(i.state.facet(ns)?i.root.activeElement!=this.dom:!wn(i.dom,n))return;let r=n.anchorNode&&i.docView.nearest(n.anchorNode);if(r&&r.ignoreEvent(e)){t||(this.selectionChanged=!1);return}(I.ie&&I.ie_version<=11||I.android&&I.chrome)&&!i.state.selection.main.empty&&n.focusNode&&Mn(n.focusNode,n.focusOffset,n.anchorNode,n.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,t=I.safari&&e.root.nodeType==11&&bc(this.dom.ownerDocument)==this.dom&&Pu(this.view)||Tn(e.root);if(!t||this.selectionRange.eq(t))return!1;let i=wn(this.dom,t);return i&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime{let r=this.delayedAndroidKey;r&&(this.clearDelayedAndroidKey(),!this.flush()&&r.force&&oi(this.dom,r.key,r.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(n)}(!this.delayedAndroidKey||e=="Enter")&&(this.delayedAndroidKey={key:e,keyCode:t,force:this.lastChange{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}processRecords(){let e=this.queue;for(let r of this.observer.takeRecords())e.push(r);e.length&&(this.queue=[]);let t=-1,i=-1,n=!1;for(let r of e){let o=this.readMutation(r);o&&(o.typeOver&&(n=!0),t==-1?{from:t,to:i}=o:(t=Math.min(o.from,t),i=Math.max(o.to,i)))}return{from:t,to:i,typeOver:n}}readChange(){let{from:e,to:t,typeOver:i}=this.processRecords(),n=this.selectionChanged&&wn(this.dom,this.selectionRange);return e<0&&!n?null:(e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1,new Au(this.view,e,t,i))}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let t=this.readChange();if(!t)return!1;let i=this.view.state,n=Ya(this.view,t);return this.view.state==i&&this.view.update([]),n}readMutation(e){let t=this.view.docView.nearest(e.target);if(!t||t.ignoreMutation(e))return null;if(t.markDirty(e.type=="attributes"),e.type=="attributes"&&(t.dirty|=4),e.type=="childList"){let i=Bo(t,e.previousSibling||e.target.previousSibling,-1),n=Bo(t,e.nextSibling||e.target.nextSibling,1);return{from:i?t.posAfter(i):t.posAtStart,to:n?t.posBefore(n):t.posAtEnd,typeOver:!1}}else return e.type=="characterData"?{from:t.posAtStart,to:t.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener("resize",this.onResize),e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}destroy(){var e,t,i,n;this.stop(),(e=this.intersection)===null||e===void 0||e.disconnect(),(t=this.gapIntersection)===null||t===void 0||t.disconnect(),(i=this.resizeScroll)===null||i===void 0||i.disconnect(),(n=this.resizeContent)===null||n===void 0||n.disconnect();for(let r of this.scrollTargets)r.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey)}}function Bo(s,e,t){for(;e;){let i=se.get(e);if(i&&i.parent==s)return i;let n=e.parentNode;e=n!=s.dom?n:t>0?e.nextSibling:e.previousSibling}return null}function Pu(s){let e=null;function t(a){a.preventDefault(),a.stopImmediatePropagation(),e=a.getTargetRanges()[0]}if(s.contentDOM.addEventListener("beforeinput",t,!0),s.dom.ownerDocument.execCommand("indent"),s.contentDOM.removeEventListener("beforeinput",t,!0),!e)return null;let i=e.startContainer,n=e.startOffset,r=e.endContainer,o=e.endOffset,l=s.docView.domAtPos(s.state.selection.main.anchor);return Mn(l.node,l.offset,r,o)&&([i,n,r,o]=[r,o,i,n]),{anchorNode:i,anchorOffset:n,focusNode:r,focusOffset:o}}class G{constructor(e={}){this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.style.cssText="position: fixed; top: -10000px",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),this._dispatch=e.dispatch||(t=>this.update([t])),this.dispatch=this.dispatch.bind(this),this._root=e.root||Sc(e.parent)||document,this.viewState=new Po(e.state||X.create(e)),this.plugins=this.state.facet(xi).map(t=>new us(t));for(let t of this.plugins)t.update(this);this.observer=new Du(this),this.inputState=new Xc(this),this.inputState.ensureHandlers(this,this.plugins),this.docView=new uo(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),e.parent&&e.parent.appendChild(this.dom)}get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return this.inputState.composing>0}get compositionStarted(){return this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}dispatch(...e){this._dispatch(e.length==1&&e[0]instanceof me?e[0]:this.state.update(...e))}update(e){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let t=!1,i=!1,n,r=this.state;for(let h of e){if(h.startState!=r)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");r=h.state}if(this.destroyed){this.viewState.state=r;return}let o=this.observer.delayedAndroidKey,l=null;if(o?(this.observer.clearDelayedAndroidKey(),l=this.observer.readChange(),(l&&!this.state.doc.eq(r.doc)||!this.state.selection.eq(r.selection))&&(l=null)):this.observer.clear(),r.facet(X.phrases)!=this.state.facet(X.phrases))return this.setState(r);n=Rn.create(this,r,e);let a=this.viewState.scrollTarget;try{this.updateState=2;for(let h of e){if(a&&(a=a.map(h.changes)),h.scrollIntoView){let{main:f}=h.state.selection;a=new Pn(f.empty?f:O.cursor(f.head,f.head>f.anchor?-1:1))}for(let f of h.effects)f.is(ho)&&(a=f.value)}this.viewState.update(n,a),this.bidiCache=Bn.update(this.bidiCache,n.changes),n.empty||(this.updatePlugins(n),this.inputState.update(n)),t=this.docView.update(n),this.state.facet(Ai)!=this.styleModules&&this.mountStyles(),i=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(t,e.some(h=>h.isUserEvent("select.pointer")))}finally{this.updateState=0}if(n.startState.facet(tn)!=n.state.facet(tn)&&(this.viewState.mustMeasureContent=!0),(t||i||a||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),!n.empty)for(let h of this.state.facet(Ks))h(n);l&&!Ya(this,l)&&o.force&&oi(this.contentDOM,o.key,o.keyCode)}setState(e){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let t=this.hasFocus;try{for(let i of this.plugins)i.destroy(this);this.viewState=new Po(e),this.plugins=e.facet(xi).map(i=>new us(i)),this.pluginMap.clear();for(let i of this.plugins)i.update(this);this.docView=new uo(this),this.inputState.ensureHandlers(this,this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}t&&this.focus(),this.requestMeasure()}updatePlugins(e){let t=e.startState.facet(xi),i=e.state.facet(xi);if(t!=i){let n=[];for(let r of i){let o=t.indexOf(r);if(o<0)n.push(new us(r));else{let l=this.plugins[o];l.mustUpdate=e,n.push(l)}}for(let r of this.plugins)r.mustUpdate!=e&&r.destroy(this);this.plugins=n,this.pluginMap.clear(),this.inputState.ensureHandlers(this,this.plugins)}else for(let n of this.plugins)n.mustUpdate=e;for(let n=0;n-1&&cancelAnimationFrame(this.measureScheduled),this.measureScheduled=0,e&&this.observer.forceFlush();let t=null,{scrollHeight:i,scrollTop:n,clientHeight:r}=this.scrollDOM,o=n>i-r-4?i:n;try{for(let l=0;;l++){this.updateState=1;let a=this.viewport,h=this.viewState.lineBlockAtHeight(o),f=this.viewState.measure(this);if(!f&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(l>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let c=[];f&4||([this.measureRequests,c]=[c,this.measureRequests]);let u=c.map(g=>{try{return g.read(this)}catch(b){return Je(this.state,b),Eo}}),d=Rn.create(this,this.state,[]),p=!1,m=!1;d.flags|=f,t?t.flags|=f:t=d,this.updateState=2,d.empty||(this.updatePlugins(d),this.inputState.update(d),this.updateAttrs(),p=this.docView.update(d));for(let g=0;g1||g<-1)&&(this.scrollDOM.scrollTop+=g,m=!0)}if(p&&this.docView.updateSelection(!0),this.viewport.from==a.from&&this.viewport.to==a.to&&!m&&this.measureRequests.length==0)break}}finally{this.updateState=0,this.measureScheduled=-1}if(t&&!t.empty)for(let l of this.state.facet(Ks))l(t)}get themeClasses(){return er+" "+(this.state.facet(Zs)?Qa:Ga)+" "+this.state.facet(tn)}updateAttrs(){let e=Io(this,Pa,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),t={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(ns)?"true":"false",class:"cm-content",style:`${I.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(t["aria-readonly"]="true"),Io(this,xr,t);let i=this.observer.ignore(()=>{let n=js(this.contentDOM,this.contentAttrs,t),r=js(this.dom,this.editorAttrs,e);return n||r});return this.editorAttrs=e,this.contentAttrs=t,i}showAnnouncements(e){let t=!0;for(let i of e)for(let n of i.effects)if(n.is(G.announce)){t&&(this.announceDOM.textContent=""),t=!1;let r=this.announceDOM.appendChild(document.createElement("div"));r.textContent=n.value}}mountStyles(){this.styleModules=this.state.facet(Ai),It.mount(this.root,this.styleModules.concat(xu).reverse())}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(this.measureRequests.indexOf(e)>-1)return;if(e.key!=null){for(let t=0;ti.spec==e)||null),t&&t.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,t,i){return ps(this,e,yo(this,e,t,i))}moveByGroup(e,t){return ps(this,e,yo(this,e,t,i=>Jc(this,e.head,i)))}moveToLineBoundary(e,t,i=!0){return Qc(this,e,t,i)}moveVertically(e,t,i){return ps(this,e,Yc(this,e,t,i))}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,t=0){return this.docView.posFromDOM(e,t)}posAtCoords(e,t=!0){return this.readMeasured(),Va(this,e,t)}coordsAtPos(e,t=1){this.readMeasured();let i=this.docView.coordsAt(e,t);if(!i||i.left==i.right)return i;let n=this.state.doc.lineAt(e),r=this.bidiSpans(n),o=r[li.find(r,e-n.from,-1,t)];return yr(i,o.dir==ye.LTR==t>0)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(Da)||ethis.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>Ru)return Ia(e.length);let t=this.textDirectionAt(e.from);for(let n of this.bidiCache)if(n.from==e.from&&n.dir==t)return n.order;let i=_c(e.text,t);return this.bidiCache.push(new Bn(e.from,e.to,t,i)),i}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||I.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{ca(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((e.nodeType==9?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,t={}){return ho.of(new Pn(typeof e=="number"?O.cursor(e):e,t.y,t.x,t.yMargin,t.xMargin))}static domEventHandlers(e){return Nt.define(()=>({}),{eventHandlers:e})}static theme(e,t){let i=It.newName(),n=[tn.of(i),Ai.of(tr(`.${i}`,e))];return t&&t.dark&&n.push(Zs.of(!0)),n}static baseTheme(e){return Xn.lowest(Ai.of(tr("."+er,e,Ja)))}static findFromDOM(e){var t;let i=e.querySelector(".cm-content"),n=i&&se.get(i)||se.get(e);return((t=n==null?void 0:n.rootView)===null||t===void 0?void 0:t.view)||null}}G.styleModule=Ai;G.inputHandler=Ma;G.perLineTextDirection=Da;G.exceptionSink=Ta;G.updateListener=Ks;G.editable=ns;G.mouseSelectionStyle=Oa;G.dragMovesSelection=Ca;G.clickAddsSelectionRange=Aa;G.decorations=Li;G.atomicRanges=Ra;G.scrollMargins=Ba;G.darkTheme=Zs;G.contentAttributes=xr;G.editorAttributes=Pa;G.lineWrapping=G.contentAttributes.of({class:"cm-lineWrapping"});G.announce=ne.define();const Ru=4096,Eo={};class Bn{constructor(e,t,i,n){this.from=e,this.to=t,this.dir=i,this.order=n}static update(e,t){if(t.empty)return e;let i=[],n=e.length?e[e.length-1].dir:ye.LTR;for(let r=Math.max(0,e.length-10);r=0;n--){let r=i[n],o=typeof r=="function"?r(s):r;o&&qs(o,t)}return t}const Bu=I.mac?"mac":I.windows?"win":I.linux?"linux":"key";function Eu(s,e){const t=s.split(/-(?!$)/);let i=t[t.length-1];i=="Space"&&(i=" ");let n,r,o,l;for(let a=0;ai.concat(n),[]))),t}let Ot=null;const Lu=4e3;function Nu(s,e=Bu){let t=Object.create(null),i=Object.create(null),n=(o,l)=>{let a=i[o];if(a==null)i[o]=l;else if(a!=l)throw new Error("Key binding "+o+" is used both as a regular binding and as a multi-stroke prefix")},r=(o,l,a,h)=>{var f,c;let u=t[o]||(t[o]=Object.create(null)),d=l.split(/ (?!$)/).map(g=>Eu(g,e));for(let g=1;g{let x=Ot={view:w,prefix:b,scope:o};return setTimeout(()=>{Ot==x&&(Ot=null)},Lu),!0}]})}let p=d.join(" ");n(p,!1);let m=u[p]||(u[p]={preventDefault:!1,run:((c=(f=u._any)===null||f===void 0?void 0:f.run)===null||c===void 0?void 0:c.slice())||[]});a&&m.run.push(a),h&&(m.preventDefault=!0)};for(let o of s){let l=o.scope?o.scope.split(" "):["editor"];if(o.any)for(let h of l){let f=t[h]||(t[h]=Object.create(null));f._any||(f._any={preventDefault:!1,run:[]});for(let c in f)f[c].run.push(o.any)}let a=o[e]||o.key;if(a)for(let h of l)r(h,a,o.run,o.preventDefault),o.shift&&r(h,"Shift-"+a,o.shift,o.preventDefault)}return t}function $u(s,e,t,i){let n=mc(e),r=Ne(n,0),o=Ge(r)==n.length&&n!=" ",l="",a=!1;Ot&&Ot.view==t&&Ot.scope==i&&(l=Ot.prefix+" ",(a=Fa.indexOf(e.keyCode)<0)&&(Ot=null));let h=new Set,f=p=>{if(p){for(let m of p.run)if(!h.has(m)&&(h.add(m),m(t,e)))return!0;p.preventDefault&&(a=!0)}return!1},c=s[i],u,d;if(c){if(f(c[l+nn(n,e,!o)]))return!0;if(o&&(e.altKey||e.metaKey||e.ctrlKey)&&!(I.windows&&e.ctrlKey&&e.altKey)&&(u=_t[e.keyCode])&&u!=n){if(f(c[l+nn(u,e,!0)]))return!0;if(e.shiftKey&&(d=Ei[e.keyCode])!=n&&d!=u&&f(c[l+nn(d,e,!1)]))return!0}else if(o&&e.shiftKey&&f(c[l+nn(n,e,!0)]))return!0;if(f(c._any))return!0}return a}const Vu=!I.ios,Wu={".cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"}}};Vu&&(Wu[".cm-line"].caretColor="transparent !important");const sn="-10000px";class Fu{constructor(e,t,i){this.facet=t,this.createTooltipView=i,this.input=e.state.facet(t),this.tooltips=this.input.filter(n=>n),this.tooltipViews=this.tooltips.map(i)}update(e){var t;let i=e.state.facet(this.facet),n=i.filter(o=>o);if(i===this.input){for(let o of this.tooltipViews)o.update&&o.update(e);return!1}let r=[];for(let o=0;o{var e,t,i;return{position:I.ios?"absolute":((e=s.find(n=>n.position))===null||e===void 0?void 0:e.position)||"fixed",parent:((t=s.find(n=>n.parent))===null||t===void 0?void 0:t.parent)||null,tooltipSpace:((i=s.find(n=>n.tooltipSpace))===null||i===void 0?void 0:i.tooltipSpace)||Hu}}}),Xa=Nt.fromClass(class{constructor(s){this.view=s,this.inView=!0,this.lastTransaction=0,this.measureTimeout=-1;let e=s.state.facet(bs);this.position=e.position,this.parent=e.parent,this.classes=s.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.manager=new Fu(s,Za,t=>this.createTooltip(t)),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(t=>{Date.now()>this.lastTransaction-50&&t.length>0&&t[t.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),s.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let s of this.manager.tooltipViews)this.intersectionObserver.observe(s.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(s){s.transactions.length&&(this.lastTransaction=Date.now());let e=this.manager.update(s);e&&this.observeIntersection();let t=e||s.geometryChanged,i=s.state.facet(bs);if(i.position!=this.position){this.position=i.position;for(let n of this.manager.tooltipViews)n.dom.style.position=this.position;t=!0}if(i.parent!=this.parent){this.parent&&this.container.remove(),this.parent=i.parent,this.createContainer();for(let n of this.manager.tooltipViews)this.container.appendChild(n.dom);t=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);t&&this.maybeMeasure()}createTooltip(s){let e=s.create(this.view);if(e.dom.classList.add("cm-tooltip"),s.arrow&&!e.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let t=document.createElement("div");t.className="cm-tooltip-arrow",e.dom.appendChild(t)}return e.dom.style.position=this.position,e.dom.style.top=sn,this.container.appendChild(e.dom),e.mount&&e.mount(this.view),e}destroy(){var s,e;this.view.win.removeEventListener("resize",this.measureSoon);for(let t of this.manager.tooltipViews)t.dom.remove(),(s=t.destroy)===null||s===void 0||s.call(t);(e=this.intersectionObserver)===null||e===void 0||e.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let s=this.view.dom.getBoundingClientRect();return{editor:s,parent:this.parent?this.container.getBoundingClientRect():s,pos:this.manager.tooltips.map((e,t)=>{let i=this.manager.tooltipViews[t];return i.getCoords?i.getCoords(e.pos):this.view.coordsAtPos(e.pos)}),size:this.manager.tooltipViews.map(({dom:e})=>e.getBoundingClientRect()),space:this.view.state.facet(bs).tooltipSpace(this.view)}}writeMeasure(s){let{editor:e,space:t}=s,i=[];for(let n=0;n=Math.min(e.bottom,t.bottom)||a.rightMath.min(e.right,t.right)+.1){l.style.top=sn;continue}let f=r.arrow?o.dom.querySelector(".cm-tooltip-arrow"):null,c=f?7:0,u=h.right-h.left,d=h.bottom-h.top,p=o.offset||qu,m=this.view.textDirection==ye.LTR,g=h.width>t.right-t.left?m?t.left:t.right-h.width:m?Math.min(a.left-(f?14:0)+p.x,t.right-u):Math.max(t.left,a.left-u+(f?14:0)-p.x),b=!!r.above;!r.strictSide&&(b?a.top-(h.bottom-h.top)-p.yt.bottom)&&b==t.bottom-a.bottom>a.top-t.top&&(b=!b);let w=(b?a.top-t.top:t.bottom-a.bottom)-c;if(wg&&v.topx&&(x=b?v.top-d-2-c:v.bottom+c+2);this.position=="absolute"?(l.style.top=x-s.parent.top+"px",l.style.left=g-s.parent.left+"px"):(l.style.top=x+"px",l.style.left=g+"px"),f&&(f.style.left=`${a.left+(m?p.x:-p.x)-(g+14-7)}px`),o.overlap!==!0&&i.push({left:g,top:x,right:y,bottom:x+d}),l.classList.toggle("cm-tooltip-above",b),l.classList.toggle("cm-tooltip-below",!b),o.positioned&&o.positioned(s.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let s of this.manager.tooltipViews)s.dom.style.top=sn}},{eventHandlers:{scroll(){this.maybeMeasure()}}}),zu=G.baseTheme({".cm-tooltip":{zIndex:100,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:`${7}px`,width:`${7*2}px`,position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:`${7}px solid transparent`,borderRight:`${7}px solid transparent`},".cm-tooltip-above &":{bottom:`-${7}px`,"&:before":{borderTop:`${7}px solid #bbb`},"&:after":{borderTop:`${7}px solid #f5f5f5`,bottom:"1px"}},".cm-tooltip-below &":{top:`-${7}px`,"&:before":{borderBottom:`${7}px solid #bbb`},"&:after":{borderBottom:`${7}px solid #f5f5f5`,top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),qu={x:0,y:0},Za=V.define({enables:[Xa,zu]});function ju(s,e){let t=s.plugin(Xa);if(!t)return null;let i=t.manager.tooltips.indexOf(e);return i<0?null:t.manager.tooltipViews[i]}class ui extends Qt{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}ui.prototype.elementClass="";ui.prototype.toDOM=void 0;ui.prototype.mapMode=Pe.TrackBefore;ui.prototype.startSide=ui.prototype.endSide=-1;ui.prototype.point=!0;const eh=1024;let Uu=0;class ws{constructor(e,t){this.from=e,this.to=t}}class Y{constructor(e={}){this.id=Uu++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof e!="function"&&(e=Ee.match(e)),t=>{let i=e(t);return i===void 0?null:[this,i]}}}Y.closedBy=new Y({deserialize:s=>s.split(" ")});Y.openedBy=new Y({deserialize:s=>s.split(" ")});Y.group=new Y({deserialize:s=>s.split(" ")});Y.contextHash=new Y({perNode:!0});Y.lookAhead=new Y({perNode:!0});Y.mounted=new Y({perNode:!0});const Ku=Object.create(null);class Ee{constructor(e,t,i,n=0){this.name=e,this.props=t,this.id=i,this.flags=n}static define(e){let t=e.props&&e.props.length?Object.create(null):Ku,i=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),n=new Ee(e.name||"",t,e.id,i);if(e.props){for(let r of e.props)if(Array.isArray(r)||(r=r(n)),r){if(r[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");t[r[0].id]=r[1]}}return n}prop(e){return this.props[e.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(e){if(typeof e=="string"){if(this.name==e)return!0;let t=this.prop(Y.group);return t?t.indexOf(e)>-1:!1}return this.id==e}static match(e){let t=Object.create(null);for(let i in e)for(let n of i.split(" "))t[n]=e[i];return i=>{for(let n=i.prop(Y.group),r=-1;r<(n?n.length:0);r++){let o=t[r<0?i.name:n[r]];if(o)return o}}}}Ee.none=new Ee("",Object.create(null),0,8);class Or{constructor(e){this.types=e;for(let t=0;t=n&&(o.type.isAnonymous||t(o)!==!1)){if(o.firstChild())continue;l=!0}for(;l&&i&&!o.type.isAnonymous&&i(o),!o.nextSibling();){if(!o.parent())return;l=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:Dr(Ee.none,this.children,this.positions,0,this.children.length,0,this.length,(t,i,n)=>new de(this.type,t,i,n,this.propValues),e.makeTree||((t,i,n)=>new de(Ee.none,t,i,n)))}static build(e){return Qu(e)}}de.empty=new de(Ee.none,[],[],0);class Tr{constructor(e,t){this.buffer=e,this.index=t}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new Tr(this.buffer,this.index)}}class Yt{constructor(e,t,i){this.buffer=e,this.length=t,this.set=i}get type(){return Ee.none}toString(){let e=[];for(let t=0;t0));a=o[a+3]);return l}slice(e,t,i){let n=this.buffer,r=new Uint16Array(t-e),o=0;for(let l=e,a=0;l=e&&te;case 1:return t<=e&&i>e;case 2:return i>e;case 4:return!0}}function ih(s,e){let t=s.childBefore(e);for(;t;){let i=t.lastChild;if(!i||i.to!=t.to)break;i.type.isError&&i.from==i.to?(s=t,t=i.prevSibling):t=i}return s}function di(s,e,t,i){for(var n;s.from==s.to||(t<1?s.from>=e:s.from>e)||(t>-1?s.to<=e:s.to0?l.length:-1;e!=h;e+=t){let f=l[e],c=a[e]+o.from;if(th(n,i,c,c+f.length)){if(f instanceof Yt){if(r&Se.ExcludeBuffers)continue;let u=f.findChild(0,f.buffer.length,t,i-c,n);if(u>-1)return new Rt(new Gu(o,f,e,c),null,u)}else if(r&Se.IncludeAnonymous||!f.type.isAnonymous||Mr(f)){let u;if(!(r&Se.IgnoreMounts)&&f.props&&(u=f.prop(Y.mounted))&&!u.overlay)return new St(u.tree,c,e,o);let d=new St(f,c,e,o);return r&Se.IncludeAnonymous||!d.type.isAnonymous?d:d.nextChild(t<0?f.children.length-1:0,t,i,n)}}}if(r&Se.IncludeAnonymous||!o.type.isAnonymous||(o.index>=0?e=o.index+t:e=t<0?-1:o._parent._tree.children.length,o=o._parent,!o))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,t,i=0){let n;if(!(i&Se.IgnoreOverlays)&&(n=this._tree.prop(Y.mounted))&&n.overlay){let r=e-this.from;for(let{from:o,to:l}of n.overlay)if((t>0?o<=r:o=r:l>r))return new St(n.tree,n.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,t,i)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}cursor(e=0){return new _n(this,e)}get tree(){return this._tree}toTree(){return this._tree}resolve(e,t=0){return di(this,e,t,!1)}resolveInner(e,t=0){return di(this,e,t,!0)}enterUnfinishedNodesBefore(e){return ih(this,e)}getChild(e,t=null,i=null){let n=En(this,e,t,i);return n.length?n[0]:null}getChildren(e,t=null,i=null){return En(this,e,t,i)}toString(){return this._tree.toString()}get node(){return this}matchContext(e){return In(this,e)}}function En(s,e,t,i){let n=s.cursor(),r=[];if(!n.firstChild())return r;if(t!=null){for(;!n.type.is(t);)if(!n.nextSibling())return r}for(;;){if(i!=null&&n.type.is(i))return r;if(n.type.is(e)&&r.push(n.node),!n.nextSibling())return i==null?r:[]}}function In(s,e,t=e.length-1){for(let i=s.parent;t>=0;i=i.parent){if(!i)return!1;if(!i.type.isAnonymous){if(e[t]&&e[t]!=i.name)return!1;t--}}return!0}class Gu{constructor(e,t,i,n){this.parent=e,this.buffer=t,this.index=i,this.start=n}}class Rt{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,t,i){this.context=e,this._parent=t,this.index=i,this.type=e.buffer.set.types[e.buffer.buffer[i]]}child(e,t,i){let{buffer:n}=this.context,r=n.findChild(this.index+4,n.buffer[this.index+3],e,t-this.context.start,i);return r<0?null:new Rt(this.context,this,r)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,t,i=0){if(i&Se.ExcludeBuffers)return null;let{buffer:n}=this.context,r=n.findChild(this.index+4,n.buffer[this.index+3],t>0?1:-1,e-this.context.start,t);return r<0?null:new Rt(this.context,this,r)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,t=e.buffer[this.index+3];return t<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new Rt(this.context,this._parent,t):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,t=this._parent?this._parent.index+4:0;return this.index==t?this.externalSibling(-1):new Rt(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}cursor(e=0){return new _n(this,e)}get tree(){return null}toTree(){let e=[],t=[],{buffer:i}=this.context,n=this.index+4,r=i.buffer[this.index+3];if(r>n){let o=i.buffer[this.index+1];e.push(i.slice(n,r,o)),t.push(0)}return new de(this.type,e,t,this.to-this.from)}resolve(e,t=0){return di(this,e,t,!1)}resolveInner(e,t=0){return di(this,e,t,!0)}enterUnfinishedNodesBefore(e){return ih(this,e)}toString(){return this.context.buffer.childString(this.index)}getChild(e,t=null,i=null){let n=En(this,e,t,i);return n.length?n[0]:null}getChildren(e,t=null,i=null){return En(this,e,t,i)}get node(){return this}matchContext(e){return In(this,e)}}class _n{get name(){return this.type.name}constructor(e,t=0){if(this.mode=t,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof St)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let i=e._parent;i;i=i._parent)this.stack.unshift(i.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return e?(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0):!1}yieldBuf(e,t){this.index=e;let{start:i,buffer:n}=this.buffer;return this.type=t||n.set.types[n.buffer[e]],this.from=i+n.buffer[e+1],this.to=i+n.buffer[e+2],!0}yield(e){return e?e instanceof St?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,t,i){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,i,this.mode));let{buffer:n}=this.buffer,r=n.findChild(this.index+4,n.buffer[this.index+3],e,t-this.buffer.start,i);return r<0?!1:(this.stack.push(this.index),this.yieldBuf(r))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,t,i=this.mode){return this.buffer?i&Se.ExcludeBuffers?!1:this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,i))}parent(){if(!this.buffer)return this.yieldNode(this.mode&Se.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&Se.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode)):!1;let{buffer:t}=this.buffer,i=this.stack.length-1;if(e<0){let n=i<0?0:this.stack[i]+4;if(this.index!=n)return this.yieldBuf(t.findChild(n,this.index,-1,0,4))}else{let n=t.buffer[this.index+3];if(n<(i<0?t.buffer.length:t.buffer[this.stack[i]+3]))return this.yieldBuf(n)}return i<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let t,i,{buffer:n}=this;if(n){if(e>0){if(this.index-1)for(let r=t+e,o=e<0?-1:i._tree.children.length;r!=o;r+=e){let l=i._tree.children[r];if(this.mode&Se.IncludeAnonymous||l instanceof Yt||!l.type.isAnonymous||Mr(l))return!1}return!0}move(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,t=0){for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to=0;){for(let o=e;o;o=o._parent)if(o.index==n){if(n==this.index)return o;t=o,i=r+1;break e}n=this.stack[--r]}}for(let n=i;n=0;r--){if(r<0)return In(this.node,e,n);let o=i[t.buffer[this.stack[r]]];if(!o.isAnonymous){if(e[n]&&e[n]!=o.name)return!1;n--}}return!0}}function Mr(s){return s.children.some(e=>e instanceof Yt||!e.type.isAnonymous||Mr(e))}function Qu(s){var e;let{buffer:t,nodeSet:i,maxBufferLength:n=eh,reused:r=[],minRepeatType:o=i.types.length}=s,l=Array.isArray(t)?new Tr(t,t.length):t,a=i.types,h=0,f=0;function c(y,v,A,D,k){let{id:S,start:T,end:K,size:B}=l,te=f;for(;B<0;)if(l.next(),B==-1){let Ze=r[S];A.push(Ze),D.push(T-y);return}else if(B==-3){h=S;return}else if(B==-4){f=S;return}else throw new RangeError(`Unrecognized record size: ${B}`);let pe=a[S],xe,je,Fi=T-y;if(K-T<=n&&(je=m(l.pos-v,k))){let Ze=new Uint16Array(je.size-je.skip),Ie=l.pos-je.size,Ue=Ze.length;for(;l.pos>Ie;)Ue=g(je.start,Ze,Ue);xe=new Yt(Ze,K-je.start,i),Fi=je.start-y}else{let Ze=l.pos-B;l.next();let Ie=[],Ue=[],yt=S>=o?S:-1,kt=0,Zt=K;for(;l.pos>Ze;)yt>=0&&l.id==yt&&l.size>=0?(l.end<=Zt-n&&(d(Ie,Ue,T,kt,l.end,Zt,yt,te),kt=Ie.length,Zt=l.end),l.next()):c(T,Ze,Ie,Ue,yt);if(yt>=0&&kt>0&&kt-1&&kt>0){let mi=u(pe);xe=Dr(pe,Ie,Ue,0,Ie.length,0,K-T,mi,mi)}else xe=p(pe,Ie,Ue,K-T,te-K)}A.push(xe),D.push(Fi)}function u(y){return(v,A,D)=>{let k=0,S=v.length-1,T,K;if(S>=0&&(T=v[S])instanceof de){if(!S&&T.type==y&&T.length==D)return T;(K=T.prop(Y.lookAhead))&&(k=A[S]+T.length+K)}return p(y,v,A,D,k)}}function d(y,v,A,D,k,S,T,K){let B=[],te=[];for(;y.length>D;)B.push(y.pop()),te.push(v.pop()+A-k);y.push(p(i.types[T],B,te,S-k,K-S)),v.push(k-A)}function p(y,v,A,D,k=0,S){if(h){let T=[Y.contextHash,h];S=S?[T].concat(S):[T]}if(k>25){let T=[Y.lookAhead,k];S=S?[T].concat(S):[T]}return new de(y,v,A,D,S)}function m(y,v){let A=l.fork(),D=0,k=0,S=0,T=A.end-n,K={size:0,start:0,skip:0};e:for(let B=A.pos-y;A.pos>B;){let te=A.size;if(A.id==v&&te>=0){K.size=D,K.start=k,K.skip=S,S+=4,D+=4,A.next();continue}let pe=A.pos-te;if(te<0||pe=o?4:0,je=A.start;for(A.next();A.pos>pe;){if(A.size<0)if(A.size==-3)xe+=4;else break e;else A.id>=o&&(xe+=4);A.next()}k=je,D+=te,S+=xe}return(v<0||D==y)&&(K.size=D,K.start=k,K.skip=S),K.size>4?K:void 0}function g(y,v,A){let{id:D,start:k,end:S,size:T}=l;if(l.next(),T>=0&&D4){let B=l.pos-(T-4);for(;l.pos>B;)A=g(y,v,A)}v[--A]=K,v[--A]=S-y,v[--A]=k-y,v[--A]=D}else T==-3?h=D:T==-4&&(f=D);return A}let b=[],w=[];for(;l.pos>0;)c(s.start||0,s.bufferStart||0,b,w,-1);let x=(e=s.length)!==null&&e!==void 0?e:b.length?w[0]+b[0].length:0;return new de(a[s.topID],b.reverse(),w.reverse(),x)}const No=new WeakMap;function kn(s,e){if(!s.isAnonymous||e instanceof Yt||e.type!=s)return 1;let t=No.get(e);if(t==null){t=1;for(let i of e.children){if(i.type!=s||!(i instanceof de)){t=1;break}t+=kn(s,i)}No.set(e,t)}return t}function Dr(s,e,t,i,n,r,o,l,a){let h=0;for(let p=i;p=f)break;A+=D}if(x==y+1){if(A>f){let D=p[y];d(D.children,D.positions,0,D.children.length,m[y]+w);continue}c.push(p[y])}else{let D=m[x-1]+p[x-1].length-v;c.push(Dr(s,p,m,y,x,v,D,null,a))}u.push(v+w-r)}}return d(e,t,i,n,0),(l||a)(c,u,o)}class Gt{constructor(e,t,i,n,r=!1,o=!1){this.from=e,this.to=t,this.tree=i,this.offset=n,this.open=(r?1:0)|(o?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(e,t=[],i=!1){let n=[new Gt(0,e.length,e,0,!1,i)];for(let r of t)r.to>e.length&&n.push(r);return n}static applyChanges(e,t,i=128){if(!t.length)return e;let n=[],r=1,o=e.length?e[0]:null;for(let l=0,a=0,h=0;;l++){let f=l=i)for(;o&&o.from=u.from||c<=u.to||h){let d=Math.max(u.from,a)-h,p=Math.min(u.to,c)-h;u=d>=p?null:new Gt(d,p,u.tree,u.offset+h,l>0,!!f)}if(u&&n.push(u),o.to>c)break;o=rnew ws(n.from,n.to)):[new ws(0,0)]:[new ws(0,e.length)],this.createParse(e,t||[],i)}parse(e,t,i){let n=this.startParse(e,t,i);for(;;){let r=n.advance();if(r)return r}}}class Ju{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,t){return this.string.slice(e,t)}}new Y({perNode:!0});class Ln{constructor(e,t,i,n,r,o,l,a,h,f=0,c){this.p=e,this.stack=t,this.state=i,this.reducePos=n,this.pos=r,this.score=o,this.buffer=l,this.bufferBase=a,this.curContext=h,this.lookAhead=f,this.parent=c}toString(){return`[${this.stack.filter((e,t)=>t%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,i=0){let n=e.parser.context;return new Ln(e,[],t,i,i,0,[],0,n?new $o(n,n.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){let t=e>>19,i=e&65535,{parser:n}=this.p,r=n.dynamicPrecedence(i);if(r&&(this.score+=r),t==0){this.pushState(n.getGoto(this.state,i,!0),this.reducePos),i=2e3&&(l==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=a):this.p.lastBigReductionSizeo;)this.stack.pop();this.reduceContext(i,l)}storeNode(e,t,i,n=4,r=!1){if(e==0&&(!this.stack.length||this.stack[this.stack.length-1]0&&o.buffer[l-4]==0&&o.buffer[l-1]>-1){if(t==i)return;if(o.buffer[l-2]>=t){o.buffer[l-2]=i;return}}}if(!r||this.pos==i)this.buffer.push(e,t,i,n);else{let o=this.buffer.length;if(o>0&&this.buffer[o-4]!=0)for(;o>0&&this.buffer[o-2]>i;)this.buffer[o]=this.buffer[o-4],this.buffer[o+1]=this.buffer[o-3],this.buffer[o+2]=this.buffer[o-2],this.buffer[o+3]=this.buffer[o-1],o-=4,n>4&&(n-=4);this.buffer[o]=e,this.buffer[o+1]=t,this.buffer[o+2]=i,this.buffer[o+3]=n}}shift(e,t,i){let n=this.pos;if(e&131072)this.pushState(e&65535,this.pos);else if(e&262144)this.pos=i,this.shiftContext(t,n),t<=this.p.parser.maxNode&&this.buffer.push(t,n,i,4);else{let r=e,{parser:o}=this.p;(i>this.pos||t<=o.maxNode)&&(this.pos=i,o.stateFlag(r,1)||(this.reducePos=i)),this.pushState(r,n),this.shiftContext(t,n),t<=o.maxNode&&this.buffer.push(t,n,i,4)}}apply(e,t,i){e&65536?this.reduce(e):this.shift(e,t,i)}useNode(e,t){let i=this.p.reused.length-1;(i<0||this.p.reused[i]!=e)&&(this.p.reused.push(e),i++);let n=this.pos;this.reducePos=this.pos=n+e.length,this.pushState(t,n),this.buffer.push(i,n,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,t=e.buffer.length;for(;t>0&&e.buffer[t-2]>e.reducePos;)t-=4;let i=e.buffer.slice(t),n=e.bufferBase+t;for(;e&&n==e.bufferBase;)e=e.parent;return new Ln(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,i,n,this.curContext,this.lookAhead,e)}recoverByDelete(e,t){let i=e<=this.p.parser.maxNode;i&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,i?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new Yu(this);;){let i=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(i==0)return!1;if(!(i&65536))return!0;t.reduce(i)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>4<<1||this.stack.length>=120){let n=[];for(let r=0,o;ra&1&&l==o)||n.push(t[r],o)}t=n}let i=[];for(let n=0;n>19,n=e&65535,r=this.stack.length-i*3;if(r<0||t.getGoto(this.stack[r],n,!1)<0)return!1;this.storeNode(0,this.reducePos,this.reducePos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(e),!0}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:e}=this.p;return e.data[e.stateSlot(this.state,1)]==65535&&!e.stateSlot(this.state,4)}restart(){this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;tthis.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class $o{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}var Vo;(function(s){s[s.Insert=200]="Insert",s[s.Delete=190]="Delete",s[s.Reduce=100]="Reduce",s[s.MaxNext=4]="MaxNext",s[s.MaxInsertStackDepth=300]="MaxInsertStackDepth",s[s.DampenInsertStackDepth=120]="DampenInsertStackDepth",s[s.MinBigReduction=2e3]="MinBigReduction"})(Vo||(Vo={}));class Yu{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=e&65535,i=e>>19;i==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(i-1)*3;let n=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0);this.state=n}}class Nn{constructor(e,t,i){this.stack=e,this.pos=t,this.index=i,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){return new Nn(e,t,t-e.bufferBase)}maybeNext(){let e=this.stack.parent;e!=null&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new Nn(this.stack,this.pos,this.index)}}function on(s,e=Uint16Array){if(typeof s!="string")return s;let t=null;for(let i=0,n=0;i=92&&o--,o>=34&&o--;let a=o-32;if(a>=46&&(a-=46,l=!0),r+=a,l)break;r*=46}t?t[n++]=r:t=new e(r)}return t}class vn{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const Wo=new vn;class Xu{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=Wo,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let i=this.range,n=this.rangeIndex,r=this.pos+e;for(;ri.to:r>=i.to;){if(n==this.ranges.length-1)return null;let o=this.ranges[++n];r+=o.from-i.to,i=o}return r}clipPos(e){if(e>=this.range.from&&ee)return Math.max(e,t.from);return this.end}peek(e){let t=this.chunkOff+e,i,n;if(t>=0&&t=this.chunk2Pos&&il.to&&(this.chunk2=this.chunk2.slice(0,l.to-i)),n=this.chunk2.charCodeAt(0)}}return i>=this.token.lookAhead&&(this.token.lookAhead=i+1),n}acceptToken(e,t=0){let i=t?this.resolveOffset(t,-1):this.pos;if(i==null||i=this.chunk2Pos&&this.posthis.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=Wo,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let i="";for(let n of this.ranges){if(n.from>=t)break;n.to>e&&(i+=this.input.read(Math.max(n.from,e),Math.min(n.to,t)))}return i}}class ai{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:i}=t.p;Zu(this.data,e,t,this.id,i.data,i.tokenPrecTable)}}ai.prototype.contextual=ai.prototype.fallback=ai.prototype.extend=!1;ai.prototype.fallback=ai.prototype.extend=!1;function Zu(s,e,t,i,n,r){let o=0,l=1<0){let p=s[d];if(a.allows(p)&&(e.token.value==-1||e.token.value==p||ed(p,e.token.value,n,r))){e.acceptToken(p);break}}let f=e.next,c=0,u=s[o+2];if(e.next<0&&u>c&&s[h+u*3-3]==65535&&s[h+u*3-3]==65535){o=s[h+u*3-1];continue e}for(;c>1,p=h+d+(d<<1),m=s[p],g=s[p+1]||65536;if(f=g)c=d+1;else{o=s[p+2],e.advance();continue e}}break}}function Fo(s,e,t){for(let i=e,n;(n=s[i])!=65535;i++)if(n==t)return i-e;return-1}function ed(s,e,t,i){let n=Fo(t,i,e);return n<0||Fo(t,i,s)e)&&!i.type.isError)return t<0?Math.max(0,Math.min(i.to-1,e-25)):Math.min(s.length,Math.max(i.from+1,e+25));if(t<0?i.prevSibling():i.nextSibling())break;if(!i.parent())return t<0?0:s.length}}class td{constructor(e,t){this.fragments=e,this.nodeSet=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?zo(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?zo(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(ee)return this.nextStart=o,null;if(r instanceof de){if(o==e){if(o=Math.max(this.safeFrom,e)&&(this.trees.push(r),this.start.push(o),this.index.push(0))}else this.index[t]++,this.nextStart=o+r.length}}}class id{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(i=>new vn)}getActions(e){let t=0,i=null,{parser:n}=e.p,{tokenizers:r}=n,o=n.stateSlot(e.state,3),l=e.curContext?e.curContext.hash:0,a=0;for(let h=0;hc.end+25&&(a=Math.max(c.lookAhead,a)),c.value!=0)){let u=t;if(c.extended>-1&&(t=this.addActions(e,c.extended,c.end,t)),t=this.addActions(e,c.value,c.end,t),!f.extend&&(i=c,t>u))break}}for(;this.actions.length>t;)this.actions.pop();return a&&e.setLookAhead(a),!i&&e.pos==this.stream.end&&(i=new vn,i.value=e.p.parser.eofTerm,i.start=i.end=e.pos,t=this.addActions(e,i.value,i.end,t)),this.mainToken=i,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new vn,{pos:i,p:n}=e;return t.start=i,t.end=Math.min(i+1,n.stream.end),t.value=i==n.stream.end?n.parser.eofTerm:0,t}updateCachedToken(e,t,i){let n=this.stream.clipPos(i.pos);if(t.token(this.stream.reset(n,e),i),e.value>-1){let{parser:r}=i.p;for(let o=0;o=0&&i.p.parser.dialect.allows(l>>1)){l&1?e.extended=l>>1:e.value=l>>1;break}}}else e.value=0,e.end=this.stream.clipPos(n+1)}putAction(e,t,i,n){for(let r=0;re.bufferLength*4?new td(i,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,t=this.minStackPos,i=this.stacks=[],n,r;if(this.bigReductionCount>1e3&&e.length==1){let[o]=e;for(;o.forceReduce()&&o.stack.length&&o.stack[o.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let o=0;ot)i.push(l);else{if(this.advanceStack(l,i,e))continue;{n||(n=[],r=[]),n.push(l);let a=this.tokens.getMainToken(l);r.push(a.value,a.end)}}break}}if(!i.length){let o=n&&rd(n);if(o)return this.stackToTree(o);if(this.parser.strict)throw Ke&&n&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+t);this.recovering||(this.recovering=5)}if(this.recovering&&n){let o=this.stoppedAt!=null&&n[0].pos>this.stoppedAt?n[0]:this.runRecovery(n,r,i);if(o)return this.stackToTree(o.forceAll())}if(this.recovering){let o=this.recovering==1?1:this.recovering*3;if(i.length>o)for(i.sort((l,a)=>a.score-l.score);i.length>o;)i.pop();i.some(l=>l.reducePos>t)&&this.recovering--}else if(i.length>1){e:for(let o=0;o500&&h.buffer.length>500)if((l.score-h.score||l.buffer.length-h.buffer.length)>0)i.splice(a--,1);else{i.splice(o--,1);continue e}}}}this.minStackPos=i[0].pos;for(let o=1;o ":"";if(this.stoppedAt!=null&&n>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let h=e.curContext&&e.curContext.tracker.strict,f=h?e.curContext.hash:0;for(let c=this.fragments.nodeAt(n);c;){let u=this.parser.nodeSet.types[c.type.id]==c.type?r.getGoto(e.state,c.type.id):-1;if(u>-1&&c.length&&(!h||(c.prop(Y.contextHash)||0)==f))return e.useNode(c,u),Ke&&console.log(o+this.stackID(e)+` (via reuse of ${r.getName(c.type.id)})`),!0;if(!(c instanceof de)||c.children.length==0||c.positions[0]>0)break;let d=c.children[0];if(d instanceof de&&c.positions[0]==0)c=d;else break}}let l=r.stateSlot(e.state,4);if(l>0)return e.reduce(l),Ke&&console.log(o+this.stackID(e)+` (via always-reduce ${r.getName(l&65535)})`),!0;if(e.stack.length>=15e3)for(;e.stack.length>9e3&&e.forceReduce(););let a=this.tokens.getActions(e);for(let h=0;hn?t.push(p):i.push(p)}return!1}advanceFully(e,t){let i=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>i)return jo(e,t),!0}}runRecovery(e,t,i){let n=null,r=!1;for(let o=0;o ":"";if(l.deadEnd&&(r||(r=!0,l.restart(),Ke&&console.log(f+this.stackID(l)+" (restarted)"),this.advanceFully(l,i))))continue;let c=l.split(),u=f;for(let d=0;c.forceReduce()&&d<10&&(Ke&&console.log(u+this.stackID(c)+" (via force-reduce)"),!this.advanceFully(c,i));d++)Ke&&(u=this.stackID(c)+" -> ");for(let d of l.recoverByInsert(a))Ke&&console.log(f+this.stackID(d)+" (via recover-insert)"),this.advanceFully(d,i);this.stream.end>l.pos?(h==l.pos&&(h++,a=0),l.recoverByDelete(a,h),Ke&&console.log(f+this.stackID(l)+` (via recover-delete ${this.parser.getName(a)})`),jo(l,i)):(!n||n.scoree.topRules[l][1]),n=[];for(let l=0;l=0)r(f,a,l[h++]);else{let c=l[h+-f];for(let u=-f;u>0;u--)r(l[h++],a,c);h++}}}this.nodeSet=new Or(t.map((l,a)=>Ee.define({name:a>=this.minRepeatTerm?void 0:l,id:a,props:n[a],top:i.indexOf(a)>-1,error:a==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(a)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=eh;let o=on(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let l=0;ltypeof l=="number"?new ai(o,l):l),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,i){let n=new nd(this,e,t,i);for(let r of this.wrappers)n=r(n,e,t,i);return n}getGoto(e,t,i=!1){let n=this.goto;if(t>=n[0])return-1;for(let r=n[t+1];;){let o=n[r++],l=o&1,a=n[r++];if(l&&i)return a;for(let h=r+(o>>1);r0}validAction(e,t){if(t==this.stateSlot(e,4))return!0;for(let i=this.stateSlot(e,1);;i+=3){if(this.data[i]==65535)if(this.data[i+1]==1)i=vt(this.data,i+2);else return!1;if(t==vt(this.data,i+1))return!0}}nextStates(e){let t=[];for(let i=this.stateSlot(e,1);;i+=3){if(this.data[i]==65535)if(this.data[i+1]==1)i=vt(this.data,i+2);else break;if(!(this.data[i+2]&1)){let n=this.data[i+1];t.some((r,o)=>o&1&&r==n)||t.push(this.data[i],n)}}return t}configure(e){let t=Object.assign(Object.create($n.prototype),this);if(e.props&&(t.nodeSet=this.nodeSet.extend(...e.props)),e.top){let i=this.topRules[e.top];if(!i)throw new RangeError(`Invalid top rule name ${e.top}`);t.top=i}return e.tokenizers&&(t.tokenizers=this.tokenizers.map(i=>{let n=e.tokenizers.find(r=>r.from==i);return n?n.to:i})),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map((i,n)=>{let r=e.specializers.find(l=>l.from==i.external);if(!r)return i;let o=Object.assign(Object.assign({},i),{external:r.to});return t.specializers[n]=Uo(o),o})),e.contextTracker&&(t.context=e.contextTracker),e.dialect&&(t.dialect=this.parseDialect(e.dialect)),e.strict!=null&&(t.strict=e.strict),e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),e.bufferLength!=null&&(t.bufferLength=e.bufferLength),t}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return t==null?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),i=t.map(()=>!1);if(e)for(let r of e.split(" ")){let o=t.indexOf(r);o>=0&&(i[o]=!0)}let n=null;for(let r=0;ri)&&t.p.parser.stateFlag(t.state,2)&&(!e||e.scores.external(t,i)<<1|e}return s.get}let od=0;class ot{constructor(e,t,i){this.set=e,this.base=t,this.modified=i,this.id=od++}static define(e){if(e!=null&&e.base)throw new Error("Can not derive from a modified tag");let t=new ot([],null,[]);if(t.set.push(t),e)for(let i of e.set)t.set.push(i);return t}static defineModifier(){let e=new Vn;return t=>t.modified.indexOf(e)>-1?t:Vn.get(t.base||t,t.modified.concat(e).sort((i,n)=>i.id-n.id))}}let ld=0;class Vn{constructor(){this.instances=[],this.id=ld++}static get(e,t){if(!t.length)return e;let i=t[0].instances.find(l=>l.base==e&&ad(t,l.modified));if(i)return i;let n=[],r=new ot(n,e,t);for(let l of t)l.instances.push(r);let o=hd(t);for(let l of e.set)if(!l.modified.length)for(let a of o)n.push(Vn.get(l,a));return r}}function ad(s,e){return s.length==e.length&&s.every((t,i)=>t==e[i])}function hd(s){let e=[[]];for(let t=0;ti.length-t.length)}function sh(s){let e=Object.create(null);for(let t in s){let i=s[t];Array.isArray(i)||(i=[i]);for(let n of t.split(" "))if(n){let r=[],o=2,l=n;for(let c=0;;){if(l=="..."&&c>0&&c+3==n.length){o=1;break}let u=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(l);if(!u)throw new RangeError("Invalid path: "+n);if(r.push(u[0]=="*"?"":u[0][0]=='"'?JSON.parse(u[0]):u[0]),c+=u[0].length,c==n.length)break;let d=n[c++];if(c==n.length&&d=="!"){o=0;break}if(d!="/")throw new RangeError("Invalid path: "+n);l=n.slice(c)}let a=r.length-1,h=r[a];if(!h)throw new RangeError("Invalid path: "+n);let f=new Wn(i,o,a>0?r.slice(0,a):null);e[h]=f.sort(e[h])}}return rh.add(e)}const rh=new Y;class Wn{constructor(e,t,i,n){this.tags=e,this.mode=t,this.context=i,this.next=n}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(e){return!e||e.depth{let o=n;for(let l of r)for(let a of l.set){let h=t[a.id];if(h){o=o?o+" "+h:h;break}}return o},scope:i}}function fd(s,e){let t=null;for(let i of s){let n=i.style(e);n&&(t=t?t+" "+n:n)}return t}function cd(s,e,t,i=0,n=s.length){let r=new ud(i,Array.isArray(e)?e:[e],t);r.highlightRange(s.cursor(),i,n,"",r.highlighters),r.flush(n)}class ud{constructor(e,t,i){this.at=e,this.highlighters=t,this.span=i,this.class=""}startSpan(e,t){t!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=t)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,t,i,n,r){let{type:o,from:l,to:a}=e;if(l>=i||a<=t)return;o.isTop&&(r=this.highlighters.filter(d=>!d.scope||d.scope(o)));let h=n,f=dd(e)||Wn.empty,c=fd(r,f.tags);if(c&&(h&&(h+=" "),h+=c,f.mode==1&&(n+=(n?" ":"")+c)),this.startSpan(e.from,h),f.opaque)return;let u=e.tree&&e.tree.prop(Y.mounted);if(u&&u.overlay){let d=e.node.enter(u.overlay[0].from+l,1),p=this.highlighters.filter(g=>!g.scope||g.scope(u.tree.type)),m=e.firstChild();for(let g=0,b=l;;g++){let w=g=x||!e.nextSibling())););if(!w||x>i)break;b=w.to+l,b>t&&(this.highlightRange(d.cursor(),Math.max(t,w.from+l),Math.min(i,b),n,p),this.startSpan(b,h))}m&&e.parent()}else if(e.firstChild()){do if(!(e.to<=t)){if(e.from>=i)break;this.highlightRange(e,t,i,n,r),this.startSpan(Math.min(i,e.to),h)}while(e.nextSibling());e.parent()}}}function dd(s){let e=s.type.prop(rh);for(;e&&e.context&&!s.matchContext(e.context);)e=e.next;return e||null}const M=ot.define,ln=M(),At=M(),Ko=M(At),Go=M(At),Ct=M(),an=M(Ct),ks=M(Ct),st=M(),Wt=M(st),tt=M(),it=M(),ir=M(),ki=M(ir),hn=M(),N={comment:ln,lineComment:M(ln),blockComment:M(ln),docComment:M(ln),name:At,variableName:M(At),typeName:Ko,tagName:M(Ko),propertyName:Go,attributeName:M(Go),className:M(At),labelName:M(At),namespace:M(At),macroName:M(At),literal:Ct,string:an,docString:M(an),character:M(an),attributeValue:M(an),number:ks,integer:M(ks),float:M(ks),bool:M(Ct),regexp:M(Ct),escape:M(Ct),color:M(Ct),url:M(Ct),keyword:tt,self:M(tt),null:M(tt),atom:M(tt),unit:M(tt),modifier:M(tt),operatorKeyword:M(tt),controlKeyword:M(tt),definitionKeyword:M(tt),moduleKeyword:M(tt),operator:it,derefOperator:M(it),arithmeticOperator:M(it),logicOperator:M(it),bitwiseOperator:M(it),compareOperator:M(it),updateOperator:M(it),definitionOperator:M(it),typeOperator:M(it),controlOperator:M(it),punctuation:ir,separator:M(ir),bracket:ki,angleBracket:M(ki),squareBracket:M(ki),paren:M(ki),brace:M(ki),content:st,heading:Wt,heading1:M(Wt),heading2:M(Wt),heading3:M(Wt),heading4:M(Wt),heading5:M(Wt),heading6:M(Wt),contentSeparator:M(st),list:M(st),quote:M(st),emphasis:M(st),strong:M(st),link:M(st),monospace:M(st),strikethrough:M(st),inserted:M(),deleted:M(),changed:M(),invalid:M(),meta:hn,documentMeta:M(hn),annotation:M(hn),processingInstruction:M(hn),definition:ot.defineModifier(),constant:ot.defineModifier(),function:ot.defineModifier(),standard:ot.defineModifier(),local:ot.defineModifier(),special:ot.defineModifier()};oh([{tag:N.link,class:"tok-link"},{tag:N.heading,class:"tok-heading"},{tag:N.emphasis,class:"tok-emphasis"},{tag:N.strong,class:"tok-strong"},{tag:N.keyword,class:"tok-keyword"},{tag:N.atom,class:"tok-atom"},{tag:N.bool,class:"tok-bool"},{tag:N.url,class:"tok-url"},{tag:N.labelName,class:"tok-labelName"},{tag:N.inserted,class:"tok-inserted"},{tag:N.deleted,class:"tok-deleted"},{tag:N.literal,class:"tok-literal"},{tag:N.string,class:"tok-string"},{tag:N.number,class:"tok-number"},{tag:[N.regexp,N.escape,N.special(N.string)],class:"tok-string2"},{tag:N.variableName,class:"tok-variableName"},{tag:N.local(N.variableName),class:"tok-variableName tok-local"},{tag:N.definition(N.variableName),class:"tok-variableName tok-definition"},{tag:N.special(N.variableName),class:"tok-variableName2"},{tag:N.definition(N.propertyName),class:"tok-propertyName tok-definition"},{tag:N.typeName,class:"tok-typeName"},{tag:N.namespace,class:"tok-namespace"},{tag:N.className,class:"tok-className"},{tag:N.macroName,class:"tok-macroName"},{tag:N.propertyName,class:"tok-propertyName"},{tag:N.operator,class:"tok-operator"},{tag:N.comment,class:"tok-comment"},{tag:N.meta,class:"tok-meta"},{tag:N.invalid,class:"tok-invalid"},{tag:N.punctuation,class:"tok-punctuation"}]);const pd=sh({String:N.string,Number:N.number,"True False":N.bool,PropertyName:N.propertyName,Null:N.null,",":N.separator,"[ ]":N.squareBracket,"{ }":N.brace}),gd=$n.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#CjOOQO'#Cp'#CpQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CrOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59U,59UO!iQPO,59UOVQPO,59QOqQPO'#CkO!nQPO,59^OOQO1G.k1G.kOVQPO'#ClO!vQPO,59aOOQO1G.p1G.pOOQO1G.l1G.lOOQO,59V,59VOOQO-E6i-E6iOOQO,59W,59WOOQO-E6j-E6j",stateData:"#O~OcOS~OQSORSOSSOTSOWQO]ROePO~OVXOeUO~O[[O~PVOg^O~Oh_OVfX~OVaO~OhbO[iX~O[dO~Oh_OVfa~OhbO[ia~O",goto:"!kjPPPPPPkPPkqwPPk{!RPPP!XP!ePP!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"⚠ JsonText True False Null Number String } { Object Property PropertyName ] [ Array",maxTerm:25,nodeProps:[["openedBy",7,"{",12,"["],["closedBy",8,"}",13,"]"]],propSources:[pd],skippedNodes:[0],repeatNodeCount:2,tokenData:"(p~RaXY!WYZ!W]^!Wpq!Wrs!]|}$i}!O$n!Q!R$w!R![&V![!]&h!}#O&m#P#Q&r#Y#Z&w#b#c'f#h#i'}#o#p(f#q#r(k~!]Oc~~!`Upq!]qr!]rs!rs#O!]#O#P!w#P~!]~!wOe~~!zXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#g~#jR!Q![#s!c!i#s#T#Z#s~#vR!Q![$P!c!i$P#T#Z$P~$SR!Q![$]!c!i$]#T#Z$]~$`R!Q![!]!c!i!]#T#Z!]~$nOh~~$qQ!Q!R$w!R![&V~$|RT~!O!P%V!g!h%k#X#Y%k~%YP!Q![%]~%bRT~!Q![%]!g!h%k#X#Y%k~%nR{|%w}!O%w!Q![%}~%zP!Q![%}~&SPT~!Q![%}~&[ST~!O!P%V!Q![&V!g!h%k#X#Y%k~&mOg~~&rO]~~&wO[~~&zP#T#U&}~'QP#`#a'T~'WP#g#h'Z~'^P#X#Y'a~'fOR~~'iP#i#j'l~'oP#`#a'r~'uP#`#a'x~'}OS~~(QP#f#g(T~(WP#i#j(Z~(^P#X#Y(a~(fOQ~~(kOW~~(pOV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0});var vs;const Ni=new Y;function md(s){return V.define({combine:s?e=>e.concat(s):void 0})}class Qe{constructor(e,t,i=[],n=""){this.data=e,this.name=n,X.prototype.hasOwnProperty("tree")||Object.defineProperty(X.prototype,"tree",{get(){return Ye(this)}}),this.parser=t,this.extension=[gi.of(this),X.languageData.of((r,o,l)=>r.facet(Qo(r,o,l)))].concat(i)}isActiveAt(e,t,i=-1){return Qo(e,t,i)==this.data}findRegions(e){let t=e.facet(gi);if((t==null?void 0:t.data)==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let i=[],n=(r,o)=>{if(r.prop(Ni)==this.data){i.push({from:o,to:o+r.length});return}let l=r.prop(Y.mounted);if(l){if(l.tree.prop(Ni)==this.data){if(l.overlay)for(let a of l.overlay)i.push({from:a.from+o,to:a.to+o});else i.push({from:o,to:o+r.length});return}else if(l.overlay){let a=i.length;if(n(l.tree,l.overlay[0].from+o),i.length>a)return}}for(let a=0;ai.isTop?t:void 0)]}),e.name)}configure(e,t){return new Fn(this.data,this.parser.configure(e),t||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function Ye(s){let e=s.field(Qe.state,!1);return e?e.tree:de.empty}class bd{constructor(e,t=e.length){this.doc=e,this.length=t,this.cursorPos=0,this.string="",this.cursor=e.iter()}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,t){let i=this.cursorPos-this.string.length;return e=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-i,t-i)}}let vi=null;class Hn{constructor(e,t,i=[],n,r,o,l,a){this.parser=e,this.state=t,this.fragments=i,this.tree=n,this.treeLen=r,this.viewport=o,this.skipped=l,this.scheduleOn=a,this.parse=null,this.tempSkipped=[]}static create(e,t,i){return new Hn(e,t,[],de.empty,0,i,[],null)}startParse(){return this.parser.startParse(new bd(this.state.doc),this.fragments)}work(e,t){return t!=null&&t>=this.state.doc.length&&(t=void 0),this.tree!=de.empty&&this.isDone(t??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var i;if(typeof e=="number"){let n=Date.now()+e;e=()=>Date.now()>n}for(this.parse||(this.parse=this.startParse()),t!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>t)&&t=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(t=this.parse.advance()););}),this.treeLen=e,this.tree=t,this.fragments=this.withoutTempSkipped(Gt.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=vi;vi=this;try{return e()}finally{vi=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=Jo(e,t.from,t.to);return e}changes(e,t){let{fragments:i,tree:n,treeLen:r,viewport:o,skipped:l}=this;if(this.takeTree(),!e.empty){let a=[];if(e.iterChangedRanges((h,f,c,u)=>a.push({fromA:h,toA:f,fromB:c,toB:u})),i=Gt.applyChanges(i,a),n=de.empty,r=0,o={from:e.mapPos(o.from,-1),to:e.mapPos(o.to,1)},this.skipped.length){l=[];for(let h of this.skipped){let f=e.mapPos(h.from,1),c=e.mapPos(h.to,-1);fe.from&&(this.fragments=Jo(this.fragments,n,r),this.skipped.splice(i--,1))}return this.skipped.length>=t?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,t){this.skipped.push({from:e,to:t})}static getSkippingParser(e){return new class extends nh{createParse(t,i,n){let r=n[0].from,o=n[n.length-1].to;return{parsedPos:r,advance(){let a=vi;if(a){for(let h of n)a.tempSkipped.push(h);e&&(a.scheduleOn=a.scheduleOn?Promise.all([a.scheduleOn,e]):e)}return this.parsedPos=o,new de(Ee.none,[],[],o-r)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let t=this.fragments;return this.treeLen>=e&&t.length&&t[0].from==0&&t[0].to>=e}static get(){return vi}}function Jo(s,e,t){return Gt.applyChanges(s,[{fromA:e,toA:t,fromB:e,toB:t}])}class pi{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let t=this.context.changes(e.changes,e.state),i=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),t.viewport.to);return t.work(20,i)||t.takeTree(),new pi(t)}static init(e){let t=Math.min(3e3,e.doc.length),i=Hn.create(e.facet(gi).parser,e,{from:0,to:t});return i.work(20,t)||i.takeTree(),new pi(i)}}Qe.state=Xe.define({create:pi.init,update(s,e){for(let t of e.effects)if(t.is(Qe.setState))return t.value;return e.startState.facet(gi)!=e.state.facet(gi)?pi.init(e.state):s.apply(e)}});let lh=s=>{let e=setTimeout(()=>s(),500);return()=>clearTimeout(e)};typeof requestIdleCallback<"u"&&(lh=s=>{let e=-1,t=setTimeout(()=>{e=requestIdleCallback(s,{timeout:500-100})},100);return()=>e<0?clearTimeout(t):cancelIdleCallback(e)});const Ss=typeof navigator<"u"&&(!((vs=navigator.scheduling)===null||vs===void 0)&&vs.isInputPending)?()=>navigator.scheduling.isInputPending():null,wd=Nt.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let t=this.view.state.field(Qe.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),e.docChanged&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){if(this.working)return;let{state:e}=this.view,t=e.field(Qe.state);(t.tree!=t.context.tree||!t.context.isDone(e.doc.length))&&(this.working=lh(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEndn+1e3,a=r.context.work(()=>Ss&&Ss()||Date.now()>o,n+(l?0:1e5));this.chunkBudget-=Date.now()-t,(a||this.chunkBudget<=0)&&(r.context.takeTree(),this.view.dispatch({effects:Qe.setState.of(new pi(r.context))})),this.chunkBudget>0&&!(a&&!l)&&this.scheduleWork(),this.checkAsyncSchedule(r.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(t=>Je(this.view.state,t)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),gi=V.define({combine(s){return s.length?s[0]:null},enables:s=>[Qe.state,wd,G.contentAttributes.compute([s],e=>{let t=e.facet(s);return t&&t.name?{"data-language":t.name}:{}})]});class yd{constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}}const kd=V.define(),Pr=V.define({combine:s=>{if(!s.length)return" ";if(!/^(?: +|\t+)$/.test(s[0]))throw new Error("Invalid indent unit: "+JSON.stringify(s[0]));return s[0]}});function nr(s){let e=s.facet(Pr);return e.charCodeAt(0)==9?s.tabSize*e.length:e.length}function sr(s,e){let t="",i=s.tabSize;if(s.facet(Pr).charCodeAt(0)==9)for(;e>=i;)t+=" ",e-=i;for(let n=0;n=i.from&&n<=i.to?r&&n==e?{text:"",from:e}:(t<0?n-1&&(r+=o-this.countColumn(i,i.search(/\S|$/))),r}countColumn(e,t=e.length){return ha(e,this.state.tabSize,t)}lineIndent(e,t=1){let{text:i,from:n}=this.lineAt(e,t),r=this.options.overrideIndentation;if(r){let o=r(n);if(o>-1)return o}return this.countColumn(i,i.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const hh=new Y;function vd(s,e,t){return fh(e.resolveInner(t).enterUnfinishedNodesBefore(t),t,s)}function Sd(s){return s.pos==s.options.simulateBreak&&s.options.simulateDoubleBreak}function xd(s){let e=s.type.prop(hh);if(e)return e;let t=s.firstChild,i;if(t&&(i=t.type.prop(Y.closedBy))){let n=s.lastChild,r=n&&i.indexOf(n.name)>-1;return o=>Td(o,!0,1,void 0,r&&!Sd(o)?n.from:void 0)}return s.parent==null?Ad:null}function fh(s,e,t){for(;s;s=s.parent){let i=xd(s);if(i)return i(Br.create(t,e,s))}return null}function Ad(){return 0}class Br extends Rr{constructor(e,t,i){super(e.state,e.options),this.base=e,this.pos=t,this.node=i}static create(e,t,i){return new Br(e,t,i)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){let e=this.state.doc.lineAt(this.node.from);for(;;){let t=this.node.resolve(e.from);for(;t.parent&&t.parent.from==t.from;)t=t.parent;if(Cd(t,this.node))break;e=this.state.doc.lineAt(t.from)}return this.lineIndent(e.from)}continue(){let e=this.node.parent;return e?fh(e,this.pos,this.base):0}}function Cd(s,e){for(let t=e;t;t=t.parent)if(s==t)return!0;return!1}function Od(s){let e=s.node,t=e.childAfter(e.from),i=e.lastChild;if(!t)return null;let n=s.options.simulateBreak,r=s.state.doc.lineAt(t.from),o=n==null||n<=r.from?r.to:Math.min(r.to,n);for(let l=t.to;;){let a=e.childAfter(l);if(!a||a==i)return null;if(!a.type.isSkipped)return a.from{let i=s&&s.test(t.textAfter);return t.baseIndent+(i?0:e*t.unit)}}const Md=200;function Dd(){return X.transactionFilter.of(s=>{if(!s.docChanged||!s.isUserEvent("input.type")&&!s.isUserEvent("input.complete"))return s;let e=s.startState.languageDataAt("indentOnInput",s.startState.selection.main.head);if(!e.length)return s;let t=s.newDoc,{head:i}=s.newSelection.main,n=t.lineAt(i);if(i>n.from+Md)return s;let r=t.sliceString(n.from,i);if(!e.some(h=>h.test(r)))return s;let{state:o}=s,l=-1,a=[];for(let{head:h}of o.selection.ranges){let f=o.doc.lineAt(h);if(f.from==l)continue;l=f.from;let c=ah(o,f.from);if(c==null)continue;let u=/^\s*/.exec(f.text)[0],d=sr(o,c);u!=d&&a.push({from:f.from,to:f.from+u.length,insert:d})}return a.length?[s,{changes:a,sequential:!0}]:s})}const Pd=new Y;function Rd(s){let e=s.firstChild,t=s.lastChild;return e&&e.tol.prop(Ni)==o.data:o?l=>l==o:void 0,this.style=oh(e.map(l=>({tag:l.tag,class:l.class||n(Object.assign({},l,{tag:null}))})),{all:r}).style,this.module=i?new It(i):null,this.themeType=t.themeType}static define(e,t){return new ss(e,t||{})}}const rr=V.define(),ch=V.define({combine(s){return s.length?[s[0]]:null}});function xs(s){let e=s.facet(rr);return e.length?e:s.facet(ch)}function Bd(s,e){let t=[Id],i;return s instanceof ss&&(s.module&&t.push(G.styleModule.of(s.module)),i=s.themeType),e!=null&&e.fallback?t.push(ch.of(s)):i?t.push(rr.computeN([G.darkTheme],n=>n.facet(G.darkTheme)==(i=="dark")?[s]:[])):t.push(rr.of(s)),t}class Ed{constructor(e){this.markCache=Object.create(null),this.tree=Ye(e.state),this.decorations=this.buildDeco(e,xs(e.state))}update(e){let t=Ye(e.state),i=xs(e.state),n=i!=xs(e.startState);t.length{i.add(o,l,this.markCache[a]||(this.markCache[a]=le.mark({class:a})))},n,r);return i.finish()}}const Id=Xn.high(Nt.fromClass(Ed,{decorations:s=>s.decorations})),_d=G.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),uh=1e4,dh="()[]{}",ph=V.define({combine(s){return br(s,{afterCursor:!0,brackets:dh,maxScanDistance:uh,renderMatch:$d})}}),Ld=le.mark({class:"cm-matchingBracket"}),Nd=le.mark({class:"cm-nonmatchingBracket"});function $d(s){let e=[],t=s.matched?Ld:Nd;return e.push(t.range(s.start.from,s.start.to)),s.end&&e.push(t.range(s.end.from,s.end.to)),e}const Vd=Xe.define({create(){return le.none},update(s,e){if(!e.docChanged&&!e.selection)return s;let t=[],i=e.state.facet(ph);for(let n of e.state.selection.ranges){if(!n.empty)continue;let r=fn(e.state,n.head,-1,i)||n.head>0&&fn(e.state,n.head-1,1,i)||i.afterCursor&&(fn(e.state,n.head,1,i)||n.headG.decorations.from(s)}),Wd=[Vd,_d];function Fd(s={}){return[ph.of(s),Wd]}function or(s,e,t){let i=s.prop(e<0?Y.openedBy:Y.closedBy);if(i)return i;if(s.name.length==1){let n=t.indexOf(s.name);if(n>-1&&n%2==(e<0?1:0))return[t[n+e]]}return null}function fn(s,e,t,i={}){let n=i.maxScanDistance||uh,r=i.brackets||dh,o=Ye(s),l=o.resolveInner(e,t);for(let a=l;a;a=a.parent){let h=or(a.type,t,r);if(h&&a.from=i.to){if(a==0&&n.indexOf(h.type.name)>-1&&h.from0)return null;let h={from:t<0?e-1:e,to:t>0?e+1:e},f=s.doc.iterRange(e,t>0?s.doc.length:0),c=0;for(let u=0;!f.next().done&&u<=r;){let d=f.value;t<0&&(u+=d.length);let p=e+u*t;for(let m=t>0?0:d.length-1,g=t>0?d.length:-1;m!=g;m+=t){let b=o.indexOf(d[m]);if(!(b<0||i.resolveInner(p+m,1).type!=n))if(b%2==0==t>0)c++;else{if(c==1)return{start:h,end:{from:p+m,to:p+m+1},matched:b>>1==a>>1};c--}}t>0&&(u+=d.length)}return f.done?{start:h,matched:!1}:null}const qd=Object.create(null),Xo=[Ee.none],Zo=[],jd=Object.create(null);for(let[s,e]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])jd[s]=Ud(qd,e);function As(s,e){Zo.indexOf(s)>-1||(Zo.push(s),console.warn(e))}function Ud(s,e){let t=null;for(let r of e.split(".")){let o=s[r]||N[r];o?typeof o=="function"?t?t=o(t):As(r,`Modifier ${r} used at start of tag`):t?As(r,`Tag ${r} used as modifier`):t=o:As(r,`Unknown highlighting tag ${r}`)}if(!t)return 0;let i=e.replace(/ /g,"_"),n=Ee.define({id:Xo.length,name:i,props:[sh({[i]:t})]});return Xo.push(n),n.id}const Kd=Fn.define({name:"json",parser:gd.configure({props:[hh.add({Object:Yo({except:/^\s*\}/}),Array:Yo({except:/^\s*\]/})}),Pd.add({"Object Array":Rd})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function Gd(){return new yd(Kd)}const lr=$t.define(),Qd=$t.define(),Jd=V.define(),Yd=V.define({combine(s){return br(s,{minDepth:100,newGroupDelay:500},{minDepth:Math.max,newGroupDelay:Math.min})}});function Xd(s){let e=0;return s.iterChangedRanges((t,i)=>e=i),e}const Zd=Xe.define({create(){return ht.empty},update(s,e){let t=e.state.facet(Yd),i=e.annotation(lr);if(i){let a=e.docChanged?O.single(Xd(e.changes)):void 0,h=Re.fromTransaction(e,a),f=i.side,c=f==0?s.undone:s.done;return h?c=zn(c,c.length,t.minDepth,h):c=mh(c,e.startState.selection),new ht(f==0?i.rest:c,f==0?c:i.rest)}let n=e.annotation(Qd);if((n=="full"||n=="before")&&(s=s.isolate()),e.annotation(me.addToHistory)===!1)return e.changes.empty?s:s.addMapping(e.changes.desc);let r=Re.fromTransaction(e),o=e.annotation(me.time),l=e.annotation(me.userEvent);return r?s=s.addChanges(r,o,l,t.newGroupDelay,t.minDepth):e.selection&&(s=s.addSelection(e.startState.selection,o,l,t.newGroupDelay)),(n=="full"||n=="after")&&(s=s.isolate()),s},toJSON(s){return{done:s.done.map(e=>e.toJSON()),undone:s.undone.map(e=>e.toJSON())}},fromJSON(s){return new ht(s.done.map(Re.fromJSON),s.undone.map(Re.fromJSON))}});function rs(s,e){return function({state:t,dispatch:i}){if(!e&&t.readOnly)return!1;let n=t.field(Zd,!1);if(!n)return!1;let r=n.pop(s,t,e);return r?(i(r),!0):!1}}const ep=rs(0,!1),el=rs(1,!1),tp=rs(0,!0),ip=rs(1,!0);class Re{constructor(e,t,i,n,r){this.changes=e,this.effects=t,this.mapped=i,this.startSelection=n,this.selectionsAfter=r}setSelAfter(e){return new Re(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,t,i;return{changes:(e=this.changes)===null||e===void 0?void 0:e.toJSON(),mapped:(t=this.mapped)===null||t===void 0?void 0:t.toJSON(),startSelection:(i=this.startSelection)===null||i===void 0?void 0:i.toJSON(),selectionsAfter:this.selectionsAfter.map(n=>n.toJSON())}}static fromJSON(e){return new Re(e.changes&&ge.fromJSON(e.changes),[],e.mapped&&ut.fromJSON(e.mapped),e.startSelection&&O.fromJSON(e.startSelection),e.selectionsAfter.map(O.fromJSON))}static fromTransaction(e,t){let i=He;for(let n of e.startState.facet(Jd)){let r=n(e);r.length&&(i=i.concat(r))}return!i.length&&e.changes.empty?null:new Re(e.changes.invert(e.startState.doc),i,void 0,t||e.startState.selection,He)}static selection(e){return new Re(void 0,He,void 0,void 0,e)}}function zn(s,e,t,i){let n=e+1>t+20?e-t-1:0,r=s.slice(n,e);return r.push(i),r}function np(s,e){let t=[],i=!1;return s.iterChangedRanges((n,r)=>t.push(n,r)),e.iterChangedRanges((n,r,o,l)=>{for(let a=0;a=h&&o<=f&&(i=!0)}}),i}function sp(s,e){return s.ranges.length==e.ranges.length&&s.ranges.filter((t,i)=>t.empty!=e.ranges[i].empty).length===0}function gh(s,e){return s.length?e.length?s.concat(e):s:e}const He=[],rp=200;function mh(s,e){if(s.length){let t=s[s.length-1],i=t.selectionsAfter.slice(Math.max(0,t.selectionsAfter.length-rp));return i.length&&i[i.length-1].eq(e)?s:(i.push(e),zn(s,s.length-1,1e9,t.setSelAfter(i)))}else return[Re.selection([e])]}function op(s){let e=s[s.length-1],t=s.slice();return t[s.length-1]=e.setSelAfter(e.selectionsAfter.slice(0,e.selectionsAfter.length-1)),t}function Cs(s,e){if(!s.length)return s;let t=s.length,i=He;for(;t;){let n=lp(s[t-1],e,i);if(n.changes&&!n.changes.empty||n.effects.length){let r=s.slice(0,t);return r[t-1]=n,r}else e=n.mapped,t--,i=n.selectionsAfter}return i.length?[Re.selection(i)]:He}function lp(s,e,t){let i=gh(s.selectionsAfter.length?s.selectionsAfter.map(l=>l.map(e)):He,t);if(!s.changes)return Re.selection(i);let n=s.changes.map(e),r=e.mapDesc(s.changes,!0),o=s.mapped?s.mapped.composeDesc(r):r;return new Re(n,ne.mapEffects(s.effects,e),o,s.startSelection.map(r),i)}const ap=/^(input\.type|delete)($|\.)/;class ht{constructor(e,t,i=0,n=void 0){this.done=e,this.undone=t,this.prevTime=i,this.prevUserEvent=n}isolate(){return this.prevTime?new ht(this.done,this.undone):this}addChanges(e,t,i,n,r){let o=this.done,l=o[o.length-1];return l&&l.changes&&!l.changes.empty&&e.changes&&(!i||ap.test(i))&&(!l.selectionsAfter.length&&t-this.prevTime0&&t-this.prevTimet.empty?s.moveByChar(t,e):os(t,e))}function qe(s){return s.textDirectionAt(s.state.selection.main.head)==ye.LTR}const wh=s=>bh(s,!qe(s)),yh=s=>bh(s,qe(s));function kh(s,e){return xt(s,t=>t.empty?s.moveByGroup(t,e):os(t,e))}const fp=s=>kh(s,!qe(s)),cp=s=>kh(s,qe(s));function vh(s,e){return xt(s,t=>{if(!t.empty)return os(t,e);let i=s.moveVertically(t,e);return i.head!=t.head?i:s.moveToLineBoundary(t,e)})}const Sh=s=>vh(s,!1),xh=s=>vh(s,!0);function Ah(s){return Math.max(s.defaultLineHeight,Math.min(s.dom.clientHeight,innerHeight)-5)}function Ch(s,e){let{state:t}=s,i=Er(t.selection,l=>l.empty?s.moveVertically(l,e,Ah(s)):os(l,e));if(i.eq(t.selection))return!1;let n=s.coordsAtPos(t.selection.main.head),r=s.scrollDOM.getBoundingClientRect(),o;return n&&n.top>r.top&&n.bottomCh(s,!1),ar=s=>Ch(s,!0);function Vt(s,e,t){let i=s.lineBlockAt(e.head),n=s.moveToLineBoundary(e,t);if(n.head==e.head&&n.head!=(t?i.to:i.from)&&(n=s.moveToLineBoundary(e,t,!1)),!t&&n.head==i.from&&i.length){let r=/^\s*/.exec(s.state.sliceDoc(i.from,Math.min(i.from+100,i.to)))[0].length;r&&e.head!=i.from+r&&(n=O.cursor(i.from+r))}return n}const up=s=>xt(s,e=>Vt(s,e,!0)),dp=s=>xt(s,e=>Vt(s,e,!1)),pp=s=>xt(s,e=>Vt(s,e,!qe(s))),gp=s=>xt(s,e=>Vt(s,e,qe(s))),mp=s=>xt(s,e=>O.cursor(s.lineBlockAt(e.head).from,1)),bp=s=>xt(s,e=>O.cursor(s.lineBlockAt(e.head).to,-1));function wt(s,e){let t=Er(s.state.selection,i=>{let n=e(i);return O.range(i.anchor,n.head,n.goalColumn,n.bidiLevel||void 0)});return t.eq(s.state.selection)?!1:(s.dispatch(Xt(s.state,t)),!0)}function Oh(s,e){return wt(s,t=>s.moveByChar(t,e))}const Th=s=>Oh(s,!qe(s)),Mh=s=>Oh(s,qe(s));function Dh(s,e){return wt(s,t=>s.moveByGroup(t,e))}const wp=s=>Dh(s,!qe(s)),yp=s=>Dh(s,qe(s));function Ph(s,e){return wt(s,t=>s.moveVertically(t,e))}const Rh=s=>Ph(s,!1),Bh=s=>Ph(s,!0);function Eh(s,e){return wt(s,t=>s.moveVertically(t,e,Ah(s)))}const il=s=>Eh(s,!1),nl=s=>Eh(s,!0),kp=s=>wt(s,e=>Vt(s,e,!0)),vp=s=>wt(s,e=>Vt(s,e,!1)),Sp=s=>wt(s,e=>Vt(s,e,!qe(s))),xp=s=>wt(s,e=>Vt(s,e,qe(s))),Ap=s=>wt(s,e=>O.cursor(s.lineBlockAt(e.head).from)),Cp=s=>wt(s,e=>O.cursor(s.lineBlockAt(e.head).to)),sl=({state:s,dispatch:e})=>(e(Xt(s,{anchor:0})),!0),rl=({state:s,dispatch:e})=>(e(Xt(s,{anchor:s.doc.length})),!0),ol=({state:s,dispatch:e})=>(e(Xt(s,{anchor:s.selection.main.anchor,head:0})),!0),ll=({state:s,dispatch:e})=>(e(Xt(s,{anchor:s.selection.main.anchor,head:s.doc.length})),!0),Op=({state:s,dispatch:e})=>(e(s.update({selection:{anchor:0,head:s.doc.length},userEvent:"select"})),!0);function ls(s,e){if(s.state.readOnly)return!1;let t="delete.selection",{state:i}=s,n=i.changeByRange(r=>{let{from:o,to:l}=r;if(o==l){let a=e(o);ao&&(t="delete.forward",a=cn(s,a,!0)),o=Math.min(o,a),l=Math.max(l,a)}else o=cn(s,o,!1),l=cn(s,l,!0);return o==l?{range:r}:{changes:{from:o,to:l},range:O.cursor(o)}});return n.changes.empty?!1:(s.dispatch(i.update(n,{scrollIntoView:!0,userEvent:t,effects:t=="delete.selection"?G.announce.of(i.phrase("Selection deleted")):void 0})),!0)}function cn(s,e,t){if(s instanceof G)for(let i of s.state.facet(G.atomicRanges).map(n=>n(s)))i.between(e,e,(n,r)=>{ne&&(e=t?r:n)});return e}const Ih=(s,e)=>ls(s,t=>{let{state:i}=s,n=i.doc.lineAt(t),r,o;if(!e&&t>n.from&&tIh(s,!1),_h=s=>Ih(s,!0),Lh=(s,e)=>ls(s,t=>{let i=t,{state:n}=s,r=n.doc.lineAt(i),o=n.charCategorizer(i);for(let l=null;;){if(i==(e?r.to:r.from)){i==t&&r.number!=(e?n.doc.lines:1)&&(i+=e?1:-1);break}let a=Ve(r.text,i-r.from,e)+r.from,h=r.text.slice(Math.min(i,a)-r.from,Math.max(i,a)-r.from),f=o(h);if(l!=null&&f!=l)break;(h!=" "||i!=t)&&(l=f),i=a}return i}),Nh=s=>Lh(s,!1),Tp=s=>Lh(s,!0),$h=s=>ls(s,e=>{let t=s.lineBlockAt(e).to;return els(s,e=>{let t=s.lineBlockAt(e).from;return e>t?t:Math.max(0,e-1)}),Dp=({state:s,dispatch:e})=>{if(s.readOnly)return!1;let t=s.changeByRange(i=>({changes:{from:i.from,to:i.to,insert:Z.of(["",""])},range:O.cursor(i.from)}));return e(s.update(t,{scrollIntoView:!0,userEvent:"input"})),!0},Pp=({state:s,dispatch:e})=>{if(s.readOnly)return!1;let t=s.changeByRange(i=>{if(!i.empty||i.from==0||i.from==s.doc.length)return{range:i};let n=i.from,r=s.doc.lineAt(n),o=n==r.from?n-1:Ve(r.text,n-r.from,!1)+r.from,l=n==r.to?n+1:Ve(r.text,n-r.from,!0)+r.from;return{changes:{from:o,to:l,insert:s.doc.slice(n,l).append(s.doc.slice(o,n))},range:O.cursor(l)}});return t.changes.empty?!1:(e(s.update(t,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function Rp(s,e){if(/\(\)|\[\]|\{\}/.test(s.sliceDoc(e-1,e+1)))return{from:e,to:e};let t=Ye(s).resolveInner(e),i=t.childBefore(e),n=t.childAfter(e),r;return i&&n&&i.to<=e&&n.from>=e&&(r=i.type.prop(Y.closedBy))&&r.indexOf(n.name)>-1&&s.doc.lineAt(i.to).from==s.doc.lineAt(n.from).from?{from:i.to,to:n.from}:null}const Bp=Ep(!1);function Ep(s){return({state:e,dispatch:t})=>{if(e.readOnly)return!1;let i=e.changeByRange(n=>{let{from:r,to:o}=n,l=e.doc.lineAt(r),a=!s&&r==o&&Rp(e,r);s&&(r=o=(o<=l.to?l:e.doc.lineAt(o)).to);let h=new Rr(e,{simulateBreak:r,simulateDoubleBreak:!!a}),f=ah(h,r);for(f==null&&(f=/^\s*/.exec(e.doc.lineAt(r).text)[0].length);ol.from&&r({mac:s.key,run:s.run,shift:s.shift})));class Vh{constructor(e,t,i){this.state=e,this.pos=t,this.explicit=i,this.abortListeners=[]}tokenBefore(e){let t=Ye(this.state).resolveInner(this.pos,-1);for(;t&&e.indexOf(t.name)<0;)t=t.parent;return t?{from:t.from,to:this.pos,text:this.state.sliceDoc(t.from,this.pos),type:t.type}:null}matchBefore(e){let t=this.state.doc.lineAt(this.pos),i=Math.max(t.from,this.pos-250),n=t.text.slice(i-t.from,this.pos-t.from),r=n.search(Wh(e,!1));return r<0?null:{from:i+r,to:this.pos,text:n.slice(r)}}get aborted(){return this.abortListeners==null}addEventListener(e,t){e=="abort"&&this.abortListeners&&this.abortListeners.push(t)}}function al(s){let e=Object.keys(s).join(""),t=/\w/.test(e);return t&&(e=e.replace(/\w/g,"")),`[${t?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}function Lp(s){let e=Object.create(null),t=Object.create(null);for(let{label:n}of s){e[n[0]]=!0;for(let r=1;rtypeof n=="string"?{label:n}:n),[t,i]=e.every(n=>/^\w+$/.test(n.label))?[/\w*$/,/\w+$/]:Lp(e);return n=>{let r=n.matchBefore(i);return r||n.explicit?{from:r?r.from:n.pos,options:e,validFor:t}:null}}let hl=class{constructor(e,t,i){this.completion=e,this.source=t,this.match=i}};function Bt(s){return s.selection.main.head}function Wh(s,e){var t;let{source:i}=s,n=e&&i[0]!="^",r=i[i.length-1]!="$";return!n&&!r?s:new RegExp(`${n?"^":""}(?:${i})${r?"$":""}`,(t=s.flags)!==null&&t!==void 0?t:s.ignoreCase?"i":"")}const $p=$t.define();function Vp(s,e,t,i){return Object.assign(Object.assign({},s.changeByRange(n=>{if(n==s.selection.main)return{changes:{from:t,to:i,insert:e},range:O.cursor(t+e.length)};let r=i-t;return!n.empty||r&&s.sliceDoc(n.from-r,n.from)!=s.sliceDoc(t,i)?{range:n}:{changes:{from:n.from-r,to:n.from,insert:e},range:O.cursor(n.from-r+e.length)}})),{userEvent:"input.complete"})}function Fh(s,e){const t=e.completion.apply||e.completion.label;let i=e.source;typeof t=="string"?s.dispatch(Object.assign(Object.assign({},Vp(s.state,t,i.from,i.to)),{annotations:$p.of(e.completion)})):t(s,e.completion,i.from,i.to)}const fl=new WeakMap;function Wp(s){if(!Array.isArray(s))return s;let e=fl.get(s);return e||fl.set(s,e=Np(s)),e}class Fp{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[];for(let t=0;t=48&&v<=57||v>=97&&v<=122?2:v>=65&&v<=90?1:0:(A=Ql(v))!=A.toLowerCase()?1:A!=A.toUpperCase()?2:0;(!w||D==1&&g||y==0&&D!=0)&&(t[c]==v||i[c]==v&&(u=!0)?o[c++]=w:o.length&&(b=!1)),y=D,w+=Ge(v)}return c==a&&o[0]==0&&b?this.result(-100+(u?-200:0),o,e):d==a&&p==0?[-200-e.length,0,m]:l>-1?[-700-e.length,l,l+this.pattern.length]:d==a?[-200+-700-e.length,p,m]:c==a?this.result(-100+(u?-200:0)+-700+(b?0:-1100),o,e):t.length==2?null:this.result((n[0]?-700:0)+-200+-1100,n,e)}result(e,t,i){let n=[e-i.length],r=1;for(let o of t){let l=o+(this.astral?Ge(Ne(i,o)):1);r>1&&n[r-1]==o?n[r-1]=l:(n[r++]=o,n[r++]=l)}return n}}const ze=V.define({combine(s){return br(s,{activateOnTyping:!0,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],compareCompletions:(e,t)=>e.label.localeCompare(t.label),interactionDelay:75},{defaultKeymap:(e,t)=>e&&t,closeOnBlur:(e,t)=>e&&t,icons:(e,t)=>e&&t,tooltipClass:(e,t)=>i=>cl(e(i),t(i)),optionClass:(e,t)=>i=>cl(e(i),t(i)),addToOptions:(e,t)=>e.concat(t)})}});function cl(s,e){return s?e?s+" "+e:s:e}function Hp(s){let e=s.addToOptions.slice();return s.icons&&e.push({render(t){let i=document.createElement("div");return i.classList.add("cm-completionIcon"),t.type&&i.classList.add(...t.type.split(/\s+/g).map(n=>"cm-completionIcon-"+n)),i.setAttribute("aria-hidden","true"),i},position:20}),e.push({render(t,i,n){let r=document.createElement("span");r.className="cm-completionLabel";let{label:o}=t,l=0;for(let a=1;al&&r.appendChild(document.createTextNode(o.slice(l,h)));let c=r.appendChild(document.createElement("span"));c.appendChild(document.createTextNode(o.slice(h,f))),c.className="cm-completionMatchedText",l=f}return lt.position-i.position).map(t=>t.render)}function ul(s,e,t){if(s<=t)return{from:0,to:s};if(e<0&&(e=0),e<=s>>1){let n=Math.floor(e/t);return{from:n*t,to:(n+1)*t}}let i=Math.floor((s-e)/t);return{from:s-(i+1)*t,to:s-i*t}}class zp{constructor(e,t){this.view=e,this.stateField=t,this.info=null,this.placeInfo={read:()=>this.measureInfo(),write:l=>this.positionInfo(l),key:this},this.space=null,this.currentClass="";let i=e.state.field(t),{options:n,selected:r}=i.open,o=e.state.facet(ze);this.optionContent=Hp(o),this.optionClass=o.optionClass,this.tooltipClass=o.tooltipClass,this.range=ul(n.length,r,o.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",l=>{for(let a=l.target,h;a&&a!=this.dom;a=a.parentNode)if(a.nodeName=="LI"&&(h=/-(\d+)$/.exec(a.id))&&+h[1]{this.info&&this.view.requestMeasure(this.placeInfo)})}mount(){this.updateSel()}update(e){var t,i,n;let r=e.state.field(this.stateField),o=e.startState.field(this.stateField);this.updateTooltipClass(e.state),r!=o&&(this.updateSel(),((t=r.open)===null||t===void 0?void 0:t.disabled)!=((i=o.open)===null||i===void 0?void 0:i.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!(!((n=r.open)===null||n===void 0)&&n.disabled)))}updateTooltipClass(e){let t=this.tooltipClass(e);if(t!=this.currentClass){for(let i of this.currentClass.split(" "))i&&this.dom.classList.remove(i);for(let i of t.split(" "))i&&this.dom.classList.add(i);this.currentClass=t}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfo)}updateSel(){let e=this.view.state.field(this.stateField),t=e.open;if((t.selected>-1&&t.selected=this.range.to)&&(this.range=ul(t.options.length,t.selected,this.view.state.facet(ze).maxRenderedOptions),this.list.remove(),this.list=this.dom.appendChild(this.createListBox(t.options,e.id,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfo)})),this.updateSelectedOption(t.selected)){this.info&&(this.info.remove(),this.info=null);let{completion:i}=t.options[t.selected],{info:n}=i;if(!n)return;let r=typeof n=="string"?document.createTextNode(n):n(i);if(!r)return;"then"in r?r.then(o=>{o&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(o)}).catch(o=>Je(this.view.state,o,"completion info")):this.addInfoPane(r)}}addInfoPane(e){let t=this.info=document.createElement("div");t.className="cm-tooltip cm-completionInfo",t.appendChild(e),this.dom.appendChild(t),this.view.requestMeasure(this.placeInfo)}updateSelectedOption(e){let t=null;for(let i=this.list.firstChild,n=this.range.from;i;i=i.nextSibling,n++)n==e?i.hasAttribute("aria-selected")||(i.setAttribute("aria-selected","true"),t=i):i.hasAttribute("aria-selected")&&i.removeAttribute("aria-selected");return t&&jp(this.list,t),t}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let t=this.dom.getBoundingClientRect(),i=this.info.getBoundingClientRect(),n=e.getBoundingClientRect(),r=this.space;if(!r){let p=this.dom.ownerDocument.defaultView||window;r={left:0,top:0,right:p.innerWidth,bottom:p.innerHeight}}if(n.top>Math.min(r.bottom,t.bottom)-10||n.bottom=i.height||p>t.top?f=n.bottom-t.top+"px":c=t.bottom-n.top+"px"}return{top:f,bottom:c,maxWidth:h,class:a?o?"left-narrow":"right-narrow":l?"left":"right"}}positionInfo(e){this.info&&(e?(this.info.style.top=e.top,this.info.style.bottom=e.bottom,this.info.style.maxWidth=e.maxWidth,this.info.className="cm-tooltip cm-completionInfo cm-completionInfo-"+e.class):this.info.style.top="-1e6px")}createListBox(e,t,i){const n=document.createElement("ul");n.id=t,n.setAttribute("role","listbox"),n.setAttribute("aria-expanded","true"),n.setAttribute("aria-label",this.view.state.phrase("Completions"));for(let r=i.from;rnew zp(e,s)}function jp(s,e){let t=s.getBoundingClientRect(),i=e.getBoundingClientRect();i.topt.bottom&&(s.scrollTop+=i.bottom-t.bottom)}function dl(s){return(s.boost||0)*100+(s.apply?10:0)+(s.info?5:0)+(s.type?1:0)}function Up(s,e){let t=[],i=0;for(let l of s)if(l.hasResult())if(l.result.filter===!1){let a=l.result.getMatch;for(let h of l.result.options){let f=[1e9-i++];if(a)for(let c of a(h))f.push(c);t.push(new hl(h,l,f))}}else{let a=new Fp(e.sliceDoc(l.from,l.to)),h;for(let f of l.result.options)(h=a.match(f.label))&&(f.boost!=null&&(h[0]+=f.boost),t.push(new hl(f,l,h)))}let n=[],r=null,o=e.facet(ze).compareCompletions;for(let l of t.sort((a,h)=>h.match[0]-a.match[0]||o(a.completion,h.completion)))!r||r.label!=l.completion.label||r.detail!=l.completion.detail||r.type!=null&&l.completion.type!=null&&r.type!=l.completion.type||r.apply!=l.completion.apply?n.push(l):dl(l.completion)>dl(r)&&(n[n.length-1]=l),r=l.completion;return n}class ni{constructor(e,t,i,n,r,o){this.options=e,this.attrs=t,this.tooltip=i,this.timestamp=n,this.selected=r,this.disabled=o}setSelected(e,t){return e==this.selected||e>=this.options.length?this:new ni(this.options,pl(t,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,t,i,n,r){let o=Up(e,t);if(!o.length)return n&&e.some(a=>a.state==1)?new ni(n.options,n.attrs,n.tooltip,n.timestamp,n.selected,!0):null;let l=t.facet(ze).selectOnOpen?0:-1;if(n&&n.selected!=l&&n.selected!=-1){let a=n.options[n.selected].completion;for(let h=0;hh.hasResult()?Math.min(a,h.from):a,1e8),create:qp(We),above:r.aboveCursor},n?n.timestamp:Date.now(),l,!1)}map(e){return new ni(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}}class qn{constructor(e,t,i){this.active=e,this.id=t,this.open=i}static start(){return new qn(Qp,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(e){let{state:t}=e,i=t.facet(ze),r=(i.override||t.languageDataAt("autocomplete",Bt(t)).map(Wp)).map(l=>(this.active.find(h=>h.source==l)||new De(l,this.active.some(h=>h.state!=0)?1:0)).update(e,i));r.length==this.active.length&&r.every((l,a)=>l==this.active[a])&&(r=this.active);let o=this.open;o&&e.docChanged&&(o=o.map(e.changes)),e.selection||r.some(l=>l.hasResult()&&e.changes.touchesRange(l.from,l.to))||!Kp(r,this.active)?o=ni.build(r,t,this.id,o,i):o&&o.disabled&&!r.some(l=>l.state==1)&&(o=null),!o&&r.every(l=>l.state!=1)&&r.some(l=>l.hasResult())&&(r=r.map(l=>l.hasResult()?new De(l.source,0):l));for(let l of e.effects)l.is(zh)&&(o=o&&o.setSelected(l.value,this.id));return r==this.active&&o==this.open?this:new qn(r,this.id,o)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:Gp}}function Kp(s,e){if(s==e)return!0;for(let t=0,i=0;;){for(;t-1&&(t["aria-activedescendant"]=s+"-"+e),t}const Qp=[];function fr(s){return s.isUserEvent("input.type")?"input":s.isUserEvent("delete.backward")?"delete":null}class De{constructor(e,t,i=-1){this.source=e,this.state=t,this.explicitPos=i}hasResult(){return!1}update(e,t){let i=fr(e),n=this;i?n=n.handleUserEvent(e,i,t):e.docChanged?n=n.handleChange(e):e.selection&&n.state!=0&&(n=new De(n.source,0));for(let r of e.effects)if(r.is(Ir))n=new De(n.source,1,r.value?Bt(e.state):-1);else if(r.is(jn))n=new De(n.source,0);else if(r.is(Hh))for(let o of r.value)o.source==n.source&&(n=o);return n}handleUserEvent(e,t,i){return t=="delete"||!i.activateOnTyping?this.map(e.changes):new De(this.source,1)}handleChange(e){return e.changes.touchesRange(Bt(e.startState))?new De(this.source,0):this.map(e.changes)}map(e){return e.empty||this.explicitPos<0?this:new De(this.source,this.state,e.mapPos(this.explicitPos))}}class Mi extends De{constructor(e,t,i,n,r){super(e,2,t),this.result=i,this.from=n,this.to=r}hasResult(){return!0}handleUserEvent(e,t,i){var n;let r=e.changes.mapPos(this.from),o=e.changes.mapPos(this.to,1),l=Bt(e.state);if((this.explicitPos<0?l<=r:lo||t=="delete"&&Bt(e.startState)==this.from)return new De(this.source,t=="input"&&i.activateOnTyping?1:0);let a=this.explicitPos<0?-1:e.changes.mapPos(this.explicitPos),h;return Jp(this.result.validFor,e.state,r,o)?new Mi(this.source,a,this.result,r,o):this.result.update&&(h=this.result.update(this.result,r,o,new Vh(e.state,l,a>=0)))?new Mi(this.source,a,h,h.from,(n=h.to)!==null&&n!==void 0?n:Bt(e.state)):new De(this.source,1,a)}handleChange(e){return e.changes.touchesRange(this.from,this.to)?new De(this.source,0):this.map(e.changes)}map(e){return e.empty?this:new Mi(this.source,this.explicitPos<0?-1:e.mapPos(this.explicitPos),this.result,e.mapPos(this.from),e.mapPos(this.to,1))}}function Jp(s,e,t,i){if(!s)return!1;let n=e.sliceDoc(t,i);return typeof s=="function"?s(n,t,i,e):Wh(s,!0).test(n)}const Ir=ne.define(),jn=ne.define(),Hh=ne.define({map(s,e){return s.map(t=>t.map(e))}}),zh=ne.define(),We=Xe.define({create(){return qn.start()},update(s,e){return s.update(e)},provide:s=>[Za.from(s,e=>e.tooltip),G.contentAttributes.from(s,e=>e.attrs)]});function un(s,e="option"){return t=>{let i=t.state.field(We,!1);if(!i||!i.open||i.open.disabled||Date.now()-i.open.timestamp-1?i.open.selected+n*(s?1:-1):s?0:o-1;return l<0?l=e=="page"?0:o-1:l>=o&&(l=e=="page"?o-1:0),t.dispatch({effects:zh.of(l)}),!0}}const Yp=s=>{let e=s.state.field(We,!1);return s.state.readOnly||!e||!e.open||e.open.selected<0||Date.now()-e.open.timestamps.state.field(We,!1)?(s.dispatch({effects:Ir.of(!0)}),!0):!1,Zp=s=>{let e=s.state.field(We,!1);return!e||!e.active.some(t=>t.state!=0)?!1:(s.dispatch({effects:jn.of(null)}),!0)};class eg{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}}const gl=50,tg=50,ig=1e3,ng=Nt.fromClass(class{constructor(s){this.view=s,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.composing=0;for(let e of s.state.field(We).active)e.state==1&&this.startQuery(e)}update(s){let e=s.state.field(We);if(!s.selectionSet&&!s.docChanged&&s.startState.field(We)==e)return;let t=s.transactions.some(i=>(i.selection||i.docChanged)&&!fr(i));for(let i=0;itg&&Date.now()-n.time>ig){for(let r of n.context.abortListeners)try{r()}catch(o){Je(this.view.state,o)}n.context.abortListeners=null,this.running.splice(i--,1)}else n.updates.push(...s.transactions)}if(this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),this.debounceUpdate=e.active.some(i=>i.state==1&&!this.running.some(n=>n.active.source==i.source))?setTimeout(()=>this.startUpdate(),gl):-1,this.composing!=0)for(let i of s.transactions)fr(i)=="input"?this.composing=2:this.composing==2&&i.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1;let{state:s}=this.view,e=s.field(We);for(let t of e.active)t.state==1&&!this.running.some(i=>i.active.source==t.source)&&this.startQuery(t)}startQuery(s){let{state:e}=this.view,t=Bt(e),i=new Vh(e,t,s.explicitPos==t),n=new eg(s,i);this.running.push(n),Promise.resolve(s.source(i)).then(r=>{n.context.aborted||(n.done=r||null,this.scheduleAccept())},r=>{this.view.dispatch({effects:jn.of(null)}),Je(this.view.state,r)})}scheduleAccept(){this.running.every(s=>s.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),gl))}accept(){var s;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],t=this.view.state.facet(ze);for(let i=0;io.source==n.active.source);if(r&&r.state==1)if(n.done==null){let o=new De(n.active.source,0);for(let l of n.updates)o=o.update(l,t);o.state!=1&&e.push(o)}else this.startQuery(r)}e.length&&this.view.dispatch({effects:Hh.of(e)})}},{eventHandlers:{blur(){let s=this.view.state.field(We,!1);s&&s.tooltip&&this.view.state.facet(ze).closeOnBlur&&this.view.dispatch({effects:jn.of(null)})},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:Ir.of(!1)}),20),this.composing=0}}}),sg=G.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer",padding:"1px 3px",lineHeight:1.2}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:`${400}px`,boxSizing:"border-box"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:`${30}px`},".cm-completionInfo.cm-completionInfo-right-narrow":{left:`${30}px`},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}}),Un={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},zt=ne.define({map(s,e){let t=e.mapPos(s,-1,Pe.TrackAfter);return t??void 0}}),_r=ne.define({map(s,e){return e.mapPos(s)}}),Lr=new class extends Qt{};Lr.startSide=1;Lr.endSide=-1;const qh=Xe.define({create(){return fe.empty},update(s,e){if(e.selection){let t=e.state.doc.lineAt(e.selection.main.head).from,i=e.startState.doc.lineAt(e.startState.selection.main.head).from;t!=e.changes.mapPos(i,-1)&&(s=fe.empty)}s=s.map(e.changes);for(let t of e.effects)t.is(zt)?s=s.update({add:[Lr.range(t.value,t.value+1)]}):t.is(_r)&&(s=s.update({filter:i=>i!=t.value}));return s}});function rg(){return[hg,qh]}const Os="()[]{}<>";function og(s){for(let e=0;e{if((ag?s.composing:s.compositionStarted)||s.state.readOnly)return!1;let n=s.state.selection.main;if(i.length>2||i.length==2&&Ge(Ne(i,0))==1||e!=n.from||t!=n.to)return!1;let r=fg(s.state,i);return r?(s.dispatch(r),!0):!1});function fg(s,e){let t=lg(s,s.selection.main.head),i=t.brackets||Un.brackets;for(let n of i){let r=og(Ne(n,0));if(e==n)return r==n?dg(s,n,i.indexOf(n+n+n)>-1,t):cg(s,n,r,t.before||Un.before);if(e==r&&jh(s,s.selection.main.from))return ug(s,n,r)}return null}function jh(s,e){let t=!1;return s.field(qh).between(0,s.doc.length,i=>{i==e&&(t=!0)}),t}function Nr(s,e){let t=s.sliceString(e,e+2);return t.slice(0,Ge(Ne(t,0)))}function cg(s,e,t,i){let n=null,r=s.changeByRange(o=>{if(!o.empty)return{changes:[{insert:e,from:o.from},{insert:t,from:o.to}],effects:zt.of(o.to+e.length),range:O.range(o.anchor+e.length,o.head+e.length)};let l=Nr(s.doc,o.head);return!l||/\s/.test(l)||i.indexOf(l)>-1?{changes:{insert:e+t,from:o.head},effects:zt.of(o.head+e.length),range:O.cursor(o.head+e.length)}:{range:n=o}});return n?null:s.update(r,{scrollIntoView:!0,userEvent:"input.type"})}function ug(s,e,t){let i=null,n=s.selection.ranges.map(r=>r.empty&&Nr(s.doc,r.head)==t?O.cursor(r.head+t.length):i=r);return i?null:s.update({selection:O.create(n,s.selection.mainIndex),scrollIntoView:!0,effects:s.selection.ranges.map(({from:r})=>_r.of(r))})}function dg(s,e,t,i){let n=i.stringPrefixes||Un.stringPrefixes,r=null,o=s.changeByRange(l=>{if(!l.empty)return{changes:[{insert:e,from:l.from},{insert:e,from:l.to}],effects:zt.of(l.to+e.length),range:O.range(l.anchor+e.length,l.head+e.length)};let a=l.head,h=Nr(s.doc,a),f;if(h==e){if(ml(s,a))return{changes:{insert:e+e,from:a},effects:zt.of(a+e.length),range:O.cursor(a+e.length)};if(jh(s,a)){let c=t&&s.sliceDoc(a,a+e.length*3)==e+e+e;return{range:O.cursor(a+e.length*(c?3:1)),effects:_r.of(a)}}}else{if(t&&s.sliceDoc(a-2*e.length,a)==e+e&&(f=bl(s,a-2*e.length,n))>-1&&ml(s,f))return{changes:{insert:e+e+e+e,from:a},effects:zt.of(a+e.length),range:O.cursor(a+e.length)};if(s.charCategorizer(a)(h)!=Fe.Word&&bl(s,a,n)>-1&&!pg(s,a,e,n))return{changes:{insert:e+e,from:a},effects:zt.of(a+e.length),range:O.cursor(a+e.length)}}return{range:r=l}});return r?null:s.update(o,{scrollIntoView:!0,userEvent:"input.type"})}function ml(s,e){let t=Ye(s).resolveInner(e+1);return t.parent&&t.from==e}function pg(s,e,t,i){let n=Ye(s).resolveInner(e,-1),r=i.reduce((o,l)=>Math.max(o,l.length),0);for(let o=0;o<5;o++){let l=s.sliceDoc(n.from,Math.min(n.to,n.from+t.length+r)),a=l.indexOf(t);if(!a||a>-1&&i.indexOf(l.slice(0,a))>-1){let f=n.firstChild;for(;f&&f.from==n.from&&f.to-f.from>t.length+a;){if(s.sliceDoc(f.to-t.length,f.to)==t)return!1;f=f.firstChild}return!0}let h=n.to==e&&n.parent;if(!h)break;n=h}return!1}function bl(s,e,t){let i=s.charCategorizer(e);if(i(s.sliceDoc(e-1,e))!=Fe.Word)return e;for(let n of t){let r=e-n.length;if(s.sliceDoc(r,e)==n&&i(s.sliceDoc(r-1,r))!=Fe.Word)return r}return-1}function gg(s={}){return[We,ze.of(s),ng,bg,sg]}const mg=[{key:"Ctrl-Space",run:Xp},{key:"Escape",run:Zp},{key:"ArrowDown",run:un(!0)},{key:"ArrowUp",run:un(!1)},{key:"PageDown",run:un(!0,"page")},{key:"PageUp",run:un(!1,"page")},{key:"Enter",run:Yp}],bg=Xn.highest(Cr.computeN([ze],s=>s.facet(ze).defaultKeymap?[mg]:[])),wg=G.theme({"&":{color:"white",backgroundColor:Le.gray[900],borderRadius:"0.25rem"},".cm-matchingBracket":{backgroundColor:Le.gray[800]},".cm-scroller":{fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace'},".cm-content":{caretColor:Le.white},".cm-editor&.cm-focused":{outline:`1px solid ${Le.blue[700]}`},"&.cm-focused .cm-matchingBracket":{backgroundColor:Le.gray[700]},"&.cm-focused .cm-cursor":{borderLeftColor:Le.white},"&.cm-focused .cm-selectionBackground, ::selection":{backgroundColor:Le.gray[700]}},{dark:!1}),yg=ss.define([{tag:N.punctuation,color:Le.gray[200]},{tag:N.string,color:Le.green[200]},{tag:N.propertyName,color:Le.purple[200]},{tag:N.bool,color:Le.indigo[200]},{tag:N.number,color:Le.indigo[200]},{tag:N.operator,color:Le.purple[400]}]);function kg(s){let e,t,i,n=[{class:s[0]},s[2]],r={};for(let o=0;onew G({parent:a,state:c(o),dispatch(p){h.update([p]),p.docChanged&&r("change",h.state.doc.toString())}}),c=p=>X.create({doc:p,extensions:[Cr.of([..._p,...hp]),wg,Bd(yg,{fallback:!0}),Pr.of(" "),rg(),gg(),Dd(),Fd(),Gd()]});$i(()=>h=f());function u(p){lf.call(this,s,p)}function d(p){Oe[p?"unshift":"push"](()=>{a=p,t(1,a)})}return s.$$set=p=>{e=Di(Di({},e),Ts(p)),t(2,n=Vr(e,i)),"value"in p&&t(3,o=p.value),"class"in p&&t(0,l=p.class)},[l,a,n,o,u,d]}class Sg extends gt{constructor(e){super(),mt(this,e,vg,kg,bt,{value:3,class:0})}}const Uh=Pf("resetWorkflows",{});function wl(s){let e,t;return{c(){e=W("label"),t=ae(s[1]),this.h()},l(i){e=F(i,"LABEL",{for:!0,class:!0});var n=U(e);t=he(n,s[1]),n.forEach(C),this.h()},h(){R(e,"for",s[2]),R(e,"class","svelte-o1lqkr")},m(i,n){$(i,e,n),L(e,t)},p(i,n){n&2&&Et(t,i[1]),n&4&&R(e,"for",i[2])},d(i){i&&C(e)}}}function xg(s){let e,t;return e=new Vi({props:{class:"pointer-events-none",name:s[8]?"chevron-up":"chevron-down"}}),{c(){H(e.$$.fragment)},l(i){z(e.$$.fragment,i)},m(i,n){q(e,i,n),t=!0},p(i,n){const r={};n&256&&(r.name=i[8]?"chevron-up":"chevron-down"),e.$set(r)},i(i){t||(P(e.$$.fragment,i),t=!0)},o(i){E(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function Ag(s){let e,t;return e=new Vi({props:{name:"lock",class:"text-gray-500"}}),{c(){H(e.$$.fragment)},l(i){z(e.$$.fragment,i)},m(i,n){q(e,i,n),t=!0},p:Be,i(i){t||(P(e.$$.fragment,i),t=!0)},o(i){E(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function Cg(s){let e,t,i,n,r,o,l,a,h,f,c,u,d,p,m,g,b,w=s[1]&&wl(s);const x=[Ag,xg],y=[];function v(k,S){return k[4]?0:1}l=v(s),a=y[l]=x[l](s);const A=s[19].default,D=Kn(A,s,s[18],null);return{c(){e=W("div"),w&&w.c(),t=Q(),i=W("ul"),n=W("input"),o=Q(),a.c(),h=Q(),f=W("ul"),D&&D.c(),this.h()},l(k){e=F(k,"DIV",{class:!0});var S=U(e);w&&w.l(S),t=J(S),i=F(S,"UL",{role:!0,class:!0,tabindex:!0,"aria-controls":!0,"data-testid":!0});var T=U(i);n=F(T,"INPUT",{tabindex:!0,class:!0,"aria-labelledby":!0,id:!0}),o=J(T),a.l(T),h=J(T),f=F(T,"UL",{id:!0,class:!0,role:!0});var K=U(f);D&&D.l(K),K.forEach(C),T.forEach(C),S.forEach(C),this.h()},h(){R(n,"tabindex","-1"),R(n,"class","select-input svelte-o1lqkr"),n.disabled=!0,R(n,"aria-labelledby",s[2]),R(n,"id",s[2]),n.value=r=!s[0]&&s[3]!==""?s[3]:s[7],rt(n,"disabled",s[4]),R(f,"id",c=s[2]+"-options"),R(f,"class","select-options svelte-o1lqkr"),R(f,"role","listbox"),rt(f,"sr-only",!s[8]),R(i,"role","button"),R(i,"class","select-input-container svelte-o1lqkr"),R(i,"tabindex",0),R(i,"aria-controls",u=s[2]+"-options"),R(i,"data-testid",d=s[16].testId),rt(i,"unroundRight",s[5]),rt(i,"disabled",s[4]),R(e,"class",p="select "+s[16].class+" svelte-o1lqkr")},m(k,S){$(k,e,S),w&&w.m(e,null),L(e,t),L(e,i),L(i,n),L(i,o),y[l].m(i,null),L(i,h),L(i,f),D&&D.m(f,null),s[20](i),m=!0,g||(b=[qt(window,"click",s[15]),qt(i,"click",s[13]),qt(i,"keydown",Sn(s[14]))],g=!0)},p(k,[S]){k[1]?w?w.p(k,S):(w=wl(k),w.c(),w.m(e,t)):w&&(w.d(1),w=null),(!m||S&4)&&R(n,"aria-labelledby",k[2]),(!m||S&4)&&R(n,"id",k[2]),(!m||S&137&&r!==(r=!k[0]&&k[3]!==""?k[3]:k[7])&&n.value!==r)&&(n.value=r),(!m||S&16)&&rt(n,"disabled",k[4]);let T=l;l=v(k),l===T?y[l].p(k,S):(ft(),E(y[T],1,1,()=>{y[T]=null}),ct(),a=y[l],a?a.p(k,S):(a=y[l]=x[l](k),a.c()),P(a,1),a.m(i,h)),D&&D.p&&(!m||S&262144)&&Gn(D,A,k,k[18],m?Jn(A,k[18],S,null):Qn(k[18]),null),(!m||S&4&&c!==(c=k[2]+"-options"))&&R(f,"id",c),(!m||S&256)&&rt(f,"sr-only",!k[8]),(!m||S&4&&u!==(u=k[2]+"-options"))&&R(i,"aria-controls",u),(!m||S&65536&&d!==(d=k[16].testId))&&R(i,"data-testid",d),(!m||S&32)&&rt(i,"unroundRight",k[5]),(!m||S&16)&&rt(i,"disabled",k[4]),(!m||S&65536&&p!==(p="select "+k[16].class+" svelte-o1lqkr"))&&R(e,"class",p)},i(k){m||(P(a),P(D,k),m=!0)},o(k){E(a),E(D,k),m=!1},d(k){k&&C(e),w&&w.d(),y[l].d(),D&&D.d(k),s[20](null),g=!1,_l(b)}}}const Kh="select-context";function Og(s,e,t){let i,n,r,o,{$$slots:l={},$$scope:a}=e,{label:h=""}=e,{id:f}=e,{value:c=void 0}=e,{placeholder:u=""}=e,{disabled:d=!1}=e,{unroundRight:p=!1}=e,{onChange:m=Be}=e,g;const b=Si(c);ee(s,b,B=>t(22,o=B));const w=Si([]);ee(s,w,B=>t(21,r=B));const x=Si(c==null?void 0:c.toString());ee(s,x,B=>t(7,i=B));const y=Si(!1);ee(s,y,B=>t(8,n=B));const v=B=>{D(),t(0,c=B),m(c)};function A(B){const te=r.find(pe=>pe.value===B);if(te!==void 0)return te.label}const D=()=>{ue(y,n=!1,n),g.focus()},k=()=>{if(ue(y,n=!n,n),n){const B=r.find(te=>te.value===c);B!==void 0?B.nativeElement.focus():r[0].nativeElement.focus()}},S=B=>{(B.key==="ArrowDown"||B.key===" ")&&(B.preventDefault(),k()),n&&B.key==="Escape"&&D()},T=B=>{!n||B.target===g||g.contains(B.target)||D()};af(Kh,{selectValue:b,selectLabel:x,options:w,open:y,handleChange:v}),$i(()=>{ue(x,i=A(c),i)});function K(B){Oe[B?"unshift":"push"](()=>{g=B,t(6,g)})}return s.$$set=B=>{t(16,e=Di(Di({},e),Ts(B))),"label"in B&&t(1,h=B.label),"id"in B&&t(2,f=B.id),"value"in B&&t(0,c=B.value),"placeholder"in B&&t(3,u=B.placeholder),"disabled"in B&&t(4,d=B.disabled),"unroundRight"in B&&t(5,p=B.unroundRight),"onChange"in B&&t(17,m=B.onChange),"$$scope"in B&&t(18,a=B.$$scope)},s.$$.update=()=>{s.$$.dirty&1&&(ue(b,o=c,o),ue(x,i=A(c),i))},e=Ts(e),[c,h,f,u,d,p,g,i,n,b,w,x,y,k,S,T,e,m,a,l,K]}class Tg extends gt{constructor(e){super(),mt(this,e,Og,Cg,bt,{label:1,id:2,value:0,placeholder:3,disabled:4,unroundRight:5,onChange:17})}}function yl(s){let e,t;return e=new Vi({props:{name:"checkmark"}}),{c(){H(e.$$.fragment)},l(i){z(e.$$.fragment,i)},m(i,n){q(e,i,n),t=!0},i(i){t||(P(e.$$.fragment,i),t=!0)},o(i){E(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function kl(s){let e,t;return{c(){e=W("span"),t=ae(s[0]),this.h()},l(i){e=F(i,"SPAN",{class:!0});var n=U(e);t=he(n,s[0]),n.forEach(C),this.h()},h(){R(e,"class","option-description svelte-1p96iqw")},m(i,n){$(i,e,n),L(e,t)},p(i,n){n&1&&Et(t,i[0])},d(i){i&&C(e)}}}function Mg(s){let e,t,i,n,r,o,l,a,h,f=s[2]&&yl();const c=s[13].default,u=Kn(c,s,s[12],null);let d=s[0]&&kl(s);return{c(){e=W("li"),t=W("div"),f&&f.c(),i=Q(),n=W("div"),r=W("span"),u&&u.c(),o=Q(),d&&d.c(),this.h()},l(p){e=F(p,"LI",{role:!0,"aria-selected":!0,tabindex:!0,class:!0});var m=U(e);t=F(m,"DIV",{class:!0});var g=U(t);f&&f.l(g),g.forEach(C),i=J(m),n=F(m,"DIV",{class:!0});var b=U(n);r=F(b,"SPAN",{class:!0});var w=U(r);u&&u.l(w),w.forEach(C),o=J(b),d&&d.l(b),b.forEach(C),m.forEach(C),this.h()},h(){R(t,"class","mr-2 w-6"),R(r,"class","option-label svelte-1p96iqw"),R(n,"class","flex grow flex-col"),R(e,"role","option"),R(e,"aria-selected",s[2]),R(e,"tabindex",0),R(e,"class","select-option svelte-1p96iqw"),rt(e,"selected",s[2])},m(p,m){$(p,e,m),L(e,t),f&&f.m(t,null),L(e,i),L(e,n),L(n,r),u&&u.m(r,null),s[14](r),L(n,o),d&&d.m(n,null),s[15](e),l=!0,a||(h=[qt(e,"click",Sn(s[7])),qt(e,"keydown",Sn(hf(s[8])))],a=!0)},p(p,[m]){p[2]?f?m&4&&P(f,1):(f=yl(),f.c(),P(f,1),f.m(t,null)):f&&(ft(),E(f,1,1,()=>{f=null}),ct()),u&&u.p&&(!l||m&4096)&&Gn(u,c,p,p[12],l?Jn(c,p[12],m,null):Qn(p[12]),null),p[0]?d?d.p(p,m):(d=kl(p),d.c(),d.m(n,null)):d&&(d.d(1),d=null),(!l||m&4)&&R(e,"aria-selected",p[2]),(!l||m&4)&&rt(e,"selected",p[2])},i(p){l||(P(f),P(u,p),l=!0)},o(p){E(f),E(u,p),l=!1},d(p){p&&C(e),f&&f.d(),u&&u.d(p),s[14](null),d&&d.d(),s[15](null),a=!1,_l(h)}}}function Dg(s,e,t){let i,n,r,{$$slots:o={},$$scope:l}=e;const{selectValue:a,handleChange:h,options:f,open:c}=ff(Kh);ee(s,a,k=>t(11,r=k)),ee(s,f,k=>t(17,i=k)),ee(s,c,k=>t(18,n=k));const u=Il();let{value:d}=e,{description:p=""}=e,m=!1,g,b,w,x;$i(()=>{b&&(x=b.textContent,i.push({value:d,label:x,nativeElement:w}))}),Yn(()=>{let k=i.findIndex(S=>S.value===d);k!==void 0&&i.splice(k,1)});const y=()=>{h(g),u("click",{value:g})},v=k=>{if(k.key==="Escape"&&n){ue(c,n=!1,n);return}if(n){if(k.key==="Enter"||k.key===" ")y();else if(k.key==="ArrowDown"){const S=i.findIndex(T=>T.value===d);S!==void 0&&ST.value===d);S!==void 0&&S&&S>0&&i[S-1].nativeElement.focus()}}else return};function A(k){Oe[k?"unshift":"push"](()=>{b=k,t(1,b)})}function D(k){Oe[k?"unshift":"push"](()=>{w=k,t(3,w)})}return s.$$set=k=>{"value"in k&&t(9,d=k.value),"description"in k&&t(0,p=k.description),"$$scope"in k&&t(12,l=k.$$scope)},s.$$.update=()=>{s.$$.dirty&3586&&b&&(t(10,g=d??b.textContent),t(2,m=r===g),x=b.textContent)},[p,b,m,w,a,f,c,y,v,d,g,r,l,o,A,D]}class Pg extends gt{constructor(e){super(),mt(this,e,Dg,Mg,bt,{value:9,description:0})}}function vl(s,e,t){const i=s.slice();return i[8]=e[t].value,i[9]=e[t].label,i}function Sl(s,e,t){const i=s.slice();return i[12]=e[t],i}function xl(s){let e,t,i,n,r,o,l,a,h=s[12].eventId+"",f,c,u,d=s[12].eventType+"",p,m,g,b,w;function x(){return s[5](s[12])}return{c(){e=W("li"),t=W("label"),i=W("input"),o=Q(),l=W("p"),a=W("span"),f=ae(h),c=Q(),u=W("span"),p=ae(d),g=Q(),this.h()},l(y){e=F(y,"LI",{class:!0});var v=U(e);t=F(v,"LABEL",{class:!0,for:!0});var A=U(t);i=F(A,"INPUT",{type:!0,name:!0,id:!0}),o=J(A),l=F(A,"P",{class:!0});var D=U(l);a=F(D,"SPAN",{class:!0});var k=U(a);f=he(k,h),k.forEach(C),c=J(D),u=F(D,"SPAN",{class:!0});var S=U(u);p=he(S,d),S.forEach(C),D.forEach(C),A.forEach(C),g=J(v),v.forEach(C),this.h()},h(){R(i,"type","radio"),i.checked=n=s[12].id===s[2],R(i,"name","reset-event-id"),R(i,"id",r="reset-event-"+s[12].id),R(a,"class","text-gray-500 font-medium col-span-1"),R(u,"class","font-semibold"),R(l,"class","grid grid-cols-8"),R(t,"class","flex flex-row items-center gap-2 cursor-pointer px-4 py-2 h-full w-full"),R(t,"for",m="reset-event-"+s[12].id),R(e,"class","w-full h-10 border-b border-primary last-of-type:border-none hover:bg-gradient-to-br from-blue-100 to-purple-100 bg-fixed first-of-type:rounded-t last-of-type:rounded-b")},m(y,v){$(y,e,v),L(e,t),L(t,i),L(t,o),L(t,l),L(l,a),L(a,f),L(l,c),L(l,u),L(u,p),L(e,g),b||(w=qt(i,"click",x),b=!0)},p(y,v){s=y,v&12&&n!==(n=s[12].id===s[2])&&(i.checked=n),v&8&&r!==(r="reset-event-"+s[12].id)&&R(i,"id",r),v&8&&h!==(h=s[12].eventId+"")&&Et(f,h),v&8&&d!==(d=s[12].eventType+"")&&Et(p,d),v&8&&m!==(m="reset-event-"+s[12].id)&&R(t,"for",m)},d(y){y&&C(e),b=!1,w()}}}function Rg(s){let e=s[9]+"",t,i;return{c(){t=ae(e),i=Q()},l(n){t=he(n,e),i=J(n)},m(n,r){$(n,t,r),$(n,i,r)},p:Be,d(n){n&&C(t),n&&C(i)}}}function Al(s){let e,t;return e=new Pg({props:{value:s[8],$$slots:{default:[Rg]},$$scope:{ctx:s}}}),{c(){H(e.$$.fragment)},l(i){z(e.$$.fragment,i)},m(i,n){q(e,i,n),t=!0},p(i,n){const r={};n&32768&&(r.$$scope={dirty:n,ctx:i}),e.$set(r)},i(i){t||(P(e.$$.fragment,i),t=!0)},o(i){E(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function Bg(s){let e,t,i=s[4],n=[];for(let o=0;oE(n[o],1,1,()=>{n[o]=null});return{c(){for(let o=0;ojt(n,"value",u));function p(g){s[7](g)}let m={id:"reset-reason",label:"Reason"};return s[1]!==void 0&&(m.value=s[1]),l=new pr({props:m}),Oe.push(()=>jt(l,"value",p)),{c(){e=W("div"),t=W("ul");for(let g=0;gr=!1)),n.$set(w);const x={};!a&&b&2&&(a=!0,x.value=g[1],Ut(()=>a=!1)),l.$set(x)},i(g){h||(P(n.$$.fragment,g),P(l.$$.fragment,g),h=!0)},o(g){E(n.$$.fragment,g),E(l.$$.fragment,g),h=!1},d(g){g&&C(e),cr(c,g),j(n),j(l)}}}function Ig(s,e,t){let i;ee(s,Vl,c=>t(3,i=c));let{resetReapplyType:n=ti.Unspecified}=e,{reason:r=""}=e,{eventId:o}=e;const l=[{value:ti.Unspecified,label:"All Events"},{value:ti.Signal,label:"Signals Only"},{value:ti.None,label:"None"}],a=c=>t(2,o=c.id);function h(c){n=c,t(0,n)}function f(c){r=c,t(1,r)}return s.$$set=c=>{"resetReapplyType"in c&&t(0,n=c.resetReapplyType),"reason"in c&&t(1,r=c.reason),"eventId"in c&&t(2,o=c.eventId)},[n,r,o,i,l,a,h,f]}class _g extends gt{constructor(e){super(),mt(this,e,Ig,Eg,bt,{resetReapplyType:0,reason:1,eventId:2})}}const Lg=s=>!s.disableWriteActions&&!s.workflowSignalDisabled,Ng=s=>!s.disableWriteActions&&!s.workflowResetDisabled;function Cl(s,e,t){const i=s.slice();return i[49]=e[t].onClick,i[50]=e[t].destructive,i[51]=e[t].label,i[52]=e[t].allowed,i[53]=e[t].testId,i[54]=e[t].tooltip,i}function Ol(s){let e,t;return e=new Gf({}),{c(){H(e.$$.fragment)},l(i){z(e.$$.fragment,i)},m(i,n){q(e,i,n),t=!0},i(i){t||(P(e.$$.fragment,i),t=!0)},o(i){E(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function $g(s){let e=s[51]+"",t,i;return{c(){t=ae(e),i=Q()},l(n){t=he(n,e),i=J(n)},m(n,r){$(n,t,r),$(n,i,r)},p(n,r){r[0]&4096&&e!==(e=n[51]+"")&&Et(t,e)},d(n){n&&C(t),n&&C(i)}}}function Tl(s){let e,t,i,n=s[50]&&Ol();return t=new Df({props:{destructive:s[50],testId:s[53],disabled:!s[52],tooltipProps:{text:s[54],left:!0,width:200},$$slots:{default:[$g]},$$scope:{ctx:s}}}),t.$on("click",function(){Ll(s[49])&&s[49].apply(this,arguments)}),{c(){n&&n.c(),e=Q(),H(t.$$.fragment)},l(r){n&&n.l(r),e=J(r),z(t.$$.fragment,r)},m(r,o){n&&n.m(r,o),$(r,e,o),q(t,r,o),i=!0},p(r,o){s=r,s[50]?n?o[0]&4096&&P(n,1):(n=Ol(),n.c(),P(n,1),n.m(e.parentNode,e)):n&&(ft(),E(n,1,1,()=>{n=null}),ct());const l={};o[0]&4096&&(l.destructive=s[50]),o[0]&4096&&(l.testId=s[53]),o[0]&4096&&(l.disabled=!s[52]),o[0]&4096&&(l.tooltipProps={text:s[54],left:!0,width:200}),o[0]&4096|o[1]&67108864&&(l.$$scope={dirty:o,ctx:s}),t.$set(l)},i(r){i||(P(n),P(t.$$.fragment,r),i=!0)},o(r){E(n),E(t.$$.fragment,r),i=!1},d(r){n&&n.d(r),r&&C(e),j(t,r)}}}function Vg(s){let e,t,i=s[12],n=[];for(let o=0;oE(n[o],1,1,()=>{n[o]=null});return{c(){for(let o=0;ojt(e,"eventId",o)),Oe.push(()=>jt(e,"resetReapplyType",l)),Oe.push(()=>jt(e,"reason",a)),{c(){H(e.$$.fragment)},l(f){z(e.$$.fragment,f)},m(f,c){q(e,f,c),r=!0},p(f,c){const u={};!t&&c[0]&512&&(t=!0,u.eventId=f[9],Ut(()=>t=!1)),!i&&c[0]&256&&(i=!0,u.resetReapplyType=f[8],Ut(()=>i=!1)),!n&&c[0]&1024&&(n=!0,u.reason=f[10],Ut(()=>n=!1)),e.$set(u)},i(f){r||(P(e.$$.fragment,f),r=!0)},o(f){E(e.$$.fragment,f),r=!1},d(f){j(e,f)}}}function Hg(s){let e,t;return{c(){e=W("h3"),t=ae("Cancel Workflow"),this.h()},l(i){e=F(i,"H3",{slot:!0});var n=U(e);t=he(n,"Cancel Workflow"),n.forEach(C),this.h()},h(){R(e,"slot","title")},m(i,n){$(i,e,n),L(e,t)},p:Be,d(i){i&&C(e)}}}function zg(s){let e,t;return{c(){e=W("p"),t=ae(`Are you sure you want to cancel this workflow? This action cannot be - undone.`)},l(i){e=F(i,"P",{});var n=U(e);t=he(n,`Are you sure you want to cancel this workflow? This action cannot be - undone.`),n.forEach(C)},m(i,n){$(i,e,n),L(e,t)},p:Be,d(i){i&&C(e)}}}function qg(s){let e,t;return{c(){e=W("h3"),t=ae("Terminate Workflow"),this.h()},l(i){e=F(i,"H3",{slot:!0});var n=U(e);t=he(n,"Terminate Workflow"),n.forEach(C),this.h()},h(){R(e,"slot","title")},m(i,n){$(i,e,n),L(e,t)},p:Be,d(i){i&&C(e)}}}function jg(s){let e,t,i,n,r,o,l;function a(f){s[39](f)}let h={id:"workflow-termination-reason",class:"mt-4",placeholder:"Enter a reason"};return s[4]!==void 0&&(h.value=s[4]),r=new pr({props:h}),Oe.push(()=>jt(r,"value",a)),{c(){e=W("div"),t=W("p"),i=ae(`Are you sure you want to terminate this workflow? This action cannot be - undone.`),n=Q(),H(r.$$.fragment),this.h()},l(f){e=F(f,"DIV",{slot:!0});var c=U(e);t=F(c,"P",{});var u=U(t);i=he(u,`Are you sure you want to terminate this workflow? This action cannot be - undone.`),u.forEach(C),n=J(c),z(r.$$.fragment,c),c.forEach(C),this.h()},h(){R(e,"slot","content")},m(f,c){$(f,e,c),L(e,t),L(t,i),L(e,n),q(r,e,null),l=!0},p(f,c){const u={};!o&&c[0]&16&&(o=!0,u.value=f[4],Ut(()=>o=!1)),r.$set(u)},i(f){l||(P(r.$$.fragment,f),l=!0)},o(f){E(r.$$.fragment,f),l=!1},d(f){f&&C(e),j(r)}}}function Ug(s){let e,t;return{c(){e=W("h3"),t=ae("Send a Signal"),this.h()},l(i){e=F(i,"H3",{slot:!0});var n=U(e);t=he(n,"Send a Signal"),n.forEach(C),this.h()},h(){R(e,"slot","title")},m(i,n){$(i,e,n),L(e,t)},p:Be,d(i){i&&C(e)}}}function Kg(s){let e,t,i,n,r,o,l,a,h,f,c,u,d;function p(g){s[41](g)}let m={id:"signal-name",label:"Signal name",required:!0};return s[6]!==void 0&&(m.value=s[6]),t=new pr({props:m}),Oe.push(()=>jt(t,"value",p)),u=new Sg({props:{class:"max-h-80 overflow-y-scroll overscroll-contain",value:s[5]}}),u.$on("change",s[20]),{c(){e=W("div"),H(t.$$.fragment),n=Q(),r=W("div"),o=W("span"),l=ae("Input"),a=Q(),h=W("span"),f=ae("(only JSON payloads are supported)"),c=Q(),H(u.$$.fragment),this.h()},l(g){e=F(g,"DIV",{slot:!0,class:!0});var b=U(e);z(t.$$.fragment,b),n=J(b),r=F(b,"DIV",{});var w=U(r);o=F(w,"SPAN",{class:!0});var x=U(o);l=he(x,"Input"),x.forEach(C),a=J(w),h=F(w,"SPAN",{class:!0});var y=U(h);f=he(y,"(only JSON payloads are supported)"),y.forEach(C),c=J(w),z(u.$$.fragment,w),w.forEach(C),b.forEach(C),this.h()},h(){R(o,"class","font-secondary text-sm font-medium"),R(h,"class","font-secondary text-xs font-light italic"),R(e,"slot","content"),R(e,"class","flex flex-col gap-4")},m(g,b){$(g,e,b),q(t,e,null),L(e,n),L(e,r),L(r,o),L(o,l),L(r,a),L(r,h),L(h,f),L(r,c),q(u,r,null),d=!0},p(g,b){const w={};!i&&b[0]&64&&(i=!0,w.value=g[6],Ut(()=>i=!1)),t.$set(w);const x={};b[0]&32&&(x.value=g[5]),u.$set(x)},i(g){d||(P(t.$$.fragment,g),P(u.$$.fragment,g),d=!0)},o(g){E(t.$$.fragment,g),E(u.$$.fragment,g),d=!1},d(g){g&&C(e),j(t),j(u)}}}function Gg(s){let e,t,i,n,r,o,l,a,h,f;e=new Mf({props:{id:"workflow-actions",position:"right",disabled:s[13],primaryActionDisabled:!s[14]||s[0],label:"Request Cancellation",$$slots:{default:[Vg]},$$scope:{ctx:s}}}),e.$on("click",s[33]);let c={id:"reset-confirmation-modal","data-testid":"reset-confirmation-modal",confirmDisabled:!s[9],$$slots:{content:[Fg],title:[Wg]},$$scope:{ctx:s}};i=new Ui({props:c}),s[37](i),i.$on("confirmModal",s[22]),i.$on("cancelModal",s[17]);let u={id:"cancel-confirmation-modal","data-testid":"cancel-confirmation-modal",loading:s[11],confirmType:"destructive",$$slots:{content:[zg],title:[Hg]},$$scope:{ctx:s}};r=new Ui({props:u}),s[38](r),r.$on("confirmModal",s[19]);let d={id:"terminate-confirmation-modal","data-testid":"terminate-confirmation-modal",confirmText:"Terminate",confirmType:"destructive",$$slots:{content:[jg],title:[qg]},$$scope:{ctx:s}};l=new Ui({props:d}),s[40](l),l.$on("cancelModal",s[15]),l.$on("confirmModal",s[18]);let p={id:"signal-confirmation-modal","data-testid":"signal-confirmation-modal",confirmText:"Submit",confirmDisabled:!s[6],$$slots:{content:[Kg],title:[Ug]},$$scope:{ctx:s}};return h=new Ui({props:p}),s[42](h),h.$on("cancelModal",s[16]),h.$on("confirmModal",s[21]),{c(){H(e.$$.fragment),t=Q(),H(i.$$.fragment),n=Q(),H(r.$$.fragment),o=Q(),H(l.$$.fragment),a=Q(),H(h.$$.fragment)},l(m){z(e.$$.fragment,m),t=J(m),z(i.$$.fragment,m),n=J(m),z(r.$$.fragment,m),o=J(m),z(l.$$.fragment,m),a=J(m),z(h.$$.fragment,m)},m(m,g){q(e,m,g),$(m,t,g),q(i,m,g),$(m,n,g),q(r,m,g),$(m,o,g),q(l,m,g),$(m,a,g),q(h,m,g),f=!0},p(m,g){const b={};g[0]&8192&&(b.disabled=m[13]),g[0]&16385&&(b.primaryActionDisabled=!m[14]||m[0]),g[0]&4096|g[1]&67108864&&(b.$$scope={dirty:g,ctx:m}),e.$set(b);const w={};g[0]&512&&(w.confirmDisabled=!m[9]),g[0]&1792|g[1]&67108864&&(w.$$scope={dirty:g,ctx:m}),i.$set(w);const x={};g[0]&2048&&(x.loading=m[11]),g[1]&67108864&&(x.$$scope={dirty:g,ctx:m}),r.$set(x);const y={};g[0]&16|g[1]&67108864&&(y.$$scope={dirty:g,ctx:m}),l.$set(y);const v={};g[0]&64&&(v.confirmDisabled=!m[6]),g[0]&96|g[1]&67108864&&(v.$$scope={dirty:g,ctx:m}),h.$set(v)},i(m){f||(P(e.$$.fragment,m),P(i.$$.fragment,m),P(r.$$.fragment,m),P(l.$$.fragment,m),P(h.$$.fragment,m),f=!0)},o(m){E(e.$$.fragment,m),E(i.$$.fragment,m),E(r.$$.fragment,m),E(l.$$.fragment,m),E(h.$$.fragment,m),f=!1},d(m){j(e,m),m&&C(t),s[37](null),j(i,m),m&&C(n),s[38](null),j(r,m),m&&C(o),s[40](null),j(l,m),m&&C(a),s[42](null),j(h,m)}}}function Qg(s,e,t){let i,n,r,o,l,a,h,f,c,u;ee(s,Vl,_=>t(31,h=_)),ee(s,lt,_=>t(44,f=_)),ee(s,Wl,_=>t(45,c=_)),ee(s,ur,_=>t(32,u=_));var d;let{workflow:p}=e,{namespace:m}=e,{cancelInProgress:g}=e,b="",w="",x="",y,v,A,D,k=ti.Unspecified,S,T,K=!1;const B=()=>{t(4,b="")},te=()=>{t(5,w=""),t(6,x="")},pe=()=>{t(8,k=ti.Unspecified),t(9,S=void 0),t(10,T=void 0)},xe=async()=>{v==null||v.close(),ue(lt,f=Date.now(),f),as.push({id:"workflow-termination-success-toast",message:"Workflow terminated."})},je=_=>{var re;t(4,b=""),v==null||v.setError((re=_==null?void 0:_.message)!==null&&re!==void 0?re:"An unknown error occurred.")},Fi=()=>{p.canBeTerminated&&vf({workflow:p,namespace:m,reason:Hr({action:zr.Terminate,reason:b,email:c.email}),identity:c.email}).then(xe).catch(je)},Ze=async()=>{var _;t(11,K=!0);try{await Sf({namespace:m,workflowId:p.id,runId:p.runId}),y==null||y.close(),t(11,K=!1),ue(lt,f=Date.now(),f),as.push({id:"workflow-cancelation-success-toast",message:"Workflow canceled."})}catch(re){y==null||y.setError((_=re==null?void 0:re.message)!==null&&_!==void 0?_:"An unknown error occurred.")}},Ie=_=>{t(5,w=_.detail)},Ue=async()=>{var _;try{await xf({namespace:m,workflowId:p.id,runId:p.runId,signalInput:w,signalName:x}),D==null||D.close(),ue(lt,f=Date.now(),f),as.push({message:"Workflow signaled.",id:"workflow-signal-success-toast"})}catch(re){D==null||D.setError((_=re==null?void 0:re.message)!==null&&_!==void 0?_:"An unknown error occurred.")}te()},yt=async()=>{var _;try{const re=await Af({namespace:m,workflowId:p.id,runId:p.runId,eventId:S,reason:Hr({action:zr.Reset,reason:T,email:c.email}),resetReapplyType:k});re&&re.runId&&Uh.update(rf=>({...rf,[p.runId]:re.runId})),A==null||A.close(),ue(lt,f=Date.now(),f)}catch(re){A==null||A.setError((_=re==null?void 0:re.message)!==null&&_!==void 0?_:"An unknown error occurred.")}pe()};let kt;const Zt=()=>{var _,re;if(!o)return"Resetting workflows is not enabled, please contact your administrator for assistance.";if(o&&((_=p==null?void 0:p.pendingChildren)===null||_===void 0?void 0:_.length)>0)return"Cannot reset workflows with pending children.";if(o&&((re=p==null?void 0:p.pendingChildren)===null||re===void 0?void 0:re.length)===0&&h.length===0)return"Cannot reset workflows without WorkflowTaskStarted, WorkflowTaskCompleted, or WorkflowTaskTimedOut events."};let mi=Tf();ee(s,mi,_=>t(30,a=_));const Gh=()=>y.open();function Qh(_){S=_,t(9,S)}function Jh(_){k=_,t(8,k)}function Yh(_){T=_,t(10,T)}function Xh(_){Oe[_?"unshift":"push"](()=>{A=_,t(2,A)})}function Zh(_){Oe[_?"unshift":"push"](()=>{y=_,t(7,y)})}function ef(_){b=_,t(4,b)}function tf(_){Oe[_?"unshift":"push"](()=>{v=_,t(1,v)})}function nf(_){x=_,t(6,x)}function sf(_){Oe[_?"unshift":"push"](()=>{D=_,t(3,D)})}return s.$$set=_=>{"workflow"in _&&t(24,p=_.workflow),"namespace"in _&&t(25,m=_.namespace),"cancelInProgress"in _&&t(0,g=_.cancelInProgress)},s.$$.update=()=>{s.$$.dirty[1]&2&&t(14,i=mf(u.data.settings)),s.$$.dirty[1]&2&&t(28,n=Lg(u.data.settings)),s.$$.dirty[1]&2&&t(27,r=bf(u.data.settings)),s.$$.dirty[1]&2&&t(29,o=Ng(u.data.settings)),s.$$.dirty[0]&1023410190|s.$$.dirty[1]&1&&t(12,kt=[{label:"Reset",onClick:()=>A.open(),testId:"reset-button",allowed:o&&(t(26,d=p==null?void 0:p.pendingChildren)===null||d===void 0?void 0:d.length)===0&&h.length>0,tooltip:Zt()},{label:"Send a Signal",onClick:()=>D.open(),testId:"signal-button",allowed:n,tooltip:n?"":"Signaling workflows is not enabled, please contact your administrator for assistance."},{label:"Terminate",onClick:()=>v.open(),testId:"terminate-button",allowed:r,destructive:!0,tooltip:r?"":"Terminating workflows is not enabled, please contact your adminstrator for assistance."}]),s.$$.dirty[0]&1107296256&&t(13,l=a.namespaceWriteDisabled(m)||!kf(Of))},[g,v,A,D,b,w,x,y,k,S,T,K,kt,l,i,B,te,pe,Fi,Ze,Ie,Ue,yt,mi,p,m,d,r,n,o,a,h,u,Gh,Qh,Jh,Yh,Xh,Zh,ef,tf,nf,sf]}class Jg extends gt{constructor(e){super(),mt(this,e,Qg,Gg,bt,{workflow:24,namespace:25,cancelInProgress:0},null,[-1,-1])}}const Ml=s=>{const e=s==null?void 0:s.indexOf("?");return e>-1?s.slice(0,e):s},nt=(s,e,t=!1)=>{const i=Ml(s).split("/"),n=Ml(e).split("/");if(t&&i.length!==n.length)return!1;for(let r=0;rt(2,n=o));let{onChange:r}=e;return s.$$set=o=>{"onChange"in o&&t(0,r=o.onChange)},s.$$.update=()=>{s.$$.dirty&4&&t(1,i=n==="on")},[r,i,n]}class em extends gt{constructor(e){super(),mt(this,e,Zg,Xg,bt,{onChange:0})}}const tm=(s,e)=>{var n;const t=s==="Running",i=(n=e==null?void 0:e.end)==null?void 0:n.some(r=>(r==null?void 0:r.eventType)==="WorkflowExecutionCancelRequested");return t&&i};function Dl(s){let e,t,i,n,r;return t=new em({props:{onChange:s[12]}}),n=new Jg({props:{cancelInProgress:s[6],workflow:s[2],namespace:s[0]}}),{c(){e=W("div"),H(t.$$.fragment),i=Q(),H(n.$$.fragment),this.h()},l(o){e=F(o,"DIV",{class:!0});var l=U(e);z(t.$$.fragment,l),i=J(l),z(n.$$.fragment,l),l.forEach(C),this.h()},h(){R(e,"class","flex flex-col items-center justify-center gap-4 whitespace-nowrap sm:flex-row lg:justify-end")},m(o,l){$(o,e,l),q(t,e,null),L(e,i),q(n,e,null),r=!0},p(o,l){const a={};l&64&&(a.cancelInProgress=o[6]),l&4&&(a.workflow=o[2]),l&1&&(a.namespace=o[0]),n.$set(a)},i(o){r||(P(t.$$.fragment,o),P(n.$$.fragment,o),r=!0)},o(o){E(t.$$.fragment,o),E(n.$$.fragment,o),r=!1},d(o){o&&C(e),j(t),j(n)}}}function Pl(s){let e,t,i,n;return t=new Hl({props:{bold:!0,icon:"info",intent:"info",title:"Cancel Request Sent",role:"status",$$slots:{default:[im]},$$scope:{ctx:s}}}),{c(){e=W("div"),H(t.$$.fragment),this.h()},l(r){e=F(r,"DIV",{class:!0});var o=U(e);z(t.$$.fragment,o),o.forEach(C),this.h()},h(){R(e,"class","mb-4")},m(r,o){$(r,e,o),q(t,e,null),n=!0},i(r){n||(P(t.$$.fragment,r),i||Nl(()=>{i=$l(e,Fl,{duration:200,delay:100}),i.start()}),n=!0)},o(r){E(t.$$.fragment,r),n=!1},d(r){r&&C(e),j(t)}}}function im(s){let e;return{c(){e=ae(`The request to cancel this Workflow Execution has been sent. If the - Workflow uses the cancellation API, it'll cancel at the next available - opportunity.`)},l(t){e=he(t,`The request to cancel this Workflow Execution has been sent. If the - Workflow uses the cancellation API, it'll cancel at the next available - opportunity.`)},m(t,i){$(t,e,i)},d(t){t&&C(e)}}}function Rl(s){let e,t,i,n;return t=new Hl({props:{bold:!0,icon:"info",intent:"info","data-testid":"workflow-reset-alert",title:"This Workflow has been reset",role:"status",$$slots:{default:[sm]},$$scope:{ctx:s}}}),{c(){e=W("div"),H(t.$$.fragment),this.h()},l(r){e=F(r,"DIV",{class:!0});var o=U(e);z(t.$$.fragment,o),o.forEach(C),this.h()},h(){R(e,"class","mb-4")},m(r,o){$(r,e,o),q(t,e,null),n=!0},p(r,o){const l={};o&2097177&&(l.$$scope={dirty:o,ctx:r}),t.$set(l)},i(r){n||(P(t.$$.fragment,r),i||Nl(()=>{i=$l(e,Fl,{duration:200,delay:100}),i.start()}),n=!0)},o(r){E(t.$$.fragment,r),n=!1},d(r){r&&C(e),j(t)}}}function nm(s){let e;return{c(){e=ae("here")},l(t){e=he(t,"here")},m(t,i){$(t,e,i)},d(t){t&&C(e)}}}function sm(s){var r,o,l,a;let e,t,i,n;return t=new _f({props:{href:ii({namespace:s[0],workflow:(o=(r=s[3])==null?void 0:r.workflow)==null?void 0:o.id,run:s[4][(a=(l=s[3])==null?void 0:l.workflow)==null?void 0:a.runId]}),$$slots:{default:[nm]},$$scope:{ctx:s}}}),{c(){e=ae("You can find the resulting Workflow Execution "),H(t.$$.fragment),i=ae(".")},l(h){e=he(h,"You can find the resulting Workflow Execution "),z(t.$$.fragment,h),i=he(h,".")},m(h,f){$(h,e,f),q(t,h,f),$(h,i,f),n=!0},p(h,f){var u,d,p,m;const c={};f&25&&(c.href=ii({namespace:h[0],workflow:(d=(u=h[3])==null?void 0:u.workflow)==null?void 0:d.id,run:h[4][(m=(p=h[3])==null?void 0:p.workflow)==null?void 0:m.runId]})),f&2097152&&(c.$$scope={dirty:f,ctx:h}),t.$set(c)},i(h){n||(P(t.$$.fragment,h),n=!0)},o(h){E(t.$$.fragment,h),n=!1},d(h){h&&C(e),j(t,h),h&&C(i)}}}function rm(s){var i;let e=((i=s[2])==null?void 0:i.historyEvents)+"",t;return{c(){t=ae(e)},l(n){t=he(n,e)},m(n,r){$(n,t,r)},p(n,r){var o;r&4&&e!==(e=((o=n[2])==null?void 0:o.historyEvents)+"")&&Et(t,e)},d(n){n&&C(t)}}}function om(s){let e,t;return e=new dr({props:{type:"blue",class:"px-2 py-0",$$slots:{default:[rm]},$$scope:{ctx:s}}}),{c(){H(e.$$.fragment)},l(i){z(e.$$.fragment,i)},m(i,n){q(e,i,n),t=!0},p(i,n){const r={};n&2097156&&(r.$$scope={dirty:n,ctx:i}),e.$set(r)},i(i){t||(P(e.$$.fragment,i),t=!0)},o(i){E(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function lm(s){var i,n;let e=((n=(i=s[9])==null?void 0:i.pollers)==null?void 0:n.length)+"",t;return{c(){t=ae(e)},l(r){t=he(r,e)},m(r,o){$(r,t,o)},p(r,o){var l,a;o&512&&e!==(e=((a=(l=r[9])==null?void 0:l.pollers)==null?void 0:a.length)+"")&&Et(t,e)},d(r){r&&C(t)}}}function am(s){let e,t;return e=new dr({props:{type:"blue",class:"px-2 py-0",$$slots:{default:[lm]},$$scope:{ctx:s}}}),{c(){H(e.$$.fragment)},l(i){z(e.$$.fragment,i)},m(i,n){q(e,i,n),t=!0},p(i,n){const r={};n&2097664&&(r.$$scope={dirty:n,ctx:i}),e.$set(r)},i(i){t||(P(e.$$.fragment,i),t=!0)},o(i){E(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function Bl(s){let e,t;return e=new Vi({props:{name:"canceled",width:20,height:20}}),{c(){H(e.$$.fragment)},l(i){z(e.$$.fragment,i)},m(i,n){q(e,i,n),t=!0},i(i){t||(P(e.$$.fragment,i),t=!0)},o(i){E(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function hm(s){var o,l;let e,t=((l=(o=s[2])==null?void 0:o.pendingActivities)==null?void 0:l.length)+"",i,n,r=s[7]&&Bl();return{c(){r&&r.c(),e=Q(),i=ae(t)},l(a){r&&r.l(a),e=J(a),i=he(a,t)},m(a,h){r&&r.m(a,h),$(a,e,h),$(a,i,h),n=!0},p(a,h){var f,c;a[7]?r?h&128&&P(r,1):(r=Bl(),r.c(),P(r,1),r.m(e.parentNode,e)):r&&(ft(),E(r,1,1,()=>{r=null}),ct()),(!n||h&4)&&t!==(t=((c=(f=a[2])==null?void 0:f.pendingActivities)==null?void 0:c.length)+"")&&Et(i,t)},i(a){n||(P(r),n=!0)},o(a){E(r),n=!1},d(a){r&&r.d(a),a&&C(e),a&&C(i)}}}function fm(s){let e,t;return e=new dr({props:{type:s[7]?"warning":"blue",class:"px-2 py-0",$$slots:{default:[hm]},$$scope:{ctx:s}}}),{c(){H(e.$$.fragment)},l(i){z(e.$$.fragment,i)},m(i,n){q(e,i,n),t=!0},p(i,n){const r={};n&128&&(r.type=i[7]?"warning":"blue"),n&2097284&&(r.$$scope={dirty:n,ctx:i}),e.$set(r)},i(i){t||(P(e.$$.fragment,i),t=!0)},o(i){E(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function cm(s){let e,t,i,n,r,o,l,a,h,f;return e=new bi({props:{label:"History",id:"history-tab",href:ii({...s[8]}),active:nt(s[11].url.pathname,ii({...s[8]})),$$slots:{default:[om]},$$scope:{ctx:s}}}),i=new bi({props:{label:"Workers",id:"workers-tab",href:Hi(s[8]),active:nt(s[11].url.pathname,Hi(s[8])),$$slots:{default:[am]},$$scope:{ctx:s}}}),r=new bi({props:{label:"Pending Activities",id:"pending-activities-tab",href:zi(s[8]),active:nt(s[11].url.pathname,zi(s[8])),$$slots:{default:[fm]},$$scope:{ctx:s}}}),l=new bi({props:{label:"Stack Trace",id:"stack-trace-tab",href:qi(s[8]),active:nt(s[11].url.pathname,qi(s[8]))}}),h=new bi({props:{label:"Queries",id:"queries-tab",href:ji(s[8]),active:nt(s[11].url.pathname,ji(s[8]))}}),{c(){H(e.$$.fragment),t=Q(),H(i.$$.fragment),n=Q(),H(r.$$.fragment),o=Q(),H(l.$$.fragment),a=Q(),H(h.$$.fragment)},l(c){z(e.$$.fragment,c),t=J(c),z(i.$$.fragment,c),n=J(c),z(r.$$.fragment,c),o=J(c),z(l.$$.fragment,c),a=J(c),z(h.$$.fragment,c)},m(c,u){q(e,c,u),$(c,t,u),q(i,c,u),$(c,n,u),q(r,c,u),$(c,o,u),q(l,c,u),$(c,a,u),q(h,c,u),f=!0},p(c,u){const d={};u&256&&(d.href=ii({...c[8]})),u&2304&&(d.active=nt(c[11].url.pathname,ii({...c[8]}))),u&2097156&&(d.$$scope={dirty:u,ctx:c}),e.$set(d);const p={};u&256&&(p.href=Hi(c[8])),u&2304&&(p.active=nt(c[11].url.pathname,Hi(c[8]))),u&2097664&&(p.$$scope={dirty:u,ctx:c}),i.$set(p);const m={};u&256&&(m.href=zi(c[8])),u&2304&&(m.active=nt(c[11].url.pathname,zi(c[8]))),u&2097284&&(m.$$scope={dirty:u,ctx:c}),r.$set(m);const g={};u&256&&(g.href=qi(c[8])),u&2304&&(g.active=nt(c[11].url.pathname,qi(c[8]))),l.$set(g);const b={};u&256&&(b.href=ji(c[8])),u&2304&&(b.active=nt(c[11].url.pathname,ji(c[8]))),h.$set(b)},i(c){f||(P(e.$$.fragment,c),P(i.$$.fragment,c),P(r.$$.fragment,c),P(l.$$.fragment,c),P(h.$$.fragment,c),f=!0)},o(c){E(e.$$.fragment,c),E(i.$$.fragment,c),E(r.$$.fragment,c),E(l.$$.fragment,c),E(h.$$.fragment,c),f=!1},d(c){j(e,c),c&&C(t),j(i,c),c&&C(n),j(r,c),c&&C(o),j(l,c),c&&C(a),j(h,c)}}}function um(s){let e,t;return e=new Bf({props:{class:"flex flex-wrap gap-6",label:"workflow detail",$$slots:{default:[cm]},$$scope:{ctx:s}}}),{c(){H(e.$$.fragment)},l(i){z(e.$$.fragment,i)},m(i,n){q(e,i,n),t=!0},p(i,n){const r={};n&2100100&&(r.$$scope={dirty:n,ctx:i}),e.$set(r)},i(i){t||(P(e.$$.fragment,i),t=!0)},o(i){E(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function dm(s){var D,k;let e,t,i,n,r,o,l,a,h,f,c,u,d,p,m,g,b,w,x;n=new Vi({props:{name:"chevron-left",class:"inline"}}),f=new yf({props:{status:(D=s[2])==null?void 0:D.status}}),d=new gf({props:{content:(k=s[2])==null?void 0:k.id,clickAllToCopy:!0,"container-class":"w-full",class:"overflow-hidden text-ellipsis"}});let y=s[1]&&Dl(s),v=s[6]&&Pl(s),A=s[5]&&Rl(s);return w=new Rf({props:{$$slots:{default:[um]},$$scope:{ctx:s}}}),{c(){e=W("header"),t=W("div"),i=W("a"),H(n.$$.fragment),r=ae("Back to Workflows"),l=Q(),a=W("div"),h=W("div"),H(f.$$.fragment),c=Q(),u=W("h1"),H(d.$$.fragment),p=Q(),y&&y.c(),m=Q(),v&&v.c(),g=Q(),A&&A.c(),b=Q(),H(w.$$.fragment),this.h()},l(S){e=F(S,"HEADER",{class:!0});var T=U(e);t=F(T,"DIV",{class:!0});var K=U(t);i=F(K,"A",{href:!0,"data-testid":!0,class:!0});var B=U(i);z(n.$$.fragment,B),r=he(B,"Back to Workflows"),B.forEach(C),K.forEach(C),l=J(T),a=F(T,"DIV",{class:!0});var te=U(a);h=F(te,"DIV",{class:!0});var pe=U(h);z(f.$$.fragment,pe),c=J(pe),u=F(pe,"H1",{"data-testid":!0,class:!0});var xe=U(u);z(d.$$.fragment,xe),xe.forEach(C),pe.forEach(C),p=J(te),y&&y.l(te),te.forEach(C),m=J(T),v&&v.l(T),g=J(T),A&&A.l(T),b=J(T),z(w.$$.fragment,T),T.forEach(C),this.h()},h(){R(i,"href",o=`${qr({namespace:s[0]})}?${s[10]}`),R(i,"data-testid","back-to-workflows"),R(i,"class","back-to-workflows svelte-6ohyao"),R(t,"class","mb-4 block"),R(u,"data-testid","workflow-id-heading"),R(u,"class","overflow-hidden text-2xl font-medium"),R(h,"class","flex w-full items-center justify-start gap-4 overflow-hidden whitespace-nowrap lg:w-auto"),R(a,"class","mb-8 flex w-full flex-col items-center justify-between gap-4 lg:flex-row"),R(e,"class","mb-4 flex flex-col gap-1")},m(S,T){$(S,e,T),L(e,t),L(t,i),q(n,i,null),L(i,r),L(e,l),L(e,a),L(a,h),q(f,h,null),L(h,c),L(h,u),q(d,u,null),L(a,p),y&&y.m(a,null),L(e,m),v&&v.m(e,null),L(e,g),A&&A.m(e,null),L(e,b),q(w,e,null),x=!0},p(S,[T]){var pe,xe;(!x||T&1025&&o!==(o=`${qr({namespace:S[0]})}?${S[10]}`))&&R(i,"href",o);const K={};T&4&&(K.status=(pe=S[2])==null?void 0:pe.status),f.$set(K);const B={};T&4&&(B.content=(xe=S[2])==null?void 0:xe.id),d.$set(B),S[1]?y?(y.p(S,T),T&2&&P(y,1)):(y=Dl(S),y.c(),P(y,1),y.m(a,null)):y&&(ft(),E(y,1,1,()=>{y=null}),ct()),S[6]?v?T&64&&P(v,1):(v=Pl(S),v.c(),P(v,1),v.m(e,g)):v&&(ft(),E(v,1,1,()=>{v=null}),ct()),S[5]?A?(A.p(S,T),T&32&&P(A,1)):(A=Rl(S),A.c(),P(A,1),A.m(e,b)):A&&(ft(),E(A,1,1,()=>{A=null}),ct());const te={};T&2100100&&(te.$$scope={dirty:T,ctx:S}),w.$set(te)},i(S){x||(P(n.$$.fragment,S),P(f.$$.fragment,S),P(d.$$.fragment,S),P(y),P(v),P(A),P(w.$$.fragment,S),x=!0)},o(S){E(n.$$.fragment,S),E(f.$$.fragment,S),E(d.$$.fragment,S),E(y),E(v),E(A),E(w.$$.fragment,S),x=!1},d(S){S&&C(e),j(n),j(f),j(d),y&&y.d(),v&&v.d(),A&&A.d(),j(w)}}}const El=15e3;function pm(s,e,t){let i,n,r,o,l,a,h,f,c,u,d,p,m,g;ee(s,dn,k=>t(3,f=k)),ee(s,Uh,k=>t(4,c=k)),ee(s,pn,k=>t(18,u=k)),ee(s,lt,k=>t(19,d=k)),ee(s,gn,k=>t(20,p=k)),ee(s,wf,k=>t(10,m=k)),ee(s,ur,k=>t(11,g=k));var b,w,x,y;let{namespace:v}=e,A;$i(()=>{o&&p==="on"&&(clearInterval(A),t(17,A=setInterval(()=>ue(lt,d=Date.now(),d),El)))});const D=()=>{p==="on"?(ue(gn,p="off",p),clearInterval(A)):(ue(lt,d=Date.now(),d),ue(gn,p="on",p),clearInterval(A),t(17,A=setInterval(()=>ue(lt,d=Date.now(),d),El)))};return Yn(()=>{clearInterval(A)}),s.$$set=k=>{"namespace"in k&&t(0,v=k.namespace)},s.$$.update=()=>{s.$$.dirty&8&&t(2,{workflow:i,workers:n}=f,i,(t(9,n),t(3,f))),s.$$.dirty&5&&t(8,r={namespace:v,workflow:i==null?void 0:i.id,run:i==null?void 0:i.runId}),s.$$.dirty&8200&&t(1,o=t(13,b=f==null?void 0:f.workflow)===null||b===void 0?void 0:b.isRunning),s.$$.dirty&16392&&t(7,l=["Terminated","TimedOut","Canceled"].includes(t(14,w=f.workflow)===null||w===void 0?void 0:w.status)),s.$$.dirty&131074&&(o||clearInterval(A)),s.$$.dirty&294920&&t(6,a=tm(t(15,x=f==null?void 0:f.workflow)===null||x===void 0?void 0:x.status,u)),s.$$.dirty&65560&&t(5,h=If(c,t(16,y=f==null?void 0:f.workflow)===null||y===void 0?void 0:y.runId))},[v,o,i,f,c,h,a,l,r,n,m,g,D,b,w,x,y,A,u]}class gm extends gt{constructor(e){super(),mt(this,e,pm,dm,bt,{namespace:0})}}async function mm({activity:s,namespace:e,settings:t,accessToken:i},{convertWithCodec:n=Wf,convertWithWebsocket:r=Ff,decodeAttributes:o=Hf,encoderEndpoint:l=Vf}={}){const a=zf(t,l),h=qf(t,$f),f={...t,codec:{...t==null?void 0:t.codec,endpoint:a,passAccessToken:h}},c=a?await n({attributes:s,namespace:e,settings:f,accessToken:i}):await r(s);return o(c)}const bm=async({activity:s,namespace:e,settings:t,accessToken:i})=>await mm({activity:s,namespace:e,settings:t,accessToken:i}),wm=async(s,e,t,i)=>{const n=(s==null?void 0:s.pendingActivities)??[],r=[];for(const o of n){const l=await bm({activity:o,namespace:e,settings:t,accessToken:i});r.push(l)}return r};function ym(s){let e,t,i;e=new gm({props:{namespace:s[0].params.namespace}});const n=s[7].default,r=Kn(n,s,s[6],null);return{c(){H(e.$$.fragment),t=Q(),r&&r.c()},l(o){z(e.$$.fragment,o),t=J(o),r&&r.l(o)},m(o,l){q(e,o,l),$(o,t,l),r&&r.m(o,l),i=!0},p(o,l){const a={};l&1&&(a.namespace=o[0].params.namespace),e.$set(a),r&&r.p&&(!i||l&64)&&Gn(r,n,o,o[6],i?Jn(n,o[6],l,null):Qn(o[6]),null)},i(o){i||(P(e.$$.fragment,o),P(r,o),i=!0)},o(o){E(e.$$.fragment,o),E(r,o),i=!1},d(o){j(e,o),o&&C(t),r&&r.d(o)}}}function km(s){let e,t;return e=new Lf({}),{c(){H(e.$$.fragment)},l(i){z(e.$$.fragment,i)},m(i,n){q(e,i,n),t=!0},p:Be,i(i){t||(P(e.$$.fragment,i),t=!0)},o(i){E(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function vm(s){let e,t,i,n;const r=[km,ym],o=[];function l(a,h){return a[1].workflow?1:0}return t=l(s),i=o[t]=r[t](s),{c(){e=W("div"),i.c(),this.h()},l(a){e=F(a,"DIV",{class:!0});var h=U(e);i.l(h),h.forEach(C),this.h()},h(){R(e,"class","flex h-full flex-col gap-6")},m(a,h){$(a,e,h),o[t].m(e,null),n=!0},p(a,[h]){let f=t;t=l(a),t===f?o[t].p(a,h):(ft(),E(o[f],1,1,()=>{o[f]=null}),ct(),i=o[t],i?i.p(a,h):(i=o[t]=r[t](a),i.c()),P(i,1),i.m(e,null))},i(a){n||(P(i),n=!0)},o(a){E(i),n=!1},d(a){a&&C(e),o[t].d()}}}function Sm(s,e,t){let i,n,r,o,l,a,h,f,c,u;ee(s,pn,g=>t(8,o=g)),ee(s,dn,g=>t(1,l=g)),ee(s,Wr,g=>t(9,a=g)),ee(s,Fr,g=>t(10,h=g)),ee(s,ur,g=>t(0,f=g)),ee(s,lt,g=>t(5,c=g)),ee(s,Wl,g=>t(11,u=g));let{$$slots:d={},$$scope:p}=e;const m=async(g,b,w)=>{const{settings:x}=f.data,y=await Cf({namespace:g,workflowId:b,runId:w}),{taskQueue:v}=y,A=await Nf({queue:v,namespace:g});y.pendingActivities=await wm(y,g,x,u==null?void 0:u.accessToken),ue(dn,l={workflow:y,workers:A},l);const D=await df({namespace:g,workflowId:b,runId:w,settings:x,accessToken:u==null?void 0:u.accessToken});ue(pn,o=D,o)};return $i(()=>{const g=f.url.searchParams.get("sort");g&&ue(Fr,h=g,h)}),Yn(()=>{ue(Wr,a=null,a),ue(dn,l=cf,l),ue(pn,o=uf,o)}),s.$$set=g=>{"$$scope"in g&&t(6,p=g.$$scope)},s.$$.update=()=>{s.$$.dirty&1&&t(4,{namespace:i,workflow:n,run:r}=f.params,i,(t(3,n),t(0,f)),(t(2,r),t(0,f))),s.$$.dirty&60&&m(i,n,r)},[f,l,r,n,i,c,p,d]}class xm extends gt{constructor(e){super(),mt(this,e,Sm,vm,bt,{})}}function Am(s){let e;const t=s[0].default,i=Kn(t,s,s[1],null);return{c(){i&&i.c()},l(n){i&&i.l(n)},m(n,r){i&&i.m(n,r),e=!0},p(n,r){i&&i.p&&(!e||r&2)&&Gn(i,t,n,n[1],e?Jn(t,n[1],r,null):Qn(n[1]),null)},i(n){e||(P(i,n),e=!0)},o(n){E(i,n),e=!1},d(n){i&&i.d(n)}}}function Cm(s){let e,t;return e=new xm({props:{$$slots:{default:[Am]},$$scope:{ctx:s}}}),{c(){H(e.$$.fragment)},l(i){z(e.$$.fragment,i)},m(i,n){q(e,i,n),t=!0},p(i,[n]){const r={};n&2&&(r.$$scope={dirty:n,ctx:i}),e.$set(r)},i(i){t||(P(e.$$.fragment,i),t=!0)},o(i){E(e.$$.fragment,i),t=!1},d(i){j(e,i)}}}function Om(s,e,t){let{$$slots:i={},$$scope:n}=e;return Yn(()=>{Uf()}),s.$$set=r=>{"$$scope"in r&&t(1,n=r.$$scope)},[i,n]}class a0 extends gt{constructor(e){super(),mt(this,e,Om,Cm,bt,{})}}export{a0 as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-pending-activities-page.svelte.d124774a.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-pending-activities-page.svelte.3d467d50.js similarity index 99% rename from ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-pending-activities-page.svelte.d124774a.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-pending-activities-page.svelte.3d467d50.js index 4b656e7985..503edefc18 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-pending-activities-page.svelte.d124774a.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-pending-activities-page.svelte.3d467d50.js @@ -1 +1 @@ -import{S as lt,b as rt,a as at,e as J,f as T,z as K,g as E,h as O,j as b,k as c,L as Pe,C as W,D as M,E as j,n as st,F as C,a1 as ft,a2 as nt,au as ot,m as $,w as I,c as k,p as h,q as d,x as A,d as w,u as S,M as u,y as q}from"../chunks/index.d29c66be.js";import{p as ut}from"../chunks/stores.b938c0e3.js";import{w as ct}from"../chunks/workflow-run.2461dc7d.js";import{I as mt}from"../chunks/icon.5aa23970.js";import{B as oe}from"../chunks/badge.2c189bf4.js";import{E as pt}from"../chunks/empty-state.bf113865.js";import{L as _t}from"../chunks/link.d5f6f19e.js";import{C as it}from"../chunks/code-block.fc92cd67.js";import{T as $t,a as ht}from"../chunks/table-header-row.a7bab5a4.js";import{T as dt}from"../chunks/table-row.4a68a50d.js";import{f as te}from"../chunks/format-date.100c5f23.js";import{j as Ce,D as qe}from"../chunks/format-time.66fea38b.js";import{k as Be,l as ze,j as Ue}from"../chunks/format-event-attributes.f0307b43.js";import{t as vt}from"../chunks/time-format.6ef667eb.js";import{t as Ve}from"../chunks/to-time-difference.be87d1bf.js";import{P as bt}from"../chunks/page-title.ba38eecf.js";function Ge(o,e,l){const t=o.slice();t[4]=e[l].id,t[5]=e[l].activityId,t[6]=ot(e[l],["id","activityId"]);const f=t[6].attempt>1;return t[7]=f,t}function gt(o){let e,l;return e=new pt({props:{title:"No Pending Activities"}}),{c(){W(e.$$.fragment)},l(t){M(e.$$.fragment,t)},m(t,f){j(e,t,f),l=!0},p:st,i(t){l||(b(e.$$.fragment,t),l=!0)},o(t){E(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function kt(o){let e,l;return e=new $t({props:{class:"mb-6 w-full min-w-[600px] table-fixed",$$slots:{headers:[Pt],default:[Ht]},$$scope:{ctx:o}}}),{c(){W(e.$$.fragment)},l(t){M(e.$$.fragment,t)},m(t,f){j(e,t,f),l=!0},p(t,f){const r={};f&1027&&(r.$$scope={dirty:f,ctx:t}),e.$set(r)},i(t){l||(b(e.$$.fragment,t),l=!0)},o(t){E(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function wt(o){let e=o[5]+"",l;return{c(){l=I(e)},l(t){l=A(t,e)},m(t,f){T(t,l,f)},p(t,f){f&1&&e!==(e=t[5]+"")&&q(l,e)},d(t){t&&c(l)}}}function Et(o){let e=o[6].activityType+"",l;return{c(){l=I(e)},l(t){l=A(t,e)},m(t,f){T(t,l,f)},p(t,f){f&1&&e!==(e=t[6].activityType+"")&&q(l,e)},d(t){t&&c(l)}}}function Je(o){let e,l;return e=new mt({props:{class:"mr-1",name:"retry"}}),{c(){W(e.$$.fragment)},l(t){M(e.$$.fragment,t)},m(t,f){j(e,t,f),l=!0},i(t){l||(b(e.$$.fragment,t),l=!0)},o(t){E(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function Tt(o){let e,l=o[6].attempt+"",t,f,r=o[7]&&Je();return{c(){r&&r.c(),e=k(),t=I(l)},l(a){r&&r.l(a),e=w(a),t=A(a,l)},m(a,s){r&&r.m(a,s),T(a,e,s),T(a,t,s),f=!0},p(a,s){a[7]?r?s&1&&b(r,1):(r=Je(),r.c(),b(r,1),r.m(e.parentNode,e)):r&&(K(),E(r,1,1,()=>{r=null}),O()),(!f||s&1)&&l!==(l=a[6].attempt+"")&&q(t,l)},i(a){f||(b(r),f=!0)},o(a){E(r),f=!1},d(a){r&&r.d(a),a&&c(e),a&&c(t)}}}function Ke(o){let e,l,t,f,r,a,s,i;r=new oe({props:{type:"error",$$slots:{default:[Lt]},$$scope:{ctx:o}}});let n=o[6].scheduledTime&&Oe(o);return{c(){e=$("li"),l=$("h4"),t=I("Attempts Left"),f=k(),W(r.$$.fragment),a=k(),n&&n.c(),s=J(),this.h()},l(_){e=h(_,"LI",{class:!0});var m=d(e);l=h(m,"H4",{});var g=d(l);t=A(g,"Attempts Left"),g.forEach(c),f=w(m),M(r.$$.fragment,m),m.forEach(c),a=w(_),n&&n.l(_),s=J(),this.h()},h(){S(e,"class","event-table-row svelte-pnunl5")},m(_,m){T(_,e,m),u(e,l),u(l,t),u(e,f),j(r,e,null),T(_,a,m),n&&n.m(_,m),T(_,s,m),i=!0},p(_,m){const g={};m&1025&&(g.$$scope={dirty:m,ctx:_}),r.$set(g),_[6].scheduledTime?n?(n.p(_,m),m&1&&b(n,1)):(n=Oe(_),n.c(),b(n,1),n.m(s.parentNode,s)):n&&(K(),E(n,1,1,()=>{n=null}),O())},i(_){i||(b(r.$$.fragment,_),b(n),i=!0)},o(_){E(r.$$.fragment,_),E(n),i=!1},d(_){_&&c(e),C(r),_&&c(a),n&&n.d(_),_&&c(s)}}}function Lt(o){let e=Be(o[6].maximumAttempts,o[6].attempt)+"",l;return{c(){l=I(e)},l(t){l=A(t,e)},m(t,f){T(t,l,f)},p(t,f){f&1&&e!==(e=Be(t[6].maximumAttempts,t[6].attempt)+"")&&q(l,e)},d(t){t&&c(l)}}}function Oe(o){let e,l,t,f,r,a;return r=new oe({props:{type:"error",$$slots:{default:[It]},$$scope:{ctx:o}}}),{c(){e=$("li"),l=$("h4"),t=I("Next Retry"),f=k(),W(r.$$.fragment),this.h()},l(s){e=h(s,"LI",{class:!0});var i=d(e);l=h(i,"H4",{});var n=d(l);t=A(n,"Next Retry"),n.forEach(c),f=w(i),M(r.$$.fragment,i),i.forEach(c),this.h()},h(){S(e,"class","event-table-row svelte-pnunl5")},m(s,i){T(s,e,i),u(e,l),u(l,t),u(e,f),j(r,e,null),a=!0},p(s,i){const n={};i&1025&&(n.$$scope={dirty:i,ctx:s}),r.$set(n)},i(s){a||(b(r.$$.fragment,s),a=!0)},o(s){E(r.$$.fragment,s),a=!1},d(s){s&&c(e),C(r)}}}function It(o){let e=Ve({date:o[6].scheduledTime,negativeDefault:"None"})+"",l;return{c(){l=I(e)},l(t){l=A(t,e)},m(t,f){T(t,l,f)},p(t,f){f&1&&e!==(e=Ve({date:t[6].scheduledTime,negativeDefault:"None"})+"")&&q(l,e)},d(t){t&&c(l)}}}function At(o){let e=ze(o[6].maximumAttempts)+"",l;return{c(){l=I(e)},l(t){l=A(t,e)},m(t,f){T(t,l,f)},p(t,f){f&1&&e!==(e=ze(t[6].maximumAttempts)+"")&&q(l,e)},d(t){t&&c(l)}}}function Qe(o){let e,l,t,f,r,a,s,i=Ue(o[6].maximumAttempts,Ce(qe({start:Date.now(),end:o[6].expirationTime})))+"",n,_,m=o[6].heartbeatDetails&&Xe(o),g=o[6].lastFailure&&Ye(o);return{c(){m&&m.c(),e=k(),g&&g.c(),l=k(),t=$("li"),f=$("h4"),r=I("Retry Expiration"),a=k(),s=$("p"),n=I(i),this.h()},l(v){m&&m.l(v),e=w(v),g&&g.l(v),l=w(v),t=h(v,"LI",{class:!0});var H=d(t);f=h(H,"H4",{});var X=d(f);r=A(X,"Retry Expiration"),X.forEach(c),a=w(H),s=h(H,"P",{});var Y=d(s);n=A(Y,i),Y.forEach(c),H.forEach(c),this.h()},h(){S(t,"class","event-table-row svelte-pnunl5")},m(v,H){m&&m.m(v,H),T(v,e,H),g&&g.m(v,H),T(v,l,H),T(v,t,H),u(t,f),u(f,r),u(t,a),u(t,s),u(s,n),_=!0},p(v,H){v[6].heartbeatDetails?m?(m.p(v,H),H&1&&b(m,1)):(m=Xe(v),m.c(),b(m,1),m.m(e.parentNode,e)):m&&(K(),E(m,1,1,()=>{m=null}),O()),v[6].lastFailure?g?(g.p(v,H),H&1&&b(g,1)):(g=Ye(v),g.c(),b(g,1),g.m(l.parentNode,l)):g&&(K(),E(g,1,1,()=>{g=null}),O()),(!_||H&1)&&i!==(i=Ue(v[6].maximumAttempts,Ce(qe({start:Date.now(),end:v[6].expirationTime})))+"")&&q(n,i)},i(v){_||(b(m),b(g),_=!0)},o(v){E(m),E(g),_=!1},d(v){m&&m.d(v),v&&c(e),g&&g.d(v),v&&c(l),v&&c(t)}}}function Xe(o){let e,l,t,f,r,a;return r=new it({props:{slot:"value",class:"pb-2",content:o[6].heartbeatDetails}}),{c(){e=$("li"),l=$("h4"),t=I("Heartbeat Details"),f=k(),W(r.$$.fragment),this.h()},l(s){e=h(s,"LI",{class:!0});var i=d(e);l=h(i,"H4",{});var n=d(l);t=A(n,"Heartbeat Details"),n.forEach(c),f=w(i),M(r.$$.fragment,i),i.forEach(c),this.h()},h(){S(e,"class","event-table-row svelte-pnunl5")},m(s,i){T(s,e,i),u(e,l),u(l,t),u(e,f),j(r,e,null),a=!0},p(s,i){const n={};i&1&&(n.content=s[6].heartbeatDetails),r.$set(n)},i(s){a||(b(r.$$.fragment,s),a=!0)},o(s){E(r.$$.fragment,s),a=!1},d(s){s&&c(e),C(r)}}}function Ye(o){let e,l,t,f,r,a;return r=new it({props:{slot:"value",class:"pb-2",content:o[6].lastFailure}}),{c(){e=$("li"),l=$("h4"),t=I("Last Failure"),f=k(),W(r.$$.fragment),this.h()},l(s){e=h(s,"LI",{class:!0});var i=d(e);l=h(i,"H4",{});var n=d(l);t=A(n,"Last Failure"),n.forEach(c),f=w(i),M(r.$$.fragment,i),i.forEach(c),this.h()},h(){S(e,"class","event-table-row svelte-pnunl5")},m(s,i){T(s,e,i),u(e,l),u(l,t),u(e,f),j(r,e,null),a=!0},p(s,i){const n={};i&1&&(n.content=s[6].lastFailure),r.$set(n)},i(s){a||(b(r.$$.fragment,s),a=!0)},o(s){E(r.$$.fragment,s),a=!1},d(s){s&&c(e),C(r)}}}function Ze(o){let e,l,t,f,r,a=te(o[6].lastStartedTime,o[1])+"",s;return{c(){e=$("li"),l=$("h4"),t=I("Last Started Time"),f=k(),r=$("p"),s=I(a),this.h()},l(i){e=h(i,"LI",{class:!0});var n=d(e);l=h(n,"H4",{});var _=d(l);t=A(_,"Last Started Time"),_.forEach(c),f=w(n),r=h(n,"P",{});var m=d(r);s=A(m,a),m.forEach(c),n.forEach(c),this.h()},h(){S(e,"class","event-table-row svelte-pnunl5")},m(i,n){T(i,e,n),u(e,l),u(l,t),u(e,f),u(e,r),u(r,s)},p(i,n){n&3&&a!==(a=te(i[6].lastStartedTime,i[1])+"")&&q(s,a)},d(i){i&&c(e)}}}function xe(o){let e,l,t,f,r,a=te(o[6].scheduledTime,o[1])+"",s;return{c(){e=$("li"),l=$("h4"),t=I("Scheduled Time"),f=k(),r=$("p"),s=I(a),this.h()},l(i){e=h(i,"LI",{class:!0});var n=d(e);l=h(n,"H4",{});var _=d(l);t=A(_,"Scheduled Time"),_.forEach(c),f=w(n),r=h(n,"P",{});var m=d(r);s=A(m,a),m.forEach(c),n.forEach(c),this.h()},h(){S(e,"class","event-table-row svelte-pnunl5")},m(i,n){T(i,e,n),u(e,l),u(l,t),u(e,f),u(e,r),u(r,s)},p(i,n){n&3&&a!==(a=te(i[6].scheduledTime,i[1])+"")&&q(s,a)},d(i){i&&c(e)}}}function et(o){let e,l,t,f,r,a=o[6].lastWorkerIdentity+"",s;return{c(){e=$("li"),l=$("h4"),t=I("Last Worker Identity"),f=k(),r=$("p"),s=I(a),this.h()},l(i){e=h(i,"LI",{class:!0});var n=d(e);l=h(n,"H4",{});var _=d(l);t=A(_,"Last Worker Identity"),_.forEach(c),f=w(n),r=h(n,"P",{});var m=d(r);s=A(m,a),m.forEach(c),n.forEach(c),this.h()},h(){S(e,"class","event-table-row svelte-pnunl5")},m(i,n){T(i,e,n),u(e,l),u(l,t),u(e,f),u(e,r),u(r,s)},p(i,n){n&1&&a!==(a=i[6].lastWorkerIdentity+"")&&q(s,a)},d(i){i&&c(e)}}}function Dt(o){let e,l,t,f,r,a,s,i,n,_,m,g,v,H,X,Y,B,ke,ue,z,le,we,Ee,U,Te,ce,V,re,Le,Ie,ae,se=te(o[6].lastHeartbeatTime,"relative")+"",me,Ae,G,ie,De,He,fe,ne=o[6].state+"",pe,ye,_e,$e,he,Z;t=new _t({props:{href:"#"+o[4],$$slots:{default:[wt]},$$scope:{ctx:o}}}),m=new oe({props:{type:o[7]?"error":"default",$$slots:{default:[Et]},$$scope:{ctx:o}}}),B=new oe({props:{type:o[7]?"error":"default",$$slots:{default:[Tt]},$$scope:{ctx:o}}});let y=o[7]&&Ke(o);U=new oe({props:{$$slots:{default:[At]},$$scope:{ctx:o}}});let P=o[7]&&Qe(o),N=o[6].lastStartedTime&&Ze(o),F=o[6].scheduledTime&&xe(o),R=o[6].lastWorkerIdentity&&et(o);return{c(){e=$("td"),l=$("div"),W(t.$$.fragment),f=k(),r=$("td"),a=$("ul"),s=$("li"),i=$("h4"),n=I("Activity Type"),_=k(),W(m.$$.fragment),g=k(),v=$("li"),H=$("h4"),X=I("Attempt"),Y=k(),W(B.$$.fragment),ke=k(),y&&y.c(),ue=k(),z=$("li"),le=$("h4"),we=I("Maximum Attempts"),Ee=k(),W(U.$$.fragment),Te=k(),P&&P.c(),ce=k(),V=$("li"),re=$("h4"),Le=I("Last Heartbeat"),Ie=k(),ae=$("p"),me=I(se),Ae=k(),G=$("li"),ie=$("h4"),De=I("State"),He=k(),fe=$("p"),pe=I(ne),ye=k(),N&&N.c(),_e=k(),F&&F.c(),$e=k(),R&&R.c(),he=k(),this.h()},l(p){e=h(p,"TD",{class:!0});var L=d(e);l=h(L,"DIV",{class:!0});var x=d(l);M(t.$$.fragment,x),x.forEach(c),L.forEach(c),f=w(p),r=h(p,"TD",{class:!0});var ee=d(r);a=h(ee,"UL",{});var D=d(a);s=h(D,"LI",{class:!0});var Q=d(s);i=h(Q,"H4",{class:!0});var Se=d(i);n=A(Se,"Activity Type"),Se.forEach(c),_=w(Q),M(m.$$.fragment,Q),Q.forEach(c),g=w(D),v=h(D,"LI",{class:!0});var de=d(v);H=h(de,"H4",{});var Ne=d(H);X=A(Ne,"Attempt"),Ne.forEach(c),Y=w(de),M(B.$$.fragment,de),de.forEach(c),ke=w(D),y&&y.l(D),ue=w(D),z=h(D,"LI",{class:!0});var ve=d(z);le=h(ve,"H4",{});var Fe=d(le);we=A(Fe,"Maximum Attempts"),Fe.forEach(c),Ee=w(ve),M(U.$$.fragment,ve),ve.forEach(c),Te=w(D),P&&P.l(D),ce=w(D),V=h(D,"LI",{class:!0});var be=d(V);re=h(be,"H4",{});var Re=d(re);Le=A(Re,"Last Heartbeat"),Re.forEach(c),Ie=w(be),ae=h(be,"P",{});var We=d(ae);me=A(We,se),We.forEach(c),be.forEach(c),Ae=w(D),G=h(D,"LI",{class:!0});var ge=d(G);ie=h(ge,"H4",{});var Me=d(ie);De=A(Me,"State"),Me.forEach(c),He=w(ge),fe=h(ge,"P",{});var je=d(fe);pe=A(je,ne),je.forEach(c),ge.forEach(c),ye=w(D),N&&N.l(D),_e=w(D),F&&F.l(D),$e=w(D),R&&R.l(D),D.forEach(c),ee.forEach(c),he=w(p),this.h()},h(){S(l,"class","pt-1"),S(e,"class","w-44 items-start break-all py-5 pl-5 pr-2 align-top"),S(i,"class","font-semibold"),S(s,"class","event-table-row svelte-pnunl5"),S(v,"class","event-table-row svelte-pnunl5"),S(z,"class","event-table-row svelte-pnunl5"),S(V,"class","event-table-row svelte-pnunl5"),S(G,"class","event-table-row svelte-pnunl5"),S(r,"class","py-4 px-5")},m(p,L){T(p,e,L),u(e,l),j(t,l,null),T(p,f,L),T(p,r,L),u(r,a),u(a,s),u(s,i),u(i,n),u(s,_),j(m,s,null),u(a,g),u(a,v),u(v,H),u(H,X),u(v,Y),j(B,v,null),u(a,ke),y&&y.m(a,null),u(a,ue),u(a,z),u(z,le),u(le,we),u(z,Ee),j(U,z,null),u(a,Te),P&&P.m(a,null),u(a,ce),u(a,V),u(V,re),u(re,Le),u(V,Ie),u(V,ae),u(ae,me),u(a,Ae),u(a,G),u(G,ie),u(ie,De),u(G,He),u(G,fe),u(fe,pe),u(a,ye),N&&N.m(a,null),u(a,_e),F&&F.m(a,null),u(a,$e),R&&R.m(a,null),T(p,he,L),Z=!0},p(p,L){const x={};L&1&&(x.href="#"+p[4]),L&1025&&(x.$$scope={dirty:L,ctx:p}),t.$set(x);const ee={};L&1&&(ee.type=p[7]?"error":"default"),L&1025&&(ee.$$scope={dirty:L,ctx:p}),m.$set(ee);const D={};L&1&&(D.type=p[7]?"error":"default"),L&1025&&(D.$$scope={dirty:L,ctx:p}),B.$set(D),p[7]?y?(y.p(p,L),L&1&&b(y,1)):(y=Ke(p),y.c(),b(y,1),y.m(a,ue)):y&&(K(),E(y,1,1,()=>{y=null}),O());const Q={};L&1025&&(Q.$$scope={dirty:L,ctx:p}),U.$set(Q),p[7]?P?(P.p(p,L),L&1&&b(P,1)):(P=Qe(p),P.c(),b(P,1),P.m(a,ce)):P&&(K(),E(P,1,1,()=>{P=null}),O()),(!Z||L&1)&&se!==(se=te(p[6].lastHeartbeatTime,"relative")+"")&&q(me,se),(!Z||L&1)&&ne!==(ne=p[6].state+"")&&q(pe,ne),p[6].lastStartedTime?N?N.p(p,L):(N=Ze(p),N.c(),N.m(a,_e)):N&&(N.d(1),N=null),p[6].scheduledTime?F?F.p(p,L):(F=xe(p),F.c(),F.m(a,$e)):F&&(F.d(1),F=null),p[6].lastWorkerIdentity?R?R.p(p,L):(R=et(p),R.c(),R.m(a,null)):R&&(R.d(1),R=null)},i(p){Z||(b(t.$$.fragment,p),b(m.$$.fragment,p),b(B.$$.fragment,p),b(y),b(U.$$.fragment,p),b(P),Z=!0)},o(p){E(t.$$.fragment,p),E(m.$$.fragment,p),E(B.$$.fragment,p),E(y),E(U.$$.fragment,p),E(P),Z=!1},d(p){p&&c(e),C(t),p&&c(f),p&&c(r),C(m),C(B),y&&y.d(),C(U),P&&P.d(),N&&N.d(),F&&F.d(),R&&R.d(),p&&c(he)}}}function tt(o,e){let l,t,f;return t=new dt({props:{$$slots:{default:[Dt]},$$scope:{ctx:e}}}),{key:o,first:null,c(){l=J(),W(t.$$.fragment),this.h()},l(r){l=J(),M(t.$$.fragment,r),this.h()},h(){this.first=l},m(r,a){T(r,l,a),j(t,r,a),f=!0},p(r,a){e=r;const s={};a&1027&&(s.$$scope={dirty:a,ctx:e}),t.$set(s)},i(r){f||(b(t.$$.fragment,r),f=!0)},o(r){E(t.$$.fragment,r),f=!1},d(r){r&&c(l),C(t,r)}}}function Ht(o){let e=[],l=new Map,t,f,r=o[0];const a=s=>s[4];for(let s=0;s{a[_]=null}),O(),l=a[e],l?l.p(i,n):(l=a[e]=r[e](i),l.c()),b(l,1),l.m(t.parentNode,t))},i(i){f||(b(l),f=!0)},o(i){E(l),f=!1},d(i){a[e].d(i),i&&c(t)}}}function Nt(o,e,l){let t,f,r;Pe(o,ct,s=>l(3,f=s)),Pe(o,vt,s=>l(1,r=s));var a;return o.$$.update=()=>{o.$$.dirty&12&&l(0,t=l(2,a=f.workflow)===null||a===void 0?void 0:a.pendingActivities)},[t,r,a,f]}class Ft extends lt{constructor(e){super(),rt(this,e,Nt,St,at,{})}}function Rt(o){let e,l,t,f;return e=new bt({props:{title:`Pending Activities | ${o[1]}`,url:o[0].url.href}}),t=new Ft({}),{c(){W(e.$$.fragment),l=k(),W(t.$$.fragment)},l(r){M(e.$$.fragment,r),l=w(r),M(t.$$.fragment,r)},m(r,a){j(e,r,a),T(r,l,a),j(t,r,a),f=!0},p(r,[a]){const s={};a&1&&(s.url=r[0].url.href),e.$set(s)},i(r){f||(b(e.$$.fragment,r),b(t.$$.fragment,r),f=!0)},o(r){E(e.$$.fragment,r),E(t.$$.fragment,r),f=!1},d(r){C(e,r),r&&c(l),C(t,r)}}}function Wt(o,e,l){let t;Pe(o,ut,r=>l(0,t=r));const f=t.params.workflow;return[t,f]}class xt extends lt{constructor(e){super(),rt(this,e,Wt,Rt,at,{})}}export{xt as default}; +import{S as lt,b as rt,a as at,e as J,f as T,z as K,g as E,h as O,j as b,k as c,L as Pe,C as W,D as M,E as j,n as st,F as C,a1 as ft,a2 as nt,au as ot,m as $,w as I,c as k,p as h,q as d,x as A,d as w,u as S,M as u,y as q}from"../chunks/index.d29c66be.js";import{p as ut}from"../chunks/stores.8c019868.js";import{w as ct}from"../chunks/workflow-run.2461dc7d.js";import{I as mt}from"../chunks/icon.5aa23970.js";import{B as oe}from"../chunks/badge.2c189bf4.js";import{E as pt}from"../chunks/empty-state.bf113865.js";import{L as _t}from"../chunks/link.d5f6f19e.js";import{C as it}from"../chunks/code-block.fc92cd67.js";import{T as $t,a as ht}from"../chunks/table-header-row.a7bab5a4.js";import{T as dt}from"../chunks/table-row.4a68a50d.js";import{f as te}from"../chunks/format-date.100c5f23.js";import{j as Ce,D as qe}from"../chunks/format-time.66fea38b.js";import{k as Be,l as ze,j as Ue}from"../chunks/format-event-attributes.f0307b43.js";import{t as vt}from"../chunks/time-format.6ef667eb.js";import{t as Ve}from"../chunks/to-time-difference.be87d1bf.js";import{P as bt}from"../chunks/page-title.ba38eecf.js";function Ge(o,e,l){const t=o.slice();t[4]=e[l].id,t[5]=e[l].activityId,t[6]=ot(e[l],["id","activityId"]);const f=t[6].attempt>1;return t[7]=f,t}function gt(o){let e,l;return e=new pt({props:{title:"No Pending Activities"}}),{c(){W(e.$$.fragment)},l(t){M(e.$$.fragment,t)},m(t,f){j(e,t,f),l=!0},p:st,i(t){l||(b(e.$$.fragment,t),l=!0)},o(t){E(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function kt(o){let e,l;return e=new $t({props:{class:"mb-6 w-full min-w-[600px] table-fixed",$$slots:{headers:[Pt],default:[Ht]},$$scope:{ctx:o}}}),{c(){W(e.$$.fragment)},l(t){M(e.$$.fragment,t)},m(t,f){j(e,t,f),l=!0},p(t,f){const r={};f&1027&&(r.$$scope={dirty:f,ctx:t}),e.$set(r)},i(t){l||(b(e.$$.fragment,t),l=!0)},o(t){E(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function wt(o){let e=o[5]+"",l;return{c(){l=I(e)},l(t){l=A(t,e)},m(t,f){T(t,l,f)},p(t,f){f&1&&e!==(e=t[5]+"")&&q(l,e)},d(t){t&&c(l)}}}function Et(o){let e=o[6].activityType+"",l;return{c(){l=I(e)},l(t){l=A(t,e)},m(t,f){T(t,l,f)},p(t,f){f&1&&e!==(e=t[6].activityType+"")&&q(l,e)},d(t){t&&c(l)}}}function Je(o){let e,l;return e=new mt({props:{class:"mr-1",name:"retry"}}),{c(){W(e.$$.fragment)},l(t){M(e.$$.fragment,t)},m(t,f){j(e,t,f),l=!0},i(t){l||(b(e.$$.fragment,t),l=!0)},o(t){E(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function Tt(o){let e,l=o[6].attempt+"",t,f,r=o[7]&&Je();return{c(){r&&r.c(),e=k(),t=I(l)},l(a){r&&r.l(a),e=w(a),t=A(a,l)},m(a,s){r&&r.m(a,s),T(a,e,s),T(a,t,s),f=!0},p(a,s){a[7]?r?s&1&&b(r,1):(r=Je(),r.c(),b(r,1),r.m(e.parentNode,e)):r&&(K(),E(r,1,1,()=>{r=null}),O()),(!f||s&1)&&l!==(l=a[6].attempt+"")&&q(t,l)},i(a){f||(b(r),f=!0)},o(a){E(r),f=!1},d(a){r&&r.d(a),a&&c(e),a&&c(t)}}}function Ke(o){let e,l,t,f,r,a,s,i;r=new oe({props:{type:"error",$$slots:{default:[Lt]},$$scope:{ctx:o}}});let n=o[6].scheduledTime&&Oe(o);return{c(){e=$("li"),l=$("h4"),t=I("Attempts Left"),f=k(),W(r.$$.fragment),a=k(),n&&n.c(),s=J(),this.h()},l(_){e=h(_,"LI",{class:!0});var m=d(e);l=h(m,"H4",{});var g=d(l);t=A(g,"Attempts Left"),g.forEach(c),f=w(m),M(r.$$.fragment,m),m.forEach(c),a=w(_),n&&n.l(_),s=J(),this.h()},h(){S(e,"class","event-table-row svelte-pnunl5")},m(_,m){T(_,e,m),u(e,l),u(l,t),u(e,f),j(r,e,null),T(_,a,m),n&&n.m(_,m),T(_,s,m),i=!0},p(_,m){const g={};m&1025&&(g.$$scope={dirty:m,ctx:_}),r.$set(g),_[6].scheduledTime?n?(n.p(_,m),m&1&&b(n,1)):(n=Oe(_),n.c(),b(n,1),n.m(s.parentNode,s)):n&&(K(),E(n,1,1,()=>{n=null}),O())},i(_){i||(b(r.$$.fragment,_),b(n),i=!0)},o(_){E(r.$$.fragment,_),E(n),i=!1},d(_){_&&c(e),C(r),_&&c(a),n&&n.d(_),_&&c(s)}}}function Lt(o){let e=Be(o[6].maximumAttempts,o[6].attempt)+"",l;return{c(){l=I(e)},l(t){l=A(t,e)},m(t,f){T(t,l,f)},p(t,f){f&1&&e!==(e=Be(t[6].maximumAttempts,t[6].attempt)+"")&&q(l,e)},d(t){t&&c(l)}}}function Oe(o){let e,l,t,f,r,a;return r=new oe({props:{type:"error",$$slots:{default:[It]},$$scope:{ctx:o}}}),{c(){e=$("li"),l=$("h4"),t=I("Next Retry"),f=k(),W(r.$$.fragment),this.h()},l(s){e=h(s,"LI",{class:!0});var i=d(e);l=h(i,"H4",{});var n=d(l);t=A(n,"Next Retry"),n.forEach(c),f=w(i),M(r.$$.fragment,i),i.forEach(c),this.h()},h(){S(e,"class","event-table-row svelte-pnunl5")},m(s,i){T(s,e,i),u(e,l),u(l,t),u(e,f),j(r,e,null),a=!0},p(s,i){const n={};i&1025&&(n.$$scope={dirty:i,ctx:s}),r.$set(n)},i(s){a||(b(r.$$.fragment,s),a=!0)},o(s){E(r.$$.fragment,s),a=!1},d(s){s&&c(e),C(r)}}}function It(o){let e=Ve({date:o[6].scheduledTime,negativeDefault:"None"})+"",l;return{c(){l=I(e)},l(t){l=A(t,e)},m(t,f){T(t,l,f)},p(t,f){f&1&&e!==(e=Ve({date:t[6].scheduledTime,negativeDefault:"None"})+"")&&q(l,e)},d(t){t&&c(l)}}}function At(o){let e=ze(o[6].maximumAttempts)+"",l;return{c(){l=I(e)},l(t){l=A(t,e)},m(t,f){T(t,l,f)},p(t,f){f&1&&e!==(e=ze(t[6].maximumAttempts)+"")&&q(l,e)},d(t){t&&c(l)}}}function Qe(o){let e,l,t,f,r,a,s,i=Ue(o[6].maximumAttempts,Ce(qe({start:Date.now(),end:o[6].expirationTime})))+"",n,_,m=o[6].heartbeatDetails&&Xe(o),g=o[6].lastFailure&&Ye(o);return{c(){m&&m.c(),e=k(),g&&g.c(),l=k(),t=$("li"),f=$("h4"),r=I("Retry Expiration"),a=k(),s=$("p"),n=I(i),this.h()},l(v){m&&m.l(v),e=w(v),g&&g.l(v),l=w(v),t=h(v,"LI",{class:!0});var H=d(t);f=h(H,"H4",{});var X=d(f);r=A(X,"Retry Expiration"),X.forEach(c),a=w(H),s=h(H,"P",{});var Y=d(s);n=A(Y,i),Y.forEach(c),H.forEach(c),this.h()},h(){S(t,"class","event-table-row svelte-pnunl5")},m(v,H){m&&m.m(v,H),T(v,e,H),g&&g.m(v,H),T(v,l,H),T(v,t,H),u(t,f),u(f,r),u(t,a),u(t,s),u(s,n),_=!0},p(v,H){v[6].heartbeatDetails?m?(m.p(v,H),H&1&&b(m,1)):(m=Xe(v),m.c(),b(m,1),m.m(e.parentNode,e)):m&&(K(),E(m,1,1,()=>{m=null}),O()),v[6].lastFailure?g?(g.p(v,H),H&1&&b(g,1)):(g=Ye(v),g.c(),b(g,1),g.m(l.parentNode,l)):g&&(K(),E(g,1,1,()=>{g=null}),O()),(!_||H&1)&&i!==(i=Ue(v[6].maximumAttempts,Ce(qe({start:Date.now(),end:v[6].expirationTime})))+"")&&q(n,i)},i(v){_||(b(m),b(g),_=!0)},o(v){E(m),E(g),_=!1},d(v){m&&m.d(v),v&&c(e),g&&g.d(v),v&&c(l),v&&c(t)}}}function Xe(o){let e,l,t,f,r,a;return r=new it({props:{slot:"value",class:"pb-2",content:o[6].heartbeatDetails}}),{c(){e=$("li"),l=$("h4"),t=I("Heartbeat Details"),f=k(),W(r.$$.fragment),this.h()},l(s){e=h(s,"LI",{class:!0});var i=d(e);l=h(i,"H4",{});var n=d(l);t=A(n,"Heartbeat Details"),n.forEach(c),f=w(i),M(r.$$.fragment,i),i.forEach(c),this.h()},h(){S(e,"class","event-table-row svelte-pnunl5")},m(s,i){T(s,e,i),u(e,l),u(l,t),u(e,f),j(r,e,null),a=!0},p(s,i){const n={};i&1&&(n.content=s[6].heartbeatDetails),r.$set(n)},i(s){a||(b(r.$$.fragment,s),a=!0)},o(s){E(r.$$.fragment,s),a=!1},d(s){s&&c(e),C(r)}}}function Ye(o){let e,l,t,f,r,a;return r=new it({props:{slot:"value",class:"pb-2",content:o[6].lastFailure}}),{c(){e=$("li"),l=$("h4"),t=I("Last Failure"),f=k(),W(r.$$.fragment),this.h()},l(s){e=h(s,"LI",{class:!0});var i=d(e);l=h(i,"H4",{});var n=d(l);t=A(n,"Last Failure"),n.forEach(c),f=w(i),M(r.$$.fragment,i),i.forEach(c),this.h()},h(){S(e,"class","event-table-row svelte-pnunl5")},m(s,i){T(s,e,i),u(e,l),u(l,t),u(e,f),j(r,e,null),a=!0},p(s,i){const n={};i&1&&(n.content=s[6].lastFailure),r.$set(n)},i(s){a||(b(r.$$.fragment,s),a=!0)},o(s){E(r.$$.fragment,s),a=!1},d(s){s&&c(e),C(r)}}}function Ze(o){let e,l,t,f,r,a=te(o[6].lastStartedTime,o[1])+"",s;return{c(){e=$("li"),l=$("h4"),t=I("Last Started Time"),f=k(),r=$("p"),s=I(a),this.h()},l(i){e=h(i,"LI",{class:!0});var n=d(e);l=h(n,"H4",{});var _=d(l);t=A(_,"Last Started Time"),_.forEach(c),f=w(n),r=h(n,"P",{});var m=d(r);s=A(m,a),m.forEach(c),n.forEach(c),this.h()},h(){S(e,"class","event-table-row svelte-pnunl5")},m(i,n){T(i,e,n),u(e,l),u(l,t),u(e,f),u(e,r),u(r,s)},p(i,n){n&3&&a!==(a=te(i[6].lastStartedTime,i[1])+"")&&q(s,a)},d(i){i&&c(e)}}}function xe(o){let e,l,t,f,r,a=te(o[6].scheduledTime,o[1])+"",s;return{c(){e=$("li"),l=$("h4"),t=I("Scheduled Time"),f=k(),r=$("p"),s=I(a),this.h()},l(i){e=h(i,"LI",{class:!0});var n=d(e);l=h(n,"H4",{});var _=d(l);t=A(_,"Scheduled Time"),_.forEach(c),f=w(n),r=h(n,"P",{});var m=d(r);s=A(m,a),m.forEach(c),n.forEach(c),this.h()},h(){S(e,"class","event-table-row svelte-pnunl5")},m(i,n){T(i,e,n),u(e,l),u(l,t),u(e,f),u(e,r),u(r,s)},p(i,n){n&3&&a!==(a=te(i[6].scheduledTime,i[1])+"")&&q(s,a)},d(i){i&&c(e)}}}function et(o){let e,l,t,f,r,a=o[6].lastWorkerIdentity+"",s;return{c(){e=$("li"),l=$("h4"),t=I("Last Worker Identity"),f=k(),r=$("p"),s=I(a),this.h()},l(i){e=h(i,"LI",{class:!0});var n=d(e);l=h(n,"H4",{});var _=d(l);t=A(_,"Last Worker Identity"),_.forEach(c),f=w(n),r=h(n,"P",{});var m=d(r);s=A(m,a),m.forEach(c),n.forEach(c),this.h()},h(){S(e,"class","event-table-row svelte-pnunl5")},m(i,n){T(i,e,n),u(e,l),u(l,t),u(e,f),u(e,r),u(r,s)},p(i,n){n&1&&a!==(a=i[6].lastWorkerIdentity+"")&&q(s,a)},d(i){i&&c(e)}}}function Dt(o){let e,l,t,f,r,a,s,i,n,_,m,g,v,H,X,Y,B,ke,ue,z,le,we,Ee,U,Te,ce,V,re,Le,Ie,ae,se=te(o[6].lastHeartbeatTime,"relative")+"",me,Ae,G,ie,De,He,fe,ne=o[6].state+"",pe,ye,_e,$e,he,Z;t=new _t({props:{href:"#"+o[4],$$slots:{default:[wt]},$$scope:{ctx:o}}}),m=new oe({props:{type:o[7]?"error":"default",$$slots:{default:[Et]},$$scope:{ctx:o}}}),B=new oe({props:{type:o[7]?"error":"default",$$slots:{default:[Tt]},$$scope:{ctx:o}}});let y=o[7]&&Ke(o);U=new oe({props:{$$slots:{default:[At]},$$scope:{ctx:o}}});let P=o[7]&&Qe(o),N=o[6].lastStartedTime&&Ze(o),F=o[6].scheduledTime&&xe(o),R=o[6].lastWorkerIdentity&&et(o);return{c(){e=$("td"),l=$("div"),W(t.$$.fragment),f=k(),r=$("td"),a=$("ul"),s=$("li"),i=$("h4"),n=I("Activity Type"),_=k(),W(m.$$.fragment),g=k(),v=$("li"),H=$("h4"),X=I("Attempt"),Y=k(),W(B.$$.fragment),ke=k(),y&&y.c(),ue=k(),z=$("li"),le=$("h4"),we=I("Maximum Attempts"),Ee=k(),W(U.$$.fragment),Te=k(),P&&P.c(),ce=k(),V=$("li"),re=$("h4"),Le=I("Last Heartbeat"),Ie=k(),ae=$("p"),me=I(se),Ae=k(),G=$("li"),ie=$("h4"),De=I("State"),He=k(),fe=$("p"),pe=I(ne),ye=k(),N&&N.c(),_e=k(),F&&F.c(),$e=k(),R&&R.c(),he=k(),this.h()},l(p){e=h(p,"TD",{class:!0});var L=d(e);l=h(L,"DIV",{class:!0});var x=d(l);M(t.$$.fragment,x),x.forEach(c),L.forEach(c),f=w(p),r=h(p,"TD",{class:!0});var ee=d(r);a=h(ee,"UL",{});var D=d(a);s=h(D,"LI",{class:!0});var Q=d(s);i=h(Q,"H4",{class:!0});var Se=d(i);n=A(Se,"Activity Type"),Se.forEach(c),_=w(Q),M(m.$$.fragment,Q),Q.forEach(c),g=w(D),v=h(D,"LI",{class:!0});var de=d(v);H=h(de,"H4",{});var Ne=d(H);X=A(Ne,"Attempt"),Ne.forEach(c),Y=w(de),M(B.$$.fragment,de),de.forEach(c),ke=w(D),y&&y.l(D),ue=w(D),z=h(D,"LI",{class:!0});var ve=d(z);le=h(ve,"H4",{});var Fe=d(le);we=A(Fe,"Maximum Attempts"),Fe.forEach(c),Ee=w(ve),M(U.$$.fragment,ve),ve.forEach(c),Te=w(D),P&&P.l(D),ce=w(D),V=h(D,"LI",{class:!0});var be=d(V);re=h(be,"H4",{});var Re=d(re);Le=A(Re,"Last Heartbeat"),Re.forEach(c),Ie=w(be),ae=h(be,"P",{});var We=d(ae);me=A(We,se),We.forEach(c),be.forEach(c),Ae=w(D),G=h(D,"LI",{class:!0});var ge=d(G);ie=h(ge,"H4",{});var Me=d(ie);De=A(Me,"State"),Me.forEach(c),He=w(ge),fe=h(ge,"P",{});var je=d(fe);pe=A(je,ne),je.forEach(c),ge.forEach(c),ye=w(D),N&&N.l(D),_e=w(D),F&&F.l(D),$e=w(D),R&&R.l(D),D.forEach(c),ee.forEach(c),he=w(p),this.h()},h(){S(l,"class","pt-1"),S(e,"class","w-44 items-start break-all py-5 pl-5 pr-2 align-top"),S(i,"class","font-semibold"),S(s,"class","event-table-row svelte-pnunl5"),S(v,"class","event-table-row svelte-pnunl5"),S(z,"class","event-table-row svelte-pnunl5"),S(V,"class","event-table-row svelte-pnunl5"),S(G,"class","event-table-row svelte-pnunl5"),S(r,"class","py-4 px-5")},m(p,L){T(p,e,L),u(e,l),j(t,l,null),T(p,f,L),T(p,r,L),u(r,a),u(a,s),u(s,i),u(i,n),u(s,_),j(m,s,null),u(a,g),u(a,v),u(v,H),u(H,X),u(v,Y),j(B,v,null),u(a,ke),y&&y.m(a,null),u(a,ue),u(a,z),u(z,le),u(le,we),u(z,Ee),j(U,z,null),u(a,Te),P&&P.m(a,null),u(a,ce),u(a,V),u(V,re),u(re,Le),u(V,Ie),u(V,ae),u(ae,me),u(a,Ae),u(a,G),u(G,ie),u(ie,De),u(G,He),u(G,fe),u(fe,pe),u(a,ye),N&&N.m(a,null),u(a,_e),F&&F.m(a,null),u(a,$e),R&&R.m(a,null),T(p,he,L),Z=!0},p(p,L){const x={};L&1&&(x.href="#"+p[4]),L&1025&&(x.$$scope={dirty:L,ctx:p}),t.$set(x);const ee={};L&1&&(ee.type=p[7]?"error":"default"),L&1025&&(ee.$$scope={dirty:L,ctx:p}),m.$set(ee);const D={};L&1&&(D.type=p[7]?"error":"default"),L&1025&&(D.$$scope={dirty:L,ctx:p}),B.$set(D),p[7]?y?(y.p(p,L),L&1&&b(y,1)):(y=Ke(p),y.c(),b(y,1),y.m(a,ue)):y&&(K(),E(y,1,1,()=>{y=null}),O());const Q={};L&1025&&(Q.$$scope={dirty:L,ctx:p}),U.$set(Q),p[7]?P?(P.p(p,L),L&1&&b(P,1)):(P=Qe(p),P.c(),b(P,1),P.m(a,ce)):P&&(K(),E(P,1,1,()=>{P=null}),O()),(!Z||L&1)&&se!==(se=te(p[6].lastHeartbeatTime,"relative")+"")&&q(me,se),(!Z||L&1)&&ne!==(ne=p[6].state+"")&&q(pe,ne),p[6].lastStartedTime?N?N.p(p,L):(N=Ze(p),N.c(),N.m(a,_e)):N&&(N.d(1),N=null),p[6].scheduledTime?F?F.p(p,L):(F=xe(p),F.c(),F.m(a,$e)):F&&(F.d(1),F=null),p[6].lastWorkerIdentity?R?R.p(p,L):(R=et(p),R.c(),R.m(a,null)):R&&(R.d(1),R=null)},i(p){Z||(b(t.$$.fragment,p),b(m.$$.fragment,p),b(B.$$.fragment,p),b(y),b(U.$$.fragment,p),b(P),Z=!0)},o(p){E(t.$$.fragment,p),E(m.$$.fragment,p),E(B.$$.fragment,p),E(y),E(U.$$.fragment,p),E(P),Z=!1},d(p){p&&c(e),C(t),p&&c(f),p&&c(r),C(m),C(B),y&&y.d(),C(U),P&&P.d(),N&&N.d(),F&&F.d(),R&&R.d(),p&&c(he)}}}function tt(o,e){let l,t,f;return t=new dt({props:{$$slots:{default:[Dt]},$$scope:{ctx:e}}}),{key:o,first:null,c(){l=J(),W(t.$$.fragment),this.h()},l(r){l=J(),M(t.$$.fragment,r),this.h()},h(){this.first=l},m(r,a){T(r,l,a),j(t,r,a),f=!0},p(r,a){e=r;const s={};a&1027&&(s.$$scope={dirty:a,ctx:e}),t.$set(s)},i(r){f||(b(t.$$.fragment,r),f=!0)},o(r){E(t.$$.fragment,r),f=!1},d(r){r&&c(l),C(t,r)}}}function Ht(o){let e=[],l=new Map,t,f,r=o[0];const a=s=>s[4];for(let s=0;s{a[_]=null}),O(),l=a[e],l?l.p(i,n):(l=a[e]=r[e](i),l.c()),b(l,1),l.m(t.parentNode,t))},i(i){f||(b(l),f=!0)},o(i){E(l),f=!1},d(i){a[e].d(i),i&&c(t)}}}function Nt(o,e,l){let t,f,r;Pe(o,ct,s=>l(3,f=s)),Pe(o,vt,s=>l(1,r=s));var a;return o.$$.update=()=>{o.$$.dirty&12&&l(0,t=l(2,a=f.workflow)===null||a===void 0?void 0:a.pendingActivities)},[t,r,a,f]}class Ft extends lt{constructor(e){super(),rt(this,e,Nt,St,at,{})}}function Rt(o){let e,l,t,f;return e=new bt({props:{title:`Pending Activities | ${o[1]}`,url:o[0].url.href}}),t=new Ft({}),{c(){W(e.$$.fragment),l=k(),W(t.$$.fragment)},l(r){M(e.$$.fragment,r),l=w(r),M(t.$$.fragment,r)},m(r,a){j(e,r,a),T(r,l,a),j(t,r,a),f=!0},p(r,[a]){const s={};a&1&&(s.url=r[0].url.href),e.$set(s)},i(r){f||(b(e.$$.fragment,r),b(t.$$.fragment,r),f=!0)},o(r){E(e.$$.fragment,r),E(t.$$.fragment,r),f=!1},d(r){C(e,r),r&&c(l),C(t,r)}}}function Wt(o,e,l){let t;Pe(o,ut,r=>l(0,t=r));const f=t.params.workflow;return[t,f]}class xt extends lt{constructor(e){super(),rt(this,e,Wt,Rt,at,{})}}export{xt as default}; diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-query-page.svelte.3cefae06.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-query-page.svelte.037f6ee6.js similarity index 98% rename from ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-query-page.svelte.3cefae06.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-query-page.svelte.037f6ee6.js index d8d3aed94e..9925c59cea 100644 --- a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-query-page.svelte.3cefae06.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-query-page.svelte.037f6ee6.js @@ -1,3 +1,3 @@ -import{S as Z,b as G,a as H,ar as J,m as j,p as S,q as C,k as p,f as w,as as K,j as g,g as h,L as U,C as y,D as E,E as q,n as $,F as I,A as x,Y as ee,c as N,w as Q,d as O,x as A,u as D,M as v,Z as te,e as M,z as ne,h as re,a7 as le}from"../chunks/index.d29c66be.js";import{p as X}from"../chunks/stores.1f7fa6eb.js";import{g as oe,a as ae}from"../chunks/query-service.2b2ddc65.js";import{C as se}from"../chunks/code-block.fc92cd67.js";import{S as ce,a as ue}from"../chunks/simple-select.2e5f96b1.js";import{E as ie}from"../chunks/empty-state.bf113865.js";import{B as fe}from"../chunks/button.e7112b29.js";import{L as me}from"../chunks/loading.9b5a6a67.js";import{a as pe}from"../chunks/auth-user.ead5c000.js";import{T as $e}from"../chunks/toggle-switch.58d0ba8c.js";import{P as ge}from"../chunks/page-title.ba38eecf.js";function W(l,t,r){const e=l.slice();return e[16]=t[r],e}function _e(l){var e;let t,r;return t=new ie({props:{title:"An Error Occurred",content:"Please make sure you have at least one worker running.",error:(e=l[19])==null?void 0:e.message}}),{c(){y(t.$$.fragment)},l(n){E(t.$$.fragment,n)},m(n,o){q(t,n,o),r=!0},p:$,i(n){r||(g(t.$$.fragment,n),r=!0)},o(n){h(t.$$.fragment,n),r=!1},d(n){I(t,n)}}}function he(l){let t,r,e,n,o,a,s,c,u,B,d,T,k,L,P;function R(i){l[5](i)}let _={id:"query-select",label:"Query Type",testId:"query-select",$$slots:{default:[ke]},$$scope:{ctx:l}};l[0]!==void 0&&(_.value=l[0]),e=new ce({props:_}),x.push(()=>ee(e,"value",R)),a=new fe({props:{icon:"retry",loading:Ie,$$slots:{default:[be]},$$scope:{ctx:l}}}),a.$on("click",l[6]),d=new $e({props:{id:"json-formatting",checked:l[2]}}),d.$on("change",l[7]);let m={ctx:l,current:null,token:null,hasCatch:!1,pending:ye,then:we,catch:ve,value:15,blocks:[,,,]};return J(L=l[1],m),{c(){t=j("div"),r=j("div"),y(e.$$.fragment),o=N(),y(a.$$.fragment),s=N(),c=j("div"),u=j("label"),B=Q(`JSON Formatting +import{S as Z,b as G,a as H,ar as J,m as j,p as S,q as C,k as p,f as w,as as K,j as g,g as h,L as U,C as y,D as E,E as q,n as $,F as I,A as x,Y as ee,c as N,w as Q,d as O,x as A,u as D,M as v,Z as te,e as M,z as ne,h as re,a7 as le}from"../chunks/index.d29c66be.js";import{p as X}from"../chunks/stores.8c019868.js";import{g as oe,a as ae}from"../chunks/query-service.0341631d.js";import{C as se}from"../chunks/code-block.fc92cd67.js";import{S as ce,a as ue}from"../chunks/simple-select.2e5f96b1.js";import{E as ie}from"../chunks/empty-state.bf113865.js";import{B as fe}from"../chunks/button.e7112b29.js";import{L as me}from"../chunks/loading.9b5a6a67.js";import{a as pe}from"../chunks/auth-user.ead5c000.js";import{T as $e}from"../chunks/toggle-switch.58d0ba8c.js";import{P as ge}from"../chunks/page-title.ba38eecf.js";function W(l,t,r){const e=l.slice();return e[16]=t[r],e}function _e(l){var e;let t,r;return t=new ie({props:{title:"An Error Occurred",content:"Please make sure you have at least one worker running.",error:(e=l[19])==null?void 0:e.message}}),{c(){y(t.$$.fragment)},l(n){E(t.$$.fragment,n)},m(n,o){q(t,n,o),r=!0},p:$,i(n){r||(g(t.$$.fragment,n),r=!0)},o(n){h(t.$$.fragment,n),r=!1},d(n){I(t,n)}}}function he(l){let t,r,e,n,o,a,s,c,u,B,d,T,k,L,P;function R(i){l[5](i)}let _={id:"query-select",label:"Query Type",testId:"query-select",$$slots:{default:[ke]},$$scope:{ctx:l}};l[0]!==void 0&&(_.value=l[0]),e=new ce({props:_}),x.push(()=>ee(e,"value",R)),a=new fe({props:{icon:"retry",loading:Ie,$$slots:{default:[be]},$$scope:{ctx:l}}}),a.$on("click",l[6]),d=new $e({props:{id:"json-formatting",checked:l[2]}}),d.$on("change",l[7]);let m={ctx:l,current:null,token:null,hasCatch:!1,pending:ye,then:we,catch:ve,value:15,blocks:[,,,]};return J(L=l[1],m),{c(){t=j("div"),r=j("div"),y(e.$$.fragment),o=N(),y(a.$$.fragment),s=N(),c=j("div"),u=j("label"),B=Q(`JSON Formatting `),y(d.$$.fragment),T=N(),k=j("div"),m.block.c(),this.h()},l(i){t=S(i,"DIV",{class:!0});var f=C(t);r=S(f,"DIV",{class:!0});var b=C(r);E(e.$$.fragment,b),o=O(b),E(a.$$.fragment,b),b.forEach(p),s=O(f),c=S(f,"DIV",{class:!0});var F=C(c);u=S(F,"LABEL",{for:!0,class:!0});var V=C(u);B=A(V,`JSON Formatting `),E(d.$$.fragment,V),V.forEach(p),F.forEach(p),f.forEach(p),T=O(i),k=S(i,"DIV",{class:!0});var z=C(k);m.block.l(z),z.forEach(p),this.h()},h(){D(r,"class","flex items-center gap-4"),D(u,"for","json-formatting"),D(u,"class","flex items-center gap-4 font-secondary text-sm"),D(c,"class","flex justify-end"),D(t,"class","flex justify-between"),D(k,"class","flex items-start h-full")},m(i,f){w(i,t,f),v(t,r),q(e,r,null),v(r,o),q(a,r,null),v(t,s),v(t,c),v(c,u),v(u,B),q(d,u,null),w(i,T,f),w(i,k,f),m.block.m(k,m.anchor=null),m.mount=()=>k,m.anchor=null,P=!0},p(i,f){l=i;const b={};f&1048576&&(b.$$scope={dirty:f,ctx:l}),!n&&f&1&&(n=!0,b.value=l[0],te(()=>n=!1)),e.$set(b);const F={};f&1048576&&(F.$$scope={dirty:f,ctx:l}),a.$set(F);const V={};f&4&&(V.checked=l[2]),d.$set(V),m.ctx=l,f&2&&L!==(L=l[1])&&J(L,m)||K(m,l,f)},i(i){P||(g(e.$$.fragment,i),g(a.$$.fragment,i),g(d.$$.fragment,i),g(m.block),P=!0)},o(i){h(e.$$.fragment,i),h(a.$$.fragment,i),h(d.$$.fragment,i);for(let f=0;f<3;f+=1){const b=m.blocks[f];h(b)}P=!1},d(i){i&&p(t),I(e),I(a),I(d),i&&p(T),i&&p(k),m.block.d(),m.token=null,m=null}}}function de(l){let t=l[16]+"",r;return{c(){r=Q(t)},l(e){r=A(e,t)},m(e,n){w(e,r,n)},p:$,d(e){e&&p(r)}}}function Y(l){let t,r;return t=new ue({props:{value:l[16],$$slots:{default:[de]},$$scope:{ctx:l}}}),{c(){y(t.$$.fragment)},l(e){E(t.$$.fragment,e)},m(e,n){q(t,e,n),r=!0},p(e,n){const o={};n&1048576&&(o.$$scope={dirty:n,ctx:e}),t.$set(o)},i(e){r||(g(t.$$.fragment,e),r=!0)},o(e){h(t.$$.fragment,e),r=!1},d(e){I(t,e)}}}function ke(l){let t,r,e=l[14],n=[];for(let a=0;ah(n[a],1,1,()=>{n[a]=null});return{c(){for(let a=0;at,e.anchor=null,r=!0},p(n,[o]){l=n,K(e,l,o)},i(n){r||(g(e.block),r=!0)},o(n){for(let o=0;o<3;o+=1){const a=e.blocks[o];h(a)}r=!1},d(n){n&&p(t),e.block.d(),e.token=null,e=null}}}let Ie=!1;function Te(l,t,r){let e,n;U(l,pe,_=>r(8,e=_)),U(l,X,_=>r(9,n=_));const{namespace:o,workflow:a,run:s}=n.params,c={id:a,runId:s};let u,B=oe({namespace:o,workflow:c}).then(_=>(r(0,u=u||_[0]),_)),d;const T=_=>{var m;r(1,d=ae({namespace:o,workflow:c,queryType:_},(m=n.data)===null||m===void 0?void 0:m.settings,e==null?void 0:e.accessToken))};let k=!0;function L(_){u=_,r(0,u)}const P=()=>T(u),R=()=>r(2,k=!k);return l.$$.update=()=>{l.$$.dirty&1&&u&&T(u)},[u,d,k,B,T,L,P,R]}class je extends Z{constructor(t){super(),G(this,t,Te,qe,H,{})}}function Se(l){let t,r,e,n;return t=new ge({props:{title:`Query | ${l[1]}`,url:l[0].url.href}}),e=new je({}),{c(){y(t.$$.fragment),r=N(),y(e.$$.fragment)},l(o){E(t.$$.fragment,o),r=O(o),E(e.$$.fragment,o)},m(o,a){q(t,o,a),w(o,r,a),q(e,o,a),n=!0},p(o,[a]){const s={};a&1&&(s.url=o[0].url.href),t.$set(s)},i(o){n||(g(t.$$.fragment,o),g(e.$$.fragment,o),n=!0)},o(o){h(t.$$.fragment,o),h(e.$$.fragment,o),n=!1},d(o){I(t,o),o&&p(r),I(e,o)}}}function Ce(l,t,r){let e;U(l,X,o=>r(0,e=o));const n=e.params.workflow;return[e,n]}class Je extends Z{constructor(t){super(),G(this,t,Ce,Se,H,{})}}export{Je as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-query-page.svelte.2238d95a.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-query-page.svelte.2238d95a.js deleted file mode 100644 index 16573f9ae7..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-query-page.svelte.2238d95a.js +++ /dev/null @@ -1,3 +0,0 @@ -import{S as Z,b as G,a as H,ar as J,m as j,p as S,q as C,k as p,f as w,as as K,j as g,g as h,L as U,C as y,D as E,E as q,n as $,F as I,A as x,Y as ee,c as N,w as Q,d as O,x as A,u as D,M as v,Z as te,e as M,z as ne,h as re,a7 as le}from"../chunks/index.d29c66be.js";import{p as X}from"../chunks/stores.b938c0e3.js";import{g as oe,a as ae}from"../chunks/query-service.50cde2c9.js";import{C as se}from"../chunks/code-block.fc92cd67.js";import{S as ce,a as ue}from"../chunks/simple-select.2e5f96b1.js";import{E as ie}from"../chunks/empty-state.bf113865.js";import{B as fe}from"../chunks/button.e7112b29.js";import{L as me}from"../chunks/loading.9b5a6a67.js";import{a as pe}from"../chunks/auth-user.ead5c000.js";import{T as $e}from"../chunks/toggle-switch.58d0ba8c.js";import{P as ge}from"../chunks/page-title.ba38eecf.js";function W(l,t,r){const e=l.slice();return e[16]=t[r],e}function _e(l){var e;let t,r;return t=new ie({props:{title:"An Error Occurred",content:"Please make sure you have at least one worker running.",error:(e=l[19])==null?void 0:e.message}}),{c(){y(t.$$.fragment)},l(n){E(t.$$.fragment,n)},m(n,o){q(t,n,o),r=!0},p:$,i(n){r||(g(t.$$.fragment,n),r=!0)},o(n){h(t.$$.fragment,n),r=!1},d(n){I(t,n)}}}function he(l){let t,r,e,n,o,a,s,c,u,B,d,T,k,L,P;function R(i){l[5](i)}let _={id:"query-select",label:"Query Type",testId:"query-select",$$slots:{default:[ke]},$$scope:{ctx:l}};l[0]!==void 0&&(_.value=l[0]),e=new ce({props:_}),x.push(()=>ee(e,"value",R)),a=new fe({props:{icon:"retry",loading:Ie,$$slots:{default:[be]},$$scope:{ctx:l}}}),a.$on("click",l[6]),d=new $e({props:{id:"json-formatting",checked:l[2]}}),d.$on("change",l[7]);let m={ctx:l,current:null,token:null,hasCatch:!1,pending:ye,then:we,catch:ve,value:15,blocks:[,,,]};return J(L=l[1],m),{c(){t=j("div"),r=j("div"),y(e.$$.fragment),o=N(),y(a.$$.fragment),s=N(),c=j("div"),u=j("label"),B=Q(`JSON Formatting - `),y(d.$$.fragment),T=N(),k=j("div"),m.block.c(),this.h()},l(i){t=S(i,"DIV",{class:!0});var f=C(t);r=S(f,"DIV",{class:!0});var b=C(r);E(e.$$.fragment,b),o=O(b),E(a.$$.fragment,b),b.forEach(p),s=O(f),c=S(f,"DIV",{class:!0});var F=C(c);u=S(F,"LABEL",{for:!0,class:!0});var V=C(u);B=A(V,`JSON Formatting - `),E(d.$$.fragment,V),V.forEach(p),F.forEach(p),f.forEach(p),T=O(i),k=S(i,"DIV",{class:!0});var z=C(k);m.block.l(z),z.forEach(p),this.h()},h(){D(r,"class","flex items-center gap-4"),D(u,"for","json-formatting"),D(u,"class","flex items-center gap-4 font-secondary text-sm"),D(c,"class","flex justify-end"),D(t,"class","flex justify-between"),D(k,"class","flex items-start h-full")},m(i,f){w(i,t,f),v(t,r),q(e,r,null),v(r,o),q(a,r,null),v(t,s),v(t,c),v(c,u),v(u,B),q(d,u,null),w(i,T,f),w(i,k,f),m.block.m(k,m.anchor=null),m.mount=()=>k,m.anchor=null,P=!0},p(i,f){l=i;const b={};f&1048576&&(b.$$scope={dirty:f,ctx:l}),!n&&f&1&&(n=!0,b.value=l[0],te(()=>n=!1)),e.$set(b);const F={};f&1048576&&(F.$$scope={dirty:f,ctx:l}),a.$set(F);const V={};f&4&&(V.checked=l[2]),d.$set(V),m.ctx=l,f&2&&L!==(L=l[1])&&J(L,m)||K(m,l,f)},i(i){P||(g(e.$$.fragment,i),g(a.$$.fragment,i),g(d.$$.fragment,i),g(m.block),P=!0)},o(i){h(e.$$.fragment,i),h(a.$$.fragment,i),h(d.$$.fragment,i);for(let f=0;f<3;f+=1){const b=m.blocks[f];h(b)}P=!1},d(i){i&&p(t),I(e),I(a),I(d),i&&p(T),i&&p(k),m.block.d(),m.token=null,m=null}}}function de(l){let t=l[16]+"",r;return{c(){r=Q(t)},l(e){r=A(e,t)},m(e,n){w(e,r,n)},p:$,d(e){e&&p(r)}}}function Y(l){let t,r;return t=new ue({props:{value:l[16],$$slots:{default:[de]},$$scope:{ctx:l}}}),{c(){y(t.$$.fragment)},l(e){E(t.$$.fragment,e)},m(e,n){q(t,e,n),r=!0},p(e,n){const o={};n&1048576&&(o.$$scope={dirty:n,ctx:e}),t.$set(o)},i(e){r||(g(t.$$.fragment,e),r=!0)},o(e){h(t.$$.fragment,e),r=!1},d(e){I(t,e)}}}function ke(l){let t,r,e=l[14],n=[];for(let a=0;ah(n[a],1,1,()=>{n[a]=null});return{c(){for(let a=0;at,e.anchor=null,r=!0},p(n,[o]){l=n,K(e,l,o)},i(n){r||(g(e.block),r=!0)},o(n){for(let o=0;o<3;o+=1){const a=e.blocks[o];h(a)}r=!1},d(n){n&&p(t),e.block.d(),e.token=null,e=null}}}let Ie=!1;function Te(l,t,r){let e,n;U(l,pe,_=>r(8,e=_)),U(l,X,_=>r(9,n=_));const{namespace:o,workflow:a,run:s}=n.params,c={id:a,runId:s};let u,B=oe({namespace:o,workflow:c}).then(_=>(r(0,u=u||_[0]),_)),d;const T=_=>{var m;r(1,d=ae({namespace:o,workflow:c,queryType:_},(m=n.data)===null||m===void 0?void 0:m.settings,e==null?void 0:e.accessToken))};let k=!0;function L(_){u=_,r(0,u)}const P=()=>T(u),R=()=>r(2,k=!k);return l.$$.update=()=>{l.$$.dirty&1&&u&&T(u)},[u,d,k,B,T,L,P,R]}class je extends Z{constructor(t){super(),G(this,t,Te,qe,H,{})}}function Se(l){let t,r,e,n;return t=new ge({props:{title:`Query | ${l[1]}`,url:l[0].url.href}}),e=new je({}),{c(){y(t.$$.fragment),r=N(),y(e.$$.fragment)},l(o){E(t.$$.fragment,o),r=O(o),E(e.$$.fragment,o)},m(o,a){q(t,o,a),w(o,r,a),q(e,o,a),n=!0},p(o,[a]){const s={};a&1&&(s.url=o[0].url.href),t.$set(s)},i(o){n||(g(t.$$.fragment,o),g(e.$$.fragment,o),n=!0)},o(o){h(t.$$.fragment,o),h(e.$$.fragment,o),n=!1},d(o){I(t,o),o&&p(r),I(e,o)}}}function Ce(l,t,r){let e;U(l,X,o=>r(0,e=o));const n=e.params.workflow;return[e,n]}class Je extends Z{constructor(t){super(),G(this,t,Ce,Se,H,{})}}export{Je as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-stack-trace-page.svelte.fca0456a.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-stack-trace-page.svelte.666a12d3.js similarity index 98% rename from ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-stack-trace-page.svelte.fca0456a.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-stack-trace-page.svelte.666a12d3.js index 68af700991..719317c340 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-stack-trace-page.svelte.fca0456a.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-stack-trace-page.svelte.666a12d3.js @@ -1 +1 @@ -import{S as B,b as F,a as O,m as E,p as S,q as L,k as _,f as d,z as U,g as k,h as j,j as $,L as C,C as w,D as v,E as T,F as y,ar as Q,e as D,as as H,w as h,x as b,M as g,y as z,n as A,c as I,d as q,u as N}from"../chunks/index.d29c66be.js";import{p as M}from"../chunks/stores.b938c0e3.js";import{w as J}from"../chunks/workflow-run.2461dc7d.js";import{b as W}from"../chunks/query-service.50cde2c9.js";import{C as K}from"../chunks/code-block.fc92cd67.js";import{B as X}from"../chunks/button.e7112b29.js";import{E as G}from"../chunks/empty-state.bf113865.js";import{L as Y}from"../chunks/loading.9b5a6a67.js";import{L as Z}from"../chunks/link.d5f6f19e.js";import{a as x}from"../chunks/auth-user.ead5c000.js";import{P as ee}from"../chunks/page-title.ba38eecf.js";function te(c){let t,r;return t=new G({props:{title:"No Stack Traces Found",testId:"query-stack-trace-empty",$$slots:{default:[oe]},$$scope:{ctx:c}}}),{c(){w(t.$$.fragment)},l(e){v(t.$$.fragment,e)},m(e,o){T(t,e,o),r=!0},p(e,o){const n={};o&4105&&(n.$$scope={dirty:o,ctx:e}),t.$set(n)},i(e){r||($(t.$$.fragment,e),r=!0)},o(e){k(t.$$.fragment,e),r=!1},d(e){y(t,e)}}}function re(c){let t,r,e,o={ctx:c,current:null,token:null,hasCatch:!0,pending:ce,then:le,catch:ae,value:10,error:11,blocks:[,,,]};return Q(r=c[2],o),{c(){t=D(),o.block.c()},l(n){t=D(),o.block.l(n)},m(n,a){d(n,t,a),o.block.m(n,o.anchor=a),o.mount=()=>t.parentNode,o.anchor=t,e=!0},p(n,a){c=n,o.ctx=c,a&4&&r!==(r=c[2])&&Q(r,o)||H(o,c,a)},i(n){e||($(o.block),e=!0)},o(n){for(let a=0;a<3;a+=1){const l=o.blocks[a];k(l)}e=!1},d(n){n&&_(t),o.block.d(n),o.token=null,o=null}}}function V(c){var p;let t,r,e,o,n=((p=c[0])==null?void 0:p.taskQueue)+"",a,l,s;return e=new Z({props:{href:"https://docs.temporal.io/workflows#stack-trace-query",$$slots:{default:[ne]},$$scope:{ctx:c}}}),{c(){t=E("p"),r=h("To enable "),w(e.$$.fragment),o=h(", run a Worker on the "),a=h(n),l=h(" Task Queue.")},l(i){t=S(i,"P",{});var f=L(t);r=b(f,"To enable "),v(e.$$.fragment,f),o=b(f,", run a Worker on the "),a=b(f,n),l=b(f," Task Queue."),f.forEach(_)},m(i,f){d(i,t,f),g(t,r),T(e,t,null),g(t,o),g(t,a),g(t,l),s=!0},p(i,f){var u;const m={};f&4096&&(m.$$scope={dirty:f,ctx:i}),e.$set(m),(!s||f&1)&&n!==(n=((u=i[0])==null?void 0:u.taskQueue)+"")&&z(a,n)},i(i){s||($(e.$$.fragment,i),s=!0)},o(i){k(e.$$.fragment,i),s=!1},d(i){i&&_(t),y(e)}}}function ne(c){let t;return{c(){t=h("stack traces")},l(r){t=b(r,"stack traces")},m(r,e){d(r,t,e)},d(r){r&&_(t)}}}function oe(c){var o,n,a;let t,r,e=((o=c[0])==null?void 0:o.isRunning)&&((a=(n=c[3])==null?void 0:n.pollers)==null?void 0:a.length)===0&&V(c);return{c(){e&&e.c(),t=D()},l(l){e&&e.l(l),t=D()},m(l,s){e&&e.m(l,s),d(l,t,s),r=!0},p(l,s){var p,i,f;(p=l[0])!=null&&p.isRunning&&((f=(i=l[3])==null?void 0:i.pollers)==null?void 0:f.length)===0?e?(e.p(l,s),s&9&&$(e,1)):(e=V(l),e.c(),$(e,1),e.m(t.parentNode,t)):e&&(U(),k(e,1,1,()=>{e=null}),j())},i(l){r||($(e),r=!0)},o(l){k(e),r=!1},d(l){e&&e.d(l),l&&_(t)}}}function ae(c){let t,r;return t=new G({props:{title:"An Error Occured",content:"Please make sure you have at least one worker running."}}),{c(){w(t.$$.fragment)},l(e){v(t.$$.fragment,e)},m(e,o){T(t,e,o),r=!0},p:A,i(e){r||($(t.$$.fragment,e),r=!0)},o(e){k(t.$$.fragment,e),r=!1},d(e){y(t,e)}}}function le(c){let t,r,e,o,n,a=c[1].toLocaleTimeString()+"",l,s,p,i,f;return r=new X({props:{icon:"retry",loading:ue,$$slots:{default:[se]},$$scope:{ctx:c}}}),r.$on("click",c[4]),i=new K({props:{content:c[10],language:"text",testId:"query-stack-trace"}}),{c(){t=E("div"),w(r.$$.fragment),e=I(),o=E("p"),n=h("Stack Trace at "),l=h(a),s=I(),p=E("div"),w(i.$$.fragment),this.h()},l(m){t=S(m,"DIV",{class:!0});var u=L(t);v(r.$$.fragment,u),e=q(u),o=S(u,"P",{});var R=L(o);n=b(R,"Stack Trace at "),l=b(R,a),R.forEach(_),u.forEach(_),s=q(m),p=S(m,"DIV",{class:!0});var P=L(p);v(i.$$.fragment,P),P.forEach(_),this.h()},h(){N(t,"class","flex items-center gap-4"),N(p,"class","flex items-start h-full")},m(m,u){d(m,t,u),T(r,t,null),g(t,e),g(t,o),g(o,n),g(o,l),d(m,s,u),d(m,p,u),T(i,p,null),f=!0},p(m,u){const R={};u&4096&&(R.$$scope={dirty:u,ctx:m}),r.$set(R),(!f||u&2)&&a!==(a=m[1].toLocaleTimeString()+"")&&z(l,a);const P={};u&4&&(P.content=m[10]),i.$set(P)},i(m){f||($(r.$$.fragment,m),$(i.$$.fragment,m),f=!0)},o(m){k(r.$$.fragment,m),k(i.$$.fragment,m),f=!1},d(m){m&&_(t),y(r),m&&_(s),m&&_(p),y(i)}}}function se(c){let t;return{c(){t=h("Refresh")},l(r){t=b(r,"Refresh")},m(r,e){d(r,t,e)},d(r){r&&_(t)}}}function ce(c){let t,r,e,o,n,a;return r=new Y({}),{c(){t=E("div"),w(r.$$.fragment),e=I(),o=E("p"),n=h("(This will fail if you have no workers running.)"),this.h()},l(l){t=S(l,"DIV",{class:!0});var s=L(t);v(r.$$.fragment,s),e=q(s),o=S(s,"P",{});var p=L(o);n=b(p,"(This will fail if you have no workers running.)"),p.forEach(_),s.forEach(_),this.h()},h(){N(t,"class","text-center")},m(l,s){d(l,t,s),T(r,t,null),g(t,e),g(t,o),g(o,n),a=!0},p:A,i(l){a||($(r.$$.fragment,l),a=!0)},o(l){k(r.$$.fragment,l),a=!1},d(l){l&&_(t),y(r)}}}function ie(c){let t,r,e,o;const n=[re,te],a=[];function l(s,p){var i,f,m;return(i=s[0])!=null&&i.isRunning&&((m=(f=s[3])==null?void 0:f.pollers)==null?void 0:m.length)>0?0:1}return r=l(c),e=a[r]=n[r](c),{c(){t=E("section"),e.c()},l(s){t=S(s,"SECTION",{});var p=L(t);e.l(p),p.forEach(_)},m(s,p){d(s,t,p),a[r].m(t,null),o=!0},p(s,[p]){let i=r;r=l(s),r===i?a[r].p(s,p):(U(),k(a[i],1,1,()=>{a[i]=null}),j(),e=a[r],e?e.p(s,p):(e=a[r]=n[r](s),e.c()),$(e,1),e.m(t,null))},i(s){o||($(e),o=!0)},o(s){k(e),o=!1},d(s){s&&_(t),a[r].d()}}}let ue=!1;function fe(c,t,r){let e,o,n,a,l;C(c,x,u=>r(6,n=u)),C(c,M,u=>r(7,a=u)),C(c,J,u=>r(5,l=u));const{namespace:s}=a.params;let p=new Date;const i=()=>{var u;return W({workflow:e,namespace:s},(u=a.data)===null||u===void 0?void 0:u.settings,n==null?void 0:n.accessToken)};let f;const m=()=>{var u;r(2,f=W({workflow:e,namespace:s},(u=a.data)===null||u===void 0?void 0:u.settings,n==null?void 0:n.accessToken)),f.then(()=>{r(1,p=new Date)})};return c.$$.update=()=>{c.$$.dirty&32&&r(0,{workflow:e,workers:o}=l,e,(r(3,o),r(5,l))),c.$$.dirty&1&&e!=null&&e.isRunning&&r(2,f=i())},[e,p,f,o,m,l]}class me extends B{constructor(t){super(),F(this,t,fe,ie,O,{})}}function pe(c){let t,r,e,o;return t=new ee({props:{title:`Stack Trace | ${c[1]}`,url:c[0].url.href}}),e=new me({}),{c(){w(t.$$.fragment),r=I(),w(e.$$.fragment)},l(n){v(t.$$.fragment,n),r=q(n),v(e.$$.fragment,n)},m(n,a){T(t,n,a),d(n,r,a),T(e,n,a),o=!0},p(n,[a]){const l={};a&1&&(l.url=n[0].url.href),t.$set(l)},i(n){o||($(t.$$.fragment,n),$(e.$$.fragment,n),o=!0)},o(n){k(t.$$.fragment,n),k(e.$$.fragment,n),o=!1},d(n){y(t,n),n&&_(r),y(e,n)}}}function _e(c,t,r){let e;C(c,M,n=>r(0,e=n));const o=e.params.workflow;return[e,o]}class Se extends B{constructor(t){super(),F(this,t,_e,pe,O,{})}}export{Se as default}; +import{S as B,b as F,a as O,m as E,p as S,q as L,k as _,f as d,z as U,g as k,h as j,j as $,L as C,C as w,D as v,E as T,F as y,ar as Q,e as D,as as H,w as h,x as b,M as g,y as z,n as A,c as I,d as q,u as N}from"../chunks/index.d29c66be.js";import{p as M}from"../chunks/stores.8c019868.js";import{w as J}from"../chunks/workflow-run.2461dc7d.js";import{b as W}from"../chunks/query-service.0341631d.js";import{C as K}from"../chunks/code-block.fc92cd67.js";import{B as X}from"../chunks/button.e7112b29.js";import{E as G}from"../chunks/empty-state.bf113865.js";import{L as Y}from"../chunks/loading.9b5a6a67.js";import{L as Z}from"../chunks/link.d5f6f19e.js";import{a as x}from"../chunks/auth-user.ead5c000.js";import{P as ee}from"../chunks/page-title.ba38eecf.js";function te(c){let t,r;return t=new G({props:{title:"No Stack Traces Found",testId:"query-stack-trace-empty",$$slots:{default:[oe]},$$scope:{ctx:c}}}),{c(){w(t.$$.fragment)},l(e){v(t.$$.fragment,e)},m(e,o){T(t,e,o),r=!0},p(e,o){const n={};o&4105&&(n.$$scope={dirty:o,ctx:e}),t.$set(n)},i(e){r||($(t.$$.fragment,e),r=!0)},o(e){k(t.$$.fragment,e),r=!1},d(e){y(t,e)}}}function re(c){let t,r,e,o={ctx:c,current:null,token:null,hasCatch:!0,pending:ce,then:le,catch:ae,value:10,error:11,blocks:[,,,]};return Q(r=c[2],o),{c(){t=D(),o.block.c()},l(n){t=D(),o.block.l(n)},m(n,a){d(n,t,a),o.block.m(n,o.anchor=a),o.mount=()=>t.parentNode,o.anchor=t,e=!0},p(n,a){c=n,o.ctx=c,a&4&&r!==(r=c[2])&&Q(r,o)||H(o,c,a)},i(n){e||($(o.block),e=!0)},o(n){for(let a=0;a<3;a+=1){const l=o.blocks[a];k(l)}e=!1},d(n){n&&_(t),o.block.d(n),o.token=null,o=null}}}function V(c){var p;let t,r,e,o,n=((p=c[0])==null?void 0:p.taskQueue)+"",a,l,s;return e=new Z({props:{href:"https://docs.temporal.io/workflows#stack-trace-query",$$slots:{default:[ne]},$$scope:{ctx:c}}}),{c(){t=E("p"),r=h("To enable "),w(e.$$.fragment),o=h(", run a Worker on the "),a=h(n),l=h(" Task Queue.")},l(i){t=S(i,"P",{});var f=L(t);r=b(f,"To enable "),v(e.$$.fragment,f),o=b(f,", run a Worker on the "),a=b(f,n),l=b(f," Task Queue."),f.forEach(_)},m(i,f){d(i,t,f),g(t,r),T(e,t,null),g(t,o),g(t,a),g(t,l),s=!0},p(i,f){var u;const m={};f&4096&&(m.$$scope={dirty:f,ctx:i}),e.$set(m),(!s||f&1)&&n!==(n=((u=i[0])==null?void 0:u.taskQueue)+"")&&z(a,n)},i(i){s||($(e.$$.fragment,i),s=!0)},o(i){k(e.$$.fragment,i),s=!1},d(i){i&&_(t),y(e)}}}function ne(c){let t;return{c(){t=h("stack traces")},l(r){t=b(r,"stack traces")},m(r,e){d(r,t,e)},d(r){r&&_(t)}}}function oe(c){var o,n,a;let t,r,e=((o=c[0])==null?void 0:o.isRunning)&&((a=(n=c[3])==null?void 0:n.pollers)==null?void 0:a.length)===0&&V(c);return{c(){e&&e.c(),t=D()},l(l){e&&e.l(l),t=D()},m(l,s){e&&e.m(l,s),d(l,t,s),r=!0},p(l,s){var p,i,f;(p=l[0])!=null&&p.isRunning&&((f=(i=l[3])==null?void 0:i.pollers)==null?void 0:f.length)===0?e?(e.p(l,s),s&9&&$(e,1)):(e=V(l),e.c(),$(e,1),e.m(t.parentNode,t)):e&&(U(),k(e,1,1,()=>{e=null}),j())},i(l){r||($(e),r=!0)},o(l){k(e),r=!1},d(l){e&&e.d(l),l&&_(t)}}}function ae(c){let t,r;return t=new G({props:{title:"An Error Occured",content:"Please make sure you have at least one worker running."}}),{c(){w(t.$$.fragment)},l(e){v(t.$$.fragment,e)},m(e,o){T(t,e,o),r=!0},p:A,i(e){r||($(t.$$.fragment,e),r=!0)},o(e){k(t.$$.fragment,e),r=!1},d(e){y(t,e)}}}function le(c){let t,r,e,o,n,a=c[1].toLocaleTimeString()+"",l,s,p,i,f;return r=new X({props:{icon:"retry",loading:ue,$$slots:{default:[se]},$$scope:{ctx:c}}}),r.$on("click",c[4]),i=new K({props:{content:c[10],language:"text",testId:"query-stack-trace"}}),{c(){t=E("div"),w(r.$$.fragment),e=I(),o=E("p"),n=h("Stack Trace at "),l=h(a),s=I(),p=E("div"),w(i.$$.fragment),this.h()},l(m){t=S(m,"DIV",{class:!0});var u=L(t);v(r.$$.fragment,u),e=q(u),o=S(u,"P",{});var R=L(o);n=b(R,"Stack Trace at "),l=b(R,a),R.forEach(_),u.forEach(_),s=q(m),p=S(m,"DIV",{class:!0});var P=L(p);v(i.$$.fragment,P),P.forEach(_),this.h()},h(){N(t,"class","flex items-center gap-4"),N(p,"class","flex items-start h-full")},m(m,u){d(m,t,u),T(r,t,null),g(t,e),g(t,o),g(o,n),g(o,l),d(m,s,u),d(m,p,u),T(i,p,null),f=!0},p(m,u){const R={};u&4096&&(R.$$scope={dirty:u,ctx:m}),r.$set(R),(!f||u&2)&&a!==(a=m[1].toLocaleTimeString()+"")&&z(l,a);const P={};u&4&&(P.content=m[10]),i.$set(P)},i(m){f||($(r.$$.fragment,m),$(i.$$.fragment,m),f=!0)},o(m){k(r.$$.fragment,m),k(i.$$.fragment,m),f=!1},d(m){m&&_(t),y(r),m&&_(s),m&&_(p),y(i)}}}function se(c){let t;return{c(){t=h("Refresh")},l(r){t=b(r,"Refresh")},m(r,e){d(r,t,e)},d(r){r&&_(t)}}}function ce(c){let t,r,e,o,n,a;return r=new Y({}),{c(){t=E("div"),w(r.$$.fragment),e=I(),o=E("p"),n=h("(This will fail if you have no workers running.)"),this.h()},l(l){t=S(l,"DIV",{class:!0});var s=L(t);v(r.$$.fragment,s),e=q(s),o=S(s,"P",{});var p=L(o);n=b(p,"(This will fail if you have no workers running.)"),p.forEach(_),s.forEach(_),this.h()},h(){N(t,"class","text-center")},m(l,s){d(l,t,s),T(r,t,null),g(t,e),g(t,o),g(o,n),a=!0},p:A,i(l){a||($(r.$$.fragment,l),a=!0)},o(l){k(r.$$.fragment,l),a=!1},d(l){l&&_(t),y(r)}}}function ie(c){let t,r,e,o;const n=[re,te],a=[];function l(s,p){var i,f,m;return(i=s[0])!=null&&i.isRunning&&((m=(f=s[3])==null?void 0:f.pollers)==null?void 0:m.length)>0?0:1}return r=l(c),e=a[r]=n[r](c),{c(){t=E("section"),e.c()},l(s){t=S(s,"SECTION",{});var p=L(t);e.l(p),p.forEach(_)},m(s,p){d(s,t,p),a[r].m(t,null),o=!0},p(s,[p]){let i=r;r=l(s),r===i?a[r].p(s,p):(U(),k(a[i],1,1,()=>{a[i]=null}),j(),e=a[r],e?e.p(s,p):(e=a[r]=n[r](s),e.c()),$(e,1),e.m(t,null))},i(s){o||($(e),o=!0)},o(s){k(e),o=!1},d(s){s&&_(t),a[r].d()}}}let ue=!1;function fe(c,t,r){let e,o,n,a,l;C(c,x,u=>r(6,n=u)),C(c,M,u=>r(7,a=u)),C(c,J,u=>r(5,l=u));const{namespace:s}=a.params;let p=new Date;const i=()=>{var u;return W({workflow:e,namespace:s},(u=a.data)===null||u===void 0?void 0:u.settings,n==null?void 0:n.accessToken)};let f;const m=()=>{var u;r(2,f=W({workflow:e,namespace:s},(u=a.data)===null||u===void 0?void 0:u.settings,n==null?void 0:n.accessToken)),f.then(()=>{r(1,p=new Date)})};return c.$$.update=()=>{c.$$.dirty&32&&r(0,{workflow:e,workers:o}=l,e,(r(3,o),r(5,l))),c.$$.dirty&1&&e!=null&&e.isRunning&&r(2,f=i())},[e,p,f,o,m,l]}class me extends B{constructor(t){super(),F(this,t,fe,ie,O,{})}}function pe(c){let t,r,e,o;return t=new ee({props:{title:`Stack Trace | ${c[1]}`,url:c[0].url.href}}),e=new me({}),{c(){w(t.$$.fragment),r=I(),w(e.$$.fragment)},l(n){v(t.$$.fragment,n),r=q(n),v(e.$$.fragment,n)},m(n,a){T(t,n,a),d(n,r,a),T(e,n,a),o=!0},p(n,[a]){const l={};a&1&&(l.url=n[0].url.href),t.$set(l)},i(n){o||($(t.$$.fragment,n),$(e.$$.fragment,n),o=!0)},o(n){k(t.$$.fragment,n),k(e.$$.fragment,n),o=!1},d(n){y(t,n),n&&_(r),y(e,n)}}}function _e(c,t,r){let e;C(c,M,n=>r(0,e=n));const o=e.params.workflow;return[e,o]}class Se extends B{constructor(t){super(),F(this,t,_e,pe,O,{})}}export{Se as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-workers-page.svelte.1cc953f3.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-workers-page.svelte.1cc953f3.js deleted file mode 100644 index 31fa2c1a6f..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-workers-page.svelte.1cc953f3.js +++ /dev/null @@ -1 +0,0 @@ -import{S as c,b as w,a as k,C as u,D as m,E as i,j as p,g as l,F as $,L as g,c as _,d as h,f as Q,k as W}from"../chunks/index.d29c66be.js";import{p as b}from"../chunks/stores.b938c0e3.js";import{P as d}from"../chunks/page-title.ba38eecf.js";import{w as P}from"../chunks/workflow-run.2461dc7d.js";import{W as y}from"../chunks/workers-list.0e0f0daa.js";function C(n){var s;let r,o;return r=new y({props:{taskQueue:(s=n[0])==null?void 0:s.taskQueue,workers:n[1]}}),{c(){u(r.$$.fragment)},l(t){m(r.$$.fragment,t)},m(t,e){i(r,t,e),o=!0},p(t,[e]){var f;const a={};e&1&&(a.taskQueue=(f=t[0])==null?void 0:f.taskQueue),e&2&&(a.workers=t[1]),r.$set(a)},i(t){o||(p(r.$$.fragment,t),o=!0)},o(t){l(r.$$.fragment,t),o=!1},d(t){$(r,t)}}}function R(n,r,o){let s,t,e;return g(n,P,a=>o(2,e=a)),n.$$.update=()=>{n.$$.dirty&4&&o(1,{workers:s,workflow:t}=e,s,(o(0,t),o(2,e)))},[t,s,e]}class S extends c{constructor(r){super(),w(this,r,R,C,k,{})}}function j(n){let r,o,s,t;return r=new d({props:{title:`Workers | ${n[1]}`,url:n[0].url.href}}),s=new S({}),{c(){u(r.$$.fragment),o=_(),u(s.$$.fragment)},l(e){m(r.$$.fragment,e),o=h(e),m(s.$$.fragment,e)},m(e,a){i(r,e,a),Q(e,o,a),i(s,e,a),t=!0},p(e,[a]){const f={};a&1&&(f.url=e[0].url.href),r.$set(f)},i(e){t||(p(r.$$.fragment,e),p(s.$$.fragment,e),t=!0)},o(e){l(r.$$.fragment,e),l(s.$$.fragment,e),t=!1},d(e){$(r,e),e&&W(o),$(s,e)}}}function q(n,r,o){let s;g(n,b,e=>o(0,s=e));const t=s.params.workflow;return[s,t]}class z extends c{constructor(r){super(),w(this,r,q,j,k,{})}}export{z as default}; diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-workers-page.svelte.1685c280.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-workers-page.svelte.a20aa4e3.js similarity index 95% rename from ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-workers-page.svelte.1685c280.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-workers-page.svelte.a20aa4e3.js index 5dceabb090..ce54806103 100644 --- a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-workers-page.svelte.1685c280.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-workers-page.svelte.a20aa4e3.js @@ -1 +1 @@ -import{S as c,b as w,a as k,C as u,D as m,E as i,j as p,g as l,F as $,L as g,c as _,d as h,f as Q,k as W}from"../chunks/index.d29c66be.js";import{p as b}from"../chunks/stores.1f7fa6eb.js";import{P as d}from"../chunks/page-title.ba38eecf.js";import{w as P}from"../chunks/workflow-run.2461dc7d.js";import{W as y}from"../chunks/workers-list.0e0f0daa.js";function C(n){var s;let r,o;return r=new y({props:{taskQueue:(s=n[0])==null?void 0:s.taskQueue,workers:n[1]}}),{c(){u(r.$$.fragment)},l(t){m(r.$$.fragment,t)},m(t,e){i(r,t,e),o=!0},p(t,[e]){var f;const a={};e&1&&(a.taskQueue=(f=t[0])==null?void 0:f.taskQueue),e&2&&(a.workers=t[1]),r.$set(a)},i(t){o||(p(r.$$.fragment,t),o=!0)},o(t){l(r.$$.fragment,t),o=!1},d(t){$(r,t)}}}function R(n,r,o){let s,t,e;return g(n,P,a=>o(2,e=a)),n.$$.update=()=>{n.$$.dirty&4&&o(1,{workers:s,workflow:t}=e,s,(o(0,t),o(2,e)))},[t,s,e]}class S extends c{constructor(r){super(),w(this,r,R,C,k,{})}}function j(n){let r,o,s,t;return r=new d({props:{title:`Workers | ${n[1]}`,url:n[0].url.href}}),s=new S({}),{c(){u(r.$$.fragment),o=_(),u(s.$$.fragment)},l(e){m(r.$$.fragment,e),o=h(e),m(s.$$.fragment,e)},m(e,a){i(r,e,a),Q(e,o,a),i(s,e,a),t=!0},p(e,[a]){const f={};a&1&&(f.url=e[0].url.href),r.$set(f)},i(e){t||(p(r.$$.fragment,e),p(s.$$.fragment,e),t=!0)},o(e){l(r.$$.fragment,e),l(s.$$.fragment,e),t=!1},d(e){$(r,e),e&&W(o),$(s,e)}}}function q(n,r,o){let s;g(n,b,e=>o(0,s=e));const t=s.params.workflow;return[s,t]}class z extends c{constructor(r){super(),w(this,r,q,j,k,{})}}export{z as default}; +import{S as c,b as w,a as k,C as u,D as m,E as i,j as p,g as l,F as $,L as g,c as _,d as h,f as Q,k as W}from"../chunks/index.d29c66be.js";import{p as b}from"../chunks/stores.8c019868.js";import{P as d}from"../chunks/page-title.ba38eecf.js";import{w as P}from"../chunks/workflow-run.2461dc7d.js";import{W as y}from"../chunks/workers-list.0e0f0daa.js";function C(n){var s;let r,o;return r=new y({props:{taskQueue:(s=n[0])==null?void 0:s.taskQueue,workers:n[1]}}),{c(){u(r.$$.fragment)},l(t){m(r.$$.fragment,t)},m(t,e){i(r,t,e),o=!0},p(t,[e]){var f;const a={};e&1&&(a.taskQueue=(f=t[0])==null?void 0:f.taskQueue),e&2&&(a.workers=t[1]),r.$set(a)},i(t){o||(p(r.$$.fragment,t),o=!0)},o(t){l(r.$$.fragment,t),o=!1},d(t){$(r,t)}}}function R(n,r,o){let s,t,e;return g(n,P,a=>o(2,e=a)),n.$$.update=()=>{n.$$.dirty&4&&o(1,{workers:s,workflow:t}=e,s,(o(0,t),o(2,e)))},[t,s,e]}class S extends c{constructor(r){super(),w(this,r,R,C,k,{})}}function j(n){let r,o,s,t;return r=new d({props:{title:`Workers | ${n[1]}`,url:n[0].url.href}}),s=new S({}),{c(){u(r.$$.fragment),o=_(),u(s.$$.fragment)},l(e){m(r.$$.fragment,e),o=h(e),m(s.$$.fragment,e)},m(e,a){i(r,e,a),Q(e,o,a),i(s,e,a),t=!0},p(e,[a]){const f={};a&1&&(f.url=e[0].url.href),r.$set(f)},i(e){t||(p(r.$$.fragment,e),p(s.$$.fragment,e),t=!0)},o(e){l(r.$$.fragment,e),l(s.$$.fragment,e),t=!1},d(e){$(r,e),e&&W(o),$(s,e)}}}function q(n,r,o){let s;g(n,b,e=>o(0,s=e));const t=s.params.workflow;return[s,t]}class z extends c{constructor(r){super(),w(this,r,q,j,k,{})}}export{z as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-page.ts.0cc8d463.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-page.ts.0cc8d463.js deleted file mode 100644 index cd1a16223e..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-page.ts.0cc8d463.js +++ /dev/null @@ -1 +0,0 @@ -import"../chunks/index.b1f5b21f.js";import"../chunks/workflow-service.43d562ed.js";import{l as t}from"../chunks/_page.78470139.js";export{t as load}; diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-page.ts.e565d201.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-page.ts.af59c2b6.js similarity index 57% rename from ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-page.ts.e565d201.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-page.ts.af59c2b6.js index 5306436293..6ec14da831 100644 --- a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-page.ts.e565d201.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-page.ts.af59c2b6.js @@ -1 +1 @@ -import"../chunks/index.b1f5b21f.js";import"../chunks/workflow-service.22d7ee79.js";import{l as t}from"../chunks/_page.22924f6a.js";export{t as load}; +import"../chunks/index.b1f5b21f.js";import"../chunks/workflow-service.5b743be0.js";import{l as t}from"../chunks/_page.e4417f20.js";export{t as load}; diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-page.svelte.002dc793.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-page.svelte.b7634936.js similarity index 99% rename from ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-page.svelte.002dc793.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-page.svelte.b7634936.js index e56dd2b5e7..1d86c1477d 100644 --- a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-page.svelte.002dc793.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-page.svelte.b7634936.js @@ -1,4 +1,4 @@ -import{S as se,b as ae,a as ie,m as A,c as L,p as O,q as N,k as p,d as R,u as T,f as v,M as S,z as X,g,h as x,j as h,L as M,N as it,w as U,x as q,U as oe,ac as Xe,A as me,Y as pe,C as I,D as E,E as D,Z as he,F as C,e as ne,a7 as Ne,a1 as yt,a2 as Vt,y as ue,n as H,o as vn,_ as le,ai as lr,G as Ce,H as Se,I as We,J as Ae,K as yn,$ as Gt,aa as Jt,al as nr,T as te,i as Tn,a9 as rr,r as tt,v as Zt,O as ut,R as Xt,W as nt,V as or,a5 as xt,P as gt,Q as Ze}from"../chunks/index.d29c66be.js";import{p as Be}from"../chunks/stores.1f7fa6eb.js";import{t as ze}from"../chunks/time-format.6ef667eb.js";import{b as $t,r as st,c as In,u as Pt,l as Mt,d as En,e as rt,A as at,g as sr,f as ar,h as Lt,a as ir,w as fr}from"../chunks/workflow-terminate-enabled.cb08b74f.js";import{l as bt}from"../chunks/namespaces.52575875.js";import{E as Tt}from"../chunks/empty-state.bf113865.js";import{u as ot,P as Dn}from"../chunks/pagination.c0661e6a.js";import{t as el,j as Cn,S as ur,W as cr,a as mr,b as _r,F as dr}from"../chunks/search.ceb62d05.js";import{I as we}from"../chunks/icon.5aa23970.js";import{r as It,t as pr,y as Et,s as dt,k as hr,l as gr,m as tl,n as $r,u as br,v as wr,w as kr,z as pt,A as wt,B as St,C as ll}from"../chunks/format-time.66fea38b.js";import{t as nl,s as mt,i as vr,a as yr}from"../chunks/list-workflow-query.722ba818.js";import{S as Wt,a as xe}from"../chunks/simple-select.2e5f96b1.js";import{I as Ue}from"../chunks/input.0adb9ec6.js";import{a as Tr,e as Ir,d as Er,k as Dr,l as Cr}from"../chunks/has.8da86d13.js";import{L as Rt}from"../chunks/loading.9b5a6a67.js";import{P as Sr}from"../chunks/page-title.ba38eecf.js";import{d as ft,w as Ut}from"../chunks/index.255b7490.js";import{a as de,w as ye,p as Nt}from"../chunks/filters.2ba801c3.js";import{c as Sn,i as Wr,w as Ar}from"../chunks/search-attributes.c866741f.js";import{f as Or,a as Nr,I as et}from"../chunks/tooltip.ca813c82.js";import{B as Bt}from"../chunks/button.e7112b29.js";import{t as fe,W as Wn}from"../chunks/workflow-status.688af89a.js";import{c as rl}from"../chunks/format-camel-case.960a78f9.js";import{c as Br}from"../chunks/outside-click.0db702a6.js";import{w as ol,a as Fr,b as sl}from"../chunks/calendar.81d1e381.js";import{T as Vr,a as al}from"../chunks/toggle-buttons.8fcf9ebe.js";import{M as il,a as An,b as On,c as je}from"../chunks/menu-item.be414f05.js";import{s as Nn}from"../chunks/parse-with-big-int.02af2f95.js";import{r as qt,a as Ht}from"../chunks/route-for-api.5906c1df.js";import{i as Bn}from"../chunks/version-check.d006b302.js";import{t as Fn}from"../chunks/versions.dfa21225.js";import{g as Pr,a as Mr}from"../chunks/auth-user.ead5c000.js";import{v as Vn,t as ht}from"../chunks/toaster.fda31b2d.js";import{M as Lr}from"../chunks/modal.765fc6dd.js";import{p as Pn}from"../chunks/persist-store.bb6871e4.js";import{D as Rr}from"../chunks/drawer.e151c6f1.js";import{s as Ur}from"../chunks/settings.a68ca666.js";import{P as qr}from"../chunks/table-header-row.a7bab5a4.js";import{D as Dt}from"../chunks/dropdown-menu.abe6e484.js";import{g as Hr}from"../chunks/navigation.529c81bc.js";import{f as Mn}from"../chunks/route-for.5e008fb6.js";import{c as zr}from"../chunks/core-user.faf7a38e.js";import{B as jr}from"../chunks/badge.2c189bf4.js";import{f as Qe}from"../chunks/format-date.100c5f23.js";function zt(r,e){It(2,arguments);var l=pr(r).getTime(),t=Et(e);return new Date(l+t)}var Qr=36e5;function Kr(r,e){It(2,arguments);var l=Et(e);return zt(r,l*Qr)}var Yr=6e4;function Gr(r,e){It(2,arguments);var l=Et(e);return zt(r,l*Yr)}function Jr(r,e){It(2,arguments);var l=Et(e);return zt(r,l*1e3)}function fl(r,e,l){const t=r.slice();return t[16]=e[l][0],t[17]=e[l][1],t}function ul(r,e,l){const t=r.slice();return t[17]=e[l],t}function Zr(r){let e,l,t,n,a;return{c(){e=A("a"),l=U("Advanced Search"),this.h()},l(o){e=O(o,"A",{href:!0,class:!0});var s=N(e);l=q(s,"Advanced Search"),s.forEach(p),this.h()},h(){T(e,"href",t=r[2].url.pathname+"?searchType=advanced"),T(e,"class","text-blue-700")},m(o,s){v(o,e,s),S(e,l),n||(a=oe(e,"click",Xe(r[6]("advanced"))),n=!0)},p(o,s){s&4&&t!==(t=o[2].url.pathname+"?searchType=advanced")&&T(e,"href",t)},d(o){o&&p(e),n=!1,a()}}}function Xr(r){let e,l,t,n,a;return{c(){e=A("a"),l=U("Basic Search"),this.h()},l(o){e=O(o,"A",{href:!0,class:!0});var s=N(e);l=q(s,"Basic Search"),s.forEach(p),this.h()},h(){T(e,"href",t=r[2].url.pathname+"?searchType=basic"),T(e,"class","text-blue-700")},m(o,s){v(o,e,s),S(e,l),n||(a=oe(e,"click",Xe(r[6]("basic"))),n=!0)},p(o,s){s&4&&t!==(t=o[2].url.pathname+"?searchType=basic")&&T(e,"href",t)},d(o){o&&p(e),n=!1,a()}}}function xr(r){let e,l,t,n,a,o,s,i,f,c,u,m,_,d,$,w;function b(z){r[9](z)}let W={icon:"search",type:"search",id:"workflow-id-filter",placeholder:"Workflow ID"};r[3].workflowId!==void 0&&(W.value=r[3].workflowId),l=new Ue({props:W}),me.push(()=>pe(l,"value",b)),l.$on("input",r[8]);function k(z){r[10](z)}let y={icon:"search",type:"search",id:"workflow-type-filter",placeholder:"Workflow Type"};r[3].workflowType!==void 0&&(y.value=r[3].workflowType),a=new Ue({props:y}),me.push(()=>pe(a,"value",k)),a.$on("input",r[8]);function B(z){r[11](z)}let P={id:"time-range-filter",label:"Time Range",$$slots:{default:[ro]},$$scope:{ctx:r}};r[3].timeRange!==void 0&&(P.value=r[3].timeRange),i=new Wt({props:P}),me.push(()=>pe(i,"value",B)),i.$on("change",r[8]);function Z(z){r[12](z)}let V={id:"execution-status-filter",label:"Workflow Status",$$slots:{default:[so]},$$scope:{ctx:r}};r[3].executionStatus!==void 0&&(V.value=r[3].executionStatus),u=new Wt({props:V}),me.push(()=>pe(u,"value",Z)),u.$on("change",r[8]);function K(z){r[13](z)}let j={id:"filter-by-relative-time",label:"Time Format",$$slots:{default:[uo]},$$scope:{ctx:r}};return r[4]!==void 0&&(j.value=r[4]),d=new Wt({props:j}),me.push(()=>pe(d,"value",K)),{c(){e=A("div"),I(l.$$.fragment),n=L(),I(a.$$.fragment),s=L(),I(i.$$.fragment),c=L(),I(u.$$.fragment),_=L(),I(d.$$.fragment),this.h()},l(z){e=O(z,"DIV",{role:!0,class:!0});var F=N(e);E(l.$$.fragment,F),n=R(F),E(a.$$.fragment,F),s=R(F),E(i.$$.fragment,F),c=R(F),E(u.$$.fragment,F),_=R(F),E(d.$$.fragment,F),F.forEach(p),this.h()},h(){T(e,"role","search"),T(e,"class","grid grid-cols-1 gap-4 sm:grid-cols-2 md:grid-cols-5")},m(z,F){v(z,e,F),D(l,e,null),S(e,n),D(a,e,null),S(e,s),D(i,e,null),S(e,c),D(u,e,null),S(e,_),D(d,e,null),w=!0},p(z,F){const Y={};!t&&F&8&&(t=!0,Y.value=z[3].workflowId,he(()=>t=!1)),l.$set(Y);const ee={};!o&&F&8&&(o=!0,ee.value=z[3].workflowType,he(()=>o=!1)),a.$set(ee);const re={};F&4194312&&(re.$$scope={dirty:F,ctx:z}),!f&&F&8&&(f=!0,re.value=z[3].timeRange,he(()=>f=!1)),i.$set(re);const _e={};F&4194304&&(_e.$$scope={dirty:F,ctx:z}),!m&&F&8&&(m=!0,_e.value=z[3].executionStatus,he(()=>m=!1)),u.$set(_e);const ge={};F&4194304&&(ge.$$scope={dirty:F,ctx:z}),!$&&F&16&&($=!0,ge.value=z[4],he(()=>$=!1)),d.$set(ge)},i(z){w||(h(l.$$.fragment,z),h(a.$$.fragment,z),h(i.$$.fragment,z),h(u.$$.fragment,z),h(d.$$.fragment,z),w=!0)},o(z){g(l.$$.fragment,z),g(a.$$.fragment,z),g(i.$$.fragment,z),g(u.$$.fragment,z),g(d.$$.fragment,z),w=!1},d(z){z&&p(e),C(l),C(a),C(i),C(u),C(d)}}}function eo(r){let e,l;return e=new ur({props:{icon:!0,id:"advanced-search",placeholder:"Query…",value:r[1]}}),e.$on("submit",r[7]),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const a={};n&2&&(a.value=t[1]),e.$set(a)},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function to(r){let e;return{c(){e=U("All")},l(l){e=q(l,"All")},m(l,t){v(l,e,t)},d(l){l&&p(e)}}}function cl(r){let e,l;return e=new xe({props:{value:r[3].timeRange,$$slots:{default:[lo]},$$scope:{ctx:r}}}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const a={};n&8&&(a.value=t[3].timeRange),n&4194312&&(a.$$scope={dirty:n,ctx:t}),e.$set(a)},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function lo(r){let e=r[3].timeRange+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p(t,n){n&8&&e!==(e=t[3].timeRange+"")&&ue(l,e)},d(t){t&&p(l)}}}function no(r){let e=r[17]+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p:H,d(t){t&&p(l)}}}function ml(r){let e,l;return e=new xe({props:{value:r[17],$$slots:{default:[no]},$$scope:{ctx:r}}}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const a={};n&4194304&&(a.$$scope={dirty:n,ctx:t}),e.$set(a)},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function ro(r){let e,l,t=r[3].timeRange&&!dt.includes(r[3].timeRange),n,a,o;e=new xe({props:{value:null,$$slots:{default:[to]},$$scope:{ctx:r}}});let s=t&&cl(r),i=dt,f=[];for(let u=0;ug(f[u],1,1,()=>{f[u]=null});return{c(){I(e.$$.fragment),l=L(),s&&s.c(),n=L();for(let u=0;u{s=null}),x()),m&0){i=dt;let d;for(d=0;ds[16];for(let s=0;s{u[$]=null}),x(),a=u[n],a?a.p(_,d):(a=u[n]=c[n](_),a.c()),h(a,1),a.m(e,null))},i(_){o||(h(a),o=!0)},o(_){g(a),o=!1},d(_){_&&p(e),f.d(),u[n].d()}}}function mo(r,e,l){let t,n,a,o;M(r,Be,k=>l(2,a=k)),M(r,ze,k=>l(4,o=k));const s=it();let{searchType:i}=e;const f=nl({timeRange:"All"}),c={All:null,Running:"Running","Timed Out":"TimedOut",Completed:"Completed",Failed:"Failed","Continued as New":"ContinuedAsNew",Canceled:"Canceled",Terminated:"Terminated"},u=k=>()=>{l(0,i=k),ot({parameter:"search",value:i,url:a.url})},m=k=>{s("search");const y=new FormData(k.target);l(1,t=String(y.get("query"))),l(3,n=el(t)),ot({url:a.url,parameter:"query",value:t})},_=Cn(()=>{s("search"),l(1,t=nl(n)),ot({url:a.url,parameter:"query",value:t,allowEmpty:!0})},300);function d(k){r.$$.not_equal(n.workflowId,k)&&(n.workflowId=k,l(3,n),l(1,t),l(2,a))}function $(k){r.$$.not_equal(n.workflowType,k)&&(n.workflowType=k,l(3,n),l(1,t),l(2,a))}function w(k){r.$$.not_equal(n.timeRange,k)&&(n.timeRange=k,l(3,n),l(1,t),l(2,a))}function b(k){r.$$.not_equal(n.executionStatus,k)&&(n.executionStatus=k,l(3,n),l(1,t),l(2,a))}function W(k){o=k,ze.set(o)}return r.$$set=k=>{"searchType"in k&&l(0,i=k.searchType)},r.$$.update=()=>{r.$$.dirty&4&&l(1,t=a.url.searchParams.get("query")),r.$$.dirty&2&&l(3,n=el(t??f))},[i,t,a,n,o,c,u,m,_,d,$,w,b,W]}class _o extends se{constructor(e){super(),ae(this,e,mo,co,ie,{searchType:0})}}const po=r=>Tr(r)?r==="basic"||r==="advanced":!1,ho=r=>{const e=r.searchParams.get("search");return po(e)?e:(r.searchParams.set("search","basic"),"basic")};function dl(r,e,l){const t=r.slice();return t[14]=e[l],t}function pl(r){let e,l,t,n,a,o,s,i,f,c;const u=[$o,go],m=[];function _(b,W){return b[5]?0:1}t=_(r),n=m[t]=u[t](r);const d=[wo,bo],$=[];function w(b,W){return b[5]?0:1}return s=w(r),i=$[s]=d[s](r),{c(){e=A("tr"),l=A("td"),n.c(),a=L(),o=A("td"),i.c(),f=L(),this.h()},l(b){e=O(b,"TR",{});var W=N(e);l=O(W,"TD",{colspan:!0,class:!0});var k=N(l);n.l(k),k.forEach(p),a=R(W),o=O(W,"TD",{colspan:!0,class:!0});var y=N(o);i.l(y),y.forEach(p),f=R(W),W.forEach(p),this.h()},h(){T(l,"colspan","5"),T(l,"class","xl:hidden"),T(o,"colspan","7"),T(o,"class","hidden xl:table-cell")},m(b,W){v(b,e,W),S(e,l),m[t].m(l,null),S(e,a),S(e,o),$[s].m(o,null),S(e,f),c=!0},p(b,W){let k=t;t=_(b),t===k?m[t].p(b,W):(X(),g(m[k],1,1,()=>{m[k]=null}),x(),n=m[t],n?n.p(b,W):(n=m[t]=u[t](b),n.c()),h(n,1),n.m(l,null));let y=s;s=w(b),s===y?$[s].p(b,W):(X(),g($[y],1,1,()=>{$[y]=null}),x(),i=$[s],i?i.p(b,W):(i=$[s]=d[s](b),i.c()),h(i,1),i.m(o,null))},i(b){c||(h(n),h(i),c=!0)},o(b){g(n),g(i),c=!1},d(b){b&&p(e),m[t].d(),$[s].d()}}}function go(r){let e,l;return e=new Tt({props:{title:"No Workflows Found",content:r[7],error:r[6]}}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const a={};n&64&&(a.error=t[6]),e.$set(a)},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function $o(r){let e,l;return e=new Rt({}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:H,i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function bo(r){let e,l;return e=new Tt({props:{title:"No Workflows Found",content:r[7],error:r[6]}}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const a={};n&64&&(a.error=t[6]),e.$set(a)},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function wo(r){let e,l;return e=new Rt({}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:H,i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function hl(r){let e,l;return e=new mr({props:{workflow:r[14],namespace:r[1].params.namespace,timeFormat:r[4]}}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const a={};n&8192&&(a.workflow=t[14]),n&2&&(a.namespace=t[1].params.namespace),n&16&&(a.timeFormat=t[4]),e.$set(a)},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function ko(r){let e,l,t=r[13],n=[];for(let s=0;sg(n[s],1,1,()=>{n[s]=null});let o=null;return t.length||(o=pl(r)),{c(){for(let s=0;s{o=null}),x()):(o=pl(s),o.c(),h(o,1),o.m(e.parentNode,e))}},i(s){if(!l){for(let i=0;ipe($,"searchType",P)),W=new Dn({props:{items:r[2],"aria-label":"recent workflows",$$slots:{default:[vo,({visibleItems:V})=>({13:V}),({visibleItems:V})=>V?8192:0]},$$scope:{ctx:r}}}),{c(){e=A("header"),l=A("div"),t=A("h1"),n=U("Recent Workflows"),a=L(),o=A("div"),s=A("p"),f=U(i),c=L(),u=A("div"),m=A("button"),I(_.$$.fragment),d=L(),I($.$$.fragment),b=L(),I(W.$$.fragment),this.h()},l(V){e=O(V,"HEADER",{class:!0});var K=N(e);l=O(K,"DIV",{});var j=N(l);t=O(j,"H1",{class:!0,"data-testid":!0});var z=N(t);n=q(z,"Recent Workflows"),z.forEach(p),a=R(j),o=O(j,"DIV",{class:!0});var F=N(o);s=O(F,"P",{"data-testid":!0});var Y=N(s);f=q(Y,i),Y.forEach(p),F.forEach(p),j.forEach(p),c=R(K),u=O(K,"DIV",{});var ee=N(u);m=O(ee,"BUTTON",{"aria-label":!0,class:!0});var re=N(m);E(_.$$.fragment,re),re.forEach(p),ee.forEach(p),K.forEach(p),d=R(V),E($.$$.fragment,V),b=R(V),E(W.$$.fragment,V),this.h()},h(){T(t,"class","text-2xl"),T(t,"data-testid","namespace-title"),T(s,"data-testid","namespace-name"),T(o,"class","flex items-center gap-2 text-sm"),T(m,"aria-label","retry workflows"),T(m,"class","cursor-pointer rounded-full p-1 hover:bg-gray-900 hover:text-white"),T(e,"class","mb-2 flex justify-between")},m(V,K){v(V,e,K),S(e,l),S(l,t),S(t,n),S(l,a),S(l,o),S(o,s),S(s,f),S(e,c),S(e,u),S(u,m),D(_,m,null),v(V,d,K),D($,V,K),v(V,b,K),D(W,V,K),k=!0,y||(B=oe(m,"click",r[8]),y=!0)},p(V,[K]){(!k||K&2)&&i!==(i=V[1].params.namespace+"")&&ue(f,i);const j={};!w&&K&1&&(w=!0,j.searchType=V[0],he(()=>w=!1)),$.$set(j);const z={};K&4&&(z.items=V[2]),K&139386&&(z.$$scope={dirty:K,ctx:V}),W.$set(z)},i(V){k||(h(_.$$.fragment,V),h($.$$.fragment,V),h(W.$$.fragment,V),k=!0)},o(V){g(_.$$.fragment,V),g($.$$.fragment,V),g(W.$$.fragment,V),k=!1},d(V){V&&p(e),C(_),V&&p(d),C($,V),V&&p(b),C(W,V),y=!1,B()}}}function To(r,e,l){let t,n,a,o,s,i,f,c,u;M(r,Be,w=>l(1,t=w)),M(r,$t,w=>l(10,n=w)),M(r,st,w=>l(11,a=w)),M(r,bt,w=>l(12,o=w)),M(r,In,w=>l(2,s=w)),M(r,Pt,w=>l(3,i=w)),M(r,ze,w=>l(4,f=w)),M(r,Mt,w=>l(5,c=w)),M(r,En,w=>l(6,u=w));let m=ho(t.url);const _=m==="advanced"?"Please check your syntax and try again.":"If you have filters applied, try adjusting them.";vn(()=>{le(bt,o=t.params.namespace,o)});const d=()=>{le(st,a=Date.now(),a)};lr(()=>{le($t,n=t.url.searchParams.toString(),n)});function $(w){m=w,l(0,m)}return[m,t,s,i,f,c,u,_,d,$]}class Io extends se{constructor(e){super(),ae(this,e,To,yo,ie,{})}}const Eo=r=>({}),gl=r=>({});function Do(r){let e;const l=r[2].fallback,t=Ce(l,r,r[1],gl);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,a){t&&t.m(n,a),e=!0},p(n,a){t&&t.p&&(!e||a&2)&&Se(t,l,n,n[1],e?Ae(l,n[1],a,Eo):We(n[1]),gl)},i(n){e||(h(t,n),e=!0)},o(n){g(t,n),e=!1},d(n){t&&t.d(n)}}}function Co(r){let e;const l=r[2].default,t=Ce(l,r,r[1],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,a){t&&t.m(n,a),e=!0},p(n,a){t&&t.p&&(!e||a&2)&&Se(t,l,n,n[1],e?Ae(l,n[1],a,null):We(n[1]),null)},i(n){e||(h(t,n),e=!0)},o(n){g(t,n),e=!1},d(n){t&&t.d(n)}}}function So(r){let e,l,t,n;const a=[Co,Do],o=[];function s(i,f){return i[0]?0:1}return e=s(r),l=o[e]=a[e](r),{c(){l.c(),t=ne()},l(i){l.l(i),t=ne()},m(i,f){o[e].m(i,f),v(i,t,f),n=!0},p(i,[f]){let c=e;e=s(i),e===c?o[e].p(i,f):(X(),g(o[c],1,1,()=>{o[c]=null}),x(),l=o[e],l?l.p(i,f):(l=o[e]=a[e](i),l.c()),h(l,1),l.m(t.parentNode,t))},i(i){n||(h(l),n=!0)},o(i){g(l),n=!1},d(i){o[e].d(i),i&&p(t)}}}function Wo(r,e,l){let t;M(r,mt,o=>l(0,t=o));let{$$slots:n={},$$scope:a}=e;return r.$$set=o=>{"$$scope"in o&&l(1,a=o.$$scope)},[t,a,n]}class Ao extends se{constructor(e){super(),ae(this,e,Wo,So,ie,{})}}const Oo={workflowId:"WorkflowId",workflowType:"WorkflowType",timeRange:"StartTime",executionStatus:"ExecutionStatus",closeTime:"CloseTime",runId:"RunId"},No=r=>!(r===null||r===void 0||r===""||typeof r=="string"&&r==="undefined"),Bo=(r,e,l="=",t,n)=>{const a=Oo[r]??r;return e==="All"?"":n?`${a} ${e}`:hr(e)||gr(e)?t||yn(mt)?`${a} > "${tl(e)}"`:`${a} BETWEEN "${tl(e)}" AND "${$r()}"`:`${a}${l}"${e}"`},Fo=(r,e)=>r.map(({attribute:l,value:t,conditional:n,operator:a,parenthesis:o,customDate:s})=>{if(No(t)){let i=Bo(l,t,n,e,s);return o==="("?i=`(${i}`:o===")"&&(i=`${i})`),a&&(i=`${i} ${a} `),i}}).filter(Boolean),Vo=(r=[],e=[],l=!1)=>{const t=e.length?` order by ${e[0].attribute} ${e[0].value}`:"";return Fo(r,l).join("")+t},Po=r=>e=>e.toLowerCase()===r.toLowerCase(),$l=(r,e)=>r[e+2],Mo=(r,e)=>r[e-2],Lo=r=>{if(r){for(const e of kr)if(r[e])return{[e]:r[e]}}},Ro=Po("Datetime"),At=()=>({attribute:"",value:"",operator:"",parenthesis:"",conditional:""}),Uo={ExecutionStatus:"Keyword",StartTime:"Datetime",CloseTime:"Datetime",WorkflowId:"Keyword",WorkflowType:"Keyword",RunId:"Keyword"},Ln=(r,e=Uo)=>{const l=_r(r),t=[];let n=At();if(!r)return[];try{return l.forEach((a,o)=>{if(e[a])if(n.attribute=a,Ro(e[a])){const s=$l(l,o);try{const i=br(s),f=Lo(i);n.value=wr(f)}catch(i){console.error("Error parsing Datetime field from query",i)}}else n.value=$l(l,o);Ir(a)&&(n.conditional=a),Er(a)&&(n.parenthesis=a),Dr(a)&&!Cr(Mo(l,o))&&(n.operator=a,t.push(n),n=At()),o===l.length-1&&(t.push(n),n=At())}),t}catch(a){return console.error("Error setting filter parameters: ",a),[]}},qo=r=>{const e=r.filter(s=>s.attribute==="ExecutionStatus"&&s.value),l=r.filter(s=>s.attribute==="WorkflowId"&&s.value),t=r.filter(s=>s.attribute==="WorkflowType"&&s.value),n=r.filter(s=>s.attribute==="RunId"&&s.value),a=r.filter(s=>(s.attribute==="StartTime"||s.attribute==="CloseTime")&&s.value),o=[e,l,n,t,a].filter(s=>s.length);return o.forEach((s,i)=>{var f,c;s.length&&((f=o[i+1])!=null&&f.length)?s[s.length-1].operator="AND":s.length&&!((c=o[i+1])!=null&&c.length)&&(s[s.length-1].operator="")}),[...e,...l,...n,...t,...a]},Ke=Cn((r,e,l)=>{const t=qo(e),n=Vo(t,l);ot({url:r,parameter:"query",value:n,allowEmpty:!1})},300);function Ho(r){let e;return{c(){e=U("Search")},l(l){e=q(l,"Search")},m(l,t){v(l,e,t)},d(l){l&&p(e)}}}function zo(r){let e,l,t,n,a,o,s,i,f,c,u,m;function _($){r[5]($)}let d={id:"manual-search",type:"search",placeholder:fe("search-placeholder"),icon:"search",class:"w-3/4",clearable:!0,unroundRight:!0};return r[0]!==void 0&&(d.value=r[0]),n=new Ue({props:d}),me.push(()=>pe(n,"value",_)),n.$on("clear",r[2]),s=new Bt({props:{testId:"manual-search-button",variant:"primary",class:"h-10",unroundLeft:!0,type:"submit",$$slots:{default:[Ho]},$$scope:{ctx:r}}}),{c(){e=A("div"),l=A("div"),t=A("form"),I(n.$$.fragment),o=L(),I(s.$$.fragment),this.h()},l($){e=O($,"DIV",{class:!0});var w=N(e);l=O(w,"DIV",{class:!0});var b=N(l);t=O(b,"FORM",{class:!0,role:!0});var W=N(t);E(n.$$.fragment,W),o=R(W),E(s.$$.fragment,W),W.forEach(p),b.forEach(p),w.forEach(p),this.h()},h(){T(t,"class","relative flex h-12 w-full items-center gap-0"),T(t,"role","search"),T(l,"class","flex h-12 w-full items-center gap-0"),T(e,"class","flex-items-center flex grow gap-4")},m($,w){v($,e,w),S(e,l),S(l,t),D(n,t,null),S(t,o),D(s,t,null),c=!0,u||(m=oe(t,"submit",Xe(r[1])),u=!0)},p($,[w]){const b={};!a&&w&1&&(a=!0,b.value=$[0],he(()=>a=!1)),n.$set(b);const W={};w&2048&&(W.$$scope={dirty:w,ctx:$}),s.$set(W)},i($){c||(h(n.$$.fragment,$),h(s.$$.fragment,$),i||Gt(()=>{i=Jt(t,Or,{x:-100,duration:150}),i.start()}),f||Gt(()=>{f=Jt(l,Nr,{}),f.start()}),c=!0)},o($){g(n.$$.fragment,$),g(s.$$.fragment,$),c=!1},d($){$&&p(e),C(n),C(s),u=!1,m()}}}function jo(r,e,l){let t,n,a,o,s,i;M(r,Be,d=>l(4,n=d)),M(r,st,d=>l(6,a=d)),M(r,de,d=>l(7,o=d)),M(r,rt,d=>l(8,s=d)),M(r,ye,d=>l(9,i=d));let f="";function c(d){l(0,f=d)}const u=()=>{if(!f)le(de,o=[],o),le(ye,i=[],i),le(rt,s="",s);else try{le(de,o=Ln(f),o)}catch{}f&&f===t?le(st,a=Date.now(),a):ot({url:n.url,parameter:"query",value:f,allowEmpty:!0})};function m(){u()}function _(d){f=d,l(0,f)}return r.$$.update=()=>{r.$$.dirty&16&&l(3,t=n.url.searchParams.get("query")),r.$$.dirty&8&&c(t)},[f,u,m,t,n,_]}class Qo extends se{constructor(e){super(),ae(this,e,jo,zo,ie,{})}}function bl(r,e,l){const t=r.slice();return t[9]=e[l].allowed,t[10]=e[l].value,t[12]=l,t}function wl(r,e,l){const t=r.slice();return t[13]=e[l],t}function kl(r){let e,l=r[13].label.slice(0,2)+"",t;return{c(){e=A("p"),t=U(l),this.h()},l(n){e=O(n,"P",{class:!0});var a=N(e);t=q(a,l),a.forEach(p),this.h()},h(){T(e,"class","cell svelte-1we9vff")},m(n,a){v(n,e,a),S(e,t)},p:H,d(n){n&&p(e)}}}function vl(r,e){let l,t=(e[10]||"")+"",n,a,o,s;function i(){return e[6](e[10])}return{key:r,first:null,c(){l=A("button"),n=U(t),a=L(),this.h()},l(f){l=O(f,"BUTTON",{class:!0});var c=N(l);n=q(c,t),a=R(c),c.forEach(p),this.h()},h(){T(l,"class","cell svelte-1we9vff"),te(l,"highlight",e[9]&&e[10]),te(l,"disabled",!e[9]),te(l,"selected",new Date(e[0].getFullYear(),e[0].getMonth(),e[0].getDate()).getTime()===new Date(e[2],e[1],e[10]).getTime()),this.first=l},m(f,c){v(f,l,c),S(l,n),S(l,a),o||(s=oe(l,"click",function(){Tn(e[9]&&e[10]?i:H)&&(e[9]&&e[10]?i:H).apply(this,arguments)}),o=!0)},p(f,c){e=f,c&8&&t!==(t=(e[10]||"")+"")&&ue(n,t),c&8&&te(l,"highlight",e[9]&&e[10]),c&8&&te(l,"disabled",!e[9]),c&15&&te(l,"selected",new Date(e[0].getFullYear(),e[0].getMonth(),e[0].getDate()).getTime()===new Date(e[2],e[1],e[10]).getTime())},d(f){f&&p(l),o=!1,s()}}}function Ko(r){let e,l,t,n,a=[],o=new Map,s=ol,i=[];for(let u=0;uu[12];for(let u=0;u!0}=e,i=[];const f=m=>{t("datechange",new Date(o,a,m))},c=(m,_,d)=>d?s(new Date(m,_,d)):!0,u=m=>f(m);return r.$$set=m=>{"date"in m&&l(0,n=m.date),"month"in m&&l(1,a=m.month),"year"in m&&l(2,o=m.year),"isAllowed"in m&&l(5,s=m.isAllowed)},r.$$.update=()=>{r.$$.dirty&6&&l(3,i=Fr(a,o).map(m=>({value:m,allowed:c(o,a,m)})))},[n,a,o,i,f,s,u]}class Go extends se{constructor(e){super(),ae(this,e,Yo,Ko,ie,{date:0,month:1,year:2,isAllowed:5})}}function yl(r){var F;let e,l,t,n,a,o,s,i=(((F=sl(r[2]))==null?void 0:F.label)??"")+"",f,c,u,m,_,d,$,w,b,W,k,y,B,P,Z,V,K,j,z;return a=new we({props:{name:"chevron-left"}}),$=new we({props:{name:"chevron-right"}}),b=new Go({props:{month:r[2],year:r[3],date:r[0],isAllowed:r[1]}}),b.$on("datechange",r[9]),{c(){e=A("div"),l=A("div"),t=A("div"),n=A("button"),I(a.$$.fragment),o=L(),s=A("div"),f=U(i),c=L(),u=U(r[3]),m=L(),_=A("div"),d=A("button"),I($.$$.fragment),w=L(),I(b.$$.fragment),W=L(),k=A("div"),y=A("button"),B=U("Today"),P=L(),Z=A("button"),V=U("Close"),this.h()},l(Y){e=O(Y,"DIV",{class:!0});var ee=N(e);l=O(ee,"DIV",{class:!0});var re=N(l);t=O(re,"DIV",{class:!0});var _e=N(t);n=O(_e,"BUTTON",{});var ge=N(n);E(a.$$.fragment,ge),ge.forEach(p),_e.forEach(p),o=R(re),s=O(re,"DIV",{class:!0});var ke=N(s);f=q(ke,i),c=R(ke),u=q(ke,r[3]),ke.forEach(p),m=R(re),_=O(re,"DIV",{class:!0});var Fe=N(_);d=O(Fe,"BUTTON",{});var Ie=N(d);E($.$$.fragment,Ie),Ie.forEach(p),Fe.forEach(p),re.forEach(p),w=R(ee),E(b.$$.fragment,ee),W=R(ee),k=O(ee,"DIV",{class:!0});var J=N(k);y=O(J,"BUTTON",{class:!0});var be=N(y);B=q(be,"Today"),be.forEach(p),P=R(J),Z=O(J,"BUTTON",{class:!0});var Ee=N(Z);V=q(Ee,"Close"),Ee.forEach(p),J.forEach(p),ee.forEach(p),this.h()},h(){T(t,"class","flex items-center justify-center"),T(s,"class","flex items-center justify-center"),T(_,"class","flex items-center justify-center"),T(l,"class","mx-3 my-2 flex items-center justify-around"),T(y,"class","cursor-pointer text-[12px]"),T(Z,"class","cursor-pointer text-[12px]"),T(k,"class","my-1 flex justify-between px-2"),T(e,"class","absolute top-12 z-50 inline-block rounded border border-gray-900 bg-white shadow")},m(Y,ee){v(Y,e,ee),S(e,l),S(l,t),S(t,n),D(a,n,null),S(l,o),S(l,s),S(s,f),S(s,c),S(s,u),S(l,m),S(l,_),S(_,d),D($,d,null),S(e,w),D(b,e,null),S(e,W),S(e,k),S(k,y),S(y,B),S(k,P),S(k,Z),S(Z,V),K=!0,j||(z=[oe(n,"click",r[8]),oe(d,"click",r[7]),oe(y,"click",r[10]),oe(Z,"click",r[11])],j=!0)},p(Y,ee){var _e;(!K||ee&4)&&i!==(i=(((_e=sl(Y[2]))==null?void 0:_e.label)??"")+"")&&ue(f,i),(!K||ee&8)&&ue(u,Y[3]);const re={};ee&4&&(re.month=Y[2]),ee&8&&(re.year=Y[3]),ee&1&&(re.date=Y[0]),ee&2&&(re.isAllowed=Y[1]),b.$set(re)},i(Y){K||(h(a.$$.fragment,Y),h($.$$.fragment,Y),h(b.$$.fragment,Y),K=!0)},o(Y){g(a.$$.fragment,Y),g($.$$.fragment,Y),g(b.$$.fragment,Y),K=!1},d(Y){Y&&p(e),C(a),C($),C(b),j=!1,tt(z)}}}function Jo(r){let e,l,t,n,a,o;l=new Ue({props:{id:"datepicker",icon:"calendar-plus",type:"text",placeholder:"MM/DD/YY",value:r[0].toDateString(),clearable:!0}}),l.$on("focus",r[5]),l.$on("input",r[6]);let s=r[4]&&yl(r);return{c(){e=A("div"),I(l.$$.fragment),t=L(),s&&s.c(),this.h()},l(i){e=O(i,"DIV",{class:!0});var f=N(e);E(l.$$.fragment,f),t=R(f),s&&s.l(f),f.forEach(p),this.h()},h(){T(e,"class","relative")},m(i,f){v(i,e,f),D(l,e,null),S(e,t),s&&s.m(e,null),n=!0,a||(o=[rr(Br.call(null,e)),oe(e,"click-outside",r[12])],a=!0)},p(i,[f]){const c={};f&1&&(c.value=i[0].toDateString()),l.$set(c),i[4]?s?(s.p(i,f),f&16&&h(s,1)):(s=yl(i),s.c(),h(s,1),s.m(e,null)):s&&(X(),g(s,1,1,()=>{s=null}),x())},i(i){n||(h(l.$$.fragment,i),h(s),n=!0)},o(i){g(l.$$.fragment,i),g(s),n=!1},d(i){i&&p(e),C(l),s&&s.d(),a=!1,tt(o)}}}function Zo(r,e,l){const t=it();let{isAllowed:n=()=>!0}=e,{selected:a=new Date}=e,o,s,i=!1;const f=()=>{l(4,i=!0)},c=b=>{const k=b.target.value;if(k.length===8){const y=k==null?void 0:k.split("/"),P=2e3+parseInt(y[2]),Z=parseInt(y[0])-1,V=parseInt(y[1]),K=new Date(P,Z,V);t("datechange",K)}},u=()=>{if(o===11){l(2,o=0),l(3,s=s+1);return}l(2,o=o+1)},m=()=>{if(o===0){l(2,o=11),l(3,s-=1);return}l(2,o-=1)},_=b=>{l(4,i=!1),t("datechange",b.detail)},d=()=>l(0,a=new Date),$=()=>l(4,i=!1),w=()=>l(4,i=!1);return r.$$set=b=>{"isAllowed"in b&&l(1,n=b.isAllowed),"selected"in b&&l(0,a=b.selected)},r.$$.update=()=>{r.$$.dirty&1&&(l(2,o=a.getMonth()),l(3,s=a.getFullYear()))},[a,n,o,s,i,f,c,u,m,_,d,$,w]}class Tl extends se{constructor(e){super(),ae(this,e,Zo,Jo,ie,{isAllowed:1,selected:0})}}function Xo(r){let e;return{c(){e=U("AM")},l(l){e=q(l,"AM")},m(l,t){v(l,e,t)},d(l){l&&p(e)}}}function xo(r){let e;return{c(){e=U("PM")},l(l){e=q(l,"PM")},m(l,t){v(l,e,t)},d(l){l&&p(e)}}}function es(r){let e,l,t,n;return e=new al({props:{active:r[3]==="AM",$$slots:{default:[Xo]},$$scope:{ctx:r}}}),e.$on("click",r[7]),t=new al({props:{active:r[3]==="PM",$$slots:{default:[xo]},$$scope:{ctx:r}}}),t.$on("click",r[8]),{c(){I(e.$$.fragment),l=L(),I(t.$$.fragment)},l(a){E(e.$$.fragment,a),l=R(a),E(t.$$.fragment,a)},m(a,o){D(e,a,o),v(a,l,o),D(t,a,o),n=!0},p(a,o){const s={};o&8&&(s.active=a[3]==="AM"),o&512&&(s.$$scope={dirty:o,ctx:a}),e.$set(s);const i={};o&8&&(i.active=a[3]==="PM"),o&512&&(i.$$scope={dirty:o,ctx:a}),t.$set(i)},i(a){n||(h(e.$$.fragment,a),h(t.$$.fragment,a),n=!0)},o(a){g(e.$$.fragment,a),g(t.$$.fragment,a),n=!1},d(a){C(e,a),a&&p(l),C(t,a)}}}function ts(r){let e,l,t,n,a,o,s,i,f,c,u,m;function _(k){r[4](k)}let d={id:"hour",placeholder:"00",suffix:"hrs",maxLength:2,error:Boolean(parseInt(r[0])>12)};r[0]!==void 0&&(d.value=r[0]),l=new Ue({props:d}),me.push(()=>pe(l,"value",_));function $(k){r[5](k)}let w={id:"minute",required:!0,placeholder:"00",suffix:"min",maxLength:2,error:Boolean(parseInt(r[0])>59)};r[1]!==void 0&&(w.value=r[1]),a=new Ue({props:w}),me.push(()=>pe(a,"value",$));function b(k){r[6](k)}let W={id:"second",placeholder:"00",suffix:"sec",maxLength:2,error:Boolean(parseInt(r[0])>59)};return r[2]!==void 0&&(W.value=r[2]),i=new Ue({props:W}),me.push(()=>pe(i,"value",b)),u=new Vr({props:{$$slots:{default:[es]},$$scope:{ctx:r}}}),{c(){e=A("div"),I(l.$$.fragment),n=L(),I(a.$$.fragment),s=L(),I(i.$$.fragment),c=L(),I(u.$$.fragment),this.h()},l(k){e=O(k,"DIV",{class:!0});var y=N(e);E(l.$$.fragment,y),n=R(y),E(a.$$.fragment,y),s=R(y),E(i.$$.fragment,y),c=R(y),E(u.$$.fragment,y),y.forEach(p),this.h()},h(){T(e,"class","flex gap-2")},m(k,y){v(k,e,y),D(l,e,null),S(e,n),D(a,e,null),S(e,s),D(i,e,null),S(e,c),D(u,e,null),m=!0},p(k,[y]){const B={};y&1&&(B.error=Boolean(parseInt(k[0])>12)),!t&&y&1&&(t=!0,B.value=k[0],he(()=>t=!1)),l.$set(B);const P={};y&1&&(P.error=Boolean(parseInt(k[0])>59)),!o&&y&2&&(o=!0,P.value=k[1],he(()=>o=!1)),a.$set(P);const Z={};y&1&&(Z.error=Boolean(parseInt(k[0])>59)),!f&&y&4&&(f=!0,Z.value=k[2],he(()=>f=!1)),i.$set(Z);const V={};y&520&&(V.$$scope={dirty:y,ctx:k}),u.$set(V)},i(k){m||(h(l.$$.fragment,k),h(a.$$.fragment,k),h(i.$$.fragment,k),h(u.$$.fragment,k),m=!0)},o(k){g(l.$$.fragment,k),g(a.$$.fragment,k),g(i.$$.fragment,k),g(u.$$.fragment,k),m=!1},d(k){k&&p(e),C(l),C(a),C(i),C(u)}}}function ls(r,e,l){let{hour:t=""}=e,{minute:n=""}=e,{second:a=""}=e,{half:o="AM"}=e;function s(m){t=m,l(0,t)}function i(m){n=m,l(1,n)}function f(m){a=m,l(2,a)}const c=()=>l(3,o="AM"),u=()=>l(3,o="PM");return r.$$set=m=>{"hour"in m&&l(0,t=m.hour),"minute"in m&&l(1,n=m.minute),"second"in m&&l(2,a=m.second),"half"in m&&l(3,o=m.half)},[t,n,a,o,s,i,f,c,u]}class Il extends se{constructor(e){super(),ae(this,e,ls,ts,ie,{hour:0,minute:1,second:2,half:3})}}function El(r,e,l){const t=r.slice();return t[47]=e[l],t}function ns(r){let e;return{c(){e=U(r[1])},l(l){e=q(l,r[1])},m(l,t){v(l,e,t)},p(l,t){t[0]&2&&ue(e,l[1])},d(l){l&&p(e)}}}function rs(r){let e,l,t,n,a,o,s,i,f,c,u,m,_,d,$,w;n=new je({props:{$$slots:{default:[ss]},$$scope:{ctx:r}}}),n.$on("click",r[31]),s=new je({props:{$$slots:{default:[as]},$$scope:{ctx:r}}}),s.$on("click",r[32]);let b=wt,W=[];for(let y=0;yg(W[y],1,1,()=>{W[y]=null});return m=new je({props:{selected:r[2]==="StartTime",$$slots:{default:[fs]},$$scope:{ctx:r}}}),m.$on("click",r[34]),$=new je({props:{selected:r[2]==="CloseTime",$$slots:{default:[us]},$$scope:{ctx:r}}}),$.$on("click",r[35]),{c(){e=A("div"),l=A("div"),t=A("div"),I(n.$$.fragment),a=L(),o=A("div"),I(s.$$.fragment),i=L();for(let y=0;ype(i,"hour",_e)),me.push(()=>pe(i,"minute",ge)),me.push(()=>pe(i,"second",ke)),me.push(()=>pe(i,"half",Fe)),k=new Tl({props:{selected:r[4]}}),k.$on("datechange",r[17]);function J(Q){r[26](Q)}function be(Q){r[27](Q)}function Ee(Q){r[28](Q)}function $e(Q){r[29](Q)}let Ge={};return r[9]!==void 0&&(Ge.hour=r[9]),r[10]!==void 0&&(Ge.minute=r[10]),r[11]!==void 0&&(Ge.second=r[11]),r[12]!==void 0&&(Ge.half=r[12]),B=new Il({props:Ge}),me.push(()=>pe(B,"hour",J)),me.push(()=>pe(B,"minute",be)),me.push(()=>pe(B,"second",Ee)),me.push(()=>pe(B,"half",$e)),F=new Bt({props:{$$slots:{default:[cs]},$$scope:{ctx:r}}}),F.$on("click",r[18]),ee=new Bt({props:{variant:"secondary",$$slots:{default:[ms]},$$scope:{ctx:r}}}),ee.$on("click",r[30]),{c(){e=A("div"),l=A("p"),t=U("Start"),n=L(),a=A("div"),I(o.$$.fragment),s=L(),I(i.$$.fragment),_=L(),d=A("div"),$=A("p"),w=U("End"),b=L(),W=A("div"),I(k.$$.fragment),y=L(),I(B.$$.fragment),j=L(),z=A("div"),I(F.$$.fragment),Y=L(),I(ee.$$.fragment),this.h()},l(Q){e=O(Q,"DIV",{class:!0});var ce=N(e);l=O(ce,"P",{class:!0});var Je=N(l);t=q(Je,"Start"),Je.forEach(p),n=R(ce),a=O(ce,"DIV",{class:!0});var De=N(a);E(o.$$.fragment,De),s=R(De),E(i.$$.fragment,De),De.forEach(p),ce.forEach(p),_=R(Q),d=O(Q,"DIV",{class:!0});var Pe=N(d);$=O(Pe,"P",{class:!0});var Ve=N($);w=q(Ve,"End"),Ve.forEach(p),b=R(Pe),W=O(Pe,"DIV",{class:!0});var Me=N(W);E(k.$$.fragment,Me),y=R(Me),E(B.$$.fragment,Me),Me.forEach(p),Pe.forEach(p),j=R(Q),z=O(Q,"DIV",{class:!0});var Le=N(z);E(F.$$.fragment,Le),Y=R(Le),E(ee.$$.fragment,Le),Le.forEach(p),this.h()},h(){T(l,"class","text-sm"),T(a,"class","flex flex-col gap-2"),T(e,"class","flex flex-col"),T($,"class","text-sm"),T(W,"class","flex flex-col gap-2"),T(d,"class","flex flex-col"),T(z,"class","flex gap-2")},m(Q,ce){v(Q,e,ce),S(e,l),S(l,t),S(e,n),S(e,a),D(o,a,null),S(a,s),D(i,a,null),v(Q,_,ce),v(Q,d,ce),S(d,$),S($,w),S(d,b),S(d,W),D(k,W,null),S(W,y),D(B,W,null),v(Q,j,ce),v(Q,z,ce),D(F,z,null),S(z,Y),D(ee,z,null),re=!0},p(Q,ce){const Je={};ce[0]&8&&(Je.selected=Q[3]),o.$set(Je);const De={};!f&&ce[0]&32&&(f=!0,De.hour=Q[5],he(()=>f=!1)),!c&&ce[0]&64&&(c=!0,De.minute=Q[6],he(()=>c=!1)),!u&&ce[0]&128&&(u=!0,De.second=Q[7],he(()=>u=!1)),!m&&ce[0]&256&&(m=!0,De.half=Q[8],he(()=>m=!1)),i.$set(De);const Pe={};ce[0]&16&&(Pe.selected=Q[4]),k.$set(Pe);const Ve={};!P&&ce[0]&512&&(P=!0,Ve.hour=Q[9],he(()=>P=!1)),!Z&&ce[0]&1024&&(Z=!0,Ve.minute=Q[10],he(()=>Z=!1)),!V&&ce[0]&2048&&(V=!0,Ve.second=Q[11],he(()=>V=!1)),!K&&ce[0]&4096&&(K=!0,Ve.half=Q[12],he(()=>K=!1)),B.$set(Ve);const Me={};ce[1]&524288&&(Me.$$scope={dirty:ce,ctx:Q}),F.$set(Me);const Le={};ce[1]&524288&&(Le.$$scope={dirty:ce,ctx:Q}),ee.$set(Le)},i(Q){re||(h(o.$$.fragment,Q),h(i.$$.fragment,Q),h(k.$$.fragment,Q),h(B.$$.fragment,Q),h(F.$$.fragment,Q),h(ee.$$.fragment,Q),re=!0)},o(Q){g(o.$$.fragment,Q),g(i.$$.fragment,Q),g(k.$$.fragment,Q),g(B.$$.fragment,Q),g(F.$$.fragment,Q),g(ee.$$.fragment,Q),re=!1},d(Q){Q&&p(e),C(o),C(i),Q&&p(_),Q&&p(d),C(k),C(B),Q&&p(j),Q&&p(z),C(F),C(ee)}}}function ss(r){let e=fe("all-time")+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p:H,d(t){t&&p(l)}}}function as(r){let e=fe("custom")+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p:H,d(t){t&&p(l)}}}function is(r){let e=r[47]+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p:H,d(t){t&&p(l)}}}function Dl(r){let e,l,t;function n(){return r[33](r[47])}return l=new je({props:{$$slots:{default:[is]},$$scope:{ctx:r}}}),l.$on("click",n),{c(){e=A("div"),I(l.$$.fragment),this.h()},l(a){e=O(a,"DIV",{class:!0});var o=N(e);E(l.$$.fragment,o),o.forEach(p),this.h()},h(){T(e,"class","flex w-1/2 flex-col justify-center")},m(a,o){v(a,e,o),D(l,e,null),t=!0},p(a,o){r=a;const s={};o[1]&524288&&(s.$$scope={dirty:o,ctx:r}),l.$set(s)},i(a){t||(h(l.$$.fragment,a),t=!0)},o(a){g(l.$$.fragment,a),t=!1},d(a){a&&p(e),C(l)}}}function fs(r){let e=fe("start-time")+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p:H,d(t){t&&p(l)}}}function us(r){let e=fe("end-time")+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p:H,d(t){t&&p(l)}}}function cs(r){let e=fe("apply")+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p:H,d(t){t&&p(l)}}}function ms(r){let e=fe("cancel")+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p:H,d(t){t&&p(l)}}}function _s(r){let e,l,t,n;const a=[os,rs],o=[];function s(i,f){return i[0]?0:1}return e=s(r),l=o[e]=a[e](r),{c(){l.c(),t=ne()},l(i){l.l(i),t=ne()},m(i,f){o[e].m(i,f),v(i,t,f),n=!0},p(i,f){let c=e;e=s(i),e===c?o[e].p(i,f):(X(),g(o[c],1,1,()=>{o[c]=null}),x(),l=o[e],l?l.p(i,f):(l=o[e]=a[e](i),l.c()),h(l,1),l.m(t.parentNode,t))},i(i){n||(h(l),n=!0)},o(i){g(l),n=!1},d(i){o[e].d(i),i&&p(t)}}}function ds(r){let e,l,t,n;return e=new An({props:{id:"time-range-filter",hasIndicator:!0,controls:"time-range-filter-menu",class:"flex flex-row items-center p-2 bg-white border border-r-0 border-primary rounded-l h-10 w-44",$$slots:{default:[ns]},$$scope:{ctx:r}}}),t=new On({props:{keepOpen:!0,id:"time-range-filter-menu",class:"flex rounded h-auto w-[400px] flex-col gap-8 bg-white p-2",$$slots:{default:[_s]},$$scope:{ctx:r}}}),{c(){I(e.$$.fragment),l=L(),I(t.$$.fragment)},l(a){E(e.$$.fragment,a),l=R(a),E(t.$$.fragment,a)},m(a,o){D(e,a,o),v(a,l,o),D(t,a,o),n=!0},p(a,o){const s={};o[0]&2|o[1]&524288&&(s.$$scope={dirty:o,ctx:a}),e.$set(s);const i={};o[0]&8189|o[1]&524288&&(i.$$scope={dirty:o,ctx:a}),t.$set(i)},i(a){n||(h(e.$$.fragment,a),h(t.$$.fragment,a),n=!0)},o(a){g(e.$$.fragment,a),g(t.$$.fragment,a),n=!1},d(a){C(e,a),a&&p(l),C(t,a)}}}function ps(r){let e=rl(r[13])+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p(t,n){n[0]&8192&&e!==(e=rl(t[13])+"")&&ue(l,e)},d(t){t&&p(l)}}}function hs(r){let e=fe("relative")+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p:H,d(t){t&&p(l)}}}function gs(r){let e=fe("utc")+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p:H,d(t){t&&p(l)}}}function $s(r){let e=fe("local")+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p:H,d(t){t&&p(l)}}}function bs(r){let e,l,t,n,a,o;return e=new je({props:{$$slots:{default:[hs]},$$scope:{ctx:r}}}),e.$on("click",r[36]),t=new je({props:{$$slots:{default:[gs]},$$scope:{ctx:r}}}),t.$on("click",r[37]),a=new je({props:{$$slots:{default:[$s]},$$scope:{ctx:r}}}),a.$on("click",r[38]),{c(){I(e.$$.fragment),l=L(),I(t.$$.fragment),n=L(),I(a.$$.fragment)},l(s){E(e.$$.fragment,s),l=R(s),E(t.$$.fragment,s),n=R(s),E(a.$$.fragment,s)},m(s,i){D(e,s,i),v(s,l,i),D(t,s,i),v(s,n,i),D(a,s,i),o=!0},p(s,i){const f={};i[1]&524288&&(f.$$scope={dirty:i,ctx:s}),e.$set(f);const c={};i[1]&524288&&(c.$$scope={dirty:i,ctx:s}),t.$set(c);const u={};i[1]&524288&&(u.$$scope={dirty:i,ctx:s}),a.$set(u)},i(s){o||(h(e.$$.fragment,s),h(t.$$.fragment,s),h(a.$$.fragment,s),o=!0)},o(s){g(e.$$.fragment,s),g(t.$$.fragment,s),g(a.$$.fragment,s),o=!1},d(s){C(e,s),s&&p(l),C(t,s),s&&p(n),C(a,s)}}}function ws(r){let e,l,t,n;return e=new An({props:{class:"p-2 bg-white border border-primary rounded-r h-10 w-32",id:"datetime-filter",controls:"datetime-filter-menu",hasIndicator:!0,icon:"clock",$$slots:{default:[ps]},$$scope:{ctx:r}}}),t=new On({props:{id:"datetime-filter-menu",$$slots:{default:[bs]},$$scope:{ctx:r}}}),{c(){I(e.$$.fragment),l=L(),I(t.$$.fragment)},l(a){E(e.$$.fragment,a),l=R(a),E(t.$$.fragment,a)},m(a,o){D(e,a,o),v(a,l,o),D(t,a,o),n=!0},p(a,o){const s={};o[0]&8192|o[1]&524288&&(s.$$scope={dirty:o,ctx:a}),e.$set(s);const i={};o[0]&8192|o[1]&524288&&(i.$$scope={dirty:o,ctx:a}),t.$set(i)},i(a){n||(h(e.$$.fragment,a),h(t.$$.fragment,a),n=!0)},o(a){g(e.$$.fragment,a),g(t.$$.fragment,a),n=!1},d(a){C(e,a),a&&p(l),C(t,a)}}}function ks(r){let e,l,t,n,a;return l=new il({props:{$$slots:{default:[ds]},$$scope:{ctx:r}}}),n=new il({props:{$$slots:{default:[ws]},$$scope:{ctx:r}}}),{c(){e=A("div"),I(l.$$.fragment),t=L(),I(n.$$.fragment),this.h()},l(o){e=O(o,"DIV",{class:!0});var s=N(e);E(l.$$.fragment,s),t=R(s),E(n.$$.fragment,s),s.forEach(p),this.h()},h(){T(e,"class","flex items-center")},m(o,s){v(o,e,s),D(l,e,null),S(e,t),D(n,e,null),a=!0},p(o,s){const i={};s[0]&8191|s[1]&524288&&(i.$$scope={dirty:s,ctx:o}),l.$set(i);const f={};s[0]&8192|s[1]&524288&&(f.$$scope={dirty:s,ctx:o}),n.$set(f)},i(o){a||(h(l.$$.fragment,o),h(n.$$.fragment,o),a=!0)},o(o){g(l.$$.fragment,o),g(n.$$.fragment,o),a=!1},d(o){o&&p(e),C(l),C(n)}}}function vs(r,e,l){let t,n,a,o,s,i,f,c;M(r,ye,G=>l(40,a=G)),M(r,de,G=>l(20,o=G)),M(r,Be,G=>l(41,s=G)),M(r,Nt,G=>l(42,i=G)),M(r,mt,G=>l(21,f=G)),M(r,ze,G=>l(13,c=G));let u=!1,m="All Time",_="StartTime",d=pt(new Date),$=pt(new Date),w="",b="",W="",k="AM",y="",B="",P="",Z="AM";const V=()=>{t?(l(1,m=u||!wt.includes(t==null?void 0:t.value)?"Custom":t.value),l(2,_=t.attribute)):(l(1,m="All Time"),l(2,_="StartTime")),(!t||wt.includes(t==null?void 0:t.value)||(t==null?void 0:t.customDate))&&le(Nt,i=t,i)},K=()=>o.filter(G=>G.attribute!=="StartTime"&&G.attribute!=="CloseTime"),j=G=>{if(l(1,m=G),m==="All Time")le(de,o=[...K()],o),l(0,u=!1);else if(m==="Custom")l(0,u=!0);else{const ve={attribute:_,value:m,conditional:">",operator:"",parenthesis:""};le(de,o=[...K(),ve],o),l(0,u=!1)}Ke(s.url,o,a)},z=G=>{G!==_&&(l(2,_=G),j(m))},F=G=>{l(3,d=pt(G.detail))},Y=G=>{l(4,$=pt(G.detail))},ee=(G,ve)=>{let Re=new Date(G);return ve.hour&&(Re=Kr(Re,parseInt(ve.hour))),ve.minute&&(Re=Gr(Re,parseInt(ve.minute))),ve.second&&(Re=Jr(Re,parseInt(ve.second))),Re},re=(G,ve)=>{if(G)return G==="12"?ve==="AM"?"00":"12":ve==="PM"?(parseInt(G)+12).toString():G;G=""},_e=()=>{let G=ee(d,{hour:re(w,k),minute:b,second:W}),ve=ee($,{hour:re(y,Z),minute:B,second:P});const Re=n?`BETWEEN "${St(G)}" AND "${St(ve)}"`:`> "${St(G)}"`,tr={attribute:_,value:Re,conditional:"=",operator:"",parenthesis:"",customDate:!0};le(de,o=[...K(),tr],o),Ke(s.url,o,a)};function ge(G){w=G,l(5,w)}function ke(G){b=G,l(6,b)}function Fe(G){W=G,l(7,W)}function Ie(G){k=G,l(8,k)}function J(G){y=G,l(9,y)}function be(G){B=G,l(10,B)}function Ee(G){P=G,l(11,P)}function $e(G){Z=G,l(12,Z)}const Ge=()=>l(0,u=!1),Q=()=>j("All Time"),ce=()=>j("Custom"),Je=G=>j(G),De=()=>z("StartTime"),Pe=()=>z("CloseTime"),Ve=()=>le(ze,c="relative",c),Me=()=>le(ze,c="UTC",c),Le=()=>le(ze,c="local",c);return r.$$.update=()=>{r.$$.dirty[0]&1048576&&l(19,t=o.find(G=>G.attribute==="StartTime"||G.attribute==="CloseTime")),r.$$.dirty[0]&2097153&&(n=u||!f),r.$$.dirty[0]&524288&&V()},[u,m,_,d,$,w,b,W,k,y,B,P,Z,c,j,z,F,Y,_e,t,o,f,ge,ke,Fe,Ie,J,be,Ee,$e,Ge,Q,ce,Je,De,Pe,Ve,Me,Le]}class ys extends se{constructor(e){super(),ae(this,e,vs,ks,ie,{},null,[-1,-1])}}const Ts=r=>r.map(l=>l.runId).reduce((l,t,n,a)=>(l+=`RunId="${t}"`,n!==a.length-1&&(l+=" OR "),l),""),Is=({id:r,runId:e})=>({workflowId:r,runId:e}),Rn=({namespace:r,reason:e,workflows:l})=>{const t={namespace:r,reason:e};return Bn(yn(Fn),"1.19")?{...t,executions:l.map(Is)}:{...t,query:Ts(l)}};async function Es(r){const e=Rn(r),l=await qn(e);return jt({namespace:e.namespace,jobId:l})}function Ds({namespace:r,query:e,reason:l}){return qn({namespace:r,query:e,reason:l})}async function Cs(r){const e=Rn(r),l=await Un(e);return jt({namespace:e.namespace,jobId:l})}function Ss({namespace:r,query:e,reason:l}){return Un({namespace:r,query:e,reason:l})}async function Un({namespace:r,query:e,executions:l,reason:t}){const n=qt("batch-operations",{namespace:r}),a=Vn(),o={jobId:a,namespace:r,reason:t,cancellationOperation:{},...e&&{visibilityQuery:e},...l&&{executions:l}};return await Ht(n,{options:{method:"POST",body:Nn(o)},notifyOnError:!1}),a}async function qn({namespace:r,query:e,executions:l,reason:t}){const n=qt("batch-operations",{namespace:r}),a=Vn(),o=Pr().email,s={jobId:a,namespace:r,reason:t,terminationOperation:{...o&&{identity:o}},...e&&{visibilityQuery:e},...l&&{executions:l}};return await Ht(n,{options:{method:"POST",body:Nn(s)},notifyOnError:!1}),a}async function jt({namespace:r,jobId:e}){return new Promise((l,t)=>{Ws({namespace:r,jobId:e}).then(({state:n,completeOperationCount:a})=>{n==="Failed"?t():n!=="Running"?l(parseInt(a,10)):setTimeout(()=>{try{l(jt({namespace:r,jobId:e}))}catch{t()}},1e3)})})}async function Ws({jobId:r,namespace:e}){const l=qt("batch-operation.describe",{namespace:e});return Ht(l,{params:{jobId:r}})}function As(r){let e;const l=r[6].default,t=Ce(l,r,r[5],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,a){t&&t.m(n,a),e=!0},p(n,a){t&&t.p&&(!e||a&32)&&Se(t,l,n,n[5],e?Ae(l,n[5],a,null):We(n[5]),null)},i(n){e||(h(t,n),e=!0)},o(n){g(t,n),e=!1},d(n){t&&t.d(n)}}}function Os(r){let e;return{c(){e=U(r[1])},l(l){e=q(l,r[1])},m(l,t){v(l,e,t)},p(l,t){t&2&&ue(e,l[1])},i:H,o:H,d(l){l&&p(e)}}}function Ns(r){let e,l,t,n;const a=[Os,As],o=[];function s(i,f){return i[1]!==i[0]?0:1}return e=s(r),l=o[e]=a[e](r),{c(){l.c(),t=ne()},l(i){l.l(i),t=ne()},m(i,f){o[e].m(i,f),v(i,t,f),n=!0},p(i,[f]){let c=e;e=s(i),e===c?o[e].p(i,f):(X(),g(o[c],1,1,()=>{o[c]=null}),x(),l=o[e],l?l.p(i,f):(l=o[e]=a[e](i),l.c()),h(l,1),l.m(t.parentNode,t))},i(i){n||(h(l),n=!0)},o(i){g(l),n=!1},d(i){o[e].d(i),i&&p(t)}}}function Bs(r,e,l){let t,{$$slots:n={},$$scope:a}=e,{key:o}=e,{namespace:s}=e,{count:i=void 0}=e,{replace:f=void 0}=e;return r.$$set=c=>{"key"in c&&l(0,o=c.key),"namespace"in c&&l(2,s=c.namespace),"count"in c&&l(3,i=c.count),"replace"in c&&l(4,f=c.replace),"$$scope"in c&&l(5,a=c.$$scope)},r.$$.update=()=>{r.$$.dirty&29&&l(1,t=fe(s,o,i,f))},[o,t,s,i,f,a,n]}class Te extends se{constructor(e){super(),ae(this,e,Bs,Ns,ie,{key:0,namespace:2,count:3,replace:4})}}function Fs(r){let e,l,t;return l=new Te({props:{namespace:"workflows",key:"batch-operation-modal-title",replace:{action:r[3]}}}),{c(){e=A("h3"),I(l.$$.fragment),this.h()},l(n){e=O(n,"H3",{slot:!0});var a=N(e);E(l.$$.fragment,a),a.forEach(p),this.h()},h(){T(e,"slot","title")},m(n,a){v(n,e,a),D(l,e,null),t=!0},p(n,a){const o={};a&8&&(o.replace={action:n[3]}),l.$set(o)},i(n){t||(h(l.$$.fragment,n),t=!0)},o(n){g(l.$$.fragment,n),t=!1},d(n){n&&p(e),C(l)}}}function Vs(r){let e,l,t;return l=new Te({props:{namespace:"workflows",key:r[0]===at.Cancel?"batch-cancel-confirmation":"batch-terminate-confirmation",count:r[1]}}),{c(){e=A("p"),I(l.$$.fragment)},l(n){e=O(n,"P",{});var a=N(e);E(l.$$.fragment,a),a.forEach(p)},m(n,a){v(n,e,a),D(l,e,null),t=!0},p(n,a){const o={};a&1&&(o.key=n[0]===at.Cancel?"batch-cancel-confirmation":"batch-terminate-confirmation"),a&2&&(o.count=n[1]),l.$set(o)},i(n){t||(h(l.$$.fragment,n),t=!0)},o(n){g(l.$$.fragment,n),t=!1},d(n){n&&p(e),C(l)}}}function Ps(r){let e,l,t,n,a,o,s,i,f,c;return l=new Te({props:{namespace:"workflows",key:"batch-operation-confirmation-all",replace:{action:r[3]}}}),f=new Te({props:{namespace:"workflows",key:"batch-operation-count-disclaimer",replace:{action:r[3]}}}),{c(){e=A("p"),I(l.$$.fragment),t=L(),n=A("div"),a=A("code"),o=U(r[2]),s=L(),i=A("span"),I(f.$$.fragment),this.h()},l(u){e=O(u,"P",{class:!0});var m=N(e);E(l.$$.fragment,m),m.forEach(p),t=R(u),n=O(u,"DIV",{class:!0});var _=N(n);a=O(_,"CODE",{"data-testid":!0});var d=N(a);o=q(d,r[2]),d.forEach(p),_.forEach(p),s=R(u),i=O(u,"SPAN",{class:!0});var $=N(i);E(f.$$.fragment,$),$.forEach(p),this.h()},h(){T(e,"class","mb-2"),T(a,"data-testid","batch-action-workflows-query"),T(n,"class","mb-2 overflow-scroll whitespace-nowrap rounded border border-primary bg-gray-100 p-2"),T(i,"class","text-xs")},m(u,m){v(u,e,m),D(l,e,null),v(u,t,m),v(u,n,m),S(n,a),S(a,o),v(u,s,m),v(u,i,m),D(f,i,null),c=!0},p(u,m){const _={};m&8&&(_.replace={action:u[3]}),l.$set(_),(!c||m&4)&&ue(o,u[2]);const d={};m&8&&(d.replace={action:u[3]}),f.$set(d)},i(u){c||(h(l.$$.fragment,u),h(f.$$.fragment,u),c=!0)},o(u){g(l.$$.fragment,u),g(f.$$.fragment,u),c=!1},d(u){u&&p(e),C(l),u&&p(t),u&&p(n),u&&p(s),u&&p(i),C(f)}}}function Ms(r){let e,l,t,n,a,o,s;const i=[Ps,Vs],f=[];function c(_,d){return _[8]?0:1}l=c(r),t=f[l]=i[l](r);function u(_){r[15](_)}let m={id:"bulk-action-reason",label:fe("workflows","reason"),hintText:fe("workflows","batch-operation-confirmation-input-hint",{placeholder:r[6]}),placeholder:r[6]};return r[5]!==void 0&&(m.value=r[5]),a=new Ue({props:m}),me.push(()=>pe(a,"value",u)),{c(){e=A("div"),t.c(),n=L(),I(a.$$.fragment),this.h()},l(_){e=O(_,"DIV",{class:!0});var d=N(e);t.l(d),d.forEach(p),n=R(_),E(a.$$.fragment,_),this.h()},h(){T(e,"class","mb-4 flex flex-col")},m(_,d){v(_,e,d),f[l].m(e,null),v(_,n,d),D(a,_,d),s=!0},p(_,d){let $=l;l=c(_),l===$?f[l].p(_,d):(X(),g(f[$],1,1,()=>{f[$]=null}),x(),t=f[l],t?t.p(_,d):(t=f[l]=i[l](_),t.c()),h(t,1),t.m(e,null));const w={};d&64&&(w.hintText=fe("workflows","batch-operation-confirmation-input-hint",{placeholder:_[6]})),d&64&&(w.placeholder=_[6]),!o&&d&32&&(o=!0,w.value=_[5],he(()=>o=!1)),a.$set(w)},i(_){s||(h(t),h(a.$$.fragment,_),s=!0)},o(_){g(t),g(a.$$.fragment,_),s=!1},d(_){_&&p(e),f[l].d(),_&&p(n),C(a,_)}}}function Ls(r){let e,l,t={id:"batch-operation-confirmation-modal","data-testid":"batch-"+r[3]+"-confirmation",confirmType:"destructive",confirmText:r[7],$$slots:{content:[Ms],title:[Fs]},$$scope:{ctx:r}};return e=new Lr({props:t}),r[16](e),e.$on("cancelModal",r[10]),e.$on("confirmModal",r[9]),{c(){I(e.$$.fragment)},l(n){E(e.$$.fragment,n)},m(n,a){D(e,n,a),l=!0},p(n,[a]){const o={};a&8&&(o["data-testid"]="batch-"+n[3]+"-confirmation"),a&128&&(o.confirmText=n[7]),a&262511&&(o.$$scope={dirty:a,ctx:n}),e.$set(o)},i(n){l||(h(e.$$.fragment,n),l=!0)},o(n){g(e.$$.fragment,n),l=!1},d(n){r[16](null),C(e,n)}}}function Rs(r,e,l){let t,n,a,o,s;M(r,Mr,B=>l(14,o=B)),M(r,Ye,B=>l(8,s=B));let{action:i}=e,{actionableWorkflowsLength:f}=e,{query:c}=e,u;const m=()=>u.open(),_=()=>u.close(),d=B=>u.setError(B),$=it();let w="";const b=()=>{$("confirm",{reason:ar({action:i,reason:w,email:o.email})})},W=()=>{l(5,w="")};function k(B){w=B,l(5,w)}function y(B){me[B?"unshift":"push"](()=>{u=B,l(4,u)})}return r.$$set=B=>{"action"in B&&l(0,i=B.action),"actionableWorkflowsLength"in B&&l(1,f=B.actionableWorkflowsLength),"query"in B&&l(2,c=B.query)},r.$$.update=()=>{r.$$.dirty&1&&l(3,t=i===at.Cancel?fe("workflows","cancel"):fe("workflows","terminate")),r.$$.dirty&9&&l(7,n=i===at.Cancel?fe("workflows","confirm"):t),r.$$.dirty&16385&&l(6,a=sr(i,o.email))},[i,f,c,t,u,w,a,n,s,b,W,m,_,d,o,k,y]}class Cl extends se{constructor(e){super(),ae(this,e,Rs,Ls,ie,{action:0,actionableWorkflowsLength:1,query:2,open:11,close:12,setError:13})}get open(){return this.$$.ctx[11]}get close(){return this.$$.ctx[12]}get setError(){return this.$$.ctx[13]}}const Hn=2,zn=[{label:"Status",pinned:!0},{label:"Workflow ID",pinned:!0},{label:"Run ID",pinned:!1},{label:"Type",pinned:!1},{label:"Start",pinned:!1},{label:"End",pinned:!1}],Us=[{label:"History Size",pinned:!1},{label:"History Length",pinned:!1},{label:"Execution Time",pinned:!1},{label:"Execution Duration",pinned:!1},{label:"State Transitions",pinned:!1},{label:"Parent Namespace",pinned:!1},{label:"Parent Workflow ID",pinned:!1},{label:"Task Queue",pinned:!1}],_t=Pn("workflow-table-columns",zn),Sl=Pn("workflow-table-pinned-columns-width"),qs=ft([_t],([r])=>[...zn,...Us].filter(e=>!r.some(l=>l.label===e.label))),Hs=ft([Sn,_t],([r,e])=>Object.keys(r).filter(l=>!e.some(t=>t.label===l)).map(l=>({label:l,pinned:!1}))),zs=(r,e)=>{switch(r.type){case"WORKFLOW_COLUMN.ADD":{const{label:l}=r.payload;return[...e,{label:l,pinned:!1}]}case"WORKFLOW_COLUMN.REMOVE":{const{label:l}=r.payload;return e.filter(({label:t})=>t!==l)}case"WORKFLOW_COLUMN.PIN":{const{label:l}=r.payload,t=e.findIndex(({label:s})=>s===l),n=e[t].pinned;let a=-1;for(let s=e.length-1;s>=0;s--)if(e[s].pinned){a=s;break}const o=[...e];return o[t].pinned=!n,t>a&&!n?o.splice(a+1,0,o.splice(t,1)[0]):t=0;s--)if(e[s].pinned){a=s;break}const o=[...e];return t<=a&&!n?o[l].pinned=!0:t>a&&n&&(o[l].pinned=!1),o.splice(t,0,o.splice(l,1)[0]),o.map((s,i)=>i>Hn-1?{...s,pinned:!1}:s)}default:return e}},Ct=r=>{_t.update(e=>zs(r,e))},Wl=r=>{Ct({type:"WORKFLOW_COLUMN.ADD",payload:{label:r}})},js=r=>{Ct({type:"WORKFLOW_COLUMN.REMOVE",payload:{label:r}})},Qs=(r,e)=>{Ct({type:"WORKFLOW_COLUMN.MOVE",payload:{from:r,to:e}})},Ks=r=>{Ct({type:"WORKFLOW_COLUMN.PIN",payload:{label:r}})},Ys=["workflowCancelDisabled","workflowTerminateDisabled"],Gs=r=>r.disableWriteActions||r.batchActionsDisabled?!1:Ys.some(e=>!r[e]),Qt=ft([Fn,mt,Ur,vr],([r,e,l,t])=>(t?!0:Bn(r,"1.18.0"))&&e&&Gs(l));const Js=r=>({}),Al=r=>({});function Zs(r){let e,l,t,n,a,o,s,i;const f=r[9].default,c=Ce(f,r,r[8],null),u=r[9]["unpinned-columns"],m=Ce(u,r,r[8],Al);return{c(){e=A("div"),c&&c.c(),l=L(),t=A("div"),n=L(),a=A("div"),m&&m.c(),this.h()},l(_){e=O(_,"DIV",{class:!0,style:!0});var d=N(e);c&&c.l(d),d.forEach(p),l=R(_),t=O(_,"DIV",{class:!0,"data-testid":!0}),N(t).forEach(p),n=R(_),a=O(_,"DIV",{class:!0,"data-testid":!0});var $=N(a);m&&m.l($),$.forEach(p),this.h()},h(){T(e,"class","workflows-summary-table-wrapper pinned svelte-i91sdc"),Zt(e,"width",r[2]?r[2]+"px":"50%"),te(e,"batch-actions-enabled",r[3]),te(e,"batch-actions-visible",r[4]),te(e,"no-columns-pinned",r[0]),T(t,"class","resizer svelte-i91sdc"),T(t,"data-testid","workflows-summary-table-resize-handle"),te(t,"batch-actions-enabled",r[3]),te(t,"batch-actions-visible",r[4]),te(t,"no-columns-pinned",r[0]),T(a,"class","workflows-summary-table-wrapper svelte-i91sdc"),T(a,"data-testid","unpinned-table-columns-wrapper")},m(_,d){v(_,e,d),c&&c.m(e,null),r[10](e),v(_,l,d),v(_,t,d),v(_,n,d),v(_,a,d),m&&m.m(a,null),o=!0,s||(i=[oe(window,"mousemove",r[7]),oe(window,"mouseup",r[6]),oe(t,"mousedown",r[5])],s=!0)},p(_,[d]){c&&c.p&&(!o||d&256)&&Se(c,f,_,_[8],o?Ae(f,_[8],d,null):We(_[8]),null),(!o||d&4)&&Zt(e,"width",_[2]?_[2]+"px":"50%"),(!o||d&8)&&te(e,"batch-actions-enabled",_[3]),(!o||d&16)&&te(e,"batch-actions-visible",_[4]),(!o||d&1)&&te(e,"no-columns-pinned",_[0]),(!o||d&8)&&te(t,"batch-actions-enabled",_[3]),(!o||d&16)&&te(t,"batch-actions-visible",_[4]),(!o||d&1)&&te(t,"no-columns-pinned",_[0]),m&&m.p&&(!o||d&256)&&Se(m,u,_,_[8],o?Ae(u,_[8],d,Js):We(_[8]),Al)},i(_){o||(h(c,_),h(m,_),o=!0)},o(_){g(c,_),g(m,_),o=!1},d(_){_&&p(e),c&&c.d(_),r[10](null),_&&p(l),_&&p(t),_&&p(n),_&&p(a),m&&m.d(_),s=!1,tt(i)}}}function Xs(r,e,l){let t,n,a;M(r,Sl,w=>l(12,t=w)),M(r,Qt,w=>l(3,n=w)),M(r,xn,w=>l(4,a=w));let{$$slots:o={},$$scope:s}=e,{noPinnedColumns:i=!1}=e,f,c=t,u=!1;const m=()=>(u=!0,!1),_=()=>{u=!1,le(Sl,t=c,t)},d=w=>{if(!u)return!1;const b=f.getBoundingClientRect();return l(2,c=w.x-b.x),!1};function $(w){me[w?"unshift":"push"](()=>{f=w,l(1,f)})}return r.$$set=w=>{"noPinnedColumns"in w&&l(0,i=w.noPinnedColumns),"$$scope"in w&&l(8,s=w.$$scope)},[i,f,c,n,a,m,_,d,s,o,$]}class xs extends se{constructor(e){super(),ae(this,e,Xs,Zs,ie,{noPinnedColumns:0})}}const ea=r=>({}),Ol=r=>({});function Nl(r){let e,l;return e=new qr({}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function ta(r){let e;const l=r[6].default,t=Ce(l,r,r[7],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,a){t&&t.m(n,a),e=!0},p(n,a){t&&t.p&&(!e||a&128)&&Se(t,l,n,n[7],e?Ae(l,n[7],a,null):We(n[7]),null)},i(n){e||(h(t,n),e=!0)},o(n){g(t,n),e=!1},d(n){t&&t.d(n)}}}function la(r){let e,l,t,n,a;return t=new Tt({props:{title:"No column headers are in view",$$slots:{default:[oa]},$$scope:{ctx:r}}}),{c(){e=A("tr"),l=A("td"),I(t.$$.fragment),this.h()},l(o){e=O(o,"TR",{});var s=N(e);l=O(s,"TD",{colspan:!0});var i=N(l);E(t.$$.fragment,i),i.forEach(p),s.forEach(p),this.h()},h(){T(l,"colspan",n=r[1].length+1)},m(o,s){v(o,e,s),S(e,l),D(t,l,null),a=!0},p(o,s){const i={};s&128&&(i.$$scope={dirty:s,ctx:o}),t.$set(i),(!a||s&2&&n!==(n=o[1].length+1))&&T(l,"colspan",n)},i(o){a||(h(t.$$.fragment,o),a=!0)},o(o){g(t.$$.fragment,o),a=!1},d(o){o&&p(e),C(t)}}}function na(r){let e,l,t,n,a;return t=new Tt({props:{title:"No Workflows Found",content:"If you have filters applied, try adjusting them. Otherwise please check your syntax and try again.",error:r[5]}}),{c(){e=A("tr"),l=A("td"),I(t.$$.fragment),this.h()},l(o){e=O(o,"TR",{});var s=N(e);l=O(s,"TD",{colspan:!0});var i=N(l);E(t.$$.fragment,i),i.forEach(p),s.forEach(p),this.h()},h(){T(l,"colspan",n=r[1].length+1)},m(o,s){v(o,e,s),S(e,l),D(t,l,null),a=!0},p(o,s){const i={};s&32&&(i.error=o[5]),t.$set(i),(!a||s&2&&n!==(n=o[1].length+1))&&T(l,"colspan",n)},i(o){a||(h(t.$$.fragment,o),a=!0)},o(o){g(t.$$.fragment,o),a=!1},d(o){o&&p(e),C(t)}}}function ra(r){let e,l,t,n,a;return t=new Rt({}),{c(){e=A("tr"),l=A("td"),I(t.$$.fragment),this.h()},l(o){e=O(o,"TR",{});var s=N(e);l=O(s,"TD",{colspan:!0});var i=N(l);E(t.$$.fragment,i),i.forEach(p),s.forEach(p),this.h()},h(){T(l,"colspan",n=r[1].length+1)},m(o,s){v(o,e,s),S(e,l),D(t,l,null),a=!0},p(o,s){(!a||s&2&&n!==(n=o[1].length+1))&&T(l,"colspan",n)},i(o){a||(h(t.$$.fragment,o),a=!0)},o(o){g(t.$$.fragment,o),a=!1},d(o){o&&p(e),C(t)}}}function oa(r){let e,l,t,n,a,o,s,i,f,c,u,m,_;return a=new we({props:{class:"inline",name:"vertical-ellipsis"}}),c=new we({props:{class:"inline",name:"add"}}),{c(){e=A("p"),l=U(`At least one column heading is required to display workflows. +import{S as se,b as ae,a as ie,m as A,c as L,p as O,q as N,k as p,d as R,u as T,f as v,M as S,z as X,g,h as x,j as h,L as M,N as it,w as U,x as q,U as oe,ac as Xe,A as me,Y as pe,C as I,D as E,E as D,Z as he,F as C,e as ne,a7 as Ne,a1 as yt,a2 as Vt,y as ue,n as H,o as vn,_ as le,ai as lr,G as Ce,H as Se,I as We,J as Ae,K as yn,$ as Gt,aa as Jt,al as nr,T as te,i as Tn,a9 as rr,r as tt,v as Zt,O as ut,R as Xt,W as nt,V as or,a5 as xt,P as gt,Q as Ze}from"../chunks/index.d29c66be.js";import{p as Be}from"../chunks/stores.8c019868.js";import{t as ze}from"../chunks/time-format.6ef667eb.js";import{b as $t,r as st,c as In,u as Pt,l as Mt,d as En,e as rt,A as at,g as sr,f as ar,h as Lt,a as ir,w as fr}from"../chunks/workflow-terminate-enabled.682bc0d8.js";import{l as bt}from"../chunks/namespaces.52575875.js";import{E as Tt}from"../chunks/empty-state.bf113865.js";import{u as ot,P as Dn}from"../chunks/pagination.a8beaf3b.js";import{t as el,j as Cn,S as ur,W as cr,a as mr,b as _r,F as dr}from"../chunks/search.14478462.js";import{I as we}from"../chunks/icon.5aa23970.js";import{r as It,t as pr,y as Et,s as dt,k as hr,l as gr,m as tl,n as $r,u as br,v as wr,w as kr,z as pt,A as wt,B as St,C as ll}from"../chunks/format-time.66fea38b.js";import{t as nl,s as mt,i as vr,a as yr}from"../chunks/list-workflow-query.4d12de04.js";import{S as Wt,a as xe}from"../chunks/simple-select.2e5f96b1.js";import{I as Ue}from"../chunks/input.0adb9ec6.js";import{a as Tr,e as Ir,d as Er,k as Dr,l as Cr}from"../chunks/has.8da86d13.js";import{L as Rt}from"../chunks/loading.9b5a6a67.js";import{P as Sr}from"../chunks/page-title.ba38eecf.js";import{d as ft,w as Ut}from"../chunks/index.255b7490.js";import{a as de,w as ye,p as Nt}from"../chunks/filters.9cc46c9a.js";import{c as Sn,i as Wr,w as Ar}from"../chunks/search-attributes.c866741f.js";import{f as Or,a as Nr,I as et}from"../chunks/tooltip.ca813c82.js";import{B as Bt}from"../chunks/button.e7112b29.js";import{t as fe,W as Wn}from"../chunks/workflow-status.8e93b70c.js";import{c as rl}from"../chunks/format-camel-case.960a78f9.js";import{c as Br}from"../chunks/outside-click.0db702a6.js";import{w as ol,a as Fr,b as sl}from"../chunks/calendar.81d1e381.js";import{T as Vr,a as al}from"../chunks/toggle-buttons.d2c900e1.js";import{M as il,a as An,b as On,c as je}from"../chunks/menu-item.be414f05.js";import{s as Nn}from"../chunks/parse-with-big-int.02af2f95.js";import{r as qt,a as Ht}from"../chunks/route-for-api.851ff400.js";import{i as Bn}from"../chunks/version-check.d006b302.js";import{t as Fn}from"../chunks/versions.dfa21225.js";import{g as Pr,a as Mr}from"../chunks/auth-user.ead5c000.js";import{v as Vn,t as ht}from"../chunks/toaster.fda31b2d.js";import{M as Lr}from"../chunks/modal.765fc6dd.js";import{p as Pn}from"../chunks/persist-store.bb6871e4.js";import{D as Rr}from"../chunks/drawer.e151c6f1.js";import{s as Ur}from"../chunks/settings.a68ca666.js";import{P as qr}from"../chunks/table-header-row.a7bab5a4.js";import{D as Dt}from"../chunks/dropdown-menu.abe6e484.js";import{g as Hr}from"../chunks/navigation.e41eebee.js";import{f as Mn}from"../chunks/route-for.3e9c6ff4.js";import{c as zr}from"../chunks/core-user.faf7a38e.js";import{B as jr}from"../chunks/badge.2c189bf4.js";import{f as Qe}from"../chunks/format-date.100c5f23.js";function zt(r,e){It(2,arguments);var l=pr(r).getTime(),t=Et(e);return new Date(l+t)}var Qr=36e5;function Kr(r,e){It(2,arguments);var l=Et(e);return zt(r,l*Qr)}var Yr=6e4;function Gr(r,e){It(2,arguments);var l=Et(e);return zt(r,l*Yr)}function Jr(r,e){It(2,arguments);var l=Et(e);return zt(r,l*1e3)}function fl(r,e,l){const t=r.slice();return t[16]=e[l][0],t[17]=e[l][1],t}function ul(r,e,l){const t=r.slice();return t[17]=e[l],t}function Zr(r){let e,l,t,n,a;return{c(){e=A("a"),l=U("Advanced Search"),this.h()},l(o){e=O(o,"A",{href:!0,class:!0});var s=N(e);l=q(s,"Advanced Search"),s.forEach(p),this.h()},h(){T(e,"href",t=r[2].url.pathname+"?searchType=advanced"),T(e,"class","text-blue-700")},m(o,s){v(o,e,s),S(e,l),n||(a=oe(e,"click",Xe(r[6]("advanced"))),n=!0)},p(o,s){s&4&&t!==(t=o[2].url.pathname+"?searchType=advanced")&&T(e,"href",t)},d(o){o&&p(e),n=!1,a()}}}function Xr(r){let e,l,t,n,a;return{c(){e=A("a"),l=U("Basic Search"),this.h()},l(o){e=O(o,"A",{href:!0,class:!0});var s=N(e);l=q(s,"Basic Search"),s.forEach(p),this.h()},h(){T(e,"href",t=r[2].url.pathname+"?searchType=basic"),T(e,"class","text-blue-700")},m(o,s){v(o,e,s),S(e,l),n||(a=oe(e,"click",Xe(r[6]("basic"))),n=!0)},p(o,s){s&4&&t!==(t=o[2].url.pathname+"?searchType=basic")&&T(e,"href",t)},d(o){o&&p(e),n=!1,a()}}}function xr(r){let e,l,t,n,a,o,s,i,f,c,u,m,_,d,$,w;function b(z){r[9](z)}let W={icon:"search",type:"search",id:"workflow-id-filter",placeholder:"Workflow ID"};r[3].workflowId!==void 0&&(W.value=r[3].workflowId),l=new Ue({props:W}),me.push(()=>pe(l,"value",b)),l.$on("input",r[8]);function k(z){r[10](z)}let y={icon:"search",type:"search",id:"workflow-type-filter",placeholder:"Workflow Type"};r[3].workflowType!==void 0&&(y.value=r[3].workflowType),a=new Ue({props:y}),me.push(()=>pe(a,"value",k)),a.$on("input",r[8]);function B(z){r[11](z)}let P={id:"time-range-filter",label:"Time Range",$$slots:{default:[ro]},$$scope:{ctx:r}};r[3].timeRange!==void 0&&(P.value=r[3].timeRange),i=new Wt({props:P}),me.push(()=>pe(i,"value",B)),i.$on("change",r[8]);function Z(z){r[12](z)}let V={id:"execution-status-filter",label:"Workflow Status",$$slots:{default:[so]},$$scope:{ctx:r}};r[3].executionStatus!==void 0&&(V.value=r[3].executionStatus),u=new Wt({props:V}),me.push(()=>pe(u,"value",Z)),u.$on("change",r[8]);function K(z){r[13](z)}let j={id:"filter-by-relative-time",label:"Time Format",$$slots:{default:[uo]},$$scope:{ctx:r}};return r[4]!==void 0&&(j.value=r[4]),d=new Wt({props:j}),me.push(()=>pe(d,"value",K)),{c(){e=A("div"),I(l.$$.fragment),n=L(),I(a.$$.fragment),s=L(),I(i.$$.fragment),c=L(),I(u.$$.fragment),_=L(),I(d.$$.fragment),this.h()},l(z){e=O(z,"DIV",{role:!0,class:!0});var F=N(e);E(l.$$.fragment,F),n=R(F),E(a.$$.fragment,F),s=R(F),E(i.$$.fragment,F),c=R(F),E(u.$$.fragment,F),_=R(F),E(d.$$.fragment,F),F.forEach(p),this.h()},h(){T(e,"role","search"),T(e,"class","grid grid-cols-1 gap-4 sm:grid-cols-2 md:grid-cols-5")},m(z,F){v(z,e,F),D(l,e,null),S(e,n),D(a,e,null),S(e,s),D(i,e,null),S(e,c),D(u,e,null),S(e,_),D(d,e,null),w=!0},p(z,F){const Y={};!t&&F&8&&(t=!0,Y.value=z[3].workflowId,he(()=>t=!1)),l.$set(Y);const ee={};!o&&F&8&&(o=!0,ee.value=z[3].workflowType,he(()=>o=!1)),a.$set(ee);const re={};F&4194312&&(re.$$scope={dirty:F,ctx:z}),!f&&F&8&&(f=!0,re.value=z[3].timeRange,he(()=>f=!1)),i.$set(re);const _e={};F&4194304&&(_e.$$scope={dirty:F,ctx:z}),!m&&F&8&&(m=!0,_e.value=z[3].executionStatus,he(()=>m=!1)),u.$set(_e);const ge={};F&4194304&&(ge.$$scope={dirty:F,ctx:z}),!$&&F&16&&($=!0,ge.value=z[4],he(()=>$=!1)),d.$set(ge)},i(z){w||(h(l.$$.fragment,z),h(a.$$.fragment,z),h(i.$$.fragment,z),h(u.$$.fragment,z),h(d.$$.fragment,z),w=!0)},o(z){g(l.$$.fragment,z),g(a.$$.fragment,z),g(i.$$.fragment,z),g(u.$$.fragment,z),g(d.$$.fragment,z),w=!1},d(z){z&&p(e),C(l),C(a),C(i),C(u),C(d)}}}function eo(r){let e,l;return e=new ur({props:{icon:!0,id:"advanced-search",placeholder:"Query…",value:r[1]}}),e.$on("submit",r[7]),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const a={};n&2&&(a.value=t[1]),e.$set(a)},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function to(r){let e;return{c(){e=U("All")},l(l){e=q(l,"All")},m(l,t){v(l,e,t)},d(l){l&&p(e)}}}function cl(r){let e,l;return e=new xe({props:{value:r[3].timeRange,$$slots:{default:[lo]},$$scope:{ctx:r}}}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const a={};n&8&&(a.value=t[3].timeRange),n&4194312&&(a.$$scope={dirty:n,ctx:t}),e.$set(a)},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function lo(r){let e=r[3].timeRange+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p(t,n){n&8&&e!==(e=t[3].timeRange+"")&&ue(l,e)},d(t){t&&p(l)}}}function no(r){let e=r[17]+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p:H,d(t){t&&p(l)}}}function ml(r){let e,l;return e=new xe({props:{value:r[17],$$slots:{default:[no]},$$scope:{ctx:r}}}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const a={};n&4194304&&(a.$$scope={dirty:n,ctx:t}),e.$set(a)},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function ro(r){let e,l,t=r[3].timeRange&&!dt.includes(r[3].timeRange),n,a,o;e=new xe({props:{value:null,$$slots:{default:[to]},$$scope:{ctx:r}}});let s=t&&cl(r),i=dt,f=[];for(let u=0;ug(f[u],1,1,()=>{f[u]=null});return{c(){I(e.$$.fragment),l=L(),s&&s.c(),n=L();for(let u=0;u{s=null}),x()),m&0){i=dt;let d;for(d=0;ds[16];for(let s=0;s{u[$]=null}),x(),a=u[n],a?a.p(_,d):(a=u[n]=c[n](_),a.c()),h(a,1),a.m(e,null))},i(_){o||(h(a),o=!0)},o(_){g(a),o=!1},d(_){_&&p(e),f.d(),u[n].d()}}}function mo(r,e,l){let t,n,a,o;M(r,Be,k=>l(2,a=k)),M(r,ze,k=>l(4,o=k));const s=it();let{searchType:i}=e;const f=nl({timeRange:"All"}),c={All:null,Running:"Running","Timed Out":"TimedOut",Completed:"Completed",Failed:"Failed","Continued as New":"ContinuedAsNew",Canceled:"Canceled",Terminated:"Terminated"},u=k=>()=>{l(0,i=k),ot({parameter:"search",value:i,url:a.url})},m=k=>{s("search");const y=new FormData(k.target);l(1,t=String(y.get("query"))),l(3,n=el(t)),ot({url:a.url,parameter:"query",value:t})},_=Cn(()=>{s("search"),l(1,t=nl(n)),ot({url:a.url,parameter:"query",value:t,allowEmpty:!0})},300);function d(k){r.$$.not_equal(n.workflowId,k)&&(n.workflowId=k,l(3,n),l(1,t),l(2,a))}function $(k){r.$$.not_equal(n.workflowType,k)&&(n.workflowType=k,l(3,n),l(1,t),l(2,a))}function w(k){r.$$.not_equal(n.timeRange,k)&&(n.timeRange=k,l(3,n),l(1,t),l(2,a))}function b(k){r.$$.not_equal(n.executionStatus,k)&&(n.executionStatus=k,l(3,n),l(1,t),l(2,a))}function W(k){o=k,ze.set(o)}return r.$$set=k=>{"searchType"in k&&l(0,i=k.searchType)},r.$$.update=()=>{r.$$.dirty&4&&l(1,t=a.url.searchParams.get("query")),r.$$.dirty&2&&l(3,n=el(t??f))},[i,t,a,n,o,c,u,m,_,d,$,w,b,W]}class _o extends se{constructor(e){super(),ae(this,e,mo,co,ie,{searchType:0})}}const po=r=>Tr(r)?r==="basic"||r==="advanced":!1,ho=r=>{const e=r.searchParams.get("search");return po(e)?e:(r.searchParams.set("search","basic"),"basic")};function dl(r,e,l){const t=r.slice();return t[14]=e[l],t}function pl(r){let e,l,t,n,a,o,s,i,f,c;const u=[$o,go],m=[];function _(b,W){return b[5]?0:1}t=_(r),n=m[t]=u[t](r);const d=[wo,bo],$=[];function w(b,W){return b[5]?0:1}return s=w(r),i=$[s]=d[s](r),{c(){e=A("tr"),l=A("td"),n.c(),a=L(),o=A("td"),i.c(),f=L(),this.h()},l(b){e=O(b,"TR",{});var W=N(e);l=O(W,"TD",{colspan:!0,class:!0});var k=N(l);n.l(k),k.forEach(p),a=R(W),o=O(W,"TD",{colspan:!0,class:!0});var y=N(o);i.l(y),y.forEach(p),f=R(W),W.forEach(p),this.h()},h(){T(l,"colspan","5"),T(l,"class","xl:hidden"),T(o,"colspan","7"),T(o,"class","hidden xl:table-cell")},m(b,W){v(b,e,W),S(e,l),m[t].m(l,null),S(e,a),S(e,o),$[s].m(o,null),S(e,f),c=!0},p(b,W){let k=t;t=_(b),t===k?m[t].p(b,W):(X(),g(m[k],1,1,()=>{m[k]=null}),x(),n=m[t],n?n.p(b,W):(n=m[t]=u[t](b),n.c()),h(n,1),n.m(l,null));let y=s;s=w(b),s===y?$[s].p(b,W):(X(),g($[y],1,1,()=>{$[y]=null}),x(),i=$[s],i?i.p(b,W):(i=$[s]=d[s](b),i.c()),h(i,1),i.m(o,null))},i(b){c||(h(n),h(i),c=!0)},o(b){g(n),g(i),c=!1},d(b){b&&p(e),m[t].d(),$[s].d()}}}function go(r){let e,l;return e=new Tt({props:{title:"No Workflows Found",content:r[7],error:r[6]}}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const a={};n&64&&(a.error=t[6]),e.$set(a)},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function $o(r){let e,l;return e=new Rt({}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:H,i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function bo(r){let e,l;return e=new Tt({props:{title:"No Workflows Found",content:r[7],error:r[6]}}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const a={};n&64&&(a.error=t[6]),e.$set(a)},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function wo(r){let e,l;return e=new Rt({}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:H,i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function hl(r){let e,l;return e=new mr({props:{workflow:r[14],namespace:r[1].params.namespace,timeFormat:r[4]}}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const a={};n&8192&&(a.workflow=t[14]),n&2&&(a.namespace=t[1].params.namespace),n&16&&(a.timeFormat=t[4]),e.$set(a)},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function ko(r){let e,l,t=r[13],n=[];for(let s=0;sg(n[s],1,1,()=>{n[s]=null});let o=null;return t.length||(o=pl(r)),{c(){for(let s=0;s{o=null}),x()):(o=pl(s),o.c(),h(o,1),o.m(e.parentNode,e))}},i(s){if(!l){for(let i=0;ipe($,"searchType",P)),W=new Dn({props:{items:r[2],"aria-label":"recent workflows",$$slots:{default:[vo,({visibleItems:V})=>({13:V}),({visibleItems:V})=>V?8192:0]},$$scope:{ctx:r}}}),{c(){e=A("header"),l=A("div"),t=A("h1"),n=U("Recent Workflows"),a=L(),o=A("div"),s=A("p"),f=U(i),c=L(),u=A("div"),m=A("button"),I(_.$$.fragment),d=L(),I($.$$.fragment),b=L(),I(W.$$.fragment),this.h()},l(V){e=O(V,"HEADER",{class:!0});var K=N(e);l=O(K,"DIV",{});var j=N(l);t=O(j,"H1",{class:!0,"data-testid":!0});var z=N(t);n=q(z,"Recent Workflows"),z.forEach(p),a=R(j),o=O(j,"DIV",{class:!0});var F=N(o);s=O(F,"P",{"data-testid":!0});var Y=N(s);f=q(Y,i),Y.forEach(p),F.forEach(p),j.forEach(p),c=R(K),u=O(K,"DIV",{});var ee=N(u);m=O(ee,"BUTTON",{"aria-label":!0,class:!0});var re=N(m);E(_.$$.fragment,re),re.forEach(p),ee.forEach(p),K.forEach(p),d=R(V),E($.$$.fragment,V),b=R(V),E(W.$$.fragment,V),this.h()},h(){T(t,"class","text-2xl"),T(t,"data-testid","namespace-title"),T(s,"data-testid","namespace-name"),T(o,"class","flex items-center gap-2 text-sm"),T(m,"aria-label","retry workflows"),T(m,"class","cursor-pointer rounded-full p-1 hover:bg-gray-900 hover:text-white"),T(e,"class","mb-2 flex justify-between")},m(V,K){v(V,e,K),S(e,l),S(l,t),S(t,n),S(l,a),S(l,o),S(o,s),S(s,f),S(e,c),S(e,u),S(u,m),D(_,m,null),v(V,d,K),D($,V,K),v(V,b,K),D(W,V,K),k=!0,y||(B=oe(m,"click",r[8]),y=!0)},p(V,[K]){(!k||K&2)&&i!==(i=V[1].params.namespace+"")&&ue(f,i);const j={};!w&&K&1&&(w=!0,j.searchType=V[0],he(()=>w=!1)),$.$set(j);const z={};K&4&&(z.items=V[2]),K&139386&&(z.$$scope={dirty:K,ctx:V}),W.$set(z)},i(V){k||(h(_.$$.fragment,V),h($.$$.fragment,V),h(W.$$.fragment,V),k=!0)},o(V){g(_.$$.fragment,V),g($.$$.fragment,V),g(W.$$.fragment,V),k=!1},d(V){V&&p(e),C(_),V&&p(d),C($,V),V&&p(b),C(W,V),y=!1,B()}}}function To(r,e,l){let t,n,a,o,s,i,f,c,u;M(r,Be,w=>l(1,t=w)),M(r,$t,w=>l(10,n=w)),M(r,st,w=>l(11,a=w)),M(r,bt,w=>l(12,o=w)),M(r,In,w=>l(2,s=w)),M(r,Pt,w=>l(3,i=w)),M(r,ze,w=>l(4,f=w)),M(r,Mt,w=>l(5,c=w)),M(r,En,w=>l(6,u=w));let m=ho(t.url);const _=m==="advanced"?"Please check your syntax and try again.":"If you have filters applied, try adjusting them.";vn(()=>{le(bt,o=t.params.namespace,o)});const d=()=>{le(st,a=Date.now(),a)};lr(()=>{le($t,n=t.url.searchParams.toString(),n)});function $(w){m=w,l(0,m)}return[m,t,s,i,f,c,u,_,d,$]}class Io extends se{constructor(e){super(),ae(this,e,To,yo,ie,{})}}const Eo=r=>({}),gl=r=>({});function Do(r){let e;const l=r[2].fallback,t=Ce(l,r,r[1],gl);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,a){t&&t.m(n,a),e=!0},p(n,a){t&&t.p&&(!e||a&2)&&Se(t,l,n,n[1],e?Ae(l,n[1],a,Eo):We(n[1]),gl)},i(n){e||(h(t,n),e=!0)},o(n){g(t,n),e=!1},d(n){t&&t.d(n)}}}function Co(r){let e;const l=r[2].default,t=Ce(l,r,r[1],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,a){t&&t.m(n,a),e=!0},p(n,a){t&&t.p&&(!e||a&2)&&Se(t,l,n,n[1],e?Ae(l,n[1],a,null):We(n[1]),null)},i(n){e||(h(t,n),e=!0)},o(n){g(t,n),e=!1},d(n){t&&t.d(n)}}}function So(r){let e,l,t,n;const a=[Co,Do],o=[];function s(i,f){return i[0]?0:1}return e=s(r),l=o[e]=a[e](r),{c(){l.c(),t=ne()},l(i){l.l(i),t=ne()},m(i,f){o[e].m(i,f),v(i,t,f),n=!0},p(i,[f]){let c=e;e=s(i),e===c?o[e].p(i,f):(X(),g(o[c],1,1,()=>{o[c]=null}),x(),l=o[e],l?l.p(i,f):(l=o[e]=a[e](i),l.c()),h(l,1),l.m(t.parentNode,t))},i(i){n||(h(l),n=!0)},o(i){g(l),n=!1},d(i){o[e].d(i),i&&p(t)}}}function Wo(r,e,l){let t;M(r,mt,o=>l(0,t=o));let{$$slots:n={},$$scope:a}=e;return r.$$set=o=>{"$$scope"in o&&l(1,a=o.$$scope)},[t,a,n]}class Ao extends se{constructor(e){super(),ae(this,e,Wo,So,ie,{})}}const Oo={workflowId:"WorkflowId",workflowType:"WorkflowType",timeRange:"StartTime",executionStatus:"ExecutionStatus",closeTime:"CloseTime",runId:"RunId"},No=r=>!(r===null||r===void 0||r===""||typeof r=="string"&&r==="undefined"),Bo=(r,e,l="=",t,n)=>{const a=Oo[r]??r;return e==="All"?"":n?`${a} ${e}`:hr(e)||gr(e)?t||yn(mt)?`${a} > "${tl(e)}"`:`${a} BETWEEN "${tl(e)}" AND "${$r()}"`:`${a}${l}"${e}"`},Fo=(r,e)=>r.map(({attribute:l,value:t,conditional:n,operator:a,parenthesis:o,customDate:s})=>{if(No(t)){let i=Bo(l,t,n,e,s);return o==="("?i=`(${i}`:o===")"&&(i=`${i})`),a&&(i=`${i} ${a} `),i}}).filter(Boolean),Vo=(r=[],e=[],l=!1)=>{const t=e.length?` order by ${e[0].attribute} ${e[0].value}`:"";return Fo(r,l).join("")+t},Po=r=>e=>e.toLowerCase()===r.toLowerCase(),$l=(r,e)=>r[e+2],Mo=(r,e)=>r[e-2],Lo=r=>{if(r){for(const e of kr)if(r[e])return{[e]:r[e]}}},Ro=Po("Datetime"),At=()=>({attribute:"",value:"",operator:"",parenthesis:"",conditional:""}),Uo={ExecutionStatus:"Keyword",StartTime:"Datetime",CloseTime:"Datetime",WorkflowId:"Keyword",WorkflowType:"Keyword",RunId:"Keyword"},Ln=(r,e=Uo)=>{const l=_r(r),t=[];let n=At();if(!r)return[];try{return l.forEach((a,o)=>{if(e[a])if(n.attribute=a,Ro(e[a])){const s=$l(l,o);try{const i=br(s),f=Lo(i);n.value=wr(f)}catch(i){console.error("Error parsing Datetime field from query",i)}}else n.value=$l(l,o);Ir(a)&&(n.conditional=a),Er(a)&&(n.parenthesis=a),Dr(a)&&!Cr(Mo(l,o))&&(n.operator=a,t.push(n),n=At()),o===l.length-1&&(t.push(n),n=At())}),t}catch(a){return console.error("Error setting filter parameters: ",a),[]}},qo=r=>{const e=r.filter(s=>s.attribute==="ExecutionStatus"&&s.value),l=r.filter(s=>s.attribute==="WorkflowId"&&s.value),t=r.filter(s=>s.attribute==="WorkflowType"&&s.value),n=r.filter(s=>s.attribute==="RunId"&&s.value),a=r.filter(s=>(s.attribute==="StartTime"||s.attribute==="CloseTime")&&s.value),o=[e,l,n,t,a].filter(s=>s.length);return o.forEach((s,i)=>{var f,c;s.length&&((f=o[i+1])!=null&&f.length)?s[s.length-1].operator="AND":s.length&&!((c=o[i+1])!=null&&c.length)&&(s[s.length-1].operator="")}),[...e,...l,...n,...t,...a]},Ke=Cn((r,e,l)=>{const t=qo(e),n=Vo(t,l);ot({url:r,parameter:"query",value:n,allowEmpty:!1})},300);function Ho(r){let e;return{c(){e=U("Search")},l(l){e=q(l,"Search")},m(l,t){v(l,e,t)},d(l){l&&p(e)}}}function zo(r){let e,l,t,n,a,o,s,i,f,c,u,m;function _($){r[5]($)}let d={id:"manual-search",type:"search",placeholder:fe("search-placeholder"),icon:"search",class:"w-3/4",clearable:!0,unroundRight:!0};return r[0]!==void 0&&(d.value=r[0]),n=new Ue({props:d}),me.push(()=>pe(n,"value",_)),n.$on("clear",r[2]),s=new Bt({props:{testId:"manual-search-button",variant:"primary",class:"h-10",unroundLeft:!0,type:"submit",$$slots:{default:[Ho]},$$scope:{ctx:r}}}),{c(){e=A("div"),l=A("div"),t=A("form"),I(n.$$.fragment),o=L(),I(s.$$.fragment),this.h()},l($){e=O($,"DIV",{class:!0});var w=N(e);l=O(w,"DIV",{class:!0});var b=N(l);t=O(b,"FORM",{class:!0,role:!0});var W=N(t);E(n.$$.fragment,W),o=R(W),E(s.$$.fragment,W),W.forEach(p),b.forEach(p),w.forEach(p),this.h()},h(){T(t,"class","relative flex h-12 w-full items-center gap-0"),T(t,"role","search"),T(l,"class","flex h-12 w-full items-center gap-0"),T(e,"class","flex-items-center flex grow gap-4")},m($,w){v($,e,w),S(e,l),S(l,t),D(n,t,null),S(t,o),D(s,t,null),c=!0,u||(m=oe(t,"submit",Xe(r[1])),u=!0)},p($,[w]){const b={};!a&&w&1&&(a=!0,b.value=$[0],he(()=>a=!1)),n.$set(b);const W={};w&2048&&(W.$$scope={dirty:w,ctx:$}),s.$set(W)},i($){c||(h(n.$$.fragment,$),h(s.$$.fragment,$),i||Gt(()=>{i=Jt(t,Or,{x:-100,duration:150}),i.start()}),f||Gt(()=>{f=Jt(l,Nr,{}),f.start()}),c=!0)},o($){g(n.$$.fragment,$),g(s.$$.fragment,$),c=!1},d($){$&&p(e),C(n),C(s),u=!1,m()}}}function jo(r,e,l){let t,n,a,o,s,i;M(r,Be,d=>l(4,n=d)),M(r,st,d=>l(6,a=d)),M(r,de,d=>l(7,o=d)),M(r,rt,d=>l(8,s=d)),M(r,ye,d=>l(9,i=d));let f="";function c(d){l(0,f=d)}const u=()=>{if(!f)le(de,o=[],o),le(ye,i=[],i),le(rt,s="",s);else try{le(de,o=Ln(f),o)}catch{}f&&f===t?le(st,a=Date.now(),a):ot({url:n.url,parameter:"query",value:f,allowEmpty:!0})};function m(){u()}function _(d){f=d,l(0,f)}return r.$$.update=()=>{r.$$.dirty&16&&l(3,t=n.url.searchParams.get("query")),r.$$.dirty&8&&c(t)},[f,u,m,t,n,_]}class Qo extends se{constructor(e){super(),ae(this,e,jo,zo,ie,{})}}function bl(r,e,l){const t=r.slice();return t[9]=e[l].allowed,t[10]=e[l].value,t[12]=l,t}function wl(r,e,l){const t=r.slice();return t[13]=e[l],t}function kl(r){let e,l=r[13].label.slice(0,2)+"",t;return{c(){e=A("p"),t=U(l),this.h()},l(n){e=O(n,"P",{class:!0});var a=N(e);t=q(a,l),a.forEach(p),this.h()},h(){T(e,"class","cell svelte-1we9vff")},m(n,a){v(n,e,a),S(e,t)},p:H,d(n){n&&p(e)}}}function vl(r,e){let l,t=(e[10]||"")+"",n,a,o,s;function i(){return e[6](e[10])}return{key:r,first:null,c(){l=A("button"),n=U(t),a=L(),this.h()},l(f){l=O(f,"BUTTON",{class:!0});var c=N(l);n=q(c,t),a=R(c),c.forEach(p),this.h()},h(){T(l,"class","cell svelte-1we9vff"),te(l,"highlight",e[9]&&e[10]),te(l,"disabled",!e[9]),te(l,"selected",new Date(e[0].getFullYear(),e[0].getMonth(),e[0].getDate()).getTime()===new Date(e[2],e[1],e[10]).getTime()),this.first=l},m(f,c){v(f,l,c),S(l,n),S(l,a),o||(s=oe(l,"click",function(){Tn(e[9]&&e[10]?i:H)&&(e[9]&&e[10]?i:H).apply(this,arguments)}),o=!0)},p(f,c){e=f,c&8&&t!==(t=(e[10]||"")+"")&&ue(n,t),c&8&&te(l,"highlight",e[9]&&e[10]),c&8&&te(l,"disabled",!e[9]),c&15&&te(l,"selected",new Date(e[0].getFullYear(),e[0].getMonth(),e[0].getDate()).getTime()===new Date(e[2],e[1],e[10]).getTime())},d(f){f&&p(l),o=!1,s()}}}function Ko(r){let e,l,t,n,a=[],o=new Map,s=ol,i=[];for(let u=0;uu[12];for(let u=0;u!0}=e,i=[];const f=m=>{t("datechange",new Date(o,a,m))},c=(m,_,d)=>d?s(new Date(m,_,d)):!0,u=m=>f(m);return r.$$set=m=>{"date"in m&&l(0,n=m.date),"month"in m&&l(1,a=m.month),"year"in m&&l(2,o=m.year),"isAllowed"in m&&l(5,s=m.isAllowed)},r.$$.update=()=>{r.$$.dirty&6&&l(3,i=Fr(a,o).map(m=>({value:m,allowed:c(o,a,m)})))},[n,a,o,i,f,s,u]}class Go extends se{constructor(e){super(),ae(this,e,Yo,Ko,ie,{date:0,month:1,year:2,isAllowed:5})}}function yl(r){var F;let e,l,t,n,a,o,s,i=(((F=sl(r[2]))==null?void 0:F.label)??"")+"",f,c,u,m,_,d,$,w,b,W,k,y,B,P,Z,V,K,j,z;return a=new we({props:{name:"chevron-left"}}),$=new we({props:{name:"chevron-right"}}),b=new Go({props:{month:r[2],year:r[3],date:r[0],isAllowed:r[1]}}),b.$on("datechange",r[9]),{c(){e=A("div"),l=A("div"),t=A("div"),n=A("button"),I(a.$$.fragment),o=L(),s=A("div"),f=U(i),c=L(),u=U(r[3]),m=L(),_=A("div"),d=A("button"),I($.$$.fragment),w=L(),I(b.$$.fragment),W=L(),k=A("div"),y=A("button"),B=U("Today"),P=L(),Z=A("button"),V=U("Close"),this.h()},l(Y){e=O(Y,"DIV",{class:!0});var ee=N(e);l=O(ee,"DIV",{class:!0});var re=N(l);t=O(re,"DIV",{class:!0});var _e=N(t);n=O(_e,"BUTTON",{});var ge=N(n);E(a.$$.fragment,ge),ge.forEach(p),_e.forEach(p),o=R(re),s=O(re,"DIV",{class:!0});var ke=N(s);f=q(ke,i),c=R(ke),u=q(ke,r[3]),ke.forEach(p),m=R(re),_=O(re,"DIV",{class:!0});var Fe=N(_);d=O(Fe,"BUTTON",{});var Ie=N(d);E($.$$.fragment,Ie),Ie.forEach(p),Fe.forEach(p),re.forEach(p),w=R(ee),E(b.$$.fragment,ee),W=R(ee),k=O(ee,"DIV",{class:!0});var J=N(k);y=O(J,"BUTTON",{class:!0});var be=N(y);B=q(be,"Today"),be.forEach(p),P=R(J),Z=O(J,"BUTTON",{class:!0});var Ee=N(Z);V=q(Ee,"Close"),Ee.forEach(p),J.forEach(p),ee.forEach(p),this.h()},h(){T(t,"class","flex items-center justify-center"),T(s,"class","flex items-center justify-center"),T(_,"class","flex items-center justify-center"),T(l,"class","mx-3 my-2 flex items-center justify-around"),T(y,"class","cursor-pointer text-[12px]"),T(Z,"class","cursor-pointer text-[12px]"),T(k,"class","my-1 flex justify-between px-2"),T(e,"class","absolute top-12 z-50 inline-block rounded border border-gray-900 bg-white shadow")},m(Y,ee){v(Y,e,ee),S(e,l),S(l,t),S(t,n),D(a,n,null),S(l,o),S(l,s),S(s,f),S(s,c),S(s,u),S(l,m),S(l,_),S(_,d),D($,d,null),S(e,w),D(b,e,null),S(e,W),S(e,k),S(k,y),S(y,B),S(k,P),S(k,Z),S(Z,V),K=!0,j||(z=[oe(n,"click",r[8]),oe(d,"click",r[7]),oe(y,"click",r[10]),oe(Z,"click",r[11])],j=!0)},p(Y,ee){var _e;(!K||ee&4)&&i!==(i=(((_e=sl(Y[2]))==null?void 0:_e.label)??"")+"")&&ue(f,i),(!K||ee&8)&&ue(u,Y[3]);const re={};ee&4&&(re.month=Y[2]),ee&8&&(re.year=Y[3]),ee&1&&(re.date=Y[0]),ee&2&&(re.isAllowed=Y[1]),b.$set(re)},i(Y){K||(h(a.$$.fragment,Y),h($.$$.fragment,Y),h(b.$$.fragment,Y),K=!0)},o(Y){g(a.$$.fragment,Y),g($.$$.fragment,Y),g(b.$$.fragment,Y),K=!1},d(Y){Y&&p(e),C(a),C($),C(b),j=!1,tt(z)}}}function Jo(r){let e,l,t,n,a,o;l=new Ue({props:{id:"datepicker",icon:"calendar-plus",type:"text",placeholder:"MM/DD/YY",value:r[0].toDateString(),clearable:!0}}),l.$on("focus",r[5]),l.$on("input",r[6]);let s=r[4]&&yl(r);return{c(){e=A("div"),I(l.$$.fragment),t=L(),s&&s.c(),this.h()},l(i){e=O(i,"DIV",{class:!0});var f=N(e);E(l.$$.fragment,f),t=R(f),s&&s.l(f),f.forEach(p),this.h()},h(){T(e,"class","relative")},m(i,f){v(i,e,f),D(l,e,null),S(e,t),s&&s.m(e,null),n=!0,a||(o=[rr(Br.call(null,e)),oe(e,"click-outside",r[12])],a=!0)},p(i,[f]){const c={};f&1&&(c.value=i[0].toDateString()),l.$set(c),i[4]?s?(s.p(i,f),f&16&&h(s,1)):(s=yl(i),s.c(),h(s,1),s.m(e,null)):s&&(X(),g(s,1,1,()=>{s=null}),x())},i(i){n||(h(l.$$.fragment,i),h(s),n=!0)},o(i){g(l.$$.fragment,i),g(s),n=!1},d(i){i&&p(e),C(l),s&&s.d(),a=!1,tt(o)}}}function Zo(r,e,l){const t=it();let{isAllowed:n=()=>!0}=e,{selected:a=new Date}=e,o,s,i=!1;const f=()=>{l(4,i=!0)},c=b=>{const k=b.target.value;if(k.length===8){const y=k==null?void 0:k.split("/"),P=2e3+parseInt(y[2]),Z=parseInt(y[0])-1,V=parseInt(y[1]),K=new Date(P,Z,V);t("datechange",K)}},u=()=>{if(o===11){l(2,o=0),l(3,s=s+1);return}l(2,o=o+1)},m=()=>{if(o===0){l(2,o=11),l(3,s-=1);return}l(2,o-=1)},_=b=>{l(4,i=!1),t("datechange",b.detail)},d=()=>l(0,a=new Date),$=()=>l(4,i=!1),w=()=>l(4,i=!1);return r.$$set=b=>{"isAllowed"in b&&l(1,n=b.isAllowed),"selected"in b&&l(0,a=b.selected)},r.$$.update=()=>{r.$$.dirty&1&&(l(2,o=a.getMonth()),l(3,s=a.getFullYear()))},[a,n,o,s,i,f,c,u,m,_,d,$,w]}class Tl extends se{constructor(e){super(),ae(this,e,Zo,Jo,ie,{isAllowed:1,selected:0})}}function Xo(r){let e;return{c(){e=U("AM")},l(l){e=q(l,"AM")},m(l,t){v(l,e,t)},d(l){l&&p(e)}}}function xo(r){let e;return{c(){e=U("PM")},l(l){e=q(l,"PM")},m(l,t){v(l,e,t)},d(l){l&&p(e)}}}function es(r){let e,l,t,n;return e=new al({props:{active:r[3]==="AM",$$slots:{default:[Xo]},$$scope:{ctx:r}}}),e.$on("click",r[7]),t=new al({props:{active:r[3]==="PM",$$slots:{default:[xo]},$$scope:{ctx:r}}}),t.$on("click",r[8]),{c(){I(e.$$.fragment),l=L(),I(t.$$.fragment)},l(a){E(e.$$.fragment,a),l=R(a),E(t.$$.fragment,a)},m(a,o){D(e,a,o),v(a,l,o),D(t,a,o),n=!0},p(a,o){const s={};o&8&&(s.active=a[3]==="AM"),o&512&&(s.$$scope={dirty:o,ctx:a}),e.$set(s);const i={};o&8&&(i.active=a[3]==="PM"),o&512&&(i.$$scope={dirty:o,ctx:a}),t.$set(i)},i(a){n||(h(e.$$.fragment,a),h(t.$$.fragment,a),n=!0)},o(a){g(e.$$.fragment,a),g(t.$$.fragment,a),n=!1},d(a){C(e,a),a&&p(l),C(t,a)}}}function ts(r){let e,l,t,n,a,o,s,i,f,c,u,m;function _(k){r[4](k)}let d={id:"hour",placeholder:"00",suffix:"hrs",maxLength:2,error:Boolean(parseInt(r[0])>12)};r[0]!==void 0&&(d.value=r[0]),l=new Ue({props:d}),me.push(()=>pe(l,"value",_));function $(k){r[5](k)}let w={id:"minute",required:!0,placeholder:"00",suffix:"min",maxLength:2,error:Boolean(parseInt(r[0])>59)};r[1]!==void 0&&(w.value=r[1]),a=new Ue({props:w}),me.push(()=>pe(a,"value",$));function b(k){r[6](k)}let W={id:"second",placeholder:"00",suffix:"sec",maxLength:2,error:Boolean(parseInt(r[0])>59)};return r[2]!==void 0&&(W.value=r[2]),i=new Ue({props:W}),me.push(()=>pe(i,"value",b)),u=new Vr({props:{$$slots:{default:[es]},$$scope:{ctx:r}}}),{c(){e=A("div"),I(l.$$.fragment),n=L(),I(a.$$.fragment),s=L(),I(i.$$.fragment),c=L(),I(u.$$.fragment),this.h()},l(k){e=O(k,"DIV",{class:!0});var y=N(e);E(l.$$.fragment,y),n=R(y),E(a.$$.fragment,y),s=R(y),E(i.$$.fragment,y),c=R(y),E(u.$$.fragment,y),y.forEach(p),this.h()},h(){T(e,"class","flex gap-2")},m(k,y){v(k,e,y),D(l,e,null),S(e,n),D(a,e,null),S(e,s),D(i,e,null),S(e,c),D(u,e,null),m=!0},p(k,[y]){const B={};y&1&&(B.error=Boolean(parseInt(k[0])>12)),!t&&y&1&&(t=!0,B.value=k[0],he(()=>t=!1)),l.$set(B);const P={};y&1&&(P.error=Boolean(parseInt(k[0])>59)),!o&&y&2&&(o=!0,P.value=k[1],he(()=>o=!1)),a.$set(P);const Z={};y&1&&(Z.error=Boolean(parseInt(k[0])>59)),!f&&y&4&&(f=!0,Z.value=k[2],he(()=>f=!1)),i.$set(Z);const V={};y&520&&(V.$$scope={dirty:y,ctx:k}),u.$set(V)},i(k){m||(h(l.$$.fragment,k),h(a.$$.fragment,k),h(i.$$.fragment,k),h(u.$$.fragment,k),m=!0)},o(k){g(l.$$.fragment,k),g(a.$$.fragment,k),g(i.$$.fragment,k),g(u.$$.fragment,k),m=!1},d(k){k&&p(e),C(l),C(a),C(i),C(u)}}}function ls(r,e,l){let{hour:t=""}=e,{minute:n=""}=e,{second:a=""}=e,{half:o="AM"}=e;function s(m){t=m,l(0,t)}function i(m){n=m,l(1,n)}function f(m){a=m,l(2,a)}const c=()=>l(3,o="AM"),u=()=>l(3,o="PM");return r.$$set=m=>{"hour"in m&&l(0,t=m.hour),"minute"in m&&l(1,n=m.minute),"second"in m&&l(2,a=m.second),"half"in m&&l(3,o=m.half)},[t,n,a,o,s,i,f,c,u]}class Il extends se{constructor(e){super(),ae(this,e,ls,ts,ie,{hour:0,minute:1,second:2,half:3})}}function El(r,e,l){const t=r.slice();return t[47]=e[l],t}function ns(r){let e;return{c(){e=U(r[1])},l(l){e=q(l,r[1])},m(l,t){v(l,e,t)},p(l,t){t[0]&2&&ue(e,l[1])},d(l){l&&p(e)}}}function rs(r){let e,l,t,n,a,o,s,i,f,c,u,m,_,d,$,w;n=new je({props:{$$slots:{default:[ss]},$$scope:{ctx:r}}}),n.$on("click",r[31]),s=new je({props:{$$slots:{default:[as]},$$scope:{ctx:r}}}),s.$on("click",r[32]);let b=wt,W=[];for(let y=0;yg(W[y],1,1,()=>{W[y]=null});return m=new je({props:{selected:r[2]==="StartTime",$$slots:{default:[fs]},$$scope:{ctx:r}}}),m.$on("click",r[34]),$=new je({props:{selected:r[2]==="CloseTime",$$slots:{default:[us]},$$scope:{ctx:r}}}),$.$on("click",r[35]),{c(){e=A("div"),l=A("div"),t=A("div"),I(n.$$.fragment),a=L(),o=A("div"),I(s.$$.fragment),i=L();for(let y=0;ype(i,"hour",_e)),me.push(()=>pe(i,"minute",ge)),me.push(()=>pe(i,"second",ke)),me.push(()=>pe(i,"half",Fe)),k=new Tl({props:{selected:r[4]}}),k.$on("datechange",r[17]);function J(Q){r[26](Q)}function be(Q){r[27](Q)}function Ee(Q){r[28](Q)}function $e(Q){r[29](Q)}let Ge={};return r[9]!==void 0&&(Ge.hour=r[9]),r[10]!==void 0&&(Ge.minute=r[10]),r[11]!==void 0&&(Ge.second=r[11]),r[12]!==void 0&&(Ge.half=r[12]),B=new Il({props:Ge}),me.push(()=>pe(B,"hour",J)),me.push(()=>pe(B,"minute",be)),me.push(()=>pe(B,"second",Ee)),me.push(()=>pe(B,"half",$e)),F=new Bt({props:{$$slots:{default:[cs]},$$scope:{ctx:r}}}),F.$on("click",r[18]),ee=new Bt({props:{variant:"secondary",$$slots:{default:[ms]},$$scope:{ctx:r}}}),ee.$on("click",r[30]),{c(){e=A("div"),l=A("p"),t=U("Start"),n=L(),a=A("div"),I(o.$$.fragment),s=L(),I(i.$$.fragment),_=L(),d=A("div"),$=A("p"),w=U("End"),b=L(),W=A("div"),I(k.$$.fragment),y=L(),I(B.$$.fragment),j=L(),z=A("div"),I(F.$$.fragment),Y=L(),I(ee.$$.fragment),this.h()},l(Q){e=O(Q,"DIV",{class:!0});var ce=N(e);l=O(ce,"P",{class:!0});var Je=N(l);t=q(Je,"Start"),Je.forEach(p),n=R(ce),a=O(ce,"DIV",{class:!0});var De=N(a);E(o.$$.fragment,De),s=R(De),E(i.$$.fragment,De),De.forEach(p),ce.forEach(p),_=R(Q),d=O(Q,"DIV",{class:!0});var Pe=N(d);$=O(Pe,"P",{class:!0});var Ve=N($);w=q(Ve,"End"),Ve.forEach(p),b=R(Pe),W=O(Pe,"DIV",{class:!0});var Me=N(W);E(k.$$.fragment,Me),y=R(Me),E(B.$$.fragment,Me),Me.forEach(p),Pe.forEach(p),j=R(Q),z=O(Q,"DIV",{class:!0});var Le=N(z);E(F.$$.fragment,Le),Y=R(Le),E(ee.$$.fragment,Le),Le.forEach(p),this.h()},h(){T(l,"class","text-sm"),T(a,"class","flex flex-col gap-2"),T(e,"class","flex flex-col"),T($,"class","text-sm"),T(W,"class","flex flex-col gap-2"),T(d,"class","flex flex-col"),T(z,"class","flex gap-2")},m(Q,ce){v(Q,e,ce),S(e,l),S(l,t),S(e,n),S(e,a),D(o,a,null),S(a,s),D(i,a,null),v(Q,_,ce),v(Q,d,ce),S(d,$),S($,w),S(d,b),S(d,W),D(k,W,null),S(W,y),D(B,W,null),v(Q,j,ce),v(Q,z,ce),D(F,z,null),S(z,Y),D(ee,z,null),re=!0},p(Q,ce){const Je={};ce[0]&8&&(Je.selected=Q[3]),o.$set(Je);const De={};!f&&ce[0]&32&&(f=!0,De.hour=Q[5],he(()=>f=!1)),!c&&ce[0]&64&&(c=!0,De.minute=Q[6],he(()=>c=!1)),!u&&ce[0]&128&&(u=!0,De.second=Q[7],he(()=>u=!1)),!m&&ce[0]&256&&(m=!0,De.half=Q[8],he(()=>m=!1)),i.$set(De);const Pe={};ce[0]&16&&(Pe.selected=Q[4]),k.$set(Pe);const Ve={};!P&&ce[0]&512&&(P=!0,Ve.hour=Q[9],he(()=>P=!1)),!Z&&ce[0]&1024&&(Z=!0,Ve.minute=Q[10],he(()=>Z=!1)),!V&&ce[0]&2048&&(V=!0,Ve.second=Q[11],he(()=>V=!1)),!K&&ce[0]&4096&&(K=!0,Ve.half=Q[12],he(()=>K=!1)),B.$set(Ve);const Me={};ce[1]&524288&&(Me.$$scope={dirty:ce,ctx:Q}),F.$set(Me);const Le={};ce[1]&524288&&(Le.$$scope={dirty:ce,ctx:Q}),ee.$set(Le)},i(Q){re||(h(o.$$.fragment,Q),h(i.$$.fragment,Q),h(k.$$.fragment,Q),h(B.$$.fragment,Q),h(F.$$.fragment,Q),h(ee.$$.fragment,Q),re=!0)},o(Q){g(o.$$.fragment,Q),g(i.$$.fragment,Q),g(k.$$.fragment,Q),g(B.$$.fragment,Q),g(F.$$.fragment,Q),g(ee.$$.fragment,Q),re=!1},d(Q){Q&&p(e),C(o),C(i),Q&&p(_),Q&&p(d),C(k),C(B),Q&&p(j),Q&&p(z),C(F),C(ee)}}}function ss(r){let e=fe("all-time")+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p:H,d(t){t&&p(l)}}}function as(r){let e=fe("custom")+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p:H,d(t){t&&p(l)}}}function is(r){let e=r[47]+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p:H,d(t){t&&p(l)}}}function Dl(r){let e,l,t;function n(){return r[33](r[47])}return l=new je({props:{$$slots:{default:[is]},$$scope:{ctx:r}}}),l.$on("click",n),{c(){e=A("div"),I(l.$$.fragment),this.h()},l(a){e=O(a,"DIV",{class:!0});var o=N(e);E(l.$$.fragment,o),o.forEach(p),this.h()},h(){T(e,"class","flex w-1/2 flex-col justify-center")},m(a,o){v(a,e,o),D(l,e,null),t=!0},p(a,o){r=a;const s={};o[1]&524288&&(s.$$scope={dirty:o,ctx:r}),l.$set(s)},i(a){t||(h(l.$$.fragment,a),t=!0)},o(a){g(l.$$.fragment,a),t=!1},d(a){a&&p(e),C(l)}}}function fs(r){let e=fe("start-time")+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p:H,d(t){t&&p(l)}}}function us(r){let e=fe("end-time")+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p:H,d(t){t&&p(l)}}}function cs(r){let e=fe("apply")+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p:H,d(t){t&&p(l)}}}function ms(r){let e=fe("cancel")+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p:H,d(t){t&&p(l)}}}function _s(r){let e,l,t,n;const a=[os,rs],o=[];function s(i,f){return i[0]?0:1}return e=s(r),l=o[e]=a[e](r),{c(){l.c(),t=ne()},l(i){l.l(i),t=ne()},m(i,f){o[e].m(i,f),v(i,t,f),n=!0},p(i,f){let c=e;e=s(i),e===c?o[e].p(i,f):(X(),g(o[c],1,1,()=>{o[c]=null}),x(),l=o[e],l?l.p(i,f):(l=o[e]=a[e](i),l.c()),h(l,1),l.m(t.parentNode,t))},i(i){n||(h(l),n=!0)},o(i){g(l),n=!1},d(i){o[e].d(i),i&&p(t)}}}function ds(r){let e,l,t,n;return e=new An({props:{id:"time-range-filter",hasIndicator:!0,controls:"time-range-filter-menu",class:"flex flex-row items-center p-2 bg-white border border-r-0 border-primary rounded-l h-10 w-44",$$slots:{default:[ns]},$$scope:{ctx:r}}}),t=new On({props:{keepOpen:!0,id:"time-range-filter-menu",class:"flex rounded h-auto w-[400px] flex-col gap-8 bg-white p-2",$$slots:{default:[_s]},$$scope:{ctx:r}}}),{c(){I(e.$$.fragment),l=L(),I(t.$$.fragment)},l(a){E(e.$$.fragment,a),l=R(a),E(t.$$.fragment,a)},m(a,o){D(e,a,o),v(a,l,o),D(t,a,o),n=!0},p(a,o){const s={};o[0]&2|o[1]&524288&&(s.$$scope={dirty:o,ctx:a}),e.$set(s);const i={};o[0]&8189|o[1]&524288&&(i.$$scope={dirty:o,ctx:a}),t.$set(i)},i(a){n||(h(e.$$.fragment,a),h(t.$$.fragment,a),n=!0)},o(a){g(e.$$.fragment,a),g(t.$$.fragment,a),n=!1},d(a){C(e,a),a&&p(l),C(t,a)}}}function ps(r){let e=rl(r[13])+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p(t,n){n[0]&8192&&e!==(e=rl(t[13])+"")&&ue(l,e)},d(t){t&&p(l)}}}function hs(r){let e=fe("relative")+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p:H,d(t){t&&p(l)}}}function gs(r){let e=fe("utc")+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p:H,d(t){t&&p(l)}}}function $s(r){let e=fe("local")+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p:H,d(t){t&&p(l)}}}function bs(r){let e,l,t,n,a,o;return e=new je({props:{$$slots:{default:[hs]},$$scope:{ctx:r}}}),e.$on("click",r[36]),t=new je({props:{$$slots:{default:[gs]},$$scope:{ctx:r}}}),t.$on("click",r[37]),a=new je({props:{$$slots:{default:[$s]},$$scope:{ctx:r}}}),a.$on("click",r[38]),{c(){I(e.$$.fragment),l=L(),I(t.$$.fragment),n=L(),I(a.$$.fragment)},l(s){E(e.$$.fragment,s),l=R(s),E(t.$$.fragment,s),n=R(s),E(a.$$.fragment,s)},m(s,i){D(e,s,i),v(s,l,i),D(t,s,i),v(s,n,i),D(a,s,i),o=!0},p(s,i){const f={};i[1]&524288&&(f.$$scope={dirty:i,ctx:s}),e.$set(f);const c={};i[1]&524288&&(c.$$scope={dirty:i,ctx:s}),t.$set(c);const u={};i[1]&524288&&(u.$$scope={dirty:i,ctx:s}),a.$set(u)},i(s){o||(h(e.$$.fragment,s),h(t.$$.fragment,s),h(a.$$.fragment,s),o=!0)},o(s){g(e.$$.fragment,s),g(t.$$.fragment,s),g(a.$$.fragment,s),o=!1},d(s){C(e,s),s&&p(l),C(t,s),s&&p(n),C(a,s)}}}function ws(r){let e,l,t,n;return e=new An({props:{class:"p-2 bg-white border border-primary rounded-r h-10 w-32",id:"datetime-filter",controls:"datetime-filter-menu",hasIndicator:!0,icon:"clock",$$slots:{default:[ps]},$$scope:{ctx:r}}}),t=new On({props:{id:"datetime-filter-menu",$$slots:{default:[bs]},$$scope:{ctx:r}}}),{c(){I(e.$$.fragment),l=L(),I(t.$$.fragment)},l(a){E(e.$$.fragment,a),l=R(a),E(t.$$.fragment,a)},m(a,o){D(e,a,o),v(a,l,o),D(t,a,o),n=!0},p(a,o){const s={};o[0]&8192|o[1]&524288&&(s.$$scope={dirty:o,ctx:a}),e.$set(s);const i={};o[0]&8192|o[1]&524288&&(i.$$scope={dirty:o,ctx:a}),t.$set(i)},i(a){n||(h(e.$$.fragment,a),h(t.$$.fragment,a),n=!0)},o(a){g(e.$$.fragment,a),g(t.$$.fragment,a),n=!1},d(a){C(e,a),a&&p(l),C(t,a)}}}function ks(r){let e,l,t,n,a;return l=new il({props:{$$slots:{default:[ds]},$$scope:{ctx:r}}}),n=new il({props:{$$slots:{default:[ws]},$$scope:{ctx:r}}}),{c(){e=A("div"),I(l.$$.fragment),t=L(),I(n.$$.fragment),this.h()},l(o){e=O(o,"DIV",{class:!0});var s=N(e);E(l.$$.fragment,s),t=R(s),E(n.$$.fragment,s),s.forEach(p),this.h()},h(){T(e,"class","flex items-center")},m(o,s){v(o,e,s),D(l,e,null),S(e,t),D(n,e,null),a=!0},p(o,s){const i={};s[0]&8191|s[1]&524288&&(i.$$scope={dirty:s,ctx:o}),l.$set(i);const f={};s[0]&8192|s[1]&524288&&(f.$$scope={dirty:s,ctx:o}),n.$set(f)},i(o){a||(h(l.$$.fragment,o),h(n.$$.fragment,o),a=!0)},o(o){g(l.$$.fragment,o),g(n.$$.fragment,o),a=!1},d(o){o&&p(e),C(l),C(n)}}}function vs(r,e,l){let t,n,a,o,s,i,f,c;M(r,ye,G=>l(40,a=G)),M(r,de,G=>l(20,o=G)),M(r,Be,G=>l(41,s=G)),M(r,Nt,G=>l(42,i=G)),M(r,mt,G=>l(21,f=G)),M(r,ze,G=>l(13,c=G));let u=!1,m="All Time",_="StartTime",d=pt(new Date),$=pt(new Date),w="",b="",W="",k="AM",y="",B="",P="",Z="AM";const V=()=>{t?(l(1,m=u||!wt.includes(t==null?void 0:t.value)?"Custom":t.value),l(2,_=t.attribute)):(l(1,m="All Time"),l(2,_="StartTime")),(!t||wt.includes(t==null?void 0:t.value)||(t==null?void 0:t.customDate))&&le(Nt,i=t,i)},K=()=>o.filter(G=>G.attribute!=="StartTime"&&G.attribute!=="CloseTime"),j=G=>{if(l(1,m=G),m==="All Time")le(de,o=[...K()],o),l(0,u=!1);else if(m==="Custom")l(0,u=!0);else{const ve={attribute:_,value:m,conditional:">",operator:"",parenthesis:""};le(de,o=[...K(),ve],o),l(0,u=!1)}Ke(s.url,o,a)},z=G=>{G!==_&&(l(2,_=G),j(m))},F=G=>{l(3,d=pt(G.detail))},Y=G=>{l(4,$=pt(G.detail))},ee=(G,ve)=>{let Re=new Date(G);return ve.hour&&(Re=Kr(Re,parseInt(ve.hour))),ve.minute&&(Re=Gr(Re,parseInt(ve.minute))),ve.second&&(Re=Jr(Re,parseInt(ve.second))),Re},re=(G,ve)=>{if(G)return G==="12"?ve==="AM"?"00":"12":ve==="PM"?(parseInt(G)+12).toString():G;G=""},_e=()=>{let G=ee(d,{hour:re(w,k),minute:b,second:W}),ve=ee($,{hour:re(y,Z),minute:B,second:P});const Re=n?`BETWEEN "${St(G)}" AND "${St(ve)}"`:`> "${St(G)}"`,tr={attribute:_,value:Re,conditional:"=",operator:"",parenthesis:"",customDate:!0};le(de,o=[...K(),tr],o),Ke(s.url,o,a)};function ge(G){w=G,l(5,w)}function ke(G){b=G,l(6,b)}function Fe(G){W=G,l(7,W)}function Ie(G){k=G,l(8,k)}function J(G){y=G,l(9,y)}function be(G){B=G,l(10,B)}function Ee(G){P=G,l(11,P)}function $e(G){Z=G,l(12,Z)}const Ge=()=>l(0,u=!1),Q=()=>j("All Time"),ce=()=>j("Custom"),Je=G=>j(G),De=()=>z("StartTime"),Pe=()=>z("CloseTime"),Ve=()=>le(ze,c="relative",c),Me=()=>le(ze,c="UTC",c),Le=()=>le(ze,c="local",c);return r.$$.update=()=>{r.$$.dirty[0]&1048576&&l(19,t=o.find(G=>G.attribute==="StartTime"||G.attribute==="CloseTime")),r.$$.dirty[0]&2097153&&(n=u||!f),r.$$.dirty[0]&524288&&V()},[u,m,_,d,$,w,b,W,k,y,B,P,Z,c,j,z,F,Y,_e,t,o,f,ge,ke,Fe,Ie,J,be,Ee,$e,Ge,Q,ce,Je,De,Pe,Ve,Me,Le]}class ys extends se{constructor(e){super(),ae(this,e,vs,ks,ie,{},null,[-1,-1])}}const Ts=r=>r.map(l=>l.runId).reduce((l,t,n,a)=>(l+=`RunId="${t}"`,n!==a.length-1&&(l+=" OR "),l),""),Is=({id:r,runId:e})=>({workflowId:r,runId:e}),Rn=({namespace:r,reason:e,workflows:l})=>{const t={namespace:r,reason:e};return Bn(yn(Fn),"1.19")?{...t,executions:l.map(Is)}:{...t,query:Ts(l)}};async function Es(r){const e=Rn(r),l=await qn(e);return jt({namespace:e.namespace,jobId:l})}function Ds({namespace:r,query:e,reason:l}){return qn({namespace:r,query:e,reason:l})}async function Cs(r){const e=Rn(r),l=await Un(e);return jt({namespace:e.namespace,jobId:l})}function Ss({namespace:r,query:e,reason:l}){return Un({namespace:r,query:e,reason:l})}async function Un({namespace:r,query:e,executions:l,reason:t}){const n=qt("batch-operations",{namespace:r}),a=Vn(),o={jobId:a,namespace:r,reason:t,cancellationOperation:{},...e&&{visibilityQuery:e},...l&&{executions:l}};return await Ht(n,{options:{method:"POST",body:Nn(o)},notifyOnError:!1}),a}async function qn({namespace:r,query:e,executions:l,reason:t}){const n=qt("batch-operations",{namespace:r}),a=Vn(),o=Pr().email,s={jobId:a,namespace:r,reason:t,terminationOperation:{...o&&{identity:o}},...e&&{visibilityQuery:e},...l&&{executions:l}};return await Ht(n,{options:{method:"POST",body:Nn(s)},notifyOnError:!1}),a}async function jt({namespace:r,jobId:e}){return new Promise((l,t)=>{Ws({namespace:r,jobId:e}).then(({state:n,completeOperationCount:a})=>{n==="Failed"?t():n!=="Running"?l(parseInt(a,10)):setTimeout(()=>{try{l(jt({namespace:r,jobId:e}))}catch{t()}},1e3)})})}async function Ws({jobId:r,namespace:e}){const l=qt("batch-operation.describe",{namespace:e});return Ht(l,{params:{jobId:r}})}function As(r){let e;const l=r[6].default,t=Ce(l,r,r[5],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,a){t&&t.m(n,a),e=!0},p(n,a){t&&t.p&&(!e||a&32)&&Se(t,l,n,n[5],e?Ae(l,n[5],a,null):We(n[5]),null)},i(n){e||(h(t,n),e=!0)},o(n){g(t,n),e=!1},d(n){t&&t.d(n)}}}function Os(r){let e;return{c(){e=U(r[1])},l(l){e=q(l,r[1])},m(l,t){v(l,e,t)},p(l,t){t&2&&ue(e,l[1])},i:H,o:H,d(l){l&&p(e)}}}function Ns(r){let e,l,t,n;const a=[Os,As],o=[];function s(i,f){return i[1]!==i[0]?0:1}return e=s(r),l=o[e]=a[e](r),{c(){l.c(),t=ne()},l(i){l.l(i),t=ne()},m(i,f){o[e].m(i,f),v(i,t,f),n=!0},p(i,[f]){let c=e;e=s(i),e===c?o[e].p(i,f):(X(),g(o[c],1,1,()=>{o[c]=null}),x(),l=o[e],l?l.p(i,f):(l=o[e]=a[e](i),l.c()),h(l,1),l.m(t.parentNode,t))},i(i){n||(h(l),n=!0)},o(i){g(l),n=!1},d(i){o[e].d(i),i&&p(t)}}}function Bs(r,e,l){let t,{$$slots:n={},$$scope:a}=e,{key:o}=e,{namespace:s}=e,{count:i=void 0}=e,{replace:f=void 0}=e;return r.$$set=c=>{"key"in c&&l(0,o=c.key),"namespace"in c&&l(2,s=c.namespace),"count"in c&&l(3,i=c.count),"replace"in c&&l(4,f=c.replace),"$$scope"in c&&l(5,a=c.$$scope)},r.$$.update=()=>{r.$$.dirty&29&&l(1,t=fe(s,o,i,f))},[o,t,s,i,f,a,n]}class Te extends se{constructor(e){super(),ae(this,e,Bs,Ns,ie,{key:0,namespace:2,count:3,replace:4})}}function Fs(r){let e,l,t;return l=new Te({props:{namespace:"workflows",key:"batch-operation-modal-title",replace:{action:r[3]}}}),{c(){e=A("h3"),I(l.$$.fragment),this.h()},l(n){e=O(n,"H3",{slot:!0});var a=N(e);E(l.$$.fragment,a),a.forEach(p),this.h()},h(){T(e,"slot","title")},m(n,a){v(n,e,a),D(l,e,null),t=!0},p(n,a){const o={};a&8&&(o.replace={action:n[3]}),l.$set(o)},i(n){t||(h(l.$$.fragment,n),t=!0)},o(n){g(l.$$.fragment,n),t=!1},d(n){n&&p(e),C(l)}}}function Vs(r){let e,l,t;return l=new Te({props:{namespace:"workflows",key:r[0]===at.Cancel?"batch-cancel-confirmation":"batch-terminate-confirmation",count:r[1]}}),{c(){e=A("p"),I(l.$$.fragment)},l(n){e=O(n,"P",{});var a=N(e);E(l.$$.fragment,a),a.forEach(p)},m(n,a){v(n,e,a),D(l,e,null),t=!0},p(n,a){const o={};a&1&&(o.key=n[0]===at.Cancel?"batch-cancel-confirmation":"batch-terminate-confirmation"),a&2&&(o.count=n[1]),l.$set(o)},i(n){t||(h(l.$$.fragment,n),t=!0)},o(n){g(l.$$.fragment,n),t=!1},d(n){n&&p(e),C(l)}}}function Ps(r){let e,l,t,n,a,o,s,i,f,c;return l=new Te({props:{namespace:"workflows",key:"batch-operation-confirmation-all",replace:{action:r[3]}}}),f=new Te({props:{namespace:"workflows",key:"batch-operation-count-disclaimer",replace:{action:r[3]}}}),{c(){e=A("p"),I(l.$$.fragment),t=L(),n=A("div"),a=A("code"),o=U(r[2]),s=L(),i=A("span"),I(f.$$.fragment),this.h()},l(u){e=O(u,"P",{class:!0});var m=N(e);E(l.$$.fragment,m),m.forEach(p),t=R(u),n=O(u,"DIV",{class:!0});var _=N(n);a=O(_,"CODE",{"data-testid":!0});var d=N(a);o=q(d,r[2]),d.forEach(p),_.forEach(p),s=R(u),i=O(u,"SPAN",{class:!0});var $=N(i);E(f.$$.fragment,$),$.forEach(p),this.h()},h(){T(e,"class","mb-2"),T(a,"data-testid","batch-action-workflows-query"),T(n,"class","mb-2 overflow-scroll whitespace-nowrap rounded border border-primary bg-gray-100 p-2"),T(i,"class","text-xs")},m(u,m){v(u,e,m),D(l,e,null),v(u,t,m),v(u,n,m),S(n,a),S(a,o),v(u,s,m),v(u,i,m),D(f,i,null),c=!0},p(u,m){const _={};m&8&&(_.replace={action:u[3]}),l.$set(_),(!c||m&4)&&ue(o,u[2]);const d={};m&8&&(d.replace={action:u[3]}),f.$set(d)},i(u){c||(h(l.$$.fragment,u),h(f.$$.fragment,u),c=!0)},o(u){g(l.$$.fragment,u),g(f.$$.fragment,u),c=!1},d(u){u&&p(e),C(l),u&&p(t),u&&p(n),u&&p(s),u&&p(i),C(f)}}}function Ms(r){let e,l,t,n,a,o,s;const i=[Ps,Vs],f=[];function c(_,d){return _[8]?0:1}l=c(r),t=f[l]=i[l](r);function u(_){r[15](_)}let m={id:"bulk-action-reason",label:fe("workflows","reason"),hintText:fe("workflows","batch-operation-confirmation-input-hint",{placeholder:r[6]}),placeholder:r[6]};return r[5]!==void 0&&(m.value=r[5]),a=new Ue({props:m}),me.push(()=>pe(a,"value",u)),{c(){e=A("div"),t.c(),n=L(),I(a.$$.fragment),this.h()},l(_){e=O(_,"DIV",{class:!0});var d=N(e);t.l(d),d.forEach(p),n=R(_),E(a.$$.fragment,_),this.h()},h(){T(e,"class","mb-4 flex flex-col")},m(_,d){v(_,e,d),f[l].m(e,null),v(_,n,d),D(a,_,d),s=!0},p(_,d){let $=l;l=c(_),l===$?f[l].p(_,d):(X(),g(f[$],1,1,()=>{f[$]=null}),x(),t=f[l],t?t.p(_,d):(t=f[l]=i[l](_),t.c()),h(t,1),t.m(e,null));const w={};d&64&&(w.hintText=fe("workflows","batch-operation-confirmation-input-hint",{placeholder:_[6]})),d&64&&(w.placeholder=_[6]),!o&&d&32&&(o=!0,w.value=_[5],he(()=>o=!1)),a.$set(w)},i(_){s||(h(t),h(a.$$.fragment,_),s=!0)},o(_){g(t),g(a.$$.fragment,_),s=!1},d(_){_&&p(e),f[l].d(),_&&p(n),C(a,_)}}}function Ls(r){let e,l,t={id:"batch-operation-confirmation-modal","data-testid":"batch-"+r[3]+"-confirmation",confirmType:"destructive",confirmText:r[7],$$slots:{content:[Ms],title:[Fs]},$$scope:{ctx:r}};return e=new Lr({props:t}),r[16](e),e.$on("cancelModal",r[10]),e.$on("confirmModal",r[9]),{c(){I(e.$$.fragment)},l(n){E(e.$$.fragment,n)},m(n,a){D(e,n,a),l=!0},p(n,[a]){const o={};a&8&&(o["data-testid"]="batch-"+n[3]+"-confirmation"),a&128&&(o.confirmText=n[7]),a&262511&&(o.$$scope={dirty:a,ctx:n}),e.$set(o)},i(n){l||(h(e.$$.fragment,n),l=!0)},o(n){g(e.$$.fragment,n),l=!1},d(n){r[16](null),C(e,n)}}}function Rs(r,e,l){let t,n,a,o,s;M(r,Mr,B=>l(14,o=B)),M(r,Ye,B=>l(8,s=B));let{action:i}=e,{actionableWorkflowsLength:f}=e,{query:c}=e,u;const m=()=>u.open(),_=()=>u.close(),d=B=>u.setError(B),$=it();let w="";const b=()=>{$("confirm",{reason:ar({action:i,reason:w,email:o.email})})},W=()=>{l(5,w="")};function k(B){w=B,l(5,w)}function y(B){me[B?"unshift":"push"](()=>{u=B,l(4,u)})}return r.$$set=B=>{"action"in B&&l(0,i=B.action),"actionableWorkflowsLength"in B&&l(1,f=B.actionableWorkflowsLength),"query"in B&&l(2,c=B.query)},r.$$.update=()=>{r.$$.dirty&1&&l(3,t=i===at.Cancel?fe("workflows","cancel"):fe("workflows","terminate")),r.$$.dirty&9&&l(7,n=i===at.Cancel?fe("workflows","confirm"):t),r.$$.dirty&16385&&l(6,a=sr(i,o.email))},[i,f,c,t,u,w,a,n,s,b,W,m,_,d,o,k,y]}class Cl extends se{constructor(e){super(),ae(this,e,Rs,Ls,ie,{action:0,actionableWorkflowsLength:1,query:2,open:11,close:12,setError:13})}get open(){return this.$$.ctx[11]}get close(){return this.$$.ctx[12]}get setError(){return this.$$.ctx[13]}}const Hn=2,zn=[{label:"Status",pinned:!0},{label:"Workflow ID",pinned:!0},{label:"Run ID",pinned:!1},{label:"Type",pinned:!1},{label:"Start",pinned:!1},{label:"End",pinned:!1}],Us=[{label:"History Size",pinned:!1},{label:"History Length",pinned:!1},{label:"Execution Time",pinned:!1},{label:"Execution Duration",pinned:!1},{label:"State Transitions",pinned:!1},{label:"Parent Namespace",pinned:!1},{label:"Parent Workflow ID",pinned:!1},{label:"Task Queue",pinned:!1}],_t=Pn("workflow-table-columns",zn),Sl=Pn("workflow-table-pinned-columns-width"),qs=ft([_t],([r])=>[...zn,...Us].filter(e=>!r.some(l=>l.label===e.label))),Hs=ft([Sn,_t],([r,e])=>Object.keys(r).filter(l=>!e.some(t=>t.label===l)).map(l=>({label:l,pinned:!1}))),zs=(r,e)=>{switch(r.type){case"WORKFLOW_COLUMN.ADD":{const{label:l}=r.payload;return[...e,{label:l,pinned:!1}]}case"WORKFLOW_COLUMN.REMOVE":{const{label:l}=r.payload;return e.filter(({label:t})=>t!==l)}case"WORKFLOW_COLUMN.PIN":{const{label:l}=r.payload,t=e.findIndex(({label:s})=>s===l),n=e[t].pinned;let a=-1;for(let s=e.length-1;s>=0;s--)if(e[s].pinned){a=s;break}const o=[...e];return o[t].pinned=!n,t>a&&!n?o.splice(a+1,0,o.splice(t,1)[0]):t=0;s--)if(e[s].pinned){a=s;break}const o=[...e];return t<=a&&!n?o[l].pinned=!0:t>a&&n&&(o[l].pinned=!1),o.splice(t,0,o.splice(l,1)[0]),o.map((s,i)=>i>Hn-1?{...s,pinned:!1}:s)}default:return e}},Ct=r=>{_t.update(e=>zs(r,e))},Wl=r=>{Ct({type:"WORKFLOW_COLUMN.ADD",payload:{label:r}})},js=r=>{Ct({type:"WORKFLOW_COLUMN.REMOVE",payload:{label:r}})},Qs=(r,e)=>{Ct({type:"WORKFLOW_COLUMN.MOVE",payload:{from:r,to:e}})},Ks=r=>{Ct({type:"WORKFLOW_COLUMN.PIN",payload:{label:r}})},Ys=["workflowCancelDisabled","workflowTerminateDisabled"],Gs=r=>r.disableWriteActions||r.batchActionsDisabled?!1:Ys.some(e=>!r[e]),Qt=ft([Fn,mt,Ur,vr],([r,e,l,t])=>(t?!0:Bn(r,"1.18.0"))&&e&&Gs(l));const Js=r=>({}),Al=r=>({});function Zs(r){let e,l,t,n,a,o,s,i;const f=r[9].default,c=Ce(f,r,r[8],null),u=r[9]["unpinned-columns"],m=Ce(u,r,r[8],Al);return{c(){e=A("div"),c&&c.c(),l=L(),t=A("div"),n=L(),a=A("div"),m&&m.c(),this.h()},l(_){e=O(_,"DIV",{class:!0,style:!0});var d=N(e);c&&c.l(d),d.forEach(p),l=R(_),t=O(_,"DIV",{class:!0,"data-testid":!0}),N(t).forEach(p),n=R(_),a=O(_,"DIV",{class:!0,"data-testid":!0});var $=N(a);m&&m.l($),$.forEach(p),this.h()},h(){T(e,"class","workflows-summary-table-wrapper pinned svelte-i91sdc"),Zt(e,"width",r[2]?r[2]+"px":"50%"),te(e,"batch-actions-enabled",r[3]),te(e,"batch-actions-visible",r[4]),te(e,"no-columns-pinned",r[0]),T(t,"class","resizer svelte-i91sdc"),T(t,"data-testid","workflows-summary-table-resize-handle"),te(t,"batch-actions-enabled",r[3]),te(t,"batch-actions-visible",r[4]),te(t,"no-columns-pinned",r[0]),T(a,"class","workflows-summary-table-wrapper svelte-i91sdc"),T(a,"data-testid","unpinned-table-columns-wrapper")},m(_,d){v(_,e,d),c&&c.m(e,null),r[10](e),v(_,l,d),v(_,t,d),v(_,n,d),v(_,a,d),m&&m.m(a,null),o=!0,s||(i=[oe(window,"mousemove",r[7]),oe(window,"mouseup",r[6]),oe(t,"mousedown",r[5])],s=!0)},p(_,[d]){c&&c.p&&(!o||d&256)&&Se(c,f,_,_[8],o?Ae(f,_[8],d,null):We(_[8]),null),(!o||d&4)&&Zt(e,"width",_[2]?_[2]+"px":"50%"),(!o||d&8)&&te(e,"batch-actions-enabled",_[3]),(!o||d&16)&&te(e,"batch-actions-visible",_[4]),(!o||d&1)&&te(e,"no-columns-pinned",_[0]),(!o||d&8)&&te(t,"batch-actions-enabled",_[3]),(!o||d&16)&&te(t,"batch-actions-visible",_[4]),(!o||d&1)&&te(t,"no-columns-pinned",_[0]),m&&m.p&&(!o||d&256)&&Se(m,u,_,_[8],o?Ae(u,_[8],d,Js):We(_[8]),Al)},i(_){o||(h(c,_),h(m,_),o=!0)},o(_){g(c,_),g(m,_),o=!1},d(_){_&&p(e),c&&c.d(_),r[10](null),_&&p(l),_&&p(t),_&&p(n),_&&p(a),m&&m.d(_),s=!1,tt(i)}}}function Xs(r,e,l){let t,n,a;M(r,Sl,w=>l(12,t=w)),M(r,Qt,w=>l(3,n=w)),M(r,xn,w=>l(4,a=w));let{$$slots:o={},$$scope:s}=e,{noPinnedColumns:i=!1}=e,f,c=t,u=!1;const m=()=>(u=!0,!1),_=()=>{u=!1,le(Sl,t=c,t)},d=w=>{if(!u)return!1;const b=f.getBoundingClientRect();return l(2,c=w.x-b.x),!1};function $(w){me[w?"unshift":"push"](()=>{f=w,l(1,f)})}return r.$$set=w=>{"noPinnedColumns"in w&&l(0,i=w.noPinnedColumns),"$$scope"in w&&l(8,s=w.$$scope)},[i,f,c,n,a,m,_,d,s,o,$]}class xs extends se{constructor(e){super(),ae(this,e,Xs,Zs,ie,{noPinnedColumns:0})}}const ea=r=>({}),Ol=r=>({});function Nl(r){let e,l;return e=new qr({}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function ta(r){let e;const l=r[6].default,t=Ce(l,r,r[7],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,a){t&&t.m(n,a),e=!0},p(n,a){t&&t.p&&(!e||a&128)&&Se(t,l,n,n[7],e?Ae(l,n[7],a,null):We(n[7]),null)},i(n){e||(h(t,n),e=!0)},o(n){g(t,n),e=!1},d(n){t&&t.d(n)}}}function la(r){let e,l,t,n,a;return t=new Tt({props:{title:"No column headers are in view",$$slots:{default:[oa]},$$scope:{ctx:r}}}),{c(){e=A("tr"),l=A("td"),I(t.$$.fragment),this.h()},l(o){e=O(o,"TR",{});var s=N(e);l=O(s,"TD",{colspan:!0});var i=N(l);E(t.$$.fragment,i),i.forEach(p),s.forEach(p),this.h()},h(){T(l,"colspan",n=r[1].length+1)},m(o,s){v(o,e,s),S(e,l),D(t,l,null),a=!0},p(o,s){const i={};s&128&&(i.$$scope={dirty:s,ctx:o}),t.$set(i),(!a||s&2&&n!==(n=o[1].length+1))&&T(l,"colspan",n)},i(o){a||(h(t.$$.fragment,o),a=!0)},o(o){g(t.$$.fragment,o),a=!1},d(o){o&&p(e),C(t)}}}function na(r){let e,l,t,n,a;return t=new Tt({props:{title:"No Workflows Found",content:"If you have filters applied, try adjusting them. Otherwise please check your syntax and try again.",error:r[5]}}),{c(){e=A("tr"),l=A("td"),I(t.$$.fragment),this.h()},l(o){e=O(o,"TR",{});var s=N(e);l=O(s,"TD",{colspan:!0});var i=N(l);E(t.$$.fragment,i),i.forEach(p),s.forEach(p),this.h()},h(){T(l,"colspan",n=r[1].length+1)},m(o,s){v(o,e,s),S(e,l),D(t,l,null),a=!0},p(o,s){const i={};s&32&&(i.error=o[5]),t.$set(i),(!a||s&2&&n!==(n=o[1].length+1))&&T(l,"colspan",n)},i(o){a||(h(t.$$.fragment,o),a=!0)},o(o){g(t.$$.fragment,o),a=!1},d(o){o&&p(e),C(t)}}}function ra(r){let e,l,t,n,a;return t=new Rt({}),{c(){e=A("tr"),l=A("td"),I(t.$$.fragment),this.h()},l(o){e=O(o,"TR",{});var s=N(e);l=O(s,"TD",{colspan:!0});var i=N(l);E(t.$$.fragment,i),i.forEach(p),s.forEach(p),this.h()},h(){T(l,"colspan",n=r[1].length+1)},m(o,s){v(o,e,s),S(e,l),D(t,l,null),a=!0},p(o,s){(!a||s&2&&n!==(n=o[1].length+1))&&T(l,"colspan",n)},i(o){a||(h(t.$$.fragment,o),a=!0)},o(o){g(t.$$.fragment,o),a=!1},d(o){o&&p(e),C(t)}}}function oa(r){let e,l,t,n,a,o,s,i,f,c,u,m,_;return a=new we({props:{class:"inline",name:"vertical-ellipsis"}}),c=new we({props:{class:"inline",name:"add"}}),{c(){e=A("p"),l=U(`At least one column heading is required to display workflows. Click the `),t=A("span"),n=U("("),I(a.$$.fragment),o=U(")"),s=U(` in the top right corner of the Workflow List to reveal the Configure Workflow List panel. Click the diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-page.svelte.dddd00d3.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-page.svelte.dddd00d3.js deleted file mode 100644 index 7fd485df98..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-page.svelte.dddd00d3.js +++ /dev/null @@ -1,11 +0,0 @@ -import{S as se,b as ae,a as ie,m as A,c as L,p as O,q as N,k as p,d as R,u as T,f as v,M as S,z as X,g,h as x,j as h,L as M,N as it,w as U,x as q,U as oe,ac as Xe,A as me,Y as pe,C as I,D as E,E as D,Z as he,F as C,e as ne,a7 as Ne,a1 as yt,a2 as Vt,y as ue,n as H,o as vn,_ as le,ai as lr,G as Ce,H as Se,I as We,J as Ae,K as yn,$ as Gt,aa as Jt,al as nr,T as te,i as Tn,a9 as rr,r as tt,v as Zt,O as ut,R as Xt,W as nt,V as or,a5 as xt,P as gt,Q as Ze}from"../chunks/index.d29c66be.js";import{p as Be}from"../chunks/stores.b938c0e3.js";import{t as ze}from"../chunks/time-format.6ef667eb.js";import{b as $t,r as st,c as In,u as Pt,l as Mt,d as En,e as rt,A as at,g as sr,f as ar,h as Lt,a as ir,w as fr}from"../chunks/workflow-terminate-enabled.fbd7bba7.js";import{l as bt}from"../chunks/namespaces.52575875.js";import{E as Tt}from"../chunks/empty-state.bf113865.js";import{u as ot,P as Dn}from"../chunks/pagination.15ad2803.js";import{t as el,j as Cn,S as ur,W as cr,a as mr,b as _r,F as dr}from"../chunks/search.c15cabf9.js";import{I as we}from"../chunks/icon.5aa23970.js";import{r as It,t as pr,y as Et,s as dt,k as hr,l as gr,m as tl,n as $r,u as br,v as wr,w as kr,z as pt,A as wt,B as St,C as ll}from"../chunks/format-time.66fea38b.js";import{t as nl,s as mt,i as vr,a as yr}from"../chunks/list-workflow-query.c93ce807.js";import{S as Wt,a as xe}from"../chunks/simple-select.2e5f96b1.js";import{I as Ue}from"../chunks/input.0adb9ec6.js";import{a as Tr,e as Ir,d as Er,k as Dr,l as Cr}from"../chunks/has.8da86d13.js";import{L as Rt}from"../chunks/loading.9b5a6a67.js";import{P as Sr}from"../chunks/page-title.ba38eecf.js";import{d as ft,w as Ut}from"../chunks/index.255b7490.js";import{a as de,w as ye,p as Nt}from"../chunks/filters.a4cc47c7.js";import{c as Sn,i as Wr,w as Ar}from"../chunks/search-attributes.c866741f.js";import{f as Or,a as Nr,I as et}from"../chunks/tooltip.ca813c82.js";import{B as Bt}from"../chunks/button.e7112b29.js";import{t as fe,W as Wn}from"../chunks/workflow-status.ddd088c4.js";import{c as rl}from"../chunks/format-camel-case.960a78f9.js";import{c as Br}from"../chunks/outside-click.0db702a6.js";import{w as ol,a as Fr,b as sl}from"../chunks/calendar.81d1e381.js";import{T as Vr,a as al}from"../chunks/toggle-buttons.10f7f06f.js";import{M as il,a as An,b as On,c as je}from"../chunks/menu-item.be414f05.js";import{s as Nn}from"../chunks/parse-with-big-int.02af2f95.js";import{r as qt,a as Ht}from"../chunks/route-for-api.58c31c66.js";import{i as Bn}from"../chunks/version-check.d006b302.js";import{t as Fn}from"../chunks/versions.dfa21225.js";import{g as Pr,a as Mr}from"../chunks/auth-user.ead5c000.js";import{v as Vn,t as ht}from"../chunks/toaster.fda31b2d.js";import{M as Lr}from"../chunks/modal.765fc6dd.js";import{p as Pn}from"../chunks/persist-store.bb6871e4.js";import{D as Rr}from"../chunks/drawer.e151c6f1.js";import{s as Ur}from"../chunks/settings.a68ca666.js";import{P as qr}from"../chunks/table-header-row.a7bab5a4.js";import{D as Dt}from"../chunks/dropdown-menu.abe6e484.js";import{g as Hr}from"../chunks/navigation.9ceca11e.js";import{f as Mn}from"../chunks/route-for.b4518ba8.js";import{c as zr}from"../chunks/core-user.faf7a38e.js";import{B as jr}from"../chunks/badge.2c189bf4.js";import{f as Qe}from"../chunks/format-date.100c5f23.js";function zt(r,e){It(2,arguments);var l=pr(r).getTime(),t=Et(e);return new Date(l+t)}var Qr=36e5;function Kr(r,e){It(2,arguments);var l=Et(e);return zt(r,l*Qr)}var Yr=6e4;function Gr(r,e){It(2,arguments);var l=Et(e);return zt(r,l*Yr)}function Jr(r,e){It(2,arguments);var l=Et(e);return zt(r,l*1e3)}function fl(r,e,l){const t=r.slice();return t[16]=e[l][0],t[17]=e[l][1],t}function ul(r,e,l){const t=r.slice();return t[17]=e[l],t}function Zr(r){let e,l,t,n,a;return{c(){e=A("a"),l=U("Advanced Search"),this.h()},l(o){e=O(o,"A",{href:!0,class:!0});var s=N(e);l=q(s,"Advanced Search"),s.forEach(p),this.h()},h(){T(e,"href",t=r[2].url.pathname+"?searchType=advanced"),T(e,"class","text-blue-700")},m(o,s){v(o,e,s),S(e,l),n||(a=oe(e,"click",Xe(r[6]("advanced"))),n=!0)},p(o,s){s&4&&t!==(t=o[2].url.pathname+"?searchType=advanced")&&T(e,"href",t)},d(o){o&&p(e),n=!1,a()}}}function Xr(r){let e,l,t,n,a;return{c(){e=A("a"),l=U("Basic Search"),this.h()},l(o){e=O(o,"A",{href:!0,class:!0});var s=N(e);l=q(s,"Basic Search"),s.forEach(p),this.h()},h(){T(e,"href",t=r[2].url.pathname+"?searchType=basic"),T(e,"class","text-blue-700")},m(o,s){v(o,e,s),S(e,l),n||(a=oe(e,"click",Xe(r[6]("basic"))),n=!0)},p(o,s){s&4&&t!==(t=o[2].url.pathname+"?searchType=basic")&&T(e,"href",t)},d(o){o&&p(e),n=!1,a()}}}function xr(r){let e,l,t,n,a,o,s,i,f,c,u,m,_,d,$,w;function b(z){r[9](z)}let W={icon:"search",type:"search",id:"workflow-id-filter",placeholder:"Workflow ID"};r[3].workflowId!==void 0&&(W.value=r[3].workflowId),l=new Ue({props:W}),me.push(()=>pe(l,"value",b)),l.$on("input",r[8]);function k(z){r[10](z)}let y={icon:"search",type:"search",id:"workflow-type-filter",placeholder:"Workflow Type"};r[3].workflowType!==void 0&&(y.value=r[3].workflowType),a=new Ue({props:y}),me.push(()=>pe(a,"value",k)),a.$on("input",r[8]);function B(z){r[11](z)}let P={id:"time-range-filter",label:"Time Range",$$slots:{default:[ro]},$$scope:{ctx:r}};r[3].timeRange!==void 0&&(P.value=r[3].timeRange),i=new Wt({props:P}),me.push(()=>pe(i,"value",B)),i.$on("change",r[8]);function Z(z){r[12](z)}let V={id:"execution-status-filter",label:"Workflow Status",$$slots:{default:[so]},$$scope:{ctx:r}};r[3].executionStatus!==void 0&&(V.value=r[3].executionStatus),u=new Wt({props:V}),me.push(()=>pe(u,"value",Z)),u.$on("change",r[8]);function K(z){r[13](z)}let j={id:"filter-by-relative-time",label:"Time Format",$$slots:{default:[uo]},$$scope:{ctx:r}};return r[4]!==void 0&&(j.value=r[4]),d=new Wt({props:j}),me.push(()=>pe(d,"value",K)),{c(){e=A("div"),I(l.$$.fragment),n=L(),I(a.$$.fragment),s=L(),I(i.$$.fragment),c=L(),I(u.$$.fragment),_=L(),I(d.$$.fragment),this.h()},l(z){e=O(z,"DIV",{role:!0,class:!0});var F=N(e);E(l.$$.fragment,F),n=R(F),E(a.$$.fragment,F),s=R(F),E(i.$$.fragment,F),c=R(F),E(u.$$.fragment,F),_=R(F),E(d.$$.fragment,F),F.forEach(p),this.h()},h(){T(e,"role","search"),T(e,"class","grid grid-cols-1 gap-4 sm:grid-cols-2 md:grid-cols-5")},m(z,F){v(z,e,F),D(l,e,null),S(e,n),D(a,e,null),S(e,s),D(i,e,null),S(e,c),D(u,e,null),S(e,_),D(d,e,null),w=!0},p(z,F){const Y={};!t&&F&8&&(t=!0,Y.value=z[3].workflowId,he(()=>t=!1)),l.$set(Y);const ee={};!o&&F&8&&(o=!0,ee.value=z[3].workflowType,he(()=>o=!1)),a.$set(ee);const re={};F&4194312&&(re.$$scope={dirty:F,ctx:z}),!f&&F&8&&(f=!0,re.value=z[3].timeRange,he(()=>f=!1)),i.$set(re);const _e={};F&4194304&&(_e.$$scope={dirty:F,ctx:z}),!m&&F&8&&(m=!0,_e.value=z[3].executionStatus,he(()=>m=!1)),u.$set(_e);const ge={};F&4194304&&(ge.$$scope={dirty:F,ctx:z}),!$&&F&16&&($=!0,ge.value=z[4],he(()=>$=!1)),d.$set(ge)},i(z){w||(h(l.$$.fragment,z),h(a.$$.fragment,z),h(i.$$.fragment,z),h(u.$$.fragment,z),h(d.$$.fragment,z),w=!0)},o(z){g(l.$$.fragment,z),g(a.$$.fragment,z),g(i.$$.fragment,z),g(u.$$.fragment,z),g(d.$$.fragment,z),w=!1},d(z){z&&p(e),C(l),C(a),C(i),C(u),C(d)}}}function eo(r){let e,l;return e=new ur({props:{icon:!0,id:"advanced-search",placeholder:"Query…",value:r[1]}}),e.$on("submit",r[7]),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const a={};n&2&&(a.value=t[1]),e.$set(a)},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function to(r){let e;return{c(){e=U("All")},l(l){e=q(l,"All")},m(l,t){v(l,e,t)},d(l){l&&p(e)}}}function cl(r){let e,l;return e=new xe({props:{value:r[3].timeRange,$$slots:{default:[lo]},$$scope:{ctx:r}}}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const a={};n&8&&(a.value=t[3].timeRange),n&4194312&&(a.$$scope={dirty:n,ctx:t}),e.$set(a)},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function lo(r){let e=r[3].timeRange+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p(t,n){n&8&&e!==(e=t[3].timeRange+"")&&ue(l,e)},d(t){t&&p(l)}}}function no(r){let e=r[17]+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p:H,d(t){t&&p(l)}}}function ml(r){let e,l;return e=new xe({props:{value:r[17],$$slots:{default:[no]},$$scope:{ctx:r}}}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const a={};n&4194304&&(a.$$scope={dirty:n,ctx:t}),e.$set(a)},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function ro(r){let e,l,t=r[3].timeRange&&!dt.includes(r[3].timeRange),n,a,o;e=new xe({props:{value:null,$$slots:{default:[to]},$$scope:{ctx:r}}});let s=t&&cl(r),i=dt,f=[];for(let u=0;ug(f[u],1,1,()=>{f[u]=null});return{c(){I(e.$$.fragment),l=L(),s&&s.c(),n=L();for(let u=0;u{s=null}),x()),m&0){i=dt;let d;for(d=0;ds[16];for(let s=0;s{u[$]=null}),x(),a=u[n],a?a.p(_,d):(a=u[n]=c[n](_),a.c()),h(a,1),a.m(e,null))},i(_){o||(h(a),o=!0)},o(_){g(a),o=!1},d(_){_&&p(e),f.d(),u[n].d()}}}function mo(r,e,l){let t,n,a,o;M(r,Be,k=>l(2,a=k)),M(r,ze,k=>l(4,o=k));const s=it();let{searchType:i}=e;const f=nl({timeRange:"All"}),c={All:null,Running:"Running","Timed Out":"TimedOut",Completed:"Completed",Failed:"Failed","Continued as New":"ContinuedAsNew",Canceled:"Canceled",Terminated:"Terminated"},u=k=>()=>{l(0,i=k),ot({parameter:"search",value:i,url:a.url})},m=k=>{s("search");const y=new FormData(k.target);l(1,t=String(y.get("query"))),l(3,n=el(t)),ot({url:a.url,parameter:"query",value:t})},_=Cn(()=>{s("search"),l(1,t=nl(n)),ot({url:a.url,parameter:"query",value:t,allowEmpty:!0})},300);function d(k){r.$$.not_equal(n.workflowId,k)&&(n.workflowId=k,l(3,n),l(1,t),l(2,a))}function $(k){r.$$.not_equal(n.workflowType,k)&&(n.workflowType=k,l(3,n),l(1,t),l(2,a))}function w(k){r.$$.not_equal(n.timeRange,k)&&(n.timeRange=k,l(3,n),l(1,t),l(2,a))}function b(k){r.$$.not_equal(n.executionStatus,k)&&(n.executionStatus=k,l(3,n),l(1,t),l(2,a))}function W(k){o=k,ze.set(o)}return r.$$set=k=>{"searchType"in k&&l(0,i=k.searchType)},r.$$.update=()=>{r.$$.dirty&4&&l(1,t=a.url.searchParams.get("query")),r.$$.dirty&2&&l(3,n=el(t??f))},[i,t,a,n,o,c,u,m,_,d,$,w,b,W]}class _o extends se{constructor(e){super(),ae(this,e,mo,co,ie,{searchType:0})}}const po=r=>Tr(r)?r==="basic"||r==="advanced":!1,ho=r=>{const e=r.searchParams.get("search");return po(e)?e:(r.searchParams.set("search","basic"),"basic")};function dl(r,e,l){const t=r.slice();return t[14]=e[l],t}function pl(r){let e,l,t,n,a,o,s,i,f,c;const u=[$o,go],m=[];function _(b,W){return b[5]?0:1}t=_(r),n=m[t]=u[t](r);const d=[wo,bo],$=[];function w(b,W){return b[5]?0:1}return s=w(r),i=$[s]=d[s](r),{c(){e=A("tr"),l=A("td"),n.c(),a=L(),o=A("td"),i.c(),f=L(),this.h()},l(b){e=O(b,"TR",{});var W=N(e);l=O(W,"TD",{colspan:!0,class:!0});var k=N(l);n.l(k),k.forEach(p),a=R(W),o=O(W,"TD",{colspan:!0,class:!0});var y=N(o);i.l(y),y.forEach(p),f=R(W),W.forEach(p),this.h()},h(){T(l,"colspan","5"),T(l,"class","xl:hidden"),T(o,"colspan","7"),T(o,"class","hidden xl:table-cell")},m(b,W){v(b,e,W),S(e,l),m[t].m(l,null),S(e,a),S(e,o),$[s].m(o,null),S(e,f),c=!0},p(b,W){let k=t;t=_(b),t===k?m[t].p(b,W):(X(),g(m[k],1,1,()=>{m[k]=null}),x(),n=m[t],n?n.p(b,W):(n=m[t]=u[t](b),n.c()),h(n,1),n.m(l,null));let y=s;s=w(b),s===y?$[s].p(b,W):(X(),g($[y],1,1,()=>{$[y]=null}),x(),i=$[s],i?i.p(b,W):(i=$[s]=d[s](b),i.c()),h(i,1),i.m(o,null))},i(b){c||(h(n),h(i),c=!0)},o(b){g(n),g(i),c=!1},d(b){b&&p(e),m[t].d(),$[s].d()}}}function go(r){let e,l;return e=new Tt({props:{title:"No Workflows Found",content:r[7],error:r[6]}}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const a={};n&64&&(a.error=t[6]),e.$set(a)},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function $o(r){let e,l;return e=new Rt({}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:H,i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function bo(r){let e,l;return e=new Tt({props:{title:"No Workflows Found",content:r[7],error:r[6]}}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const a={};n&64&&(a.error=t[6]),e.$set(a)},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function wo(r){let e,l;return e=new Rt({}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:H,i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function hl(r){let e,l;return e=new mr({props:{workflow:r[14],namespace:r[1].params.namespace,timeFormat:r[4]}}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const a={};n&8192&&(a.workflow=t[14]),n&2&&(a.namespace=t[1].params.namespace),n&16&&(a.timeFormat=t[4]),e.$set(a)},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function ko(r){let e,l,t=r[13],n=[];for(let s=0;sg(n[s],1,1,()=>{n[s]=null});let o=null;return t.length||(o=pl(r)),{c(){for(let s=0;s{o=null}),x()):(o=pl(s),o.c(),h(o,1),o.m(e.parentNode,e))}},i(s){if(!l){for(let i=0;ipe($,"searchType",P)),W=new Dn({props:{items:r[2],"aria-label":"recent workflows",$$slots:{default:[vo,({visibleItems:V})=>({13:V}),({visibleItems:V})=>V?8192:0]},$$scope:{ctx:r}}}),{c(){e=A("header"),l=A("div"),t=A("h1"),n=U("Recent Workflows"),a=L(),o=A("div"),s=A("p"),f=U(i),c=L(),u=A("div"),m=A("button"),I(_.$$.fragment),d=L(),I($.$$.fragment),b=L(),I(W.$$.fragment),this.h()},l(V){e=O(V,"HEADER",{class:!0});var K=N(e);l=O(K,"DIV",{});var j=N(l);t=O(j,"H1",{class:!0,"data-testid":!0});var z=N(t);n=q(z,"Recent Workflows"),z.forEach(p),a=R(j),o=O(j,"DIV",{class:!0});var F=N(o);s=O(F,"P",{"data-testid":!0});var Y=N(s);f=q(Y,i),Y.forEach(p),F.forEach(p),j.forEach(p),c=R(K),u=O(K,"DIV",{});var ee=N(u);m=O(ee,"BUTTON",{"aria-label":!0,class:!0});var re=N(m);E(_.$$.fragment,re),re.forEach(p),ee.forEach(p),K.forEach(p),d=R(V),E($.$$.fragment,V),b=R(V),E(W.$$.fragment,V),this.h()},h(){T(t,"class","text-2xl"),T(t,"data-testid","namespace-title"),T(s,"data-testid","namespace-name"),T(o,"class","flex items-center gap-2 text-sm"),T(m,"aria-label","retry workflows"),T(m,"class","cursor-pointer rounded-full p-1 hover:bg-gray-900 hover:text-white"),T(e,"class","mb-2 flex justify-between")},m(V,K){v(V,e,K),S(e,l),S(l,t),S(t,n),S(l,a),S(l,o),S(o,s),S(s,f),S(e,c),S(e,u),S(u,m),D(_,m,null),v(V,d,K),D($,V,K),v(V,b,K),D(W,V,K),k=!0,y||(B=oe(m,"click",r[8]),y=!0)},p(V,[K]){(!k||K&2)&&i!==(i=V[1].params.namespace+"")&&ue(f,i);const j={};!w&&K&1&&(w=!0,j.searchType=V[0],he(()=>w=!1)),$.$set(j);const z={};K&4&&(z.items=V[2]),K&139386&&(z.$$scope={dirty:K,ctx:V}),W.$set(z)},i(V){k||(h(_.$$.fragment,V),h($.$$.fragment,V),h(W.$$.fragment,V),k=!0)},o(V){g(_.$$.fragment,V),g($.$$.fragment,V),g(W.$$.fragment,V),k=!1},d(V){V&&p(e),C(_),V&&p(d),C($,V),V&&p(b),C(W,V),y=!1,B()}}}function To(r,e,l){let t,n,a,o,s,i,f,c,u;M(r,Be,w=>l(1,t=w)),M(r,$t,w=>l(10,n=w)),M(r,st,w=>l(11,a=w)),M(r,bt,w=>l(12,o=w)),M(r,In,w=>l(2,s=w)),M(r,Pt,w=>l(3,i=w)),M(r,ze,w=>l(4,f=w)),M(r,Mt,w=>l(5,c=w)),M(r,En,w=>l(6,u=w));let m=ho(t.url);const _=m==="advanced"?"Please check your syntax and try again.":"If you have filters applied, try adjusting them.";vn(()=>{le(bt,o=t.params.namespace,o)});const d=()=>{le(st,a=Date.now(),a)};lr(()=>{le($t,n=t.url.searchParams.toString(),n)});function $(w){m=w,l(0,m)}return[m,t,s,i,f,c,u,_,d,$]}class Io extends se{constructor(e){super(),ae(this,e,To,yo,ie,{})}}const Eo=r=>({}),gl=r=>({});function Do(r){let e;const l=r[2].fallback,t=Ce(l,r,r[1],gl);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,a){t&&t.m(n,a),e=!0},p(n,a){t&&t.p&&(!e||a&2)&&Se(t,l,n,n[1],e?Ae(l,n[1],a,Eo):We(n[1]),gl)},i(n){e||(h(t,n),e=!0)},o(n){g(t,n),e=!1},d(n){t&&t.d(n)}}}function Co(r){let e;const l=r[2].default,t=Ce(l,r,r[1],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,a){t&&t.m(n,a),e=!0},p(n,a){t&&t.p&&(!e||a&2)&&Se(t,l,n,n[1],e?Ae(l,n[1],a,null):We(n[1]),null)},i(n){e||(h(t,n),e=!0)},o(n){g(t,n),e=!1},d(n){t&&t.d(n)}}}function So(r){let e,l,t,n;const a=[Co,Do],o=[];function s(i,f){return i[0]?0:1}return e=s(r),l=o[e]=a[e](r),{c(){l.c(),t=ne()},l(i){l.l(i),t=ne()},m(i,f){o[e].m(i,f),v(i,t,f),n=!0},p(i,[f]){let c=e;e=s(i),e===c?o[e].p(i,f):(X(),g(o[c],1,1,()=>{o[c]=null}),x(),l=o[e],l?l.p(i,f):(l=o[e]=a[e](i),l.c()),h(l,1),l.m(t.parentNode,t))},i(i){n||(h(l),n=!0)},o(i){g(l),n=!1},d(i){o[e].d(i),i&&p(t)}}}function Wo(r,e,l){let t;M(r,mt,o=>l(0,t=o));let{$$slots:n={},$$scope:a}=e;return r.$$set=o=>{"$$scope"in o&&l(1,a=o.$$scope)},[t,a,n]}class Ao extends se{constructor(e){super(),ae(this,e,Wo,So,ie,{})}}const Oo={workflowId:"WorkflowId",workflowType:"WorkflowType",timeRange:"StartTime",executionStatus:"ExecutionStatus",closeTime:"CloseTime",runId:"RunId"},No=r=>!(r===null||r===void 0||r===""||typeof r=="string"&&r==="undefined"),Bo=(r,e,l="=",t,n)=>{const a=Oo[r]??r;return e==="All"?"":n?`${a} ${e}`:hr(e)||gr(e)?t||yn(mt)?`${a} > "${tl(e)}"`:`${a} BETWEEN "${tl(e)}" AND "${$r()}"`:`${a}${l}"${e}"`},Fo=(r,e)=>r.map(({attribute:l,value:t,conditional:n,operator:a,parenthesis:o,customDate:s})=>{if(No(t)){let i=Bo(l,t,n,e,s);return o==="("?i=`(${i}`:o===")"&&(i=`${i})`),a&&(i=`${i} ${a} `),i}}).filter(Boolean),Vo=(r=[],e=[],l=!1)=>{const t=e.length?` order by ${e[0].attribute} ${e[0].value}`:"";return Fo(r,l).join("")+t},Po=r=>e=>e.toLowerCase()===r.toLowerCase(),$l=(r,e)=>r[e+2],Mo=(r,e)=>r[e-2],Lo=r=>{if(r){for(const e of kr)if(r[e])return{[e]:r[e]}}},Ro=Po("Datetime"),At=()=>({attribute:"",value:"",operator:"",parenthesis:"",conditional:""}),Uo={ExecutionStatus:"Keyword",StartTime:"Datetime",CloseTime:"Datetime",WorkflowId:"Keyword",WorkflowType:"Keyword",RunId:"Keyword"},Ln=(r,e=Uo)=>{const l=_r(r),t=[];let n=At();if(!r)return[];try{return l.forEach((a,o)=>{if(e[a])if(n.attribute=a,Ro(e[a])){const s=$l(l,o);try{const i=br(s),f=Lo(i);n.value=wr(f)}catch(i){console.error("Error parsing Datetime field from query",i)}}else n.value=$l(l,o);Ir(a)&&(n.conditional=a),Er(a)&&(n.parenthesis=a),Dr(a)&&!Cr(Mo(l,o))&&(n.operator=a,t.push(n),n=At()),o===l.length-1&&(t.push(n),n=At())}),t}catch(a){return console.error("Error setting filter parameters: ",a),[]}},qo=r=>{const e=r.filter(s=>s.attribute==="ExecutionStatus"&&s.value),l=r.filter(s=>s.attribute==="WorkflowId"&&s.value),t=r.filter(s=>s.attribute==="WorkflowType"&&s.value),n=r.filter(s=>s.attribute==="RunId"&&s.value),a=r.filter(s=>(s.attribute==="StartTime"||s.attribute==="CloseTime")&&s.value),o=[e,l,n,t,a].filter(s=>s.length);return o.forEach((s,i)=>{var f,c;s.length&&((f=o[i+1])!=null&&f.length)?s[s.length-1].operator="AND":s.length&&!((c=o[i+1])!=null&&c.length)&&(s[s.length-1].operator="")}),[...e,...l,...n,...t,...a]},Ke=Cn((r,e,l)=>{const t=qo(e),n=Vo(t,l);ot({url:r,parameter:"query",value:n,allowEmpty:!1})},300);function Ho(r){let e;return{c(){e=U("Search")},l(l){e=q(l,"Search")},m(l,t){v(l,e,t)},d(l){l&&p(e)}}}function zo(r){let e,l,t,n,a,o,s,i,f,c,u,m;function _($){r[5]($)}let d={id:"manual-search",type:"search",placeholder:fe("search-placeholder"),icon:"search",class:"w-3/4",clearable:!0,unroundRight:!0};return r[0]!==void 0&&(d.value=r[0]),n=new Ue({props:d}),me.push(()=>pe(n,"value",_)),n.$on("clear",r[2]),s=new Bt({props:{testId:"manual-search-button",variant:"primary",class:"h-10",unroundLeft:!0,type:"submit",$$slots:{default:[Ho]},$$scope:{ctx:r}}}),{c(){e=A("div"),l=A("div"),t=A("form"),I(n.$$.fragment),o=L(),I(s.$$.fragment),this.h()},l($){e=O($,"DIV",{class:!0});var w=N(e);l=O(w,"DIV",{class:!0});var b=N(l);t=O(b,"FORM",{class:!0,role:!0});var W=N(t);E(n.$$.fragment,W),o=R(W),E(s.$$.fragment,W),W.forEach(p),b.forEach(p),w.forEach(p),this.h()},h(){T(t,"class","relative flex h-12 w-full items-center gap-0"),T(t,"role","search"),T(l,"class","flex h-12 w-full items-center gap-0"),T(e,"class","flex-items-center flex grow gap-4")},m($,w){v($,e,w),S(e,l),S(l,t),D(n,t,null),S(t,o),D(s,t,null),c=!0,u||(m=oe(t,"submit",Xe(r[1])),u=!0)},p($,[w]){const b={};!a&&w&1&&(a=!0,b.value=$[0],he(()=>a=!1)),n.$set(b);const W={};w&2048&&(W.$$scope={dirty:w,ctx:$}),s.$set(W)},i($){c||(h(n.$$.fragment,$),h(s.$$.fragment,$),i||Gt(()=>{i=Jt(t,Or,{x:-100,duration:150}),i.start()}),f||Gt(()=>{f=Jt(l,Nr,{}),f.start()}),c=!0)},o($){g(n.$$.fragment,$),g(s.$$.fragment,$),c=!1},d($){$&&p(e),C(n),C(s),u=!1,m()}}}function jo(r,e,l){let t,n,a,o,s,i;M(r,Be,d=>l(4,n=d)),M(r,st,d=>l(6,a=d)),M(r,de,d=>l(7,o=d)),M(r,rt,d=>l(8,s=d)),M(r,ye,d=>l(9,i=d));let f="";function c(d){l(0,f=d)}const u=()=>{if(!f)le(de,o=[],o),le(ye,i=[],i),le(rt,s="",s);else try{le(de,o=Ln(f),o)}catch{}f&&f===t?le(st,a=Date.now(),a):ot({url:n.url,parameter:"query",value:f,allowEmpty:!0})};function m(){u()}function _(d){f=d,l(0,f)}return r.$$.update=()=>{r.$$.dirty&16&&l(3,t=n.url.searchParams.get("query")),r.$$.dirty&8&&c(t)},[f,u,m,t,n,_]}class Qo extends se{constructor(e){super(),ae(this,e,jo,zo,ie,{})}}function bl(r,e,l){const t=r.slice();return t[9]=e[l].allowed,t[10]=e[l].value,t[12]=l,t}function wl(r,e,l){const t=r.slice();return t[13]=e[l],t}function kl(r){let e,l=r[13].label.slice(0,2)+"",t;return{c(){e=A("p"),t=U(l),this.h()},l(n){e=O(n,"P",{class:!0});var a=N(e);t=q(a,l),a.forEach(p),this.h()},h(){T(e,"class","cell svelte-1we9vff")},m(n,a){v(n,e,a),S(e,t)},p:H,d(n){n&&p(e)}}}function vl(r,e){let l,t=(e[10]||"")+"",n,a,o,s;function i(){return e[6](e[10])}return{key:r,first:null,c(){l=A("button"),n=U(t),a=L(),this.h()},l(f){l=O(f,"BUTTON",{class:!0});var c=N(l);n=q(c,t),a=R(c),c.forEach(p),this.h()},h(){T(l,"class","cell svelte-1we9vff"),te(l,"highlight",e[9]&&e[10]),te(l,"disabled",!e[9]),te(l,"selected",new Date(e[0].getFullYear(),e[0].getMonth(),e[0].getDate()).getTime()===new Date(e[2],e[1],e[10]).getTime()),this.first=l},m(f,c){v(f,l,c),S(l,n),S(l,a),o||(s=oe(l,"click",function(){Tn(e[9]&&e[10]?i:H)&&(e[9]&&e[10]?i:H).apply(this,arguments)}),o=!0)},p(f,c){e=f,c&8&&t!==(t=(e[10]||"")+"")&&ue(n,t),c&8&&te(l,"highlight",e[9]&&e[10]),c&8&&te(l,"disabled",!e[9]),c&15&&te(l,"selected",new Date(e[0].getFullYear(),e[0].getMonth(),e[0].getDate()).getTime()===new Date(e[2],e[1],e[10]).getTime())},d(f){f&&p(l),o=!1,s()}}}function Ko(r){let e,l,t,n,a=[],o=new Map,s=ol,i=[];for(let u=0;uu[12];for(let u=0;u!0}=e,i=[];const f=m=>{t("datechange",new Date(o,a,m))},c=(m,_,d)=>d?s(new Date(m,_,d)):!0,u=m=>f(m);return r.$$set=m=>{"date"in m&&l(0,n=m.date),"month"in m&&l(1,a=m.month),"year"in m&&l(2,o=m.year),"isAllowed"in m&&l(5,s=m.isAllowed)},r.$$.update=()=>{r.$$.dirty&6&&l(3,i=Fr(a,o).map(m=>({value:m,allowed:c(o,a,m)})))},[n,a,o,i,f,s,u]}class Go extends se{constructor(e){super(),ae(this,e,Yo,Ko,ie,{date:0,month:1,year:2,isAllowed:5})}}function yl(r){var F;let e,l,t,n,a,o,s,i=(((F=sl(r[2]))==null?void 0:F.label)??"")+"",f,c,u,m,_,d,$,w,b,W,k,y,B,P,Z,V,K,j,z;return a=new we({props:{name:"chevron-left"}}),$=new we({props:{name:"chevron-right"}}),b=new Go({props:{month:r[2],year:r[3],date:r[0],isAllowed:r[1]}}),b.$on("datechange",r[9]),{c(){e=A("div"),l=A("div"),t=A("div"),n=A("button"),I(a.$$.fragment),o=L(),s=A("div"),f=U(i),c=L(),u=U(r[3]),m=L(),_=A("div"),d=A("button"),I($.$$.fragment),w=L(),I(b.$$.fragment),W=L(),k=A("div"),y=A("button"),B=U("Today"),P=L(),Z=A("button"),V=U("Close"),this.h()},l(Y){e=O(Y,"DIV",{class:!0});var ee=N(e);l=O(ee,"DIV",{class:!0});var re=N(l);t=O(re,"DIV",{class:!0});var _e=N(t);n=O(_e,"BUTTON",{});var ge=N(n);E(a.$$.fragment,ge),ge.forEach(p),_e.forEach(p),o=R(re),s=O(re,"DIV",{class:!0});var ke=N(s);f=q(ke,i),c=R(ke),u=q(ke,r[3]),ke.forEach(p),m=R(re),_=O(re,"DIV",{class:!0});var Fe=N(_);d=O(Fe,"BUTTON",{});var Ie=N(d);E($.$$.fragment,Ie),Ie.forEach(p),Fe.forEach(p),re.forEach(p),w=R(ee),E(b.$$.fragment,ee),W=R(ee),k=O(ee,"DIV",{class:!0});var J=N(k);y=O(J,"BUTTON",{class:!0});var be=N(y);B=q(be,"Today"),be.forEach(p),P=R(J),Z=O(J,"BUTTON",{class:!0});var Ee=N(Z);V=q(Ee,"Close"),Ee.forEach(p),J.forEach(p),ee.forEach(p),this.h()},h(){T(t,"class","flex items-center justify-center"),T(s,"class","flex items-center justify-center"),T(_,"class","flex items-center justify-center"),T(l,"class","mx-3 my-2 flex items-center justify-around"),T(y,"class","cursor-pointer text-[12px]"),T(Z,"class","cursor-pointer text-[12px]"),T(k,"class","my-1 flex justify-between px-2"),T(e,"class","absolute top-12 z-50 inline-block rounded border border-gray-900 bg-white shadow")},m(Y,ee){v(Y,e,ee),S(e,l),S(l,t),S(t,n),D(a,n,null),S(l,o),S(l,s),S(s,f),S(s,c),S(s,u),S(l,m),S(l,_),S(_,d),D($,d,null),S(e,w),D(b,e,null),S(e,W),S(e,k),S(k,y),S(y,B),S(k,P),S(k,Z),S(Z,V),K=!0,j||(z=[oe(n,"click",r[8]),oe(d,"click",r[7]),oe(y,"click",r[10]),oe(Z,"click",r[11])],j=!0)},p(Y,ee){var _e;(!K||ee&4)&&i!==(i=(((_e=sl(Y[2]))==null?void 0:_e.label)??"")+"")&&ue(f,i),(!K||ee&8)&&ue(u,Y[3]);const re={};ee&4&&(re.month=Y[2]),ee&8&&(re.year=Y[3]),ee&1&&(re.date=Y[0]),ee&2&&(re.isAllowed=Y[1]),b.$set(re)},i(Y){K||(h(a.$$.fragment,Y),h($.$$.fragment,Y),h(b.$$.fragment,Y),K=!0)},o(Y){g(a.$$.fragment,Y),g($.$$.fragment,Y),g(b.$$.fragment,Y),K=!1},d(Y){Y&&p(e),C(a),C($),C(b),j=!1,tt(z)}}}function Jo(r){let e,l,t,n,a,o;l=new Ue({props:{id:"datepicker",icon:"calendar-plus",type:"text",placeholder:"MM/DD/YY",value:r[0].toDateString(),clearable:!0}}),l.$on("focus",r[5]),l.$on("input",r[6]);let s=r[4]&&yl(r);return{c(){e=A("div"),I(l.$$.fragment),t=L(),s&&s.c(),this.h()},l(i){e=O(i,"DIV",{class:!0});var f=N(e);E(l.$$.fragment,f),t=R(f),s&&s.l(f),f.forEach(p),this.h()},h(){T(e,"class","relative")},m(i,f){v(i,e,f),D(l,e,null),S(e,t),s&&s.m(e,null),n=!0,a||(o=[rr(Br.call(null,e)),oe(e,"click-outside",r[12])],a=!0)},p(i,[f]){const c={};f&1&&(c.value=i[0].toDateString()),l.$set(c),i[4]?s?(s.p(i,f),f&16&&h(s,1)):(s=yl(i),s.c(),h(s,1),s.m(e,null)):s&&(X(),g(s,1,1,()=>{s=null}),x())},i(i){n||(h(l.$$.fragment,i),h(s),n=!0)},o(i){g(l.$$.fragment,i),g(s),n=!1},d(i){i&&p(e),C(l),s&&s.d(),a=!1,tt(o)}}}function Zo(r,e,l){const t=it();let{isAllowed:n=()=>!0}=e,{selected:a=new Date}=e,o,s,i=!1;const f=()=>{l(4,i=!0)},c=b=>{const k=b.target.value;if(k.length===8){const y=k==null?void 0:k.split("/"),P=2e3+parseInt(y[2]),Z=parseInt(y[0])-1,V=parseInt(y[1]),K=new Date(P,Z,V);t("datechange",K)}},u=()=>{if(o===11){l(2,o=0),l(3,s=s+1);return}l(2,o=o+1)},m=()=>{if(o===0){l(2,o=11),l(3,s-=1);return}l(2,o-=1)},_=b=>{l(4,i=!1),t("datechange",b.detail)},d=()=>l(0,a=new Date),$=()=>l(4,i=!1),w=()=>l(4,i=!1);return r.$$set=b=>{"isAllowed"in b&&l(1,n=b.isAllowed),"selected"in b&&l(0,a=b.selected)},r.$$.update=()=>{r.$$.dirty&1&&(l(2,o=a.getMonth()),l(3,s=a.getFullYear()))},[a,n,o,s,i,f,c,u,m,_,d,$,w]}class Tl extends se{constructor(e){super(),ae(this,e,Zo,Jo,ie,{isAllowed:1,selected:0})}}function Xo(r){let e;return{c(){e=U("AM")},l(l){e=q(l,"AM")},m(l,t){v(l,e,t)},d(l){l&&p(e)}}}function xo(r){let e;return{c(){e=U("PM")},l(l){e=q(l,"PM")},m(l,t){v(l,e,t)},d(l){l&&p(e)}}}function es(r){let e,l,t,n;return e=new al({props:{active:r[3]==="AM",$$slots:{default:[Xo]},$$scope:{ctx:r}}}),e.$on("click",r[7]),t=new al({props:{active:r[3]==="PM",$$slots:{default:[xo]},$$scope:{ctx:r}}}),t.$on("click",r[8]),{c(){I(e.$$.fragment),l=L(),I(t.$$.fragment)},l(a){E(e.$$.fragment,a),l=R(a),E(t.$$.fragment,a)},m(a,o){D(e,a,o),v(a,l,o),D(t,a,o),n=!0},p(a,o){const s={};o&8&&(s.active=a[3]==="AM"),o&512&&(s.$$scope={dirty:o,ctx:a}),e.$set(s);const i={};o&8&&(i.active=a[3]==="PM"),o&512&&(i.$$scope={dirty:o,ctx:a}),t.$set(i)},i(a){n||(h(e.$$.fragment,a),h(t.$$.fragment,a),n=!0)},o(a){g(e.$$.fragment,a),g(t.$$.fragment,a),n=!1},d(a){C(e,a),a&&p(l),C(t,a)}}}function ts(r){let e,l,t,n,a,o,s,i,f,c,u,m;function _(k){r[4](k)}let d={id:"hour",placeholder:"00",suffix:"hrs",maxLength:2,error:Boolean(parseInt(r[0])>12)};r[0]!==void 0&&(d.value=r[0]),l=new Ue({props:d}),me.push(()=>pe(l,"value",_));function $(k){r[5](k)}let w={id:"minute",required:!0,placeholder:"00",suffix:"min",maxLength:2,error:Boolean(parseInt(r[0])>59)};r[1]!==void 0&&(w.value=r[1]),a=new Ue({props:w}),me.push(()=>pe(a,"value",$));function b(k){r[6](k)}let W={id:"second",placeholder:"00",suffix:"sec",maxLength:2,error:Boolean(parseInt(r[0])>59)};return r[2]!==void 0&&(W.value=r[2]),i=new Ue({props:W}),me.push(()=>pe(i,"value",b)),u=new Vr({props:{$$slots:{default:[es]},$$scope:{ctx:r}}}),{c(){e=A("div"),I(l.$$.fragment),n=L(),I(a.$$.fragment),s=L(),I(i.$$.fragment),c=L(),I(u.$$.fragment),this.h()},l(k){e=O(k,"DIV",{class:!0});var y=N(e);E(l.$$.fragment,y),n=R(y),E(a.$$.fragment,y),s=R(y),E(i.$$.fragment,y),c=R(y),E(u.$$.fragment,y),y.forEach(p),this.h()},h(){T(e,"class","flex gap-2")},m(k,y){v(k,e,y),D(l,e,null),S(e,n),D(a,e,null),S(e,s),D(i,e,null),S(e,c),D(u,e,null),m=!0},p(k,[y]){const B={};y&1&&(B.error=Boolean(parseInt(k[0])>12)),!t&&y&1&&(t=!0,B.value=k[0],he(()=>t=!1)),l.$set(B);const P={};y&1&&(P.error=Boolean(parseInt(k[0])>59)),!o&&y&2&&(o=!0,P.value=k[1],he(()=>o=!1)),a.$set(P);const Z={};y&1&&(Z.error=Boolean(parseInt(k[0])>59)),!f&&y&4&&(f=!0,Z.value=k[2],he(()=>f=!1)),i.$set(Z);const V={};y&520&&(V.$$scope={dirty:y,ctx:k}),u.$set(V)},i(k){m||(h(l.$$.fragment,k),h(a.$$.fragment,k),h(i.$$.fragment,k),h(u.$$.fragment,k),m=!0)},o(k){g(l.$$.fragment,k),g(a.$$.fragment,k),g(i.$$.fragment,k),g(u.$$.fragment,k),m=!1},d(k){k&&p(e),C(l),C(a),C(i),C(u)}}}function ls(r,e,l){let{hour:t=""}=e,{minute:n=""}=e,{second:a=""}=e,{half:o="AM"}=e;function s(m){t=m,l(0,t)}function i(m){n=m,l(1,n)}function f(m){a=m,l(2,a)}const c=()=>l(3,o="AM"),u=()=>l(3,o="PM");return r.$$set=m=>{"hour"in m&&l(0,t=m.hour),"minute"in m&&l(1,n=m.minute),"second"in m&&l(2,a=m.second),"half"in m&&l(3,o=m.half)},[t,n,a,o,s,i,f,c,u]}class Il extends se{constructor(e){super(),ae(this,e,ls,ts,ie,{hour:0,minute:1,second:2,half:3})}}function El(r,e,l){const t=r.slice();return t[47]=e[l],t}function ns(r){let e;return{c(){e=U(r[1])},l(l){e=q(l,r[1])},m(l,t){v(l,e,t)},p(l,t){t[0]&2&&ue(e,l[1])},d(l){l&&p(e)}}}function rs(r){let e,l,t,n,a,o,s,i,f,c,u,m,_,d,$,w;n=new je({props:{$$slots:{default:[ss]},$$scope:{ctx:r}}}),n.$on("click",r[31]),s=new je({props:{$$slots:{default:[as]},$$scope:{ctx:r}}}),s.$on("click",r[32]);let b=wt,W=[];for(let y=0;yg(W[y],1,1,()=>{W[y]=null});return m=new je({props:{selected:r[2]==="StartTime",$$slots:{default:[fs]},$$scope:{ctx:r}}}),m.$on("click",r[34]),$=new je({props:{selected:r[2]==="CloseTime",$$slots:{default:[us]},$$scope:{ctx:r}}}),$.$on("click",r[35]),{c(){e=A("div"),l=A("div"),t=A("div"),I(n.$$.fragment),a=L(),o=A("div"),I(s.$$.fragment),i=L();for(let y=0;ype(i,"hour",_e)),me.push(()=>pe(i,"minute",ge)),me.push(()=>pe(i,"second",ke)),me.push(()=>pe(i,"half",Fe)),k=new Tl({props:{selected:r[4]}}),k.$on("datechange",r[17]);function J(Q){r[26](Q)}function be(Q){r[27](Q)}function Ee(Q){r[28](Q)}function $e(Q){r[29](Q)}let Ge={};return r[9]!==void 0&&(Ge.hour=r[9]),r[10]!==void 0&&(Ge.minute=r[10]),r[11]!==void 0&&(Ge.second=r[11]),r[12]!==void 0&&(Ge.half=r[12]),B=new Il({props:Ge}),me.push(()=>pe(B,"hour",J)),me.push(()=>pe(B,"minute",be)),me.push(()=>pe(B,"second",Ee)),me.push(()=>pe(B,"half",$e)),F=new Bt({props:{$$slots:{default:[cs]},$$scope:{ctx:r}}}),F.$on("click",r[18]),ee=new Bt({props:{variant:"secondary",$$slots:{default:[ms]},$$scope:{ctx:r}}}),ee.$on("click",r[30]),{c(){e=A("div"),l=A("p"),t=U("Start"),n=L(),a=A("div"),I(o.$$.fragment),s=L(),I(i.$$.fragment),_=L(),d=A("div"),$=A("p"),w=U("End"),b=L(),W=A("div"),I(k.$$.fragment),y=L(),I(B.$$.fragment),j=L(),z=A("div"),I(F.$$.fragment),Y=L(),I(ee.$$.fragment),this.h()},l(Q){e=O(Q,"DIV",{class:!0});var ce=N(e);l=O(ce,"P",{class:!0});var Je=N(l);t=q(Je,"Start"),Je.forEach(p),n=R(ce),a=O(ce,"DIV",{class:!0});var De=N(a);E(o.$$.fragment,De),s=R(De),E(i.$$.fragment,De),De.forEach(p),ce.forEach(p),_=R(Q),d=O(Q,"DIV",{class:!0});var Pe=N(d);$=O(Pe,"P",{class:!0});var Ve=N($);w=q(Ve,"End"),Ve.forEach(p),b=R(Pe),W=O(Pe,"DIV",{class:!0});var Me=N(W);E(k.$$.fragment,Me),y=R(Me),E(B.$$.fragment,Me),Me.forEach(p),Pe.forEach(p),j=R(Q),z=O(Q,"DIV",{class:!0});var Le=N(z);E(F.$$.fragment,Le),Y=R(Le),E(ee.$$.fragment,Le),Le.forEach(p),this.h()},h(){T(l,"class","text-sm"),T(a,"class","flex flex-col gap-2"),T(e,"class","flex flex-col"),T($,"class","text-sm"),T(W,"class","flex flex-col gap-2"),T(d,"class","flex flex-col"),T(z,"class","flex gap-2")},m(Q,ce){v(Q,e,ce),S(e,l),S(l,t),S(e,n),S(e,a),D(o,a,null),S(a,s),D(i,a,null),v(Q,_,ce),v(Q,d,ce),S(d,$),S($,w),S(d,b),S(d,W),D(k,W,null),S(W,y),D(B,W,null),v(Q,j,ce),v(Q,z,ce),D(F,z,null),S(z,Y),D(ee,z,null),re=!0},p(Q,ce){const Je={};ce[0]&8&&(Je.selected=Q[3]),o.$set(Je);const De={};!f&&ce[0]&32&&(f=!0,De.hour=Q[5],he(()=>f=!1)),!c&&ce[0]&64&&(c=!0,De.minute=Q[6],he(()=>c=!1)),!u&&ce[0]&128&&(u=!0,De.second=Q[7],he(()=>u=!1)),!m&&ce[0]&256&&(m=!0,De.half=Q[8],he(()=>m=!1)),i.$set(De);const Pe={};ce[0]&16&&(Pe.selected=Q[4]),k.$set(Pe);const Ve={};!P&&ce[0]&512&&(P=!0,Ve.hour=Q[9],he(()=>P=!1)),!Z&&ce[0]&1024&&(Z=!0,Ve.minute=Q[10],he(()=>Z=!1)),!V&&ce[0]&2048&&(V=!0,Ve.second=Q[11],he(()=>V=!1)),!K&&ce[0]&4096&&(K=!0,Ve.half=Q[12],he(()=>K=!1)),B.$set(Ve);const Me={};ce[1]&524288&&(Me.$$scope={dirty:ce,ctx:Q}),F.$set(Me);const Le={};ce[1]&524288&&(Le.$$scope={dirty:ce,ctx:Q}),ee.$set(Le)},i(Q){re||(h(o.$$.fragment,Q),h(i.$$.fragment,Q),h(k.$$.fragment,Q),h(B.$$.fragment,Q),h(F.$$.fragment,Q),h(ee.$$.fragment,Q),re=!0)},o(Q){g(o.$$.fragment,Q),g(i.$$.fragment,Q),g(k.$$.fragment,Q),g(B.$$.fragment,Q),g(F.$$.fragment,Q),g(ee.$$.fragment,Q),re=!1},d(Q){Q&&p(e),C(o),C(i),Q&&p(_),Q&&p(d),C(k),C(B),Q&&p(j),Q&&p(z),C(F),C(ee)}}}function ss(r){let e=fe("all-time")+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p:H,d(t){t&&p(l)}}}function as(r){let e=fe("custom")+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p:H,d(t){t&&p(l)}}}function is(r){let e=r[47]+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p:H,d(t){t&&p(l)}}}function Dl(r){let e,l,t;function n(){return r[33](r[47])}return l=new je({props:{$$slots:{default:[is]},$$scope:{ctx:r}}}),l.$on("click",n),{c(){e=A("div"),I(l.$$.fragment),this.h()},l(a){e=O(a,"DIV",{class:!0});var o=N(e);E(l.$$.fragment,o),o.forEach(p),this.h()},h(){T(e,"class","flex w-1/2 flex-col justify-center")},m(a,o){v(a,e,o),D(l,e,null),t=!0},p(a,o){r=a;const s={};o[1]&524288&&(s.$$scope={dirty:o,ctx:r}),l.$set(s)},i(a){t||(h(l.$$.fragment,a),t=!0)},o(a){g(l.$$.fragment,a),t=!1},d(a){a&&p(e),C(l)}}}function fs(r){let e=fe("start-time")+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p:H,d(t){t&&p(l)}}}function us(r){let e=fe("end-time")+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p:H,d(t){t&&p(l)}}}function cs(r){let e=fe("apply")+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p:H,d(t){t&&p(l)}}}function ms(r){let e=fe("cancel")+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p:H,d(t){t&&p(l)}}}function _s(r){let e,l,t,n;const a=[os,rs],o=[];function s(i,f){return i[0]?0:1}return e=s(r),l=o[e]=a[e](r),{c(){l.c(),t=ne()},l(i){l.l(i),t=ne()},m(i,f){o[e].m(i,f),v(i,t,f),n=!0},p(i,f){let c=e;e=s(i),e===c?o[e].p(i,f):(X(),g(o[c],1,1,()=>{o[c]=null}),x(),l=o[e],l?l.p(i,f):(l=o[e]=a[e](i),l.c()),h(l,1),l.m(t.parentNode,t))},i(i){n||(h(l),n=!0)},o(i){g(l),n=!1},d(i){o[e].d(i),i&&p(t)}}}function ds(r){let e,l,t,n;return e=new An({props:{id:"time-range-filter",hasIndicator:!0,controls:"time-range-filter-menu",class:"flex flex-row items-center p-2 bg-white border border-r-0 border-primary rounded-l h-10 w-44",$$slots:{default:[ns]},$$scope:{ctx:r}}}),t=new On({props:{keepOpen:!0,id:"time-range-filter-menu",class:"flex rounded h-auto w-[400px] flex-col gap-8 bg-white p-2",$$slots:{default:[_s]},$$scope:{ctx:r}}}),{c(){I(e.$$.fragment),l=L(),I(t.$$.fragment)},l(a){E(e.$$.fragment,a),l=R(a),E(t.$$.fragment,a)},m(a,o){D(e,a,o),v(a,l,o),D(t,a,o),n=!0},p(a,o){const s={};o[0]&2|o[1]&524288&&(s.$$scope={dirty:o,ctx:a}),e.$set(s);const i={};o[0]&8189|o[1]&524288&&(i.$$scope={dirty:o,ctx:a}),t.$set(i)},i(a){n||(h(e.$$.fragment,a),h(t.$$.fragment,a),n=!0)},o(a){g(e.$$.fragment,a),g(t.$$.fragment,a),n=!1},d(a){C(e,a),a&&p(l),C(t,a)}}}function ps(r){let e=rl(r[13])+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p(t,n){n[0]&8192&&e!==(e=rl(t[13])+"")&&ue(l,e)},d(t){t&&p(l)}}}function hs(r){let e=fe("relative")+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p:H,d(t){t&&p(l)}}}function gs(r){let e=fe("utc")+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p:H,d(t){t&&p(l)}}}function $s(r){let e=fe("local")+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p:H,d(t){t&&p(l)}}}function bs(r){let e,l,t,n,a,o;return e=new je({props:{$$slots:{default:[hs]},$$scope:{ctx:r}}}),e.$on("click",r[36]),t=new je({props:{$$slots:{default:[gs]},$$scope:{ctx:r}}}),t.$on("click",r[37]),a=new je({props:{$$slots:{default:[$s]},$$scope:{ctx:r}}}),a.$on("click",r[38]),{c(){I(e.$$.fragment),l=L(),I(t.$$.fragment),n=L(),I(a.$$.fragment)},l(s){E(e.$$.fragment,s),l=R(s),E(t.$$.fragment,s),n=R(s),E(a.$$.fragment,s)},m(s,i){D(e,s,i),v(s,l,i),D(t,s,i),v(s,n,i),D(a,s,i),o=!0},p(s,i){const f={};i[1]&524288&&(f.$$scope={dirty:i,ctx:s}),e.$set(f);const c={};i[1]&524288&&(c.$$scope={dirty:i,ctx:s}),t.$set(c);const u={};i[1]&524288&&(u.$$scope={dirty:i,ctx:s}),a.$set(u)},i(s){o||(h(e.$$.fragment,s),h(t.$$.fragment,s),h(a.$$.fragment,s),o=!0)},o(s){g(e.$$.fragment,s),g(t.$$.fragment,s),g(a.$$.fragment,s),o=!1},d(s){C(e,s),s&&p(l),C(t,s),s&&p(n),C(a,s)}}}function ws(r){let e,l,t,n;return e=new An({props:{class:"p-2 bg-white border border-primary rounded-r h-10 w-32",id:"datetime-filter",controls:"datetime-filter-menu",hasIndicator:!0,icon:"clock",$$slots:{default:[ps]},$$scope:{ctx:r}}}),t=new On({props:{id:"datetime-filter-menu",$$slots:{default:[bs]},$$scope:{ctx:r}}}),{c(){I(e.$$.fragment),l=L(),I(t.$$.fragment)},l(a){E(e.$$.fragment,a),l=R(a),E(t.$$.fragment,a)},m(a,o){D(e,a,o),v(a,l,o),D(t,a,o),n=!0},p(a,o){const s={};o[0]&8192|o[1]&524288&&(s.$$scope={dirty:o,ctx:a}),e.$set(s);const i={};o[0]&8192|o[1]&524288&&(i.$$scope={dirty:o,ctx:a}),t.$set(i)},i(a){n||(h(e.$$.fragment,a),h(t.$$.fragment,a),n=!0)},o(a){g(e.$$.fragment,a),g(t.$$.fragment,a),n=!1},d(a){C(e,a),a&&p(l),C(t,a)}}}function ks(r){let e,l,t,n,a;return l=new il({props:{$$slots:{default:[ds]},$$scope:{ctx:r}}}),n=new il({props:{$$slots:{default:[ws]},$$scope:{ctx:r}}}),{c(){e=A("div"),I(l.$$.fragment),t=L(),I(n.$$.fragment),this.h()},l(o){e=O(o,"DIV",{class:!0});var s=N(e);E(l.$$.fragment,s),t=R(s),E(n.$$.fragment,s),s.forEach(p),this.h()},h(){T(e,"class","flex items-center")},m(o,s){v(o,e,s),D(l,e,null),S(e,t),D(n,e,null),a=!0},p(o,s){const i={};s[0]&8191|s[1]&524288&&(i.$$scope={dirty:s,ctx:o}),l.$set(i);const f={};s[0]&8192|s[1]&524288&&(f.$$scope={dirty:s,ctx:o}),n.$set(f)},i(o){a||(h(l.$$.fragment,o),h(n.$$.fragment,o),a=!0)},o(o){g(l.$$.fragment,o),g(n.$$.fragment,o),a=!1},d(o){o&&p(e),C(l),C(n)}}}function vs(r,e,l){let t,n,a,o,s,i,f,c;M(r,ye,G=>l(40,a=G)),M(r,de,G=>l(20,o=G)),M(r,Be,G=>l(41,s=G)),M(r,Nt,G=>l(42,i=G)),M(r,mt,G=>l(21,f=G)),M(r,ze,G=>l(13,c=G));let u=!1,m="All Time",_="StartTime",d=pt(new Date),$=pt(new Date),w="",b="",W="",k="AM",y="",B="",P="",Z="AM";const V=()=>{t?(l(1,m=u||!wt.includes(t==null?void 0:t.value)?"Custom":t.value),l(2,_=t.attribute)):(l(1,m="All Time"),l(2,_="StartTime")),(!t||wt.includes(t==null?void 0:t.value)||(t==null?void 0:t.customDate))&&le(Nt,i=t,i)},K=()=>o.filter(G=>G.attribute!=="StartTime"&&G.attribute!=="CloseTime"),j=G=>{if(l(1,m=G),m==="All Time")le(de,o=[...K()],o),l(0,u=!1);else if(m==="Custom")l(0,u=!0);else{const ve={attribute:_,value:m,conditional:">",operator:"",parenthesis:""};le(de,o=[...K(),ve],o),l(0,u=!1)}Ke(s.url,o,a)},z=G=>{G!==_&&(l(2,_=G),j(m))},F=G=>{l(3,d=pt(G.detail))},Y=G=>{l(4,$=pt(G.detail))},ee=(G,ve)=>{let Re=new Date(G);return ve.hour&&(Re=Kr(Re,parseInt(ve.hour))),ve.minute&&(Re=Gr(Re,parseInt(ve.minute))),ve.second&&(Re=Jr(Re,parseInt(ve.second))),Re},re=(G,ve)=>{if(G)return G==="12"?ve==="AM"?"00":"12":ve==="PM"?(parseInt(G)+12).toString():G;G=""},_e=()=>{let G=ee(d,{hour:re(w,k),minute:b,second:W}),ve=ee($,{hour:re(y,Z),minute:B,second:P});const Re=n?`BETWEEN "${St(G)}" AND "${St(ve)}"`:`> "${St(G)}"`,tr={attribute:_,value:Re,conditional:"=",operator:"",parenthesis:"",customDate:!0};le(de,o=[...K(),tr],o),Ke(s.url,o,a)};function ge(G){w=G,l(5,w)}function ke(G){b=G,l(6,b)}function Fe(G){W=G,l(7,W)}function Ie(G){k=G,l(8,k)}function J(G){y=G,l(9,y)}function be(G){B=G,l(10,B)}function Ee(G){P=G,l(11,P)}function $e(G){Z=G,l(12,Z)}const Ge=()=>l(0,u=!1),Q=()=>j("All Time"),ce=()=>j("Custom"),Je=G=>j(G),De=()=>z("StartTime"),Pe=()=>z("CloseTime"),Ve=()=>le(ze,c="relative",c),Me=()=>le(ze,c="UTC",c),Le=()=>le(ze,c="local",c);return r.$$.update=()=>{r.$$.dirty[0]&1048576&&l(19,t=o.find(G=>G.attribute==="StartTime"||G.attribute==="CloseTime")),r.$$.dirty[0]&2097153&&(n=u||!f),r.$$.dirty[0]&524288&&V()},[u,m,_,d,$,w,b,W,k,y,B,P,Z,c,j,z,F,Y,_e,t,o,f,ge,ke,Fe,Ie,J,be,Ee,$e,Ge,Q,ce,Je,De,Pe,Ve,Me,Le]}class ys extends se{constructor(e){super(),ae(this,e,vs,ks,ie,{},null,[-1,-1])}}const Ts=r=>r.map(l=>l.runId).reduce((l,t,n,a)=>(l+=`RunId="${t}"`,n!==a.length-1&&(l+=" OR "),l),""),Is=({id:r,runId:e})=>({workflowId:r,runId:e}),Rn=({namespace:r,reason:e,workflows:l})=>{const t={namespace:r,reason:e};return Bn(yn(Fn),"1.19")?{...t,executions:l.map(Is)}:{...t,query:Ts(l)}};async function Es(r){const e=Rn(r),l=await qn(e);return jt({namespace:e.namespace,jobId:l})}function Ds({namespace:r,query:e,reason:l}){return qn({namespace:r,query:e,reason:l})}async function Cs(r){const e=Rn(r),l=await Un(e);return jt({namespace:e.namespace,jobId:l})}function Ss({namespace:r,query:e,reason:l}){return Un({namespace:r,query:e,reason:l})}async function Un({namespace:r,query:e,executions:l,reason:t}){const n=qt("batch-operations",{namespace:r}),a=Vn(),o={jobId:a,namespace:r,reason:t,cancellationOperation:{},...e&&{visibilityQuery:e},...l&&{executions:l}};return await Ht(n,{options:{method:"POST",body:Nn(o)},notifyOnError:!1}),a}async function qn({namespace:r,query:e,executions:l,reason:t}){const n=qt("batch-operations",{namespace:r}),a=Vn(),o=Pr().email,s={jobId:a,namespace:r,reason:t,terminationOperation:{...o&&{identity:o}},...e&&{visibilityQuery:e},...l&&{executions:l}};return await Ht(n,{options:{method:"POST",body:Nn(s)},notifyOnError:!1}),a}async function jt({namespace:r,jobId:e}){return new Promise((l,t)=>{Ws({namespace:r,jobId:e}).then(({state:n,completeOperationCount:a})=>{n==="Failed"?t():n!=="Running"?l(parseInt(a,10)):setTimeout(()=>{try{l(jt({namespace:r,jobId:e}))}catch{t()}},1e3)})})}async function Ws({jobId:r,namespace:e}){const l=qt("batch-operation.describe",{namespace:e});return Ht(l,{params:{jobId:r}})}function As(r){let e;const l=r[6].default,t=Ce(l,r,r[5],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,a){t&&t.m(n,a),e=!0},p(n,a){t&&t.p&&(!e||a&32)&&Se(t,l,n,n[5],e?Ae(l,n[5],a,null):We(n[5]),null)},i(n){e||(h(t,n),e=!0)},o(n){g(t,n),e=!1},d(n){t&&t.d(n)}}}function Os(r){let e;return{c(){e=U(r[1])},l(l){e=q(l,r[1])},m(l,t){v(l,e,t)},p(l,t){t&2&&ue(e,l[1])},i:H,o:H,d(l){l&&p(e)}}}function Ns(r){let e,l,t,n;const a=[Os,As],o=[];function s(i,f){return i[1]!==i[0]?0:1}return e=s(r),l=o[e]=a[e](r),{c(){l.c(),t=ne()},l(i){l.l(i),t=ne()},m(i,f){o[e].m(i,f),v(i,t,f),n=!0},p(i,[f]){let c=e;e=s(i),e===c?o[e].p(i,f):(X(),g(o[c],1,1,()=>{o[c]=null}),x(),l=o[e],l?l.p(i,f):(l=o[e]=a[e](i),l.c()),h(l,1),l.m(t.parentNode,t))},i(i){n||(h(l),n=!0)},o(i){g(l),n=!1},d(i){o[e].d(i),i&&p(t)}}}function Bs(r,e,l){let t,{$$slots:n={},$$scope:a}=e,{key:o}=e,{namespace:s}=e,{count:i=void 0}=e,{replace:f=void 0}=e;return r.$$set=c=>{"key"in c&&l(0,o=c.key),"namespace"in c&&l(2,s=c.namespace),"count"in c&&l(3,i=c.count),"replace"in c&&l(4,f=c.replace),"$$scope"in c&&l(5,a=c.$$scope)},r.$$.update=()=>{r.$$.dirty&29&&l(1,t=fe(s,o,i,f))},[o,t,s,i,f,a,n]}class Te extends se{constructor(e){super(),ae(this,e,Bs,Ns,ie,{key:0,namespace:2,count:3,replace:4})}}function Fs(r){let e,l,t;return l=new Te({props:{namespace:"workflows",key:"batch-operation-modal-title",replace:{action:r[3]}}}),{c(){e=A("h3"),I(l.$$.fragment),this.h()},l(n){e=O(n,"H3",{slot:!0});var a=N(e);E(l.$$.fragment,a),a.forEach(p),this.h()},h(){T(e,"slot","title")},m(n,a){v(n,e,a),D(l,e,null),t=!0},p(n,a){const o={};a&8&&(o.replace={action:n[3]}),l.$set(o)},i(n){t||(h(l.$$.fragment,n),t=!0)},o(n){g(l.$$.fragment,n),t=!1},d(n){n&&p(e),C(l)}}}function Vs(r){let e,l,t;return l=new Te({props:{namespace:"workflows",key:r[0]===at.Cancel?"batch-cancel-confirmation":"batch-terminate-confirmation",count:r[1]}}),{c(){e=A("p"),I(l.$$.fragment)},l(n){e=O(n,"P",{});var a=N(e);E(l.$$.fragment,a),a.forEach(p)},m(n,a){v(n,e,a),D(l,e,null),t=!0},p(n,a){const o={};a&1&&(o.key=n[0]===at.Cancel?"batch-cancel-confirmation":"batch-terminate-confirmation"),a&2&&(o.count=n[1]),l.$set(o)},i(n){t||(h(l.$$.fragment,n),t=!0)},o(n){g(l.$$.fragment,n),t=!1},d(n){n&&p(e),C(l)}}}function Ps(r){let e,l,t,n,a,o,s,i,f,c;return l=new Te({props:{namespace:"workflows",key:"batch-operation-confirmation-all",replace:{action:r[3]}}}),f=new Te({props:{namespace:"workflows",key:"batch-operation-count-disclaimer",replace:{action:r[3]}}}),{c(){e=A("p"),I(l.$$.fragment),t=L(),n=A("div"),a=A("code"),o=U(r[2]),s=L(),i=A("span"),I(f.$$.fragment),this.h()},l(u){e=O(u,"P",{class:!0});var m=N(e);E(l.$$.fragment,m),m.forEach(p),t=R(u),n=O(u,"DIV",{class:!0});var _=N(n);a=O(_,"CODE",{"data-testid":!0});var d=N(a);o=q(d,r[2]),d.forEach(p),_.forEach(p),s=R(u),i=O(u,"SPAN",{class:!0});var $=N(i);E(f.$$.fragment,$),$.forEach(p),this.h()},h(){T(e,"class","mb-2"),T(a,"data-testid","batch-action-workflows-query"),T(n,"class","mb-2 overflow-scroll whitespace-nowrap rounded border border-primary bg-gray-100 p-2"),T(i,"class","text-xs")},m(u,m){v(u,e,m),D(l,e,null),v(u,t,m),v(u,n,m),S(n,a),S(a,o),v(u,s,m),v(u,i,m),D(f,i,null),c=!0},p(u,m){const _={};m&8&&(_.replace={action:u[3]}),l.$set(_),(!c||m&4)&&ue(o,u[2]);const d={};m&8&&(d.replace={action:u[3]}),f.$set(d)},i(u){c||(h(l.$$.fragment,u),h(f.$$.fragment,u),c=!0)},o(u){g(l.$$.fragment,u),g(f.$$.fragment,u),c=!1},d(u){u&&p(e),C(l),u&&p(t),u&&p(n),u&&p(s),u&&p(i),C(f)}}}function Ms(r){let e,l,t,n,a,o,s;const i=[Ps,Vs],f=[];function c(_,d){return _[8]?0:1}l=c(r),t=f[l]=i[l](r);function u(_){r[15](_)}let m={id:"bulk-action-reason",label:fe("workflows","reason"),hintText:fe("workflows","batch-operation-confirmation-input-hint",{placeholder:r[6]}),placeholder:r[6]};return r[5]!==void 0&&(m.value=r[5]),a=new Ue({props:m}),me.push(()=>pe(a,"value",u)),{c(){e=A("div"),t.c(),n=L(),I(a.$$.fragment),this.h()},l(_){e=O(_,"DIV",{class:!0});var d=N(e);t.l(d),d.forEach(p),n=R(_),E(a.$$.fragment,_),this.h()},h(){T(e,"class","mb-4 flex flex-col")},m(_,d){v(_,e,d),f[l].m(e,null),v(_,n,d),D(a,_,d),s=!0},p(_,d){let $=l;l=c(_),l===$?f[l].p(_,d):(X(),g(f[$],1,1,()=>{f[$]=null}),x(),t=f[l],t?t.p(_,d):(t=f[l]=i[l](_),t.c()),h(t,1),t.m(e,null));const w={};d&64&&(w.hintText=fe("workflows","batch-operation-confirmation-input-hint",{placeholder:_[6]})),d&64&&(w.placeholder=_[6]),!o&&d&32&&(o=!0,w.value=_[5],he(()=>o=!1)),a.$set(w)},i(_){s||(h(t),h(a.$$.fragment,_),s=!0)},o(_){g(t),g(a.$$.fragment,_),s=!1},d(_){_&&p(e),f[l].d(),_&&p(n),C(a,_)}}}function Ls(r){let e,l,t={id:"batch-operation-confirmation-modal","data-testid":"batch-"+r[3]+"-confirmation",confirmType:"destructive",confirmText:r[7],$$slots:{content:[Ms],title:[Fs]},$$scope:{ctx:r}};return e=new Lr({props:t}),r[16](e),e.$on("cancelModal",r[10]),e.$on("confirmModal",r[9]),{c(){I(e.$$.fragment)},l(n){E(e.$$.fragment,n)},m(n,a){D(e,n,a),l=!0},p(n,[a]){const o={};a&8&&(o["data-testid"]="batch-"+n[3]+"-confirmation"),a&128&&(o.confirmText=n[7]),a&262511&&(o.$$scope={dirty:a,ctx:n}),e.$set(o)},i(n){l||(h(e.$$.fragment,n),l=!0)},o(n){g(e.$$.fragment,n),l=!1},d(n){r[16](null),C(e,n)}}}function Rs(r,e,l){let t,n,a,o,s;M(r,Mr,B=>l(14,o=B)),M(r,Ye,B=>l(8,s=B));let{action:i}=e,{actionableWorkflowsLength:f}=e,{query:c}=e,u;const m=()=>u.open(),_=()=>u.close(),d=B=>u.setError(B),$=it();let w="";const b=()=>{$("confirm",{reason:ar({action:i,reason:w,email:o.email})})},W=()=>{l(5,w="")};function k(B){w=B,l(5,w)}function y(B){me[B?"unshift":"push"](()=>{u=B,l(4,u)})}return r.$$set=B=>{"action"in B&&l(0,i=B.action),"actionableWorkflowsLength"in B&&l(1,f=B.actionableWorkflowsLength),"query"in B&&l(2,c=B.query)},r.$$.update=()=>{r.$$.dirty&1&&l(3,t=i===at.Cancel?fe("workflows","cancel"):fe("workflows","terminate")),r.$$.dirty&9&&l(7,n=i===at.Cancel?fe("workflows","confirm"):t),r.$$.dirty&16385&&l(6,a=sr(i,o.email))},[i,f,c,t,u,w,a,n,s,b,W,m,_,d,o,k,y]}class Cl extends se{constructor(e){super(),ae(this,e,Rs,Ls,ie,{action:0,actionableWorkflowsLength:1,query:2,open:11,close:12,setError:13})}get open(){return this.$$.ctx[11]}get close(){return this.$$.ctx[12]}get setError(){return this.$$.ctx[13]}}const Hn=2,zn=[{label:"Status",pinned:!0},{label:"Workflow ID",pinned:!0},{label:"Run ID",pinned:!1},{label:"Type",pinned:!1},{label:"Start",pinned:!1},{label:"End",pinned:!1}],Us=[{label:"History Size",pinned:!1},{label:"History Length",pinned:!1},{label:"Execution Time",pinned:!1},{label:"Execution Duration",pinned:!1},{label:"State Transitions",pinned:!1},{label:"Parent Namespace",pinned:!1},{label:"Parent Workflow ID",pinned:!1},{label:"Task Queue",pinned:!1}],_t=Pn("workflow-table-columns",zn),Sl=Pn("workflow-table-pinned-columns-width"),qs=ft([_t],([r])=>[...zn,...Us].filter(e=>!r.some(l=>l.label===e.label))),Hs=ft([Sn,_t],([r,e])=>Object.keys(r).filter(l=>!e.some(t=>t.label===l)).map(l=>({label:l,pinned:!1}))),zs=(r,e)=>{switch(r.type){case"WORKFLOW_COLUMN.ADD":{const{label:l}=r.payload;return[...e,{label:l,pinned:!1}]}case"WORKFLOW_COLUMN.REMOVE":{const{label:l}=r.payload;return e.filter(({label:t})=>t!==l)}case"WORKFLOW_COLUMN.PIN":{const{label:l}=r.payload,t=e.findIndex(({label:s})=>s===l),n=e[t].pinned;let a=-1;for(let s=e.length-1;s>=0;s--)if(e[s].pinned){a=s;break}const o=[...e];return o[t].pinned=!n,t>a&&!n?o.splice(a+1,0,o.splice(t,1)[0]):t=0;s--)if(e[s].pinned){a=s;break}const o=[...e];return t<=a&&!n?o[l].pinned=!0:t>a&&n&&(o[l].pinned=!1),o.splice(t,0,o.splice(l,1)[0]),o.map((s,i)=>i>Hn-1?{...s,pinned:!1}:s)}default:return e}},Ct=r=>{_t.update(e=>zs(r,e))},Wl=r=>{Ct({type:"WORKFLOW_COLUMN.ADD",payload:{label:r}})},js=r=>{Ct({type:"WORKFLOW_COLUMN.REMOVE",payload:{label:r}})},Qs=(r,e)=>{Ct({type:"WORKFLOW_COLUMN.MOVE",payload:{from:r,to:e}})},Ks=r=>{Ct({type:"WORKFLOW_COLUMN.PIN",payload:{label:r}})},Ys=["workflowCancelDisabled","workflowTerminateDisabled"],Gs=r=>r.disableWriteActions||r.batchActionsDisabled?!1:Ys.some(e=>!r[e]),Qt=ft([Fn,mt,Ur,vr],([r,e,l,t])=>(t?!0:Bn(r,"1.18.0"))&&e&&Gs(l));const Js=r=>({}),Al=r=>({});function Zs(r){let e,l,t,n,a,o,s,i;const f=r[9].default,c=Ce(f,r,r[8],null),u=r[9]["unpinned-columns"],m=Ce(u,r,r[8],Al);return{c(){e=A("div"),c&&c.c(),l=L(),t=A("div"),n=L(),a=A("div"),m&&m.c(),this.h()},l(_){e=O(_,"DIV",{class:!0,style:!0});var d=N(e);c&&c.l(d),d.forEach(p),l=R(_),t=O(_,"DIV",{class:!0,"data-testid":!0}),N(t).forEach(p),n=R(_),a=O(_,"DIV",{class:!0,"data-testid":!0});var $=N(a);m&&m.l($),$.forEach(p),this.h()},h(){T(e,"class","workflows-summary-table-wrapper pinned svelte-i91sdc"),Zt(e,"width",r[2]?r[2]+"px":"50%"),te(e,"batch-actions-enabled",r[3]),te(e,"batch-actions-visible",r[4]),te(e,"no-columns-pinned",r[0]),T(t,"class","resizer svelte-i91sdc"),T(t,"data-testid","workflows-summary-table-resize-handle"),te(t,"batch-actions-enabled",r[3]),te(t,"batch-actions-visible",r[4]),te(t,"no-columns-pinned",r[0]),T(a,"class","workflows-summary-table-wrapper svelte-i91sdc"),T(a,"data-testid","unpinned-table-columns-wrapper")},m(_,d){v(_,e,d),c&&c.m(e,null),r[10](e),v(_,l,d),v(_,t,d),v(_,n,d),v(_,a,d),m&&m.m(a,null),o=!0,s||(i=[oe(window,"mousemove",r[7]),oe(window,"mouseup",r[6]),oe(t,"mousedown",r[5])],s=!0)},p(_,[d]){c&&c.p&&(!o||d&256)&&Se(c,f,_,_[8],o?Ae(f,_[8],d,null):We(_[8]),null),(!o||d&4)&&Zt(e,"width",_[2]?_[2]+"px":"50%"),(!o||d&8)&&te(e,"batch-actions-enabled",_[3]),(!o||d&16)&&te(e,"batch-actions-visible",_[4]),(!o||d&1)&&te(e,"no-columns-pinned",_[0]),(!o||d&8)&&te(t,"batch-actions-enabled",_[3]),(!o||d&16)&&te(t,"batch-actions-visible",_[4]),(!o||d&1)&&te(t,"no-columns-pinned",_[0]),m&&m.p&&(!o||d&256)&&Se(m,u,_,_[8],o?Ae(u,_[8],d,Js):We(_[8]),Al)},i(_){o||(h(c,_),h(m,_),o=!0)},o(_){g(c,_),g(m,_),o=!1},d(_){_&&p(e),c&&c.d(_),r[10](null),_&&p(l),_&&p(t),_&&p(n),_&&p(a),m&&m.d(_),s=!1,tt(i)}}}function Xs(r,e,l){let t,n,a;M(r,Sl,w=>l(12,t=w)),M(r,Qt,w=>l(3,n=w)),M(r,xn,w=>l(4,a=w));let{$$slots:o={},$$scope:s}=e,{noPinnedColumns:i=!1}=e,f,c=t,u=!1;const m=()=>(u=!0,!1),_=()=>{u=!1,le(Sl,t=c,t)},d=w=>{if(!u)return!1;const b=f.getBoundingClientRect();return l(2,c=w.x-b.x),!1};function $(w){me[w?"unshift":"push"](()=>{f=w,l(1,f)})}return r.$$set=w=>{"noPinnedColumns"in w&&l(0,i=w.noPinnedColumns),"$$scope"in w&&l(8,s=w.$$scope)},[i,f,c,n,a,m,_,d,s,o,$]}class xs extends se{constructor(e){super(),ae(this,e,Xs,Zs,ie,{noPinnedColumns:0})}}const ea=r=>({}),Ol=r=>({});function Nl(r){let e,l;return e=new qr({}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function ta(r){let e;const l=r[6].default,t=Ce(l,r,r[7],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,a){t&&t.m(n,a),e=!0},p(n,a){t&&t.p&&(!e||a&128)&&Se(t,l,n,n[7],e?Ae(l,n[7],a,null):We(n[7]),null)},i(n){e||(h(t,n),e=!0)},o(n){g(t,n),e=!1},d(n){t&&t.d(n)}}}function la(r){let e,l,t,n,a;return t=new Tt({props:{title:"No column headers are in view",$$slots:{default:[oa]},$$scope:{ctx:r}}}),{c(){e=A("tr"),l=A("td"),I(t.$$.fragment),this.h()},l(o){e=O(o,"TR",{});var s=N(e);l=O(s,"TD",{colspan:!0});var i=N(l);E(t.$$.fragment,i),i.forEach(p),s.forEach(p),this.h()},h(){T(l,"colspan",n=r[1].length+1)},m(o,s){v(o,e,s),S(e,l),D(t,l,null),a=!0},p(o,s){const i={};s&128&&(i.$$scope={dirty:s,ctx:o}),t.$set(i),(!a||s&2&&n!==(n=o[1].length+1))&&T(l,"colspan",n)},i(o){a||(h(t.$$.fragment,o),a=!0)},o(o){g(t.$$.fragment,o),a=!1},d(o){o&&p(e),C(t)}}}function na(r){let e,l,t,n,a;return t=new Tt({props:{title:"No Workflows Found",content:"If you have filters applied, try adjusting them. Otherwise please check your syntax and try again.",error:r[5]}}),{c(){e=A("tr"),l=A("td"),I(t.$$.fragment),this.h()},l(o){e=O(o,"TR",{});var s=N(e);l=O(s,"TD",{colspan:!0});var i=N(l);E(t.$$.fragment,i),i.forEach(p),s.forEach(p),this.h()},h(){T(l,"colspan",n=r[1].length+1)},m(o,s){v(o,e,s),S(e,l),D(t,l,null),a=!0},p(o,s){const i={};s&32&&(i.error=o[5]),t.$set(i),(!a||s&2&&n!==(n=o[1].length+1))&&T(l,"colspan",n)},i(o){a||(h(t.$$.fragment,o),a=!0)},o(o){g(t.$$.fragment,o),a=!1},d(o){o&&p(e),C(t)}}}function ra(r){let e,l,t,n,a;return t=new Rt({}),{c(){e=A("tr"),l=A("td"),I(t.$$.fragment),this.h()},l(o){e=O(o,"TR",{});var s=N(e);l=O(s,"TD",{colspan:!0});var i=N(l);E(t.$$.fragment,i),i.forEach(p),s.forEach(p),this.h()},h(){T(l,"colspan",n=r[1].length+1)},m(o,s){v(o,e,s),S(e,l),D(t,l,null),a=!0},p(o,s){(!a||s&2&&n!==(n=o[1].length+1))&&T(l,"colspan",n)},i(o){a||(h(t.$$.fragment,o),a=!0)},o(o){g(t.$$.fragment,o),a=!1},d(o){o&&p(e),C(t)}}}function oa(r){let e,l,t,n,a,o,s,i,f,c,u,m,_;return a=new we({props:{class:"inline",name:"vertical-ellipsis"}}),c=new we({props:{class:"inline",name:"add"}}),{c(){e=A("p"),l=U(`At least one column heading is required to display workflows. - Click the `),t=A("span"),n=U("("),I(a.$$.fragment),o=U(")"),s=U(` - in the top right corner of the Workflow List to reveal the Configure - Workflow List panel. Click the - `),i=A("span"),f=U("("),I(c.$$.fragment),u=U(")"),m=U(" to add column headings."),this.h()},l(d){e=O(d,"P",{class:!0});var $=N(e);l=q($,`At least one column heading is required to display workflows. - Click the `),t=O($,"SPAN",{class:!0});var w=N(t);n=q(w,"("),E(a.$$.fragment,w),o=q(w,")"),w.forEach(p),s=q($,` - in the top right corner of the Workflow List to reveal the Configure - Workflow List panel. Click the - `),i=O($,"SPAN",{class:!0});var b=N(i);f=q(b,"("),E(c.$$.fragment,b),u=q(b,")"),b.forEach(p),m=q($," to add column headings."),$.forEach(p),this.h()},h(){T(t,"class","whitespace-nowrap"),T(i,"class","whitespace-nowrap"),T(e,"class","text-center")},m(d,$){v(d,e,$),S(e,l),S(e,t),S(t,n),D(a,t,null),S(t,o),S(e,s),S(e,i),S(i,f),D(c,i,null),S(i,u),S(e,m),_=!0},p:H,i(d){_||(h(a.$$.fragment,d),h(c.$$.fragment,d),_=!0)},o(d){g(a.$$.fragment,d),g(c.$$.fragment,d),_=!1},d(d){d&&p(e),C(a),C(c)}}}function sa(r){let e,l,t,n,a,o,s,i;const f=r[6].headers,c=Ce(f,r,r[7],Ol);let u=r[3]&&Nl();const m=[ra,na,la,ta],_=[];function d($,w){return!$[0]&&$[4]?0:!$[0]&&$[2]?1:!$[0]&&$[1].length===0?2:3}return o=d(r),s=_[o]=m[o](r),{c(){e=A("table"),l=A("thead"),c&&c.c(),t=L(),u&&u.c(),n=L(),a=A("tbody"),s.c(),this.h()},l($){e=O($,"TABLE",{class:!0});var w=N(e);l=O(w,"THEAD",{});var b=N(l);c&&c.l(b),t=R(b),u&&u.l(b),b.forEach(p),n=R(w),a=O(w,"TBODY",{});var W=N(a);s.l(W),W.forEach(p),w.forEach(p),this.h()},h(){T(e,"class","workflows-summary-table svelte-tjp5ib"),te(e,"pinned",r[0])},m($,w){v($,e,w),S(e,l),c&&c.m(l,null),S(l,t),u&&u.m(l,null),S(e,n),S(e,a),_[o].m(a,null),i=!0},p($,[w]){c&&c.p&&(!i||w&128)&&Se(c,f,$,$[7],i?Ae(f,$[7],w,ea):We($[7]),Ol),$[3]?u?w&8&&h(u,1):(u=Nl(),u.c(),h(u,1),u.m(l,null)):u&&(X(),g(u,1,1,()=>{u=null}),x());let b=o;o=d($),o===b?_[o].p($,w):(X(),g(_[b],1,1,()=>{_[b]=null}),x(),s=_[o],s?s.p($,w):(s=_[o]=m[o]($),s.c()),h(s,1),s.m(a,null)),(!i||w&1)&&te(e,"pinned",$[0])},i($){i||(h(c,$),h(u),h(s),i=!0)},o($){g(c,$),g(u),g(s),i=!1},d($){$&&p(e),c&&c.d($),u&&u.d(),_[o].d()}}}function aa(r,e,l){let t,n,a;M(r,Pt,u=>l(3,t=u)),M(r,Mt,u=>l(4,n=u)),M(r,En,u=>l(5,a=u));let{$$slots:o={},$$scope:s}=e,{pinned:i=!1}=e,{columns:f}=e,{empty:c}=e;return r.$$set=u=>{"pinned"in u&&l(0,i=u.pinned),"columns"in u&&l(1,f=u.columns),"empty"in u&&l(2,c=u.empty),"$$scope"in u&&l(7,s=u.$$scope)},[i,f,c,t,n,a,o,s]}class jn extends se{constructor(e){super(),ae(this,e,aa,sa,ie,{pinned:0,columns:1,empty:2})}}const ia=["Running","TimedOut","Completed","Failed","ContinuedAsNew","Canceled","Terminated"],Bl=["All",...ia];function Fl(r,e,l){const t=r.slice();return t[9]=e[l],t}function Vl(r){let e,l;return e=new we({props:{class:"pointer-events-none -mt-[1px] -ml-[2px] text-white",name:"checkmark",width:20,height:20}}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function fa(r){let e,l;return e=new Wn({props:{status:r[9]}}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:H,i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function ua(r){let e,l;return e=new Te({props:{namespace:"workflows",key:"all-statuses"}}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:H,i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function Pl(r,e){let l,t,n=e[0].find(_)||!e[0].length&&e[9]==="All",a,o,s,i,f,c,u,m;function _(...y){return e[5](e[9],...y)}let d=n&&Vl();function $(...y){return e[6](e[9],...y)}const w=[ua,fa],b=[];function W(y,B){return y[9]==="All"?0:1}s=W(e),i=b[s]=w[s](e);function k(){return e[7](e[9])}return{key:r,first:null,c(){l=A("button"),t=A("div"),d&&d.c(),a=L(),o=A("div"),i.c(),f=L(),this.h()},l(y){l=O(y,"BUTTON",{class:!0,"data-testid":!0});var B=N(l);t=O(B,"DIV",{class:!0});var P=N(t);d&&d.l(P),P.forEach(p),a=R(B),o=O(B,"DIV",{class:!0});var Z=N(o);i.l(Z),Z.forEach(p),f=R(B),B.forEach(p),this.h()},h(){T(t,"class","ml-4 mr-2 h-4 w-4 rounded-sm ring-1 ring-gray-900 svelte-mpn3ee"),te(t,"active",e[0].find($)||!e[0].length&&e[9]==="All"),T(o,"class","flex h-6 items-center text-sm hover:scale-[103%]"),T(l,"class","flex items-center transition-all hover:cursor-pointer"),T(l,"data-testid",e[9]),this.first=l},m(y,B){v(y,l,B),S(l,t),d&&d.m(t,null),S(l,a),S(l,o),b[s].m(o,null),S(l,f),c=!0,u||(m=oe(l,"click",k),u=!0)},p(y,B){e=y,B&1&&(n=e[0].find(_)||!e[0].length&&e[9]==="All"),n?d?B&1&&h(d,1):(d=Vl(),d.c(),h(d,1),d.m(t,null)):d&&(X(),g(d,1,1,()=>{d=null}),x()),(!c||B&1)&&te(t,"active",e[0].find($)||!e[0].length&&e[9]==="All"),i.p(e,B)},i(y){c||(h(d),h(i),c=!0)},o(y){g(d),g(i),c=!1},d(y){y&&p(l),d&&d.d(),b[s].d(),u=!1,m()}}}function ca(r){let e,l=[],t=new Map,n,a=Bl;const o=s=>s[9];for(let s=0;s{const t=l===0?"(":l===r.length-1?")":"",n=l===r.length-1?"":"OR";return{...e,operator:n,parenthesis:t}})}const Ll=r=>r.value;function da(r,e,l){let t,n,a,o,s;M(r,ye,m=>l(3,a=m)),M(r,de,m=>l(4,o=m)),M(r,Be,m=>l(8,s=m));const i=m=>{if(m==="All")le(de,o=o.filter(_=>_.attribute!=="ExecutionStatus"),o);else if(t.find(_=>_.value===m)){const _=o.filter(d=>d.attribute!=="ExecutionStatus");le(de,o=[..._,...Ml(t.filter(d=>d.value!==m))],o)}else if(!t.length)le(de,o=[...o,Ft(m)],o);else{const _=o.filter(d=>d.attribute!=="ExecutionStatus");le(de,o=[..._,...Ml([...t,Ft(m)])],o)}Ke(s.url,o,a)},f=(m,_)=>_.value===m,c=(m,_)=>_.value===m,u=m=>i(m);return r.$$.update=()=>{r.$$.dirty&16&&l(0,t=o.filter(m=>m.attribute==="ExecutionStatus")),r.$$.dirty&8&&l(1,n=a.find(m=>m.attribute==="ExecutionStatus"))},[t,n,i,a,o,f,c,u]}class pa extends se{constructor(e){super(),ae(this,e,da,_a,ie,{})}}function ha(r){let e,l,t,n,a,o,s=fe("ascending")+"",i,f,c,u,m,_,d,$=fe("descending")+"",w,b,W,k;return n=new we({props:{class:"pointer-events-none -mt-[1px]",name:"ascending",width:24,height:24}}),m=new we({props:{class:"pointer-events-none -mt-[1px]",name:"descending",width:24,height:24}}),{c(){e=A("div"),l=A("button"),t=A("div"),I(n.$$.fragment),a=L(),o=A("div"),i=U(s),f=L(),c=A("button"),u=A("div"),I(m.$$.fragment),_=L(),d=A("div"),w=U($),this.h()},l(y){e=O(y,"DIV",{class:!0});var B=N(e);l=O(B,"BUTTON",{class:!0});var P=N(l);t=O(P,"DIV",{class:!0});var Z=N(t);E(n.$$.fragment,Z),Z.forEach(p),a=R(P),o=O(P,"DIV",{class:!0});var V=N(o);i=q(V,s),V.forEach(p),P.forEach(p),f=R(B),c=O(B,"BUTTON",{class:!0});var K=N(c);u=O(K,"DIV",{class:!0});var j=N(u);E(m.$$.fragment,j),j.forEach(p),_=R(K),d=O(K,"DIV",{class:!0});var z=N(d);w=q(z,$),z.forEach(p),K.forEach(p),B.forEach(p),this.h()},h(){T(t,"class","ml-4 mr-2 h-6 w-6 rounded-sm text-gray-900 svelte-mpn3ee"),te(t,"active",r[1].find(r[3])),T(o,"class","p-1 hover:scale-[103%]"),T(l,"class","flex items-center"),T(u,"class","ml-4 mr-2 h-6 w-6 rounded-sm text-gray-900 svelte-mpn3ee"),te(u,"active",r[1].find(r[5])),T(d,"class","p-1 hover:scale-[103%]"),T(c,"class","flex items-center"),T(e,"class","mt-2 transition-all hover:cursor-pointer")},m(y,B){v(y,e,B),S(e,l),S(l,t),D(n,t,null),S(l,a),S(l,o),S(o,i),S(e,f),S(e,c),S(c,u),D(m,u,null),S(c,_),S(c,d),S(d,w),b=!0,W||(k=[oe(l,"click",r[4]),oe(c,"click",r[6])],W=!0)},p(y,[B]){(!b||B&3)&&te(t,"active",y[1].find(y[3])),(!b||B&3)&&te(u,"active",y[1].find(y[5]))},i(y){b||(h(n.$$.fragment,y),h(m.$$.fragment,y),b=!0)},o(y){g(n.$$.fragment,y),g(m.$$.fragment,y),b=!1},d(y){y&&p(e),C(n),C(m),W=!1,tt(k)}}}function ga(r,e,l){let t,n,a;M(r,ye,m=>l(1,t=m)),M(r,de,m=>l(7,n=m)),M(r,Be,m=>l(8,a=m));let{type:o}=e;const s=m=>{t.find(_=>_.value===m&&_.attribute===o)?le(ye,t=[],t):le(ye,t=[{attribute:o,value:m}],t),Ke(a.url,n,t)},i=m=>m.value==="asc"&&m.attribute===o,f=()=>s("asc"),c=m=>m.value==="desc"&&m.attribute===o,u=()=>s("desc");return r.$$set=m=>{"type"in m&&l(0,o=m.type)},[o,t,s,i,f,c,u]}class Qn extends se{constructor(e){super(),ae(this,e,ga,ha,ie,{type:0})}}function $a(r){let e,l,t;return l=new Qn({props:{type:"StartTime"}}),{c(){e=A("div"),I(l.$$.fragment),this.h()},l(n){e=O(n,"DIV",{class:!0});var a=N(e);E(l.$$.fragment,a),a.forEach(p),this.h()},h(){T(e,"class","flex w-44 flex-col gap-2 p-2")},m(n,a){v(n,e,a),D(l,e,null),t=!0},p:H,i(n){t||(h(l.$$.fragment,n),t=!0)},o(n){g(l.$$.fragment,n),t=!1},d(n){n&&p(e),C(l)}}}function ba(r){let e=fe("start")+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p:H,d(t){t&&p(l)}}}function wa(r){var t;let e,l;return e=new Dt({props:{disabled:r[0],disabledText:"Sort disabled",value:((t=r[1])==null?void 0:t.value)??"",keepOpen:!0,right:!0,$$slots:{label:[ba],default:[$a]},$$scope:{ctx:r}}}),{c(){I(e.$$.fragment)},l(n){E(e.$$.fragment,n)},m(n,a){D(e,n,a),l=!0},p(n,[a]){var s;const o={};a&1&&(o.disabled=n[0]),a&2&&(o.value=((s=n[1])==null?void 0:s.value)??""),a&8&&(o.$$scope={dirty:a,ctx:n}),e.$set(o)},i(n){l||(h(e.$$.fragment,n),l=!0)},o(n){g(e.$$.fragment,n),l=!1},d(n){C(e,n)}}}function ka(r,e,l){let t,n;M(r,ye,o=>l(2,n=o));let{disabled:a=!1}=e;return r.$$set=o=>{"disabled"in o&&l(0,a=o.disabled)},r.$$.update=()=>{r.$$.dirty&4&&l(1,t=n.find(o=>o.attribute==="StartTime"))},[a,t,n]}class va extends se{constructor(e){super(),ae(this,e,ka,wa,ie,{disabled:0})}}function ya(r){let e,l,t;return l=new Qn({props:{type:"CloseTime"}}),{c(){e=A("div"),I(l.$$.fragment),this.h()},l(n){e=O(n,"DIV",{class:!0});var a=N(e);E(l.$$.fragment,a),a.forEach(p),this.h()},h(){T(e,"class","flex w-44 flex-col gap-2 p-2")},m(n,a){v(n,e,a),D(l,e,null),t=!0},p:H,i(n){t||(h(l.$$.fragment,n),t=!0)},o(n){g(l.$$.fragment,n),t=!1},d(n){n&&p(e),C(l)}}}function Ta(r){let e=fe("end")+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p:H,d(t){t&&p(l)}}}function Ia(r){var t;let e,l;return e=new Dt({props:{disabled:r[0],disabledText:"Sort disabled",value:((t=r[1])==null?void 0:t.value)??"",keepOpen:!0,right:!0,$$slots:{label:[Ta],default:[ya]},$$scope:{ctx:r}}}),{c(){I(e.$$.fragment)},l(n){E(e.$$.fragment,n)},m(n,a){D(e,n,a),l=!0},p(n,[a]){var s;const o={};a&1&&(o.disabled=n[0]),a&2&&(o.value=((s=n[1])==null?void 0:s.value)??""),a&8&&(o.$$scope={dirty:a,ctx:n}),e.$set(o)},i(n){l||(h(e.$$.fragment,n),l=!0)},o(n){g(e.$$.fragment,n),l=!1},d(n){C(e,n)}}}function Ea(r,e,l){let t,n;M(r,ye,o=>l(2,n=o));let{disabled:a=!1}=e;return r.$$set=o=>{"disabled"in o&&l(0,a=o.disabled)},r.$$.update=()=>{r.$$.dirty&4&&l(1,t=n.find(o=>o.attribute==="CloseTime"))},[a,t,n]}class Da extends se{constructor(e){super(),ae(this,e,Ea,Ia,ie,{disabled:0})}}const kt={WorkflowId:"Workflow ID",WorkflowType:"Type",RunId:"Run ID"},vt={WorkflowId:"workflow-id",WorkflowType:"workflow-type",RunId:"run-id"},Ca={WorkflowId:"id",WorkflowType:"name",RunId:"runId"};function Sa(r){let e,l,t,n;function a(s){r[9](s)}let o={icon:"search",type:"search",id:vt[r[0]],placeholder:kt[r[0]],class:"flex items-center px-2 transition-all hover:cursor-pointer",autoFocus:!0,clearable:!0};return r[1]!==void 0&&(o.value=r[1]),l=new Ue({props:o}),me.push(()=>pe(l,"value",a)),l.$on("input",r[4]),l.$on("clear",r[6]),{c(){e=A("div"),I(l.$$.fragment),this.h()},l(s){e=O(s,"DIV",{class:!0});var i=N(e);E(l.$$.fragment,i),i.forEach(p),this.h()},h(){T(e,"class","flex w-[500px] flex-col gap-2 p-2")},m(s,i){v(s,e,i),D(l,e,null),n=!0},p(s,i){const f={};i&1&&(f.id=vt[s[0]]),i&1&&(f.placeholder=kt[s[0]]),!t&&i&2&&(t=!0,f.value=s[1],he(()=>t=!1)),l.$set(f)},i(s){n||(h(l.$$.fragment,s),n=!0)},o(s){g(l.$$.fragment,s),n=!1},d(s){s&&p(e),C(l)}}}function Wa(r){let e=kt[r[0]]+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p(t,n){n&1&&e!==(e=kt[t[0]]+"")&&ue(l,e)},d(t){t&&p(l)}}}function Aa(r){let e,l;return e=new Dt({props:{value:r[2]?r[2].value:r[3]?r[3].value:"",keepOpen:!0,icon:"filter",testId:vt[r[0]]+"-filter-button",$$slots:{label:[Wa],default:[Sa]},$$scope:{ctx:r}}}),e.$on("showmenu",r[5]),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,[n]){const a={};n&12&&(a.value=t[2]?t[2].value:t[3]?t[3].value:""),n&1&&(a.testId=vt[t[0]]+"-filter-button"),n&4099&&(a.$$scope={dirty:n,ctx:t}),e.$set(a)},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function Oa(r,e,l){let t,n,a,o,s;M(r,ye,$=>l(7,a=$)),M(r,de,$=>l(8,o=$)),M(r,Be,$=>l(10,s=$));let i="",{attribute:f}=e;const c=()=>o.filter($=>$.attribute!==f),u=$=>{const{value:w}=$.target;if(w){const b={attribute:f,value:w,conditional:"=",operator:"",parenthesis:""};le(de,o=[...c(),b],o)}else le(de,o=[...c()],o);Ke(s.url,o,a)};function m($){const w=$.detail.show;w&&(t!=null&&t.value)?l(1,i=t.value):w&&!t&&i&&l(1,i="")}function _(){le(de,o=[...c()],o),Ke(s.url,o,a)}function d($){i=$,l(1,i)}return r.$$set=$=>{"attribute"in $&&l(0,f=$.attribute)},r.$$.update=()=>{r.$$.dirty&257&&l(2,t=o.find($=>$.attribute===f)),r.$$.dirty&129&&l(3,n=a.find($=>$.attribute===f))},[f,i,t,n,u,m,_,a,o,d]}class Kt extends se{constructor(e){super(),ae(this,e,Oa,Aa,ie,{attribute:0})}}function Na(r){let e;return{c(){e=U(r[0])},l(l){e=q(l,r[0])},m(l,t){v(l,e,t)},p(l,t){t&1&&ue(e,l[0])},i:H,o:H,d(l){l&&p(e)}}}function Ba(r){let e,l;return e=new Da({props:{disabled:r[1]}}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const a={};n&2&&(a.disabled=t[1]),e.$set(a)},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function Fa(r){let e,l;return e=new va({props:{disabled:r[1]}}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const a={};n&2&&(a.disabled=t[1]),e.$set(a)},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function Va(r){let e,l;return e=new Kt({props:{attribute:"WorkflowType"}}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:H,i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function Pa(r){let e,l;return e=new Kt({props:{attribute:"RunId"}}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:H,i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function Ma(r){let e,l;return e=new Kt({props:{attribute:"WorkflowId"}}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:H,i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function La(r){let e,l;return e=new pa({}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:H,i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function Ra(r){let e,l,t,n,a;const o=[La,Ma,Pa,Va,Fa,Ba,Na],s=[];function i(f,c){return f[0]==="Status"?0:f[0]==="Workflow ID"?1:f[0]==="Run ID"?2:f[0]==="Type"?3:f[0]==="Start"?4:f[0]==="End"?5:6}return l=i(r),t=s[l]=o[l](r),{c(){e=A("th"),t.c(),this.h()},l(f){e=O(f,"TH",{class:!0,"data-testid":!0});var c=N(e);t.l(c),c.forEach(p),this.h()},h(){T(e,"class","workflows-summary-table-header-cell svelte-1q2ffog"),T(e,"data-testid",n="workflows-summary-table-header-cell-"+r[0])},m(f,c){v(f,e,c),s[l].m(e,null),a=!0},p(f,[c]){let u=l;l=i(f),l===u?s[l].p(f,c):(X(),g(s[u],1,1,()=>{s[u]=null}),x(),t=s[l],t?t.p(f,c):(t=s[l]=o[l](f),t.c()),h(t,1),t.m(e,null)),(!a||c&1&&n!==(n="workflows-summary-table-header-cell-"+f[0]))&&T(e,"data-testid",n)},i(f){a||(h(t),a=!0)},o(f){g(t),a=!1},d(f){f&&p(e),s[l].d()}}}function Ua(r,e,l){let t,n,a,o;M(r,yr,i=>l(3,a=i)),M(r,Lt,i=>l(4,o=i));let{column:s}=e;return r.$$set=i=>{"column"in i&&l(2,s=i.column)},r.$$.update=()=>{r.$$.dirty&24&&l(1,t=(o==null?void 0:o.totalCount)>=1e6||!a),r.$$.dirty&4&&l(0,{label:n}=s,n)},[n,t,s,a,o]}class Kn extends se{constructor(e){super(),ae(this,e,Ua,Ra,ie,{column:2})}}function Rl(r){let e,l;return{c(){e=A("span"),l=U(r[2]),this.h()},l(t){e=O(t,"SPAN",{class:!0});var n=N(e);l=q(n,r[2]),n.forEach(p),this.h()},h(){T(e,"class","label svelte-1ic6fbx"),te(e,"hoverable",r[6])},m(t,n){v(t,e,n),S(e,l)},p(t,n){n&4&&ue(l,t[2]),n&64&&te(e,"hoverable",t[6])},d(t){t&&p(e)}}}function qa(r){let e,l;return e=new we({props:{class:"absolute top-0 left-0 h-4 w-4",name:"checkmark",strokeWidth:3}}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function Ha(r){let e,l;return e=new we({props:{class:"absolute top-0 left-0 h-4 w-4",name:"hyphen"}}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function za(r){let e,l,t,n,a,o,s,i,f,c,u,m,_=r[2]&&Rl(r),d=[{id:r[1]},{__value:r[7]},{type:"checkbox"},{indeterminate:r[4]},{disabled:r[5]},r[10]],$={};for(let k=0;k{b[B]=null}),x()),~s?(i=b[s],i||(i=b[s]=w[s](k),i.c()),h(i,1),i.m(o,null)):i=null),(!c||y&64)&&te(o,"hoverable",k[6]),(!c||y&8)&&te(o,"on-dark",k[3]),(!c||y&64)&&te(l,"hoverable",k[6]),(!c||y&32)&&te(l,"disabled",k[5]),(!c||y&8)&&te(l,"on-dark",k[3]),(!c||y&512&&f!==(f="relative "+k[9].class+" svelte-1ic6fbx"))&&T(e,"class",f)},i(k){c||(h(i),c=!0)},o(k){g(i),c=!1},d(k){k&&p(e),_&&_.d(),~s&&b[s].d(),u=!1,tt(m)}}}function ja(r,e,l){const t=["id","checked","label","onDark","indeterminate","disabled","hoverable","value","group"];let n=xt(e,t),{id:a=""}=e,{checked:o=!1}=e,{label:s=""}=e,{onDark:i=!1}=e,{indeterminate:f=!1}=e,{disabled:c=!1}=e,{hoverable:u=!1}=e,{value:m=void 0}=e,{group:_=void 0}=e;const d=it(),$=P=>{const{checked:Z}=P.currentTarget;_!==void 0&&(Z?l(11,_=[..._,m]):l(11,_=_.filter(V=>V!==m))),l(0,o=Z),d("change",{checked:P.currentTarget.checked,value:m})};function w(P){Ze.call(this,r,P)}function b(P){Ze.call(this,r,P)}function W(P){Ze.call(this,r,P)}function k(P){Ze.call(this,r,P)}function y(P){Ze.call(this,r,P)}function B(){o=this.checked,l(0,o),l(11,_),l(7,m)}return r.$$set=P=>{l(9,e=ut(ut({},e),gt(P))),l(10,n=xt(e,t)),"id"in P&&l(1,a=P.id),"checked"in P&&l(0,o=P.checked),"label"in P&&l(2,s=P.label),"onDark"in P&&l(3,i=P.onDark),"indeterminate"in P&&l(4,f=P.indeterminate),"disabled"in P&&l(5,c=P.disabled),"hoverable"in P&&l(6,u=P.hoverable),"value"in P&&l(7,m=P.value),"group"in P&&l(11,_=P.group)},r.$$.update=()=>{r.$$.dirty&2177&&l(0,o=_!==void 0?_.includes(m):o)},e=gt(e),[o,a,s,i,f,c,u,m,$,e,n,_,w,b,W,k,y,B]}class Yn extends se{constructor(e){super(),ae(this,e,ja,za,ie,{id:1,checked:0,label:2,onDark:3,indeterminate:4,disabled:5,hoverable:6,value:7,group:11})}}function Ul(r){let e,l,t,n;function a(s){r[9](s)}let o={hoverable:!0,value:r[0],disabled:r[4],"aria-label":"select workflow"};return r[3]!==void 0&&(o.group=r[3]),l=new Yn({props:o}),me.push(()=>pe(l,"group",a)),{c(){e=A("td"),I(l.$$.fragment)},l(s){e=O(s,"TD",{});var i=N(e);E(l.$$.fragment,i),i.forEach(p)},m(s,i){v(s,e,i),D(l,e,null),n=!0},p(s,i){const f={};i&1&&(f.value=s[0]),i&16&&(f.disabled=s[4]),!t&&i&8&&(t=!0,f.group=s[3],he(()=>t=!1)),l.$set(f)},i(s){n||(h(l.$$.fragment,s),n=!0)},o(s){g(l.$$.fragment,s),n=!1},d(s){s&&p(e),C(l)}}}function ql(r){let e;return{c(){e=A("td")},l(l){e=O(l,"TD",{}),N(e).forEach(p)},m(l,t){v(l,e,t)},d(l){l&&p(e)}}}function Qa(r){let e,l,t,n,a,o,s=r[1]&&r[2]&&Ul(r);const i=r[8].default,f=Ce(i,r,r[7],null);let c=!r[1]&&ql();return{c(){e=A("tr"),s&&s.c(),l=L(),f&&f.c(),t=L(),c&&c.c(),this.h()},l(u){e=O(u,"TR",{class:!0});var m=N(e);s&&s.l(m),l=R(m),f&&f.l(m),t=R(m),c&&c.l(m),m.forEach(p),this.h()},h(){T(e,"class","workflows-summary-configurable-table-row svelte-djic0w")},m(u,m){v(u,e,m),s&&s.m(e,null),S(e,l),f&&f.m(e,null),S(e,t),c&&c.m(e,null),n=!0,a||(o=oe(e,"click",r[5]),a=!0)},p(u,[m]){u[1]&&u[2]?s?(s.p(u,m),m&6&&h(s,1)):(s=Ul(u),s.c(),h(s,1),s.m(e,l)):s&&(X(),g(s,1,1,()=>{s=null}),x()),f&&f.p&&(!n||m&128)&&Se(f,i,u,u[7],n?Ae(i,u[7],m,null):We(u[7]),null),u[1]?c&&(c.d(1),c=null):c||(c=ql(),c.c(),c.m(e,null))},i(u){n||(h(s),h(f,u),n=!0)},o(u){g(s),g(f,u),n=!1},d(u){u&&p(e),s&&s.d(),f&&f.d(u),c&&c.d(),a=!1,o()}}}function Ka(r,e,l){let t,n,a,o,s;M(r,Be,d=>l(6,n=d)),M(r,Qt,d=>l(2,a=d)),M(r,Oe,d=>l(3,o=d)),M(r,Ye,d=>l(4,s=d));let{$$slots:i={},$$scope:f}=e,{workflow:c}=e,{pinned:u=!1}=e;const m=d=>{d.target instanceof HTMLAnchorElement||Hr(Mn({namespace:t,workflow:c.id,run:c.runId}))};function _(d){o=d,Oe.set(o)}return r.$$set=d=>{"workflow"in d&&l(0,c=d.workflow),"pinned"in d&&l(1,u=d.pinned),"$$scope"in d&&l(7,f=d.$$scope)},r.$$.update=()=>{r.$$.dirty&64&&(t=n.params.namespace)},[c,u,a,o,s,m,n,f,i,_]}class Gn extends se{constructor(e){super(),ae(this,e,Ka,Qa,ie,{workflow:0,pinned:1})}}function Ya(r){let e,l,t,n,a;const o=r[5].default,s=Ce(o,r,r[4],null);return{c(){e=A("button"),s&&s.c(),this.h()},l(i){e=O(i,"BUTTON",{"data-testid":!0,class:!0});var f=N(e);s&&s.l(f),f.forEach(p),this.h()},h(){T(e,"data-testid",r[0]),e.disabled=r[1],T(e,"class",l="bulk-action-button "+r[2]+" "+r[3].class+" svelte-19w6g7u")},m(i,f){v(i,e,f),s&&s.m(e,null),t=!0,n||(a=oe(e,"click",r[6]),n=!0)},p(i,[f]){s&&s.p&&(!t||f&16)&&Se(s,o,i,i[4],t?Ae(o,i[4],f,null):We(i[4]),null),(!t||f&1)&&T(e,"data-testid",i[0]),(!t||f&2)&&(e.disabled=i[1]),(!t||f&12&&l!==(l="bulk-action-button "+i[2]+" "+i[3].class+" svelte-19w6g7u"))&&T(e,"class",l)},i(i){t||(h(s,i),t=!0)},o(i){g(s,i),t=!1},d(i){i&&p(e),s&&s.d(i),n=!1,a()}}}function Ga(r,e,l){let{$$slots:t={},$$scope:n}=e,{testId:a=null}=e,{disabled:o=!1}=e,{variant:s="primary"}=e;function i(f){Ze.call(this,r,f)}return r.$$set=f=>{l(3,e=ut(ut({},e),gt(f))),"testId"in f&&l(0,a=f.testId),"disabled"in f&&l(1,o=f.disabled),"variant"in f&&l(2,s=f.variant),"$$scope"in f&&l(4,n=f.$$scope)},e=gt(e),[a,o,s,e,n,t,i]}class Jn extends se{constructor(e){super(),ae(this,e,Ga,Ya,ie,{testId:0,disabled:1,variant:2})}}function Ja(r){let e,l,t,n,a,o,s,i,f,c,u;return l=new Te({props:{namespace:"workflows",key:"n-selected",count:r[2]}}),s=new Te({props:{namespace:"workflows",key:"select-all",count:r[1]}}),{c(){e=A("span"),I(l.$$.fragment),t=L(),n=A("span"),a=U("(or "),o=A("button"),I(s.$$.fragment),i=U(")"),this.h()},l(m){e=O(m,"SPAN",{class:!0});var _=N(e);E(l.$$.fragment,_),_.forEach(p),t=R(m),n=O(m,"SPAN",{});var d=N(n);a=q(d,"(or "),o=O(d,"BUTTON",{"data-testid":!0,class:!0});var $=N(o);E(s.$$.fragment,$),$.forEach(p),i=q(d,")"),d.forEach(p),this.h()},h(){T(e,"class","font-semibold"),T(o,"data-testid","select-all-workflows"),T(o,"class","cursor-pointer underline")},m(m,_){v(m,e,_),D(l,e,null),v(m,t,_),v(m,n,_),S(n,a),S(n,o),D(s,o,null),S(n,i),f=!0,c||(u=oe(o,"click",r[15]),c=!0)},p(m,_){const d={};_&4&&(d.count=m[2]),l.$set(d);const $={};_&2&&($.count=m[1]),s.$set($)},i(m){f||(h(l.$$.fragment,m),h(s.$$.fragment,m),f=!0)},o(m){g(l.$$.fragment,m),g(s.$$.fragment,m),f=!1},d(m){m&&p(e),C(l),m&&p(t),m&&p(n),C(s),c=!1,u()}}}function Za(r){let e,l,t;return l=new Te({props:{namespace:"workflows",key:"all-selected",count:r[1]}}),{c(){e=A("span"),I(l.$$.fragment),this.h()},l(n){e=O(n,"SPAN",{class:!0});var a=N(e);E(l.$$.fragment,a),a.forEach(p),this.h()},h(){T(e,"class","font-semibold")},m(n,a){v(n,e,a),D(l,e,null),t=!0},p(n,a){const o={};a&2&&(o.count=n[1]),l.$set(o)},i(n){t||(h(l.$$.fragment,n),t=!0)},o(n){g(l.$$.fragment,n),t=!1},d(n){n&&p(e),C(l)}}}function Hl(r){let e,l;return e=new Jn({props:{testId:"bulk-cancel-button",disabled:r[3]||!r[7].length,$$slots:{default:[Xa]},$$scope:{ctx:r}}}),e.$on("click",Tf),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const a={};n&136&&(a.disabled=t[3]||!t[7].length),n&65536&&(a.$$scope={dirty:n,ctx:t}),e.$set(a)},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function Xa(r){let e=fe("workflows","request-cancellation")+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p:H,d(t){t&&p(l)}}}function zl(r){let e,l;return e=new Jn({props:{variant:"destructive",testId:"bulk-terminate-button",disabled:r[3],$$slots:{default:[xa]},$$scope:{ctx:r}}}),e.$on("click",If),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const a={};n&8&&(a.disabled=t[3]),n&65536&&(a.$$scope={dirty:n,ctx:t}),e.$set(a)},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function xa(r){let e=fe("workflows","terminate")+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p:H,d(t){t&&p(l)}}}function ei(r){let e,l,t,n,a,o;const s=[Za,Ja],i=[];function f(m,_){return m[6]?0:1}e=f(r),l=i[e]=s[e](r);let c=r[4]&&Hl(r),u=r[5]&&zl(r);return{c(){l.c(),t=L(),n=A("div"),c&&c.c(),a=L(),u&&u.c(),this.h()},l(m){l.l(m),t=R(m),n=O(m,"DIV",{class:!0});var _=N(n);c&&c.l(_),a=R(_),u&&u.l(_),_.forEach(p),this.h()},h(){T(n,"class","ml-4 inline-flex gap-2")},m(m,_){i[e].m(m,_),v(m,t,_),v(m,n,_),c&&c.m(n,null),S(n,a),u&&u.m(n,null),o=!0},p(m,[_]){let d=e;e=f(m),e===d?i[e].p(m,_):(X(),g(i[d],1,1,()=>{i[d]=null}),x(),l=i[e],l?l.p(m,_):(l=i[e]=s[e](m),l.c()),h(l,1),l.m(t.parentNode,t)),m[4]?c?(c.p(m,_),_&16&&h(c,1)):(c=Hl(m),c.c(),h(c,1),c.m(n,a)):c&&(X(),g(c,1,1,()=>{c=null}),x()),m[5]?u?(u.p(m,_),_&32&&h(u,1)):(u=zl(m),u.c(),h(u,1),u.m(n,null)):u&&(X(),g(u,1,1,()=>{u=null}),x())},i(m){o||(h(l),h(c),h(u),o=!0)},o(m){g(l),g(c),g(u),o=!1},d(m){i[e].d(m),m&&p(t),m&&p(n),c&&c.d(),u&&u.d()}}}function ti(r,e,l){let t,n,a,o,s,i,f,c,u,m;M(r,Be,k=>l(10,o=k)),M(r,Oe,k=>l(12,i=k)),M(r,Lt,k=>l(13,f=k)),M(r,rt,k=>l(14,c=k)),M(r,Ye,k=>l(6,u=k)),M(r,er,k=>l(7,m=k));var _;let{workflows:d}=e,$=zr();M(r,$,k=>l(11,s=k));let w,b;const W=()=>Ef(d);return r.$$set=k=>{"workflows"in k&&l(0,d=k.workflows)},r.$$.update=()=>{r.$$.dirty&24576&&l(1,w=c?f.count:f.totalCount),r.$$.dirty&4608&&l(2,b=l(9,_=i==null?void 0:i.length)!==null&&_!==void 0?_:0),r.$$.dirty&1024&&l(5,t=ir(o.data.settings)),r.$$.dirty&1024&&l(4,n=fr(o.data.settings)),r.$$.dirty&3072&&l(3,a=s.namespaceWriteDisabled(o.params.namespace))},[d,w,b,a,n,t,u,m,$,_,o,s,i,f,c,W]}class li extends se{constructor(e){super(),ae(this,e,ti,ei,ie,{workflows:0})}}function jl(r){let e,l,t=!r[3]&&Ql(r);return{c(){e=A("th"),t&&t.c(),this.h()},l(n){e=O(n,"TH",{class:!0});var a=N(e);t&&t.l(a),a.forEach(p),this.h()},h(){T(e,"class","batch-actions-checkbox-table-cell svelte-vgnnzh")},m(n,a){v(n,e,a),t&&t.m(e,null),l=!0},p(n,a){n[3]?t&&(X(),g(t,1,1,()=>{t=null}),x()):t?(t.p(n,a),a&8&&h(t,1)):(t=Ql(n),t.c(),h(t,1),t.m(e,null))},i(n){l||(h(t),l=!0)},o(n){g(t),l=!1},d(n){n&&p(e),t&&t.d()}}}function Ql(r){let e,l,t;function n(o){r[13](o)}let a={id:"select-visible-workflows","aria-label":"select all workflows",onDark:!0,hoverable:!0,indeterminate:r[5]};return r[7]!==void 0&&(a.checked=r[7]),e=new Yn({props:a}),me.push(()=>pe(e,"checked",n)),e.$on("change",r[9]),{c(){I(e.$$.fragment)},l(o){E(e.$$.fragment,o)},m(o,s){D(e,o,s),t=!0},p(o,s){const i={};s&32&&(i.indeterminate=o[5]),!l&&s&128&&(l=!0,i.checked=o[7],he(()=>l=!1)),e.$set(i)},i(o){t||(h(e.$$.fragment,o),t=!0)},o(o){g(e.$$.fragment,o),t=!1},d(o){C(e,o)}}}function ni(r){let e;const l=r[12].default,t=Ce(l,r,r[11],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,a){t&&t.m(n,a),e=!0},p(n,a){t&&t.p&&(!e||a&2048)&&Se(t,l,n,n[11],e?Ae(l,n[11],a,null):We(n[11]),null)},i(n){e||(h(t,n),e=!0)},o(n){g(t,n),e=!1},d(n){t&&t.d(n)}}}function ri(r){let e,l,t,n;return l=new li({props:{workflows:r[1]}}),{c(){e=A("th"),I(l.$$.fragment),this.h()},l(a){e=O(a,"TH",{class:!0,colspan:!0});var o=N(e);E(l.$$.fragment,o),o.forEach(p),this.h()},h(){T(e,"class","batch-actions-table-cell svelte-vgnnzh"),T(e,"colspan",t=r[2].length||1)},m(a,o){v(a,e,o),D(l,e,null),n=!0},p(a,o){const s={};o&2&&(s.workflows=a[1]),l.$set(s),(!n||o&4&&t!==(t=a[2].length||1))&&T(e,"colspan",t)},i(a){n||(h(l.$$.fragment,a),n=!0)},o(a){g(l.$$.fragment,a),n=!1},d(a){a&&p(e),C(l)}}}function Kl(r){let e,l,t;return l=new et({props:{"data-testid":"workflows-summary-table-configuration-button",icon:"vertical-ellipsis"}}),l.$on("click",function(){Tn(r[4])&&r[4].apply(this,arguments)}),{c(){e=A("th"),I(l.$$.fragment),this.h()},l(n){e=O(n,"TH",{class:!0});var a=N(e);E(l.$$.fragment,a),a.forEach(p),this.h()},h(){T(e,"class","configuration-button-table-cell svelte-vgnnzh")},m(n,a){v(n,e,a),D(l,e,null),t=!0},p(n,a){r=n},i(n){t||(h(l.$$.fragment,n),t=!0)},o(n){g(l.$$.fragment,n),t=!1},d(n){n&&p(e),C(l)}}}function oi(r){let e,l,t,n,a,o,s=r[0]&&r[6]&&jl(r);const i=[ri,ni],f=[];function c(m,_){return m[0]&&m[6]&&m[8]?0:1}t=c(r),n=f[t]=i[t](r);let u=!r[0]&&Kl(r);return{c(){e=A("tr"),s&&s.c(),l=L(),n.c(),a=L(),u&&u.c(),this.h()},l(m){e=O(m,"TR",{class:!0});var _=N(e);s&&s.l(_),l=R(_),n.l(_),a=R(_),u&&u.l(_),_.forEach(p),this.h()},h(){T(e,"class","workflows-summary-configurable-table-header-row svelte-vgnnzh"),te(e,"pinned",r[0])},m(m,_){v(m,e,_),s&&s.m(e,null),S(e,l),f[t].m(e,null),S(e,a),u&&u.m(e,null),o=!0},p(m,[_]){m[0]&&m[6]?s?(s.p(m,_),_&65&&h(s,1)):(s=jl(m),s.c(),h(s,1),s.m(e,l)):s&&(X(),g(s,1,1,()=>{s=null}),x());let d=t;t=c(m),t===d?f[t].p(m,_):(X(),g(f[d],1,1,()=>{f[d]=null}),x(),n=f[t],n?n.p(m,_):(n=f[t]=i[t](m),n.c()),h(n,1),n.m(e,a)),m[0]?u&&(X(),g(u,1,1,()=>{u=null}),x()):u?(u.p(m,_),_&1&&h(u,1)):(u=Kl(m),u.c(),h(u,1),u.m(e,null)),(!o||_&1)&&te(e,"pinned",m[0])},i(m){o||(h(s),h(n),h(u),o=!0)},o(m){g(s),g(n),g(u),o=!1},d(m){m&&p(e),s&&s.d(),f[t].d(),u&&u.d()}}}function si(r,e,l){let t,n,a,o,s;M(r,Oe,b=>l(10,n=b)),M(r,Qt,b=>l(6,a=b)),M(r,ct,b=>l(7,o=b)),M(r,xn,b=>l(8,s=b));let{$$slots:i={},$$scope:f}=e,{pinned:c=!1}=e,{workflows:u}=e,{pinnedColumns:m}=e,{empty:_}=e,{onClickConfigure:d=H}=e;const $=b=>{const{checked:W}=b.detail;Df(W,u)};function w(b){o=b,ct.set(o)}return r.$$set=b=>{"pinned"in b&&l(0,c=b.pinned),"workflows"in b&&l(1,u=b.workflows),"pinnedColumns"in b&&l(2,m=b.pinnedColumns),"empty"in b&&l(3,_=b.empty),"onClickConfigure"in b&&l(4,d=b.onClickConfigure),"$$scope"in b&&l(11,f=b.$$scope)},r.$$.update=()=>{r.$$.dirty&1026&&l(5,t=n.length>0&&n.lengthl(10,o=d)),M(r,de,d=>l(4,s=d)),M(r,Be,d=>l(8,i=d));let{attribute:f}=e,{workflow:c}=e,{filterOrCopyButtonsVisible:u=!1}=e;const m=()=>{const d=s.find(w=>w.attribute===f),$=()=>s.filter(w=>w.attribute!==f);if(d)le(de,s=[...$()],s);else{const w={attribute:f,value:t,conditional:"=",operator:"",parenthesis:""};le(de,s=[...$(),w],s)}Ke(i.url,s,o)},_=d=>d.attribute===f&&d.value===t;return r.$$set=d=>{"attribute"in d&&l(0,f=d.attribute),"workflow"in d&&l(6,c=d.workflow),"filterOrCopyButtonsVisible"in d&&l(1,u=d.filterOrCopyButtonsVisible)},r.$$.update=()=>{r.$$.dirty&65&&l(2,t=c[Ca[f]]),r.$$.dirty&256&&l(7,n=i.params.namespace),r.$$.dirty&192&&l(3,a=Mn({namespace:n,workflow:c.id,run:c.runId}))},[f,u,t,a,s,m,c,n,i,_]}class Yt extends se{constructor(e){super(),ae(this,e,ii,ai,ie,{attribute:0,workflow:6,filterOrCopyButtonsVisible:1})}}const Yl=(r,e=2)=>{if(!+r)return"0 Bytes";const l=1024,t=e<0?0:e,n=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],a=Math.floor(Math.log(r)/Math.log(l));return`${parseFloat((r/Math.pow(l,a)).toFixed(t))} ${n[a]}`};function fi(r){const e=r.slice(),l=e[0].searchAttributes.indexedFields[e[2]];return e[8]=l,e}function ui(r){let e,l,t,n,a;const o=[yi,vi,ki,wi,bi,$i,gi,hi,pi,di,_i,mi],s=[];function i(c,u){return u&5&&(l=null),c[2]==="Status"?0:c[2]==="End"?1:c[2]==="Start"?2:c[2]==="Task Queue"?3:c[2]==="Parent Namespace"?4:c[2]==="Parent Workflow ID"?5:c[2]==="History Size"?6:c[2]==="State Transitions"?7:c[2]==="Execution Time"?8:c[2]==="Execution Duration"?9:c[2]==="History Length"?10:(l==null&&(l=!!(Wr(c[2])&&Ar(c[0],c[2]))),l?11:-1)}function f(c,u){return u===11?fi(c):c}return~(t=i(r,-1))&&(n=s[t]=o[t](f(r,t))),{c(){e=A("td"),n&&n.c(),this.h()},l(c){e=O(c,"TD",{class:!0,"data-testid":!0});var u=N(e);n&&n.l(u),u.forEach(p),this.h()},h(){T(e,"class","workflows-summary-table-body-cell svelte-qupenl"),T(e,"data-testid","workflows-summary-table-body-cell")},m(c,u){v(c,e,u),~t&&s[t].m(e,null),a=!0},p(c,u){let m=t;t=i(c,u),t===m?~t&&s[t].p(f(c,t),u):(n&&(X(),g(s[m],1,1,()=>{s[m]=null}),x()),~t?(n=s[t],n?n.p(f(c,t),u):(n=s[t]=o[t](f(c,t)),n.c()),h(n,1),n.m(e,null)):n=null)},i(c){a||(h(n),a=!0)},o(c){g(n),a=!1},d(c){c&&p(e),~t&&s[t].d()}}}function ci(r){let e,l,t,n,a,o;const s=[Wi,Si,Ci],i=[];function f(c,u){return c[2]==="Type"?0:c[2]==="Workflow ID"?1:c[2]==="Run ID"?2:-1}return~(l=f(r))&&(t=i[l]=s[l](r)),{c(){e=A("td"),t&&t.c(),this.h()},l(c){e=O(c,"TD",{class:!0,"data-testid":!0});var u=N(e);t&&t.l(u),u.forEach(p),this.h()},h(){T(e,"class","workflows-summary-table-body-cell filterable svelte-qupenl"),T(e,"data-testid","workflows-summary-table-body-cell")},m(c,u){v(c,e,u),~l&&i[l].m(e,null),n=!0,a||(o=[oe(e,"mouseover",r[5]),oe(e,"focus",r[5]),oe(e,"mouseleave",r[6]),oe(e,"blur",r[6])],a=!0)},p(c,u){let m=l;l=f(c),l===m?~l&&i[l].p(c,u):(t&&(X(),g(i[m],1,1,()=>{i[m]=null}),x()),~l?(t=i[l],t?t.p(c,u):(t=i[l]=s[l](c),t.c()),h(t,1),t.m(e,null)):t=null)},i(c){n||(h(t),n=!0)},o(c){g(t),n=!1},d(c){c&&p(e),~l&&i[l].d(),a=!1,tt(o)}}}function mi(r){let e,l,t,n;const a=[Ei,Ii,Ti],o=[];function s(i,f){return i[4][i[2]]==="Datetime"&&typeof i[8]=="string"?0:i[4][i[2]]==="Bool"?1:2}return e=s(r),l=o[e]=a[e](r),{c(){l.c(),t=ne()},l(i){l.l(i),t=ne()},m(i,f){o[e].m(i,f),v(i,t,f),n=!0},p(i,f){let c=e;e=s(i),e===c?o[e].p(i,f):(X(),g(o[c],1,1,()=>{o[c]=null}),x(),l=o[e],l?l.p(i,f):(l=o[e]=a[e](i),l.c()),h(l,1),l.m(t.parentNode,t))},i(i){n||(h(l),n=!0)},o(i){g(l),n=!1},d(i){o[e].d(i),i&&p(t)}}}function _i(r){let e=(parseInt(r[0].historyEvents,10)>0?r[0].historyEvents:"")+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p(t,n){n&1&&e!==(e=(parseInt(t[0].historyEvents,10)>0?t[0].historyEvents:"")+"")&&ue(l,e)},i:H,o:H,d(t){t&&p(l)}}}function di(r){let e=ll({start:r[0].startTime,end:r[0].endTime})+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p(t,n){n&1&&e!==(e=ll({start:t[0].startTime,end:t[0].endTime})+"")&&ue(l,e)},i:H,o:H,d(t){t&&p(l)}}}function pi(r){let e=Qe(r[0].executionTime,r[3])+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p(t,n){n&9&&e!==(e=Qe(t[0].executionTime,t[3])+"")&&ue(l,e)},i:H,o:H,d(t){t&&p(l)}}}function hi(r){let e=(parseInt(r[0].stateTransitionCount,10)>0?r[0].stateTransitionCount:"")+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p(t,n){n&1&&e!==(e=(parseInt(t[0].stateTransitionCount,10)>0?t[0].stateTransitionCount:"")+"")&&ue(l,e)},i:H,o:H,d(t){t&&p(l)}}}function gi(r){let e=Yl(parseInt(r[0].historySizeBytes,10))+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p(t,n){n&1&&e!==(e=Yl(parseInt(t[0].historySizeBytes,10))+"")&&ue(l,e)},i:H,o:H,d(t){t&&p(l)}}}function $i(r){let e=(r[0].parent?r[0].parent.workflowId:"")+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p(t,n){n&1&&e!==(e=(t[0].parent?t[0].parent.workflowId:"")+"")&&ue(l,e)},i:H,o:H,d(t){t&&p(l)}}}function bi(r){let e=r[0].parentNamespaceId+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p(t,n){n&1&&e!==(e=t[0].parentNamespaceId+"")&&ue(l,e)},i:H,o:H,d(t){t&&p(l)}}}function wi(r){let e=r[0].taskQueue+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p(t,n){n&1&&e!==(e=t[0].taskQueue+"")&&ue(l,e)},i:H,o:H,d(t){t&&p(l)}}}function ki(r){let e=Qe(r[0].startTime,r[3])+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p(t,n){n&9&&e!==(e=Qe(t[0].startTime,t[3])+"")&&ue(l,e)},i:H,o:H,d(t){t&&p(l)}}}function vi(r){let e=Qe(r[0].endTime,r[3])+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p(t,n){n&9&&e!==(e=Qe(t[0].endTime,t[3])+"")&&ue(l,e)},i:H,o:H,d(t){t&&p(l)}}}function yi(r){let e,l;return e=new Wn({props:{status:r[0].status}}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const a={};n&1&&(a.status=t[0].status),e.$set(a)},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function Ti(r){let e=r[8]+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p(t,n){n&5&&e!==(e=t[8]+"")&&ue(l,e)},i:H,o:H,d(t){t&&p(l)}}}function Ii(r){let e,l;return e=new jr({props:{$$slots:{default:[Di]},$$scope:{ctx:r}}}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const a={};n&517&&(a.$$scope={dirty:n,ctx:t}),e.$set(a)},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function Ei(r){let e=Qe(r[8],r[3])+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p(t,n){n&13&&e!==(e=Qe(t[8],t[3])+"")&&ue(l,e)},i:H,o:H,d(t){t&&p(l)}}}function Di(r){let e=r[8]+"",l;return{c(){l=U(e)},l(t){l=q(t,e)},m(t,n){v(t,l,n)},p(t,n){n&5&&e!==(e=t[8]+"")&&ue(l,e)},d(t){t&&p(l)}}}function Ci(r){let e,l;return e=new Yt({props:{filterOrCopyButtonsVisible:r[1],attribute:"RunId",workflow:r[0]}}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const a={};n&2&&(a.filterOrCopyButtonsVisible=t[1]),n&1&&(a.workflow=t[0]),e.$set(a)},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function Si(r){let e,l;return e=new Yt({props:{filterOrCopyButtonsVisible:r[1],attribute:"WorkflowId",workflow:r[0]}}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const a={};n&2&&(a.filterOrCopyButtonsVisible=t[1]),n&1&&(a.workflow=t[0]),e.$set(a)},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function Wi(r){let e,l;return e=new Yt({props:{filterOrCopyButtonsVisible:r[1],attribute:"WorkflowType",workflow:r[0]}}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const a={};n&2&&(a.filterOrCopyButtonsVisible=t[1]),n&1&&(a.workflow=t[0]),e.$set(a)},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function Ai(r){let e,l,t,n;const a=[ci,ui],o=[];function s(i,f){return i[2]==="Run ID"||i[2]==="Workflow ID"||i[2]==="Type"?0:1}return e=s(r),l=o[e]=a[e](r),{c(){l.c(),t=ne()},l(i){l.l(i),t=ne()},m(i,f){o[e].m(i,f),v(i,t,f),n=!0},p(i,[f]){let c=e;e=s(i),e===c?o[e].p(i,f):(X(),g(o[c],1,1,()=>{o[c]=null}),x(),l=o[e],l?l.p(i,f):(l=o[e]=a[e](i),l.c()),h(l,1),l.m(t.parentNode,t))},i(i){n||(h(l),n=!0)},o(i){g(l),n=!1},d(i){o[e].d(i),i&&p(t)}}}function Oi(r,e,l){let t,n,a;M(r,ze,u=>l(3,n=u)),M(r,Sn,u=>l(4,a=u));let{column:o}=e,{workflow:s}=e,i=!1;const f=()=>l(1,i=!0),c=()=>l(1,i=!1);return r.$$set=u=>{"column"in u&&l(7,o=u.column),"workflow"in u&&l(0,s=u.workflow)},r.$$.update=()=>{r.$$.dirty&128&&l(2,{label:t}=o,t)},[s,i,t,n,a,f,c,o]}class Xn extends se{constructor(e){super(),ae(this,e,Oi,Ai,ie,{column:7,workflow:0})}}function Gl(r){let e,l,t,n,a;return l=new et({props:{disabled:r[5]===0,hoverable:!0,icon:"chevron-up","data-testid":"orderable-list-item-"+r[1]+"-move-up-button"}}),l.$on("click",r[13]),n=new et({props:{disabled:r[5]===r[6]-1,hoverable:!0,icon:"chevron-down","data-testid":"orderable-list-item-"+r[1]+"-move-down-button"}}),n.$on("click",r[14]),{c(){e=A("div"),I(l.$$.fragment),t=L(),I(n.$$.fragment),this.h()},l(o){e=O(o,"DIV",{class:!0});var s=N(e);E(l.$$.fragment,s),t=R(s),E(n.$$.fragment,s),s.forEach(p),this.h()},h(){T(e,"class","flex items-center")},m(o,s){v(o,e,s),D(l,e,null),S(e,t),D(n,e,null),a=!0},p(o,s){const i={};s&32&&(i.disabled=o[5]===0),s&2&&(i["data-testid"]="orderable-list-item-"+o[1]+"-move-up-button"),l.$set(i);const f={};s&96&&(f.disabled=o[5]===o[6]-1),s&2&&(f["data-testid"]="orderable-list-item-"+o[1]+"-move-down-button"),n.$set(f)},i(o){a||(h(l.$$.fragment,o),h(n.$$.fragment,o),a=!0)},o(o){g(l.$$.fragment,o),g(n.$$.fragment,o),a=!1},d(o){o&&p(e),C(l),C(n)}}}function Jl(r){let e,l,t,n;const a=[Bi,Ni],o=[];function s(i,f){return i[3]?0:1}return e=s(r),l=o[e]=a[e](r),{c(){l.c(),t=ne()},l(i){l.l(i),t=ne()},m(i,f){o[e].m(i,f),v(i,t,f),n=!0},p(i,f){let c=e;e=s(i),e===c?o[e].p(i,f):(X(),g(o[c],1,1,()=>{o[c]=null}),x(),l=o[e],l?l.p(i,f):(l=o[e]=a[e](i),l.c()),h(l,1),l.m(t.parentNode,t))},i(i){n||(h(l),n=!0)},o(i){g(l),n=!1},d(i){o[e].d(i),i&&p(t)}}}function Ni(r){let e,l;return e=new et({props:{hoverable:!0,icon:"pin","data-testid":"orderable-list-item-"+r[1]+"-pin-button"}}),e.$on("click",r[16]),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const a={};n&2&&(a["data-testid"]="orderable-list-item-"+t[1]+"-pin-button"),e.$set(a)},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function Bi(r){let e,l;return e=new et({props:{hoverable:!0,icon:"pin-filled","data-testid":"orderable-list-item-"+r[1]+"-unpin-button"}}),e.$on("click",r[15]),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const a={};n&2&&(a["data-testid"]="orderable-list-item-"+t[1]+"-unpin-button"),e.$set(a)},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function Zl(r){let e,l,t,n;const a=[Vi,Fi],o=[];function s(i,f){return i[0]?0:1}return e=s(r),l=o[e]=a[e](r),{c(){l.c(),t=ne()},l(i){l.l(i),t=ne()},m(i,f){o[e].m(i,f),v(i,t,f),n=!0},p(i,f){let c=e;e=s(i),e===c?o[e].p(i,f):(X(),g(o[c],1,1,()=>{o[c]=null}),x(),l=o[e],l?l.p(i,f):(l=o[e]=a[e](i),l.c()),h(l,1),l.m(t.parentNode,t))},i(i){n||(h(l),n=!0)},o(i){g(l),n=!1},d(i){o[e].d(i),i&&p(t)}}}function Fi(r){let e,l;return e=new et({props:{hoverable:!0,icon:"hyphen","data-testid":"orderable-list-item-"+r[1]+"-remove-button"}}),e.$on("click",r[18]),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const a={};n&2&&(a["data-testid"]="orderable-list-item-"+t[1]+"-remove-button"),e.$set(a)},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function Vi(r){let e,l;return e=new et({props:{hoverable:!0,icon:"add","data-testid":"orderable-list-item-"+r[1]+"-add-button"}}),e.$on("click",r[17]),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const a={};n&2&&(a["data-testid"]="orderable-list-item-"+t[1]+"-add-button"),e.$set(a)},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function Pi(r){let e,l,t,n,a,o,s,i,f,c,u,m,_,d=!r[0]&&!r[4]&&Gl(r),$=!r[0]&&!r[4]&&r[5]<=r[2]-1&&Jl(r),w=!r[4]&&Zl(r);return{c(){e=A("li"),l=A("div"),d&&d.c(),t=L(),n=U(r[1]),a=L(),$&&$.c(),o=L(),w&&w.c(),f=L(),c=A("hr"),this.h()},l(b){e=O(b,"LI",{draggable:!0,class:!0,"data-testid":!0});var W=N(e);l=O(W,"DIV",{class:!0});var k=N(l);d&&d.l(k),t=R(k),n=q(k,r[1]),a=R(k),$&&$.l(k),k.forEach(p),o=R(W),w&&w.l(W),W.forEach(p),f=R(b),c=O(b,"HR",{class:!0}),this.h()},h(){T(l,"class","flex flex-row items-center gap-2"),T(e,"draggable",s=!r[0]&&!r[4]),T(e,"class","orderable-item group svelte-1btkzzb"),T(e,"data-testid",i="orderable-list-item-"+r[1]),te(e,"readonly",r[4]),T(c,"class","svelte-1btkzzb")},m(b,W){v(b,e,W),S(e,l),d&&d.m(l,null),S(l,t),S(l,n),S(l,a),$&&$.m(l,null),S(e,o),w&&w.m(e,null),v(b,f,W),v(b,c,W),u=!0,m||(_=[oe(e,"dragstart",r[19]),oe(e,"drop",Xe(r[20])),oe(e,"dragenter",nt(Xe(r[10]))),oe(e,"dragleave",nt(Xe(r[11]))),oe(e,"dragover",nt(Xe(r[12])))],m=!0)},p(b,[W]){!b[0]&&!b[4]?d?(d.p(b,W),W&17&&h(d,1)):(d=Gl(b),d.c(),h(d,1),d.m(l,t)):d&&(X(),g(d,1,1,()=>{d=null}),x()),(!u||W&2)&&ue(n,b[1]),!b[0]&&!b[4]&&b[5]<=b[2]-1?$?($.p(b,W),W&53&&h($,1)):($=Jl(b),$.c(),h($,1),$.m(l,null)):$&&(X(),g($,1,1,()=>{$=null}),x()),b[4]?w&&(X(),g(w,1,1,()=>{w=null}),x()):w?(w.p(b,W),W&16&&h(w,1)):(w=Zl(b),w.c(),h(w,1),w.m(e,null)),(!u||W&17&&s!==(s=!b[0]&&!b[4]))&&T(e,"draggable",s),(!u||W&2&&i!==(i="orderable-list-item-"+b[1]))&&T(e,"data-testid",i),(!u||W&16)&&te(e,"readonly",b[4])},i(b){u||(h(d),h($),h(w),u=!0)},o(b){g(d),g($),g(w),u=!1},d(b){b&&p(e),d&&d.d(),$&&$.d(),w&&w.d(),b&&p(f),b&&p(c),m=!1,tt(_)}}}function Mi(r,e,l){const t=it();let{static:n=!1}=e,{label:a}=e,{maxPinnedItems:o=void 0}=e,{pinned:s=!1}=e,{readonly:i=!1}=e,{index:f=0}=e,{totalItems:c=0}=e;const u=(V,K)=>{n||i||(V.dataTransfer.setData("text/plain",K.toString()),V.dataTransfer.dropEffect="move")},m=(V,K)=>{V.currentTarget.classList.remove("dragging-over");const j=parseInt(V.dataTransfer.getData("text/plain"));t("moveItem",{from:j,to:K})},_=V=>V.currentTarget.classList.add("dragging-over"),d=V=>V.currentTarget.classList.remove("dragging-over");function $(V){Ze.call(this,r,V)}const w=()=>t("moveItem",{from:f,to:f-1}),b=()=>t("moveItem",{from:f,to:f+1}),W=()=>t("pinItem"),k=()=>t("pinItem"),y=()=>t("addItem"),B=()=>t("removeItem"),P=V=>u(V,f),Z=V=>m(V,f);return r.$$set=V=>{"static"in V&&l(0,n=V.static),"label"in V&&l(1,a=V.label),"maxPinnedItems"in V&&l(2,o=V.maxPinnedItems),"pinned"in V&&l(3,s=V.pinned),"readonly"in V&&l(4,i=V.readonly),"index"in V&&l(5,f=V.index),"totalItems"in V&&l(6,c=V.totalItems)},[n,a,o,s,i,f,c,t,u,m,_,d,$,w,b,W,k,y,B,P,Z]}class lt extends se{constructor(e){super(),ae(this,e,Mi,Pi,ie,{static:0,label:1,maxPinnedItems:2,pinned:3,readonly:4,index:5,totalItems:6})}}const Li=r=>({}),Xl=r=>({});function Ri(r){let e;return{c(){e=U("Items")},l(l){e=q(l,"Items")},m(l,t){v(l,e,t)},d(l){l&&p(e)}}}function Ui(r){let e,l;return e=new lt({props:{label:"No Items",pinned:!1}}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:H,i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function qi(r){let e,l,t,n,a;const o=r[1].heading,s=Ce(o,r,r[0],Xl),i=s||Ri(),f=r[1].default,c=Ce(f,r,r[0],null),u=c||Ui();return{c(){e=A("div"),l=A("h4"),i&&i.c(),t=L(),n=A("ol"),u&&u.c(),this.h()},l(m){e=O(m,"DIV",{class:!0});var _=N(e);l=O(_,"H4",{class:!0});var d=N(l);i&&i.l(d),d.forEach(p),t=R(_),n=O(_,"OL",{class:!0});var $=N(n);u&&u.l($),$.forEach(p),_.forEach(p),this.h()},h(){T(l,"class","orderable-heading svelte-cheqnz"),T(n,"class","orderable-list svelte-cheqnz"),T(e,"class","orderable-section svelte-cheqnz")},m(m,_){v(m,e,_),S(e,l),i&&i.m(l,null),S(e,t),S(e,n),u&&u.m(n,null),a=!0},p(m,[_]){s&&s.p&&(!a||_&1)&&Se(s,o,m,m[0],a?Ae(o,m[0],_,Li):We(m[0]),Xl),c&&c.p&&(!a||_&1)&&Se(c,f,m,m[0],a?Ae(f,m[0],_,null):We(m[0]),null)},i(m){a||(h(i,m),h(u,m),a=!0)},o(m){g(i,m),g(u,m),a=!1},d(m){m&&p(e),i&&i.d(m),u&&u.d(m)}}}function Hi(r,e,l){let{$$slots:t={},$$scope:n}=e;return r.$$set=a=>{"$$scope"in a&&l(0,n=a.$$scope)},[n,t]}let Ot=class extends se{constructor(e){super(),ae(this,e,Hi,qi,ie,{})}};function xl(r,e,l){const t=r.slice();return t[8]=e[l].label,t}function en(r,e,l){const t=r.slice();return t[8]=e[l].label,t}function tn(r,e,l){const t=r.slice();return t[8]=e[l].label,t[13]=e[l].pinned,t[15]=l,t}function ln(r){let e,l;return e=new lt({props:{readonly:!0,label:"No headings in view"}}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:H,i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function nn(r,e){let l,t,n;function a(){return e[4](e[8])}function o(){return e[5](e[8])}return t=new lt({props:{index:e[15],pinned:e[13],label:e[8],totalItems:e[0].length,maxPinnedItems:Hn}}),t.$on("moveItem",e[3]),t.$on("pinItem",a),t.$on("removeItem",o),{key:r,first:null,c(){l=ne(),I(t.$$.fragment),this.h()},l(s){l=ne(),E(t.$$.fragment,s),this.h()},h(){this.first=l},m(s,i){v(s,l,i),D(t,s,i),n=!0},p(s,i){e=s;const f={};i&1&&(f.index=e[15]),i&1&&(f.pinned=e[13]),i&1&&(f.label=e[8]),i&1&&(f.totalItems=e[0].length),t.$set(f)},i(s){n||(h(t.$$.fragment,s),n=!0)},o(s){g(t.$$.fragment,s),n=!1},d(s){s&&p(l),C(t,s)}}}function zi(r){let e=[],l=new Map,t,n,a=r[0];const o=i=>i[8];for(let i=0;i{s=null}),x()):(s=ln(),s.c(),h(s,1),s.m(t.parentNode,t)))},i(i){if(!n){for(let f=0;fg(n[s],1,1,()=>{n[s]=null});let o=null;return t.length||(o=rn()),{c(){for(let s=0;s{o=null}),x()):(o=rn(),o.c(),h(o,1),o.m(e.parentNode,e))}},i(s){if(!l){for(let i=0;ig(n[s],1,1,()=>{n[s]=null});let o=null;return t.length||(o=sn()),{c(){for(let s=0;s{o=null}),x()):(o=sn(),o.c(),h(o,1),o.m(e.parentNode,e))}},i(s){if(!l){for(let i=0;il(0,t=u)),M(r,qs,u=>l(1,n=u)),M(r,Hs,u=>l(2,a=u)),[t,n,a,u=>Qs(u.detail.from,u.detail.to),u=>Ks(u),u=>js(u),u=>Wl(u),u=>Wl(u)]}class Xi extends se{constructor(e){super(),ae(this,e,Zi,Ji,ie,{})}}function fn(r,e,l){const t=r.slice();return t[11]=e[l],t}function un(r,e,l){const t=r.slice();return t[8]=e[l],t}function cn(r,e,l){const t=r.slice();return t[8]=e[l],t}function mn(r,e,l){const t=r.slice();return t[11]=e[l],t}function _n(r,e,l){const t=r.slice();return t[8]=e[l],t}function dn(r,e,l){const t=r.slice();return t[8]=e[l],t}function pn(r){let e,l;return e=new Xn({props:{column:r[8],workflow:r[11]}}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const a={};n&8&&(a.column=t[8]),n&1&&(a.workflow=t[11]),e.$set(a)},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function xi(r){let e,l,t=r[3],n=[];for(let o=0;og(n[o],1,1,()=>{n[o]=null});return{c(){for(let o=0;og(n[o],1,1,()=>{n[o]=null});return{c(){for(let o=0;og(n[o],1,1,()=>{n[o]=null});return{c(){for(let o=0;og(n[o],1,1,()=>{n[o]=null});return{c(){for(let o=0;og(n[o],1,1,()=>{n[o]=null});return{c(){for(let o=0;og(n[o],1,1,()=>{n[o]=null});return{c(){for(let o=0;ol(7,o=u));let{workflows:s}=e,i=!1;const f=()=>{l(1,i=!0)},c=()=>{l(1,i=!1)};return r.$$set=u=>{"workflows"in u&&l(0,s=u.workflows)},r.$$.update=()=>{r.$$.dirty&129&&l(4,t=s.length===0||o.length===0),r.$$.dirty&128&&l(3,n=o.filter(u=>u.pinned)),r.$$.dirty&128&&l(2,a=o.filter(u=>!u.pinned))},[s,i,a,n,t,f,c,o]}class df extends se{constructor(e){super(),ae(this,e,_f,mf,ie,{workflows:0})}}function kn(r){let e,l,t,n,a,o;const s=[$f,gf,hf,pf],i=[];function f(c,u){return c[8]?0:c[1]?1:c[0]?2:3}return n=f(r),a=i[n]=s[n](r),{c(){e=A("div"),l=L(),t=A("p"),a.c(),this.h()},l(c){e=O(c,"DIV",{class:!0}),N(e).forEach(p),l=R(c),t=O(c,"P",{"data-testid":!0});var u=N(t);a.l(u),u.forEach(p),this.h()},h(){T(e,"class","h-1 w-1 rounded-full bg-gray-400"),T(t,"data-testid","workflow-count")},m(c,u){v(c,e,u),v(c,l,u),v(c,t,u),i[n].m(t,null),o=!0},p(c,u){let m=n;n=f(c),n===m?i[n].p(c,u):(X(),g(i[m],1,1,()=>{i[m]=null}),x(),a=i[n],a?a.p(c,u):(a=i[n]=s[n](c),a.c()),h(a,1),a.m(t,null))},i(c){o||(h(a),o=!0)},o(c){g(a),o=!1},d(c){c&&p(e),c&&p(l),c&&p(t),i[n].d()}}}function pf(r){let e,l;return e=new Te({props:{namespace:"workflows",key:"workflows-count",count:r[6].totalCount}}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const a={};n&64&&(a.count=t[6].totalCount),e.$set(a)},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function hf(r){let e,l;return e=new Te({props:{namespace:"workflows",key:"filtered-workflows-count",replace:{filtered:r[6].count,total:r[6].totalCount}}}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const a={};n&64&&(a.replace={filtered:t[6].count,total:t[6].totalCount}),e.$set(a)},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function gf(r){let e,l,t;return l=new Te({props:{namespace:"common",key:"filtering"}}),{c(){e=A("span"),I(l.$$.fragment),this.h()},l(n){e=O(n,"SPAN",{class:!0});var a=N(e);E(l.$$.fragment,a),a.forEach(p),this.h()},h(){T(e,"class","text-gray-400")},m(n,a){v(n,e,a),D(l,e,null),t=!0},p:H,i(n){t||(h(l.$$.fragment,n),t=!0)},o(n){g(l.$$.fragment,n),t=!1},d(n){n&&p(e),C(l)}}}function $f(r){let e,l,t;return l=new Te({props:{namespace:"common",key:"loading"}}),{c(){e=A("span"),I(l.$$.fragment),this.h()},l(n){e=O(n,"SPAN",{class:!0});var a=N(e);E(l.$$.fragment,a),a.forEach(p),this.h()},h(){T(e,"class","text-gray-400")},m(n,a){v(n,e,a),D(l,e,null),t=!0},p:H,i(n){t||(h(l.$$.fragment,n),t=!0)},o(n){g(l.$$.fragment,n),t=!1},d(n){n&&p(e),C(l)}}}function bf(r){let e,l;return e=new df({props:{workflows:r[29]}}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const a={};n&536870912&&(a.workflows=t[29]),e.$set(a)},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function wf(r){let e,l;return e=new Qo({}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function kf(r){let e,l;return e=new ys({}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function vf(r){var z;let e,l,t,n,a,o,s,i,f,c,u,m=r[2].params.namespace+"",_,d,$,w,b,W,k,y,B,P,Z,V={action:at.Terminate,actionableWorkflowsLength:r[5].length,query:r[3]};e=new Cl({props:V}),r[17](e),e.$on("confirm",r[11]);let K={action:at.Cancel,actionableWorkflowsLength:r[4].length,query:r[3]};t=new Cl({props:K}),r[18](t),t.$on("confirm",r[12]),i=new Te({props:{namespace:"workflows",key:"recent-workflows"}});let j=((z=r[6])==null?void 0:z.totalCount)>=0&&r[7]&&kn(r);return W=new we({props:{name:"retry",class:"h-8 w-8"}}),y=new Dn({props:{items:r[9],"aria-label":"recent workflows",$$slots:{"action-top-center":[kf,({visibleItems:F})=>({29:F}),({visibleItems:F})=>F?536870912:0],"action-top-left":[wf,({visibleItems:F})=>({29:F}),({visibleItems:F})=>F?536870912:0],default:[bf,({visibleItems:F})=>({29:F}),({visibleItems:F})=>F?536870912:0]},$$scope:{ctx:r}}}),{c(){I(e.$$.fragment),l=L(),I(t.$$.fragment),n=L(),a=A("header"),o=A("div"),s=A("h1"),I(i.$$.fragment),f=L(),c=A("div"),u=A("p"),_=U(m),d=L(),j&&j.c(),$=L(),w=A("div"),b=A("button"),I(W.$$.fragment),k=L(),I(y.$$.fragment),this.h()},l(F){E(e.$$.fragment,F),l=R(F),E(t.$$.fragment,F),n=R(F),a=O(F,"HEADER",{class:!0});var Y=N(a);o=O(Y,"DIV",{});var ee=N(o);s=O(ee,"H1",{class:!0,"data-cy":!0});var re=N(s);E(i.$$.fragment,re),re.forEach(p),f=R(ee),c=O(ee,"DIV",{class:!0});var _e=N(c);u=O(_e,"P",{"data-testid":!0});var ge=N(u);_=q(ge,m),ge.forEach(p),d=R(_e),j&&j.l(_e),_e.forEach(p),ee.forEach(p),$=R(Y),w=O(Y,"DIV",{});var ke=N(w);b=O(ke,"BUTTON",{"aria-label":!0,class:!0});var Fe=N(b);E(W.$$.fragment,Fe),Fe.forEach(p),ke.forEach(p),Y.forEach(p),k=R(F),E(y.$$.fragment,F),this.h()},h(){T(s,"class","text-2xl"),T(s,"data-cy","workflows-title"),T(u,"data-testid","namespace-name"),T(c,"class","flex items-center gap-2 text-sm"),T(b,"aria-label","retry workflows"),T(b,"class","cursor-pointer rounded-full p-1 hover:bg-gray-900 hover:text-white"),T(a,"class","mb-2 flex justify-between")},m(F,Y){D(e,F,Y),v(F,l,Y),D(t,F,Y),v(F,n,Y),v(F,a,Y),S(a,o),S(o,s),D(i,s,null),S(o,f),S(o,c),S(c,u),S(u,_),S(c,d),j&&j.m(c,null),S(a,$),S(a,w),S(w,b),D(W,b,null),v(F,k,Y),D(y,F,Y),B=!0,P||(Z=oe(b,"click",r[10]),P=!0)},p(F,[Y]){var ge;const ee={};Y&32&&(ee.actionableWorkflowsLength=F[5].length),Y&8&&(ee.query=F[3]),e.$set(ee);const re={};Y&16&&(re.actionableWorkflowsLength=F[4].length),Y&8&&(re.query=F[3]),t.$set(re),(!B||Y&4)&&m!==(m=F[2].params.namespace+"")&&ue(_,m),((ge=F[6])==null?void 0:ge.totalCount)>=0&&F[7]?j?(j.p(F,Y),Y&192&&h(j,1)):(j=kn(F),j.c(),h(j,1),j.m(c,null)):j&&(X(),g(j,1,1,()=>{j=null}),x());const _e={};Y&512&&(_e.items=F[9]),Y&1610612736&&(_e.$$scope={dirty:Y,ctx:F}),y.$set(_e)},i(F){B||(h(e.$$.fragment,F),h(t.$$.fragment,F),h(i.$$.fragment,F),h(j),h(W.$$.fragment,F),h(y.$$.fragment,F),B=!0)},o(F){g(e.$$.fragment,F),g(t.$$.fragment,F),g(i.$$.fragment,F),g(j),g(W.$$.fragment,F),g(y.$$.fragment,F),B=!1},d(F){r[17](null),C(e,F),F&&p(l),r[18](null),C(t,F),F&&p(n),F&&p(a),C(i),j&&j.d(),C(W),F&&p(k),C(y,F),P=!1,Z()}}}let qe,He;const Ye=Ut(!1),ct=Ut(!1),Oe=Ut([]),xn=ft(Oe,r=>r.length>0),yf=ft(Oe,r=>r.filter(e=>e.canBeTerminated)),er=ft(Oe,r=>r.filter(e=>e.status==="Running")),Tf=()=>{He.open()},If=()=>{qe.open()},Ef=r=>{Ye.set(!0),Oe.set([...r])},Df=(r,e)=>{ct.set(r),Ye&&Ye.set(!1),r?Oe.set([...e]):Oe.set([])};function Cf(r,e,l){let t,n,a,o,s,i,f=H,c,u=H,m,_,d=H,$,w,b,W,k=H,y,B=H,P,Z,V,K,j,z,F;M(r,Pt,J=>l(1,o=J)),M(r,rt,J=>l(14,s=J)),M(r,er,J=>l(4,i=J)),M(r,Ye,J=>l(19,c=J)),M(r,Be,J=>l(2,m=J)),M(r,yf,J=>l(5,_=J)),M(r,ye,J=>l(15,$=J)),M(r,de,J=>l(16,w=J)),M(r,st,J=>l(20,b=J)),M(r,Oe,J=>l(21,W=J)),M(r,ct,J=>l(22,y=J)),M(r,bt,J=>l(23,P=J)),M(r,Nt,J=>l(24,Z=J)),M(r,$t,J=>l(25,V=J)),M(r,Lt,J=>l(6,K=J)),M(r,mt,J=>l(7,j=J)),M(r,Mt,J=>l(8,z=J)),M(r,In,J=>l(9,F=J)),r.$$.on_destroy.push(()=>f()),r.$$.on_destroy.push(()=>u()),r.$$.on_destroy.push(()=>d()),r.$$.on_destroy.push(()=>k()),r.$$.on_destroy.push(()=>B());const Y=()=>{!t&&!w.length&&Z&&(le(de,w=[Z],w),Ke(m.url,w,$))};vn(()=>{le(bt,P=m.params.namespace,P),t&&le(de,w=Ln(t),w)});const ee=()=>{le(Ye,c=!1,c),le(ct,y=!1,y),le(Oe,W=[],W)},re=()=>{ee(),le(st,b=Date.now(),b)},_e=()=>{le(de,w=[],w),le(ye,$=[],$),ot({url:m.url,parameter:"query",value:"",allowEmpty:!0}),re()},ge=async J=>{var be;const Ee={namespace:m.params.namespace,reason:J.detail.reason};try{if(c)await Ds({...Ee,query:a}),ht.push({message:fe("workflows","batch-terminate-all-success"),id:"batch-terminate-success-toast"});else{const $e=await Es({...Ee,workflows:_});ht.push({message:fe("workflows","batch-terminate-success",{count:$e}),id:"batch-terminate-success-toast"})}qe==null||qe.close(),_e()}catch($e){qe==null||qe.setError((be=$e==null?void 0:$e.message)!==null&&be!==void 0?be:fe("unknown-error"))}},ke=async J=>{var be;const Ee={namespace:m.params.namespace,reason:J.detail.reason};try{if(c)await Ss({...Ee,query:a}),ht.push({message:fe("workflows","batch-cancel-all-success"),id:"batch-cancel-success-toast"});else{const $e=await Cs({...Ee,workflows:i});ht.push({message:fe("workflows","batch-cancel-success",{count:$e}),id:"batch-cancel-success-toast"})}He==null||He.close(),_e()}catch($e){He==null||He.setError((be=$e==null?void 0:$e.message)!==null&&be!==void 0?be:fe("unknown-error"))}};function Fe(J){me[J?"unshift":"push"](()=>{qe=J})}function Ie(J){me[J?"unshift":"push"](()=>{He=J})}return r.$$.update=()=>{r.$$.dirty&4&&l(0,t=m.url.searchParams.get("query")),r.$$.dirty&1&&t&&le(rt,s=t,s),r.$$.dirty&4&&l(13,n=m.url.searchParams.toString()),r.$$.dirty&8192&&le($t,V=n,V),r.$$.dirty&98304&&!w.length&&!$.length&&le(rt,s="",s),r.$$.dirty&4&&(m.params.namespace,Y()),r.$$.dirty&16384&&l(3,a=s||'ExecutionStatus="Running"'),r.$$.dirty&2&&o&&ee()},[t,o,m,a,i,_,K,j,z,F,re,ge,ke,n,s,$,w,Fe,Ie]}class Sf extends se{constructor(e){super(),ae(this,e,Cf,vf,ie,{})}}function Wf(r){let e,l;return e=new Sf({}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function Af(r){let e,l;return e=new Io({props:{slot:"fallback"}}),{c(){I(e.$$.fragment)},l(t){E(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:H,i(t){l||(h(e.$$.fragment,t),l=!0)},o(t){g(e.$$.fragment,t),l=!1},d(t){C(e,t)}}}function Of(r){let e,l,t,n;return e=new Sr({props:{title:`Workflows | ${r[0].params.namespace}`,url:r[0].url.href}}),t=new Ao({props:{$$slots:{fallback:[Af],default:[Wf]},$$scope:{ctx:r}}}),{c(){I(e.$$.fragment),l=L(),I(t.$$.fragment)},l(a){E(e.$$.fragment,a),l=R(a),E(t.$$.fragment,a)},m(a,o){D(e,a,o),v(a,l,o),D(t,a,o),n=!0},p(a,[o]){const s={};o&1&&(s.title=`Workflows | ${a[0].params.namespace}`),o&1&&(s.url=a[0].url.href),e.$set(s);const i={};o&2&&(i.$$scope={dirty:o,ctx:a}),t.$set(i)},i(a){n||(h(e.$$.fragment,a),h(t.$$.fragment,a),n=!0)},o(a){g(e.$$.fragment,a),g(t.$$.fragment,a),n=!1},d(a){C(e,a),a&&p(l),C(t,a)}}}function Nf(r,e,l){let t;return M(r,Be,n=>l(0,t=n)),[t]}class Iu extends se{constructor(e){super(),ae(this,e,Nf,Of,ie,{})}}export{Iu as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-page.svelte.21e80e49.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-page.svelte.21e80e49.js deleted file mode 100644 index bbd8d62a7e..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-page.svelte.21e80e49.js +++ /dev/null @@ -1 +0,0 @@ -import{S as Y,b as G,a as J,C as g,c as x,m as N,w as F,e as E,D as d,d as C,p as T,q as P,x as q,k as m,u as v,E as b,f as h,M as y,g as $,h as B,j as u,F as w,L as H,z as L,n as M,a7 as K,y as O}from"../chunks/index.d29c66be.js";import{n as S}from"../chunks/route-for.b4518ba8.js";import{p as Q}from"../chunks/stores.b938c0e3.js";import{n as R}from"../chunks/namespaces.52575875.js";import{E as U}from"../chunks/empty-state.bf113865.js";import{P as V}from"../chunks/page-title.ba38eecf.js";import{P as W}from"../chunks/pagination.15ad2803.js";import{T as X,a as Z}from"../chunks/table-header-row.a7bab5a4.js";import{T as ee}from"../chunks/table-row.4a68a50d.js";function j(f,t,r){const e=f.slice();return e[3]=t[r],e}function te(f){let t,r;return t=new U({props:{title:"No Namespaces Found",content:"You do not have access to a Namespace. Contact your Administrator for assistance."}}),{c(){g(t.$$.fragment)},l(e){d(t.$$.fragment,e)},m(e,a){b(t,e,a),r=!0},p:M,i(e){r||(u(t.$$.fragment,e),r=!0)},o(e){$(t.$$.fragment,e),r=!1},d(e){w(t,e)}}}function ae(f){let t,r;return t=new W({props:{items:f[1],"aria-label":"namespaces",$$slots:{default:[le,({visibleItems:e})=>({2:e}),({visibleItems:e})=>e?4:0]},$$scope:{ctx:f}}}),{c(){g(t.$$.fragment)},l(e){d(t.$$.fragment,e)},m(e,a){b(t,e,a),r=!0},p(e,a){const c={};a&2&&(c.items=e[1]),a&68&&(c.$$scope={dirty:a,ctx:e}),t.$set(c)},i(e){r||(u(t.$$.fragment,e),r=!0)},o(e){$(t.$$.fragment,e),r=!1},d(e){w(t,e)}}}function re(f){let t,r,e=f[3].namespaceInfo.name+"",a,c,s;return{c(){t=N("td"),r=N("a"),a=F(e),s=x(),this.h()},l(n){t=T(n,"TD",{});var o=P(t);r=T(o,"A",{href:!0,class:!0});var p=P(r);a=q(p,e),p.forEach(m),o.forEach(m),s=C(n),this.h()},h(){v(r,"href",c=S({namespace:f[3].namespaceInfo.name})),v(r,"class","hover:text-blue-700 hover:underline hover:decoration-blue-700")},m(n,o){h(n,t,o),y(t,r),y(r,a),h(n,s,o)},p(n,o){o&4&&e!==(e=n[3].namespaceInfo.name+"")&&O(a,e),o&4&&c!==(c=S({namespace:n[3].namespaceInfo.name}))&&v(r,"href",c)},d(n){n&&m(t),n&&m(s)}}}function z(f){let t,r;return t=new ee({props:{$$slots:{default:[re]},$$scope:{ctx:f}}}),{c(){g(t.$$.fragment)},l(e){d(t.$$.fragment,e)},m(e,a){b(t,e,a),r=!0},p(e,a){const c={};a&68&&(c.$$scope={dirty:a,ctx:e}),t.$set(c)},i(e){r||(u(t.$$.fragment,e),r=!0)},o(e){$(t.$$.fragment,e),r=!1},d(e){w(t,e)}}}function se(f){let t,r,e=f[2],a=[];for(let s=0;s$(a[s],1,1,()=>{a[s]=null});return{c(){for(let s=0;s0?0:1}return s=D(f),n=_[s]=A[s](f),{c(){g(t.$$.fragment),r=x(),e=N("h1"),a=F("Namespaces"),c=x(),n.c(),o=E(),this.h()},l(l){d(t.$$.fragment,l),r=C(l),e=T(l,"H1",{"data-testid":!0,class:!0});var i=P(e);a=q(i,"Namespaces"),i.forEach(m),c=C(l),n.l(l),o=E(),this.h()},h(){v(e,"data-testid","namespace-selector-title"),v(e,"class","mb-8 text-2xl")},m(l,i){b(t,l,i),h(l,r,i),h(l,e,i),y(e,a),h(l,c,i),_[s].m(l,i),h(l,o,i),p=!0},p(l,[i]){const k={};i&1&&(k.url=l[0].url.href),t.$set(k);let I=s;s=D(l),s===I?_[s].p(l,i):(L(),$(_[I],1,1,()=>{_[I]=null}),B(),n=_[s],n?n.p(l,i):(n=_[s]=A[s](l),n.c()),u(n,1),n.m(o.parentNode,o))},i(l){p||(u(t.$$.fragment,l),u(n),p=!0)},o(l){$(t.$$.fragment,l),$(n),p=!1},d(l){w(t,l),l&&m(r),l&&m(e),l&&m(c),_[s].d(l),l&&m(o)}}}function fe(f,t,r){let e,a;return H(f,Q,c=>r(0,e=c)),H(f,R,c=>r(1,a=c)),[e,a]}class be extends Y{constructor(t){super(),G(this,t,fe,ce,J,{})}}export{be as default}; diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-page.svelte.1c2491e8.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-page.svelte.22421bc2.js similarity index 96% rename from ui/assets/cloud/_app/immutable/entry/(app)-namespaces-page.svelte.1c2491e8.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-page.svelte.22421bc2.js index ede3892648..fb266c6840 100644 --- a/ui/assets/cloud/_app/immutable/entry/(app)-namespaces-page.svelte.1c2491e8.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-page.svelte.22421bc2.js @@ -1 +1 @@ -import{S as Y,b as G,a as J,C as g,c as x,m as N,w as F,e as E,D as d,d as C,p as T,q as P,x as q,k as m,u as v,E as b,f as h,M as y,g as $,h as B,j as u,F as w,L as H,z as L,n as M,a7 as K,y as O}from"../chunks/index.d29c66be.js";import{n as S}from"../chunks/route-for.5e008fb6.js";import{p as Q}from"../chunks/stores.1f7fa6eb.js";import{n as R}from"../chunks/namespaces.52575875.js";import{E as U}from"../chunks/empty-state.bf113865.js";import{P as V}from"../chunks/page-title.ba38eecf.js";import{P as W}from"../chunks/pagination.c0661e6a.js";import{T as X,a as Z}from"../chunks/table-header-row.a7bab5a4.js";import{T as ee}from"../chunks/table-row.4a68a50d.js";function j(f,t,r){const e=f.slice();return e[3]=t[r],e}function te(f){let t,r;return t=new U({props:{title:"No Namespaces Found",content:"You do not have access to a Namespace. Contact your Administrator for assistance."}}),{c(){g(t.$$.fragment)},l(e){d(t.$$.fragment,e)},m(e,a){b(t,e,a),r=!0},p:M,i(e){r||(u(t.$$.fragment,e),r=!0)},o(e){$(t.$$.fragment,e),r=!1},d(e){w(t,e)}}}function ae(f){let t,r;return t=new W({props:{items:f[1],"aria-label":"namespaces",$$slots:{default:[le,({visibleItems:e})=>({2:e}),({visibleItems:e})=>e?4:0]},$$scope:{ctx:f}}}),{c(){g(t.$$.fragment)},l(e){d(t.$$.fragment,e)},m(e,a){b(t,e,a),r=!0},p(e,a){const c={};a&2&&(c.items=e[1]),a&68&&(c.$$scope={dirty:a,ctx:e}),t.$set(c)},i(e){r||(u(t.$$.fragment,e),r=!0)},o(e){$(t.$$.fragment,e),r=!1},d(e){w(t,e)}}}function re(f){let t,r,e=f[3].namespaceInfo.name+"",a,c,s;return{c(){t=N("td"),r=N("a"),a=F(e),s=x(),this.h()},l(n){t=T(n,"TD",{});var o=P(t);r=T(o,"A",{href:!0,class:!0});var p=P(r);a=q(p,e),p.forEach(m),o.forEach(m),s=C(n),this.h()},h(){v(r,"href",c=S({namespace:f[3].namespaceInfo.name})),v(r,"class","hover:text-blue-700 hover:underline hover:decoration-blue-700")},m(n,o){h(n,t,o),y(t,r),y(r,a),h(n,s,o)},p(n,o){o&4&&e!==(e=n[3].namespaceInfo.name+"")&&O(a,e),o&4&&c!==(c=S({namespace:n[3].namespaceInfo.name}))&&v(r,"href",c)},d(n){n&&m(t),n&&m(s)}}}function z(f){let t,r;return t=new ee({props:{$$slots:{default:[re]},$$scope:{ctx:f}}}),{c(){g(t.$$.fragment)},l(e){d(t.$$.fragment,e)},m(e,a){b(t,e,a),r=!0},p(e,a){const c={};a&68&&(c.$$scope={dirty:a,ctx:e}),t.$set(c)},i(e){r||(u(t.$$.fragment,e),r=!0)},o(e){$(t.$$.fragment,e),r=!1},d(e){w(t,e)}}}function se(f){let t,r,e=f[2],a=[];for(let s=0;s$(a[s],1,1,()=>{a[s]=null});return{c(){for(let s=0;s0?0:1}return s=D(f),n=_[s]=A[s](f),{c(){g(t.$$.fragment),r=x(),e=N("h1"),a=F("Namespaces"),c=x(),n.c(),o=E(),this.h()},l(l){d(t.$$.fragment,l),r=C(l),e=T(l,"H1",{"data-testid":!0,class:!0});var i=P(e);a=q(i,"Namespaces"),i.forEach(m),c=C(l),n.l(l),o=E(),this.h()},h(){v(e,"data-testid","namespace-selector-title"),v(e,"class","mb-8 text-2xl")},m(l,i){b(t,l,i),h(l,r,i),h(l,e,i),y(e,a),h(l,c,i),_[s].m(l,i),h(l,o,i),p=!0},p(l,[i]){const k={};i&1&&(k.url=l[0].url.href),t.$set(k);let I=s;s=D(l),s===I?_[s].p(l,i):(L(),$(_[I],1,1,()=>{_[I]=null}),B(),n=_[s],n?n.p(l,i):(n=_[s]=A[s](l),n.c()),u(n,1),n.m(o.parentNode,o))},i(l){p||(u(t.$$.fragment,l),u(n),p=!0)},o(l){$(t.$$.fragment,l),$(n),p=!1},d(l){w(t,l),l&&m(r),l&&m(e),l&&m(c),_[s].d(l),l&&m(o)}}}function fe(f,t,r){let e,a;return H(f,Q,c=>r(0,e=c)),H(f,R,c=>r(1,a=c)),[e,a]}class be extends Y{constructor(t){super(),G(this,t,fe,ce,J,{})}}export{be as default}; +import{S as Y,b as G,a as J,C as g,c as x,m as N,w as F,e as E,D as d,d as C,p as T,q as P,x as q,k as m,u as v,E as b,f as h,M as y,g as $,h as B,j as u,F as w,L as H,z as L,n as M,a7 as K,y as O}from"../chunks/index.d29c66be.js";import{n as S}from"../chunks/route-for.3e9c6ff4.js";import{p as Q}from"../chunks/stores.8c019868.js";import{n as R}from"../chunks/namespaces.52575875.js";import{E as U}from"../chunks/empty-state.bf113865.js";import{P as V}from"../chunks/page-title.ba38eecf.js";import{P as W}from"../chunks/pagination.a8beaf3b.js";import{T as X,a as Z}from"../chunks/table-header-row.a7bab5a4.js";import{T as ee}from"../chunks/table-row.4a68a50d.js";function j(f,t,r){const e=f.slice();return e[3]=t[r],e}function te(f){let t,r;return t=new U({props:{title:"No Namespaces Found",content:"You do not have access to a Namespace. Contact your Administrator for assistance."}}),{c(){g(t.$$.fragment)},l(e){d(t.$$.fragment,e)},m(e,a){b(t,e,a),r=!0},p:M,i(e){r||(u(t.$$.fragment,e),r=!0)},o(e){$(t.$$.fragment,e),r=!1},d(e){w(t,e)}}}function ae(f){let t,r;return t=new W({props:{items:f[1],"aria-label":"namespaces",$$slots:{default:[le,({visibleItems:e})=>({2:e}),({visibleItems:e})=>e?4:0]},$$scope:{ctx:f}}}),{c(){g(t.$$.fragment)},l(e){d(t.$$.fragment,e)},m(e,a){b(t,e,a),r=!0},p(e,a){const c={};a&2&&(c.items=e[1]),a&68&&(c.$$scope={dirty:a,ctx:e}),t.$set(c)},i(e){r||(u(t.$$.fragment,e),r=!0)},o(e){$(t.$$.fragment,e),r=!1},d(e){w(t,e)}}}function re(f){let t,r,e=f[3].namespaceInfo.name+"",a,c,s;return{c(){t=N("td"),r=N("a"),a=F(e),s=x(),this.h()},l(n){t=T(n,"TD",{});var o=P(t);r=T(o,"A",{href:!0,class:!0});var p=P(r);a=q(p,e),p.forEach(m),o.forEach(m),s=C(n),this.h()},h(){v(r,"href",c=S({namespace:f[3].namespaceInfo.name})),v(r,"class","hover:text-blue-700 hover:underline hover:decoration-blue-700")},m(n,o){h(n,t,o),y(t,r),y(r,a),h(n,s,o)},p(n,o){o&4&&e!==(e=n[3].namespaceInfo.name+"")&&O(a,e),o&4&&c!==(c=S({namespace:n[3].namespaceInfo.name}))&&v(r,"href",c)},d(n){n&&m(t),n&&m(s)}}}function z(f){let t,r;return t=new ee({props:{$$slots:{default:[re]},$$scope:{ctx:f}}}),{c(){g(t.$$.fragment)},l(e){d(t.$$.fragment,e)},m(e,a){b(t,e,a),r=!0},p(e,a){const c={};a&68&&(c.$$scope={dirty:a,ctx:e}),t.$set(c)},i(e){r||(u(t.$$.fragment,e),r=!0)},o(e){$(t.$$.fragment,e),r=!1},d(e){w(t,e)}}}function se(f){let t,r,e=f[2],a=[];for(let s=0;s$(a[s],1,1,()=>{a[s]=null});return{c(){for(let s=0;s0?0:1}return s=D(f),n=_[s]=A[s](f),{c(){g(t.$$.fragment),r=x(),e=N("h1"),a=F("Namespaces"),c=x(),n.c(),o=E(),this.h()},l(l){d(t.$$.fragment,l),r=C(l),e=T(l,"H1",{"data-testid":!0,class:!0});var i=P(e);a=q(i,"Namespaces"),i.forEach(m),c=C(l),n.l(l),o=E(),this.h()},h(){v(e,"data-testid","namespace-selector-title"),v(e,"class","mb-8 text-2xl")},m(l,i){b(t,l,i),h(l,r,i),h(l,e,i),y(e,a),h(l,c,i),_[s].m(l,i),h(l,o,i),p=!0},p(l,[i]){const k={};i&1&&(k.url=l[0].url.href),t.$set(k);let I=s;s=D(l),s===I?_[s].p(l,i):(L(),$(_[I],1,1,()=>{_[I]=null}),B(),n=_[s],n?n.p(l,i):(n=_[s]=A[s](l),n.c()),u(n,1),n.m(o.parentNode,o))},i(l){p||(u(t.$$.fragment,l),u(n),p=!0)},o(l){$(t.$$.fragment,l),$(n),p=!1},d(l){w(t,l),l&&m(r),l&&m(e),l&&m(c),_[s].d(l),l&&m(o)}}}function fe(f,t,r){let e,a;return H(f,Q,c=>r(0,e=c)),H(f,R,c=>r(1,a=c)),[e,a]}class be extends Y{constructor(t){super(),G(this,t,fe,ce,J,{})}}export{be as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-page.svelte.4b600c94.js b/ui/assets/local/_app/immutable/entry/(app)-page.svelte.4b600c94.js deleted file mode 100644 index e1ef743342..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-page.svelte.4b600c94.js +++ /dev/null @@ -1 +0,0 @@ -import{S as f,b as u,a as l,C as p,D as d,E as g,n as _,j as h,g as $,F as w,L as F,o as N}from"../chunks/index.d29c66be.js";import{g as s}from"../chunks/navigation.9ceca11e.js";import{d as b}from"../chunks/workflow-service.43d562ed.js";import{l as x}from"../chunks/namespaces.52575875.js";import{L as y}from"../chunks/loading.9b5a6a67.js";import{r as L,l as m}from"../chunks/route-for.b4518ba8.js";function S(r){let a,e;return a=new y({}),{c(){p(a.$$.fragment)},l(t){d(a.$$.fragment,t)},m(t,n){g(a,t,n),e=!0},p:_,i(t){e||(h(a.$$.fragment,t),e=!0)},o(t){$(a.$$.fragment,t),e=!1},d(t){w(a,t)}}}function k(r,a,e){let t;F(r,x,o=>e(1,t=o));let{data:n}=a,{defaultNamespace:i}=n;const c=t&&t!=="default"?t:i;return N(async()=>{try{const{authorized:o}=await b(c);o?s(L({namespace:c})):s(m())}catch{s(m())}}),r.$$set=o=>{"data"in o&&e(0,n=o.data)},[n]}class A extends f{constructor(a){super(),u(this,a,k,S,l,{data:0})}}export{A as default}; diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-page.svelte.abce0fee.js b/ui/assets/local/_app/immutable/entry/(app)-page.svelte.4c5b11b2.js similarity index 79% rename from ui/assets/cloud/_app/immutable/entry/(app)-page.svelte.abce0fee.js rename to ui/assets/local/_app/immutable/entry/(app)-page.svelte.4c5b11b2.js index 4cc405d343..c55c144bd4 100644 --- a/ui/assets/cloud/_app/immutable/entry/(app)-page.svelte.abce0fee.js +++ b/ui/assets/local/_app/immutable/entry/(app)-page.svelte.4c5b11b2.js @@ -1 +1 @@ -import{S as f,b as u,a as l,C as p,D as d,E as g,n as _,j as h,g as $,F as w,L as F,o as N}from"../chunks/index.d29c66be.js";import{g as s}from"../chunks/navigation.529c81bc.js";import{d as b}from"../chunks/workflow-service.22d7ee79.js";import{l as x}from"../chunks/namespaces.52575875.js";import{L as y}from"../chunks/loading.9b5a6a67.js";import{r as L,l as m}from"../chunks/route-for.5e008fb6.js";function S(r){let a,e;return a=new y({}),{c(){p(a.$$.fragment)},l(t){d(a.$$.fragment,t)},m(t,n){g(a,t,n),e=!0},p:_,i(t){e||(h(a.$$.fragment,t),e=!0)},o(t){$(a.$$.fragment,t),e=!1},d(t){w(a,t)}}}function k(r,a,e){let t;F(r,x,o=>e(1,t=o));let{data:n}=a,{defaultNamespace:i}=n;const c=t&&t!=="default"?t:i;return N(async()=>{try{const{authorized:o}=await b(c);o?s(L({namespace:c})):s(m())}catch{s(m())}}),r.$$set=o=>{"data"in o&&e(0,n=o.data)},[n]}class A extends f{constructor(a){super(),u(this,a,k,S,l,{data:0})}}export{A as default}; +import{S as f,b as u,a as l,C as p,D as d,E as g,n as _,j as h,g as $,F as w,L as F,o as N}from"../chunks/index.d29c66be.js";import{g as s}from"../chunks/navigation.e41eebee.js";import{d as b}from"../chunks/workflow-service.5b743be0.js";import{l as x}from"../chunks/namespaces.52575875.js";import{L as y}from"../chunks/loading.9b5a6a67.js";import{r as L,l as m}from"../chunks/route-for.3e9c6ff4.js";function S(r){let a,e;return a=new y({}),{c(){p(a.$$.fragment)},l(t){d(a.$$.fragment,t)},m(t,n){g(a,t,n),e=!0},p:_,i(t){e||(h(a.$$.fragment,t),e=!0)},o(t){$(a.$$.fragment,t),e=!1},d(t){w(a,t)}}}function k(r,a,e){let t;F(r,x,o=>e(1,t=o));let{data:n}=a,{defaultNamespace:i}=n;const c=t&&t!=="default"?t:i;return N(async()=>{try{const{authorized:o}=await b(c);o?s(L({namespace:c})):s(m())}catch{s(m())}}),r.$$set=o=>{"data"in o&&e(0,n=o.data)},[n]}class A extends f{constructor(a){super(),u(this,a,k,S,l,{data:0})}}export{A as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-page.ts.0ec5683b.js b/ui/assets/local/_app/immutable/entry/(app)-page.ts.0ec5683b.js new file mode 100644 index 0000000000..6eee207c81 --- /dev/null +++ b/ui/assets/local/_app/immutable/entry/(app)-page.ts.0ec5683b.js @@ -0,0 +1 @@ +import"../chunks/index.b1f5b21f.js";import"../chunks/route-for.3e9c6ff4.js";import{l as t}from"../chunks/_page.0c8248fb.js";export{t as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-page.ts.1891b7f0.js b/ui/assets/local/_app/immutable/entry/(app)-page.ts.1891b7f0.js deleted file mode 100644 index 68f3e088a3..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-page.ts.1891b7f0.js +++ /dev/null @@ -1 +0,0 @@ -import"../chunks/index.b1f5b21f.js";import"../chunks/route-for.b4518ba8.js";import{l as t}from"../chunks/_page.30b46e3a.js";export{t as load}; diff --git a/ui/assets/cloud/_app/immutable/entry/(app)-select-namespace-page.svelte.5c70abb3.js b/ui/assets/local/_app/immutable/entry/(app)-select-namespace-page.svelte.bd1ca2bc.js similarity index 97% rename from ui/assets/cloud/_app/immutable/entry/(app)-select-namespace-page.svelte.5c70abb3.js rename to ui/assets/local/_app/immutable/entry/(app)-select-namespace-page.svelte.bd1ca2bc.js index f2d634ba42..47a143d74b 100644 --- a/ui/assets/cloud/_app/immutable/entry/(app)-select-namespace-page.svelte.5c70abb3.js +++ b/ui/assets/local/_app/immutable/entry/(app)-select-namespace-page.svelte.bd1ca2bc.js @@ -1 +1 @@ -import{S as pe,b as ge,a as de,m as S,p as V,q as U,k,v as q,av as le,$ as ke,f as B,M as b,am as we,U as $,z as se,a1 as ye,a2 as Ee,h as ae,j as z,g as A,o as Te,G as Le,c as O,d as F,H as Ne,I as Ie,J as Se,t as ee,A as oe,w as G,x as J,C as Q,D as Y,u as E,E as K,a8 as ie,W as Ve,F as X,r as He,L as te,_ as Ue,Q as We,n as ve,e as ce,T as x,y as ze}from"../chunks/index.d29c66be.js";import{g as Ae}from"../chunks/navigation.529c81bc.js";import{p as Ce}from"../chunks/stores.1f7fa6eb.js";import{l as ue,n as Me}from"../chunks/namespaces.52575875.js";import{r as Pe}from"../chunks/route-for.5e008fb6.js";import{E as be}from"../chunks/empty-state.bf113865.js";import{I as Re}from"../chunks/icon.5aa23970.js";import{P as Oe}from"../chunks/page-title.ba38eecf.js";import{d as Fe}from"../chunks/workflow-service.22d7ee79.js";import{t as Be}from"../chunks/toaster.fda31b2d.js";function _e(s,e,t){const l=s.slice();return l[23]=e[t],l}const De=s=>({item:s&16}),fe=s=>({item:s[23].data});function qe(s){let e;return{c(){e=G("Missing template")},l(t){e=J(t,"Missing template")},m(t,l){B(t,e,l)},d(t){t&&k(e)}}}function he(s,e){let t,l,n;const h=e[14].default,_=Le(h,e,e[13],fe),u=_||qe();return{key:s,first:null,c(){t=S("svelte-virtual-list-row"),u&&u.c(),l=O(),this.h()},l(a){t=V(a,"SVELTE-VIRTUAL-LIST-ROW",{class:!0});var r=U(t);u&&u.l(r),l=F(r),r.forEach(k),this.h()},h(){le(t,"class","svelte-1kdxoed"),this.first=t},m(a,r){B(a,t,r),u&&u.m(t,null),b(t,l),n=!0},p(a,r){e=a,_&&_.p&&(!n||r&8208)&&Ne(_,h,e,e[13],n?Se(h,e[13],r,De):Ie(e[13]),fe)},i(a){n||(z(u,a),n=!0)},o(a){A(u,a),n=!1},d(a){a&&k(t),u&&u.d(a)}}}function je(s){let e,t,l=[],n=new Map,h,_,u,a,r=s[4];const m=i=>i[23].index;for(let i=0;is[17].call(e))},m(i,o){B(i,e,o),b(e,t);for(let c=0;cp){t(8,a=L),t(5,w=f);break}f+=v,L+=1}for(;Lp+g)););t(9,r=L);const d=h.length-r;for(y=f/r;L{i=c.getElementsByTagName("svelte-virtual-list-row"),t(12,P=!0)});function D(p){oe[p?"unshift":"push"](()=>{c=p,t(3,c)})}function j(p){oe[p?"unshift":"push"](()=>{o=p,t(2,o)})}function Z(){g=this.offsetHeight,t(1,g)}return s.$$set=p=>{"items"in p&&t(10,h=p.items),"height"in p&&t(0,_=p.height),"itemHeight"in p&&t(11,u=p.itemHeight),"start"in p&&t(8,a=p.start),"end"in p&&t(9,r=p.end),"$$scope"in p&&t(13,n=p.$$scope)},s.$$.update=()=>{s.$$.dirty&1792&&t(4,M=h.slice(a,r).map((p,T)=>({index:T+a,data:p}))),s.$$.dirty&7170&&P&&N(h,g,u)},[_,g,o,c,M,w,R,I,a,r,h,u,P,n,l,D,j,Z]}class Je extends pe{constructor(e){super(),ge(this,e,Ge,je,de,{items:10,height:0,itemHeight:11,start:8,end:9})}}function me(s){const e=s[10]===s[2][0];s[11]=e;const t=s[10]===s[2][s[2].length-1];s[12]=t}function Qe(s){let e,t;return e=new be({props:{title:"No Namespaces. Contact your admin to create one."}}),{c(){Q(e.$$.fragment)},l(l){Y(e.$$.fragment,l)},m(l,n){K(e,l,n),t=!0},p:ve,i(l){t||(z(e.$$.fragment,l),t=!0)},o(l){A(e.$$.fragment,l),t=!1},d(l){X(e,l)}}}function Ye(s){let e,t,l,n;const h=[Xe,Ke],_=[];function u(a,r){return a[2].length?0:1}return e=u(s),t=_[e]=h[e](s),{c(){t.c(),l=ce()},l(a){t.l(a),l=ce()},m(a,r){_[e].m(a,r),B(a,l,r),n=!0},p(a,r){let m=e;e=u(a),e===m?_[e].p(a,r):(se(),A(_[m],1,1,()=>{_[m]=null}),ae(),t=_[e],t?t.p(a,r):(t=_[e]=h[e](a),t.c()),z(t,1),t.m(l.parentNode,l))},i(a){n||(z(t),n=!0)},o(a){A(t),n=!1},d(a){_[e].d(a),a&&k(l)}}}function Ke(s){let e,t;return e=new be({props:{title:"No results."}}),{c(){Q(e.$$.fragment)},l(l){Y(e.$$.fragment,l)},m(l,n){K(e,l,n),t=!0},p:ve,i(l){t||(z(e.$$.fragment,l),t=!0)},o(l){A(e.$$.fragment,l),t=!1},d(l){X(e,l)}}}function Xe(s){let e,t;return e=new Je({props:{items:s[2],itemHeight:50,$$slots:{default:[Ze,({item:l})=>({10:l}),({item:l})=>l?1024:0]},$$scope:{ctx:s}}}),{c(){Q(e.$$.fragment)},l(l){Y(e.$$.fragment,l)},m(l,n){K(e,l,n),t=!0},p(l,n){const h={};n&4&&(h.items=l[2]),n&9220&&(h.$$scope={dirty:n,ctx:l}),e.$set(h)},i(l){t||(z(e.$$.fragment,l),t=!0)},o(l){A(e.$$.fragment,l),t=!1},d(l){X(e,l)}}}function Ze(s){me(s);let e,t,l=s[10].namespace+"",n,h,_;function u(){return s[8](s[10])}return{c(){e=S("li"),t=S("button"),n=G(l),this.h()},l(a){e=V(a,"LI",{class:!0});var r=U(e);t=V(r,"BUTTON",{class:!0});var m=U(t);n=J(m,l),m.forEach(k),r.forEach(k),this.h()},h(){E(t,"class","w-full p-3 text-left"),E(e,"class","link-item svelte-8ihh0f"),x(e,"first",s[11]),x(e,"last",s[12])},m(a,r){B(a,e,r),b(e,t),b(t,n),h||(_=$(t,"click",u),h=!0)},p(a,r){s=a,me(s),r&1024&&l!==(l=s[10].namespace+"")&&ze(n,l),r&1028&&x(e,"first",s[11]),r&1028&&x(e,"last",s[12])},d(a){a&&k(e),h=!1,_()}}}function xe(s){let e,t,l,n,h,_,u,a,r,m,i,o,c,g,M,P,w,R,y,N,I,D,j,Z;e=new Oe({props:{title:"Select Namespace",url:s[3].url.href}}),o=new Re({props:{name:"search"}});const p=[Ye,Qe],T=[];function L(f,d){return f[1].length?0:1}return N=L(s),I=T[N]=p[N](s),{c(){Q(e.$$.fragment),t=O(),l=S("div"),n=S("h1"),h=G("Welcome to Temporal"),_=O(),u=S("p"),a=G("Select a Namespace to get started."),r=O(),m=S("form"),i=S("div"),Q(o.$$.fragment),c=O(),g=S("label"),M=G("Search Namespaces"),P=O(),w=S("input"),R=O(),y=S("ul"),I.c(),this.h()},l(f){Y(e.$$.fragment,f),t=F(f),l=V(f,"DIV",{class:!0});var d=U(l);n=V(d,"H1",{class:!0});var v=U(n);h=J(v,"Welcome to Temporal"),v.forEach(k),_=F(d),u=V(d,"P",{class:!0});var W=U(u);a=J(W,"Select a Namespace to get started."),W.forEach(k),r=F(d),m=V(d,"FORM",{class:!0,role:!0});var H=U(m);i=V(H,"DIV",{class:!0});var C=U(i);Y(o.$$.fragment,C),C.forEach(k),c=F(H),g=V(H,"LABEL",{class:!0,for:!0});var re=U(g);M=J(re,"Search Namespaces"),re.forEach(k),P=F(H),w=V(H,"INPUT",{class:!0,placeholder:!0,type:!0,id:!0}),H.forEach(k),R=F(d),y=V(d,"UL",{class:!0,"aria-label":!0});var ne=U(y);I.l(ne),ne.forEach(k),d.forEach(k),this.h()},h(){E(n,"class","my-4 text-3xl"),E(u,"class","mb-8"),E(i,"class","ml-4 mr-2"),E(g,"class","sr-only"),E(g,"for","search-namespaces"),E(w,"class","w-full"),E(w,"placeholder","Search"),E(w,"type","search"),E(w,"id","search-namespaces"),E(m,"class","search svelte-8ihh0f"),E(m,"role","search"),E(y,"class","h-screen w-full"),E(y,"aria-label","namespaces"),E(l,"class","w-full p-8 xl:w-1/2")},m(f,d){K(e,f,d),B(f,t,d),B(f,l,d),b(l,n),b(n,h),b(l,_),b(l,u),b(u,a),b(l,r),b(l,m),b(m,i),K(o,i,null),b(m,c),b(m,g),b(g,M),b(m,P),b(m,w),ie(w,s[0]),b(l,R),b(l,y),T[N].m(y,null),D=!0,j||(Z=[$(w,"keydown",Ve(s[6])),$(w,"input",s[7])],j=!0)},p(f,[d]){const v={};d&8&&(v.url=f[3].url.href),e.$set(v),d&1&&ie(w,f[0]);let W=N;N=L(f),N===W?T[N].p(f,d):(se(),A(T[W],1,1,()=>{T[W]=null}),ae(),I=T[N],I?I.p(f,d):(I=T[N]=p[N](f),I.c()),z(I,1),I.m(y,null))},i(f){D||(z(e.$$.fragment,f),z(o.$$.fragment,f),z(I),D=!0)},o(f){A(e.$$.fragment,f),A(o.$$.fragment,f),A(I),D=!1},d(f){X(e,f),f&&k(t),f&&k(l),X(o),T[N].d(),j=!1,He(Z)}}}function $e(s,e,t){let l,n,h,_,u,a;te(s,ue,c=>t(9,_=c)),te(s,Me,c=>t(5,u=c)),te(s,Ce,c=>t(3,a=c));let r="";function m(c){We.call(this,s,c)}function i(){r=this.value,t(0,r)}const o=c=>c==null?void 0:c.onClick(c.namespace);return s.$$.update=()=>{s.$$.dirty&32&&t(4,l=u.map(c=>{var g;return(g=c==null?void 0:c.namespaceInfo)===null||g===void 0?void 0:g.name})),s.$$.dirty&16&&t(1,n=l.map(c=>({namespace:c,onClick:async g=>{const{authorized:M}=await Fe(g);M?(Ue(ue,_=g,_),Ae(Pe({namespace:g}))):Be.push({variant:"error",message:"You do not have access to this namespace."})}}))),s.$$.dirty&3&&t(2,h=n.filter(({namespace:c})=>c.includes(r)))},[r,n,h,a,l,u,m,i,o]}class ut extends pe{constructor(e){super(),ge(this,e,$e,xe,de,{})}}export{ut as default}; +import{S as pe,b as ge,a as de,m as S,p as V,q as U,k,v as q,av as le,$ as ke,f as B,M as b,am as we,U as $,z as se,a1 as ye,a2 as Ee,h as ae,j as z,g as A,o as Te,G as Le,c as O,d as F,H as Ne,I as Ie,J as Se,t as ee,A as oe,w as G,x as J,C as Q,D as Y,u as E,E as K,a8 as ie,W as Ve,F as X,r as He,L as te,_ as Ue,Q as We,n as ve,e as ce,T as x,y as ze}from"../chunks/index.d29c66be.js";import{g as Ae}from"../chunks/navigation.e41eebee.js";import{p as Ce}from"../chunks/stores.8c019868.js";import{l as ue,n as Me}from"../chunks/namespaces.52575875.js";import{r as Pe}from"../chunks/route-for.3e9c6ff4.js";import{E as be}from"../chunks/empty-state.bf113865.js";import{I as Re}from"../chunks/icon.5aa23970.js";import{P as Oe}from"../chunks/page-title.ba38eecf.js";import{d as Fe}from"../chunks/workflow-service.5b743be0.js";import{t as Be}from"../chunks/toaster.fda31b2d.js";function _e(s,e,t){const l=s.slice();return l[23]=e[t],l}const De=s=>({item:s&16}),fe=s=>({item:s[23].data});function qe(s){let e;return{c(){e=G("Missing template")},l(t){e=J(t,"Missing template")},m(t,l){B(t,e,l)},d(t){t&&k(e)}}}function he(s,e){let t,l,n;const h=e[14].default,_=Le(h,e,e[13],fe),u=_||qe();return{key:s,first:null,c(){t=S("svelte-virtual-list-row"),u&&u.c(),l=O(),this.h()},l(a){t=V(a,"SVELTE-VIRTUAL-LIST-ROW",{class:!0});var r=U(t);u&&u.l(r),l=F(r),r.forEach(k),this.h()},h(){le(t,"class","svelte-1kdxoed"),this.first=t},m(a,r){B(a,t,r),u&&u.m(t,null),b(t,l),n=!0},p(a,r){e=a,_&&_.p&&(!n||r&8208)&&Ne(_,h,e,e[13],n?Se(h,e[13],r,De):Ie(e[13]),fe)},i(a){n||(z(u,a),n=!0)},o(a){A(u,a),n=!1},d(a){a&&k(t),u&&u.d(a)}}}function je(s){let e,t,l=[],n=new Map,h,_,u,a,r=s[4];const m=i=>i[23].index;for(let i=0;is[17].call(e))},m(i,o){B(i,e,o),b(e,t);for(let c=0;cp){t(8,a=L),t(5,w=f);break}f+=v,L+=1}for(;Lp+g)););t(9,r=L);const d=h.length-r;for(y=f/r;L{i=c.getElementsByTagName("svelte-virtual-list-row"),t(12,P=!0)});function D(p){oe[p?"unshift":"push"](()=>{c=p,t(3,c)})}function j(p){oe[p?"unshift":"push"](()=>{o=p,t(2,o)})}function Z(){g=this.offsetHeight,t(1,g)}return s.$$set=p=>{"items"in p&&t(10,h=p.items),"height"in p&&t(0,_=p.height),"itemHeight"in p&&t(11,u=p.itemHeight),"start"in p&&t(8,a=p.start),"end"in p&&t(9,r=p.end),"$$scope"in p&&t(13,n=p.$$scope)},s.$$.update=()=>{s.$$.dirty&1792&&t(4,M=h.slice(a,r).map((p,T)=>({index:T+a,data:p}))),s.$$.dirty&7170&&P&&N(h,g,u)},[_,g,o,c,M,w,R,I,a,r,h,u,P,n,l,D,j,Z]}class Je extends pe{constructor(e){super(),ge(this,e,Ge,je,de,{items:10,height:0,itemHeight:11,start:8,end:9})}}function me(s){const e=s[10]===s[2][0];s[11]=e;const t=s[10]===s[2][s[2].length-1];s[12]=t}function Qe(s){let e,t;return e=new be({props:{title:"No Namespaces. Contact your admin to create one."}}),{c(){Q(e.$$.fragment)},l(l){Y(e.$$.fragment,l)},m(l,n){K(e,l,n),t=!0},p:ve,i(l){t||(z(e.$$.fragment,l),t=!0)},o(l){A(e.$$.fragment,l),t=!1},d(l){X(e,l)}}}function Ye(s){let e,t,l,n;const h=[Xe,Ke],_=[];function u(a,r){return a[2].length?0:1}return e=u(s),t=_[e]=h[e](s),{c(){t.c(),l=ce()},l(a){t.l(a),l=ce()},m(a,r){_[e].m(a,r),B(a,l,r),n=!0},p(a,r){let m=e;e=u(a),e===m?_[e].p(a,r):(se(),A(_[m],1,1,()=>{_[m]=null}),ae(),t=_[e],t?t.p(a,r):(t=_[e]=h[e](a),t.c()),z(t,1),t.m(l.parentNode,l))},i(a){n||(z(t),n=!0)},o(a){A(t),n=!1},d(a){_[e].d(a),a&&k(l)}}}function Ke(s){let e,t;return e=new be({props:{title:"No results."}}),{c(){Q(e.$$.fragment)},l(l){Y(e.$$.fragment,l)},m(l,n){K(e,l,n),t=!0},p:ve,i(l){t||(z(e.$$.fragment,l),t=!0)},o(l){A(e.$$.fragment,l),t=!1},d(l){X(e,l)}}}function Xe(s){let e,t;return e=new Je({props:{items:s[2],itemHeight:50,$$slots:{default:[Ze,({item:l})=>({10:l}),({item:l})=>l?1024:0]},$$scope:{ctx:s}}}),{c(){Q(e.$$.fragment)},l(l){Y(e.$$.fragment,l)},m(l,n){K(e,l,n),t=!0},p(l,n){const h={};n&4&&(h.items=l[2]),n&9220&&(h.$$scope={dirty:n,ctx:l}),e.$set(h)},i(l){t||(z(e.$$.fragment,l),t=!0)},o(l){A(e.$$.fragment,l),t=!1},d(l){X(e,l)}}}function Ze(s){me(s);let e,t,l=s[10].namespace+"",n,h,_;function u(){return s[8](s[10])}return{c(){e=S("li"),t=S("button"),n=G(l),this.h()},l(a){e=V(a,"LI",{class:!0});var r=U(e);t=V(r,"BUTTON",{class:!0});var m=U(t);n=J(m,l),m.forEach(k),r.forEach(k),this.h()},h(){E(t,"class","w-full p-3 text-left"),E(e,"class","link-item svelte-8ihh0f"),x(e,"first",s[11]),x(e,"last",s[12])},m(a,r){B(a,e,r),b(e,t),b(t,n),h||(_=$(t,"click",u),h=!0)},p(a,r){s=a,me(s),r&1024&&l!==(l=s[10].namespace+"")&&ze(n,l),r&1028&&x(e,"first",s[11]),r&1028&&x(e,"last",s[12])},d(a){a&&k(e),h=!1,_()}}}function xe(s){let e,t,l,n,h,_,u,a,r,m,i,o,c,g,M,P,w,R,y,N,I,D,j,Z;e=new Oe({props:{title:"Select Namespace",url:s[3].url.href}}),o=new Re({props:{name:"search"}});const p=[Ye,Qe],T=[];function L(f,d){return f[1].length?0:1}return N=L(s),I=T[N]=p[N](s),{c(){Q(e.$$.fragment),t=O(),l=S("div"),n=S("h1"),h=G("Welcome to Temporal"),_=O(),u=S("p"),a=G("Select a Namespace to get started."),r=O(),m=S("form"),i=S("div"),Q(o.$$.fragment),c=O(),g=S("label"),M=G("Search Namespaces"),P=O(),w=S("input"),R=O(),y=S("ul"),I.c(),this.h()},l(f){Y(e.$$.fragment,f),t=F(f),l=V(f,"DIV",{class:!0});var d=U(l);n=V(d,"H1",{class:!0});var v=U(n);h=J(v,"Welcome to Temporal"),v.forEach(k),_=F(d),u=V(d,"P",{class:!0});var W=U(u);a=J(W,"Select a Namespace to get started."),W.forEach(k),r=F(d),m=V(d,"FORM",{class:!0,role:!0});var H=U(m);i=V(H,"DIV",{class:!0});var C=U(i);Y(o.$$.fragment,C),C.forEach(k),c=F(H),g=V(H,"LABEL",{class:!0,for:!0});var re=U(g);M=J(re,"Search Namespaces"),re.forEach(k),P=F(H),w=V(H,"INPUT",{class:!0,placeholder:!0,type:!0,id:!0}),H.forEach(k),R=F(d),y=V(d,"UL",{class:!0,"aria-label":!0});var ne=U(y);I.l(ne),ne.forEach(k),d.forEach(k),this.h()},h(){E(n,"class","my-4 text-3xl"),E(u,"class","mb-8"),E(i,"class","ml-4 mr-2"),E(g,"class","sr-only"),E(g,"for","search-namespaces"),E(w,"class","w-full"),E(w,"placeholder","Search"),E(w,"type","search"),E(w,"id","search-namespaces"),E(m,"class","search svelte-8ihh0f"),E(m,"role","search"),E(y,"class","h-screen w-full"),E(y,"aria-label","namespaces"),E(l,"class","w-full p-8 xl:w-1/2")},m(f,d){K(e,f,d),B(f,t,d),B(f,l,d),b(l,n),b(n,h),b(l,_),b(l,u),b(u,a),b(l,r),b(l,m),b(m,i),K(o,i,null),b(m,c),b(m,g),b(g,M),b(m,P),b(m,w),ie(w,s[0]),b(l,R),b(l,y),T[N].m(y,null),D=!0,j||(Z=[$(w,"keydown",Ve(s[6])),$(w,"input",s[7])],j=!0)},p(f,[d]){const v={};d&8&&(v.url=f[3].url.href),e.$set(v),d&1&&ie(w,f[0]);let W=N;N=L(f),N===W?T[N].p(f,d):(se(),A(T[W],1,1,()=>{T[W]=null}),ae(),I=T[N],I?I.p(f,d):(I=T[N]=p[N](f),I.c()),z(I,1),I.m(y,null))},i(f){D||(z(e.$$.fragment,f),z(o.$$.fragment,f),z(I),D=!0)},o(f){A(e.$$.fragment,f),A(o.$$.fragment,f),A(I),D=!1},d(f){X(e,f),f&&k(t),f&&k(l),X(o),T[N].d(),j=!1,He(Z)}}}function $e(s,e,t){let l,n,h,_,u,a;te(s,ue,c=>t(9,_=c)),te(s,Me,c=>t(5,u=c)),te(s,Ce,c=>t(3,a=c));let r="";function m(c){We.call(this,s,c)}function i(){r=this.value,t(0,r)}const o=c=>c==null?void 0:c.onClick(c.namespace);return s.$$.update=()=>{s.$$.dirty&32&&t(4,l=u.map(c=>{var g;return(g=c==null?void 0:c.namespaceInfo)===null||g===void 0?void 0:g.name})),s.$$.dirty&16&&t(1,n=l.map(c=>({namespace:c,onClick:async g=>{const{authorized:M}=await Fe(g);M?(Ue(ue,_=g,_),Ae(Pe({namespace:g}))):Be.push({variant:"error",message:"You do not have access to this namespace."})}}))),s.$$.dirty&3&&t(2,h=n.filter(({namespace:c})=>c.includes(r)))},[r,n,h,a,l,u,m,i,o]}class ut extends pe{constructor(e){super(),ge(this,e,$e,xe,de,{})}}export{ut as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-select-namespace-page.svelte.be707960.js b/ui/assets/local/_app/immutable/entry/(app)-select-namespace-page.svelte.be707960.js deleted file mode 100644 index dfbb61c268..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-select-namespace-page.svelte.be707960.js +++ /dev/null @@ -1 +0,0 @@ -import{S as pe,b as ge,a as de,m as S,p as V,q as U,k,v as q,av as le,$ as ke,f as B,M as b,am as we,U as $,z as se,a1 as ye,a2 as Ee,h as ae,j as z,g as A,o as Te,G as Le,c as O,d as F,H as Ne,I as Ie,J as Se,t as ee,A as oe,w as G,x as J,C as Q,D as Y,u as E,E as K,a8 as ie,W as Ve,F as X,r as He,L as te,_ as Ue,Q as We,n as ve,e as ce,T as x,y as ze}from"../chunks/index.d29c66be.js";import{g as Ae}from"../chunks/navigation.9ceca11e.js";import{p as Ce}from"../chunks/stores.b938c0e3.js";import{l as ue,n as Me}from"../chunks/namespaces.52575875.js";import{r as Pe}from"../chunks/route-for.b4518ba8.js";import{E as be}from"../chunks/empty-state.bf113865.js";import{I as Re}from"../chunks/icon.5aa23970.js";import{P as Oe}from"../chunks/page-title.ba38eecf.js";import{d as Fe}from"../chunks/workflow-service.43d562ed.js";import{t as Be}from"../chunks/toaster.fda31b2d.js";function _e(s,e,t){const l=s.slice();return l[23]=e[t],l}const De=s=>({item:s&16}),fe=s=>({item:s[23].data});function qe(s){let e;return{c(){e=G("Missing template")},l(t){e=J(t,"Missing template")},m(t,l){B(t,e,l)},d(t){t&&k(e)}}}function he(s,e){let t,l,n;const h=e[14].default,_=Le(h,e,e[13],fe),u=_||qe();return{key:s,first:null,c(){t=S("svelte-virtual-list-row"),u&&u.c(),l=O(),this.h()},l(a){t=V(a,"SVELTE-VIRTUAL-LIST-ROW",{class:!0});var r=U(t);u&&u.l(r),l=F(r),r.forEach(k),this.h()},h(){le(t,"class","svelte-1kdxoed"),this.first=t},m(a,r){B(a,t,r),u&&u.m(t,null),b(t,l),n=!0},p(a,r){e=a,_&&_.p&&(!n||r&8208)&&Ne(_,h,e,e[13],n?Se(h,e[13],r,De):Ie(e[13]),fe)},i(a){n||(z(u,a),n=!0)},o(a){A(u,a),n=!1},d(a){a&&k(t),u&&u.d(a)}}}function je(s){let e,t,l=[],n=new Map,h,_,u,a,r=s[4];const m=i=>i[23].index;for(let i=0;is[17].call(e))},m(i,o){B(i,e,o),b(e,t);for(let c=0;cp){t(8,a=L),t(5,w=f);break}f+=v,L+=1}for(;Lp+g)););t(9,r=L);const d=h.length-r;for(y=f/r;L{i=c.getElementsByTagName("svelte-virtual-list-row"),t(12,P=!0)});function D(p){oe[p?"unshift":"push"](()=>{c=p,t(3,c)})}function j(p){oe[p?"unshift":"push"](()=>{o=p,t(2,o)})}function Z(){g=this.offsetHeight,t(1,g)}return s.$$set=p=>{"items"in p&&t(10,h=p.items),"height"in p&&t(0,_=p.height),"itemHeight"in p&&t(11,u=p.itemHeight),"start"in p&&t(8,a=p.start),"end"in p&&t(9,r=p.end),"$$scope"in p&&t(13,n=p.$$scope)},s.$$.update=()=>{s.$$.dirty&1792&&t(4,M=h.slice(a,r).map((p,T)=>({index:T+a,data:p}))),s.$$.dirty&7170&&P&&N(h,g,u)},[_,g,o,c,M,w,R,I,a,r,h,u,P,n,l,D,j,Z]}class Je extends pe{constructor(e){super(),ge(this,e,Ge,je,de,{items:10,height:0,itemHeight:11,start:8,end:9})}}function me(s){const e=s[10]===s[2][0];s[11]=e;const t=s[10]===s[2][s[2].length-1];s[12]=t}function Qe(s){let e,t;return e=new be({props:{title:"No Namespaces. Contact your admin to create one."}}),{c(){Q(e.$$.fragment)},l(l){Y(e.$$.fragment,l)},m(l,n){K(e,l,n),t=!0},p:ve,i(l){t||(z(e.$$.fragment,l),t=!0)},o(l){A(e.$$.fragment,l),t=!1},d(l){X(e,l)}}}function Ye(s){let e,t,l,n;const h=[Xe,Ke],_=[];function u(a,r){return a[2].length?0:1}return e=u(s),t=_[e]=h[e](s),{c(){t.c(),l=ce()},l(a){t.l(a),l=ce()},m(a,r){_[e].m(a,r),B(a,l,r),n=!0},p(a,r){let m=e;e=u(a),e===m?_[e].p(a,r):(se(),A(_[m],1,1,()=>{_[m]=null}),ae(),t=_[e],t?t.p(a,r):(t=_[e]=h[e](a),t.c()),z(t,1),t.m(l.parentNode,l))},i(a){n||(z(t),n=!0)},o(a){A(t),n=!1},d(a){_[e].d(a),a&&k(l)}}}function Ke(s){let e,t;return e=new be({props:{title:"No results."}}),{c(){Q(e.$$.fragment)},l(l){Y(e.$$.fragment,l)},m(l,n){K(e,l,n),t=!0},p:ve,i(l){t||(z(e.$$.fragment,l),t=!0)},o(l){A(e.$$.fragment,l),t=!1},d(l){X(e,l)}}}function Xe(s){let e,t;return e=new Je({props:{items:s[2],itemHeight:50,$$slots:{default:[Ze,({item:l})=>({10:l}),({item:l})=>l?1024:0]},$$scope:{ctx:s}}}),{c(){Q(e.$$.fragment)},l(l){Y(e.$$.fragment,l)},m(l,n){K(e,l,n),t=!0},p(l,n){const h={};n&4&&(h.items=l[2]),n&9220&&(h.$$scope={dirty:n,ctx:l}),e.$set(h)},i(l){t||(z(e.$$.fragment,l),t=!0)},o(l){A(e.$$.fragment,l),t=!1},d(l){X(e,l)}}}function Ze(s){me(s);let e,t,l=s[10].namespace+"",n,h,_;function u(){return s[8](s[10])}return{c(){e=S("li"),t=S("button"),n=G(l),this.h()},l(a){e=V(a,"LI",{class:!0});var r=U(e);t=V(r,"BUTTON",{class:!0});var m=U(t);n=J(m,l),m.forEach(k),r.forEach(k),this.h()},h(){E(t,"class","w-full p-3 text-left"),E(e,"class","link-item svelte-8ihh0f"),x(e,"first",s[11]),x(e,"last",s[12])},m(a,r){B(a,e,r),b(e,t),b(t,n),h||(_=$(t,"click",u),h=!0)},p(a,r){s=a,me(s),r&1024&&l!==(l=s[10].namespace+"")&&ze(n,l),r&1028&&x(e,"first",s[11]),r&1028&&x(e,"last",s[12])},d(a){a&&k(e),h=!1,_()}}}function xe(s){let e,t,l,n,h,_,u,a,r,m,i,o,c,g,M,P,w,R,y,N,I,D,j,Z;e=new Oe({props:{title:"Select Namespace",url:s[3].url.href}}),o=new Re({props:{name:"search"}});const p=[Ye,Qe],T=[];function L(f,d){return f[1].length?0:1}return N=L(s),I=T[N]=p[N](s),{c(){Q(e.$$.fragment),t=O(),l=S("div"),n=S("h1"),h=G("Welcome to Temporal"),_=O(),u=S("p"),a=G("Select a Namespace to get started."),r=O(),m=S("form"),i=S("div"),Q(o.$$.fragment),c=O(),g=S("label"),M=G("Search Namespaces"),P=O(),w=S("input"),R=O(),y=S("ul"),I.c(),this.h()},l(f){Y(e.$$.fragment,f),t=F(f),l=V(f,"DIV",{class:!0});var d=U(l);n=V(d,"H1",{class:!0});var v=U(n);h=J(v,"Welcome to Temporal"),v.forEach(k),_=F(d),u=V(d,"P",{class:!0});var W=U(u);a=J(W,"Select a Namespace to get started."),W.forEach(k),r=F(d),m=V(d,"FORM",{class:!0,role:!0});var H=U(m);i=V(H,"DIV",{class:!0});var C=U(i);Y(o.$$.fragment,C),C.forEach(k),c=F(H),g=V(H,"LABEL",{class:!0,for:!0});var re=U(g);M=J(re,"Search Namespaces"),re.forEach(k),P=F(H),w=V(H,"INPUT",{class:!0,placeholder:!0,type:!0,id:!0}),H.forEach(k),R=F(d),y=V(d,"UL",{class:!0,"aria-label":!0});var ne=U(y);I.l(ne),ne.forEach(k),d.forEach(k),this.h()},h(){E(n,"class","my-4 text-3xl"),E(u,"class","mb-8"),E(i,"class","ml-4 mr-2"),E(g,"class","sr-only"),E(g,"for","search-namespaces"),E(w,"class","w-full"),E(w,"placeholder","Search"),E(w,"type","search"),E(w,"id","search-namespaces"),E(m,"class","search svelte-8ihh0f"),E(m,"role","search"),E(y,"class","h-screen w-full"),E(y,"aria-label","namespaces"),E(l,"class","w-full p-8 xl:w-1/2")},m(f,d){K(e,f,d),B(f,t,d),B(f,l,d),b(l,n),b(n,h),b(l,_),b(l,u),b(u,a),b(l,r),b(l,m),b(m,i),K(o,i,null),b(m,c),b(m,g),b(g,M),b(m,P),b(m,w),ie(w,s[0]),b(l,R),b(l,y),T[N].m(y,null),D=!0,j||(Z=[$(w,"keydown",Ve(s[6])),$(w,"input",s[7])],j=!0)},p(f,[d]){const v={};d&8&&(v.url=f[3].url.href),e.$set(v),d&1&&ie(w,f[0]);let W=N;N=L(f),N===W?T[N].p(f,d):(se(),A(T[W],1,1,()=>{T[W]=null}),ae(),I=T[N],I?I.p(f,d):(I=T[N]=p[N](f),I.c()),z(I,1),I.m(y,null))},i(f){D||(z(e.$$.fragment,f),z(o.$$.fragment,f),z(I),D=!0)},o(f){A(e.$$.fragment,f),A(o.$$.fragment,f),A(I),D=!1},d(f){X(e,f),f&&k(t),f&&k(l),X(o),T[N].d(),j=!1,He(Z)}}}function $e(s,e,t){let l,n,h,_,u,a;te(s,ue,c=>t(9,_=c)),te(s,Me,c=>t(5,u=c)),te(s,Ce,c=>t(3,a=c));let r="";function m(c){We.call(this,s,c)}function i(){r=this.value,t(0,r)}const o=c=>c==null?void 0:c.onClick(c.namespace);return s.$$.update=()=>{s.$$.dirty&32&&t(4,l=u.map(c=>{var g;return(g=c==null?void 0:c.namespaceInfo)===null||g===void 0?void 0:g.name})),s.$$.dirty&16&&t(1,n=l.map(c=>({namespace:c,onClick:async g=>{const{authorized:M}=await Fe(g);M?(Ue(ue,_=g,_),Ae(Pe({namespace:g}))):Be.push({variant:"error",message:"You do not have access to this namespace."})}}))),s.$$.dirty&3&&t(2,h=n.filter(({namespace:c})=>c.includes(r)))},[r,n,h,a,l,u,m,i,o]}class ut extends pe{constructor(e){super(),ge(this,e,$e,xe,de,{})}}export{ut as default}; diff --git a/ui/assets/local/_app/immutable/entry/(login)-layout.ts.4f3c4326.js b/ui/assets/local/_app/immutable/entry/(login)-layout.ts.4f3c4326.js new file mode 100644 index 0000000000..10c6a006cc --- /dev/null +++ b/ui/assets/local/_app/immutable/entry/(login)-layout.ts.4f3c4326.js @@ -0,0 +1 @@ +/* empty css */import"../chunks/index.b1f5b21f.js";import"../chunks/settings-service.4436430b.js";import{l as t,s as a}from"../chunks/_layout.7611e016.js";export{t as load,a as ssr}; diff --git a/ui/assets/local/_app/immutable/entry/(login)-layout.ts.cbd492e7.js b/ui/assets/local/_app/immutable/entry/(login)-layout.ts.cbd492e7.js deleted file mode 100644 index 1d2ce38902..0000000000 --- a/ui/assets/local/_app/immutable/entry/(login)-layout.ts.cbd492e7.js +++ /dev/null @@ -1 +0,0 @@ -/* empty css */import"../chunks/index.b1f5b21f.js";import"../chunks/settings-service.499312b2.js";import{l as t,s as a}from"../chunks/_layout.89dc294c.js";export{t as load,a as ssr}; diff --git a/ui/assets/local/_app/immutable/entry/(login)-login-page.svelte.567aa30a.js b/ui/assets/local/_app/immutable/entry/(login)-login-page.svelte.97e05593.js similarity index 94% rename from ui/assets/local/_app/immutable/entry/(login)-login-page.svelte.567aa30a.js rename to ui/assets/local/_app/immutable/entry/(login)-login-page.svelte.97e05593.js index e5e14d5ef1..67a6e9643a 100644 --- a/ui/assets/local/_app/immutable/entry/(login)-login-page.svelte.567aa30a.js +++ b/ui/assets/local/_app/immutable/entry/(login)-login-page.svelte.97e05593.js @@ -1 +1 @@ -import{S as U,b as z,a as J,C as B,c as w,m as _,w as I,D as H,d as x,p as h,q as $,k as i,x as D,ab as K,u as l,E as M,f as y,M as u,j as T,g as V,F as W,L as Q,n as X}from"../chunks/index.d29c66be.js";import{p as Y}from"../chunks/stores.b938c0e3.js";import{P as Z}from"../chunks/page-title.ba38eecf.js";import{B as tt}from"../chunks/button.e7112b29.js";import{s as et}from"../chunks/route-for.b4518ba8.js";import{F as at,L as st}from"../chunks/feedback-button.6827b829.js";function rt(c){let e;return{c(){e=I("Continue to SSO")},l(s){e=D(s,"Continue to SSO")},m(s,a){y(s,e,a)},d(s){s&&i(e)}}}function nt(c){let e,s,a;return{c(){e=_("div"),s=_("p"),a=I(c[2]),this.h()},l(r){e=h(r,"DIV",{class:!0});var n=$(e);s=h(n,"P",{class:!0});var b=$(s);a=D(b,c[2]),b.forEach(i),n.forEach(i),this.h()},h(){l(s,"class","rounded-md border-2 border-orange-500 bg-orange-100 p-5 text-center"),l(e,"class","my-12 flex flex-col items-center justify-start gap-2")},m(r,n){y(r,e,n),u(e,s),u(s,a)},p:X,d(r){r&&i(e)}}}function ot(c){let e,s,a,r,n,b,P,m,S,f,v,F,j,E,q,A,k,p,O,C;e=new Z({props:{title:"Login",url:c[0].url.href}}),m=new at({}),p=new tt({props:{testId:"login-button",variant:"login",icon:"lock",$$slots:{default:[rt]},$$scope:{ctx:c}}}),p.$on("click",c[4]);let g=c[2]&&nt(c);return{c(){B(e.$$.fragment),s=w(),a=_("header"),r=_("a"),n=_("img"),P=w(),B(m.$$.fragment),S=w(),f=_("section"),v=_("h1"),F=I("Welcome back."),j=w(),E=_("p"),q=I("Let's get you signed in."),A=w(),k=_("div"),B(p.$$.fragment),O=w(),g&&g.c(),this.h()},l(t){H(e.$$.fragment,t),s=x(t),a=h(t,"HEADER",{class:!0});var o=$(a);r=h(o,"A",{href:!0,class:!0});var L=$(r);n=h(L,"IMG",{src:!0,alt:!0,class:!0}),L.forEach(i),P=x(o),H(m.$$.fragment,o),o.forEach(i),S=x(t),f=h(t,"SECTION",{class:!0});var d=$(f);v=h(d,"H1",{class:!0,"data-testid":!0});var G=$(v);F=D(G,"Welcome back."),G.forEach(i),j=x(d),E=h(d,"P",{class:!0,"data-testid":!0});var N=$(E);q=D(N,"Let's get you signed in."),N.forEach(i),A=x(d),k=h(d,"DIV",{class:!0});var R=$(k);H(p.$$.fragment,R),R.forEach(i),O=x(d),g&&g.l(d),d.forEach(i),this.h()},h(){K(n.src,b=st)||l(n,"src",b),l(n,"alt","Temporal Logo"),l(n,"class","max-h-10"),l(r,"href","/"),l(r,"class","inline-block"),l(a,"class","flex h-16 w-full items-center justify-between bg-primary px-10"),l(v,"class","text-8xl font-semibold"),l(v,"data-testid","login-title"),l(E,"class","my-7"),l(E,"data-testid","login-info"),l(k,"class","mx-auto"),l(f,"class","my-[20vh] text-center")},m(t,o){M(e,t,o),y(t,s,o),y(t,a,o),u(a,r),u(r,n),u(a,P),M(m,a,null),y(t,S,o),y(t,f,o),u(f,v),u(v,F),u(f,j),u(f,E),u(E,q),u(f,A),u(f,k),M(p,k,null),u(f,O),g&&g.m(f,null),C=!0},p(t,[o]){const L={};o&1&&(L.url=t[0].url.href),e.$set(L);const d={};o&32&&(d.$$scope={dirty:o,ctx:t}),p.$set(d),t[2]&&g.p(t,o)},i(t){C||(T(e.$$.fragment,t),T(m.$$.fragment,t),T(p.$$.fragment,t),C=!0)},o(t){V(e.$$.fragment,t),V(m.$$.fragment,t),V(p.$$.fragment,t),C=!1},d(t){W(e,t),t&&i(s),t&&i(a),W(m),t&&i(S),t&&i(f),W(p),g&&g.d()}}}function lt(c,e,s){let a;Q(c,Y,m=>s(0,a=m));let{data:r}=e,{settings:n}=r;const b=a.url.searchParams.get("error"),P=()=>{window.location.assign(et({settings:n,searchParams:a.url.searchParams,originUrl:a.url.origin}))};return c.$$set=m=>{"data"in m&&s(3,r=m.data)},[a,n,b,r,P]}class pt extends U{constructor(e){super(),z(this,e,lt,ot,J,{data:3})}}export{pt as default}; +import{S as U,b as z,a as J,C as B,c as w,m as _,w as I,D as H,d as x,p as h,q as $,k as i,x as D,ab as K,u as l,E as M,f as y,M as u,j as T,g as V,F as W,L as Q,n as X}from"../chunks/index.d29c66be.js";import{p as Y}from"../chunks/stores.8c019868.js";import{P as Z}from"../chunks/page-title.ba38eecf.js";import{B as tt}from"../chunks/button.e7112b29.js";import{s as et}from"../chunks/route-for.3e9c6ff4.js";import{F as at,L as st}from"../chunks/feedback-button.fb093b9d.js";function rt(c){let e;return{c(){e=I("Continue to SSO")},l(s){e=D(s,"Continue to SSO")},m(s,a){y(s,e,a)},d(s){s&&i(e)}}}function nt(c){let e,s,a;return{c(){e=_("div"),s=_("p"),a=I(c[2]),this.h()},l(r){e=h(r,"DIV",{class:!0});var n=$(e);s=h(n,"P",{class:!0});var b=$(s);a=D(b,c[2]),b.forEach(i),n.forEach(i),this.h()},h(){l(s,"class","rounded-md border-2 border-orange-500 bg-orange-100 p-5 text-center"),l(e,"class","my-12 flex flex-col items-center justify-start gap-2")},m(r,n){y(r,e,n),u(e,s),u(s,a)},p:X,d(r){r&&i(e)}}}function ot(c){let e,s,a,r,n,b,P,m,S,f,v,F,j,E,q,A,k,p,O,C;e=new Z({props:{title:"Login",url:c[0].url.href}}),m=new at({}),p=new tt({props:{testId:"login-button",variant:"login",icon:"lock",$$slots:{default:[rt]},$$scope:{ctx:c}}}),p.$on("click",c[4]);let g=c[2]&&nt(c);return{c(){B(e.$$.fragment),s=w(),a=_("header"),r=_("a"),n=_("img"),P=w(),B(m.$$.fragment),S=w(),f=_("section"),v=_("h1"),F=I("Welcome back."),j=w(),E=_("p"),q=I("Let's get you signed in."),A=w(),k=_("div"),B(p.$$.fragment),O=w(),g&&g.c(),this.h()},l(t){H(e.$$.fragment,t),s=x(t),a=h(t,"HEADER",{class:!0});var o=$(a);r=h(o,"A",{href:!0,class:!0});var L=$(r);n=h(L,"IMG",{src:!0,alt:!0,class:!0}),L.forEach(i),P=x(o),H(m.$$.fragment,o),o.forEach(i),S=x(t),f=h(t,"SECTION",{class:!0});var d=$(f);v=h(d,"H1",{class:!0,"data-testid":!0});var G=$(v);F=D(G,"Welcome back."),G.forEach(i),j=x(d),E=h(d,"P",{class:!0,"data-testid":!0});var N=$(E);q=D(N,"Let's get you signed in."),N.forEach(i),A=x(d),k=h(d,"DIV",{class:!0});var R=$(k);H(p.$$.fragment,R),R.forEach(i),O=x(d),g&&g.l(d),d.forEach(i),this.h()},h(){K(n.src,b=st)||l(n,"src",b),l(n,"alt","Temporal Logo"),l(n,"class","max-h-10"),l(r,"href","/"),l(r,"class","inline-block"),l(a,"class","flex h-16 w-full items-center justify-between bg-primary px-10"),l(v,"class","text-8xl font-semibold"),l(v,"data-testid","login-title"),l(E,"class","my-7"),l(E,"data-testid","login-info"),l(k,"class","mx-auto"),l(f,"class","my-[20vh] text-center")},m(t,o){M(e,t,o),y(t,s,o),y(t,a,o),u(a,r),u(r,n),u(a,P),M(m,a,null),y(t,S,o),y(t,f,o),u(f,v),u(v,F),u(f,j),u(f,E),u(E,q),u(f,A),u(f,k),M(p,k,null),u(f,O),g&&g.m(f,null),C=!0},p(t,[o]){const L={};o&1&&(L.url=t[0].url.href),e.$set(L);const d={};o&32&&(d.$$scope={dirty:o,ctx:t}),p.$set(d),t[2]&&g.p(t,o)},i(t){C||(T(e.$$.fragment,t),T(m.$$.fragment,t),T(p.$$.fragment,t),C=!0)},o(t){V(e.$$.fragment,t),V(m.$$.fragment,t),V(p.$$.fragment,t),C=!1},d(t){W(e,t),t&&i(s),t&&i(a),W(m),t&&i(S),t&&i(f),W(p),g&&g.d()}}}function lt(c,e,s){let a;Q(c,Y,m=>s(0,a=m));let{data:r}=e,{settings:n}=r;const b=a.url.searchParams.get("error"),P=()=>{window.location.assign(et({settings:n,searchParams:a.url.searchParams,originUrl:a.url.origin}))};return c.$$set=m=>{"data"in m&&s(3,r=m.data)},[a,n,b,r,P]}class pt extends U{constructor(e){super(),z(this,e,lt,ot,J,{data:3})}}export{pt as default}; diff --git a/ui/assets/local/_app/immutable/entry/(login)-signin-page.svelte.567aa30a.js b/ui/assets/local/_app/immutable/entry/(login)-signin-page.svelte.97e05593.js similarity index 94% rename from ui/assets/local/_app/immutable/entry/(login)-signin-page.svelte.567aa30a.js rename to ui/assets/local/_app/immutable/entry/(login)-signin-page.svelte.97e05593.js index e5e14d5ef1..67a6e9643a 100644 --- a/ui/assets/local/_app/immutable/entry/(login)-signin-page.svelte.567aa30a.js +++ b/ui/assets/local/_app/immutable/entry/(login)-signin-page.svelte.97e05593.js @@ -1 +1 @@ -import{S as U,b as z,a as J,C as B,c as w,m as _,w as I,D as H,d as x,p as h,q as $,k as i,x as D,ab as K,u as l,E as M,f as y,M as u,j as T,g as V,F as W,L as Q,n as X}from"../chunks/index.d29c66be.js";import{p as Y}from"../chunks/stores.b938c0e3.js";import{P as Z}from"../chunks/page-title.ba38eecf.js";import{B as tt}from"../chunks/button.e7112b29.js";import{s as et}from"../chunks/route-for.b4518ba8.js";import{F as at,L as st}from"../chunks/feedback-button.6827b829.js";function rt(c){let e;return{c(){e=I("Continue to SSO")},l(s){e=D(s,"Continue to SSO")},m(s,a){y(s,e,a)},d(s){s&&i(e)}}}function nt(c){let e,s,a;return{c(){e=_("div"),s=_("p"),a=I(c[2]),this.h()},l(r){e=h(r,"DIV",{class:!0});var n=$(e);s=h(n,"P",{class:!0});var b=$(s);a=D(b,c[2]),b.forEach(i),n.forEach(i),this.h()},h(){l(s,"class","rounded-md border-2 border-orange-500 bg-orange-100 p-5 text-center"),l(e,"class","my-12 flex flex-col items-center justify-start gap-2")},m(r,n){y(r,e,n),u(e,s),u(s,a)},p:X,d(r){r&&i(e)}}}function ot(c){let e,s,a,r,n,b,P,m,S,f,v,F,j,E,q,A,k,p,O,C;e=new Z({props:{title:"Login",url:c[0].url.href}}),m=new at({}),p=new tt({props:{testId:"login-button",variant:"login",icon:"lock",$$slots:{default:[rt]},$$scope:{ctx:c}}}),p.$on("click",c[4]);let g=c[2]&&nt(c);return{c(){B(e.$$.fragment),s=w(),a=_("header"),r=_("a"),n=_("img"),P=w(),B(m.$$.fragment),S=w(),f=_("section"),v=_("h1"),F=I("Welcome back."),j=w(),E=_("p"),q=I("Let's get you signed in."),A=w(),k=_("div"),B(p.$$.fragment),O=w(),g&&g.c(),this.h()},l(t){H(e.$$.fragment,t),s=x(t),a=h(t,"HEADER",{class:!0});var o=$(a);r=h(o,"A",{href:!0,class:!0});var L=$(r);n=h(L,"IMG",{src:!0,alt:!0,class:!0}),L.forEach(i),P=x(o),H(m.$$.fragment,o),o.forEach(i),S=x(t),f=h(t,"SECTION",{class:!0});var d=$(f);v=h(d,"H1",{class:!0,"data-testid":!0});var G=$(v);F=D(G,"Welcome back."),G.forEach(i),j=x(d),E=h(d,"P",{class:!0,"data-testid":!0});var N=$(E);q=D(N,"Let's get you signed in."),N.forEach(i),A=x(d),k=h(d,"DIV",{class:!0});var R=$(k);H(p.$$.fragment,R),R.forEach(i),O=x(d),g&&g.l(d),d.forEach(i),this.h()},h(){K(n.src,b=st)||l(n,"src",b),l(n,"alt","Temporal Logo"),l(n,"class","max-h-10"),l(r,"href","/"),l(r,"class","inline-block"),l(a,"class","flex h-16 w-full items-center justify-between bg-primary px-10"),l(v,"class","text-8xl font-semibold"),l(v,"data-testid","login-title"),l(E,"class","my-7"),l(E,"data-testid","login-info"),l(k,"class","mx-auto"),l(f,"class","my-[20vh] text-center")},m(t,o){M(e,t,o),y(t,s,o),y(t,a,o),u(a,r),u(r,n),u(a,P),M(m,a,null),y(t,S,o),y(t,f,o),u(f,v),u(v,F),u(f,j),u(f,E),u(E,q),u(f,A),u(f,k),M(p,k,null),u(f,O),g&&g.m(f,null),C=!0},p(t,[o]){const L={};o&1&&(L.url=t[0].url.href),e.$set(L);const d={};o&32&&(d.$$scope={dirty:o,ctx:t}),p.$set(d),t[2]&&g.p(t,o)},i(t){C||(T(e.$$.fragment,t),T(m.$$.fragment,t),T(p.$$.fragment,t),C=!0)},o(t){V(e.$$.fragment,t),V(m.$$.fragment,t),V(p.$$.fragment,t),C=!1},d(t){W(e,t),t&&i(s),t&&i(a),W(m),t&&i(S),t&&i(f),W(p),g&&g.d()}}}function lt(c,e,s){let a;Q(c,Y,m=>s(0,a=m));let{data:r}=e,{settings:n}=r;const b=a.url.searchParams.get("error"),P=()=>{window.location.assign(et({settings:n,searchParams:a.url.searchParams,originUrl:a.url.origin}))};return c.$$set=m=>{"data"in m&&s(3,r=m.data)},[a,n,b,r,P]}class pt extends U{constructor(e){super(),z(this,e,lt,ot,J,{data:3})}}export{pt as default}; +import{S as U,b as z,a as J,C as B,c as w,m as _,w as I,D as H,d as x,p as h,q as $,k as i,x as D,ab as K,u as l,E as M,f as y,M as u,j as T,g as V,F as W,L as Q,n as X}from"../chunks/index.d29c66be.js";import{p as Y}from"../chunks/stores.8c019868.js";import{P as Z}from"../chunks/page-title.ba38eecf.js";import{B as tt}from"../chunks/button.e7112b29.js";import{s as et}from"../chunks/route-for.3e9c6ff4.js";import{F as at,L as st}from"../chunks/feedback-button.fb093b9d.js";function rt(c){let e;return{c(){e=I("Continue to SSO")},l(s){e=D(s,"Continue to SSO")},m(s,a){y(s,e,a)},d(s){s&&i(e)}}}function nt(c){let e,s,a;return{c(){e=_("div"),s=_("p"),a=I(c[2]),this.h()},l(r){e=h(r,"DIV",{class:!0});var n=$(e);s=h(n,"P",{class:!0});var b=$(s);a=D(b,c[2]),b.forEach(i),n.forEach(i),this.h()},h(){l(s,"class","rounded-md border-2 border-orange-500 bg-orange-100 p-5 text-center"),l(e,"class","my-12 flex flex-col items-center justify-start gap-2")},m(r,n){y(r,e,n),u(e,s),u(s,a)},p:X,d(r){r&&i(e)}}}function ot(c){let e,s,a,r,n,b,P,m,S,f,v,F,j,E,q,A,k,p,O,C;e=new Z({props:{title:"Login",url:c[0].url.href}}),m=new at({}),p=new tt({props:{testId:"login-button",variant:"login",icon:"lock",$$slots:{default:[rt]},$$scope:{ctx:c}}}),p.$on("click",c[4]);let g=c[2]&&nt(c);return{c(){B(e.$$.fragment),s=w(),a=_("header"),r=_("a"),n=_("img"),P=w(),B(m.$$.fragment),S=w(),f=_("section"),v=_("h1"),F=I("Welcome back."),j=w(),E=_("p"),q=I("Let's get you signed in."),A=w(),k=_("div"),B(p.$$.fragment),O=w(),g&&g.c(),this.h()},l(t){H(e.$$.fragment,t),s=x(t),a=h(t,"HEADER",{class:!0});var o=$(a);r=h(o,"A",{href:!0,class:!0});var L=$(r);n=h(L,"IMG",{src:!0,alt:!0,class:!0}),L.forEach(i),P=x(o),H(m.$$.fragment,o),o.forEach(i),S=x(t),f=h(t,"SECTION",{class:!0});var d=$(f);v=h(d,"H1",{class:!0,"data-testid":!0});var G=$(v);F=D(G,"Welcome back."),G.forEach(i),j=x(d),E=h(d,"P",{class:!0,"data-testid":!0});var N=$(E);q=D(N,"Let's get you signed in."),N.forEach(i),A=x(d),k=h(d,"DIV",{class:!0});var R=$(k);H(p.$$.fragment,R),R.forEach(i),O=x(d),g&&g.l(d),d.forEach(i),this.h()},h(){K(n.src,b=st)||l(n,"src",b),l(n,"alt","Temporal Logo"),l(n,"class","max-h-10"),l(r,"href","/"),l(r,"class","inline-block"),l(a,"class","flex h-16 w-full items-center justify-between bg-primary px-10"),l(v,"class","text-8xl font-semibold"),l(v,"data-testid","login-title"),l(E,"class","my-7"),l(E,"data-testid","login-info"),l(k,"class","mx-auto"),l(f,"class","my-[20vh] text-center")},m(t,o){M(e,t,o),y(t,s,o),y(t,a,o),u(a,r),u(r,n),u(a,P),M(m,a,null),y(t,S,o),y(t,f,o),u(f,v),u(v,F),u(f,j),u(f,E),u(E,q),u(f,A),u(f,k),M(p,k,null),u(f,O),g&&g.m(f,null),C=!0},p(t,[o]){const L={};o&1&&(L.url=t[0].url.href),e.$set(L);const d={};o&32&&(d.$$scope={dirty:o,ctx:t}),p.$set(d),t[2]&&g.p(t,o)},i(t){C||(T(e.$$.fragment,t),T(m.$$.fragment,t),T(p.$$.fragment,t),C=!0)},o(t){V(e.$$.fragment,t),V(m.$$.fragment,t),V(p.$$.fragment,t),C=!1},d(t){W(e,t),t&&i(s),t&&i(a),W(m),t&&i(S),t&&i(f),W(p),g&&g.d()}}}function lt(c,e,s){let a;Q(c,Y,m=>s(0,a=m));let{data:r}=e,{settings:n}=r;const b=a.url.searchParams.get("error"),P=()=>{window.location.assign(et({settings:n,searchParams:a.url.searchParams,originUrl:a.url.origin}))};return c.$$set=m=>{"data"in m&&s(3,r=m.data)},[a,n,b,r,P]}class pt extends U{constructor(e){super(),z(this,e,lt,ot,J,{data:3})}}export{pt as default}; diff --git a/ui/assets/cloud/_app/immutable/entry/_error.svelte.6d70713a.js b/ui/assets/local/_app/immutable/entry/_error.svelte.0fce50e2.js similarity index 86% rename from ui/assets/cloud/_app/immutable/entry/_error.svelte.6d70713a.js rename to ui/assets/local/_app/immutable/entry/_error.svelte.0fce50e2.js index caf07b12c5..eea6d05778 100644 --- a/ui/assets/cloud/_app/immutable/entry/_error.svelte.6d70713a.js +++ b/ui/assets/local/_app/immutable/entry/_error.svelte.0fce50e2.js @@ -1 +1 @@ -import{S as m,b as p,a as u,C as c,D as f,E as _,j as g,g as l,F as $,L as E}from"../chunks/index.d29c66be.js";/* empty css */import{p as d}from"../chunks/stores.1f7fa6eb.js";import{E as h}from"../chunks/error.0aaac20c.js";import{i as b}from"../chunks/is-network-error.3dd5226d.js";import{p as y}from"../chunks/parse-with-big-int.02af2f95.js";function C(e){let t,o;return t=new h({props:{error:e[1],status:e[0]}}),{c(){c(t.$$.fragment)},l(r){f(t.$$.fragment,r)},m(r,s){_(t,r,s),o=!0},p(r,[s]){const a={};s&2&&(a.error=r[1]),s&1&&(a.status=r[0]),t.$set(a)},i(r){o||(g(t.$$.fragment,r),o=!0)},o(r){l(t.$$.fragment,r),o=!1},d(r){$(t,r)}}}function q(e,t,o){let r,s,a;E(e,d,i=>o(2,a=i));let n;try{n=y(r.message),b(n)&&(s=n.statusCode)}catch{}return e.$$.update=()=>{e.$$.dirty&4&&o(1,r=a.error),e.$$.dirty&4&&o(0,s=a.status)},[s,r,a]}class A extends m{constructor(t){super(),p(this,t,q,C,u,{})}}export{A as default}; +import{S as m,b as p,a as u,C as c,D as f,E as _,j as g,g as l,F as $,L as E}from"../chunks/index.d29c66be.js";/* empty css */import{p as d}from"../chunks/stores.8c019868.js";import{E as h}from"../chunks/error.78b7832f.js";import{i as b}from"../chunks/is-network-error.3dd5226d.js";import{p as y}from"../chunks/parse-with-big-int.02af2f95.js";function C(e){let t,o;return t=new h({props:{error:e[1],status:e[0]}}),{c(){c(t.$$.fragment)},l(r){f(t.$$.fragment,r)},m(r,s){_(t,r,s),o=!0},p(r,[s]){const a={};s&2&&(a.error=r[1]),s&1&&(a.status=r[0]),t.$set(a)},i(r){o||(g(t.$$.fragment,r),o=!0)},o(r){l(t.$$.fragment,r),o=!1},d(r){$(t,r)}}}function q(e,t,o){let r,s,a;E(e,d,i=>o(2,a=i));let n;try{n=y(r.message),b(n)&&(s=n.statusCode)}catch{}return e.$$.update=()=>{e.$$.dirty&4&&o(1,r=a.error),e.$$.dirty&4&&o(0,s=a.status)},[s,r,a]}class A extends m{constructor(t){super(),p(this,t,q,C,u,{})}}export{A as default}; diff --git a/ui/assets/local/_app/immutable/entry/_error.svelte.93c4f5aa.js b/ui/assets/local/_app/immutable/entry/_error.svelte.93c4f5aa.js deleted file mode 100644 index a34357cc4b..0000000000 --- a/ui/assets/local/_app/immutable/entry/_error.svelte.93c4f5aa.js +++ /dev/null @@ -1 +0,0 @@ -import{S as m,b as p,a as u,C as c,D as f,E as _,j as g,g as l,F as $,L as E}from"../chunks/index.d29c66be.js";/* empty css */import{p as d}from"../chunks/stores.b938c0e3.js";import{E as h}from"../chunks/error.a3e96e45.js";import{i as b}from"../chunks/is-network-error.3dd5226d.js";import{p as y}from"../chunks/parse-with-big-int.02af2f95.js";function C(e){let t,o;return t=new h({props:{error:e[1],status:e[0]}}),{c(){c(t.$$.fragment)},l(r){f(t.$$.fragment,r)},m(r,s){_(t,r,s),o=!0},p(r,[s]){const a={};s&2&&(a.error=r[1]),s&1&&(a.status=r[0]),t.$set(a)},i(r){o||(g(t.$$.fragment,r),o=!0)},o(r){l(t.$$.fragment,r),o=!1},d(r){$(t,r)}}}function q(e,t,o){let r,s,a;E(e,d,i=>o(2,a=i));let n;try{n=y(r.message),b(n)&&(s=n.statusCode)}catch{}return e.$$.update=()=>{e.$$.dirty&4&&o(1,r=a.error),e.$$.dirty&4&&o(0,s=a.status)},[s,r,a]}class A extends m{constructor(t){super(),p(this,t,q,C,u,{})}}export{A as default}; diff --git a/ui/assets/cloud/_app/immutable/entry/app.1ec52bf6.js b/ui/assets/local/_app/immutable/entry/app.8714040a.js similarity index 66% rename from ui/assets/cloud/_app/immutable/entry/app.1ec52bf6.js rename to ui/assets/local/_app/immutable/entry/app.8714040a.js index 1ad6f0727e..419d844b11 100644 --- a/ui/assets/cloud/_app/immutable/entry/app.1ec52bf6.js +++ b/ui/assets/local/_app/immutable/entry/app.8714040a.js @@ -1 +1 @@ -import{S as H,b as J,a as K,c as M,e as m,d as Q,f as b,g as p,h as $,j as d,k as v,l as X,o as Y,m as Z,p as x,q as ee,u as O,v as L,w as te,x as ne,y as ie,z as R,A as P,B as h,C as w,D,E,F as k}from"../chunks/index.d29c66be.js";const re="modulepreload",se=function(a,e){return new URL(a,e).href},y={},u=function(e,n,r){if(!n||n.length===0)return e();const i=document.getElementsByTagName("link");return Promise.all(n.map(l=>{if(l=se(l,r),l in y)return;y[l]=!0;const t=l.endsWith(".css"),o=t?'[rel="stylesheet"]':"";if(!!r)for(let c=i.length-1;c>=0;c--){const g=i[c];if(g.href===l&&(!t||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${o}`))return;const _=document.createElement("link");if(_.rel=t?"stylesheet":re,t||(_.as="script",_.crossOrigin=""),_.href=l,document.head.appendChild(_),t)return new Promise((c,g)=>{_.addEventListener("load",c),_.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${l}`)))})})).then(()=>e())},ve={};function oe(a){let e,n,r;var i=a[1][0];function l(t){return{props:{data:t[3],form:t[2]}}}return i&&(e=h(i,l(a)),a[21](e)),{c(){e&&w(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&8&&(s.data=t[3]),o&4&&(s.form=t[2]),i!==(i=t[1][0])){if(e){R();const _=e;p(_.$$.fragment,1,0,()=>{k(_,1)}),$()}i?(e=h(i,l(t)),t[21](e),w(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){a[21](null),t&&v(n),e&&k(e,t)}}}function _e(a){let e,n,r;var i=a[1][0];function l(t){return{props:{data:t[3],$$slots:{default:[we]},$$scope:{ctx:t}}}}return i&&(e=h(i,l(a)),a[20](e)),{c(){e&&w(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&8&&(s.data=t[3]),o&4194551&&(s.$$scope={dirty:o,ctx:t}),i!==(i=t[1][0])){if(e){R();const _=e;p(_.$$.fragment,1,0,()=>{k(_,1)}),$()}i?(e=h(i,l(t)),t[20](e),w(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){a[20](null),t&&v(n),e&&k(e,t)}}}function ae(a){let e,n,r;var i=a[1][1];function l(t){return{props:{data:t[4],form:t[2]}}}return i&&(e=h(i,l(a)),a[19](e)),{c(){e&&w(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&16&&(s.data=t[4]),o&4&&(s.form=t[2]),i!==(i=t[1][1])){if(e){R();const _=e;p(_.$$.fragment,1,0,()=>{k(_,1)}),$()}i?(e=h(i,l(t)),t[19](e),w(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){a[19](null),t&&v(n),e&&k(e,t)}}}function le(a){let e,n,r;var i=a[1][1];function l(t){return{props:{data:t[4],$$slots:{default:[he]},$$scope:{ctx:t}}}}return i&&(e=h(i,l(a)),a[18](e)),{c(){e&&w(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&16&&(s.data=t[4]),o&4194535&&(s.$$scope={dirty:o,ctx:t}),i!==(i=t[1][1])){if(e){R();const _=e;p(_.$$.fragment,1,0,()=>{k(_,1)}),$()}i?(e=h(i,l(t)),t[18](e),w(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){a[18](null),t&&v(n),e&&k(e,t)}}}function fe(a){let e,n,r;var i=a[1][2];function l(t){return{props:{data:t[5],form:t[2]}}}return i&&(e=h(i,l(a)),a[17](e)),{c(){e&&w(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&32&&(s.data=t[5]),o&4&&(s.form=t[2]),i!==(i=t[1][2])){if(e){R();const _=e;p(_.$$.fragment,1,0,()=>{k(_,1)}),$()}i?(e=h(i,l(t)),t[17](e),w(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){a[17](null),t&&v(n),e&&k(e,t)}}}function ce(a){let e,n,r;var i=a[1][2];function l(t){return{props:{data:t[5],$$slots:{default:[de]},$$scope:{ctx:t}}}}return i&&(e=h(i,l(a)),a[16](e)),{c(){e&&w(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&32&&(s.data=t[5]),o&4194503&&(s.$$scope={dirty:o,ctx:t}),i!==(i=t[1][2])){if(e){R();const _=e;p(_.$$.fragment,1,0,()=>{k(_,1)}),$()}i?(e=h(i,l(t)),t[16](e),w(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){a[16](null),t&&v(n),e&&k(e,t)}}}function ue(a){let e,n,r;var i=a[1][3];function l(t){return{props:{data:t[6],form:t[2]}}}return i&&(e=h(i,l(a)),a[15](e)),{c(){e&&w(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&64&&(s.data=t[6]),o&4&&(s.form=t[2]),i!==(i=t[1][3])){if(e){R();const _=e;p(_.$$.fragment,1,0,()=>{k(_,1)}),$()}i?(e=h(i,l(t)),t[15](e),w(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){a[15](null),t&&v(n),e&&k(e,t)}}}function me(a){let e,n,r;var i=a[1][3];function l(t){return{props:{data:t[6],$$slots:{default:[pe]},$$scope:{ctx:t}}}}return i&&(e=h(i,l(a)),a[14](e)),{c(){e&&w(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&64&&(s.data=t[6]),o&4194439&&(s.$$scope={dirty:o,ctx:t}),i!==(i=t[1][3])){if(e){R();const _=e;p(_.$$.fragment,1,0,()=>{k(_,1)}),$()}i?(e=h(i,l(t)),t[14](e),w(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){a[14](null),t&&v(n),e&&k(e,t)}}}function pe(a){let e,n,r;var i=a[1][4];function l(t){return{props:{data:t[7],form:t[2]}}}return i&&(e=h(i,l(a)),a[13](e)),{c(){e&&w(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&128&&(s.data=t[7]),o&4&&(s.form=t[2]),i!==(i=t[1][4])){if(e){R();const _=e;p(_.$$.fragment,1,0,()=>{k(_,1)}),$()}i?(e=h(i,l(t)),t[13](e),w(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){a[13](null),t&&v(n),e&&k(e,t)}}}function de(a){let e,n,r,i;const l=[me,ue],t=[];function o(s,_){return s[1][4]?0:1}return e=o(a),n=t[e]=l[e](a),{c(){n.c(),r=m()},l(s){n.l(s),r=m()},m(s,_){t[e].m(s,_),b(s,r,_),i=!0},p(s,_){let c=e;e=o(s),e===c?t[e].p(s,_):(R(),p(t[c],1,1,()=>{t[c]=null}),$(),n=t[e],n?n.p(s,_):(n=t[e]=l[e](s),n.c()),d(n,1),n.m(r.parentNode,r))},i(s){i||(d(n),i=!0)},o(s){p(n),i=!1},d(s){t[e].d(s),s&&v(r)}}}function he(a){let e,n,r,i;const l=[ce,fe],t=[];function o(s,_){return s[1][3]?0:1}return e=o(a),n=t[e]=l[e](a),{c(){n.c(),r=m()},l(s){n.l(s),r=m()},m(s,_){t[e].m(s,_),b(s,r,_),i=!0},p(s,_){let c=e;e=o(s),e===c?t[e].p(s,_):(R(),p(t[c],1,1,()=>{t[c]=null}),$(),n=t[e],n?n.p(s,_):(n=t[e]=l[e](s),n.c()),d(n,1),n.m(r.parentNode,r))},i(s){i||(d(n),i=!0)},o(s){p(n),i=!1},d(s){t[e].d(s),s&&v(r)}}}function we(a){let e,n,r,i;const l=[le,ae],t=[];function o(s,_){return s[1][2]?0:1}return e=o(a),n=t[e]=l[e](a),{c(){n.c(),r=m()},l(s){n.l(s),r=m()},m(s,_){t[e].m(s,_),b(s,r,_),i=!0},p(s,_){let c=e;e=o(s),e===c?t[e].p(s,_):(R(),p(t[c],1,1,()=>{t[c]=null}),$(),n=t[e],n?n.p(s,_):(n=t[e]=l[e](s),n.c()),d(n,1),n.m(r.parentNode,r))},i(s){i||(d(n),i=!0)},o(s){p(n),i=!1},d(s){t[e].d(s),s&&v(r)}}}function N(a){let e,n=a[9]&&q(a);return{c(){e=Z("div"),n&&n.c(),this.h()},l(r){e=x(r,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var i=ee(e);n&&n.l(i),i.forEach(v),this.h()},h(){O(e,"id","svelte-announcer"),O(e,"aria-live","assertive"),O(e,"aria-atomic","true"),L(e,"position","absolute"),L(e,"left","0"),L(e,"top","0"),L(e,"clip","rect(0 0 0 0)"),L(e,"clip-path","inset(50%)"),L(e,"overflow","hidden"),L(e,"white-space","nowrap"),L(e,"width","1px"),L(e,"height","1px")},m(r,i){b(r,e,i),n&&n.m(e,null)},p(r,i){r[9]?n?n.p(r,i):(n=q(r),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(r){r&&v(e),n&&n.d()}}}function q(a){let e;return{c(){e=te(a[10])},l(n){e=ne(n,a[10])},m(n,r){b(n,e,r)},p(n,r){r&1024&&ie(e,n[10])},d(n){n&&v(e)}}}function Ee(a){let e,n,r,i,l;const t=[_e,oe],o=[];function s(c,g){return c[1][1]?0:1}e=s(a),n=o[e]=t[e](a);let _=a[8]&&N(a);return{c(){n.c(),r=M(),_&&_.c(),i=m()},l(c){n.l(c),r=Q(c),_&&_.l(c),i=m()},m(c,g){o[e].m(c,g),b(c,r,g),_&&_.m(c,g),b(c,i,g),l=!0},p(c,[g]){let A=e;e=s(c),e===A?o[e].p(c,g):(R(),p(o[A],1,1,()=>{o[A]=null}),$(),n=o[e],n?n.p(c,g):(n=o[e]=t[e](c),n.c()),d(n,1),n.m(r.parentNode,r)),c[8]?_?_.p(c,g):(_=N(c),_.c(),_.m(i.parentNode,i)):_&&(_.d(1),_=null)},i(c){l||(d(n),l=!0)},o(c){p(n),l=!1},d(c){o[e].d(c),c&&v(r),_&&_.d(c),c&&v(i)}}}function ke(a,e,n){let{stores:r}=e,{page:i}=e,{constructors:l}=e,{components:t=[]}=e,{form:o}=e,{data_0:s=null}=e,{data_1:_=null}=e,{data_2:c=null}=e,{data_3:g=null}=e,{data_4:A=null}=e;X(r.page.notify);let I=!1,T=!1,V=null;Y(()=>{const f=r.page.subscribe(()=>{I&&(n(9,T=!0),n(10,V=document.title||"untitled page"))});return n(8,I=!0),f});function S(f){P[f?"unshift":"push"](()=>{t[4]=f,n(0,t)})}function C(f){P[f?"unshift":"push"](()=>{t[3]=f,n(0,t)})}function B(f){P[f?"unshift":"push"](()=>{t[3]=f,n(0,t)})}function j(f){P[f?"unshift":"push"](()=>{t[2]=f,n(0,t)})}function U(f){P[f?"unshift":"push"](()=>{t[2]=f,n(0,t)})}function z(f){P[f?"unshift":"push"](()=>{t[1]=f,n(0,t)})}function F(f){P[f?"unshift":"push"](()=>{t[1]=f,n(0,t)})}function W(f){P[f?"unshift":"push"](()=>{t[0]=f,n(0,t)})}function G(f){P[f?"unshift":"push"](()=>{t[0]=f,n(0,t)})}return a.$$set=f=>{"stores"in f&&n(11,r=f.stores),"page"in f&&n(12,i=f.page),"constructors"in f&&n(1,l=f.constructors),"components"in f&&n(0,t=f.components),"form"in f&&n(2,o=f.form),"data_0"in f&&n(3,s=f.data_0),"data_1"in f&&n(4,_=f.data_1),"data_2"in f&&n(5,c=f.data_2),"data_3"in f&&n(6,g=f.data_3),"data_4"in f&&n(7,A=f.data_4)},a.$$.update=()=>{a.$$.dirty&6144&&r.page.set(i)},[t,l,o,s,_,c,g,A,I,T,V,r,i,S,C,B,j,U,z,F,W,G]}class be extends H{constructor(e){super(),J(this,e,ke,Ee,K,{stores:11,page:12,constructors:1,components:0,form:2,data_0:3,data_1:4,data_2:5,data_3:6,data_4:7})}}const $e=[()=>u(()=>import("../chunks/0.fd416dd1.js"),["../chunks/0.fd416dd1.js","../chunks/_layout.42e1b349.js","../chunks/index.d29c66be.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/index.255b7490.js","../chunks/index.9b9e188f.js","./layout.svelte.025dfd6f.js"],import.meta.url),()=>u(()=>import("../chunks/1.8b220b12.js"),["../chunks/1.8b220b12.js","./_error.svelte.6d70713a.js","../chunks/index.d29c66be.js","../chunks/stores.1f7fa6eb.js","../chunks/singletons.6d6802f9.js","../chunks/index.255b7490.js","../chunks/paths.fd839acd.js","../chunks/error.0aaac20c.js","../chunks/navigation.529c81bc.js","../chunks/has.8da86d13.js","../chunks/link.d5f6f19e.js","../chunks/is-network-error.3dd5226d.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../assets/app.31287cf9.css"],import.meta.url),()=>u(()=>import("../chunks/2.d8167d0c.js"),["../chunks/2.d8167d0c.js","../chunks/_layout.2d899b3e.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/settings-service.3ce5ddfc.js","../chunks/settings.a68ca666.js","../chunks/index.255b7490.js","../chunks/index.d29c66be.js","../chunks/route-for-api.5906c1df.js","../chunks/route-for.5e008fb6.js","../chunks/paths.fd839acd.js","../chunks/auth-user.ead5c000.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/has.8da86d13.js","../chunks/stores.1f7fa6eb.js","../chunks/singletons.6d6802f9.js","../chunks/cluster.90d7eb2f.js","../chunks/namespaces-service.bc2964ad.js","../chunks/namespaces.52575875.js","../chunks/paginated.03c25b75.js","../chunks/atob.79a337b0.js","../assets/_layout.845f7340.css","../assets/app.31287cf9.css","./(app)-layout.svelte.c2defaca.js","../chunks/navigation.529c81bc.js","../chunks/version-check.d006b302.js","../chunks/error.0aaac20c.js","../chunks/link.d5f6f19e.js","../chunks/tooltip.ca813c82.js","../chunks/icon.5aa23970.js","../chunks/copy-to-clipboard.a65bc890.js","../assets/tooltip.b2f3e7fc.css","../chunks/filters.2ba801c3.js","../chunks/modal.765fc6dd.js","../chunks/button.e7112b29.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../assets/button.ead2e440.css","../assets/modal.a1162225.css","../chunks/menu-item.be414f05.js","../chunks/outside-click.0db702a6.js","../assets/menu-item.86eb7827.css","../chunks/empty-state.bf113865.js","../chunks/input.0adb9ec6.js","../assets/input.8e1f3cc5.css","../chunks/data-converter-config.816c1717.js","../chunks/is-http.91300684.js","../chunks/toggle-switch.58d0ba8c.js","../assets/toggle-switch.0752a896.css","../chunks/workflow-run.2461dc7d.js","../chunks/accordion.2f807bee.js","../assets/_layout.8555ffa5.css"],import.meta.url),()=>u(()=>import("../chunks/3.d434e823.js"),["../chunks/3.d434e823.js","./(app)-import-layout.svelte.ef4c2c96.js","../chunks/index.d29c66be.js","../chunks/stores.1f7fa6eb.js","../chunks/singletons.6d6802f9.js","../chunks/index.255b7490.js","../chunks/paths.fd839acd.js","../chunks/page-title.ba38eecf.js"],import.meta.url),()=>u(()=>import("../chunks/4.33975805.js"),["../chunks/4.33975805.js","./(app)-import-events-_namespace_-_workflow_-_run_-history-layout.svelte.8759b4a7.js","../chunks/index.d29c66be.js","../chunks/route-for.5e008fb6.js","../chunks/paths.fd839acd.js","../chunks/toggle-buttons.8fcf9ebe.js","../chunks/icon.5aa23970.js","../chunks/stores.1f7fa6eb.js","../chunks/singletons.6d6802f9.js","../chunks/index.255b7490.js","../assets/toggle-buttons.642fc5fa.css","../chunks/event-history-file-import.ab5995f6.js","../chunks/navigation.529c81bc.js","../chunks/button.e7112b29.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../assets/button.ead2e440.css","../chunks/index.823c6788.js","../chunks/is-http.91300684.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/decode-payload.fd21ad3e.js","../chunks/data-converter-config.816c1717.js","../chunks/atob.79a337b0.js","../chunks/has.8da86d13.js","../chunks/format-date.100c5f23.js","../chunks/format-time.66fea38b.js","../chunks/is-event-type.0064ca29.js","../chunks/get-codec.a019b391.js","../chunks/get-event-categorization.b6da7e5f.js","../chunks/simplify-attributes.28929a11.js","../chunks/toaster.fda31b2d.js","../chunks/import-events.d74da7cc.js","../chunks/index.e1962a6e.js","../chunks/auth-user.ead5c000.js","../chunks/namespaces.52575875.js"],import.meta.url),()=>u(()=>import("../chunks/5.810043ff.js"),["../chunks/5.810043ff.js","../chunks/_layout.9e0bbe6f.js","../chunks/route-for-api.5906c1df.js","../chunks/route-for.5e008fb6.js","../chunks/paths.fd839acd.js","../chunks/auth-user.ead5c000.js","../chunks/index.d29c66be.js","../chunks/persist-store.bb6871e4.js","../chunks/index.255b7490.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/has.8da86d13.js","../chunks/stores.1f7fa6eb.js","../chunks/singletons.6d6802f9.js","../chunks/search-attributes.c866741f.js","./layout.svelte.025dfd6f.js"],import.meta.url),()=>u(()=>import("../chunks/6.9e446e9f.js"),["../chunks/6.9e446e9f.js","./(app)-namespaces-_namespace_-schedules-layout.svelte.025dfd6f.js","../chunks/index.d29c66be.js"],import.meta.url),()=>u(()=>import("../chunks/7.be3251b7.js"),["../chunks/7.be3251b7.js","./(app)-namespaces-_namespace_-task-queues-layout.svelte.3bd4a625.js","../chunks/index.d29c66be.js"],import.meta.url),()=>u(()=>import("../chunks/8.8f4a62f7.js"),["../chunks/8.8f4a62f7.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-layout.svelte.8cf81567.js","../chunks/index.d29c66be.js","../chunks/index.255b7490.js","../chunks/stores.1f7fa6eb.js","../chunks/singletons.6d6802f9.js","../chunks/paths.fd839acd.js","../chunks/workflow-run.2461dc7d.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/events-service.c3f5d068.js","../chunks/event-view.73e1a728.js","../chunks/route-for.5e008fb6.js","../chunks/auth-user.ead5c000.js","../chunks/is-event-type.0064ca29.js","../chunks/paginated.03c25b75.js","../chunks/route-for-api.5906c1df.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/has.8da86d13.js","../chunks/index.823c6788.js","../chunks/is-http.91300684.js","../chunks/decode-payload.fd21ad3e.js","../chunks/data-converter-config.816c1717.js","../chunks/atob.79a337b0.js","../chunks/format-date.100c5f23.js","../chunks/format-time.66fea38b.js","../chunks/get-codec.a019b391.js","../chunks/get-event-categorization.b6da7e5f.js","../chunks/simplify-attributes.28929a11.js","../chunks/tooltip.ca813c82.js","../chunks/icon.5aa23970.js","../chunks/copy-to-clipboard.a65bc890.js","../assets/tooltip.b2f3e7fc.css","../chunks/workflow-terminate-enabled.cb08b74f.js","../chunks/workflow-service.22d7ee79.js","../chunks/settings.a68ca666.js","../chunks/list-workflow-query.722ba818.js","../chunks/cluster.90d7eb2f.js","../chunks/versions.dfa21225.js","../chunks/version-check.d006b302.js","../chunks/workflow-status.688af89a.js","../chunks/index.9b9e188f.js","../assets/workflow-status.a22a9f77.css","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../chunks/core-user.faf7a38e.js","../chunks/split-button.efadbe62.js","../chunks/menu-item.be414f05.js","../chunks/outside-click.0db702a6.js","../assets/menu-item.86eb7827.css","../chunks/button.e7112b29.js","../assets/button.ead2e440.css","../assets/split-button.b0d29bb4.css","../chunks/modal.765fc6dd.js","../assets/modal.a1162225.css","../chunks/input.0adb9ec6.js","../assets/input.8e1f3cc5.css","../chunks/tab-list.bd3b7764.js","../assets/tab-list.cbfd6e55.css","../chunks/toggle-switch.58d0ba8c.js","../assets/toggle-switch.0752a896.css","../chunks/alert.bf61782e.js","../assets/alert.5f4c72a4.css","../chunks/link.d5f6f19e.js","../chunks/loading.9b5a6a67.js","../chunks/pollers-service.49149478.js","../assets/_layout.9cd642e2.css"],import.meta.url),()=>u(()=>import("../chunks/9.5bef39ff.js"),["../chunks/9.5bef39ff.js","../chunks/_layout.78b2222c.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/settings-service.3ce5ddfc.js","../chunks/settings.a68ca666.js","../chunks/index.255b7490.js","../chunks/index.d29c66be.js","../chunks/route-for-api.5906c1df.js","../chunks/route-for.5e008fb6.js","../chunks/paths.fd839acd.js","../chunks/auth-user.ead5c000.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/has.8da86d13.js","../chunks/stores.1f7fa6eb.js","../chunks/singletons.6d6802f9.js","../assets/app.31287cf9.css","./(login)-layout.svelte.025dfd6f.js"],import.meta.url),()=>u(()=>import("../chunks/10.aa3bdae3.js"),["../chunks/10.aa3bdae3.js","../chunks/_page.c4d10a05.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for.5e008fb6.js","../chunks/paths.fd839acd.js","./(app)-page.svelte.abce0fee.js","../chunks/index.d29c66be.js","../chunks/navigation.529c81bc.js","../chunks/singletons.6d6802f9.js","../chunks/index.255b7490.js","../chunks/workflow-service.22d7ee79.js","../chunks/decode-payload.fd21ad3e.js","../chunks/data-converter-config.816c1717.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/is-http.91300684.js","../chunks/atob.79a337b0.js","../chunks/has.8da86d13.js","../chunks/settings.a68ca666.js","../chunks/simplify-attributes.28929a11.js","../chunks/format-date.100c5f23.js","../chunks/format-time.66fea38b.js","../chunks/route-for-api.5906c1df.js","../chunks/auth-user.ead5c000.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/stores.1f7fa6eb.js","../chunks/list-workflow-query.722ba818.js","../chunks/cluster.90d7eb2f.js","../chunks/versions.dfa21225.js","../chunks/version-check.d006b302.js","../chunks/namespaces.52575875.js","../chunks/loading.9b5a6a67.js"],import.meta.url),()=>u(()=>import("../chunks/11.28702c9b.js"),["../chunks/11.28702c9b.js","./(app)-data-converter-_port_-page.svelte.815e5970.js","../chunks/index.d29c66be.js","../chunks/navigation.529c81bc.js","../chunks/singletons.6d6802f9.js","../chunks/index.255b7490.js","../chunks/paths.fd839acd.js","../chunks/stores.1f7fa6eb.js","../chunks/toaster.fda31b2d.js","../chunks/data-converter-config.816c1717.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js"],import.meta.url),()=>u(()=>import("../chunks/12.80a21c08.js"),["../chunks/12.80a21c08.js","../chunks/_page.ebb8d4b9.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for.5e008fb6.js","../chunks/paths.fd839acd.js"],import.meta.url),()=>u(()=>import("../chunks/13.30b798bf.js"),["../chunks/13.30b798bf.js","./(app)-import-events-page.svelte.a9190473.js","../chunks/index.d29c66be.js","../chunks/event-history-file-import.ab5995f6.js","../chunks/route-for.5e008fb6.js","../chunks/paths.fd839acd.js","../chunks/navigation.529c81bc.js","../chunks/singletons.6d6802f9.js","../chunks/index.255b7490.js","../chunks/button.e7112b29.js","../chunks/icon.5aa23970.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../assets/button.ead2e440.css","../chunks/index.823c6788.js","../chunks/is-http.91300684.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/decode-payload.fd21ad3e.js","../chunks/data-converter-config.816c1717.js","../chunks/atob.79a337b0.js","../chunks/has.8da86d13.js","../chunks/format-date.100c5f23.js","../chunks/format-time.66fea38b.js","../chunks/is-event-type.0064ca29.js","../chunks/get-codec.a019b391.js","../chunks/get-event-categorization.b6da7e5f.js","../chunks/simplify-attributes.28929a11.js","../chunks/toaster.fda31b2d.js","../chunks/import-events.d74da7cc.js","../chunks/index.e1962a6e.js","../chunks/stores.1f7fa6eb.js","../chunks/auth-user.ead5c000.js","../chunks/namespaces.52575875.js","../chunks/code-block.fc92cd67.js","../chunks/copy-to-clipboard.a65bc890.js","../assets/code-block.86c182bf.css","../chunks/link.d5f6f19e.js"],import.meta.url),()=>u(()=>import("../chunks/14.db7d1ae9.js"),["../chunks/14.db7d1ae9.js","../chunks/_page.22f2adc8.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for.5e008fb6.js","../chunks/paths.fd839acd.js"],import.meta.url),()=>u(()=>import("../chunks/15.366b7d49.js"),["../chunks/15.366b7d49.js","./(app)-import-events-_namespace_-_workflow_-_run_-history-compact-page.svelte.c3b22927.js","../chunks/index.d29c66be.js","../chunks/import-events.d74da7cc.js","../chunks/index.255b7490.js","../chunks/event-empty-row.4b13ada5.js","../chunks/tooltip.ca813c82.js","../chunks/icon.5aa23970.js","../chunks/copy-to-clipboard.a65bc890.js","../assets/tooltip.b2f3e7fc.css","../chunks/event-view.73e1a728.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/time-format.6ef667eb.js","../chunks/index.e1962a6e.js","../chunks/has.8da86d13.js","../chunks/is-event-type.0064ca29.js","../chunks/format-time.66fea38b.js","../chunks/format-date.100c5f23.js","../chunks/format-event-attributes.f0307b43.js","../chunks/format-camel-case.960a78f9.js","../chunks/stores.1f7fa6eb.js","../chunks/singletons.6d6802f9.js","../chunks/paths.fd839acd.js","../chunks/route-for.5e008fb6.js","../chunks/code-block.fc92cd67.js","../assets/code-block.86c182bf.css","../chunks/link.d5f6f19e.js","../chunks/table-header-row.a7bab5a4.js","../assets/table-header-row.ddd48458.css","../chunks/dropdown-menu.abe6e484.js","../assets/dropdown-menu.e29ed15e.css","../chunks/get-event-categorization.b6da7e5f.js","../chunks/pagination.c0661e6a.js","../chunks/navigation.529c81bc.js","../chunks/simple-select.2e5f96b1.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/version-check.d006b302.js","../chunks/filters.2ba801c3.js","../chunks/versions.dfa21225.js","../chunks/cluster.90d7eb2f.js","../chunks/settings.a68ca666.js","../chunks/empty-state.bf113865.js","../chunks/loading.9b5a6a67.js","../assets/event-empty-row.cbc2729c.css"],import.meta.url),()=>u(()=>import("../chunks/16.34786bd9.js"),["../chunks/16.34786bd9.js","./(app)-import-events-_namespace_-_workflow_-_run_-history-feed-page.svelte.d95bcfdd.js","../chunks/index.d29c66be.js","../chunks/import-events.d74da7cc.js","../chunks/index.255b7490.js","../chunks/event-empty-row.4b13ada5.js","../chunks/tooltip.ca813c82.js","../chunks/icon.5aa23970.js","../chunks/copy-to-clipboard.a65bc890.js","../assets/tooltip.b2f3e7fc.css","../chunks/event-view.73e1a728.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/time-format.6ef667eb.js","../chunks/index.e1962a6e.js","../chunks/has.8da86d13.js","../chunks/is-event-type.0064ca29.js","../chunks/format-time.66fea38b.js","../chunks/format-date.100c5f23.js","../chunks/format-event-attributes.f0307b43.js","../chunks/format-camel-case.960a78f9.js","../chunks/stores.1f7fa6eb.js","../chunks/singletons.6d6802f9.js","../chunks/paths.fd839acd.js","../chunks/route-for.5e008fb6.js","../chunks/code-block.fc92cd67.js","../assets/code-block.86c182bf.css","../chunks/link.d5f6f19e.js","../chunks/table-header-row.a7bab5a4.js","../assets/table-header-row.ddd48458.css","../chunks/dropdown-menu.abe6e484.js","../assets/dropdown-menu.e29ed15e.css","../chunks/get-event-categorization.b6da7e5f.js","../chunks/pagination.c0661e6a.js","../chunks/navigation.529c81bc.js","../chunks/simple-select.2e5f96b1.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/version-check.d006b302.js","../chunks/filters.2ba801c3.js","../chunks/versions.dfa21225.js","../chunks/cluster.90d7eb2f.js","../chunks/settings.a68ca666.js","../chunks/empty-state.bf113865.js","../chunks/loading.9b5a6a67.js","../assets/event-empty-row.cbc2729c.css"],import.meta.url),()=>u(()=>import("../chunks/17.861caa43.js"),["../chunks/17.861caa43.js","./(app)-import-events-_namespace_-_workflow_-_run_-history-json-page.svelte.71e396ad.js","../chunks/index.d29c66be.js","../chunks/workflow-json-navigator.d241bda8.js","../chunks/code-block.fc92cd67.js","../chunks/icon.5aa23970.js","../chunks/copy-to-clipboard.a65bc890.js","../chunks/index.255b7490.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../assets/code-block.86c182bf.css","../chunks/loading.9b5a6a67.js","../assets/workflow-json-navigator.a85b4b27.css","../chunks/import-events.d74da7cc.js"],import.meta.url),()=>u(()=>import("../chunks/18.cb2bb96d.js"),["../chunks/18.cb2bb96d.js","./(app)-namespaces-page.svelte.1c2491e8.js","../chunks/index.d29c66be.js","../chunks/route-for.5e008fb6.js","../chunks/paths.fd839acd.js","../chunks/stores.1f7fa6eb.js","../chunks/singletons.6d6802f9.js","../chunks/index.255b7490.js","../chunks/namespaces.52575875.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/empty-state.bf113865.js","../chunks/icon.5aa23970.js","../chunks/page-title.ba38eecf.js","../chunks/pagination.c0661e6a.js","../chunks/navigation.529c81bc.js","../chunks/simple-select.2e5f96b1.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/table-header-row.a7bab5a4.js","../assets/table-header-row.ddd48458.css","../chunks/table-row.4a68a50d.js"],import.meta.url),()=>u(()=>import("../chunks/19.6c528665.js"),["../chunks/19.6c528665.js","../chunks/_page.f7d990da.js","../chunks/namespaces-service.bc2964ad.js","../chunks/toaster.fda31b2d.js","../chunks/index.255b7490.js","../chunks/index.d29c66be.js","../chunks/namespaces.52575875.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/paginated.03c25b75.js","../chunks/route-for-api.5906c1df.js","../chunks/route-for.5e008fb6.js","../chunks/paths.fd839acd.js","../chunks/auth-user.ead5c000.js","../chunks/is-network-error.3dd5226d.js","../chunks/has.8da86d13.js","../chunks/stores.1f7fa6eb.js","../chunks/singletons.6d6802f9.js","./(app)-namespaces-_namespace_-page.svelte.6099dc39.js","../chunks/versions.dfa21225.js","../chunks/cluster.90d7eb2f.js","../chunks/settings.a68ca666.js","../chunks/search-attributes.c866741f.js","../chunks/format-time.66fea38b.js","../chunks/page-title.ba38eecf.js","../chunks/table-header-row.a7bab5a4.js","../assets/table-header-row.ddd48458.css","../chunks/table-row.4a68a50d.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../assets/_page.c4e4432a.css"],import.meta.url),()=>u(()=>import("../chunks/20.9422c8f9.js"),["../chunks/20.9422c8f9.js","../chunks/_page.bd93f6f1.js","../chunks/workflow-service.22d7ee79.js","../chunks/decode-payload.fd21ad3e.js","../chunks/index.d29c66be.js","../chunks/data-converter-config.816c1717.js","../chunks/index.255b7490.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/is-http.91300684.js","../chunks/atob.79a337b0.js","../chunks/route-for.5e008fb6.js","../chunks/paths.fd839acd.js","../chunks/has.8da86d13.js","../chunks/settings.a68ca666.js","../chunks/simplify-attributes.28929a11.js","../chunks/format-date.100c5f23.js","../chunks/format-time.66fea38b.js","../chunks/route-for-api.5906c1df.js","../chunks/auth-user.ead5c000.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/stores.1f7fa6eb.js","../chunks/singletons.6d6802f9.js","../chunks/list-workflow-query.722ba818.js","../chunks/cluster.90d7eb2f.js","../chunks/versions.dfa21225.js","../chunks/version-check.d006b302.js","../chunks/namespaces-service.bc2964ad.js","../chunks/namespaces.52575875.js","../chunks/paginated.03c25b75.js","./(app)-namespaces-_namespace_-archival-page.svelte.cc6f05c6.js","../chunks/time-format.6ef667eb.js","../chunks/search.ceb62d05.js","../chunks/table-header-row.a7bab5a4.js","../assets/table-header-row.ddd48458.css","../chunks/pagination.c0661e6a.js","../chunks/navigation.529c81bc.js","../chunks/simple-select.2e5f96b1.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/workflow-status.688af89a.js","../chunks/index.9b9e188f.js","../assets/workflow-status.a22a9f77.css","../chunks/icon.5aa23970.js","../chunks/copy-to-clipboard.a65bc890.js","../chunks/table-row.4a68a50d.js","../chunks/button.e7112b29.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../assets/button.ead2e440.css","../assets/search.d6094a94.css","../chunks/empty-state.bf113865.js","../chunks/code-block.fc92cd67.js","../assets/code-block.86c182bf.css","../chunks/page-title.ba38eecf.js","../assets/_page.c5268cbc.css"],import.meta.url),()=>u(()=>import("../chunks/21.85271fe8.js"),["../chunks/21.85271fe8.js","./(app)-namespaces-_namespace_-schedules-page.svelte.1302979b.js","../chunks/index.d29c66be.js","../chunks/stores.1f7fa6eb.js","../chunks/singletons.6d6802f9.js","../chunks/index.255b7490.js","../chunks/paths.fd839acd.js","../chunks/empty-state.bf113865.js","../chunks/icon.5aa23970.js","../chunks/pagination.c0661e6a.js","../chunks/navigation.529c81bc.js","../chunks/simple-select.2e5f96b1.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/button.e7112b29.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../assets/button.ead2e440.css","../chunks/loading.9b5a6a67.js","../chunks/input.0adb9ec6.js","../chunks/copy-to-clipboard.a65bc890.js","../chunks/tooltip.ca813c82.js","../assets/tooltip.b2f3e7fc.css","../assets/input.8e1f3cc5.css","../chunks/route-for.5e008fb6.js","../chunks/schedule-frequency.0254bcb6.js","../chunks/route-for-api.5906c1df.js","../chunks/auth-user.ead5c000.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/has.8da86d13.js","../chunks/calendar.81d1e381.js","../chunks/table-header-row.a7bab5a4.js","../assets/table-header-row.ddd48458.css","../chunks/time-format.6ef667eb.js","../chunks/format-date.100c5f23.js","../chunks/format-time.66fea38b.js","../chunks/workflow-status.688af89a.js","../chunks/index.9b9e188f.js","../assets/workflow-status.a22a9f77.css","../chunks/link.d5f6f19e.js","../chunks/table-row.4a68a50d.js","../chunks/format-camel-case.960a78f9.js","../chunks/menu-item.be414f05.js","../chunks/outside-click.0db702a6.js","../assets/menu-item.86eb7827.css","../chunks/core-user.faf7a38e.js","../chunks/page-title.ba38eecf.js","../assets/_page.75cb2ee6.css"],import.meta.url),()=>u(()=>import("../chunks/22.04e00c7a.js"),["../chunks/22.04e00c7a.js","./(app)-namespaces-_namespace_-schedules-_schedule_-page.svelte.23fef880.js","../chunks/index.d29c66be.js","../chunks/stores.1f7fa6eb.js","../chunks/singletons.6d6802f9.js","../chunks/index.255b7490.js","../chunks/paths.fd839acd.js","../chunks/page-title.ba38eecf.js","../chunks/icon.5aa23970.js","../chunks/route-for.5e008fb6.js","../chunks/navigation.529c81bc.js","../chunks/schedule-frequency.0254bcb6.js","../chunks/route-for-api.5906c1df.js","../chunks/auth-user.ead5c000.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/has.8da86d13.js","../chunks/calendar.81d1e381.js","../chunks/format-date.100c5f23.js","../chunks/format-time.66fea38b.js","../chunks/time-format.6ef667eb.js","../chunks/schedules.9f53df59.js","../chunks/workflow-status.688af89a.js","../chunks/index.9b9e188f.js","../assets/workflow-status.a22a9f77.css","../chunks/workflow-service.22d7ee79.js","../chunks/decode-payload.fd21ad3e.js","../chunks/data-converter-config.816c1717.js","../chunks/is-http.91300684.js","../chunks/atob.79a337b0.js","../chunks/settings.a68ca666.js","../chunks/simplify-attributes.28929a11.js","../chunks/list-workflow-query.722ba818.js","../chunks/cluster.90d7eb2f.js","../chunks/versions.dfa21225.js","../chunks/version-check.d006b302.js","../chunks/empty-state.bf113865.js","../chunks/link.d5f6f19e.js","../chunks/modal.765fc6dd.js","../chunks/button.e7112b29.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../assets/button.ead2e440.css","../chunks/tooltip.ca813c82.js","../chunks/copy-to-clipboard.a65bc890.js","../assets/tooltip.b2f3e7fc.css","../assets/modal.a1162225.css","../chunks/split-button.efadbe62.js","../chunks/menu-item.be414f05.js","../chunks/outside-click.0db702a6.js","../assets/menu-item.86eb7827.css","../assets/split-button.b0d29bb4.css","../chunks/loading.9b5a6a67.js","../chunks/core-user.faf7a38e.js","../assets/_page.b0c2dab8.css"],import.meta.url),()=>u(()=>import("../chunks/23.8beeda9e.js"),["../chunks/23.8beeda9e.js","./(app)-namespaces-_namespace_-schedules-_schedule_-edit-page.svelte.dda3103c.js","../chunks/index.d29c66be.js","../chunks/stores.1f7fa6eb.js","../chunks/singletons.6d6802f9.js","../chunks/index.255b7490.js","../chunks/paths.fd839acd.js","../chunks/page-title.ba38eecf.js","../chunks/schedules.9f53df59.js","../chunks/navigation.529c81bc.js","../chunks/route-for.5e008fb6.js","../chunks/schedule-frequency.0254bcb6.js","../chunks/route-for-api.5906c1df.js","../chunks/auth-user.ead5c000.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/has.8da86d13.js","../chunks/calendar.81d1e381.js","../chunks/loading.9b5a6a67.js","../chunks/schedule-form-view.9e09dcb7.js","../chunks/alert.bf61782e.js","../chunks/icon.5aa23970.js","../assets/alert.5f4c72a4.css","../chunks/button.e7112b29.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../assets/button.ead2e440.css","../chunks/input.0adb9ec6.js","../chunks/copy-to-clipboard.a65bc890.js","../chunks/tooltip.ca813c82.js","../assets/tooltip.b2f3e7fc.css","../assets/input.8e1f3cc5.css","../chunks/tab-list.bd3b7764.js","../assets/tab-list.cbfd6e55.css","../chunks/menu-item.be414f05.js","../chunks/outside-click.0db702a6.js","../assets/menu-item.86eb7827.css","../chunks/toggle-buttons.8fcf9ebe.js","../assets/toggle-buttons.642fc5fa.css","../assets/schedule-form-view.9b9d908c.css"],import.meta.url),()=>u(()=>import("../chunks/24.ad879ebb.js"),["../chunks/24.ad879ebb.js","./(app)-namespaces-_namespace_-schedules-create-page.svelte.ccd0cc83.js","../chunks/index.d29c66be.js","../chunks/stores.1f7fa6eb.js","../chunks/singletons.6d6802f9.js","../chunks/index.255b7490.js","../chunks/paths.fd839acd.js","../chunks/schedules.9f53df59.js","../chunks/navigation.529c81bc.js","../chunks/route-for.5e008fb6.js","../chunks/schedule-frequency.0254bcb6.js","../chunks/route-for-api.5906c1df.js","../chunks/auth-user.ead5c000.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/has.8da86d13.js","../chunks/calendar.81d1e381.js","../chunks/schedule-form-view.9e09dcb7.js","../chunks/alert.bf61782e.js","../chunks/icon.5aa23970.js","../assets/alert.5f4c72a4.css","../chunks/button.e7112b29.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../assets/button.ead2e440.css","../chunks/loading.9b5a6a67.js","../chunks/input.0adb9ec6.js","../chunks/copy-to-clipboard.a65bc890.js","../chunks/tooltip.ca813c82.js","../assets/tooltip.b2f3e7fc.css","../assets/input.8e1f3cc5.css","../chunks/tab-list.bd3b7764.js","../assets/tab-list.cbfd6e55.css","../chunks/menu-item.be414f05.js","../chunks/outside-click.0db702a6.js","../assets/menu-item.86eb7827.css","../chunks/toggle-buttons.8fcf9ebe.js","../assets/toggle-buttons.642fc5fa.css","../assets/schedule-form-view.9b9d908c.css","../chunks/page-title.ba38eecf.js"],import.meta.url),()=>u(()=>import("../chunks/25.079e7ed3.js"),["../chunks/25.079e7ed3.js","./(app)-namespaces-_namespace_-task-queues-page.svelte.d7761eda.js","../chunks/index.d29c66be.js"],import.meta.url),()=>u(()=>import("../chunks/26.c46ae2ee.js"),["../chunks/26.c46ae2ee.js","./(app)-namespaces-_namespace_-task-queues-_queue_-page.svelte.fddc8044.js","../chunks/index.d29c66be.js","../chunks/stores.1f7fa6eb.js","../chunks/singletons.6d6802f9.js","../chunks/index.255b7490.js","../chunks/paths.fd839acd.js","../chunks/workers-list.0e0f0daa.js","../chunks/icon.5aa23970.js","../chunks/time-format.6ef667eb.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/format-date.100c5f23.js","../chunks/format-time.66fea38b.js","../chunks/has.8da86d13.js","../chunks/empty-state.bf113865.js","../chunks/table-header-row.a7bab5a4.js","../assets/table-header-row.ddd48458.css","../chunks/table-row.4a68a50d.js","../chunks/pollers-service.49149478.js","../chunks/route-for-api.5906c1df.js","../chunks/route-for.5e008fb6.js","../chunks/auth-user.ead5c000.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/page-title.ba38eecf.js"],import.meta.url),()=>u(()=>import("../chunks/27.9b4610f2.js"),["../chunks/27.9b4610f2.js","../chunks/_page.b14944b6.js","./(app)-namespaces-_namespace_-workflows-page.svelte.002dc793.js","../chunks/index.d29c66be.js","../chunks/stores.1f7fa6eb.js","../chunks/singletons.6d6802f9.js","../chunks/index.255b7490.js","../chunks/paths.fd839acd.js","../chunks/time-format.6ef667eb.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/workflow-terminate-enabled.cb08b74f.js","../chunks/workflow-service.22d7ee79.js","../chunks/decode-payload.fd21ad3e.js","../chunks/data-converter-config.816c1717.js","../chunks/is-http.91300684.js","../chunks/atob.79a337b0.js","../chunks/route-for.5e008fb6.js","../chunks/has.8da86d13.js","../chunks/settings.a68ca666.js","../chunks/simplify-attributes.28929a11.js","../chunks/format-date.100c5f23.js","../chunks/format-time.66fea38b.js","../chunks/route-for-api.5906c1df.js","../chunks/auth-user.ead5c000.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/list-workflow-query.722ba818.js","../chunks/cluster.90d7eb2f.js","../chunks/versions.dfa21225.js","../chunks/version-check.d006b302.js","../chunks/workflow-status.688af89a.js","../chunks/index.9b9e188f.js","../assets/workflow-status.a22a9f77.css","../chunks/namespaces.52575875.js","../chunks/empty-state.bf113865.js","../chunks/icon.5aa23970.js","../chunks/pagination.c0661e6a.js","../chunks/navigation.529c81bc.js","../chunks/simple-select.2e5f96b1.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/search.ceb62d05.js","../chunks/table-header-row.a7bab5a4.js","../assets/table-header-row.ddd48458.css","../chunks/copy-to-clipboard.a65bc890.js","../chunks/table-row.4a68a50d.js","../chunks/button.e7112b29.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../assets/button.ead2e440.css","../assets/search.d6094a94.css","../chunks/input.0adb9ec6.js","../chunks/tooltip.ca813c82.js","../assets/tooltip.b2f3e7fc.css","../assets/input.8e1f3cc5.css","../chunks/loading.9b5a6a67.js","../chunks/page-title.ba38eecf.js","../chunks/filters.2ba801c3.js","../chunks/search-attributes.c866741f.js","../chunks/format-camel-case.960a78f9.js","../chunks/outside-click.0db702a6.js","../chunks/calendar.81d1e381.js","../chunks/toggle-buttons.8fcf9ebe.js","../assets/toggle-buttons.642fc5fa.css","../chunks/menu-item.be414f05.js","../assets/menu-item.86eb7827.css","../chunks/modal.765fc6dd.js","../assets/modal.a1162225.css","../chunks/drawer.e151c6f1.js","../assets/drawer.ea44a723.css","../chunks/dropdown-menu.abe6e484.js","../assets/dropdown-menu.e29ed15e.css","../chunks/core-user.faf7a38e.js","../assets/_page.333f9e8e.css"],import.meta.url),()=>u(()=>import("../chunks/28.21367588.js"),["../chunks/28.21367588.js","../chunks/_page.22924f6a.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/workflow-service.22d7ee79.js","../chunks/decode-payload.fd21ad3e.js","../chunks/index.d29c66be.js","../chunks/data-converter-config.816c1717.js","../chunks/index.255b7490.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/is-http.91300684.js","../chunks/atob.79a337b0.js","../chunks/route-for.5e008fb6.js","../chunks/paths.fd839acd.js","../chunks/has.8da86d13.js","../chunks/settings.a68ca666.js","../chunks/simplify-attributes.28929a11.js","../chunks/format-date.100c5f23.js","../chunks/format-time.66fea38b.js","../chunks/route-for-api.5906c1df.js","../chunks/auth-user.ead5c000.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/stores.1f7fa6eb.js","../chunks/singletons.6d6802f9.js","../chunks/list-workflow-query.722ba818.js","../chunks/cluster.90d7eb2f.js","../chunks/versions.dfa21225.js","../chunks/version-check.d006b302.js"],import.meta.url),()=>u(()=>import("../chunks/29.4930d67d.js"),["../chunks/29.4930d67d.js","../chunks/_page.2bedfed4.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-page.svelte.d7761eda.js","../chunks/index.d29c66be.js"],import.meta.url),()=>u(()=>import("../chunks/30.a1cdd78a.js"),["../chunks/30.a1cdd78a.js","../chunks/_page.ed77219c.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-page.svelte.fd0bafff.js","../chunks/index.d29c66be.js","../chunks/stores.1f7fa6eb.js","../chunks/singletons.6d6802f9.js","../chunks/index.255b7490.js","../chunks/paths.fd839acd.js","../chunks/event-view.73e1a728.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/is-event-type.0064ca29.js","../chunks/has.8da86d13.js","../chunks/events-service.c3f5d068.js","../chunks/route-for.5e008fb6.js","../chunks/workflow-run.2461dc7d.js","../chunks/auth-user.ead5c000.js","../chunks/paginated.03c25b75.js","../chunks/route-for-api.5906c1df.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/index.823c6788.js","../chunks/is-http.91300684.js","../chunks/decode-payload.fd21ad3e.js","../chunks/data-converter-config.816c1717.js","../chunks/atob.79a337b0.js","../chunks/format-date.100c5f23.js","../chunks/format-time.66fea38b.js","../chunks/get-codec.a019b391.js","../chunks/get-event-categorization.b6da7e5f.js","../chunks/simplify-attributes.28929a11.js","../chunks/namespaces.52575875.js","../chunks/toggle-buttons.8fcf9ebe.js","../chunks/icon.5aa23970.js","../assets/toggle-buttons.642fc5fa.css","../chunks/link.d5f6f19e.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../chunks/code-block.fc92cd67.js","../chunks/copy-to-clipboard.a65bc890.js","../assets/code-block.86c182bf.css","../chunks/tooltip.ca813c82.js","../assets/tooltip.b2f3e7fc.css","../chunks/format-event-attributes.f0307b43.js","../chunks/time-format.6ef667eb.js","../chunks/index.e1962a6e.js","../chunks/format-camel-case.960a78f9.js","../chunks/to-time-difference.be87d1bf.js","../chunks/accordion.2f807bee.js","../chunks/pagination.c0661e6a.js","../chunks/navigation.529c81bc.js","../chunks/simple-select.2e5f96b1.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/table-header-row.a7bab5a4.js","../assets/table-header-row.ddd48458.css","../chunks/table-row.4a68a50d.js","../chunks/workflow-status.688af89a.js","../chunks/index.9b9e188f.js","../assets/workflow-status.a22a9f77.css","../chunks/empty-state.bf113865.js","../chunks/alert.bf61782e.js","../assets/alert.5f4c72a4.css","../chunks/event-empty-row.4b13ada5.js","../chunks/dropdown-menu.abe6e484.js","../assets/dropdown-menu.e29ed15e.css","../chunks/version-check.d006b302.js","../chunks/filters.2ba801c3.js","../chunks/versions.dfa21225.js","../chunks/cluster.90d7eb2f.js","../chunks/settings.a68ca666.js","../chunks/loading.9b5a6a67.js","../assets/event-empty-row.cbc2729c.css","../chunks/drawer.e151c6f1.js","../chunks/outside-click.0db702a6.js","../assets/drawer.ea44a723.css","../chunks/button.e7112b29.js","../assets/button.ead2e440.css","../chunks/toggle-switch.58d0ba8c.js","../assets/toggle-switch.0752a896.css","../chunks/workflow-json-navigator.d241bda8.js","../assets/workflow-json-navigator.a85b4b27.css","../chunks/page-title.ba38eecf.js","../assets/_page.250e64e1.css"],import.meta.url),()=>u(()=>import("../chunks/31.358c57de.js"),["../chunks/31.358c57de.js","../chunks/_page.e56da16f.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for.5e008fb6.js","../chunks/paths.fd839acd.js"],import.meta.url),()=>u(()=>import("../chunks/32.358c57de.js"),["../chunks/32.358c57de.js","../chunks/_page.6c6cf695.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for.5e008fb6.js","../chunks/paths.fd839acd.js"],import.meta.url),()=>u(()=>import("../chunks/33.358c57de.js"),["../chunks/33.358c57de.js","../chunks/_page.18598a95.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for.5e008fb6.js","../chunks/paths.fd839acd.js"],import.meta.url),()=>u(()=>import("../chunks/34.5bae14be.js"),["../chunks/34.5bae14be.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-pending-activities-page.svelte.95c32b1b.js","../chunks/index.d29c66be.js","../chunks/stores.1f7fa6eb.js","../chunks/singletons.6d6802f9.js","../chunks/index.255b7490.js","../chunks/paths.fd839acd.js","../chunks/workflow-run.2461dc7d.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/icon.5aa23970.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../chunks/empty-state.bf113865.js","../chunks/link.d5f6f19e.js","../chunks/code-block.fc92cd67.js","../chunks/copy-to-clipboard.a65bc890.js","../assets/code-block.86c182bf.css","../chunks/table-header-row.a7bab5a4.js","../assets/table-header-row.ddd48458.css","../chunks/table-row.4a68a50d.js","../chunks/format-date.100c5f23.js","../chunks/format-time.66fea38b.js","../chunks/has.8da86d13.js","../chunks/format-event-attributes.f0307b43.js","../chunks/time-format.6ef667eb.js","../chunks/index.e1962a6e.js","../chunks/is-event-type.0064ca29.js","../chunks/format-camel-case.960a78f9.js","../chunks/to-time-difference.be87d1bf.js","../chunks/page-title.ba38eecf.js","../assets/_page.682a0c0d.css"],import.meta.url),()=>u(()=>import("../chunks/35.cc625131.js"),["../chunks/35.cc625131.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-query-page.svelte.3cefae06.js","../chunks/index.d29c66be.js","../chunks/stores.1f7fa6eb.js","../chunks/singletons.6d6802f9.js","../chunks/index.255b7490.js","../chunks/paths.fd839acd.js","../chunks/query-service.2b2ddc65.js","../chunks/route-for-api.5906c1df.js","../chunks/route-for.5e008fb6.js","../chunks/auth-user.ead5c000.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/has.8da86d13.js","../chunks/get-codec.a019b391.js","../chunks/is-http.91300684.js","../chunks/decode-payload.fd21ad3e.js","../chunks/data-converter-config.816c1717.js","../chunks/atob.79a337b0.js","../chunks/code-block.fc92cd67.js","../chunks/icon.5aa23970.js","../chunks/copy-to-clipboard.a65bc890.js","../assets/code-block.86c182bf.css","../chunks/simple-select.2e5f96b1.js","../assets/simple-select.51b2afe1.css","../chunks/empty-state.bf113865.js","../chunks/button.e7112b29.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../assets/button.ead2e440.css","../chunks/loading.9b5a6a67.js","../chunks/toggle-switch.58d0ba8c.js","../assets/toggle-switch.0752a896.css","../chunks/page-title.ba38eecf.js"],import.meta.url),()=>u(()=>import("../chunks/36.cd9a34f4.js"),["../chunks/36.cd9a34f4.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-stack-trace-page.svelte.825638f2.js","../chunks/index.d29c66be.js","../chunks/stores.1f7fa6eb.js","../chunks/singletons.6d6802f9.js","../chunks/index.255b7490.js","../chunks/paths.fd839acd.js","../chunks/workflow-run.2461dc7d.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/query-service.2b2ddc65.js","../chunks/route-for-api.5906c1df.js","../chunks/route-for.5e008fb6.js","../chunks/auth-user.ead5c000.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/has.8da86d13.js","../chunks/get-codec.a019b391.js","../chunks/is-http.91300684.js","../chunks/decode-payload.fd21ad3e.js","../chunks/data-converter-config.816c1717.js","../chunks/atob.79a337b0.js","../chunks/code-block.fc92cd67.js","../chunks/icon.5aa23970.js","../chunks/copy-to-clipboard.a65bc890.js","../assets/code-block.86c182bf.css","../chunks/button.e7112b29.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../assets/button.ead2e440.css","../chunks/empty-state.bf113865.js","../chunks/loading.9b5a6a67.js","../chunks/link.d5f6f19e.js","../chunks/page-title.ba38eecf.js"],import.meta.url),()=>u(()=>import("../chunks/37.fe05fea9.js"),["../chunks/37.fe05fea9.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-workers-page.svelte.1685c280.js","../chunks/index.d29c66be.js","../chunks/stores.1f7fa6eb.js","../chunks/singletons.6d6802f9.js","../chunks/index.255b7490.js","../chunks/paths.fd839acd.js","../chunks/page-title.ba38eecf.js","../chunks/workflow-run.2461dc7d.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/workers-list.0e0f0daa.js","../chunks/icon.5aa23970.js","../chunks/time-format.6ef667eb.js","../chunks/format-date.100c5f23.js","../chunks/format-time.66fea38b.js","../chunks/has.8da86d13.js","../chunks/empty-state.bf113865.js","../chunks/table-header-row.a7bab5a4.js","../assets/table-header-row.ddd48458.css","../chunks/table-row.4a68a50d.js"],import.meta.url),()=>u(()=>import("../chunks/38.331e6a91.js"),["../chunks/38.331e6a91.js","./(app)-select-namespace-page.svelte.5c70abb3.js","../chunks/index.d29c66be.js","../chunks/navigation.529c81bc.js","../chunks/singletons.6d6802f9.js","../chunks/index.255b7490.js","../chunks/paths.fd839acd.js","../chunks/stores.1f7fa6eb.js","../chunks/namespaces.52575875.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/route-for.5e008fb6.js","../chunks/empty-state.bf113865.js","../chunks/icon.5aa23970.js","../chunks/page-title.ba38eecf.js","../chunks/workflow-service.22d7ee79.js","../chunks/decode-payload.fd21ad3e.js","../chunks/data-converter-config.816c1717.js","../chunks/is-http.91300684.js","../chunks/atob.79a337b0.js","../chunks/has.8da86d13.js","../chunks/settings.a68ca666.js","../chunks/simplify-attributes.28929a11.js","../chunks/format-date.100c5f23.js","../chunks/format-time.66fea38b.js","../chunks/route-for-api.5906c1df.js","../chunks/auth-user.ead5c000.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/list-workflow-query.722ba818.js","../chunks/cluster.90d7eb2f.js","../chunks/versions.dfa21225.js","../chunks/version-check.d006b302.js","../assets/_page.df90e04e.css"],import.meta.url),()=>u(()=>import("../chunks/39.9ba193d8.js"),["../chunks/39.9ba193d8.js","./(login)-login-page.svelte.5e61f9e4.js","../chunks/index.d29c66be.js","../chunks/stores.1f7fa6eb.js","../chunks/singletons.6d6802f9.js","../chunks/index.255b7490.js","../chunks/paths.fd839acd.js","../chunks/page-title.ba38eecf.js","../chunks/button.e7112b29.js","../chunks/icon.5aa23970.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../assets/button.ead2e440.css","../chunks/route-for.5e008fb6.js","../chunks/feedback-button.689bf634.js","../assets/feedback-button.4e0dbf07.css"],import.meta.url),()=>u(()=>import("../chunks/40.822c5934.js"),["../chunks/40.822c5934.js","./(login)-signin-page.svelte.5e61f9e4.js","../chunks/index.d29c66be.js","../chunks/stores.1f7fa6eb.js","../chunks/singletons.6d6802f9.js","../chunks/index.255b7490.js","../chunks/paths.fd839acd.js","../chunks/page-title.ba38eecf.js","../chunks/button.e7112b29.js","../chunks/icon.5aa23970.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../assets/button.ead2e440.css","../chunks/route-for.5e008fb6.js","../chunks/feedback-button.689bf634.js","../assets/feedback-button.4e0dbf07.css"],import.meta.url)],Re=[],Le={"/(app)":[10,[2]],"/(app)/data-converter/[port]":[11,[2]],"/(app)/import":[12,[2,3]],"/(app)/import/events":[13,[2,3]],"/(app)/import/events/[namespace]/[workflow]/[run]/history":[14,[2,3,4]],"/(app)/import/events/[namespace]/[workflow]/[run]/history/compact":[15,[2,3,4]],"/(app)/import/events/[namespace]/[workflow]/[run]/history/feed":[16,[2,3,4]],"/(app)/import/events/[namespace]/[workflow]/[run]/history/json":[17,[2,3,4]],"/(login)/login":[39,[9]],"/(app)/namespaces":[18,[2]],"/(app)/namespaces/[namespace]":[19,[2,5]],"/(app)/namespaces/[namespace]/archival":[20,[2,5]],"/(app)/namespaces/[namespace]/schedules":[21,[2,5,6]],"/(app)/namespaces/[namespace]/schedules/create":[24,[2,5,6]],"/(app)/namespaces/[namespace]/schedules/[schedule]":[22,[2,5,6]],"/(app)/namespaces/[namespace]/schedules/[schedule]/edit":[23,[2,5,6]],"/(app)/namespaces/[namespace]/task-queues":[25,[2,5,7]],"/(app)/namespaces/[namespace]/task-queues/[queue]":[26,[2,5,7]],"/(app)/namespaces/[namespace]/workflows":[27,[2,5]],"/(app)/namespaces/[namespace]/workflows/[workflow]":[28,[2,5]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]":[29,[2,5,8]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]/history":[30,[2,5,8]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]/history/compact":[31,[2,5,8]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]/history/feed":[32,[2,5,8]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]/history/json":[33,[2,5,8]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]/pending-activities":[34,[2,5,8]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]/query":[35,[2,5,8]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]/stack-trace":[36,[2,5,8]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]/workers":[37,[2,5,8]],"/(app)/select-namespace":[38,[2]],"/(login)/signin":[40,[9]]},Pe={handleError:({error:a})=>{console.error(a)}};export{Le as dictionary,Pe as hooks,ve as matchers,$e as nodes,be as root,Re as server_loads}; +import{S as H,b as J,a as K,c as M,e as m,d as Q,f as b,g as p,h as $,j as d,k as v,l as X,o as Y,m as Z,p as x,q as ee,u as O,v as L,w as te,x as ne,y as ie,z as R,A as P,B as h,C as w,D,E,F as k}from"../chunks/index.d29c66be.js";const re="modulepreload",se=function(a,e){return new URL(a,e).href},y={},u=function(e,n,r){if(!n||n.length===0)return e();const i=document.getElementsByTagName("link");return Promise.all(n.map(l=>{if(l=se(l,r),l in y)return;y[l]=!0;const t=l.endsWith(".css"),o=t?'[rel="stylesheet"]':"";if(!!r)for(let c=i.length-1;c>=0;c--){const g=i[c];if(g.href===l&&(!t||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${o}`))return;const _=document.createElement("link");if(_.rel=t?"stylesheet":re,t||(_.as="script",_.crossOrigin=""),_.href=l,document.head.appendChild(_),t)return new Promise((c,g)=>{_.addEventListener("load",c),_.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${l}`)))})})).then(()=>e())},ve={};function oe(a){let e,n,r;var i=a[1][0];function l(t){return{props:{data:t[3],form:t[2]}}}return i&&(e=h(i,l(a)),a[21](e)),{c(){e&&w(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&8&&(s.data=t[3]),o&4&&(s.form=t[2]),i!==(i=t[1][0])){if(e){R();const _=e;p(_.$$.fragment,1,0,()=>{k(_,1)}),$()}i?(e=h(i,l(t)),t[21](e),w(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){a[21](null),t&&v(n),e&&k(e,t)}}}function _e(a){let e,n,r;var i=a[1][0];function l(t){return{props:{data:t[3],$$slots:{default:[we]},$$scope:{ctx:t}}}}return i&&(e=h(i,l(a)),a[20](e)),{c(){e&&w(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&8&&(s.data=t[3]),o&4194551&&(s.$$scope={dirty:o,ctx:t}),i!==(i=t[1][0])){if(e){R();const _=e;p(_.$$.fragment,1,0,()=>{k(_,1)}),$()}i?(e=h(i,l(t)),t[20](e),w(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){a[20](null),t&&v(n),e&&k(e,t)}}}function ae(a){let e,n,r;var i=a[1][1];function l(t){return{props:{data:t[4],form:t[2]}}}return i&&(e=h(i,l(a)),a[19](e)),{c(){e&&w(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&16&&(s.data=t[4]),o&4&&(s.form=t[2]),i!==(i=t[1][1])){if(e){R();const _=e;p(_.$$.fragment,1,0,()=>{k(_,1)}),$()}i?(e=h(i,l(t)),t[19](e),w(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){a[19](null),t&&v(n),e&&k(e,t)}}}function le(a){let e,n,r;var i=a[1][1];function l(t){return{props:{data:t[4],$$slots:{default:[he]},$$scope:{ctx:t}}}}return i&&(e=h(i,l(a)),a[18](e)),{c(){e&&w(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&16&&(s.data=t[4]),o&4194535&&(s.$$scope={dirty:o,ctx:t}),i!==(i=t[1][1])){if(e){R();const _=e;p(_.$$.fragment,1,0,()=>{k(_,1)}),$()}i?(e=h(i,l(t)),t[18](e),w(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){a[18](null),t&&v(n),e&&k(e,t)}}}function fe(a){let e,n,r;var i=a[1][2];function l(t){return{props:{data:t[5],form:t[2]}}}return i&&(e=h(i,l(a)),a[17](e)),{c(){e&&w(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&32&&(s.data=t[5]),o&4&&(s.form=t[2]),i!==(i=t[1][2])){if(e){R();const _=e;p(_.$$.fragment,1,0,()=>{k(_,1)}),$()}i?(e=h(i,l(t)),t[17](e),w(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){a[17](null),t&&v(n),e&&k(e,t)}}}function ce(a){let e,n,r;var i=a[1][2];function l(t){return{props:{data:t[5],$$slots:{default:[de]},$$scope:{ctx:t}}}}return i&&(e=h(i,l(a)),a[16](e)),{c(){e&&w(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&32&&(s.data=t[5]),o&4194503&&(s.$$scope={dirty:o,ctx:t}),i!==(i=t[1][2])){if(e){R();const _=e;p(_.$$.fragment,1,0,()=>{k(_,1)}),$()}i?(e=h(i,l(t)),t[16](e),w(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){a[16](null),t&&v(n),e&&k(e,t)}}}function ue(a){let e,n,r;var i=a[1][3];function l(t){return{props:{data:t[6],form:t[2]}}}return i&&(e=h(i,l(a)),a[15](e)),{c(){e&&w(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&64&&(s.data=t[6]),o&4&&(s.form=t[2]),i!==(i=t[1][3])){if(e){R();const _=e;p(_.$$.fragment,1,0,()=>{k(_,1)}),$()}i?(e=h(i,l(t)),t[15](e),w(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){a[15](null),t&&v(n),e&&k(e,t)}}}function me(a){let e,n,r;var i=a[1][3];function l(t){return{props:{data:t[6],$$slots:{default:[pe]},$$scope:{ctx:t}}}}return i&&(e=h(i,l(a)),a[14](e)),{c(){e&&w(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&64&&(s.data=t[6]),o&4194439&&(s.$$scope={dirty:o,ctx:t}),i!==(i=t[1][3])){if(e){R();const _=e;p(_.$$.fragment,1,0,()=>{k(_,1)}),$()}i?(e=h(i,l(t)),t[14](e),w(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){a[14](null),t&&v(n),e&&k(e,t)}}}function pe(a){let e,n,r;var i=a[1][4];function l(t){return{props:{data:t[7],form:t[2]}}}return i&&(e=h(i,l(a)),a[13](e)),{c(){e&&w(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&128&&(s.data=t[7]),o&4&&(s.form=t[2]),i!==(i=t[1][4])){if(e){R();const _=e;p(_.$$.fragment,1,0,()=>{k(_,1)}),$()}i?(e=h(i,l(t)),t[13](e),w(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){a[13](null),t&&v(n),e&&k(e,t)}}}function de(a){let e,n,r,i;const l=[me,ue],t=[];function o(s,_){return s[1][4]?0:1}return e=o(a),n=t[e]=l[e](a),{c(){n.c(),r=m()},l(s){n.l(s),r=m()},m(s,_){t[e].m(s,_),b(s,r,_),i=!0},p(s,_){let c=e;e=o(s),e===c?t[e].p(s,_):(R(),p(t[c],1,1,()=>{t[c]=null}),$(),n=t[e],n?n.p(s,_):(n=t[e]=l[e](s),n.c()),d(n,1),n.m(r.parentNode,r))},i(s){i||(d(n),i=!0)},o(s){p(n),i=!1},d(s){t[e].d(s),s&&v(r)}}}function he(a){let e,n,r,i;const l=[ce,fe],t=[];function o(s,_){return s[1][3]?0:1}return e=o(a),n=t[e]=l[e](a),{c(){n.c(),r=m()},l(s){n.l(s),r=m()},m(s,_){t[e].m(s,_),b(s,r,_),i=!0},p(s,_){let c=e;e=o(s),e===c?t[e].p(s,_):(R(),p(t[c],1,1,()=>{t[c]=null}),$(),n=t[e],n?n.p(s,_):(n=t[e]=l[e](s),n.c()),d(n,1),n.m(r.parentNode,r))},i(s){i||(d(n),i=!0)},o(s){p(n),i=!1},d(s){t[e].d(s),s&&v(r)}}}function we(a){let e,n,r,i;const l=[le,ae],t=[];function o(s,_){return s[1][2]?0:1}return e=o(a),n=t[e]=l[e](a),{c(){n.c(),r=m()},l(s){n.l(s),r=m()},m(s,_){t[e].m(s,_),b(s,r,_),i=!0},p(s,_){let c=e;e=o(s),e===c?t[e].p(s,_):(R(),p(t[c],1,1,()=>{t[c]=null}),$(),n=t[e],n?n.p(s,_):(n=t[e]=l[e](s),n.c()),d(n,1),n.m(r.parentNode,r))},i(s){i||(d(n),i=!0)},o(s){p(n),i=!1},d(s){t[e].d(s),s&&v(r)}}}function N(a){let e,n=a[9]&&q(a);return{c(){e=Z("div"),n&&n.c(),this.h()},l(r){e=x(r,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var i=ee(e);n&&n.l(i),i.forEach(v),this.h()},h(){O(e,"id","svelte-announcer"),O(e,"aria-live","assertive"),O(e,"aria-atomic","true"),L(e,"position","absolute"),L(e,"left","0"),L(e,"top","0"),L(e,"clip","rect(0 0 0 0)"),L(e,"clip-path","inset(50%)"),L(e,"overflow","hidden"),L(e,"white-space","nowrap"),L(e,"width","1px"),L(e,"height","1px")},m(r,i){b(r,e,i),n&&n.m(e,null)},p(r,i){r[9]?n?n.p(r,i):(n=q(r),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(r){r&&v(e),n&&n.d()}}}function q(a){let e;return{c(){e=te(a[10])},l(n){e=ne(n,a[10])},m(n,r){b(n,e,r)},p(n,r){r&1024&&ie(e,n[10])},d(n){n&&v(e)}}}function Ee(a){let e,n,r,i,l;const t=[_e,oe],o=[];function s(c,g){return c[1][1]?0:1}e=s(a),n=o[e]=t[e](a);let _=a[8]&&N(a);return{c(){n.c(),r=M(),_&&_.c(),i=m()},l(c){n.l(c),r=Q(c),_&&_.l(c),i=m()},m(c,g){o[e].m(c,g),b(c,r,g),_&&_.m(c,g),b(c,i,g),l=!0},p(c,[g]){let A=e;e=s(c),e===A?o[e].p(c,g):(R(),p(o[A],1,1,()=>{o[A]=null}),$(),n=o[e],n?n.p(c,g):(n=o[e]=t[e](c),n.c()),d(n,1),n.m(r.parentNode,r)),c[8]?_?_.p(c,g):(_=N(c),_.c(),_.m(i.parentNode,i)):_&&(_.d(1),_=null)},i(c){l||(d(n),l=!0)},o(c){p(n),l=!1},d(c){o[e].d(c),c&&v(r),_&&_.d(c),c&&v(i)}}}function ke(a,e,n){let{stores:r}=e,{page:i}=e,{constructors:l}=e,{components:t=[]}=e,{form:o}=e,{data_0:s=null}=e,{data_1:_=null}=e,{data_2:c=null}=e,{data_3:g=null}=e,{data_4:A=null}=e;X(r.page.notify);let I=!1,T=!1,V=null;Y(()=>{const f=r.page.subscribe(()=>{I&&(n(9,T=!0),n(10,V=document.title||"untitled page"))});return n(8,I=!0),f});function S(f){P[f?"unshift":"push"](()=>{t[4]=f,n(0,t)})}function C(f){P[f?"unshift":"push"](()=>{t[3]=f,n(0,t)})}function B(f){P[f?"unshift":"push"](()=>{t[3]=f,n(0,t)})}function j(f){P[f?"unshift":"push"](()=>{t[2]=f,n(0,t)})}function U(f){P[f?"unshift":"push"](()=>{t[2]=f,n(0,t)})}function z(f){P[f?"unshift":"push"](()=>{t[1]=f,n(0,t)})}function F(f){P[f?"unshift":"push"](()=>{t[1]=f,n(0,t)})}function W(f){P[f?"unshift":"push"](()=>{t[0]=f,n(0,t)})}function G(f){P[f?"unshift":"push"](()=>{t[0]=f,n(0,t)})}return a.$$set=f=>{"stores"in f&&n(11,r=f.stores),"page"in f&&n(12,i=f.page),"constructors"in f&&n(1,l=f.constructors),"components"in f&&n(0,t=f.components),"form"in f&&n(2,o=f.form),"data_0"in f&&n(3,s=f.data_0),"data_1"in f&&n(4,_=f.data_1),"data_2"in f&&n(5,c=f.data_2),"data_3"in f&&n(6,g=f.data_3),"data_4"in f&&n(7,A=f.data_4)},a.$$.update=()=>{a.$$.dirty&6144&&r.page.set(i)},[t,l,o,s,_,c,g,A,I,T,V,r,i,S,C,B,j,U,z,F,W,G]}class be extends H{constructor(e){super(),J(this,e,ke,Ee,K,{stores:11,page:12,constructors:1,components:0,form:2,data_0:3,data_1:4,data_2:5,data_3:6,data_4:7})}}const $e=[()=>u(()=>import("../chunks/0.fd416dd1.js"),["../chunks/0.fd416dd1.js","../chunks/_layout.42e1b349.js","../chunks/index.d29c66be.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/index.255b7490.js","../chunks/index.9b9e188f.js","./layout.svelte.025dfd6f.js"],import.meta.url),()=>u(()=>import("../chunks/1.b175c1ff.js"),["../chunks/1.b175c1ff.js","./_error.svelte.0fce50e2.js","../chunks/index.d29c66be.js","../chunks/stores.8c019868.js","../chunks/singletons.9d1a23a0.js","../chunks/index.255b7490.js","../chunks/paths.11885d69.js","../chunks/error.78b7832f.js","../chunks/navigation.e41eebee.js","../chunks/has.8da86d13.js","../chunks/link.d5f6f19e.js","../chunks/is-network-error.3dd5226d.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../assets/app.31287cf9.css"],import.meta.url),()=>u(()=>import("../chunks/2.3b21da7f.js"),["../chunks/2.3b21da7f.js","../chunks/_layout.0155ac74.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/settings-service.4436430b.js","../chunks/settings.a68ca666.js","../chunks/index.255b7490.js","../chunks/index.d29c66be.js","../chunks/route-for-api.851ff400.js","../chunks/route-for.3e9c6ff4.js","../chunks/paths.11885d69.js","../chunks/auth-user.ead5c000.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/has.8da86d13.js","../chunks/stores.8c019868.js","../chunks/singletons.9d1a23a0.js","../chunks/cluster.90d7eb2f.js","../chunks/namespaces-service.97b7c0ed.js","../chunks/namespaces.52575875.js","../chunks/paginated.5c5a4acc.js","../chunks/atob.1f6851d3.js","../assets/_layout.845f7340.css","../assets/app.31287cf9.css","./(app)-layout.svelte.61e45ab4.js","../chunks/navigation.e41eebee.js","../chunks/version-check.d006b302.js","../chunks/error.78b7832f.js","../chunks/link.d5f6f19e.js","../chunks/tooltip.ca813c82.js","../chunks/icon.5aa23970.js","../chunks/copy-to-clipboard.a65bc890.js","../assets/tooltip.b2f3e7fc.css","../chunks/filters.9cc46c9a.js","../chunks/modal.765fc6dd.js","../chunks/button.e7112b29.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../assets/button.ead2e440.css","../assets/modal.a1162225.css","../chunks/menu-item.be414f05.js","../chunks/outside-click.0db702a6.js","../assets/menu-item.86eb7827.css","../chunks/empty-state.bf113865.js","../chunks/input.0adb9ec6.js","../assets/input.8e1f3cc5.css","../chunks/data-converter-config.816c1717.js","../chunks/is-http.91300684.js","../chunks/toggle-switch.58d0ba8c.js","../assets/toggle-switch.0752a896.css","../chunks/workflow-run.2461dc7d.js","../chunks/accordion.2f807bee.js","../assets/_layout.8555ffa5.css"],import.meta.url),()=>u(()=>import("../chunks/3.14dff8d4.js"),["../chunks/3.14dff8d4.js","./(app)-import-layout.svelte.73b1b562.js","../chunks/index.d29c66be.js","../chunks/stores.8c019868.js","../chunks/singletons.9d1a23a0.js","../chunks/index.255b7490.js","../chunks/paths.11885d69.js","../chunks/page-title.ba38eecf.js"],import.meta.url),()=>u(()=>import("../chunks/4.09a92121.js"),["../chunks/4.09a92121.js","./(app)-import-events-_namespace_-_workflow_-_run_-history-layout.svelte.860dbcd8.js","../chunks/index.d29c66be.js","../chunks/route-for.3e9c6ff4.js","../chunks/paths.11885d69.js","../chunks/toggle-buttons.d2c900e1.js","../chunks/icon.5aa23970.js","../chunks/stores.8c019868.js","../chunks/singletons.9d1a23a0.js","../chunks/index.255b7490.js","../assets/toggle-buttons.642fc5fa.css","../chunks/event-history-file-import.21cce287.js","../chunks/navigation.e41eebee.js","../chunks/button.e7112b29.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../assets/button.ead2e440.css","../chunks/index.227f6018.js","../chunks/is-http.91300684.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/decode-payload.f6b25529.js","../chunks/data-converter-config.816c1717.js","../chunks/atob.1f6851d3.js","../chunks/has.8da86d13.js","../chunks/format-date.100c5f23.js","../chunks/format-time.66fea38b.js","../chunks/is-event-type.0064ca29.js","../chunks/get-codec.a019b391.js","../chunks/get-event-categorization.b6da7e5f.js","../chunks/simplify-attributes.28929a11.js","../chunks/toaster.fda31b2d.js","../chunks/import-events.d74da7cc.js","../chunks/index.e1962a6e.js","../chunks/auth-user.ead5c000.js","../chunks/namespaces.52575875.js"],import.meta.url),()=>u(()=>import("../chunks/5.7afa0853.js"),["../chunks/5.7afa0853.js","../chunks/_layout.d9d2dc15.js","../chunks/route-for-api.851ff400.js","../chunks/route-for.3e9c6ff4.js","../chunks/paths.11885d69.js","../chunks/auth-user.ead5c000.js","../chunks/index.d29c66be.js","../chunks/persist-store.bb6871e4.js","../chunks/index.255b7490.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/has.8da86d13.js","../chunks/stores.8c019868.js","../chunks/singletons.9d1a23a0.js","../chunks/search-attributes.c866741f.js","./layout.svelte.025dfd6f.js"],import.meta.url),()=>u(()=>import("../chunks/6.9e446e9f.js"),["../chunks/6.9e446e9f.js","./(app)-namespaces-_namespace_-schedules-layout.svelte.025dfd6f.js","../chunks/index.d29c66be.js"],import.meta.url),()=>u(()=>import("../chunks/7.be3251b7.js"),["../chunks/7.be3251b7.js","./(app)-namespaces-_namespace_-task-queues-layout.svelte.3bd4a625.js","../chunks/index.d29c66be.js"],import.meta.url),()=>u(()=>import("../chunks/8.2ada265f.js"),["../chunks/8.2ada265f.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-layout.svelte.ba213781.js","../chunks/index.d29c66be.js","../chunks/index.255b7490.js","../chunks/stores.8c019868.js","../chunks/singletons.9d1a23a0.js","../chunks/paths.11885d69.js","../chunks/workflow-run.2461dc7d.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/events-service.8ba652e5.js","../chunks/event-view.73e1a728.js","../chunks/route-for.3e9c6ff4.js","../chunks/auth-user.ead5c000.js","../chunks/is-event-type.0064ca29.js","../chunks/paginated.5c5a4acc.js","../chunks/route-for-api.851ff400.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/has.8da86d13.js","../chunks/index.227f6018.js","../chunks/is-http.91300684.js","../chunks/decode-payload.f6b25529.js","../chunks/data-converter-config.816c1717.js","../chunks/atob.1f6851d3.js","../chunks/format-date.100c5f23.js","../chunks/format-time.66fea38b.js","../chunks/get-codec.a019b391.js","../chunks/get-event-categorization.b6da7e5f.js","../chunks/simplify-attributes.28929a11.js","../chunks/tooltip.ca813c82.js","../chunks/icon.5aa23970.js","../chunks/copy-to-clipboard.a65bc890.js","../assets/tooltip.b2f3e7fc.css","../chunks/workflow-terminate-enabled.682bc0d8.js","../chunks/workflow-service.5b743be0.js","../chunks/settings.a68ca666.js","../chunks/list-workflow-query.4d12de04.js","../chunks/cluster.90d7eb2f.js","../chunks/versions.dfa21225.js","../chunks/version-check.d006b302.js","../chunks/workflow-status.8e93b70c.js","../chunks/index.9b9e188f.js","../assets/workflow-status.a22a9f77.css","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../chunks/core-user.faf7a38e.js","../chunks/split-button.efadbe62.js","../chunks/menu-item.be414f05.js","../chunks/outside-click.0db702a6.js","../assets/menu-item.86eb7827.css","../chunks/button.e7112b29.js","../assets/button.ead2e440.css","../assets/split-button.b0d29bb4.css","../chunks/modal.765fc6dd.js","../assets/modal.a1162225.css","../chunks/input.0adb9ec6.js","../assets/input.8e1f3cc5.css","../chunks/tab-list.bd3b7764.js","../assets/tab-list.cbfd6e55.css","../chunks/toggle-switch.58d0ba8c.js","../assets/toggle-switch.0752a896.css","../chunks/alert.bf61782e.js","../assets/alert.5f4c72a4.css","../chunks/link.d5f6f19e.js","../chunks/loading.9b5a6a67.js","../chunks/pollers-service.1177164f.js","../assets/_layout.9cd642e2.css"],import.meta.url),()=>u(()=>import("../chunks/9.1e97cfce.js"),["../chunks/9.1e97cfce.js","../chunks/_layout.7611e016.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/settings-service.4436430b.js","../chunks/settings.a68ca666.js","../chunks/index.255b7490.js","../chunks/index.d29c66be.js","../chunks/route-for-api.851ff400.js","../chunks/route-for.3e9c6ff4.js","../chunks/paths.11885d69.js","../chunks/auth-user.ead5c000.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/has.8da86d13.js","../chunks/stores.8c019868.js","../chunks/singletons.9d1a23a0.js","../assets/app.31287cf9.css","./(login)-layout.svelte.025dfd6f.js"],import.meta.url),()=>u(()=>import("../chunks/10.84ba26ae.js"),["../chunks/10.84ba26ae.js","../chunks/_page.0c8248fb.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for.3e9c6ff4.js","../chunks/paths.11885d69.js","./(app)-page.svelte.4c5b11b2.js","../chunks/index.d29c66be.js","../chunks/navigation.e41eebee.js","../chunks/singletons.9d1a23a0.js","../chunks/index.255b7490.js","../chunks/workflow-service.5b743be0.js","../chunks/decode-payload.f6b25529.js","../chunks/data-converter-config.816c1717.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/is-http.91300684.js","../chunks/atob.1f6851d3.js","../chunks/has.8da86d13.js","../chunks/settings.a68ca666.js","../chunks/simplify-attributes.28929a11.js","../chunks/format-date.100c5f23.js","../chunks/format-time.66fea38b.js","../chunks/route-for-api.851ff400.js","../chunks/auth-user.ead5c000.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/stores.8c019868.js","../chunks/list-workflow-query.4d12de04.js","../chunks/cluster.90d7eb2f.js","../chunks/versions.dfa21225.js","../chunks/version-check.d006b302.js","../chunks/namespaces.52575875.js","../chunks/loading.9b5a6a67.js"],import.meta.url),()=>u(()=>import("../chunks/11.c8fa3985.js"),["../chunks/11.c8fa3985.js","./(app)-data-converter-_port_-page.svelte.d8b1684f.js","../chunks/index.d29c66be.js","../chunks/navigation.e41eebee.js","../chunks/singletons.9d1a23a0.js","../chunks/index.255b7490.js","../chunks/paths.11885d69.js","../chunks/stores.8c019868.js","../chunks/toaster.fda31b2d.js","../chunks/data-converter-config.816c1717.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js"],import.meta.url),()=>u(()=>import("../chunks/12.a4817e35.js"),["../chunks/12.a4817e35.js","../chunks/_page.5ea3b623.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for.3e9c6ff4.js","../chunks/paths.11885d69.js"],import.meta.url),()=>u(()=>import("../chunks/13.27a982ba.js"),["../chunks/13.27a982ba.js","./(app)-import-events-page.svelte.fd3bb0a6.js","../chunks/index.d29c66be.js","../chunks/event-history-file-import.21cce287.js","../chunks/route-for.3e9c6ff4.js","../chunks/paths.11885d69.js","../chunks/navigation.e41eebee.js","../chunks/singletons.9d1a23a0.js","../chunks/index.255b7490.js","../chunks/button.e7112b29.js","../chunks/icon.5aa23970.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../assets/button.ead2e440.css","../chunks/index.227f6018.js","../chunks/is-http.91300684.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/decode-payload.f6b25529.js","../chunks/data-converter-config.816c1717.js","../chunks/atob.1f6851d3.js","../chunks/has.8da86d13.js","../chunks/format-date.100c5f23.js","../chunks/format-time.66fea38b.js","../chunks/is-event-type.0064ca29.js","../chunks/get-codec.a019b391.js","../chunks/get-event-categorization.b6da7e5f.js","../chunks/simplify-attributes.28929a11.js","../chunks/toaster.fda31b2d.js","../chunks/import-events.d74da7cc.js","../chunks/index.e1962a6e.js","../chunks/stores.8c019868.js","../chunks/auth-user.ead5c000.js","../chunks/namespaces.52575875.js","../chunks/code-block.fc92cd67.js","../chunks/copy-to-clipboard.a65bc890.js","../assets/code-block.86c182bf.css","../chunks/link.d5f6f19e.js"],import.meta.url),()=>u(()=>import("../chunks/14.a298948a.js"),["../chunks/14.a298948a.js","../chunks/_page.a2911484.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for.3e9c6ff4.js","../chunks/paths.11885d69.js"],import.meta.url),()=>u(()=>import("../chunks/15.df3bb41f.js"),["../chunks/15.df3bb41f.js","./(app)-import-events-_namespace_-_workflow_-_run_-history-compact-page.svelte.1ebc33d5.js","../chunks/index.d29c66be.js","../chunks/import-events.d74da7cc.js","../chunks/index.255b7490.js","../chunks/event-empty-row.7d16dc36.js","../chunks/tooltip.ca813c82.js","../chunks/icon.5aa23970.js","../chunks/copy-to-clipboard.a65bc890.js","../assets/tooltip.b2f3e7fc.css","../chunks/event-view.73e1a728.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/time-format.6ef667eb.js","../chunks/index.e1962a6e.js","../chunks/has.8da86d13.js","../chunks/is-event-type.0064ca29.js","../chunks/format-time.66fea38b.js","../chunks/format-date.100c5f23.js","../chunks/format-event-attributes.f0307b43.js","../chunks/format-camel-case.960a78f9.js","../chunks/stores.8c019868.js","../chunks/singletons.9d1a23a0.js","../chunks/paths.11885d69.js","../chunks/route-for.3e9c6ff4.js","../chunks/code-block.fc92cd67.js","../assets/code-block.86c182bf.css","../chunks/link.d5f6f19e.js","../chunks/table-header-row.a7bab5a4.js","../assets/table-header-row.ddd48458.css","../chunks/dropdown-menu.abe6e484.js","../assets/dropdown-menu.e29ed15e.css","../chunks/get-event-categorization.b6da7e5f.js","../chunks/pagination.a8beaf3b.js","../chunks/navigation.e41eebee.js","../chunks/simple-select.2e5f96b1.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/version-check.d006b302.js","../chunks/filters.9cc46c9a.js","../chunks/versions.dfa21225.js","../chunks/cluster.90d7eb2f.js","../chunks/settings.a68ca666.js","../chunks/empty-state.bf113865.js","../chunks/loading.9b5a6a67.js","../assets/event-empty-row.cbc2729c.css"],import.meta.url),()=>u(()=>import("../chunks/16.2273673f.js"),["../chunks/16.2273673f.js","./(app)-import-events-_namespace_-_workflow_-_run_-history-feed-page.svelte.b4fdbb72.js","../chunks/index.d29c66be.js","../chunks/import-events.d74da7cc.js","../chunks/index.255b7490.js","../chunks/event-empty-row.7d16dc36.js","../chunks/tooltip.ca813c82.js","../chunks/icon.5aa23970.js","../chunks/copy-to-clipboard.a65bc890.js","../assets/tooltip.b2f3e7fc.css","../chunks/event-view.73e1a728.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/time-format.6ef667eb.js","../chunks/index.e1962a6e.js","../chunks/has.8da86d13.js","../chunks/is-event-type.0064ca29.js","../chunks/format-time.66fea38b.js","../chunks/format-date.100c5f23.js","../chunks/format-event-attributes.f0307b43.js","../chunks/format-camel-case.960a78f9.js","../chunks/stores.8c019868.js","../chunks/singletons.9d1a23a0.js","../chunks/paths.11885d69.js","../chunks/route-for.3e9c6ff4.js","../chunks/code-block.fc92cd67.js","../assets/code-block.86c182bf.css","../chunks/link.d5f6f19e.js","../chunks/table-header-row.a7bab5a4.js","../assets/table-header-row.ddd48458.css","../chunks/dropdown-menu.abe6e484.js","../assets/dropdown-menu.e29ed15e.css","../chunks/get-event-categorization.b6da7e5f.js","../chunks/pagination.a8beaf3b.js","../chunks/navigation.e41eebee.js","../chunks/simple-select.2e5f96b1.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/version-check.d006b302.js","../chunks/filters.9cc46c9a.js","../chunks/versions.dfa21225.js","../chunks/cluster.90d7eb2f.js","../chunks/settings.a68ca666.js","../chunks/empty-state.bf113865.js","../chunks/loading.9b5a6a67.js","../assets/event-empty-row.cbc2729c.css"],import.meta.url),()=>u(()=>import("../chunks/17.861caa43.js"),["../chunks/17.861caa43.js","./(app)-import-events-_namespace_-_workflow_-_run_-history-json-page.svelte.71e396ad.js","../chunks/index.d29c66be.js","../chunks/workflow-json-navigator.d241bda8.js","../chunks/code-block.fc92cd67.js","../chunks/icon.5aa23970.js","../chunks/copy-to-clipboard.a65bc890.js","../chunks/index.255b7490.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../assets/code-block.86c182bf.css","../chunks/loading.9b5a6a67.js","../assets/workflow-json-navigator.a85b4b27.css","../chunks/import-events.d74da7cc.js"],import.meta.url),()=>u(()=>import("../chunks/18.a3a1a0ad.js"),["../chunks/18.a3a1a0ad.js","./(app)-namespaces-page.svelte.22421bc2.js","../chunks/index.d29c66be.js","../chunks/route-for.3e9c6ff4.js","../chunks/paths.11885d69.js","../chunks/stores.8c019868.js","../chunks/singletons.9d1a23a0.js","../chunks/index.255b7490.js","../chunks/namespaces.52575875.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/empty-state.bf113865.js","../chunks/icon.5aa23970.js","../chunks/page-title.ba38eecf.js","../chunks/pagination.a8beaf3b.js","../chunks/navigation.e41eebee.js","../chunks/simple-select.2e5f96b1.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/table-header-row.a7bab5a4.js","../assets/table-header-row.ddd48458.css","../chunks/table-row.4a68a50d.js"],import.meta.url),()=>u(()=>import("../chunks/19.514e39dd.js"),["../chunks/19.514e39dd.js","../chunks/_page.16a3c60c.js","../chunks/namespaces-service.97b7c0ed.js","../chunks/toaster.fda31b2d.js","../chunks/index.255b7490.js","../chunks/index.d29c66be.js","../chunks/namespaces.52575875.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/paginated.5c5a4acc.js","../chunks/route-for-api.851ff400.js","../chunks/route-for.3e9c6ff4.js","../chunks/paths.11885d69.js","../chunks/auth-user.ead5c000.js","../chunks/is-network-error.3dd5226d.js","../chunks/has.8da86d13.js","../chunks/stores.8c019868.js","../chunks/singletons.9d1a23a0.js","./(app)-namespaces-_namespace_-page.svelte.ddd6b2c4.js","../chunks/versions.dfa21225.js","../chunks/cluster.90d7eb2f.js","../chunks/settings.a68ca666.js","../chunks/search-attributes.c866741f.js","../chunks/format-time.66fea38b.js","../chunks/page-title.ba38eecf.js","../chunks/table-header-row.a7bab5a4.js","../assets/table-header-row.ddd48458.css","../chunks/table-row.4a68a50d.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../assets/_page.c4e4432a.css"],import.meta.url),()=>u(()=>import("../chunks/20.032260a5.js"),["../chunks/20.032260a5.js","../chunks/_page.ee80cdee.js","../chunks/workflow-service.5b743be0.js","../chunks/decode-payload.f6b25529.js","../chunks/index.d29c66be.js","../chunks/data-converter-config.816c1717.js","../chunks/index.255b7490.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/is-http.91300684.js","../chunks/atob.1f6851d3.js","../chunks/route-for.3e9c6ff4.js","../chunks/paths.11885d69.js","../chunks/has.8da86d13.js","../chunks/settings.a68ca666.js","../chunks/simplify-attributes.28929a11.js","../chunks/format-date.100c5f23.js","../chunks/format-time.66fea38b.js","../chunks/route-for-api.851ff400.js","../chunks/auth-user.ead5c000.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/stores.8c019868.js","../chunks/singletons.9d1a23a0.js","../chunks/list-workflow-query.4d12de04.js","../chunks/cluster.90d7eb2f.js","../chunks/versions.dfa21225.js","../chunks/version-check.d006b302.js","../chunks/namespaces-service.97b7c0ed.js","../chunks/namespaces.52575875.js","../chunks/paginated.5c5a4acc.js","./(app)-namespaces-_namespace_-archival-page.svelte.c0965e7b.js","../chunks/time-format.6ef667eb.js","../chunks/search.14478462.js","../chunks/table-header-row.a7bab5a4.js","../assets/table-header-row.ddd48458.css","../chunks/pagination.a8beaf3b.js","../chunks/navigation.e41eebee.js","../chunks/simple-select.2e5f96b1.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/workflow-status.8e93b70c.js","../chunks/index.9b9e188f.js","../assets/workflow-status.a22a9f77.css","../chunks/icon.5aa23970.js","../chunks/copy-to-clipboard.a65bc890.js","../chunks/table-row.4a68a50d.js","../chunks/button.e7112b29.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../assets/button.ead2e440.css","../assets/search.d6094a94.css","../chunks/empty-state.bf113865.js","../chunks/code-block.fc92cd67.js","../assets/code-block.86c182bf.css","../chunks/page-title.ba38eecf.js","../assets/_page.c5268cbc.css"],import.meta.url),()=>u(()=>import("../chunks/21.38ff7670.js"),["../chunks/21.38ff7670.js","./(app)-namespaces-_namespace_-schedules-page.svelte.d643b96f.js","../chunks/index.d29c66be.js","../chunks/stores.8c019868.js","../chunks/singletons.9d1a23a0.js","../chunks/index.255b7490.js","../chunks/paths.11885d69.js","../chunks/empty-state.bf113865.js","../chunks/icon.5aa23970.js","../chunks/pagination.a8beaf3b.js","../chunks/navigation.e41eebee.js","../chunks/simple-select.2e5f96b1.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/button.e7112b29.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../assets/button.ead2e440.css","../chunks/loading.9b5a6a67.js","../chunks/input.0adb9ec6.js","../chunks/copy-to-clipboard.a65bc890.js","../chunks/tooltip.ca813c82.js","../assets/tooltip.b2f3e7fc.css","../assets/input.8e1f3cc5.css","../chunks/route-for.3e9c6ff4.js","../chunks/schedule-frequency.b820a236.js","../chunks/route-for-api.851ff400.js","../chunks/auth-user.ead5c000.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/has.8da86d13.js","../chunks/calendar.81d1e381.js","../chunks/table-header-row.a7bab5a4.js","../assets/table-header-row.ddd48458.css","../chunks/time-format.6ef667eb.js","../chunks/format-date.100c5f23.js","../chunks/format-time.66fea38b.js","../chunks/workflow-status.8e93b70c.js","../chunks/index.9b9e188f.js","../assets/workflow-status.a22a9f77.css","../chunks/link.d5f6f19e.js","../chunks/table-row.4a68a50d.js","../chunks/format-camel-case.960a78f9.js","../chunks/menu-item.be414f05.js","../chunks/outside-click.0db702a6.js","../assets/menu-item.86eb7827.css","../chunks/core-user.faf7a38e.js","../chunks/page-title.ba38eecf.js","../assets/_page.75cb2ee6.css"],import.meta.url),()=>u(()=>import("../chunks/22.6b7a2277.js"),["../chunks/22.6b7a2277.js","./(app)-namespaces-_namespace_-schedules-_schedule_-page.svelte.5636df7d.js","../chunks/index.d29c66be.js","../chunks/stores.8c019868.js","../chunks/singletons.9d1a23a0.js","../chunks/index.255b7490.js","../chunks/paths.11885d69.js","../chunks/page-title.ba38eecf.js","../chunks/icon.5aa23970.js","../chunks/route-for.3e9c6ff4.js","../chunks/navigation.e41eebee.js","../chunks/schedule-frequency.b820a236.js","../chunks/route-for-api.851ff400.js","../chunks/auth-user.ead5c000.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/has.8da86d13.js","../chunks/calendar.81d1e381.js","../chunks/format-date.100c5f23.js","../chunks/format-time.66fea38b.js","../chunks/time-format.6ef667eb.js","../chunks/schedules.e00ba3db.js","../chunks/workflow-status.8e93b70c.js","../chunks/index.9b9e188f.js","../assets/workflow-status.a22a9f77.css","../chunks/workflow-service.5b743be0.js","../chunks/decode-payload.f6b25529.js","../chunks/data-converter-config.816c1717.js","../chunks/is-http.91300684.js","../chunks/atob.1f6851d3.js","../chunks/settings.a68ca666.js","../chunks/simplify-attributes.28929a11.js","../chunks/list-workflow-query.4d12de04.js","../chunks/cluster.90d7eb2f.js","../chunks/versions.dfa21225.js","../chunks/version-check.d006b302.js","../chunks/empty-state.bf113865.js","../chunks/link.d5f6f19e.js","../chunks/modal.765fc6dd.js","../chunks/button.e7112b29.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../assets/button.ead2e440.css","../chunks/tooltip.ca813c82.js","../chunks/copy-to-clipboard.a65bc890.js","../assets/tooltip.b2f3e7fc.css","../assets/modal.a1162225.css","../chunks/split-button.efadbe62.js","../chunks/menu-item.be414f05.js","../chunks/outside-click.0db702a6.js","../assets/menu-item.86eb7827.css","../assets/split-button.b0d29bb4.css","../chunks/loading.9b5a6a67.js","../chunks/core-user.faf7a38e.js","../assets/_page.b0c2dab8.css"],import.meta.url),()=>u(()=>import("../chunks/23.1cb2e135.js"),["../chunks/23.1cb2e135.js","./(app)-namespaces-_namespace_-schedules-_schedule_-edit-page.svelte.204f3672.js","../chunks/index.d29c66be.js","../chunks/stores.8c019868.js","../chunks/singletons.9d1a23a0.js","../chunks/index.255b7490.js","../chunks/paths.11885d69.js","../chunks/page-title.ba38eecf.js","../chunks/schedules.e00ba3db.js","../chunks/navigation.e41eebee.js","../chunks/route-for.3e9c6ff4.js","../chunks/schedule-frequency.b820a236.js","../chunks/route-for-api.851ff400.js","../chunks/auth-user.ead5c000.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/has.8da86d13.js","../chunks/calendar.81d1e381.js","../chunks/loading.9b5a6a67.js","../chunks/schedule-form-view.f2d04ca3.js","../chunks/alert.bf61782e.js","../chunks/icon.5aa23970.js","../assets/alert.5f4c72a4.css","../chunks/button.e7112b29.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../assets/button.ead2e440.css","../chunks/input.0adb9ec6.js","../chunks/copy-to-clipboard.a65bc890.js","../chunks/tooltip.ca813c82.js","../assets/tooltip.b2f3e7fc.css","../assets/input.8e1f3cc5.css","../chunks/tab-list.bd3b7764.js","../assets/tab-list.cbfd6e55.css","../chunks/menu-item.be414f05.js","../chunks/outside-click.0db702a6.js","../assets/menu-item.86eb7827.css","../chunks/toggle-buttons.d2c900e1.js","../assets/toggle-buttons.642fc5fa.css","../assets/schedule-form-view.9b9d908c.css"],import.meta.url),()=>u(()=>import("../chunks/24.8c00fb2e.js"),["../chunks/24.8c00fb2e.js","./(app)-namespaces-_namespace_-schedules-create-page.svelte.6075f889.js","../chunks/index.d29c66be.js","../chunks/stores.8c019868.js","../chunks/singletons.9d1a23a0.js","../chunks/index.255b7490.js","../chunks/paths.11885d69.js","../chunks/schedules.e00ba3db.js","../chunks/navigation.e41eebee.js","../chunks/route-for.3e9c6ff4.js","../chunks/schedule-frequency.b820a236.js","../chunks/route-for-api.851ff400.js","../chunks/auth-user.ead5c000.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/has.8da86d13.js","../chunks/calendar.81d1e381.js","../chunks/schedule-form-view.f2d04ca3.js","../chunks/alert.bf61782e.js","../chunks/icon.5aa23970.js","../assets/alert.5f4c72a4.css","../chunks/button.e7112b29.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../assets/button.ead2e440.css","../chunks/loading.9b5a6a67.js","../chunks/input.0adb9ec6.js","../chunks/copy-to-clipboard.a65bc890.js","../chunks/tooltip.ca813c82.js","../assets/tooltip.b2f3e7fc.css","../assets/input.8e1f3cc5.css","../chunks/tab-list.bd3b7764.js","../assets/tab-list.cbfd6e55.css","../chunks/menu-item.be414f05.js","../chunks/outside-click.0db702a6.js","../assets/menu-item.86eb7827.css","../chunks/toggle-buttons.d2c900e1.js","../assets/toggle-buttons.642fc5fa.css","../assets/schedule-form-view.9b9d908c.css","../chunks/page-title.ba38eecf.js"],import.meta.url),()=>u(()=>import("../chunks/25.079e7ed3.js"),["../chunks/25.079e7ed3.js","./(app)-namespaces-_namespace_-task-queues-page.svelte.d7761eda.js","../chunks/index.d29c66be.js"],import.meta.url),()=>u(()=>import("../chunks/26.ab06cbba.js"),["../chunks/26.ab06cbba.js","./(app)-namespaces-_namespace_-task-queues-_queue_-page.svelte.9db50202.js","../chunks/index.d29c66be.js","../chunks/stores.8c019868.js","../chunks/singletons.9d1a23a0.js","../chunks/index.255b7490.js","../chunks/paths.11885d69.js","../chunks/workers-list.0e0f0daa.js","../chunks/icon.5aa23970.js","../chunks/time-format.6ef667eb.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/format-date.100c5f23.js","../chunks/format-time.66fea38b.js","../chunks/has.8da86d13.js","../chunks/empty-state.bf113865.js","../chunks/table-header-row.a7bab5a4.js","../assets/table-header-row.ddd48458.css","../chunks/table-row.4a68a50d.js","../chunks/pollers-service.1177164f.js","../chunks/route-for-api.851ff400.js","../chunks/route-for.3e9c6ff4.js","../chunks/auth-user.ead5c000.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/page-title.ba38eecf.js"],import.meta.url),()=>u(()=>import("../chunks/27.0275ca82.js"),["../chunks/27.0275ca82.js","../chunks/_page.b14944b6.js","./(app)-namespaces-_namespace_-workflows-page.svelte.b7634936.js","../chunks/index.d29c66be.js","../chunks/stores.8c019868.js","../chunks/singletons.9d1a23a0.js","../chunks/index.255b7490.js","../chunks/paths.11885d69.js","../chunks/time-format.6ef667eb.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/workflow-terminate-enabled.682bc0d8.js","../chunks/workflow-service.5b743be0.js","../chunks/decode-payload.f6b25529.js","../chunks/data-converter-config.816c1717.js","../chunks/is-http.91300684.js","../chunks/atob.1f6851d3.js","../chunks/route-for.3e9c6ff4.js","../chunks/has.8da86d13.js","../chunks/settings.a68ca666.js","../chunks/simplify-attributes.28929a11.js","../chunks/format-date.100c5f23.js","../chunks/format-time.66fea38b.js","../chunks/route-for-api.851ff400.js","../chunks/auth-user.ead5c000.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/list-workflow-query.4d12de04.js","../chunks/cluster.90d7eb2f.js","../chunks/versions.dfa21225.js","../chunks/version-check.d006b302.js","../chunks/workflow-status.8e93b70c.js","../chunks/index.9b9e188f.js","../assets/workflow-status.a22a9f77.css","../chunks/namespaces.52575875.js","../chunks/empty-state.bf113865.js","../chunks/icon.5aa23970.js","../chunks/pagination.a8beaf3b.js","../chunks/navigation.e41eebee.js","../chunks/simple-select.2e5f96b1.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/search.14478462.js","../chunks/table-header-row.a7bab5a4.js","../assets/table-header-row.ddd48458.css","../chunks/copy-to-clipboard.a65bc890.js","../chunks/table-row.4a68a50d.js","../chunks/button.e7112b29.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../assets/button.ead2e440.css","../assets/search.d6094a94.css","../chunks/input.0adb9ec6.js","../chunks/tooltip.ca813c82.js","../assets/tooltip.b2f3e7fc.css","../assets/input.8e1f3cc5.css","../chunks/loading.9b5a6a67.js","../chunks/page-title.ba38eecf.js","../chunks/filters.9cc46c9a.js","../chunks/search-attributes.c866741f.js","../chunks/format-camel-case.960a78f9.js","../chunks/outside-click.0db702a6.js","../chunks/calendar.81d1e381.js","../chunks/toggle-buttons.d2c900e1.js","../assets/toggle-buttons.642fc5fa.css","../chunks/menu-item.be414f05.js","../assets/menu-item.86eb7827.css","../chunks/modal.765fc6dd.js","../assets/modal.a1162225.css","../chunks/drawer.e151c6f1.js","../assets/drawer.ea44a723.css","../chunks/dropdown-menu.abe6e484.js","../assets/dropdown-menu.e29ed15e.css","../chunks/core-user.faf7a38e.js","../assets/_page.333f9e8e.css"],import.meta.url),()=>u(()=>import("../chunks/28.c96b5bba.js"),["../chunks/28.c96b5bba.js","../chunks/_page.e4417f20.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/workflow-service.5b743be0.js","../chunks/decode-payload.f6b25529.js","../chunks/index.d29c66be.js","../chunks/data-converter-config.816c1717.js","../chunks/index.255b7490.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/is-http.91300684.js","../chunks/atob.1f6851d3.js","../chunks/route-for.3e9c6ff4.js","../chunks/paths.11885d69.js","../chunks/has.8da86d13.js","../chunks/settings.a68ca666.js","../chunks/simplify-attributes.28929a11.js","../chunks/format-date.100c5f23.js","../chunks/format-time.66fea38b.js","../chunks/route-for-api.851ff400.js","../chunks/auth-user.ead5c000.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/stores.8c019868.js","../chunks/singletons.9d1a23a0.js","../chunks/list-workflow-query.4d12de04.js","../chunks/cluster.90d7eb2f.js","../chunks/versions.dfa21225.js","../chunks/version-check.d006b302.js"],import.meta.url),()=>u(()=>import("../chunks/29.4930d67d.js"),["../chunks/29.4930d67d.js","../chunks/_page.2bedfed4.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-page.svelte.d7761eda.js","../chunks/index.d29c66be.js"],import.meta.url),()=>u(()=>import("../chunks/30.cf0002c3.js"),["../chunks/30.cf0002c3.js","../chunks/_page.ed77219c.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-page.svelte.47f32cdb.js","../chunks/index.d29c66be.js","../chunks/stores.8c019868.js","../chunks/singletons.9d1a23a0.js","../chunks/index.255b7490.js","../chunks/paths.11885d69.js","../chunks/event-view.73e1a728.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/is-event-type.0064ca29.js","../chunks/has.8da86d13.js","../chunks/events-service.8ba652e5.js","../chunks/route-for.3e9c6ff4.js","../chunks/workflow-run.2461dc7d.js","../chunks/auth-user.ead5c000.js","../chunks/paginated.5c5a4acc.js","../chunks/route-for-api.851ff400.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/index.227f6018.js","../chunks/is-http.91300684.js","../chunks/decode-payload.f6b25529.js","../chunks/data-converter-config.816c1717.js","../chunks/atob.1f6851d3.js","../chunks/format-date.100c5f23.js","../chunks/format-time.66fea38b.js","../chunks/get-codec.a019b391.js","../chunks/get-event-categorization.b6da7e5f.js","../chunks/simplify-attributes.28929a11.js","../chunks/namespaces.52575875.js","../chunks/toggle-buttons.d2c900e1.js","../chunks/icon.5aa23970.js","../assets/toggle-buttons.642fc5fa.css","../chunks/link.d5f6f19e.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../chunks/code-block.fc92cd67.js","../chunks/copy-to-clipboard.a65bc890.js","../assets/code-block.86c182bf.css","../chunks/tooltip.ca813c82.js","../assets/tooltip.b2f3e7fc.css","../chunks/format-event-attributes.f0307b43.js","../chunks/time-format.6ef667eb.js","../chunks/index.e1962a6e.js","../chunks/format-camel-case.960a78f9.js","../chunks/to-time-difference.be87d1bf.js","../chunks/accordion.2f807bee.js","../chunks/pagination.a8beaf3b.js","../chunks/navigation.e41eebee.js","../chunks/simple-select.2e5f96b1.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/table-header-row.a7bab5a4.js","../assets/table-header-row.ddd48458.css","../chunks/table-row.4a68a50d.js","../chunks/workflow-status.8e93b70c.js","../chunks/index.9b9e188f.js","../assets/workflow-status.a22a9f77.css","../chunks/empty-state.bf113865.js","../chunks/alert.bf61782e.js","../assets/alert.5f4c72a4.css","../chunks/event-empty-row.7d16dc36.js","../chunks/dropdown-menu.abe6e484.js","../assets/dropdown-menu.e29ed15e.css","../chunks/version-check.d006b302.js","../chunks/filters.9cc46c9a.js","../chunks/versions.dfa21225.js","../chunks/cluster.90d7eb2f.js","../chunks/settings.a68ca666.js","../chunks/loading.9b5a6a67.js","../assets/event-empty-row.cbc2729c.css","../chunks/drawer.e151c6f1.js","../chunks/outside-click.0db702a6.js","../assets/drawer.ea44a723.css","../chunks/button.e7112b29.js","../assets/button.ead2e440.css","../chunks/toggle-switch.58d0ba8c.js","../assets/toggle-switch.0752a896.css","../chunks/workflow-json-navigator.d241bda8.js","../assets/workflow-json-navigator.a85b4b27.css","../chunks/page-title.ba38eecf.js","../assets/_page.250e64e1.css"],import.meta.url),()=>u(()=>import("../chunks/31.c537bdbd.js"),["../chunks/31.c537bdbd.js","../chunks/_page.b0e16fa6.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for.3e9c6ff4.js","../chunks/paths.11885d69.js"],import.meta.url),()=>u(()=>import("../chunks/32.c537bdbd.js"),["../chunks/32.c537bdbd.js","../chunks/_page.eecc6007.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for.3e9c6ff4.js","../chunks/paths.11885d69.js"],import.meta.url),()=>u(()=>import("../chunks/33.c537bdbd.js"),["../chunks/33.c537bdbd.js","../chunks/_page.029207e9.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for.3e9c6ff4.js","../chunks/paths.11885d69.js"],import.meta.url),()=>u(()=>import("../chunks/34.be6aca19.js"),["../chunks/34.be6aca19.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-pending-activities-page.svelte.3d467d50.js","../chunks/index.d29c66be.js","../chunks/stores.8c019868.js","../chunks/singletons.9d1a23a0.js","../chunks/index.255b7490.js","../chunks/paths.11885d69.js","../chunks/workflow-run.2461dc7d.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/icon.5aa23970.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../chunks/empty-state.bf113865.js","../chunks/link.d5f6f19e.js","../chunks/code-block.fc92cd67.js","../chunks/copy-to-clipboard.a65bc890.js","../assets/code-block.86c182bf.css","../chunks/table-header-row.a7bab5a4.js","../assets/table-header-row.ddd48458.css","../chunks/table-row.4a68a50d.js","../chunks/format-date.100c5f23.js","../chunks/format-time.66fea38b.js","../chunks/has.8da86d13.js","../chunks/format-event-attributes.f0307b43.js","../chunks/time-format.6ef667eb.js","../chunks/index.e1962a6e.js","../chunks/is-event-type.0064ca29.js","../chunks/format-camel-case.960a78f9.js","../chunks/to-time-difference.be87d1bf.js","../chunks/page-title.ba38eecf.js","../assets/_page.682a0c0d.css"],import.meta.url),()=>u(()=>import("../chunks/35.f1d877ff.js"),["../chunks/35.f1d877ff.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-query-page.svelte.037f6ee6.js","../chunks/index.d29c66be.js","../chunks/stores.8c019868.js","../chunks/singletons.9d1a23a0.js","../chunks/index.255b7490.js","../chunks/paths.11885d69.js","../chunks/query-service.0341631d.js","../chunks/route-for-api.851ff400.js","../chunks/route-for.3e9c6ff4.js","../chunks/auth-user.ead5c000.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/has.8da86d13.js","../chunks/get-codec.a019b391.js","../chunks/is-http.91300684.js","../chunks/decode-payload.f6b25529.js","../chunks/data-converter-config.816c1717.js","../chunks/atob.1f6851d3.js","../chunks/code-block.fc92cd67.js","../chunks/icon.5aa23970.js","../chunks/copy-to-clipboard.a65bc890.js","../assets/code-block.86c182bf.css","../chunks/simple-select.2e5f96b1.js","../assets/simple-select.51b2afe1.css","../chunks/empty-state.bf113865.js","../chunks/button.e7112b29.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../assets/button.ead2e440.css","../chunks/loading.9b5a6a67.js","../chunks/toggle-switch.58d0ba8c.js","../assets/toggle-switch.0752a896.css","../chunks/page-title.ba38eecf.js"],import.meta.url),()=>u(()=>import("../chunks/36.81916e1d.js"),["../chunks/36.81916e1d.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-stack-trace-page.svelte.666a12d3.js","../chunks/index.d29c66be.js","../chunks/stores.8c019868.js","../chunks/singletons.9d1a23a0.js","../chunks/index.255b7490.js","../chunks/paths.11885d69.js","../chunks/workflow-run.2461dc7d.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/query-service.0341631d.js","../chunks/route-for-api.851ff400.js","../chunks/route-for.3e9c6ff4.js","../chunks/auth-user.ead5c000.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/has.8da86d13.js","../chunks/get-codec.a019b391.js","../chunks/is-http.91300684.js","../chunks/decode-payload.f6b25529.js","../chunks/data-converter-config.816c1717.js","../chunks/atob.1f6851d3.js","../chunks/code-block.fc92cd67.js","../chunks/icon.5aa23970.js","../chunks/copy-to-clipboard.a65bc890.js","../assets/code-block.86c182bf.css","../chunks/button.e7112b29.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../assets/button.ead2e440.css","../chunks/empty-state.bf113865.js","../chunks/loading.9b5a6a67.js","../chunks/link.d5f6f19e.js","../chunks/page-title.ba38eecf.js"],import.meta.url),()=>u(()=>import("../chunks/37.555e3f46.js"),["../chunks/37.555e3f46.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-workers-page.svelte.a20aa4e3.js","../chunks/index.d29c66be.js","../chunks/stores.8c019868.js","../chunks/singletons.9d1a23a0.js","../chunks/index.255b7490.js","../chunks/paths.11885d69.js","../chunks/page-title.ba38eecf.js","../chunks/workflow-run.2461dc7d.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/workers-list.0e0f0daa.js","../chunks/icon.5aa23970.js","../chunks/time-format.6ef667eb.js","../chunks/format-date.100c5f23.js","../chunks/format-time.66fea38b.js","../chunks/has.8da86d13.js","../chunks/empty-state.bf113865.js","../chunks/table-header-row.a7bab5a4.js","../assets/table-header-row.ddd48458.css","../chunks/table-row.4a68a50d.js"],import.meta.url),()=>u(()=>import("../chunks/38.b3b299ad.js"),["../chunks/38.b3b299ad.js","./(app)-select-namespace-page.svelte.bd1ca2bc.js","../chunks/index.d29c66be.js","../chunks/navigation.e41eebee.js","../chunks/singletons.9d1a23a0.js","../chunks/index.255b7490.js","../chunks/paths.11885d69.js","../chunks/stores.8c019868.js","../chunks/namespaces.52575875.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/route-for.3e9c6ff4.js","../chunks/empty-state.bf113865.js","../chunks/icon.5aa23970.js","../chunks/page-title.ba38eecf.js","../chunks/workflow-service.5b743be0.js","../chunks/decode-payload.f6b25529.js","../chunks/data-converter-config.816c1717.js","../chunks/is-http.91300684.js","../chunks/atob.1f6851d3.js","../chunks/has.8da86d13.js","../chunks/settings.a68ca666.js","../chunks/simplify-attributes.28929a11.js","../chunks/format-date.100c5f23.js","../chunks/format-time.66fea38b.js","../chunks/route-for-api.851ff400.js","../chunks/auth-user.ead5c000.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/list-workflow-query.4d12de04.js","../chunks/cluster.90d7eb2f.js","../chunks/versions.dfa21225.js","../chunks/version-check.d006b302.js","../assets/_page.df90e04e.css"],import.meta.url),()=>u(()=>import("../chunks/39.5b06ec66.js"),["../chunks/39.5b06ec66.js","./(login)-login-page.svelte.97e05593.js","../chunks/index.d29c66be.js","../chunks/stores.8c019868.js","../chunks/singletons.9d1a23a0.js","../chunks/index.255b7490.js","../chunks/paths.11885d69.js","../chunks/page-title.ba38eecf.js","../chunks/button.e7112b29.js","../chunks/icon.5aa23970.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../assets/button.ead2e440.css","../chunks/route-for.3e9c6ff4.js","../chunks/feedback-button.fb093b9d.js","../assets/feedback-button.4e0dbf07.css"],import.meta.url),()=>u(()=>import("../chunks/40.67eb5659.js"),["../chunks/40.67eb5659.js","./(login)-signin-page.svelte.97e05593.js","../chunks/index.d29c66be.js","../chunks/stores.8c019868.js","../chunks/singletons.9d1a23a0.js","../chunks/index.255b7490.js","../chunks/paths.11885d69.js","../chunks/page-title.ba38eecf.js","../chunks/button.e7112b29.js","../chunks/icon.5aa23970.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../assets/button.ead2e440.css","../chunks/route-for.3e9c6ff4.js","../chunks/feedback-button.fb093b9d.js","../assets/feedback-button.4e0dbf07.css"],import.meta.url)],Re=[],Le={"/(app)":[10,[2]],"/(app)/data-converter/[port]":[11,[2]],"/(app)/import":[12,[2,3]],"/(app)/import/events":[13,[2,3]],"/(app)/import/events/[namespace]/[workflow]/[run]/history":[14,[2,3,4]],"/(app)/import/events/[namespace]/[workflow]/[run]/history/compact":[15,[2,3,4]],"/(app)/import/events/[namespace]/[workflow]/[run]/history/feed":[16,[2,3,4]],"/(app)/import/events/[namespace]/[workflow]/[run]/history/json":[17,[2,3,4]],"/(login)/login":[39,[9]],"/(app)/namespaces":[18,[2]],"/(app)/namespaces/[namespace]":[19,[2,5]],"/(app)/namespaces/[namespace]/archival":[20,[2,5]],"/(app)/namespaces/[namespace]/schedules":[21,[2,5,6]],"/(app)/namespaces/[namespace]/schedules/create":[24,[2,5,6]],"/(app)/namespaces/[namespace]/schedules/[schedule]":[22,[2,5,6]],"/(app)/namespaces/[namespace]/schedules/[schedule]/edit":[23,[2,5,6]],"/(app)/namespaces/[namespace]/task-queues":[25,[2,5,7]],"/(app)/namespaces/[namespace]/task-queues/[queue]":[26,[2,5,7]],"/(app)/namespaces/[namespace]/workflows":[27,[2,5]],"/(app)/namespaces/[namespace]/workflows/[workflow]":[28,[2,5]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]":[29,[2,5,8]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]/history":[30,[2,5,8]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]/history/compact":[31,[2,5,8]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]/history/feed":[32,[2,5,8]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]/history/json":[33,[2,5,8]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]/pending-activities":[34,[2,5,8]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]/query":[35,[2,5,8]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]/stack-trace":[36,[2,5,8]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]/workers":[37,[2,5,8]],"/(app)/select-namespace":[38,[2]],"/(login)/signin":[40,[9]]},Pe={handleError:({error:a})=>{console.error(a)}};export{Le as dictionary,Pe as hooks,ve as matchers,$e as nodes,be as root,Re as server_loads}; diff --git a/ui/assets/local/_app/immutable/entry/app.fa9c48e7.js b/ui/assets/local/_app/immutable/entry/app.fa9c48e7.js deleted file mode 100644 index 0ea715bd2f..0000000000 --- a/ui/assets/local/_app/immutable/entry/app.fa9c48e7.js +++ /dev/null @@ -1 +0,0 @@ -import{S as H,b as J,a as K,c as M,e as m,d as Q,f as b,g as p,h as $,j as d,k as v,l as X,o as Y,m as Z,p as x,q as ee,u as O,v as L,w as te,x as ne,y as ie,z as R,A as P,B as h,C as w,D,E,F as k}from"../chunks/index.d29c66be.js";const re="modulepreload",se=function(a,e){return new URL(a,e).href},y={},u=function(e,n,r){if(!n||n.length===0)return e();const i=document.getElementsByTagName("link");return Promise.all(n.map(l=>{if(l=se(l,r),l in y)return;y[l]=!0;const t=l.endsWith(".css"),o=t?'[rel="stylesheet"]':"";if(!!r)for(let c=i.length-1;c>=0;c--){const g=i[c];if(g.href===l&&(!t||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${o}`))return;const _=document.createElement("link");if(_.rel=t?"stylesheet":re,t||(_.as="script",_.crossOrigin=""),_.href=l,document.head.appendChild(_),t)return new Promise((c,g)=>{_.addEventListener("load",c),_.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${l}`)))})})).then(()=>e())},ve={};function oe(a){let e,n,r;var i=a[1][0];function l(t){return{props:{data:t[3],form:t[2]}}}return i&&(e=h(i,l(a)),a[21](e)),{c(){e&&w(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&8&&(s.data=t[3]),o&4&&(s.form=t[2]),i!==(i=t[1][0])){if(e){R();const _=e;p(_.$$.fragment,1,0,()=>{k(_,1)}),$()}i?(e=h(i,l(t)),t[21](e),w(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){a[21](null),t&&v(n),e&&k(e,t)}}}function _e(a){let e,n,r;var i=a[1][0];function l(t){return{props:{data:t[3],$$slots:{default:[we]},$$scope:{ctx:t}}}}return i&&(e=h(i,l(a)),a[20](e)),{c(){e&&w(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&8&&(s.data=t[3]),o&4194551&&(s.$$scope={dirty:o,ctx:t}),i!==(i=t[1][0])){if(e){R();const _=e;p(_.$$.fragment,1,0,()=>{k(_,1)}),$()}i?(e=h(i,l(t)),t[20](e),w(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){a[20](null),t&&v(n),e&&k(e,t)}}}function ae(a){let e,n,r;var i=a[1][1];function l(t){return{props:{data:t[4],form:t[2]}}}return i&&(e=h(i,l(a)),a[19](e)),{c(){e&&w(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&16&&(s.data=t[4]),o&4&&(s.form=t[2]),i!==(i=t[1][1])){if(e){R();const _=e;p(_.$$.fragment,1,0,()=>{k(_,1)}),$()}i?(e=h(i,l(t)),t[19](e),w(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){a[19](null),t&&v(n),e&&k(e,t)}}}function le(a){let e,n,r;var i=a[1][1];function l(t){return{props:{data:t[4],$$slots:{default:[he]},$$scope:{ctx:t}}}}return i&&(e=h(i,l(a)),a[18](e)),{c(){e&&w(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&16&&(s.data=t[4]),o&4194535&&(s.$$scope={dirty:o,ctx:t}),i!==(i=t[1][1])){if(e){R();const _=e;p(_.$$.fragment,1,0,()=>{k(_,1)}),$()}i?(e=h(i,l(t)),t[18](e),w(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){a[18](null),t&&v(n),e&&k(e,t)}}}function fe(a){let e,n,r;var i=a[1][2];function l(t){return{props:{data:t[5],form:t[2]}}}return i&&(e=h(i,l(a)),a[17](e)),{c(){e&&w(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&32&&(s.data=t[5]),o&4&&(s.form=t[2]),i!==(i=t[1][2])){if(e){R();const _=e;p(_.$$.fragment,1,0,()=>{k(_,1)}),$()}i?(e=h(i,l(t)),t[17](e),w(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){a[17](null),t&&v(n),e&&k(e,t)}}}function ce(a){let e,n,r;var i=a[1][2];function l(t){return{props:{data:t[5],$$slots:{default:[de]},$$scope:{ctx:t}}}}return i&&(e=h(i,l(a)),a[16](e)),{c(){e&&w(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&32&&(s.data=t[5]),o&4194503&&(s.$$scope={dirty:o,ctx:t}),i!==(i=t[1][2])){if(e){R();const _=e;p(_.$$.fragment,1,0,()=>{k(_,1)}),$()}i?(e=h(i,l(t)),t[16](e),w(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){a[16](null),t&&v(n),e&&k(e,t)}}}function ue(a){let e,n,r;var i=a[1][3];function l(t){return{props:{data:t[6],form:t[2]}}}return i&&(e=h(i,l(a)),a[15](e)),{c(){e&&w(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&64&&(s.data=t[6]),o&4&&(s.form=t[2]),i!==(i=t[1][3])){if(e){R();const _=e;p(_.$$.fragment,1,0,()=>{k(_,1)}),$()}i?(e=h(i,l(t)),t[15](e),w(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){a[15](null),t&&v(n),e&&k(e,t)}}}function me(a){let e,n,r;var i=a[1][3];function l(t){return{props:{data:t[6],$$slots:{default:[pe]},$$scope:{ctx:t}}}}return i&&(e=h(i,l(a)),a[14](e)),{c(){e&&w(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&64&&(s.data=t[6]),o&4194439&&(s.$$scope={dirty:o,ctx:t}),i!==(i=t[1][3])){if(e){R();const _=e;p(_.$$.fragment,1,0,()=>{k(_,1)}),$()}i?(e=h(i,l(t)),t[14](e),w(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){a[14](null),t&&v(n),e&&k(e,t)}}}function pe(a){let e,n,r;var i=a[1][4];function l(t){return{props:{data:t[7],form:t[2]}}}return i&&(e=h(i,l(a)),a[13](e)),{c(){e&&w(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&128&&(s.data=t[7]),o&4&&(s.form=t[2]),i!==(i=t[1][4])){if(e){R();const _=e;p(_.$$.fragment,1,0,()=>{k(_,1)}),$()}i?(e=h(i,l(t)),t[13](e),w(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){a[13](null),t&&v(n),e&&k(e,t)}}}function de(a){let e,n,r,i;const l=[me,ue],t=[];function o(s,_){return s[1][4]?0:1}return e=o(a),n=t[e]=l[e](a),{c(){n.c(),r=m()},l(s){n.l(s),r=m()},m(s,_){t[e].m(s,_),b(s,r,_),i=!0},p(s,_){let c=e;e=o(s),e===c?t[e].p(s,_):(R(),p(t[c],1,1,()=>{t[c]=null}),$(),n=t[e],n?n.p(s,_):(n=t[e]=l[e](s),n.c()),d(n,1),n.m(r.parentNode,r))},i(s){i||(d(n),i=!0)},o(s){p(n),i=!1},d(s){t[e].d(s),s&&v(r)}}}function he(a){let e,n,r,i;const l=[ce,fe],t=[];function o(s,_){return s[1][3]?0:1}return e=o(a),n=t[e]=l[e](a),{c(){n.c(),r=m()},l(s){n.l(s),r=m()},m(s,_){t[e].m(s,_),b(s,r,_),i=!0},p(s,_){let c=e;e=o(s),e===c?t[e].p(s,_):(R(),p(t[c],1,1,()=>{t[c]=null}),$(),n=t[e],n?n.p(s,_):(n=t[e]=l[e](s),n.c()),d(n,1),n.m(r.parentNode,r))},i(s){i||(d(n),i=!0)},o(s){p(n),i=!1},d(s){t[e].d(s),s&&v(r)}}}function we(a){let e,n,r,i;const l=[le,ae],t=[];function o(s,_){return s[1][2]?0:1}return e=o(a),n=t[e]=l[e](a),{c(){n.c(),r=m()},l(s){n.l(s),r=m()},m(s,_){t[e].m(s,_),b(s,r,_),i=!0},p(s,_){let c=e;e=o(s),e===c?t[e].p(s,_):(R(),p(t[c],1,1,()=>{t[c]=null}),$(),n=t[e],n?n.p(s,_):(n=t[e]=l[e](s),n.c()),d(n,1),n.m(r.parentNode,r))},i(s){i||(d(n),i=!0)},o(s){p(n),i=!1},d(s){t[e].d(s),s&&v(r)}}}function N(a){let e,n=a[9]&&q(a);return{c(){e=Z("div"),n&&n.c(),this.h()},l(r){e=x(r,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var i=ee(e);n&&n.l(i),i.forEach(v),this.h()},h(){O(e,"id","svelte-announcer"),O(e,"aria-live","assertive"),O(e,"aria-atomic","true"),L(e,"position","absolute"),L(e,"left","0"),L(e,"top","0"),L(e,"clip","rect(0 0 0 0)"),L(e,"clip-path","inset(50%)"),L(e,"overflow","hidden"),L(e,"white-space","nowrap"),L(e,"width","1px"),L(e,"height","1px")},m(r,i){b(r,e,i),n&&n.m(e,null)},p(r,i){r[9]?n?n.p(r,i):(n=q(r),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(r){r&&v(e),n&&n.d()}}}function q(a){let e;return{c(){e=te(a[10])},l(n){e=ne(n,a[10])},m(n,r){b(n,e,r)},p(n,r){r&1024&&ie(e,n[10])},d(n){n&&v(e)}}}function Ee(a){let e,n,r,i,l;const t=[_e,oe],o=[];function s(c,g){return c[1][1]?0:1}e=s(a),n=o[e]=t[e](a);let _=a[8]&&N(a);return{c(){n.c(),r=M(),_&&_.c(),i=m()},l(c){n.l(c),r=Q(c),_&&_.l(c),i=m()},m(c,g){o[e].m(c,g),b(c,r,g),_&&_.m(c,g),b(c,i,g),l=!0},p(c,[g]){let A=e;e=s(c),e===A?o[e].p(c,g):(R(),p(o[A],1,1,()=>{o[A]=null}),$(),n=o[e],n?n.p(c,g):(n=o[e]=t[e](c),n.c()),d(n,1),n.m(r.parentNode,r)),c[8]?_?_.p(c,g):(_=N(c),_.c(),_.m(i.parentNode,i)):_&&(_.d(1),_=null)},i(c){l||(d(n),l=!0)},o(c){p(n),l=!1},d(c){o[e].d(c),c&&v(r),_&&_.d(c),c&&v(i)}}}function ke(a,e,n){let{stores:r}=e,{page:i}=e,{constructors:l}=e,{components:t=[]}=e,{form:o}=e,{data_0:s=null}=e,{data_1:_=null}=e,{data_2:c=null}=e,{data_3:g=null}=e,{data_4:A=null}=e;X(r.page.notify);let I=!1,T=!1,V=null;Y(()=>{const f=r.page.subscribe(()=>{I&&(n(9,T=!0),n(10,V=document.title||"untitled page"))});return n(8,I=!0),f});function S(f){P[f?"unshift":"push"](()=>{t[4]=f,n(0,t)})}function C(f){P[f?"unshift":"push"](()=>{t[3]=f,n(0,t)})}function B(f){P[f?"unshift":"push"](()=>{t[3]=f,n(0,t)})}function j(f){P[f?"unshift":"push"](()=>{t[2]=f,n(0,t)})}function U(f){P[f?"unshift":"push"](()=>{t[2]=f,n(0,t)})}function z(f){P[f?"unshift":"push"](()=>{t[1]=f,n(0,t)})}function F(f){P[f?"unshift":"push"](()=>{t[1]=f,n(0,t)})}function W(f){P[f?"unshift":"push"](()=>{t[0]=f,n(0,t)})}function G(f){P[f?"unshift":"push"](()=>{t[0]=f,n(0,t)})}return a.$$set=f=>{"stores"in f&&n(11,r=f.stores),"page"in f&&n(12,i=f.page),"constructors"in f&&n(1,l=f.constructors),"components"in f&&n(0,t=f.components),"form"in f&&n(2,o=f.form),"data_0"in f&&n(3,s=f.data_0),"data_1"in f&&n(4,_=f.data_1),"data_2"in f&&n(5,c=f.data_2),"data_3"in f&&n(6,g=f.data_3),"data_4"in f&&n(7,A=f.data_4)},a.$$.update=()=>{a.$$.dirty&6144&&r.page.set(i)},[t,l,o,s,_,c,g,A,I,T,V,r,i,S,C,B,j,U,z,F,W,G]}class be extends H{constructor(e){super(),J(this,e,ke,Ee,K,{stores:11,page:12,constructors:1,components:0,form:2,data_0:3,data_1:4,data_2:5,data_3:6,data_4:7})}}const $e=[()=>u(()=>import("../chunks/0.fd416dd1.js"),["../chunks/0.fd416dd1.js","../chunks/_layout.42e1b349.js","../chunks/index.d29c66be.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/index.255b7490.js","../chunks/index.9b9e188f.js","./layout.svelte.025dfd6f.js"],import.meta.url),()=>u(()=>import("../chunks/1.68f1fabf.js"),["../chunks/1.68f1fabf.js","./_error.svelte.93c4f5aa.js","../chunks/index.d29c66be.js","../chunks/stores.b938c0e3.js","../chunks/singletons.1197b53d.js","../chunks/index.255b7490.js","../chunks/paths.97c04cbe.js","../chunks/error.a3e96e45.js","../chunks/navigation.9ceca11e.js","../chunks/has.8da86d13.js","../chunks/link.d5f6f19e.js","../chunks/is-network-error.3dd5226d.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../assets/app.31287cf9.css"],import.meta.url),()=>u(()=>import("../chunks/2.9d67083b.js"),["../chunks/2.9d67083b.js","../chunks/_layout.02558e64.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/settings-service.499312b2.js","../chunks/settings.a68ca666.js","../chunks/index.255b7490.js","../chunks/index.d29c66be.js","../chunks/route-for-api.58c31c66.js","../chunks/route-for.b4518ba8.js","../chunks/paths.97c04cbe.js","../chunks/auth-user.ead5c000.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/has.8da86d13.js","../chunks/stores.b938c0e3.js","../chunks/singletons.1197b53d.js","../chunks/cluster.90d7eb2f.js","../chunks/namespaces-service.00a861d3.js","../chunks/namespaces.52575875.js","../chunks/paginated.a3aba4c2.js","../chunks/atob.7dd98e11.js","../assets/_layout.845f7340.css","../assets/app.31287cf9.css","./(app)-layout.svelte.e752d465.js","../chunks/navigation.9ceca11e.js","../chunks/version-check.d006b302.js","../chunks/error.a3e96e45.js","../chunks/link.d5f6f19e.js","../chunks/tooltip.ca813c82.js","../chunks/icon.5aa23970.js","../chunks/copy-to-clipboard.a65bc890.js","../assets/tooltip.b2f3e7fc.css","../chunks/filters.a4cc47c7.js","../chunks/modal.765fc6dd.js","../chunks/button.e7112b29.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../assets/button.ead2e440.css","../assets/modal.a1162225.css","../chunks/menu-item.be414f05.js","../chunks/outside-click.0db702a6.js","../assets/menu-item.86eb7827.css","../chunks/empty-state.bf113865.js","../chunks/input.0adb9ec6.js","../assets/input.8e1f3cc5.css","../chunks/data-converter-config.816c1717.js","../chunks/is-http.91300684.js","../chunks/toggle-switch.58d0ba8c.js","../assets/toggle-switch.0752a896.css","../chunks/workflow-run.2461dc7d.js","../chunks/accordion.2f807bee.js","../assets/_layout.8555ffa5.css"],import.meta.url),()=>u(()=>import("../chunks/3.413a0b2b.js"),["../chunks/3.413a0b2b.js","./(app)-import-layout.svelte.b6f54d72.js","../chunks/index.d29c66be.js","../chunks/stores.b938c0e3.js","../chunks/singletons.1197b53d.js","../chunks/index.255b7490.js","../chunks/paths.97c04cbe.js","../chunks/page-title.ba38eecf.js"],import.meta.url),()=>u(()=>import("../chunks/4.45be338c.js"),["../chunks/4.45be338c.js","./(app)-import-events-_namespace_-_workflow_-_run_-history-layout.svelte.a479651f.js","../chunks/index.d29c66be.js","../chunks/route-for.b4518ba8.js","../chunks/paths.97c04cbe.js","../chunks/toggle-buttons.10f7f06f.js","../chunks/icon.5aa23970.js","../chunks/stores.b938c0e3.js","../chunks/singletons.1197b53d.js","../chunks/index.255b7490.js","../assets/toggle-buttons.642fc5fa.css","../chunks/event-history-file-import.11e4730e.js","../chunks/navigation.9ceca11e.js","../chunks/button.e7112b29.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../assets/button.ead2e440.css","../chunks/index.2668dc9e.js","../chunks/is-http.91300684.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/decode-payload.f0f298e9.js","../chunks/data-converter-config.816c1717.js","../chunks/atob.7dd98e11.js","../chunks/has.8da86d13.js","../chunks/format-date.100c5f23.js","../chunks/format-time.66fea38b.js","../chunks/is-event-type.0064ca29.js","../chunks/get-codec.a019b391.js","../chunks/get-event-categorization.b6da7e5f.js","../chunks/simplify-attributes.28929a11.js","../chunks/toaster.fda31b2d.js","../chunks/import-events.d74da7cc.js","../chunks/index.e1962a6e.js","../chunks/auth-user.ead5c000.js","../chunks/namespaces.52575875.js"],import.meta.url),()=>u(()=>import("../chunks/5.b9aa0a3d.js"),["../chunks/5.b9aa0a3d.js","../chunks/_layout.21a62851.js","../chunks/route-for-api.58c31c66.js","../chunks/route-for.b4518ba8.js","../chunks/paths.97c04cbe.js","../chunks/auth-user.ead5c000.js","../chunks/index.d29c66be.js","../chunks/persist-store.bb6871e4.js","../chunks/index.255b7490.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/has.8da86d13.js","../chunks/stores.b938c0e3.js","../chunks/singletons.1197b53d.js","../chunks/search-attributes.c866741f.js","./layout.svelte.025dfd6f.js"],import.meta.url),()=>u(()=>import("../chunks/6.9e446e9f.js"),["../chunks/6.9e446e9f.js","./(app)-namespaces-_namespace_-schedules-layout.svelte.025dfd6f.js","../chunks/index.d29c66be.js"],import.meta.url),()=>u(()=>import("../chunks/7.be3251b7.js"),["../chunks/7.be3251b7.js","./(app)-namespaces-_namespace_-task-queues-layout.svelte.3bd4a625.js","../chunks/index.d29c66be.js"],import.meta.url),()=>u(()=>import("../chunks/8.3705dbe5.js"),["../chunks/8.3705dbe5.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-layout.svelte.c84bd2ad.js","../chunks/index.d29c66be.js","../chunks/index.255b7490.js","../chunks/stores.b938c0e3.js","../chunks/singletons.1197b53d.js","../chunks/paths.97c04cbe.js","../chunks/workflow-run.2461dc7d.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/events-service.85840f73.js","../chunks/event-view.73e1a728.js","../chunks/route-for.b4518ba8.js","../chunks/auth-user.ead5c000.js","../chunks/is-event-type.0064ca29.js","../chunks/paginated.a3aba4c2.js","../chunks/route-for-api.58c31c66.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/has.8da86d13.js","../chunks/index.2668dc9e.js","../chunks/is-http.91300684.js","../chunks/decode-payload.f0f298e9.js","../chunks/data-converter-config.816c1717.js","../chunks/atob.7dd98e11.js","../chunks/format-date.100c5f23.js","../chunks/format-time.66fea38b.js","../chunks/get-codec.a019b391.js","../chunks/get-event-categorization.b6da7e5f.js","../chunks/simplify-attributes.28929a11.js","../chunks/tooltip.ca813c82.js","../chunks/icon.5aa23970.js","../chunks/copy-to-clipboard.a65bc890.js","../assets/tooltip.b2f3e7fc.css","../chunks/workflow-terminate-enabled.fbd7bba7.js","../chunks/workflow-service.43d562ed.js","../chunks/settings.a68ca666.js","../chunks/list-workflow-query.c93ce807.js","../chunks/cluster.90d7eb2f.js","../chunks/versions.dfa21225.js","../chunks/version-check.d006b302.js","../chunks/workflow-status.ddd088c4.js","../chunks/index.9b9e188f.js","../assets/workflow-status.a22a9f77.css","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../chunks/core-user.faf7a38e.js","../chunks/split-button.efadbe62.js","../chunks/menu-item.be414f05.js","../chunks/outside-click.0db702a6.js","../assets/menu-item.86eb7827.css","../chunks/button.e7112b29.js","../assets/button.ead2e440.css","../assets/split-button.b0d29bb4.css","../chunks/modal.765fc6dd.js","../assets/modal.a1162225.css","../chunks/input.0adb9ec6.js","../assets/input.8e1f3cc5.css","../chunks/tab-list.bd3b7764.js","../assets/tab-list.cbfd6e55.css","../chunks/toggle-switch.58d0ba8c.js","../assets/toggle-switch.0752a896.css","../chunks/alert.bf61782e.js","../assets/alert.5f4c72a4.css","../chunks/link.d5f6f19e.js","../chunks/loading.9b5a6a67.js","../chunks/pollers-service.0e06b260.js","../assets/_layout.9cd642e2.css"],import.meta.url),()=>u(()=>import("../chunks/9.355cce96.js"),["../chunks/9.355cce96.js","../chunks/_layout.89dc294c.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/settings-service.499312b2.js","../chunks/settings.a68ca666.js","../chunks/index.255b7490.js","../chunks/index.d29c66be.js","../chunks/route-for-api.58c31c66.js","../chunks/route-for.b4518ba8.js","../chunks/paths.97c04cbe.js","../chunks/auth-user.ead5c000.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/has.8da86d13.js","../chunks/stores.b938c0e3.js","../chunks/singletons.1197b53d.js","../assets/app.31287cf9.css","./(login)-layout.svelte.025dfd6f.js"],import.meta.url),()=>u(()=>import("../chunks/10.29ef2c9a.js"),["../chunks/10.29ef2c9a.js","../chunks/_page.30b46e3a.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for.b4518ba8.js","../chunks/paths.97c04cbe.js","./(app)-page.svelte.4b600c94.js","../chunks/index.d29c66be.js","../chunks/navigation.9ceca11e.js","../chunks/singletons.1197b53d.js","../chunks/index.255b7490.js","../chunks/workflow-service.43d562ed.js","../chunks/decode-payload.f0f298e9.js","../chunks/data-converter-config.816c1717.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/is-http.91300684.js","../chunks/atob.7dd98e11.js","../chunks/has.8da86d13.js","../chunks/settings.a68ca666.js","../chunks/simplify-attributes.28929a11.js","../chunks/format-date.100c5f23.js","../chunks/format-time.66fea38b.js","../chunks/route-for-api.58c31c66.js","../chunks/auth-user.ead5c000.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/stores.b938c0e3.js","../chunks/list-workflow-query.c93ce807.js","../chunks/cluster.90d7eb2f.js","../chunks/versions.dfa21225.js","../chunks/version-check.d006b302.js","../chunks/namespaces.52575875.js","../chunks/loading.9b5a6a67.js"],import.meta.url),()=>u(()=>import("../chunks/11.dbf549ff.js"),["../chunks/11.dbf549ff.js","./(app)-data-converter-_port_-page.svelte.12309b9e.js","../chunks/index.d29c66be.js","../chunks/navigation.9ceca11e.js","../chunks/singletons.1197b53d.js","../chunks/index.255b7490.js","../chunks/paths.97c04cbe.js","../chunks/stores.b938c0e3.js","../chunks/toaster.fda31b2d.js","../chunks/data-converter-config.816c1717.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js"],import.meta.url),()=>u(()=>import("../chunks/12.3a6066d3.js"),["../chunks/12.3a6066d3.js","../chunks/_page.b25cff4d.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for.b4518ba8.js","../chunks/paths.97c04cbe.js"],import.meta.url),()=>u(()=>import("../chunks/13.6e120505.js"),["../chunks/13.6e120505.js","./(app)-import-events-page.svelte.c066feba.js","../chunks/index.d29c66be.js","../chunks/event-history-file-import.11e4730e.js","../chunks/route-for.b4518ba8.js","../chunks/paths.97c04cbe.js","../chunks/navigation.9ceca11e.js","../chunks/singletons.1197b53d.js","../chunks/index.255b7490.js","../chunks/button.e7112b29.js","../chunks/icon.5aa23970.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../assets/button.ead2e440.css","../chunks/index.2668dc9e.js","../chunks/is-http.91300684.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/decode-payload.f0f298e9.js","../chunks/data-converter-config.816c1717.js","../chunks/atob.7dd98e11.js","../chunks/has.8da86d13.js","../chunks/format-date.100c5f23.js","../chunks/format-time.66fea38b.js","../chunks/is-event-type.0064ca29.js","../chunks/get-codec.a019b391.js","../chunks/get-event-categorization.b6da7e5f.js","../chunks/simplify-attributes.28929a11.js","../chunks/toaster.fda31b2d.js","../chunks/import-events.d74da7cc.js","../chunks/index.e1962a6e.js","../chunks/stores.b938c0e3.js","../chunks/auth-user.ead5c000.js","../chunks/namespaces.52575875.js","../chunks/code-block.fc92cd67.js","../chunks/copy-to-clipboard.a65bc890.js","../assets/code-block.86c182bf.css","../chunks/link.d5f6f19e.js"],import.meta.url),()=>u(()=>import("../chunks/14.21ccb1cb.js"),["../chunks/14.21ccb1cb.js","../chunks/_page.8a0df0ae.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for.b4518ba8.js","../chunks/paths.97c04cbe.js"],import.meta.url),()=>u(()=>import("../chunks/15.3a478b71.js"),["../chunks/15.3a478b71.js","./(app)-import-events-_namespace_-_workflow_-_run_-history-compact-page.svelte.72445973.js","../chunks/index.d29c66be.js","../chunks/import-events.d74da7cc.js","../chunks/index.255b7490.js","../chunks/event-empty-row.f1ffb146.js","../chunks/tooltip.ca813c82.js","../chunks/icon.5aa23970.js","../chunks/copy-to-clipboard.a65bc890.js","../assets/tooltip.b2f3e7fc.css","../chunks/event-view.73e1a728.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/time-format.6ef667eb.js","../chunks/index.e1962a6e.js","../chunks/has.8da86d13.js","../chunks/is-event-type.0064ca29.js","../chunks/format-time.66fea38b.js","../chunks/format-date.100c5f23.js","../chunks/format-event-attributes.f0307b43.js","../chunks/format-camel-case.960a78f9.js","../chunks/stores.b938c0e3.js","../chunks/singletons.1197b53d.js","../chunks/paths.97c04cbe.js","../chunks/route-for.b4518ba8.js","../chunks/code-block.fc92cd67.js","../assets/code-block.86c182bf.css","../chunks/link.d5f6f19e.js","../chunks/table-header-row.a7bab5a4.js","../assets/table-header-row.ddd48458.css","../chunks/dropdown-menu.abe6e484.js","../assets/dropdown-menu.e29ed15e.css","../chunks/get-event-categorization.b6da7e5f.js","../chunks/pagination.15ad2803.js","../chunks/navigation.9ceca11e.js","../chunks/simple-select.2e5f96b1.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/version-check.d006b302.js","../chunks/filters.a4cc47c7.js","../chunks/versions.dfa21225.js","../chunks/cluster.90d7eb2f.js","../chunks/settings.a68ca666.js","../chunks/empty-state.bf113865.js","../chunks/loading.9b5a6a67.js","../assets/event-empty-row.cbc2729c.css"],import.meta.url),()=>u(()=>import("../chunks/16.55308f99.js"),["../chunks/16.55308f99.js","./(app)-import-events-_namespace_-_workflow_-_run_-history-feed-page.svelte.7f587b37.js","../chunks/index.d29c66be.js","../chunks/import-events.d74da7cc.js","../chunks/index.255b7490.js","../chunks/event-empty-row.f1ffb146.js","../chunks/tooltip.ca813c82.js","../chunks/icon.5aa23970.js","../chunks/copy-to-clipboard.a65bc890.js","../assets/tooltip.b2f3e7fc.css","../chunks/event-view.73e1a728.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/time-format.6ef667eb.js","../chunks/index.e1962a6e.js","../chunks/has.8da86d13.js","../chunks/is-event-type.0064ca29.js","../chunks/format-time.66fea38b.js","../chunks/format-date.100c5f23.js","../chunks/format-event-attributes.f0307b43.js","../chunks/format-camel-case.960a78f9.js","../chunks/stores.b938c0e3.js","../chunks/singletons.1197b53d.js","../chunks/paths.97c04cbe.js","../chunks/route-for.b4518ba8.js","../chunks/code-block.fc92cd67.js","../assets/code-block.86c182bf.css","../chunks/link.d5f6f19e.js","../chunks/table-header-row.a7bab5a4.js","../assets/table-header-row.ddd48458.css","../chunks/dropdown-menu.abe6e484.js","../assets/dropdown-menu.e29ed15e.css","../chunks/get-event-categorization.b6da7e5f.js","../chunks/pagination.15ad2803.js","../chunks/navigation.9ceca11e.js","../chunks/simple-select.2e5f96b1.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/version-check.d006b302.js","../chunks/filters.a4cc47c7.js","../chunks/versions.dfa21225.js","../chunks/cluster.90d7eb2f.js","../chunks/settings.a68ca666.js","../chunks/empty-state.bf113865.js","../chunks/loading.9b5a6a67.js","../assets/event-empty-row.cbc2729c.css"],import.meta.url),()=>u(()=>import("../chunks/17.861caa43.js"),["../chunks/17.861caa43.js","./(app)-import-events-_namespace_-_workflow_-_run_-history-json-page.svelte.71e396ad.js","../chunks/index.d29c66be.js","../chunks/workflow-json-navigator.d241bda8.js","../chunks/code-block.fc92cd67.js","../chunks/icon.5aa23970.js","../chunks/copy-to-clipboard.a65bc890.js","../chunks/index.255b7490.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../assets/code-block.86c182bf.css","../chunks/loading.9b5a6a67.js","../assets/workflow-json-navigator.a85b4b27.css","../chunks/import-events.d74da7cc.js"],import.meta.url),()=>u(()=>import("../chunks/18.78b2293c.js"),["../chunks/18.78b2293c.js","./(app)-namespaces-page.svelte.21e80e49.js","../chunks/index.d29c66be.js","../chunks/route-for.b4518ba8.js","../chunks/paths.97c04cbe.js","../chunks/stores.b938c0e3.js","../chunks/singletons.1197b53d.js","../chunks/index.255b7490.js","../chunks/namespaces.52575875.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/empty-state.bf113865.js","../chunks/icon.5aa23970.js","../chunks/page-title.ba38eecf.js","../chunks/pagination.15ad2803.js","../chunks/navigation.9ceca11e.js","../chunks/simple-select.2e5f96b1.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/table-header-row.a7bab5a4.js","../assets/table-header-row.ddd48458.css","../chunks/table-row.4a68a50d.js"],import.meta.url),()=>u(()=>import("../chunks/19.5f811108.js"),["../chunks/19.5f811108.js","../chunks/_page.6e7d6739.js","../chunks/namespaces-service.00a861d3.js","../chunks/toaster.fda31b2d.js","../chunks/index.255b7490.js","../chunks/index.d29c66be.js","../chunks/namespaces.52575875.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/paginated.a3aba4c2.js","../chunks/route-for-api.58c31c66.js","../chunks/route-for.b4518ba8.js","../chunks/paths.97c04cbe.js","../chunks/auth-user.ead5c000.js","../chunks/is-network-error.3dd5226d.js","../chunks/has.8da86d13.js","../chunks/stores.b938c0e3.js","../chunks/singletons.1197b53d.js","./(app)-namespaces-_namespace_-page.svelte.c1b805e5.js","../chunks/versions.dfa21225.js","../chunks/cluster.90d7eb2f.js","../chunks/settings.a68ca666.js","../chunks/search-attributes.c866741f.js","../chunks/format-time.66fea38b.js","../chunks/page-title.ba38eecf.js","../chunks/table-header-row.a7bab5a4.js","../assets/table-header-row.ddd48458.css","../chunks/table-row.4a68a50d.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../assets/_page.c4e4432a.css"],import.meta.url),()=>u(()=>import("../chunks/20.3a69a2ec.js"),["../chunks/20.3a69a2ec.js","../chunks/_page.e51a117d.js","../chunks/workflow-service.43d562ed.js","../chunks/decode-payload.f0f298e9.js","../chunks/index.d29c66be.js","../chunks/data-converter-config.816c1717.js","../chunks/index.255b7490.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/is-http.91300684.js","../chunks/atob.7dd98e11.js","../chunks/route-for.b4518ba8.js","../chunks/paths.97c04cbe.js","../chunks/has.8da86d13.js","../chunks/settings.a68ca666.js","../chunks/simplify-attributes.28929a11.js","../chunks/format-date.100c5f23.js","../chunks/format-time.66fea38b.js","../chunks/route-for-api.58c31c66.js","../chunks/auth-user.ead5c000.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/stores.b938c0e3.js","../chunks/singletons.1197b53d.js","../chunks/list-workflow-query.c93ce807.js","../chunks/cluster.90d7eb2f.js","../chunks/versions.dfa21225.js","../chunks/version-check.d006b302.js","../chunks/namespaces-service.00a861d3.js","../chunks/namespaces.52575875.js","../chunks/paginated.a3aba4c2.js","./(app)-namespaces-_namespace_-archival-page.svelte.34c9a4c1.js","../chunks/time-format.6ef667eb.js","../chunks/search.c15cabf9.js","../chunks/table-header-row.a7bab5a4.js","../assets/table-header-row.ddd48458.css","../chunks/pagination.15ad2803.js","../chunks/navigation.9ceca11e.js","../chunks/simple-select.2e5f96b1.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/workflow-status.ddd088c4.js","../chunks/index.9b9e188f.js","../assets/workflow-status.a22a9f77.css","../chunks/icon.5aa23970.js","../chunks/copy-to-clipboard.a65bc890.js","../chunks/table-row.4a68a50d.js","../chunks/button.e7112b29.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../assets/button.ead2e440.css","../assets/search.d6094a94.css","../chunks/empty-state.bf113865.js","../chunks/code-block.fc92cd67.js","../assets/code-block.86c182bf.css","../chunks/page-title.ba38eecf.js","../assets/_page.c5268cbc.css"],import.meta.url),()=>u(()=>import("../chunks/21.321d67c2.js"),["../chunks/21.321d67c2.js","./(app)-namespaces-_namespace_-schedules-page.svelte.7f794d86.js","../chunks/index.d29c66be.js","../chunks/stores.b938c0e3.js","../chunks/singletons.1197b53d.js","../chunks/index.255b7490.js","../chunks/paths.97c04cbe.js","../chunks/empty-state.bf113865.js","../chunks/icon.5aa23970.js","../chunks/pagination.15ad2803.js","../chunks/navigation.9ceca11e.js","../chunks/simple-select.2e5f96b1.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/button.e7112b29.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../assets/button.ead2e440.css","../chunks/loading.9b5a6a67.js","../chunks/input.0adb9ec6.js","../chunks/copy-to-clipboard.a65bc890.js","../chunks/tooltip.ca813c82.js","../assets/tooltip.b2f3e7fc.css","../assets/input.8e1f3cc5.css","../chunks/route-for.b4518ba8.js","../chunks/schedule-frequency.c1093480.js","../chunks/route-for-api.58c31c66.js","../chunks/auth-user.ead5c000.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/has.8da86d13.js","../chunks/calendar.81d1e381.js","../chunks/table-header-row.a7bab5a4.js","../assets/table-header-row.ddd48458.css","../chunks/time-format.6ef667eb.js","../chunks/format-date.100c5f23.js","../chunks/format-time.66fea38b.js","../chunks/workflow-status.ddd088c4.js","../chunks/index.9b9e188f.js","../assets/workflow-status.a22a9f77.css","../chunks/link.d5f6f19e.js","../chunks/table-row.4a68a50d.js","../chunks/format-camel-case.960a78f9.js","../chunks/menu-item.be414f05.js","../chunks/outside-click.0db702a6.js","../assets/menu-item.86eb7827.css","../chunks/core-user.faf7a38e.js","../chunks/page-title.ba38eecf.js","../assets/_page.75cb2ee6.css"],import.meta.url),()=>u(()=>import("../chunks/22.45003b19.js"),["../chunks/22.45003b19.js","./(app)-namespaces-_namespace_-schedules-_schedule_-page.svelte.467bd416.js","../chunks/index.d29c66be.js","../chunks/stores.b938c0e3.js","../chunks/singletons.1197b53d.js","../chunks/index.255b7490.js","../chunks/paths.97c04cbe.js","../chunks/page-title.ba38eecf.js","../chunks/icon.5aa23970.js","../chunks/route-for.b4518ba8.js","../chunks/navigation.9ceca11e.js","../chunks/schedule-frequency.c1093480.js","../chunks/route-for-api.58c31c66.js","../chunks/auth-user.ead5c000.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/has.8da86d13.js","../chunks/calendar.81d1e381.js","../chunks/format-date.100c5f23.js","../chunks/format-time.66fea38b.js","../chunks/time-format.6ef667eb.js","../chunks/schedules.7d01b1a1.js","../chunks/workflow-status.ddd088c4.js","../chunks/index.9b9e188f.js","../assets/workflow-status.a22a9f77.css","../chunks/workflow-service.43d562ed.js","../chunks/decode-payload.f0f298e9.js","../chunks/data-converter-config.816c1717.js","../chunks/is-http.91300684.js","../chunks/atob.7dd98e11.js","../chunks/settings.a68ca666.js","../chunks/simplify-attributes.28929a11.js","../chunks/list-workflow-query.c93ce807.js","../chunks/cluster.90d7eb2f.js","../chunks/versions.dfa21225.js","../chunks/version-check.d006b302.js","../chunks/empty-state.bf113865.js","../chunks/link.d5f6f19e.js","../chunks/modal.765fc6dd.js","../chunks/button.e7112b29.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../assets/button.ead2e440.css","../chunks/tooltip.ca813c82.js","../chunks/copy-to-clipboard.a65bc890.js","../assets/tooltip.b2f3e7fc.css","../assets/modal.a1162225.css","../chunks/split-button.efadbe62.js","../chunks/menu-item.be414f05.js","../chunks/outside-click.0db702a6.js","../assets/menu-item.86eb7827.css","../assets/split-button.b0d29bb4.css","../chunks/loading.9b5a6a67.js","../chunks/core-user.faf7a38e.js","../assets/_page.b0c2dab8.css"],import.meta.url),()=>u(()=>import("../chunks/23.a62a5fba.js"),["../chunks/23.a62a5fba.js","./(app)-namespaces-_namespace_-schedules-_schedule_-edit-page.svelte.91631de2.js","../chunks/index.d29c66be.js","../chunks/stores.b938c0e3.js","../chunks/singletons.1197b53d.js","../chunks/index.255b7490.js","../chunks/paths.97c04cbe.js","../chunks/page-title.ba38eecf.js","../chunks/schedules.7d01b1a1.js","../chunks/navigation.9ceca11e.js","../chunks/route-for.b4518ba8.js","../chunks/schedule-frequency.c1093480.js","../chunks/route-for-api.58c31c66.js","../chunks/auth-user.ead5c000.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/has.8da86d13.js","../chunks/calendar.81d1e381.js","../chunks/loading.9b5a6a67.js","../chunks/schedule-form-view.39a52816.js","../chunks/alert.bf61782e.js","../chunks/icon.5aa23970.js","../assets/alert.5f4c72a4.css","../chunks/button.e7112b29.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../assets/button.ead2e440.css","../chunks/input.0adb9ec6.js","../chunks/copy-to-clipboard.a65bc890.js","../chunks/tooltip.ca813c82.js","../assets/tooltip.b2f3e7fc.css","../assets/input.8e1f3cc5.css","../chunks/tab-list.bd3b7764.js","../assets/tab-list.cbfd6e55.css","../chunks/menu-item.be414f05.js","../chunks/outside-click.0db702a6.js","../assets/menu-item.86eb7827.css","../chunks/toggle-buttons.10f7f06f.js","../assets/toggle-buttons.642fc5fa.css","../assets/schedule-form-view.9b9d908c.css"],import.meta.url),()=>u(()=>import("../chunks/24.3d9b96a1.js"),["../chunks/24.3d9b96a1.js","./(app)-namespaces-_namespace_-schedules-create-page.svelte.6e3e5cfb.js","../chunks/index.d29c66be.js","../chunks/stores.b938c0e3.js","../chunks/singletons.1197b53d.js","../chunks/index.255b7490.js","../chunks/paths.97c04cbe.js","../chunks/schedules.7d01b1a1.js","../chunks/navigation.9ceca11e.js","../chunks/route-for.b4518ba8.js","../chunks/schedule-frequency.c1093480.js","../chunks/route-for-api.58c31c66.js","../chunks/auth-user.ead5c000.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/has.8da86d13.js","../chunks/calendar.81d1e381.js","../chunks/schedule-form-view.39a52816.js","../chunks/alert.bf61782e.js","../chunks/icon.5aa23970.js","../assets/alert.5f4c72a4.css","../chunks/button.e7112b29.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../assets/button.ead2e440.css","../chunks/loading.9b5a6a67.js","../chunks/input.0adb9ec6.js","../chunks/copy-to-clipboard.a65bc890.js","../chunks/tooltip.ca813c82.js","../assets/tooltip.b2f3e7fc.css","../assets/input.8e1f3cc5.css","../chunks/tab-list.bd3b7764.js","../assets/tab-list.cbfd6e55.css","../chunks/menu-item.be414f05.js","../chunks/outside-click.0db702a6.js","../assets/menu-item.86eb7827.css","../chunks/toggle-buttons.10f7f06f.js","../assets/toggle-buttons.642fc5fa.css","../assets/schedule-form-view.9b9d908c.css","../chunks/page-title.ba38eecf.js"],import.meta.url),()=>u(()=>import("../chunks/25.079e7ed3.js"),["../chunks/25.079e7ed3.js","./(app)-namespaces-_namespace_-task-queues-page.svelte.d7761eda.js","../chunks/index.d29c66be.js"],import.meta.url),()=>u(()=>import("../chunks/26.aa4813c2.js"),["../chunks/26.aa4813c2.js","./(app)-namespaces-_namespace_-task-queues-_queue_-page.svelte.2382e8cc.js","../chunks/index.d29c66be.js","../chunks/stores.b938c0e3.js","../chunks/singletons.1197b53d.js","../chunks/index.255b7490.js","../chunks/paths.97c04cbe.js","../chunks/workers-list.0e0f0daa.js","../chunks/icon.5aa23970.js","../chunks/time-format.6ef667eb.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/format-date.100c5f23.js","../chunks/format-time.66fea38b.js","../chunks/has.8da86d13.js","../chunks/empty-state.bf113865.js","../chunks/table-header-row.a7bab5a4.js","../assets/table-header-row.ddd48458.css","../chunks/table-row.4a68a50d.js","../chunks/pollers-service.0e06b260.js","../chunks/route-for-api.58c31c66.js","../chunks/route-for.b4518ba8.js","../chunks/auth-user.ead5c000.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/page-title.ba38eecf.js"],import.meta.url),()=>u(()=>import("../chunks/27.36cb67c2.js"),["../chunks/27.36cb67c2.js","../chunks/_page.b14944b6.js","./(app)-namespaces-_namespace_-workflows-page.svelte.dddd00d3.js","../chunks/index.d29c66be.js","../chunks/stores.b938c0e3.js","../chunks/singletons.1197b53d.js","../chunks/index.255b7490.js","../chunks/paths.97c04cbe.js","../chunks/time-format.6ef667eb.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/workflow-terminate-enabled.fbd7bba7.js","../chunks/workflow-service.43d562ed.js","../chunks/decode-payload.f0f298e9.js","../chunks/data-converter-config.816c1717.js","../chunks/is-http.91300684.js","../chunks/atob.7dd98e11.js","../chunks/route-for.b4518ba8.js","../chunks/has.8da86d13.js","../chunks/settings.a68ca666.js","../chunks/simplify-attributes.28929a11.js","../chunks/format-date.100c5f23.js","../chunks/format-time.66fea38b.js","../chunks/route-for-api.58c31c66.js","../chunks/auth-user.ead5c000.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/list-workflow-query.c93ce807.js","../chunks/cluster.90d7eb2f.js","../chunks/versions.dfa21225.js","../chunks/version-check.d006b302.js","../chunks/workflow-status.ddd088c4.js","../chunks/index.9b9e188f.js","../assets/workflow-status.a22a9f77.css","../chunks/namespaces.52575875.js","../chunks/empty-state.bf113865.js","../chunks/icon.5aa23970.js","../chunks/pagination.15ad2803.js","../chunks/navigation.9ceca11e.js","../chunks/simple-select.2e5f96b1.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/search.c15cabf9.js","../chunks/table-header-row.a7bab5a4.js","../assets/table-header-row.ddd48458.css","../chunks/copy-to-clipboard.a65bc890.js","../chunks/table-row.4a68a50d.js","../chunks/button.e7112b29.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../assets/button.ead2e440.css","../assets/search.d6094a94.css","../chunks/input.0adb9ec6.js","../chunks/tooltip.ca813c82.js","../assets/tooltip.b2f3e7fc.css","../assets/input.8e1f3cc5.css","../chunks/loading.9b5a6a67.js","../chunks/page-title.ba38eecf.js","../chunks/filters.a4cc47c7.js","../chunks/search-attributes.c866741f.js","../chunks/format-camel-case.960a78f9.js","../chunks/outside-click.0db702a6.js","../chunks/calendar.81d1e381.js","../chunks/toggle-buttons.10f7f06f.js","../assets/toggle-buttons.642fc5fa.css","../chunks/menu-item.be414f05.js","../assets/menu-item.86eb7827.css","../chunks/modal.765fc6dd.js","../assets/modal.a1162225.css","../chunks/drawer.e151c6f1.js","../assets/drawer.ea44a723.css","../chunks/dropdown-menu.abe6e484.js","../assets/dropdown-menu.e29ed15e.css","../chunks/core-user.faf7a38e.js","../assets/_page.333f9e8e.css"],import.meta.url),()=>u(()=>import("../chunks/28.4c324ec2.js"),["../chunks/28.4c324ec2.js","../chunks/_page.78470139.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/workflow-service.43d562ed.js","../chunks/decode-payload.f0f298e9.js","../chunks/index.d29c66be.js","../chunks/data-converter-config.816c1717.js","../chunks/index.255b7490.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/is-http.91300684.js","../chunks/atob.7dd98e11.js","../chunks/route-for.b4518ba8.js","../chunks/paths.97c04cbe.js","../chunks/has.8da86d13.js","../chunks/settings.a68ca666.js","../chunks/simplify-attributes.28929a11.js","../chunks/format-date.100c5f23.js","../chunks/format-time.66fea38b.js","../chunks/route-for-api.58c31c66.js","../chunks/auth-user.ead5c000.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/stores.b938c0e3.js","../chunks/singletons.1197b53d.js","../chunks/list-workflow-query.c93ce807.js","../chunks/cluster.90d7eb2f.js","../chunks/versions.dfa21225.js","../chunks/version-check.d006b302.js"],import.meta.url),()=>u(()=>import("../chunks/29.4930d67d.js"),["../chunks/29.4930d67d.js","../chunks/_page.2bedfed4.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-page.svelte.d7761eda.js","../chunks/index.d29c66be.js"],import.meta.url),()=>u(()=>import("../chunks/30.59d2ef22.js"),["../chunks/30.59d2ef22.js","../chunks/_page.ed77219c.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-page.svelte.923c8d96.js","../chunks/index.d29c66be.js","../chunks/stores.b938c0e3.js","../chunks/singletons.1197b53d.js","../chunks/index.255b7490.js","../chunks/paths.97c04cbe.js","../chunks/event-view.73e1a728.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/is-event-type.0064ca29.js","../chunks/has.8da86d13.js","../chunks/events-service.85840f73.js","../chunks/route-for.b4518ba8.js","../chunks/workflow-run.2461dc7d.js","../chunks/auth-user.ead5c000.js","../chunks/paginated.a3aba4c2.js","../chunks/route-for-api.58c31c66.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/index.2668dc9e.js","../chunks/is-http.91300684.js","../chunks/decode-payload.f0f298e9.js","../chunks/data-converter-config.816c1717.js","../chunks/atob.7dd98e11.js","../chunks/format-date.100c5f23.js","../chunks/format-time.66fea38b.js","../chunks/get-codec.a019b391.js","../chunks/get-event-categorization.b6da7e5f.js","../chunks/simplify-attributes.28929a11.js","../chunks/namespaces.52575875.js","../chunks/toggle-buttons.10f7f06f.js","../chunks/icon.5aa23970.js","../assets/toggle-buttons.642fc5fa.css","../chunks/link.d5f6f19e.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../chunks/code-block.fc92cd67.js","../chunks/copy-to-clipboard.a65bc890.js","../assets/code-block.86c182bf.css","../chunks/tooltip.ca813c82.js","../assets/tooltip.b2f3e7fc.css","../chunks/format-event-attributes.f0307b43.js","../chunks/time-format.6ef667eb.js","../chunks/index.e1962a6e.js","../chunks/format-camel-case.960a78f9.js","../chunks/to-time-difference.be87d1bf.js","../chunks/accordion.2f807bee.js","../chunks/pagination.15ad2803.js","../chunks/navigation.9ceca11e.js","../chunks/simple-select.2e5f96b1.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/table-header-row.a7bab5a4.js","../assets/table-header-row.ddd48458.css","../chunks/table-row.4a68a50d.js","../chunks/workflow-status.ddd088c4.js","../chunks/index.9b9e188f.js","../assets/workflow-status.a22a9f77.css","../chunks/empty-state.bf113865.js","../chunks/alert.bf61782e.js","../assets/alert.5f4c72a4.css","../chunks/event-empty-row.f1ffb146.js","../chunks/dropdown-menu.abe6e484.js","../assets/dropdown-menu.e29ed15e.css","../chunks/version-check.d006b302.js","../chunks/filters.a4cc47c7.js","../chunks/versions.dfa21225.js","../chunks/cluster.90d7eb2f.js","../chunks/settings.a68ca666.js","../chunks/loading.9b5a6a67.js","../assets/event-empty-row.cbc2729c.css","../chunks/drawer.e151c6f1.js","../chunks/outside-click.0db702a6.js","../assets/drawer.ea44a723.css","../chunks/button.e7112b29.js","../assets/button.ead2e440.css","../chunks/toggle-switch.58d0ba8c.js","../assets/toggle-switch.0752a896.css","../chunks/workflow-json-navigator.d241bda8.js","../assets/workflow-json-navigator.a85b4b27.css","../chunks/page-title.ba38eecf.js","../assets/_page.250e64e1.css"],import.meta.url),()=>u(()=>import("../chunks/31.3d8b8247.js"),["../chunks/31.3d8b8247.js","../chunks/_page.7000bda5.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for.b4518ba8.js","../chunks/paths.97c04cbe.js"],import.meta.url),()=>u(()=>import("../chunks/32.3d8b8247.js"),["../chunks/32.3d8b8247.js","../chunks/_page.0f7a0fac.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for.b4518ba8.js","../chunks/paths.97c04cbe.js"],import.meta.url),()=>u(()=>import("../chunks/33.3d8b8247.js"),["../chunks/33.3d8b8247.js","../chunks/_page.104de196.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for.b4518ba8.js","../chunks/paths.97c04cbe.js"],import.meta.url),()=>u(()=>import("../chunks/34.bf8dc7fb.js"),["../chunks/34.bf8dc7fb.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-pending-activities-page.svelte.d124774a.js","../chunks/index.d29c66be.js","../chunks/stores.b938c0e3.js","../chunks/singletons.1197b53d.js","../chunks/index.255b7490.js","../chunks/paths.97c04cbe.js","../chunks/workflow-run.2461dc7d.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/icon.5aa23970.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../chunks/empty-state.bf113865.js","../chunks/link.d5f6f19e.js","../chunks/code-block.fc92cd67.js","../chunks/copy-to-clipboard.a65bc890.js","../assets/code-block.86c182bf.css","../chunks/table-header-row.a7bab5a4.js","../assets/table-header-row.ddd48458.css","../chunks/table-row.4a68a50d.js","../chunks/format-date.100c5f23.js","../chunks/format-time.66fea38b.js","../chunks/has.8da86d13.js","../chunks/format-event-attributes.f0307b43.js","../chunks/time-format.6ef667eb.js","../chunks/index.e1962a6e.js","../chunks/is-event-type.0064ca29.js","../chunks/format-camel-case.960a78f9.js","../chunks/to-time-difference.be87d1bf.js","../chunks/page-title.ba38eecf.js","../assets/_page.682a0c0d.css"],import.meta.url),()=>u(()=>import("../chunks/35.0d560c35.js"),["../chunks/35.0d560c35.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-query-page.svelte.2238d95a.js","../chunks/index.d29c66be.js","../chunks/stores.b938c0e3.js","../chunks/singletons.1197b53d.js","../chunks/index.255b7490.js","../chunks/paths.97c04cbe.js","../chunks/query-service.50cde2c9.js","../chunks/route-for-api.58c31c66.js","../chunks/route-for.b4518ba8.js","../chunks/auth-user.ead5c000.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/has.8da86d13.js","../chunks/get-codec.a019b391.js","../chunks/is-http.91300684.js","../chunks/decode-payload.f0f298e9.js","../chunks/data-converter-config.816c1717.js","../chunks/atob.7dd98e11.js","../chunks/code-block.fc92cd67.js","../chunks/icon.5aa23970.js","../chunks/copy-to-clipboard.a65bc890.js","../assets/code-block.86c182bf.css","../chunks/simple-select.2e5f96b1.js","../assets/simple-select.51b2afe1.css","../chunks/empty-state.bf113865.js","../chunks/button.e7112b29.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../assets/button.ead2e440.css","../chunks/loading.9b5a6a67.js","../chunks/toggle-switch.58d0ba8c.js","../assets/toggle-switch.0752a896.css","../chunks/page-title.ba38eecf.js"],import.meta.url),()=>u(()=>import("../chunks/36.8883dc95.js"),["../chunks/36.8883dc95.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-stack-trace-page.svelte.fca0456a.js","../chunks/index.d29c66be.js","../chunks/stores.b938c0e3.js","../chunks/singletons.1197b53d.js","../chunks/index.255b7490.js","../chunks/paths.97c04cbe.js","../chunks/workflow-run.2461dc7d.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/query-service.50cde2c9.js","../chunks/route-for-api.58c31c66.js","../chunks/route-for.b4518ba8.js","../chunks/auth-user.ead5c000.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/has.8da86d13.js","../chunks/get-codec.a019b391.js","../chunks/is-http.91300684.js","../chunks/decode-payload.f0f298e9.js","../chunks/data-converter-config.816c1717.js","../chunks/atob.7dd98e11.js","../chunks/code-block.fc92cd67.js","../chunks/icon.5aa23970.js","../chunks/copy-to-clipboard.a65bc890.js","../assets/code-block.86c182bf.css","../chunks/button.e7112b29.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../assets/button.ead2e440.css","../chunks/empty-state.bf113865.js","../chunks/loading.9b5a6a67.js","../chunks/link.d5f6f19e.js","../chunks/page-title.ba38eecf.js"],import.meta.url),()=>u(()=>import("../chunks/37.fbb07753.js"),["../chunks/37.fbb07753.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-workers-page.svelte.1cc953f3.js","../chunks/index.d29c66be.js","../chunks/stores.b938c0e3.js","../chunks/singletons.1197b53d.js","../chunks/index.255b7490.js","../chunks/paths.97c04cbe.js","../chunks/page-title.ba38eecf.js","../chunks/workflow-run.2461dc7d.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/workers-list.0e0f0daa.js","../chunks/icon.5aa23970.js","../chunks/time-format.6ef667eb.js","../chunks/format-date.100c5f23.js","../chunks/format-time.66fea38b.js","../chunks/has.8da86d13.js","../chunks/empty-state.bf113865.js","../chunks/table-header-row.a7bab5a4.js","../assets/table-header-row.ddd48458.css","../chunks/table-row.4a68a50d.js"],import.meta.url),()=>u(()=>import("../chunks/38.4b687c1d.js"),["../chunks/38.4b687c1d.js","./(app)-select-namespace-page.svelte.be707960.js","../chunks/index.d29c66be.js","../chunks/navigation.9ceca11e.js","../chunks/singletons.1197b53d.js","../chunks/index.255b7490.js","../chunks/paths.97c04cbe.js","../chunks/stores.b938c0e3.js","../chunks/namespaces.52575875.js","../chunks/persist-store.bb6871e4.js","../chunks/parse-with-big-int.02af2f95.js","../chunks/_commonjsHelpers.28e086c5.js","../chunks/route-for.b4518ba8.js","../chunks/empty-state.bf113865.js","../chunks/icon.5aa23970.js","../chunks/page-title.ba38eecf.js","../chunks/workflow-service.43d562ed.js","../chunks/decode-payload.f0f298e9.js","../chunks/data-converter-config.816c1717.js","../chunks/is-http.91300684.js","../chunks/atob.7dd98e11.js","../chunks/has.8da86d13.js","../chunks/settings.a68ca666.js","../chunks/simplify-attributes.28929a11.js","../chunks/format-date.100c5f23.js","../chunks/format-time.66fea38b.js","../chunks/route-for-api.58c31c66.js","../chunks/auth-user.ead5c000.js","../chunks/toaster.fda31b2d.js","../chunks/is-network-error.3dd5226d.js","../chunks/list-workflow-query.c93ce807.js","../chunks/cluster.90d7eb2f.js","../chunks/versions.dfa21225.js","../chunks/version-check.d006b302.js","../assets/_page.df90e04e.css"],import.meta.url),()=>u(()=>import("../chunks/39.04e3ca71.js"),["../chunks/39.04e3ca71.js","./(login)-login-page.svelte.567aa30a.js","../chunks/index.d29c66be.js","../chunks/stores.b938c0e3.js","../chunks/singletons.1197b53d.js","../chunks/index.255b7490.js","../chunks/paths.97c04cbe.js","../chunks/page-title.ba38eecf.js","../chunks/button.e7112b29.js","../chunks/icon.5aa23970.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../assets/button.ead2e440.css","../chunks/route-for.b4518ba8.js","../chunks/feedback-button.6827b829.js","../assets/feedback-button.4e0dbf07.css"],import.meta.url),()=>u(()=>import("../chunks/40.c8d56018.js"),["../chunks/40.c8d56018.js","./(login)-signin-page.svelte.567aa30a.js","../chunks/index.d29c66be.js","../chunks/stores.b938c0e3.js","../chunks/singletons.1197b53d.js","../chunks/index.255b7490.js","../chunks/paths.97c04cbe.js","../chunks/page-title.ba38eecf.js","../chunks/button.e7112b29.js","../chunks/icon.5aa23970.js","../chunks/badge.2c189bf4.js","../assets/badge.bfa9122b.css","../assets/button.ead2e440.css","../chunks/route-for.b4518ba8.js","../chunks/feedback-button.6827b829.js","../assets/feedback-button.4e0dbf07.css"],import.meta.url)],Re=[],Le={"/(app)":[10,[2]],"/(app)/data-converter/[port]":[11,[2]],"/(app)/import":[12,[2,3]],"/(app)/import/events":[13,[2,3]],"/(app)/import/events/[namespace]/[workflow]/[run]/history":[14,[2,3,4]],"/(app)/import/events/[namespace]/[workflow]/[run]/history/compact":[15,[2,3,4]],"/(app)/import/events/[namespace]/[workflow]/[run]/history/feed":[16,[2,3,4]],"/(app)/import/events/[namespace]/[workflow]/[run]/history/json":[17,[2,3,4]],"/(login)/login":[39,[9]],"/(app)/namespaces":[18,[2]],"/(app)/namespaces/[namespace]":[19,[2,5]],"/(app)/namespaces/[namespace]/archival":[20,[2,5]],"/(app)/namespaces/[namespace]/schedules":[21,[2,5,6]],"/(app)/namespaces/[namespace]/schedules/create":[24,[2,5,6]],"/(app)/namespaces/[namespace]/schedules/[schedule]":[22,[2,5,6]],"/(app)/namespaces/[namespace]/schedules/[schedule]/edit":[23,[2,5,6]],"/(app)/namespaces/[namespace]/task-queues":[25,[2,5,7]],"/(app)/namespaces/[namespace]/task-queues/[queue]":[26,[2,5,7]],"/(app)/namespaces/[namespace]/workflows":[27,[2,5]],"/(app)/namespaces/[namespace]/workflows/[workflow]":[28,[2,5]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]":[29,[2,5,8]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]/history":[30,[2,5,8]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]/history/compact":[31,[2,5,8]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]/history/feed":[32,[2,5,8]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]/history/json":[33,[2,5,8]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]/pending-activities":[34,[2,5,8]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]/query":[35,[2,5,8]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]/stack-trace":[36,[2,5,8]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]/workers":[37,[2,5,8]],"/(app)/select-namespace":[38,[2]],"/(login)/signin":[40,[9]]},Pe={handleError:({error:a})=>{console.error(a)}};export{Le as dictionary,Pe as hooks,ve as matchers,$e as nodes,be as root,Re as server_loads}; diff --git a/ui/assets/local/_app/immutable/entry/start.7a7ceb73.js b/ui/assets/local/_app/immutable/entry/start.dcca4383.js similarity index 99% rename from ui/assets/local/_app/immutable/entry/start.7a7ceb73.js rename to ui/assets/local/_app/immutable/entry/start.dcca4383.js index 26e63d124f..eb43a65f48 100644 --- a/ui/assets/local/_app/immutable/entry/start.7a7ceb73.js +++ b/ui/assets/local/_app/immutable/entry/start.dcca4383.js @@ -1,3 +1,3 @@ -import{o as Ce,t as se}from"../chunks/index.d29c66be.js";import{S as ze,a as Be,I as q,g as qe,f as Fe,b as ge,c as ce,s as M,i as ye,d as Q,P as Me,e as We}from"../chunks/singletons.1197b53d.js";import{b as z}from"../chunks/paths.97c04cbe.js";import{R as He,H as ee}from"../chunks/control.e7f5239e.js";function Xe(n,i){return n==="/"||i==="ignore"?n:i==="never"?n.endsWith("/")?n.slice(0,-1):n:i==="always"&&!n.endsWith("/")?n+"/":n}function Ze(n){return n.split("%25").map(decodeURI).join("%25")}function Qe(n){for(const i in n)n[i]=decodeURIComponent(n[i]);return n}const et=["href","pathname","search","searchParams","toString","toJSON"];function tt(n,i){const p=new URL(n);for(const c of et){let u=p[c];Object.defineProperty(p,c,{get(){return i(),u},enumerable:!0,configurable:!0})}return nt(p),p}function nt(n){Object.defineProperty(n,"hash",{get(){throw new Error("Cannot access event.url.hash. Consider using `$page.url.hash` inside a component instead")}})}const at="/__data.json";function rt(n){return n.replace(/\/$/,"")+at}function Ge(n){try{return JSON.parse(sessionStorage[n])}catch{}}function Ve(n,i){const p=JSON.stringify(i);try{sessionStorage[n]=p}catch{}}function ot(...n){let i=5381;for(const p of n)if(typeof p=="string"){let c=p.length;for(;c;)i=i*33^p.charCodeAt(--c)}else if(ArrayBuffer.isView(p)){const c=new Uint8Array(p.buffer,p.byteOffset,p.byteLength);let u=c.length;for(;u;)i=i*33^c[--u]}else throw new TypeError("value must be a string or TypedArray");return(i>>>0).toString(36)}const le=window.fetch;window.fetch=(n,i)=>((n instanceof Request?n.method:(i==null?void 0:i.method)||"GET")!=="GET"&&te.delete(ve(n)),le(n,i));const te=new Map;function it(n,i){const p=ve(n,i),c=document.querySelector(p);if(c!=null&&c.textContent){const{body:u,...d}=JSON.parse(c.textContent),L=c.getAttribute("data-ttl");return L&&te.set(p,{body:u,init:d,ttl:1e3*Number(L)}),Promise.resolve(new Response(u,d))}return le(n,i)}function st(n,i,p){if(te.size>0){const c=ve(n,p),u=te.get(c);if(u){if(performance.now(){const u=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(c);if(u)return i.push({name:u[1],matcher:u[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const d=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(c);if(d)return i.push({name:d[1],matcher:d[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!c)return;const L=c.split(/\[(.+?)\](?!\])/);return"/"+L.map((_,g)=>{if(g%2){if(_.startsWith("x+"))return we(String.fromCharCode(parseInt(_.slice(2),16)));if(_.startsWith("u+"))return we(String.fromCharCode(..._.slice(2).split("-").map(A=>parseInt(A,16))));const m=ct.exec(_);if(!m)throw new Error(`Invalid param: ${_}. Params and matcher names can only have underscores and alphanumeric characters.`);const[,$,P,E,O]=m;return i.push({name:E,matcher:O,optional:!!$,rest:!!P,chained:P?g===1&&L[0]==="":!1}),P?"(.*?)":$?"([^/]*)?":"([^/]+?)"}return we(_)}).join("")}).join("")}/?$`),params:i}}function ft(n){return!/^\([^)]+\)$/.test(n)}function ut(n){return n.slice(1).split("/").filter(ft)}function dt(n,i,p){const c={},u=n.slice(1);let d=0;for(let L=0;Lg).join("/"),d=0;continue}if(_===void 0){l.rest&&(c[l.name]="");continue}if(!l.matcher||p[l.matcher](_)){c[l.name]=_;const g=i[L+1],m=u[L+1];g&&!g.rest&&g.optional&&m&&(d=0);continue}if(l.optional&&l.chained){d++;continue}return}if(!d)return c}function we(n){return n.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function pt({nodes:n,server_loads:i,dictionary:p,matchers:c}){const u=new Set(i);return Object.entries(p).map(([l,[_,g,m]])=>{const{pattern:$,params:P}=lt(l),E={id:l,exec:O=>{const A=$.exec(O);if(A)return dt(A,P,c)},errors:[1,...m||[]].map(O=>n[O]),layouts:[0,...g||[]].map(L),leaf:d(_)};return E.errors.length=E.layouts.length=Math.max(E.errors.length,E.layouts.length),E});function d(l){const _=l<0;return _&&(l=~l),[_,n[l]]}function L(l){return l===void 0?l:[u.has(l),n[l]]}}async function ht(n){var i;for(const p in n)if(typeof((i=n[p])==null?void 0:i.then)=="function")return Object.fromEntries(await Promise.all(Object.entries(n).map(async([c,u])=>[c,await u])));return n}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");const mt=-1,gt=-2,yt=-3,wt=-4,_t=-5,bt=-6;function vt(n,i){if(typeof n=="number")return u(n,!0);if(!Array.isArray(n)||n.length===0)throw new Error("Invalid input");const p=n,c=Array(p.length);function u(d,L=!1){if(d===mt)return;if(d===yt)return NaN;if(d===wt)return 1/0;if(d===_t)return-1/0;if(d===bt)return-0;if(L)throw new Error("Invalid input");if(d in c)return c[d];const l=p[d];if(!l||typeof l!="object")c[d]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const _=l[0],g=i==null?void 0:i[_];if(g)return c[d]=g(u(l[1]));switch(_){case"Date":c[d]=new Date(l[1]);break;case"Set":const m=new Set;c[d]=m;for(let E=1;Ei!=null)}const B=Ge(ze)??{},Z=Ge(Be)??{};function _e(n){B[n]=Q()}function kt(n,i){var $e;const p=pt(n),c=n.nodes[0],u=n.nodes[1];c(),u();const d=document.documentElement,L=[],l=[];let _=null;const g={before_navigate:[],after_navigate:[]};let m={branch:[],error:null,url:null},$=!1,P=!1,E=!0,O=!1,A=!1,J=!1,H=!1,F,N=($e=history.state)==null?void 0:$e[q];N||(N=Date.now(),history.replaceState({...history.state,[q]:N},"",location.href));const fe=B[N];fe&&(history.scrollRestoration="manual",scrollTo(fe.x,fe.y));let V,Ee,ne;async function ke(){ne=ne||Promise.resolve(),await ne,ne=null;const t=new URL(location.href),e=W(t,!0);_=null,await Ae(e,t,[])}function Se(t){l.some(e=>e==null?void 0:e.snapshot)&&(Z[t]=l.map(e=>{var r;return(r=e==null?void 0:e.snapshot)==null?void 0:r.capture()}))}function Re(t){var e;(e=Z[t])==null||e.forEach((r,a)=>{var s,o;(o=(s=l[a])==null?void 0:s.snapshot)==null||o.restore(r)})}function Le(){_e(N),Ve(ze,B),Se(N),Ve(Be,Z)}async function ue(t,{noScroll:e=!1,replaceState:r=!1,keepFocus:a=!1,state:s={},invalidateAll:o=!1},h,f){return typeof t=="string"&&(t=new URL(t,qe(document))),ie({url:t,scroll:e?Q():null,keepfocus:a,redirect_chain:h,details:{state:s,replaceState:r},nav_token:f,accepted:()=>{o&&(H=!0)},blocked:()=>{},type:"goto"})}async function Ie(t){return _={id:t.id,promise:Ue(t).then(e=>(e.type==="loaded"&&e.state.error&&(_=null),e))},_.promise}async function ae(...t){const r=p.filter(a=>t.some(s=>a.exec(s))).map(a=>Promise.all([...a.layouts,a.leaf].map(s=>s==null?void 0:s[1]())));await Promise.all(r)}async function Ae(t,e,r,a,s,o={},h){var y,w,R;Ee=o;let f=t&&await Ue(t);if(!f){if(ye(e,z))return await G(e);f=await xe(e,{id:null},await X(new Error(`Not found: ${e.pathname}`),{url:e,params:{},route:{id:null}}),404)}if(e=(t==null?void 0:t.url)||e,Ee!==o)return!1;if(f.type==="redirect")if(r.length>10||r.includes(e.pathname))f=await re({status:500,error:await X(new Error("Redirect loop"),{url:e,params:{},route:{id:null}}),url:e,route:{id:null}});else return ue(new URL(f.location,e).href,{},[...r,e.pathname],o),!1;else((y=f.props.page)==null?void 0:y.status)>=400&&await M.updated.check()&&await G(e);if(L.length=0,H=!1,O=!0,a&&(_e(a),Se(a)),(w=f.props.page)!=null&&w.url&&f.props.page.url.pathname!==e.pathname&&(e.pathname=(R=f.props.page)==null?void 0:R.url.pathname),s&&s.details){const{details:v}=s,I=v.replaceState?0:1;if(v.state[q]=N+=I,history[v.replaceState?"replaceState":"pushState"](v.state,"",e),!v.replaceState){let S=N+1;for(;Z[S]||B[S];)delete Z[S],delete B[S],S+=1}}if(_=null,P?(m=f.state,f.props.page&&(f.props.page.url=e),F.$set(f.props)):Pe(f),s){const{scroll:v,keepfocus:I}=s,{activeElement:S}=document;if(await se(),E){const U=e.hash&&document.getElementById(decodeURIComponent(e.hash.slice(1)));v?scrollTo(v.x,v.y):U?U.scrollIntoView():scrollTo(0,0)}const b=document.activeElement!==S&&document.activeElement!==document.body;!I&&!b&&await be()}else await se();E=!0,f.props.page&&(V=f.props.page),h&&h(),O=!1}function Pe(t){var a;m=t.state;const e=document.querySelector("style[data-sveltekit]");e&&e.remove(),V=t.props.page,F=new n.root({target:i,props:{...t.props,stores:M,components:l},hydrate:!0}),Re(N);const r={from:null,to:{params:m.params,route:{id:((a=m.route)==null?void 0:a.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter"};g.after_navigate.forEach(s=>s(r)),P=!0}async function Y({url:t,params:e,branch:r,status:a,error:s,route:o,form:h}){let f="never";for(const S of r)(S==null?void 0:S.slash)!==void 0&&(f=S.slash);t.pathname=Xe(t.pathname,f),t.search=t.search;const y={type:"loaded",state:{url:t,params:e,branch:r,error:s,route:o},props:{constructors:Et(r).map(S=>S.node.component)}};h!==void 0&&(y.props.form=h);let w={},R=!V,v=0;for(let S=0;S(f.params.add(U),b[U])}),data:(o==null?void 0:o.data)??null,url:tt(r,()=>{f.url=!0}),async fetch(b,U){let D;b instanceof Request?(D=b.url,U={body:b.method==="GET"||b.method==="HEAD"?void 0:await b.blob(),cache:b.cache,credentials:b.credentials,headers:b.headers,integrity:b.integrity,keepalive:b.keepalive,method:b.method,mode:b.mode,redirect:b.redirect,referrer:b.referrer,referrerPolicy:b.referrerPolicy,signal:b.signal,...U}):D=b;const C=new URL(D,r);return I(C.href),C.origin===r.origin&&(D=C.href.slice(r.origin.length)),P?st(D,C.href,U):it(D,U)},setHeaders:()=>{},depends:I,parent(){return f.parent=!0,e()}};h=await y.universal.load.call(null,S)??null,h=h?await ht(h):null}return{node:y,loader:t,server:o,universal:(R=y.universal)!=null&&R.load?{type:"data",data:h,uses:f}:null,data:h??(o==null?void 0:o.data)??null,slash:((v=y.universal)==null?void 0:v.trailingSlash)??(o==null?void 0:o.slash)}}function Oe(t,e,r,a,s){if(H)return!0;if(!a)return!1;if(a.parent&&t||a.route&&e||a.url&&r)return!0;for(const o of a.params)if(s[o]!==m.params[o])return!0;for(const o of a.dependencies)if(L.some(h=>h(new URL(o))))return!0;return!1}function pe(t,e){return(t==null?void 0:t.type)==="data"?t:(t==null?void 0:t.type)==="skip"?e??null:null}async function Ue({id:t,invalidating:e,url:r,params:a,route:s}){if((_==null?void 0:_.id)===t)return _.promise;const{errors:o,layouts:h,leaf:f}=s,y=[...h,f];o.forEach(k=>k==null?void 0:k().catch(()=>{})),y.forEach(k=>k==null?void 0:k[1]().catch(()=>{}));let w=null;const R=m.url?t!==m.url.pathname+m.url.search:!1,v=m.route?s.id!==m.route.id:!1;let I=!1;const S=y.map((k,T)=>{var K;const j=m.branch[T],x=!!(k!=null&&k[0])&&((j==null?void 0:j.loader)!==k[1]||Oe(I,v,R,(K=j.server)==null?void 0:K.uses,a));return x&&(I=!0),x});if(S.some(Boolean)){try{w=await Ke(r,S)}catch(k){return re({status:k instanceof ee?k.status:500,error:await X(k,{url:r,params:a,route:{id:s.id}}),url:r,route:s})}if(w.type==="redirect")return w}const b=w==null?void 0:w.nodes;let U=!1;const D=y.map(async(k,T)=>{var he;if(!k)return;const j=m.branch[T],x=b==null?void 0:b[T];if((!x||x.type==="skip")&&k[1]===(j==null?void 0:j.loader)&&!Oe(U,v,R,(he=j.universal)==null?void 0:he.uses,a))return j;if(U=!0,(x==null?void 0:x.type)==="error")throw x;return de({loader:k[1],url:r,params:a,route:s,parent:async()=>{var De;const Te={};for(let me=0;me{});const C=[];for(let k=0;kPromise.resolve({}),server_data_node:pe(o)}),y={node:await u(),loader:u,universal:null,server:null,data:null};return await Y({url:r,params:s,branch:[f,y],status:t,error:e,route:null})}function W(t,e){if(ye(t,z))return;const r=oe(t);for(const a of p){const s=a.exec(r);if(s)return{id:t.pathname+t.search,invalidating:e,route:a,params:Qe(s),url:t}}}function oe(t){return Ze(t.pathname.slice(z.length)||"/")}function Ne({url:t,type:e,intent:r,delta:a}){var f,y;let s=!1;const o={from:{params:m.params,route:{id:((f=m.route)==null?void 0:f.id)??null},url:m.url},to:{params:(r==null?void 0:r.params)??null,route:{id:((y=r==null?void 0:r.route)==null?void 0:y.id)??null},url:t},willUnload:!r,type:e};a!==void 0&&(o.delta=a);const h={...o,cancel:()=>{s=!0}};return A||g.before_navigate.forEach(w=>w(h)),s?null:o}async function ie({url:t,scroll:e,keepfocus:r,redirect_chain:a,details:s,type:o,delta:h,nav_token:f,accepted:y,blocked:w}){const R=W(t,!1),v=Ne({url:t,type:o,delta:h,intent:R});if(!v){w();return}const I=N;y(),A=!0,P&&M.navigating.set(v),await Ae(R,t,a,I,{scroll:e,keepfocus:r,details:s},f,()=>{A=!1,g.after_navigate.forEach(S=>S(v)),M.navigating.set(null)})}async function xe(t,e,r,a){return t.origin===location.origin&&t.pathname===location.pathname&&!$?await re({status:a,error:r,url:t,route:e}):await G(t)}function G(t){return location.href=t.href,new Promise(()=>{})}function Ye(){let t;d.addEventListener("mousemove",o=>{const h=o.target;clearTimeout(t),t=setTimeout(()=>{a(h,2)},20)});function e(o){a(o.composedPath()[0],1)}d.addEventListener("mousedown",e),d.addEventListener("touchstart",e,{passive:!0});const r=new IntersectionObserver(o=>{for(const h of o)h.isIntersecting&&(ae(oe(new URL(h.target.href))),r.unobserve(h.target))},{threshold:0});function a(o,h){const f=Fe(o,d);if(!f)return;const{url:y,external:w}=ge(f,z);if(w)return;const R=ce(f);if(!R.reload)if(h<=R.preload_data){const v=W(y,!1);v&&Ie(v)}else h<=R.preload_code&&ae(oe(y))}function s(){r.disconnect();for(const o of d.querySelectorAll("a")){const{url:h,external:f}=ge(o,z);if(f)continue;const y=ce(o);y.reload||(y.preload_code===Me.viewport&&r.observe(o),y.preload_code===Me.eager&&ae(oe(h)))}}g.after_navigate.push(s),s()}function X(t,e){return t instanceof ee?t.body:n.hooks.handleError({error:t,event:e})??{message:e.route.id!=null?"Internal Error":"Not Found"}}return{after_navigate:t=>{Ce(()=>(g.after_navigate.push(t),()=>{const e=g.after_navigate.indexOf(t);g.after_navigate.splice(e,1)}))},before_navigate:t=>{Ce(()=>(g.before_navigate.push(t),()=>{const e=g.before_navigate.indexOf(t);g.before_navigate.splice(e,1)}))},disable_scroll_handling:()=>{(O||!P)&&(E=!1)},goto:(t,e={})=>ue(t,e,[]),invalidate:t=>{if(typeof t=="function")L.push(t);else{const{href:e}=new URL(t,location.href);L.push(r=>r.href===e)}return ke()},invalidateAll:()=>(H=!0,ke()),preload_data:async t=>{const e=new URL(t,qe(document)),r=W(e,!1);if(!r)throw new Error(`Attempted to preload a URL that does not belong to this app: ${e}`);await Ie(r)},preload_code:ae,apply_action:async t=>{if(t.type==="error"){const e=new URL(location.href),{branch:r,route:a}=m;if(!a)return;const s=await je(m.branch.length,r,a.errors);if(s){const o=await Y({url:e,params:m.params,branch:r.slice(0,s.idx).concat(s.node),status:t.status??500,error:t.error,route:a});m=o.state,F.$set(o.props),se().then(be)}}else t.type==="redirect"?ue(t.location,{invalidateAll:!0},[]):(F.$set({form:null,page:{...V,form:t.data,status:t.status}}),await se(),F.$set({form:t.data}),t.type==="success"&&be())},_start_router:()=>{var t;history.scrollRestoration="manual",addEventListener("beforeunload",e=>{var a;let r=!1;if(Le(),!A){const s={from:{params:m.params,route:{id:((a=m.route)==null?void 0:a.id)??null},url:m.url},to:null,willUnload:!0,type:"leave",cancel:()=>r=!0};g.before_navigate.forEach(o=>o(s))}r?(e.preventDefault(),e.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Le()}),(t=navigator.connection)!=null&&t.saveData||Ye(),d.addEventListener("click",e=>{if(e.button||e.which!==1||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.defaultPrevented)return;const r=Fe(e.composedPath()[0],d);if(!r)return;const{url:a,external:s,target:o}=ge(r,z);if(!a)return;if(o==="_parent"||o==="_top"){if(window.parent!==window)return}else if(o&&o!=="_self")return;const h=ce(r);if(!(r instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:"))return;if(s||h.reload){Ne({url:a,type:"link"})?A=!0:e.preventDefault();return}const[y,w]=a.href.split("#");if(w!==void 0&&y===location.href.split("#")[0]){J=!0,_e(N),m.url=a,M.page.set({...V,url:a}),M.page.notify();return}ie({url:a,scroll:h.noscroll?Q():null,keepfocus:h.keep_focus??!1,redirect_chain:[],details:{state:{},replaceState:h.replace_state??a.href===location.href},accepted:()=>e.preventDefault(),blocked:()=>e.preventDefault(),type:"link"})}),d.addEventListener("submit",e=>{if(e.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(e.target),a=e.submitter;if(((a==null?void 0:a.formMethod)||r.method)!=="get")return;const o=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||r.action);if(ye(o,z))return;const h=e.target,{keep_focus:f,noscroll:y,reload:w,replace_state:R}=ce(h);if(w)return;e.preventDefault(),e.stopPropagation();const v=new FormData(h),I=a==null?void 0:a.getAttribute("name");I&&v.append(I,(a==null?void 0:a.getAttribute("value"))??""),o.search=new URLSearchParams(v).toString(),ie({url:o,scroll:y?Q():null,keepfocus:f??!1,redirect_chain:[],details:{state:{},replaceState:R??o.href===location.href},nav_token:{},accepted:()=>{},blocked:()=>{},type:"form"})}),addEventListener("popstate",async e=>{var r;if((r=e.state)!=null&&r[q]){if(e.state[q]===N)return;const a=B[e.state[q]];if(m.url.href.split("#")[0]===location.href.split("#")[0]){B[N]=Q(),N=e.state[q],scrollTo(a.x,a.y);return}const s=e.state[q]-N;let o=!1;await ie({url:new URL(location.href),scroll:a,keepfocus:!1,redirect_chain:[],details:null,accepted:()=>{N=e.state[q]},blocked:()=>{history.go(-s),o=!0},type:"popstate",delta:s}),o||Re(N)}}),addEventListener("hashchange",()=>{J&&(J=!1,history.replaceState({...history.state,[q]:++N},"",location.href))});for(const e of document.querySelectorAll("link"))e.rel==="icon"&&(e.href=e.href);addEventListener("pageshow",e=>{e.persisted&&M.navigating.set(null)})},_hydrate:async({status:t=200,error:e,node_ids:r,params:a,route:s,data:o,form:h})=>{$=!0;const f=new URL(location.href);({params:a={},route:s={id:null}}=W(f,!1)||{});let y;try{const w=r.map(async(R,v)=>{const I=o[v];return I!=null&&I.uses&&(I.uses=Je(I.uses)),de({loader:n.nodes[R],url:f,params:a,route:s,parent:async()=>{const S={};for(let b=0;bR===s.id)??null})}catch(w){if(w instanceof He){await G(new URL(w.location,location.href));return}y=await re({status:w instanceof ee?w.status:500,error:await X(w,{url:f,params:a,route:s}),url:f,route:s})}Pe(y)}}}async function Ke(n,i){const p=new URL(n);p.pathname=rt(n.pathname),p.searchParams.append("x-sveltekit-invalidated",i.map(u=>u?"1":"").join("_"));const c=await le(p.href);if(!c.ok)throw new ee(c.status,await c.json());return new Promise(async u=>{var m;const d=new Map,L=c.body.getReader(),l=new TextDecoder;function _($){return vt($,{Promise:P=>new Promise((E,O)=>{d.set(P,{fulfil:E,reject:O})})})}let g="";for(;;){const{done:$,value:P}=await L.read();if($&&!g)break;for(g+=!P&&g?` +import{o as Ce,t as se}from"../chunks/index.d29c66be.js";import{S as ze,a as Be,I as q,g as qe,f as Fe,b as ge,c as ce,s as M,i as ye,d as Q,P as Me,e as We}from"../chunks/singletons.9d1a23a0.js";import{b as z}from"../chunks/paths.11885d69.js";import{R as He,H as ee}from"../chunks/control.e7f5239e.js";function Xe(n,i){return n==="/"||i==="ignore"?n:i==="never"?n.endsWith("/")?n.slice(0,-1):n:i==="always"&&!n.endsWith("/")?n+"/":n}function Ze(n){return n.split("%25").map(decodeURI).join("%25")}function Qe(n){for(const i in n)n[i]=decodeURIComponent(n[i]);return n}const et=["href","pathname","search","searchParams","toString","toJSON"];function tt(n,i){const p=new URL(n);for(const c of et){let u=p[c];Object.defineProperty(p,c,{get(){return i(),u},enumerable:!0,configurable:!0})}return nt(p),p}function nt(n){Object.defineProperty(n,"hash",{get(){throw new Error("Cannot access event.url.hash. Consider using `$page.url.hash` inside a component instead")}})}const at="/__data.json";function rt(n){return n.replace(/\/$/,"")+at}function Ge(n){try{return JSON.parse(sessionStorage[n])}catch{}}function Ve(n,i){const p=JSON.stringify(i);try{sessionStorage[n]=p}catch{}}function ot(...n){let i=5381;for(const p of n)if(typeof p=="string"){let c=p.length;for(;c;)i=i*33^p.charCodeAt(--c)}else if(ArrayBuffer.isView(p)){const c=new Uint8Array(p.buffer,p.byteOffset,p.byteLength);let u=c.length;for(;u;)i=i*33^c[--u]}else throw new TypeError("value must be a string or TypedArray");return(i>>>0).toString(36)}const le=window.fetch;window.fetch=(n,i)=>((n instanceof Request?n.method:(i==null?void 0:i.method)||"GET")!=="GET"&&te.delete(ve(n)),le(n,i));const te=new Map;function it(n,i){const p=ve(n,i),c=document.querySelector(p);if(c!=null&&c.textContent){const{body:u,...d}=JSON.parse(c.textContent),L=c.getAttribute("data-ttl");return L&&te.set(p,{body:u,init:d,ttl:1e3*Number(L)}),Promise.resolve(new Response(u,d))}return le(n,i)}function st(n,i,p){if(te.size>0){const c=ve(n,p),u=te.get(c);if(u){if(performance.now(){const u=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(c);if(u)return i.push({name:u[1],matcher:u[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const d=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(c);if(d)return i.push({name:d[1],matcher:d[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!c)return;const L=c.split(/\[(.+?)\](?!\])/);return"/"+L.map((_,g)=>{if(g%2){if(_.startsWith("x+"))return we(String.fromCharCode(parseInt(_.slice(2),16)));if(_.startsWith("u+"))return we(String.fromCharCode(..._.slice(2).split("-").map(A=>parseInt(A,16))));const m=ct.exec(_);if(!m)throw new Error(`Invalid param: ${_}. Params and matcher names can only have underscores and alphanumeric characters.`);const[,$,P,E,O]=m;return i.push({name:E,matcher:O,optional:!!$,rest:!!P,chained:P?g===1&&L[0]==="":!1}),P?"(.*?)":$?"([^/]*)?":"([^/]+?)"}return we(_)}).join("")}).join("")}/?$`),params:i}}function ft(n){return!/^\([^)]+\)$/.test(n)}function ut(n){return n.slice(1).split("/").filter(ft)}function dt(n,i,p){const c={},u=n.slice(1);let d=0;for(let L=0;Lg).join("/"),d=0;continue}if(_===void 0){l.rest&&(c[l.name]="");continue}if(!l.matcher||p[l.matcher](_)){c[l.name]=_;const g=i[L+1],m=u[L+1];g&&!g.rest&&g.optional&&m&&(d=0);continue}if(l.optional&&l.chained){d++;continue}return}if(!d)return c}function we(n){return n.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function pt({nodes:n,server_loads:i,dictionary:p,matchers:c}){const u=new Set(i);return Object.entries(p).map(([l,[_,g,m]])=>{const{pattern:$,params:P}=lt(l),E={id:l,exec:O=>{const A=$.exec(O);if(A)return dt(A,P,c)},errors:[1,...m||[]].map(O=>n[O]),layouts:[0,...g||[]].map(L),leaf:d(_)};return E.errors.length=E.layouts.length=Math.max(E.errors.length,E.layouts.length),E});function d(l){const _=l<0;return _&&(l=~l),[_,n[l]]}function L(l){return l===void 0?l:[u.has(l),n[l]]}}async function ht(n){var i;for(const p in n)if(typeof((i=n[p])==null?void 0:i.then)=="function")return Object.fromEntries(await Promise.all(Object.entries(n).map(async([c,u])=>[c,await u])));return n}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");const mt=-1,gt=-2,yt=-3,wt=-4,_t=-5,bt=-6;function vt(n,i){if(typeof n=="number")return u(n,!0);if(!Array.isArray(n)||n.length===0)throw new Error("Invalid input");const p=n,c=Array(p.length);function u(d,L=!1){if(d===mt)return;if(d===yt)return NaN;if(d===wt)return 1/0;if(d===_t)return-1/0;if(d===bt)return-0;if(L)throw new Error("Invalid input");if(d in c)return c[d];const l=p[d];if(!l||typeof l!="object")c[d]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const _=l[0],g=i==null?void 0:i[_];if(g)return c[d]=g(u(l[1]));switch(_){case"Date":c[d]=new Date(l[1]);break;case"Set":const m=new Set;c[d]=m;for(let E=1;Ei!=null)}const B=Ge(ze)??{},Z=Ge(Be)??{};function _e(n){B[n]=Q()}function kt(n,i){var $e;const p=pt(n),c=n.nodes[0],u=n.nodes[1];c(),u();const d=document.documentElement,L=[],l=[];let _=null;const g={before_navigate:[],after_navigate:[]};let m={branch:[],error:null,url:null},$=!1,P=!1,E=!0,O=!1,A=!1,J=!1,H=!1,F,N=($e=history.state)==null?void 0:$e[q];N||(N=Date.now(),history.replaceState({...history.state,[q]:N},"",location.href));const fe=B[N];fe&&(history.scrollRestoration="manual",scrollTo(fe.x,fe.y));let V,Ee,ne;async function ke(){ne=ne||Promise.resolve(),await ne,ne=null;const t=new URL(location.href),e=W(t,!0);_=null,await Ae(e,t,[])}function Se(t){l.some(e=>e==null?void 0:e.snapshot)&&(Z[t]=l.map(e=>{var r;return(r=e==null?void 0:e.snapshot)==null?void 0:r.capture()}))}function Re(t){var e;(e=Z[t])==null||e.forEach((r,a)=>{var s,o;(o=(s=l[a])==null?void 0:s.snapshot)==null||o.restore(r)})}function Le(){_e(N),Ve(ze,B),Se(N),Ve(Be,Z)}async function ue(t,{noScroll:e=!1,replaceState:r=!1,keepFocus:a=!1,state:s={},invalidateAll:o=!1},h,f){return typeof t=="string"&&(t=new URL(t,qe(document))),ie({url:t,scroll:e?Q():null,keepfocus:a,redirect_chain:h,details:{state:s,replaceState:r},nav_token:f,accepted:()=>{o&&(H=!0)},blocked:()=>{},type:"goto"})}async function Ie(t){return _={id:t.id,promise:Ue(t).then(e=>(e.type==="loaded"&&e.state.error&&(_=null),e))},_.promise}async function ae(...t){const r=p.filter(a=>t.some(s=>a.exec(s))).map(a=>Promise.all([...a.layouts,a.leaf].map(s=>s==null?void 0:s[1]())));await Promise.all(r)}async function Ae(t,e,r,a,s,o={},h){var y,w,R;Ee=o;let f=t&&await Ue(t);if(!f){if(ye(e,z))return await G(e);f=await xe(e,{id:null},await X(new Error(`Not found: ${e.pathname}`),{url:e,params:{},route:{id:null}}),404)}if(e=(t==null?void 0:t.url)||e,Ee!==o)return!1;if(f.type==="redirect")if(r.length>10||r.includes(e.pathname))f=await re({status:500,error:await X(new Error("Redirect loop"),{url:e,params:{},route:{id:null}}),url:e,route:{id:null}});else return ue(new URL(f.location,e).href,{},[...r,e.pathname],o),!1;else((y=f.props.page)==null?void 0:y.status)>=400&&await M.updated.check()&&await G(e);if(L.length=0,H=!1,O=!0,a&&(_e(a),Se(a)),(w=f.props.page)!=null&&w.url&&f.props.page.url.pathname!==e.pathname&&(e.pathname=(R=f.props.page)==null?void 0:R.url.pathname),s&&s.details){const{details:v}=s,I=v.replaceState?0:1;if(v.state[q]=N+=I,history[v.replaceState?"replaceState":"pushState"](v.state,"",e),!v.replaceState){let S=N+1;for(;Z[S]||B[S];)delete Z[S],delete B[S],S+=1}}if(_=null,P?(m=f.state,f.props.page&&(f.props.page.url=e),F.$set(f.props)):Pe(f),s){const{scroll:v,keepfocus:I}=s,{activeElement:S}=document;if(await se(),E){const U=e.hash&&document.getElementById(decodeURIComponent(e.hash.slice(1)));v?scrollTo(v.x,v.y):U?U.scrollIntoView():scrollTo(0,0)}const b=document.activeElement!==S&&document.activeElement!==document.body;!I&&!b&&await be()}else await se();E=!0,f.props.page&&(V=f.props.page),h&&h(),O=!1}function Pe(t){var a;m=t.state;const e=document.querySelector("style[data-sveltekit]");e&&e.remove(),V=t.props.page,F=new n.root({target:i,props:{...t.props,stores:M,components:l},hydrate:!0}),Re(N);const r={from:null,to:{params:m.params,route:{id:((a=m.route)==null?void 0:a.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter"};g.after_navigate.forEach(s=>s(r)),P=!0}async function Y({url:t,params:e,branch:r,status:a,error:s,route:o,form:h}){let f="never";for(const S of r)(S==null?void 0:S.slash)!==void 0&&(f=S.slash);t.pathname=Xe(t.pathname,f),t.search=t.search;const y={type:"loaded",state:{url:t,params:e,branch:r,error:s,route:o},props:{constructors:Et(r).map(S=>S.node.component)}};h!==void 0&&(y.props.form=h);let w={},R=!V,v=0;for(let S=0;S(f.params.add(U),b[U])}),data:(o==null?void 0:o.data)??null,url:tt(r,()=>{f.url=!0}),async fetch(b,U){let D;b instanceof Request?(D=b.url,U={body:b.method==="GET"||b.method==="HEAD"?void 0:await b.blob(),cache:b.cache,credentials:b.credentials,headers:b.headers,integrity:b.integrity,keepalive:b.keepalive,method:b.method,mode:b.mode,redirect:b.redirect,referrer:b.referrer,referrerPolicy:b.referrerPolicy,signal:b.signal,...U}):D=b;const C=new URL(D,r);return I(C.href),C.origin===r.origin&&(D=C.href.slice(r.origin.length)),P?st(D,C.href,U):it(D,U)},setHeaders:()=>{},depends:I,parent(){return f.parent=!0,e()}};h=await y.universal.load.call(null,S)??null,h=h?await ht(h):null}return{node:y,loader:t,server:o,universal:(R=y.universal)!=null&&R.load?{type:"data",data:h,uses:f}:null,data:h??(o==null?void 0:o.data)??null,slash:((v=y.universal)==null?void 0:v.trailingSlash)??(o==null?void 0:o.slash)}}function Oe(t,e,r,a,s){if(H)return!0;if(!a)return!1;if(a.parent&&t||a.route&&e||a.url&&r)return!0;for(const o of a.params)if(s[o]!==m.params[o])return!0;for(const o of a.dependencies)if(L.some(h=>h(new URL(o))))return!0;return!1}function pe(t,e){return(t==null?void 0:t.type)==="data"?t:(t==null?void 0:t.type)==="skip"?e??null:null}async function Ue({id:t,invalidating:e,url:r,params:a,route:s}){if((_==null?void 0:_.id)===t)return _.promise;const{errors:o,layouts:h,leaf:f}=s,y=[...h,f];o.forEach(k=>k==null?void 0:k().catch(()=>{})),y.forEach(k=>k==null?void 0:k[1]().catch(()=>{}));let w=null;const R=m.url?t!==m.url.pathname+m.url.search:!1,v=m.route?s.id!==m.route.id:!1;let I=!1;const S=y.map((k,T)=>{var K;const j=m.branch[T],x=!!(k!=null&&k[0])&&((j==null?void 0:j.loader)!==k[1]||Oe(I,v,R,(K=j.server)==null?void 0:K.uses,a));return x&&(I=!0),x});if(S.some(Boolean)){try{w=await Ke(r,S)}catch(k){return re({status:k instanceof ee?k.status:500,error:await X(k,{url:r,params:a,route:{id:s.id}}),url:r,route:s})}if(w.type==="redirect")return w}const b=w==null?void 0:w.nodes;let U=!1;const D=y.map(async(k,T)=>{var he;if(!k)return;const j=m.branch[T],x=b==null?void 0:b[T];if((!x||x.type==="skip")&&k[1]===(j==null?void 0:j.loader)&&!Oe(U,v,R,(he=j.universal)==null?void 0:he.uses,a))return j;if(U=!0,(x==null?void 0:x.type)==="error")throw x;return de({loader:k[1],url:r,params:a,route:s,parent:async()=>{var De;const Te={};for(let me=0;me{});const C=[];for(let k=0;kPromise.resolve({}),server_data_node:pe(o)}),y={node:await u(),loader:u,universal:null,server:null,data:null};return await Y({url:r,params:s,branch:[f,y],status:t,error:e,route:null})}function W(t,e){if(ye(t,z))return;const r=oe(t);for(const a of p){const s=a.exec(r);if(s)return{id:t.pathname+t.search,invalidating:e,route:a,params:Qe(s),url:t}}}function oe(t){return Ze(t.pathname.slice(z.length)||"/")}function Ne({url:t,type:e,intent:r,delta:a}){var f,y;let s=!1;const o={from:{params:m.params,route:{id:((f=m.route)==null?void 0:f.id)??null},url:m.url},to:{params:(r==null?void 0:r.params)??null,route:{id:((y=r==null?void 0:r.route)==null?void 0:y.id)??null},url:t},willUnload:!r,type:e};a!==void 0&&(o.delta=a);const h={...o,cancel:()=>{s=!0}};return A||g.before_navigate.forEach(w=>w(h)),s?null:o}async function ie({url:t,scroll:e,keepfocus:r,redirect_chain:a,details:s,type:o,delta:h,nav_token:f,accepted:y,blocked:w}){const R=W(t,!1),v=Ne({url:t,type:o,delta:h,intent:R});if(!v){w();return}const I=N;y(),A=!0,P&&M.navigating.set(v),await Ae(R,t,a,I,{scroll:e,keepfocus:r,details:s},f,()=>{A=!1,g.after_navigate.forEach(S=>S(v)),M.navigating.set(null)})}async function xe(t,e,r,a){return t.origin===location.origin&&t.pathname===location.pathname&&!$?await re({status:a,error:r,url:t,route:e}):await G(t)}function G(t){return location.href=t.href,new Promise(()=>{})}function Ye(){let t;d.addEventListener("mousemove",o=>{const h=o.target;clearTimeout(t),t=setTimeout(()=>{a(h,2)},20)});function e(o){a(o.composedPath()[0],1)}d.addEventListener("mousedown",e),d.addEventListener("touchstart",e,{passive:!0});const r=new IntersectionObserver(o=>{for(const h of o)h.isIntersecting&&(ae(oe(new URL(h.target.href))),r.unobserve(h.target))},{threshold:0});function a(o,h){const f=Fe(o,d);if(!f)return;const{url:y,external:w}=ge(f,z);if(w)return;const R=ce(f);if(!R.reload)if(h<=R.preload_data){const v=W(y,!1);v&&Ie(v)}else h<=R.preload_code&&ae(oe(y))}function s(){r.disconnect();for(const o of d.querySelectorAll("a")){const{url:h,external:f}=ge(o,z);if(f)continue;const y=ce(o);y.reload||(y.preload_code===Me.viewport&&r.observe(o),y.preload_code===Me.eager&&ae(oe(h)))}}g.after_navigate.push(s),s()}function X(t,e){return t instanceof ee?t.body:n.hooks.handleError({error:t,event:e})??{message:e.route.id!=null?"Internal Error":"Not Found"}}return{after_navigate:t=>{Ce(()=>(g.after_navigate.push(t),()=>{const e=g.after_navigate.indexOf(t);g.after_navigate.splice(e,1)}))},before_navigate:t=>{Ce(()=>(g.before_navigate.push(t),()=>{const e=g.before_navigate.indexOf(t);g.before_navigate.splice(e,1)}))},disable_scroll_handling:()=>{(O||!P)&&(E=!1)},goto:(t,e={})=>ue(t,e,[]),invalidate:t=>{if(typeof t=="function")L.push(t);else{const{href:e}=new URL(t,location.href);L.push(r=>r.href===e)}return ke()},invalidateAll:()=>(H=!0,ke()),preload_data:async t=>{const e=new URL(t,qe(document)),r=W(e,!1);if(!r)throw new Error(`Attempted to preload a URL that does not belong to this app: ${e}`);await Ie(r)},preload_code:ae,apply_action:async t=>{if(t.type==="error"){const e=new URL(location.href),{branch:r,route:a}=m;if(!a)return;const s=await je(m.branch.length,r,a.errors);if(s){const o=await Y({url:e,params:m.params,branch:r.slice(0,s.idx).concat(s.node),status:t.status??500,error:t.error,route:a});m=o.state,F.$set(o.props),se().then(be)}}else t.type==="redirect"?ue(t.location,{invalidateAll:!0},[]):(F.$set({form:null,page:{...V,form:t.data,status:t.status}}),await se(),F.$set({form:t.data}),t.type==="success"&&be())},_start_router:()=>{var t;history.scrollRestoration="manual",addEventListener("beforeunload",e=>{var a;let r=!1;if(Le(),!A){const s={from:{params:m.params,route:{id:((a=m.route)==null?void 0:a.id)??null},url:m.url},to:null,willUnload:!0,type:"leave",cancel:()=>r=!0};g.before_navigate.forEach(o=>o(s))}r?(e.preventDefault(),e.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Le()}),(t=navigator.connection)!=null&&t.saveData||Ye(),d.addEventListener("click",e=>{if(e.button||e.which!==1||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.defaultPrevented)return;const r=Fe(e.composedPath()[0],d);if(!r)return;const{url:a,external:s,target:o}=ge(r,z);if(!a)return;if(o==="_parent"||o==="_top"){if(window.parent!==window)return}else if(o&&o!=="_self")return;const h=ce(r);if(!(r instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:"))return;if(s||h.reload){Ne({url:a,type:"link"})?A=!0:e.preventDefault();return}const[y,w]=a.href.split("#");if(w!==void 0&&y===location.href.split("#")[0]){J=!0,_e(N),m.url=a,M.page.set({...V,url:a}),M.page.notify();return}ie({url:a,scroll:h.noscroll?Q():null,keepfocus:h.keep_focus??!1,redirect_chain:[],details:{state:{},replaceState:h.replace_state??a.href===location.href},accepted:()=>e.preventDefault(),blocked:()=>e.preventDefault(),type:"link"})}),d.addEventListener("submit",e=>{if(e.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(e.target),a=e.submitter;if(((a==null?void 0:a.formMethod)||r.method)!=="get")return;const o=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||r.action);if(ye(o,z))return;const h=e.target,{keep_focus:f,noscroll:y,reload:w,replace_state:R}=ce(h);if(w)return;e.preventDefault(),e.stopPropagation();const v=new FormData(h),I=a==null?void 0:a.getAttribute("name");I&&v.append(I,(a==null?void 0:a.getAttribute("value"))??""),o.search=new URLSearchParams(v).toString(),ie({url:o,scroll:y?Q():null,keepfocus:f??!1,redirect_chain:[],details:{state:{},replaceState:R??o.href===location.href},nav_token:{},accepted:()=>{},blocked:()=>{},type:"form"})}),addEventListener("popstate",async e=>{var r;if((r=e.state)!=null&&r[q]){if(e.state[q]===N)return;const a=B[e.state[q]];if(m.url.href.split("#")[0]===location.href.split("#")[0]){B[N]=Q(),N=e.state[q],scrollTo(a.x,a.y);return}const s=e.state[q]-N;let o=!1;await ie({url:new URL(location.href),scroll:a,keepfocus:!1,redirect_chain:[],details:null,accepted:()=>{N=e.state[q]},blocked:()=>{history.go(-s),o=!0},type:"popstate",delta:s}),o||Re(N)}}),addEventListener("hashchange",()=>{J&&(J=!1,history.replaceState({...history.state,[q]:++N},"",location.href))});for(const e of document.querySelectorAll("link"))e.rel==="icon"&&(e.href=e.href);addEventListener("pageshow",e=>{e.persisted&&M.navigating.set(null)})},_hydrate:async({status:t=200,error:e,node_ids:r,params:a,route:s,data:o,form:h})=>{$=!0;const f=new URL(location.href);({params:a={},route:s={id:null}}=W(f,!1)||{});let y;try{const w=r.map(async(R,v)=>{const I=o[v];return I!=null&&I.uses&&(I.uses=Je(I.uses)),de({loader:n.nodes[R],url:f,params:a,route:s,parent:async()=>{const S={};for(let b=0;bR===s.id)??null})}catch(w){if(w instanceof He){await G(new URL(w.location,location.href));return}y=await re({status:w instanceof ee?w.status:500,error:await X(w,{url:f,params:a,route:s}),url:f,route:s})}Pe(y)}}}async function Ke(n,i){const p=new URL(n);p.pathname=rt(n.pathname),p.searchParams.append("x-sveltekit-invalidated",i.map(u=>u?"1":"").join("_"));const c=await le(p.href);if(!c.ok)throw new ee(c.status,await c.json());return new Promise(async u=>{var m;const d=new Map,L=c.body.getReader(),l=new TextDecoder;function _($){return vt($,{Promise:P=>new Promise((E,O)=>{d.set(P,{fulfil:E,reject:O})})})}let g="";for(;;){const{done:$,value:P}=await L.read();if($&&!g)break;for(g+=!P&&g?` `:l.decode(P);;){const E=g.indexOf(` `);if(E===-1)break;const O=JSON.parse(g.slice(0,E));if(g=g.slice(E+1),O.type==="redirect")return u(O);if(O.type==="data")(m=O.nodes)==null||m.forEach(A=>{(A==null?void 0:A.type)==="data"&&(A.uses=Je(A.uses),A.data=_(A.data))}),u(O);else if(O.type==="chunk"){const{id:A,data:J,error:H}=O,F=d.get(A);d.delete(A),H?F.reject(_(H)):F.fulfil(_(J))}}}})}function Je(n){return{dependencies:new Set((n==null?void 0:n.dependencies)??[]),params:new Set((n==null?void 0:n.params)??[]),parent:!!(n!=null&&n.parent),route:!!(n!=null&&n.route),url:!!(n!=null&&n.url)}}function be(){const n=document.querySelector("[autofocus]");if(n)n.focus();else{const i=document.body,p=i.getAttribute("tabindex");return i.tabIndex=-1,i.focus({preventScroll:!0}),p!==null?i.setAttribute("tabindex",p):i.removeAttribute("tabindex"),new Promise(c=>{setTimeout(()=>{var u;c((u=getSelection())==null?void 0:u.removeAllRanges())})})}}async function At(n,i,p){const c=kt(n,i);We({client:c}),p?await c._hydrate(p):c.goto(location.href,{replaceState:!0}),c._start_router()}export{At as start}; diff --git a/ui/assets/local/_app/version.json b/ui/assets/local/_app/version.json index 8733c885ab..72acf7fac0 100644 --- a/ui/assets/local/_app/version.json +++ b/ui/assets/local/_app/version.json @@ -1 +1 @@ -{"version":"1686848082722"} \ No newline at end of file +{"version":"1686851790756"} \ No newline at end of file diff --git a/ui/assets/local/index.html b/ui/assets/local/index.html index fd8829b23f..d74d6e107d 100644 --- a/ui/assets/local/index.html +++ b/ui/assets/local/index.html @@ -4,30 +4,30 @@ - + - + - + - +