From 192be7087f7f72b5362ab565ebe1d75b5081f8d7 Mon Sep 17 00:00:00 2001 From: "Temporal Data (cicd)" Date: Tue, 12 Sep 2023 13:29:25 +0000 Subject: [PATCH] Update UI Server --- go.mod | 24 +- go.sum | 280 +++++++++++++++++- server/version/version.go | 2 +- .../local/_app/immutable/chunks/1.7b6bbc93.js | 1 - .../local/_app/immutable/chunks/1.e5d4cbf5.js | 1 + .../_app/immutable/chunks/10.1c66d231.js | 1 + .../_app/immutable/chunks/10.f3f5ea42.js | 1 - .../chunks/{11.f66d39fe.js => 11.d4b06714.js} | 2 +- .../_app/immutable/chunks/12.546d0d04.js | 1 - .../_app/immutable/chunks/12.7a83d954.js | 1 + .../chunks/{13.1afbdecb.js => 13.3b19481e.js} | 2 +- .../_app/immutable/chunks/14.62459290.js | 1 + .../_app/immutable/chunks/14.a09078fd.js | 1 - .../chunks/{15.1c1b9bde.js => 15.f2e7c8c8.js} | 2 +- .../chunks/{16.988ec87d.js => 16.b804cd42.js} | 2 +- .../_app/immutable/chunks/18.608cb374.js | 1 + .../_app/immutable/chunks/18.a73b929a.js | 1 - .../_app/immutable/chunks/19.50c090fa.js | 1 + .../_app/immutable/chunks/19.ef4ef0dc.js | 1 - .../local/_app/immutable/chunks/2.67377176.js | 1 - .../local/_app/immutable/chunks/2.8515c6c4.js | 1 + .../_app/immutable/chunks/20.3e1a1150.js | 1 + .../_app/immutable/chunks/20.e8db063c.js | 1 - .../chunks/{21.3ccf411a.js => 21.67b7fc12.js} | 2 +- .../chunks/{22.e40796a3.js => 22.ac3a8d62.js} | 2 +- .../chunks/{23.826154a0.js => 23.cf0df484.js} | 2 +- .../chunks/{24.e9d5f04c.js => 24.c20ba878.js} | 2 +- .../chunks/{26.09c31255.js => 26.c9567010.js} | 2 +- .../_app/immutable/chunks/27.7a01ad74.js | 1 - .../_app/immutable/chunks/27.cf61f122.js | 1 + .../_app/immutable/chunks/28.ceba7c36.js | 1 + .../_app/immutable/chunks/28.f746d19b.js | 1 - .../local/_app/immutable/chunks/3.24ddb3f7.js | 1 + .../local/_app/immutable/chunks/3.5b1932ee.js | 1 - .../chunks/{30.1b51c16d.js => 30.a43def10.js} | 2 +- .../_app/immutable/chunks/31.8ab3f0ee.js | 1 + .../_app/immutable/chunks/31.94dd5fc2.js | 1 - .../_app/immutable/chunks/32.8ab3f0ee.js | 1 + .../_app/immutable/chunks/32.94dd5fc2.js | 1 - .../_app/immutable/chunks/33.8ab3f0ee.js | 1 + .../_app/immutable/chunks/33.94dd5fc2.js | 1 - .../chunks/{34.f906c797.js => 34.d765ae9e.js} | 2 +- .../chunks/{35.ebdca862.js => 35.fafe3802.js} | 2 +- .../chunks/{36.50c0d285.js => 36.1b6c0f0c.js} | 2 +- .../chunks/{37.4f25539c.js => 37.3e52c74e.js} | 2 +- .../chunks/{38.b9ac409f.js => 38.131ef7b3.js} | 2 +- .../_app/immutable/chunks/39.3284deeb.js | 1 + .../_app/immutable/chunks/39.4282e608.js | 1 - .../chunks/{4.0e1c927e.js => 4.ed8855ad.js} | 2 +- .../_app/immutable/chunks/40.23fa8249.js | 1 + .../_app/immutable/chunks/40.a0e532c1.js | 1 - .../chunks/{5.44c8c169.js => 5.7a331982.js} | 2 +- .../chunks/{8.f3fc7b51.js => 8.74f46843.js} | 2 +- .../chunks/{9.92155705.js => 9.740ed7a1.js} | 2 +- ...layout.d29348a6.js => _layout.25e245e4.js} | 2 +- ...layout.d45f959f.js => _layout.b53e967c.js} | 2 +- ...layout.9cee44af.js => _layout.f9646db3.js} | 2 +- .../{_page.2f4fdd95.js => _page.4d00784b.js} | 2 +- .../{_page.efe49b17.js => _page.661af5f9.js} | 2 +- .../{_page.c0269608.js => _page.976e3127.js} | 2 +- .../{_page.70afa1d3.js => _page.9ffea987.js} | 2 +- .../{_page.6d808502.js => _page.a593dedb.js} | 2 +- .../{_page.c8218868.js => _page.a85e69cb.js} | 2 +- .../{_page.877deec2.js => _page.bb4fbdea.js} | 2 +- .../{_page.fb482c75.js => _page.bd101315.js} | 2 +- .../{_page.31d41fe4.js => _page.f30a4e64.js} | 2 +- .../{atob.52e78f85.js => atob.3846ac29.js} | 2 +- ...97e177eb.js => decode-payload.8b7fbb10.js} | 2 +- ...{drawer.f1cf2cf1.js => drawer.d5a49f69.js} | 2 +- .../{error.ea999a59.js => error.422bc1be.js} | 2 +- ... => event-history-file-import.443bbc6a.js} | 2 +- ...b88.js => event-summary-table.98f53565.js} | 2 +- ...1baddf3f.js => events-service.31abcdb2.js} | 2 +- ...ilters.bd92de72.js => filters.2e8e7341.js} | 2 +- .../{index.7c53442e.js => index.8ae24503.js} | 2 +- .../{index.5b739b8a.js => index.eb59ea6d.js} | 2 +- .../{logo.797112c8.js => logo.0c03f549.js} | 2 +- ...95ed.js => namespaces-service.af8fc337.js} | 2 +- ...ion.6d455e31.js => navigation.85b47b98.js} | 2 +- ...ated.2b7c667d.js => paginated.2a1d18a2.js} | 2 +- ...ion.5253b8b7.js => pagination.e9c8b93a.js} | 2 +- .../_app/immutable/chunks/paths.898c1036.js | 1 + .../_app/immutable/chunks/paths.988b483c.js | 1 - ...56dcc71.js => pollers-service.6835f4ba.js} | 2 +- ....6ec5e063.js => query-service.cc6baea4.js} | 2 +- ....1959b395.js => route-for-api.28fc22fc.js} | 2 +- ...-for.f2f7cb1c.js => route-for.8244bd54.js} | 2 +- ...8594.js => schedule-form-view.f726ab1f.js} | 2 +- ...9fba12.js => schedule-service.ccc6562c.js} | 2 +- ...ules.b362631b.js => schedules.80c3a2f9.js} | 2 +- ...c40f69.js => settings-service.d3fae296.js} | 2 +- ...ons.96ee7baa.js => singletons.b88fa2bd.js} | 2 +- ...{stores.83aed68d.js => stores.3002bd93.js} | 2 +- ...9fe9f320.js => toggle-buttons.59bb67f3.js} | 2 +- ...t.4f77c93c.js => workers-list.b54d3495.js} | 2 +- ...a8d283.js => workflow-service.db6f5d3e.js} | 2 +- ...lows.f9987742.js => workflows.6800ca9a.js} | 2 +- ...-converter-_port_-page.svelte.0f7a7a1a.js} | 2 +- ..._-history-compact-page.svelte.d1a2584a.js} | 2 +- ...run_-history-feed-page.svelte.3567deeb.js} | 2 +- ..._-_run_-history-layout.svelte.ac104a2a.js} | 2 +- ...orkflow_-_run_-history-page.ts.181a91aa.js | 1 - ...orkflow_-_run_-history-page.ts.1be58db9.js | 1 + ...pp)-import-events-page.svelte.089828c1.js} | 2 +- ...=> (app)-import-layout.svelte.0c6840cd.js} | 2 +- .../entry/(app)-import-page.ts.d4534f09.js | 1 + .../entry/(app)-import-page.ts.f8709249.js | 1 - ...26f.js => (app)-layout.svelte.29fcdee6.js} | 2 +- .../entry/(app)-layout.ts.217fad02.js | 1 + .../entry/(app)-layout.ts.6b847c34.js | 1 - ...mespace_-archival-page.svelte.c81727e0.js} | 2 +- ...s-_namespace_-archival-page.ts.32cb8511.js | 1 + ...s-_namespace_-archival-page.ts.c80e75b4.js | 1 - ...mespaces-_namespace_-layout.ts.3913b2e1.js | 1 + ...mespaces-_namespace_-layout.ts.b7aff779.js | 1 - ...paces-_namespace_-page.svelte.f73dc67e.js} | 2 +- ...namespaces-_namespace_-page.ts.11d20164.js | 1 + ...namespaces-_namespace_-page.ts.ac38b8b4.js | 1 - ...s-_schedule_-edit-page.svelte.94375227.js} | 2 +- ...edules-_schedule_-page.svelte.d8f45c1a.js} | 2 +- ...-schedules-create-page.svelte.decd423e.js} | 2 +- ...espace_-schedules-page.svelte.1a02f818.js} | 2 +- ...sk-queues-_queue_-page.svelte.f0279b73.js} | 2 +- ...-_run_-history-compact-page.ts.0bfeeb5a.js | 1 - ...-_run_-history-compact-page.ts.6492cc6a.js | 1 + ...ow_-_run_-history-feed-page.ts.0bfeeb5a.js | 1 - ...ow_-_run_-history-feed-page.ts.6492cc6a.js | 1 + ...ow_-_run_-history-json-page.ts.0bfeeb5a.js | 1 - ...ow_-_run_-history-json-page.ts.6492cc6a.js | 1 + ...ow_-_run_-history-page.svelte.7fc8428a.js} | 2 +- ...workflow_-_run_-layout.svelte.a3178fdd.js} | 2 +- ...ending-activities-page.svelte.34b951f7.js} | 2 +- ...flow_-_run_-query-page.svelte.93f08733.js} | 2 +- ..._run_-stack-trace-page.svelte.2eb6fdb4.js} | 2 +- ...ow_-_run_-workers-page.svelte.09b1b47c.js} | 2 +- ...-workflows-_workflow_-page.ts.85f63279.js} | 2 +- ...espace_-workflows-page.svelte.3c99401c.js} | 2 +- ... (app)-namespaces-page.svelte.68af5dce.js} | 2 +- ...48951.js => (app)-page.svelte.251286ca.js} | 2 +- .../immutable/entry/(app)-page.ts.67db5ff9.js | 1 + .../immutable/entry/(app)-page.ts.cd901cf5.js | 1 - ...-select-namespace-page.svelte.2d4f801d.js} | 2 +- .../entry/(login)-layout.ts.891fcff1.js | 1 + .../entry/(login)-layout.ts.cedee9fc.js | 1 - ... => (login)-login-page.svelte.e01a1fa8.js} | 2 +- ...=> (login)-signin-page.svelte.e01a1fa8.js} | 2 +- ....99e0dff7.js => _error.svelte.ce9961d0.js} | 2 +- .../{app.061f4024.js => app.621050e3.js} | 2 +- .../{start.2139d378.js => start.0999ca5f.js} | 2 +- ui/assets/local/_app/version.json | 2 +- ui/assets/local/index.html | 16 +- 151 files changed, 408 insertions(+), 152 deletions(-) delete mode 100644 ui/assets/local/_app/immutable/chunks/1.7b6bbc93.js create mode 100644 ui/assets/local/_app/immutable/chunks/1.e5d4cbf5.js create mode 100644 ui/assets/local/_app/immutable/chunks/10.1c66d231.js delete mode 100644 ui/assets/local/_app/immutable/chunks/10.f3f5ea42.js rename ui/assets/local/_app/immutable/chunks/{11.f66d39fe.js => 11.d4b06714.js} (57%) delete mode 100644 ui/assets/local/_app/immutable/chunks/12.546d0d04.js create mode 100644 ui/assets/local/_app/immutable/chunks/12.7a83d954.js rename ui/assets/local/_app/immutable/chunks/{13.1afbdecb.js => 13.3b19481e.js} (62%) create mode 100644 ui/assets/local/_app/immutable/chunks/14.62459290.js delete mode 100644 ui/assets/local/_app/immutable/chunks/14.a09078fd.js rename ui/assets/local/_app/immutable/chunks/{15.1c1b9bde.js => 15.f2e7c8c8.js} (56%) rename ui/assets/local/_app/immutable/chunks/{16.988ec87d.js => 16.b804cd42.js} (55%) create mode 100644 ui/assets/local/_app/immutable/chunks/18.608cb374.js delete mode 100644 ui/assets/local/_app/immutable/chunks/18.a73b929a.js create mode 100644 ui/assets/local/_app/immutable/chunks/19.50c090fa.js delete mode 100644 ui/assets/local/_app/immutable/chunks/19.ef4ef0dc.js delete mode 100644 ui/assets/local/_app/immutable/chunks/2.67377176.js create mode 100644 ui/assets/local/_app/immutable/chunks/2.8515c6c4.js create mode 100644 ui/assets/local/_app/immutable/chunks/20.3e1a1150.js delete mode 100644 ui/assets/local/_app/immutable/chunks/20.e8db063c.js rename ui/assets/local/_app/immutable/chunks/{21.3ccf411a.js => 21.67b7fc12.js} (52%) rename ui/assets/local/_app/immutable/chunks/{22.e40796a3.js => 22.ac3a8d62.js} (51%) rename ui/assets/local/_app/immutable/chunks/{23.826154a0.js => 23.cf0df484.js} (53%) rename ui/assets/local/_app/immutable/chunks/{24.e9d5f04c.js => 24.c20ba878.js} (50%) rename ui/assets/local/_app/immutable/chunks/{26.09c31255.js => 26.c9567010.js} (51%) delete mode 100644 ui/assets/local/_app/immutable/chunks/27.7a01ad74.js create mode 100644 ui/assets/local/_app/immutable/chunks/27.cf61f122.js create mode 100644 ui/assets/local/_app/immutable/chunks/28.ceba7c36.js delete mode 100644 ui/assets/local/_app/immutable/chunks/28.f746d19b.js create mode 100644 ui/assets/local/_app/immutable/chunks/3.24ddb3f7.js delete mode 100644 ui/assets/local/_app/immutable/chunks/3.5b1932ee.js rename ui/assets/local/_app/immutable/chunks/{30.1b51c16d.js => 30.a43def10.js} (68%) create mode 100644 ui/assets/local/_app/immutable/chunks/31.8ab3f0ee.js delete mode 100644 ui/assets/local/_app/immutable/chunks/31.94dd5fc2.js create mode 100644 ui/assets/local/_app/immutable/chunks/32.8ab3f0ee.js delete mode 100644 ui/assets/local/_app/immutable/chunks/32.94dd5fc2.js create mode 100644 ui/assets/local/_app/immutable/chunks/33.8ab3f0ee.js delete mode 100644 ui/assets/local/_app/immutable/chunks/33.94dd5fc2.js rename ui/assets/local/_app/immutable/chunks/{34.f906c797.js => 34.d765ae9e.js} (59%) rename ui/assets/local/_app/immutable/chunks/{35.ebdca862.js => 35.fafe3802.js} (55%) rename ui/assets/local/_app/immutable/chunks/{36.50c0d285.js => 36.1b6c0f0c.js} (57%) rename ui/assets/local/_app/immutable/chunks/{37.4f25539c.js => 37.3e52c74e.js} (56%) rename ui/assets/local/_app/immutable/chunks/{38.b9ac409f.js => 38.131ef7b3.js} (60%) create mode 100644 ui/assets/local/_app/immutable/chunks/39.3284deeb.js delete mode 100644 ui/assets/local/_app/immutable/chunks/39.4282e608.js rename ui/assets/local/_app/immutable/chunks/{4.0e1c927e.js => 4.ed8855ad.js} (54%) create mode 100644 ui/assets/local/_app/immutable/chunks/40.23fa8249.js delete mode 100644 ui/assets/local/_app/immutable/chunks/40.a0e532c1.js rename ui/assets/local/_app/immutable/chunks/{5.44c8c169.js => 5.7a331982.js} (54%) rename ui/assets/local/_app/immutable/chunks/{8.f3fc7b51.js => 8.74f46843.js} (54%) rename ui/assets/local/_app/immutable/chunks/{9.92155705.js => 9.740ed7a1.js} (57%) rename ui/assets/local/_app/immutable/chunks/{_layout.d29348a6.js => _layout.25e245e4.js} (81%) rename ui/assets/local/_app/immutable/chunks/{_layout.d45f959f.js => _layout.b53e967c.js} (89%) rename ui/assets/local/_app/immutable/chunks/{_layout.9cee44af.js => _layout.f9646db3.js} (97%) rename ui/assets/local/_app/immutable/chunks/{_page.2f4fdd95.js => _page.4d00784b.js} (80%) rename ui/assets/local/_app/immutable/chunks/{_page.efe49b17.js => _page.661af5f9.js} (74%) rename ui/assets/local/_app/immutable/chunks/{_page.c0269608.js => _page.976e3127.js} (85%) rename ui/assets/local/_app/immutable/chunks/{_page.70afa1d3.js => _page.9ffea987.js} (80%) rename ui/assets/local/_app/immutable/chunks/{_page.6d808502.js => _page.a593dedb.js} (83%) rename ui/assets/local/_app/immutable/chunks/{_page.c8218868.js => _page.a85e69cb.js} (80%) rename ui/assets/local/_app/immutable/chunks/{_page.877deec2.js => _page.bb4fbdea.js} (88%) rename ui/assets/local/_app/immutable/chunks/{_page.fb482c75.js => _page.bd101315.js} (89%) rename ui/assets/local/_app/immutable/chunks/{_page.31d41fe4.js => _page.f30a4e64.js} (75%) rename ui/assets/local/_app/immutable/chunks/{atob.52e78f85.js => atob.3846ac29.js} (72%) rename ui/assets/local/_app/immutable/chunks/{decode-payload.97e177eb.js => decode-payload.8b7fbb10.js} (99%) rename ui/assets/local/_app/immutable/chunks/{drawer.f1cf2cf1.js => drawer.d5a49f69.js} (98%) rename ui/assets/local/_app/immutable/chunks/{error.ea999a59.js => error.422bc1be.js} (95%) rename ui/assets/local/_app/immutable/chunks/{event-history-file-import.a363e2a4.js => event-history-file-import.443bbc6a.js} (90%) rename ui/assets/local/_app/immutable/chunks/{event-summary-table.e529cb88.js => event-summary-table.98f53565.js} (99%) rename ui/assets/local/_app/immutable/chunks/{events-service.1baddf3f.js => events-service.31abcdb2.js} (85%) rename ui/assets/local/_app/immutable/chunks/{filters.bd92de72.js => filters.2e8e7341.js} (87%) rename ui/assets/local/_app/immutable/chunks/{index.7c53442e.js => index.8ae24503.js} (96%) rename ui/assets/local/_app/immutable/chunks/{index.5b739b8a.js => index.eb59ea6d.js} (97%) rename ui/assets/local/_app/immutable/chunks/{logo.797112c8.js => logo.0c03f549.js} (95%) rename ui/assets/local/_app/immutable/chunks/{namespaces-service.6d9595ed.js => namespaces-service.af8fc337.js} (85%) rename ui/assets/local/_app/immutable/chunks/{navigation.6d455e31.js => navigation.85b47b98.js} (69%) rename ui/assets/local/_app/immutable/chunks/{paginated.2b7c667d.js => paginated.2a1d18a2.js} (89%) rename ui/assets/local/_app/immutable/chunks/{pagination.5253b8b7.js => pagination.e9c8b93a.js} (99%) create mode 100644 ui/assets/local/_app/immutable/chunks/paths.898c1036.js delete mode 100644 ui/assets/local/_app/immutable/chunks/paths.988b483c.js rename ui/assets/local/_app/immutable/chunks/{pollers-service.956dcc71.js => pollers-service.6835f4ba.js} (98%) rename ui/assets/local/_app/immutable/chunks/{query-service.6ec5e063.js => query-service.cc6baea4.js} (91%) rename ui/assets/local/_app/immutable/chunks/{route-for-api.1959b395.js => route-for-api.28fc22fc.js} (97%) rename ui/assets/local/_app/immutable/chunks/{route-for.f2f7cb1c.js => route-for.8244bd54.js} (97%) rename ui/assets/local/_app/immutable/chunks/{schedule-form-view.5f748594.js => schedule-form-view.f726ab1f.js} (99%) rename ui/assets/local/_app/immutable/chunks/{schedule-service.d49fba12.js => schedule-service.ccc6562c.js} (96%) rename ui/assets/local/_app/immutable/chunks/{schedules.b362631b.js => schedules.80c3a2f9.js} (94%) rename ui/assets/local/_app/immutable/chunks/{settings-service.61c40f69.js => settings-service.d3fae296.js} (96%) rename ui/assets/local/_app/immutable/chunks/{singletons.96ee7baa.js => singletons.b88fa2bd.js} (97%) rename ui/assets/local/_app/immutable/chunks/{stores.83aed68d.js => stores.3002bd93.js} (69%) rename ui/assets/local/_app/immutable/chunks/{toggle-buttons.9fe9f320.js => toggle-buttons.59bb67f3.js} (98%) rename ui/assets/local/_app/immutable/chunks/{workers-list.4f77c93c.js => workers-list.b54d3495.js} (99%) rename ui/assets/local/_app/immutable/chunks/{workflow-service.6fa8d283.js => workflow-service.db6f5d3e.js} (96%) rename ui/assets/local/_app/immutable/chunks/{workflows.f9987742.js => workflows.6800ca9a.js} (82%) rename ui/assets/local/_app/immutable/entry/{(app)-data-converter-_port_-page.svelte.4b13d87f.js => (app)-data-converter-_port_-page.svelte.0f7a7a1a.js} (76%) rename ui/assets/local/_app/immutable/entry/{(app)-import-events-_namespace_-_workflow_-_run_-history-compact-page.svelte.ea89728c.js => (app)-import-events-_namespace_-_workflow_-_run_-history-compact-page.svelte.d1a2584a.js} (94%) rename ui/assets/local/_app/immutable/entry/{(app)-import-events-_namespace_-_workflow_-_run_-history-feed-page.svelte.b850cc53.js => (app)-import-events-_namespace_-_workflow_-_run_-history-feed-page.svelte.3567deeb.js} (94%) rename ui/assets/local/_app/immutable/entry/{(app)-import-events-_namespace_-_workflow_-_run_-history-layout.svelte.72af70d0.js => (app)-import-events-_namespace_-_workflow_-_run_-history-layout.svelte.ac104a2a.js} (95%) delete mode 100644 ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-page.ts.181a91aa.js create mode 100644 ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-page.ts.1be58db9.js rename ui/assets/local/_app/immutable/entry/{(app)-import-events-page.svelte.7be8fc4f.js => (app)-import-events-page.svelte.089828c1.js} (98%) rename ui/assets/local/_app/immutable/entry/{(app)-import-layout.svelte.c1d79c78.js => (app)-import-layout.svelte.0c6840cd.js} (93%) create mode 100644 ui/assets/local/_app/immutable/entry/(app)-import-page.ts.d4534f09.js delete mode 100644 ui/assets/local/_app/immutable/entry/(app)-import-page.ts.f8709249.js rename ui/assets/local/_app/immutable/entry/{(app)-layout.svelte.affec26f.js => (app)-layout.svelte.29fcdee6.js} (99%) create mode 100644 ui/assets/local/_app/immutable/entry/(app)-layout.ts.217fad02.js delete mode 100644 ui/assets/local/_app/immutable/entry/(app)-layout.ts.6b847c34.js rename ui/assets/local/_app/immutable/entry/{(app)-namespaces-_namespace_-archival-page.svelte.ad084264.js => (app)-namespaces-_namespace_-archival-page.svelte.c81727e0.js} (98%) create mode 100644 ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.ts.32cb8511.js delete mode 100644 ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.ts.c80e75b4.js create mode 100644 ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-layout.ts.3913b2e1.js delete mode 100644 ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-layout.ts.b7aff779.js rename ui/assets/local/_app/immutable/entry/{(app)-namespaces-_namespace_-page.svelte.2b492839.js => (app)-namespaces-_namespace_-page.svelte.f73dc67e.js} (99%) create mode 100644 ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-page.ts.11d20164.js delete mode 100644 ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-page.ts.ac38b8b4.js rename ui/assets/local/_app/immutable/entry/{(app)-namespaces-_namespace_-schedules-_schedule_-edit-page.svelte.051823ca.js => (app)-namespaces-_namespace_-schedules-_schedule_-edit-page.svelte.94375227.js} (86%) rename ui/assets/local/_app/immutable/entry/{(app)-namespaces-_namespace_-schedules-_schedule_-page.svelte.05f7775e.js => (app)-namespaces-_namespace_-schedules-_schedule_-page.svelte.d8f45c1a.js} (98%) rename ui/assets/local/_app/immutable/entry/{(app)-namespaces-_namespace_-schedules-create-page.svelte.a231512f.js => (app)-namespaces-_namespace_-schedules-create-page.svelte.decd423e.js} (88%) rename ui/assets/local/_app/immutable/entry/{(app)-namespaces-_namespace_-schedules-page.svelte.72c41b67.js => (app)-namespaces-_namespace_-schedules-page.svelte.1a02f818.js} (98%) rename ui/assets/local/_app/immutable/entry/{(app)-namespaces-_namespace_-task-queues-_queue_-page.svelte.399ab9f7.js => (app)-namespaces-_namespace_-task-queues-_queue_-page.svelte.f0279b73.js} (92%) delete mode 100644 ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-compact-page.ts.0bfeeb5a.js create mode 100644 ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-compact-page.ts.6492cc6a.js delete mode 100644 ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-feed-page.ts.0bfeeb5a.js create mode 100644 ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-feed-page.ts.6492cc6a.js delete mode 100644 ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-json-page.ts.0bfeeb5a.js create mode 100644 ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-json-page.ts.6492cc6a.js rename ui/assets/local/_app/immutable/entry/{(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-page.svelte.94aad5f5.js => (app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-page.svelte.7fc8428a.js} (99%) rename ui/assets/local/_app/immutable/entry/{(app)-namespaces-_namespace_-workflows-_workflow_-_run_-layout.svelte.ccb757a4.js => (app)-namespaces-_namespace_-workflows-_workflow_-_run_-layout.svelte.a3178fdd.js} (99%) rename ui/assets/local/_app/immutable/entry/{(app)-namespaces-_namespace_-workflows-_workflow_-_run_-pending-activities-page.svelte.26f8d277.js => (app)-namespaces-_namespace_-workflows-_workflow_-_run_-pending-activities-page.svelte.34b951f7.js} (99%) rename ui/assets/local/_app/immutable/entry/{(app)-namespaces-_namespace_-workflows-_workflow_-_run_-query-page.svelte.cd26cab5.js => (app)-namespaces-_namespace_-workflows-_workflow_-_run_-query-page.svelte.93f08733.js} (98%) rename ui/assets/local/_app/immutable/entry/{(app)-namespaces-_namespace_-workflows-_workflow_-_run_-stack-trace-page.svelte.a49ab006.js => (app)-namespaces-_namespace_-workflows-_workflow_-_run_-stack-trace-page.svelte.2eb6fdb4.js} (98%) rename ui/assets/local/_app/immutable/entry/{(app)-namespaces-_namespace_-workflows-_workflow_-_run_-workers-page.svelte.b14f2e16.js => (app)-namespaces-_namespace_-workflows-_workflow_-_run_-workers-page.svelte.09b1b47c.js} (92%) rename ui/assets/local/_app/immutable/entry/{(app)-namespaces-_namespace_-workflows-_workflow_-page.ts.cc298259.js => (app)-namespaces-_namespace_-workflows-_workflow_-page.ts.85f63279.js} (57%) rename ui/assets/local/_app/immutable/entry/{(app)-namespaces-_namespace_-workflows-page.svelte.34f8f62f.js => (app)-namespaces-_namespace_-workflows-page.svelte.3c99401c.js} (99%) rename ui/assets/local/_app/immutable/entry/{(app)-namespaces-page.svelte.3460eb81.js => (app)-namespaces-page.svelte.68af5dce.js} (96%) rename ui/assets/local/_app/immutable/entry/{(app)-page.svelte.52a48951.js => (app)-page.svelte.251286ca.js} (79%) create mode 100644 ui/assets/local/_app/immutable/entry/(app)-page.ts.67db5ff9.js delete mode 100644 ui/assets/local/_app/immutable/entry/(app)-page.ts.cd901cf5.js rename ui/assets/local/_app/immutable/entry/{(app)-select-namespace-page.svelte.2ff01546.js => (app)-select-namespace-page.svelte.2d4f801d.js} (97%) create mode 100644 ui/assets/local/_app/immutable/entry/(login)-layout.ts.891fcff1.js delete mode 100644 ui/assets/local/_app/immutable/entry/(login)-layout.ts.cedee9fc.js rename ui/assets/local/_app/immutable/entry/{(login)-login-page.svelte.ab786e89.js => (login)-login-page.svelte.e01a1fa8.js} (93%) rename ui/assets/local/_app/immutable/entry/{(login)-signin-page.svelte.ab786e89.js => (login)-signin-page.svelte.e01a1fa8.js} (93%) rename ui/assets/local/_app/immutable/entry/{_error.svelte.99e0dff7.js => _error.svelte.ce9961d0.js} (86%) rename ui/assets/local/_app/immutable/entry/{app.061f4024.js => app.621050e3.js} (66%) rename ui/assets/local/_app/immutable/entry/{start.2139d378.js => start.0999ca5f.js} (99%) diff --git a/go.mod b/go.mod index 70409f4dc3..8b3770d621 100644 --- a/go.mod +++ b/go.mod @@ -11,12 +11,12 @@ require ( github.com/gorilla/securecookie v1.1.1 github.com/grpc-ecosystem/grpc-gateway v1.16.0 github.com/labstack/echo/v4 v4.9.1 - github.com/stretchr/testify v1.8.3 + github.com/stretchr/testify v1.8.4 github.com/urfave/cli/v2 v2.3.0 - go.temporal.io/api v1.21.0 - golang.org/x/net v0.10.0 - golang.org/x/oauth2 v0.6.0 - google.golang.org/grpc v1.55.0 + go.temporal.io/api v1.24.0 + golang.org/x/net v0.14.0 + golang.org/x/oauth2 v0.8.0 + google.golang.org/grpc v1.57.0 gopkg.in/validator.v2 v2.0.0-20210331031555-b37d688a7fb0 gopkg.in/yaml.v3 v3.0.1 ) @@ -27,18 +27,20 @@ require ( github.com/golang-jwt/jwt v3.2.2+incompatible // indirect github.com/labstack/gommon v0.4.0 // indirect github.com/mattn/go-colorable v0.1.12 // indirect - github.com/mattn/go-isatty v0.0.16 // indirect + github.com/mattn/go-isatty v0.0.17 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/russross/blackfriday/v2 v2.1.0 // indirect github.com/valyala/bytebufferpool v1.0.0 // indirect github.com/valyala/fasttemplate v1.2.1 // indirect - golang.org/x/crypto v0.1.0 // indirect - golang.org/x/sys v0.8.0 // indirect - golang.org/x/text v0.9.0 // indirect + golang.org/x/crypto v0.12.0 // indirect + golang.org/x/sys v0.11.0 // indirect + golang.org/x/text v0.12.0 // indirect golang.org/x/time v0.3.0 // indirect google.golang.org/appengine v1.6.7 // indirect - google.golang.org/genproto v0.0.0-20230525154841-bd750badd5c6 // indirect - google.golang.org/protobuf v1.30.0 // indirect + google.golang.org/genproto v0.0.0-20230815205213-6bfd019c3878 // indirect + google.golang.org/genproto/googleapis/api v0.0.0-20230815205213-6bfd019c3878 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20230815205213-6bfd019c3878 // indirect + google.golang.org/protobuf v1.31.0 // indirect gopkg.in/square/go-jose.v2 v2.6.0 // indirect ) diff --git a/go.sum b/go.sum index ba2762b9a9..045f41a202 100644 --- a/go.sum +++ b/go.sum @@ -36,33 +36,47 @@ cloud.google.com/go v0.104.0/go.mod h1:OO6xxXdJyvuJPcEPBLN9BJPD+jep5G1+2U5B5gkRY cloud.google.com/go v0.105.0/go.mod h1:PrLgOJNe5nfE9UMxKxgXj4mD3voiP+YQ6gdt6KMFOKM= cloud.google.com/go v0.107.0/go.mod h1:wpc2eNrD7hXUTy8EKS10jkxpZBjASrORK7goS+3YX2I= cloud.google.com/go v0.110.0/go.mod h1:SJnCLqQ0FCFGSZMUNUf84MV3Aia54kn7pi8st7tMzaY= +cloud.google.com/go v0.110.2/go.mod h1:k04UEeEtb6ZBRTv3dZz4CeJC3jKGxyhl0sAiVVquxiw= +cloud.google.com/go v0.110.4/go.mod h1:+EYjdK8e5RME/VY/qLCAtuyALQ9q67dvuum8i+H5xsI= +cloud.google.com/go v0.110.6/go.mod h1:+EYjdK8e5RME/VY/qLCAtuyALQ9q67dvuum8i+H5xsI= +cloud.google.com/go v0.110.7/go.mod h1:+EYjdK8e5RME/VY/qLCAtuyALQ9q67dvuum8i+H5xsI= cloud.google.com/go/accessapproval v1.4.0/go.mod h1:zybIuC3KpDOvotz59lFe5qxRZx6C75OtwbisN56xYB4= cloud.google.com/go/accessapproval v1.5.0/go.mod h1:HFy3tuiGvMdcd/u+Cu5b9NkO1pEICJ46IR82PoUdplw= cloud.google.com/go/accessapproval v1.6.0/go.mod h1:R0EiYnwV5fsRFiKZkPHr6mwyk2wxUJ30nL4j2pcFY2E= +cloud.google.com/go/accessapproval v1.7.1/go.mod h1:JYczztsHRMK7NTXb6Xw+dwbs/WnOJxbo/2mTI+Kgg68= cloud.google.com/go/accesscontextmanager v1.3.0/go.mod h1:TgCBehyr5gNMz7ZaH9xubp+CE8dkrszb4oK9CWyvD4o= cloud.google.com/go/accesscontextmanager v1.4.0/go.mod h1:/Kjh7BBu/Gh83sv+K60vN9QE5NJcd80sU33vIe2IFPE= cloud.google.com/go/accesscontextmanager v1.6.0/go.mod h1:8XCvZWfYw3K/ji0iVnp+6pu7huxoQTLmxAbVjbloTtM= cloud.google.com/go/accesscontextmanager v1.7.0/go.mod h1:CEGLewx8dwa33aDAZQujl7Dx+uYhS0eay198wB/VumQ= +cloud.google.com/go/accesscontextmanager v1.8.0/go.mod h1:uI+AI/r1oyWK99NN8cQ3UK76AMelMzgZCvJfsi2c+ps= +cloud.google.com/go/accesscontextmanager v1.8.1/go.mod h1:JFJHfvuaTC+++1iL1coPiG1eu5D24db2wXCDWDjIrxo= cloud.google.com/go/aiplatform v1.22.0/go.mod h1:ig5Nct50bZlzV6NvKaTwmplLLddFx0YReh9WfTO5jKw= cloud.google.com/go/aiplatform v1.24.0/go.mod h1:67UUvRBKG6GTayHKV8DBv2RtR1t93YRu5B1P3x99mYY= cloud.google.com/go/aiplatform v1.27.0/go.mod h1:Bvxqtl40l0WImSb04d0hXFU7gDOiq9jQmorivIiWcKg= cloud.google.com/go/aiplatform v1.35.0/go.mod h1:7MFT/vCaOyZT/4IIFfxH4ErVg/4ku6lKv3w0+tFTgXQ= cloud.google.com/go/aiplatform v1.36.1/go.mod h1:WTm12vJRPARNvJ+v6P52RDHCNe4AhvjcIZ/9/RRHy/k= cloud.google.com/go/aiplatform v1.37.0/go.mod h1:IU2Cv29Lv9oCn/9LkFiiuKfwrRTq+QQMbW+hPCxJGZw= +cloud.google.com/go/aiplatform v1.45.0/go.mod h1:Iu2Q7sC7QGhXUeOhAj/oCK9a+ULz1O4AotZiqjQ8MYA= +cloud.google.com/go/aiplatform v1.48.0/go.mod h1:Iu2Q7sC7QGhXUeOhAj/oCK9a+ULz1O4AotZiqjQ8MYA= cloud.google.com/go/analytics v0.11.0/go.mod h1:DjEWCu41bVbYcKyvlws9Er60YE4a//bK6mnhWvQeFNI= cloud.google.com/go/analytics v0.12.0/go.mod h1:gkfj9h6XRf9+TS4bmuhPEShsh3hH8PAZzm/41OOhQd4= cloud.google.com/go/analytics v0.17.0/go.mod h1:WXFa3WSym4IZ+JiKmavYdJwGG/CvpqiqczmL59bTD9M= cloud.google.com/go/analytics v0.18.0/go.mod h1:ZkeHGQlcIPkw0R/GW+boWHhCOR43xz9RN/jn7WcqfIE= cloud.google.com/go/analytics v0.19.0/go.mod h1:k8liqf5/HCnOUkbawNtrWWc+UAzyDlW89doe8TtoDsE= +cloud.google.com/go/analytics v0.21.2/go.mod h1:U8dcUtmDmjrmUTnnnRnI4m6zKn/yaA5N9RlEkYFHpQo= +cloud.google.com/go/analytics v0.21.3/go.mod h1:U8dcUtmDmjrmUTnnnRnI4m6zKn/yaA5N9RlEkYFHpQo= cloud.google.com/go/apigateway v1.3.0/go.mod h1:89Z8Bhpmxu6AmUxuVRg/ECRGReEdiP3vQtk4Z1J9rJk= cloud.google.com/go/apigateway v1.4.0/go.mod h1:pHVY9MKGaH9PQ3pJ4YLzoj6U5FUDeDFBllIz7WmzJoc= cloud.google.com/go/apigateway v1.5.0/go.mod h1:GpnZR3Q4rR7LVu5951qfXPJCHquZt02jf7xQx7kpqN8= +cloud.google.com/go/apigateway v1.6.1/go.mod h1:ufAS3wpbRjqfZrzpvLC2oh0MFlpRJm2E/ts25yyqmXA= cloud.google.com/go/apigeeconnect v1.3.0/go.mod h1:G/AwXFAKo0gIXkPTVfZDd2qA1TxBXJ3MgMRBQkIi9jc= cloud.google.com/go/apigeeconnect v1.4.0/go.mod h1:kV4NwOKqjvt2JYR0AoIWo2QGfoRtn/pkS3QlHp0Ni04= cloud.google.com/go/apigeeconnect v1.5.0/go.mod h1:KFaCqvBRU6idyhSNyn3vlHXc8VMDJdRmwDF6JyFRqZ8= +cloud.google.com/go/apigeeconnect v1.6.1/go.mod h1:C4awq7x0JpLtrlQCr8AzVIzAaYgngRqWf9S5Uhg+wWs= cloud.google.com/go/apigeeregistry v0.4.0/go.mod h1:EUG4PGcsZvxOXAdyEghIdXwAEi/4MEaoqLMLDMIwKXY= cloud.google.com/go/apigeeregistry v0.5.0/go.mod h1:YR5+s0BVNZfVOUkMa5pAR2xGd0A473vA5M7j247o1wM= cloud.google.com/go/apigeeregistry v0.6.0/go.mod h1:BFNzW7yQVLZ3yj0TKcwzb8n25CFBri51GVGOEUcgQsc= +cloud.google.com/go/apigeeregistry v0.7.1/go.mod h1:1XgyjZye4Mqtw7T9TsY4NW10U7BojBvG4RMD+vRDrIw= cloud.google.com/go/apikeys v0.4.0/go.mod h1:XATS/yqZbaBK0HOssf+ALHp8jAlNHUgyfprvNcBIszU= cloud.google.com/go/apikeys v0.5.0/go.mod h1:5aQfwY4D+ewMMWScd3hm2en3hCj+BROlyrt3ytS7KLI= cloud.google.com/go/apikeys v0.6.0/go.mod h1:kbpXu5upyiAlGkKrJgQl8A0rKNNJ7dQ377pdroRSSi8= @@ -71,10 +85,12 @@ cloud.google.com/go/appengine v1.5.0/go.mod h1:TfasSozdkFI0zeoxW3PTBLiNqRmzraodC cloud.google.com/go/appengine v1.6.0/go.mod h1:hg6i0J/BD2cKmDJbaFSYHFyZkgBEfQrDg/X0V5fJn84= cloud.google.com/go/appengine v1.7.0/go.mod h1:eZqpbHFCqRGa2aCdope7eC0SWLV1j0neb/QnMJVWx6A= cloud.google.com/go/appengine v1.7.1/go.mod h1:IHLToyb/3fKutRysUlFO0BPt5j7RiQ45nrzEJmKTo6E= +cloud.google.com/go/appengine v1.8.1/go.mod h1:6NJXGLVhZCN9aQ/AEDvmfzKEfoYBlfB80/BHiKVputY= cloud.google.com/go/area120 v0.5.0/go.mod h1:DE/n4mp+iqVyvxHN41Vf1CR602GiHQjFPusMFW6bGR4= cloud.google.com/go/area120 v0.6.0/go.mod h1:39yFJqWVgm0UZqWTOdqkLhjoC7uFfgXRC8g/ZegeAh0= cloud.google.com/go/area120 v0.7.0/go.mod h1:a3+8EUD1SX5RUcCs3MY5YasiO1z6yLiNLRiFrykbynY= cloud.google.com/go/area120 v0.7.1/go.mod h1:j84i4E1RboTWjKtZVWXPqvK5VHQFJRF2c1Nm69pWm9k= +cloud.google.com/go/area120 v0.8.1/go.mod h1:BVfZpGpB7KFVNxPiQBuHkX6Ed0rS51xIgmGyjrAfzsg= cloud.google.com/go/artifactregistry v1.6.0/go.mod h1:IYt0oBPSAGYj/kprzsBjZ/4LnG/zOcHyFHjWPCi6SAQ= cloud.google.com/go/artifactregistry v1.7.0/go.mod h1:mqTOFOnGZx8EtSqK/ZWcsm/4U8B77rbcLP6ruDU2Ixk= cloud.google.com/go/artifactregistry v1.8.0/go.mod h1:w3GQXkJX8hiKN0v+at4b0qotwijQbYUqF2GWkZzAhC0= @@ -83,6 +99,7 @@ cloud.google.com/go/artifactregistry v1.11.1/go.mod h1:lLYghw+Itq9SONbCa1YWBoWs1 cloud.google.com/go/artifactregistry v1.11.2/go.mod h1:nLZns771ZGAwVLzTX/7Al6R9ehma4WUEhZGWV6CeQNQ= cloud.google.com/go/artifactregistry v1.12.0/go.mod h1:o6P3MIvtzTOnmvGagO9v/rOjjA0HmhJ+/6KAXrmYDCI= cloud.google.com/go/artifactregistry v1.13.0/go.mod h1:uy/LNfoOIivepGhooAUpL1i30Hgee3Cu0l4VTWHUC08= +cloud.google.com/go/artifactregistry v1.14.1/go.mod h1:nxVdG19jTaSTu7yA7+VbWL346r3rIdkZ142BSQqhn5E= cloud.google.com/go/asset v1.5.0/go.mod h1:5mfs8UvcM5wHhqtSv8J1CtxxaQq3AdBxxQi2jGW/K4o= cloud.google.com/go/asset v1.7.0/go.mod h1:YbENsRK4+xTiL+Ofoj5Ckf+O17kJtgp3Y3nn4uzZz5s= cloud.google.com/go/asset v1.8.0/go.mod h1:mUNGKhiqIdbr8X7KNayoYvyc4HbbFO9URsjbytpUaW0= @@ -91,27 +108,34 @@ cloud.google.com/go/asset v1.10.0/go.mod h1:pLz7uokL80qKhzKr4xXGvBQXnzHn5evJAEAt cloud.google.com/go/asset v1.11.1/go.mod h1:fSwLhbRvC9p9CXQHJ3BgFeQNM4c9x10lqlrdEUYXlJo= cloud.google.com/go/asset v1.12.0/go.mod h1:h9/sFOa4eDIyKmH6QMpm4eUK3pDojWnUhTgJlk762Hg= cloud.google.com/go/asset v1.13.0/go.mod h1:WQAMyYek/b7NBpYq/K4KJWcRqzoalEsxz/t/dTk4THw= +cloud.google.com/go/asset v1.14.1/go.mod h1:4bEJ3dnHCqWCDbWJ/6Vn7GVI9LerSi7Rfdi03hd+WTQ= cloud.google.com/go/assuredworkloads v1.5.0/go.mod h1:n8HOZ6pff6re5KYfBXcFvSViQjDwxFkAkmUFffJRbbY= cloud.google.com/go/assuredworkloads v1.6.0/go.mod h1:yo2YOk37Yc89Rsd5QMVECvjaMKymF9OP+QXWlKXUkXw= cloud.google.com/go/assuredworkloads v1.7.0/go.mod h1:z/736/oNmtGAyU47reJgGN+KVoYoxeLBoj4XkKYscNI= cloud.google.com/go/assuredworkloads v1.8.0/go.mod h1:AsX2cqyNCOvEQC8RMPnoc0yEarXQk6WEKkxYfL6kGIo= cloud.google.com/go/assuredworkloads v1.9.0/go.mod h1:kFuI1P78bplYtT77Tb1hi0FMxM0vVpRC7VVoJC3ZoT0= cloud.google.com/go/assuredworkloads v1.10.0/go.mod h1:kwdUQuXcedVdsIaKgKTp9t0UJkE5+PAVNhdQm4ZVq2E= +cloud.google.com/go/assuredworkloads v1.11.1/go.mod h1:+F04I52Pgn5nmPG36CWFtxmav6+7Q+c5QyJoL18Lry0= cloud.google.com/go/automl v1.5.0/go.mod h1:34EjfoFGMZ5sgJ9EoLsRtdPSNZLcfflJR39VbVNS2M0= cloud.google.com/go/automl v1.6.0/go.mod h1:ugf8a6Fx+zP0D59WLhqgTDsQI9w07o64uf/Is3Nh5p8= cloud.google.com/go/automl v1.7.0/go.mod h1:RL9MYCCsJEOmt0Wf3z9uzG0a7adTT1fe+aObgSpkCt8= cloud.google.com/go/automl v1.8.0/go.mod h1:xWx7G/aPEe/NP+qzYXktoBSDfjO+vnKMGgsApGJJquM= cloud.google.com/go/automl v1.12.0/go.mod h1:tWDcHDp86aMIuHmyvjuKeeHEGq76lD7ZqfGLN6B0NuU= +cloud.google.com/go/automl v1.13.1/go.mod h1:1aowgAHWYZU27MybSCFiukPO7xnyawv7pt3zK4bheQE= cloud.google.com/go/baremetalsolution v0.3.0/go.mod h1:XOrocE+pvK1xFfleEnShBlNAXf+j5blPPxrhjKgnIFc= cloud.google.com/go/baremetalsolution v0.4.0/go.mod h1:BymplhAadOO/eBa7KewQ0Ppg4A4Wplbn+PsFKRLo0uI= cloud.google.com/go/baremetalsolution v0.5.0/go.mod h1:dXGxEkmR9BMwxhzBhV0AioD0ULBmuLZI8CdwalUxuss= +cloud.google.com/go/baremetalsolution v1.1.1/go.mod h1:D1AV6xwOksJMV4OSlWHtWuFNZZYujJknMAP4Qa27QIA= cloud.google.com/go/batch v0.3.0/go.mod h1:TR18ZoAekj1GuirsUsR1ZTKN3FC/4UDnScjT8NXImFE= cloud.google.com/go/batch v0.4.0/go.mod h1:WZkHnP43R/QCGQsZ+0JyG4i79ranE2u8xvjq/9+STPE= cloud.google.com/go/batch v0.7.0/go.mod h1:vLZN95s6teRUqRQ4s3RLDsH8PvboqBK+rn1oevL159g= +cloud.google.com/go/batch v1.3.1/go.mod h1:VguXeQKXIYaeeIYbuozUmBR13AfL4SJP7IltNPS+A4A= cloud.google.com/go/beyondcorp v0.2.0/go.mod h1:TB7Bd+EEtcw9PCPQhCJtJGjk/7TC6ckmnSFS+xwTfm4= cloud.google.com/go/beyondcorp v0.3.0/go.mod h1:E5U5lcrcXMsCuoDNyGrpyTm/hn7ne941Jz2vmksAxW8= cloud.google.com/go/beyondcorp v0.4.0/go.mod h1:3ApA0mbhHx6YImmuubf5pyW8srKnCEPON32/5hj+RmM= cloud.google.com/go/beyondcorp v0.5.0/go.mod h1:uFqj9X+dSfrheVp7ssLTaRHd2EHqSL4QZmH4e8WXGGU= +cloud.google.com/go/beyondcorp v0.6.1/go.mod h1:YhxDWw946SCbmcWo3fAhw3V4XZMSpQ/VYfcKGAEU8/4= +cloud.google.com/go/beyondcorp v1.0.0/go.mod h1:YhxDWw946SCbmcWo3fAhw3V4XZMSpQ/VYfcKGAEU8/4= cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= @@ -125,38 +149,49 @@ cloud.google.com/go/bigquery v1.47.0/go.mod h1:sA9XOgy0A8vQK9+MWhEQTY6Tix87M/Zur cloud.google.com/go/bigquery v1.48.0/go.mod h1:QAwSz+ipNgfL5jxiaK7weyOhzdoAy1zFm0Nf1fysJac= cloud.google.com/go/bigquery v1.49.0/go.mod h1:Sv8hMmTFFYBlt/ftw2uN6dFdQPzBlREY9yBh7Oy7/4Q= cloud.google.com/go/bigquery v1.50.0/go.mod h1:YrleYEh2pSEbgTBZYMJ5SuSr0ML3ypjRB1zgf7pvQLU= +cloud.google.com/go/bigquery v1.52.0/go.mod h1:3b/iXjRQGU4nKa87cXeg6/gogLjO8C6PmuM8i5Bi/u4= +cloud.google.com/go/bigquery v1.53.0/go.mod h1:3b/iXjRQGU4nKa87cXeg6/gogLjO8C6PmuM8i5Bi/u4= cloud.google.com/go/billing v1.4.0/go.mod h1:g9IdKBEFlItS8bTtlrZdVLWSSdSyFUZKXNS02zKMOZY= cloud.google.com/go/billing v1.5.0/go.mod h1:mztb1tBc3QekhjSgmpf/CV4LzWXLzCArwpLmP2Gm88s= cloud.google.com/go/billing v1.6.0/go.mod h1:WoXzguj+BeHXPbKfNWkqVtDdzORazmCjraY+vrxcyvI= cloud.google.com/go/billing v1.7.0/go.mod h1:q457N3Hbj9lYwwRbnlD7vUpyjq6u5U1RAOArInEiD5Y= cloud.google.com/go/billing v1.12.0/go.mod h1:yKrZio/eu+okO/2McZEbch17O5CB5NpZhhXG6Z766ss= cloud.google.com/go/billing v1.13.0/go.mod h1:7kB2W9Xf98hP9Sr12KfECgfGclsH3CQR0R08tnRlRbc= +cloud.google.com/go/billing v1.16.0/go.mod h1:y8vx09JSSJG02k5QxbycNRrN7FGZB6F3CAcgum7jvGA= cloud.google.com/go/binaryauthorization v1.1.0/go.mod h1:xwnoWu3Y84jbuHa0zd526MJYmtnVXn0syOjaJgy4+dM= cloud.google.com/go/binaryauthorization v1.2.0/go.mod h1:86WKkJHtRcv5ViNABtYMhhNWRrD1Vpi//uKEy7aYEfI= cloud.google.com/go/binaryauthorization v1.3.0/go.mod h1:lRZbKgjDIIQvzYQS1p99A7/U1JqvqeZg0wiI5tp6tg0= cloud.google.com/go/binaryauthorization v1.4.0/go.mod h1:tsSPQrBd77VLplV70GUhBf/Zm3FsKmgSqgm4UmiDItk= cloud.google.com/go/binaryauthorization v1.5.0/go.mod h1:OSe4OU1nN/VswXKRBmciKpo9LulY41gch5c68htf3/Q= +cloud.google.com/go/binaryauthorization v1.6.1/go.mod h1:TKt4pa8xhowwffiBmbrbcxijJRZED4zrqnwZ1lKH51U= cloud.google.com/go/certificatemanager v1.3.0/go.mod h1:n6twGDvcUBFu9uBgt4eYvvf3sQ6My8jADcOVwHmzadg= cloud.google.com/go/certificatemanager v1.4.0/go.mod h1:vowpercVFyqs8ABSmrdV+GiFf2H/ch3KyudYQEMM590= cloud.google.com/go/certificatemanager v1.6.0/go.mod h1:3Hh64rCKjRAX8dXgRAyOcY5vQ/fE1sh8o+Mdd6KPgY8= +cloud.google.com/go/certificatemanager v1.7.1/go.mod h1:iW8J3nG6SaRYImIa+wXQ0g8IgoofDFRp5UMzaNk1UqI= cloud.google.com/go/channel v1.8.0/go.mod h1:W5SwCXDJsq/rg3tn3oG0LOxpAo6IMxNa09ngphpSlnk= cloud.google.com/go/channel v1.9.0/go.mod h1:jcu05W0my9Vx4mt3/rEHpfxc9eKi9XwsdDL8yBMbKUk= cloud.google.com/go/channel v1.11.0/go.mod h1:IdtI0uWGqhEeatSB62VOoJ8FSUhJ9/+iGkJVqp74CGE= cloud.google.com/go/channel v1.12.0/go.mod h1:VkxCGKASi4Cq7TbXxlaBezonAYpp1GCnKMY6tnMQnLU= +cloud.google.com/go/channel v1.16.0/go.mod h1:eN/q1PFSl5gyu0dYdmxNXscY/4Fi7ABmeHCJNf/oHmc= cloud.google.com/go/cloudbuild v1.3.0/go.mod h1:WequR4ULxlqvMsjDEEEFnOG5ZSRSgWOywXYDb1vPE6U= cloud.google.com/go/cloudbuild v1.4.0/go.mod h1:5Qwa40LHiOXmz3386FrjrYM93rM/hdRr7b53sySrTqA= cloud.google.com/go/cloudbuild v1.6.0/go.mod h1:UIbc/w9QCbH12xX+ezUsgblrWv+Cv4Tw83GiSMHOn9M= cloud.google.com/go/cloudbuild v1.7.0/go.mod h1:zb5tWh2XI6lR9zQmsm1VRA+7OCuve5d8S+zJUul8KTg= cloud.google.com/go/cloudbuild v1.9.0/go.mod h1:qK1d7s4QlO0VwfYn5YuClDGg2hfmLZEb4wQGAbIgL1s= +cloud.google.com/go/cloudbuild v1.10.1/go.mod h1:lyJg7v97SUIPq4RC2sGsz/9tNczhyv2AjML/ci4ulzU= +cloud.google.com/go/cloudbuild v1.13.0/go.mod h1:lyJg7v97SUIPq4RC2sGsz/9tNczhyv2AjML/ci4ulzU= cloud.google.com/go/clouddms v1.3.0/go.mod h1:oK6XsCDdW4Ib3jCCBugx+gVjevp2TMXFtgxvPSee3OM= cloud.google.com/go/clouddms v1.4.0/go.mod h1:Eh7sUGCC+aKry14O1NRljhjyrr0NFC0G2cjwX0cByRk= cloud.google.com/go/clouddms v1.5.0/go.mod h1:QSxQnhikCLUw13iAbffF2CZxAER3xDGNHjsTAkQJcQA= +cloud.google.com/go/clouddms v1.6.1/go.mod h1:Ygo1vL52Ov4TBZQquhz5fiw2CQ58gvu+PlS6PVXCpZI= cloud.google.com/go/cloudtasks v1.5.0/go.mod h1:fD92REy1x5woxkKEkLdvavGnPJGEn8Uic9nWuLzqCpY= cloud.google.com/go/cloudtasks v1.6.0/go.mod h1:C6Io+sxuke9/KNRkbQpihnW93SWDU3uXt92nu85HkYI= cloud.google.com/go/cloudtasks v1.7.0/go.mod h1:ImsfdYWwlWNJbdgPIIGJWC+gemEGTBK/SunNQQNCAb4= cloud.google.com/go/cloudtasks v1.8.0/go.mod h1:gQXUIwCSOI4yPVK7DgTVFiiP0ZW/eQkydWzwVMdHxrI= cloud.google.com/go/cloudtasks v1.9.0/go.mod h1:w+EyLsVkLWHcOaqNEyvcKAsWp9p29dL6uL9Nst1cI7Y= cloud.google.com/go/cloudtasks v1.10.0/go.mod h1:NDSoTLkZ3+vExFEWu2UJV1arUyzVDAiZtdWcsUyNwBs= +cloud.google.com/go/cloudtasks v1.11.1/go.mod h1:a9udmnou9KO2iulGscKR0qBYjreuX8oHwpmFsKspEvM= +cloud.google.com/go/cloudtasks v1.12.1/go.mod h1:a9udmnou9KO2iulGscKR0qBYjreuX8oHwpmFsKspEvM= cloud.google.com/go/compute v0.1.0/go.mod h1:GAesmwr110a34z04OlxYkATPBEfVhkymfTBXtfbBFow= cloud.google.com/go/compute v1.3.0/go.mod h1:cCZiE1NHEtai4wiufUhW8I8S1JKkAnhnQJWM7YD99wM= cloud.google.com/go/compute v1.5.0/go.mod h1:9SMHyhJlzhlkJqrPAc839t2BZFTSk6Jdj6mkzQJeu0M= @@ -171,6 +206,10 @@ cloud.google.com/go/compute v1.14.0/go.mod h1:YfLtxrj9sU4Yxv+sXzZkyPjEyPBZfXHUvj cloud.google.com/go/compute v1.15.1/go.mod h1:bjjoF/NtFUrkD/urWfdHaKuOPDR5nWIs63rR+SXhcpA= cloud.google.com/go/compute v1.18.0/go.mod h1:1X7yHxec2Ga+Ss6jPyjxRxpu2uu7PLgsOVXvgU0yacs= cloud.google.com/go/compute v1.19.0/go.mod h1:rikpw2y+UMidAe9tISo04EHNOIf42RLYF/q8Bs93scU= +cloud.google.com/go/compute v1.19.1/go.mod h1:6ylj3a05WF8leseCdIf77NK0g1ey+nj5IKd5/kvShxE= +cloud.google.com/go/compute v1.19.3/go.mod h1:qxvISKp/gYnXkSAD1ppcSOveRAmzxicEv/JlizULFrI= +cloud.google.com/go/compute v1.20.1/go.mod h1:4tCnrn48xsqlwSAiLf1HXMQk8CONslYbdiEZc9FEIbM= +cloud.google.com/go/compute v1.23.0/go.mod h1:4tCnrn48xsqlwSAiLf1HXMQk8CONslYbdiEZc9FEIbM= cloud.google.com/go/compute/metadata v0.1.0/go.mod h1:Z1VN+bulIf6bt4P/C37K4DyZYZEXYonfTBHHFPO/4UU= cloud.google.com/go/compute/metadata v0.2.0/go.mod h1:zFmK7XCadkQkj6TtorcaGlCW1hT1fIilQDwofLpJ20k= cloud.google.com/go/compute/metadata v0.2.1/go.mod h1:jgHgmJd2RKBGzXqF5LR2EZMGxBkeanZ9wwa75XHJgOM= @@ -178,15 +217,20 @@ cloud.google.com/go/compute/metadata v0.2.3/go.mod h1:VAV5nSsACxMJvgaAuX6Pk2Aawl cloud.google.com/go/contactcenterinsights v1.3.0/go.mod h1:Eu2oemoePuEFc/xKFPjbTuPSj0fYJcPls9TFlPNnHHY= cloud.google.com/go/contactcenterinsights v1.4.0/go.mod h1:L2YzkGbPsv+vMQMCADxJoT9YiTTnSEd6fEvCeHTYVck= cloud.google.com/go/contactcenterinsights v1.6.0/go.mod h1:IIDlT6CLcDoyv79kDv8iWxMSTZhLxSCofVV5W6YFM/w= +cloud.google.com/go/contactcenterinsights v1.9.1/go.mod h1:bsg/R7zGLYMVxFFzfh9ooLTruLRCG9fnzhH9KznHhbM= +cloud.google.com/go/contactcenterinsights v1.10.0/go.mod h1:bsg/R7zGLYMVxFFzfh9ooLTruLRCG9fnzhH9KznHhbM= cloud.google.com/go/container v1.6.0/go.mod h1:Xazp7GjJSeUYo688S+6J5V+n/t+G5sKBTFkKNudGRxg= cloud.google.com/go/container v1.7.0/go.mod h1:Dp5AHtmothHGX3DwwIHPgq45Y8KmNsgN3amoYfxVkLo= cloud.google.com/go/container v1.13.1/go.mod h1:6wgbMPeQRw9rSnKBCAJXnds3Pzj03C4JHamr8asWKy4= cloud.google.com/go/container v1.14.0/go.mod h1:3AoJMPhHfLDxLvrlVWaK57IXzaPnLaZq63WX59aQBfM= cloud.google.com/go/container v1.15.0/go.mod h1:ft+9S0WGjAyjDggg5S06DXj+fHJICWg8L7isCQe9pQA= +cloud.google.com/go/container v1.22.1/go.mod h1:lTNExE2R7f+DLbAN+rJiKTisauFCaoDq6NURZ83eVH4= +cloud.google.com/go/container v1.24.0/go.mod h1:lTNExE2R7f+DLbAN+rJiKTisauFCaoDq6NURZ83eVH4= cloud.google.com/go/containeranalysis v0.5.1/go.mod h1:1D92jd8gRR/c0fGMlymRgxWD3Qw9C1ff6/T7mLgVL8I= cloud.google.com/go/containeranalysis v0.6.0/go.mod h1:HEJoiEIu+lEXM+k7+qLCci0h33lX3ZqoYFdmPcoO7s4= cloud.google.com/go/containeranalysis v0.7.0/go.mod h1:9aUL+/vZ55P2CXfuZjS4UjQ9AgXoSw8Ts6lemfmxBxI= cloud.google.com/go/containeranalysis v0.9.0/go.mod h1:orbOANbwk5Ejoom+s+DUCTTJ7IBdBQJDcSylAx/on9s= +cloud.google.com/go/containeranalysis v0.10.1/go.mod h1:Ya2jiILITMY68ZLPaogjmOMNkwsDrWBSTyBubGXO7j0= cloud.google.com/go/datacatalog v1.3.0/go.mod h1:g9svFY6tuR+j+hrTw3J2dNcmI0dzmSiyOzm8kpLq0a0= cloud.google.com/go/datacatalog v1.5.0/go.mod h1:M7GPLNQeLfWqeIm3iuiruhPzkt65+Bx8dAKvScX8jvs= cloud.google.com/go/datacatalog v1.6.0/go.mod h1:+aEyF8JKg+uXcIdAmmaMUmZ3q1b/lKLtXCmXdnc0lbc= @@ -195,44 +239,62 @@ cloud.google.com/go/datacatalog v1.8.0/go.mod h1:KYuoVOv9BM8EYz/4eMFxrr4DUKhGIOX cloud.google.com/go/datacatalog v1.8.1/go.mod h1:RJ58z4rMp3gvETA465Vg+ag8BGgBdnRPEMMSTr5Uv+M= cloud.google.com/go/datacatalog v1.12.0/go.mod h1:CWae8rFkfp6LzLumKOnmVh4+Zle4A3NXLzVJ1d1mRm0= cloud.google.com/go/datacatalog v1.13.0/go.mod h1:E4Rj9a5ZtAxcQJlEBTLgMTphfP11/lNaAshpoBgemX8= +cloud.google.com/go/datacatalog v1.14.0/go.mod h1:h0PrGtlihoutNMp/uvwhawLQ9+c63Kz65UFqh49Yo+E= +cloud.google.com/go/datacatalog v1.14.1/go.mod h1:d2CevwTG4yedZilwe+v3E3ZBDRMobQfSG/a6cCCN5R4= +cloud.google.com/go/datacatalog v1.16.0/go.mod h1:d2CevwTG4yedZilwe+v3E3ZBDRMobQfSG/a6cCCN5R4= cloud.google.com/go/dataflow v0.6.0/go.mod h1:9QwV89cGoxjjSR9/r7eFDqqjtvbKxAK2BaYU6PVk9UM= cloud.google.com/go/dataflow v0.7.0/go.mod h1:PX526vb4ijFMesO1o202EaUmouZKBpjHsTlCtB4parQ= cloud.google.com/go/dataflow v0.8.0/go.mod h1:Rcf5YgTKPtQyYz8bLYhFoIV/vP39eL7fWNcSOyFfLJE= +cloud.google.com/go/dataflow v0.9.1/go.mod h1:Wp7s32QjYuQDWqJPFFlnBKhkAtiFpMTdg00qGbnIHVw= cloud.google.com/go/dataform v0.3.0/go.mod h1:cj8uNliRlHpa6L3yVhDOBrUXH+BPAO1+KFMQQNSThKo= cloud.google.com/go/dataform v0.4.0/go.mod h1:fwV6Y4Ty2yIFL89huYlEkwUPtS7YZinZbzzj5S9FzCE= cloud.google.com/go/dataform v0.5.0/go.mod h1:GFUYRe8IBa2hcomWplodVmUx/iTL0FrsauObOM3Ipr0= cloud.google.com/go/dataform v0.6.0/go.mod h1:QPflImQy33e29VuapFdf19oPbE4aYTJxr31OAPV+ulA= cloud.google.com/go/dataform v0.7.0/go.mod h1:7NulqnVozfHvWUBpMDfKMUESr+85aJsC/2O0o3jWPDE= +cloud.google.com/go/dataform v0.8.1/go.mod h1:3BhPSiw8xmppbgzeBbmDvmSWlwouuJkXsXsb8UBih9M= cloud.google.com/go/datafusion v1.4.0/go.mod h1:1Zb6VN+W6ALo85cXnM1IKiPw+yQMKMhB9TsTSRDo/38= cloud.google.com/go/datafusion v1.5.0/go.mod h1:Kz+l1FGHB0J+4XF2fud96WMmRiq/wj8N9u007vyXZ2w= cloud.google.com/go/datafusion v1.6.0/go.mod h1:WBsMF8F1RhSXvVM8rCV3AeyWVxcC2xY6vith3iw3S+8= +cloud.google.com/go/datafusion v1.7.1/go.mod h1:KpoTBbFmoToDExJUso/fcCiguGDk7MEzOWXUsJo0wsI= cloud.google.com/go/datalabeling v0.5.0/go.mod h1:TGcJ0G2NzcsXSE/97yWjIZO0bXj0KbVlINXMG9ud42I= cloud.google.com/go/datalabeling v0.6.0/go.mod h1:WqdISuk/+WIGeMkpw/1q7bK/tFEZxsrFJOJdY2bXvTQ= cloud.google.com/go/datalabeling v0.7.0/go.mod h1:WPQb1y08RJbmpM3ww0CSUAGweL0SxByuW2E+FU+wXcM= +cloud.google.com/go/datalabeling v0.8.1/go.mod h1:XS62LBSVPbYR54GfYQsPXZjTW8UxCK2fkDciSrpRFdY= cloud.google.com/go/dataplex v1.3.0/go.mod h1:hQuRtDg+fCiFgC8j0zV222HvzFQdRd+SVX8gdmFcZzA= cloud.google.com/go/dataplex v1.4.0/go.mod h1:X51GfLXEMVJ6UN47ESVqvlsRplbLhcsAt0kZCCKsU0A= cloud.google.com/go/dataplex v1.5.2/go.mod h1:cVMgQHsmfRoI5KFYq4JtIBEUbYwc3c7tXmIDhRmNNVQ= cloud.google.com/go/dataplex v1.6.0/go.mod h1:bMsomC/aEJOSpHXdFKFGQ1b0TDPIeL28nJObeO1ppRs= +cloud.google.com/go/dataplex v1.8.1/go.mod h1:7TyrDT6BCdI8/38Uvp0/ZxBslOslP2X2MPDucliyvSE= +cloud.google.com/go/dataplex v1.9.0/go.mod h1:7TyrDT6BCdI8/38Uvp0/ZxBslOslP2X2MPDucliyvSE= cloud.google.com/go/dataproc v1.7.0/go.mod h1:CKAlMjII9H90RXaMpSxQ8EU6dQx6iAYNPcYPOkSbi8s= cloud.google.com/go/dataproc v1.8.0/go.mod h1:5OW+zNAH0pMpw14JVrPONsxMQYMBqJuzORhIBfBn9uI= cloud.google.com/go/dataproc v1.12.0/go.mod h1:zrF3aX0uV3ikkMz6z4uBbIKyhRITnxvr4i3IjKsKrw4= +cloud.google.com/go/dataproc/v2 v2.0.1/go.mod h1:7Ez3KRHdFGcfY7GcevBbvozX+zyWGcwLJvvAMwCaoZ4= cloud.google.com/go/dataqna v0.5.0/go.mod h1:90Hyk596ft3zUQ8NkFfvICSIfHFh1Bc7C4cK3vbhkeo= cloud.google.com/go/dataqna v0.6.0/go.mod h1:1lqNpM7rqNLVgWBJyk5NF6Uen2PHym0jtVJonplVsDA= cloud.google.com/go/dataqna v0.7.0/go.mod h1:Lx9OcIIeqCrw1a6KdO3/5KMP1wAmTc0slZWwP12Qq3c= +cloud.google.com/go/dataqna v0.8.1/go.mod h1:zxZM0Bl6liMePWsHA8RMGAfmTG34vJMapbHAxQ5+WA8= cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= cloud.google.com/go/datastore v1.10.0/go.mod h1:PC5UzAmDEkAmkfaknstTYbNpgE49HAgW2J1gcgUfmdM= cloud.google.com/go/datastore v1.11.0/go.mod h1:TvGxBIHCS50u8jzG+AW/ppf87v1of8nwzFNgEZU1D3c= +cloud.google.com/go/datastore v1.12.0/go.mod h1:KjdB88W897MRITkvWWJrg2OUtrR5XVj1EoLgSp6/N70= +cloud.google.com/go/datastore v1.12.1/go.mod h1:KjdB88W897MRITkvWWJrg2OUtrR5XVj1EoLgSp6/N70= +cloud.google.com/go/datastore v1.13.0/go.mod h1:KjdB88W897MRITkvWWJrg2OUtrR5XVj1EoLgSp6/N70= cloud.google.com/go/datastream v1.2.0/go.mod h1:i/uTP8/fZwgATHS/XFu0TcNUhuA0twZxxQ3EyCUQMwo= cloud.google.com/go/datastream v1.3.0/go.mod h1:cqlOX8xlyYF/uxhiKn6Hbv6WjwPPuI9W2M9SAXwaLLQ= cloud.google.com/go/datastream v1.4.0/go.mod h1:h9dpzScPhDTs5noEMQVWP8Wx8AFBRyS0s8KWPx/9r0g= cloud.google.com/go/datastream v1.5.0/go.mod h1:6TZMMNPwjUqZHBKPQ1wwXpb0d5VDVPl2/XoS5yi88q4= cloud.google.com/go/datastream v1.6.0/go.mod h1:6LQSuswqLa7S4rPAOZFVjHIG3wJIjZcZrw8JDEDJuIs= cloud.google.com/go/datastream v1.7.0/go.mod h1:uxVRMm2elUSPuh65IbZpzJNMbuzkcvu5CjMqVIUHrww= +cloud.google.com/go/datastream v1.9.1/go.mod h1:hqnmr8kdUBmrnk65k5wNRoHSCYksvpdZIcZIEl8h43Q= +cloud.google.com/go/datastream v1.10.0/go.mod h1:hqnmr8kdUBmrnk65k5wNRoHSCYksvpdZIcZIEl8h43Q= cloud.google.com/go/deploy v1.4.0/go.mod h1:5Xghikd4VrmMLNaF6FiRFDlHb59VM59YoDQnOUdsH/c= cloud.google.com/go/deploy v1.5.0/go.mod h1:ffgdD0B89tToyW/U/D2eL0jN2+IEV/3EMuXHA0l4r+s= cloud.google.com/go/deploy v1.6.0/go.mod h1:f9PTHehG/DjCom3QH0cntOVRm93uGBDt2vKzAPwpXQI= cloud.google.com/go/deploy v1.8.0/go.mod h1:z3myEJnA/2wnB4sgjqdMfgxCA0EqC3RBTNcVPs93mtQ= +cloud.google.com/go/deploy v1.11.0/go.mod h1:tKuSUV5pXbn67KiubiUNUejqLs4f5cxxiCNCeyl0F2g= +cloud.google.com/go/deploy v1.13.0/go.mod h1:tKuSUV5pXbn67KiubiUNUejqLs4f5cxxiCNCeyl0F2g= cloud.google.com/go/dialogflow v1.15.0/go.mod h1:HbHDWs33WOGJgn6rfzBW1Kv807BE3O1+xGbn59zZWI4= cloud.google.com/go/dialogflow v1.16.1/go.mod h1:po6LlzGfK+smoSmTBnbkIZY2w8ffjz/RcGSS+sh1el0= cloud.google.com/go/dialogflow v1.17.0/go.mod h1:YNP09C/kXA1aZdBgC/VtXX74G/TKn7XVCcVumTflA+8= @@ -241,35 +303,48 @@ cloud.google.com/go/dialogflow v1.19.0/go.mod h1:JVmlG1TwykZDtxtTXujec4tQ+D8SBFM cloud.google.com/go/dialogflow v1.29.0/go.mod h1:b+2bzMe+k1s9V+F2jbJwpHPzrnIyHihAdRFMtn2WXuM= cloud.google.com/go/dialogflow v1.31.0/go.mod h1:cuoUccuL1Z+HADhyIA7dci3N5zUssgpBJmCzI6fNRB4= cloud.google.com/go/dialogflow v1.32.0/go.mod h1:jG9TRJl8CKrDhMEcvfcfFkkpp8ZhgPz3sBGmAUYJ2qE= +cloud.google.com/go/dialogflow v1.38.0/go.mod h1:L7jnH+JL2mtmdChzAIcXQHXMvQkE3U4hTaNltEuxXn4= +cloud.google.com/go/dialogflow v1.40.0/go.mod h1:L7jnH+JL2mtmdChzAIcXQHXMvQkE3U4hTaNltEuxXn4= cloud.google.com/go/dlp v1.6.0/go.mod h1:9eyB2xIhpU0sVwUixfBubDoRwP+GjeUoxxeueZmqvmM= cloud.google.com/go/dlp v1.7.0/go.mod h1:68ak9vCiMBjbasxeVD17hVPxDEck+ExiHavX8kiHG+Q= cloud.google.com/go/dlp v1.9.0/go.mod h1:qdgmqgTyReTz5/YNSSuueR8pl7hO0o9bQ39ZhtgkWp4= +cloud.google.com/go/dlp v1.10.1/go.mod h1:IM8BWz1iJd8njcNcG0+Kyd9OPnqnRNkDV8j42VT5KOI= cloud.google.com/go/documentai v1.7.0/go.mod h1:lJvftZB5NRiFSX4moiye1SMxHx0Bc3x1+p9e/RfXYiU= cloud.google.com/go/documentai v1.8.0/go.mod h1:xGHNEB7CtsnySCNrCFdCyyMz44RhFEEX2Q7UD0c5IhU= cloud.google.com/go/documentai v1.9.0/go.mod h1:FS5485S8R00U10GhgBC0aNGrJxBP8ZVpEeJ7PQDZd6k= cloud.google.com/go/documentai v1.10.0/go.mod h1:vod47hKQIPeCfN2QS/jULIvQTugbmdc0ZvxxfQY1bg4= cloud.google.com/go/documentai v1.16.0/go.mod h1:o0o0DLTEZ+YnJZ+J4wNfTxmDVyrkzFvttBXXtYRMHkM= cloud.google.com/go/documentai v1.18.0/go.mod h1:F6CK6iUH8J81FehpskRmhLq/3VlwQvb7TvwOceQ2tbs= +cloud.google.com/go/documentai v1.20.0/go.mod h1:yJkInoMcK0qNAEdRnqY/D5asy73tnPe88I1YTZT+a8E= +cloud.google.com/go/documentai v1.22.0/go.mod h1:yJkInoMcK0qNAEdRnqY/D5asy73tnPe88I1YTZT+a8E= cloud.google.com/go/domains v0.6.0/go.mod h1:T9Rz3GasrpYk6mEGHh4rymIhjlnIuB4ofT1wTxDeT4Y= cloud.google.com/go/domains v0.7.0/go.mod h1:PtZeqS1xjnXuRPKE/88Iru/LdfoRyEHYA9nFQf4UKpg= cloud.google.com/go/domains v0.8.0/go.mod h1:M9i3MMDzGFXsydri9/vW+EWz9sWb4I6WyHqdlAk0idE= +cloud.google.com/go/domains v0.9.1/go.mod h1:aOp1c0MbejQQ2Pjf1iJvnVyT+z6R6s8pX66KaCSDYfE= cloud.google.com/go/edgecontainer v0.1.0/go.mod h1:WgkZ9tp10bFxqO8BLPqv2LlfmQF1X8lZqwW4r1BTajk= cloud.google.com/go/edgecontainer v0.2.0/go.mod h1:RTmLijy+lGpQ7BXuTDa4C4ssxyXT34NIuHIgKuP4s5w= cloud.google.com/go/edgecontainer v0.3.0/go.mod h1:FLDpP4nykgwwIfcLt6zInhprzw0lEi2P1fjO6Ie0qbc= cloud.google.com/go/edgecontainer v1.0.0/go.mod h1:cttArqZpBB2q58W/upSG++ooo6EsblxDIolxa3jSjbY= +cloud.google.com/go/edgecontainer v1.1.1/go.mod h1:O5bYcS//7MELQZs3+7mabRqoWQhXCzenBu0R8bz2rwk= cloud.google.com/go/errorreporting v0.3.0/go.mod h1:xsP2yaAp+OAW4OIm60An2bbLpqIhKXdWR/tawvl7QzU= cloud.google.com/go/essentialcontacts v1.3.0/go.mod h1:r+OnHa5jfj90qIfZDO/VztSFqbQan7HV75p8sA+mdGI= cloud.google.com/go/essentialcontacts v1.4.0/go.mod h1:8tRldvHYsmnBCHdFpvU+GL75oWiBKl80BiqlFh9tp+8= cloud.google.com/go/essentialcontacts v1.5.0/go.mod h1:ay29Z4zODTuwliK7SnX8E86aUF2CTzdNtvv42niCX0M= +cloud.google.com/go/essentialcontacts v1.6.2/go.mod h1:T2tB6tX+TRak7i88Fb2N9Ok3PvY3UNbUsMag9/BARh4= cloud.google.com/go/eventarc v1.7.0/go.mod h1:6ctpF3zTnaQCxUjHUdcfgcA1A2T309+omHZth7gDfmc= cloud.google.com/go/eventarc v1.8.0/go.mod h1:imbzxkyAU4ubfsaKYdQg04WS1NvncblHEup4kvF+4gw= cloud.google.com/go/eventarc v1.10.0/go.mod h1:u3R35tmZ9HvswGRBnF48IlYgYeBcPUCjkr4BTdem2Kw= cloud.google.com/go/eventarc v1.11.0/go.mod h1:PyUjsUKPWoRBCHeOxZd/lbOOjahV41icXyUY5kSTvVY= +cloud.google.com/go/eventarc v1.12.1/go.mod h1:mAFCW6lukH5+IZjkvrEss+jmt2kOdYlN8aMx3sRJiAI= +cloud.google.com/go/eventarc v1.13.0/go.mod h1:mAFCW6lukH5+IZjkvrEss+jmt2kOdYlN8aMx3sRJiAI= cloud.google.com/go/filestore v1.3.0/go.mod h1:+qbvHGvXU1HaKX2nD0WEPo92TP/8AQuCVEBXNY9z0+w= cloud.google.com/go/filestore v1.4.0/go.mod h1:PaG5oDfo9r224f8OYXURtAsY+Fbyq/bLYoINEK8XQAI= cloud.google.com/go/filestore v1.5.0/go.mod h1:FqBXDWBp4YLHqRnVGveOkHDf8svj9r5+mUDLupOWEDs= cloud.google.com/go/filestore v1.6.0/go.mod h1:di5unNuss/qfZTw2U9nhFqo8/ZDSc466dre85Kydllg= +cloud.google.com/go/filestore v1.7.1/go.mod h1:y10jsorq40JJnjR/lQ8AfFbbcGlw3g+Dp8oN7i7FjV4= cloud.google.com/go/firestore v1.9.0/go.mod h1:HMkjKHNTtRyZNiMzu7YAsLr9K3X2udY2AMwDaMEQiiE= +cloud.google.com/go/firestore v1.11.0/go.mod h1:b38dKhgzlmNNGTNZZwe7ZRFEuRab1Hay3/DBsIGKKy4= +cloud.google.com/go/firestore v1.12.0/go.mod h1:b38dKhgzlmNNGTNZZwe7ZRFEuRab1Hay3/DBsIGKKy4= cloud.google.com/go/functions v1.6.0/go.mod h1:3H1UA3qiIPRWD7PeZKLvHZ9SaQhR26XIJcC0A5GbvAk= cloud.google.com/go/functions v1.7.0/go.mod h1:+d+QBcWM+RsrgZfV9xo6KfA1GlzJfxcfZcRPEhDDfzg= cloud.google.com/go/functions v1.8.0/go.mod h1:RTZ4/HsQjIqIYP9a9YPbU+QFoQsAlYgrwOXJWHn1POY= @@ -277,28 +352,37 @@ cloud.google.com/go/functions v1.9.0/go.mod h1:Y+Dz8yGguzO3PpIjhLTbnqV1CWmgQ5Uwt cloud.google.com/go/functions v1.10.0/go.mod h1:0D3hEOe3DbEvCXtYOZHQZmD+SzYsi1YbI7dGvHfldXw= cloud.google.com/go/functions v1.12.0/go.mod h1:AXWGrF3e2C/5ehvwYo/GH6O5s09tOPksiKhz+hH8WkA= cloud.google.com/go/functions v1.13.0/go.mod h1:EU4O007sQm6Ef/PwRsI8N2umygGqPBS/IZQKBQBcJ3c= +cloud.google.com/go/functions v1.15.1/go.mod h1:P5yNWUTkyU+LvW/S9O6V+V423VZooALQlqoXdoPz5AE= cloud.google.com/go/gaming v1.5.0/go.mod h1:ol7rGcxP/qHTRQE/RO4bxkXq+Fix0j6D4LFPzYTIrDM= cloud.google.com/go/gaming v1.6.0/go.mod h1:YMU1GEvA39Qt3zWGyAVA9bpYz/yAhTvaQ1t2sK4KPUA= cloud.google.com/go/gaming v1.7.0/go.mod h1:LrB8U7MHdGgFG851iHAfqUdLcKBdQ55hzXy9xBJz0+w= cloud.google.com/go/gaming v1.8.0/go.mod h1:xAqjS8b7jAVW0KFYeRUxngo9My3f33kFmua++Pi+ggM= cloud.google.com/go/gaming v1.9.0/go.mod h1:Fc7kEmCObylSWLO334NcO+O9QMDyz+TKC4v1D7X+Bc0= +cloud.google.com/go/gaming v1.10.1/go.mod h1:XQQvtfP8Rb9Rxnxm5wFVpAp9zCQkJi2bLIb7iHGwB3s= cloud.google.com/go/gkebackup v0.2.0/go.mod h1:XKvv/4LfG829/B8B7xRkk8zRrOEbKtEam6yNfuQNH60= cloud.google.com/go/gkebackup v0.3.0/go.mod h1:n/E671i1aOQvUxT541aTkCwExO/bTer2HDlj4TsBRAo= cloud.google.com/go/gkebackup v0.4.0/go.mod h1:byAyBGUwYGEEww7xsbnUTBHIYcOPy/PgUWUtOeRm9Vg= +cloud.google.com/go/gkebackup v1.3.0/go.mod h1:vUDOu++N0U5qs4IhG1pcOnD1Mac79xWy6GoBFlWCWBU= cloud.google.com/go/gkeconnect v0.5.0/go.mod h1:c5lsNAg5EwAy7fkqX/+goqFsU1Da/jQFqArp+wGNr/o= cloud.google.com/go/gkeconnect v0.6.0/go.mod h1:Mln67KyU/sHJEBY8kFZ0xTeyPtzbq9StAVvEULYK16A= cloud.google.com/go/gkeconnect v0.7.0/go.mod h1:SNfmVqPkaEi3bF/B3CNZOAYPYdg7sU+obZ+QTky2Myw= +cloud.google.com/go/gkeconnect v0.8.1/go.mod h1:KWiK1g9sDLZqhxB2xEuPV8V9NYzrqTUmQR9shJHpOZw= cloud.google.com/go/gkehub v0.9.0/go.mod h1:WYHN6WG8w9bXU0hqNxt8rm5uxnk8IH+lPY9J2TV7BK0= cloud.google.com/go/gkehub v0.10.0/go.mod h1:UIPwxI0DsrpsVoWpLB0stwKCP+WFVG9+y977wO+hBH0= cloud.google.com/go/gkehub v0.11.0/go.mod h1:JOWHlmN+GHyIbuWQPl47/C2RFhnFKH38jH9Ascu3n0E= cloud.google.com/go/gkehub v0.12.0/go.mod h1:djiIwwzTTBrF5NaXCGv3mf7klpEMcST17VBTVVDcuaw= +cloud.google.com/go/gkehub v0.14.1/go.mod h1:VEXKIJZ2avzrbd7u+zeMtW00Y8ddk/4V9511C9CQGTY= cloud.google.com/go/gkemulticloud v0.3.0/go.mod h1:7orzy7O0S+5kq95e4Hpn7RysVA7dPs8W/GgfUtsPbrA= cloud.google.com/go/gkemulticloud v0.4.0/go.mod h1:E9gxVBnseLWCk24ch+P9+B2CoDFJZTyIgLKSalC7tuI= cloud.google.com/go/gkemulticloud v0.5.0/go.mod h1:W0JDkiyi3Tqh0TJr//y19wyb1yf8llHVto2Htf2Ja3Y= +cloud.google.com/go/gkemulticloud v0.6.1/go.mod h1:kbZ3HKyTsiwqKX7Yw56+wUGwwNZViRnxWK2DVknXWfw= +cloud.google.com/go/gkemulticloud v1.0.0/go.mod h1:kbZ3HKyTsiwqKX7Yw56+wUGwwNZViRnxWK2DVknXWfw= cloud.google.com/go/grafeas v0.2.0/go.mod h1:KhxgtF2hb0P191HlY5besjYm6MqTSTj3LSI+M+ByZHc= +cloud.google.com/go/grafeas v0.3.0/go.mod h1:P7hgN24EyONOTMyeJH6DxG4zD7fwiYa5Q6GUgyFSOU8= cloud.google.com/go/gsuiteaddons v1.3.0/go.mod h1:EUNK/J1lZEZO8yPtykKxLXI6JSVN2rg9bN8SXOa0bgM= cloud.google.com/go/gsuiteaddons v1.4.0/go.mod h1:rZK5I8hht7u7HxFQcFei0+AtfS9uSushomRlg+3ua1o= cloud.google.com/go/gsuiteaddons v1.5.0/go.mod h1:TFCClYLd64Eaa12sFVmUyG62tk4mdIsI7pAnSXRkcFo= +cloud.google.com/go/gsuiteaddons v1.6.1/go.mod h1:CodrdOqRZcLp5WOwejHWYBjZvfY0kOphkAKpF/3qdZY= cloud.google.com/go/iam v0.1.0/go.mod h1:vcUNEa0pEm0qRVpmWepWaFMIAI8/hjB9mO8rNCJtF6c= cloud.google.com/go/iam v0.3.0/go.mod h1:XzJPvDayI+9zsASAFO68Hk07u3z+f+JrT2xXNdp4bnY= cloud.google.com/go/iam v0.5.0/go.mod h1:wPU9Vt0P4UmCux7mqtRu6jcpPAb74cP1fh50J3QpkUc= @@ -308,18 +392,24 @@ cloud.google.com/go/iam v0.8.0/go.mod h1:lga0/y3iH6CX7sYqypWJ33hf7kkfXJag67naqGE cloud.google.com/go/iam v0.11.0/go.mod h1:9PiLDanza5D+oWFZiH1uG+RnRCfEGKoyl6yo4cgWZGY= cloud.google.com/go/iam v0.12.0/go.mod h1:knyHGviacl11zrtZUoDuYpDgLjvr28sLQaG0YB2GYAY= cloud.google.com/go/iam v0.13.0/go.mod h1:ljOg+rcNfzZ5d6f1nAUJ8ZIxOaZUVoS14bKCtaLZ/D0= +cloud.google.com/go/iam v1.0.1/go.mod h1:yR3tmSL8BcZB4bxByRv2jkSIahVmCtfKZwLYGBalRE8= +cloud.google.com/go/iam v1.1.0/go.mod h1:nxdHjaKfCr7fNYx/HJMM8LgiMugmveWlkatear5gVyk= +cloud.google.com/go/iam v1.1.1/go.mod h1:A5avdyVL2tCppe4unb0951eI9jreack+RJ0/d+KUZOU= cloud.google.com/go/iap v1.4.0/go.mod h1:RGFwRJdihTINIe4wZ2iCP0zF/qu18ZwyKxrhMhygBEc= cloud.google.com/go/iap v1.5.0/go.mod h1:UH/CGgKd4KyohZL5Pt0jSKE4m3FR51qg6FKQ/z/Ix9A= cloud.google.com/go/iap v1.6.0/go.mod h1:NSuvI9C/j7UdjGjIde7t7HBz+QTwBcapPE07+sSRcLk= cloud.google.com/go/iap v1.7.0/go.mod h1:beqQx56T9O1G1yNPph+spKpNibDlYIiIixiqsQXxLIo= cloud.google.com/go/iap v1.7.1/go.mod h1:WapEwPc7ZxGt2jFGB/C/bm+hP0Y6NXzOYGjpPnmMS74= +cloud.google.com/go/iap v1.8.1/go.mod h1:sJCbeqg3mvWLqjZNsI6dfAtbbV1DL2Rl7e1mTyXYREQ= cloud.google.com/go/ids v1.1.0/go.mod h1:WIuwCaYVOzHIj2OhN9HAwvW+DBdmUAdcWlFxRl+KubM= cloud.google.com/go/ids v1.2.0/go.mod h1:5WXvp4n25S0rA/mQWAg1YEEBBq6/s+7ml1RDCW1IrcY= cloud.google.com/go/ids v1.3.0/go.mod h1:JBdTYwANikFKaDP6LtW5JAi4gubs57SVNQjemdt6xV4= +cloud.google.com/go/ids v1.4.1/go.mod h1:np41ed8YMU8zOgv53MMMoCntLTn2lF+SUzlM+O3u/jw= cloud.google.com/go/iot v1.3.0/go.mod h1:r7RGh2B61+B8oz0AGE+J72AhA0G7tdXItODWsaA2oLs= cloud.google.com/go/iot v1.4.0/go.mod h1:dIDxPOn0UvNDUMD8Ger7FIaTuvMkj+aGk94RPP0iV+g= cloud.google.com/go/iot v1.5.0/go.mod h1:mpz5259PDl3XJthEmh9+ap0affn/MqNSP4My77Qql9o= cloud.google.com/go/iot v1.6.0/go.mod h1:IqdAsmE2cTYYNO1Fvjfzo9po179rAtJeVGUvkLN3rLE= +cloud.google.com/go/iot v1.7.1/go.mod h1:46Mgw7ev1k9KqK1ao0ayW9h0lI+3hxeanz+L1zmbbbk= cloud.google.com/go/kms v1.4.0/go.mod h1:fajBHndQ+6ubNw6Ss2sSd+SWvjL26RNo/dr7uxsnnOA= cloud.google.com/go/kms v1.5.0/go.mod h1:QJS2YY0eJGBg3mnDfuaCyLauWwBJiHRboYxJ++1xJNg= cloud.google.com/go/kms v1.6.0/go.mod h1:Jjy850yySiasBUDi6KFUwUv2n1+o7QZFyuUJg6OgjA0= @@ -327,91 +417,122 @@ cloud.google.com/go/kms v1.8.0/go.mod h1:4xFEhYFqvW+4VMELtZyxomGSYtSQKzM178ylFW4 cloud.google.com/go/kms v1.9.0/go.mod h1:qb1tPTgfF9RQP8e1wq4cLFErVuTJv7UsSC915J8dh3w= cloud.google.com/go/kms v1.10.0/go.mod h1:ng3KTUtQQU9bPX3+QGLsflZIHlkbn8amFAMY63m8d24= cloud.google.com/go/kms v1.10.1/go.mod h1:rIWk/TryCkR59GMC3YtHtXeLzd634lBbKenvyySAyYI= +cloud.google.com/go/kms v1.11.0/go.mod h1:hwdiYC0xjnWsKQQCQQmIQnS9asjYVSK6jtXm+zFqXLM= +cloud.google.com/go/kms v1.12.1/go.mod h1:c9J991h5DTl+kg7gi3MYomh12YEENGrf48ee/N/2CDM= +cloud.google.com/go/kms v1.15.0/go.mod h1:c9J991h5DTl+kg7gi3MYomh12YEENGrf48ee/N/2CDM= cloud.google.com/go/language v1.4.0/go.mod h1:F9dRpNFQmJbkaop6g0JhSBXCNlO90e1KWx5iDdxbWic= cloud.google.com/go/language v1.6.0/go.mod h1:6dJ8t3B+lUYfStgls25GusK04NLh3eDLQnWM3mdEbhI= cloud.google.com/go/language v1.7.0/go.mod h1:DJ6dYN/W+SQOjF8e1hLQXMF21AkH2w9wiPzPCJa2MIE= cloud.google.com/go/language v1.8.0/go.mod h1:qYPVHf7SPoNNiCL2Dr0FfEFNil1qi3pQEyygwpgVKB8= cloud.google.com/go/language v1.9.0/go.mod h1:Ns15WooPM5Ad/5no/0n81yUetis74g3zrbeJBE+ptUY= +cloud.google.com/go/language v1.10.1/go.mod h1:CPp94nsdVNiQEt1CNjF5WkTcisLiHPyIbMhvR8H2AW0= cloud.google.com/go/lifesciences v0.5.0/go.mod h1:3oIKy8ycWGPUyZDR/8RNnTOYevhaMLqh5vLUXs9zvT8= cloud.google.com/go/lifesciences v0.6.0/go.mod h1:ddj6tSX/7BOnhxCSd3ZcETvtNr8NZ6t/iPhY2Tyfu08= cloud.google.com/go/lifesciences v0.8.0/go.mod h1:lFxiEOMqII6XggGbOnKiyZ7IBwoIqA84ClvoezaA/bo= +cloud.google.com/go/lifesciences v0.9.1/go.mod h1:hACAOd1fFbCGLr/+weUKRAJas82Y4vrL3O5326N//Wc= cloud.google.com/go/logging v1.6.1/go.mod h1:5ZO0mHHbvm8gEmeEUHrmDlTDSu5imF6MUP9OfilNXBw= cloud.google.com/go/logging v1.7.0/go.mod h1:3xjP2CjkM3ZkO73aj4ASA5wRPGGCRrPIAeNqVNkzY8M= cloud.google.com/go/longrunning v0.1.1/go.mod h1:UUFxuDWkv22EuY93jjmDMFT5GPQKeFVJBIF6QlTqdsE= cloud.google.com/go/longrunning v0.3.0/go.mod h1:qth9Y41RRSUE69rDcOn6DdK3HfQfsUI0YSmW3iIlLJc= cloud.google.com/go/longrunning v0.4.1/go.mod h1:4iWDqhBZ70CvZ6BfETbvam3T8FMvLK+eFj0E6AaRQTo= +cloud.google.com/go/longrunning v0.4.2/go.mod h1:OHrnaYyLUV6oqwh0xiS7e5sLQhP1m0QU9R+WhGDMgIQ= +cloud.google.com/go/longrunning v0.5.0/go.mod h1:0JNuqRShmscVAhIACGtskSAWtqtOoPkwP0YF1oVEchc= +cloud.google.com/go/longrunning v0.5.1/go.mod h1:spvimkwdz6SPWKEt/XBij79E9fiTkHSQl/fRUUQJYJc= cloud.google.com/go/managedidentities v1.3.0/go.mod h1:UzlW3cBOiPrzucO5qWkNkh0w33KFtBJU281hacNvsdE= cloud.google.com/go/managedidentities v1.4.0/go.mod h1:NWSBYbEMgqmbZsLIyKvxrYbtqOsxY1ZrGM+9RgDqInM= cloud.google.com/go/managedidentities v1.5.0/go.mod h1:+dWcZ0JlUmpuxpIDfyP5pP5y0bLdRwOS4Lp7gMni/LA= +cloud.google.com/go/managedidentities v1.6.1/go.mod h1:h/irGhTN2SkZ64F43tfGPMbHnypMbu4RB3yl8YcuEak= cloud.google.com/go/maps v0.1.0/go.mod h1:BQM97WGyfw9FWEmQMpZ5T6cpovXXSd1cGmFma94eubI= cloud.google.com/go/maps v0.6.0/go.mod h1:o6DAMMfb+aINHz/p/jbcY+mYeXBoZoxTfdSQ8VAJaCw= cloud.google.com/go/maps v0.7.0/go.mod h1:3GnvVl3cqeSvgMcpRlQidXsPYuDGQ8naBis7MVzpXsY= +cloud.google.com/go/maps v1.3.0/go.mod h1:6mWTUv+WhnOwAgjVsSW2QPPECmW+s3PcRyOa9vgG/5s= +cloud.google.com/go/maps v1.4.0/go.mod h1:6mWTUv+WhnOwAgjVsSW2QPPECmW+s3PcRyOa9vgG/5s= cloud.google.com/go/mediatranslation v0.5.0/go.mod h1:jGPUhGTybqsPQn91pNXw0xVHfuJ3leR1wj37oU3y1f4= cloud.google.com/go/mediatranslation v0.6.0/go.mod h1:hHdBCTYNigsBxshbznuIMFNe5QXEowAuNmmC7h8pu5w= cloud.google.com/go/mediatranslation v0.7.0/go.mod h1:LCnB/gZr90ONOIQLgSXagp8XUW1ODs2UmUMvcgMfI2I= +cloud.google.com/go/mediatranslation v0.8.1/go.mod h1:L/7hBdEYbYHQJhX2sldtTO5SZZ1C1vkapubj0T2aGig= cloud.google.com/go/memcache v1.4.0/go.mod h1:rTOfiGZtJX1AaFUrOgsMHX5kAzaTQ8azHiuDoTPzNsE= cloud.google.com/go/memcache v1.5.0/go.mod h1:dk3fCK7dVo0cUU2c36jKb4VqKPS22BTkf81Xq617aWM= cloud.google.com/go/memcache v1.6.0/go.mod h1:XS5xB0eQZdHtTuTF9Hf8eJkKtR3pVRCcvJwtm68T3rA= cloud.google.com/go/memcache v1.7.0/go.mod h1:ywMKfjWhNtkQTxrWxCkCFkoPjLHPW6A7WOTVI8xy3LY= cloud.google.com/go/memcache v1.9.0/go.mod h1:8oEyzXCu+zo9RzlEaEjHl4KkgjlNDaXbCQeQWlzNFJM= +cloud.google.com/go/memcache v1.10.1/go.mod h1:47YRQIarv4I3QS5+hoETgKO40InqzLP6kpNLvyXuyaA= cloud.google.com/go/metastore v1.5.0/go.mod h1:2ZNrDcQwghfdtCwJ33nM0+GrBGlVuh8rakL3vdPY3XY= cloud.google.com/go/metastore v1.6.0/go.mod h1:6cyQTls8CWXzk45G55x57DVQ9gWg7RiH65+YgPsNh9s= cloud.google.com/go/metastore v1.7.0/go.mod h1:s45D0B4IlsINu87/AsWiEVYbLaIMeUSoxlKKDqBGFS8= cloud.google.com/go/metastore v1.8.0/go.mod h1:zHiMc4ZUpBiM7twCIFQmJ9JMEkDSyZS9U12uf7wHqSI= cloud.google.com/go/metastore v1.10.0/go.mod h1:fPEnH3g4JJAk+gMRnrAnoqyv2lpUCqJPWOodSaf45Eo= +cloud.google.com/go/metastore v1.11.1/go.mod h1:uZuSo80U3Wd4zi6C22ZZliOUJ3XeM/MlYi/z5OAOWRA= +cloud.google.com/go/metastore v1.12.0/go.mod h1:uZuSo80U3Wd4zi6C22ZZliOUJ3XeM/MlYi/z5OAOWRA= cloud.google.com/go/monitoring v1.7.0/go.mod h1:HpYse6kkGo//7p6sT0wsIC6IBDET0RhIsnmlA53dvEk= cloud.google.com/go/monitoring v1.8.0/go.mod h1:E7PtoMJ1kQXWxPjB6mv2fhC5/15jInuulFdYYtlcvT4= cloud.google.com/go/monitoring v1.12.0/go.mod h1:yx8Jj2fZNEkL/GYZyTLS4ZtZEZN8WtDEiEqG4kLK50w= cloud.google.com/go/monitoring v1.13.0/go.mod h1:k2yMBAB1H9JT/QETjNkgdCGD9bPF712XiLTVr+cBrpw= +cloud.google.com/go/monitoring v1.15.1/go.mod h1:lADlSAlFdbqQuwwpaImhsJXu1QSdd3ojypXrFSMr2rM= cloud.google.com/go/networkconnectivity v1.4.0/go.mod h1:nOl7YL8odKyAOtzNX73/M5/mGZgqqMeryi6UPZTk/rA= cloud.google.com/go/networkconnectivity v1.5.0/go.mod h1:3GzqJx7uhtlM3kln0+x5wyFvuVH1pIBJjhCpjzSt75o= cloud.google.com/go/networkconnectivity v1.6.0/go.mod h1:OJOoEXW+0LAxHh89nXd64uGG+FbQoeH8DtxCHVOMlaM= cloud.google.com/go/networkconnectivity v1.7.0/go.mod h1:RMuSbkdbPwNMQjB5HBWD5MpTBnNm39iAVpC3TmsExt8= cloud.google.com/go/networkconnectivity v1.10.0/go.mod h1:UP4O4sWXJG13AqrTdQCD9TnLGEbtNRqjuaaA7bNjF5E= cloud.google.com/go/networkconnectivity v1.11.0/go.mod h1:iWmDD4QF16VCDLXUqvyspJjIEtBR/4zq5hwnY2X3scM= +cloud.google.com/go/networkconnectivity v1.12.1/go.mod h1:PelxSWYM7Sh9/guf8CFhi6vIqf19Ir/sbfZRUwXh92E= cloud.google.com/go/networkmanagement v1.4.0/go.mod h1:Q9mdLLRn60AsOrPc8rs8iNV6OHXaGcDdsIQe1ohekq8= cloud.google.com/go/networkmanagement v1.5.0/go.mod h1:ZnOeZ/evzUdUsnvRt792H0uYEnHQEMaz+REhhzJRcf4= cloud.google.com/go/networkmanagement v1.6.0/go.mod h1:5pKPqyXjB/sgtvB5xqOemumoQNB7y95Q7S+4rjSOPYY= +cloud.google.com/go/networkmanagement v1.8.0/go.mod h1:Ho/BUGmtyEqrttTgWEe7m+8vDdK74ibQc+Be0q7Fof0= cloud.google.com/go/networksecurity v0.5.0/go.mod h1:xS6fOCoqpVC5zx15Z/MqkfDwH4+m/61A3ODiDV1xmiQ= cloud.google.com/go/networksecurity v0.6.0/go.mod h1:Q5fjhTr9WMI5mbpRYEbiexTzROf7ZbDzvzCrNl14nyU= cloud.google.com/go/networksecurity v0.7.0/go.mod h1:mAnzoxx/8TBSyXEeESMy9OOYwo1v+gZ5eMRnsT5bC8k= cloud.google.com/go/networksecurity v0.8.0/go.mod h1:B78DkqsxFG5zRSVuwYFRZ9Xz8IcQ5iECsNrPn74hKHU= +cloud.google.com/go/networksecurity v0.9.1/go.mod h1:MCMdxOKQ30wsBI1eI659f9kEp4wuuAueoC9AJKSPWZQ= cloud.google.com/go/notebooks v1.2.0/go.mod h1:9+wtppMfVPUeJ8fIWPOq1UnATHISkGXGqTkxeieQ6UY= cloud.google.com/go/notebooks v1.3.0/go.mod h1:bFR5lj07DtCPC7YAAJ//vHskFBxA5JzYlH68kXVdk34= cloud.google.com/go/notebooks v1.4.0/go.mod h1:4QPMngcwmgb6uw7Po99B2xv5ufVoIQ7nOGDyL4P8AgA= cloud.google.com/go/notebooks v1.5.0/go.mod h1:q8mwhnP9aR8Hpfnrc5iN5IBhrXUy8S2vuYs+kBJ/gu0= cloud.google.com/go/notebooks v1.7.0/go.mod h1:PVlaDGfJgj1fl1S3dUwhFMXFgfYGhYQt2164xOMONmE= cloud.google.com/go/notebooks v1.8.0/go.mod h1:Lq6dYKOYOWUCTvw5t2q1gp1lAp0zxAxRycayS0iJcqQ= +cloud.google.com/go/notebooks v1.9.1/go.mod h1:zqG9/gk05JrzgBt4ghLzEepPHNwE5jgPcHZRKhlC1A8= cloud.google.com/go/optimization v1.1.0/go.mod h1:5po+wfvX5AQlPznyVEZjGJTMr4+CAkJf2XSTQOOl9l4= cloud.google.com/go/optimization v1.2.0/go.mod h1:Lr7SOHdRDENsh+WXVmQhQTrzdu9ybg0NecjHidBq6xs= cloud.google.com/go/optimization v1.3.1/go.mod h1:IvUSefKiwd1a5p0RgHDbWCIbDFgKuEdB+fPPuP0IDLI= +cloud.google.com/go/optimization v1.4.1/go.mod h1:j64vZQP7h9bO49m2rVaTVoNM0vEBEN5eKPUPbZyXOrk= cloud.google.com/go/orchestration v1.3.0/go.mod h1:Sj5tq/JpWiB//X/q3Ngwdl5K7B7Y0KZ7bfv0wL6fqVA= cloud.google.com/go/orchestration v1.4.0/go.mod h1:6W5NLFWs2TlniBphAViZEVhrXRSMgUGDfW7vrWKvsBk= cloud.google.com/go/orchestration v1.6.0/go.mod h1:M62Bevp7pkxStDfFfTuCOaXgaaqRAga1yKyoMtEoWPQ= +cloud.google.com/go/orchestration v1.8.1/go.mod h1:4sluRF3wgbYVRqz7zJ1/EUNc90TTprliq9477fGobD8= cloud.google.com/go/orgpolicy v1.4.0/go.mod h1:xrSLIV4RePWmP9P3tBl8S93lTmlAxjm06NSm2UTmKvE= cloud.google.com/go/orgpolicy v1.5.0/go.mod h1:hZEc5q3wzwXJaKrsx5+Ewg0u1LxJ51nNFlext7Tanwc= cloud.google.com/go/orgpolicy v1.10.0/go.mod h1:w1fo8b7rRqlXlIJbVhOMPrwVljyuW5mqssvBtU18ONc= +cloud.google.com/go/orgpolicy v1.11.0/go.mod h1:2RK748+FtVvnfuynxBzdnyu7sygtoZa1za/0ZfpOs1M= +cloud.google.com/go/orgpolicy v1.11.1/go.mod h1:8+E3jQcpZJQliP+zaFfayC2Pg5bmhuLK755wKhIIUCE= cloud.google.com/go/osconfig v1.7.0/go.mod h1:oVHeCeZELfJP7XLxcBGTMBvRO+1nQ5tFG9VQTmYS2Fs= cloud.google.com/go/osconfig v1.8.0/go.mod h1:EQqZLu5w5XA7eKizepumcvWx+m8mJUhEwiPqWiZeEdg= cloud.google.com/go/osconfig v1.9.0/go.mod h1:Yx+IeIZJ3bdWmzbQU4fxNl8xsZ4amB+dygAwFPlvnNo= cloud.google.com/go/osconfig v1.10.0/go.mod h1:uMhCzqC5I8zfD9zDEAfvgVhDS8oIjySWh+l4WK6GnWw= cloud.google.com/go/osconfig v1.11.0/go.mod h1:aDICxrur2ogRd9zY5ytBLV89KEgT2MKB2L/n6x1ooPw= +cloud.google.com/go/osconfig v1.12.0/go.mod h1:8f/PaYzoS3JMVfdfTubkowZYGmAhUCjjwnjqWI7NVBc= +cloud.google.com/go/osconfig v1.12.1/go.mod h1:4CjBxND0gswz2gfYRCUoUzCm9zCABp91EeTtWXyz0tE= cloud.google.com/go/oslogin v1.4.0/go.mod h1:YdgMXWRaElXz/lDk1Na6Fh5orF7gvmJ0FGLIs9LId4E= cloud.google.com/go/oslogin v1.5.0/go.mod h1:D260Qj11W2qx/HVF29zBg+0fd6YCSjSqLUkY/qEenQU= cloud.google.com/go/oslogin v1.6.0/go.mod h1:zOJ1O3+dTU8WPlGEkFSh7qeHPPSoxrcMbbK1Nm2iX70= cloud.google.com/go/oslogin v1.7.0/go.mod h1:e04SN0xO1UNJ1M5GP0vzVBFicIe4O53FOfcixIqTyXo= cloud.google.com/go/oslogin v1.9.0/go.mod h1:HNavntnH8nzrn8JCTT5fj18FuJLFJc4NaZJtBnQtKFs= +cloud.google.com/go/oslogin v1.10.1/go.mod h1:x692z7yAue5nE7CsSnoG0aaMbNoRJRXO4sn73R+ZqAs= cloud.google.com/go/phishingprotection v0.5.0/go.mod h1:Y3HZknsK9bc9dMi+oE8Bim0lczMU6hrX0UpADuMefr0= cloud.google.com/go/phishingprotection v0.6.0/go.mod h1:9Y3LBLgy0kDTcYET8ZH3bq/7qni15yVUoAxiFxnlSUA= cloud.google.com/go/phishingprotection v0.7.0/go.mod h1:8qJI4QKHoda/sb/7/YmMQ2omRLSLYSu9bU0EKCNI+Lk= +cloud.google.com/go/phishingprotection v0.8.1/go.mod h1:AxonW7GovcA8qdEk13NfHq9hNx5KPtfxXNeUxTDxB6I= cloud.google.com/go/policytroubleshooter v1.3.0/go.mod h1:qy0+VwANja+kKrjlQuOzmlvscn4RNsAc0e15GGqfMxg= cloud.google.com/go/policytroubleshooter v1.4.0/go.mod h1:DZT4BcRw3QoO8ota9xw/LKtPa8lKeCByYeKTIf/vxdE= cloud.google.com/go/policytroubleshooter v1.5.0/go.mod h1:Rz1WfV+1oIpPdN2VvvuboLVRsB1Hclg3CKQ53j9l8vw= cloud.google.com/go/policytroubleshooter v1.6.0/go.mod h1:zYqaPTsmfvpjm5ULxAyD/lINQxJ0DDsnWOP/GZ7xzBc= +cloud.google.com/go/policytroubleshooter v1.7.1/go.mod h1:0NaT5v3Ag1M7U5r0GfDCpUFkWd9YqpubBWsQlhanRv0= +cloud.google.com/go/policytroubleshooter v1.8.0/go.mod h1:tmn5Ir5EToWe384EuboTcVQT7nTag2+DuH3uHmKd1HU= cloud.google.com/go/privatecatalog v0.5.0/go.mod h1:XgosMUvvPyxDjAVNDYxJ7wBW8//hLDDYmnsNcMGq1K0= cloud.google.com/go/privatecatalog v0.6.0/go.mod h1:i/fbkZR0hLN29eEWiiwue8Pb+GforiEIBnV9yrRUOKI= cloud.google.com/go/privatecatalog v0.7.0/go.mod h1:2s5ssIFO69F5csTXcwBP7NPFTZvps26xGzvQ2PQaBYg= cloud.google.com/go/privatecatalog v0.8.0/go.mod h1:nQ6pfaegeDAq/Q5lrfCQzQLhubPiZhSaNhIgfJlnIXs= +cloud.google.com/go/privatecatalog v0.9.1/go.mod h1:0XlDXW2unJXdf9zFz968Hp35gl/bhF4twwpXZAW50JA= cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= @@ -420,9 +541,12 @@ cloud.google.com/go/pubsub v1.26.0/go.mod h1:QgBH3U/jdJy/ftjPhTkyXNj543Tin1pRYcd cloud.google.com/go/pubsub v1.27.1/go.mod h1:hQN39ymbV9geqBnfQq6Xf63yNhUAhv9CZhzp5O6qsW0= cloud.google.com/go/pubsub v1.28.0/go.mod h1:vuXFpwaVoIPQMGXqRyUQigu/AX1S3IWugR9xznmcXX8= cloud.google.com/go/pubsub v1.30.0/go.mod h1:qWi1OPS0B+b5L+Sg6Gmc9zD1Y+HaM0MdUr7LsupY1P4= +cloud.google.com/go/pubsub v1.32.0/go.mod h1:f+w71I33OMyxf9VpMVcZbnG5KSUkCOUHYpFd5U1GdRc= +cloud.google.com/go/pubsub v1.33.0/go.mod h1:f+w71I33OMyxf9VpMVcZbnG5KSUkCOUHYpFd5U1GdRc= cloud.google.com/go/pubsublite v1.5.0/go.mod h1:xapqNQ1CuLfGi23Yda/9l4bBCKz/wC3KIJ5gKcxveZg= cloud.google.com/go/pubsublite v1.6.0/go.mod h1:1eFCS0U11xlOuMFV/0iBqw3zP12kddMeCbj/F3FSj9k= cloud.google.com/go/pubsublite v1.7.0/go.mod h1:8hVMwRXfDfvGm3fahVbtDbiLePT3gpoiJYJY+vxWxVM= +cloud.google.com/go/pubsublite v1.8.1/go.mod h1:fOLdU4f5xldK4RGJrBMm+J7zMWNj/k4PxwEZXy39QS0= cloud.google.com/go/recaptchaenterprise v1.3.1/go.mod h1:OdD+q+y4XGeAlxRaMn1Y7/GveP6zmq76byL6tjPE7d4= cloud.google.com/go/recaptchaenterprise/v2 v2.1.0/go.mod h1:w9yVqajwroDNTfGuhmOjPDN//rZGySaf6PtFVcSCa7o= cloud.google.com/go/recaptchaenterprise/v2 v2.2.0/go.mod h1:/Zu5jisWGeERrd5HnlS3EUGb/D335f9k51B/FVil0jk= @@ -431,46 +555,56 @@ cloud.google.com/go/recaptchaenterprise/v2 v2.4.0/go.mod h1:Am3LHfOuBstrLrNCBrlI cloud.google.com/go/recaptchaenterprise/v2 v2.5.0/go.mod h1:O8LzcHXN3rz0j+LBC91jrwI3R+1ZSZEWrfL7XHgNo9U= cloud.google.com/go/recaptchaenterprise/v2 v2.6.0/go.mod h1:RPauz9jeLtB3JVzg6nCbe12qNoaa8pXc4d/YukAmcnA= cloud.google.com/go/recaptchaenterprise/v2 v2.7.0/go.mod h1:19wVj/fs5RtYtynAPJdDTb69oW0vNHYDBTbB4NvMD9c= +cloud.google.com/go/recaptchaenterprise/v2 v2.7.2/go.mod h1:kR0KjsJS7Jt1YSyWFkseQ756D45kaYNTlDPPaRAvDBU= cloud.google.com/go/recommendationengine v0.5.0/go.mod h1:E5756pJcVFeVgaQv3WNpImkFP8a+RptV6dDLGPILjvg= cloud.google.com/go/recommendationengine v0.6.0/go.mod h1:08mq2umu9oIqc7tDy8sx+MNJdLG0fUi3vaSVbztHgJ4= cloud.google.com/go/recommendationengine v0.7.0/go.mod h1:1reUcE3GIu6MeBz/h5xZJqNLuuVjNg1lmWMPyjatzac= +cloud.google.com/go/recommendationengine v0.8.1/go.mod h1:MrZihWwtFYWDzE6Hz5nKcNz3gLizXVIDI/o3G1DLcrE= cloud.google.com/go/recommender v1.5.0/go.mod h1:jdoeiBIVrJe9gQjwd759ecLJbxCDED4A6p+mqoqDvTg= cloud.google.com/go/recommender v1.6.0/go.mod h1:+yETpm25mcoiECKh9DEScGzIRyDKpZ0cEhWGo+8bo+c= cloud.google.com/go/recommender v1.7.0/go.mod h1:XLHs/W+T8olwlGOgfQenXBTbIseGclClff6lhFVe9Bs= cloud.google.com/go/recommender v1.8.0/go.mod h1:PkjXrTT05BFKwxaUxQmtIlrtj0kph108r02ZZQ5FE70= cloud.google.com/go/recommender v1.9.0/go.mod h1:PnSsnZY7q+VL1uax2JWkt/UegHssxjUVVCrX52CuEmQ= +cloud.google.com/go/recommender v1.10.1/go.mod h1:XFvrE4Suqn5Cq0Lf+mCP6oBHD/yRMA8XxP5sb7Q7gpA= cloud.google.com/go/redis v1.7.0/go.mod h1:V3x5Jq1jzUcg+UNsRvdmsfuFnit1cfe3Z/PGyq/lm4Y= cloud.google.com/go/redis v1.8.0/go.mod h1:Fm2szCDavWzBk2cDKxrkmWBqoCiL1+Ctwq7EyqBCA/A= cloud.google.com/go/redis v1.9.0/go.mod h1:HMYQuajvb2D0LvMgZmLDZW8V5aOC/WxstZHiy4g8OiA= cloud.google.com/go/redis v1.10.0/go.mod h1:ThJf3mMBQtW18JzGgh41/Wld6vnDDc/F/F35UolRZPM= cloud.google.com/go/redis v1.11.0/go.mod h1:/X6eicana+BWcUda5PpwZC48o37SiFVTFSs0fWAJ7uQ= +cloud.google.com/go/redis v1.13.1/go.mod h1:VP7DGLpE91M6bcsDdMuyCm2hIpB6Vp2hI090Mfd1tcg= cloud.google.com/go/resourcemanager v1.3.0/go.mod h1:bAtrTjZQFJkiWTPDb1WBjzvc6/kifjj4QBYuKCCoqKA= cloud.google.com/go/resourcemanager v1.4.0/go.mod h1:MwxuzkumyTX7/a3n37gmsT3py7LIXwrShilPh3P1tR0= cloud.google.com/go/resourcemanager v1.5.0/go.mod h1:eQoXNAiAvCf5PXxWxXjhKQoTMaUSNrEfg+6qdf/wots= cloud.google.com/go/resourcemanager v1.6.0/go.mod h1:YcpXGRs8fDzcUl1Xw8uOVmI8JEadvhRIkoXXUNVYcVo= cloud.google.com/go/resourcemanager v1.7.0/go.mod h1:HlD3m6+bwhzj9XCouqmeiGuni95NTrExfhoSrkC/3EI= +cloud.google.com/go/resourcemanager v1.9.1/go.mod h1:dVCuosgrh1tINZ/RwBufr8lULmWGOkPS8gL5gqyjdT8= cloud.google.com/go/resourcesettings v1.3.0/go.mod h1:lzew8VfESA5DQ8gdlHwMrqZs1S9V87v3oCnKCWoOuQU= cloud.google.com/go/resourcesettings v1.4.0/go.mod h1:ldiH9IJpcrlC3VSuCGvjR5of/ezRrOxFtpJoJo5SmXg= cloud.google.com/go/resourcesettings v1.5.0/go.mod h1:+xJF7QSG6undsQDfsCJyqWXyBwUoJLhetkRMDRnIoXA= +cloud.google.com/go/resourcesettings v1.6.1/go.mod h1:M7mk9PIZrC5Fgsu1kZJci6mpgN8o0IUzVx3eJU3y4Jw= cloud.google.com/go/retail v1.8.0/go.mod h1:QblKS8waDmNUhghY2TI9O3JLlFk8jybHeV4BF19FrE4= cloud.google.com/go/retail v1.9.0/go.mod h1:g6jb6mKuCS1QKnH/dpu7isX253absFl6iE92nHwlBUY= cloud.google.com/go/retail v1.10.0/go.mod h1:2gDk9HsL4HMS4oZwz6daui2/jmKvqShXKQuB2RZ+cCc= cloud.google.com/go/retail v1.11.0/go.mod h1:MBLk1NaWPmh6iVFSz9MeKG/Psyd7TAgm6y/9L2B4x9Y= cloud.google.com/go/retail v1.12.0/go.mod h1:UMkelN/0Z8XvKymXFbD4EhFJlYKRx1FGhQkVPU5kF14= +cloud.google.com/go/retail v1.14.1/go.mod h1:y3Wv3Vr2k54dLNIrCzenyKG8g8dhvhncT2NcNjb/6gE= cloud.google.com/go/run v0.2.0/go.mod h1:CNtKsTA1sDcnqqIFR3Pb5Tq0usWxJJvsWOCPldRU3Do= cloud.google.com/go/run v0.3.0/go.mod h1:TuyY1+taHxTjrD0ZFk2iAR+xyOXEA0ztb7U3UNA0zBo= cloud.google.com/go/run v0.8.0/go.mod h1:VniEnuBwqjigv0A7ONfQUaEItaiCRVujlMqerPPiktM= cloud.google.com/go/run v0.9.0/go.mod h1:Wwu+/vvg8Y+JUApMwEDfVfhetv30hCG4ZwDR/IXl2Qg= +cloud.google.com/go/run v1.2.0/go.mod h1:36V1IlDzQ0XxbQjUx6IYbw8H3TJnWvhii963WW3B/bo= cloud.google.com/go/scheduler v1.4.0/go.mod h1:drcJBmxF3aqZJRhmkHQ9b3uSSpQoltBPGPxGAWROx6s= cloud.google.com/go/scheduler v1.5.0/go.mod h1:ri073ym49NW3AfT6DZi21vLZrG07GXr5p3H1KxN5QlI= cloud.google.com/go/scheduler v1.6.0/go.mod h1:SgeKVM7MIwPn3BqtcBntpLyrIJftQISRrYB5ZtT+KOk= cloud.google.com/go/scheduler v1.7.0/go.mod h1:jyCiBqWW956uBjjPMMuX09n3x37mtyPJegEWKxRsn44= cloud.google.com/go/scheduler v1.8.0/go.mod h1:TCET+Y5Gp1YgHT8py4nlg2Sew8nUHMqcpousDgXJVQc= cloud.google.com/go/scheduler v1.9.0/go.mod h1:yexg5t+KSmqu+njTIh3b7oYPheFtBWGcbVUYF1GGMIc= +cloud.google.com/go/scheduler v1.10.1/go.mod h1:R63Ldltd47Bs4gnhQkmNDse5w8gBRrhObZ54PxgR2Oo= cloud.google.com/go/secretmanager v1.6.0/go.mod h1:awVa/OXF6IiyaU1wQ34inzQNc4ISIDIrId8qE5QGgKA= cloud.google.com/go/secretmanager v1.8.0/go.mod h1:hnVgi/bN5MYHd3Gt0SPuTPPp5ENina1/LxM+2W9U9J4= cloud.google.com/go/secretmanager v1.9.0/go.mod h1:b71qH2l1yHmWQHt9LC80akm86mX8AL6X1MA01dW8ht4= cloud.google.com/go/secretmanager v1.10.0/go.mod h1:MfnrdvKMPNra9aZtQFvBcvRU54hbPD8/HayQdlUgJpU= +cloud.google.com/go/secretmanager v1.11.1/go.mod h1:znq9JlXgTNdBeQk9TBW/FnR/W4uChEKGeqQWAJ8SXFw= cloud.google.com/go/security v1.5.0/go.mod h1:lgxGdyOKKjHL4YG3/YwIL2zLqMFCKs0UbQwgyZmfJl4= cloud.google.com/go/security v1.7.0/go.mod h1:mZklORHl6Bg7CNnnjLH//0UlAlaXqiG7Lb9PsPXLfD0= cloud.google.com/go/security v1.8.0/go.mod h1:hAQOwgmaHhztFhiQ41CjDODdWP0+AE1B3sX4OFlq+GU= @@ -478,12 +612,14 @@ cloud.google.com/go/security v1.9.0/go.mod h1:6Ta1bO8LXI89nZnmnsZGp9lVoVWXqsVbIq cloud.google.com/go/security v1.10.0/go.mod h1:QtOMZByJVlibUT2h9afNDWRZ1G96gVywH8T5GUSb9IA= cloud.google.com/go/security v1.12.0/go.mod h1:rV6EhrpbNHrrxqlvW0BWAIawFWq3X90SduMJdFwtLB8= cloud.google.com/go/security v1.13.0/go.mod h1:Q1Nvxl1PAgmeW0y3HTt54JYIvUdtcpYKVfIB8AOMZ+0= +cloud.google.com/go/security v1.15.1/go.mod h1:MvTnnbsWnehoizHi09zoiZob0iCHVcL4AUBj76h9fXA= cloud.google.com/go/securitycenter v1.13.0/go.mod h1:cv5qNAqjY84FCN6Y9z28WlkKXyWsgLO832YiWwkCWcU= cloud.google.com/go/securitycenter v1.14.0/go.mod h1:gZLAhtyKv85n52XYWt6RmeBdydyxfPeTrpToDPw4Auc= cloud.google.com/go/securitycenter v1.15.0/go.mod h1:PeKJ0t8MoFmmXLXWm41JidyzI3PJjd8sXWaVqg43WWk= cloud.google.com/go/securitycenter v1.16.0/go.mod h1:Q9GMaLQFUD+5ZTabrbujNWLtSLZIZF7SAR0wWECrjdk= cloud.google.com/go/securitycenter v1.18.1/go.mod h1:0/25gAzCM/9OL9vVx4ChPeM/+DlfGQJDwBy/UC8AKK0= cloud.google.com/go/securitycenter v1.19.0/go.mod h1:LVLmSg8ZkkyaNy4u7HCIshAngSQ8EcIRREP3xBnyfag= +cloud.google.com/go/securitycenter v1.23.0/go.mod h1:8pwQ4n+Y9WCWM278R8W3nF65QtY172h4S8aXyI9/hsQ= cloud.google.com/go/servicecontrol v1.4.0/go.mod h1:o0hUSJ1TXJAmi/7fLJAedOovnujSEvjKCAFNXPQ1RaU= cloud.google.com/go/servicecontrol v1.5.0/go.mod h1:qM0CnXHhyqKVuiZnGKrIurvVImCs8gmqWsDoqe9sU1s= cloud.google.com/go/servicecontrol v1.10.0/go.mod h1:pQvyvSRh7YzUF2efw7H87V92mxU8FnFDawMClGCNuAA= @@ -495,6 +631,8 @@ cloud.google.com/go/servicedirectory v1.6.0/go.mod h1:pUlbnWsLH9c13yGkxCmfumWEPj cloud.google.com/go/servicedirectory v1.7.0/go.mod h1:5p/U5oyvgYGYejufvxhgwjL8UVXjkuw7q5XcG10wx1U= cloud.google.com/go/servicedirectory v1.8.0/go.mod h1:srXodfhY1GFIPvltunswqXpVxFPpZjf8nkKQT7XcXaY= cloud.google.com/go/servicedirectory v1.9.0/go.mod h1:29je5JjiygNYlmsGz8k6o+OZ8vd4f//bQLtvzkPPT/s= +cloud.google.com/go/servicedirectory v1.10.1/go.mod h1:Xv0YVH8s4pVOwfM/1eMTl0XJ6bzIOSLDt8f8eLaGOxQ= +cloud.google.com/go/servicedirectory v1.11.0/go.mod h1:Xv0YVH8s4pVOwfM/1eMTl0XJ6bzIOSLDt8f8eLaGOxQ= cloud.google.com/go/servicemanagement v1.4.0/go.mod h1:d8t8MDbezI7Z2R1O/wu8oTggo3BI2GKYbdG4y/SJTco= cloud.google.com/go/servicemanagement v1.5.0/go.mod h1:XGaCRe57kfqu4+lRxaFEAuqmjzF0r+gWHjWqKqBvKFo= cloud.google.com/go/servicemanagement v1.6.0/go.mod h1:aWns7EeeCOtGEX4OvZUWCCJONRZeFKiptqKf1D0l/Jc= @@ -506,15 +644,19 @@ cloud.google.com/go/serviceusage v1.6.0/go.mod h1:R5wwQcbOWsyuOfbP9tGdAnCAc6B9DR cloud.google.com/go/shell v1.3.0/go.mod h1:VZ9HmRjZBsjLGXusm7K5Q5lzzByZmJHf1d0IWHEN5X4= cloud.google.com/go/shell v1.4.0/go.mod h1:HDxPzZf3GkDdhExzD/gs8Grqk+dmYcEjGShZgYa9URw= cloud.google.com/go/shell v1.6.0/go.mod h1:oHO8QACS90luWgxP3N9iZVuEiSF84zNyLytb+qE2f9A= +cloud.google.com/go/shell v1.7.1/go.mod h1:u1RaM+huXFaTojTbW4g9P5emOrrmLE69KrxqQahKn4g= cloud.google.com/go/spanner v1.41.0/go.mod h1:MLYDBJR/dY4Wt7ZaMIQ7rXOTLjYrmxLE/5ve9vFfWos= cloud.google.com/go/spanner v1.44.0/go.mod h1:G8XIgYdOK+Fbcpbs7p2fiprDw4CaZX63whnSMLVBxjk= cloud.google.com/go/spanner v1.45.0/go.mod h1:FIws5LowYz8YAE1J8fOS7DJup8ff7xJeetWEo5REA2M= +cloud.google.com/go/spanner v1.47.0/go.mod h1:IXsJwVW2j4UKs0eYDqodab6HgGuA1bViSqW4uH9lfUI= cloud.google.com/go/speech v1.6.0/go.mod h1:79tcr4FHCimOp56lwC01xnt/WPJZc4v3gzyT7FoBkCM= cloud.google.com/go/speech v1.7.0/go.mod h1:KptqL+BAQIhMsj1kOP2la5DSEEerPDuOP/2mmkhHhZQ= cloud.google.com/go/speech v1.8.0/go.mod h1:9bYIl1/tjsAnMgKGHKmBZzXKEkGgtU+MpdDPTE9f7y0= cloud.google.com/go/speech v1.9.0/go.mod h1:xQ0jTcmnRFFM2RfX/U+rk6FQNUF6DQlydUSyoooSpco= cloud.google.com/go/speech v1.14.1/go.mod h1:gEosVRPJ9waG7zqqnsHpYTOoAS4KouMRLDFMekpJ0J0= cloud.google.com/go/speech v1.15.0/go.mod h1:y6oH7GhqCaZANH7+Oe0BhgIogsNInLlz542tg3VqeYI= +cloud.google.com/go/speech v1.17.1/go.mod h1:8rVNzU43tQvxDaGvqOhpDqgkJTFowBpDvCJ14kGlJYo= +cloud.google.com/go/speech v1.19.0/go.mod h1:8rVNzU43tQvxDaGvqOhpDqgkJTFowBpDvCJ14kGlJYo= cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= @@ -526,41 +668,52 @@ cloud.google.com/go/storage v1.23.0/go.mod h1:vOEEDNFnciUMhBeT6hsJIn3ieU5cFRmzeL cloud.google.com/go/storage v1.27.0/go.mod h1:x9DOL8TK/ygDUMieqwfhdpQryTeEkhGKMi80i/iqR2s= cloud.google.com/go/storage v1.28.1/go.mod h1:Qnisd4CqDdo6BGs2AD5LLnEsmSQ80wQ5ogcBBKhU86Y= cloud.google.com/go/storage v1.29.0/go.mod h1:4puEjyTKnku6gfKoTfNOU/W+a9JyuVNxjpS5GBrB8h4= +cloud.google.com/go/storage v1.30.1/go.mod h1:NfxhC0UJE1aXSx7CIIbCf7y9HKT7BiccwkR7+P7gN8E= cloud.google.com/go/storagetransfer v1.5.0/go.mod h1:dxNzUopWy7RQevYFHewchb29POFv3/AaBgnhqzqiK0w= cloud.google.com/go/storagetransfer v1.6.0/go.mod h1:y77xm4CQV/ZhFZH75PLEXY0ROiS7Gh6pSKrM8dJyg6I= cloud.google.com/go/storagetransfer v1.7.0/go.mod h1:8Giuj1QNb1kfLAiWM1bN6dHzfdlDAVC9rv9abHot2W4= cloud.google.com/go/storagetransfer v1.8.0/go.mod h1:JpegsHHU1eXg7lMHkvf+KE5XDJ7EQu0GwNJbbVGanEw= +cloud.google.com/go/storagetransfer v1.10.0/go.mod h1:DM4sTlSmGiNczmV6iZyceIh2dbs+7z2Ayg6YAiQlYfA= cloud.google.com/go/talent v1.1.0/go.mod h1:Vl4pt9jiHKvOgF9KoZo6Kob9oV4lwd/ZD5Cto54zDRw= cloud.google.com/go/talent v1.2.0/go.mod h1:MoNF9bhFQbiJ6eFD3uSsg0uBALw4n4gaCaEjBw9zo8g= cloud.google.com/go/talent v1.3.0/go.mod h1:CmcxwJ/PKfRgd1pBjQgU6W3YBwiewmUzQYH5HHmSCmM= cloud.google.com/go/talent v1.4.0/go.mod h1:ezFtAgVuRf8jRsvyE6EwmbTK5LKciD4KVnHuDEFmOOA= cloud.google.com/go/talent v1.5.0/go.mod h1:G+ODMj9bsasAEJkQSzO2uHQWXHHXUomArjWQQYkqK6c= +cloud.google.com/go/talent v1.6.2/go.mod h1:CbGvmKCG61mkdjcqTcLOkb2ZN1SrQI8MDyma2l7VD24= cloud.google.com/go/texttospeech v1.4.0/go.mod h1:FX8HQHA6sEpJ7rCMSfXuzBcysDAuWusNNNvN9FELDd8= cloud.google.com/go/texttospeech v1.5.0/go.mod h1:oKPLhR4n4ZdQqWKURdwxMy0uiTS1xU161C8W57Wkea4= cloud.google.com/go/texttospeech v1.6.0/go.mod h1:YmwmFT8pj1aBblQOI3TfKmwibnsfvhIBzPXcW4EBovc= +cloud.google.com/go/texttospeech v1.7.1/go.mod h1:m7QfG5IXxeneGqTapXNxv2ItxP/FS0hCZBwXYqucgSk= cloud.google.com/go/tpu v1.3.0/go.mod h1:aJIManG0o20tfDQlRIej44FcwGGl/cD0oiRyMKG19IQ= cloud.google.com/go/tpu v1.4.0/go.mod h1:mjZaX8p0VBgllCzF6wcU2ovUXN9TONFLd7iz227X2Xg= cloud.google.com/go/tpu v1.5.0/go.mod h1:8zVo1rYDFuW2l4yZVY0R0fb/v44xLh3llq7RuV61fPM= +cloud.google.com/go/tpu v1.6.1/go.mod h1:sOdcHVIgDEEOKuqUoi6Fq53MKHJAtOwtz0GuKsWSH3E= cloud.google.com/go/trace v1.3.0/go.mod h1:FFUE83d9Ca57C+K8rDl/Ih8LwOzWIV1krKgxg6N0G28= cloud.google.com/go/trace v1.4.0/go.mod h1:UG0v8UBqzusp+z63o7FK74SdFE+AXpCLdFb1rshXG+Y= cloud.google.com/go/trace v1.8.0/go.mod h1:zH7vcsbAhklH8hWFig58HvxcxyQbaIqMarMg9hn5ECA= cloud.google.com/go/trace v1.9.0/go.mod h1:lOQqpE5IaWY0Ixg7/r2SjixMuc6lfTFeO4QGM4dQWOk= +cloud.google.com/go/trace v1.10.1/go.mod h1:gbtL94KE5AJLH3y+WVpfWILmqgc6dXcqgNXdOPAQTYk= cloud.google.com/go/translate v1.3.0/go.mod h1:gzMUwRjvOqj5i69y/LYLd8RrNQk+hOmIXTi9+nb3Djs= cloud.google.com/go/translate v1.4.0/go.mod h1:06Dn/ppvLD6WvA5Rhdp029IX2Mi3Mn7fpMRLPvXT5Wg= cloud.google.com/go/translate v1.5.0/go.mod h1:29YDSYveqqpA1CQFD7NQuP49xymq17RXNaUDdc0mNu0= cloud.google.com/go/translate v1.6.0/go.mod h1:lMGRudH1pu7I3n3PETiOB2507gf3HnfLV8qlkHZEyos= cloud.google.com/go/translate v1.7.0/go.mod h1:lMGRudH1pu7I3n3PETiOB2507gf3HnfLV8qlkHZEyos= +cloud.google.com/go/translate v1.8.1/go.mod h1:d1ZH5aaOA0CNhWeXeC8ujd4tdCFw8XoNWRljklu5RHs= +cloud.google.com/go/translate v1.8.2/go.mod h1:d1ZH5aaOA0CNhWeXeC8ujd4tdCFw8XoNWRljklu5RHs= cloud.google.com/go/video v1.8.0/go.mod h1:sTzKFc0bUSByE8Yoh8X0mn8bMymItVGPfTuUBUyRgxk= cloud.google.com/go/video v1.9.0/go.mod h1:0RhNKFRF5v92f8dQt0yhaHrEuH95m068JYOvLZYnJSw= cloud.google.com/go/video v1.12.0/go.mod h1:MLQew95eTuaNDEGriQdcYn0dTwf9oWiA4uYebxM5kdg= cloud.google.com/go/video v1.13.0/go.mod h1:ulzkYlYgCp15N2AokzKjy7MQ9ejuynOJdf1tR5lGthk= cloud.google.com/go/video v1.14.0/go.mod h1:SkgaXwT+lIIAKqWAJfktHT/RbgjSuY6DobxEp0C5yTQ= cloud.google.com/go/video v1.15.0/go.mod h1:SkgaXwT+lIIAKqWAJfktHT/RbgjSuY6DobxEp0C5yTQ= +cloud.google.com/go/video v1.17.1/go.mod h1:9qmqPqw/Ib2tLqaeHgtakU+l5TcJxCJbhFXM7UJjVzU= +cloud.google.com/go/video v1.19.0/go.mod h1:9qmqPqw/Ib2tLqaeHgtakU+l5TcJxCJbhFXM7UJjVzU= cloud.google.com/go/videointelligence v1.6.0/go.mod h1:w0DIDlVRKtwPCn/C4iwZIJdvC69yInhW0cfi+p546uU= cloud.google.com/go/videointelligence v1.7.0/go.mod h1:k8pI/1wAhjznARtVT9U1llUaFNPh7muw8QyOUpavru4= cloud.google.com/go/videointelligence v1.8.0/go.mod h1:dIcCn4gVDdS7yte/w+koiXn5dWVplOZkE+xwG9FgK+M= cloud.google.com/go/videointelligence v1.9.0/go.mod h1:29lVRMPDYHikk3v8EdPSaL8Ku+eMzDljjuvRs105XoU= cloud.google.com/go/videointelligence v1.10.0/go.mod h1:LHZngX1liVtUhZvi2uNS0VQuOzNi2TkY1OakiuoUOjU= +cloud.google.com/go/videointelligence v1.11.1/go.mod h1:76xn/8InyQHarjTWsBR058SmlPCwQjgcvoW0aZykOvo= cloud.google.com/go/vision v1.2.0/go.mod h1:SmNwgObm5DpFBme2xpyOyasvBc1aPdjvMk2bBk0tKD0= cloud.google.com/go/vision/v2 v2.2.0/go.mod h1:uCdV4PpN1S0jyCyq8sIM42v2Y6zOLkZs+4R9LrGYwFo= cloud.google.com/go/vision/v2 v2.3.0/go.mod h1:UO61abBx9QRMFkNBbf1D8B1LXdS2cGiiCRx0vSpZoUo= @@ -568,29 +721,37 @@ cloud.google.com/go/vision/v2 v2.4.0/go.mod h1:VtI579ll9RpVTrdKdkMzckdnwMyX2JILb cloud.google.com/go/vision/v2 v2.5.0/go.mod h1:MmaezXOOE+IWa+cS7OhRRLK2cNv1ZL98zhqFFZaaH2E= cloud.google.com/go/vision/v2 v2.6.0/go.mod h1:158Hes0MvOS9Z/bDMSFpjwsUrZ5fPrdwuyyvKSGAGMY= cloud.google.com/go/vision/v2 v2.7.0/go.mod h1:H89VysHy21avemp6xcf9b9JvZHVehWbET0uT/bcuY/0= +cloud.google.com/go/vision/v2 v2.7.2/go.mod h1:jKa8oSYBWhYiXarHPvP4USxYANYUEdEsQrloLjrSwJU= cloud.google.com/go/vmmigration v1.2.0/go.mod h1:IRf0o7myyWFSmVR1ItrBSFLFD/rJkfDCUTO4vLlJvsE= cloud.google.com/go/vmmigration v1.3.0/go.mod h1:oGJ6ZgGPQOFdjHuocGcLqX4lc98YQ7Ygq8YQwHh9A7g= cloud.google.com/go/vmmigration v1.5.0/go.mod h1:E4YQ8q7/4W9gobHjQg4JJSgXXSgY21nA5r8swQV+Xxc= cloud.google.com/go/vmmigration v1.6.0/go.mod h1:bopQ/g4z+8qXzichC7GW1w2MjbErL54rk3/C843CjfY= +cloud.google.com/go/vmmigration v1.7.1/go.mod h1:WD+5z7a/IpZ5bKK//YmT9E047AD+rjycCAvyMxGJbro= cloud.google.com/go/vmwareengine v0.1.0/go.mod h1:RsdNEf/8UDvKllXhMz5J40XxDrNJNN4sagiox+OI208= cloud.google.com/go/vmwareengine v0.2.2/go.mod h1:sKdctNJxb3KLZkE/6Oui94iw/xs9PRNC2wnNLXsHvH8= cloud.google.com/go/vmwareengine v0.3.0/go.mod h1:wvoyMvNWdIzxMYSpH/R7y2h5h3WFkx6d+1TIsP39WGY= +cloud.google.com/go/vmwareengine v0.4.1/go.mod h1:Px64x+BvjPZwWuc4HdmVhoygcXqEkGHXoa7uyfTgSI0= +cloud.google.com/go/vmwareengine v1.0.0/go.mod h1:Px64x+BvjPZwWuc4HdmVhoygcXqEkGHXoa7uyfTgSI0= cloud.google.com/go/vpcaccess v1.4.0/go.mod h1:aQHVbTWDYUR1EbTApSVvMq1EnT57ppDmQzZ3imqIk4w= cloud.google.com/go/vpcaccess v1.5.0/go.mod h1:drmg4HLk9NkZpGfCmZ3Tz0Bwnm2+DKqViEpeEpOq0m8= cloud.google.com/go/vpcaccess v1.6.0/go.mod h1:wX2ILaNhe7TlVa4vC5xce1bCnqE3AeH27RV31lnmZes= +cloud.google.com/go/vpcaccess v1.7.1/go.mod h1:FogoD46/ZU+JUBX9D606X21EnxiszYi2tArQwLY4SXs= cloud.google.com/go/webrisk v1.4.0/go.mod h1:Hn8X6Zr+ziE2aNd8SliSDWpEnSS1u4R9+xXZmFiHmGE= cloud.google.com/go/webrisk v1.5.0/go.mod h1:iPG6fr52Tv7sGk0H6qUFzmL3HHZev1htXuWDEEsqMTg= cloud.google.com/go/webrisk v1.6.0/go.mod h1:65sW9V9rOosnc9ZY7A7jsy1zoHS5W9IAXv6dGqhMQMc= cloud.google.com/go/webrisk v1.7.0/go.mod h1:mVMHgEYH0r337nmt1JyLthzMr6YxwN1aAIEc2fTcq7A= cloud.google.com/go/webrisk v1.8.0/go.mod h1:oJPDuamzHXgUc+b8SiHRcVInZQuybnvEW72PqTc7sSg= +cloud.google.com/go/webrisk v1.9.1/go.mod h1:4GCmXKcOa2BZcZPn6DCEvE7HypmEJcJkr4mtM+sqYPc= cloud.google.com/go/websecurityscanner v1.3.0/go.mod h1:uImdKm2wyeXQevQJXeh8Uun/Ym1VqworNDlBXQevGMo= cloud.google.com/go/websecurityscanner v1.4.0/go.mod h1:ebit/Fp0a+FWu5j4JOmJEV8S8CzdTkAS77oDsiSqYWQ= cloud.google.com/go/websecurityscanner v1.5.0/go.mod h1:Y6xdCPy81yi0SQnDY1xdNTNpfY1oAgXUlcfN3B3eSng= +cloud.google.com/go/websecurityscanner v1.6.1/go.mod h1:Njgaw3rttgRHXzwCB8kgCYqv5/rGpFCsBOvPbYgszpg= cloud.google.com/go/workflows v1.6.0/go.mod h1:6t9F5h/unJz41YqfBmqSASJSXccBLtD1Vwf+KmJENM0= cloud.google.com/go/workflows v1.7.0/go.mod h1:JhSrZuVZWuiDfKEFxU0/F1PQjmpnpcoISEXH2bcHC3M= cloud.google.com/go/workflows v1.8.0/go.mod h1:ysGhmEajwZxGn1OhGOGKsTXc5PyxOc0vfKf5Af+to4M= cloud.google.com/go/workflows v1.9.0/go.mod h1:ZGkj1aFIOd9c8Gerkjjq7OW7I5+l6cSvT3ujaO/WwSA= cloud.google.com/go/workflows v1.10.0/go.mod h1:fZ8LmRmZQWacon9UCX1r/g/DfAXx5VcPALq2CxzdePw= +cloud.google.com/go/workflows v1.11.1/go.mod h1:Z+t10G1wF7h8LgdY/EmRcQY8ptBD/nvofaL6FqlET6g= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= gioui.org v0.0.0-20210308172011-57750fc8a0a6/go.mod h1:RSH6KIUZ0p2xy5zHDxgAM4zumjgTw83q2ge/PI+yyw8= git.sr.ht/~sbinet/gg v0.3.1/go.mod h1:KGYtlADtqsqANL9ueOFkWymvzUvLMQllU5Ixo+8v3pc= @@ -606,6 +767,7 @@ github.com/andybalholm/brotli v1.0.4/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHG github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= github.com/apache/arrow/go/v10 v10.0.1/go.mod h1:YvhnlEePVnBS4+0z3fhPfUy7W1Ikj0Ih0vcRo/gZ1M0= github.com/apache/arrow/go/v11 v11.0.0/go.mod h1:Eg5OsL5H+e299f7u5ssuXsuHQVEGC4xei5aX110hRiI= +github.com/apache/arrow/go/v12 v12.0.0/go.mod h1:d+tV/eHZZ7Dz7RPrFKtPK02tpr+c9/PEd/zm8mDS9Vg= github.com/apache/thrift v0.16.0/go.mod h1:PHK3hniurgQaNMZYaCLEqXKsYK8upmhPbmdP2FXSqgU= github.com/boombuler/barcode v1.0.0/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl3JlRe0mD8= github.com/boombuler/barcode v1.0.1/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl3JlRe0mD8= @@ -632,6 +794,7 @@ github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20220314180256-7f1daf1720fc/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20230105202645-06c439db220b/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20230310173818-32f1caf87195/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20230607035331-e9ce68804cb4/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/coreos/go-oidc/v3 v3.1.0 h1:6avEvcdvTa1qYsOZ6I5PRkSYHzpTNWgKYmaJfaYbrRw= github.com/coreos/go-oidc/v3 v3.1.0/go.mod h1:rEJ/idjfUyfkBit1eI1fvyr+64/g9dcKpAm8MJMesvo= github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= @@ -643,6 +806,7 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= +github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto= github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= @@ -654,10 +818,12 @@ github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go. github.com/envoyproxy/go-control-plane v0.10.2-0.20220325020618-49ff273808a1/go.mod h1:KJwIaB5Mv44NWtYuAOFCVOjcI94vtpEz2JU/D2v6IjE= github.com/envoyproxy/go-control-plane v0.10.3/go.mod h1:fJJn/j26vwOu972OllsvAgJJM//w9BV6Fxbg2LuVd34= github.com/envoyproxy/go-control-plane v0.11.0/go.mod h1:VnHyVMpzcLvCFt9yUz1UnCwHLhwx1WguiVDV7pTG/tI= +github.com/envoyproxy/go-control-plane v0.11.1-0.20230524094728-9239064ad72f/go.mod h1:sfYdkwUW4BA3PbKjySwjJy+O4Pu0h62rlqCMHNk+K+Q= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/envoyproxy/protoc-gen-validate v0.6.7/go.mod h1:dyJXwwfPK2VSqiB9Klm1J6romD608Ba7Hij42vrOBCo= github.com/envoyproxy/protoc-gen-validate v0.9.1/go.mod h1:OKNgG7TCp5pF4d6XftA0++PMirau2/yoOwVac3AbF2w= github.com/envoyproxy/protoc-gen-validate v0.10.0/go.mod h1:DRjgyB0I43LtJapqN6NiRwroiAU2PaFuvk/vjgh61ss= +github.com/envoyproxy/protoc-gen-validate v0.10.1/go.mod h1:DRjgyB0I43LtJapqN6NiRwroiAU2PaFuvk/vjgh61ss= github.com/fogleman/gg v1.2.1-0.20190220221249-0403632d5b90/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k= github.com/fogleman/gg v1.3.0/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= @@ -692,6 +858,7 @@ github.com/golang/glog v1.1.0/go.mod h1:pfYeQZ3JWZoXTV5sFc986z3HTpwQs9At6P4ImfuP github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= @@ -762,6 +929,9 @@ github.com/google/pprof v0.0.0-20210601050228-01bbb1931b22/go.mod h1:kpwsk12EmLe github.com/google/pprof v0.0.0-20210609004039-a478d1d731e9/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= +github.com/google/s2a-go v0.1.0/go.mod h1:OJpEgntRZo8ugHpF9hkoLJbS5dSI20XZeXJ9JVywLlM= +github.com/google/s2a-go v0.1.3/go.mod h1:Ej+mSEMGRnqRzjc7VtF+jdBwYG5fuJfiZ8ELkjEwM0A= +github.com/google/s2a-go v0.1.4/go.mod h1:Ej+mSEMGRnqRzjc7VtF+jdBwYG5fuJfiZ8ELkjEwM0A= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/googleapis/enterprise-certificate-proxy v0.0.0-20220520183353-fd19c99a87aa/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= @@ -780,6 +950,9 @@ github.com/googleapis/gax-go/v2 v2.5.1/go.mod h1:h6B0KMMFNtI2ddbGJn3T3ZbwkeT6yqE github.com/googleapis/gax-go/v2 v2.6.0/go.mod h1:1mjbznJAPHFpesgE5ucqfYEscaz5kMdcIDwU/6+DDoY= github.com/googleapis/gax-go/v2 v2.7.0/go.mod h1:TEop28CZZQ2y+c0VxMUmu1lV+fQx57QpBWsYpwqHJx8= github.com/googleapis/gax-go/v2 v2.7.1/go.mod h1:4orTrqY6hXxxaUL4LHIPl6lGo8vAE38/qKbhSAKP6QI= +github.com/googleapis/gax-go/v2 v2.8.0/go.mod h1:4orTrqY6hXxxaUL4LHIPl6lGo8vAE38/qKbhSAKP6QI= +github.com/googleapis/gax-go/v2 v2.10.0/go.mod h1:4UOEnMCrxsSqQ940WnTiD6qJ63le2ev3xfyagutxiPw= +github.com/googleapis/gax-go/v2 v2.11.0/go.mod h1:DxmR61SGKkGLa2xigwuZIQpkCI2S5iydzRfb3peWZJI= github.com/googleapis/go-type-adapters v1.0.0/go.mod h1:zHW75FOG2aur7gAO2B+MLby+cLsWGBF62rFAi7WjWO4= github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= github.com/gorilla/securecookie v1.1.1 h1:miw7JPhV+b/lAHSXz4qd/nN9jRiAFV5FwjeKyCS8BvQ= @@ -822,9 +995,11 @@ github.com/mattn/go-colorable v0.1.12 h1:jF+Du6AlPIjs2BiUiQlKOX0rt3SujHxPnksPKZb github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= -github.com/mattn/go-isatty v0.0.16 h1:bq3VjFmv/sOjHtdEhmkEV4x1AJtvUvOJ2PFAZ5+peKQ= github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= +github.com/mattn/go-isatty v0.0.17 h1:BTarxUcIeDqL27Mc+vyvdWYSL28zpIhv3RoTdsLMPng= +github.com/mattn/go-isatty v0.0.17/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= github.com/mattn/go-sqlite3 v1.14.14/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU= +github.com/mattn/go-sqlite3 v1.14.15/go.mod h1:2eHXhiwb8IkHr+BDWZGa96P6+rkvnG63S2DGjv9HUNg= github.com/minio/asm2plan9s v0.0.0-20200509001527-cdd76441f9d8/go.mod h1:mC1jAcsrzbxHt8iiaC+zU4b1ylILSosueou12R++wfY= github.com/minio/c2goasm v0.0.0-20190812172519-36a3d3bbc4f3/go.mod h1:RagcQ7I8IeTMnF8JTXieKnO4Z6JCsikNEzj0DwauVzE= github.com/phpdave11/gofpdf v1.4.2/go.mod h1:zpO6xFn9yxo3YLyMvW8HcKWVdbNqgIfOOp2dXMnm1mY= @@ -842,6 +1017,7 @@ github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1: github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.3.0/go.mod h1:LDGWKZIo7rky3hgvBe+caln+Dr3dPggB5dvjtD7w9+w= github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= +github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= @@ -868,8 +1044,10 @@ github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/stretchr/testify v1.8.3 h1:RP3t2pwF7cMEbC1dqtB6poj3niw/9gnV4Cjg5oW5gtY= +github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= +github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/temporalio/grpc-gateway v1.17.0 h1:OTX4OP39TfV4/FSo9OkeF7g8KkirDlhu8dmELzRdRvk= github.com/temporalio/grpc-gateway v1.17.0/go.mod h1:ahEN4bs7da8rI4DJqn1xL0d83Djiau/rnZUztjeGdOI= github.com/urfave/cli/v2 v2.3.0 h1:qph92Y649prgesehzOrQjdWyxFOp/QVM+6imKHad91M= @@ -898,8 +1076,8 @@ go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo= go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= go.opentelemetry.io/proto/otlp v0.15.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U= go.opentelemetry.io/proto/otlp v0.19.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U= -go.temporal.io/api v1.21.0 h1:l2HrMI/gE5JwFu9wgmZdofBIQ5MzziOEBs8mnbJUcJs= -go.temporal.io/api v1.21.0/go.mod h1:xlsUEakkN2vU2/WV7e5NqMG4N93nfuNfvbXdaXUpU8w= +go.temporal.io/api v1.24.0 h1:WWjMYSXNh4+T4Y4jq1e/d9yCNnWoHhq4bIwflHY6fic= +go.temporal.io/api v1.24.0/go.mod h1:4ackgCMjQHMpJYr1UQ6Tr/nknIqFkJ6dZ/SZsGv+St0= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= @@ -909,8 +1087,12 @@ golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPh golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.1.0 h1:MDRAIl0xIo9Io2xV565hzXHw3zVseKrJKodhohM5CjU= +golang.org/x/crypto v0.0.0-20220314234659-1baeb1ce4c0b/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.1.0/go.mod h1:RecgLatLF4+eUMCP1PoPZQb+cVrJcOPbHkTkbkB9sbw= +golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU= +golang.org/x/crypto v0.9.0/go.mod h1:yrmDGqONDYtNj3tH8X9dzUun2m2lzPa9ngI6/RUPGR0= +golang.org/x/crypto v0.12.0 h1:tFM/ta59kqch6LlvYnPa0yx5a83cL2nHflFhYKvv9Yk= +golang.org/x/crypto v0.12.0/go.mod h1:NF0Gs7EO5K4qLn+Ylc+fih8BSTeIjAP05siRnAh98yw= golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= @@ -968,6 +1150,7 @@ golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91 golang.org/x/mod v0.7.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.9.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.10.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -1007,6 +1190,7 @@ golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96b golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210813160813-60bc85c4be6d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/net v0.0.0-20220325170049-de3da57026de/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= @@ -1019,14 +1203,17 @@ golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug golang.org/x/net v0.0.0-20220909164309-bea034e7d591/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.0.0-20221012135044-0b7e1fb9d458/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.0.0-20221014081412-f15817d10f9b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= +golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= golang.org/x/net v0.4.0/go.mod h1:MBQ8lrhLObU/6UmLb4fmbmk5OcyYmqtbGd/9yIeKjEE= golang.org/x/net v0.5.0/go.mod h1:DivGGAXEgPSlEBzxGzZI+ZLohi+xUj054jfeKui00ws= golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= -golang.org/x/net v0.10.0 h1:X2//UzNDwYmtCLn7To6G58Wr6f5ahEAQgKNzv9Y951M= +golang.org/x/net v0.9.0/go.mod h1:d48xBJpPfHeWQsugry2m+kC02ZBRGRgulfHnEXEuWns= golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= +golang.org/x/net v0.14.0 h1:BONx9s002vGdD9umnlX1Po8vOZmrgH34qlHcD1MfK14= +golang.org/x/net v0.14.0/go.mod h1:PpSgVXXLK0OxS0F31C1/tv6XNguvCrnXIDrFMspZIUI= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -1054,8 +1241,10 @@ golang.org/x/oauth2 v0.0.0-20221006150949-b44042a4b9c1/go.mod h1:h4gKUeWbJ4rQPri golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= golang.org/x/oauth2 v0.4.0/go.mod h1:RznEsdpjGAINPTOF0UH/t+xJ75L18YO3Ho6Pyn+uRec= golang.org/x/oauth2 v0.5.0/go.mod h1:9/XBHVqLaWO3/BRHs5jbpYCnOZVjj5V0ndyaAM7KB4I= -golang.org/x/oauth2 v0.6.0 h1:Lh8GPgSKBfWSwFvtuWOfeI3aAAnbXTSutYxJiOJFgIw= golang.org/x/oauth2 v0.6.0/go.mod h1:ycmewcwgD4Rpr3eZJLSB4Kyyljb3qDh40vJ8STE5HKw= +golang.org/x/oauth2 v0.7.0/go.mod h1:hPLQkd9LyjfXTiRohC/41GhcFqxisoUQ99sCUOHO9x4= +golang.org/x/oauth2 v0.8.0 h1:6dkIjl3j3LtZ/O3sTgZTMsLKSftL/B8Zgq4huOIIUu8= +golang.org/x/oauth2 v0.8.0/go.mod h1:yr7u4HXZRm1R1kBWqr/xKNqewf0plRYoB7sla+BCIXE= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -1072,6 +1261,7 @@ golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20220819030929-7fc1605a5dde/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220929204114-8fcdb60fdcc0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.2.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -1145,21 +1335,27 @@ golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220829200755-d48e67d00261/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.4.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.8.0 h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU= +golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.11.0 h1:eG7RXZHdqOJ1i+0lgLgCpSXAp6M3LYlAo6osgSi0xOM= +golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= +golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= golang.org/x/term v0.3.0/go.mod h1:q750SLmJuPmVoN1blW3UFBPREJfb1KmY3vwxfr+nFDA= golang.org/x/term v0.4.0/go.mod h1:9P2UbLfCdcvo3p/nzKvsmas4TnlujnuoV9hGgYzW1lQ= golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= +golang.org/x/term v0.7.0/go.mod h1:P32HKFT3hSsZrRxla30E9HqToFYAQPCMs/zFMBUFqPY= golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= +golang.org/x/term v0.11.0/go.mod h1:zC9APTIj3jG3FdV/Ons+XE1riIZXG4aZ4GTHiPZJPIU= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -1175,8 +1371,9 @@ golang.org/x/text v0.5.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.6.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= -golang.org/x/text v0.9.0 h1:2sjJmO8cDvYveuX97RDLsxlyUxLl+GHoLxBiRdHllBE= golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= +golang.org/x/text v0.12.0 h1:k+n5B8goJNdU7hSvEtMUz3d1Q6D/XW4COJSJR6fN0mc= +golang.org/x/text v0.12.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -1247,6 +1444,7 @@ golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc golang.org/x/tools v0.3.0/go.mod h1:/rWhSS2+zyEVwoJf8YAX6L2f0ntZ7Kn/mGgAWcipA5k= golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= golang.org/x/tools v0.7.0/go.mod h1:4pg6aUX35JBAogB10C9AtvVL+qowtN4pT3CGSQex14s= +golang.org/x/tools v0.9.1/go.mod h1:owI94Op576fPu3cIGQeHs3joujW/2Oc6MtlxbF5dfNc= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -1320,6 +1518,11 @@ google.golang.org/api v0.108.0/go.mod h1:2Ts0XTHNVWxypznxWOYUeI4g3WdP9Pk2Qk58+a/ google.golang.org/api v0.110.0/go.mod h1:7FC4Vvx1Mooxh8C5HWjzZHcavuS2f6pmJpZx60ca7iI= google.golang.org/api v0.111.0/go.mod h1:qtFHvU9mhgTJegR31csQ+rwxyUTHOKFqCKWp1J0fdw0= google.golang.org/api v0.114.0/go.mod h1:ifYI2ZsFK6/uGddGfAD5BMxlnkBqCmqHSDUVi45N5Yg= +google.golang.org/api v0.118.0/go.mod h1:76TtD3vkgmZ66zZzp72bUUklpmQmKlhh6sYtIjYK+5E= +google.golang.org/api v0.122.0/go.mod h1:gcitW0lvnyWjSp9nKxAbdHKIZ6vF4aajGueeslZOyms= +google.golang.org/api v0.124.0/go.mod h1:xu2HQurE5gi/3t1aFCvhPD781p0a3p11sdunTJ2BlP4= +google.golang.org/api v0.125.0/go.mod h1:mBwVAtz+87bEN6CbA1GtZPDOqY2R5ONPqJeIlvyo4Aw= +google.golang.org/api v0.126.0/go.mod h1:mBwVAtz+87bEN6CbA1GtZPDOqY2R5ONPqJeIlvyo4Aw= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= @@ -1460,8 +1663,38 @@ google.golang.org/genproto v0.0.0-20230320184635-7606e756e683/go.mod h1:NWraEVix google.golang.org/genproto v0.0.0-20230323212658-478b75c54725/go.mod h1:UUQDJDOlWu4KYeJZffbWgBkS1YFobzKbLVfK69pe0Ak= google.golang.org/genproto v0.0.0-20230330154414-c0448cd141ea/go.mod h1:UUQDJDOlWu4KYeJZffbWgBkS1YFobzKbLVfK69pe0Ak= google.golang.org/genproto v0.0.0-20230331144136-dcfb400f0633/go.mod h1:UUQDJDOlWu4KYeJZffbWgBkS1YFobzKbLVfK69pe0Ak= -google.golang.org/genproto v0.0.0-20230525154841-bd750badd5c6 h1:62QuyPXKEkZpjZesyj5K5jABl6MnSnWl+vNuT5oz90E= -google.golang.org/genproto v0.0.0-20230525154841-bd750badd5c6/go.mod h1:nKE/iIaLqn2bQwXBg8f1g2Ylh6r5MN5CmZvuzZCgsCU= +google.golang.org/genproto v0.0.0-20230403163135-c38d8f061ccd/go.mod h1:UUQDJDOlWu4KYeJZffbWgBkS1YFobzKbLVfK69pe0Ak= +google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1/go.mod h1:nKE/iIaLqn2bQwXBg8f1g2Ylh6r5MN5CmZvuzZCgsCU= +google.golang.org/genproto v0.0.0-20230525234025-438c736192d0/go.mod h1:9ExIQyXL5hZrHzQceCwuSYwZZ5QZBazOcprJ5rgs3lY= +google.golang.org/genproto v0.0.0-20230526161137-0005af68ea54/go.mod h1:zqTuNwFlFRsw5zIts5VnzLQxSRqh+CGOTVMlYbY0Eyk= +google.golang.org/genproto v0.0.0-20230530153820-e85fd2cbaebc/go.mod h1:xZnkP7mREFX5MORlOPEzLMr+90PPZQ2QWzrVTWfAq64= +google.golang.org/genproto v0.0.0-20230629202037-9506855d4529/go.mod h1:xZnkP7mREFX5MORlOPEzLMr+90PPZQ2QWzrVTWfAq64= +google.golang.org/genproto v0.0.0-20230706204954-ccb25ca9f130/go.mod h1:O9kGHb51iE/nOGvQaDUuadVYqovW56s5emA88lQnj6Y= +google.golang.org/genproto v0.0.0-20230726155614-23370e0ffb3e/go.mod h1:0ggbjUrZYpy1q+ANUS30SEoGZ53cdfwtbuG7Ptgy108= +google.golang.org/genproto v0.0.0-20230803162519-f966b187b2e5/go.mod h1:oH/ZOT02u4kWEp7oYBGYFFkCdKS/uYR9Z7+0/xuuFp8= +google.golang.org/genproto v0.0.0-20230815205213-6bfd019c3878 h1:Iveh6tGCJkHAjJgEqUQYGDGgbwmhjoAOz8kO/ajxefY= +google.golang.org/genproto v0.0.0-20230815205213-6bfd019c3878/go.mod h1:yZTlhN0tQnXo3h00fuXNCxJdLdIdnVFVBaRJ5LWBbw4= +google.golang.org/genproto/googleapis/api v0.0.0-20230525234020-1aefcd67740a/go.mod h1:ts19tUU+Z0ZShN1y3aPyq2+O3d5FUNNgT6FtOzmrNn8= +google.golang.org/genproto/googleapis/api v0.0.0-20230525234035-dd9d682886f9/go.mod h1:vHYtlOoi6TsQ3Uk2yxR7NI5z8uoV+3pZtR4jmHIkRig= +google.golang.org/genproto/googleapis/api v0.0.0-20230526203410-71b5a4ffd15e/go.mod h1:vHYtlOoi6TsQ3Uk2yxR7NI5z8uoV+3pZtR4jmHIkRig= +google.golang.org/genproto/googleapis/api v0.0.0-20230530153820-e85fd2cbaebc/go.mod h1:vHYtlOoi6TsQ3Uk2yxR7NI5z8uoV+3pZtR4jmHIkRig= +google.golang.org/genproto/googleapis/api v0.0.0-20230629202037-9506855d4529/go.mod h1:vHYtlOoi6TsQ3Uk2yxR7NI5z8uoV+3pZtR4jmHIkRig= +google.golang.org/genproto/googleapis/api v0.0.0-20230706204954-ccb25ca9f130/go.mod h1:mPBs5jNgx2GuQGvFwUvVKqtn6HsUw9nP64BedgvqEsQ= +google.golang.org/genproto/googleapis/api v0.0.0-20230726155614-23370e0ffb3e/go.mod h1:rsr7RhLuwsDKL7RmgDDCUc6yaGr1iqceVb5Wv6f6YvQ= +google.golang.org/genproto/googleapis/api v0.0.0-20230803162519-f966b187b2e5/go.mod h1:5DZzOUPCLYL3mNkQ0ms0F3EuUNZ7py1Bqeq6sxzI7/Q= +google.golang.org/genproto/googleapis/api v0.0.0-20230815205213-6bfd019c3878 h1:WGq4lvB/mlicysM/dUT3SBvijH4D3sm/Ny1A4wmt2CI= +google.golang.org/genproto/googleapis/api v0.0.0-20230815205213-6bfd019c3878/go.mod h1:KjSP20unUpOx5kyQUFa7k4OJg0qeJ7DEZflGDu2p6Bk= +google.golang.org/genproto/googleapis/bytestream v0.0.0-20230530153820-e85fd2cbaebc/go.mod h1:ylj+BE99M198VPbBh6A8d9n3w8fChvyLK3wwBOjXBFA= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234015-3fc162c6f38a/go.mod h1:xURIpW9ES5+/GZhnV6beoEtxQrnkRGIfP5VQG2tCBLc= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234030-28d5490b6b19/go.mod h1:66JfowdXAEgad5O9NnYcsNPLCPZJD++2L9X0PCMODrA= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230526203410-71b5a4ffd15e/go.mod h1:66JfowdXAEgad5O9NnYcsNPLCPZJD++2L9X0PCMODrA= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230530153820-e85fd2cbaebc/go.mod h1:66JfowdXAEgad5O9NnYcsNPLCPZJD++2L9X0PCMODrA= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230629202037-9506855d4529/go.mod h1:66JfowdXAEgad5O9NnYcsNPLCPZJD++2L9X0PCMODrA= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130/go.mod h1:8mL13HKkDa+IuJ8yruA3ci0q+0vsUz4m//+ottjwS5o= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230731190214-cbb8c96f2d6d/go.mod h1:TUfxEVdsvPg18p6AslUXFoLdpED4oBnGwyqk3dV1XzM= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230803162519-f966b187b2e5/go.mod h1:zBEcrKX2ZOcEkHWxBPAIvYUWOKKMIhYcmNiUIu2ji3I= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230815205213-6bfd019c3878 h1:lv6/DhyiFFGsmzxbsUUTOkN29II+zeWHxvT8Lpdxsv0= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230815205213-6bfd019c3878/go.mod h1:+Bk1OCOj40wS2hwAMA+aCW9ypzm63QTBBHp6lQ3p+9M= google.golang.org/grpc v1.12.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.19.1/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= @@ -1502,10 +1735,13 @@ google.golang.org/grpc v1.50.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCD google.golang.org/grpc v1.50.1/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= google.golang.org/grpc v1.51.0/go.mod h1:wgNDFcnuBGmxLKI/qn4T+m5BtEBYXJPvibbUPsAIPww= google.golang.org/grpc v1.52.0/go.mod h1:pu6fVzoFb+NBYNAvQL08ic+lvB2IojljRYuun5vorUY= +google.golang.org/grpc v1.52.3/go.mod h1:pu6fVzoFb+NBYNAvQL08ic+lvB2IojljRYuun5vorUY= google.golang.org/grpc v1.53.0/go.mod h1:OnIrk0ipVdj4N5d9IUoFUx72/VlD7+jUsHwZgwSMQpw= google.golang.org/grpc v1.54.0/go.mod h1:PUSEXI6iWghWaB6lXM4knEgpJNu2qUcKfDtNci3EC2g= -google.golang.org/grpc v1.55.0 h1:3Oj82/tFSCeUrRTg/5E/7d/W5A1tj6Ky1ABAuZuv5ag= google.golang.org/grpc v1.55.0/go.mod h1:iYEXKGkEBhg1PjZQvoYEVPTDkHo1/bjTnfwTeGONTY8= +google.golang.org/grpc v1.56.2/go.mod h1:I9bI3vqKfayGqPUAwGdOSu7kt6oIJLixfffKrpXqQ9s= +google.golang.org/grpc v1.57.0 h1:kfzNeI/klCGD2YPMUlaGNT3pxvYfga7smW3Vth8Zsiw= +google.golang.org/grpc v1.57.0/go.mod h1:Sd+9RMTACXwmub0zcNY2c4arhtrbBYD1AUHI/dt16Mo= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= @@ -1523,8 +1759,9 @@ google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQ google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.29.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -google.golang.org/protobuf v1.30.0 h1:kPPoIgf3TsEvrm0PFe15JQ+570QVxYzEvvHqChK+cng= google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8= +google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= @@ -1554,12 +1791,17 @@ lukechampine.com/uint128 v1.2.0/go.mod h1:c4eWIwlEGaxC/+H1VguhU4PHXNWDCDMUlWdIWl modernc.org/cc/v3 v3.36.0/go.mod h1:NFUHyPn4ekoC/JHeZFfZurN6ixxawE1BnVonP/oahEI= modernc.org/cc/v3 v3.36.2/go.mod h1:NFUHyPn4ekoC/JHeZFfZurN6ixxawE1BnVonP/oahEI= modernc.org/cc/v3 v3.36.3/go.mod h1:NFUHyPn4ekoC/JHeZFfZurN6ixxawE1BnVonP/oahEI= +modernc.org/cc/v3 v3.37.0/go.mod h1:vtL+3mdHx/wcj3iEGz84rQa8vEqR6XM84v5Lcvfph20= +modernc.org/cc/v3 v3.40.0/go.mod h1:/bTg4dnWkSXowUO6ssQKnOV0yMVxDYNIsIrzqTFDGH0= modernc.org/ccgo/v3 v3.0.0-20220428102840-41399a37e894/go.mod h1:eI31LL8EwEBKPpNpA4bU1/i+sKOwOrQy8D87zWUcRZc= modernc.org/ccgo/v3 v3.0.0-20220430103911-bc99d88307be/go.mod h1:bwdAnOoaIt8Ax9YdWGjxWsdkPcZyRPHqrOvJxaKAKGw= +modernc.org/ccgo/v3 v3.0.0-20220904174949-82d86e1b6d56/go.mod h1:YSXjPL62P2AMSxBphRHPn7IkzhVHqkvOnRKAKh+W6ZI= modernc.org/ccgo/v3 v3.16.4/go.mod h1:tGtX0gE9Jn7hdZFeU88slbTh1UtCYKusWOoCJuvkWsQ= modernc.org/ccgo/v3 v3.16.6/go.mod h1:tGtX0gE9Jn7hdZFeU88slbTh1UtCYKusWOoCJuvkWsQ= modernc.org/ccgo/v3 v3.16.8/go.mod h1:zNjwkizS+fIFDrDjIAgBSCLkWbJuHF+ar3QRn+Z9aws= modernc.org/ccgo/v3 v3.16.9/go.mod h1:zNMzC9A9xeNUepy6KuZBbugn3c0Mc9TeiJO4lgvkJDo= +modernc.org/ccgo/v3 v3.16.13-0.20221017192402-261537637ce8/go.mod h1:fUB3Vn0nVPReA+7IG7yZDfjv1TMWjhQP8gCxrFAtL5g= +modernc.org/ccgo/v3 v3.16.13/go.mod h1:2Quk+5YgpImhPjv2Qsob1DnZ/4som1lJTodubIcoUkY= modernc.org/ccorpus v1.11.6/go.mod h1:2gEUTrWqdpH2pXsmTM1ZkjeSrUWDpjMu2T6m29L/ErQ= modernc.org/httpfs v1.0.6/go.mod h1:7dosgurJGp0sPaRanU53W4xZYKh14wfzX420oZADeHM= modernc.org/libc v0.0.0-20220428101251-2d5f3daf273b/go.mod h1:p7Mg4+koNjc8jkqwcoFBJx7tXkpj00G77X7A72jXPXA= @@ -1569,19 +1811,31 @@ modernc.org/libc v1.16.17/go.mod h1:hYIV5VZczAmGZAnG15Vdngn5HSF5cSkbvfz2B7GRuVU= modernc.org/libc v1.16.19/go.mod h1:p7Mg4+koNjc8jkqwcoFBJx7tXkpj00G77X7A72jXPXA= modernc.org/libc v1.17.0/go.mod h1:XsgLldpP4aWlPlsjqKRdHPqCxCjISdHfM/yeWC5GyW0= modernc.org/libc v1.17.1/go.mod h1:FZ23b+8LjxZs7XtFMbSzL/EhPxNbfZbErxEHc7cbD9s= +modernc.org/libc v1.17.4/go.mod h1:WNg2ZH56rDEwdropAJeZPQkXmDwh+JCA1s/htl6r2fA= +modernc.org/libc v1.18.0/go.mod h1:vj6zehR5bfc98ipowQOM2nIDUZnVew/wNC/2tOGS+q0= +modernc.org/libc v1.20.3/go.mod h1:ZRfIaEkgrYgZDl6pa4W39HgN5G/yDW+NRmNKZBDFrk0= +modernc.org/libc v1.21.4/go.mod h1:przBsL5RDOZajTVslkugzLBj1evTue36jEomFQOoYuI= +modernc.org/libc v1.22.2/go.mod h1:uvQavJ1pZ0hIoC/jfqNoMLURIMhKzINIWypNM17puug= modernc.org/mathutil v1.2.2/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E= modernc.org/mathutil v1.4.1/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E= modernc.org/mathutil v1.5.0/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E= modernc.org/memory v1.1.1/go.mod h1:/0wo5ibyrQiaoUoH7f9D8dnglAmILJ5/cxZlRECf+Nw= modernc.org/memory v1.2.0/go.mod h1:/0wo5ibyrQiaoUoH7f9D8dnglAmILJ5/cxZlRECf+Nw= modernc.org/memory v1.2.1/go.mod h1:PkUhL0Mugw21sHPeskwZW4D6VscE/GQJOnIpCnW6pSU= +modernc.org/memory v1.3.0/go.mod h1:PkUhL0Mugw21sHPeskwZW4D6VscE/GQJOnIpCnW6pSU= +modernc.org/memory v1.4.0/go.mod h1:PkUhL0Mugw21sHPeskwZW4D6VscE/GQJOnIpCnW6pSU= +modernc.org/memory v1.5.0/go.mod h1:PkUhL0Mugw21sHPeskwZW4D6VscE/GQJOnIpCnW6pSU= modernc.org/opt v0.1.1/go.mod h1:WdSiB5evDcignE70guQKxYUl14mgWtbClRi5wmkkTX0= modernc.org/opt v0.1.3/go.mod h1:WdSiB5evDcignE70guQKxYUl14mgWtbClRi5wmkkTX0= modernc.org/sqlite v1.18.1/go.mod h1:6ho+Gow7oX5V+OiOQ6Tr4xeqbx13UZ6t+Fw9IRUG4d4= +modernc.org/sqlite v1.18.2/go.mod h1:kvrTLEWgxUcHa2GfHBQtanR1H9ht3hTJNtKpzH9k1u0= modernc.org/strutil v1.1.1/go.mod h1:DE+MQQ/hjKBZS2zNInV5hhcipt5rLPWkmpbGeW5mmdw= modernc.org/strutil v1.1.3/go.mod h1:MEHNA7PdEnEwLvspRMtWTNnp2nnyvMfkimT1NKNAGbw= modernc.org/tcl v1.13.1/go.mod h1:XOLfOwzhkljL4itZkK6T72ckMgvj0BDsnKNdZVUOecw= +modernc.org/tcl v1.13.2/go.mod h1:7CLiGIPo1M8Rv1Mitpv5akc2+8fxUd2y2UzC/MfMzy0= modernc.org/token v1.0.0/go.mod h1:UGzOrNV1mAFSEB63lOFHIpNRUVMvYTc6yu1SMY/XTDM= +modernc.org/token v1.0.1/go.mod h1:UGzOrNV1mAFSEB63lOFHIpNRUVMvYTc6yu1SMY/XTDM= +modernc.org/token v1.1.0/go.mod h1:UGzOrNV1mAFSEB63lOFHIpNRUVMvYTc6yu1SMY/XTDM= modernc.org/z v1.5.1/go.mod h1:eWFB510QWW5Th9YGZT81s+LwvaAs3Q2yr4sP0rmLkv8= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4= diff --git a/server/version/version.go b/server/version/version.go index 9c86916a6a..8288689072 100644 --- a/server/version/version.go +++ b/server/version/version.go @@ -28,5 +28,5 @@ const ( clientNameHeaderName = "client-name" clientNameHeaderValue = "temporal-ui" clientVersionHeaderName = "client-version" - UIVersion = "2.18.0" + UIVersion = "2.18.1" ) diff --git a/ui/assets/local/_app/immutable/chunks/1.7b6bbc93.js b/ui/assets/local/_app/immutable/chunks/1.7b6bbc93.js deleted file mode 100644 index 6a154a9238..0000000000 --- a/ui/assets/local/_app/immutable/chunks/1.7b6bbc93.js +++ /dev/null @@ -1 +0,0 @@ -import{default as t}from"../entry/_error.svelte.99e0dff7.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/1.e5d4cbf5.js b/ui/assets/local/_app/immutable/chunks/1.e5d4cbf5.js new file mode 100644 index 0000000000..bbeace8047 --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/1.e5d4cbf5.js @@ -0,0 +1 @@ +import{default as t}from"../entry/_error.svelte.ce9961d0.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/10.1c66d231.js b/ui/assets/local/_app/immutable/chunks/10.1c66d231.js new file mode 100644 index 0000000000..9bfe01eb79 --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/10.1c66d231.js @@ -0,0 +1 @@ +import{_ as r}from"./_page.976e3127.js";import{default as t}from"../entry/(app)-page.svelte.251286ca.js";export{t as component,r as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/10.f3f5ea42.js b/ui/assets/local/_app/immutable/chunks/10.f3f5ea42.js deleted file mode 100644 index a9b699f871..0000000000 --- a/ui/assets/local/_app/immutable/chunks/10.f3f5ea42.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as r}from"./_page.c0269608.js";import{default as t}from"../entry/(app)-page.svelte.52a48951.js";export{t as component,r as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/11.f66d39fe.js b/ui/assets/local/_app/immutable/chunks/11.d4b06714.js similarity index 57% rename from ui/assets/local/_app/immutable/chunks/11.f66d39fe.js rename to ui/assets/local/_app/immutable/chunks/11.d4b06714.js index 50e60d509c..a9a9748366 100644 --- a/ui/assets/local/_app/immutable/chunks/11.f66d39fe.js +++ b/ui/assets/local/_app/immutable/chunks/11.d4b06714.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-data-converter-_port_-page.svelte.4b13d87f.js";export{t as component}; +import{default as t}from"../entry/(app)-data-converter-_port_-page.svelte.0f7a7a1a.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/12.546d0d04.js b/ui/assets/local/_app/immutable/chunks/12.546d0d04.js deleted file mode 100644 index dd431182b6..0000000000 --- a/ui/assets/local/_app/immutable/chunks/12.546d0d04.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e}from"./_page.efe49b17.js";export{e as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/12.7a83d954.js b/ui/assets/local/_app/immutable/chunks/12.7a83d954.js new file mode 100644 index 0000000000..1b6b44a156 --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/12.7a83d954.js @@ -0,0 +1 @@ +import{_ as e}from"./_page.661af5f9.js";export{e as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/13.1afbdecb.js b/ui/assets/local/_app/immutable/chunks/13.3b19481e.js similarity index 62% rename from ui/assets/local/_app/immutable/chunks/13.1afbdecb.js rename to ui/assets/local/_app/immutable/chunks/13.3b19481e.js index ac015df1c4..96a80852f0 100644 --- a/ui/assets/local/_app/immutable/chunks/13.1afbdecb.js +++ b/ui/assets/local/_app/immutable/chunks/13.3b19481e.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-import-events-page.svelte.7be8fc4f.js";export{t as component}; +import{default as t}from"../entry/(app)-import-events-page.svelte.089828c1.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/14.62459290.js b/ui/assets/local/_app/immutable/chunks/14.62459290.js new file mode 100644 index 0000000000..ec66a34e3f --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/14.62459290.js @@ -0,0 +1 @@ +import{_ as e}from"./_page.f30a4e64.js";export{e as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/14.a09078fd.js b/ui/assets/local/_app/immutable/chunks/14.a09078fd.js deleted file mode 100644 index 0bed982609..0000000000 --- a/ui/assets/local/_app/immutable/chunks/14.a09078fd.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e}from"./_page.31d41fe4.js";export{e as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/15.1c1b9bde.js b/ui/assets/local/_app/immutable/chunks/15.f2e7c8c8.js similarity index 56% rename from ui/assets/local/_app/immutable/chunks/15.1c1b9bde.js rename to ui/assets/local/_app/immutable/chunks/15.f2e7c8c8.js index 5ad518de01..28f44bac56 100644 --- a/ui/assets/local/_app/immutable/chunks/15.1c1b9bde.js +++ b/ui/assets/local/_app/immutable/chunks/15.f2e7c8c8.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-import-events-_namespace_-_workflow_-_run_-history-compact-page.svelte.ea89728c.js";export{t as component}; +import{default as t}from"../entry/(app)-import-events-_namespace_-_workflow_-_run_-history-compact-page.svelte.d1a2584a.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/16.988ec87d.js b/ui/assets/local/_app/immutable/chunks/16.b804cd42.js similarity index 55% rename from ui/assets/local/_app/immutable/chunks/16.988ec87d.js rename to ui/assets/local/_app/immutable/chunks/16.b804cd42.js index 0c709a4de8..7eecbe897e 100644 --- a/ui/assets/local/_app/immutable/chunks/16.988ec87d.js +++ b/ui/assets/local/_app/immutable/chunks/16.b804cd42.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-import-events-_namespace_-_workflow_-_run_-history-feed-page.svelte.b850cc53.js";export{t as component}; +import{default as t}from"../entry/(app)-import-events-_namespace_-_workflow_-_run_-history-feed-page.svelte.3567deeb.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/18.608cb374.js b/ui/assets/local/_app/immutable/chunks/18.608cb374.js new file mode 100644 index 0000000000..f45fea99cb --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/18.608cb374.js @@ -0,0 +1 @@ +import{default as t}from"../entry/(app)-namespaces-page.svelte.68af5dce.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/18.a73b929a.js b/ui/assets/local/_app/immutable/chunks/18.a73b929a.js deleted file mode 100644 index cd440b8607..0000000000 --- a/ui/assets/local/_app/immutable/chunks/18.a73b929a.js +++ /dev/null @@ -1 +0,0 @@ -import{default as t}from"../entry/(app)-namespaces-page.svelte.3460eb81.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/19.50c090fa.js b/ui/assets/local/_app/immutable/chunks/19.50c090fa.js new file mode 100644 index 0000000000..3eefd89b71 --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/19.50c090fa.js @@ -0,0 +1 @@ +import{_ as r}from"./_page.bd101315.js";import{default as t}from"../entry/(app)-namespaces-_namespace_-page.svelte.f73dc67e.js";export{t as component,r as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/19.ef4ef0dc.js b/ui/assets/local/_app/immutable/chunks/19.ef4ef0dc.js deleted file mode 100644 index 5b9f4d3f12..0000000000 --- a/ui/assets/local/_app/immutable/chunks/19.ef4ef0dc.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as r}from"./_page.fb482c75.js";import{default as t}from"../entry/(app)-namespaces-_namespace_-page.svelte.2b492839.js";export{t as component,r as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/2.67377176.js b/ui/assets/local/_app/immutable/chunks/2.67377176.js deleted file mode 100644 index 04019b3d55..0000000000 --- a/ui/assets/local/_app/immutable/chunks/2.67377176.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as r}from"./_layout.9cee44af.js";import{default as t}from"../entry/(app)-layout.svelte.affec26f.js";export{t as component,r as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/2.8515c6c4.js b/ui/assets/local/_app/immutable/chunks/2.8515c6c4.js new file mode 100644 index 0000000000..5fef73a80f --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/2.8515c6c4.js @@ -0,0 +1 @@ +import{_ as r}from"./_layout.f9646db3.js";import{default as t}from"../entry/(app)-layout.svelte.29fcdee6.js";export{t as component,r as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/20.3e1a1150.js b/ui/assets/local/_app/immutable/chunks/20.3e1a1150.js new file mode 100644 index 0000000000..af6c96be2d --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/20.3e1a1150.js @@ -0,0 +1 @@ +import{_ as r}from"./_page.bb4fbdea.js";import{default as t}from"../entry/(app)-namespaces-_namespace_-archival-page.svelte.c81727e0.js";export{t as component,r as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/20.e8db063c.js b/ui/assets/local/_app/immutable/chunks/20.e8db063c.js deleted file mode 100644 index 1de131a6a3..0000000000 --- a/ui/assets/local/_app/immutable/chunks/20.e8db063c.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as r}from"./_page.877deec2.js";import{default as t}from"../entry/(app)-namespaces-_namespace_-archival-page.svelte.ad084264.js";export{t as component,r as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/21.3ccf411a.js b/ui/assets/local/_app/immutable/chunks/21.67b7fc12.js similarity index 52% rename from ui/assets/local/_app/immutable/chunks/21.3ccf411a.js rename to ui/assets/local/_app/immutable/chunks/21.67b7fc12.js index e75c728c0e..7e817dd807 100644 --- a/ui/assets/local/_app/immutable/chunks/21.3ccf411a.js +++ b/ui/assets/local/_app/immutable/chunks/21.67b7fc12.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-schedules-page.svelte.72c41b67.js";export{t as component}; +import{default as t}from"../entry/(app)-namespaces-_namespace_-schedules-page.svelte.1a02f818.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/22.e40796a3.js b/ui/assets/local/_app/immutable/chunks/22.ac3a8d62.js similarity index 51% rename from ui/assets/local/_app/immutable/chunks/22.e40796a3.js rename to ui/assets/local/_app/immutable/chunks/22.ac3a8d62.js index eabf161f38..5b294b7b2a 100644 --- a/ui/assets/local/_app/immutable/chunks/22.e40796a3.js +++ b/ui/assets/local/_app/immutable/chunks/22.ac3a8d62.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-schedules-_schedule_-page.svelte.05f7775e.js";export{t as component}; +import{default as t}from"../entry/(app)-namespaces-_namespace_-schedules-_schedule_-page.svelte.d8f45c1a.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/23.826154a0.js b/ui/assets/local/_app/immutable/chunks/23.cf0df484.js similarity index 53% rename from ui/assets/local/_app/immutable/chunks/23.826154a0.js rename to ui/assets/local/_app/immutable/chunks/23.cf0df484.js index 0368c450aa..bed6ed33fc 100644 --- a/ui/assets/local/_app/immutable/chunks/23.826154a0.js +++ b/ui/assets/local/_app/immutable/chunks/23.cf0df484.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-schedules-_schedule_-edit-page.svelte.051823ca.js";export{t as component}; +import{default as t}from"../entry/(app)-namespaces-_namespace_-schedules-_schedule_-edit-page.svelte.94375227.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/24.e9d5f04c.js b/ui/assets/local/_app/immutable/chunks/24.c20ba878.js similarity index 50% rename from ui/assets/local/_app/immutable/chunks/24.e9d5f04c.js rename to ui/assets/local/_app/immutable/chunks/24.c20ba878.js index dce50b74f9..b112095c7c 100644 --- a/ui/assets/local/_app/immutable/chunks/24.e9d5f04c.js +++ b/ui/assets/local/_app/immutable/chunks/24.c20ba878.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-schedules-create-page.svelte.a231512f.js";export{t as component}; +import{default as t}from"../entry/(app)-namespaces-_namespace_-schedules-create-page.svelte.decd423e.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/26.09c31255.js b/ui/assets/local/_app/immutable/chunks/26.c9567010.js similarity index 51% rename from ui/assets/local/_app/immutable/chunks/26.09c31255.js rename to ui/assets/local/_app/immutable/chunks/26.c9567010.js index 586b318e07..89cde20663 100644 --- a/ui/assets/local/_app/immutable/chunks/26.09c31255.js +++ b/ui/assets/local/_app/immutable/chunks/26.c9567010.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-task-queues-_queue_-page.svelte.399ab9f7.js";export{t as component}; +import{default as t}from"../entry/(app)-namespaces-_namespace_-task-queues-_queue_-page.svelte.f0279b73.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/27.7a01ad74.js b/ui/assets/local/_app/immutable/chunks/27.7a01ad74.js deleted file mode 100644 index ed88c5833d..0000000000 --- a/ui/assets/local/_app/immutable/chunks/27.7a01ad74.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.34f8f62f.js";export{t as component,r as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/27.cf61f122.js b/ui/assets/local/_app/immutable/chunks/27.cf61f122.js new file mode 100644 index 0000000000..5d1a00ce9c --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/27.cf61f122.js @@ -0,0 +1 @@ +import{_ as r}from"./_page.b14944b6.js";import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-page.svelte.3c99401c.js";export{t as component,r as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/28.ceba7c36.js b/ui/assets/local/_app/immutable/chunks/28.ceba7c36.js new file mode 100644 index 0000000000..13dfadaf90 --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/28.ceba7c36.js @@ -0,0 +1 @@ +import{_ as e}from"./_page.a593dedb.js";export{e as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/28.f746d19b.js b/ui/assets/local/_app/immutable/chunks/28.f746d19b.js deleted file mode 100644 index 69e9d9e4f0..0000000000 --- a/ui/assets/local/_app/immutable/chunks/28.f746d19b.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e}from"./_page.6d808502.js";export{e as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/3.24ddb3f7.js b/ui/assets/local/_app/immutable/chunks/3.24ddb3f7.js new file mode 100644 index 0000000000..39ff6141d3 --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/3.24ddb3f7.js @@ -0,0 +1 @@ +import{default as t}from"../entry/(app)-import-layout.svelte.0c6840cd.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/3.5b1932ee.js b/ui/assets/local/_app/immutable/chunks/3.5b1932ee.js deleted file mode 100644 index 1bf21071cf..0000000000 --- a/ui/assets/local/_app/immutable/chunks/3.5b1932ee.js +++ /dev/null @@ -1 +0,0 @@ -import{default as t}from"../entry/(app)-import-layout.svelte.c1d79c78.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/30.1b51c16d.js b/ui/assets/local/_app/immutable/chunks/30.a43def10.js similarity index 68% rename from ui/assets/local/_app/immutable/chunks/30.1b51c16d.js rename to ui/assets/local/_app/immutable/chunks/30.a43def10.js index 4192d187ce..d60bbf5fca 100644 --- a/ui/assets/local/_app/immutable/chunks/30.1b51c16d.js +++ b/ui/assets/local/_app/immutable/chunks/30.a43def10.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.94aad5f5.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.7fc8428a.js";export{t as component,r as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/31.8ab3f0ee.js b/ui/assets/local/_app/immutable/chunks/31.8ab3f0ee.js new file mode 100644 index 0000000000..c51744dc53 --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/31.8ab3f0ee.js @@ -0,0 +1 @@ +import{_ as e}from"./_page.4d00784b.js";export{e as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/31.94dd5fc2.js b/ui/assets/local/_app/immutable/chunks/31.94dd5fc2.js deleted file mode 100644 index 2b9a2367af..0000000000 --- a/ui/assets/local/_app/immutable/chunks/31.94dd5fc2.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e}from"./_page.70afa1d3.js";export{e as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/32.8ab3f0ee.js b/ui/assets/local/_app/immutable/chunks/32.8ab3f0ee.js new file mode 100644 index 0000000000..fca66b0d3d --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/32.8ab3f0ee.js @@ -0,0 +1 @@ +import{_ as e}from"./_page.9ffea987.js";export{e as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/32.94dd5fc2.js b/ui/assets/local/_app/immutable/chunks/32.94dd5fc2.js deleted file mode 100644 index 101fd68a70..0000000000 --- a/ui/assets/local/_app/immutable/chunks/32.94dd5fc2.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e}from"./_page.2f4fdd95.js";export{e as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/33.8ab3f0ee.js b/ui/assets/local/_app/immutable/chunks/33.8ab3f0ee.js new file mode 100644 index 0000000000..b4d04e2564 --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/33.8ab3f0ee.js @@ -0,0 +1 @@ +import{_ as e}from"./_page.a85e69cb.js";export{e as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/33.94dd5fc2.js b/ui/assets/local/_app/immutable/chunks/33.94dd5fc2.js deleted file mode 100644 index 95d14bb2cb..0000000000 --- a/ui/assets/local/_app/immutable/chunks/33.94dd5fc2.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e}from"./_page.c8218868.js";export{e as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/34.f906c797.js b/ui/assets/local/_app/immutable/chunks/34.d765ae9e.js similarity index 59% rename from ui/assets/local/_app/immutable/chunks/34.f906c797.js rename to ui/assets/local/_app/immutable/chunks/34.d765ae9e.js index 9fb0f2e894..b8e2003a23 100644 --- a/ui/assets/local/_app/immutable/chunks/34.f906c797.js +++ b/ui/assets/local/_app/immutable/chunks/34.d765ae9e.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-pending-activities-page.svelte.26f8d277.js";export{t as component}; +import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-pending-activities-page.svelte.34b951f7.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/35.ebdca862.js b/ui/assets/local/_app/immutable/chunks/35.fafe3802.js similarity index 55% rename from ui/assets/local/_app/immutable/chunks/35.ebdca862.js rename to ui/assets/local/_app/immutable/chunks/35.fafe3802.js index 790f7aa53b..22da765957 100644 --- a/ui/assets/local/_app/immutable/chunks/35.ebdca862.js +++ b/ui/assets/local/_app/immutable/chunks/35.fafe3802.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-query-page.svelte.cd26cab5.js";export{t as component}; +import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-query-page.svelte.93f08733.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/36.50c0d285.js b/ui/assets/local/_app/immutable/chunks/36.1b6c0f0c.js similarity index 57% rename from ui/assets/local/_app/immutable/chunks/36.50c0d285.js rename to ui/assets/local/_app/immutable/chunks/36.1b6c0f0c.js index cd137e3687..5f17459455 100644 --- a/ui/assets/local/_app/immutable/chunks/36.50c0d285.js +++ b/ui/assets/local/_app/immutable/chunks/36.1b6c0f0c.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-stack-trace-page.svelte.a49ab006.js";export{t as component}; +import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-stack-trace-page.svelte.2eb6fdb4.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/37.4f25539c.js b/ui/assets/local/_app/immutable/chunks/37.3e52c74e.js similarity index 56% rename from ui/assets/local/_app/immutable/chunks/37.4f25539c.js rename to ui/assets/local/_app/immutable/chunks/37.3e52c74e.js index 51cdf4cdeb..aa738f6573 100644 --- a/ui/assets/local/_app/immutable/chunks/37.4f25539c.js +++ b/ui/assets/local/_app/immutable/chunks/37.3e52c74e.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-workers-page.svelte.b14f2e16.js";export{t as component}; +import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-workers-page.svelte.09b1b47c.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/38.b9ac409f.js b/ui/assets/local/_app/immutable/chunks/38.131ef7b3.js similarity index 60% rename from ui/assets/local/_app/immutable/chunks/38.b9ac409f.js rename to ui/assets/local/_app/immutable/chunks/38.131ef7b3.js index 50a8302df4..f9124996db 100644 --- a/ui/assets/local/_app/immutable/chunks/38.b9ac409f.js +++ b/ui/assets/local/_app/immutable/chunks/38.131ef7b3.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-select-namespace-page.svelte.2ff01546.js";export{t as component}; +import{default as t}from"../entry/(app)-select-namespace-page.svelte.2d4f801d.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/39.3284deeb.js b/ui/assets/local/_app/immutable/chunks/39.3284deeb.js new file mode 100644 index 0000000000..a43b2ba74f --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/39.3284deeb.js @@ -0,0 +1 @@ +import{default as t}from"../entry/(login)-login-page.svelte.e01a1fa8.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/39.4282e608.js b/ui/assets/local/_app/immutable/chunks/39.4282e608.js deleted file mode 100644 index b2ecdcf8c1..0000000000 --- a/ui/assets/local/_app/immutable/chunks/39.4282e608.js +++ /dev/null @@ -1 +0,0 @@ -import{default as t}from"../entry/(login)-login-page.svelte.ab786e89.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/4.0e1c927e.js b/ui/assets/local/_app/immutable/chunks/4.ed8855ad.js similarity index 54% rename from ui/assets/local/_app/immutable/chunks/4.0e1c927e.js rename to ui/assets/local/_app/immutable/chunks/4.ed8855ad.js index 9d5f94ea6c..c798274f9f 100644 --- a/ui/assets/local/_app/immutable/chunks/4.0e1c927e.js +++ b/ui/assets/local/_app/immutable/chunks/4.ed8855ad.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-import-events-_namespace_-_workflow_-_run_-history-layout.svelte.72af70d0.js";export{t as component}; +import{default as t}from"../entry/(app)-import-events-_namespace_-_workflow_-_run_-history-layout.svelte.ac104a2a.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/40.23fa8249.js b/ui/assets/local/_app/immutable/chunks/40.23fa8249.js new file mode 100644 index 0000000000..56b7e8d3ea --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/40.23fa8249.js @@ -0,0 +1 @@ +import{default as t}from"../entry/(login)-signin-page.svelte.e01a1fa8.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/40.a0e532c1.js b/ui/assets/local/_app/immutable/chunks/40.a0e532c1.js deleted file mode 100644 index 95f12c2bcb..0000000000 --- a/ui/assets/local/_app/immutable/chunks/40.a0e532c1.js +++ /dev/null @@ -1 +0,0 @@ -import{default as t}from"../entry/(login)-signin-page.svelte.ab786e89.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/5.44c8c169.js b/ui/assets/local/_app/immutable/chunks/5.7a331982.js similarity index 54% rename from ui/assets/local/_app/immutable/chunks/5.44c8c169.js rename to ui/assets/local/_app/immutable/chunks/5.7a331982.js index 0366e77ef5..12e73180eb 100644 --- a/ui/assets/local/_app/immutable/chunks/5.44c8c169.js +++ b/ui/assets/local/_app/immutable/chunks/5.7a331982.js @@ -1 +1 @@ -import{_ as r}from"./_layout.d45f959f.js";import{default as t}from"../entry/layout.svelte.1ecafece.js";export{t as component,r as universal}; +import{_ as r}from"./_layout.b53e967c.js";import{default as t}from"../entry/layout.svelte.1ecafece.js";export{t as component,r as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/8.f3fc7b51.js b/ui/assets/local/_app/immutable/chunks/8.74f46843.js similarity index 54% rename from ui/assets/local/_app/immutable/chunks/8.f3fc7b51.js rename to ui/assets/local/_app/immutable/chunks/8.74f46843.js index 01d17f7138..327ddfe18c 100644 --- a/ui/assets/local/_app/immutable/chunks/8.f3fc7b51.js +++ b/ui/assets/local/_app/immutable/chunks/8.74f46843.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-layout.svelte.ccb757a4.js";export{t as component}; +import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-layout.svelte.a3178fdd.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/9.92155705.js b/ui/assets/local/_app/immutable/chunks/9.740ed7a1.js similarity index 57% rename from ui/assets/local/_app/immutable/chunks/9.92155705.js rename to ui/assets/local/_app/immutable/chunks/9.740ed7a1.js index 8123b8ae2f..04b3f57d63 100644 --- a/ui/assets/local/_app/immutable/chunks/9.92155705.js +++ b/ui/assets/local/_app/immutable/chunks/9.740ed7a1.js @@ -1 +1 @@ -import{_ as r}from"./_layout.d29348a6.js";import{default as t}from"../entry/(login)-layout.svelte.1ecafece.js";export{t as component,r as universal}; +import{_ as r}from"./_layout.25e245e4.js";import{default as t}from"../entry/(login)-layout.svelte.1ecafece.js";export{t as component,r as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/_layout.d29348a6.js b/ui/assets/local/_app/immutable/chunks/_layout.25e245e4.js similarity index 81% rename from ui/assets/local/_app/immutable/chunks/_layout.d29348a6.js rename to ui/assets/local/_app/immutable/chunks/_layout.25e245e4.js index ee0150e07d..54c4e486e1 100644 --- a/ui/assets/local/_app/immutable/chunks/_layout.d29348a6.js +++ b/ui/assets/local/_app/immutable/chunks/_layout.25e245e4.js @@ -1 +1 @@ -/* empty css */import{e}from"./index.b1f5b21f.js";import{f as r}from"./settings-service.61c40f69.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.d3fae296.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.d45f959f.js b/ui/assets/local/_app/immutable/chunks/_layout.b53e967c.js similarity index 89% rename from ui/assets/local/_app/immutable/chunks/_layout.d45f959f.js rename to ui/assets/local/_app/immutable/chunks/_layout.b53e967c.js index 15b0694b3e..85be7ef64f 100644 --- a/ui/assets/local/_app/immutable/chunks/_layout.d45f959f.js +++ b/ui/assets/local/_app/immutable/chunks/_layout.b53e967c.js @@ -1 +1 @@ -import{r as o,a}from"./route-for-api.1959b395.js";import{a as c}from"./search-attributes.9143d253.js";const u=async(e,r=fetch)=>{try{const t=o("search-attributes",{namespace:e}),s=await a(t,{request:r});return{customAttributes:s.customAttributes,systemAttributes:s.systemAttributes}}catch(t){return console.error("Error fetching search attributes for namespace",e,t),{customAttributes:{},systemAttributes:{}}}},i=async({params:e,fetch:r})=>{const t=await u(e.namespace,r);c.set(t)},m=Object.freeze(Object.defineProperty({__proto__:null,load:i},Symbol.toStringTag,{value:"Module"}));export{m as _,i as l}; +import{r as o,a}from"./route-for-api.28fc22fc.js";import{a as c}from"./search-attributes.9143d253.js";const u=async(e,r=fetch)=>{try{const t=o("search-attributes",{namespace:e}),s=await a(t,{request:r});return{customAttributes:s.customAttributes,systemAttributes:s.systemAttributes}}catch(t){return console.error("Error fetching search attributes for namespace",e,t),{customAttributes:{},systemAttributes:{}}}},i=async({params:e,fetch:r})=>{const t=await u(e.namespace,r);c.set(t)},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/_layout.9cee44af.js b/ui/assets/local/_app/immutable/chunks/_layout.f9646db3.js similarity index 97% rename from ui/assets/local/_app/immutable/chunks/_layout.9cee44af.js rename to ui/assets/local/_app/immutable/chunks/_layout.f9646db3.js index 380b566bc6..07218c6417 100644 --- a/ui/assets/local/_app/immutable/chunks/_layout.9cee44af.js +++ b/ui/assets/local/_app/immutable/chunks/_layout.f9646db3.js @@ -1 +1 @@ -import{r as ae}from"./index.b1f5b21f.js";import{c as ie}from"./cluster.728f7d8f.js";import{r as oe,a as se}from"./route-for-api.1959b395.js";import{f as le}from"./namespaces-service.6d9595ed.js";import{f as ce}from"./settings-service.61c40f69.js";import{s as ue,g as ge}from"./auth-user.2a42bf1d.js";import{B as X,e as fe}from"./route-for.f2f7cb1c.js";import{a as he}from"./atob.52e78f85.js";import{p as de,c as Q}from"./parse-with-big-int.bccd89af.js";/* empty css */const pe=async(h,f=fetch)=>{if(h.runtimeEnvironment.isCloud)return;const g=oe("cluster");return await se(g,{request:f}).then(c=>(ie.set(c),c))},I="user",me=(h=X)=>{if(!h)return{};const f=document.cookie.split(";");let g=0,c=f.find(v=>v.includes(I+g)),m="";for(;c;){const[v,u]=c.split("=");m+=u,g++,c=f.find(o=>o.includes(I+g))}if(m)try{const v=he(m),u=de(v);return{accessToken:u==null?void 0:u.AccessToken,idToken:u==null?void 0:u.IDToken,name:u==null?void 0:u.Name,picture:u==null?void 0:u.Picture,email:u==null?void 0:u.Email}}catch(v){console.error(v)}return{}},ve=(h=X)=>{if(!h)return;const f=document.cookie.split(";");let g=0,c=f.find(m=>m.includes(I+g));for(;c;){const[m]=c.split("=");document.cookie=`${m}=; max-age=-1; path=/`,g++,c=f.find(v=>v.includes(I+g))}},ye=(h,f)=>!h.auth.enabled||Boolean(f==null?void 0:f.accessToken);var V={},be={get exports(){return V},set exports(h){V=h}};(function(h){var f=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{},g=function(c){var m=/\blang(?:uage)?-([\w-]+)\b/i,v=0,u={},o={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:u,plaintext:u,text:u,txt:u,extend:function(t,e){var a=o.util.clone(o.languages[t]);for(var n in e)a[n]=e[n];return a},insertBefore:function(t,e,a,n){var r=(n=n||o.languages)[t],s={};for(var i in r)if(r.hasOwnProperty(i)){if(i==e)for(var l in a)a.hasOwnProperty(l)&&(s[l]=a[l]);a.hasOwnProperty(i)||(s[i]=r[i])}var d=n[t];return n[t]=s,o.languages.DFS(o.languages,function(x,N){N===d&&x!=t&&(this[x]=s)}),s},DFS:function t(e,a,n,r){r=r||{};var s=o.util.objId;for(var i in e)if(e.hasOwnProperty(i)){a.call(e,i,e[i],n||i);var l=e[i],d=o.util.type(l);d!=="Object"||r[s(l)]?d!=="Array"||r[s(l)]||(r[s(l)]=!0,t(l,a,i,r)):(r[s(l)]=!0,t(l,a,null,r))}}},plugins:{},highlightAll:function(t,e){o.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'};o.hooks.run("before-highlightall",n),n.elements=Array.prototype.slice.apply(n.container.querySelectorAll(n.selector)),o.hooks.run("before-all-elements-highlight",n);for(var r,s=0;r=n.elements[s++];)o.highlightElement(r,e===!0,n.callback)},highlightElement:function(t,e,a){var n=o.util.getLanguage(t),r=o.languages[n];t.className=t.className.replace(m,"").replace(/\s+/g," ")+" language-"+n;var s=t.parentElement;s&&s.nodeName.toLowerCase()==="pre"&&(s.className=s.className.replace(m,"").replace(/\s+/g," ")+" language-"+n);var i={element:t,language:n,grammar:r,code:t.textContent};function l(x){i.highlightedCode=x,o.hooks.run("before-insert",i),i.element.innerHTML=i.highlightedCode,o.hooks.run("after-highlight",i),o.hooks.run("complete",i),a&&a.call(i.element)}if(o.hooks.run("before-sanity-check",i),(s=i.element.parentElement)&&s.nodeName.toLowerCase()==="pre"&&!s.hasAttribute("tabindex")&&s.setAttribute("tabindex","0"),!i.code)return o.hooks.run("complete",i),void(a&&a.call(i.element));if(o.hooks.run("before-highlight",i),i.grammar)if(e&&c.Worker){const x=o.filename??`${window.location.origin}/src/lib/vendor/prism/prism.cjs`;var d=new Worker(x);d.onerror=function(){l(o.highlight(i.code,i.grammar,i.language))},d.onmessage=function(N){l(N.data)},d.postMessage(JSON.stringify({language:i.language,code:i.code,immediateClose:!0}))}else l(o.highlight(i.code,i.grammar,i.language));else l(o.util.encode(i.code))},highlight:function(t,e,a){var n={code:t,grammar:e,language:a};return o.hooks.run("before-tokenize",n),n.tokens=o.tokenize(n.code,n.grammar),o.hooks.run("after-tokenize",n),w.stringify(o.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(i,l,d,x,N,y){for(var E in d)if(d.hasOwnProperty(E)&&d[E]){var O=d[E];O=Array.isArray(O)?O:[O];for(var _=0;_=y.reach);k+=p.value.length,p=p.next){var C=p.value;if(l.length>i.length)return;if(!(C instanceof w)){var A,T=1;if(R){if(!(A=U(J,k,i,G)))break;var W=A.index,ne=A.index+A[0].length,S=k;for(S+=p.value.length;S<=W;)p=p.next,S+=p.value.length;if(S-=p.value.length,k=S,p.value instanceof w)continue;for(var L=p;L!==l.tail&&(Sy.reach&&(y.reach=q);var z=p.prev;F&&(z=P(l,z,F),k+=F.length),Z(l,z,T);var re=new w(E,H?o.tokenize(M,H):M,ee,M);if(p=P(l,z,re),K&&P(l,p,K),1y.reach&&(y.reach=$.reach)}}}}}}(t,r,e,r.head,0),function(s){for(var i=[],l=s.head.next;l!==s.tail;)i.push(l.value),l=l.next;return i}(r)},hooks:{all:{},add:function(t,e){var a=o.hooks.all;a[t]=a[t]||[],a[t].push(e)},run:function(t,e){var a=o.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 U(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&&(o.disableWorkerMessageHandler||c.addEventListener("message",function(t){var e=JSON.parse(t.data),a=e.language,n=e.code,r=e.immediateClose;c.postMessage(o.highlight(n,o.languages[a],a)),r&&c.close()},!1)),o;var j=o.util.currentScript();function B(){o.manual||o.highlightAll()}if(j&&(o.filename=j.src,j.hasAttribute("data-manual")&&(o.manual=!0)),!o.manual){var D=document.readyState;D==="loading"||D==="interactive"&&j&&j.defer?document.addEventListener("DOMContentLoaded",B):window.requestAnimationFrame?window.requestAnimationFrame(B):window.setTimeout(B,16)}return o}(f);h.exports&&(h.exports=g),typeof Q<"u"&&(Q.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})(be);const ke=async function({fetch:h}){const f=await ce(h),g=me();g!=null&&g.accessToken&&(ue(g),ve());const c=ge();if(!ye(f,c))throw ae(302,fe());le(f,h);const m=await pe(f,h);return{user:c,settings:f,cluster:m}},Le=Object.freeze(Object.defineProperty({__proto__:null,load:ke},Symbol.toStringTag,{value:"Module"}));export{Le as _,ke as l}; +import{r as ae}from"./index.b1f5b21f.js";import{c as ie}from"./cluster.728f7d8f.js";import{r as oe,a as se}from"./route-for-api.28fc22fc.js";import{f as le}from"./namespaces-service.af8fc337.js";import{f as ce}from"./settings-service.d3fae296.js";import{s as ue,g as ge}from"./auth-user.2a42bf1d.js";import{B as X,e as fe}from"./route-for.8244bd54.js";import{a as he}from"./atob.3846ac29.js";import{p as de,c as Q}from"./parse-with-big-int.bccd89af.js";/* empty css */const pe=async(h,f=fetch)=>{if(h.runtimeEnvironment.isCloud)return;const g=oe("cluster");return await se(g,{request:f}).then(c=>(ie.set(c),c))},I="user",me=(h=X)=>{if(!h)return{};const f=document.cookie.split(";");let g=0,c=f.find(v=>v.includes(I+g)),m="";for(;c;){const[v,u]=c.split("=");m+=u,g++,c=f.find(o=>o.includes(I+g))}if(m)try{const v=he(m),u=de(v);return{accessToken:u==null?void 0:u.AccessToken,idToken:u==null?void 0:u.IDToken,name:u==null?void 0:u.Name,picture:u==null?void 0:u.Picture,email:u==null?void 0:u.Email}}catch(v){console.error(v)}return{}},ve=(h=X)=>{if(!h)return;const f=document.cookie.split(";");let g=0,c=f.find(m=>m.includes(I+g));for(;c;){const[m]=c.split("=");document.cookie=`${m}=; max-age=-1; path=/`,g++,c=f.find(v=>v.includes(I+g))}},ye=(h,f)=>!h.auth.enabled||Boolean(f==null?void 0:f.accessToken);var V={},be={get exports(){return V},set exports(h){V=h}};(function(h){var f=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{},g=function(c){var m=/\blang(?:uage)?-([\w-]+)\b/i,v=0,u={},o={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:u,plaintext:u,text:u,txt:u,extend:function(t,e){var a=o.util.clone(o.languages[t]);for(var n in e)a[n]=e[n];return a},insertBefore:function(t,e,a,n){var r=(n=n||o.languages)[t],s={};for(var i in r)if(r.hasOwnProperty(i)){if(i==e)for(var l in a)a.hasOwnProperty(l)&&(s[l]=a[l]);a.hasOwnProperty(i)||(s[i]=r[i])}var d=n[t];return n[t]=s,o.languages.DFS(o.languages,function(x,N){N===d&&x!=t&&(this[x]=s)}),s},DFS:function t(e,a,n,r){r=r||{};var s=o.util.objId;for(var i in e)if(e.hasOwnProperty(i)){a.call(e,i,e[i],n||i);var l=e[i],d=o.util.type(l);d!=="Object"||r[s(l)]?d!=="Array"||r[s(l)]||(r[s(l)]=!0,t(l,a,i,r)):(r[s(l)]=!0,t(l,a,null,r))}}},plugins:{},highlightAll:function(t,e){o.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'};o.hooks.run("before-highlightall",n),n.elements=Array.prototype.slice.apply(n.container.querySelectorAll(n.selector)),o.hooks.run("before-all-elements-highlight",n);for(var r,s=0;r=n.elements[s++];)o.highlightElement(r,e===!0,n.callback)},highlightElement:function(t,e,a){var n=o.util.getLanguage(t),r=o.languages[n];t.className=t.className.replace(m,"").replace(/\s+/g," ")+" language-"+n;var s=t.parentElement;s&&s.nodeName.toLowerCase()==="pre"&&(s.className=s.className.replace(m,"").replace(/\s+/g," ")+" language-"+n);var i={element:t,language:n,grammar:r,code:t.textContent};function l(x){i.highlightedCode=x,o.hooks.run("before-insert",i),i.element.innerHTML=i.highlightedCode,o.hooks.run("after-highlight",i),o.hooks.run("complete",i),a&&a.call(i.element)}if(o.hooks.run("before-sanity-check",i),(s=i.element.parentElement)&&s.nodeName.toLowerCase()==="pre"&&!s.hasAttribute("tabindex")&&s.setAttribute("tabindex","0"),!i.code)return o.hooks.run("complete",i),void(a&&a.call(i.element));if(o.hooks.run("before-highlight",i),i.grammar)if(e&&c.Worker){const x=o.filename??`${window.location.origin}/src/lib/vendor/prism/prism.cjs`;var d=new Worker(x);d.onerror=function(){l(o.highlight(i.code,i.grammar,i.language))},d.onmessage=function(N){l(N.data)},d.postMessage(JSON.stringify({language:i.language,code:i.code,immediateClose:!0}))}else l(o.highlight(i.code,i.grammar,i.language));else l(o.util.encode(i.code))},highlight:function(t,e,a){var n={code:t,grammar:e,language:a};return o.hooks.run("before-tokenize",n),n.tokens=o.tokenize(n.code,n.grammar),o.hooks.run("after-tokenize",n),w.stringify(o.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(i,l,d,x,N,y){for(var E in d)if(d.hasOwnProperty(E)&&d[E]){var O=d[E];O=Array.isArray(O)?O:[O];for(var _=0;_=y.reach);k+=p.value.length,p=p.next){var C=p.value;if(l.length>i.length)return;if(!(C instanceof w)){var A,T=1;if(R){if(!(A=U(J,k,i,G)))break;var W=A.index,ne=A.index+A[0].length,S=k;for(S+=p.value.length;S<=W;)p=p.next,S+=p.value.length;if(S-=p.value.length,k=S,p.value instanceof w)continue;for(var L=p;L!==l.tail&&(Sy.reach&&(y.reach=q);var z=p.prev;F&&(z=P(l,z,F),k+=F.length),Z(l,z,T);var re=new w(E,H?o.tokenize(M,H):M,ee,M);if(p=P(l,z,re),K&&P(l,p,K),1y.reach&&(y.reach=$.reach)}}}}}}(t,r,e,r.head,0),function(s){for(var i=[],l=s.head.next;l!==s.tail;)i.push(l.value),l=l.next;return i}(r)},hooks:{all:{},add:function(t,e){var a=o.hooks.all;a[t]=a[t]||[],a[t].push(e)},run:function(t,e){var a=o.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 U(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&&(o.disableWorkerMessageHandler||c.addEventListener("message",function(t){var e=JSON.parse(t.data),a=e.language,n=e.code,r=e.immediateClose;c.postMessage(o.highlight(n,o.languages[a],a)),r&&c.close()},!1)),o;var j=o.util.currentScript();function B(){o.manual||o.highlightAll()}if(j&&(o.filename=j.src,j.hasAttribute("data-manual")&&(o.manual=!0)),!o.manual){var D=document.readyState;D==="loading"||D==="interactive"&&j&&j.defer?document.addEventListener("DOMContentLoaded",B):window.requestAnimationFrame?window.requestAnimationFrame(B):window.setTimeout(B,16)}return o}(f);h.exports&&(h.exports=g),typeof Q<"u"&&(Q.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})(be);const ke=async function({fetch:h}){const f=await ce(h),g=me();g!=null&&g.accessToken&&(ue(g),ve());const c=ge();if(!ye(f,c))throw ae(302,fe());le(f,h);const m=await pe(f,h);return{user:c,settings:f,cluster:m}},Le=Object.freeze(Object.defineProperty({__proto__:null,load:ke},Symbol.toStringTag,{value:"Module"}));export{Le as _,ke as l}; diff --git a/ui/assets/local/_app/immutable/chunks/_page.2f4fdd95.js b/ui/assets/local/_app/immutable/chunks/_page.4d00784b.js similarity index 80% rename from ui/assets/local/_app/immutable/chunks/_page.2f4fdd95.js rename to ui/assets/local/_app/immutable/chunks/_page.4d00784b.js index c446dcb200..81c93e2620 100644 --- a/ui/assets/local/_app/immutable/chunks/_page.2f4fdd95.js +++ b/ui/assets/local/_app/immutable/chunks/_page.4d00784b.js @@ -1 +1 @@ -import{r as a}from"./index.b1f5b21f.js";import{f as s}from"./route-for.f2f7cb1c.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.8244bd54.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.efe49b17.js b/ui/assets/local/_app/immutable/chunks/_page.661af5f9.js similarity index 74% rename from ui/assets/local/_app/immutable/chunks/_page.efe49b17.js rename to ui/assets/local/_app/immutable/chunks/_page.661af5f9.js index 3f14022e7b..7b26483856 100644 --- a/ui/assets/local/_app/immutable/chunks/_page.efe49b17.js +++ b/ui/assets/local/_app/immutable/chunks/_page.661af5f9.js @@ -1 +1 @@ -import{r}from"./index.b1f5b21f.js";import{d as t}from"./route-for.f2f7cb1c.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.8244bd54.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.c0269608.js b/ui/assets/local/_app/immutable/chunks/_page.976e3127.js similarity index 85% rename from ui/assets/local/_app/immutable/chunks/_page.c0269608.js rename to ui/assets/local/_app/immutable/chunks/_page.976e3127.js index 0baa4569a2..7cc3a414a5 100644 --- a/ui/assets/local/_app/immutable/chunks/_page.c0269608.js +++ b/ui/assets/local/_app/immutable/chunks/_page.976e3127.js @@ -1 +1 @@ -import{r as a}from"./index.b1f5b21f.js";import{r as n}from"./route-for.f2f7cb1c.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.8244bd54.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.70afa1d3.js b/ui/assets/local/_app/immutable/chunks/_page.9ffea987.js similarity index 80% rename from ui/assets/local/_app/immutable/chunks/_page.70afa1d3.js rename to ui/assets/local/_app/immutable/chunks/_page.9ffea987.js index c446dcb200..81c93e2620 100644 --- a/ui/assets/local/_app/immutable/chunks/_page.70afa1d3.js +++ b/ui/assets/local/_app/immutable/chunks/_page.9ffea987.js @@ -1 +1 @@ -import{r as a}from"./index.b1f5b21f.js";import{f as s}from"./route-for.f2f7cb1c.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.8244bd54.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.6d808502.js b/ui/assets/local/_app/immutable/chunks/_page.a593dedb.js similarity index 83% rename from ui/assets/local/_app/immutable/chunks/_page.6d808502.js rename to ui/assets/local/_app/immutable/chunks/_page.a593dedb.js index 4c675a1807..325125b2e6 100644 --- a/ui/assets/local/_app/immutable/chunks/_page.6d808502.js +++ b/ui/assets/local/_app/immutable/chunks/_page.a593dedb.js @@ -1 +1 @@ -import{r as n,e as s}from"./index.b1f5b21f.js";import{k as c}from"./workflow-service.6fa8d283.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{k as c}from"./workflow-service.db6f5d3e.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.c8218868.js b/ui/assets/local/_app/immutable/chunks/_page.a85e69cb.js similarity index 80% rename from ui/assets/local/_app/immutable/chunks/_page.c8218868.js rename to ui/assets/local/_app/immutable/chunks/_page.a85e69cb.js index c446dcb200..81c93e2620 100644 --- a/ui/assets/local/_app/immutable/chunks/_page.c8218868.js +++ b/ui/assets/local/_app/immutable/chunks/_page.a85e69cb.js @@ -1 +1 @@ -import{r as a}from"./index.b1f5b21f.js";import{f as s}from"./route-for.f2f7cb1c.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.8244bd54.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.877deec2.js b/ui/assets/local/_app/immutable/chunks/_page.bb4fbdea.js similarity index 88% rename from ui/assets/local/_app/immutable/chunks/_page.877deec2.js rename to ui/assets/local/_app/immutable/chunks/_page.bb4fbdea.js index 8e6fa0442f..25a31e6b23 100644 --- a/ui/assets/local/_app/immutable/chunks/_page.877deec2.js +++ b/ui/assets/local/_app/immutable/chunks/_page.bb4fbdea.js @@ -1 +1 @@ -import{a as A}from"./namespaces-service.6d9595ed.js";import{h as _}from"./workflow-service.6fa8d283.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 A(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 _(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{a as A}from"./namespaces-service.af8fc337.js";import{h as _}from"./workflow-service.db6f5d3e.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 A(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 _(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/local/_app/immutable/chunks/_page.fb482c75.js b/ui/assets/local/_app/immutable/chunks/_page.bd101315.js similarity index 89% rename from ui/assets/local/_app/immutable/chunks/_page.fb482c75.js rename to ui/assets/local/_app/immutable/chunks/_page.bd101315.js index fa866eb79c..ed30260f0c 100644 --- a/ui/assets/local/_app/immutable/chunks/_page.fb482c75.js +++ b/ui/assets/local/_app/immutable/chunks/_page.bd101315.js @@ -1 +1 @@ -import{a as l}from"./namespaces-service.6d9595ed.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.af8fc337.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.31d41fe4.js b/ui/assets/local/_app/immutable/chunks/_page.f30a4e64.js similarity index 75% rename from ui/assets/local/_app/immutable/chunks/_page.31d41fe4.js rename to ui/assets/local/_app/immutable/chunks/_page.f30a4e64.js index 2232259ef6..91f0670176 100644 --- a/ui/assets/local/_app/immutable/chunks/_page.31d41fe4.js +++ b/ui/assets/local/_app/immutable/chunks/_page.f30a4e64.js @@ -1 +1 @@ -import{r as t}from"./index.b1f5b21f.js";import{d as e}from"./route-for.f2f7cb1c.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.8244bd54.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/local/_app/immutable/chunks/atob.52e78f85.js b/ui/assets/local/_app/immutable/chunks/atob.3846ac29.js similarity index 72% rename from ui/assets/local/_app/immutable/chunks/atob.52e78f85.js rename to ui/assets/local/_app/immutable/chunks/atob.3846ac29.js index aa82ccbe8a..42c77dc8ad 100644 --- a/ui/assets/local/_app/immutable/chunks/atob.52e78f85.js +++ b/ui/assets/local/_app/immutable/chunks/atob.3846ac29.js @@ -1 +1 @@ -import{B as t}from"./route-for.f2f7cb1c.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.8244bd54.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.97e177eb.js b/ui/assets/local/_app/immutable/chunks/decode-payload.8b7fbb10.js similarity index 99% rename from ui/assets/local/_app/immutable/chunks/decode-payload.97e177eb.js rename to ui/assets/local/_app/immutable/chunks/decode-payload.8b7fbb10.js index a6282f2ffd..d8148be587 100644 --- a/ui/assets/local/_app/immutable/chunks/decode-payload.97e177eb.js +++ b/ui/assets/local/_app/immutable/chunks/decode-payload.8b7fbb10.js @@ -1,2 +1,2 @@ -import{s as Ee,a as Qt,d as Zt}from"./data-converter-config.936a36a2.js";import{s as V,p as Le}from"./parse-with-big-int.bccd89af.js";import{v as er,s as Me,b as tr}from"./data-encoder-config.ddfdfd14.js";import{ab as rr}from"./index.efded970.js";import{a as We}from"./atob.52e78f85.js";import{h as R}from"./has.f5323580.js";import{i as Ot}from"./is.ba28a1ea.js";async function Be(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=>{Qt();try{return Le(n.content)}catch{return n.content}}).catch(n=>{Ee(`Error decoding websocket response: ${n}`)}):Promise.resolve(r)}async function nr({payloads:r,namespace:e,settings:t,accessToken:n}){var y,h,l;const o=(y=t==null?void 0:t.codec)==null?void 0:y.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))}var Ie={},or={get exports(){return Ie},set exports(r){Ie=r}};/* chnl v1.2.0 by Vitaliy Potapov @preserve */function kt(r){return(kt=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 ar(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function cr(r,e){return!e||typeof e!="object"&&typeof e!="function"?ar(r):e}function ur(r){var e=sr();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 cr(this,t)}}function Ue(r){return lr(r)||pr(r)||fr(r)||yr()}function lr(r){if(Array.isArray(r))return ke(r)}function pr(r){if(typeof Symbol<"u"&&Symbol.iterator in Object(r))return Array.from(r)}function fr(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{Qt();try{return Le(n.content)}catch{return n.content}}).catch(n=>{Ee(`Error decoding websocket response: ${n}`)}):Promise.resolve(r)}async function nr({payloads:r,namespace:e,settings:t,accessToken:n}){var y,h,l;const o=(y=t==null?void 0:t.codec)==null?void 0:y.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))}var Ie={},or={get exports(){return Ie},set exports(r){Ie=r}};/* chnl v1.2.0 by Vitaliy Potapov @preserve */function kt(r){return(kt=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 ar(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function cr(r,e){return!e||typeof e!="object"&&typeof e!="function"?ar(r):e}function ur(r){var e=sr();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 cr(this,t)}}function Ue(r){return lr(r)||pr(r)||fr(r)||yr()}function lr(r){if(Array.isArray(r))return ke(r)}function pr(r){if(typeof Symbol<"u"&&Symbol.iterator in Object(r))return Array.from(r)}function fr(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=Ve(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=Tt("TimeoutError");q.ResetError=Tt("ResetError");var Lt=q,Z={};Object.defineProperty(Z,"__esModule",{value:!0});Z.PromisedMap=void 0;var gr=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=gr;var H={},br={get exports(){return H},set exports(r){H=r}},Pr="Function.prototype.bind called on incompatible ",re=Array.prototype.slice,wr=Object.prototype.toString,Sr="[object Function]",Ar=function(e){var t=this;if(typeof t!="function"||wr.call(t)!==Sr)throw new TypeError(Pr+t);for(var n=re.call(arguments,1),o,s=function(){if(this instanceof o){var y=t.apply(this,n.concat(re.call(arguments)));return Object(y)===y?y:this}else return t.apply(e,n.concat(re.call(arguments)))},a=Math.max(0,t.length-n.length),i=[],c=0;c"u"||!v?f:v(Uint8Array),I={"%AggregateError%":typeof AggregateError>"u"?f:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?f:ArrayBuffer,"%ArrayIteratorPrototype%":j&&v?v([][Symbol.iterator]()):f,"%AsyncFromSyncIteratorPrototype%":f,"%AsyncFunction%":T,"%AsyncGenerator%":T,"%AsyncGeneratorFunction%":T,"%AsyncIteratorPrototype%":T,"%Atomics%":typeof Atomics>"u"?f:Atomics,"%BigInt%":typeof BigInt>"u"?f:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?f:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?f:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?f:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?f:Float32Array,"%Float64Array%":typeof Float64Array>"u"?f:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?f:FinalizationRegistry,"%Function%":$t,"%GeneratorFunction%":T,"%Int8Array%":typeof Int8Array>"u"?f:Int8Array,"%Int16Array%":typeof Int16Array>"u"?f:Int16Array,"%Int32Array%":typeof Int32Array>"u"?f:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":j&&v?v(v([][Symbol.iterator]())):f,"%JSON%":typeof JSON=="object"?JSON:f,"%Map%":typeof Map>"u"?f:Map,"%MapIteratorPrototype%":typeof Map>"u"||!j||!v?f:v(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?f:Promise,"%Proxy%":typeof Proxy>"u"?f:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?f:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?f:Set,"%SetIteratorPrototype%":typeof Set>"u"||!j||!v?f:v(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?f:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":j&&v?v(""[Symbol.iterator]()):f,"%Symbol%":j?Symbol:f,"%SyntaxError%":$,"%ThrowTypeError%":Tr,"%TypedArray%":$r,"%TypeError%":L,"%Uint8Array%":typeof Uint8Array>"u"?f:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?f:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?f:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?f:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?f:WeakMap,"%WeakRef%":typeof WeakRef>"u"?f:WeakRef,"%WeakSet%":typeof WeakSet>"u"?f:WeakSet};if(v)try{null.error}catch(r){var Dr=v(v(r));I["%Error.prototype%"]=Dr}var Fr=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&&v&&(t=v(o.prototype))}return I[e]=t,t},Je={"%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=O,qr=W.call(Function.call,Array.prototype.concat),xr=W.call(Function.apply,Array.prototype.splice),ze=W.call(Function.call,String.prototype.replace),J=W.call(Function.call,String.prototype.slice),Mr=W.call(Function.call,RegExp.prototype.exec),Wr=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Br=/\\(\\)?/g,Nr=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 ze(e,Wr,function(s,a,i,c){o[o.length]=i?ze(c,Br,"$1"):a||s}),o},Ur=function(e,t){var n=e,o;if(K(Je,n)&&(o=Je[n],n="%"+o[0]+"%"),K(I,n)){var s=I[n];if(s===T&&(s=Fr(n)),typeof s>"u"&&!t)throw new L("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!")},P=function(e,t){if(typeof e!="string"||e.length===0)throw new L("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new L('"allowMissing" argument must be a boolean');if(Mr(/^%?[^%]*%?$/,e)===null)throw new $("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Nr(e),o=n.length>0?n[0]:"",s=Ur("%"+o+"%",t),a=s.name,i=s.value,c=!1,p=s.alias;p&&(o=p[0],xr(n,qr([0,1],p)));for(var y=1,h=!0;y=n.length){var b=E(i,l);h=!!b,h&&"get"in b&&!("originalValue"in b.get)?i=b.get:i=i[l]}else h=K(i,l),i=i[l];h&&!c&&(I[a]=i)}}return i};(function(r){var e=De,t=P,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})(br);var Xe=Object.prototype.toString,Dt=function(e){var t=Xe.call(e),n=t==="[object Arguments]";return n||(n=t!=="[object Array]"&&e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&Xe.call(e.callee)==="[object Function]"),n},ie,Ye;function Gr(){if(Ye)return ie;Ye=1;var r;if(!Object.keys){var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Dt,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},y=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"||!y)return c(l);try{return c(l)}catch{return!1}};r=function(u){var _=u!==null&&typeof u=="object",b=t.call(u)==="[object Function]",C=n(u),ee=_&&t.call(u)==="[object String]",g=[];if(!_&&!b&&!C)throw new TypeError("Object.keys called on a non-object");var d=a&&b;if(ee&&u.length>0&&!e.call(u,0))for(var m=0;m0)for(var D=0;D2?arguments[2]:{},n=zr(e);Xr&&(n=Qr.call(n,Object.getOwnPropertySymbols(e)));for(var o=0;o"u"||typeof d=="object"))try{var m=i.call(d);return(m===h||m===l||m===u||m===c)&&d("")==null}catch{}return!1})}return se=e?function(d){if(C(d))return!0;if(!d||typeof d!="function"&&typeof d!="object")return!1;try{e(d,null,t)}catch(m){if(m!==n)return!1}return!s(d)&&a(d)}:function(d){if(C(d))return!0;if(!d||typeof d!="function"&&typeof d!="object")return!1;if(_)return a(d);if(s(d))return!1;var m=i.call(d);return m!==p&&m!==y&&!/^\[object HTML/.test(m)?!1:a(d)},se}var tt;function Bt(){return tt||(tt=1,function(r){r.exports=nn()}(rn)),z}var X={},rt={get exports(){return X},set exports(r){X=r}},Y={},on={get exports(){return Y},set exports(r){Y=r}},nt;function sn(){return nt||(nt=1,function(r){r.exports=P}(on)),Y}var ae,ot;function an(){if(ot)return ae;ot=1;var r=P,e=O,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,it;function Nt(){if(it)return ce;it=1;var r=P,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,st;function cn(){if(st)return ue;st=1;var r=P,e=r("%Array%"),t=!e.isArray&&Nt()("Object.prototype.toString");return ue=e.isArray||function(o){return t(o)==="[object Array]"},ue}var le,at;function un(){if(at)return le;at=1;var r=Ft,e=P,t=r()&&e("%Object.defineProperty%",!0),n=r.hasArrayLengthDefineBug(),o=n&&cn(),s=Nt(),a=s("Object.prototype.propertyIsEnumerable");return le=function(c,p,y,h,l,u){if(!t){if(!c(u)||!u["[[Configurable]]"]||!u["[[Writable]]"]||l in h&&a(h,l)!==!!u["[[Enumerable]]"])return!1;var _=u["[[Value]]"];return h[l]=_,p(h[l],_)}return n&&l==="length"&&"[[Value]]"in u&&o(h)&&h.length!==u["[[Value]]"]?(h.length=u["[[Value]]"],h.length===u["[[Value]]"]):(t(h,l,y(u)),!0)},le}var pe,ct;function ln(){if(ct)return pe;ct=1;var r=O;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,ut;function qe(){if(ut)return fe;ut=1;var r=P,e=r("%TypeError%"),t=r("%SyntaxError%"),n=O,o=ln(),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 y=n(i,"[[Value]]"),h=n(i,"[[Get]]")||n(i,"[[Set]]");if(y&&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,y){var h=s[c];if(typeof h!="function")throw new t("unknown record type: "+c);if(i(y)!=="Object"||!h(y))throw new e(p+" must be a "+c)},fe}var ye,lt;function pn(){return lt||(lt=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,pt;function fn(){return pt||(pt=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,ft;function k(){if(ft)return de;ft=1;var r=fn();return de=function(t){return typeof t=="symbol"?"Symbol":typeof t=="bigint"?"BigInt":r(t)},de}var ve,yt;function yn(){if(yt)return ve;yt=1;var r=qe(),e=pn(),t=k();return ve=function(o){return typeof o<"u"&&r(t,"Property Descriptor","Desc",o),e(o)},ve}var me,ht;function hn(){if(ht)return me;ht=1;var r=O,e=qe(),t=k();return me=function(o){return!(typeof o>"u"||(e(t,"Property Descriptor","Desc",o),!r(o,"[[Get]]")&&!r(o,"[[Set]]")))},me}var _e,dt;function dn(){if(dt)return _e;dt=1;var r=O,e=qe(),t=k();return _e=function(o){return!(typeof o>"u"||(e(t,"Property Descriptor","Desc",o),!r(o,"[[Value]]")&&!r(o,"[[Writable]]")))},_e}var ge,vt;function vn(){return vt||(vt=1,ge=function(e){return typeof e=="string"||typeof e=="symbol"}),ge}var be,mt;function mn(){return mt||(mt=1,be=Number.isNaN||function(e){return e!==e}),be}var Pe,_t;function _n(){if(_t)return Pe;_t=1;var r=mn();return Pe=function(t,n){return t===n?t===0?1/t===1/n:!0:r(t)&&r(n)},Pe}var we,gt;function gn(){return gt||(gt=1,we=function(e){return!!e}),we}var Se,bt;function bn(){if(bt)return Se;bt=1;var r=O,e=P,t=e("%TypeError%"),n=k(),o=gn(),s=Bt();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 y=i.set;if(typeof y<"u"&&!s(y))throw new t("setter must be a function");c["[[Set]]"]=y}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,Pt;function Pn(){if(Pt)return Ae;Pt=1;var r=P,e=r("%TypeError%"),t=an(),n=un(),o=yn(),s=hn(),a=dn(),i=vn(),c=_n(),p=bn(),y=k();return Ae=function(l,u,_){if(y(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 b=t({Type:y,IsDataDescriptor:a,IsAccessorDescriptor:s},_)?_:p(_);if(!t({Type:y,IsDataDescriptor:a,IsAccessorDescriptor:s},b))throw new e("Assertion failed: Desc is not a valid Property Descriptor");return n(a,c,o,l,u,b)},Ae}var wt;function wn(){if(wt)return X;wt=1;var r=sn(),e=r("%Reflect.construct%",!0),t=Pn();try{t({},"",{"[[Get]]":function(){}})}catch{t=null}if(t&&e){var n={},o={};t(o,"length",{"[[Get]]":function(){throw n},"[[Enumerable]]":!0}),rt.exports=function(a){try{e(a,o)}catch(i){return i===n}}}else rt.exports=function(a){return typeof a=="function"&&!!a.prototype};return X}var Re,St;function Sn(){if(St)return Re;St=1;var r=P,e=r("%Symbol.species%",!0),t=r("%TypeError%"),n=wn(),o=k();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 An=Fe;An();var Rn=Bt(),En=Sn(),In=k(),Ut=function(e,t){return new e(function(n){n(t)})},On=Promise,kn=function(e,t){return function(n){var o=t(),s=Ut(e,o),a=function(){return n};return s.then(a)}},Cn=function(e,t){return function(n){var o=t(),s=Ut(e,o),a=function(){throw n};return s.then(a)}},Te=function(e){var t=this;if(In(t)!=="Object")throw new TypeError("receiver is not an Object");var n=En(t,On),o=e,s=e;return Rn(e)&&(o=kn(n,e),s=Cn(n,e)),t.then(o,s)};if(Object.getOwnPropertyDescriptor){var At=Object.getOwnPropertyDescriptor(Te,"name");At&&At.configurable&&Object.defineProperty(Te,"name",{configurable:!0,value:"finally"})}var Gt=Te,jn=Fe,Tn=Gt,Vt=function(){return jn(),typeof Promise.prototype.finally=="function"?Promise.prototype.finally:Tn},Ln=Fe,$n=Vt,Dn=Wt,Fn=function(){Ln();var e=$n();return Dn(Promise.prototype,{finally:e},{finally:function(){return Promise.prototype.finally!==e}}),e},qn=H,xn=Wt,Mn=Gt,Ht=Vt,Wn=Fn,Kt=qn(Ht());xn(Kt,{getPolyfill:Ht,implementation:Mn,shim:Wn});var Bn=Kt;const Nn=Lt,Un=Bn;var Gn=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 Nn({timeout:n,timeoutReason:`WebSocket request was rejected by timeout (${n} ms). RequestId: ${e}`});return this._items.set(e,o),Un(o.call(t),()=>this._deleteRequest(e,o))}_deleteRequest(e,t){this._items.get(e)===t&&this._items.delete(e)}},Vn={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 w=Ie,Rt=Lt,{PromisedMap:Hn}=Z,Kn=Gn,Et=Vn,{throwIf:N,isPromise:Jn}=xe,U={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3};class zn{constructor(e,t){this._assertOptions(t),this._url=e,this._options=Object.assign({},Et,t),this._requests=new Kn,this._promisedMap=new Hn,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===U.CONNECTING)}get isOpened(){return Boolean(this._ws&&this._ws.readyState===U.OPEN)}get isClosing(){return Boolean(this._ws&&this._ws.readyState===U.CLOSING)}get isClosed(){return Boolean(!this._ws||this._ws.readyState===U.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){N(!this.isOpened,"Can't send data because WebSocket is not opened."),this._ws.send(e),this._onSend.dispatchAsync(e)}waitUnpackedMessage(e,t={}){return N(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 Rt({timeout:e,timeoutReason:`Can't open WebSocket within allowed timeout: ${e} ms.`})}_createClosingController(){const e=this._options.timeout;this._closing=new Rt({timeout:e,timeoutReason:`Can't close WebSocket within allowed timeout: ${e} ms.`})}_createChannels(){this._onOpen=new w,this._onMessage=new w,this._onUnpackedMessage=new w,this._onResponse=new w,this._onSend=new w,this._onClose=new w,this._onError=new w}_createWS(){this._ws=this._options.createWebSocket(this._url),this._wsSubscription=new w.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),Jn(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(!Et.hasOwnProperty(t))throw new Error(`Unknown option: ${t}`)})}_assertPackingHandlers(){const{packMessage:e,unpackMessage:t}=this._options;N(!e||!t,"Please define 'options.packMessage / options.unpackMessage' for sending packed messages.")}_assertRequestIdHandlers(){const{attachRequestId:e,extractRequestId:t}=this._options;N(!e||!t,"Please define 'options.attachRequestId / options.extractRequestId' for sending requests.")}}var Xn=zn;let S=null;const Yn=rr(Zt)??null,Qn=(r,e)=>{if(!r)return{hasWebsocket:!1,websocket:null,closeSocket:()=>null};try{S=new Xn(`wss://localhost:${r}/`,{packMessage:t=>V(t),unpackMessage:t=>Le(t),attachRequestId:(t,n)=>Object.assign({requestId:n},t),extractRequestId:t=>t&&t.requestId,...e}),S.onError.addListener(t=>{console.error(`Websocket connection error: ${t}`)})}catch(t){Ee(`Error creating websocket: ${t}`)}return S==null||S.open(),{hasWebsocket:!0,websocket:S,closeSocket:()=>S?S.close():null}},Zn=Qn(Yn),Jt=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 lo=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},eo=(r,e,t)=>async n=>{var o;if((o=e==null?void 0:e.codec)!=null&&o.endpoint){const s=await nr({payloads:{payloads:n},namespace:r,settings:e,accessToken:t});return((s==null?void 0:s.payloads)??[]).map(A)}else return n.map(A)},It=(r,...e)=>{for(const t of e)if(r===t)return!0;return!1},zt=async(r,e,t,n)=>{const o=eo(e,t,n);if(r)for(const s of Object.keys(r))if(It(s,"payloads","encodedAttributes")&&r[s]){const a=Jt(r[s]),i=await o(a);r[s]=It(s,"encodedAttributes")?i[0]:i}else{const a=r[s];Ot(a)&&(r[s]=await zt(a,e,t,n))}return r},Xt=async(r,e)=>{if(r)for(const t of Object.keys(r))if(t==="payloads"){let n;const o=Jt(r[t]);e!=null&&e.hasWebsocket?n=await Promise.all((o??[]).map(async a=>await Be(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 Be(o,e.websocket):n=A(o),r[t]=n}else{const n=r[t];Ot(n)&&(r[t]=await Xt(n,e))}return r},po=async({attributes:r,namespace:e,settings:t,accessToken:n})=>await zt(r,e,t,n),fo=async(r,e)=>await Xt(r,e??Zn);export{fo as a,A as b,po as c,lo as d}; diff --git a/ui/assets/local/_app/immutable/chunks/drawer.f1cf2cf1.js b/ui/assets/local/_app/immutable/chunks/drawer.d5a49f69.js similarity index 98% rename from ui/assets/local/_app/immutable/chunks/drawer.f1cf2cf1.js rename to ui/assets/local/_app/immutable/chunks/drawer.d5a49f69.js index 7ed9cf74fd..1aaf4940b2 100644 --- a/ui/assets/local/_app/immutable/chunks/drawer.f1cf2cf1.js +++ b/ui/assets/local/_app/immutable/chunks/drawer.d5a49f69.js @@ -1 +1 @@ -import{S as se,b as ae,a as ie,e as H,f as O,z as K,g,h as Q,j as h,k as j,K as W,a5 as X,G as S,H as V,I as q,J as N,ag as ne,i as Y,m as C,C as oe,c as F,w as re,p as P,q as y,D as fe,d as G,x as ue,u as p,P as M,L as E,E as ce,a2 as _e,Q as de,y as me,a3 as be,a8 as Z,F as pe,r as he}from"./index.efded970.js";import{p as ke}from"./stores.83aed68d.js";import{l as J}from"./labs-mode.38f06555.js";import{c as ge,f as $}from"./menu.9d531fff.js";import{I as ve}from"./icon-button.091b93c1.js";const je=l=>({}),x=l=>({});function we(l){let e;const a=l[5].fallback,t=S(a,l,l[4],x);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,i){t&&t.m(s,i),e=!0},p(s,i){t&&t.p&&(!e||i&16)&&V(t,a,s,s[4],e?N(a,s[4],i,je):q(s[4]),x)},i(s){e||(h(t,s),e=!0)},o(s){g(t,s),e=!1},d(s){t&&t.d(s)}}}function Ee(l){let e;const a=l[5].default,t=S(a,l,l[4],null);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,i){t&&t.m(s,i),e=!0},p(s,i){t&&t.p&&(!e||i&16)&&V(t,a,s,s[4],e?N(a,s[4],i,null):q(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 De(l){let e,a,t,s;const i=[Ee,we],n=[];function d(o,u){return o[0]?0:1}return e=d(l),a=n[e]=i[e](l),{c(){a.c(),t=H()},l(o){a.l(o),t=H()},m(o,u){n[e].m(o,u),O(o,t,u),s=!0},p(o,[u]){let k=e;e=d(o),e===k?n[e].p(o,u):(K(),g(n[k],1,1,()=>{n[k]=null}),Q(),a=n[e],a?a.p(o,u):(a=n[e]=i[e](o),a.c()),h(a,1),a.m(t.parentNode,t))},i(o){s||(h(a),s=!0)},o(o){g(a),s=!1},d(o){n[e].d(o),o&&j(t)}}}function Ie(l,e,a){let t,s,i,n;W(l,J,u=>a(0,i=u)),W(l,ke,u=>a(3,n=u));let{$$slots:d={},$$scope:o}=e;return l.$$set=u=>{"$$scope"in u&&a(4,o=u.$$scope)},l.$$.update=()=>{l.$$.dirty&8&&a(2,t=n.url.searchParams.get("labs")==="true"),l.$$.dirty&8&&a(1,s=n.url.searchParams.get("labs")==="false"),l.$$.dirty&6&&(t?X(J,i=!0,i):s&&X(J,i=!1,i))},[i,s,t,n,o,d]}class Se extends se{constructor(e){super(),ae(this,e,Ie,De,ie,{})}}const Le=l=>({}),ee=l=>({});function te(l){let e,a,t,s,i,n,d,o,u,k,D,v,I,f,w,m,z,R;t=new ve({props:{"data-testid":"drawer-close-button",label:l[6],icon:"close","aria-expanded":l[0],"aria-controls":"navigation-drawer"}}),t.$on("click",function(){Y(l[4])&&l[4].apply(this,arguments)});let c=l[8].subtitle&&le(l);const A=l[10].default,b=S(A,l,l[9],null);return{c(){e=C("aside"),a=C("div"),oe(t.$$.fragment),i=F(),n=C("div"),d=C("h1"),o=re(l[1]),u=F(),c&&c.c(),D=F(),v=C("div"),b&&b.c(),this.h()},l(_){e=P(_,"ASIDE",{class:!0,id:!0,role:!0});var r=y(e);a=P(r,"DIV",{class:!0});var L=y(a);fe(t.$$.fragment,L),L.forEach(j),i=G(r),n=P(r,"DIV",{class:!0});var B=y(n);d=P(B,"H1",{class:!0});var T=y(d);o=ue(T,l[1]),T.forEach(j),u=G(B),c&&c.l(B),B.forEach(j),D=G(r),v=P(r,"DIV",{class:!0});var U=y(v);b&&b.l(U),U.forEach(j),r.forEach(j),this.h()},h(){p(a,"class",s="close-button-wrapper "+l[2]+" svelte-i6sjjd"),p(d,"class","svelte-i6sjjd"),p(n,"class",k="title-wrapper "+l[2]+" svelte-i6sjjd"),p(v,"class",I="content "+l[2]+" svelte-i6sjjd"),p(e,"class",f="drawer "+l[2]+" svelte-i6sjjd"),p(e,"id",l[5]),p(e,"role","region"),M(e,"dark",l[3]),M(e,"max-w-[400px]",l[2]==="right")},m(_,r){O(_,e,r),E(e,a),ce(t,a,null),E(e,i),E(e,n),E(n,d),E(d,o),E(n,u),c&&c.m(n,null),E(e,D),E(e,v),b&&b.m(v,null),m=!0,z||(R=[_e(ge.call(null,e)),de(e,"click-outside",function(){Y(l[4])&&l[4].apply(this,arguments)})],z=!0)},p(_,r){l=_;const L={};r&64&&(L.label=l[6]),r&1&&(L["aria-expanded"]=l[0]),t.$set(L),(!m||r&4&&s!==(s="close-button-wrapper "+l[2]+" svelte-i6sjjd"))&&p(a,"class",s),(!m||r&2)&&me(o,l[1]),l[8].subtitle?c?(c.p(l,r),r&256&&h(c,1)):(c=le(l),c.c(),h(c,1),c.m(n,null)):c&&(K(),g(c,1,1,()=>{c=null}),Q()),(!m||r&4&&k!==(k="title-wrapper "+l[2]+" svelte-i6sjjd"))&&p(n,"class",k),b&&b.p&&(!m||r&512)&&V(b,A,l,l[9],m?N(A,l[9],r,null):q(l[9]),null),(!m||r&4&&I!==(I="content "+l[2]+" svelte-i6sjjd"))&&p(v,"class",I),(!m||r&4&&f!==(f="drawer "+l[2]+" svelte-i6sjjd"))&&p(e,"class",f),(!m||r&32)&&p(e,"id",l[5]),(!m||r&12)&&M(e,"dark",l[3]),(!m||r&4)&&M(e,"max-w-[400px]",l[2]==="right")},i(_){m||(h(t.$$.fragment,_),h(c),h(b,_),be(()=>{w||(w=Z(e,$,l[7],!0)),w.run(1)}),m=!0)},o(_){g(t.$$.fragment,_),g(c),g(b,_),w||(w=Z(e,$,l[7],!1)),w.run(0),m=!1},d(_){_&&j(e),pe(t),c&&c.d(),b&&b.d(_),_&&w&&w.end(),z=!1,he(R)}}}function le(l){let e,a;const t=l[10].subtitle,s=S(t,l,l[9],ee);return{c(){e=C("h3"),s&&s.c(),this.h()},l(i){e=P(i,"H3",{class:!0});var n=y(e);s&&s.l(n),n.forEach(j),this.h()},h(){p(e,"class","font-primary text-xs font-normal")},m(i,n){O(i,e,n),s&&s.m(e,null),a=!0},p(i,n){s&&s.p&&(!a||n&512)&&V(s,t,i,i[9],a?N(t,i[9],n,Le):q(i[9]),ee)},i(i){a||(h(s,i),a=!0)},o(i){g(s,i),a=!1},d(i){i&&j(e),s&&s.d(i)}}}function Ce(l){let e,a,t=l[0]&&te(l);return{c(){t&&t.c(),e=H()},l(s){t&&t.l(s),e=H()},m(s,i){t&&t.m(s,i),O(s,e,i),a=!0},p(s,[i]){s[0]?t?(t.p(s,i),i&1&&h(t,1)):(t=te(s),t.c(),h(t,1),t.m(e.parentNode,e)):t&&(K(),g(t,1,1,()=>{t=null}),Q())},i(s){a||(h(t),a=!0)},o(s){g(t),a=!1},d(s){t&&t.d(s),s&&j(e)}}}function Pe(l,e,a){let{$$slots:t={},$$scope:s}=e;const i=ne(t);let{open:n=!1}=e,{title:d}=e,{position:o="bottom"}=e,{dark:u=!0}=e,{onClick:k}=e,{id:D="navigation-drawer"}=e,{closeButtonLabel:v}=e;const I={duration:500,...o==="bottom"?{y:200}:{x:200}};return l.$$set=f=>{"open"in f&&a(0,n=f.open),"title"in f&&a(1,d=f.title),"position"in f&&a(2,o=f.position),"dark"in f&&a(3,u=f.dark),"onClick"in f&&a(4,k=f.onClick),"id"in f&&a(5,D=f.id),"closeButtonLabel"in f&&a(6,v=f.closeButtonLabel),"$$scope"in f&&a(9,s=f.$$scope)},[n,d,o,u,k,D,v,I,i,s,t]}class Ve extends se{constructor(e){super(),ae(this,e,Pe,Ce,ie,{open:0,title:1,position:2,dark:3,onClick:4,id:5,closeButtonLabel:6})}}export{Ve as D,Se as L}; +import{S as se,b as ae,a as ie,e as H,f as O,z as K,g,h as Q,j as h,k as j,K as W,a5 as X,G as S,H as V,I as q,J as N,ag as ne,i as Y,m as C,C as oe,c as F,w as re,p as P,q as y,D as fe,d as G,x as ue,u as p,P as M,L as E,E as ce,a2 as _e,Q as de,y as me,a3 as be,a8 as Z,F as pe,r as he}from"./index.efded970.js";import{p as ke}from"./stores.3002bd93.js";import{l as J}from"./labs-mode.38f06555.js";import{c as ge,f as $}from"./menu.9d531fff.js";import{I as ve}from"./icon-button.091b93c1.js";const je=l=>({}),x=l=>({});function we(l){let e;const a=l[5].fallback,t=S(a,l,l[4],x);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,i){t&&t.m(s,i),e=!0},p(s,i){t&&t.p&&(!e||i&16)&&V(t,a,s,s[4],e?N(a,s[4],i,je):q(s[4]),x)},i(s){e||(h(t,s),e=!0)},o(s){g(t,s),e=!1},d(s){t&&t.d(s)}}}function Ee(l){let e;const a=l[5].default,t=S(a,l,l[4],null);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,i){t&&t.m(s,i),e=!0},p(s,i){t&&t.p&&(!e||i&16)&&V(t,a,s,s[4],e?N(a,s[4],i,null):q(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 De(l){let e,a,t,s;const i=[Ee,we],n=[];function d(o,u){return o[0]?0:1}return e=d(l),a=n[e]=i[e](l),{c(){a.c(),t=H()},l(o){a.l(o),t=H()},m(o,u){n[e].m(o,u),O(o,t,u),s=!0},p(o,[u]){let k=e;e=d(o),e===k?n[e].p(o,u):(K(),g(n[k],1,1,()=>{n[k]=null}),Q(),a=n[e],a?a.p(o,u):(a=n[e]=i[e](o),a.c()),h(a,1),a.m(t.parentNode,t))},i(o){s||(h(a),s=!0)},o(o){g(a),s=!1},d(o){n[e].d(o),o&&j(t)}}}function Ie(l,e,a){let t,s,i,n;W(l,J,u=>a(0,i=u)),W(l,ke,u=>a(3,n=u));let{$$slots:d={},$$scope:o}=e;return l.$$set=u=>{"$$scope"in u&&a(4,o=u.$$scope)},l.$$.update=()=>{l.$$.dirty&8&&a(2,t=n.url.searchParams.get("labs")==="true"),l.$$.dirty&8&&a(1,s=n.url.searchParams.get("labs")==="false"),l.$$.dirty&6&&(t?X(J,i=!0,i):s&&X(J,i=!1,i))},[i,s,t,n,o,d]}class Se extends se{constructor(e){super(),ae(this,e,Ie,De,ie,{})}}const Le=l=>({}),ee=l=>({});function te(l){let e,a,t,s,i,n,d,o,u,k,D,v,I,f,w,m,z,R;t=new ve({props:{"data-testid":"drawer-close-button",label:l[6],icon:"close","aria-expanded":l[0],"aria-controls":"navigation-drawer"}}),t.$on("click",function(){Y(l[4])&&l[4].apply(this,arguments)});let c=l[8].subtitle&&le(l);const A=l[10].default,b=S(A,l,l[9],null);return{c(){e=C("aside"),a=C("div"),oe(t.$$.fragment),i=F(),n=C("div"),d=C("h1"),o=re(l[1]),u=F(),c&&c.c(),D=F(),v=C("div"),b&&b.c(),this.h()},l(_){e=P(_,"ASIDE",{class:!0,id:!0,role:!0});var r=y(e);a=P(r,"DIV",{class:!0});var L=y(a);fe(t.$$.fragment,L),L.forEach(j),i=G(r),n=P(r,"DIV",{class:!0});var B=y(n);d=P(B,"H1",{class:!0});var T=y(d);o=ue(T,l[1]),T.forEach(j),u=G(B),c&&c.l(B),B.forEach(j),D=G(r),v=P(r,"DIV",{class:!0});var U=y(v);b&&b.l(U),U.forEach(j),r.forEach(j),this.h()},h(){p(a,"class",s="close-button-wrapper "+l[2]+" svelte-i6sjjd"),p(d,"class","svelte-i6sjjd"),p(n,"class",k="title-wrapper "+l[2]+" svelte-i6sjjd"),p(v,"class",I="content "+l[2]+" svelte-i6sjjd"),p(e,"class",f="drawer "+l[2]+" svelte-i6sjjd"),p(e,"id",l[5]),p(e,"role","region"),M(e,"dark",l[3]),M(e,"max-w-[400px]",l[2]==="right")},m(_,r){O(_,e,r),E(e,a),ce(t,a,null),E(e,i),E(e,n),E(n,d),E(d,o),E(n,u),c&&c.m(n,null),E(e,D),E(e,v),b&&b.m(v,null),m=!0,z||(R=[_e(ge.call(null,e)),de(e,"click-outside",function(){Y(l[4])&&l[4].apply(this,arguments)})],z=!0)},p(_,r){l=_;const L={};r&64&&(L.label=l[6]),r&1&&(L["aria-expanded"]=l[0]),t.$set(L),(!m||r&4&&s!==(s="close-button-wrapper "+l[2]+" svelte-i6sjjd"))&&p(a,"class",s),(!m||r&2)&&me(o,l[1]),l[8].subtitle?c?(c.p(l,r),r&256&&h(c,1)):(c=le(l),c.c(),h(c,1),c.m(n,null)):c&&(K(),g(c,1,1,()=>{c=null}),Q()),(!m||r&4&&k!==(k="title-wrapper "+l[2]+" svelte-i6sjjd"))&&p(n,"class",k),b&&b.p&&(!m||r&512)&&V(b,A,l,l[9],m?N(A,l[9],r,null):q(l[9]),null),(!m||r&4&&I!==(I="content "+l[2]+" svelte-i6sjjd"))&&p(v,"class",I),(!m||r&4&&f!==(f="drawer "+l[2]+" svelte-i6sjjd"))&&p(e,"class",f),(!m||r&32)&&p(e,"id",l[5]),(!m||r&12)&&M(e,"dark",l[3]),(!m||r&4)&&M(e,"max-w-[400px]",l[2]==="right")},i(_){m||(h(t.$$.fragment,_),h(c),h(b,_),be(()=>{w||(w=Z(e,$,l[7],!0)),w.run(1)}),m=!0)},o(_){g(t.$$.fragment,_),g(c),g(b,_),w||(w=Z(e,$,l[7],!1)),w.run(0),m=!1},d(_){_&&j(e),pe(t),c&&c.d(),b&&b.d(_),_&&w&&w.end(),z=!1,he(R)}}}function le(l){let e,a;const t=l[10].subtitle,s=S(t,l,l[9],ee);return{c(){e=C("h3"),s&&s.c(),this.h()},l(i){e=P(i,"H3",{class:!0});var n=y(e);s&&s.l(n),n.forEach(j),this.h()},h(){p(e,"class","font-primary text-xs font-normal")},m(i,n){O(i,e,n),s&&s.m(e,null),a=!0},p(i,n){s&&s.p&&(!a||n&512)&&V(s,t,i,i[9],a?N(t,i[9],n,Le):q(i[9]),ee)},i(i){a||(h(s,i),a=!0)},o(i){g(s,i),a=!1},d(i){i&&j(e),s&&s.d(i)}}}function Ce(l){let e,a,t=l[0]&&te(l);return{c(){t&&t.c(),e=H()},l(s){t&&t.l(s),e=H()},m(s,i){t&&t.m(s,i),O(s,e,i),a=!0},p(s,[i]){s[0]?t?(t.p(s,i),i&1&&h(t,1)):(t=te(s),t.c(),h(t,1),t.m(e.parentNode,e)):t&&(K(),g(t,1,1,()=>{t=null}),Q())},i(s){a||(h(t),a=!0)},o(s){g(t),a=!1},d(s){t&&t.d(s),s&&j(e)}}}function Pe(l,e,a){let{$$slots:t={},$$scope:s}=e;const i=ne(t);let{open:n=!1}=e,{title:d}=e,{position:o="bottom"}=e,{dark:u=!0}=e,{onClick:k}=e,{id:D="navigation-drawer"}=e,{closeButtonLabel:v}=e;const I={duration:500,...o==="bottom"?{y:200}:{x:200}};return l.$$set=f=>{"open"in f&&a(0,n=f.open),"title"in f&&a(1,d=f.title),"position"in f&&a(2,o=f.position),"dark"in f&&a(3,u=f.dark),"onClick"in f&&a(4,k=f.onClick),"id"in f&&a(5,D=f.id),"closeButtonLabel"in f&&a(6,v=f.closeButtonLabel),"$$scope"in f&&a(9,s=f.$$scope)},[n,d,o,u,k,D,v,I,i,s,t]}class Ve extends se{constructor(e){super(),ae(this,e,Pe,Ce,ie,{open:0,title:1,position:2,dark:3,onClick:4,id:5,closeButtonLabel:6})}}export{Ve as D,Se as L}; diff --git a/ui/assets/local/_app/immutable/chunks/error.ea999a59.js b/ui/assets/local/_app/immutable/chunks/error.422bc1be.js similarity index 95% rename from ui/assets/local/_app/immutable/chunks/error.ea999a59.js rename to ui/assets/local/_app/immutable/chunks/error.422bc1be.js index 485bf1b928..b279484e79 100644 --- a/ui/assets/local/_app/immutable/chunks/error.ea999a59.js +++ b/ui/assets/local/_app/immutable/chunks/error.422bc1be.js @@ -1,4 +1,4 @@ -import{S as O,b as z,a as A,m as S,w as g,c as y,C as N,p as x,q as T,x as $,k as p,d as P,D as U,u as _,f as q,L as o,E as F,y as B,j as H,g as I,F as K,K as G,M as J}from"./index.efded970.js";import{a as Q}from"./navigation.6d455e31.js";import{p as R}from"./stores.83aed68d.js";import{L as M}from"./link.cac19769.js";import{h as V}from"./has.f5323580.js";function W(a){let e;return{c(){e=g("Try a refresh")},l(t){e=$(t,"Try a refresh")},m(t,l){q(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){q(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 M({props:{href:a[1],target:"_self",class:"underline underline-offset-2",$$slots:{default:[W]},$$scope:{ctx:a}}}),f.$on("click",a[5]),m=new M({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"),N(f.$$.fragment),L=g(` +import{S as O,b as z,a as A,m as S,w as g,c as y,C as N,p as x,q as T,x as $,k as p,d as P,D as U,u as _,f as q,L as o,E as F,y as B,j as H,g as I,F as K,K as G,M as J}from"./index.efded970.js";import{a as Q}from"./navigation.85b47b98.js";import{p as R}from"./stores.3002bd93.js";import{L as M}from"./link.cac19769.js";import{h as V}from"./has.f5323580.js";function W(a){let e;return{c(){e=g("Try a refresh")},l(t){e=$(t,"Try a refresh")},m(t,l){q(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){q(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 M({props:{href:a[1],target:"_self",class:"underline underline-offset-2",$$slots:{default:[W]},$$scope:{ctx:a}}}),f.$on("click",a[5]),m=new M({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"),N(f.$$.fragment),L=g(` or `),N(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=P(r),n=x(r,"P",{class:!0});var b=T(n);d=$(b,"Uh oh. There's an error."),b.forEach(p),E=P(r),u=x(r,"P",{class:!0});var D=T(u);v=$(D,a[2]),D.forEach(p),c=P(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/event-history-file-import.a363e2a4.js b/ui/assets/local/_app/immutable/chunks/event-history-file-import.443bbc6a.js similarity index 90% rename from ui/assets/local/_app/immutable/chunks/event-history-file-import.a363e2a4.js rename to ui/assets/local/_app/immutable/chunks/event-history-file-import.443bbc6a.js index 23ab543d07..6504d5221f 100644 --- a/ui/assets/local/_app/immutable/chunks/event-history-file-import.a363e2a4.js +++ b/ui/assets/local/_app/immutable/chunks/event-history-file-import.443bbc6a.js @@ -1 +1 @@ -import{S as C,b as I,a as L,m as k,w as A,c as w,C as T,p as F,q as x,x as B,k as f,d as S,D as N,u,f as _,L as j,E as q,Q as G,j as H,g as D,F as K,K as E,n as P}from"./index.efded970.js";import{g as Q}from"./navigation.6d455e31.js";import{p as R}from"./stores.83aed68d.js";import{B as W}from"./button.a4f5a3d4.js";import{t as y}from"./translate.230dcc19.js";import{g as z}from"./index.aabaaaa7.js";import{t as J}from"./index.7c53442e.js";import{a as M}from"./auth-user.2a42bf1d.js";import{i as O,a as V}from"./import-events.80234efc.js";import{l as X}from"./namespaces.08ac61f9.js";import{t as U}from"./toaster.fd2b66a2.js";import{p as Y}from"./parse-with-big-int.bccd89af.js";import{d as Z}from"./route-for.f2f7cb1c.js";function ee(p){let o=y("import")+"",s;return{c(){s=A(o)},l(a){s=B(a,o)},m(a,m){_(a,s,m)},p:P,d(a){a&&f(s)}}}function te(p){let o,s=y("events","import-event-history-file-upload")+"",a,m,n,l,r,d,h,i;return r=new W({props:{leadingIcon:"file-upload",disabled:!p[0],$$slots:{default:[ee]},$$scope:{ctx:p}}}),r.$on("click",p[2]),{c(){o=k("label"),a=A(s),m=w(),n=k("input"),l=w(),T(r.$$.fragment),this.h()},l(e){o=F(e,"LABEL",{class:!0,for:!0});var t=x(o);a=B(t,s),t.forEach(f),m=S(e),n=F(e,"INPUT",{id:!0,class:!0,type:!0,accept:!0}),l=S(e),N(r.$$.fragment,e),this.h()},h(){u(o,"class","sr-only"),u(o,"for","import-event-history-file-upload"),u(n,"id","import-event-history-file-upload"),u(n,"class","import-input block rounded-md border border-gray-200 p-2"),u(n,"type","file"),u(n,"accept",".json")},m(e,t){_(e,o,t),j(o,a),_(e,m,t),_(e,n,t),_(e,l,t),q(r,e,t),d=!0,h||(i=G(n,"change",p[1]),h=!0)},p(e,[t]){const c={};t&1&&(c.disabled=!e[0]),t&128&&(c.$$scope={dirty:t,ctx:e}),r.$set(c)},i(e){d||(H(r.$$.fragment,e),d=!0)},o(e){D(r.$$.fragment,e),d=!1},d(e){e&&f(o),e&&f(m),e&&f(n),e&&f(l),K(r,e),h=!1,i()}}}function oe(p,o,s){let a,m,n;E(p,X,i=>s(4,a=i)),E(p,M,i=>s(5,m=i)),E(p,R,i=>s(6,n=i));let l,r=!1;return[r,async i=>{var e;const t=i.target,c=(e=t==null?void 0:t.files)===null||e===void 0?void 0:e[0],v=new FileReader;c&&(v.readAsText(c),v.onload=()=>{var g,b;try{const $=(b=(g=v==null?void 0:v.result)===null||g===void 0?void 0:g.toString())!==null&&b!==void 0?b:"";l=Y($),s(0,r=!0)}catch{U.push({variant:"error",message:y("events","event-history-load-error")}),s(0,r=!1)}})},async()=>{const{settings:i}=n.data;try{const e=await J({response:Array.isArray(l)?l:l==null?void 0:l.events,namespace:a,settings:i,accessToken:m.accessToken}),t=z(e);O.set(e),V.set(t),s(0,r=!1);const c=Z(a,"feed");Q(c)}catch(e){console.error(e),U.push({variant:"error",message:y("events","event-history-import-error")})}}]}class _e extends C{constructor(o){super(),I(this,o,oe,te,L,{})}}export{_e as E}; +import{S as C,b as I,a as L,m as k,w as A,c as w,C as T,p as F,q as x,x as B,k as f,d as S,D as N,u,f as _,L as j,E as q,Q as G,j as H,g as D,F as K,K as E,n as P}from"./index.efded970.js";import{g as Q}from"./navigation.85b47b98.js";import{p as R}from"./stores.3002bd93.js";import{B as W}from"./button.a4f5a3d4.js";import{t as y}from"./translate.230dcc19.js";import{g as z}from"./index.aabaaaa7.js";import{t as J}from"./index.8ae24503.js";import{a as M}from"./auth-user.2a42bf1d.js";import{i as O,a as V}from"./import-events.80234efc.js";import{l as X}from"./namespaces.08ac61f9.js";import{t as U}from"./toaster.fd2b66a2.js";import{p as Y}from"./parse-with-big-int.bccd89af.js";import{d as Z}from"./route-for.8244bd54.js";function ee(p){let o=y("import")+"",s;return{c(){s=A(o)},l(a){s=B(a,o)},m(a,m){_(a,s,m)},p:P,d(a){a&&f(s)}}}function te(p){let o,s=y("events","import-event-history-file-upload")+"",a,m,n,l,r,d,h,i;return r=new W({props:{leadingIcon:"file-upload",disabled:!p[0],$$slots:{default:[ee]},$$scope:{ctx:p}}}),r.$on("click",p[2]),{c(){o=k("label"),a=A(s),m=w(),n=k("input"),l=w(),T(r.$$.fragment),this.h()},l(e){o=F(e,"LABEL",{class:!0,for:!0});var t=x(o);a=B(t,s),t.forEach(f),m=S(e),n=F(e,"INPUT",{id:!0,class:!0,type:!0,accept:!0}),l=S(e),N(r.$$.fragment,e),this.h()},h(){u(o,"class","sr-only"),u(o,"for","import-event-history-file-upload"),u(n,"id","import-event-history-file-upload"),u(n,"class","import-input block rounded-md border border-gray-200 p-2"),u(n,"type","file"),u(n,"accept",".json")},m(e,t){_(e,o,t),j(o,a),_(e,m,t),_(e,n,t),_(e,l,t),q(r,e,t),d=!0,h||(i=G(n,"change",p[1]),h=!0)},p(e,[t]){const c={};t&1&&(c.disabled=!e[0]),t&128&&(c.$$scope={dirty:t,ctx:e}),r.$set(c)},i(e){d||(H(r.$$.fragment,e),d=!0)},o(e){D(r.$$.fragment,e),d=!1},d(e){e&&f(o),e&&f(m),e&&f(n),e&&f(l),K(r,e),h=!1,i()}}}function oe(p,o,s){let a,m,n;E(p,X,i=>s(4,a=i)),E(p,M,i=>s(5,m=i)),E(p,R,i=>s(6,n=i));let l,r=!1;return[r,async i=>{var e;const t=i.target,c=(e=t==null?void 0:t.files)===null||e===void 0?void 0:e[0],v=new FileReader;c&&(v.readAsText(c),v.onload=()=>{var g,b;try{const $=(b=(g=v==null?void 0:v.result)===null||g===void 0?void 0:g.toString())!==null&&b!==void 0?b:"";l=Y($),s(0,r=!0)}catch{U.push({variant:"error",message:y("events","event-history-load-error")}),s(0,r=!1)}})},async()=>{const{settings:i}=n.data;try{const e=await J({response:Array.isArray(l)?l:l==null?void 0:l.events,namespace:a,settings:i,accessToken:m.accessToken}),t=z(e);O.set(e),V.set(t),s(0,r=!1);const c=Z(a,"feed");Q(c)}catch(e){console.error(e),U.push({variant:"error",message:y("events","event-history-import-error")})}}]}class _e extends C{constructor(o){super(),I(this,o,oe,te,L,{})}}export{_e as E}; diff --git a/ui/assets/local/_app/immutable/chunks/event-summary-table.e529cb88.js b/ui/assets/local/_app/immutable/chunks/event-summary-table.98f53565.js similarity index 99% rename from ui/assets/local/_app/immutable/chunks/event-summary-table.e529cb88.js rename to ui/assets/local/_app/immutable/chunks/event-summary-table.98f53565.js index 8028ed1376..31dc8554ef 100644 --- a/ui/assets/local/_app/immutable/chunks/event-summary-table.e529cb88.js +++ b/ui/assets/local/_app/immutable/chunks/event-summary-table.98f53565.js @@ -1 +1 @@ -import{S as re,b as se,a as ae,m as b,p as k,q as w,k as d,u as $,f as E,L as h,z as B,g as v,h as H,j as p,C as T,D,E as y,n as ee,F as V,G as Pt,c as C,d as S,$ as Ye,P as L,Q as je,H as Ct,I as St,J as Gt,N as de,U as we,V as Ut,e as q,M as At,a9 as Ge,aa as qe,w as N,x as O,y as R,K as te,al as Jt,a1 as Nt,af as Kt,R as Yt,Y as Zt,A as Xt,Z as xt,_ as el,a3 as tl,a4 as ll,a5 as ye,a6 as Ot}from"./index.efded970.js";import{E as nl}from"./empty-state.22810bcf.js";import{L as rl}from"./loading.32266c92.js";import{t as A}from"./translate.230dcc19.js";import{e as sl,M as Rt,a as Mt,b as Lt,d as Be}from"./menu.9d531fff.js";import{I as ce}from"./icon.91a9bf44.js";import{L as pe}from"./link.cac19769.js";import{e as Oe,a as Re,b as Me,i as Ie}from"./index.aabaaaa7.js";import{c as Ve,e as Le,b as al}from"./event-view.de9a16d6.js";import{t as il,r as ol,b as Ze}from"./format-date.be4b741e.js";import{a as Xe,g as Fe,b as fl,s as Ft,c as jt,d as qt,e as Pe,f as Bt,h as cl,i as xe}from"./format-event-attributes.1d147cb1.js";import{q as et}from"./format-time.8258873a.js";import{C as Ce}from"./is-event-type.4dbe973b.js";import{p as Ae}from"./stores.83aed68d.js";import{C as He}from"./code-block.cc2ffee9.js";import{C as Ee}from"./copyable.6f6014ce.js";import{f as z}from"./format-camel-case.887ffc78.js";import{m as Se,f as _e}from"./route-for.f2f7cb1c.js";import{T as Ht,a as ul}from"./table-header-row.b413d43a.js";import{c as ml,a as _l}from"./get-event-categorization.35f43125.js";import{e as tt}from"./filters.bd92de72.js";import{t as dl}from"./versions.44d896b4.js";import{u as Wt}from"./pagination.5253b8b7.js";import{i as pl}from"./version-check.d006b302.js";import{M as hl}from"./menu-divider.99a2857a.js";import{B as vl}from"./button.a4f5a3d4.js";function gl(s){let e,l;return e=new nl({props:{title:A("events","empty-state-title"),content:A("events","empty-state-description")}}),{c(){T(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){y(e,t,n),l=!0},p:ee,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){v(e.$$.fragment,t),l=!1},d(t){V(e,t)}}}function $l(s){let e,l;return e=new rl({}),{c(){T(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){y(e,t,n),l=!0},p:ee,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){v(e.$$.fragment,t),l=!1},d(t){V(e,t)}}}function bl(s){let e,l,t,n,r;const i=[$l,gl],a=[];function c(o,f){return o[0]?0:1}return t=c(s),n=a[t]=i[t](s),{c(){e=b("tr"),l=b("td"),n.c(),this.h()},l(o){e=k(o,"TR",{class:!0});var f=w(e);l=k(f,"TD",{colspan:!0});var m=w(l);n.l(m),m.forEach(d),f.forEach(d),this.h()},h(){$(l,"colspan","6"),$(e,"class","row svelte-kwty14")},m(o,f){E(o,e,f),h(e,l),a[t].m(l,null),r=!0},p(o,[f]){let m=t;t=c(o),t===m?a[t].p(o,f):(B(),v(a[m],1,1,()=>{a[m]=null}),H(),n=a[t],n?n.p(o,f):(n=a[t]=i[t](o),n.c()),p(n,1),n.m(l,null))},i(o){r||(p(n),r=!0)},o(o){v(n),r=!1},d(o){o&&d(e),a[t].d()}}}function kl(s,e,l){let{loading:t=!1}=e;return s.$$set=n=>{"loading"in n&&l(0,t=n.loading)},[t]}class mr extends re{constructor(e){super(),se(this,e,kl,bl,ae,{loading:0})}}function lt(s){let e,l,t;return l=new ce({props:{name:s[1]?"spinner":s[3]}}),{c(){e=b("span"),T(l.$$.fragment),this.h()},l(n){e=k(n,"SPAN",{});var r=w(e);D(l.$$.fragment,r),r.forEach(d),this.h()},h(){L(e,"animate-spin",s[1])},m(n,r){E(n,e,r),y(l,e,null),t=!0},p(n,r){const i={};r&10&&(i.name=n[1]?"spinner":n[3]),l.$set(i),(!t||r&2)&&L(e,"animate-spin",n[1])},i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){v(l.$$.fragment,n),t=!1},d(n){n&&d(e),V(l)}}}function wl(s){let e,l,t,n,r,i,a=s[3]&<(s);const c=s[7].default,o=Pt(c,s,s[6],null);return{c(){e=b("button"),a&&a.c(),l=C(),o&&o.c(),this.h()},l(f){e=k(f,"BUTTON",{class:!0});var m=w(e);a&&a.l(m),l=S(m),o&&o.l(m),m.forEach(d),this.h()},h(){$(e,"class",t=Ye(`pill ${s[5]} ${s[4]}`)+" svelte-1dt2q6k"),e.disabled=s[0],L(e,"active",s[2])},m(f,m){E(f,e,m),a&&a.m(e,null),h(e,l),o&&o.m(e,null),n=!0,r||(i=je(e,"click",s[8]),r=!0)},p(f,[m]){f[3]?a?(a.p(f,m),m&8&&p(a,1)):(a=lt(f),a.c(),p(a,1),a.m(e,l)):a&&(B(),v(a,1,1,()=>{a=null}),H()),o&&o.p&&(!n||m&64)&&Ct(o,c,f,f[6],n?Gt(c,f[6],m,null):St(f[6]),null),(!n||m&48&&t!==(t=Ye(`pill ${f[5]} ${f[4]}`)+" svelte-1dt2q6k"))&&$(e,"class",t),(!n||m&1)&&(e.disabled=f[0]),(!n||m&52)&&L(e,"active",f[2])},i(f){n||(p(a),p(o,f),n=!0)},o(f){v(a),v(o,f),n=!1},d(f){f&&d(e),a&&a.d(),o&&o.d(f),r=!1,i()}}}function El(s,e,l){let{$$slots:t={},$$scope:n}=e,{disabled:r=!1}=e,{loading:i=!1}=e,{active:a=!1}=e,{icon:c=null}=e,{classes:o=e.class}=e,{color:f="gray"}=e;function m(u){Ut.call(this,s,u)}return s.$$set=u=>{l(9,e=de(de({},e),we(u))),"disabled"in u&&l(0,r=u.disabled),"loading"in u&&l(1,i=u.loading),"active"in u&&l(2,a=u.active),"icon"in u&&l(3,c=u.icon),"classes"in u&&l(4,o=u.classes),"color"in u&&l(5,f=u.color),"$$scope"in u&&l(6,n=u.$$scope)},e=we(e),[r,i,a,c,o,f,n,t,m]}class Il extends re{constructor(e){super(),se(this,e,El,wl,ae,{disabled:0,loading:1,active:2,icon:3,classes:4,color:5})}}function nt(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 rt(s){let e,l,t=[],n=new Map,r,i=Object.entries(s[0]);const a=c=>c[5];for(let c=0;c{r=null}),H())},i(i){n||(p(r),n=!0)},o(i){v(r),n=!1},d(i){i&&d(l),r&&r.d(i),i&&d(t)}}}function Dl(s){let e,l,t=s[2]>1&&rt(s);return{c(){t&&t.c(),e=q()},l(n){t&&t.l(n),e=q()},m(n,r){t&&t.m(n,r),E(n,e,r),l=!0},p(n,[r]){n[2]>1?t?(t.p(n,r),r&4&&p(t,1)):(t=rt(n),t.c(),p(t,1),t.m(e.parentNode,e)):t&&(B(),v(t,1,1,()=>{t=null}),H())},i(n){l||(p(t),l=!0)},o(n){v(t),l=!1},d(n){t&&t.d(n),n&&d(e)}}}function yl(s,e,l){let t,{attributeGrouping:n}=e,{activePill:r}=e;const i=At(),a=c=>i("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,o)=>(o.length&&(c+=1),c),0))},[n,r,t,i,a]}class Qt extends re{constructor(e){super(),se(this,e,yl,Dl,ae,{attributeGrouping:0,activePill:1})}}function Vl(s){let e,l,t=z(s[0])+"",n,r,i,a,c;return{c(){e=b("div"),l=b("p"),n=N(t),r=C(),i=b("p"),a=b("span"),c=N(s[1]),this.h()},l(o){e=k(o,"DIV",{class:!0});var f=w(e);l=k(f,"P",{class:!0});var m=w(l);n=O(m,t),m.forEach(d),r=S(f),i=k(f,"P",{class:!0});var u=w(i);a=k(u,"SPAN",{class:!0});var _=w(a);c=O(_,s[1]),_.forEach(d),u.forEach(d),f.forEach(d),this.h()},h(){$(l,"class","text-sm"),$(a,"class","select-all px-2 svelte-10e9wiy"),L(a,"badge",!Pe(s[0])),$(i,"class","text-sm"),$(e,"class","content detail-row svelte-10e9wiy")},m(o,f){E(o,e,f),h(e,l),h(l,n),h(e,r),h(e,i),h(i,a),h(a,c)},p(o,f){f&1&&t!==(t=z(o[0])+"")&&R(n,t),f&2&&R(c,o[1]),f&1&&L(a,"badge",!Pe(o[0]))},i:ee,o:ee,d(o){o&&d(e)}}}function Pl(s){let e,l,t=z(s[0])+"",n,r,i,a,c;return a=new Ee({props:{copyIconTitle:A("copy-icon-title"),copySuccessIconTitle:A("copy-success-icon-title"),content:s[1],"container-class":"xl:flex-row",$$slots:{default:[Nl]},$$scope:{ctx:s}}}),{c(){e=b("div"),l=b("p"),n=N(t),r=C(),i=b("div"),T(a.$$.fragment),this.h()},l(o){e=k(o,"DIV",{class:!0});var f=w(e);l=k(f,"P",{class:!0});var m=w(l);n=O(m,t),m.forEach(d),r=S(f),i=k(f,"DIV",{class:!0});var u=w(i);D(a.$$.fragment,u),u.forEach(d),f.forEach(d),this.h()},h(){$(l,"class","text-sm"),$(i,"class","text-sm"),$(e,"class","content detail-row svelte-10e9wiy")},m(o,f){E(o,e,f),h(e,l),h(l,n),h(e,r),h(e,i),y(a,i,null),c=!0},p(o,f){(!c||f&1)&&t!==(t=z(o[0])+"")&&R(n,t);const m={};f&2&&(m.content=o[1]),f&1026&&(m.$$scope={dirty:f,ctx:o}),a.$set(m)},i(o){c||(p(a.$$.fragment,o),c=!0)},o(o){v(a.$$.fragment,o),c=!1},d(o){o&&d(e),V(a)}}}function Cl(s){let e,l,t=z(s[0])+"",n,r,i,a,c;return a=new Ee({props:{copyIconTitle:A("copy-icon-title"),copySuccessIconTitle:A("copy-success-icon-title"),content:s[1],"container-class":"xl:flex-row",$$slots:{default:[Rl]},$$scope:{ctx:s}}}),{c(){e=b("div"),l=b("p"),n=N(t),r=C(),i=b("div"),T(a.$$.fragment),this.h()},l(o){e=k(o,"DIV",{class:!0});var f=w(e);l=k(f,"P",{class:!0});var m=w(l);n=O(m,t),m.forEach(d),r=S(f),i=k(f,"DIV",{class:!0});var u=w(i);D(a.$$.fragment,u),u.forEach(d),f.forEach(d),this.h()},h(){$(l,"class","text-sm"),$(i,"class","text-sm"),$(e,"class","content detail-row svelte-10e9wiy")},m(o,f){E(o,e,f),h(e,l),h(l,n),h(e,r),h(e,i),y(a,i,null),c=!0},p(o,f){(!c||f&1)&&t!==(t=z(o[0])+"")&&R(n,t);const m={};f&2&&(m.content=o[1]),f&1030&&(m.$$scope={dirty:f,ctx:o}),a.$set(m)},i(o){c||(p(a.$$.fragment,o),c=!0)},o(o){v(a.$$.fragment,o),c=!1},d(o){o&&d(e),V(a)}}}function Sl(s){let e,l,t=z(s[0])+"",n,r,i,a,c;return a=new Ee({props:{copyIconTitle:A("copy-icon-title"),copySuccessIconTitle:A("copy-success-icon-title"),content:s[1],"container-class":"flex-row-reverse xl:flex-row",$$slots:{default:[Ll]},$$scope:{ctx:s}}}),{c(){e=b("div"),l=b("p"),n=N(t),r=C(),i=b("div"),T(a.$$.fragment),this.h()},l(o){e=k(o,"DIV",{class:!0});var f=w(e);l=k(f,"P",{class:!0});var m=w(l);n=O(m,t),m.forEach(d),r=S(f),i=k(f,"DIV",{class:!0});var u=w(i);D(a.$$.fragment,u),u.forEach(d),f.forEach(d),this.h()},h(){$(l,"class","text-sm"),$(i,"class","text-sm"),$(e,"class","content detail-row svelte-10e9wiy")},m(o,f){E(o,e,f),h(e,l),h(l,n),h(e,r),h(e,i),y(a,i,null),c=!0},p(o,f){(!c||f&1)&&t!==(t=z(o[0])+"")&&R(n,t);const m={};f&2&&(m.content=o[1]),f&1026&&(m.$$scope={dirty:f,ctx:o}),a.$set(m)},i(o){c||(p(a.$$.fragment,o),c=!0)},o(o){v(a.$$.fragment,o),c=!1},d(o){o&&d(e),V(a)}}}function Gl(s){let e,l,t,n=z(s[0])+"",r,i,a,c,o,f;a=new He({props:{content:s[4],class:"h-auto "+(s[5]?"mb-2":"")+" max-h-96 overflow-auto",inline:s[3],copyIconTitle:A("copy-icon-title"),copySuccessIconTitle:A("copy-success-icon-title")}});let m=s[5]&&!s[3]&&it(s);return{c(){e=b("div"),l=b("div"),t=b("p"),r=N(n),i=C(),T(a.$$.fragment),o=C(),m&&m.c(),this.h()},l(u){e=k(u,"DIV",{class:!0});var _=w(e);l=k(_,"DIV",{class:!0});var g=w(l);t=k(g,"P",{class:!0});var I=w(t);r=O(I,n),I.forEach(d),i=S(g),D(a.$$.fragment,g),g.forEach(d),o=S(_),m&&m.l(_),_.forEach(d),this.h()},h(){$(t,"class","text-sm"),$(l,"class",c="flex flex-col "+(s[5]?"lg:w-1/2":"")),$(e,"class","content code-block-row svelte-10e9wiy"),L(e,"code-with-stack-trace",s[5])},m(u,_){E(u,e,_),h(e,l),h(l,t),h(t,r),h(l,i),y(a,l,null),h(e,o),m&&m.m(e,null),f=!0},p(u,_){(!f||_&1)&&n!==(n=z(u[0])+"")&&R(r,n);const g={};_&16&&(g.content=u[4]),_&32&&(g.class="h-auto "+(u[5]?"mb-2":"")+" max-h-96 overflow-auto"),_&8&&(g.inline=u[3]),a.$set(g),(!f||_&32&&c!==(c="flex flex-col "+(u[5]?"lg:w-1/2":"")))&&$(l,"class",c),u[5]&&!u[3]?m?(m.p(u,_),_&40&&p(m,1)):(m=it(u),m.c(),p(m,1),m.m(e,null)):m&&(B(),v(m,1,1,()=>{m=null}),H()),(!f||_&32)&&L(e,"code-with-stack-trace",u[5])},i(u){f||(p(a.$$.fragment,u),p(m),f=!0)},o(u){v(a.$$.fragment,u),v(m),f=!1},d(u){u&&d(e),V(a),m&&m.d()}}}function Al(s){let e;return{c(){e=N(s[1])},l(l){e=O(l,s[1])},m(l,t){E(l,e,t)},p(l,t){t&2&&R(e,l[1])},d(l){l&&d(e)}}}function Nl(s){let e,l;return e=new pe({props:{newTab:!0,href:Se({namespace:s[7],queue:s[1]}),$$slots:{default:[Al]},$$scope:{ctx:s}}}),{c(){T(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){y(e,t,n),l=!0},p(t,n){const r={};n&2&&(r.href=Se({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){v(e.$$.fragment,t),l=!1},d(t){V(e,t)}}}function Ol(s){let e;return{c(){e=N(s[1])},l(l){e=O(l,s[1])},m(l,t){E(l,e,t)},p(l,t){t&2&&R(e,l[1])},d(l){l&&d(e)}}}function Rl(s){var t;let e,l;return e=new pe({props:{newTab:!0,href:_e({namespace:((t=s[2])==null?void 0:t.namespace)||s[7],workflow:s[2].workflowExecutionWorkflowId,run:s[2].workflowExecutionRunId}),$$slots:{default:[Ol]},$$scope:{ctx:s}}}),{c(){T(e.$$.fragment)},l(n){D(e.$$.fragment,n)},m(n,r){y(e,n,r),l=!0},p(n,r){var a;const i={};r&4&&(i.href=_e({namespace:((a=n[2])==null?void 0:a.namespace)||n[7],workflow:n[2].workflowExecutionWorkflowId,run:n[2].workflowExecutionRunId})),r&1026&&(i.$$scope={dirty:r,ctx:n}),e.$set(i)},i(n){l||(p(e.$$.fragment,n),l=!0)},o(n){v(e.$$.fragment,n),l=!1},d(n){V(e,n)}}}function Ml(s){let e;return{c(){e=N(s[1])},l(l){e=O(l,s[1])},m(l,t){E(l,e,t)},p(l,t){t&2&&R(e,l[1])},d(l){l&&d(e)}}}function Ll(s){let e,l;return e=new pe({props:{newTab:!0,href:_e({namespace:s[7],workflow:s[6],run:s[1]}),$$slots:{default:[Ml]},$$scope:{ctx:s}}}),{c(){T(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){y(e,t,n),l=!0},p(t,n){const r={};n&2&&(r.href=_e({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){v(e.$$.fragment,t),l=!1},d(t){V(e,t)}}}function it(s){let e,l,t,n,r,i;return r=new He({props:{content:s[5],class:"mb-2 h-full lg:pr-2",language:"text",copyIconTitle:A("copy-icon-title"),copySuccessIconTitle:A("copy-success-icon-title")}}),{c(){e=b("div"),l=b("p"),t=N("Stack trace"),n=C(),T(r.$$.fragment),this.h()},l(a){e=k(a,"DIV",{class:!0});var c=w(e);l=k(c,"P",{class:!0});var o=w(l);t=O(o,"Stack trace"),o.forEach(d),n=S(c),D(r.$$.fragment,c),c.forEach(d),this.h()},h(){$(l,"class","text-sm"),$(e,"class","flex flex-col lg:w-1/2")},m(a,c){E(a,e,c),h(e,l),h(l,t),h(e,n),y(r,e,null),i=!0},p(a,c){const o={};c&32&&(o.content=a[5]),r.$set(o)},i(a){i||(p(r.$$.fragment,a),i=!0)},o(a){v(r.$$.fragment,a),i=!1},d(a){a&&d(e),V(r)}}}function Fl(s){let e,l,t,n,r,i,a,c;const o=[Gl,Sl,Cl,Pl,Vl],f=[];function m(u,_){return _&1&&(l=null),_&5&&(t=null),_&1&&(n=null),typeof u[1]=="object"?0:(l==null&&(l=!!Ft(u[0])),l?1:(t==null&&(t=!!jt(u[0],u[2])),t?2:(n==null&&(n=!!qt(u[0])),n?3:4)))}return r=m(s,-1),i=f[r]=o[r](s),{c(){e=b("div"),i.c(),this.h()},l(u){e=k(u,"DIV",{class:!0});var _=w(e);i.l(_),_.forEach(d),this.h()},h(){$(e,"class",a="row "+s[8].class+" svelte-10e9wiy")},m(u,_){E(u,e,_),f[r].m(e,null),c=!0},p(u,[_]){let g=r;r=m(u,_),r===g?f[r].p(u,_):(B(),v(f[g],1,1,()=>{f[g]=null}),H(),i=f[r],i?i.p(u,_):(i=f[r]=o[r](u),i.c()),p(i,1),i.m(e,null)),(!c||_&256&&a!==(a="row "+u[8].class+" svelte-10e9wiy"))&&$(e,"class",a)},i(u){c||(p(i),c=!0)},o(u){v(i),c=!1},d(u){u&&d(e),f[r].d()}}}function jl(s,e,l){let t,n,r;te(s,Ae,u=>l(9,r=u));let{key:i}=e,{value:a}=e,{attributes:c}=e,{inline:o=!1}=e;const{workflow:f,namespace:m}=r.params;return s.$$set=u=>{l(8,e=de(de({},e),we(u))),"key"in u&&l(0,i=u.key),"value"in u&&l(1,a=u.value),"attributes"in u&&l(2,c=u.attributes),"inline"in u&&l(3,o=u.inline)},s.$$.update=()=>{s.$$.dirty&2&&l(4,t=Fe(a)),s.$$.dirty&16&&l(5,n=fl(t))},e=we(e),[i,a,c,o,t,n,f,m,e]}class zt extends re{constructor(e){super(),se(this,e,jl,Fl,ae,{key:0,value:1,attributes:2,inline:3})}}function ot(s,e,l){const t=s.slice();return t[4]=e[l][0],t[5]=e[l][1],t}function ft(s,e){let l,t,n,r,i,a=e[4]+"",c,o,f,m,u=(Ce(e[5])?"LocalActivity":e[5].eventType)+"",_,g,I,j,Z,x;function le(){return e[3](e[4])}return{key:s,first:null,c(){l=b("tr"),t=b("td"),n=C(),r=b("td"),i=b("p"),c=N(a),o=C(),f=b("td"),m=b("p"),_=N(u),g=C(),I=b("td"),j=C(),this.h()},l(X){l=k(X,"TR",{class:!0});var F=w(l);t=k(F,"TD",{class:!0}),w(t).forEach(d),n=S(F),r=k(F,"TD",{class:!0});var ne=w(r);i=k(ne,"P",{class:!0});var oe=w(i);c=O(oe,a),oe.forEach(d),ne.forEach(d),o=S(F),f=k(F,"TD",{});var ue=w(f);m=k(ue,"P",{class:!0});var fe=w(m);_=O(fe,u),fe.forEach(d),ue.forEach(d),g=S(F),I=k(F,"TD",{}),w(I).forEach(d),j=S(F),F.forEach(d),this.h()},h(){$(t,"class","w-1/12"),$(i,"class","truncate text-sm text-gray-500 md:text-base"),$(r,"class","w-24"),$(m,"class","event-type truncate text-sm md:text-base svelte-11yead6"),$(l,"class","row svelte-11yead6"),L(l,"active",e[4]===e[1]),L(l,"failure",Oe(e[5])),L(l,"canceled",Re(e[5])),L(l,"terminated",Me(e[5])),this.first=l},m(X,F){E(X,l,F),h(l,t),h(l,n),h(l,r),h(r,i),h(i,c),h(l,o),h(l,f),h(f,m),h(m,_),h(l,g),h(l,I),h(l,j),Z||(x=je(l,"click",Nt(Kt(le))),Z=!0)},p(X,F){e=X,F&1&&a!==(a=e[4]+"")&&R(c,a),F&1&&u!==(u=(Ce(e[5])?"LocalActivity":e[5].eventType)+"")&&R(_,u),F&3&&L(l,"active",e[4]===e[1]),F&1&&L(l,"failure",Oe(e[5])),F&1&&L(l,"canceled",Re(e[5])),F&1&&L(l,"terminated",Me(e[5]))},d(X){X&&d(l),Z=!1,x()}}}function ql(s){let e=[],l=new Map,t,n=[...s[0].events].reverse();const r=i=>i[4];for(let i=0;ir(a);return s.$$set=a=>{"eventGroup"in a&&l(0,t=a.eventGroup),"selectedId"in a&&l(1,n=a.selectedId),"onGroupClick"in a&&l(2,r=a.onGroupClick)},[t,n,r,i]}class Wl extends re{constructor(e){super(),se(this,e,Hl,Bl,ae,{eventGroup:0,selectedId:1,onGroupClick:2})}}function ct(s,e,l){const t=s.slice();return t[10]=e[l][0],t[11]=e[l][1],t}function ut(s,e,l){const t=s.slice();return t[10]=e[l][0],t[11]=e[l][1],t}function Ql(s){let e,l,t,n=[],r=new Map,i;l=new Qt({props:{attributeGrouping:s[4],activePill:s[5]}}),l.$on("pillChange",s[7]);let a=s[6];const c=o=>o[10];for(let o=0;ou[10];for(let u=0;u{i=null}),H())},i(c){r||(p(i),r=!0)},o(c){v(i),r=!1},d(c){c&&d(l),i&&i.d(c),c&&d(n)}}}function dt(s){let e,l;return e=new zt({props:{key:s[10],value:s[11],attributes:s[3],class:"w-full"}}),{c(){T(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){y(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){v(e.$$.fragment,t),l=!1},d(t){V(e,t)}}}function pt(s,e){var a;let l,t=(a=e[4][e[5]])==null?void 0:a.includes(e[10]),n,r,i=t&&dt(e);return{key:s,first:null,c(){l=q(),i&&i.c(),n=q(),this.h()},l(c){l=q(),i&&i.l(c),n=q(),this.h()},h(){this.first=l},m(c,o){E(c,l,o),i&&i.m(c,o),E(c,n,o),r=!0},p(c,o){var f;e=c,o&112&&(t=(f=e[4][e[5]])==null?void 0:f.includes(e[10])),t?i?(i.p(e,o),o&112&&p(i,1)):(i=dt(e),i.c(),p(i,1),i.m(n.parentNode,n)):i&&(B(),v(i,1,1,()=>{i=null}),H())},i(c){r||(p(i),r=!0)},o(c){v(i),r=!1},d(c){c&&d(l),i&&i.d(c),c&&d(n)}}}function Ul(s){let e,l,t,n,r;const i=[zl,Ql],a=[];function c(o,f){return f&6&&(e=null),e==null&&(e=!!(o[2]&&Ie(o[1]))),e?0:1}return l=c(s,-1),t=a[l]=i[l](s),{c(){t.c(),n=q()},l(o){t.l(o),n=q()},m(o,f){a[l].m(o,f),E(o,n,f),r=!0},p(o,[f]){let m=l;l=c(o,f),l===m?a[l].p(o,f):(B(),v(a[m],1,1,()=>{a[m]=null}),H(),t=a[l],t?t.p(o,f):(t=a[l]=i[l](o),t.c()),p(t,1),t.m(n.parentNode,n))},i(o){r||(p(t),r=!0)},o(o){v(t),r=!1},d(o){a[l].d(o),o&&d(n)}}}function Jl(s,e,l){let t,n,r,i,{event:a}=e,{currentEvent:c}=e,{compact:o=!1}=e,{selectedId:f}=e;const m=_=>{l(5,r=_.detail.key)},u=_=>l(0,f=_);return s.$$set=_=>{"event"in _&&l(1,a=_.event),"currentEvent"in _&&l(9,c=_.currentEvent),"compact"in _&&l(2,o=_.compact),"selectedId"in _&&l(0,f=_.selectedId)},s.$$.update=()=>{s.$$.dirty&516&&l(3,t=Bt(c,{compact:o})),s.$$.dirty&10&&l(4,n=cl(a,t)),s.$$.dirty&16&&l(5,r=Object.keys(n).find(_=>n[_].length)),s.$$.dirty&8&&l(6,i=Object.entries(t))},[f,a,o,t,n,r,i,m,u,c]}class Kl extends re{constructor(e){super(),se(this,e,Jl,Ul,ae,{event:1,currentEvent:9,compact:2,selectedId:0})}}function Yl(s){let e,l,t=z(s[0])+"",n,r,i,a,c;return{c(){e=b("div"),l=b("p"),n=N(t),r=C(),i=b("p"),a=b("span"),c=N(s[1]),this.h()},l(o){e=k(o,"DIV",{class:!0});var f=w(e);l=k(f,"P",{class:!0});var m=w(l);n=O(m,t),m.forEach(d),r=S(f),i=k(f,"P",{class:!0});var u=w(i);a=k(u,"SPAN",{class:!0});var _=w(a);c=O(_,s[1]),_.forEach(d),u.forEach(d),f.forEach(d),this.h()},h(){$(l,"class","mr-3 truncate text-sm"),$(a,"class","w-full select-all text-gray-700 svelte-n4ehvt"),L(a,"badge",!Pe(s[0])),$(i,"class","truncate text-right text-sm xl:text-left"),$(e,"class","flex w-full flex-wrap items-center gap-1 pr-1")},m(o,f){E(o,e,f),h(e,l),h(l,n),h(e,r),h(e,i),h(i,a),h(a,c)},p(o,f){f&1&&t!==(t=z(o[0])+"")&&R(n,t),f&2&&R(c,o[1]),f&1&&L(a,"badge",!Pe(o[0]))},i:ee,o:ee,d(o){o&&d(e)}}}function Zl(s){let e,l,t=z(s[0])+"",n,r,i,a,c;return a=new Ee({props:{copyIconTitle:A("copy-icon-title"),copySuccessIconTitle:A("copy-success-icon-title"),content:s[1],"container-class":"h-12 pr-1",$$slots:{default:[ln]},$$scope:{ctx:s}}}),{c(){e=b("div"),l=b("p"),n=N(t),r=C(),i=b("div"),T(a.$$.fragment),this.h()},l(o){e=k(o,"DIV",{class:!0});var f=w(e);l=k(f,"P",{class:!0});var m=w(l);n=O(m,t),m.forEach(d),r=S(f),i=k(f,"DIV",{class:!0});var u=w(i);D(a.$$.fragment,u),u.forEach(d),f.forEach(d),this.h()},h(){$(l,"class","mr-3 truncate text-sm"),$(i,"class","text-sm truncate"),$(e,"class","flex w-full flex-wrap items-center gap-1 pr-1")},m(o,f){E(o,e,f),h(e,l),h(l,n),h(e,r),h(e,i),y(a,i,null),c=!0},p(o,f){(!c||f&1)&&t!==(t=z(o[0])+"")&&R(n,t);const m={};f&2&&(m.content=o[1]),f&258&&(m.$$scope={dirty:f,ctx:o}),a.$set(m)},i(o){c||(p(a.$$.fragment,o),c=!0)},o(o){v(a.$$.fragment,o),c=!1},d(o){o&&d(e),V(a)}}}function Xl(s){let e,l,t=z(s[0])+"",n,r,i,a,c;return a=new Ee({props:{copyIconTitle:A("copy-icon-title"),copySuccessIconTitle:A("copy-success-icon-title"),content:s[1],"container-class":"xl:flex-row h-12 pr-1",$$slots:{default:[rn]},$$scope:{ctx:s}}}),{c(){e=b("div"),l=b("p"),n=N(t),r=C(),i=b("div"),T(a.$$.fragment),this.h()},l(o){e=k(o,"DIV",{class:!0});var f=w(e);l=k(f,"P",{class:!0});var m=w(l);n=O(m,t),m.forEach(d),r=S(f),i=k(f,"DIV",{class:!0});var u=w(i);D(a.$$.fragment,u),u.forEach(d),f.forEach(d),this.h()},h(){$(l,"class","truncate text-sm"),$(i,"class","text-sm truncate"),$(e,"class","flex w-full flex-wrap items-center gap-1 pr-1")},m(o,f){E(o,e,f),h(e,l),h(l,n),h(e,r),h(e,i),y(a,i,null),c=!0},p(o,f){(!c||f&1)&&t!==(t=z(o[0])+"")&&R(n,t);const m={};f&2&&(m.content=o[1]),f&262&&(m.$$scope={dirty:f,ctx:o}),a.$set(m)},i(o){c||(p(a.$$.fragment,o),c=!0)},o(o){v(a.$$.fragment,o),c=!1},d(o){o&&d(e),V(a)}}}function xl(s){let e,l,t=z(s[0])+"",n,r,i,a,c;return a=new Ee({props:{copyIconTitle:A("copy-icon-title"),copySuccessIconTitle:A("copy-success-icon-title"),content:s[1],"container-class":"xl:flex-row h-12 pr-1",$$slots:{default:[an]},$$scope:{ctx:s}}}),{c(){e=b("div"),l=b("p"),n=N(t),r=C(),i=b("div"),T(a.$$.fragment),this.h()},l(o){e=k(o,"DIV",{class:!0});var f=w(e);l=k(f,"P",{class:!0});var m=w(l);n=O(m,t),m.forEach(d),r=S(f),i=k(f,"DIV",{class:!0});var u=w(i);D(a.$$.fragment,u),u.forEach(d),f.forEach(d),this.h()},h(){$(l,"class","mr-3 truncate text-sm"),$(i,"class","text-sm truncate"),$(e,"class","flex w-full flex-wrap items-center gap-1 pr-1")},m(o,f){E(o,e,f),h(e,l),h(l,n),h(e,r),h(e,i),y(a,i,null),c=!0},p(o,f){(!c||f&1)&&t!==(t=z(o[0])+"")&&R(n,t);const m={};f&2&&(m.content=o[1]),f&258&&(m.$$scope={dirty:f,ctx:o}),a.$set(m)},i(o){c||(p(a.$$.fragment,o),c=!0)},o(o){v(a.$$.fragment,o),c=!1},d(o){o&&d(e),V(a)}}}function en(s){let e,l,t=z(s[0])+"",n,r,i,a;return i=new He({props:{content:Fe(s[1]),inline:s[3],copyIconTitle:A("copy-icon-title"),copySuccessIconTitle:A("copy-success-icon-title")}}),{c(){e=b("div"),l=b("p"),n=N(t),r=C(),T(i.$$.fragment),this.h()},l(c){e=k(c,"DIV",{class:!0});var o=w(e);l=k(o,"P",{class:!0});var f=w(l);n=O(f,t),f.forEach(d),r=S(o),D(i.$$.fragment,o),o.forEach(d),this.h()},h(){$(l,"class","min-w-fit text-sm"),$(e,"class","flex w-full flex-wrap items-center pr-1 xl:flex-nowrap xl:gap-4")},m(c,o){E(c,e,o),h(e,l),h(l,n),h(e,r),y(i,e,null),a=!0},p(c,o){(!a||o&1)&&t!==(t=z(c[0])+"")&&R(n,t);const f={};o&2&&(f.content=Fe(c[1])),o&8&&(f.inline=c[3]),i.$set(f)},i(c){a||(p(i.$$.fragment,c),a=!0)},o(c){v(i.$$.fragment,c),a=!1},d(c){c&&d(e),V(i)}}}function tn(s){let e;return{c(){e=N(s[1])},l(l){e=O(l,s[1])},m(l,t){E(l,e,t)},p(l,t){t&2&&R(e,l[1])},d(l){l&&d(e)}}}function ln(s){let e,l;return e=new pe({props:{class:"truncate",newTab:!0,href:Se({namespace:s[5],queue:s[1]}),$$slots:{default:[tn]},$$scope:{ctx:s}}}),{c(){T(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){y(e,t,n),l=!0},p(t,n){const r={};n&2&&(r.href=Se({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){v(e.$$.fragment,t),l=!1},d(t){V(e,t)}}}function nn(s){let e;return{c(){e=N(s[1])},l(l){e=O(l,s[1])},m(l,t){E(l,e,t)},p(l,t){t&2&&R(e,l[1])},d(l){l&&d(e)}}}function rn(s){let e,l;return e=new pe({props:{class:"truncate",newTab:!0,href:_e({namespace:s[5],workflow:s[2].workflowExecutionWorkflowId,run:s[2].workflowExecutionRunId}),$$slots:{default:[nn]},$$scope:{ctx:s}}}),{c(){T(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){y(e,t,n),l=!0},p(t,n){const r={};n&4&&(r.href=_e({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){v(e.$$.fragment,t),l=!1},d(t){V(e,t)}}}function sn(s){let e;return{c(){e=N(s[1])},l(l){e=O(l,s[1])},m(l,t){E(l,e,t)},p(l,t){t&2&&R(e,l[1])},d(l){l&&d(e)}}}function an(s){let e,l;return e=new pe({props:{class:"truncate",newTab:!0,href:_e({namespace:s[5],workflow:s[4],run:s[1]}),$$slots:{default:[sn]},$$scope:{ctx:s}}}),{c(){T(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){y(e,t,n),l=!0},p(t,n){const r={};n&2&&(r.href=_e({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){v(e.$$.fragment,t),l=!1},d(t){V(e,t)}}}function on(s){let e,l,t,n,r,i,a,c;const o=[en,xl,Xl,Zl,Yl],f=[];function m(u,_){return _&1&&(l=null),_&5&&(t=null),_&1&&(n=null),typeof u[1]=="object"?0:(l==null&&(l=!!Ft(u[0])),l?1:(t==null&&(t=!!jt(u[0],u[2])),t?2:(n==null&&(n=!!qt(u[0])),n?3:4)))}return r=m(s,-1),i=f[r]=o[r](s),{c(){e=b("div"),i.c(),this.h()},l(u){e=k(u,"DIV",{class:!0});var _=w(e);i.l(_),_.forEach(d),this.h()},h(){$(e,"class",a="flex flex-row items-center gap-2 first:pt-0 last:border-b-0 xl:gap-4 "+s[6].class+" svelte-n4ehvt")},m(u,_){E(u,e,_),f[r].m(e,null),c=!0},p(u,[_]){let g=r;r=m(u,_),r===g?f[r].p(u,_):(B(),v(f[g],1,1,()=>{f[g]=null}),H(),i=f[r],i?i.p(u,_):(i=f[r]=o[r](u),i.c()),p(i,1),i.m(e,null)),(!c||_&64&&a!==(a="flex flex-row items-center gap-2 first:pt-0 last:border-b-0 xl:gap-4 "+u[6].class+" svelte-n4ehvt"))&&$(e,"class",a)},i(u){c||(p(i),c=!0)},o(u){v(i),c=!1},d(u){u&&d(e),f[r].d()}}}function fn(s,e,l){let t;te(s,Ae,f=>l(7,t=f));let{key:n}=e,{value:r}=e,{attributes:i}=e,{inline:a=!1}=e;const{workflow:c,namespace:o}=t.params;return s.$$set=f=>{l(6,e=de(de({},e),we(f))),"key"in f&&l(0,n=f.key),"value"in f&&l(1,r=f.value),"attributes"in f&&l(2,i=f.attributes),"inline"in f&&l(3,a=f.inline)},e=we(e),[n,r,i,a,c,o,e]}class cn extends re{constructor(e){super(),se(this,e,fn,on,ae,{key:0,value:1,attributes:2,inline:3})}}function un(s){let e=s[0].id+"",l;return{c(){l=N(e)},l(t){l=O(t,e)},m(t,n){E(t,l,n)},p(t,n){n&1&&e!==(e=t[0].id+"")&&R(l,e)},d(t){t&&d(l)}}}function mn(s){var n;let e,l=Ze((n=s[0])==null?void 0:n.eventTime,s[13],{relative:s[14]})+"",t;return{c(){e=b("p"),t=N(l),this.h()},l(r){e=k(r,"P",{class:!0});var i=w(e);t=O(i,l),i.forEach(d),this.h()},h(){$(e,"class","break-word truncate text-sm md:whitespace-normal md:text-base")},m(r,i){E(r,e,i),h(e,t)},p(r,i){var a;i&24577&&l!==(l=Ze((a=r[0])==null?void 0:a.eventTime,r[13],{relative:r[14]})+"")&&R(t,l)},i:ee,o:ee,d(r){r&&d(e)}}}function _n(s){let e,l,t,n,r=s[9]&&ht(s),i=s[8]&&s[8]!=="0ms"&&vt(s);return{c(){e=b("p"),r&&r.c(),l=C(),i&&i.c(),t=q(),this.h()},l(a){e=k(a,"P",{class:!0});var c=w(e);r&&r.l(c),c.forEach(d),l=S(a),i&&i.l(a),t=q(),this.h()},h(){$(e,"class","break-word truncate text-sm md:whitespace-normal")},m(a,c){E(a,e,c),r&&r.m(e,null),E(a,l,c),i&&i.m(a,c),E(a,t,c),n=!0},p(a,c){a[9]?r?r.p(a,c):(r=ht(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),a[8]&&a[8]!=="0ms"?i?(i.p(a,c),c&256&&p(i,1)):(i=vt(a),i.c(),p(i,1),i.m(t.parentNode,t)):i&&(B(),v(i,1,1,()=>{i=null}),H())},i(a){n||(p(i),n=!0)},o(a){v(i),n=!1},d(a){a&&d(e),r&&r.d(),a&&d(l),i&&i.d(a),a&&d(t)}}}function ht(s){let e=s[12]?"-":"+",l,t;return{c(){l=N(e),t=N(s[9])},l(n){l=O(n,e),t=O(n,s[9])},m(n,r){E(n,l,r),E(n,t,r)},p(n,r){r&4096&&e!==(e=n[12]?"-":"+")&&R(l,e),r&512&&R(t,n[9])},d(n){n&&d(l),n&&d(t)}}}function vt(s){let e,l,t,n,r,i;return l=new ce({props:{class:"inline",name:"clock"}}),{c(){e=b("div"),T(l.$$.fragment),t=C(),n=b("p"),r=N(s[8]),this.h()},l(a){e=k(a,"DIV",{class:!0});var c=w(e);D(l.$$.fragment,c),t=S(c),n=k(c,"P",{class:!0});var o=w(n);r=O(o,s[8]),o.forEach(d),c.forEach(d),this.h()},h(){$(n,"class","break-word truncate text-sm md:whitespace-normal"),$(e,"class","flex flex-row items-center gap-0")},m(a,c){E(a,e,c),y(l,e,null),h(e,t),h(e,n),h(n,r),i=!0},p(a,c){(!i||c&256)&&R(r,a[8])},i(a){i||(p(l.$$.fragment,a),i=!0)},o(a){v(l.$$.fragment,a),i=!1},d(a){a&&d(e),V(l)}}}function gt(s){let e,l;return e=new ce({props:{class:"mr-1.5 inline text-red-700",name:"clock"}}),{c(){T(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){y(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){v(e.$$.fragment,t),l=!1},d(t){V(e,t)}}}function $t(s){let e,l;return e=new ce({props:{class:"mr-1.5 inline text-yellow-700",name:"clock"}}),{c(){T(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){y(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){v(e.$$.fragment,t),l=!1},d(t){V(e,t)}}}function bt(s){let e,l;return e=new ce({props:{class:"mr-1.5 inline text-pink-700",name:"clock"}}),{c(){T(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){y(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){v(e.$$.fragment,t),l=!1},d(t){V(e,t)}}}function kt(s){let e,l,t;return l=new ce({props:{class:"inline",name:"chevron-up"}}),{c(){e=b("div"),T(l.$$.fragment)},l(n){e=k(n,"DIV",{});var r=w(e);D(l.$$.fragment,r),r.forEach(d)},m(n,r){E(n,e,r),y(l,e,null),t=!0},i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){v(l.$$.fragment,n),t=!1},d(n){n&&d(e),V(l)}}}function wt(s){let e,l,t,n,r,i,a,c;const o=[xe(s[6]),{attributes:s[10]},{class:"invisible h-0 w-0 md:visible md:h-auto md:w-auto"},{inline:!0}];let f={};for(let m=0;mxt(t,"selectedId",a)),{c(){e=b("tr"),l=b("td"),T(t.$$.fragment),this.h()},l(o){e=k(o,"TR",{class:!0});var f=w(e);l=k(f,"TD",{class:!0,colspan:!0});var m=w(l);D(t.$$.fragment,m),m.forEach(d),f.forEach(d),this.h()},h(){$(l,"class","expanded-cell svelte-bv1sbi"),$(l,"colspan","6"),$(e,"class","svelte-bv1sbi"),L(e,"typedError",s[3])},m(o,f){E(o,e,f),h(e,l),y(t,l,null),i=!0},p(o,f){const m={};f&1&&(m.event=o[0]),f&64&&(m.currentEvent=o[6]),f&2&&(m.compact=o[1]),!n&&f&32&&(n=!0,m.selectedId=o[5],el(()=>n=!1)),t.$set(m),(!i||f&8)&&L(e,"typedError",o[3])},i(o){i||(p(t.$$.fragment,o),o&&(r||tl(()=>{r=ll(e,sl,{}),r.start()})),i=!0)},o(o){v(t.$$.fragment,o),i=!1},d(o){o&&d(e),V(t)}}}function dn(s){let e,l,t,n,r,i,a,c,o,f,m,u,_,g,I,j,Z,x,le,X=(Ce(s[0])?"LocalActivity":s[0].name)+"",F,ne,oe,ue,fe,he,ve,M,ge,ie,Ne,We;r=new pe({props:{class:"truncate",href:"#"+s[0].id,$$slots:{default:[un]},$$scope:{ctx:s}}});const Qe=[_n,mn],me=[];function ze(P,G){return P[11]?0:1}o=ze(s),f=me[o]=Qe[o](s);let U=s[1]&&s[16]&>(),J=s[1]&&s[17]&&$t(),K=s[1]&&s[18]&&bt(),Y=s[7]&&kt(),W=!s[7]&&wt(s),Q=s[7]&&Et(s);return{c(){e=b("tr"),l=b("td"),t=C(),n=b("td"),T(r.$$.fragment),i=C(),a=b("td"),c=b("div"),f.c(),m=C(),u=b("td"),_=b("div"),g=b("div"),U&&U.c(),I=C(),J&&J.c(),j=C(),K&&K.c(),Z=C(),x=b("div"),le=b("p"),F=N(X),ne=C(),Y&&Y.c(),ue=C(),W&&W.c(),fe=C(),he=b("td"),M=C(),Q&&Q.c(),ge=q(),this.h()},l(P){e=k(P,"TR",{class:!0,id:!0,"data-testid":!0});var G=w(e);l=k(G,"TD",{}),w(l).forEach(d),t=S(G),n=k(G,"TD",{class:!0});var $e=w(n);D(r.$$.fragment,$e),$e.forEach(d),i=S(G),a=k(G,"TD",{class:!0});var be=w(a);c=k(be,"DIV",{class:!0});var Ue=w(c);f.l(Ue),Ue.forEach(d),be.forEach(d),m=S(G),u=k(G,"TD",{colspan:!0,class:!0});var Je=w(u);_=k(Je,"DIV",{class:!0});var Te=w(_);g=k(Te,"DIV",{});var ke=w(g);U&&U.l(ke),I=S(ke),J&&J.l(ke),j=S(ke),K&&K.l(ke),ke.forEach(d),Z=S(Te),x=k(Te,"DIV",{class:!0});var De=w(x);le=k(De,"P",{class:!0});var Ke=w(le);F=O(Ke,X),Ke.forEach(d),ne=S(De),Y&&Y.l(De),De.forEach(d),Te.forEach(d),Je.forEach(d),ue=S(G),W&&W.l(G),fe=S(G),he=k(G,"TD",{}),w(he).forEach(d),G.forEach(d),M=S(P),Q&&Q.l(P),ge=q(),this.h()},h(){$(n,"class","w-24 text-left"),$(c,"class","flex flex-col gap-0"),$(a,"class","text-left"),$(le,"class","event-name truncate text-sm font-semibold md:text-base svelte-bv1sbi"),$(x,"class","flex w-full items-center justify-between truncate"),$(_,"class","flex"),$(u,"colspan",oe=s[7]?2:1),$(u,"class","text-right text-sm font-normal xl:text-left"),$(e,"class","row svelte-bv1sbi"),$(e,"id",ve=s[0].id),$(e,"data-testid","event-summary-row"),L(e,"expanded",s[7]&&!s[2]),L(e,"active",s[4]),L(e,"failure",s[16]),L(e,"canceled",s[17]),L(e,"terminated",s[18]),L(e,"typedError",s[3])},m(P,G){E(P,e,G),h(e,l),h(e,t),h(e,n),y(r,n,null),h(e,i),h(e,a),h(a,c),me[o].m(c,null),h(e,m),h(e,u),h(u,_),h(_,g),U&&U.m(g,null),h(g,I),J&&J.m(g,null),h(g,j),K&&K.m(g,null),h(_,Z),h(_,x),h(x,le),h(le,F),h(x,ne),Y&&Y.m(x,null),h(e,ue),W&&W.m(e,null),h(e,fe),h(e,he),E(P,M,G),Q&&Q.m(P,G),E(P,ge,G),ie=!0,Ne||(We=je(e,"click",Nt(s[15])),Ne=!0)},p(P,[G]){const $e={};G&1&&($e.href="#"+P[0].id),G&33554433&&($e.$$scope={dirty:G,ctx:P}),r.$set($e);let be=o;o=ze(P),o===be?me[o].p(P,G):(B(),v(me[be],1,1,()=>{me[be]=null}),H(),f=me[o],f?f.p(P,G):(f=me[o]=Qe[o](P),f.c()),p(f,1),f.m(c,null)),P[1]&&P[16]?U?G&2&&p(U,1):(U=gt(),U.c(),p(U,1),U.m(g,I)):U&&(B(),v(U,1,1,()=>{U=null}),H()),P[1]&&P[17]?J?G&2&&p(J,1):(J=$t(),J.c(),p(J,1),J.m(g,j)):J&&(B(),v(J,1,1,()=>{J=null}),H()),P[1]&&P[18]?K?G&2&&p(K,1):(K=bt(),K.c(),p(K,1),K.m(g,null)):K&&(B(),v(K,1,1,()=>{K=null}),H()),(!ie||G&1)&&X!==(X=(Ce(P[0])?"LocalActivity":P[0].name)+"")&&R(F,X),P[7]?Y?G&128&&p(Y,1):(Y=kt(),Y.c(),p(Y,1),Y.m(x,null)):Y&&(B(),v(Y,1,1,()=>{Y=null}),H()),(!ie||G&128&&oe!==(oe=P[7]?2:1))&&$(u,"colspan",oe),P[7]?W&&(B(),v(W,1,1,()=>{W=null}),H()):W?(W.p(P,G),G&128&&p(W,1)):(W=wt(P),W.c(),p(W,1),W.m(e,fe)),(!ie||G&1&&ve!==(ve=P[0].id))&&$(e,"id",ve),(!ie||G&132)&&L(e,"expanded",P[7]&&!P[2]),(!ie||G&16)&&L(e,"active",P[4]),(!ie||G&8)&&L(e,"typedError",P[3]),P[7]?Q?(Q.p(P,G),G&128&&p(Q,1)):(Q=Et(P),Q.c(),p(Q,1),Q.m(ge.parentNode,ge)):Q&&(B(),v(Q,1,1,()=>{Q=null}),H())},i(P){ie||(p(r.$$.fragment,P),p(f),p(U),p(J),p(K),p(Y),p(W),p(Q),ie=!0)},o(P){v(r.$$.fragment,P),v(f),v(U),v(J),v(K),v(Y),v(W),v(Q),ie=!1},d(P){P&&d(e),V(r),me[o].d(),U&&U.d(),J&&J.d(),K&&K.d(),Y&&Y.d(),W&&W.d(),P&&d(M),Q&&Q.d(P),P&&d(ge),Ne=!1,We()}}}function pn(s,e,l){let t,n,r,i,a,c,o,f,m,u,_,g;te(s,Ve,M=>l(22,m=M)),te(s,Le,M=>l(23,u=M)),te(s,il,M=>l(13,_=M)),te(s,ol,M=>l(14,g=M));let{event:I}=e,{initialItem:j}=e,{compact:Z=!1}=e,{expandAll:x=!1}=e,{typedError:le=!1}=e,{active:X=!1}=e,{onRowClick:F=ee}=e,ne=Ie(I)?Array.from(I.events.keys()).pop():I.id;const oe=()=>{l(7,t=!t),F()},ue=Oe(I),fe=Re(I),he=Me(I);function ve(M){ne=M,l(5,ne)}return s.$$set=M=>{"event"in M&&l(0,I=M.event),"initialItem"in M&&l(19,j=M.initialItem),"compact"in M&&l(1,Z=M.compact),"expandAll"in M&&l(2,x=M.expandAll),"typedError"in M&&l(3,le=M.typedError),"active"in M&&l(4,X=M.active),"onRowClick"in M&&l(20,F=M.onRowClick)},s.$$.update=()=>{s.$$.dirty&20&&l(7,t=x||X),s.$$.dirty&8388608&&l(12,n=u==="descending"),s.$$.dirty&4194304&&l(21,r=m==="true"),s.$$.dirty&2621441&&l(11,i=r&&j&&I.id!==j.id),s.$$.dirty&3&&l(10,a=Bt(I,{compact:Z})),s.$$.dirty&33&&l(6,c=Ie(I)?I.events.get(ne):I),s.$$.dirty&524353&&l(9,o=et({start:j.eventTime,end:Ie(I)?I.initialEvent.eventTime:c.eventTime,includeMilliseconds:!0})),s.$$.dirty&1&&l(8,f=Ie(I)?et({start:I.initialEvent.eventTime,end:I.lastEvent.eventTime,includeMilliseconds:!0}):"")},[I,Z,x,le,X,ne,c,t,f,o,a,i,n,_,g,oe,ue,fe,he,j,F,r,m,u,ve]}class _r extends re{constructor(e){super(),se(this,e,pn,dn,ae,{event:0,initialItem:19,compact:1,expandAll:2,typedError:3,active:4,onRowClick:20})}}function It(s,e,l){const t=s.slice();return t[2]=e[l].label,t[11]=e[l].option,t}function hn(s){let e;return{c(){e=N(s[2])},l(l){e=O(l,s[2])},m(l,t){E(l,e,t)},p(l,t){t&4&&R(e,l[2])},d(l){l&&d(e)}}}function vn(s){let e,l;return e=new ce({props:{name:"filter",slot:"trailing"}}),{c(){T(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){y(e,t,n),l=!0},p:ee,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){v(e.$$.fragment,t),l=!1},d(t){V(e,t)}}}function gn(s){let e=A("events",s[2])+"",l,t;return{c(){l=N(e),t=C()},l(n){l=O(n,e),t=S(n)},m(n,r){E(n,l,r),E(n,t,r)},p(n,r){r&1&&e!==(e=A("events",n[2])+"")&&R(l,e)},d(n){n&&d(l),n&&d(t)}}}function Tt(s){let e,l;function t(){return s[9](s[11])}return e=new Be({props:{"data-testid":"event-category-option",selected:s[1]===s[11],$$slots:{default:[gn]},$$scope:{ctx:s}}}),e.$on("click",t),{c(){T(e.$$.fragment)},l(n){D(e.$$.fragment,n)},m(n,r){y(e,n,r),l=!0},p(n,r){s=n;const i={};r&3&&(i.selected=s[1]===s[11]),r&16385&&(i.$$scope={dirty:r,ctx:s}),e.$set(i)},i(n){l||(p(e.$$.fragment,n),l=!0)},o(n){v(e.$$.fragment,n),l=!1},d(n){V(e,n)}}}function $n(s){let e,l,t=s[0],n=[];for(let i=0;iv(n[i],1,1,()=>{n[i]=null});return{c(){for(let i=0;il(8,r=g)),te(s,tt,g=>l(1,i=g)),te(s,dl,g=>l(10,a=g));var c,o;let{compact:f=!1}=e,m=f?ml:_l;pl("1.21",a)&&(m=m.filter(({option:g})=>g!=="update"));const u=g=>{Wt({parameter:Dt,value:g,url:r.url})},_=g=>u(g);return s.$$set=g=>{"compact"in g&&l(4,f=g.compact)},s.$$.update=()=>{s.$$.dirty&16&&l(2,t=f?A("events","event-type"):A("events","workflow-events")),s.$$.dirty&257&&l(7,n=m.find(({option:g})=>{var I,j;return g===((j=(I=r.url)===null||I===void 0?void 0:I.searchParams)===null||j===void 0?void 0:j.get(Dt))})),s.$$.dirty&224&&ye(tt,i=l(6,o=l(5,c=n==null?void 0:n.option)===null||c===void 0?void 0:c.toString())!==null&&o!==void 0?o:void 0,i)},[m,i,t,u,f,c,o,n,r,_]}class En extends re{constructor(e){super(),se(this,e,wn,kn,ae,{compact:4})}}const In=({compact:s,sortOrder:e,showElapsed:l})=>{if(!((s||e==="descending")&&l==="false"))return`${e}:${l}`};function yt(s,e,l){const t=s.slice();return t[9]=e[l].option,t[10]=e[l].label,t}function Tn(s){let e,l,t,n=A("date-and-time")+"",r,i;return e=new ce({props:{class:"md:hidden",name:"clock"}}),{c(){T(e.$$.fragment),l=C(),t=b("span"),r=N(n),this.h()},l(a){D(e.$$.fragment,a),l=S(a),t=k(a,"SPAN",{class:!0});var c=w(t);r=O(c,n),c.forEach(d),this.h()},h(){$(t,"class","max-md:hidden")},m(a,c){y(e,a,c),E(a,l,c),E(a,t,c),h(t,r),i=!0},p:ee,i(a){i||(p(e.$$.fragment,a),i=!0)},o(a){v(e.$$.fragment,a),i=!1},d(a){V(e,a),a&&d(l),a&&d(t)}}}function Dn(s){let e=s[10]+"",l;return{c(){l=N(e)},l(t){l=O(t,e)},m(t,n){E(t,l,n)},p:ee,d(t){t&&d(l)}}}function Vt(s){let e,l;function t(){return s[7](s[9])}return e=new Be({props:{selected:s[1]===s[9],$$slots:{default:[Dn]},$$scope:{ctx:s}}}),e.$on("click",t),{c(){T(e.$$.fragment)},l(n){D(e.$$.fragment,n)},m(n,r){y(e,n,r),l=!0},p(n,r){s=n;const i={};r&2&&(i.selected=s[1]===s[9]),r&8192&&(i.$$scope={dirty:r,ctx:s}),e.$set(i)},i(n){l||(p(e.$$.fragment,n),l=!0)},o(n){v(e.$$.fragment,n),l=!1},d(n){V(e,n)}}}function yn(s){let e=A("events","show-elapsed-time")+"",l;return{c(){l=N(e)},l(t){l=O(t,e)},m(t,n){E(t,l,n)},p:ee,d(t){t&&d(l)}}}function Vn(s){let e,l,t,n,r,i=s[3],a=[];for(let o=0;ov(a[o],1,1,()=>{a[o]=null});return l=new hl({}),n=new Be({props:{selected:s[0]==="true",$$slots:{default:[yn]},$$scope:{ctx:s}}}),n.$on("click",s[5]),{c(){for(let o=0;ol(0,n=u)),te(s,Le,u=>l(1,r=u)),te(s,Ae,u=>l(8,i=u));let{compact:a}=e,c=[{label:A("events","sort-ascending"),option:"ascending"},{label:A("events","sort-descending"),option:"descending"}];const o=u=>{ye(Le,r=u,r),Wt({parameter:"sort",value:u,url:i.url})},f=()=>{n==="true"?ye(Ve,n="false",n):ye(Ve,n="true",n)},m=u=>o(u);return s.$$set=u=>{"compact"in u&&l(6,a=u.compact)},s.$$.update=()=>{s.$$.dirty&67&&l(2,t=In({compact:a,sortOrder:r,showElapsed:n}))},[n,r,t,c,o,f,a,m]}class Gn extends re{constructor(e){super(),se(this,e,Sn,Cn,ae,{compact:6})}}function An(s){let e;const l=s[4].default,t=Pt(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)&&Ct(t,l,n,n[5],e?Gt(l,n[5],r,null):St(n[5]),null)},i(n){e||(p(t,n),e=!0)},o(n){v(t,n),e=!1},d(n){t&&t.d(n)}}}function Nn(s){let e,l=A("workflows","recent-events")+"",t;return{c(){e=b("caption"),t=N(l),this.h()},l(n){e=k(n,"CAPTION",{class:!0,slot:!0});var r=w(e);t=O(r,l),r.forEach(d),this.h()},h(){$(e,"class","sr-only"),$(e,"slot","caption")},m(n,r){E(n,e,r),h(e,t)},p:ee,d(n){n&&d(e)}}}function On(s){let e,l=(s[2]?A("collapse-all"):A("expand-all"))+"",t;return{c(){e=b("span"),t=N(l),this.h()},l(n){e=k(n,"SPAN",{class:!0});var r=w(e);t=O(r,l),r.forEach(d),this.h()},h(){$(e,"class","hidden sm:block")},m(n,r){E(n,e,r),h(e,t)},p(n,r){r&4&&l!==(l=(n[2]?A("collapse-all"):A("expand-all"))+"")&&R(t,l)},d(n){n&&d(e)}}}function Rn(s){let e,l,t,n,r,i,a,c,o,f,m,u;return n=new Gn({props:{compact:s[0]}}),a=new En({props:{compact:s[0]}}),m=new vl({props:{size:"sm",variant:"table-header",trailingIcon:s[2]?"chevron-up":"chevron-down",$$slots:{default:[On]},$$scope:{ctx:s}}}),m.$on("click",s[3]),{c(){e=b("td"),l=C(),t=b("th"),T(n.$$.fragment),r=C(),i=b("th"),T(a.$$.fragment),c=C(),o=b("th"),f=b("div"),T(m.$$.fragment),this.h()},l(_){e=k(_,"TD",{class:!0}),w(e).forEach(d),l=S(_),t=k(_,"TH",{class:!0});var g=w(t);D(n.$$.fragment,g),g.forEach(d),r=S(_),i=k(_,"TH",{class:!0});var I=w(i);D(a.$$.fragment,I),I.forEach(d),c=S(_),o=k(_,"TH",{class:!0});var j=w(o);f=k(j,"DIV",{class:!0});var Z=w(f);D(m.$$.fragment,Z),Z.forEach(d),j.forEach(d),this.h()},h(){$(e,"class","w-14 xl:w-10"),$(t,"class","w-16 md:w-32"),$(i,"class","w-44"),$(f,"class","flex w-full justify-end"),$(o,"class","w-auto xl:w-80")},m(_,g){E(_,e,g),E(_,l,g),E(_,t,g),y(n,t,null),E(_,r,g),E(_,i,g),y(a,i,null),E(_,c,g),E(_,o,g),h(o,f),y(m,f,null),u=!0},p(_,g){const I={};g&1&&(I.compact=_[0]),n.$set(I);const j={};g&1&&(j.compact=_[0]),a.$set(j);const Z={};g&4&&(Z.trailingIcon=_[2]?"chevron-up":"chevron-down"),g&36&&(Z.$$scope={dirty:g,ctx:_}),m.$set(Z)},i(_){u||(p(n.$$.fragment,_),p(a.$$.fragment,_),p(m.$$.fragment,_),u=!0)},o(_){v(n.$$.fragment,_),v(a.$$.fragment,_),v(m.$$.fragment,_),u=!1},d(_){_&&d(e),_&&d(l),_&&d(t),V(n),_&&d(r),_&&d(i),V(a),_&&d(c),_&&d(o),V(m)}}}function Mn(s){let e,l;return e=new ul({props:{slot:"headers",$$slots:{default:[Rn]},$$scope:{ctx:s}}}),{c(){T(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){y(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){v(e.$$.fragment,t),l=!1},d(t){V(e,t)}}}function Ln(s){let e,l;return e=new Ht({props:{updating:s[1],class:"dark w-full table-fixed",$$slots:{headers:[Mn],caption:[Nn],default:[An]},$$scope:{ctx:s}}}),{c(){T(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){y(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){v(e.$$.fragment,t),l=!1},d(t){V(e,t)}}}function Fn(s,e,l){let t;te(s,al,m=>l(6,t=m));let{$$slots:n={},$$scope:r}=e,{compact:i=!1}=e,{updating:a=!1}=e,c=t==="true";const o=At();function f(){l(2,c=!c),o("expandAll",{expanded:c?"true":"false"})}return s.$$set=m=>{"compact"in m&&l(0,i=m.compact),"updating"in m&&l(1,a=m.updating),"$$scope"in m&&l(5,r=m.$$scope)},[i,a,c,f,n,r]}class dr extends re{constructor(e){super(),se(this,e,Fn,Ln,ae,{compact:0,updating:1})}}export{dr as E,mr as a,_r as b}; +import{S as re,b as se,a as ae,m as b,p as k,q as w,k as d,u as $,f as E,L as h,z as B,g as v,h as H,j as p,C as T,D,E as y,n as ee,F as V,G as Pt,c as C,d as S,$ as Ye,P as L,Q as je,H as Ct,I as St,J as Gt,N as de,U as we,V as Ut,e as q,M as At,a9 as Ge,aa as qe,w as N,x as O,y as R,K as te,al as Jt,a1 as Nt,af as Kt,R as Yt,Y as Zt,A as Xt,Z as xt,_ as el,a3 as tl,a4 as ll,a5 as ye,a6 as Ot}from"./index.efded970.js";import{E as nl}from"./empty-state.22810bcf.js";import{L as rl}from"./loading.32266c92.js";import{t as A}from"./translate.230dcc19.js";import{e as sl,M as Rt,a as Mt,b as Lt,d as Be}from"./menu.9d531fff.js";import{I as ce}from"./icon.91a9bf44.js";import{L as pe}from"./link.cac19769.js";import{e as Oe,a as Re,b as Me,i as Ie}from"./index.aabaaaa7.js";import{c as Ve,e as Le,b as al}from"./event-view.de9a16d6.js";import{t as il,r as ol,b as Ze}from"./format-date.be4b741e.js";import{a as Xe,g as Fe,b as fl,s as Ft,c as jt,d as qt,e as Pe,f as Bt,h as cl,i as xe}from"./format-event-attributes.1d147cb1.js";import{q as et}from"./format-time.8258873a.js";import{C as Ce}from"./is-event-type.4dbe973b.js";import{p as Ae}from"./stores.3002bd93.js";import{C as He}from"./code-block.cc2ffee9.js";import{C as Ee}from"./copyable.6f6014ce.js";import{f as z}from"./format-camel-case.887ffc78.js";import{m as Se,f as _e}from"./route-for.8244bd54.js";import{T as Ht,a as ul}from"./table-header-row.b413d43a.js";import{c as ml,a as _l}from"./get-event-categorization.35f43125.js";import{e as tt}from"./filters.2e8e7341.js";import{t as dl}from"./versions.44d896b4.js";import{u as Wt}from"./pagination.e9c8b93a.js";import{i as pl}from"./version-check.d006b302.js";import{M as hl}from"./menu-divider.99a2857a.js";import{B as vl}from"./button.a4f5a3d4.js";function gl(s){let e,l;return e=new nl({props:{title:A("events","empty-state-title"),content:A("events","empty-state-description")}}),{c(){T(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){y(e,t,n),l=!0},p:ee,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){v(e.$$.fragment,t),l=!1},d(t){V(e,t)}}}function $l(s){let e,l;return e=new rl({}),{c(){T(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){y(e,t,n),l=!0},p:ee,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){v(e.$$.fragment,t),l=!1},d(t){V(e,t)}}}function bl(s){let e,l,t,n,r;const i=[$l,gl],a=[];function c(o,f){return o[0]?0:1}return t=c(s),n=a[t]=i[t](s),{c(){e=b("tr"),l=b("td"),n.c(),this.h()},l(o){e=k(o,"TR",{class:!0});var f=w(e);l=k(f,"TD",{colspan:!0});var m=w(l);n.l(m),m.forEach(d),f.forEach(d),this.h()},h(){$(l,"colspan","6"),$(e,"class","row svelte-kwty14")},m(o,f){E(o,e,f),h(e,l),a[t].m(l,null),r=!0},p(o,[f]){let m=t;t=c(o),t===m?a[t].p(o,f):(B(),v(a[m],1,1,()=>{a[m]=null}),H(),n=a[t],n?n.p(o,f):(n=a[t]=i[t](o),n.c()),p(n,1),n.m(l,null))},i(o){r||(p(n),r=!0)},o(o){v(n),r=!1},d(o){o&&d(e),a[t].d()}}}function kl(s,e,l){let{loading:t=!1}=e;return s.$$set=n=>{"loading"in n&&l(0,t=n.loading)},[t]}class mr extends re{constructor(e){super(),se(this,e,kl,bl,ae,{loading:0})}}function lt(s){let e,l,t;return l=new ce({props:{name:s[1]?"spinner":s[3]}}),{c(){e=b("span"),T(l.$$.fragment),this.h()},l(n){e=k(n,"SPAN",{});var r=w(e);D(l.$$.fragment,r),r.forEach(d),this.h()},h(){L(e,"animate-spin",s[1])},m(n,r){E(n,e,r),y(l,e,null),t=!0},p(n,r){const i={};r&10&&(i.name=n[1]?"spinner":n[3]),l.$set(i),(!t||r&2)&&L(e,"animate-spin",n[1])},i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){v(l.$$.fragment,n),t=!1},d(n){n&&d(e),V(l)}}}function wl(s){let e,l,t,n,r,i,a=s[3]&<(s);const c=s[7].default,o=Pt(c,s,s[6],null);return{c(){e=b("button"),a&&a.c(),l=C(),o&&o.c(),this.h()},l(f){e=k(f,"BUTTON",{class:!0});var m=w(e);a&&a.l(m),l=S(m),o&&o.l(m),m.forEach(d),this.h()},h(){$(e,"class",t=Ye(`pill ${s[5]} ${s[4]}`)+" svelte-1dt2q6k"),e.disabled=s[0],L(e,"active",s[2])},m(f,m){E(f,e,m),a&&a.m(e,null),h(e,l),o&&o.m(e,null),n=!0,r||(i=je(e,"click",s[8]),r=!0)},p(f,[m]){f[3]?a?(a.p(f,m),m&8&&p(a,1)):(a=lt(f),a.c(),p(a,1),a.m(e,l)):a&&(B(),v(a,1,1,()=>{a=null}),H()),o&&o.p&&(!n||m&64)&&Ct(o,c,f,f[6],n?Gt(c,f[6],m,null):St(f[6]),null),(!n||m&48&&t!==(t=Ye(`pill ${f[5]} ${f[4]}`)+" svelte-1dt2q6k"))&&$(e,"class",t),(!n||m&1)&&(e.disabled=f[0]),(!n||m&52)&&L(e,"active",f[2])},i(f){n||(p(a),p(o,f),n=!0)},o(f){v(a),v(o,f),n=!1},d(f){f&&d(e),a&&a.d(),o&&o.d(f),r=!1,i()}}}function El(s,e,l){let{$$slots:t={},$$scope:n}=e,{disabled:r=!1}=e,{loading:i=!1}=e,{active:a=!1}=e,{icon:c=null}=e,{classes:o=e.class}=e,{color:f="gray"}=e;function m(u){Ut.call(this,s,u)}return s.$$set=u=>{l(9,e=de(de({},e),we(u))),"disabled"in u&&l(0,r=u.disabled),"loading"in u&&l(1,i=u.loading),"active"in u&&l(2,a=u.active),"icon"in u&&l(3,c=u.icon),"classes"in u&&l(4,o=u.classes),"color"in u&&l(5,f=u.color),"$$scope"in u&&l(6,n=u.$$scope)},e=we(e),[r,i,a,c,o,f,n,t,m]}class Il extends re{constructor(e){super(),se(this,e,El,wl,ae,{disabled:0,loading:1,active:2,icon:3,classes:4,color:5})}}function nt(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 rt(s){let e,l,t=[],n=new Map,r,i=Object.entries(s[0]);const a=c=>c[5];for(let c=0;c{r=null}),H())},i(i){n||(p(r),n=!0)},o(i){v(r),n=!1},d(i){i&&d(l),r&&r.d(i),i&&d(t)}}}function Dl(s){let e,l,t=s[2]>1&&rt(s);return{c(){t&&t.c(),e=q()},l(n){t&&t.l(n),e=q()},m(n,r){t&&t.m(n,r),E(n,e,r),l=!0},p(n,[r]){n[2]>1?t?(t.p(n,r),r&4&&p(t,1)):(t=rt(n),t.c(),p(t,1),t.m(e.parentNode,e)):t&&(B(),v(t,1,1,()=>{t=null}),H())},i(n){l||(p(t),l=!0)},o(n){v(t),l=!1},d(n){t&&t.d(n),n&&d(e)}}}function yl(s,e,l){let t,{attributeGrouping:n}=e,{activePill:r}=e;const i=At(),a=c=>i("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,o)=>(o.length&&(c+=1),c),0))},[n,r,t,i,a]}class Qt extends re{constructor(e){super(),se(this,e,yl,Dl,ae,{attributeGrouping:0,activePill:1})}}function Vl(s){let e,l,t=z(s[0])+"",n,r,i,a,c;return{c(){e=b("div"),l=b("p"),n=N(t),r=C(),i=b("p"),a=b("span"),c=N(s[1]),this.h()},l(o){e=k(o,"DIV",{class:!0});var f=w(e);l=k(f,"P",{class:!0});var m=w(l);n=O(m,t),m.forEach(d),r=S(f),i=k(f,"P",{class:!0});var u=w(i);a=k(u,"SPAN",{class:!0});var _=w(a);c=O(_,s[1]),_.forEach(d),u.forEach(d),f.forEach(d),this.h()},h(){$(l,"class","text-sm"),$(a,"class","select-all px-2 svelte-10e9wiy"),L(a,"badge",!Pe(s[0])),$(i,"class","text-sm"),$(e,"class","content detail-row svelte-10e9wiy")},m(o,f){E(o,e,f),h(e,l),h(l,n),h(e,r),h(e,i),h(i,a),h(a,c)},p(o,f){f&1&&t!==(t=z(o[0])+"")&&R(n,t),f&2&&R(c,o[1]),f&1&&L(a,"badge",!Pe(o[0]))},i:ee,o:ee,d(o){o&&d(e)}}}function Pl(s){let e,l,t=z(s[0])+"",n,r,i,a,c;return a=new Ee({props:{copyIconTitle:A("copy-icon-title"),copySuccessIconTitle:A("copy-success-icon-title"),content:s[1],"container-class":"xl:flex-row",$$slots:{default:[Nl]},$$scope:{ctx:s}}}),{c(){e=b("div"),l=b("p"),n=N(t),r=C(),i=b("div"),T(a.$$.fragment),this.h()},l(o){e=k(o,"DIV",{class:!0});var f=w(e);l=k(f,"P",{class:!0});var m=w(l);n=O(m,t),m.forEach(d),r=S(f),i=k(f,"DIV",{class:!0});var u=w(i);D(a.$$.fragment,u),u.forEach(d),f.forEach(d),this.h()},h(){$(l,"class","text-sm"),$(i,"class","text-sm"),$(e,"class","content detail-row svelte-10e9wiy")},m(o,f){E(o,e,f),h(e,l),h(l,n),h(e,r),h(e,i),y(a,i,null),c=!0},p(o,f){(!c||f&1)&&t!==(t=z(o[0])+"")&&R(n,t);const m={};f&2&&(m.content=o[1]),f&1026&&(m.$$scope={dirty:f,ctx:o}),a.$set(m)},i(o){c||(p(a.$$.fragment,o),c=!0)},o(o){v(a.$$.fragment,o),c=!1},d(o){o&&d(e),V(a)}}}function Cl(s){let e,l,t=z(s[0])+"",n,r,i,a,c;return a=new Ee({props:{copyIconTitle:A("copy-icon-title"),copySuccessIconTitle:A("copy-success-icon-title"),content:s[1],"container-class":"xl:flex-row",$$slots:{default:[Rl]},$$scope:{ctx:s}}}),{c(){e=b("div"),l=b("p"),n=N(t),r=C(),i=b("div"),T(a.$$.fragment),this.h()},l(o){e=k(o,"DIV",{class:!0});var f=w(e);l=k(f,"P",{class:!0});var m=w(l);n=O(m,t),m.forEach(d),r=S(f),i=k(f,"DIV",{class:!0});var u=w(i);D(a.$$.fragment,u),u.forEach(d),f.forEach(d),this.h()},h(){$(l,"class","text-sm"),$(i,"class","text-sm"),$(e,"class","content detail-row svelte-10e9wiy")},m(o,f){E(o,e,f),h(e,l),h(l,n),h(e,r),h(e,i),y(a,i,null),c=!0},p(o,f){(!c||f&1)&&t!==(t=z(o[0])+"")&&R(n,t);const m={};f&2&&(m.content=o[1]),f&1030&&(m.$$scope={dirty:f,ctx:o}),a.$set(m)},i(o){c||(p(a.$$.fragment,o),c=!0)},o(o){v(a.$$.fragment,o),c=!1},d(o){o&&d(e),V(a)}}}function Sl(s){let e,l,t=z(s[0])+"",n,r,i,a,c;return a=new Ee({props:{copyIconTitle:A("copy-icon-title"),copySuccessIconTitle:A("copy-success-icon-title"),content:s[1],"container-class":"flex-row-reverse xl:flex-row",$$slots:{default:[Ll]},$$scope:{ctx:s}}}),{c(){e=b("div"),l=b("p"),n=N(t),r=C(),i=b("div"),T(a.$$.fragment),this.h()},l(o){e=k(o,"DIV",{class:!0});var f=w(e);l=k(f,"P",{class:!0});var m=w(l);n=O(m,t),m.forEach(d),r=S(f),i=k(f,"DIV",{class:!0});var u=w(i);D(a.$$.fragment,u),u.forEach(d),f.forEach(d),this.h()},h(){$(l,"class","text-sm"),$(i,"class","text-sm"),$(e,"class","content detail-row svelte-10e9wiy")},m(o,f){E(o,e,f),h(e,l),h(l,n),h(e,r),h(e,i),y(a,i,null),c=!0},p(o,f){(!c||f&1)&&t!==(t=z(o[0])+"")&&R(n,t);const m={};f&2&&(m.content=o[1]),f&1026&&(m.$$scope={dirty:f,ctx:o}),a.$set(m)},i(o){c||(p(a.$$.fragment,o),c=!0)},o(o){v(a.$$.fragment,o),c=!1},d(o){o&&d(e),V(a)}}}function Gl(s){let e,l,t,n=z(s[0])+"",r,i,a,c,o,f;a=new He({props:{content:s[4],class:"h-auto "+(s[5]?"mb-2":"")+" max-h-96 overflow-auto",inline:s[3],copyIconTitle:A("copy-icon-title"),copySuccessIconTitle:A("copy-success-icon-title")}});let m=s[5]&&!s[3]&&it(s);return{c(){e=b("div"),l=b("div"),t=b("p"),r=N(n),i=C(),T(a.$$.fragment),o=C(),m&&m.c(),this.h()},l(u){e=k(u,"DIV",{class:!0});var _=w(e);l=k(_,"DIV",{class:!0});var g=w(l);t=k(g,"P",{class:!0});var I=w(t);r=O(I,n),I.forEach(d),i=S(g),D(a.$$.fragment,g),g.forEach(d),o=S(_),m&&m.l(_),_.forEach(d),this.h()},h(){$(t,"class","text-sm"),$(l,"class",c="flex flex-col "+(s[5]?"lg:w-1/2":"")),$(e,"class","content code-block-row svelte-10e9wiy"),L(e,"code-with-stack-trace",s[5])},m(u,_){E(u,e,_),h(e,l),h(l,t),h(t,r),h(l,i),y(a,l,null),h(e,o),m&&m.m(e,null),f=!0},p(u,_){(!f||_&1)&&n!==(n=z(u[0])+"")&&R(r,n);const g={};_&16&&(g.content=u[4]),_&32&&(g.class="h-auto "+(u[5]?"mb-2":"")+" max-h-96 overflow-auto"),_&8&&(g.inline=u[3]),a.$set(g),(!f||_&32&&c!==(c="flex flex-col "+(u[5]?"lg:w-1/2":"")))&&$(l,"class",c),u[5]&&!u[3]?m?(m.p(u,_),_&40&&p(m,1)):(m=it(u),m.c(),p(m,1),m.m(e,null)):m&&(B(),v(m,1,1,()=>{m=null}),H()),(!f||_&32)&&L(e,"code-with-stack-trace",u[5])},i(u){f||(p(a.$$.fragment,u),p(m),f=!0)},o(u){v(a.$$.fragment,u),v(m),f=!1},d(u){u&&d(e),V(a),m&&m.d()}}}function Al(s){let e;return{c(){e=N(s[1])},l(l){e=O(l,s[1])},m(l,t){E(l,e,t)},p(l,t){t&2&&R(e,l[1])},d(l){l&&d(e)}}}function Nl(s){let e,l;return e=new pe({props:{newTab:!0,href:Se({namespace:s[7],queue:s[1]}),$$slots:{default:[Al]},$$scope:{ctx:s}}}),{c(){T(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){y(e,t,n),l=!0},p(t,n){const r={};n&2&&(r.href=Se({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){v(e.$$.fragment,t),l=!1},d(t){V(e,t)}}}function Ol(s){let e;return{c(){e=N(s[1])},l(l){e=O(l,s[1])},m(l,t){E(l,e,t)},p(l,t){t&2&&R(e,l[1])},d(l){l&&d(e)}}}function Rl(s){var t;let e,l;return e=new pe({props:{newTab:!0,href:_e({namespace:((t=s[2])==null?void 0:t.namespace)||s[7],workflow:s[2].workflowExecutionWorkflowId,run:s[2].workflowExecutionRunId}),$$slots:{default:[Ol]},$$scope:{ctx:s}}}),{c(){T(e.$$.fragment)},l(n){D(e.$$.fragment,n)},m(n,r){y(e,n,r),l=!0},p(n,r){var a;const i={};r&4&&(i.href=_e({namespace:((a=n[2])==null?void 0:a.namespace)||n[7],workflow:n[2].workflowExecutionWorkflowId,run:n[2].workflowExecutionRunId})),r&1026&&(i.$$scope={dirty:r,ctx:n}),e.$set(i)},i(n){l||(p(e.$$.fragment,n),l=!0)},o(n){v(e.$$.fragment,n),l=!1},d(n){V(e,n)}}}function Ml(s){let e;return{c(){e=N(s[1])},l(l){e=O(l,s[1])},m(l,t){E(l,e,t)},p(l,t){t&2&&R(e,l[1])},d(l){l&&d(e)}}}function Ll(s){let e,l;return e=new pe({props:{newTab:!0,href:_e({namespace:s[7],workflow:s[6],run:s[1]}),$$slots:{default:[Ml]},$$scope:{ctx:s}}}),{c(){T(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){y(e,t,n),l=!0},p(t,n){const r={};n&2&&(r.href=_e({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){v(e.$$.fragment,t),l=!1},d(t){V(e,t)}}}function it(s){let e,l,t,n,r,i;return r=new He({props:{content:s[5],class:"mb-2 h-full lg:pr-2",language:"text",copyIconTitle:A("copy-icon-title"),copySuccessIconTitle:A("copy-success-icon-title")}}),{c(){e=b("div"),l=b("p"),t=N("Stack trace"),n=C(),T(r.$$.fragment),this.h()},l(a){e=k(a,"DIV",{class:!0});var c=w(e);l=k(c,"P",{class:!0});var o=w(l);t=O(o,"Stack trace"),o.forEach(d),n=S(c),D(r.$$.fragment,c),c.forEach(d),this.h()},h(){$(l,"class","text-sm"),$(e,"class","flex flex-col lg:w-1/2")},m(a,c){E(a,e,c),h(e,l),h(l,t),h(e,n),y(r,e,null),i=!0},p(a,c){const o={};c&32&&(o.content=a[5]),r.$set(o)},i(a){i||(p(r.$$.fragment,a),i=!0)},o(a){v(r.$$.fragment,a),i=!1},d(a){a&&d(e),V(r)}}}function Fl(s){let e,l,t,n,r,i,a,c;const o=[Gl,Sl,Cl,Pl,Vl],f=[];function m(u,_){return _&1&&(l=null),_&5&&(t=null),_&1&&(n=null),typeof u[1]=="object"?0:(l==null&&(l=!!Ft(u[0])),l?1:(t==null&&(t=!!jt(u[0],u[2])),t?2:(n==null&&(n=!!qt(u[0])),n?3:4)))}return r=m(s,-1),i=f[r]=o[r](s),{c(){e=b("div"),i.c(),this.h()},l(u){e=k(u,"DIV",{class:!0});var _=w(e);i.l(_),_.forEach(d),this.h()},h(){$(e,"class",a="row "+s[8].class+" svelte-10e9wiy")},m(u,_){E(u,e,_),f[r].m(e,null),c=!0},p(u,[_]){let g=r;r=m(u,_),r===g?f[r].p(u,_):(B(),v(f[g],1,1,()=>{f[g]=null}),H(),i=f[r],i?i.p(u,_):(i=f[r]=o[r](u),i.c()),p(i,1),i.m(e,null)),(!c||_&256&&a!==(a="row "+u[8].class+" svelte-10e9wiy"))&&$(e,"class",a)},i(u){c||(p(i),c=!0)},o(u){v(i),c=!1},d(u){u&&d(e),f[r].d()}}}function jl(s,e,l){let t,n,r;te(s,Ae,u=>l(9,r=u));let{key:i}=e,{value:a}=e,{attributes:c}=e,{inline:o=!1}=e;const{workflow:f,namespace:m}=r.params;return s.$$set=u=>{l(8,e=de(de({},e),we(u))),"key"in u&&l(0,i=u.key),"value"in u&&l(1,a=u.value),"attributes"in u&&l(2,c=u.attributes),"inline"in u&&l(3,o=u.inline)},s.$$.update=()=>{s.$$.dirty&2&&l(4,t=Fe(a)),s.$$.dirty&16&&l(5,n=fl(t))},e=we(e),[i,a,c,o,t,n,f,m,e]}class zt extends re{constructor(e){super(),se(this,e,jl,Fl,ae,{key:0,value:1,attributes:2,inline:3})}}function ot(s,e,l){const t=s.slice();return t[4]=e[l][0],t[5]=e[l][1],t}function ft(s,e){let l,t,n,r,i,a=e[4]+"",c,o,f,m,u=(Ce(e[5])?"LocalActivity":e[5].eventType)+"",_,g,I,j,Z,x;function le(){return e[3](e[4])}return{key:s,first:null,c(){l=b("tr"),t=b("td"),n=C(),r=b("td"),i=b("p"),c=N(a),o=C(),f=b("td"),m=b("p"),_=N(u),g=C(),I=b("td"),j=C(),this.h()},l(X){l=k(X,"TR",{class:!0});var F=w(l);t=k(F,"TD",{class:!0}),w(t).forEach(d),n=S(F),r=k(F,"TD",{class:!0});var ne=w(r);i=k(ne,"P",{class:!0});var oe=w(i);c=O(oe,a),oe.forEach(d),ne.forEach(d),o=S(F),f=k(F,"TD",{});var ue=w(f);m=k(ue,"P",{class:!0});var fe=w(m);_=O(fe,u),fe.forEach(d),ue.forEach(d),g=S(F),I=k(F,"TD",{}),w(I).forEach(d),j=S(F),F.forEach(d),this.h()},h(){$(t,"class","w-1/12"),$(i,"class","truncate text-sm text-gray-500 md:text-base"),$(r,"class","w-24"),$(m,"class","event-type truncate text-sm md:text-base svelte-11yead6"),$(l,"class","row svelte-11yead6"),L(l,"active",e[4]===e[1]),L(l,"failure",Oe(e[5])),L(l,"canceled",Re(e[5])),L(l,"terminated",Me(e[5])),this.first=l},m(X,F){E(X,l,F),h(l,t),h(l,n),h(l,r),h(r,i),h(i,c),h(l,o),h(l,f),h(f,m),h(m,_),h(l,g),h(l,I),h(l,j),Z||(x=je(l,"click",Nt(Kt(le))),Z=!0)},p(X,F){e=X,F&1&&a!==(a=e[4]+"")&&R(c,a),F&1&&u!==(u=(Ce(e[5])?"LocalActivity":e[5].eventType)+"")&&R(_,u),F&3&&L(l,"active",e[4]===e[1]),F&1&&L(l,"failure",Oe(e[5])),F&1&&L(l,"canceled",Re(e[5])),F&1&&L(l,"terminated",Me(e[5]))},d(X){X&&d(l),Z=!1,x()}}}function ql(s){let e=[],l=new Map,t,n=[...s[0].events].reverse();const r=i=>i[4];for(let i=0;ir(a);return s.$$set=a=>{"eventGroup"in a&&l(0,t=a.eventGroup),"selectedId"in a&&l(1,n=a.selectedId),"onGroupClick"in a&&l(2,r=a.onGroupClick)},[t,n,r,i]}class Wl extends re{constructor(e){super(),se(this,e,Hl,Bl,ae,{eventGroup:0,selectedId:1,onGroupClick:2})}}function ct(s,e,l){const t=s.slice();return t[10]=e[l][0],t[11]=e[l][1],t}function ut(s,e,l){const t=s.slice();return t[10]=e[l][0],t[11]=e[l][1],t}function Ql(s){let e,l,t,n=[],r=new Map,i;l=new Qt({props:{attributeGrouping:s[4],activePill:s[5]}}),l.$on("pillChange",s[7]);let a=s[6];const c=o=>o[10];for(let o=0;ou[10];for(let u=0;u{i=null}),H())},i(c){r||(p(i),r=!0)},o(c){v(i),r=!1},d(c){c&&d(l),i&&i.d(c),c&&d(n)}}}function dt(s){let e,l;return e=new zt({props:{key:s[10],value:s[11],attributes:s[3],class:"w-full"}}),{c(){T(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){y(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){v(e.$$.fragment,t),l=!1},d(t){V(e,t)}}}function pt(s,e){var a;let l,t=(a=e[4][e[5]])==null?void 0:a.includes(e[10]),n,r,i=t&&dt(e);return{key:s,first:null,c(){l=q(),i&&i.c(),n=q(),this.h()},l(c){l=q(),i&&i.l(c),n=q(),this.h()},h(){this.first=l},m(c,o){E(c,l,o),i&&i.m(c,o),E(c,n,o),r=!0},p(c,o){var f;e=c,o&112&&(t=(f=e[4][e[5]])==null?void 0:f.includes(e[10])),t?i?(i.p(e,o),o&112&&p(i,1)):(i=dt(e),i.c(),p(i,1),i.m(n.parentNode,n)):i&&(B(),v(i,1,1,()=>{i=null}),H())},i(c){r||(p(i),r=!0)},o(c){v(i),r=!1},d(c){c&&d(l),i&&i.d(c),c&&d(n)}}}function Ul(s){let e,l,t,n,r;const i=[zl,Ql],a=[];function c(o,f){return f&6&&(e=null),e==null&&(e=!!(o[2]&&Ie(o[1]))),e?0:1}return l=c(s,-1),t=a[l]=i[l](s),{c(){t.c(),n=q()},l(o){t.l(o),n=q()},m(o,f){a[l].m(o,f),E(o,n,f),r=!0},p(o,[f]){let m=l;l=c(o,f),l===m?a[l].p(o,f):(B(),v(a[m],1,1,()=>{a[m]=null}),H(),t=a[l],t?t.p(o,f):(t=a[l]=i[l](o),t.c()),p(t,1),t.m(n.parentNode,n))},i(o){r||(p(t),r=!0)},o(o){v(t),r=!1},d(o){a[l].d(o),o&&d(n)}}}function Jl(s,e,l){let t,n,r,i,{event:a}=e,{currentEvent:c}=e,{compact:o=!1}=e,{selectedId:f}=e;const m=_=>{l(5,r=_.detail.key)},u=_=>l(0,f=_);return s.$$set=_=>{"event"in _&&l(1,a=_.event),"currentEvent"in _&&l(9,c=_.currentEvent),"compact"in _&&l(2,o=_.compact),"selectedId"in _&&l(0,f=_.selectedId)},s.$$.update=()=>{s.$$.dirty&516&&l(3,t=Bt(c,{compact:o})),s.$$.dirty&10&&l(4,n=cl(a,t)),s.$$.dirty&16&&l(5,r=Object.keys(n).find(_=>n[_].length)),s.$$.dirty&8&&l(6,i=Object.entries(t))},[f,a,o,t,n,r,i,m,u,c]}class Kl extends re{constructor(e){super(),se(this,e,Jl,Ul,ae,{event:1,currentEvent:9,compact:2,selectedId:0})}}function Yl(s){let e,l,t=z(s[0])+"",n,r,i,a,c;return{c(){e=b("div"),l=b("p"),n=N(t),r=C(),i=b("p"),a=b("span"),c=N(s[1]),this.h()},l(o){e=k(o,"DIV",{class:!0});var f=w(e);l=k(f,"P",{class:!0});var m=w(l);n=O(m,t),m.forEach(d),r=S(f),i=k(f,"P",{class:!0});var u=w(i);a=k(u,"SPAN",{class:!0});var _=w(a);c=O(_,s[1]),_.forEach(d),u.forEach(d),f.forEach(d),this.h()},h(){$(l,"class","mr-3 truncate text-sm"),$(a,"class","w-full select-all text-gray-700 svelte-n4ehvt"),L(a,"badge",!Pe(s[0])),$(i,"class","truncate text-right text-sm xl:text-left"),$(e,"class","flex w-full flex-wrap items-center gap-1 pr-1")},m(o,f){E(o,e,f),h(e,l),h(l,n),h(e,r),h(e,i),h(i,a),h(a,c)},p(o,f){f&1&&t!==(t=z(o[0])+"")&&R(n,t),f&2&&R(c,o[1]),f&1&&L(a,"badge",!Pe(o[0]))},i:ee,o:ee,d(o){o&&d(e)}}}function Zl(s){let e,l,t=z(s[0])+"",n,r,i,a,c;return a=new Ee({props:{copyIconTitle:A("copy-icon-title"),copySuccessIconTitle:A("copy-success-icon-title"),content:s[1],"container-class":"h-12 pr-1",$$slots:{default:[ln]},$$scope:{ctx:s}}}),{c(){e=b("div"),l=b("p"),n=N(t),r=C(),i=b("div"),T(a.$$.fragment),this.h()},l(o){e=k(o,"DIV",{class:!0});var f=w(e);l=k(f,"P",{class:!0});var m=w(l);n=O(m,t),m.forEach(d),r=S(f),i=k(f,"DIV",{class:!0});var u=w(i);D(a.$$.fragment,u),u.forEach(d),f.forEach(d),this.h()},h(){$(l,"class","mr-3 truncate text-sm"),$(i,"class","text-sm truncate"),$(e,"class","flex w-full flex-wrap items-center gap-1 pr-1")},m(o,f){E(o,e,f),h(e,l),h(l,n),h(e,r),h(e,i),y(a,i,null),c=!0},p(o,f){(!c||f&1)&&t!==(t=z(o[0])+"")&&R(n,t);const m={};f&2&&(m.content=o[1]),f&258&&(m.$$scope={dirty:f,ctx:o}),a.$set(m)},i(o){c||(p(a.$$.fragment,o),c=!0)},o(o){v(a.$$.fragment,o),c=!1},d(o){o&&d(e),V(a)}}}function Xl(s){let e,l,t=z(s[0])+"",n,r,i,a,c;return a=new Ee({props:{copyIconTitle:A("copy-icon-title"),copySuccessIconTitle:A("copy-success-icon-title"),content:s[1],"container-class":"xl:flex-row h-12 pr-1",$$slots:{default:[rn]},$$scope:{ctx:s}}}),{c(){e=b("div"),l=b("p"),n=N(t),r=C(),i=b("div"),T(a.$$.fragment),this.h()},l(o){e=k(o,"DIV",{class:!0});var f=w(e);l=k(f,"P",{class:!0});var m=w(l);n=O(m,t),m.forEach(d),r=S(f),i=k(f,"DIV",{class:!0});var u=w(i);D(a.$$.fragment,u),u.forEach(d),f.forEach(d),this.h()},h(){$(l,"class","truncate text-sm"),$(i,"class","text-sm truncate"),$(e,"class","flex w-full flex-wrap items-center gap-1 pr-1")},m(o,f){E(o,e,f),h(e,l),h(l,n),h(e,r),h(e,i),y(a,i,null),c=!0},p(o,f){(!c||f&1)&&t!==(t=z(o[0])+"")&&R(n,t);const m={};f&2&&(m.content=o[1]),f&262&&(m.$$scope={dirty:f,ctx:o}),a.$set(m)},i(o){c||(p(a.$$.fragment,o),c=!0)},o(o){v(a.$$.fragment,o),c=!1},d(o){o&&d(e),V(a)}}}function xl(s){let e,l,t=z(s[0])+"",n,r,i,a,c;return a=new Ee({props:{copyIconTitle:A("copy-icon-title"),copySuccessIconTitle:A("copy-success-icon-title"),content:s[1],"container-class":"xl:flex-row h-12 pr-1",$$slots:{default:[an]},$$scope:{ctx:s}}}),{c(){e=b("div"),l=b("p"),n=N(t),r=C(),i=b("div"),T(a.$$.fragment),this.h()},l(o){e=k(o,"DIV",{class:!0});var f=w(e);l=k(f,"P",{class:!0});var m=w(l);n=O(m,t),m.forEach(d),r=S(f),i=k(f,"DIV",{class:!0});var u=w(i);D(a.$$.fragment,u),u.forEach(d),f.forEach(d),this.h()},h(){$(l,"class","mr-3 truncate text-sm"),$(i,"class","text-sm truncate"),$(e,"class","flex w-full flex-wrap items-center gap-1 pr-1")},m(o,f){E(o,e,f),h(e,l),h(l,n),h(e,r),h(e,i),y(a,i,null),c=!0},p(o,f){(!c||f&1)&&t!==(t=z(o[0])+"")&&R(n,t);const m={};f&2&&(m.content=o[1]),f&258&&(m.$$scope={dirty:f,ctx:o}),a.$set(m)},i(o){c||(p(a.$$.fragment,o),c=!0)},o(o){v(a.$$.fragment,o),c=!1},d(o){o&&d(e),V(a)}}}function en(s){let e,l,t=z(s[0])+"",n,r,i,a;return i=new He({props:{content:Fe(s[1]),inline:s[3],copyIconTitle:A("copy-icon-title"),copySuccessIconTitle:A("copy-success-icon-title")}}),{c(){e=b("div"),l=b("p"),n=N(t),r=C(),T(i.$$.fragment),this.h()},l(c){e=k(c,"DIV",{class:!0});var o=w(e);l=k(o,"P",{class:!0});var f=w(l);n=O(f,t),f.forEach(d),r=S(o),D(i.$$.fragment,o),o.forEach(d),this.h()},h(){$(l,"class","min-w-fit text-sm"),$(e,"class","flex w-full flex-wrap items-center pr-1 xl:flex-nowrap xl:gap-4")},m(c,o){E(c,e,o),h(e,l),h(l,n),h(e,r),y(i,e,null),a=!0},p(c,o){(!a||o&1)&&t!==(t=z(c[0])+"")&&R(n,t);const f={};o&2&&(f.content=Fe(c[1])),o&8&&(f.inline=c[3]),i.$set(f)},i(c){a||(p(i.$$.fragment,c),a=!0)},o(c){v(i.$$.fragment,c),a=!1},d(c){c&&d(e),V(i)}}}function tn(s){let e;return{c(){e=N(s[1])},l(l){e=O(l,s[1])},m(l,t){E(l,e,t)},p(l,t){t&2&&R(e,l[1])},d(l){l&&d(e)}}}function ln(s){let e,l;return e=new pe({props:{class:"truncate",newTab:!0,href:Se({namespace:s[5],queue:s[1]}),$$slots:{default:[tn]},$$scope:{ctx:s}}}),{c(){T(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){y(e,t,n),l=!0},p(t,n){const r={};n&2&&(r.href=Se({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){v(e.$$.fragment,t),l=!1},d(t){V(e,t)}}}function nn(s){let e;return{c(){e=N(s[1])},l(l){e=O(l,s[1])},m(l,t){E(l,e,t)},p(l,t){t&2&&R(e,l[1])},d(l){l&&d(e)}}}function rn(s){let e,l;return e=new pe({props:{class:"truncate",newTab:!0,href:_e({namespace:s[5],workflow:s[2].workflowExecutionWorkflowId,run:s[2].workflowExecutionRunId}),$$slots:{default:[nn]},$$scope:{ctx:s}}}),{c(){T(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){y(e,t,n),l=!0},p(t,n){const r={};n&4&&(r.href=_e({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){v(e.$$.fragment,t),l=!1},d(t){V(e,t)}}}function sn(s){let e;return{c(){e=N(s[1])},l(l){e=O(l,s[1])},m(l,t){E(l,e,t)},p(l,t){t&2&&R(e,l[1])},d(l){l&&d(e)}}}function an(s){let e,l;return e=new pe({props:{class:"truncate",newTab:!0,href:_e({namespace:s[5],workflow:s[4],run:s[1]}),$$slots:{default:[sn]},$$scope:{ctx:s}}}),{c(){T(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){y(e,t,n),l=!0},p(t,n){const r={};n&2&&(r.href=_e({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){v(e.$$.fragment,t),l=!1},d(t){V(e,t)}}}function on(s){let e,l,t,n,r,i,a,c;const o=[en,xl,Xl,Zl,Yl],f=[];function m(u,_){return _&1&&(l=null),_&5&&(t=null),_&1&&(n=null),typeof u[1]=="object"?0:(l==null&&(l=!!Ft(u[0])),l?1:(t==null&&(t=!!jt(u[0],u[2])),t?2:(n==null&&(n=!!qt(u[0])),n?3:4)))}return r=m(s,-1),i=f[r]=o[r](s),{c(){e=b("div"),i.c(),this.h()},l(u){e=k(u,"DIV",{class:!0});var _=w(e);i.l(_),_.forEach(d),this.h()},h(){$(e,"class",a="flex flex-row items-center gap-2 first:pt-0 last:border-b-0 xl:gap-4 "+s[6].class+" svelte-n4ehvt")},m(u,_){E(u,e,_),f[r].m(e,null),c=!0},p(u,[_]){let g=r;r=m(u,_),r===g?f[r].p(u,_):(B(),v(f[g],1,1,()=>{f[g]=null}),H(),i=f[r],i?i.p(u,_):(i=f[r]=o[r](u),i.c()),p(i,1),i.m(e,null)),(!c||_&64&&a!==(a="flex flex-row items-center gap-2 first:pt-0 last:border-b-0 xl:gap-4 "+u[6].class+" svelte-n4ehvt"))&&$(e,"class",a)},i(u){c||(p(i),c=!0)},o(u){v(i),c=!1},d(u){u&&d(e),f[r].d()}}}function fn(s,e,l){let t;te(s,Ae,f=>l(7,t=f));let{key:n}=e,{value:r}=e,{attributes:i}=e,{inline:a=!1}=e;const{workflow:c,namespace:o}=t.params;return s.$$set=f=>{l(6,e=de(de({},e),we(f))),"key"in f&&l(0,n=f.key),"value"in f&&l(1,r=f.value),"attributes"in f&&l(2,i=f.attributes),"inline"in f&&l(3,a=f.inline)},e=we(e),[n,r,i,a,c,o,e]}class cn extends re{constructor(e){super(),se(this,e,fn,on,ae,{key:0,value:1,attributes:2,inline:3})}}function un(s){let e=s[0].id+"",l;return{c(){l=N(e)},l(t){l=O(t,e)},m(t,n){E(t,l,n)},p(t,n){n&1&&e!==(e=t[0].id+"")&&R(l,e)},d(t){t&&d(l)}}}function mn(s){var n;let e,l=Ze((n=s[0])==null?void 0:n.eventTime,s[13],{relative:s[14]})+"",t;return{c(){e=b("p"),t=N(l),this.h()},l(r){e=k(r,"P",{class:!0});var i=w(e);t=O(i,l),i.forEach(d),this.h()},h(){$(e,"class","break-word truncate text-sm md:whitespace-normal md:text-base")},m(r,i){E(r,e,i),h(e,t)},p(r,i){var a;i&24577&&l!==(l=Ze((a=r[0])==null?void 0:a.eventTime,r[13],{relative:r[14]})+"")&&R(t,l)},i:ee,o:ee,d(r){r&&d(e)}}}function _n(s){let e,l,t,n,r=s[9]&&ht(s),i=s[8]&&s[8]!=="0ms"&&vt(s);return{c(){e=b("p"),r&&r.c(),l=C(),i&&i.c(),t=q(),this.h()},l(a){e=k(a,"P",{class:!0});var c=w(e);r&&r.l(c),c.forEach(d),l=S(a),i&&i.l(a),t=q(),this.h()},h(){$(e,"class","break-word truncate text-sm md:whitespace-normal")},m(a,c){E(a,e,c),r&&r.m(e,null),E(a,l,c),i&&i.m(a,c),E(a,t,c),n=!0},p(a,c){a[9]?r?r.p(a,c):(r=ht(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),a[8]&&a[8]!=="0ms"?i?(i.p(a,c),c&256&&p(i,1)):(i=vt(a),i.c(),p(i,1),i.m(t.parentNode,t)):i&&(B(),v(i,1,1,()=>{i=null}),H())},i(a){n||(p(i),n=!0)},o(a){v(i),n=!1},d(a){a&&d(e),r&&r.d(),a&&d(l),i&&i.d(a),a&&d(t)}}}function ht(s){let e=s[12]?"-":"+",l,t;return{c(){l=N(e),t=N(s[9])},l(n){l=O(n,e),t=O(n,s[9])},m(n,r){E(n,l,r),E(n,t,r)},p(n,r){r&4096&&e!==(e=n[12]?"-":"+")&&R(l,e),r&512&&R(t,n[9])},d(n){n&&d(l),n&&d(t)}}}function vt(s){let e,l,t,n,r,i;return l=new ce({props:{class:"inline",name:"clock"}}),{c(){e=b("div"),T(l.$$.fragment),t=C(),n=b("p"),r=N(s[8]),this.h()},l(a){e=k(a,"DIV",{class:!0});var c=w(e);D(l.$$.fragment,c),t=S(c),n=k(c,"P",{class:!0});var o=w(n);r=O(o,s[8]),o.forEach(d),c.forEach(d),this.h()},h(){$(n,"class","break-word truncate text-sm md:whitespace-normal"),$(e,"class","flex flex-row items-center gap-0")},m(a,c){E(a,e,c),y(l,e,null),h(e,t),h(e,n),h(n,r),i=!0},p(a,c){(!i||c&256)&&R(r,a[8])},i(a){i||(p(l.$$.fragment,a),i=!0)},o(a){v(l.$$.fragment,a),i=!1},d(a){a&&d(e),V(l)}}}function gt(s){let e,l;return e=new ce({props:{class:"mr-1.5 inline text-red-700",name:"clock"}}),{c(){T(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){y(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){v(e.$$.fragment,t),l=!1},d(t){V(e,t)}}}function $t(s){let e,l;return e=new ce({props:{class:"mr-1.5 inline text-yellow-700",name:"clock"}}),{c(){T(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){y(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){v(e.$$.fragment,t),l=!1},d(t){V(e,t)}}}function bt(s){let e,l;return e=new ce({props:{class:"mr-1.5 inline text-pink-700",name:"clock"}}),{c(){T(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){y(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){v(e.$$.fragment,t),l=!1},d(t){V(e,t)}}}function kt(s){let e,l,t;return l=new ce({props:{class:"inline",name:"chevron-up"}}),{c(){e=b("div"),T(l.$$.fragment)},l(n){e=k(n,"DIV",{});var r=w(e);D(l.$$.fragment,r),r.forEach(d)},m(n,r){E(n,e,r),y(l,e,null),t=!0},i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){v(l.$$.fragment,n),t=!1},d(n){n&&d(e),V(l)}}}function wt(s){let e,l,t,n,r,i,a,c;const o=[xe(s[6]),{attributes:s[10]},{class:"invisible h-0 w-0 md:visible md:h-auto md:w-auto"},{inline:!0}];let f={};for(let m=0;mxt(t,"selectedId",a)),{c(){e=b("tr"),l=b("td"),T(t.$$.fragment),this.h()},l(o){e=k(o,"TR",{class:!0});var f=w(e);l=k(f,"TD",{class:!0,colspan:!0});var m=w(l);D(t.$$.fragment,m),m.forEach(d),f.forEach(d),this.h()},h(){$(l,"class","expanded-cell svelte-bv1sbi"),$(l,"colspan","6"),$(e,"class","svelte-bv1sbi"),L(e,"typedError",s[3])},m(o,f){E(o,e,f),h(e,l),y(t,l,null),i=!0},p(o,f){const m={};f&1&&(m.event=o[0]),f&64&&(m.currentEvent=o[6]),f&2&&(m.compact=o[1]),!n&&f&32&&(n=!0,m.selectedId=o[5],el(()=>n=!1)),t.$set(m),(!i||f&8)&&L(e,"typedError",o[3])},i(o){i||(p(t.$$.fragment,o),o&&(r||tl(()=>{r=ll(e,sl,{}),r.start()})),i=!0)},o(o){v(t.$$.fragment,o),i=!1},d(o){o&&d(e),V(t)}}}function dn(s){let e,l,t,n,r,i,a,c,o,f,m,u,_,g,I,j,Z,x,le,X=(Ce(s[0])?"LocalActivity":s[0].name)+"",F,ne,oe,ue,fe,he,ve,M,ge,ie,Ne,We;r=new pe({props:{class:"truncate",href:"#"+s[0].id,$$slots:{default:[un]},$$scope:{ctx:s}}});const Qe=[_n,mn],me=[];function ze(P,G){return P[11]?0:1}o=ze(s),f=me[o]=Qe[o](s);let U=s[1]&&s[16]&>(),J=s[1]&&s[17]&&$t(),K=s[1]&&s[18]&&bt(),Y=s[7]&&kt(),W=!s[7]&&wt(s),Q=s[7]&&Et(s);return{c(){e=b("tr"),l=b("td"),t=C(),n=b("td"),T(r.$$.fragment),i=C(),a=b("td"),c=b("div"),f.c(),m=C(),u=b("td"),_=b("div"),g=b("div"),U&&U.c(),I=C(),J&&J.c(),j=C(),K&&K.c(),Z=C(),x=b("div"),le=b("p"),F=N(X),ne=C(),Y&&Y.c(),ue=C(),W&&W.c(),fe=C(),he=b("td"),M=C(),Q&&Q.c(),ge=q(),this.h()},l(P){e=k(P,"TR",{class:!0,id:!0,"data-testid":!0});var G=w(e);l=k(G,"TD",{}),w(l).forEach(d),t=S(G),n=k(G,"TD",{class:!0});var $e=w(n);D(r.$$.fragment,$e),$e.forEach(d),i=S(G),a=k(G,"TD",{class:!0});var be=w(a);c=k(be,"DIV",{class:!0});var Ue=w(c);f.l(Ue),Ue.forEach(d),be.forEach(d),m=S(G),u=k(G,"TD",{colspan:!0,class:!0});var Je=w(u);_=k(Je,"DIV",{class:!0});var Te=w(_);g=k(Te,"DIV",{});var ke=w(g);U&&U.l(ke),I=S(ke),J&&J.l(ke),j=S(ke),K&&K.l(ke),ke.forEach(d),Z=S(Te),x=k(Te,"DIV",{class:!0});var De=w(x);le=k(De,"P",{class:!0});var Ke=w(le);F=O(Ke,X),Ke.forEach(d),ne=S(De),Y&&Y.l(De),De.forEach(d),Te.forEach(d),Je.forEach(d),ue=S(G),W&&W.l(G),fe=S(G),he=k(G,"TD",{}),w(he).forEach(d),G.forEach(d),M=S(P),Q&&Q.l(P),ge=q(),this.h()},h(){$(n,"class","w-24 text-left"),$(c,"class","flex flex-col gap-0"),$(a,"class","text-left"),$(le,"class","event-name truncate text-sm font-semibold md:text-base svelte-bv1sbi"),$(x,"class","flex w-full items-center justify-between truncate"),$(_,"class","flex"),$(u,"colspan",oe=s[7]?2:1),$(u,"class","text-right text-sm font-normal xl:text-left"),$(e,"class","row svelte-bv1sbi"),$(e,"id",ve=s[0].id),$(e,"data-testid","event-summary-row"),L(e,"expanded",s[7]&&!s[2]),L(e,"active",s[4]),L(e,"failure",s[16]),L(e,"canceled",s[17]),L(e,"terminated",s[18]),L(e,"typedError",s[3])},m(P,G){E(P,e,G),h(e,l),h(e,t),h(e,n),y(r,n,null),h(e,i),h(e,a),h(a,c),me[o].m(c,null),h(e,m),h(e,u),h(u,_),h(_,g),U&&U.m(g,null),h(g,I),J&&J.m(g,null),h(g,j),K&&K.m(g,null),h(_,Z),h(_,x),h(x,le),h(le,F),h(x,ne),Y&&Y.m(x,null),h(e,ue),W&&W.m(e,null),h(e,fe),h(e,he),E(P,M,G),Q&&Q.m(P,G),E(P,ge,G),ie=!0,Ne||(We=je(e,"click",Nt(s[15])),Ne=!0)},p(P,[G]){const $e={};G&1&&($e.href="#"+P[0].id),G&33554433&&($e.$$scope={dirty:G,ctx:P}),r.$set($e);let be=o;o=ze(P),o===be?me[o].p(P,G):(B(),v(me[be],1,1,()=>{me[be]=null}),H(),f=me[o],f?f.p(P,G):(f=me[o]=Qe[o](P),f.c()),p(f,1),f.m(c,null)),P[1]&&P[16]?U?G&2&&p(U,1):(U=gt(),U.c(),p(U,1),U.m(g,I)):U&&(B(),v(U,1,1,()=>{U=null}),H()),P[1]&&P[17]?J?G&2&&p(J,1):(J=$t(),J.c(),p(J,1),J.m(g,j)):J&&(B(),v(J,1,1,()=>{J=null}),H()),P[1]&&P[18]?K?G&2&&p(K,1):(K=bt(),K.c(),p(K,1),K.m(g,null)):K&&(B(),v(K,1,1,()=>{K=null}),H()),(!ie||G&1)&&X!==(X=(Ce(P[0])?"LocalActivity":P[0].name)+"")&&R(F,X),P[7]?Y?G&128&&p(Y,1):(Y=kt(),Y.c(),p(Y,1),Y.m(x,null)):Y&&(B(),v(Y,1,1,()=>{Y=null}),H()),(!ie||G&128&&oe!==(oe=P[7]?2:1))&&$(u,"colspan",oe),P[7]?W&&(B(),v(W,1,1,()=>{W=null}),H()):W?(W.p(P,G),G&128&&p(W,1)):(W=wt(P),W.c(),p(W,1),W.m(e,fe)),(!ie||G&1&&ve!==(ve=P[0].id))&&$(e,"id",ve),(!ie||G&132)&&L(e,"expanded",P[7]&&!P[2]),(!ie||G&16)&&L(e,"active",P[4]),(!ie||G&8)&&L(e,"typedError",P[3]),P[7]?Q?(Q.p(P,G),G&128&&p(Q,1)):(Q=Et(P),Q.c(),p(Q,1),Q.m(ge.parentNode,ge)):Q&&(B(),v(Q,1,1,()=>{Q=null}),H())},i(P){ie||(p(r.$$.fragment,P),p(f),p(U),p(J),p(K),p(Y),p(W),p(Q),ie=!0)},o(P){v(r.$$.fragment,P),v(f),v(U),v(J),v(K),v(Y),v(W),v(Q),ie=!1},d(P){P&&d(e),V(r),me[o].d(),U&&U.d(),J&&J.d(),K&&K.d(),Y&&Y.d(),W&&W.d(),P&&d(M),Q&&Q.d(P),P&&d(ge),Ne=!1,We()}}}function pn(s,e,l){let t,n,r,i,a,c,o,f,m,u,_,g;te(s,Ve,M=>l(22,m=M)),te(s,Le,M=>l(23,u=M)),te(s,il,M=>l(13,_=M)),te(s,ol,M=>l(14,g=M));let{event:I}=e,{initialItem:j}=e,{compact:Z=!1}=e,{expandAll:x=!1}=e,{typedError:le=!1}=e,{active:X=!1}=e,{onRowClick:F=ee}=e,ne=Ie(I)?Array.from(I.events.keys()).pop():I.id;const oe=()=>{l(7,t=!t),F()},ue=Oe(I),fe=Re(I),he=Me(I);function ve(M){ne=M,l(5,ne)}return s.$$set=M=>{"event"in M&&l(0,I=M.event),"initialItem"in M&&l(19,j=M.initialItem),"compact"in M&&l(1,Z=M.compact),"expandAll"in M&&l(2,x=M.expandAll),"typedError"in M&&l(3,le=M.typedError),"active"in M&&l(4,X=M.active),"onRowClick"in M&&l(20,F=M.onRowClick)},s.$$.update=()=>{s.$$.dirty&20&&l(7,t=x||X),s.$$.dirty&8388608&&l(12,n=u==="descending"),s.$$.dirty&4194304&&l(21,r=m==="true"),s.$$.dirty&2621441&&l(11,i=r&&j&&I.id!==j.id),s.$$.dirty&3&&l(10,a=Bt(I,{compact:Z})),s.$$.dirty&33&&l(6,c=Ie(I)?I.events.get(ne):I),s.$$.dirty&524353&&l(9,o=et({start:j.eventTime,end:Ie(I)?I.initialEvent.eventTime:c.eventTime,includeMilliseconds:!0})),s.$$.dirty&1&&l(8,f=Ie(I)?et({start:I.initialEvent.eventTime,end:I.lastEvent.eventTime,includeMilliseconds:!0}):"")},[I,Z,x,le,X,ne,c,t,f,o,a,i,n,_,g,oe,ue,fe,he,j,F,r,m,u,ve]}class _r extends re{constructor(e){super(),se(this,e,pn,dn,ae,{event:0,initialItem:19,compact:1,expandAll:2,typedError:3,active:4,onRowClick:20})}}function It(s,e,l){const t=s.slice();return t[2]=e[l].label,t[11]=e[l].option,t}function hn(s){let e;return{c(){e=N(s[2])},l(l){e=O(l,s[2])},m(l,t){E(l,e,t)},p(l,t){t&4&&R(e,l[2])},d(l){l&&d(e)}}}function vn(s){let e,l;return e=new ce({props:{name:"filter",slot:"trailing"}}),{c(){T(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){y(e,t,n),l=!0},p:ee,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){v(e.$$.fragment,t),l=!1},d(t){V(e,t)}}}function gn(s){let e=A("events",s[2])+"",l,t;return{c(){l=N(e),t=C()},l(n){l=O(n,e),t=S(n)},m(n,r){E(n,l,r),E(n,t,r)},p(n,r){r&1&&e!==(e=A("events",n[2])+"")&&R(l,e)},d(n){n&&d(l),n&&d(t)}}}function Tt(s){let e,l;function t(){return s[9](s[11])}return e=new Be({props:{"data-testid":"event-category-option",selected:s[1]===s[11],$$slots:{default:[gn]},$$scope:{ctx:s}}}),e.$on("click",t),{c(){T(e.$$.fragment)},l(n){D(e.$$.fragment,n)},m(n,r){y(e,n,r),l=!0},p(n,r){s=n;const i={};r&3&&(i.selected=s[1]===s[11]),r&16385&&(i.$$scope={dirty:r,ctx:s}),e.$set(i)},i(n){l||(p(e.$$.fragment,n),l=!0)},o(n){v(e.$$.fragment,n),l=!1},d(n){V(e,n)}}}function $n(s){let e,l,t=s[0],n=[];for(let i=0;iv(n[i],1,1,()=>{n[i]=null});return{c(){for(let i=0;il(8,r=g)),te(s,tt,g=>l(1,i=g)),te(s,dl,g=>l(10,a=g));var c,o;let{compact:f=!1}=e,m=f?ml:_l;pl("1.21",a)&&(m=m.filter(({option:g})=>g!=="update"));const u=g=>{Wt({parameter:Dt,value:g,url:r.url})},_=g=>u(g);return s.$$set=g=>{"compact"in g&&l(4,f=g.compact)},s.$$.update=()=>{s.$$.dirty&16&&l(2,t=f?A("events","event-type"):A("events","workflow-events")),s.$$.dirty&257&&l(7,n=m.find(({option:g})=>{var I,j;return g===((j=(I=r.url)===null||I===void 0?void 0:I.searchParams)===null||j===void 0?void 0:j.get(Dt))})),s.$$.dirty&224&&ye(tt,i=l(6,o=l(5,c=n==null?void 0:n.option)===null||c===void 0?void 0:c.toString())!==null&&o!==void 0?o:void 0,i)},[m,i,t,u,f,c,o,n,r,_]}class En extends re{constructor(e){super(),se(this,e,wn,kn,ae,{compact:4})}}const In=({compact:s,sortOrder:e,showElapsed:l})=>{if(!((s||e==="descending")&&l==="false"))return`${e}:${l}`};function yt(s,e,l){const t=s.slice();return t[9]=e[l].option,t[10]=e[l].label,t}function Tn(s){let e,l,t,n=A("date-and-time")+"",r,i;return e=new ce({props:{class:"md:hidden",name:"clock"}}),{c(){T(e.$$.fragment),l=C(),t=b("span"),r=N(n),this.h()},l(a){D(e.$$.fragment,a),l=S(a),t=k(a,"SPAN",{class:!0});var c=w(t);r=O(c,n),c.forEach(d),this.h()},h(){$(t,"class","max-md:hidden")},m(a,c){y(e,a,c),E(a,l,c),E(a,t,c),h(t,r),i=!0},p:ee,i(a){i||(p(e.$$.fragment,a),i=!0)},o(a){v(e.$$.fragment,a),i=!1},d(a){V(e,a),a&&d(l),a&&d(t)}}}function Dn(s){let e=s[10]+"",l;return{c(){l=N(e)},l(t){l=O(t,e)},m(t,n){E(t,l,n)},p:ee,d(t){t&&d(l)}}}function Vt(s){let e,l;function t(){return s[7](s[9])}return e=new Be({props:{selected:s[1]===s[9],$$slots:{default:[Dn]},$$scope:{ctx:s}}}),e.$on("click",t),{c(){T(e.$$.fragment)},l(n){D(e.$$.fragment,n)},m(n,r){y(e,n,r),l=!0},p(n,r){s=n;const i={};r&2&&(i.selected=s[1]===s[9]),r&8192&&(i.$$scope={dirty:r,ctx:s}),e.$set(i)},i(n){l||(p(e.$$.fragment,n),l=!0)},o(n){v(e.$$.fragment,n),l=!1},d(n){V(e,n)}}}function yn(s){let e=A("events","show-elapsed-time")+"",l;return{c(){l=N(e)},l(t){l=O(t,e)},m(t,n){E(t,l,n)},p:ee,d(t){t&&d(l)}}}function Vn(s){let e,l,t,n,r,i=s[3],a=[];for(let o=0;ov(a[o],1,1,()=>{a[o]=null});return l=new hl({}),n=new Be({props:{selected:s[0]==="true",$$slots:{default:[yn]},$$scope:{ctx:s}}}),n.$on("click",s[5]),{c(){for(let o=0;ol(0,n=u)),te(s,Le,u=>l(1,r=u)),te(s,Ae,u=>l(8,i=u));let{compact:a}=e,c=[{label:A("events","sort-ascending"),option:"ascending"},{label:A("events","sort-descending"),option:"descending"}];const o=u=>{ye(Le,r=u,r),Wt({parameter:"sort",value:u,url:i.url})},f=()=>{n==="true"?ye(Ve,n="false",n):ye(Ve,n="true",n)},m=u=>o(u);return s.$$set=u=>{"compact"in u&&l(6,a=u.compact)},s.$$.update=()=>{s.$$.dirty&67&&l(2,t=In({compact:a,sortOrder:r,showElapsed:n}))},[n,r,t,c,o,f,a,m]}class Gn extends re{constructor(e){super(),se(this,e,Sn,Cn,ae,{compact:6})}}function An(s){let e;const l=s[4].default,t=Pt(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)&&Ct(t,l,n,n[5],e?Gt(l,n[5],r,null):St(n[5]),null)},i(n){e||(p(t,n),e=!0)},o(n){v(t,n),e=!1},d(n){t&&t.d(n)}}}function Nn(s){let e,l=A("workflows","recent-events")+"",t;return{c(){e=b("caption"),t=N(l),this.h()},l(n){e=k(n,"CAPTION",{class:!0,slot:!0});var r=w(e);t=O(r,l),r.forEach(d),this.h()},h(){$(e,"class","sr-only"),$(e,"slot","caption")},m(n,r){E(n,e,r),h(e,t)},p:ee,d(n){n&&d(e)}}}function On(s){let e,l=(s[2]?A("collapse-all"):A("expand-all"))+"",t;return{c(){e=b("span"),t=N(l),this.h()},l(n){e=k(n,"SPAN",{class:!0});var r=w(e);t=O(r,l),r.forEach(d),this.h()},h(){$(e,"class","hidden sm:block")},m(n,r){E(n,e,r),h(e,t)},p(n,r){r&4&&l!==(l=(n[2]?A("collapse-all"):A("expand-all"))+"")&&R(t,l)},d(n){n&&d(e)}}}function Rn(s){let e,l,t,n,r,i,a,c,o,f,m,u;return n=new Gn({props:{compact:s[0]}}),a=new En({props:{compact:s[0]}}),m=new vl({props:{size:"sm",variant:"table-header",trailingIcon:s[2]?"chevron-up":"chevron-down",$$slots:{default:[On]},$$scope:{ctx:s}}}),m.$on("click",s[3]),{c(){e=b("td"),l=C(),t=b("th"),T(n.$$.fragment),r=C(),i=b("th"),T(a.$$.fragment),c=C(),o=b("th"),f=b("div"),T(m.$$.fragment),this.h()},l(_){e=k(_,"TD",{class:!0}),w(e).forEach(d),l=S(_),t=k(_,"TH",{class:!0});var g=w(t);D(n.$$.fragment,g),g.forEach(d),r=S(_),i=k(_,"TH",{class:!0});var I=w(i);D(a.$$.fragment,I),I.forEach(d),c=S(_),o=k(_,"TH",{class:!0});var j=w(o);f=k(j,"DIV",{class:!0});var Z=w(f);D(m.$$.fragment,Z),Z.forEach(d),j.forEach(d),this.h()},h(){$(e,"class","w-14 xl:w-10"),$(t,"class","w-16 md:w-32"),$(i,"class","w-44"),$(f,"class","flex w-full justify-end"),$(o,"class","w-auto xl:w-80")},m(_,g){E(_,e,g),E(_,l,g),E(_,t,g),y(n,t,null),E(_,r,g),E(_,i,g),y(a,i,null),E(_,c,g),E(_,o,g),h(o,f),y(m,f,null),u=!0},p(_,g){const I={};g&1&&(I.compact=_[0]),n.$set(I);const j={};g&1&&(j.compact=_[0]),a.$set(j);const Z={};g&4&&(Z.trailingIcon=_[2]?"chevron-up":"chevron-down"),g&36&&(Z.$$scope={dirty:g,ctx:_}),m.$set(Z)},i(_){u||(p(n.$$.fragment,_),p(a.$$.fragment,_),p(m.$$.fragment,_),u=!0)},o(_){v(n.$$.fragment,_),v(a.$$.fragment,_),v(m.$$.fragment,_),u=!1},d(_){_&&d(e),_&&d(l),_&&d(t),V(n),_&&d(r),_&&d(i),V(a),_&&d(c),_&&d(o),V(m)}}}function Mn(s){let e,l;return e=new ul({props:{slot:"headers",$$slots:{default:[Rn]},$$scope:{ctx:s}}}),{c(){T(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){y(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){v(e.$$.fragment,t),l=!1},d(t){V(e,t)}}}function Ln(s){let e,l;return e=new Ht({props:{updating:s[1],class:"dark w-full table-fixed",$$slots:{headers:[Mn],caption:[Nn],default:[An]},$$scope:{ctx:s}}}),{c(){T(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){y(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){v(e.$$.fragment,t),l=!1},d(t){V(e,t)}}}function Fn(s,e,l){let t;te(s,al,m=>l(6,t=m));let{$$slots:n={},$$scope:r}=e,{compact:i=!1}=e,{updating:a=!1}=e,c=t==="true";const o=At();function f(){l(2,c=!c),o("expandAll",{expanded:c?"true":"false"})}return s.$$set=m=>{"compact"in m&&l(0,i=m.compact),"updating"in m&&l(1,a=m.updating),"$$scope"in m&&l(5,r=m.$$scope)},[i,a,c,f,n,r]}class dr extends re{constructor(e){super(),se(this,e,Fn,Ln,ae,{compact:0,updating:1})}}export{dr as E,mr as a,_r as b}; diff --git a/ui/assets/local/_app/immutable/chunks/events-service.1baddf3f.js b/ui/assets/local/_app/immutable/chunks/events-service.31abcdb2.js similarity index 85% rename from ui/assets/local/_app/immutable/chunks/events-service.1baddf3f.js rename to ui/assets/local/_app/immutable/chunks/events-service.31abcdb2.js index 45a3684752..3e153eeb8c 100644 --- a/ui/assets/local/_app/immutable/chunks/events-service.1baddf3f.js +++ b/ui/assets/local/_app/immutable/chunks/events-service.31abcdb2.js @@ -1 +1 @@ -import{d as r,w as u}from"./index.c0615b9d.js";import{p as m}from"./stores.83aed68d.js";import{a as S}from"./auth-user.2a42bf1d.js";import{r as y}from"./workflow-run.3d1553b6.js";import{k as v}from"./route-for.f2f7cb1c.js";import{G as F}from"./is-event-type.4dbe973b.js";import{e as q}from"./event-view.de9a16d6.js";import{t as f}from"./index.7c53442e.js";import{b as A}from"./is.ba28a1ea.js";import{p as h}from"./paginated.2b7c667d.js";import{r as l,a as w}from"./route-for-api.1959b395.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([S],([t])=>t==null?void 0:t.accessToken),z=r([H,P,T,q],([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 G={start:[],end:[]},X=u(G),Y=u(null),j=u([]),Z=r(j,t=>t.filter(F)),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,G as i,Z as r,Y as t}; +import{d as r,w as u}from"./index.c0615b9d.js";import{p as m}from"./stores.3002bd93.js";import{a as S}from"./auth-user.2a42bf1d.js";import{r as y}from"./workflow-run.3d1553b6.js";import{k as v}from"./route-for.8244bd54.js";import{G as F}from"./is-event-type.4dbe973b.js";import{e as q}from"./event-view.de9a16d6.js";import{t as f}from"./index.8ae24503.js";import{b as A}from"./is.ba28a1ea.js";import{p as h}from"./paginated.2a1d18a2.js";import{r as l,a as w}from"./route-for-api.28fc22fc.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([S],([t])=>t==null?void 0:t.accessToken),z=r([H,P,T,q],([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 G={start:[],end:[]},X=u(G),Y=u(null),j=u([]),Z=r(j,t=>t.filter(F)),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,G as i,Z as r,Y as t}; diff --git a/ui/assets/local/_app/immutable/chunks/filters.bd92de72.js b/ui/assets/local/_app/immutable/chunks/filters.2e8e7341.js similarity index 87% rename from ui/assets/local/_app/immutable/chunks/filters.bd92de72.js rename to ui/assets/local/_app/immutable/chunks/filters.2e8e7341.js index aa9485ad60..0ed2002a94 100644 --- a/ui/assets/local/_app/immutable/chunks/filters.bd92de72.js +++ b/ui/assets/local/_app/immutable/chunks/filters.2e8e7341.js @@ -1 +1 @@ -import{d as t,w as o}from"./index.c0615b9d.js";import{p as s}from"./stores.83aed68d.js";import{p as c}from"./persist-store.c0203efc.js";import{ab as a}from"./index.efded970.js";const l=t([s],([r])=>r.url.searchParams.get("query")),u=t([s],([r])=>r.url.searchParams.get("category")),i=t([l,u],([r,e])=>({query:r,category:e})),n=r=>i.subscribe(({query:e})=>{!e&&a(p).length&&r([])}),b=c("workflowDateTimeFilter",void 0,!0),p=o([],n),m=r=>i.subscribe(({category:e})=>{!e&&a(g)&&r(null)}),g=o(void 0,m);export{g as e,b as p,p as w}; +import{d as t,w as o}from"./index.c0615b9d.js";import{p as s}from"./stores.3002bd93.js";import{p as c}from"./persist-store.c0203efc.js";import{ab as a}from"./index.efded970.js";const l=t([s],([r])=>r.url.searchParams.get("query")),u=t([s],([r])=>r.url.searchParams.get("category")),i=t([l,u],([r,e])=>({query:r,category:e})),n=r=>i.subscribe(({query:e})=>{!e&&a(p).length&&r([])}),b=c("workflowDateTimeFilter",void 0,!0),p=o([],n),m=r=>i.subscribe(({category:e})=>{!e&&a(g)&&r(null)}),g=o(void 0,m);export{g as e,b as p,p as w}; diff --git a/ui/assets/local/_app/immutable/chunks/index.7c53442e.js b/ui/assets/local/_app/immutable/chunks/index.8ae24503.js similarity index 96% rename from ui/assets/local/_app/immutable/chunks/index.7c53442e.js rename to ui/assets/local/_app/immutable/chunks/index.8ae24503.js index 1354a7b9db..36c7cc7370 100644 --- a/ui/assets/local/_app/immutable/chunks/index.7c53442e.js +++ b/ui/assets/local/_app/immutable/chunks/index.8ae24503.js @@ -1 +1 @@ -import{c as y,p as T,i as g}from"./data-encoder-config.ddfdfd14.js";import{c as v,a as k,d as w}from"./decode-payload.97e177eb.js";import{b as P}from"./format-date.be4b741e.js";import{g as S,a as R,b as q}from"./get-codec.19c43d34.js";import{F as E}from"./is-event-type.4dbe973b.js";import{g as F}from"./get-event-categorization.35f43125.js";import{s as I}from"./simplify-attributes.d3ff8bf3.js";const W=["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 W)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}=E(e),m=S(t,i),p=R(t,d),f=q(t,r),C={...t,codec:{...t==null?void 0:t.codec,endpoint:m,passAccessToken:p,includeCredentials:f}},b=m?await a({attributes:u,namespace:n,settings:C,accessToken:s}):await o(u),A=c(b);return{type:l,...A}}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=F(o),r=await O({historyEvent:e,namespace:n,settings:t,accessToken:s}).then(l=>I(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"./data-encoder-config.ddfdfd14.js";import{c as v,a as k,d as w}from"./decode-payload.8b7fbb10.js";import{b as P}from"./format-date.be4b741e.js";import{g as S,a as R,b as q}from"./get-codec.19c43d34.js";import{F as E}from"./is-event-type.4dbe973b.js";import{g as F}from"./get-event-categorization.35f43125.js";import{s as I}from"./simplify-attributes.d3ff8bf3.js";const W=["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 W)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}=E(e),m=S(t,i),p=R(t,d),f=q(t,r),C={...t,codec:{...t==null?void 0:t.codec,endpoint:m,passAccessToken:p,includeCredentials:f}},b=m?await a({attributes:u,namespace:n,settings:C,accessToken:s}):await o(u),A=c(b);return{type:l,...A}}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=F(o),r=await O({historyEvent:e,namespace:n,settings:t,accessToken:s}).then(l=>I(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.5b739b8a.js b/ui/assets/local/_app/immutable/chunks/index.eb59ea6d.js similarity index 97% rename from ui/assets/local/_app/immutable/chunks/index.5b739b8a.js rename to ui/assets/local/_app/immutable/chunks/index.eb59ea6d.js index c0128dd4cf..8ff332340f 100644 --- a/ui/assets/local/_app/immutable/chunks/index.5b739b8a.js +++ b/ui/assets/local/_app/immutable/chunks/index.eb59ea6d.js @@ -1 +1 @@ -import{S as Ee,b as Ie,a as de,e as Ne,f as b,j as v,z as ve,g as q,h as ge,k as c,K as he,m as E,c as D,p as I,q as S,d as F,u as y,L as k,Q as j,a1 as pe,af as oe,n as re,r as Ge,P as Be,i as Xe,C as U,D as Q,E as A,F as M,w as C,x as H,y as le,a5 as Ye,G as Ze,H as $e,I as xe,J as et,V as Re}from"./index.efded970.js";import{g as tt}from"./navigation.6d455e31.js";import{p as lt}from"./stores.83aed68d.js";import{W as st}from"./workflow-status.792f3956.js";import{I as Je}from"./icon.91a9bf44.js";import{c as ot}from"./copy-to-clipboard.d2168786.js";import{L as rt}from"./link.cac19769.js";import{T as at}from"./table-row.6be25099.js";import{t as G}from"./translate.230dcc19.js";import{t as nt,r as ft,b as Z}from"./format-date.be4b741e.js";import{w as Oe}from"./workflows.f9987742.js";import{v as it,w as ut,x as ct,y as Ue}from"./format-time.8258873a.js";import{g as Qe}from"./workflow-service.6fa8d283.js";import{d as mt,e as Pe,f as _t,g as ht,h as pt}from"./is.ba28a1ea.js";import{f as dt}from"./route-for.f2f7cb1c.js";import{u as wt}from"./pagination.5253b8b7.js";import{T as bt,a as kt}from"./table-header-row.b413d43a.js";import{B as Tt}from"./button.a4f5a3d4.js";import{I as yt}from"./input.f4d0de9f.js";function Ae(o){let e,s,t,l,r,f,a=o[1]&&Me(o),n=o[2]&&Ke(o);return{c(){e=E("div"),a&&a.c(),s=D(),n&&n.c(),this.h()},l(u){e=I(u,"DIV",{class:!0});var m=S(e);a&&a.l(m),s=F(m),n&&n.l(m),m.forEach(c),this.h()},h(){y(e,"class",t="copy-or-filter "+o[9]+" svelte-1f7279h")},m(u,m){b(u,e,m),a&&a.m(e,null),k(e,s),n&&n.m(e,null),l=!0,r||(f=[j(e,"click",pe(oe(re))),j(e,"keyup",pe(oe(re)))],r=!0)},p(u,m){u[1]?a?(a.p(u,m),m&2&&v(a,1)):(a=Me(u),a.c(),v(a,1),a.m(e,s)):a&&(ve(),q(a,1,1,()=>{a=null}),ge()),u[2]?n?(n.p(u,m),m&4&&v(n,1)):(n=Ke(u),n.c(),v(n,1),n.m(e,null)):n&&(ve(),q(n,1,1,()=>{n=null}),ge()),(!l||m&512&&t!==(t="copy-or-filter "+u[9]+" svelte-1f7279h"))&&y(e,"class",t)},i(u){l||(v(a),v(n),l=!0)},o(u){q(a),q(n),l=!1},d(u){u&&c(e),a&&a.d(),n&&n.d(),r=!1,Ge(f)}}}function Me(o){let e,s=o[5],t,l,r,f=ze(o);return{c(){e=E("button"),f.c(),this.h()},l(a){e=I(a,"BUTTON",{class:!0});var n=S(e);f.l(n),n.forEach(c),this.h()},h(){y(e,"class","copy-or-filter-button svelte-1f7279h"),Be(e,"filtered",o[5])},m(a,n){b(a,e,n),f.m(e,null),t=!0,l||(r=j(e,"click",pe(oe(function(){Xe(o[4])&&o[4].apply(this,arguments)}))),l=!0)},p(a,n){o=a,n&32&&de(s,s=o[5])?(ve(),q(f,1,1,re),ge(),f=ze(o),f.c(),v(f,1),f.m(e,null)):f.p(o,n),(!t||n&32)&&Be(e,"filtered",o[5])},i(a){t||(v(f),t=!0)},o(a){q(f),t=!1},d(a){a&&c(e),f.d(a),l=!1,r()}}}function ze(o){let e,s;return e=new Je({props:{title:o[8],name:"filter"}}),{c(){U(e.$$.fragment)},l(t){Q(e.$$.fragment,t)},m(t,l){A(e,t,l),s=!0},p(t,l){const r={};l&256&&(r.title=t[8]),e.$set(r)},i(t){s||(v(e.$$.fragment,t),s=!0)},o(t){q(e.$$.fragment,t),s=!1},d(t){M(e,t)}}}function Ke(o){let e,s,t,l,r;return s=new Je({props:{title:o[10]?o[7]:o[6],name:o[10]?"checkmark":"copy",stroke:"#000"}}),{c(){e=E("button"),U(s.$$.fragment),this.h()},l(f){e=I(f,"BUTTON",{class:!0});var a=S(e);Q(s.$$.fragment,a),a.forEach(c),this.h()},h(){y(e,"class","copy-or-filter-button svelte-1f7279h")},m(f,a){b(f,e,a),A(s,e,null),t=!0,l||(r=j(e,"click",pe(oe(o[13]))),l=!0)},p(f,a){const n={};a&1216&&(n.title=f[10]?f[7]:f[6]),a&1024&&(n.name=f[10]?"checkmark":"copy"),s.$set(n)},i(f){t||(v(s.$$.fragment,f),t=!0)},o(f){q(s.$$.fragment,f),t=!1},d(f){f&&c(e),M(s),l=!1,r()}}}function vt(o){let e,s,t=o[0]&&Ae(o);return{c(){t&&t.c(),e=Ne()},l(l){t&&t.l(l),e=Ne()},m(l,r){t&&t.m(l,r),b(l,e,r),s=!0},p(l,[r]){l[0]?t?(t.p(l,r),r&1&&v(t,1)):(t=Ae(l),t.c(),v(t,1),t.m(e.parentNode,e)):t&&(ve(),q(t,1,1,()=>{t=null}),ge())},i(l){s||(v(t),s=!0)},o(l){q(t),s=!1},d(l){t&&t.d(l),l&&c(e)}}}function gt(o,e,s){let t,{show:l=!1}=e,{filterable:r=!0}=e,{copyable:f=!0}=e,{content:a}=e,{onFilter:n=re}=e,{filtered:u=!1}=e,{copyIconTitle:m}=e,{copySuccessIconTitle:h}=e,{filterIconTitle:L}=e,{class:d=""}=e;const{copy:P,copied:B}=ot();he(o,B,p=>s(10,t=p));const W=p=>P(p,a);return o.$$set=p=>{"show"in p&&s(0,l=p.show),"filterable"in p&&s(1,r=p.filterable),"copyable"in p&&s(2,f=p.copyable),"content"in p&&s(3,a=p.content),"onFilter"in p&&s(4,n=p.onFilter),"filtered"in p&&s(5,u=p.filtered),"copyIconTitle"in p&&s(6,m=p.copyIconTitle),"copySuccessIconTitle"in p&&s(7,h=p.copySuccessIconTitle),"filterIconTitle"in p&&s(8,L=p.filterIconTitle),"class"in p&&s(9,d=p.class)},[l,r,f,a,n,u,m,h,L,d,t,P,B,W]}class Ve extends Ee{constructor(e){super(),Ie(this,e,gt,vt,de,{show:0,filterable:1,copyable:2,content:3,onFilter:4,filtered:5,copyIconTitle:6,copySuccessIconTitle:7,filterIconTitle:8,class:9})}}const Et=o=>{const e=[],s=()=>{t&&(e.push(t),t="")};let t="",l=0;for(;le=>e.toLowerCase()===o.toLowerCase(),ye=(o,e)=>o[e+2],It=o=>{if(o){for(const e of ct)if(o[e])return{[e]:o[e]}}},St=Se("WorkflowType"),qt=Se("WorkflowId"),Pt=Se("StartTime"),Wt=Se("ExecutionStatus"),Dt=o=>{const e=Et(o),s={workflowId:"",workflowType:"",executionStatus:null,timeRange:null};return e.forEach((t,l)=>{if(qt(t)&&(s.workflowId=ye(e,l)),St(t)&&(s.workflowType=ye(e,l)),Wt(t)){const r=ye(e,l);pt(r)&&(s.executionStatus=r)}if(Pt(t)){const r=ye(e,l);try{const f=it(r),a=It(f);s.timeRange=ut(a)}catch(f){console.error("Error parsing StartTime from query",f)}}}),s};function Ft(o){let e=o[0].id+"",s;return{c(){s=C(e)},l(t){s=H(t,e)},m(t,l){b(t,s,l)},p(t,l){l&1&&e!==(e=t[0].id+"")&&le(s,e)},d(t){t&&c(s)}}}function Ct(o){var De,Fe,Ce;let e,s,t,l,r,f,a,n,u,m=Z(o[0].startTime,o[5],{relative:o[6]})+"",h,L,d,P,B=G("workflows","workflow-name")+"",W,p,_,T,z=o[0].name+"",J,X,g,N,$,O,x=Z(o[0].endTime,o[5],{relative:o[6]})+"",se,we,ee,ae,ne=Z(o[0].startTime,o[5],{relative:o[6]})+"",be,ke,te,fe,ie=Z(o[0].endTime,o[5],{relative:o[6]})+"",Te,K,qe,We;return s=new st({props:{status:o[0].status,delay:Ue(o[0].startTime)}}),r=new rt({props:{$$slots:{default:[Ft]},$$scope:{ctx:o}}}),r.$on("click",o[9]),a=new Ve({props:{copyIconTitle:G("copy-icon-title"),copySuccessIconTitle:G("copy-success-icon-title"),filterIconTitle:G("filter-workflows"),show:o[1],content:o[0].id,filterable:!1}}),N=new Ve({props:{copyIconTitle:G("copy-icon-title"),copySuccessIconTitle:G("copy-success-icon-title"),filterIconTitle:G("filter-workflows"),show:o[1],content:o[0].name,onFilter:o[15],filtered:(Ce=(Fe=(De=o[3].url)==null?void 0:De.searchParams)==null?void 0:Fe.get("query"))==null?void 0:Ce.includes(o[0].name)}}),{c(){e=E("td"),U(s.$$.fragment),t=D(),l=E("td"),U(r.$$.fragment),f=D(),U(a.$$.fragment),n=D(),u=E("p"),h=C(m),L=D(),d=E("td"),P=E("h3"),W=C(B),p=C(":"),_=D(),T=E("button"),J=C(z),g=D(),U(N.$$.fragment),$=D(),O=E("p"),se=C(x),we=D(),ee=E("td"),ae=E("p"),be=C(ne),ke=D(),te=E("td"),fe=E("p"),Te=C(ie),this.h()},l(i){e=I(i,"TD",{});var w=S(e);Q(s.$$.fragment,w),w.forEach(c),t=F(i),l=I(i,"TD",{class:!0});var V=S(l);Q(r.$$.fragment,V),f=F(V),Q(a.$$.fragment,V),n=F(V),u=I(V,"P",{class:!0});var ue=S(u);h=H(ue,m),ue.forEach(c),V.forEach(c),L=F(i),d=I(i,"TD",{class:!0});var R=S(d);P=I(R,"H3",{class:!0});var Y=S(P);W=H(Y,B),p=H(Y,":"),Y.forEach(c),_=F(R),T=I(R,"BUTTON",{class:!0,"aria-label":!0});var ce=S(T);J=H(ce,z),ce.forEach(c),g=F(R),Q(N.$$.fragment,R),$=F(R),O=I(R,"P",{class:!0});var me=S(O);se=H(me,x),me.forEach(c),R.forEach(c),we=F(i),ee=I(i,"TD",{class:!0});var _e=S(ee);ae=I(_e,"P",{});var He=S(ae);be=H(He,ne),He.forEach(c),_e.forEach(c),ke=F(i),te=I(i,"TD",{class:!0});var Le=S(te);fe=I(Le,"P",{});var je=S(fe);Te=H(je,ie),je.forEach(c),Le.forEach(c),this.h()},h(){y(u,"class","inline-time-cell svelte-tyqpjy"),y(l,"class","relative break-words pr-4"),y(P,"class","md:hidden"),y(T,"class","table-link svelte-tyqpjy"),y(T,"aria-label",X=G("workflows","filter-by",{workflowName:o[0].name})),y(O,"class","inline-time-cell svelte-tyqpjy"),y(d,"class","relative truncate"),y(ee,"class","time-cell svelte-tyqpjy"),y(te,"class","time-cell svelte-tyqpjy")},m(i,w){b(i,e,w),A(s,e,null),b(i,t,w),b(i,l,w),A(r,l,null),k(l,f),A(a,l,null),k(l,n),k(l,u),k(u,h),b(i,L,w),b(i,d,w),k(d,P),k(P,W),k(P,p),k(d,_),k(d,T),k(T,J),k(d,g),A(N,d,null),k(d,$),k(d,O),k(O,se),b(i,we,w),b(i,ee,w),k(ee,ae),k(ae,be),b(i,ke,w),b(i,te,w),k(te,fe),k(fe,Te),K=!0,qe||(We=[j(l,"mouseover",o[10]),j(l,"focus",o[11]),j(l,"mouseleave",o[12]),j(l,"blur",o[13]),j(T,"click",pe(oe(o[14]))),j(d,"mouseover",o[16]),j(d,"focus",o[17]),j(d,"mouseleave",o[18]),j(d,"blur",o[19])],qe=!0)},p(i,w){var ce,me,_e;const V={};w&1&&(V.status=i[0].status),w&1&&(V.delay=Ue(i[0].startTime)),s.$set(V);const ue={};w&1048577&&(ue.$$scope={dirty:w,ctx:i}),r.$set(ue);const R={};w&2&&(R.show=i[1]),w&1&&(R.content=i[0].id),a.$set(R),(!K||w&97)&&m!==(m=Z(i[0].startTime,i[5],{relative:i[6]})+"")&&le(h,m),(!K||w&1)&&z!==(z=i[0].name+"")&&le(J,z),(!K||w&1&&X!==(X=G("workflows","filter-by",{workflowName:i[0].name})))&&y(T,"aria-label",X);const Y={};w&2&&(Y.show=i[1]),w&1&&(Y.content=i[0].name),w&1&&(Y.onFilter=i[15]),w&9&&(Y.filtered=(_e=(me=(ce=i[3].url)==null?void 0:ce.searchParams)==null?void 0:me.get("query"))==null?void 0:_e.includes(i[0].name)),N.$set(Y),(!K||w&97)&&x!==(x=Z(i[0].endTime,i[5],{relative:i[6]})+"")&&le(se,x),(!K||w&97)&&ne!==(ne=Z(i[0].startTime,i[5],{relative:i[6]})+"")&&le(be,ne),(!K||w&97)&&ie!==(ie=Z(i[0].endTime,i[5],{relative:i[6]})+"")&&le(Te,ie)},i(i){K||(v(s.$$.fragment,i),v(r.$$.fragment,i),v(a.$$.fragment,i),v(N.$$.fragment,i),K=!0)},o(i){q(s.$$.fragment,i),q(r.$$.fragment,i),q(a.$$.fragment,i),q(N.$$.fragment,i),K=!1},d(i){i&&c(e),M(s),i&&c(t),i&&c(l),M(r),M(a),i&&c(L),i&&c(d),M(N),i&&c(we),i&&c(ee),i&&c(ke),i&&c(te),qe=!1,Ge(We)}}}function Ht(o){let e,s;return e=new at({props:{class:"workflow-summary-row",$$slots:{default:[Ct]},$$scope:{ctx:o}}}),{c(){U(e.$$.fragment)},l(t){Q(e.$$.fragment,t)},m(t,l){A(e,t,l),s=!0},p(t,[l]){const r={};l&1048703&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){s||(v(e.$$.fragment,t),s=!0)},o(t){q(e.$$.fragment,t),s=!1},d(t){M(e,t)}}}function Lt(o,e,s){let t,l,r,f,a;he(o,lt,g=>s(3,l=g)),he(o,Oe,g=>s(4,r=g)),he(o,nt,g=>s(5,f=g)),he(o,ft,g=>s(6,a=g));let{namespace:n}=e,{workflow:u}=e,m=!1;const h=g=>{const N=Qe({timeRange:"All"}),$=l.url.searchParams.get("query"),O=Dt($??N),x=(O==null?void 0:O.workflowType)===g?"":g,se=Qe({...O,workflowType:x});wt({url:l.url,parameter:"query",value:se,allowEmpty:!0})},L=()=>{Ye(Oe,r=l.url.searchParams.toString(),r),tt(t)},d=()=>s(1,m=!0),P=()=>s(1,m=!0),B=()=>s(1,m=!1),W=()=>s(1,m=!1),p=()=>h(u.name),_=()=>h(u.name),T=()=>s(1,m=!0),z=()=>s(1,m=!0),J=()=>s(1,m=!1),X=()=>s(1,m=!1);return o.$$set=g=>{"namespace"in g&&s(8,n=g.namespace),"workflow"in g&&s(0,u=g.workflow)},o.$$.update=()=>{o.$$.dirty&257&&s(2,t=dt({namespace:n,workflow:u.id,run:u.runId}))},[u,m,t,l,r,f,a,h,n,L,d,P,B,W,p,_,T,z,J,X]}class ul extends Ee{constructor(e){super(),Ie(this,e,Lt,Ht,de,{namespace:8,workflow:0})}}function jt(o){let e;const s=o[1].default,t=Ze(s,o,o[2],null);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,r){t&&t.m(l,r),e=!0},p(l,r){t&&t.p&&(!e||r&4)&&$e(t,s,l,l[2],e?et(s,l[2],r,null):xe(l[2]),null)},i(l){e||(v(t,l),e=!0)},o(l){q(t,l),e=!1},d(l){t&&t.d(l)}}}function Nt(o){let e,s;return{c(){e=E("caption"),s=C("Workflows"),this.h()},l(t){e=I(t,"CAPTION",{class:!0,slot:!0});var l=S(e);s=H(l,"Workflows"),l.forEach(c),this.h()},h(){y(e,"class","sr-only"),y(e,"slot","caption")},m(t,l){b(t,e,l),k(e,s)},p:re,d(t){t&&c(e)}}}function Bt(o){let e,s,t,l,r,f,a,n,u,m,h,L,d,P,B,W,p;return{c(){e=E("th"),s=C("Status"),t=D(),l=E("th"),r=C("Workflow ID"),f=D(),a=E("th"),n=C("Type"),u=D(),m=E("th"),h=C("Start"),L=D(),d=E("th"),P=C("End"),B=D(),W=E("th"),p=C("Summary"),this.h()},l(_){e=I(_,"TH",{class:!0});var T=S(e);s=H(T,"Status"),T.forEach(c),t=F(_),l=I(_,"TH",{class:!0});var z=S(l);r=H(z,"Workflow ID"),z.forEach(c),f=F(_),a=I(_,"TH",{class:!0});var J=S(a);n=H(J,"Type"),J.forEach(c),u=F(_),m=I(_,"TH",{class:!0});var X=S(m);h=H(X,"Start"),X.forEach(c),L=F(_),d=I(_,"TH",{class:!0});var g=S(d);P=H(g,"End"),g.forEach(c),B=F(_),W=I(_,"TH",{class:!0,colspan:!0});var N=S(W);p=H(N,"Summary"),N.forEach(c),this.h()},h(){y(e,"class","w-32 max-md:hidden"),y(l,"class","max-md:hidden md:w-auto"),y(a,"class","w-60 max-md:hidden"),y(m,"class","w-60 max-xl:hidden"),y(d,"class","w-60 max-xl:hidden"),y(W,"class","md:hidden"),y(W,"colspan","3")},m(_,T){b(_,e,T),k(e,s),b(_,t,T),b(_,l,T),k(l,r),b(_,f,T),b(_,a,T),k(a,n),b(_,u,T),b(_,m,T),k(m,h),b(_,L,T),b(_,d,T),k(d,P),b(_,B,T),b(_,W,T),k(W,p)},p:re,d(_){_&&c(e),_&&c(t),_&&c(l),_&&c(f),_&&c(a),_&&c(u),_&&c(m),_&&c(L),_&&c(d),_&&c(B),_&&c(W)}}}function Rt(o){let e,s;return e=new kt({props:{slot:"headers",$$slots:{default:[Bt]},$$scope:{ctx:o}}}),{c(){U(e.$$.fragment)},l(t){Q(e.$$.fragment,t)},m(t,l){A(e,t,l),s=!0},p(t,l){const r={};l&4&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){s||(v(e.$$.fragment,t),s=!0)},o(t){q(e.$$.fragment,t),s=!1},d(t){M(e,t)}}}function Ot(o){let e,s;return e=new bt({props:{class:"w-full md:table-fixed",updating:o[0],"data-testid":"workflows-table",$$slots:{headers:[Rt],caption:[Nt],default:[jt]},$$scope:{ctx:o}}}),{c(){U(e.$$.fragment)},l(t){Q(e.$$.fragment,t)},m(t,l){A(e,t,l),s=!0},p(t,[l]){const r={};l&1&&(r.updating=t[0]),l&4&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){s||(v(e.$$.fragment,t),s=!0)},o(t){q(e.$$.fragment,t),s=!1},d(t){M(e,t)}}}function Ut(o,e,s){let{$$slots:t={},$$scope:l}=e,{updating:r=!1}=e;return o.$$set=f=>{"updating"in f&&s(0,r=f.updating),"$$scope"in f&&s(2,l=f.$$scope)},[r,t,l]}class cl extends Ee{constructor(e){super(),Ie(this,e,Ut,Ot,de,{updating:0})}}function Qt(o){let e;return{c(){e=C(o[2])},l(s){e=H(s,o[2])},m(s,t){b(s,e,t)},p(s,t){t&4&&le(e,s[2])},d(s){s&&c(e)}}}function At(o){let e,s,t,l,r,f,a;return s=new yt({props:{class:"w-full",unroundRight:!0,label:o[2],id:o[5],labelHidden:!0,icon:o[4]?"search":null,type:"search",name:o[3],value:o[1],placeholder:o[0],autocomplete:"off"}}),s.$on("input",o[7]),l=new Tt({props:{borderRadiusModifier:"square-left",type:"submit",$$slots:{default:[Qt]},$$scope:{ctx:o}}}),{c(){e=E("form"),U(s.$$.fragment),t=D(),U(l.$$.fragment),this.h()},l(n){e=I(n,"FORM",{role:!0,class:!0});var u=S(e);Q(s.$$.fragment,u),t=F(u),Q(l.$$.fragment,u),u.forEach(c),this.h()},h(){y(e,"role","search"),y(e,"class","flex items-center")},m(n,u){b(n,e,u),A(s,e,null),k(e,t),A(l,e,null),r=!0,f||(a=j(e,"submit",oe(o[6])),f=!0)},p(n,[u]){const m={};u&4&&(m.label=n[2]),u&32&&(m.id=n[5]),u&16&&(m.icon=n[4]?"search":null),u&8&&(m.name=n[3]),u&2&&(m.value=n[1]),u&1&&(m.placeholder=n[0]),s.$set(m);const h={};u&260&&(h.$$scope={dirty:u,ctx:n}),l.$set(h)},i(n){r||(v(s.$$.fragment,n),v(l.$$.fragment,n),r=!0)},o(n){q(s.$$.fragment,n),q(l.$$.fragment,n),r=!1},d(n){n&&c(e),M(s),M(l),f=!1,a()}}}function Mt(o,e,s){let{placeholder:t=""}=e,{value:l=""}=e,{label:r=G("search")}=e,{name:f="query"}=e,{icon:a=!1}=e,{id:n=`${r.toLocaleUpperCase()}-input`}=e;function u(h){Re.call(this,o,h)}function m(h){Re.call(this,o,h)}return o.$$set=h=>{"placeholder"in h&&s(0,t=h.placeholder),"value"in h&&s(1,l=h.value),"label"in h&&s(2,r=h.label),"name"in h&&s(3,f=h.name),"icon"in h&&s(4,a=h.icon),"id"in h&&s(5,n=h.id)},[t,l,r,f,a,n,u,m]}class ml extends Ee{constructor(e){super(),Ie(this,e,Mt,At,de,{placeholder:0,value:1,label:2,name:3,icon:4,id:5})}}var _l=zt;function zt(o,e,s,t){var l,r,f;return function(){if(f=this,r=Array.prototype.slice.call(arguments),l&&(s||t))return;if(!s)return u(),l=setTimeout(n,e),l;l=setTimeout(u,e),o.apply(f,r);function n(){u(),o.apply(f,r)}function u(){clearTimeout(l),l=null}}}export{Ve as F,ml as S,cl as W,ul as a,Dt as b,_l as j,Et as t}; +import{S as Ee,b as Ie,a as de,e as Ne,f as b,j as v,z as ve,g as q,h as ge,k as c,K as he,m as E,c as D,p as I,q as S,d as F,u as y,L as k,Q as j,a1 as pe,af as oe,n as re,r as Ge,P as Be,i as Xe,C as U,D as Q,E as A,F as M,w as C,x as H,y as le,a5 as Ye,G as Ze,H as $e,I as xe,J as et,V as Re}from"./index.efded970.js";import{g as tt}from"./navigation.85b47b98.js";import{p as lt}from"./stores.3002bd93.js";import{W as st}from"./workflow-status.792f3956.js";import{I as Je}from"./icon.91a9bf44.js";import{c as ot}from"./copy-to-clipboard.d2168786.js";import{L as rt}from"./link.cac19769.js";import{T as at}from"./table-row.6be25099.js";import{t as G}from"./translate.230dcc19.js";import{t as nt,r as ft,b as Z}from"./format-date.be4b741e.js";import{w as Oe}from"./workflows.6800ca9a.js";import{v as it,w as ut,x as ct,y as Ue}from"./format-time.8258873a.js";import{g as Qe}from"./workflow-service.db6f5d3e.js";import{d as mt,e as Pe,f as _t,g as ht,h as pt}from"./is.ba28a1ea.js";import{f as dt}from"./route-for.8244bd54.js";import{u as wt}from"./pagination.e9c8b93a.js";import{T as bt,a as kt}from"./table-header-row.b413d43a.js";import{B as Tt}from"./button.a4f5a3d4.js";import{I as yt}from"./input.f4d0de9f.js";function Ae(o){let e,s,t,l,r,f,a=o[1]&&Me(o),n=o[2]&&Ke(o);return{c(){e=E("div"),a&&a.c(),s=D(),n&&n.c(),this.h()},l(u){e=I(u,"DIV",{class:!0});var m=S(e);a&&a.l(m),s=F(m),n&&n.l(m),m.forEach(c),this.h()},h(){y(e,"class",t="copy-or-filter "+o[9]+" svelte-1f7279h")},m(u,m){b(u,e,m),a&&a.m(e,null),k(e,s),n&&n.m(e,null),l=!0,r||(f=[j(e,"click",pe(oe(re))),j(e,"keyup",pe(oe(re)))],r=!0)},p(u,m){u[1]?a?(a.p(u,m),m&2&&v(a,1)):(a=Me(u),a.c(),v(a,1),a.m(e,s)):a&&(ve(),q(a,1,1,()=>{a=null}),ge()),u[2]?n?(n.p(u,m),m&4&&v(n,1)):(n=Ke(u),n.c(),v(n,1),n.m(e,null)):n&&(ve(),q(n,1,1,()=>{n=null}),ge()),(!l||m&512&&t!==(t="copy-or-filter "+u[9]+" svelte-1f7279h"))&&y(e,"class",t)},i(u){l||(v(a),v(n),l=!0)},o(u){q(a),q(n),l=!1},d(u){u&&c(e),a&&a.d(),n&&n.d(),r=!1,Ge(f)}}}function Me(o){let e,s=o[5],t,l,r,f=ze(o);return{c(){e=E("button"),f.c(),this.h()},l(a){e=I(a,"BUTTON",{class:!0});var n=S(e);f.l(n),n.forEach(c),this.h()},h(){y(e,"class","copy-or-filter-button svelte-1f7279h"),Be(e,"filtered",o[5])},m(a,n){b(a,e,n),f.m(e,null),t=!0,l||(r=j(e,"click",pe(oe(function(){Xe(o[4])&&o[4].apply(this,arguments)}))),l=!0)},p(a,n){o=a,n&32&&de(s,s=o[5])?(ve(),q(f,1,1,re),ge(),f=ze(o),f.c(),v(f,1),f.m(e,null)):f.p(o,n),(!t||n&32)&&Be(e,"filtered",o[5])},i(a){t||(v(f),t=!0)},o(a){q(f),t=!1},d(a){a&&c(e),f.d(a),l=!1,r()}}}function ze(o){let e,s;return e=new Je({props:{title:o[8],name:"filter"}}),{c(){U(e.$$.fragment)},l(t){Q(e.$$.fragment,t)},m(t,l){A(e,t,l),s=!0},p(t,l){const r={};l&256&&(r.title=t[8]),e.$set(r)},i(t){s||(v(e.$$.fragment,t),s=!0)},o(t){q(e.$$.fragment,t),s=!1},d(t){M(e,t)}}}function Ke(o){let e,s,t,l,r;return s=new Je({props:{title:o[10]?o[7]:o[6],name:o[10]?"checkmark":"copy",stroke:"#000"}}),{c(){e=E("button"),U(s.$$.fragment),this.h()},l(f){e=I(f,"BUTTON",{class:!0});var a=S(e);Q(s.$$.fragment,a),a.forEach(c),this.h()},h(){y(e,"class","copy-or-filter-button svelte-1f7279h")},m(f,a){b(f,e,a),A(s,e,null),t=!0,l||(r=j(e,"click",pe(oe(o[13]))),l=!0)},p(f,a){const n={};a&1216&&(n.title=f[10]?f[7]:f[6]),a&1024&&(n.name=f[10]?"checkmark":"copy"),s.$set(n)},i(f){t||(v(s.$$.fragment,f),t=!0)},o(f){q(s.$$.fragment,f),t=!1},d(f){f&&c(e),M(s),l=!1,r()}}}function vt(o){let e,s,t=o[0]&&Ae(o);return{c(){t&&t.c(),e=Ne()},l(l){t&&t.l(l),e=Ne()},m(l,r){t&&t.m(l,r),b(l,e,r),s=!0},p(l,[r]){l[0]?t?(t.p(l,r),r&1&&v(t,1)):(t=Ae(l),t.c(),v(t,1),t.m(e.parentNode,e)):t&&(ve(),q(t,1,1,()=>{t=null}),ge())},i(l){s||(v(t),s=!0)},o(l){q(t),s=!1},d(l){t&&t.d(l),l&&c(e)}}}function gt(o,e,s){let t,{show:l=!1}=e,{filterable:r=!0}=e,{copyable:f=!0}=e,{content:a}=e,{onFilter:n=re}=e,{filtered:u=!1}=e,{copyIconTitle:m}=e,{copySuccessIconTitle:h}=e,{filterIconTitle:L}=e,{class:d=""}=e;const{copy:P,copied:B}=ot();he(o,B,p=>s(10,t=p));const W=p=>P(p,a);return o.$$set=p=>{"show"in p&&s(0,l=p.show),"filterable"in p&&s(1,r=p.filterable),"copyable"in p&&s(2,f=p.copyable),"content"in p&&s(3,a=p.content),"onFilter"in p&&s(4,n=p.onFilter),"filtered"in p&&s(5,u=p.filtered),"copyIconTitle"in p&&s(6,m=p.copyIconTitle),"copySuccessIconTitle"in p&&s(7,h=p.copySuccessIconTitle),"filterIconTitle"in p&&s(8,L=p.filterIconTitle),"class"in p&&s(9,d=p.class)},[l,r,f,a,n,u,m,h,L,d,t,P,B,W]}class Ve extends Ee{constructor(e){super(),Ie(this,e,gt,vt,de,{show:0,filterable:1,copyable:2,content:3,onFilter:4,filtered:5,copyIconTitle:6,copySuccessIconTitle:7,filterIconTitle:8,class:9})}}const Et=o=>{const e=[],s=()=>{t&&(e.push(t),t="")};let t="",l=0;for(;le=>e.toLowerCase()===o.toLowerCase(),ye=(o,e)=>o[e+2],It=o=>{if(o){for(const e of ct)if(o[e])return{[e]:o[e]}}},St=Se("WorkflowType"),qt=Se("WorkflowId"),Pt=Se("StartTime"),Wt=Se("ExecutionStatus"),Dt=o=>{const e=Et(o),s={workflowId:"",workflowType:"",executionStatus:null,timeRange:null};return e.forEach((t,l)=>{if(qt(t)&&(s.workflowId=ye(e,l)),St(t)&&(s.workflowType=ye(e,l)),Wt(t)){const r=ye(e,l);pt(r)&&(s.executionStatus=r)}if(Pt(t)){const r=ye(e,l);try{const f=it(r),a=It(f);s.timeRange=ut(a)}catch(f){console.error("Error parsing StartTime from query",f)}}}),s};function Ft(o){let e=o[0].id+"",s;return{c(){s=C(e)},l(t){s=H(t,e)},m(t,l){b(t,s,l)},p(t,l){l&1&&e!==(e=t[0].id+"")&&le(s,e)},d(t){t&&c(s)}}}function Ct(o){var De,Fe,Ce;let e,s,t,l,r,f,a,n,u,m=Z(o[0].startTime,o[5],{relative:o[6]})+"",h,L,d,P,B=G("workflows","workflow-name")+"",W,p,_,T,z=o[0].name+"",J,X,g,N,$,O,x=Z(o[0].endTime,o[5],{relative:o[6]})+"",se,we,ee,ae,ne=Z(o[0].startTime,o[5],{relative:o[6]})+"",be,ke,te,fe,ie=Z(o[0].endTime,o[5],{relative:o[6]})+"",Te,K,qe,We;return s=new st({props:{status:o[0].status,delay:Ue(o[0].startTime)}}),r=new rt({props:{$$slots:{default:[Ft]},$$scope:{ctx:o}}}),r.$on("click",o[9]),a=new Ve({props:{copyIconTitle:G("copy-icon-title"),copySuccessIconTitle:G("copy-success-icon-title"),filterIconTitle:G("filter-workflows"),show:o[1],content:o[0].id,filterable:!1}}),N=new Ve({props:{copyIconTitle:G("copy-icon-title"),copySuccessIconTitle:G("copy-success-icon-title"),filterIconTitle:G("filter-workflows"),show:o[1],content:o[0].name,onFilter:o[15],filtered:(Ce=(Fe=(De=o[3].url)==null?void 0:De.searchParams)==null?void 0:Fe.get("query"))==null?void 0:Ce.includes(o[0].name)}}),{c(){e=E("td"),U(s.$$.fragment),t=D(),l=E("td"),U(r.$$.fragment),f=D(),U(a.$$.fragment),n=D(),u=E("p"),h=C(m),L=D(),d=E("td"),P=E("h3"),W=C(B),p=C(":"),_=D(),T=E("button"),J=C(z),g=D(),U(N.$$.fragment),$=D(),O=E("p"),se=C(x),we=D(),ee=E("td"),ae=E("p"),be=C(ne),ke=D(),te=E("td"),fe=E("p"),Te=C(ie),this.h()},l(i){e=I(i,"TD",{});var w=S(e);Q(s.$$.fragment,w),w.forEach(c),t=F(i),l=I(i,"TD",{class:!0});var V=S(l);Q(r.$$.fragment,V),f=F(V),Q(a.$$.fragment,V),n=F(V),u=I(V,"P",{class:!0});var ue=S(u);h=H(ue,m),ue.forEach(c),V.forEach(c),L=F(i),d=I(i,"TD",{class:!0});var R=S(d);P=I(R,"H3",{class:!0});var Y=S(P);W=H(Y,B),p=H(Y,":"),Y.forEach(c),_=F(R),T=I(R,"BUTTON",{class:!0,"aria-label":!0});var ce=S(T);J=H(ce,z),ce.forEach(c),g=F(R),Q(N.$$.fragment,R),$=F(R),O=I(R,"P",{class:!0});var me=S(O);se=H(me,x),me.forEach(c),R.forEach(c),we=F(i),ee=I(i,"TD",{class:!0});var _e=S(ee);ae=I(_e,"P",{});var He=S(ae);be=H(He,ne),He.forEach(c),_e.forEach(c),ke=F(i),te=I(i,"TD",{class:!0});var Le=S(te);fe=I(Le,"P",{});var je=S(fe);Te=H(je,ie),je.forEach(c),Le.forEach(c),this.h()},h(){y(u,"class","inline-time-cell svelte-tyqpjy"),y(l,"class","relative break-words pr-4"),y(P,"class","md:hidden"),y(T,"class","table-link svelte-tyqpjy"),y(T,"aria-label",X=G("workflows","filter-by",{workflowName:o[0].name})),y(O,"class","inline-time-cell svelte-tyqpjy"),y(d,"class","relative truncate"),y(ee,"class","time-cell svelte-tyqpjy"),y(te,"class","time-cell svelte-tyqpjy")},m(i,w){b(i,e,w),A(s,e,null),b(i,t,w),b(i,l,w),A(r,l,null),k(l,f),A(a,l,null),k(l,n),k(l,u),k(u,h),b(i,L,w),b(i,d,w),k(d,P),k(P,W),k(P,p),k(d,_),k(d,T),k(T,J),k(d,g),A(N,d,null),k(d,$),k(d,O),k(O,se),b(i,we,w),b(i,ee,w),k(ee,ae),k(ae,be),b(i,ke,w),b(i,te,w),k(te,fe),k(fe,Te),K=!0,qe||(We=[j(l,"mouseover",o[10]),j(l,"focus",o[11]),j(l,"mouseleave",o[12]),j(l,"blur",o[13]),j(T,"click",pe(oe(o[14]))),j(d,"mouseover",o[16]),j(d,"focus",o[17]),j(d,"mouseleave",o[18]),j(d,"blur",o[19])],qe=!0)},p(i,w){var ce,me,_e;const V={};w&1&&(V.status=i[0].status),w&1&&(V.delay=Ue(i[0].startTime)),s.$set(V);const ue={};w&1048577&&(ue.$$scope={dirty:w,ctx:i}),r.$set(ue);const R={};w&2&&(R.show=i[1]),w&1&&(R.content=i[0].id),a.$set(R),(!K||w&97)&&m!==(m=Z(i[0].startTime,i[5],{relative:i[6]})+"")&&le(h,m),(!K||w&1)&&z!==(z=i[0].name+"")&&le(J,z),(!K||w&1&&X!==(X=G("workflows","filter-by",{workflowName:i[0].name})))&&y(T,"aria-label",X);const Y={};w&2&&(Y.show=i[1]),w&1&&(Y.content=i[0].name),w&1&&(Y.onFilter=i[15]),w&9&&(Y.filtered=(_e=(me=(ce=i[3].url)==null?void 0:ce.searchParams)==null?void 0:me.get("query"))==null?void 0:_e.includes(i[0].name)),N.$set(Y),(!K||w&97)&&x!==(x=Z(i[0].endTime,i[5],{relative:i[6]})+"")&&le(se,x),(!K||w&97)&&ne!==(ne=Z(i[0].startTime,i[5],{relative:i[6]})+"")&&le(be,ne),(!K||w&97)&&ie!==(ie=Z(i[0].endTime,i[5],{relative:i[6]})+"")&&le(Te,ie)},i(i){K||(v(s.$$.fragment,i),v(r.$$.fragment,i),v(a.$$.fragment,i),v(N.$$.fragment,i),K=!0)},o(i){q(s.$$.fragment,i),q(r.$$.fragment,i),q(a.$$.fragment,i),q(N.$$.fragment,i),K=!1},d(i){i&&c(e),M(s),i&&c(t),i&&c(l),M(r),M(a),i&&c(L),i&&c(d),M(N),i&&c(we),i&&c(ee),i&&c(ke),i&&c(te),qe=!1,Ge(We)}}}function Ht(o){let e,s;return e=new at({props:{class:"workflow-summary-row",$$slots:{default:[Ct]},$$scope:{ctx:o}}}),{c(){U(e.$$.fragment)},l(t){Q(e.$$.fragment,t)},m(t,l){A(e,t,l),s=!0},p(t,[l]){const r={};l&1048703&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){s||(v(e.$$.fragment,t),s=!0)},o(t){q(e.$$.fragment,t),s=!1},d(t){M(e,t)}}}function Lt(o,e,s){let t,l,r,f,a;he(o,lt,g=>s(3,l=g)),he(o,Oe,g=>s(4,r=g)),he(o,nt,g=>s(5,f=g)),he(o,ft,g=>s(6,a=g));let{namespace:n}=e,{workflow:u}=e,m=!1;const h=g=>{const N=Qe({timeRange:"All"}),$=l.url.searchParams.get("query"),O=Dt($??N),x=(O==null?void 0:O.workflowType)===g?"":g,se=Qe({...O,workflowType:x});wt({url:l.url,parameter:"query",value:se,allowEmpty:!0})},L=()=>{Ye(Oe,r=l.url.searchParams.toString(),r),tt(t)},d=()=>s(1,m=!0),P=()=>s(1,m=!0),B=()=>s(1,m=!1),W=()=>s(1,m=!1),p=()=>h(u.name),_=()=>h(u.name),T=()=>s(1,m=!0),z=()=>s(1,m=!0),J=()=>s(1,m=!1),X=()=>s(1,m=!1);return o.$$set=g=>{"namespace"in g&&s(8,n=g.namespace),"workflow"in g&&s(0,u=g.workflow)},o.$$.update=()=>{o.$$.dirty&257&&s(2,t=dt({namespace:n,workflow:u.id,run:u.runId}))},[u,m,t,l,r,f,a,h,n,L,d,P,B,W,p,_,T,z,J,X]}class ul extends Ee{constructor(e){super(),Ie(this,e,Lt,Ht,de,{namespace:8,workflow:0})}}function jt(o){let e;const s=o[1].default,t=Ze(s,o,o[2],null);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,r){t&&t.m(l,r),e=!0},p(l,r){t&&t.p&&(!e||r&4)&&$e(t,s,l,l[2],e?et(s,l[2],r,null):xe(l[2]),null)},i(l){e||(v(t,l),e=!0)},o(l){q(t,l),e=!1},d(l){t&&t.d(l)}}}function Nt(o){let e,s;return{c(){e=E("caption"),s=C("Workflows"),this.h()},l(t){e=I(t,"CAPTION",{class:!0,slot:!0});var l=S(e);s=H(l,"Workflows"),l.forEach(c),this.h()},h(){y(e,"class","sr-only"),y(e,"slot","caption")},m(t,l){b(t,e,l),k(e,s)},p:re,d(t){t&&c(e)}}}function Bt(o){let e,s,t,l,r,f,a,n,u,m,h,L,d,P,B,W,p;return{c(){e=E("th"),s=C("Status"),t=D(),l=E("th"),r=C("Workflow ID"),f=D(),a=E("th"),n=C("Type"),u=D(),m=E("th"),h=C("Start"),L=D(),d=E("th"),P=C("End"),B=D(),W=E("th"),p=C("Summary"),this.h()},l(_){e=I(_,"TH",{class:!0});var T=S(e);s=H(T,"Status"),T.forEach(c),t=F(_),l=I(_,"TH",{class:!0});var z=S(l);r=H(z,"Workflow ID"),z.forEach(c),f=F(_),a=I(_,"TH",{class:!0});var J=S(a);n=H(J,"Type"),J.forEach(c),u=F(_),m=I(_,"TH",{class:!0});var X=S(m);h=H(X,"Start"),X.forEach(c),L=F(_),d=I(_,"TH",{class:!0});var g=S(d);P=H(g,"End"),g.forEach(c),B=F(_),W=I(_,"TH",{class:!0,colspan:!0});var N=S(W);p=H(N,"Summary"),N.forEach(c),this.h()},h(){y(e,"class","w-32 max-md:hidden"),y(l,"class","max-md:hidden md:w-auto"),y(a,"class","w-60 max-md:hidden"),y(m,"class","w-60 max-xl:hidden"),y(d,"class","w-60 max-xl:hidden"),y(W,"class","md:hidden"),y(W,"colspan","3")},m(_,T){b(_,e,T),k(e,s),b(_,t,T),b(_,l,T),k(l,r),b(_,f,T),b(_,a,T),k(a,n),b(_,u,T),b(_,m,T),k(m,h),b(_,L,T),b(_,d,T),k(d,P),b(_,B,T),b(_,W,T),k(W,p)},p:re,d(_){_&&c(e),_&&c(t),_&&c(l),_&&c(f),_&&c(a),_&&c(u),_&&c(m),_&&c(L),_&&c(d),_&&c(B),_&&c(W)}}}function Rt(o){let e,s;return e=new kt({props:{slot:"headers",$$slots:{default:[Bt]},$$scope:{ctx:o}}}),{c(){U(e.$$.fragment)},l(t){Q(e.$$.fragment,t)},m(t,l){A(e,t,l),s=!0},p(t,l){const r={};l&4&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){s||(v(e.$$.fragment,t),s=!0)},o(t){q(e.$$.fragment,t),s=!1},d(t){M(e,t)}}}function Ot(o){let e,s;return e=new bt({props:{class:"w-full md:table-fixed",updating:o[0],"data-testid":"workflows-table",$$slots:{headers:[Rt],caption:[Nt],default:[jt]},$$scope:{ctx:o}}}),{c(){U(e.$$.fragment)},l(t){Q(e.$$.fragment,t)},m(t,l){A(e,t,l),s=!0},p(t,[l]){const r={};l&1&&(r.updating=t[0]),l&4&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){s||(v(e.$$.fragment,t),s=!0)},o(t){q(e.$$.fragment,t),s=!1},d(t){M(e,t)}}}function Ut(o,e,s){let{$$slots:t={},$$scope:l}=e,{updating:r=!1}=e;return o.$$set=f=>{"updating"in f&&s(0,r=f.updating),"$$scope"in f&&s(2,l=f.$$scope)},[r,t,l]}class cl extends Ee{constructor(e){super(),Ie(this,e,Ut,Ot,de,{updating:0})}}function Qt(o){let e;return{c(){e=C(o[2])},l(s){e=H(s,o[2])},m(s,t){b(s,e,t)},p(s,t){t&4&&le(e,s[2])},d(s){s&&c(e)}}}function At(o){let e,s,t,l,r,f,a;return s=new yt({props:{class:"w-full",unroundRight:!0,label:o[2],id:o[5],labelHidden:!0,icon:o[4]?"search":null,type:"search",name:o[3],value:o[1],placeholder:o[0],autocomplete:"off"}}),s.$on("input",o[7]),l=new Tt({props:{borderRadiusModifier:"square-left",type:"submit",$$slots:{default:[Qt]},$$scope:{ctx:o}}}),{c(){e=E("form"),U(s.$$.fragment),t=D(),U(l.$$.fragment),this.h()},l(n){e=I(n,"FORM",{role:!0,class:!0});var u=S(e);Q(s.$$.fragment,u),t=F(u),Q(l.$$.fragment,u),u.forEach(c),this.h()},h(){y(e,"role","search"),y(e,"class","flex items-center")},m(n,u){b(n,e,u),A(s,e,null),k(e,t),A(l,e,null),r=!0,f||(a=j(e,"submit",oe(o[6])),f=!0)},p(n,[u]){const m={};u&4&&(m.label=n[2]),u&32&&(m.id=n[5]),u&16&&(m.icon=n[4]?"search":null),u&8&&(m.name=n[3]),u&2&&(m.value=n[1]),u&1&&(m.placeholder=n[0]),s.$set(m);const h={};u&260&&(h.$$scope={dirty:u,ctx:n}),l.$set(h)},i(n){r||(v(s.$$.fragment,n),v(l.$$.fragment,n),r=!0)},o(n){q(s.$$.fragment,n),q(l.$$.fragment,n),r=!1},d(n){n&&c(e),M(s),M(l),f=!1,a()}}}function Mt(o,e,s){let{placeholder:t=""}=e,{value:l=""}=e,{label:r=G("search")}=e,{name:f="query"}=e,{icon:a=!1}=e,{id:n=`${r.toLocaleUpperCase()}-input`}=e;function u(h){Re.call(this,o,h)}function m(h){Re.call(this,o,h)}return o.$$set=h=>{"placeholder"in h&&s(0,t=h.placeholder),"value"in h&&s(1,l=h.value),"label"in h&&s(2,r=h.label),"name"in h&&s(3,f=h.name),"icon"in h&&s(4,a=h.icon),"id"in h&&s(5,n=h.id)},[t,l,r,f,a,n,u,m]}class ml extends Ee{constructor(e){super(),Ie(this,e,Mt,At,de,{placeholder:0,value:1,label:2,name:3,icon:4,id:5})}}var _l=zt;function zt(o,e,s,t){var l,r,f;return function(){if(f=this,r=Array.prototype.slice.call(arguments),l&&(s||t))return;if(!s)return u(),l=setTimeout(n,e),l;l=setTimeout(u,e),o.apply(f,r);function n(){u(),o.apply(f,r)}function u(){clearTimeout(l),l=null}}}export{Ve as F,ml as S,cl as W,ul as a,Dt as b,_l as j,Et as t}; diff --git a/ui/assets/local/_app/immutable/chunks/logo.797112c8.js b/ui/assets/local/_app/immutable/chunks/logo.0c03f549.js similarity index 95% rename from ui/assets/local/_app/immutable/chunks/logo.797112c8.js rename to ui/assets/local/_app/immutable/chunks/logo.0c03f549.js index 0ad33db5dd..d3e9c80471 100644 --- a/ui/assets/local/_app/immutable/chunks/logo.797112c8.js +++ b/ui/assets/local/_app/immutable/chunks/logo.0c03f549.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,L as _,E as F,n as L,j as E,g as I,F as D,K as q}from"./index.efded970.js";import{p as C}from"./stores.83aed68d.js";import{I as G}from"./icon.91a9bf44.js";function R(c){let e,s,n,t,o,i;return t=new G({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,L as _,E as F,n as L,j as E,g as I,F as D,K as q}from"./index.efded970.js";import{p as C}from"./stores.3002bd93.js";import{I as G}from"./icon.91a9bf44.js";function R(c){let e,s,n,t,o,i;return t=new G({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,C,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 A extends v{constructor(e){super(),b(this,e,S,R,g,{})}}const B=""+new URL("../assets/logo.44c7bc2a.svg",import.meta.url).href;export{A as F,B as L}; diff --git a/ui/assets/local/_app/immutable/chunks/namespaces-service.6d9595ed.js b/ui/assets/local/_app/immutable/chunks/namespaces-service.af8fc337.js similarity index 85% rename from ui/assets/local/_app/immutable/chunks/namespaces-service.6d9595ed.js rename to ui/assets/local/_app/immutable/chunks/namespaces-service.af8fc337.js index 6b0d4c54a0..74cd34da31 100644 --- a/ui/assets/local/_app/immutable/chunks/namespaces-service.6d9595ed.js +++ b/ui/assets/local/_app/immutable/chunks/namespaces-service.af8fc337.js @@ -1 +1 @@ -import{n as c}from"./namespaces.08ac61f9.js";import{t as p}from"./toaster.fd2b66a2.js";import{p as u}from"./paginated.2b7c667d.js";import{r as f,a as i}from"./route-for-api.1959b395.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{n as c}from"./namespaces.08ac61f9.js";import{t as p}from"./toaster.fd2b66a2.js";import{p as u}from"./paginated.2a1d18a2.js";import{r as f,a as i}from"./route-for-api.28fc22fc.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.6d455e31.js b/ui/assets/local/_app/immutable/chunks/navigation.85b47b98.js similarity index 69% rename from ui/assets/local/_app/immutable/chunks/navigation.6d455e31.js rename to ui/assets/local/_app/immutable/chunks/navigation.85b47b98.js index 2004eb1e27..72f5ea9d9b 100644 --- a/ui/assets/local/_app/immutable/chunks/navigation.6d455e31.js +++ b/ui/assets/local/_app/immutable/chunks/navigation.85b47b98.js @@ -1 +1 @@ -import{h as a}from"./singletons.96ee7baa.js";a.disable_scroll_handling;const t=a.goto;a.invalidate;a.invalidateAll;a.preload_data;a.preload_code;a.before_navigate;const o=a.after_navigate;export{o as a,t as g}; +import{h as a}from"./singletons.b88fa2bd.js";a.disable_scroll_handling;const t=a.goto;a.invalidate;a.invalidateAll;a.preload_data;a.preload_code;a.before_navigate;const o=a.after_navigate;export{o as a,t as g}; diff --git a/ui/assets/local/_app/immutable/chunks/paginated.2b7c667d.js b/ui/assets/local/_app/immutable/chunks/paginated.2a1d18a2.js similarity index 89% rename from ui/assets/local/_app/immutable/chunks/paginated.2b7c667d.js rename to ui/assets/local/_app/immutable/chunks/paginated.2a1d18a2.js index b23b4013bb..413621b609 100644 --- a/ui/assets/local/_app/immutable/chunks/paginated.2b7c667d.js +++ b/ui/assets/local/_app/immutable/chunks/paginated.2a1d18a2.js @@ -1 +1 @@ -import{h as g}from"./route-for-api.1959b395.js";import{i as c}from"./persist-store.c0203efc.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.28fc22fc.js";import{i as c}from"./persist-store.c0203efc.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.5253b8b7.js b/ui/assets/local/_app/immutable/chunks/pagination.e9c8b93a.js similarity index 99% rename from ui/assets/local/_app/immutable/chunks/pagination.5253b8b7.js rename to ui/assets/local/_app/immutable/chunks/pagination.e9c8b93a.js index 63d81005c9..5ebd9ee69a 100644 --- a/ui/assets/local/_app/immutable/chunks/pagination.5253b8b7.js +++ b/ui/assets/local/_app/immutable/chunks/pagination.e9c8b93a.js @@ -1 +1 @@ -import{S as Ze,b as Qe,a as Xe,N as _e,A as Et,Z as Lt,C as Ie,D as we,E as Re,R as Bt,Y as jt,_ as Kt,j as R,g as S,F as ke,K as It,U as Be,G as se,H as ie,I as oe,J as re,e as lt,f as O,z as Ae,h as Pe,a6 as Tt,k as p,m as B,p as j,q as K,u as h,n as le,ab as z,a3 as nt,c as Z,d as Q,P as fe,$ as at,L as w,am as zt,Q as ce,r as wt,T as st,ag as Vt,o as Dt,s as Mt,w as ee,x as te,y as pe}from"./index.efded970.js";import{p as Rt}from"./stores.83aed68d.js";import{g as Ft}from"./navigation.6d455e31.js";import{S as Ut,a as Ot}from"./simple-select.35d563b9.js";import{d as Ct,w as qe}from"./index.c0615b9d.js";const Wt={keepFocus:!0,noScroll:!0},De=async({parameter:e,value:t,url:n,goto:l=Ft,allowEmpty:a=!1})=>{const i=String(t),o={};n.searchParams.forEach((u,r)=>{r!==e&&(o[r]=u)});const s=new URLSearchParams(o);t?s.set(e,i):a&&s.set(e,"");{const u=s==null?void 0:s.toString(),r=u?`${n.pathname}?${u}`:n.pathname;l(r,Wt)}return t};function it(e,t,n){const l=e.slice();return l[14]=t[n],l}function ot(e){let t,n;return t=new Ot({props:{value:e[14]}}),{c(){Ie(t.$$.fragment)},l(l){we(t.$$.fragment,l)},m(l,a){Re(t,l,a),n=!0},p(l,a){const i={};a&1&&(i.value=l[14]),t.$set(i)},i(l){n||(R(t.$$.fragment,l),n=!0)},o(l){S(t.$$.fragment,l),n=!1},d(l){ke(t,l)}}}function qt(e){let t,n,l=e[0].map(rt),a=[];for(let o=0;oS(a[o],1,1,()=>{a[o]=null});return{c(){for(let o=0;oLt(t,"value",i)),t.$on("change",e[3]),{c(){Ie(t.$$.fragment)},l(s){we(t.$$.fragment,s)},m(s,u){Re(t,s,u),l=!0},p(s,[u]){const r=u&20?Bt(a,[u&4&&{id:s[2]},u&16&&jt(s[4]),a[2]]):{};u&2049&&(r.$$scope={dirty:u,ctx:s}),!n&&u&2&&(n=!0,r.value=s[1],Kt(()=>n=!1)),t.$set(r)},i(s){l||(R(t.$$.fragment,s),l=!0)},o(s){S(t.$$.fragment,s),l=!1},d(s){ke(t,s)}}}const rt=e=>e.toString();function Jt(e,t,n){let l;It(e,Rt,b=>n(12,l=b));let{$$slots:a={},$$scope:i}=t,{label:o}=t,{value:s}=t,{options:u=[]}=t,{parameter:r=null}=t,{position:m=void 0}=t;const V=`${r||o}-${m?`${m}-filter`:"filter"}`;let k=r&&l.url.searchParams.get(r)||s&&s.toString();const N=()=>{De({parameter:r,value:k,url:l.url}).then(b=>n(5,s=b))};function X(b){k=b,n(1,k)}return e.$$set=b=>{n(4,t=_e(_e({},t),Be(b))),"label"in b&&n(6,o=b.label),"value"in b&&n(5,s=b.value),"options"in b&&n(0,u=b.options),"parameter"in b&&n(7,r=b.parameter),"position"in b&&n(8,m=b.position),"$$scope"in b&&n(11,i=b.$$scope)},t=Be(t),[u,k,V,N,t,s,o,r,m,a,X,i]}class kt extends Ze{constructor(t){super(),Qe(this,t,Jt,Gt,Xe,{label:6,value:5,options:0,parameter:7,position:8})}}function Zt(e){let t,n;return{c(){t=B("div"),this.h()},l(l){t=j(l,"DIV",{class:!0}),K(t).forEach(p),this.h()},h(){h(t,"class",n="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(l,a){O(l,t,a)},p(l,[a]){a&1&&n!==(n="background-animate w-full rounded-full bg-gradient-to-r from-gray-100 via-gray-200 to-gray-300 "+l[0].class+" svelte-1hpjfio")&&h(t,"class",n)},i:le,o:le,d(l){l&&p(t)}}}function Qt(e,t,n){return e.$$set=l=>{n(0,t=_e(_e({},t),Be(l)))},t=Be(t),[t]}class Nt extends Ze{constructor(t){super(),Qe(this,t,Qt,Zt,Xe,{})}}const Ee=100,je=["100","250","500"],Le="per-page",hl="page",ft=je[je.length-1],Me=(e,t)=>Math.floor(e/t)+1,Xt=(e,t)=>t<=9?new Array(t).fill(0).map((n,l)=>l+1):e<5?[1,2,3,4,5,NaN,t-2,t-1,t]:e>=5&&e<=t-5?[1,2,NaN,e-1,e,e+1,NaN,t-1,t]:e>=t-5?[1,2,NaN,t-5,t-4,t-3,t-2,t-1,t]:[],St=(e,t,n)=>{if(isNaN(e)||e<=1)return 0;if(e>At(t,n)){const l=n.length-t;return l>0?l:0}return Math.floor(t*(e-1))},Yt=(e,t,n)=>{const l=Me(e,t);return St(l,t,n)},ut=(e,t)=>Math.min(e-1,t-1),At=(e,t)=>Math.ceil(t.length/e),He=(e,t)=>isNaN(e)||e<0?0:ee>=t.length||e<0,yt=(e=[],t=Ee,n=0)=>{t=Pt(t);const l=Yt(Je(n),t,e),a=qe(t),i=qe(l),o=qe(void 0),s=_=>{a.set(Je(_))},u=()=>{N(),i.update(_=>{const c=_+z(a);return Ge(c,e)?_:He(c,e)})},r=()=>{N(),i.update(_=>{const c=_-z(a);return He(c,e)})},m=_=>{const c=z(a),g=St(Number(_),c,e),A=e.slice(g,g+c).length;return z(o)>A-1&&o.set(A-1),i.set(g)},V=_=>{const c=Me(Number(_),z(a));m(c)},P=_=>{for(let c=0;c{const c=P(_);return Me(c,z(a))},N=(_=void 0)=>{_===void 0&&o.set(_);const c=e.slice(z(i),z(i)+z(a)).length,g=ut(c,z(a));_<=g&&o.set(_)},X=()=>{const _=e.slice(z(i),z(i)+z(a)).length,c=ut(_,z(a));z(o)===void 0?o.set(0):z(o){const _=z(o)>=1?z(o)-1:0;o.set(_)},{subscribe:T}=Ct([i,a,o],([_,c,g])=>{const A=At(c,e),Y=Me(_,c);return{items:e.slice(_,_+c),initialItem:e[0],hasPrevious:!Ge(_-c,e),hasNext:!Ge(_+c,e),startingIndex:_,endingIndex:He(_+c-1,e),length:e.length,pageSize:c,currentPage:Y,totalPages:A,activeRowIndex:g,pageShortcuts:Xt(Y,A)}});return{subscribe:T,adjustPageSize:s,next:u,previous:r,jumpToPage:m,jumpToIndex:V,findIndex:P,findPage:k,nextRow:X,previousRow:b,setActiveRowIndex:N}},Pt=(e=Ee)=>{const t=Je(e);return isNaN(t)||!t?Ee:t},Je=(e=0)=>{const t=Number(e);return isNaN(t)||!t?0:Math.abs(t)},xt=({width:e,height:t,screenWidth:n,breakpoint:l=1279})=>e&&t&&n>l?`position: absolute; right: ${e+20}px; top: -${t+14}px`:"";const $t=e=>({visibleItems:e[0]&512,initialItem:e[0]&512,activeRowIndex:e[0]&512,setActiveRowIndex:e[0]&128}),ct=e=>({visibleItems:e[9].items,initialItem:e[9].initialItem,activeRowIndex:e[9].activeRowIndex,setActiveRowIndex:e[7].setActiveRowIndex}),el=e=>({visibleItems:e[0]&512,initialItem:e[0]&512,activeRowIndex:e[0]&512,setActiveRowIndex:e[0]&128}),_t=e=>({visibleItems:e[9].items,initialItem:e[9].initialItem,activeRowIndex:e[9].activeRowIndex,setActiveRowIndex:e[7].setActiveRowIndex}),tl=e=>({visibleItems:e[0]&512,initialItem:e[0]&512,activeRowIndex:e[0]&512,setActiveRowIndex:e[0]&128}),mt=e=>({visibleItems:e[9].items,initialItem:e[9].initialItem,activeRowIndex:e[9].activeRowIndex,setActiveRowIndex:e[7].setActiveRowIndex}),ll=e=>({visibleItems:e[0]&512,initialItem:e[0]&512,activeRowIndex:e[0]&512,setActiveRowIndex:e[0]&128}),dt=e=>({visibleItems:e[9].items,initialItem:e[9].initialItem,activeRowIndex:e[9].activeRowIndex,setActiveRowIndex:e[7].setActiveRowIndex}),nl=e=>({visibleItems:e[0]&512,initialItem:e[0]&512,activeRowIndex:e[0]&512,setActiveRowIndex:e[0]&128}),bt=e=>({visibleItems:e[9].items,initialItem:e[9].initialItem,activeRowIndex:e[9].activeRowIndex,setActiveRowIndex:e[7].setActiveRowIndex}),al=e=>({visibleItems:e[0]&512,initialItem:e[0]&512,activeRowIndex:e[0]&512,setActiveRowIndex:e[0]&128}),gt=e=>({visibleItems:e[9].items,initialItem:e[9].initialItem,activeRowIndex:e[9].activeRowIndex,setActiveRowIndex:e[7].setActiveRowIndex}),sl=e=>({visibleItems:e[0]&512,initialItem:e[0]&512,activeRowIndex:e[0]&512,setActiveRowIndex:e[0]&128}),vt=e=>({visibleItems:e[9].items,initialItem:e[9].initialItem,activeRowIndex:e[9].activeRowIndex,setActiveRowIndex:e[7].setActiveRowIndex});function ht(e){let t,n;return t=new kt({props:{label:e[2],parameter:Le,value:e[8],options:je,position:"top"}}),{c(){Ie(t.$$.fragment)},l(l){we(t.$$.fragment,l)},m(l,a){Re(t,l,a),n=!0},p(l,a){const i={};a[0]&4&&(i.label=l[2]),a[0]&256&&(i.value=l[8]),t.$set(i)},i(l){n||(R(t.$$.fragment,l),n=!0)},o(l){S(t.$$.fragment,l),n=!1},d(l){ke(t,l)}}}function il(e){let t=(e[9].length?e[9].startingIndex+1:0)+"",n,l,a=e[9].endingIndex+1+"",i,o,s=e[9].length+"",u;return{c(){n=ee(t),l=ee("–"),i=ee(a),o=ee(" of "),u=ee(s)},l(r){n=te(r,t),l=te(r,"–"),i=te(r,a),o=te(r," of "),u=te(r,s)},m(r,m){O(r,n,m),O(r,l,m),O(r,i,m),O(r,o,m),O(r,u,m)},p(r,m){m[0]&512&&t!==(t=(r[9].length?r[9].startingIndex+1:0)+"")&&pe(n,t),m[0]&512&&a!==(a=r[9].endingIndex+1+"")&&pe(i,a),m[0]&512&&s!==(s=r[9].length+"")&&pe(u,s)},i:le,o:le,d(r){r&&p(n),r&&p(l),r&&p(i),r&&p(o),r&&p(u)}}}function ol(e){let t,n;return t=new Nt({props:{class:"block h-5 w-24"}}),{c(){Ie(t.$$.fragment)},l(l){we(t.$$.fragment,l)},m(l,a){Re(t,l,a),n=!0},p:le,i(l){n||(R(t.$$.fragment,l),n=!0)},o(l){S(t.$$.fragment,l),n=!1},d(l){ke(t,l)}}}function rl(e){let t,n,l,a,i,o,s,u,r,m,V,P,k,N,X;const b=[ol,il],T=[];function _(c,g){return c[1]?0:1}return s=_(e),u=T[s]=b[s](e),{c(){t=B("div"),n=B("button"),l=B("span"),i=Z(),o=B("p"),u.c(),r=Z(),m=B("button"),V=B("span"),this.h()},l(c){t=j(c,"DIV",{class:!0});var g=K(t);n=j(g,"BUTTON",{class:!0,"aria-label":!0});var A=K(n);l=j(A,"SPAN",{class:!0}),K(l).forEach(p),A.forEach(p),i=Q(g),o=j(g,"P",{});var Y=K(o);u.l(Y),Y.forEach(p),r=Q(g),m=j(g,"BUTTON",{class:!0,"aria-label":!0});var y=K(m);V=j(y,"SPAN",{class:!0}),K(V).forEach(p),y.forEach(p),g.forEach(p),this.h()},h(){h(l,"class","arrow arrow-left svelte-1780ds3"),fe(l,"arrow-left-disabled",!e[9].hasPrevious),h(n,"class","caret svelte-1780ds3"),n.disabled=a=!e[9].hasPrevious,h(n,"aria-label",e[3]),h(V,"class","arrow arrow-right svelte-1780ds3"),fe(V,"arrow-right-disabled",!e[9].hasNext),h(m,"class","caret svelte-1780ds3"),m.disabled=P=!e[9].hasNext,h(m,"aria-label",e[4]),h(t,"class","flex items-center justify-center gap-3")},m(c,g){O(c,t,g),w(t,n),w(n,l),w(t,i),w(t,o),T[s].m(o,null),w(t,r),w(t,m),w(m,V),k=!0,N||(X=[ce(n,"click",e[27]),ce(m,"click",e[28])],N=!0)},p(c,g){(!k||g[0]&512)&&fe(l,"arrow-left-disabled",!c[9].hasPrevious),(!k||g[0]&512&&a!==(a=!c[9].hasPrevious))&&(n.disabled=a),(!k||g[0]&8)&&h(n,"aria-label",c[3]);let A=s;s=_(c),s===A?T[s].p(c,g):(Ae(),S(T[A],1,1,()=>{T[A]=null}),Pe(),u=T[s],u?u.p(c,g):(u=T[s]=b[s](c),u.c()),R(u,1),u.m(o,null)),(!k||g[0]&512)&&fe(V,"arrow-right-disabled",!c[9].hasNext),(!k||g[0]&512&&P!==(P=!c[9].hasNext))&&(m.disabled=P),(!k||g[0]&16)&&h(m,"aria-label",c[4])},i(c){k||(R(u),k=!0)},o(c){S(u),k=!1},d(c){c&&p(t),T[s].d(),N=!1,wt(X)}}}function pt(e){let t,n;return t=new kt({props:{label:e[2],parameter:Le,value:e[8],options:je,position:"bottom"}}),{c(){Ie(t.$$.fragment)},l(l){we(t.$$.fragment,l)},m(l,a){Re(t,l,a),n=!0},p(l,a){const i={};a[0]&4&&(i.label=l[2]),a[0]&256&&(i.value=l[8]),t.$set(i)},i(l){n||(R(t.$$.fragment,l),n=!0)},o(l){S(t.$$.fragment,l),n=!1},d(l){ke(t,l)}}}function fl(e){let t=(e[9].length?e[9].startingIndex+1:0)+"",n,l,a=e[9].endingIndex+1+"",i,o,s=e[9].length+"",u;return{c(){n=ee(t),l=ee("–"),i=ee(a),o=ee(" of "),u=ee(s)},l(r){n=te(r,t),l=te(r,"–"),i=te(r,a),o=te(r," of "),u=te(r,s)},m(r,m){O(r,n,m),O(r,l,m),O(r,i,m),O(r,o,m),O(r,u,m)},p(r,m){m[0]&512&&t!==(t=(r[9].length?r[9].startingIndex+1:0)+"")&&pe(n,t),m[0]&512&&a!==(a=r[9].endingIndex+1+"")&&pe(i,a),m[0]&512&&s!==(s=r[9].length+"")&&pe(u,s)},i:le,o:le,d(r){r&&p(n),r&&p(l),r&&p(i),r&&p(o),r&&p(u)}}}function ul(e){let t,n;return t=new Nt({props:{class:"block h-5 w-24"}}),{c(){Ie(t.$$.fragment)},l(l){we(t.$$.fragment,l)},m(l,a){Re(t,l,a),n=!0},p:le,i(l){n||(R(t.$$.fragment,l),n=!0)},o(l){S(t.$$.fragment,l),n=!1},d(l){ke(t,l)}}}function cl(e){let t,n,l,a,i,o,s,u,r,m,V,P,k,N,X,b,T,_,c,g,A,Y,y,D,M,ue,F,x,$,me,de,be,I,Ne,Ke;nt(e[26]);const Se=e[25]["action-top-left"],U=se(Se,e,e[24],vt),v=e[25]["action-top-center"],C=se(v,e,e[24],gt);let E=!e[0]&&ht(e);const Fe=e[25]["pagination-top"],Te=se(Fe,e,e[24],bt),W=Te||rl(e),Ue=e[25]["action-top-right"],q=se(Ue,e,e[24],dt),Oe=e[25].default,H=se(Oe,e,e[24],mt),Ce=e[25]["action-bottom-left"],G=se(Ce,e,e[24],_t);let L=!e[0]&&pt(e);const Ye=[ul,fl],ne=[];function ye(f,d){return f[1]?0:1}D=ye(e),M=ne[D]=Ye[D](e);const We=e[25]["action-bottom-right"],J=se(We,e,e[24],ct);return{c(){t=B("div"),n=B("div"),l=B("div"),U&&U.c(),a=Z(),i=B("nav"),C&&C.c(),o=Z(),s=B("div"),E&&E.c(),u=Z(),W&&W.c(),r=Z(),q&&q.c(),P=Z(),H&&H.c(),k=Z(),N=B("nav"),G&&G.c(),X=Z(),b=B("div"),L&&L.c(),T=Z(),_=B("div"),c=B("button"),g=B("span"),Y=Z(),y=B("p"),M.c(),ue=Z(),F=B("button"),x=B("span"),me=Z(),J&&J.c(),this.h()},l(f){t=j(f,"DIV",{class:!0});var d=K(t);n=j(d,"DIV",{class:!0});var ae=K(n);l=j(ae,"DIV",{class:!0});var xe=K(l);U&&U.l(xe),xe.forEach(p),a=Q(ae),i=j(ae,"NAV",{style:!0,class:!0,"aria-label":!0});var ge=K(i);C&&C.l(ge),o=Q(ge),s=j(ge,"DIV",{class:!0});var ze=K(s);E&&E.l(ze),u=Q(ze),W&&W.l(ze),ze.forEach(p),r=Q(ge),q&&q.l(ge),ge.forEach(p),ae.forEach(p),P=Q(d),H&&H.l(d),k=Q(d),N=j(d,"NAV",{class:!0,"aria-label":!0});var Ve=K(N);G&&G.l(Ve),X=Q(Ve),b=j(Ve,"DIV",{class:!0});var ve=K(b);L&&L.l(ve),T=Q(ve),_=j(ve,"DIV",{class:!0});var he=K(_);c=j(he,"BUTTON",{class:!0,"aria-label":!0});var $e=K(c);g=j($e,"SPAN",{class:!0}),K(g).forEach(p),$e.forEach(p),Y=Q(he),y=j(he,"P",{});var et=K(y);M.l(et),et.forEach(p),ue=Q(he),F=j(he,"BUTTON",{class:!0,"aria-label":!0});var tt=K(F);x=j(tt,"SPAN",{class:!0}),K(x).forEach(p),tt.forEach(p),he.forEach(p),me=Q(ve),J&&J.l(ve),ve.forEach(p),Ve.forEach(p),d.forEach(p),this.h()},h(){h(l,"class","w-full"),h(s,"class","flex gap-4"),h(i,"style",e[10]),h(i,"class","flex flex-col items-end gap-4 md:flex-row min-w-fit"),h(i,"aria-label",m=e[14]["aria-label"]+" 1"),nt(()=>e[29].call(i)),h(n,"class","flex flex-col items-end lg:items-start gap-4 lg:flex-row justify-end"),h(g,"class","arrow arrow-left svelte-1780ds3"),fe(g,"arrow-left-disabled",!e[9].hasPrevious),h(c,"class","caret svelte-1780ds3"),c.disabled=A=!e[9].hasPrevious,h(c,"aria-label",e[3]),h(x,"class","arrow arrow-right svelte-1780ds3"),fe(x,"arrow-right-disabled",!e[9].hasNext),h(F,"class","caret svelte-1780ds3"),F.disabled=$=!e[9].hasNext,h(F,"aria-label",e[4]),h(_,"class","flex items-center justify-center gap-3"),h(b,"class","flex gap-4"),h(N,"class",de=at(`flex ${e[15]["action-bottom-left"]?"justify-between":"justify-end"}`)+" svelte-1780ds3"),h(N,"aria-label",be=e[14]["aria-label"]+" 2"),h(t,"class","pagination relative mb-8 flex flex-col gap-4")},m(f,d){O(f,t,d),w(t,n),w(n,l),U&&U.m(l,null),w(n,a),w(n,i),C&&C.m(i,null),w(i,o),w(i,s),E&&E.m(s,null),w(s,u),W&&W.m(s,null),w(i,r),q&&q.m(i,null),V=zt(i,e[29].bind(i)),w(t,P),H&&H.m(t,null),w(t,k),w(t,N),G&&G.m(N,null),w(N,X),w(N,b),L&&L.m(b,null),w(b,T),w(b,_),w(_,c),w(c,g),w(_,Y),w(_,y),ne[D].m(y,null),w(_,ue),w(_,F),w(F,x),w(b,me),J&&J.m(b,null),I=!0,Ne||(Ke=[ce(window,"resize",e[12]),ce(window,"keydown",e[13]),ce(window,"resize",e[26]),ce(c,"click",e[30]),ce(F,"click",e[31])],Ne=!0)},p(f,d){U&&U.p&&(!I||d[0]&16777856)&&ie(U,Se,f,f[24],I?re(Se,f[24],d,sl):oe(f[24]),vt),C&&C.p&&(!I||d[0]&16777856)&&ie(C,v,f,f[24],I?re(v,f[24],d,al):oe(f[24]),gt),f[0]?E&&(Ae(),S(E,1,1,()=>{E=null}),Pe()):E?(E.p(f,d),d[0]&1&&R(E,1)):(E=ht(f),E.c(),R(E,1),E.m(s,u)),Te?Te.p&&(!I||d[0]&16777856)&&ie(Te,Fe,f,f[24],I?re(Fe,f[24],d,nl):oe(f[24]),bt):W&&W.p&&(!I||d[0]&666)&&W.p(f,I?d:[-1,-1]),q&&q.p&&(!I||d[0]&16777856)&&ie(q,Ue,f,f[24],I?re(Ue,f[24],d,ll):oe(f[24]),dt),(!I||d[0]&1024)&&h(i,"style",f[10]),(!I||d[0]&16384&&m!==(m=f[14]["aria-label"]+" 1"))&&h(i,"aria-label",m),H&&H.p&&(!I||d[0]&16777856)&&ie(H,Oe,f,f[24],I?re(Oe,f[24],d,tl):oe(f[24]),mt),G&&G.p&&(!I||d[0]&16777856)&&ie(G,Ce,f,f[24],I?re(Ce,f[24],d,el):oe(f[24]),_t),f[0]?L&&(Ae(),S(L,1,1,()=>{L=null}),Pe()):L?(L.p(f,d),d[0]&1&&R(L,1)):(L=pt(f),L.c(),R(L,1),L.m(b,T)),(!I||d[0]&512)&&fe(g,"arrow-left-disabled",!f[9].hasPrevious),(!I||d[0]&512&&A!==(A=!f[9].hasPrevious))&&(c.disabled=A),(!I||d[0]&8)&&h(c,"aria-label",f[3]);let ae=D;D=ye(f),D===ae?ne[D].p(f,d):(Ae(),S(ne[ae],1,1,()=>{ne[ae]=null}),Pe(),M=ne[D],M?M.p(f,d):(M=ne[D]=Ye[D](f),M.c()),R(M,1),M.m(y,null)),(!I||d[0]&512)&&fe(x,"arrow-right-disabled",!f[9].hasNext),(!I||d[0]&512&&$!==($=!f[9].hasNext))&&(F.disabled=$),(!I||d[0]&16)&&h(F,"aria-label",f[4]),J&&J.p&&(!I||d[0]&16777856)&&ie(J,We,f,f[24],I?re(We,f[24],d,$t):oe(f[24]),ct),(!I||d[0]&32768&&de!==(de=at(`flex ${f[15]["action-bottom-left"]?"justify-between":"justify-end"}`)+" svelte-1780ds3"))&&h(N,"class",de),(!I||d[0]&16384&&be!==(be=f[14]["aria-label"]+" 2"))&&h(N,"aria-label",be)},i(f){I||(R(U,f),R(C,f),R(E),R(W,f),R(q,f),R(H,f),R(G,f),R(L),R(M),R(J,f),I=!0)},o(f){S(U,f),S(C,f),S(E),S(W,f),S(q,f),S(H,f),S(G,f),S(L),S(M),S(J,f),I=!1},d(f){f&&p(t),U&&U.d(f),C&&C.d(f),E&&E.d(),W&&W.d(f),q&&q.d(f),V(),H&&H.d(f),G&&G.d(f),L&&L.d(),ne[D].d(),J&&J.d(f),Ne=!1,wt(Ke)}}}function _l(e,t,n){let l,a,i,o;const s=["items","floatId","startingIndex","currentPageKey","itemsPerPage","updating","pageSizeSelectLabel","previousButtonLabel","nextButtonLabel"];let u=st(t,s),r,m=le,V=()=>(m(),m=Mt(a,v=>n(9,r=v)),a),P;It(e,Rt,v=>n(23,P=v)),e.$$.on_destroy.push(()=>m());let{$$slots:k={},$$scope:N}=t;const X=Vt(k);var b;let{items:T}=t,{floatId:_=void 0}=t,{startingIndex:c=0}=t,{currentPageKey:g="page"}=t,{itemsPerPage:A=null}=t,{updating:Y=!1}=t,{pageSizeSelectLabel:y}=t,{previousButtonLabel:D}=t,{nextButtonLabel:M}=t,ue,F,x;Dt(()=>{me(),Number(c)>0&&$()});const $=()=>{De({parameter:g,value:r.currentPage,url:P.url})},me=()=>{var v;_&&n(21,F=(v=document.getElementById(_))===null||v===void 0?void 0:v.clientWidth)};async function de(v){switch(v.code){case"ArrowRight":case"KeyL":r.hasNext&&(a.next(),$());break;case"ArrowLeft":case"KeyH":r.hasPrevious&&(a.previous(),$());break;case"ArrowUp":case"KeyK":a.previousRow();break;case"ArrowDown":case"KeyJ":a.nextRow();break}}function be(){n(5,ue=window.innerWidth)}const I=()=>{a.previous(),$()},Ne=()=>{a.next(),$()};function Ke(){x=this.clientHeight,n(6,x)}const Se=()=>a.previous(),U=()=>a.next();return e.$$set=v=>{t=_e(_e({},t),Be(v)),n(14,u=st(t,s)),"items"in v&&n(16,T=v.items),"floatId"in v&&n(17,_=v.floatId),"startingIndex"in v&&n(18,c=v.startingIndex),"currentPageKey"in v&&n(19,g=v.currentPageKey),"itemsPerPage"in v&&n(0,A=v.itemsPerPage),"updating"in v&&n(1,Y=v.updating),"pageSizeSelectLabel"in v&&n(2,y=v.pageSizeSelectLabel),"previousButtonLabel"in v&&n(3,D=v.previousButtonLabel),"nextButtonLabel"in v&&n(4,M=v.nextButtonLabel),"$$scope"in v&&n(24,N=v.$$scope)},e.$$.update=()=>{e.$$.dirty[0]&8388609&&n(8,l=A!==null?String(A):String(Pt(P.url.searchParams.get(Le))).toString()),e.$$.dirty[0]&8388864&&(parseInt(l,10)>parseInt(ft,10)?De({parameter:Le,value:ft,url:P.url}):je.includes(l)||De({parameter:Le,value:Ee,url:P.url})),e.$$.dirty[0]&327936&&V(n(7,a=yt(T,l,c))),e.$$.dirty[0]&9961984&&n(22,i=n(20,b=P.url.searchParams.get(g))!==null&&b!==void 0?b:r.currentPage),e.$$.dirty[0]&4194432&&a.jumpToPage(i),e.$$.dirty[0]&2097248&&n(10,o=xt({width:F,height:x,screenWidth:ue}))},[A,Y,y,D,M,ue,x,a,l,r,o,$,me,de,u,X,T,_,c,g,b,F,i,P,N,k,be,I,Ne,Ke,Se,U]}class pl extends Ze{constructor(t){super(),Qe(this,t,_l,cl,Xe,{items:16,floatId:17,startingIndex:18,currentPageKey:19,itemsPerPage:0,updating:1,pageSizeSelectLabel:2,previousButtonLabel:3,nextButtonLabel:4},null,[-1,-1])}}export{kt as F,ft as M,pl as P,yt as a,hl as c,Ee as d,je as o,Le as p,De as u}; +import{S as Ze,b as Qe,a as Xe,N as _e,A as Et,Z as Lt,C as Ie,D as we,E as Re,R as Bt,Y as jt,_ as Kt,j as R,g as S,F as ke,K as It,U as Be,G as se,H as ie,I as oe,J as re,e as lt,f as O,z as Ae,h as Pe,a6 as Tt,k as p,m as B,p as j,q as K,u as h,n as le,ab as z,a3 as nt,c as Z,d as Q,P as fe,$ as at,L as w,am as zt,Q as ce,r as wt,T as st,ag as Vt,o as Dt,s as Mt,w as ee,x as te,y as pe}from"./index.efded970.js";import{p as Rt}from"./stores.3002bd93.js";import{g as Ft}from"./navigation.85b47b98.js";import{S as Ut,a as Ot}from"./simple-select.35d563b9.js";import{d as Ct,w as qe}from"./index.c0615b9d.js";const Wt={keepFocus:!0,noScroll:!0},De=async({parameter:e,value:t,url:n,goto:l=Ft,allowEmpty:a=!1})=>{const i=String(t),o={};n.searchParams.forEach((u,r)=>{r!==e&&(o[r]=u)});const s=new URLSearchParams(o);t?s.set(e,i):a&&s.set(e,"");{const u=s==null?void 0:s.toString(),r=u?`${n.pathname}?${u}`:n.pathname;l(r,Wt)}return t};function it(e,t,n){const l=e.slice();return l[14]=t[n],l}function ot(e){let t,n;return t=new Ot({props:{value:e[14]}}),{c(){Ie(t.$$.fragment)},l(l){we(t.$$.fragment,l)},m(l,a){Re(t,l,a),n=!0},p(l,a){const i={};a&1&&(i.value=l[14]),t.$set(i)},i(l){n||(R(t.$$.fragment,l),n=!0)},o(l){S(t.$$.fragment,l),n=!1},d(l){ke(t,l)}}}function qt(e){let t,n,l=e[0].map(rt),a=[];for(let o=0;oS(a[o],1,1,()=>{a[o]=null});return{c(){for(let o=0;oLt(t,"value",i)),t.$on("change",e[3]),{c(){Ie(t.$$.fragment)},l(s){we(t.$$.fragment,s)},m(s,u){Re(t,s,u),l=!0},p(s,[u]){const r=u&20?Bt(a,[u&4&&{id:s[2]},u&16&&jt(s[4]),a[2]]):{};u&2049&&(r.$$scope={dirty:u,ctx:s}),!n&&u&2&&(n=!0,r.value=s[1],Kt(()=>n=!1)),t.$set(r)},i(s){l||(R(t.$$.fragment,s),l=!0)},o(s){S(t.$$.fragment,s),l=!1},d(s){ke(t,s)}}}const rt=e=>e.toString();function Jt(e,t,n){let l;It(e,Rt,b=>n(12,l=b));let{$$slots:a={},$$scope:i}=t,{label:o}=t,{value:s}=t,{options:u=[]}=t,{parameter:r=null}=t,{position:m=void 0}=t;const V=`${r||o}-${m?`${m}-filter`:"filter"}`;let k=r&&l.url.searchParams.get(r)||s&&s.toString();const N=()=>{De({parameter:r,value:k,url:l.url}).then(b=>n(5,s=b))};function X(b){k=b,n(1,k)}return e.$$set=b=>{n(4,t=_e(_e({},t),Be(b))),"label"in b&&n(6,o=b.label),"value"in b&&n(5,s=b.value),"options"in b&&n(0,u=b.options),"parameter"in b&&n(7,r=b.parameter),"position"in b&&n(8,m=b.position),"$$scope"in b&&n(11,i=b.$$scope)},t=Be(t),[u,k,V,N,t,s,o,r,m,a,X,i]}class kt extends Ze{constructor(t){super(),Qe(this,t,Jt,Gt,Xe,{label:6,value:5,options:0,parameter:7,position:8})}}function Zt(e){let t,n;return{c(){t=B("div"),this.h()},l(l){t=j(l,"DIV",{class:!0}),K(t).forEach(p),this.h()},h(){h(t,"class",n="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(l,a){O(l,t,a)},p(l,[a]){a&1&&n!==(n="background-animate w-full rounded-full bg-gradient-to-r from-gray-100 via-gray-200 to-gray-300 "+l[0].class+" svelte-1hpjfio")&&h(t,"class",n)},i:le,o:le,d(l){l&&p(t)}}}function Qt(e,t,n){return e.$$set=l=>{n(0,t=_e(_e({},t),Be(l)))},t=Be(t),[t]}class Nt extends Ze{constructor(t){super(),Qe(this,t,Qt,Zt,Xe,{})}}const Ee=100,je=["100","250","500"],Le="per-page",hl="page",ft=je[je.length-1],Me=(e,t)=>Math.floor(e/t)+1,Xt=(e,t)=>t<=9?new Array(t).fill(0).map((n,l)=>l+1):e<5?[1,2,3,4,5,NaN,t-2,t-1,t]:e>=5&&e<=t-5?[1,2,NaN,e-1,e,e+1,NaN,t-1,t]:e>=t-5?[1,2,NaN,t-5,t-4,t-3,t-2,t-1,t]:[],St=(e,t,n)=>{if(isNaN(e)||e<=1)return 0;if(e>At(t,n)){const l=n.length-t;return l>0?l:0}return Math.floor(t*(e-1))},Yt=(e,t,n)=>{const l=Me(e,t);return St(l,t,n)},ut=(e,t)=>Math.min(e-1,t-1),At=(e,t)=>Math.ceil(t.length/e),He=(e,t)=>isNaN(e)||e<0?0:ee>=t.length||e<0,yt=(e=[],t=Ee,n=0)=>{t=Pt(t);const l=Yt(Je(n),t,e),a=qe(t),i=qe(l),o=qe(void 0),s=_=>{a.set(Je(_))},u=()=>{N(),i.update(_=>{const c=_+z(a);return Ge(c,e)?_:He(c,e)})},r=()=>{N(),i.update(_=>{const c=_-z(a);return He(c,e)})},m=_=>{const c=z(a),g=St(Number(_),c,e),A=e.slice(g,g+c).length;return z(o)>A-1&&o.set(A-1),i.set(g)},V=_=>{const c=Me(Number(_),z(a));m(c)},P=_=>{for(let c=0;c{const c=P(_);return Me(c,z(a))},N=(_=void 0)=>{_===void 0&&o.set(_);const c=e.slice(z(i),z(i)+z(a)).length,g=ut(c,z(a));_<=g&&o.set(_)},X=()=>{const _=e.slice(z(i),z(i)+z(a)).length,c=ut(_,z(a));z(o)===void 0?o.set(0):z(o){const _=z(o)>=1?z(o)-1:0;o.set(_)},{subscribe:T}=Ct([i,a,o],([_,c,g])=>{const A=At(c,e),Y=Me(_,c);return{items:e.slice(_,_+c),initialItem:e[0],hasPrevious:!Ge(_-c,e),hasNext:!Ge(_+c,e),startingIndex:_,endingIndex:He(_+c-1,e),length:e.length,pageSize:c,currentPage:Y,totalPages:A,activeRowIndex:g,pageShortcuts:Xt(Y,A)}});return{subscribe:T,adjustPageSize:s,next:u,previous:r,jumpToPage:m,jumpToIndex:V,findIndex:P,findPage:k,nextRow:X,previousRow:b,setActiveRowIndex:N}},Pt=(e=Ee)=>{const t=Je(e);return isNaN(t)||!t?Ee:t},Je=(e=0)=>{const t=Number(e);return isNaN(t)||!t?0:Math.abs(t)},xt=({width:e,height:t,screenWidth:n,breakpoint:l=1279})=>e&&t&&n>l?`position: absolute; right: ${e+20}px; top: -${t+14}px`:"";const $t=e=>({visibleItems:e[0]&512,initialItem:e[0]&512,activeRowIndex:e[0]&512,setActiveRowIndex:e[0]&128}),ct=e=>({visibleItems:e[9].items,initialItem:e[9].initialItem,activeRowIndex:e[9].activeRowIndex,setActiveRowIndex:e[7].setActiveRowIndex}),el=e=>({visibleItems:e[0]&512,initialItem:e[0]&512,activeRowIndex:e[0]&512,setActiveRowIndex:e[0]&128}),_t=e=>({visibleItems:e[9].items,initialItem:e[9].initialItem,activeRowIndex:e[9].activeRowIndex,setActiveRowIndex:e[7].setActiveRowIndex}),tl=e=>({visibleItems:e[0]&512,initialItem:e[0]&512,activeRowIndex:e[0]&512,setActiveRowIndex:e[0]&128}),mt=e=>({visibleItems:e[9].items,initialItem:e[9].initialItem,activeRowIndex:e[9].activeRowIndex,setActiveRowIndex:e[7].setActiveRowIndex}),ll=e=>({visibleItems:e[0]&512,initialItem:e[0]&512,activeRowIndex:e[0]&512,setActiveRowIndex:e[0]&128}),dt=e=>({visibleItems:e[9].items,initialItem:e[9].initialItem,activeRowIndex:e[9].activeRowIndex,setActiveRowIndex:e[7].setActiveRowIndex}),nl=e=>({visibleItems:e[0]&512,initialItem:e[0]&512,activeRowIndex:e[0]&512,setActiveRowIndex:e[0]&128}),bt=e=>({visibleItems:e[9].items,initialItem:e[9].initialItem,activeRowIndex:e[9].activeRowIndex,setActiveRowIndex:e[7].setActiveRowIndex}),al=e=>({visibleItems:e[0]&512,initialItem:e[0]&512,activeRowIndex:e[0]&512,setActiveRowIndex:e[0]&128}),gt=e=>({visibleItems:e[9].items,initialItem:e[9].initialItem,activeRowIndex:e[9].activeRowIndex,setActiveRowIndex:e[7].setActiveRowIndex}),sl=e=>({visibleItems:e[0]&512,initialItem:e[0]&512,activeRowIndex:e[0]&512,setActiveRowIndex:e[0]&128}),vt=e=>({visibleItems:e[9].items,initialItem:e[9].initialItem,activeRowIndex:e[9].activeRowIndex,setActiveRowIndex:e[7].setActiveRowIndex});function ht(e){let t,n;return t=new kt({props:{label:e[2],parameter:Le,value:e[8],options:je,position:"top"}}),{c(){Ie(t.$$.fragment)},l(l){we(t.$$.fragment,l)},m(l,a){Re(t,l,a),n=!0},p(l,a){const i={};a[0]&4&&(i.label=l[2]),a[0]&256&&(i.value=l[8]),t.$set(i)},i(l){n||(R(t.$$.fragment,l),n=!0)},o(l){S(t.$$.fragment,l),n=!1},d(l){ke(t,l)}}}function il(e){let t=(e[9].length?e[9].startingIndex+1:0)+"",n,l,a=e[9].endingIndex+1+"",i,o,s=e[9].length+"",u;return{c(){n=ee(t),l=ee("–"),i=ee(a),o=ee(" of "),u=ee(s)},l(r){n=te(r,t),l=te(r,"–"),i=te(r,a),o=te(r," of "),u=te(r,s)},m(r,m){O(r,n,m),O(r,l,m),O(r,i,m),O(r,o,m),O(r,u,m)},p(r,m){m[0]&512&&t!==(t=(r[9].length?r[9].startingIndex+1:0)+"")&&pe(n,t),m[0]&512&&a!==(a=r[9].endingIndex+1+"")&&pe(i,a),m[0]&512&&s!==(s=r[9].length+"")&&pe(u,s)},i:le,o:le,d(r){r&&p(n),r&&p(l),r&&p(i),r&&p(o),r&&p(u)}}}function ol(e){let t,n;return t=new Nt({props:{class:"block h-5 w-24"}}),{c(){Ie(t.$$.fragment)},l(l){we(t.$$.fragment,l)},m(l,a){Re(t,l,a),n=!0},p:le,i(l){n||(R(t.$$.fragment,l),n=!0)},o(l){S(t.$$.fragment,l),n=!1},d(l){ke(t,l)}}}function rl(e){let t,n,l,a,i,o,s,u,r,m,V,P,k,N,X;const b=[ol,il],T=[];function _(c,g){return c[1]?0:1}return s=_(e),u=T[s]=b[s](e),{c(){t=B("div"),n=B("button"),l=B("span"),i=Z(),o=B("p"),u.c(),r=Z(),m=B("button"),V=B("span"),this.h()},l(c){t=j(c,"DIV",{class:!0});var g=K(t);n=j(g,"BUTTON",{class:!0,"aria-label":!0});var A=K(n);l=j(A,"SPAN",{class:!0}),K(l).forEach(p),A.forEach(p),i=Q(g),o=j(g,"P",{});var Y=K(o);u.l(Y),Y.forEach(p),r=Q(g),m=j(g,"BUTTON",{class:!0,"aria-label":!0});var y=K(m);V=j(y,"SPAN",{class:!0}),K(V).forEach(p),y.forEach(p),g.forEach(p),this.h()},h(){h(l,"class","arrow arrow-left svelte-1780ds3"),fe(l,"arrow-left-disabled",!e[9].hasPrevious),h(n,"class","caret svelte-1780ds3"),n.disabled=a=!e[9].hasPrevious,h(n,"aria-label",e[3]),h(V,"class","arrow arrow-right svelte-1780ds3"),fe(V,"arrow-right-disabled",!e[9].hasNext),h(m,"class","caret svelte-1780ds3"),m.disabled=P=!e[9].hasNext,h(m,"aria-label",e[4]),h(t,"class","flex items-center justify-center gap-3")},m(c,g){O(c,t,g),w(t,n),w(n,l),w(t,i),w(t,o),T[s].m(o,null),w(t,r),w(t,m),w(m,V),k=!0,N||(X=[ce(n,"click",e[27]),ce(m,"click",e[28])],N=!0)},p(c,g){(!k||g[0]&512)&&fe(l,"arrow-left-disabled",!c[9].hasPrevious),(!k||g[0]&512&&a!==(a=!c[9].hasPrevious))&&(n.disabled=a),(!k||g[0]&8)&&h(n,"aria-label",c[3]);let A=s;s=_(c),s===A?T[s].p(c,g):(Ae(),S(T[A],1,1,()=>{T[A]=null}),Pe(),u=T[s],u?u.p(c,g):(u=T[s]=b[s](c),u.c()),R(u,1),u.m(o,null)),(!k||g[0]&512)&&fe(V,"arrow-right-disabled",!c[9].hasNext),(!k||g[0]&512&&P!==(P=!c[9].hasNext))&&(m.disabled=P),(!k||g[0]&16)&&h(m,"aria-label",c[4])},i(c){k||(R(u),k=!0)},o(c){S(u),k=!1},d(c){c&&p(t),T[s].d(),N=!1,wt(X)}}}function pt(e){let t,n;return t=new kt({props:{label:e[2],parameter:Le,value:e[8],options:je,position:"bottom"}}),{c(){Ie(t.$$.fragment)},l(l){we(t.$$.fragment,l)},m(l,a){Re(t,l,a),n=!0},p(l,a){const i={};a[0]&4&&(i.label=l[2]),a[0]&256&&(i.value=l[8]),t.$set(i)},i(l){n||(R(t.$$.fragment,l),n=!0)},o(l){S(t.$$.fragment,l),n=!1},d(l){ke(t,l)}}}function fl(e){let t=(e[9].length?e[9].startingIndex+1:0)+"",n,l,a=e[9].endingIndex+1+"",i,o,s=e[9].length+"",u;return{c(){n=ee(t),l=ee("–"),i=ee(a),o=ee(" of "),u=ee(s)},l(r){n=te(r,t),l=te(r,"–"),i=te(r,a),o=te(r," of "),u=te(r,s)},m(r,m){O(r,n,m),O(r,l,m),O(r,i,m),O(r,o,m),O(r,u,m)},p(r,m){m[0]&512&&t!==(t=(r[9].length?r[9].startingIndex+1:0)+"")&&pe(n,t),m[0]&512&&a!==(a=r[9].endingIndex+1+"")&&pe(i,a),m[0]&512&&s!==(s=r[9].length+"")&&pe(u,s)},i:le,o:le,d(r){r&&p(n),r&&p(l),r&&p(i),r&&p(o),r&&p(u)}}}function ul(e){let t,n;return t=new Nt({props:{class:"block h-5 w-24"}}),{c(){Ie(t.$$.fragment)},l(l){we(t.$$.fragment,l)},m(l,a){Re(t,l,a),n=!0},p:le,i(l){n||(R(t.$$.fragment,l),n=!0)},o(l){S(t.$$.fragment,l),n=!1},d(l){ke(t,l)}}}function cl(e){let t,n,l,a,i,o,s,u,r,m,V,P,k,N,X,b,T,_,c,g,A,Y,y,D,M,ue,F,x,$,me,de,be,I,Ne,Ke;nt(e[26]);const Se=e[25]["action-top-left"],U=se(Se,e,e[24],vt),v=e[25]["action-top-center"],C=se(v,e,e[24],gt);let E=!e[0]&&ht(e);const Fe=e[25]["pagination-top"],Te=se(Fe,e,e[24],bt),W=Te||rl(e),Ue=e[25]["action-top-right"],q=se(Ue,e,e[24],dt),Oe=e[25].default,H=se(Oe,e,e[24],mt),Ce=e[25]["action-bottom-left"],G=se(Ce,e,e[24],_t);let L=!e[0]&&pt(e);const Ye=[ul,fl],ne=[];function ye(f,d){return f[1]?0:1}D=ye(e),M=ne[D]=Ye[D](e);const We=e[25]["action-bottom-right"],J=se(We,e,e[24],ct);return{c(){t=B("div"),n=B("div"),l=B("div"),U&&U.c(),a=Z(),i=B("nav"),C&&C.c(),o=Z(),s=B("div"),E&&E.c(),u=Z(),W&&W.c(),r=Z(),q&&q.c(),P=Z(),H&&H.c(),k=Z(),N=B("nav"),G&&G.c(),X=Z(),b=B("div"),L&&L.c(),T=Z(),_=B("div"),c=B("button"),g=B("span"),Y=Z(),y=B("p"),M.c(),ue=Z(),F=B("button"),x=B("span"),me=Z(),J&&J.c(),this.h()},l(f){t=j(f,"DIV",{class:!0});var d=K(t);n=j(d,"DIV",{class:!0});var ae=K(n);l=j(ae,"DIV",{class:!0});var xe=K(l);U&&U.l(xe),xe.forEach(p),a=Q(ae),i=j(ae,"NAV",{style:!0,class:!0,"aria-label":!0});var ge=K(i);C&&C.l(ge),o=Q(ge),s=j(ge,"DIV",{class:!0});var ze=K(s);E&&E.l(ze),u=Q(ze),W&&W.l(ze),ze.forEach(p),r=Q(ge),q&&q.l(ge),ge.forEach(p),ae.forEach(p),P=Q(d),H&&H.l(d),k=Q(d),N=j(d,"NAV",{class:!0,"aria-label":!0});var Ve=K(N);G&&G.l(Ve),X=Q(Ve),b=j(Ve,"DIV",{class:!0});var ve=K(b);L&&L.l(ve),T=Q(ve),_=j(ve,"DIV",{class:!0});var he=K(_);c=j(he,"BUTTON",{class:!0,"aria-label":!0});var $e=K(c);g=j($e,"SPAN",{class:!0}),K(g).forEach(p),$e.forEach(p),Y=Q(he),y=j(he,"P",{});var et=K(y);M.l(et),et.forEach(p),ue=Q(he),F=j(he,"BUTTON",{class:!0,"aria-label":!0});var tt=K(F);x=j(tt,"SPAN",{class:!0}),K(x).forEach(p),tt.forEach(p),he.forEach(p),me=Q(ve),J&&J.l(ve),ve.forEach(p),Ve.forEach(p),d.forEach(p),this.h()},h(){h(l,"class","w-full"),h(s,"class","flex gap-4"),h(i,"style",e[10]),h(i,"class","flex flex-col items-end gap-4 md:flex-row min-w-fit"),h(i,"aria-label",m=e[14]["aria-label"]+" 1"),nt(()=>e[29].call(i)),h(n,"class","flex flex-col items-end lg:items-start gap-4 lg:flex-row justify-end"),h(g,"class","arrow arrow-left svelte-1780ds3"),fe(g,"arrow-left-disabled",!e[9].hasPrevious),h(c,"class","caret svelte-1780ds3"),c.disabled=A=!e[9].hasPrevious,h(c,"aria-label",e[3]),h(x,"class","arrow arrow-right svelte-1780ds3"),fe(x,"arrow-right-disabled",!e[9].hasNext),h(F,"class","caret svelte-1780ds3"),F.disabled=$=!e[9].hasNext,h(F,"aria-label",e[4]),h(_,"class","flex items-center justify-center gap-3"),h(b,"class","flex gap-4"),h(N,"class",de=at(`flex ${e[15]["action-bottom-left"]?"justify-between":"justify-end"}`)+" svelte-1780ds3"),h(N,"aria-label",be=e[14]["aria-label"]+" 2"),h(t,"class","pagination relative mb-8 flex flex-col gap-4")},m(f,d){O(f,t,d),w(t,n),w(n,l),U&&U.m(l,null),w(n,a),w(n,i),C&&C.m(i,null),w(i,o),w(i,s),E&&E.m(s,null),w(s,u),W&&W.m(s,null),w(i,r),q&&q.m(i,null),V=zt(i,e[29].bind(i)),w(t,P),H&&H.m(t,null),w(t,k),w(t,N),G&&G.m(N,null),w(N,X),w(N,b),L&&L.m(b,null),w(b,T),w(b,_),w(_,c),w(c,g),w(_,Y),w(_,y),ne[D].m(y,null),w(_,ue),w(_,F),w(F,x),w(b,me),J&&J.m(b,null),I=!0,Ne||(Ke=[ce(window,"resize",e[12]),ce(window,"keydown",e[13]),ce(window,"resize",e[26]),ce(c,"click",e[30]),ce(F,"click",e[31])],Ne=!0)},p(f,d){U&&U.p&&(!I||d[0]&16777856)&&ie(U,Se,f,f[24],I?re(Se,f[24],d,sl):oe(f[24]),vt),C&&C.p&&(!I||d[0]&16777856)&&ie(C,v,f,f[24],I?re(v,f[24],d,al):oe(f[24]),gt),f[0]?E&&(Ae(),S(E,1,1,()=>{E=null}),Pe()):E?(E.p(f,d),d[0]&1&&R(E,1)):(E=ht(f),E.c(),R(E,1),E.m(s,u)),Te?Te.p&&(!I||d[0]&16777856)&&ie(Te,Fe,f,f[24],I?re(Fe,f[24],d,nl):oe(f[24]),bt):W&&W.p&&(!I||d[0]&666)&&W.p(f,I?d:[-1,-1]),q&&q.p&&(!I||d[0]&16777856)&&ie(q,Ue,f,f[24],I?re(Ue,f[24],d,ll):oe(f[24]),dt),(!I||d[0]&1024)&&h(i,"style",f[10]),(!I||d[0]&16384&&m!==(m=f[14]["aria-label"]+" 1"))&&h(i,"aria-label",m),H&&H.p&&(!I||d[0]&16777856)&&ie(H,Oe,f,f[24],I?re(Oe,f[24],d,tl):oe(f[24]),mt),G&&G.p&&(!I||d[0]&16777856)&&ie(G,Ce,f,f[24],I?re(Ce,f[24],d,el):oe(f[24]),_t),f[0]?L&&(Ae(),S(L,1,1,()=>{L=null}),Pe()):L?(L.p(f,d),d[0]&1&&R(L,1)):(L=pt(f),L.c(),R(L,1),L.m(b,T)),(!I||d[0]&512)&&fe(g,"arrow-left-disabled",!f[9].hasPrevious),(!I||d[0]&512&&A!==(A=!f[9].hasPrevious))&&(c.disabled=A),(!I||d[0]&8)&&h(c,"aria-label",f[3]);let ae=D;D=ye(f),D===ae?ne[D].p(f,d):(Ae(),S(ne[ae],1,1,()=>{ne[ae]=null}),Pe(),M=ne[D],M?M.p(f,d):(M=ne[D]=Ye[D](f),M.c()),R(M,1),M.m(y,null)),(!I||d[0]&512)&&fe(x,"arrow-right-disabled",!f[9].hasNext),(!I||d[0]&512&&$!==($=!f[9].hasNext))&&(F.disabled=$),(!I||d[0]&16)&&h(F,"aria-label",f[4]),J&&J.p&&(!I||d[0]&16777856)&&ie(J,We,f,f[24],I?re(We,f[24],d,$t):oe(f[24]),ct),(!I||d[0]&32768&&de!==(de=at(`flex ${f[15]["action-bottom-left"]?"justify-between":"justify-end"}`)+" svelte-1780ds3"))&&h(N,"class",de),(!I||d[0]&16384&&be!==(be=f[14]["aria-label"]+" 2"))&&h(N,"aria-label",be)},i(f){I||(R(U,f),R(C,f),R(E),R(W,f),R(q,f),R(H,f),R(G,f),R(L),R(M),R(J,f),I=!0)},o(f){S(U,f),S(C,f),S(E),S(W,f),S(q,f),S(H,f),S(G,f),S(L),S(M),S(J,f),I=!1},d(f){f&&p(t),U&&U.d(f),C&&C.d(f),E&&E.d(),W&&W.d(f),q&&q.d(f),V(),H&&H.d(f),G&&G.d(f),L&&L.d(),ne[D].d(),J&&J.d(f),Ne=!1,wt(Ke)}}}function _l(e,t,n){let l,a,i,o;const s=["items","floatId","startingIndex","currentPageKey","itemsPerPage","updating","pageSizeSelectLabel","previousButtonLabel","nextButtonLabel"];let u=st(t,s),r,m=le,V=()=>(m(),m=Mt(a,v=>n(9,r=v)),a),P;It(e,Rt,v=>n(23,P=v)),e.$$.on_destroy.push(()=>m());let{$$slots:k={},$$scope:N}=t;const X=Vt(k);var b;let{items:T}=t,{floatId:_=void 0}=t,{startingIndex:c=0}=t,{currentPageKey:g="page"}=t,{itemsPerPage:A=null}=t,{updating:Y=!1}=t,{pageSizeSelectLabel:y}=t,{previousButtonLabel:D}=t,{nextButtonLabel:M}=t,ue,F,x;Dt(()=>{me(),Number(c)>0&&$()});const $=()=>{De({parameter:g,value:r.currentPage,url:P.url})},me=()=>{var v;_&&n(21,F=(v=document.getElementById(_))===null||v===void 0?void 0:v.clientWidth)};async function de(v){switch(v.code){case"ArrowRight":case"KeyL":r.hasNext&&(a.next(),$());break;case"ArrowLeft":case"KeyH":r.hasPrevious&&(a.previous(),$());break;case"ArrowUp":case"KeyK":a.previousRow();break;case"ArrowDown":case"KeyJ":a.nextRow();break}}function be(){n(5,ue=window.innerWidth)}const I=()=>{a.previous(),$()},Ne=()=>{a.next(),$()};function Ke(){x=this.clientHeight,n(6,x)}const Se=()=>a.previous(),U=()=>a.next();return e.$$set=v=>{t=_e(_e({},t),Be(v)),n(14,u=st(t,s)),"items"in v&&n(16,T=v.items),"floatId"in v&&n(17,_=v.floatId),"startingIndex"in v&&n(18,c=v.startingIndex),"currentPageKey"in v&&n(19,g=v.currentPageKey),"itemsPerPage"in v&&n(0,A=v.itemsPerPage),"updating"in v&&n(1,Y=v.updating),"pageSizeSelectLabel"in v&&n(2,y=v.pageSizeSelectLabel),"previousButtonLabel"in v&&n(3,D=v.previousButtonLabel),"nextButtonLabel"in v&&n(4,M=v.nextButtonLabel),"$$scope"in v&&n(24,N=v.$$scope)},e.$$.update=()=>{e.$$.dirty[0]&8388609&&n(8,l=A!==null?String(A):String(Pt(P.url.searchParams.get(Le))).toString()),e.$$.dirty[0]&8388864&&(parseInt(l,10)>parseInt(ft,10)?De({parameter:Le,value:ft,url:P.url}):je.includes(l)||De({parameter:Le,value:Ee,url:P.url})),e.$$.dirty[0]&327936&&V(n(7,a=yt(T,l,c))),e.$$.dirty[0]&9961984&&n(22,i=n(20,b=P.url.searchParams.get(g))!==null&&b!==void 0?b:r.currentPage),e.$$.dirty[0]&4194432&&a.jumpToPage(i),e.$$.dirty[0]&2097248&&n(10,o=xt({width:F,height:x,screenWidth:ue}))},[A,Y,y,D,M,ue,x,a,l,r,o,$,me,de,u,X,T,_,c,g,b,F,i,P,N,k,be,I,Ne,Ke,Se,U]}class pl extends Ze{constructor(t){super(),Qe(this,t,_l,cl,Xe,{items:16,floatId:17,startingIndex:18,currentPageKey:19,itemsPerPage:0,updating:1,pageSizeSelectLabel:2,previousButtonLabel:3,nextButtonLabel:4},null,[-1,-1])}}export{kt as F,ft as M,pl as P,yt as a,hl as c,Ee as d,je as o,Le as p,De as u}; diff --git a/ui/assets/local/_app/immutable/chunks/paths.898c1036.js b/ui/assets/local/_app/immutable/chunks/paths.898c1036.js new file mode 100644 index 0000000000..f8e0b3be07 --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/paths.898c1036.js @@ -0,0 +1 @@ +var s;const e=((s=globalThis.__sveltekit_96nlxy)==null?void 0:s.base)??"";var a;const t=((a=globalThis.__sveltekit_96nlxy)==null?void 0:a.assets)??e;export{t as a,e as b}; diff --git a/ui/assets/local/_app/immutable/chunks/paths.988b483c.js b/ui/assets/local/_app/immutable/chunks/paths.988b483c.js deleted file mode 100644 index f4ab391505..0000000000 --- a/ui/assets/local/_app/immutable/chunks/paths.988b483c.js +++ /dev/null @@ -1 +0,0 @@ -var s;const e=((s=globalThis.__sveltekit_xkulr1)==null?void 0:s.base)??"";var a;const t=((a=globalThis.__sveltekit_xkulr1)==null?void 0:a.assets)??e;export{t as a,e as b}; diff --git a/ui/assets/local/_app/immutable/chunks/pollers-service.956dcc71.js b/ui/assets/local/_app/immutable/chunks/pollers-service.6835f4ba.js similarity index 98% rename from ui/assets/local/_app/immutable/chunks/pollers-service.956dcc71.js rename to ui/assets/local/_app/immutable/chunks/pollers-service.6835f4ba.js index 48ce7295b9..e1b1958f2c 100644 --- a/ui/assets/local/_app/immutable/chunks/pollers-service.956dcc71.js +++ b/ui/assets/local/_app/immutable/chunks/pollers-service.6835f4ba.js @@ -1 +1 @@ -import{S as j,b as z,a as G,m as y,p as v,q as I,k as p,u as T,f as w,z as H,g as d,h as J,j as m,C as O,w as W,D as R,x as B,E as D,L as g,y as K,F as N,G as A,c as P,d as E,P as h,H as S,I as C,J as F}from"./index.efded970.js";import{I as Y}from"./icon.91a9bf44.js";import{t as b}from"./translate.230dcc19.js";import{r as Q,a as k}from"./route-for-api.1959b395.js";const U=r=>({}),L=r=>({}),q=r=>({}),V=r=>({});function M(r){let t,s,a,l;return s=new Y({props:{name:"merge"}}),{c(){t=y("span"),O(s.$$.fragment),a=W(r[2]),this.h()},l(i){t=v(i,"SPAN",{class:!0});var n=I(t);R(s.$$.fragment,n),a=B(n,r[2]),n.forEach(p),this.h()},h(){T(t,"class","version svelte-1b9fh62")},m(i,n){w(i,t,n),D(s,t,null),g(t,a),l=!0},p(i,n){(!l||n&4)&&K(a,i[2])},i(i){l||(m(s.$$.fragment,i),l=!0)},o(i){d(s.$$.fragment,i),l=!1},d(i){i&&p(t),N(s)}}}function X(r){let t,s,a,l,i,n;s=new Y({props:{name:"merge"}});const f=r[4]["overall-default-worker"],e=A(f,r,r[3],V),c=r[4]["default-worker"],u=A(c,r,r[3],L);return{c(){t=y("span"),O(s.$$.fragment),a=W(r[2]),l=P(),e&&e.c(),i=P(),u&&u.c(),this.h()},l(o){t=v(o,"SPAN",{class:!0});var _=I(t);R(s.$$.fragment,_),a=B(_,r[2]),l=E(_),e&&e.l(_),i=E(_),u&&u.l(_),_.forEach(p),this.h()},h(){T(t,"class","svelte-1b9fh62"),h(t,"active-version",r[1]),h(t,"version",!r[1])},m(o,_){w(o,t,_),D(s,t,null),g(t,a),g(t,l),e&&e.m(t,null),g(t,i),u&&u.m(t,null),n=!0},p(o,_){(!n||_&4)&&K(a,o[2]),e&&e.p&&(!n||_&8)&&S(e,f,o,o[3],n?F(f,o[3],_,q):C(o[3]),V),u&&u.p&&(!n||_&8)&&S(u,c,o,o[3],n?F(c,o[3],_,U):C(o[3]),L),(!n||_&2)&&h(t,"active-version",o[1]),(!n||_&2)&&h(t,"version",!o[1])},i(o){n||(m(s.$$.fragment,o),m(e,o),m(u,o),n=!0)},o(o){d(s.$$.fragment,o),d(e,o),d(u,o),n=!1},d(o){o&&p(t),N(s),e&&e.d(o),u&&u.d(o)}}}function Z(r){let t,s,a,l;const i=[X,M],n=[];function f(e,c){return e[0]&&e[2]?0:e[2]?1:-1}return~(s=f(r))&&(a=n[s]=i[s](r)),{c(){t=y("p"),a&&a.c(),this.h()},l(e){t=v(e,"P",{class:!0});var c=I(t);a&&a.l(c),c.forEach(p),this.h()},h(){T(t,"class","select-all flex gap-2 font-mono")},m(e,c){w(e,t,c),~s&&n[s].m(t,null),l=!0},p(e,[c]){let u=s;s=f(e),s===u?~s&&n[s].p(e,c):(a&&(H(),d(n[u],1,1,()=>{n[u]=null}),J()),~s?(a=n[s],a?a.p(e,c):(a=n[s]=i[s](e),a.c()),m(a,1),a.m(t,null)):a=null)},i(e){l||(m(a),l=!0)},o(e){d(a),l=!1},d(e){e&&p(t),~s&&n[s].d()}}}function $(r,t,s){let{$$slots:a={},$$scope:l}=t,{defaultVersion:i=!1}=t,{active:n=!1}=t,{buildId:f=""}=t;return r.$$set=e=>{"defaultVersion"in e&&s(0,i=e.defaultVersion),"active"in e&&s(1,n=e.active),"buildId"in e&&s(2,f=e.buildId),"$$scope"in e&&s(3,l=e.$$scope)},[i,n,f,l,a]}class ne extends j{constructor(t){super(),z(this,t,$,Z,G,{defaultVersion:0,active:1,buildId:2})}}async function re(r,t=fetch){const s=Q("task-queue",r),a=await k(s,{request:t,params:{taskQueueType:"1"}}),l=await k(s,{request:t,params:{taskQueueType:"2"}});l.pollers.forEach(e=>{e.taskQueueTypes=["ACTIVITY"]}),a.pollers.forEach(e=>{e.taskQueueTypes=["WORKFLOW"]});const i=e=>(c,u)=>{const o=c[u.identity]||{lastAccessTime:void 0,taskQueueTypes:[]};return c[u.identity]={lastAccessTime:!o.lastAccessTime||o.lastAccessTimea.pollers.some(c=>{if(e.identity===c.identity)return e.taskQueueTypes=[...c.taskQueueTypes,...e.taskQueueTypes],e})),l.pollers.reduce(i("ACTIVITY"),a.pollers.reduce(i("WORKFLOW"),{}));const n=l.pollers.length?l.pollers:a.pollers,f=l.pollers.length?l.taskQueueStatus:a.taskQueueStatus;return{pollers:n,taskQueueStatus:f}}async function le(r,t=fetch){const s=Q("task-queue.compatibility",r);return k(s,{request:t,onError:a=>console.error(a)})}async function oe(r,t=fetch){const{namespace:s,buildIds:a,taskQueue:l}=r,i=Q("worker-task-reachability",{namespace:s}),n=new URLSearchParams;if(a.length)for(const f of a)n.append("buildIds",f);else n.append("buildIds",""),n.append("taskQueues",l);return await k(i,{request:t,params:n,onError:f=>(console.error(f),{buildIdReachability:[]})})}function x(r){return!r||!r.length?b("workers","ready-to-be-retired"):r.length===1&&r.includes("CLOSED")?b("maybe"):b("no")}function ie(r,t,s){var n,f;const a=(n=r==null?void 0:r.buildIdReachability)==null?void 0:n.find(e=>e.buildId===s);if(!a)return"";const l=(f=a==null?void 0:a.taskQueueReachability)==null?void 0:f.find(e=>(e==null?void 0:e.taskQueue)===t);if(!l)return"";const i=l==null?void 0:l.reachability;return x(i)}export{ne as C,le as a,oe as b,ie as c,re as g}; +import{S as j,b as z,a as G,m as y,p as v,q as I,k as p,u as T,f as w,z as H,g as d,h as J,j as m,C as O,w as W,D as R,x as B,E as D,L as g,y as K,F as N,G as A,c as P,d as E,P as h,H as S,I as C,J as F}from"./index.efded970.js";import{I as Y}from"./icon.91a9bf44.js";import{t as b}from"./translate.230dcc19.js";import{r as Q,a as k}from"./route-for-api.28fc22fc.js";const U=r=>({}),L=r=>({}),q=r=>({}),V=r=>({});function M(r){let t,s,a,l;return s=new Y({props:{name:"merge"}}),{c(){t=y("span"),O(s.$$.fragment),a=W(r[2]),this.h()},l(i){t=v(i,"SPAN",{class:!0});var n=I(t);R(s.$$.fragment,n),a=B(n,r[2]),n.forEach(p),this.h()},h(){T(t,"class","version svelte-1b9fh62")},m(i,n){w(i,t,n),D(s,t,null),g(t,a),l=!0},p(i,n){(!l||n&4)&&K(a,i[2])},i(i){l||(m(s.$$.fragment,i),l=!0)},o(i){d(s.$$.fragment,i),l=!1},d(i){i&&p(t),N(s)}}}function X(r){let t,s,a,l,i,n;s=new Y({props:{name:"merge"}});const f=r[4]["overall-default-worker"],e=A(f,r,r[3],V),c=r[4]["default-worker"],u=A(c,r,r[3],L);return{c(){t=y("span"),O(s.$$.fragment),a=W(r[2]),l=P(),e&&e.c(),i=P(),u&&u.c(),this.h()},l(o){t=v(o,"SPAN",{class:!0});var _=I(t);R(s.$$.fragment,_),a=B(_,r[2]),l=E(_),e&&e.l(_),i=E(_),u&&u.l(_),_.forEach(p),this.h()},h(){T(t,"class","svelte-1b9fh62"),h(t,"active-version",r[1]),h(t,"version",!r[1])},m(o,_){w(o,t,_),D(s,t,null),g(t,a),g(t,l),e&&e.m(t,null),g(t,i),u&&u.m(t,null),n=!0},p(o,_){(!n||_&4)&&K(a,o[2]),e&&e.p&&(!n||_&8)&&S(e,f,o,o[3],n?F(f,o[3],_,q):C(o[3]),V),u&&u.p&&(!n||_&8)&&S(u,c,o,o[3],n?F(c,o[3],_,U):C(o[3]),L),(!n||_&2)&&h(t,"active-version",o[1]),(!n||_&2)&&h(t,"version",!o[1])},i(o){n||(m(s.$$.fragment,o),m(e,o),m(u,o),n=!0)},o(o){d(s.$$.fragment,o),d(e,o),d(u,o),n=!1},d(o){o&&p(t),N(s),e&&e.d(o),u&&u.d(o)}}}function Z(r){let t,s,a,l;const i=[X,M],n=[];function f(e,c){return e[0]&&e[2]?0:e[2]?1:-1}return~(s=f(r))&&(a=n[s]=i[s](r)),{c(){t=y("p"),a&&a.c(),this.h()},l(e){t=v(e,"P",{class:!0});var c=I(t);a&&a.l(c),c.forEach(p),this.h()},h(){T(t,"class","select-all flex gap-2 font-mono")},m(e,c){w(e,t,c),~s&&n[s].m(t,null),l=!0},p(e,[c]){let u=s;s=f(e),s===u?~s&&n[s].p(e,c):(a&&(H(),d(n[u],1,1,()=>{n[u]=null}),J()),~s?(a=n[s],a?a.p(e,c):(a=n[s]=i[s](e),a.c()),m(a,1),a.m(t,null)):a=null)},i(e){l||(m(a),l=!0)},o(e){d(a),l=!1},d(e){e&&p(t),~s&&n[s].d()}}}function $(r,t,s){let{$$slots:a={},$$scope:l}=t,{defaultVersion:i=!1}=t,{active:n=!1}=t,{buildId:f=""}=t;return r.$$set=e=>{"defaultVersion"in e&&s(0,i=e.defaultVersion),"active"in e&&s(1,n=e.active),"buildId"in e&&s(2,f=e.buildId),"$$scope"in e&&s(3,l=e.$$scope)},[i,n,f,l,a]}class ne extends j{constructor(t){super(),z(this,t,$,Z,G,{defaultVersion:0,active:1,buildId:2})}}async function re(r,t=fetch){const s=Q("task-queue",r),a=await k(s,{request:t,params:{taskQueueType:"1"}}),l=await k(s,{request:t,params:{taskQueueType:"2"}});l.pollers.forEach(e=>{e.taskQueueTypes=["ACTIVITY"]}),a.pollers.forEach(e=>{e.taskQueueTypes=["WORKFLOW"]});const i=e=>(c,u)=>{const o=c[u.identity]||{lastAccessTime:void 0,taskQueueTypes:[]};return c[u.identity]={lastAccessTime:!o.lastAccessTime||o.lastAccessTimea.pollers.some(c=>{if(e.identity===c.identity)return e.taskQueueTypes=[...c.taskQueueTypes,...e.taskQueueTypes],e})),l.pollers.reduce(i("ACTIVITY"),a.pollers.reduce(i("WORKFLOW"),{}));const n=l.pollers.length?l.pollers:a.pollers,f=l.pollers.length?l.taskQueueStatus:a.taskQueueStatus;return{pollers:n,taskQueueStatus:f}}async function le(r,t=fetch){const s=Q("task-queue.compatibility",r);return k(s,{request:t,onError:a=>console.error(a)})}async function oe(r,t=fetch){const{namespace:s,buildIds:a,taskQueue:l}=r,i=Q("worker-task-reachability",{namespace:s}),n=new URLSearchParams;if(a.length)for(const f of a)n.append("buildIds",f);else n.append("buildIds",""),n.append("taskQueues",l);return await k(i,{request:t,params:n,onError:f=>(console.error(f),{buildIdReachability:[]})})}function x(r){return!r||!r.length?b("workers","ready-to-be-retired"):r.length===1&&r.includes("CLOSED")?b("maybe"):b("no")}function ie(r,t,s){var n,f;const a=(n=r==null?void 0:r.buildIdReachability)==null?void 0:n.find(e=>e.buildId===s);if(!a)return"";const l=(f=a==null?void 0:a.taskQueueReachability)==null?void 0:f.find(e=>(e==null?void 0:e.taskQueue)===t);if(!l)return"";const i=l==null?void 0:l.reachability;return x(i)}export{ne as C,le as a,oe as b,ie as c,re as g}; diff --git a/ui/assets/local/_app/immutable/chunks/query-service.6ec5e063.js b/ui/assets/local/_app/immutable/chunks/query-service.cc6baea4.js similarity index 91% rename from ui/assets/local/_app/immutable/chunks/query-service.6ec5e063.js rename to ui/assets/local/_app/immutable/chunks/query-service.cc6baea4.js index d275315483..7356298d4a 100644 --- a/ui/assets/local/_app/immutable/chunks/query-service.6ec5e063.js +++ b/ui/assets/local/_app/immutable/chunks/query-service.cc6baea4.js @@ -1 +1 @@ -import{p as f}from"./data-encoder-config.ddfdfd14.js";import{c as m,a as l}from"./decode-payload.97e177eb.js";import{g as h,a as T}from"./get-codec.19c43d34.js";import{h as _}from"./has.f5323580.js";import{s as d,p as g}from"./parse-with-big-int.bccd89af.js";import{r as A,a as I,e as b}from"./route-for-api.1959b395.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=A("query",o);return await I(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=>{b(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,f),p={...e,codec:{...e==null?void 0:e.codec,endpoint:c,passAccessToken:y}},i=c?await m({attributes:o,namespace:t.namespace,settings:p,accessToken:r}):await l(o);_(i,"payloads")&&Array.isArray(i.payloads)&&(n=i.payloads[0])}return g(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{p as f}from"./data-encoder-config.ddfdfd14.js";import{c as m,a as l}from"./decode-payload.8b7fbb10.js";import{g as h,a as T}from"./get-codec.19c43d34.js";import{h as _}from"./has.f5323580.js";import{s as d,p as g}from"./parse-with-big-int.bccd89af.js";import{r as A,a as I,e as b}from"./route-for-api.28fc22fc.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=A("query",o);return await I(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=>{b(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,f),p={...e,codec:{...e==null?void 0:e.codec,endpoint:c,passAccessToken:y}},i=c?await m({attributes:o,namespace:t.namespace,settings:p,accessToken:r}):await l(o);_(i,"payloads")&&Array.isArray(i.payloads)&&(n=i.payloads[0])}return g(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.1959b395.js b/ui/assets/local/_app/immutable/chunks/route-for-api.28fc22fc.js similarity index 97% rename from ui/assets/local/_app/immutable/chunks/route-for-api.1959b395.js rename to ui/assets/local/_app/immutable/chunks/route-for-api.28fc22fc.js index 1e795b17b5..2e408e3bbb 100644 --- a/ui/assets/local/_app/immutable/chunks/route-for-api.1959b395.js +++ b/ui/assets/local/_app/immutable/chunks/route-for-api.28fc22fc.js @@ -1 +1 @@ -import{B as w,e as $,t as q}from"./route-for.f2f7cb1c.js";import{g}from"./auth-user.2a42bf1d.js";import{w as x}from"./index.c0615b9d.js";import{t as C}from"./toaster.fd2b66a2.js";import{h as b}from"./has.f5323580.js";import{i as R}from"./is-network-error.900fb374.js";import{i as F}from"./persist-store.c0203efc.js";import{ab as P}from"./index.efded970.js";import{b as O}from"./paths.988b483c.js";import{p as W}from"./stores.83aed68d.js";function S(c=w){const n="",o=!n.startsWith("http");let i="";return o?i=c?window.location.origin+n:"":i=n,i.endsWith("/")&&(i=i.slice(0,-1)),i}const N=x(null),_=(c,n=C,o=N,i=w)=>{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)&&i&&window.location.assign($(c==null?void 0:c.message)),e(c)&&i&&window.location.assign($(c==null?void 0:c.message)),R(c)&&(n.push({variant:"error",message:`${c.statusCode} ${c.statusText}`}),o.set(c)),c},cn=(c,n=w)=>{var i;const o=`${c==null?void 0:c.status} ${(i=c==null?void 0:c.body)==null?void 0:i.message}`;if(v(c)&&n){window.location.assign($(o));return}if(e(c)&&n){window.location.assign($(o));return}},v=c=>T(c,401),e=c=>T(c,403),T=(c,n)=>b(c,"statusCode")?c.statusCode===n:b(c,"status")?c.status===n:!1,on=c=>(c==null?void 0:c.message)!==void 0&&typeof(c==null?void 0:c.message)=="string",sn=async(c,n={})=>{const{params:o={},request:i=fetch,token:u,notifyOnError:l=!0,handleError:f=_,onError:k,isBrowser:I=w}=n;let{options:t}=n,h=new URLSearchParams;if(o!=null&&o.entries)h=o,u&&h.set("nextPageToken",u);else{const s=u?{next_page_token:u}:{};h=new URLSearchParams({...o,...s})}const U=q(c,h);try{t=z(t,I),t=await L(t,I);const s=await i(U,t),d=await s.json(),{status:E,statusText:A}=s;if(!s.ok)if(k&&F(k))k({status:E,statusText:A,body:d});else throw{statusCode:s.status,statusText:s.statusText,response:s,message:(d==null?void 0:d.message)??s.statusText};return d}catch(s){if(l)f(s);else throw s}},z=(c,n=w)=>{const o={credentials:"include",...c};return o.headers=H(c==null?void 0:c.headers,n),o},L=async(c,n=w)=>(g().accessToken?(c.headers=await y(c==null?void 0:c.headers,async()=>g().accessToken,n),c.headers=B(c==null?void 0:c.headers,g().idToken,n)):globalThis!=null&&globalThis.AccessToken&&(c.headers=await y(c==null?void 0:c.headers,globalThis.AccessToken,n)),c),y=async(c,n,o=w)=>{if(c||(c={}),!o)return c;try{const i=await n();i&&(c.Authorization=`Bearer ${i}`)}catch(i){console.error(i)}return c},B=(c={},n,o=w)=>(o&&n&&(c["Authorization-Extras"]=n),c),H=(c,n=w)=>{if(c||(c={}),!n)return c;const o="_csrf=",i="X-CSRF-TOKEN";try{let l=document.cookie.split(";").find(f=>f.includes(o));l&&!c[i]&&(l=l.trim().slice(o.length),c[i]=l)}catch(u){console.error(u)}return c},K=(c,n)=>c?c.replace("%namespace%",n):"",X=c=>{var l,f;let n="";const o=(l=P(W).data)==null?void 0:l.webUrl,i=o&&c,u=((f=globalThis==null?void 0:globalThis.AppConfig)==null?void 0:f.apiUrl)&&c;return i?n=o:u?(console.warn("Using fallback api url, web url not found"),n=K(globalThis.AppConfig.apiUrl,c)):n=S(),n.endsWith("/")&&(n=n.slice(0,-1)),n=`${n}${O}`,n},D=c=>(c.startsWith("/")&&(c=c.slice(1)),`/api/v1/${c}`),G=(c,n)=>`${X(n)}${c}`,J=c=>Object.keys(c??{}).reduce((n,o)=>(n[o]=encodeURIComponent(encodeURIComponent(c[o])),n),{namespace:"",workflowId:"",scheduleId:"",runId:"",queue:"",activityId:""});function M(c,n,o=!0){o&&(n=J(n));const i={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}`,"task-queue.compatibility":`/namespaces/${n==null?void 0:n.namespace}/task-queues/${n==null?void 0:n.queue}/compatibility`,user:"/me","worker-task-reachability":`/namespaces/${n==null?void 0:n.namespace}/worker-task-reachability`,"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 D(i[c])}function un(c,n,o=!0){const i=M(c,n,o);return G(i,n==null?void 0:n.namespace)}export{sn as a,X as b,cn as c,e as d,on as e,S as g,_ as h,v as i,N as n,M as p,un as r}; +import{B as w,e as $,t as q}from"./route-for.8244bd54.js";import{g}from"./auth-user.2a42bf1d.js";import{w as x}from"./index.c0615b9d.js";import{t as C}from"./toaster.fd2b66a2.js";import{h as b}from"./has.f5323580.js";import{i as R}from"./is-network-error.900fb374.js";import{i as F}from"./persist-store.c0203efc.js";import{ab as P}from"./index.efded970.js";import{b as O}from"./paths.898c1036.js";import{p as W}from"./stores.3002bd93.js";function S(c=w){const n="",o=!n.startsWith("http");let i="";return o?i=c?window.location.origin+n:"":i=n,i.endsWith("/")&&(i=i.slice(0,-1)),i}const N=x(null),_=(c,n=C,o=N,i=w)=>{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)&&i&&window.location.assign($(c==null?void 0:c.message)),e(c)&&i&&window.location.assign($(c==null?void 0:c.message)),R(c)&&(n.push({variant:"error",message:`${c.statusCode} ${c.statusText}`}),o.set(c)),c},cn=(c,n=w)=>{var i;const o=`${c==null?void 0:c.status} ${(i=c==null?void 0:c.body)==null?void 0:i.message}`;if(v(c)&&n){window.location.assign($(o));return}if(e(c)&&n){window.location.assign($(o));return}},v=c=>T(c,401),e=c=>T(c,403),T=(c,n)=>b(c,"statusCode")?c.statusCode===n:b(c,"status")?c.status===n:!1,on=c=>(c==null?void 0:c.message)!==void 0&&typeof(c==null?void 0:c.message)=="string",sn=async(c,n={})=>{const{params:o={},request:i=fetch,token:u,notifyOnError:l=!0,handleError:f=_,onError:k,isBrowser:I=w}=n;let{options:t}=n,h=new URLSearchParams;if(o!=null&&o.entries)h=o,u&&h.set("nextPageToken",u);else{const s=u?{next_page_token:u}:{};h=new URLSearchParams({...o,...s})}const U=q(c,h);try{t=z(t,I),t=await L(t,I);const s=await i(U,t),d=await s.json(),{status:E,statusText:A}=s;if(!s.ok)if(k&&F(k))k({status:E,statusText:A,body:d});else throw{statusCode:s.status,statusText:s.statusText,response:s,message:(d==null?void 0:d.message)??s.statusText};return d}catch(s){if(l)f(s);else throw s}},z=(c,n=w)=>{const o={credentials:"include",...c};return o.headers=H(c==null?void 0:c.headers,n),o},L=async(c,n=w)=>(g().accessToken?(c.headers=await y(c==null?void 0:c.headers,async()=>g().accessToken,n),c.headers=B(c==null?void 0:c.headers,g().idToken,n)):globalThis!=null&&globalThis.AccessToken&&(c.headers=await y(c==null?void 0:c.headers,globalThis.AccessToken,n)),c),y=async(c,n,o=w)=>{if(c||(c={}),!o)return c;try{const i=await n();i&&(c.Authorization=`Bearer ${i}`)}catch(i){console.error(i)}return c},B=(c={},n,o=w)=>(o&&n&&(c["Authorization-Extras"]=n),c),H=(c,n=w)=>{if(c||(c={}),!n)return c;const o="_csrf=",i="X-CSRF-TOKEN";try{let l=document.cookie.split(";").find(f=>f.includes(o));l&&!c[i]&&(l=l.trim().slice(o.length),c[i]=l)}catch(u){console.error(u)}return c},K=(c,n)=>c?c.replace("%namespace%",n):"",X=c=>{var l,f;let n="";const o=(l=P(W).data)==null?void 0:l.webUrl,i=o&&c,u=((f=globalThis==null?void 0:globalThis.AppConfig)==null?void 0:f.apiUrl)&&c;return i?n=o:u?(console.warn("Using fallback api url, web url not found"),n=K(globalThis.AppConfig.apiUrl,c)):n=S(),n.endsWith("/")&&(n=n.slice(0,-1)),n=`${n}${O}`,n},D=c=>(c.startsWith("/")&&(c=c.slice(1)),`/api/v1/${c}`),G=(c,n)=>`${X(n)}${c}`,J=c=>Object.keys(c??{}).reduce((n,o)=>(n[o]=encodeURIComponent(encodeURIComponent(c[o])),n),{namespace:"",workflowId:"",scheduleId:"",runId:"",queue:"",activityId:""});function M(c,n,o=!0){o&&(n=J(n));const i={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}`,"task-queue.compatibility":`/namespaces/${n==null?void 0:n.namespace}/task-queues/${n==null?void 0:n.queue}/compatibility`,user:"/me","worker-task-reachability":`/namespaces/${n==null?void 0:n.namespace}/worker-task-reachability`,"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 D(i[c])}function un(c,n,o=!0){const i=M(c,n,o);return G(i,n==null?void 0:n.namespace)}export{sn as a,X as b,cn as c,e as d,on as e,S as g,_ as h,v as i,N as n,M as p,un as r}; diff --git a/ui/assets/local/_app/immutable/chunks/route-for.f2f7cb1c.js b/ui/assets/local/_app/immutable/chunks/route-for.8244bd54.js similarity index 97% rename from ui/assets/local/_app/immutable/chunks/route-for.f2f7cb1c.js rename to ui/assets/local/_app/immutable/chunks/route-for.8244bd54.js index 4a7abe5e2e..752d7f3772 100644 --- a/ui/assets/local/_app/immutable/chunks/route-for.f2f7cb1c.js +++ b/ui/assets/local/_app/immutable/chunks/route-for.8244bd54.js @@ -1 +1 @@ -import{b as o}from"./paths.988b483c.js";const p=!0;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 h=(e,r)=>{const t=r instanceof URLSearchParams;return r&&!t&&(r=new URLSearchParams(r)),r?`${e}?${r}`:e},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.898c1036.js";const p=!0;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 h=(e,r)=>{const t=r instanceof URLSearchParams;return r&&!t&&(r=new URLSearchParams(r)),r?`${e}?${r}`:e},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.5f748594.js b/ui/assets/local/_app/immutable/chunks/schedule-form-view.f726ab1f.js similarity index 99% rename from ui/assets/local/_app/immutable/chunks/schedule-form-view.5f748594.js rename to ui/assets/local/_app/immutable/chunks/schedule-form-view.f726ab1f.js index a1c1f23172..a5144fa735 100644 --- a/ui/assets/local/_app/immutable/chunks/schedule-form-view.5f748594.js +++ b/ui/assets/local/_app/immutable/chunks/schedule-form-view.f726ab1f.js @@ -1 +1 @@ -import{S as Me,b as Se,a as We,G as Dt,N as et,m as W,p as V,q as T,k as _,O as ft,P as De,f as K,H as Mt,I as St,J as Wt,R as Ct,j as M,g as C,T as ot,ae as Ht,K as je,U as Pt,u as Q,L as h,n as pe,a6 as Je,w as Y,x,Q as Xe,af as Ye,c as H,d as P,A as j,Z as z,C as L,D as A,E as N,_ as G,F as U,z as tt,h as nt,aj as Lt,a5 as dt,y as At}from"./index.efded970.js";import{p as Vt}from"./stores.83aed68d.js";import{I as Ie}from"./input.f4d0de9f.js";import{c as Nt,T as Ut,a as Bt,b as Ke}from"./tab.492ff65b.js";import{t as q}from"./translate.230dcc19.js";import{m as ct,g as Ze,w as ht}from"./calendar.81d1e381.js";import{I as qt}from"./icon.91a9bf44.js";import{T as Qt,a as _t}from"./toggle-buttons.9fe9f320.js";import{S as Ft}from"./schedule-service.d49fba12.js";import{S as Kt,O as Ge}from"./option.ccff5056.js";import{A as Rt}from"./alert.0a6aa272.js";import{B as mt}from"./button.a4f5a3d4.js";import{L as jt}from"./link.cac19769.js";import{L as zt}from"./loading.32266c92.js";import{e as xe,l as Gt}from"./schedules.b362631b.js";import{o as Jt,c as Zt}from"./route-for.f2f7cb1c.js";function Xt(n){let e,t;const l=n[7].default,i=Dt(l,n,n[6],null);let r=[{id:n[0]},{"aria-labelledby":n[1]},{tabindex:"0"},{role:"tabpanel"},n[4]],o={};for(let s=0;st(5,o=m)),f(a),n.$$set=m=>{e=et(et({},e),Pt(m)),t(4,r=ot(e,i)),"id"in m&&t(0,a=m.id),"tabId"in m&&t(1,d=m.tabId),"$$scope"in m&&t(6,u=m.$$scope)},n.$$.update=()=>{n.$$.dirty&33&&t(2,l=o===a)},[a,d,l,c,r,o,u,s]}class Re extends Me{constructor(e){super(),Se(this,e,Yt,Xt,We,{id:0,tabId:1})}}function gt(n,e,t){const l=n.slice();return l[4]=e[t],l}function pt(n){let e,t=n[4]+"",l,i,r;function o(...s){return n[3](n[4],...s)}return{c(){e=W("button"),l=Y(t),this.h()},l(s){e=V(s,"BUTTON",{class:!0});var u=T(e);l=x(u,t),u.forEach(_),this.h()},h(){Q(e,"class","cell svelte-c8o885"),De(e,"active",n[0].includes(n[4]))},m(s,u){K(s,e,u),h(e,l),i||(r=Xe(e,"click",Ye(o)),i=!0)},p(s,u){n=s,u&3&&De(e,"active",n[0].includes(n[4]))},d(s){s&&_(e),i=!1,r()}}}function xt(n){let e,t,l=n[1],i=[];for(let r=0;ru+1);let{daysOfMonth:i}=e;const r=(s,u)=>{s.metaKey?i.includes(u)?i.filter(a=>a!==u):t(0,i=[...i,u]):t(0,i=[u])},o=(s,u)=>r(u,s);return n.$$set=s=>{"daysOfMonth"in s&&t(0,i=s.daysOfMonth)},[i,l,r,o]}class tn extends Me{constructor(e){super(),Se(this,e,en,xt,We,{daysOfMonth:0})}}function vt(n,e,t){const l=n.slice();return l[3]=e[t].label,l[4]=e[t].value,l}function bt(n){let e,t=n[3]+"",l,i,r,o;function s(...u){return n[2](n[4],...u)}return{c(){e=W("button"),l=Y(t),i=H(),this.h()},l(u){e=V(u,"BUTTON",{class:!0});var a=T(e);l=x(a,t),i=P(a),a.forEach(_),this.h()},h(){Q(e,"class","cell svelte-hc9i32"),De(e,"active",n[0].includes(n[4]))},m(u,a){K(u,e,a),h(e,l),h(e,i),r||(o=Xe(e,"click",Ye(s)),r=!0)},p(u,a){n=u,a&1&&De(e,"active",n[0].includes(n[4]))},d(u){u&&_(e),r=!1,o()}}}function nn(n){let e,t=ct,l=[];for(let i=0;i{o.metaKey&&s!=="*"?(l.includes("*")&&t(0,l=l.filter(u=>u!=="*")),l.includes(s)?t(0,l=l.filter(u=>u!==s)):t(0,l=[...l,s])):t(0,l=[s])},r=(o,s)=>i(s,o);return n.$$set=o=>{"months"in o&&t(0,l=o.months)},[l,i,r]}class sn extends Me{constructor(e){super(),Se(this,e,ln,nn,We,{months:0})}}function un(n){let e=q("ante-meridiem")+"",t;return{c(){t=Y(e)},l(l){t=x(l,e)},m(l,i){K(l,t,i)},p:pe,d(l){l&&_(t)}}}function an(n){let e=q("post-meridiem")+"",t;return{c(){t=Y(e)},l(l){t=x(l,e)},m(l,i){K(l,t,i)},p:pe,d(l){l&&_(t)}}}function rn(n){let e,t,l,i;return e=new _t({props:{active:n[2]==="AM",$$slots:{default:[un]},$$scope:{ctx:n}}}),e.$on("click",n[7]),l=new _t({props:{active:n[2]==="PM",$$slots:{default:[an]},$$scope:{ctx:n}}}),l.$on("click",n[8]),{c(){L(e.$$.fragment),t=H(),L(l.$$.fragment)},l(r){A(e.$$.fragment,r),t=P(r),A(l.$$.fragment,r)},m(r,o){N(e,r,o),K(r,t,o),N(l,r,o),i=!0},p(r,o){const s={};o&4&&(s.active=r[2]==="AM"),o&512&&(s.$$scope={dirty:o,ctx:r}),e.$set(s);const u={};o&4&&(u.active=r[2]==="PM"),o&512&&(u.$$scope={dirty:o,ctx:r}),l.$set(u)},i(r){i||(M(e.$$.fragment,r),M(l.$$.fragment,r),i=!0)},o(r){C(e.$$.fragment,r),C(l.$$.fragment,r),i=!1},d(r){U(e,r),r&&_(t),U(l,r)}}}function fn(n){let e,t,l=q("schedules","time-view-heading")+"",i,r,o,s=q("schedules","time-view-description")+"",u,a,d,f,c,m,g,b,y,w,I,B,J,k,$,D,se,X,F,ne,S,Z=q("based-on-time-preface")+"",ie,ue,ee;function ae(p){n[5](p)}let de={id:"hour-time",label:q("hours-abbreviated"),labelHidden:!0,placeholder:"00",suffix:q("hours-abbreviated"),maxLength:2,error:n[3](n[1],12)};n[1]!==void 0&&(de.value=n[1]),c=new Ie({props:de}),j.push(()=>z(c,"value",ae));function he(p){n[6](p)}let re={id:"minute-time",label:q("minutes-abbreviated"),labelHidden:!0,placeholder:"00",suffix:q("minutes-abbreviated"),maxLength:2,error:n[3](n[0],59)};return n[0]!==void 0&&(re.value=n[0]),B=new Ie({props:re}),j.push(()=>z(B,"value",he)),D=new Qt({props:{$$slots:{default:[rn]},$$scope:{ctx:n}}}),F=new qt({props:{name:"clock","aria-hidden":"true"}}),{c(){e=W("div"),t=W("h3"),i=Y(l),r=H(),o=W("p"),u=Y(s),a=H(),d=W("div"),f=W("div"),L(c.$$.fragment),g=H(),b=W("div"),y=Y(":"),w=H(),I=W("div"),L(B.$$.fragment),k=H(),$=W("div"),L(D.$$.fragment),se=H(),X=W("div"),L(F.$$.fragment),ne=H(),S=W("span"),ie=Y(Z),ue=Y(" Universal Standard Time (UTC)"),this.h()},l(p){e=V(p,"DIV",{class:!0});var te=T(e);t=V(te,"H3",{class:!0});var _e=T(t);i=x(_e,l),_e.forEach(_),r=P(te),o=V(te,"P",{});var fe=T(o);u=x(fe,s),fe.forEach(_),a=P(te),d=V(te,"DIV",{class:!0});var oe=T(d);f=V(oe,"DIV",{class:!0});var Oe=T(f);A(c.$$.fragment,Oe),Oe.forEach(_),g=P(oe),b=V(oe,"DIV",{});var Ee=T(b);y=x(Ee,":"),Ee.forEach(_),w=P(oe),I=V(oe,"DIV",{class:!0});var me=T(I);A(B.$$.fragment,me),me.forEach(_),k=P(oe),$=V(oe,"DIV",{class:!0});var ge=T($);A(D.$$.fragment,ge),ge.forEach(_),oe.forEach(_),se=P(te),X=V(te,"DIV",{class:!0});var ke=T(X);A(F.$$.fragment,ke),ne=P(ke),S=V(ke,"SPAN",{class:!0});var ye=T(S);ie=x(ye,Z),ue=x(ye," Universal Standard Time (UTC)"),ye.forEach(_),ke.forEach(_),te.forEach(_),this.h()},h(){Q(t,"class","text-lg font-medium"),Q(f,"class","w-24"),Q(I,"class","w-24"),Q($,"class","ml-2"),Q(d,"class","flex flex-row items-center gap-2"),Q(S,"class","text-gray-500 font-normal text-xs"),Q(X,"class","flex w-full flex-row items-center gap-2"),Q(e,"class","flex flex-col gap-4")},m(p,te){K(p,e,te),h(e,t),h(t,i),h(e,r),h(e,o),h(o,u),h(e,a),h(e,d),h(d,f),N(c,f,null),h(d,g),h(d,b),h(b,y),h(d,w),h(d,I),N(B,I,null),h(d,k),h(d,$),N(D,$,null),h(e,se),h(e,X),N(F,X,null),h(X,ne),h(X,S),h(S,ie),h(S,ue),ee=!0},p(p,[te]){const _e={};te&2&&(_e.error=p[3](p[1],12)),!m&&te&2&&(m=!0,_e.value=p[1],G(()=>m=!1)),c.$set(_e);const fe={};te&1&&(fe.error=p[3](p[0],59)),!J&&te&1&&(J=!0,fe.value=p[0],G(()=>J=!1)),B.$set(fe);const oe={};te&516&&(oe.$$scope={dirty:te,ctx:p}),D.$set(oe)},i(p){ee||(M(c.$$.fragment,p),M(B.$$.fragment,p),M(D.$$.fragment,p),M(F.$$.fragment,p),ee=!0)},o(p){C(c.$$.fragment,p),C(B.$$.fragment,p),C(D.$$.fragment,p),C(F.$$.fragment,p),ee=!1},d(p){p&&_(e),U(c),U(B),U(D),U(F)}}}function on(n,e,t){let{hour:l=""}=e,{minute:i=""}=e,r="",o="AM";const s=(c,m)=>c?isNaN(parseInt(c))||parseInt(c)>m:!1;function u(c){r=c,t(1,r)}function a(c){i=c,t(0,i)}const d=()=>t(2,o="AM"),f=()=>t(2,o="PM");return n.$$set=c=>{"hour"in c&&t(4,l=c.hour),"minute"in c&&t(0,i=c.minute)},n.$$.update=()=>{n.$$.dirty&6&&(r?r==="12"?t(4,l=o==="AM"?"00":"12"):o==="PM"?t(4,l=(parseInt(r)+12).toString()):t(4,l=r):t(4,l=""))},[i,r,o,s,l,u,a,d,f]}class Tt extends Me{constructor(e){super(),Se(this,e,on,fn,We,{hour:4,minute:0})}}function dn(n){let e,t,l=q("schedules","recurring-dates-heading")+"",i,r,o,s=q("schedules","recurring-dates-description")+"",u,a,d,f,c,m,g,b,y,w,I,B,J;function k(S){n[4](S)}let $={};n[0]!==void 0&&($.daysOfMonth=n[0]),f=new tn({props:$}),j.push(()=>z(f,"daysOfMonth",k));function D(S){n[5](S)}let se={};n[1]!==void 0&&(se.months=n[1]),g=new sn({props:se}),j.push(()=>z(g,"months",D));function X(S){n[6](S)}function F(S){n[7](S)}let ne={};return n[2]!==void 0&&(ne.hour=n[2]),n[3]!==void 0&&(ne.minute=n[3]),w=new Tt({props:ne}),j.push(()=>z(w,"hour",X)),j.push(()=>z(w,"minute",F)),{c(){e=W("div"),t=W("h3"),i=Y(l),r=H(),o=W("p"),u=Y(s),a=H(),d=W("div"),L(f.$$.fragment),m=H(),L(g.$$.fragment),y=H(),L(w.$$.fragment),this.h()},l(S){e=V(S,"DIV",{class:!0});var Z=T(e);t=V(Z,"H3",{class:!0});var ie=T(t);i=x(ie,l),ie.forEach(_),r=P(Z),o=V(Z,"P",{});var ue=T(o);u=x(ue,s),ue.forEach(_),a=P(Z),d=V(Z,"DIV",{class:!0});var ee=T(d);A(f.$$.fragment,ee),m=P(ee),A(g.$$.fragment,ee),ee.forEach(_),Z.forEach(_),y=P(S),A(w.$$.fragment,S),this.h()},h(){Q(t,"class","text-lg font-medium"),Q(d,"class","flex w-full flex-col gap-4"),Q(e,"class","my-2 flex flex-col gap-4")},m(S,Z){K(S,e,Z),h(e,t),h(t,i),h(e,r),h(e,o),h(o,u),h(e,a),h(e,d),N(f,d,null),h(d,m),N(g,d,null),K(S,y,Z),N(w,S,Z),J=!0},p(S,[Z]){const ie={};!c&&Z&1&&(c=!0,ie.daysOfMonth=S[0],G(()=>c=!1)),f.$set(ie);const ue={};!b&&Z&2&&(b=!0,ue.months=S[1],G(()=>b=!1)),g.$set(ue);const ee={};!I&&Z&4&&(I=!0,ee.hour=S[2],G(()=>I=!1)),!B&&Z&8&&(B=!0,ee.minute=S[3],G(()=>B=!1)),w.$set(ee)},i(S){J||(M(f.$$.fragment,S),M(g.$$.fragment,S),M(w.$$.fragment,S),J=!0)},o(S){C(f.$$.fragment,S),C(g.$$.fragment,S),C(w.$$.fragment,S),J=!1},d(S){S&&_(e),U(f),U(g),S&&_(y),U(w,S)}}}function cn(n,e,t){let{daysOfMonth:l}=e,{months:i}=e,{hour:r}=e,{minute:o}=e;function s(f){l=f,t(0,l)}function u(f){i=f,t(1,i)}function a(f){r=f,t(2,r)}function d(f){o=f,t(3,o)}return n.$$set=f=>{"daysOfMonth"in f&&t(0,l=f.daysOfMonth),"months"in f&&t(1,i=f.months),"hour"in f&&t(2,r=f.hour),"minute"in f&&t(3,o=f.minute)},[l,i,r,o,s,u,a,d]}class hn extends Me{constructor(e){super(),Se(this,e,cn,dn,We,{daysOfMonth:0,months:1,hour:2,minute:3})}}function $t(n,e,t){const l=n.slice();return l[4]=e[t].label,l[5]=e[t].value,l}function wt(n,e,t){const l=n.slice();return l[4]=e[t].label,l[5]=e[t].value,l}function kt(n){let e,t=n[4]+"",l,i,r;function o(...s){return n[2](n[5],...s)}return{c(){e=W("button"),l=Y(t),this.h()},l(s){e=V(s,"BUTTON",{class:!0});var u=T(e);l=x(u,t),u.forEach(_),this.h()},h(){Q(e,"class","cell svelte-xr91x7"),De(e,"active",n[0].includes(n[5]))},m(s,u){K(s,e,u),h(e,l),i||(r=Xe(e,"click",Ye(o)),i=!0)},p(s,u){n=s,u&1&&De(e,"active",n[0].includes(n[5]))},d(s){s&&_(e),i=!1,r()}}}function It(n){let e,t=n[4]+"",l,i,r;function o(...s){return n[3](n[5],...s)}return{c(){e=W("button"),l=Y(t),this.h()},l(s){e=V(s,"BUTTON",{class:!0});var u=T(e);l=x(u,t),u.forEach(_),this.h()},h(){Q(e,"class","cell svelte-xr91x7"),De(e,"active",n[0].includes(n[5]))},m(s,u){K(s,e,u),h(e,l),i||(r=Xe(e,"click",Ye(o)),i=!0)},p(s,u){n=s,u&1&&De(e,"active",n[0].includes(n[5]))},d(s){s&&_(e),i=!1,r()}}}function _n(n){let e,t,l,i,r=Ze,o=[];for(let a=0;a{s.metaKey?(Ze.find(a=>a.value===u)?t(0,l=[u]):l.find(a=>Ze.find(d=>d.value===a))&&t(0,l=[u]),l.includes(u)?l.filter(a=>a!==u):t(0,l=[...l,u])):t(0,l=[u])},r=(s,u)=>i(u,s),o=(s,u)=>i(u,s);return n.$$set=s=>{"daysOfWeek"in s&&t(0,l=s.daysOfWeek)},[l,i,r,o]}class gn extends Me{constructor(e){super(),Se(this,e,mn,_n,We,{daysOfWeek:0})}}function pn(n){let e,t,l=q("schedules","recurring-days-heading")+"",i,r,o,s=q("schedules","recurring-days-description")+"",u,a,d,f,c,m,g,b,y;function w($){n[3]($)}let I={};n[0]!==void 0&&(I.daysOfWeek=n[0]),d=new gn({props:I}),j.push(()=>z(d,"daysOfWeek",w));function B($){n[4]($)}function J($){n[5]($)}let k={};return n[1]!==void 0&&(k.hour=n[1]),n[2]!==void 0&&(k.minute=n[2]),m=new Tt({props:k}),j.push(()=>z(m,"hour",B)),j.push(()=>z(m,"minute",J)),{c(){e=W("div"),t=W("h3"),i=Y(l),r=H(),o=W("p"),u=Y(s),a=H(),L(d.$$.fragment),c=H(),L(m.$$.fragment),this.h()},l($){e=V($,"DIV",{class:!0});var D=T(e);t=V(D,"H3",{class:!0});var se=T(t);i=x(se,l),se.forEach(_),r=P(D),o=V(D,"P",{});var X=T(o);u=x(X,s),X.forEach(_),a=P(D),A(d.$$.fragment,D),D.forEach(_),c=P($),A(m.$$.fragment,$),this.h()},h(){Q(t,"class","text-lg font-medium"),Q(e,"class","my-2 flex flex-col gap-4")},m($,D){K($,e,D),h(e,t),h(t,i),h(e,r),h(e,o),h(o,u),h(e,a),N(d,e,null),K($,c,D),N(m,$,D),y=!0},p($,[D]){const se={};!f&&D&1&&(f=!0,se.daysOfWeek=$[0],G(()=>f=!1)),d.$set(se);const X={};!g&&D&2&&(g=!0,X.hour=$[1],G(()=>g=!1)),!b&&D&4&&(b=!0,X.minute=$[2],G(()=>b=!1)),m.$set(X)},i($){y||(M(d.$$.fragment,$),M(m.$$.fragment,$),y=!0)},o($){C(d.$$.fragment,$),C(m.$$.fragment,$),y=!1},d($){$&&_(e),U(d),$&&_(c),U(m,$)}}}function vn(n,e,t){let{daysOfWeek:l}=e,{hour:i}=e,{minute:r}=e;function o(a){l=a,t(0,l)}function s(a){i=a,t(1,i)}function u(a){r=a,t(2,r)}return n.$$set=a=>{"daysOfWeek"in a&&t(0,l=a.daysOfWeek),"hour"in a&&t(1,i=a.hour),"minute"in a&&t(2,r=a.minute)},[l,i,r,o,s,u]}class bn extends Me{constructor(e){super(),Se(this,e,vn,pn,We,{daysOfWeek:0,hour:1,minute:2})}}function $n(n){let e=q("days")+"",t;return{c(){t=Y(e)},l(l){t=x(l,e)},m(l,i){K(l,t,i)},p:pe,d(l){l&&_(t)}}}function wn(n){let e=q("hours-abbreviated")+"",t;return{c(){t=Y(e)},l(l){t=x(l,e)},m(l,i){K(l,t,i)},p:pe,d(l){l&&_(t)}}}function kn(n){let e=q("minutes-abbreviated")+"",t;return{c(){t=Y(e)},l(l){t=x(l,e)},m(l,i){K(l,t,i)},p:pe,d(l){l&&_(t)}}}function In(n){let e=q("seconds-abbreviated")+"",t;return{c(){t=Y(e)},l(l){t=x(l,e)},m(l,i){K(l,t,i)},p:pe,d(l){l&&_(t)}}}function On(n){let e,t,l,i,r,o,s,u;return e=new Ge({props:{value:"days",$$slots:{default:[$n]},$$scope:{ctx:n}}}),l=new Ge({props:{value:"hrs",$$slots:{default:[wn]},$$scope:{ctx:n}}}),r=new Ge({props:{value:"min",$$slots:{default:[kn]},$$scope:{ctx:n}}}),s=new Ge({props:{value:"sec",$$slots:{default:[In]},$$scope:{ctx:n}}}),{c(){L(e.$$.fragment),t=H(),L(l.$$.fragment),i=H(),L(r.$$.fragment),o=H(),L(s.$$.fragment)},l(a){A(e.$$.fragment,a),t=P(a),A(l.$$.fragment,a),i=P(a),A(r.$$.fragment,a),o=P(a),A(s.$$.fragment,a)},m(a,d){N(e,a,d),K(a,t,d),N(l,a,d),K(a,i,d),N(r,a,d),K(a,o,d),N(s,a,d),u=!0},p(a,d){const f={};d&16384&&(f.$$scope={dirty:d,ctx:a}),e.$set(f);const c={};d&16384&&(c.$$scope={dirty:d,ctx:a}),l.$set(c);const m={};d&16384&&(m.$$scope={dirty:d,ctx:a}),r.$set(m);const g={};d&16384&&(g.$$scope={dirty:d,ctx:a}),s.$set(g)},i(a){u||(M(e.$$.fragment,a),M(l.$$.fragment,a),M(r.$$.fragment,a),M(s.$$.fragment,a),u=!0)},o(a){C(e.$$.fragment,a),C(l.$$.fragment,a),C(r.$$.fragment,a),C(s.$$.fragment,a),u=!1},d(a){U(e,a),a&&_(t),U(l,a),a&&_(i),U(r,a),a&&_(o),U(s,a)}}}function yn(n){let e,t,l=q("schedules","interval-view-heading")+"",i,r,o,s=q("schedules","interval-view-description")+"",u,a,d,f,c,m,g,b,y,w,I,B,J,k,$,D,se,X,F,ne,S,Z,ie,ue,ee,ae,de,he,re,p=q("schedules","offset-heading")+"",te,_e,fe,oe=q("schedules","offset-description")+"",Oe,Ee,me,ge,ke,ye,$e,Pe,Ce;function Qe(E){n[8](E)}let Le={id:"days",label:q("days"),labelHidden:!0,placeholder:"00",suffix:q("days"),maxLength:3,error:n[7](n[0])};n[0]!==void 0&&(Le.value=n[0]),c=new Ie({props:Le}),j.push(()=>z(c,"value",Qe));function Fe(E){n[9](E)}let ve={id:"hour-interval",label:q("hours-abbreviated"),labelHidden:!0,placeholder:"00",suffix:q("hours-abbreviated"),maxLength:2,error:n[7](n[1])};n[1]!==void 0&&(ve.value=n[1]),B=new Ie({props:ve}),j.push(()=>z(B,"value",Fe));function v(E){n[10](E)}let R={id:"minute-interval",label:q("minutes-abbreviated"),labelHidden:!0,placeholder:"00",suffix:q("minutes-abbreviated"),maxLength:2,error:n[7](n[2])};n[2]!==void 0&&(R.value=n[2]),F=new Ie({props:R}),j.push(()=>z(F,"value",v));function Ve(E){n[11](E)}let O={id:"second",label:q("seconds-abbreviated"),labelHidden:!0,placeholder:"00",suffix:q("seconds-abbreviated"),maxLength:2,error:n[7](n[3])};n[3]!==void 0&&(O.value=n[3]),ae=new Ie({props:O}),j.push(()=>z(ae,"value",Ve));function be(E){n[12](E)}let we={id:"phase",label:q("schedules","offset-heading"),labelHidden:!0,placeholder:"00",error:n[7](n[4]),unroundRight:!0};n[5]!==void 0&&(we.value=n[5]),ge=new Ie({props:we}),j.push(()=>z(ge,"value",be));function He(E){n[13](E)}let Te={label:q("schedules","offset-unit"),labelHidden:!0,unroundLeft:!0,id:"phase-unit",$$slots:{default:[On]},$$scope:{ctx:n}};return n[6]!==void 0&&(Te.value=n[6]),$e=new Kt({props:Te}),j.push(()=>z($e,"value",He)),{c(){e=W("div"),t=W("h3"),i=Y(l),r=H(),o=W("p"),u=Y(s),a=H(),d=W("div"),f=W("div"),L(c.$$.fragment),g=H(),b=W("div"),y=Y(":"),w=H(),I=W("div"),L(B.$$.fragment),k=H(),$=W("div"),D=Y(":"),se=H(),X=W("div"),L(F.$$.fragment),S=H(),Z=W("div"),ie=Y(":"),ue=H(),ee=W("div"),L(ae.$$.fragment),he=H(),re=W("h3"),te=Y(p),_e=H(),fe=W("p"),Oe=Y(oe),Ee=H(),me=W("div"),L(ge.$$.fragment),ye=H(),L($e.$$.fragment),this.h()},l(E){e=V(E,"DIV",{class:!0});var le=T(e);t=V(le,"H3",{class:!0});var Ae=T(t);i=x(Ae,l),Ae.forEach(_),r=P(le),o=V(le,"P",{});var Ne=T(o);u=x(Ne,s),Ne.forEach(_),a=P(le),d=V(le,"DIV",{class:!0});var ce=T(d);f=V(ce,"DIV",{class:!0});var Ue=T(f);A(c.$$.fragment,Ue),Ue.forEach(_),g=P(ce),b=V(ce,"DIV",{});var Be=T(b);y=x(Be,":"),Be.forEach(_),w=P(ce),I=V(ce,"DIV",{class:!0});var qe=T(I);A(B.$$.fragment,qe),qe.forEach(_),k=P(ce),$=V(ce,"DIV",{});var lt=T($);D=x(lt,":"),lt.forEach(_),se=P(ce),X=V(ce,"DIV",{class:!0});var st=T(X);A(F.$$.fragment,st),st.forEach(_),S=P(ce),Z=V(ce,"DIV",{});var it=T(Z);ie=x(it,":"),it.forEach(_),ue=P(ce),ee=V(ce,"DIV",{class:!0});var ut=T(ee);A(ae.$$.fragment,ut),ut.forEach(_),ce.forEach(_),he=P(le),re=V(le,"H3",{class:!0});var at=T(re);te=x(at,p),at.forEach(_),_e=P(le),fe=V(le,"P",{});var rt=T(fe);Oe=x(rt,oe),rt.forEach(_),Ee=P(le),me=V(le,"DIV",{class:!0});var ze=T(me);A(ge.$$.fragment,ze),ye=P(ze),A($e.$$.fragment,ze),ze.forEach(_),le.forEach(_),this.h()},h(){Q(t,"class","text-lg font-medium"),Q(f,"class","w-24"),Q(I,"class","w-24"),Q(X,"class","w-24"),Q(ee,"class","w-24"),Q(d,"class","flex flex-row items-center gap-2"),Q(re,"class","mt-4 text-lg font-medium"),Q(me,"class","flex w-48 gap-0"),Q(e,"class","my-2 flex flex-col gap-4")},m(E,le){K(E,e,le),h(e,t),h(t,i),h(e,r),h(e,o),h(o,u),h(e,a),h(e,d),h(d,f),N(c,f,null),h(d,g),h(d,b),h(b,y),h(d,w),h(d,I),N(B,I,null),h(d,k),h(d,$),h($,D),h(d,se),h(d,X),N(F,X,null),h(d,S),h(d,Z),h(Z,ie),h(d,ue),h(d,ee),N(ae,ee,null),h(e,he),h(e,re),h(re,te),h(e,_e),h(e,fe),h(fe,Oe),h(e,Ee),h(e,me),N(ge,me,null),h(me,ye),N($e,me,null),Ce=!0},p(E,[le]){const Ae={};le&1&&(Ae.error=E[7](E[0])),!m&&le&1&&(m=!0,Ae.value=E[0],G(()=>m=!1)),c.$set(Ae);const Ne={};le&2&&(Ne.error=E[7](E[1])),!J&&le&2&&(J=!0,Ne.value=E[1],G(()=>J=!1)),B.$set(Ne);const ce={};le&4&&(ce.error=E[7](E[2])),!ne&&le&4&&(ne=!0,ce.value=E[2],G(()=>ne=!1)),F.$set(ce);const Ue={};le&8&&(Ue.error=E[7](E[3])),!de&&le&8&&(de=!0,Ue.value=E[3],G(()=>de=!1)),ae.$set(Ue);const Be={};le&16&&(Be.error=E[7](E[4])),!ke&&le&32&&(ke=!0,Be.value=E[5],G(()=>ke=!1)),ge.$set(Be);const qe={};le&16384&&(qe.$$scope={dirty:le,ctx:E}),!Pe&&le&64&&(Pe=!0,qe.value=E[6],G(()=>Pe=!1)),$e.$set(qe)},i(E){Ce||(M(c.$$.fragment,E),M(B.$$.fragment,E),M(F.$$.fragment,E),M(ae.$$.fragment,E),M(ge.$$.fragment,E),M($e.$$.fragment,E),Ce=!0)},o(E){C(c.$$.fragment,E),C(B.$$.fragment,E),C(F.$$.fragment,E),C(ae.$$.fragment,E),C(ge.$$.fragment,E),C($e.$$.fragment,E),Ce=!1},d(E){E&&_(e),U(c),U(B),U(F),U(ae),U(ge),U($e)}}}function En(n,e,t){let{days:l=""}=e,{hour:i=""}=e,{minute:r=""}=e,{second:o=""}=e,{phase:s=""}=e,u="",a="min";const d=w=>w?isNaN(parseInt(w)):!1;function f(w){l=w,t(0,l)}function c(w){i=w,t(1,i)}function m(w){r=w,t(2,r)}function g(w){o=w,t(3,o)}function b(w){u=w,t(5,u)}function y(w){a=w,t(6,a)}return n.$$set=w=>{"days"in w&&t(0,l=w.days),"hour"in w&&t(1,i=w.hour),"minute"in w&&t(2,r=w.minute),"second"in w&&t(3,o=w.second),"phase"in w&&t(4,s=w.phase)},n.$$.update=()=>{n.$$.dirty&96&&u&&(a==="days"?t(4,s=(parseInt(u)*60*60*24).toString()+"s"):a==="hrs"?t(4,s=(parseInt(u)*60*60).toString()+"s"):a==="min"?t(4,s=(parseInt(u)*60).toString()+"s"):a==="sec"&&t(4,s=parseInt(u).toString()+"s"))},[l,i,r,o,s,u,a,d,f,c,m,g,b,y]}class Dn extends Me{constructor(e){super(),Se(this,e,En,yn,We,{days:0,hour:1,minute:2,second:3,phase:4})}}const Mn=n=>({preset:n[0]&1024}),Ot=n=>({preset:n[10]});function yt(n){let e,t;return e=new Ke({props:{label:"Existing",id:"existing-tab",panelId:"existing-panel",onClick:n[12]}}),{c(){L(e.$$.fragment)},l(l){A(e.$$.fragment,l)},m(l,i){N(e,l,i),t=!0},p(l,i){const r={};i[0]&1024&&(r.onClick=l[12]),e.$set(r)},i(l){t||(M(e.$$.fragment,l),t=!0)},o(l){C(e.$$.fragment,l),t=!1},d(l){U(e,l)}}}function Sn(n){let e,t,l,i,r,o,s,u,a,d=n[9]&&yt(n);return t=new Ke({props:{label:"Interval",id:"interval-tab",panelId:"interval-panel",onClick:n[13]}}),i=new Ke({props:{label:"Days of the Week",id:"daily-tab",panelId:"daily-panel",onClick:n[14]}}),o=new Ke({props:{label:"Days of the Month",id:"monthly-tab",panelId:"monthly-panel",onClick:n[15]}}),u=new Ke({props:{label:"String",id:"string-tab",panelId:"string-panel",onClick:n[16]}}),{c(){d&&d.c(),e=H(),L(t.$$.fragment),l=H(),L(i.$$.fragment),r=H(),L(o.$$.fragment),s=H(),L(u.$$.fragment)},l(f){d&&d.l(f),e=P(f),A(t.$$.fragment,f),l=P(f),A(i.$$.fragment,f),r=P(f),A(o.$$.fragment,f),s=P(f),A(u.$$.fragment,f)},m(f,c){d&&d.m(f,c),K(f,e,c),N(t,f,c),K(f,l,c),N(i,f,c),K(f,r,c),N(o,f,c),K(f,s,c),N(u,f,c),a=!0},p(f,c){f[9]?d?(d.p(f,c),c[0]&512&&M(d,1)):(d=yt(f),d.c(),M(d,1),d.m(e.parentNode,e)):d&&(tt(),C(d,1,1,()=>{d=null}),nt());const m={};c[0]&1024&&(m.onClick=f[13]),t.$set(m);const g={};c[0]&1024&&(g.onClick=f[14]),i.$set(g);const b={};c[0]&1024&&(b.onClick=f[15]),o.$set(b);const y={};c[0]&1024&&(y.onClick=f[16]),u.$set(y)},i(f){a||(M(d),M(t.$$.fragment,f),M(i.$$.fragment,f),M(o.$$.fragment,f),M(u.$$.fragment,f),a=!0)},o(f){C(d),C(t.$$.fragment,f),C(i.$$.fragment,f),C(o.$$.fragment,f),C(u.$$.fragment,f),a=!1},d(f){d&&d.d(f),f&&_(e),U(t,f),f&&_(l),U(i,f),f&&_(r),U(o,f),f&&_(s),U(u,f)}}}function Et(n){let e,t;return e=new Re({props:{id:"existing-panel",tabId:"existing-tab",class:"w-full",$$slots:{default:[Wn]},$$scope:{ctx:n}}}),{c(){L(e.$$.fragment)},l(l){A(e.$$.fragment,l)},m(l,i){N(e,l,i),t=!0},p(l,i){const r={};i[0]&1073742336&&(r.$$scope={dirty:i,ctx:l}),e.$set(r)},i(l){t||(M(e.$$.fragment,l),t=!0)},o(l){C(e.$$.fragment,l),t=!1},d(l){U(e,l)}}}function Wn(n){var l,i,r,o,s,u;let e,t;return e=new Ft({props:{calendar:(r=(i=(l=n[9])==null?void 0:l.spec)==null?void 0:i.structuredCalendar)==null?void 0:r[0],interval:(u=(s=(o=n[9])==null?void 0:o.spec)==null?void 0:s.interval)==null?void 0:u[0]}}),{c(){L(e.$$.fragment)},l(a){A(e.$$.fragment,a)},m(a,d){N(e,a,d),t=!0},p(a,d){var c,m,g,b,y,w;const f={};d[0]&512&&(f.calendar=(g=(m=(c=a[9])==null?void 0:c.spec)==null?void 0:m.structuredCalendar)==null?void 0:g[0]),d[0]&512&&(f.interval=(w=(y=(b=a[9])==null?void 0:b.spec)==null?void 0:y.interval)==null?void 0:w[0]),e.$set(f)},i(a){t||(M(e.$$.fragment,a),t=!0)},o(a){C(e.$$.fragment,a),t=!1},d(a){U(e,a)}}}function Vn(n){let e,t,l,i,r,o,s;function u(g){n[17](g)}function a(g){n[18](g)}function d(g){n[19](g)}function f(g){n[20](g)}function c(g){n[21](g)}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 Dn({props:m}),j.push(()=>z(e,"days",u)),j.push(()=>z(e,"hour",a)),j.push(()=>z(e,"minute",d)),j.push(()=>z(e,"second",f)),j.push(()=>z(e,"phase",c)),{c(){L(e.$$.fragment)},l(g){A(e.$$.fragment,g)},m(g,b){N(e,g,b),s=!0},p(g,b){const y={};!t&&b[0]&8&&(t=!0,y.days=g[3],G(()=>t=!1)),!l&&b[0]&16&&(l=!0,y.hour=g[4],G(()=>l=!1)),!i&&b[0]&32&&(i=!0,y.minute=g[5],G(()=>i=!1)),!r&&b[0]&64&&(r=!0,y.second=g[6],G(()=>r=!1)),!o&&b[0]&128&&(o=!0,y.phase=g[7],G(()=>o=!1)),e.$set(y)},i(g){s||(M(e.$$.fragment,g),s=!0)},o(g){C(e.$$.fragment,g),s=!1},d(g){U(e,g)}}}function Tn(n){let e,t,l,i,r;function o(d){n[22](d)}function s(d){n[23](d)}function u(d){n[24](d)}let a={};return n[0]!==void 0&&(a.daysOfWeek=n[0]),n[4]!==void 0&&(a.hour=n[4]),n[5]!==void 0&&(a.minute=n[5]),e=new bn({props:a}),j.push(()=>z(e,"daysOfWeek",o)),j.push(()=>z(e,"hour",s)),j.push(()=>z(e,"minute",u)),{c(){L(e.$$.fragment)},l(d){A(e.$$.fragment,d)},m(d,f){N(e,d,f),r=!0},p(d,f){const c={};!t&&f[0]&1&&(t=!0,c.daysOfWeek=d[0],G(()=>t=!1)),!l&&f[0]&16&&(l=!0,c.hour=d[4],G(()=>l=!1)),!i&&f[0]&32&&(i=!0,c.minute=d[5],G(()=>i=!1)),e.$set(c)},i(d){r||(M(e.$$.fragment,d),r=!0)},o(d){C(e.$$.fragment,d),r=!1},d(d){U(e,d)}}}function Cn(n){let e,t,l,i,r,o;function s(c){n[25](c)}function u(c){n[26](c)}function a(c){n[27](c)}function d(c){n[28](c)}let f={};return n[1]!==void 0&&(f.daysOfMonth=n[1]),n[2]!==void 0&&(f.months=n[2]),n[4]!==void 0&&(f.hour=n[4]),n[5]!==void 0&&(f.minute=n[5]),e=new hn({props:f}),j.push(()=>z(e,"daysOfMonth",s)),j.push(()=>z(e,"months",u)),j.push(()=>z(e,"hour",a)),j.push(()=>z(e,"minute",d)),{c(){L(e.$$.fragment)},l(c){A(e.$$.fragment,c)},m(c,m){N(e,c,m),o=!0},p(c,m){const g={};!t&&m[0]&2&&(t=!0,g.daysOfMonth=c[1],G(()=>t=!1)),!l&&m[0]&4&&(l=!0,g.months=c[2],G(()=>l=!1)),!i&&m[0]&16&&(i=!0,g.hour=c[4],G(()=>i=!1)),!r&&m[0]&32&&(r=!0,g.minute=c[5],G(()=>r=!1)),e.$set(g)},i(c){o||(M(e.$$.fragment,c),o=!0)},o(c){C(e.$$.fragment,c),o=!1},d(c){U(e,c)}}}function Hn(n){let e,t,l=q("schedules","cron-view-title")+"",i,r,o,s=q("schedules","cron-view-description")+"",u,a,d,f,c;function m(b){n[29](b)}let g={label:q("schedules","cron-view-title"),labelHidden:!0,id:"cronString",placeholder:"* * * * *"};return n[8]!==void 0&&(g.value=n[8]),d=new Ie({props:g}),j.push(()=>z(d,"value",m)),{c(){e=W("div"),t=W("h3"),i=Y(l),r=H(),o=W("p"),u=Y(s),a=H(),L(d.$$.fragment),this.h()},l(b){e=V(b,"DIV",{class:!0});var y=T(e);t=V(y,"H3",{class:!0});var w=T(t);i=x(w,l),w.forEach(_),r=P(y),o=V(y,"P",{});var I=T(o);u=x(I,s),I.forEach(_),a=P(y),A(d.$$.fragment,y),y.forEach(_),this.h()},h(){Q(t,"class","text-lg font-medium"),Q(e,"class","my-2 flex w-full flex-col gap-4")},m(b,y){K(b,e,y),h(e,t),h(t,i),h(e,r),h(e,o),h(o,u),h(e,a),N(d,e,null),c=!0},p(b,y){const w={};!f&&y[0]&256&&(f=!0,w.value=b[8],G(()=>f=!1)),d.$set(w)},i(b){c||(M(d.$$.fragment,b),c=!0)},o(b){C(d.$$.fragment,b),c=!1},d(b){b&&_(e),U(d)}}}function Pn(n){let e,t=q("schedules","schedule-spec")+"",l,i,r,o,s,u,a,d,f,c,m,g,b,y,w;r=new Bt({props:{label:"Schedule Tabs",class:"flex flex-wrap gap-6",$$slots:{default:[Sn]},$$scope:{ctx:n}}});let I=n[9]&&Et(n);a=new Re({props:{id:"interval-panel",tabId:"interval-tab",$$slots:{default:[Vn]},$$scope:{ctx:n}}}),f=new Re({props:{id:"daily-panel",tabId:"daily-tab",$$slots:{default:[Tn]},$$scope:{ctx:n}}}),m=new Re({props:{id:"monthly-panel",tabId:"monthly-tab",$$slots:{default:[Cn]},$$scope:{ctx:n}}}),b=new Re({props:{id:"string-panel",tabId:"string-tab",$$slots:{default:[Hn]},$$scope:{ctx:n}}});const B=n[11].default,J=Dt(B,n,n[30],Ot);return{c(){e=W("h2"),l=Y(t),i=H(),L(r.$$.fragment),o=H(),s=W("div"),I&&I.c(),u=H(),L(a.$$.fragment),d=H(),L(f.$$.fragment),c=H(),L(m.$$.fragment),g=H(),L(b.$$.fragment),y=H(),J&&J.c(),this.h()},l(k){e=V(k,"H2",{class:!0});var $=T(e);l=x($,t),$.forEach(_),i=P(k),A(r.$$.fragment,k),o=P(k),s=V(k,"DIV",{class:!0});var D=T(s);I&&I.l(D),u=P(D),A(a.$$.fragment,D),d=P(D),A(f.$$.fragment,D),c=P(D),A(m.$$.fragment,D),g=P(D),A(b.$$.fragment,D),D.forEach(_),y=P(k),J&&J.l(k),this.h()},h(){Q(e,"class","mb-4 text-2xl"),Q(s,"class","mt-4 flex w-full flex-wrap gap-6")},m(k,$){K(k,e,$),h(e,l),K(k,i,$),N(r,k,$),K(k,o,$),K(k,s,$),I&&I.m(s,null),h(s,u),N(a,s,null),h(s,d),N(f,s,null),h(s,c),N(m,s,null),h(s,g),N(b,s,null),K(k,y,$),J&&J.m(k,$),w=!0},p(k,$){const D={};$[0]&1073743360&&(D.$$scope={dirty:$,ctx:k}),r.$set(D),k[9]?I?(I.p(k,$),$[0]&512&&M(I,1)):(I=Et(k),I.c(),M(I,1),I.m(s,u)):I&&(tt(),C(I,1,1,()=>{I=null}),nt());const se={};$[0]&1073742072&&(se.$$scope={dirty:$,ctx:k}),a.$set(se);const X={};$[0]&1073741873&&(X.$$scope={dirty:$,ctx:k}),f.$set(X);const F={};$[0]&1073741878&&(F.$$scope={dirty:$,ctx:k}),m.$set(F);const ne={};$[0]&1073742080&&(ne.$$scope={dirty:$,ctx:k}),b.$set(ne),J&&J.p&&(!w||$[0]&1073742848)&&Mt(J,B,k,k[30],w?Wt(B,k[30],$,Mn):St(k[30]),Ot)},i(k){w||(M(r.$$.fragment,k),M(I),M(a.$$.fragment,k),M(f.$$.fragment,k),M(m.$$.fragment,k),M(b.$$.fragment,k),M(J,k),w=!0)},o(k){C(r.$$.fragment,k),C(I),C(a.$$.fragment,k),C(f.$$.fragment,k),C(m.$$.fragment,k),C(b.$$.fragment,k),C(J,k),w=!1},d(k){k&&_(e),k&&_(i),U(r,k),k&&_(o),k&&_(s),I&&I.d(),U(a),U(f),U(m),U(b),k&&_(y),J&&J.d(k)}}}function Ln(n){let e,t;return e=new Ut({props:{class:"mt-8 w-full",$$slots:{default:[Pn]},$$scope:{ctx:n}}}),{c(){L(e.$$.fragment)},l(l){A(e.$$.fragment,l)},m(l,i){N(e,l,i),t=!0},p(l,i){const r={};i[0]&1073743871&&(r.$$scope={dirty:i,ctx:l}),e.$set(r)},i(l){t||(M(e.$$.fragment,l),t=!0)},o(l){C(e.$$.fragment,l),t=!1},d(l){U(e,l)}}}function An(n,e,t){let l;je(n,Vt,p=>t(31,l=p));let{$$slots:i={},$$scope:r}=e,s=l.params.schedule?"existing":"interval",{schedule:u=null}=e,{daysOfWeek:a}=e,{daysOfMonth:d}=e,{months:f}=e,{days:c}=e,{hour:m}=e,{minute:g}=e,{second:b}=e,{phase:y}=e,{cronString:w}=e;const I=()=>{t(0,a=[]),t(1,d=[]),t(2,f=[]),t(3,c=""),t(4,m=""),t(5,g=""),t(6,b=""),t(7,y=""),t(8,w="")},B=()=>t(10,s="existing"),J=()=>t(10,s="interval"),k=()=>t(10,s="week"),$=()=>t(10,s="month"),D=()=>t(10,s="string");function se(p){c=p,t(3,c)}function X(p){m=p,t(4,m)}function F(p){g=p,t(5,g)}function ne(p){b=p,t(6,b)}function S(p){y=p,t(7,y)}function Z(p){a=p,t(0,a)}function ie(p){m=p,t(4,m)}function ue(p){g=p,t(5,g)}function ee(p){d=p,t(1,d)}function ae(p){f=p,t(2,f)}function de(p){m=p,t(4,m)}function he(p){g=p,t(5,g)}function re(p){w=p,t(8,w)}return n.$$set=p=>{"schedule"in p&&t(9,u=p.schedule),"daysOfWeek"in p&&t(0,a=p.daysOfWeek),"daysOfMonth"in p&&t(1,d=p.daysOfMonth),"months"in p&&t(2,f=p.months),"days"in p&&t(3,c=p.days),"hour"in p&&t(4,m=p.hour),"minute"in p&&t(5,g=p.minute),"second"in p&&t(6,b=p.second),"phase"in p&&t(7,y=p.phase),"cronString"in p&&t(8,w=p.cronString),"$$scope"in p&&t(30,r=p.$$scope)},I(),[a,d,f,c,m,g,b,y,w,u,s,i,B,J,k,$,D,se,X,F,ne,S,Z,ie,ue,ee,ae,de,he,re,r]}class Nn extends Me{constructor(e){super(),Se(this,e,An,Ln,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 Un(n){let e,t,l,i,r,o,s,u,a,d,f,c,m,g,b,y,w,I,B,J,k,$,D,se,X,F,ne,S,Z,ie,ue,ee,ae,de,he,re;t=new jt({props:{href:n[22],icon:"chevron-left",$$slots:{default:[qn]},$$scope:{ctx:n}}}),u=new Rt({props:{intent:"error",title:"",hidden:!n[16],bold:!0,$$slots:{default:[Qn]},$$scope:{ctx:n}}});function p(v){n[28](v)}let te={id:"name",label:q("schedules","name-label"),error:n[13].name,maxLength:232,disabled:Boolean(n[18])};n[1]!==void 0&&(te.value=n[1]),f=new Ie({props:te}),j.push(()=>z(f,"value",p)),f.$on("input",n[25]),f.$on("blur",n[26]);function _e(v){n[29](v)}let fe={id:"workflowType",label:q("schedules","workflow-type-label"),error:n[13].workflowType};n[2]!==void 0&&(fe.value=n[2]),b=new Ie({props:fe}),j.push(()=>z(b,"value",_e)),b.$on("input",n[25]),b.$on("blur",n[26]);function oe(v){n[30](v)}let Oe={id:"workflowId",label:q("schedules","workflow-id-label"),error:n[13].workflowId};n[3]!==void 0&&(Oe.value=n[3]),B=new Ie({props:Oe}),j.push(()=>z(B,"value",oe)),B.$on("input",n[25]),B.$on("blur",n[26]);function Ee(v){n[31](v)}let me={id:"taskQueue",label:q("schedules","task-queue-label"),error:n[13].taskQueue};n[4]!==void 0&&(me.value=n[4]),D=new Ie({props:me}),j.push(()=>z(D,"value",Ee)),D.$on("input",n[25]),D.$on("blur",n[26]);function ge(v){n[33](v)}function ke(v){n[34](v)}function ye(v){n[35](v)}function $e(v){n[36](v)}function Pe(v){n[37](v)}function Ce(v){n[38](v)}function Qe(v){n[39](v)}function Le(v){n[40](v)}function Fe(v){n[41](v)}let ve={schedule:n[0],$$slots:{default:[Rn,({preset:v})=>({55:v}),({preset:v})=>[0,v?16777216:0]]},$$scope:{ctx:n}};return n[5]!==void 0&&(ve.daysOfWeek=n[5]),n[6]!==void 0&&(ve.daysOfMonth=n[6]),n[7]!==void 0&&(ve.months=n[7]),n[8]!==void 0&&(ve.days=n[8]),n[9]!==void 0&&(ve.hour=n[9]),n[10]!==void 0&&(ve.minute=n[10]),n[11]!==void 0&&(ve.second=n[11]),n[14]!==void 0&&(ve.phase=n[14]),n[12]!==void 0&&(ve.cronString=n[12]),F=new Nn({props:ve}),j.push(()=>z(F,"daysOfWeek",ge)),j.push(()=>z(F,"daysOfMonth",ke)),j.push(()=>z(F,"months",ye)),j.push(()=>z(F,"days",$e)),j.push(()=>z(F,"hour",Pe)),j.push(()=>z(F,"minute",Ce)),j.push(()=>z(F,"second",Qe)),j.push(()=>z(F,"phase",Le)),j.push(()=>z(F,"cronString",Fe)),{c(){e=W("header"),L(t.$$.fragment),l=H(),i=W("h1"),r=Y(n[19]),o=H(),s=W("form"),L(u.$$.fragment),a=H(),d=W("div"),L(f.$$.fragment),m=H(),g=W("div"),L(b.$$.fragment),w=H(),I=W("div"),L(B.$$.fragment),k=H(),$=W("div"),L(D.$$.fragment),X=H(),L(F.$$.fragment),this.h()},l(v){e=V(v,"HEADER",{class:!0});var R=T(e);A(t.$$.fragment,R),l=P(R),i=V(R,"H1",{class:!0});var Ve=T(i);r=x(Ve,n[19]),Ve.forEach(_),R.forEach(_),o=P(v),s=V(v,"FORM",{class:!0});var O=T(s);A(u.$$.fragment,O),a=P(O),d=V(O,"DIV",{class:!0});var be=T(d);A(f.$$.fragment,be),be.forEach(_),m=P(O),g=V(O,"DIV",{class:!0});var we=T(g);A(b.$$.fragment,we),we.forEach(_),w=P(O),I=V(O,"DIV",{class:!0});var He=T(I);A(B.$$.fragment,He),He.forEach(_),k=P(O),$=V(O,"DIV",{class:!0});var Te=T($);A(D.$$.fragment,Te),Te.forEach(_),X=P(O),A(F.$$.fragment,O),O.forEach(_),this.h()},h(){Q(i,"class","font-base text-2xl"),Q(e,"class","mb-12 flex flex-col gap-1"),Q(d,"class","w-full"),Q(g,"class","w-full"),Q(I,"class","w-full"),Q($,"class","w-full"),Q(s,"class","mb-4 flex w-full flex-col gap-4 md:w-2/3 xl:w-1/2")},m(v,R){K(v,e,R),N(t,e,null),h(e,l),h(e,i),h(i,r),K(v,o,R),K(v,s,R),N(u,s,null),h(s,a),h(s,d),N(f,d,null),h(s,m),h(s,g),N(b,g,null),h(s,w),h(s,I),N(B,I,null),h(s,k),h(s,$),N(D,$,null),h(s,X),N(F,s,null),re=!0},p(v,R){const Ve={};R[1]&33554432&&(Ve.$$scope={dirty:R,ctx:v}),t.$set(Ve);const O={};R[0]&65536&&(O.hidden=!v[16]),R[0]&65536|R[1]&33554432&&(O.$$scope={dirty:R,ctx:v}),u.$set(O);const be={};R[0]&8192&&(be.error=v[13].name),!c&&R[0]&2&&(c=!0,be.value=v[1],G(()=>c=!1)),f.$set(be);const we={};R[0]&8192&&(we.error=v[13].workflowType),!y&&R[0]&4&&(y=!0,we.value=v[2],G(()=>y=!1)),b.$set(we);const He={};R[0]&8192&&(He.error=v[13].workflowId),!J&&R[0]&8&&(J=!0,He.value=v[3],G(()=>J=!1)),B.$set(He);const Te={};R[0]&8192&&(Te.error=v[13].taskQueue),!se&&R[0]&16&&(se=!0,Te.value=v[4],G(()=>se=!1)),D.$set(Te);const E={};R[0]&1&&(E.schedule=v[0]),R[0]&32769|R[1]&50331648&&(E.$$scope={dirty:R,ctx:v}),!ne&&R[0]&32&&(ne=!0,E.daysOfWeek=v[5],G(()=>ne=!1)),!S&&R[0]&64&&(S=!0,E.daysOfMonth=v[6],G(()=>S=!1)),!Z&&R[0]&128&&(Z=!0,E.months=v[7],G(()=>Z=!1)),!ie&&R[0]&256&&(ie=!0,E.days=v[8],G(()=>ie=!1)),!ue&&R[0]&512&&(ue=!0,E.hour=v[9],G(()=>ue=!1)),!ee&&R[0]&1024&&(ee=!0,E.minute=v[10],G(()=>ee=!1)),!ae&&R[0]&2048&&(ae=!0,E.second=v[11],G(()=>ae=!1)),!de&&R[0]&16384&&(de=!0,E.phase=v[14],G(()=>de=!1)),!he&&R[0]&4096&&(he=!0,E.cronString=v[12],G(()=>he=!1)),F.$set(E)},i(v){re||(M(t.$$.fragment,v),M(u.$$.fragment,v),M(f.$$.fragment,v),M(b.$$.fragment,v),M(B.$$.fragment,v),M(D.$$.fragment,v),M(F.$$.fragment,v),re=!0)},o(v){C(t.$$.fragment,v),C(u.$$.fragment,v),C(f.$$.fragment,v),C(b.$$.fragment,v),C(B.$$.fragment,v),C(D.$$.fragment,v),C(F.$$.fragment,v),re=!1},d(v){v&&_(e),U(t),v&&_(o),v&&_(s),U(u),U(f),U(b),U(B),U(D),U(F)}}}function Bn(n){let e,t;return e=new zt({props:{title:n[20]}}),{c(){L(e.$$.fragment)},l(l){A(e.$$.fragment,l)},m(l,i){N(e,l,i),t=!0},p:pe,i(l){t||(M(e.$$.fragment,l),t=!0)},o(l){C(e.$$.fragment,l),t=!1},d(l){U(e,l)}}}function qn(n){let e;return{c(){e=Y(n[21])},l(t){e=x(t,n[21])},m(t,l){K(t,e,l)},p:pe,d(t){t&&_(e)}}}function Qn(n){let e;return{c(){e=Y(n[16])},l(t){e=x(t,n[16])},m(t,l){K(t,e,l)},p(t,l){l[0]&65536&&At(e,t[16])},d(t){t&&_(e)}}}function Fn(n){let e;return{c(){e=Y(n[23])},l(t){e=x(t,n[23])},m(t,l){K(t,e,l)},p:pe,d(t){t&&_(e)}}}function Kn(n){let e=q("cancel")+"",t;return{c(){t=Y(e)},l(l){t=x(l,e)},m(l,i){K(l,t,i)},p:pe,d(l){l&&_(t)}}}function Rn(n){let e,t,l,i,r;function o(){return n[32](n[55])}return t=new mt({props:{disabled:n[15](n[55]),$$slots:{default:[Fn]},$$scope:{ctx:n}}}),t.$on("click",o),i=new mt({props:{variant:"ghost",href:n[22],$$slots:{default:[Kn]},$$scope:{ctx:n}}}),{c(){e=W("div"),L(t.$$.fragment),l=H(),L(i.$$.fragment),this.h()},l(s){e=V(s,"DIV",{class:!0});var u=T(e);A(t.$$.fragment,u),l=P(u),A(i.$$.fragment,u),u.forEach(_),this.h()},h(){Q(e,"class","mt-8 flex items-center gap-2")},m(s,u){K(s,e,u),N(t,e,null),h(e,l),N(i,e,null),r=!0},p(s,u){n=s;const a={};u[0]&32768|u[1]&16777216&&(a.disabled=n[15](n[55])),u[1]&33554432&&(a.$$scope={dirty:u,ctx:n}),t.$set(a);const d={};u[1]&33554432&&(d.$$scope={dirty:u,ctx:n}),i.$set(d)},i(s){r||(M(t.$$.fragment,s),M(i.$$.fragment,s),r=!0)},o(s){C(t.$$.fragment,s),C(i.$$.fragment,s),r=!1},d(s){s&&_(e),U(t),U(i)}}}function jn(n){let e,t,l,i;const r=[Bn,Un],o=[];function s(u,a){return u[17]?0:1}return t=s(n),l=o[t]=r[t](n),{c(){e=W("div"),l.c(),this.h()},l(u){e=V(u,"DIV",{class:!0});var a=T(e);l.l(a),a.forEach(_),this.h()},h(){Q(e,"class","pb-20")},m(u,a){K(u,e,a),o[t].m(e,null),i=!0},p(u,a){let d=t;t=s(u),t===d?o[t].p(u,a):(tt(),C(o[d],1,1,()=>{o[d]=null}),nt(),l=o[t],l?l.p(u,a):(l=o[t]=r[t](u),l.c()),M(l,1),l.m(e,null))},i(u){i||(M(l),i=!0)},o(u){C(l),i=!1},d(u){u&&_(e),o[t].d()}}}function zn(n,e,t){let l,i,r,o;je(n,xe,O=>t(16,i=O)),je(n,Vt,O=>t(53,r=O)),je(n,Gt,O=>t(17,o=O));var s,u,a,d,f,c,m,g,b,y,w;let{schedule:I=null}=e,{onConfirm:B}=e,J=r.params.namespace,k=r.params.schedule,$=q("schedules",I?"edit":"create"),D=q("schedules",I?"editing":"creating"),se=q("schedules",I?"back-to-schedule":"back-to-schedules"),X=I?Jt({namespace:J,scheduleId:k}):Zt({namespace:J}),F=I?q("save"):q("schedules","create"),ne={},S=k??"",Z=(d=(a=(u=(s=I==null?void 0:I.action)===null||s===void 0?void 0:s.startWorkflow)===null||u===void 0?void 0:u.workflowType)===null||a===void 0?void 0:a.name)!==null&&d!==void 0?d:"",ie=(m=(c=(f=I==null?void 0:I.action)===null||f===void 0?void 0:f.startWorkflow)===null||c===void 0?void 0:c.workflowId)!==null&&m!==void 0?m:"",ue=(w=(y=(b=(g=I==null?void 0:I.action)===null||g===void 0?void 0:g.startWorkflow)===null||b===void 0?void 0:b.taskQueue)===null||y===void 0?void 0:y.name)!==null&&w!==void 0?w:"",ee=[],ae=[],de=[],he="",re="",p="",te="",_e="",fe="";const oe=(O,be)=>{B(O,{name:S,workflowType:Z,workflowId:ie,taskQueue:ue,hour:re,minute:p,second:te,phase:_e,cronString:fe,daysOfWeek:ee,daysOfMonth:ae,days:he,months:de},be)},Oe=O=>{const{id:be}=O.target;t(13,ne[be]=!1,ne),i&&dt(xe,i="",i)},Ee=O=>{const{value:be,id:we}=O.target;be.trim()?t(13,ne[we]=!1,ne):t(13,ne[we]=!0,ne)};Lt(()=>dt(xe,i="",i));function me(O){S=O,t(1,S)}function ge(O){Z=O,t(2,Z)}function ke(O){ie=O,t(3,ie)}function ye(O){ue=O,t(4,ue)}const $e=O=>oe(O,I);function Pe(O){ee=O,t(5,ee)}function Ce(O){ae=O,t(6,ae)}function Qe(O){de=O,t(7,de)}function Le(O){he=O,t(8,he)}function Fe(O){re=O,t(9,re)}function ve(O){p=O,t(10,p)}function v(O){te=O,t(11,te)}function R(O){_e=O,t(14,_e)}function Ve(O){fe=O,t(12,fe)}return n.$$set=O=>{"schedule"in O&&t(0,I=O.schedule),"onConfirm"in O&&t(27,B=O.onConfirm)},n.$$.update=()=>{n.$$.dirty[0]&8190&&t(15,l=O=>!S||!Z||!ie||!ue?!0:O==="interval"?!he&&!re&&!p&&!te:O==="week"?!ee.length:O==="month"?!ae.length||!de.length:O==="string"?!fe:!1)},[I,S,Z,ie,ue,ee,ae,de,he,re,p,te,fe,ne,_e,l,i,o,k,$,D,se,X,F,oe,Oe,Ee,B,me,ge,ke,ye,$e,Pe,Ce,Qe,Le,Fe,ve,v,R,Ve]}class ol extends Me{constructor(e){super(),Se(this,e,zn,jn,We,{schedule:0,onConfirm:27},null,[-1,-1])}}export{ol as S}; +import{S as Me,b as Se,a as We,G as Dt,N as et,m as W,p as V,q as T,k as _,O as ft,P as De,f as K,H as Mt,I as St,J as Wt,R as Ct,j as M,g as C,T as ot,ae as Ht,K as je,U as Pt,u as Q,L as h,n as pe,a6 as Je,w as Y,x,Q as Xe,af as Ye,c as H,d as P,A as j,Z as z,C as L,D as A,E as N,_ as G,F as U,z as tt,h as nt,aj as Lt,a5 as dt,y as At}from"./index.efded970.js";import{p as Vt}from"./stores.3002bd93.js";import{I as Ie}from"./input.f4d0de9f.js";import{c as Nt,T as Ut,a as Bt,b as Ke}from"./tab.492ff65b.js";import{t as q}from"./translate.230dcc19.js";import{m as ct,g as Ze,w as ht}from"./calendar.81d1e381.js";import{I as qt}from"./icon.91a9bf44.js";import{T as Qt,a as _t}from"./toggle-buttons.59bb67f3.js";import{S as Ft}from"./schedule-service.ccc6562c.js";import{S as Kt,O as Ge}from"./option.ccff5056.js";import{A as Rt}from"./alert.0a6aa272.js";import{B as mt}from"./button.a4f5a3d4.js";import{L as jt}from"./link.cac19769.js";import{L as zt}from"./loading.32266c92.js";import{e as xe,l as Gt}from"./schedules.80c3a2f9.js";import{o as Jt,c as Zt}from"./route-for.8244bd54.js";function Xt(n){let e,t;const l=n[7].default,i=Dt(l,n,n[6],null);let r=[{id:n[0]},{"aria-labelledby":n[1]},{tabindex:"0"},{role:"tabpanel"},n[4]],o={};for(let s=0;st(5,o=m)),f(a),n.$$set=m=>{e=et(et({},e),Pt(m)),t(4,r=ot(e,i)),"id"in m&&t(0,a=m.id),"tabId"in m&&t(1,d=m.tabId),"$$scope"in m&&t(6,u=m.$$scope)},n.$$.update=()=>{n.$$.dirty&33&&t(2,l=o===a)},[a,d,l,c,r,o,u,s]}class Re extends Me{constructor(e){super(),Se(this,e,Yt,Xt,We,{id:0,tabId:1})}}function gt(n,e,t){const l=n.slice();return l[4]=e[t],l}function pt(n){let e,t=n[4]+"",l,i,r;function o(...s){return n[3](n[4],...s)}return{c(){e=W("button"),l=Y(t),this.h()},l(s){e=V(s,"BUTTON",{class:!0});var u=T(e);l=x(u,t),u.forEach(_),this.h()},h(){Q(e,"class","cell svelte-c8o885"),De(e,"active",n[0].includes(n[4]))},m(s,u){K(s,e,u),h(e,l),i||(r=Xe(e,"click",Ye(o)),i=!0)},p(s,u){n=s,u&3&&De(e,"active",n[0].includes(n[4]))},d(s){s&&_(e),i=!1,r()}}}function xt(n){let e,t,l=n[1],i=[];for(let r=0;ru+1);let{daysOfMonth:i}=e;const r=(s,u)=>{s.metaKey?i.includes(u)?i.filter(a=>a!==u):t(0,i=[...i,u]):t(0,i=[u])},o=(s,u)=>r(u,s);return n.$$set=s=>{"daysOfMonth"in s&&t(0,i=s.daysOfMonth)},[i,l,r,o]}class tn extends Me{constructor(e){super(),Se(this,e,en,xt,We,{daysOfMonth:0})}}function vt(n,e,t){const l=n.slice();return l[3]=e[t].label,l[4]=e[t].value,l}function bt(n){let e,t=n[3]+"",l,i,r,o;function s(...u){return n[2](n[4],...u)}return{c(){e=W("button"),l=Y(t),i=H(),this.h()},l(u){e=V(u,"BUTTON",{class:!0});var a=T(e);l=x(a,t),i=P(a),a.forEach(_),this.h()},h(){Q(e,"class","cell svelte-hc9i32"),De(e,"active",n[0].includes(n[4]))},m(u,a){K(u,e,a),h(e,l),h(e,i),r||(o=Xe(e,"click",Ye(s)),r=!0)},p(u,a){n=u,a&1&&De(e,"active",n[0].includes(n[4]))},d(u){u&&_(e),r=!1,o()}}}function nn(n){let e,t=ct,l=[];for(let i=0;i{o.metaKey&&s!=="*"?(l.includes("*")&&t(0,l=l.filter(u=>u!=="*")),l.includes(s)?t(0,l=l.filter(u=>u!==s)):t(0,l=[...l,s])):t(0,l=[s])},r=(o,s)=>i(s,o);return n.$$set=o=>{"months"in o&&t(0,l=o.months)},[l,i,r]}class sn extends Me{constructor(e){super(),Se(this,e,ln,nn,We,{months:0})}}function un(n){let e=q("ante-meridiem")+"",t;return{c(){t=Y(e)},l(l){t=x(l,e)},m(l,i){K(l,t,i)},p:pe,d(l){l&&_(t)}}}function an(n){let e=q("post-meridiem")+"",t;return{c(){t=Y(e)},l(l){t=x(l,e)},m(l,i){K(l,t,i)},p:pe,d(l){l&&_(t)}}}function rn(n){let e,t,l,i;return e=new _t({props:{active:n[2]==="AM",$$slots:{default:[un]},$$scope:{ctx:n}}}),e.$on("click",n[7]),l=new _t({props:{active:n[2]==="PM",$$slots:{default:[an]},$$scope:{ctx:n}}}),l.$on("click",n[8]),{c(){L(e.$$.fragment),t=H(),L(l.$$.fragment)},l(r){A(e.$$.fragment,r),t=P(r),A(l.$$.fragment,r)},m(r,o){N(e,r,o),K(r,t,o),N(l,r,o),i=!0},p(r,o){const s={};o&4&&(s.active=r[2]==="AM"),o&512&&(s.$$scope={dirty:o,ctx:r}),e.$set(s);const u={};o&4&&(u.active=r[2]==="PM"),o&512&&(u.$$scope={dirty:o,ctx:r}),l.$set(u)},i(r){i||(M(e.$$.fragment,r),M(l.$$.fragment,r),i=!0)},o(r){C(e.$$.fragment,r),C(l.$$.fragment,r),i=!1},d(r){U(e,r),r&&_(t),U(l,r)}}}function fn(n){let e,t,l=q("schedules","time-view-heading")+"",i,r,o,s=q("schedules","time-view-description")+"",u,a,d,f,c,m,g,b,y,w,I,B,J,k,$,D,se,X,F,ne,S,Z=q("based-on-time-preface")+"",ie,ue,ee;function ae(p){n[5](p)}let de={id:"hour-time",label:q("hours-abbreviated"),labelHidden:!0,placeholder:"00",suffix:q("hours-abbreviated"),maxLength:2,error:n[3](n[1],12)};n[1]!==void 0&&(de.value=n[1]),c=new Ie({props:de}),j.push(()=>z(c,"value",ae));function he(p){n[6](p)}let re={id:"minute-time",label:q("minutes-abbreviated"),labelHidden:!0,placeholder:"00",suffix:q("minutes-abbreviated"),maxLength:2,error:n[3](n[0],59)};return n[0]!==void 0&&(re.value=n[0]),B=new Ie({props:re}),j.push(()=>z(B,"value",he)),D=new Qt({props:{$$slots:{default:[rn]},$$scope:{ctx:n}}}),F=new qt({props:{name:"clock","aria-hidden":"true"}}),{c(){e=W("div"),t=W("h3"),i=Y(l),r=H(),o=W("p"),u=Y(s),a=H(),d=W("div"),f=W("div"),L(c.$$.fragment),g=H(),b=W("div"),y=Y(":"),w=H(),I=W("div"),L(B.$$.fragment),k=H(),$=W("div"),L(D.$$.fragment),se=H(),X=W("div"),L(F.$$.fragment),ne=H(),S=W("span"),ie=Y(Z),ue=Y(" Universal Standard Time (UTC)"),this.h()},l(p){e=V(p,"DIV",{class:!0});var te=T(e);t=V(te,"H3",{class:!0});var _e=T(t);i=x(_e,l),_e.forEach(_),r=P(te),o=V(te,"P",{});var fe=T(o);u=x(fe,s),fe.forEach(_),a=P(te),d=V(te,"DIV",{class:!0});var oe=T(d);f=V(oe,"DIV",{class:!0});var Oe=T(f);A(c.$$.fragment,Oe),Oe.forEach(_),g=P(oe),b=V(oe,"DIV",{});var Ee=T(b);y=x(Ee,":"),Ee.forEach(_),w=P(oe),I=V(oe,"DIV",{class:!0});var me=T(I);A(B.$$.fragment,me),me.forEach(_),k=P(oe),$=V(oe,"DIV",{class:!0});var ge=T($);A(D.$$.fragment,ge),ge.forEach(_),oe.forEach(_),se=P(te),X=V(te,"DIV",{class:!0});var ke=T(X);A(F.$$.fragment,ke),ne=P(ke),S=V(ke,"SPAN",{class:!0});var ye=T(S);ie=x(ye,Z),ue=x(ye," Universal Standard Time (UTC)"),ye.forEach(_),ke.forEach(_),te.forEach(_),this.h()},h(){Q(t,"class","text-lg font-medium"),Q(f,"class","w-24"),Q(I,"class","w-24"),Q($,"class","ml-2"),Q(d,"class","flex flex-row items-center gap-2"),Q(S,"class","text-gray-500 font-normal text-xs"),Q(X,"class","flex w-full flex-row items-center gap-2"),Q(e,"class","flex flex-col gap-4")},m(p,te){K(p,e,te),h(e,t),h(t,i),h(e,r),h(e,o),h(o,u),h(e,a),h(e,d),h(d,f),N(c,f,null),h(d,g),h(d,b),h(b,y),h(d,w),h(d,I),N(B,I,null),h(d,k),h(d,$),N(D,$,null),h(e,se),h(e,X),N(F,X,null),h(X,ne),h(X,S),h(S,ie),h(S,ue),ee=!0},p(p,[te]){const _e={};te&2&&(_e.error=p[3](p[1],12)),!m&&te&2&&(m=!0,_e.value=p[1],G(()=>m=!1)),c.$set(_e);const fe={};te&1&&(fe.error=p[3](p[0],59)),!J&&te&1&&(J=!0,fe.value=p[0],G(()=>J=!1)),B.$set(fe);const oe={};te&516&&(oe.$$scope={dirty:te,ctx:p}),D.$set(oe)},i(p){ee||(M(c.$$.fragment,p),M(B.$$.fragment,p),M(D.$$.fragment,p),M(F.$$.fragment,p),ee=!0)},o(p){C(c.$$.fragment,p),C(B.$$.fragment,p),C(D.$$.fragment,p),C(F.$$.fragment,p),ee=!1},d(p){p&&_(e),U(c),U(B),U(D),U(F)}}}function on(n,e,t){let{hour:l=""}=e,{minute:i=""}=e,r="",o="AM";const s=(c,m)=>c?isNaN(parseInt(c))||parseInt(c)>m:!1;function u(c){r=c,t(1,r)}function a(c){i=c,t(0,i)}const d=()=>t(2,o="AM"),f=()=>t(2,o="PM");return n.$$set=c=>{"hour"in c&&t(4,l=c.hour),"minute"in c&&t(0,i=c.minute)},n.$$.update=()=>{n.$$.dirty&6&&(r?r==="12"?t(4,l=o==="AM"?"00":"12"):o==="PM"?t(4,l=(parseInt(r)+12).toString()):t(4,l=r):t(4,l=""))},[i,r,o,s,l,u,a,d,f]}class Tt extends Me{constructor(e){super(),Se(this,e,on,fn,We,{hour:4,minute:0})}}function dn(n){let e,t,l=q("schedules","recurring-dates-heading")+"",i,r,o,s=q("schedules","recurring-dates-description")+"",u,a,d,f,c,m,g,b,y,w,I,B,J;function k(S){n[4](S)}let $={};n[0]!==void 0&&($.daysOfMonth=n[0]),f=new tn({props:$}),j.push(()=>z(f,"daysOfMonth",k));function D(S){n[5](S)}let se={};n[1]!==void 0&&(se.months=n[1]),g=new sn({props:se}),j.push(()=>z(g,"months",D));function X(S){n[6](S)}function F(S){n[7](S)}let ne={};return n[2]!==void 0&&(ne.hour=n[2]),n[3]!==void 0&&(ne.minute=n[3]),w=new Tt({props:ne}),j.push(()=>z(w,"hour",X)),j.push(()=>z(w,"minute",F)),{c(){e=W("div"),t=W("h3"),i=Y(l),r=H(),o=W("p"),u=Y(s),a=H(),d=W("div"),L(f.$$.fragment),m=H(),L(g.$$.fragment),y=H(),L(w.$$.fragment),this.h()},l(S){e=V(S,"DIV",{class:!0});var Z=T(e);t=V(Z,"H3",{class:!0});var ie=T(t);i=x(ie,l),ie.forEach(_),r=P(Z),o=V(Z,"P",{});var ue=T(o);u=x(ue,s),ue.forEach(_),a=P(Z),d=V(Z,"DIV",{class:!0});var ee=T(d);A(f.$$.fragment,ee),m=P(ee),A(g.$$.fragment,ee),ee.forEach(_),Z.forEach(_),y=P(S),A(w.$$.fragment,S),this.h()},h(){Q(t,"class","text-lg font-medium"),Q(d,"class","flex w-full flex-col gap-4"),Q(e,"class","my-2 flex flex-col gap-4")},m(S,Z){K(S,e,Z),h(e,t),h(t,i),h(e,r),h(e,o),h(o,u),h(e,a),h(e,d),N(f,d,null),h(d,m),N(g,d,null),K(S,y,Z),N(w,S,Z),J=!0},p(S,[Z]){const ie={};!c&&Z&1&&(c=!0,ie.daysOfMonth=S[0],G(()=>c=!1)),f.$set(ie);const ue={};!b&&Z&2&&(b=!0,ue.months=S[1],G(()=>b=!1)),g.$set(ue);const ee={};!I&&Z&4&&(I=!0,ee.hour=S[2],G(()=>I=!1)),!B&&Z&8&&(B=!0,ee.minute=S[3],G(()=>B=!1)),w.$set(ee)},i(S){J||(M(f.$$.fragment,S),M(g.$$.fragment,S),M(w.$$.fragment,S),J=!0)},o(S){C(f.$$.fragment,S),C(g.$$.fragment,S),C(w.$$.fragment,S),J=!1},d(S){S&&_(e),U(f),U(g),S&&_(y),U(w,S)}}}function cn(n,e,t){let{daysOfMonth:l}=e,{months:i}=e,{hour:r}=e,{minute:o}=e;function s(f){l=f,t(0,l)}function u(f){i=f,t(1,i)}function a(f){r=f,t(2,r)}function d(f){o=f,t(3,o)}return n.$$set=f=>{"daysOfMonth"in f&&t(0,l=f.daysOfMonth),"months"in f&&t(1,i=f.months),"hour"in f&&t(2,r=f.hour),"minute"in f&&t(3,o=f.minute)},[l,i,r,o,s,u,a,d]}class hn extends Me{constructor(e){super(),Se(this,e,cn,dn,We,{daysOfMonth:0,months:1,hour:2,minute:3})}}function $t(n,e,t){const l=n.slice();return l[4]=e[t].label,l[5]=e[t].value,l}function wt(n,e,t){const l=n.slice();return l[4]=e[t].label,l[5]=e[t].value,l}function kt(n){let e,t=n[4]+"",l,i,r;function o(...s){return n[2](n[5],...s)}return{c(){e=W("button"),l=Y(t),this.h()},l(s){e=V(s,"BUTTON",{class:!0});var u=T(e);l=x(u,t),u.forEach(_),this.h()},h(){Q(e,"class","cell svelte-xr91x7"),De(e,"active",n[0].includes(n[5]))},m(s,u){K(s,e,u),h(e,l),i||(r=Xe(e,"click",Ye(o)),i=!0)},p(s,u){n=s,u&1&&De(e,"active",n[0].includes(n[5]))},d(s){s&&_(e),i=!1,r()}}}function It(n){let e,t=n[4]+"",l,i,r;function o(...s){return n[3](n[5],...s)}return{c(){e=W("button"),l=Y(t),this.h()},l(s){e=V(s,"BUTTON",{class:!0});var u=T(e);l=x(u,t),u.forEach(_),this.h()},h(){Q(e,"class","cell svelte-xr91x7"),De(e,"active",n[0].includes(n[5]))},m(s,u){K(s,e,u),h(e,l),i||(r=Xe(e,"click",Ye(o)),i=!0)},p(s,u){n=s,u&1&&De(e,"active",n[0].includes(n[5]))},d(s){s&&_(e),i=!1,r()}}}function _n(n){let e,t,l,i,r=Ze,o=[];for(let a=0;a{s.metaKey?(Ze.find(a=>a.value===u)?t(0,l=[u]):l.find(a=>Ze.find(d=>d.value===a))&&t(0,l=[u]),l.includes(u)?l.filter(a=>a!==u):t(0,l=[...l,u])):t(0,l=[u])},r=(s,u)=>i(u,s),o=(s,u)=>i(u,s);return n.$$set=s=>{"daysOfWeek"in s&&t(0,l=s.daysOfWeek)},[l,i,r,o]}class gn extends Me{constructor(e){super(),Se(this,e,mn,_n,We,{daysOfWeek:0})}}function pn(n){let e,t,l=q("schedules","recurring-days-heading")+"",i,r,o,s=q("schedules","recurring-days-description")+"",u,a,d,f,c,m,g,b,y;function w($){n[3]($)}let I={};n[0]!==void 0&&(I.daysOfWeek=n[0]),d=new gn({props:I}),j.push(()=>z(d,"daysOfWeek",w));function B($){n[4]($)}function J($){n[5]($)}let k={};return n[1]!==void 0&&(k.hour=n[1]),n[2]!==void 0&&(k.minute=n[2]),m=new Tt({props:k}),j.push(()=>z(m,"hour",B)),j.push(()=>z(m,"minute",J)),{c(){e=W("div"),t=W("h3"),i=Y(l),r=H(),o=W("p"),u=Y(s),a=H(),L(d.$$.fragment),c=H(),L(m.$$.fragment),this.h()},l($){e=V($,"DIV",{class:!0});var D=T(e);t=V(D,"H3",{class:!0});var se=T(t);i=x(se,l),se.forEach(_),r=P(D),o=V(D,"P",{});var X=T(o);u=x(X,s),X.forEach(_),a=P(D),A(d.$$.fragment,D),D.forEach(_),c=P($),A(m.$$.fragment,$),this.h()},h(){Q(t,"class","text-lg font-medium"),Q(e,"class","my-2 flex flex-col gap-4")},m($,D){K($,e,D),h(e,t),h(t,i),h(e,r),h(e,o),h(o,u),h(e,a),N(d,e,null),K($,c,D),N(m,$,D),y=!0},p($,[D]){const se={};!f&&D&1&&(f=!0,se.daysOfWeek=$[0],G(()=>f=!1)),d.$set(se);const X={};!g&&D&2&&(g=!0,X.hour=$[1],G(()=>g=!1)),!b&&D&4&&(b=!0,X.minute=$[2],G(()=>b=!1)),m.$set(X)},i($){y||(M(d.$$.fragment,$),M(m.$$.fragment,$),y=!0)},o($){C(d.$$.fragment,$),C(m.$$.fragment,$),y=!1},d($){$&&_(e),U(d),$&&_(c),U(m,$)}}}function vn(n,e,t){let{daysOfWeek:l}=e,{hour:i}=e,{minute:r}=e;function o(a){l=a,t(0,l)}function s(a){i=a,t(1,i)}function u(a){r=a,t(2,r)}return n.$$set=a=>{"daysOfWeek"in a&&t(0,l=a.daysOfWeek),"hour"in a&&t(1,i=a.hour),"minute"in a&&t(2,r=a.minute)},[l,i,r,o,s,u]}class bn extends Me{constructor(e){super(),Se(this,e,vn,pn,We,{daysOfWeek:0,hour:1,minute:2})}}function $n(n){let e=q("days")+"",t;return{c(){t=Y(e)},l(l){t=x(l,e)},m(l,i){K(l,t,i)},p:pe,d(l){l&&_(t)}}}function wn(n){let e=q("hours-abbreviated")+"",t;return{c(){t=Y(e)},l(l){t=x(l,e)},m(l,i){K(l,t,i)},p:pe,d(l){l&&_(t)}}}function kn(n){let e=q("minutes-abbreviated")+"",t;return{c(){t=Y(e)},l(l){t=x(l,e)},m(l,i){K(l,t,i)},p:pe,d(l){l&&_(t)}}}function In(n){let e=q("seconds-abbreviated")+"",t;return{c(){t=Y(e)},l(l){t=x(l,e)},m(l,i){K(l,t,i)},p:pe,d(l){l&&_(t)}}}function On(n){let e,t,l,i,r,o,s,u;return e=new Ge({props:{value:"days",$$slots:{default:[$n]},$$scope:{ctx:n}}}),l=new Ge({props:{value:"hrs",$$slots:{default:[wn]},$$scope:{ctx:n}}}),r=new Ge({props:{value:"min",$$slots:{default:[kn]},$$scope:{ctx:n}}}),s=new Ge({props:{value:"sec",$$slots:{default:[In]},$$scope:{ctx:n}}}),{c(){L(e.$$.fragment),t=H(),L(l.$$.fragment),i=H(),L(r.$$.fragment),o=H(),L(s.$$.fragment)},l(a){A(e.$$.fragment,a),t=P(a),A(l.$$.fragment,a),i=P(a),A(r.$$.fragment,a),o=P(a),A(s.$$.fragment,a)},m(a,d){N(e,a,d),K(a,t,d),N(l,a,d),K(a,i,d),N(r,a,d),K(a,o,d),N(s,a,d),u=!0},p(a,d){const f={};d&16384&&(f.$$scope={dirty:d,ctx:a}),e.$set(f);const c={};d&16384&&(c.$$scope={dirty:d,ctx:a}),l.$set(c);const m={};d&16384&&(m.$$scope={dirty:d,ctx:a}),r.$set(m);const g={};d&16384&&(g.$$scope={dirty:d,ctx:a}),s.$set(g)},i(a){u||(M(e.$$.fragment,a),M(l.$$.fragment,a),M(r.$$.fragment,a),M(s.$$.fragment,a),u=!0)},o(a){C(e.$$.fragment,a),C(l.$$.fragment,a),C(r.$$.fragment,a),C(s.$$.fragment,a),u=!1},d(a){U(e,a),a&&_(t),U(l,a),a&&_(i),U(r,a),a&&_(o),U(s,a)}}}function yn(n){let e,t,l=q("schedules","interval-view-heading")+"",i,r,o,s=q("schedules","interval-view-description")+"",u,a,d,f,c,m,g,b,y,w,I,B,J,k,$,D,se,X,F,ne,S,Z,ie,ue,ee,ae,de,he,re,p=q("schedules","offset-heading")+"",te,_e,fe,oe=q("schedules","offset-description")+"",Oe,Ee,me,ge,ke,ye,$e,Pe,Ce;function Qe(E){n[8](E)}let Le={id:"days",label:q("days"),labelHidden:!0,placeholder:"00",suffix:q("days"),maxLength:3,error:n[7](n[0])};n[0]!==void 0&&(Le.value=n[0]),c=new Ie({props:Le}),j.push(()=>z(c,"value",Qe));function Fe(E){n[9](E)}let ve={id:"hour-interval",label:q("hours-abbreviated"),labelHidden:!0,placeholder:"00",suffix:q("hours-abbreviated"),maxLength:2,error:n[7](n[1])};n[1]!==void 0&&(ve.value=n[1]),B=new Ie({props:ve}),j.push(()=>z(B,"value",Fe));function v(E){n[10](E)}let R={id:"minute-interval",label:q("minutes-abbreviated"),labelHidden:!0,placeholder:"00",suffix:q("minutes-abbreviated"),maxLength:2,error:n[7](n[2])};n[2]!==void 0&&(R.value=n[2]),F=new Ie({props:R}),j.push(()=>z(F,"value",v));function Ve(E){n[11](E)}let O={id:"second",label:q("seconds-abbreviated"),labelHidden:!0,placeholder:"00",suffix:q("seconds-abbreviated"),maxLength:2,error:n[7](n[3])};n[3]!==void 0&&(O.value=n[3]),ae=new Ie({props:O}),j.push(()=>z(ae,"value",Ve));function be(E){n[12](E)}let we={id:"phase",label:q("schedules","offset-heading"),labelHidden:!0,placeholder:"00",error:n[7](n[4]),unroundRight:!0};n[5]!==void 0&&(we.value=n[5]),ge=new Ie({props:we}),j.push(()=>z(ge,"value",be));function He(E){n[13](E)}let Te={label:q("schedules","offset-unit"),labelHidden:!0,unroundLeft:!0,id:"phase-unit",$$slots:{default:[On]},$$scope:{ctx:n}};return n[6]!==void 0&&(Te.value=n[6]),$e=new Kt({props:Te}),j.push(()=>z($e,"value",He)),{c(){e=W("div"),t=W("h3"),i=Y(l),r=H(),o=W("p"),u=Y(s),a=H(),d=W("div"),f=W("div"),L(c.$$.fragment),g=H(),b=W("div"),y=Y(":"),w=H(),I=W("div"),L(B.$$.fragment),k=H(),$=W("div"),D=Y(":"),se=H(),X=W("div"),L(F.$$.fragment),S=H(),Z=W("div"),ie=Y(":"),ue=H(),ee=W("div"),L(ae.$$.fragment),he=H(),re=W("h3"),te=Y(p),_e=H(),fe=W("p"),Oe=Y(oe),Ee=H(),me=W("div"),L(ge.$$.fragment),ye=H(),L($e.$$.fragment),this.h()},l(E){e=V(E,"DIV",{class:!0});var le=T(e);t=V(le,"H3",{class:!0});var Ae=T(t);i=x(Ae,l),Ae.forEach(_),r=P(le),o=V(le,"P",{});var Ne=T(o);u=x(Ne,s),Ne.forEach(_),a=P(le),d=V(le,"DIV",{class:!0});var ce=T(d);f=V(ce,"DIV",{class:!0});var Ue=T(f);A(c.$$.fragment,Ue),Ue.forEach(_),g=P(ce),b=V(ce,"DIV",{});var Be=T(b);y=x(Be,":"),Be.forEach(_),w=P(ce),I=V(ce,"DIV",{class:!0});var qe=T(I);A(B.$$.fragment,qe),qe.forEach(_),k=P(ce),$=V(ce,"DIV",{});var lt=T($);D=x(lt,":"),lt.forEach(_),se=P(ce),X=V(ce,"DIV",{class:!0});var st=T(X);A(F.$$.fragment,st),st.forEach(_),S=P(ce),Z=V(ce,"DIV",{});var it=T(Z);ie=x(it,":"),it.forEach(_),ue=P(ce),ee=V(ce,"DIV",{class:!0});var ut=T(ee);A(ae.$$.fragment,ut),ut.forEach(_),ce.forEach(_),he=P(le),re=V(le,"H3",{class:!0});var at=T(re);te=x(at,p),at.forEach(_),_e=P(le),fe=V(le,"P",{});var rt=T(fe);Oe=x(rt,oe),rt.forEach(_),Ee=P(le),me=V(le,"DIV",{class:!0});var ze=T(me);A(ge.$$.fragment,ze),ye=P(ze),A($e.$$.fragment,ze),ze.forEach(_),le.forEach(_),this.h()},h(){Q(t,"class","text-lg font-medium"),Q(f,"class","w-24"),Q(I,"class","w-24"),Q(X,"class","w-24"),Q(ee,"class","w-24"),Q(d,"class","flex flex-row items-center gap-2"),Q(re,"class","mt-4 text-lg font-medium"),Q(me,"class","flex w-48 gap-0"),Q(e,"class","my-2 flex flex-col gap-4")},m(E,le){K(E,e,le),h(e,t),h(t,i),h(e,r),h(e,o),h(o,u),h(e,a),h(e,d),h(d,f),N(c,f,null),h(d,g),h(d,b),h(b,y),h(d,w),h(d,I),N(B,I,null),h(d,k),h(d,$),h($,D),h(d,se),h(d,X),N(F,X,null),h(d,S),h(d,Z),h(Z,ie),h(d,ue),h(d,ee),N(ae,ee,null),h(e,he),h(e,re),h(re,te),h(e,_e),h(e,fe),h(fe,Oe),h(e,Ee),h(e,me),N(ge,me,null),h(me,ye),N($e,me,null),Ce=!0},p(E,[le]){const Ae={};le&1&&(Ae.error=E[7](E[0])),!m&&le&1&&(m=!0,Ae.value=E[0],G(()=>m=!1)),c.$set(Ae);const Ne={};le&2&&(Ne.error=E[7](E[1])),!J&&le&2&&(J=!0,Ne.value=E[1],G(()=>J=!1)),B.$set(Ne);const ce={};le&4&&(ce.error=E[7](E[2])),!ne&&le&4&&(ne=!0,ce.value=E[2],G(()=>ne=!1)),F.$set(ce);const Ue={};le&8&&(Ue.error=E[7](E[3])),!de&&le&8&&(de=!0,Ue.value=E[3],G(()=>de=!1)),ae.$set(Ue);const Be={};le&16&&(Be.error=E[7](E[4])),!ke&&le&32&&(ke=!0,Be.value=E[5],G(()=>ke=!1)),ge.$set(Be);const qe={};le&16384&&(qe.$$scope={dirty:le,ctx:E}),!Pe&&le&64&&(Pe=!0,qe.value=E[6],G(()=>Pe=!1)),$e.$set(qe)},i(E){Ce||(M(c.$$.fragment,E),M(B.$$.fragment,E),M(F.$$.fragment,E),M(ae.$$.fragment,E),M(ge.$$.fragment,E),M($e.$$.fragment,E),Ce=!0)},o(E){C(c.$$.fragment,E),C(B.$$.fragment,E),C(F.$$.fragment,E),C(ae.$$.fragment,E),C(ge.$$.fragment,E),C($e.$$.fragment,E),Ce=!1},d(E){E&&_(e),U(c),U(B),U(F),U(ae),U(ge),U($e)}}}function En(n,e,t){let{days:l=""}=e,{hour:i=""}=e,{minute:r=""}=e,{second:o=""}=e,{phase:s=""}=e,u="",a="min";const d=w=>w?isNaN(parseInt(w)):!1;function f(w){l=w,t(0,l)}function c(w){i=w,t(1,i)}function m(w){r=w,t(2,r)}function g(w){o=w,t(3,o)}function b(w){u=w,t(5,u)}function y(w){a=w,t(6,a)}return n.$$set=w=>{"days"in w&&t(0,l=w.days),"hour"in w&&t(1,i=w.hour),"minute"in w&&t(2,r=w.minute),"second"in w&&t(3,o=w.second),"phase"in w&&t(4,s=w.phase)},n.$$.update=()=>{n.$$.dirty&96&&u&&(a==="days"?t(4,s=(parseInt(u)*60*60*24).toString()+"s"):a==="hrs"?t(4,s=(parseInt(u)*60*60).toString()+"s"):a==="min"?t(4,s=(parseInt(u)*60).toString()+"s"):a==="sec"&&t(4,s=parseInt(u).toString()+"s"))},[l,i,r,o,s,u,a,d,f,c,m,g,b,y]}class Dn extends Me{constructor(e){super(),Se(this,e,En,yn,We,{days:0,hour:1,minute:2,second:3,phase:4})}}const Mn=n=>({preset:n[0]&1024}),Ot=n=>({preset:n[10]});function yt(n){let e,t;return e=new Ke({props:{label:"Existing",id:"existing-tab",panelId:"existing-panel",onClick:n[12]}}),{c(){L(e.$$.fragment)},l(l){A(e.$$.fragment,l)},m(l,i){N(e,l,i),t=!0},p(l,i){const r={};i[0]&1024&&(r.onClick=l[12]),e.$set(r)},i(l){t||(M(e.$$.fragment,l),t=!0)},o(l){C(e.$$.fragment,l),t=!1},d(l){U(e,l)}}}function Sn(n){let e,t,l,i,r,o,s,u,a,d=n[9]&&yt(n);return t=new Ke({props:{label:"Interval",id:"interval-tab",panelId:"interval-panel",onClick:n[13]}}),i=new Ke({props:{label:"Days of the Week",id:"daily-tab",panelId:"daily-panel",onClick:n[14]}}),o=new Ke({props:{label:"Days of the Month",id:"monthly-tab",panelId:"monthly-panel",onClick:n[15]}}),u=new Ke({props:{label:"String",id:"string-tab",panelId:"string-panel",onClick:n[16]}}),{c(){d&&d.c(),e=H(),L(t.$$.fragment),l=H(),L(i.$$.fragment),r=H(),L(o.$$.fragment),s=H(),L(u.$$.fragment)},l(f){d&&d.l(f),e=P(f),A(t.$$.fragment,f),l=P(f),A(i.$$.fragment,f),r=P(f),A(o.$$.fragment,f),s=P(f),A(u.$$.fragment,f)},m(f,c){d&&d.m(f,c),K(f,e,c),N(t,f,c),K(f,l,c),N(i,f,c),K(f,r,c),N(o,f,c),K(f,s,c),N(u,f,c),a=!0},p(f,c){f[9]?d?(d.p(f,c),c[0]&512&&M(d,1)):(d=yt(f),d.c(),M(d,1),d.m(e.parentNode,e)):d&&(tt(),C(d,1,1,()=>{d=null}),nt());const m={};c[0]&1024&&(m.onClick=f[13]),t.$set(m);const g={};c[0]&1024&&(g.onClick=f[14]),i.$set(g);const b={};c[0]&1024&&(b.onClick=f[15]),o.$set(b);const y={};c[0]&1024&&(y.onClick=f[16]),u.$set(y)},i(f){a||(M(d),M(t.$$.fragment,f),M(i.$$.fragment,f),M(o.$$.fragment,f),M(u.$$.fragment,f),a=!0)},o(f){C(d),C(t.$$.fragment,f),C(i.$$.fragment,f),C(o.$$.fragment,f),C(u.$$.fragment,f),a=!1},d(f){d&&d.d(f),f&&_(e),U(t,f),f&&_(l),U(i,f),f&&_(r),U(o,f),f&&_(s),U(u,f)}}}function Et(n){let e,t;return e=new Re({props:{id:"existing-panel",tabId:"existing-tab",class:"w-full",$$slots:{default:[Wn]},$$scope:{ctx:n}}}),{c(){L(e.$$.fragment)},l(l){A(e.$$.fragment,l)},m(l,i){N(e,l,i),t=!0},p(l,i){const r={};i[0]&1073742336&&(r.$$scope={dirty:i,ctx:l}),e.$set(r)},i(l){t||(M(e.$$.fragment,l),t=!0)},o(l){C(e.$$.fragment,l),t=!1},d(l){U(e,l)}}}function Wn(n){var l,i,r,o,s,u;let e,t;return e=new Ft({props:{calendar:(r=(i=(l=n[9])==null?void 0:l.spec)==null?void 0:i.structuredCalendar)==null?void 0:r[0],interval:(u=(s=(o=n[9])==null?void 0:o.spec)==null?void 0:s.interval)==null?void 0:u[0]}}),{c(){L(e.$$.fragment)},l(a){A(e.$$.fragment,a)},m(a,d){N(e,a,d),t=!0},p(a,d){var c,m,g,b,y,w;const f={};d[0]&512&&(f.calendar=(g=(m=(c=a[9])==null?void 0:c.spec)==null?void 0:m.structuredCalendar)==null?void 0:g[0]),d[0]&512&&(f.interval=(w=(y=(b=a[9])==null?void 0:b.spec)==null?void 0:y.interval)==null?void 0:w[0]),e.$set(f)},i(a){t||(M(e.$$.fragment,a),t=!0)},o(a){C(e.$$.fragment,a),t=!1},d(a){U(e,a)}}}function Vn(n){let e,t,l,i,r,o,s;function u(g){n[17](g)}function a(g){n[18](g)}function d(g){n[19](g)}function f(g){n[20](g)}function c(g){n[21](g)}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 Dn({props:m}),j.push(()=>z(e,"days",u)),j.push(()=>z(e,"hour",a)),j.push(()=>z(e,"minute",d)),j.push(()=>z(e,"second",f)),j.push(()=>z(e,"phase",c)),{c(){L(e.$$.fragment)},l(g){A(e.$$.fragment,g)},m(g,b){N(e,g,b),s=!0},p(g,b){const y={};!t&&b[0]&8&&(t=!0,y.days=g[3],G(()=>t=!1)),!l&&b[0]&16&&(l=!0,y.hour=g[4],G(()=>l=!1)),!i&&b[0]&32&&(i=!0,y.minute=g[5],G(()=>i=!1)),!r&&b[0]&64&&(r=!0,y.second=g[6],G(()=>r=!1)),!o&&b[0]&128&&(o=!0,y.phase=g[7],G(()=>o=!1)),e.$set(y)},i(g){s||(M(e.$$.fragment,g),s=!0)},o(g){C(e.$$.fragment,g),s=!1},d(g){U(e,g)}}}function Tn(n){let e,t,l,i,r;function o(d){n[22](d)}function s(d){n[23](d)}function u(d){n[24](d)}let a={};return n[0]!==void 0&&(a.daysOfWeek=n[0]),n[4]!==void 0&&(a.hour=n[4]),n[5]!==void 0&&(a.minute=n[5]),e=new bn({props:a}),j.push(()=>z(e,"daysOfWeek",o)),j.push(()=>z(e,"hour",s)),j.push(()=>z(e,"minute",u)),{c(){L(e.$$.fragment)},l(d){A(e.$$.fragment,d)},m(d,f){N(e,d,f),r=!0},p(d,f){const c={};!t&&f[0]&1&&(t=!0,c.daysOfWeek=d[0],G(()=>t=!1)),!l&&f[0]&16&&(l=!0,c.hour=d[4],G(()=>l=!1)),!i&&f[0]&32&&(i=!0,c.minute=d[5],G(()=>i=!1)),e.$set(c)},i(d){r||(M(e.$$.fragment,d),r=!0)},o(d){C(e.$$.fragment,d),r=!1},d(d){U(e,d)}}}function Cn(n){let e,t,l,i,r,o;function s(c){n[25](c)}function u(c){n[26](c)}function a(c){n[27](c)}function d(c){n[28](c)}let f={};return n[1]!==void 0&&(f.daysOfMonth=n[1]),n[2]!==void 0&&(f.months=n[2]),n[4]!==void 0&&(f.hour=n[4]),n[5]!==void 0&&(f.minute=n[5]),e=new hn({props:f}),j.push(()=>z(e,"daysOfMonth",s)),j.push(()=>z(e,"months",u)),j.push(()=>z(e,"hour",a)),j.push(()=>z(e,"minute",d)),{c(){L(e.$$.fragment)},l(c){A(e.$$.fragment,c)},m(c,m){N(e,c,m),o=!0},p(c,m){const g={};!t&&m[0]&2&&(t=!0,g.daysOfMonth=c[1],G(()=>t=!1)),!l&&m[0]&4&&(l=!0,g.months=c[2],G(()=>l=!1)),!i&&m[0]&16&&(i=!0,g.hour=c[4],G(()=>i=!1)),!r&&m[0]&32&&(r=!0,g.minute=c[5],G(()=>r=!1)),e.$set(g)},i(c){o||(M(e.$$.fragment,c),o=!0)},o(c){C(e.$$.fragment,c),o=!1},d(c){U(e,c)}}}function Hn(n){let e,t,l=q("schedules","cron-view-title")+"",i,r,o,s=q("schedules","cron-view-description")+"",u,a,d,f,c;function m(b){n[29](b)}let g={label:q("schedules","cron-view-title"),labelHidden:!0,id:"cronString",placeholder:"* * * * *"};return n[8]!==void 0&&(g.value=n[8]),d=new Ie({props:g}),j.push(()=>z(d,"value",m)),{c(){e=W("div"),t=W("h3"),i=Y(l),r=H(),o=W("p"),u=Y(s),a=H(),L(d.$$.fragment),this.h()},l(b){e=V(b,"DIV",{class:!0});var y=T(e);t=V(y,"H3",{class:!0});var w=T(t);i=x(w,l),w.forEach(_),r=P(y),o=V(y,"P",{});var I=T(o);u=x(I,s),I.forEach(_),a=P(y),A(d.$$.fragment,y),y.forEach(_),this.h()},h(){Q(t,"class","text-lg font-medium"),Q(e,"class","my-2 flex w-full flex-col gap-4")},m(b,y){K(b,e,y),h(e,t),h(t,i),h(e,r),h(e,o),h(o,u),h(e,a),N(d,e,null),c=!0},p(b,y){const w={};!f&&y[0]&256&&(f=!0,w.value=b[8],G(()=>f=!1)),d.$set(w)},i(b){c||(M(d.$$.fragment,b),c=!0)},o(b){C(d.$$.fragment,b),c=!1},d(b){b&&_(e),U(d)}}}function Pn(n){let e,t=q("schedules","schedule-spec")+"",l,i,r,o,s,u,a,d,f,c,m,g,b,y,w;r=new Bt({props:{label:"Schedule Tabs",class:"flex flex-wrap gap-6",$$slots:{default:[Sn]},$$scope:{ctx:n}}});let I=n[9]&&Et(n);a=new Re({props:{id:"interval-panel",tabId:"interval-tab",$$slots:{default:[Vn]},$$scope:{ctx:n}}}),f=new Re({props:{id:"daily-panel",tabId:"daily-tab",$$slots:{default:[Tn]},$$scope:{ctx:n}}}),m=new Re({props:{id:"monthly-panel",tabId:"monthly-tab",$$slots:{default:[Cn]},$$scope:{ctx:n}}}),b=new Re({props:{id:"string-panel",tabId:"string-tab",$$slots:{default:[Hn]},$$scope:{ctx:n}}});const B=n[11].default,J=Dt(B,n,n[30],Ot);return{c(){e=W("h2"),l=Y(t),i=H(),L(r.$$.fragment),o=H(),s=W("div"),I&&I.c(),u=H(),L(a.$$.fragment),d=H(),L(f.$$.fragment),c=H(),L(m.$$.fragment),g=H(),L(b.$$.fragment),y=H(),J&&J.c(),this.h()},l(k){e=V(k,"H2",{class:!0});var $=T(e);l=x($,t),$.forEach(_),i=P(k),A(r.$$.fragment,k),o=P(k),s=V(k,"DIV",{class:!0});var D=T(s);I&&I.l(D),u=P(D),A(a.$$.fragment,D),d=P(D),A(f.$$.fragment,D),c=P(D),A(m.$$.fragment,D),g=P(D),A(b.$$.fragment,D),D.forEach(_),y=P(k),J&&J.l(k),this.h()},h(){Q(e,"class","mb-4 text-2xl"),Q(s,"class","mt-4 flex w-full flex-wrap gap-6")},m(k,$){K(k,e,$),h(e,l),K(k,i,$),N(r,k,$),K(k,o,$),K(k,s,$),I&&I.m(s,null),h(s,u),N(a,s,null),h(s,d),N(f,s,null),h(s,c),N(m,s,null),h(s,g),N(b,s,null),K(k,y,$),J&&J.m(k,$),w=!0},p(k,$){const D={};$[0]&1073743360&&(D.$$scope={dirty:$,ctx:k}),r.$set(D),k[9]?I?(I.p(k,$),$[0]&512&&M(I,1)):(I=Et(k),I.c(),M(I,1),I.m(s,u)):I&&(tt(),C(I,1,1,()=>{I=null}),nt());const se={};$[0]&1073742072&&(se.$$scope={dirty:$,ctx:k}),a.$set(se);const X={};$[0]&1073741873&&(X.$$scope={dirty:$,ctx:k}),f.$set(X);const F={};$[0]&1073741878&&(F.$$scope={dirty:$,ctx:k}),m.$set(F);const ne={};$[0]&1073742080&&(ne.$$scope={dirty:$,ctx:k}),b.$set(ne),J&&J.p&&(!w||$[0]&1073742848)&&Mt(J,B,k,k[30],w?Wt(B,k[30],$,Mn):St(k[30]),Ot)},i(k){w||(M(r.$$.fragment,k),M(I),M(a.$$.fragment,k),M(f.$$.fragment,k),M(m.$$.fragment,k),M(b.$$.fragment,k),M(J,k),w=!0)},o(k){C(r.$$.fragment,k),C(I),C(a.$$.fragment,k),C(f.$$.fragment,k),C(m.$$.fragment,k),C(b.$$.fragment,k),C(J,k),w=!1},d(k){k&&_(e),k&&_(i),U(r,k),k&&_(o),k&&_(s),I&&I.d(),U(a),U(f),U(m),U(b),k&&_(y),J&&J.d(k)}}}function Ln(n){let e,t;return e=new Ut({props:{class:"mt-8 w-full",$$slots:{default:[Pn]},$$scope:{ctx:n}}}),{c(){L(e.$$.fragment)},l(l){A(e.$$.fragment,l)},m(l,i){N(e,l,i),t=!0},p(l,i){const r={};i[0]&1073743871&&(r.$$scope={dirty:i,ctx:l}),e.$set(r)},i(l){t||(M(e.$$.fragment,l),t=!0)},o(l){C(e.$$.fragment,l),t=!1},d(l){U(e,l)}}}function An(n,e,t){let l;je(n,Vt,p=>t(31,l=p));let{$$slots:i={},$$scope:r}=e,s=l.params.schedule?"existing":"interval",{schedule:u=null}=e,{daysOfWeek:a}=e,{daysOfMonth:d}=e,{months:f}=e,{days:c}=e,{hour:m}=e,{minute:g}=e,{second:b}=e,{phase:y}=e,{cronString:w}=e;const I=()=>{t(0,a=[]),t(1,d=[]),t(2,f=[]),t(3,c=""),t(4,m=""),t(5,g=""),t(6,b=""),t(7,y=""),t(8,w="")},B=()=>t(10,s="existing"),J=()=>t(10,s="interval"),k=()=>t(10,s="week"),$=()=>t(10,s="month"),D=()=>t(10,s="string");function se(p){c=p,t(3,c)}function X(p){m=p,t(4,m)}function F(p){g=p,t(5,g)}function ne(p){b=p,t(6,b)}function S(p){y=p,t(7,y)}function Z(p){a=p,t(0,a)}function ie(p){m=p,t(4,m)}function ue(p){g=p,t(5,g)}function ee(p){d=p,t(1,d)}function ae(p){f=p,t(2,f)}function de(p){m=p,t(4,m)}function he(p){g=p,t(5,g)}function re(p){w=p,t(8,w)}return n.$$set=p=>{"schedule"in p&&t(9,u=p.schedule),"daysOfWeek"in p&&t(0,a=p.daysOfWeek),"daysOfMonth"in p&&t(1,d=p.daysOfMonth),"months"in p&&t(2,f=p.months),"days"in p&&t(3,c=p.days),"hour"in p&&t(4,m=p.hour),"minute"in p&&t(5,g=p.minute),"second"in p&&t(6,b=p.second),"phase"in p&&t(7,y=p.phase),"cronString"in p&&t(8,w=p.cronString),"$$scope"in p&&t(30,r=p.$$scope)},I(),[a,d,f,c,m,g,b,y,w,u,s,i,B,J,k,$,D,se,X,F,ne,S,Z,ie,ue,ee,ae,de,he,re,r]}class Nn extends Me{constructor(e){super(),Se(this,e,An,Ln,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 Un(n){let e,t,l,i,r,o,s,u,a,d,f,c,m,g,b,y,w,I,B,J,k,$,D,se,X,F,ne,S,Z,ie,ue,ee,ae,de,he,re;t=new jt({props:{href:n[22],icon:"chevron-left",$$slots:{default:[qn]},$$scope:{ctx:n}}}),u=new Rt({props:{intent:"error",title:"",hidden:!n[16],bold:!0,$$slots:{default:[Qn]},$$scope:{ctx:n}}});function p(v){n[28](v)}let te={id:"name",label:q("schedules","name-label"),error:n[13].name,maxLength:232,disabled:Boolean(n[18])};n[1]!==void 0&&(te.value=n[1]),f=new Ie({props:te}),j.push(()=>z(f,"value",p)),f.$on("input",n[25]),f.$on("blur",n[26]);function _e(v){n[29](v)}let fe={id:"workflowType",label:q("schedules","workflow-type-label"),error:n[13].workflowType};n[2]!==void 0&&(fe.value=n[2]),b=new Ie({props:fe}),j.push(()=>z(b,"value",_e)),b.$on("input",n[25]),b.$on("blur",n[26]);function oe(v){n[30](v)}let Oe={id:"workflowId",label:q("schedules","workflow-id-label"),error:n[13].workflowId};n[3]!==void 0&&(Oe.value=n[3]),B=new Ie({props:Oe}),j.push(()=>z(B,"value",oe)),B.$on("input",n[25]),B.$on("blur",n[26]);function Ee(v){n[31](v)}let me={id:"taskQueue",label:q("schedules","task-queue-label"),error:n[13].taskQueue};n[4]!==void 0&&(me.value=n[4]),D=new Ie({props:me}),j.push(()=>z(D,"value",Ee)),D.$on("input",n[25]),D.$on("blur",n[26]);function ge(v){n[33](v)}function ke(v){n[34](v)}function ye(v){n[35](v)}function $e(v){n[36](v)}function Pe(v){n[37](v)}function Ce(v){n[38](v)}function Qe(v){n[39](v)}function Le(v){n[40](v)}function Fe(v){n[41](v)}let ve={schedule:n[0],$$slots:{default:[Rn,({preset:v})=>({55:v}),({preset:v})=>[0,v?16777216:0]]},$$scope:{ctx:n}};return n[5]!==void 0&&(ve.daysOfWeek=n[5]),n[6]!==void 0&&(ve.daysOfMonth=n[6]),n[7]!==void 0&&(ve.months=n[7]),n[8]!==void 0&&(ve.days=n[8]),n[9]!==void 0&&(ve.hour=n[9]),n[10]!==void 0&&(ve.minute=n[10]),n[11]!==void 0&&(ve.second=n[11]),n[14]!==void 0&&(ve.phase=n[14]),n[12]!==void 0&&(ve.cronString=n[12]),F=new Nn({props:ve}),j.push(()=>z(F,"daysOfWeek",ge)),j.push(()=>z(F,"daysOfMonth",ke)),j.push(()=>z(F,"months",ye)),j.push(()=>z(F,"days",$e)),j.push(()=>z(F,"hour",Pe)),j.push(()=>z(F,"minute",Ce)),j.push(()=>z(F,"second",Qe)),j.push(()=>z(F,"phase",Le)),j.push(()=>z(F,"cronString",Fe)),{c(){e=W("header"),L(t.$$.fragment),l=H(),i=W("h1"),r=Y(n[19]),o=H(),s=W("form"),L(u.$$.fragment),a=H(),d=W("div"),L(f.$$.fragment),m=H(),g=W("div"),L(b.$$.fragment),w=H(),I=W("div"),L(B.$$.fragment),k=H(),$=W("div"),L(D.$$.fragment),X=H(),L(F.$$.fragment),this.h()},l(v){e=V(v,"HEADER",{class:!0});var R=T(e);A(t.$$.fragment,R),l=P(R),i=V(R,"H1",{class:!0});var Ve=T(i);r=x(Ve,n[19]),Ve.forEach(_),R.forEach(_),o=P(v),s=V(v,"FORM",{class:!0});var O=T(s);A(u.$$.fragment,O),a=P(O),d=V(O,"DIV",{class:!0});var be=T(d);A(f.$$.fragment,be),be.forEach(_),m=P(O),g=V(O,"DIV",{class:!0});var we=T(g);A(b.$$.fragment,we),we.forEach(_),w=P(O),I=V(O,"DIV",{class:!0});var He=T(I);A(B.$$.fragment,He),He.forEach(_),k=P(O),$=V(O,"DIV",{class:!0});var Te=T($);A(D.$$.fragment,Te),Te.forEach(_),X=P(O),A(F.$$.fragment,O),O.forEach(_),this.h()},h(){Q(i,"class","font-base text-2xl"),Q(e,"class","mb-12 flex flex-col gap-1"),Q(d,"class","w-full"),Q(g,"class","w-full"),Q(I,"class","w-full"),Q($,"class","w-full"),Q(s,"class","mb-4 flex w-full flex-col gap-4 md:w-2/3 xl:w-1/2")},m(v,R){K(v,e,R),N(t,e,null),h(e,l),h(e,i),h(i,r),K(v,o,R),K(v,s,R),N(u,s,null),h(s,a),h(s,d),N(f,d,null),h(s,m),h(s,g),N(b,g,null),h(s,w),h(s,I),N(B,I,null),h(s,k),h(s,$),N(D,$,null),h(s,X),N(F,s,null),re=!0},p(v,R){const Ve={};R[1]&33554432&&(Ve.$$scope={dirty:R,ctx:v}),t.$set(Ve);const O={};R[0]&65536&&(O.hidden=!v[16]),R[0]&65536|R[1]&33554432&&(O.$$scope={dirty:R,ctx:v}),u.$set(O);const be={};R[0]&8192&&(be.error=v[13].name),!c&&R[0]&2&&(c=!0,be.value=v[1],G(()=>c=!1)),f.$set(be);const we={};R[0]&8192&&(we.error=v[13].workflowType),!y&&R[0]&4&&(y=!0,we.value=v[2],G(()=>y=!1)),b.$set(we);const He={};R[0]&8192&&(He.error=v[13].workflowId),!J&&R[0]&8&&(J=!0,He.value=v[3],G(()=>J=!1)),B.$set(He);const Te={};R[0]&8192&&(Te.error=v[13].taskQueue),!se&&R[0]&16&&(se=!0,Te.value=v[4],G(()=>se=!1)),D.$set(Te);const E={};R[0]&1&&(E.schedule=v[0]),R[0]&32769|R[1]&50331648&&(E.$$scope={dirty:R,ctx:v}),!ne&&R[0]&32&&(ne=!0,E.daysOfWeek=v[5],G(()=>ne=!1)),!S&&R[0]&64&&(S=!0,E.daysOfMonth=v[6],G(()=>S=!1)),!Z&&R[0]&128&&(Z=!0,E.months=v[7],G(()=>Z=!1)),!ie&&R[0]&256&&(ie=!0,E.days=v[8],G(()=>ie=!1)),!ue&&R[0]&512&&(ue=!0,E.hour=v[9],G(()=>ue=!1)),!ee&&R[0]&1024&&(ee=!0,E.minute=v[10],G(()=>ee=!1)),!ae&&R[0]&2048&&(ae=!0,E.second=v[11],G(()=>ae=!1)),!de&&R[0]&16384&&(de=!0,E.phase=v[14],G(()=>de=!1)),!he&&R[0]&4096&&(he=!0,E.cronString=v[12],G(()=>he=!1)),F.$set(E)},i(v){re||(M(t.$$.fragment,v),M(u.$$.fragment,v),M(f.$$.fragment,v),M(b.$$.fragment,v),M(B.$$.fragment,v),M(D.$$.fragment,v),M(F.$$.fragment,v),re=!0)},o(v){C(t.$$.fragment,v),C(u.$$.fragment,v),C(f.$$.fragment,v),C(b.$$.fragment,v),C(B.$$.fragment,v),C(D.$$.fragment,v),C(F.$$.fragment,v),re=!1},d(v){v&&_(e),U(t),v&&_(o),v&&_(s),U(u),U(f),U(b),U(B),U(D),U(F)}}}function Bn(n){let e,t;return e=new zt({props:{title:n[20]}}),{c(){L(e.$$.fragment)},l(l){A(e.$$.fragment,l)},m(l,i){N(e,l,i),t=!0},p:pe,i(l){t||(M(e.$$.fragment,l),t=!0)},o(l){C(e.$$.fragment,l),t=!1},d(l){U(e,l)}}}function qn(n){let e;return{c(){e=Y(n[21])},l(t){e=x(t,n[21])},m(t,l){K(t,e,l)},p:pe,d(t){t&&_(e)}}}function Qn(n){let e;return{c(){e=Y(n[16])},l(t){e=x(t,n[16])},m(t,l){K(t,e,l)},p(t,l){l[0]&65536&&At(e,t[16])},d(t){t&&_(e)}}}function Fn(n){let e;return{c(){e=Y(n[23])},l(t){e=x(t,n[23])},m(t,l){K(t,e,l)},p:pe,d(t){t&&_(e)}}}function Kn(n){let e=q("cancel")+"",t;return{c(){t=Y(e)},l(l){t=x(l,e)},m(l,i){K(l,t,i)},p:pe,d(l){l&&_(t)}}}function Rn(n){let e,t,l,i,r;function o(){return n[32](n[55])}return t=new mt({props:{disabled:n[15](n[55]),$$slots:{default:[Fn]},$$scope:{ctx:n}}}),t.$on("click",o),i=new mt({props:{variant:"ghost",href:n[22],$$slots:{default:[Kn]},$$scope:{ctx:n}}}),{c(){e=W("div"),L(t.$$.fragment),l=H(),L(i.$$.fragment),this.h()},l(s){e=V(s,"DIV",{class:!0});var u=T(e);A(t.$$.fragment,u),l=P(u),A(i.$$.fragment,u),u.forEach(_),this.h()},h(){Q(e,"class","mt-8 flex items-center gap-2")},m(s,u){K(s,e,u),N(t,e,null),h(e,l),N(i,e,null),r=!0},p(s,u){n=s;const a={};u[0]&32768|u[1]&16777216&&(a.disabled=n[15](n[55])),u[1]&33554432&&(a.$$scope={dirty:u,ctx:n}),t.$set(a);const d={};u[1]&33554432&&(d.$$scope={dirty:u,ctx:n}),i.$set(d)},i(s){r||(M(t.$$.fragment,s),M(i.$$.fragment,s),r=!0)},o(s){C(t.$$.fragment,s),C(i.$$.fragment,s),r=!1},d(s){s&&_(e),U(t),U(i)}}}function jn(n){let e,t,l,i;const r=[Bn,Un],o=[];function s(u,a){return u[17]?0:1}return t=s(n),l=o[t]=r[t](n),{c(){e=W("div"),l.c(),this.h()},l(u){e=V(u,"DIV",{class:!0});var a=T(e);l.l(a),a.forEach(_),this.h()},h(){Q(e,"class","pb-20")},m(u,a){K(u,e,a),o[t].m(e,null),i=!0},p(u,a){let d=t;t=s(u),t===d?o[t].p(u,a):(tt(),C(o[d],1,1,()=>{o[d]=null}),nt(),l=o[t],l?l.p(u,a):(l=o[t]=r[t](u),l.c()),M(l,1),l.m(e,null))},i(u){i||(M(l),i=!0)},o(u){C(l),i=!1},d(u){u&&_(e),o[t].d()}}}function zn(n,e,t){let l,i,r,o;je(n,xe,O=>t(16,i=O)),je(n,Vt,O=>t(53,r=O)),je(n,Gt,O=>t(17,o=O));var s,u,a,d,f,c,m,g,b,y,w;let{schedule:I=null}=e,{onConfirm:B}=e,J=r.params.namespace,k=r.params.schedule,$=q("schedules",I?"edit":"create"),D=q("schedules",I?"editing":"creating"),se=q("schedules",I?"back-to-schedule":"back-to-schedules"),X=I?Jt({namespace:J,scheduleId:k}):Zt({namespace:J}),F=I?q("save"):q("schedules","create"),ne={},S=k??"",Z=(d=(a=(u=(s=I==null?void 0:I.action)===null||s===void 0?void 0:s.startWorkflow)===null||u===void 0?void 0:u.workflowType)===null||a===void 0?void 0:a.name)!==null&&d!==void 0?d:"",ie=(m=(c=(f=I==null?void 0:I.action)===null||f===void 0?void 0:f.startWorkflow)===null||c===void 0?void 0:c.workflowId)!==null&&m!==void 0?m:"",ue=(w=(y=(b=(g=I==null?void 0:I.action)===null||g===void 0?void 0:g.startWorkflow)===null||b===void 0?void 0:b.taskQueue)===null||y===void 0?void 0:y.name)!==null&&w!==void 0?w:"",ee=[],ae=[],de=[],he="",re="",p="",te="",_e="",fe="";const oe=(O,be)=>{B(O,{name:S,workflowType:Z,workflowId:ie,taskQueue:ue,hour:re,minute:p,second:te,phase:_e,cronString:fe,daysOfWeek:ee,daysOfMonth:ae,days:he,months:de},be)},Oe=O=>{const{id:be}=O.target;t(13,ne[be]=!1,ne),i&&dt(xe,i="",i)},Ee=O=>{const{value:be,id:we}=O.target;be.trim()?t(13,ne[we]=!1,ne):t(13,ne[we]=!0,ne)};Lt(()=>dt(xe,i="",i));function me(O){S=O,t(1,S)}function ge(O){Z=O,t(2,Z)}function ke(O){ie=O,t(3,ie)}function ye(O){ue=O,t(4,ue)}const $e=O=>oe(O,I);function Pe(O){ee=O,t(5,ee)}function Ce(O){ae=O,t(6,ae)}function Qe(O){de=O,t(7,de)}function Le(O){he=O,t(8,he)}function Fe(O){re=O,t(9,re)}function ve(O){p=O,t(10,p)}function v(O){te=O,t(11,te)}function R(O){_e=O,t(14,_e)}function Ve(O){fe=O,t(12,fe)}return n.$$set=O=>{"schedule"in O&&t(0,I=O.schedule),"onConfirm"in O&&t(27,B=O.onConfirm)},n.$$.update=()=>{n.$$.dirty[0]&8190&&t(15,l=O=>!S||!Z||!ie||!ue?!0:O==="interval"?!he&&!re&&!p&&!te:O==="week"?!ee.length:O==="month"?!ae.length||!de.length:O==="string"?!fe:!1)},[I,S,Z,ie,ue,ee,ae,de,he,re,p,te,fe,ne,_e,l,i,o,k,$,D,se,X,F,oe,Oe,Ee,B,me,ge,ke,ye,$e,Pe,Ce,Qe,Le,Fe,ve,v,R,Ve]}class ol extends Me{constructor(e){super(),Se(this,e,zn,jn,We,{schedule:0,onConfirm:27},null,[-1,-1])}}export{ol as S}; diff --git a/ui/assets/local/_app/immutable/chunks/schedule-service.d49fba12.js b/ui/assets/local/_app/immutable/chunks/schedule-service.ccc6562c.js similarity index 96% rename from ui/assets/local/_app/immutable/chunks/schedule-service.d49fba12.js rename to ui/assets/local/_app/immutable/chunks/schedule-service.ccc6562c.js index 612630f65b..c425657388 100644 --- a/ui/assets/local/_app/immutable/chunks/schedule-service.d49fba12.js +++ b/ui/assets/local/_app/immutable/chunks/schedule-service.ccc6562c.js @@ -1 +1 @@ -import{S as T,b as v,a as b,e as g,f as E,z as q,g as f,n as P,h as C,j as h,k as m,N as y,U as k,m as A,C as I,p as N,q as O,D,u as p,E as F,F as j}from"./index.efded970.js";import{C as x}from"./code-block.cc2ffee9.js";import{s as r}from"./parse-with-big-int.bccd89af.js";import{r as u,a as i}from"./route-for-api.1959b395.js";import{v as d}from"./toaster.fd2b66a2.js";function S(a){let t,n,c,o;return n=new x({props:{copyable:!0,inline:a[2],testId:"schedule-calendar",language:"json",content:JSON.stringify(a[0]||a[1],null,2)}}),{c(){t=A("div"),I(n.$$.fragment),this.h()},l(e){t=N(e,"DIV",{class:!0});var s=O(t);D(n.$$.fragment,s),s.forEach(m),this.h()},h(){p(t,"class",c="flex flex-col "+a[3].class)},m(e,s){E(e,t,s),F(n,t,null),o=!0},p(e,s){const l={};s&4&&(l.inline=e[2]),s&3&&(l.content=JSON.stringify(e[0]||e[1],null,2)),n.$set(l),(!o||s&8&&c!==(c="flex flex-col "+e[3].class))&&p(t,"class",c)},i(e){o||(h(n.$$.fragment,e),o=!0)},o(e){f(n.$$.fragment,e),o=!1},d(e){e&&m(t),j(n)}}}function H(a){let t=[a[0],a[1]],n,c,o=S(a);return{c(){o.c(),n=g()},l(e){o.l(e),n=g()},m(e,s){o.m(e,s),E(e,n,s),c=!0},p(e,[s]){s&3&&b(t,t=[e[0],e[1]])?(q(),f(o,1,1,P),C(),o=S(e),o.c(),h(o,1),o.m(n.parentNode,n)):o.p(e,s)},i(e){c||(h(o),c=!0)},o(e){f(o),c=!1},d(e){e&&m(n),o.d(e)}}}function J(a,t,n){let{calendar:c=void 0}=t,{interval:o=void 0}=t,{inline:e=!1}=t;return a.$$set=s=>{n(3,t=y(y({},t),k(s))),"calendar"in s&&n(0,c=s.calendar),"interval"in s&&n(1,o=s.interval),"inline"in s&&n(2,e=s.inline)},t=k(t),[c,o,e,t]}class W extends T{constructor(t){super(),v(this,t,J,H,b,{calendar:0,interval:1,inline:2})}}const w=async(a,t=fetch)=>{let n="";const c=l=>{var _;return n=((_=l==null?void 0:l.body)==null?void 0:_.message)??`Error fetching schedules: ${l.status}: ${l.statusText}`},o=u("schedules",{namespace:a}),{schedules:e,nextPageToken:s}=await i(o,{params:{},onError:c,request:t})??{schedules:[],nextPageToken:""};return{schedules:e,nextPageToken:String(s),error:n}};async function G(a,t=fetch){const n=u("schedule",a);return i(n,{request:t})}async function K(a,t=fetch){const n=u("schedule.delete",a);return i(n,{request:t,options:{method:"DELETE"}})}async function M({namespace:a,body:t}){let n="";const c=s=>{var l;return n=((l=s==null?void 0:s.body)==null?void 0:l.message)??`Error creating schedule: ${s.status}: ${s.statusText}`},o=u("schedules",{namespace:a}),{conflictToken:e}=await i(o,{options:{method:"POST",body:r({request_id:d(),...t})},onError:c});return{conflictToken:e,error:n}}async function Q({namespace:a,scheduleId:t,body:n}){let c="";const o=s=>{var l;return c=((l=s==null?void 0:s.body)==null?void 0:l.message)??`Error editing schedule: ${s.status}: ${s.statusText}`},e=u("schedule",{namespace:a,scheduleId:t});return await i(e,{options:{method:"POST",body:r({request_id:d(),...n})},onError:o}),{error:c}}async function R({namespace:a,scheduleId:t,reason:n}){const c={patch:{pause:n}},o=u("schedule",{namespace:a,scheduleId:t});return await i(o,{options:{method:"PATCH",body:r({...c,request_id:d()})},onError:e=>console.error(e)})}async function X({namespace:a,scheduleId:t,reason:n}){const c={patch:{unpause:n}},o=u("schedule",{namespace:a,scheduleId:t});return await i(o,{options:{method:"PATCH",body:r({...c,request_id:d()})}})}export{W as S,G as a,M as c,K as d,Q as e,w as f,R as p,X as u}; +import{S as T,b as v,a as b,e as g,f as E,z as q,g as f,n as P,h as C,j as h,k as m,N as y,U as k,m as A,C as I,p as N,q as O,D,u as p,E as F,F as j}from"./index.efded970.js";import{C as x}from"./code-block.cc2ffee9.js";import{s as r}from"./parse-with-big-int.bccd89af.js";import{r as u,a as i}from"./route-for-api.28fc22fc.js";import{v as d}from"./toaster.fd2b66a2.js";function S(a){let t,n,c,o;return n=new x({props:{copyable:!0,inline:a[2],testId:"schedule-calendar",language:"json",content:JSON.stringify(a[0]||a[1],null,2)}}),{c(){t=A("div"),I(n.$$.fragment),this.h()},l(e){t=N(e,"DIV",{class:!0});var s=O(t);D(n.$$.fragment,s),s.forEach(m),this.h()},h(){p(t,"class",c="flex flex-col "+a[3].class)},m(e,s){E(e,t,s),F(n,t,null),o=!0},p(e,s){const l={};s&4&&(l.inline=e[2]),s&3&&(l.content=JSON.stringify(e[0]||e[1],null,2)),n.$set(l),(!o||s&8&&c!==(c="flex flex-col "+e[3].class))&&p(t,"class",c)},i(e){o||(h(n.$$.fragment,e),o=!0)},o(e){f(n.$$.fragment,e),o=!1},d(e){e&&m(t),j(n)}}}function H(a){let t=[a[0],a[1]],n,c,o=S(a);return{c(){o.c(),n=g()},l(e){o.l(e),n=g()},m(e,s){o.m(e,s),E(e,n,s),c=!0},p(e,[s]){s&3&&b(t,t=[e[0],e[1]])?(q(),f(o,1,1,P),C(),o=S(e),o.c(),h(o,1),o.m(n.parentNode,n)):o.p(e,s)},i(e){c||(h(o),c=!0)},o(e){f(o),c=!1},d(e){e&&m(n),o.d(e)}}}function J(a,t,n){let{calendar:c=void 0}=t,{interval:o=void 0}=t,{inline:e=!1}=t;return a.$$set=s=>{n(3,t=y(y({},t),k(s))),"calendar"in s&&n(0,c=s.calendar),"interval"in s&&n(1,o=s.interval),"inline"in s&&n(2,e=s.inline)},t=k(t),[c,o,e,t]}class W extends T{constructor(t){super(),v(this,t,J,H,b,{calendar:0,interval:1,inline:2})}}const w=async(a,t=fetch)=>{let n="";const c=l=>{var _;return n=((_=l==null?void 0:l.body)==null?void 0:_.message)??`Error fetching schedules: ${l.status}: ${l.statusText}`},o=u("schedules",{namespace:a}),{schedules:e,nextPageToken:s}=await i(o,{params:{},onError:c,request:t})??{schedules:[],nextPageToken:""};return{schedules:e,nextPageToken:String(s),error:n}};async function G(a,t=fetch){const n=u("schedule",a);return i(n,{request:t})}async function K(a,t=fetch){const n=u("schedule.delete",a);return i(n,{request:t,options:{method:"DELETE"}})}async function M({namespace:a,body:t}){let n="";const c=s=>{var l;return n=((l=s==null?void 0:s.body)==null?void 0:l.message)??`Error creating schedule: ${s.status}: ${s.statusText}`},o=u("schedules",{namespace:a}),{conflictToken:e}=await i(o,{options:{method:"POST",body:r({request_id:d(),...t})},onError:c});return{conflictToken:e,error:n}}async function Q({namespace:a,scheduleId:t,body:n}){let c="";const o=s=>{var l;return c=((l=s==null?void 0:s.body)==null?void 0:l.message)??`Error editing schedule: ${s.status}: ${s.statusText}`},e=u("schedule",{namespace:a,scheduleId:t});return await i(e,{options:{method:"POST",body:r({request_id:d(),...n})},onError:o}),{error:c}}async function R({namespace:a,scheduleId:t,reason:n}){const c={patch:{pause:n}},o=u("schedule",{namespace:a,scheduleId:t});return await i(o,{options:{method:"PATCH",body:r({...c,request_id:d()})},onError:e=>console.error(e)})}async function X({namespace:a,scheduleId:t,reason:n}){const c={patch:{unpause:n}},o=u("schedule",{namespace:a,scheduleId:t});return await i(o,{options:{method:"PATCH",body:r({...c,request_id:d()})}})}export{W as S,G as a,M as c,K as d,Q as e,w as f,R as p,X as u}; diff --git a/ui/assets/local/_app/immutable/chunks/schedules.b362631b.js b/ui/assets/local/_app/immutable/chunks/schedules.80c3a2f9.js similarity index 94% rename from ui/assets/local/_app/immutable/chunks/schedules.b362631b.js rename to ui/assets/local/_app/immutable/chunks/schedules.80c3a2f9.js index ed80767370..13b386738d 100644 --- a/ui/assets/local/_app/immutable/chunks/schedules.b362631b.js +++ b/ui/assets/local/_app/immutable/chunks/schedules.80c3a2f9.js @@ -1 +1 @@ -import{w as k}from"./index.c0615b9d.js";import{g as S}from"./navigation.6d455e31.js";import{c as I,e as T}from"./schedule-service.d49fba12.js";import{c as M,o as O}from"./route-for.f2f7cb1c.js";const f=e=>e?parseInt(e):0,Q=(e,a,s,t)=>`${f(e)*60*60*24+f(a)*60*60+f(s)*60+f(t)}s`,W=({months:e=[],daysOfMonth:a=[],daysOfWeek:s=[]})=>{var c,n;const t=e.sort((o,l)=>parseInt(o)-parseInt(l)).join(","),r=a.sort((o,l)=>o-l).join(","),u=(((n=(c=s==null?void 0:s[0])==null?void 0:c.split(","))==null?void 0:n.length)>1?s[0].split(","):s).sort((o,l)=>parseInt(o)-parseInt(l)).join(",");return{month:t,dayOfMonth:r,dayOfWeek:u}},g=(e,a,s)=>{const{hour:t,minute:r,second:i,phase:u,cronString:c}=a,{preset:n,months:o,days:l,daysOfMonth:p,daysOfWeek:m}=s;if(n==="string"){const d=`${c}#${c}`;e.schedule.spec.cronString=[d],e.schedule.spec.calendar=[],e.schedule.spec.interval=[]}else if(n==="interval"){const d=Q(l,t,r,i);e.schedule.spec.interval=[{interval:d,phase:u||"0s"}],e.schedule.spec.cronString=[],e.schedule.spec.calendar=[]}else{const{month:d,dayOfMonth:v,dayOfWeek:y}=W({months:o,daysOfMonth:p,daysOfWeek:m});e.schedule.spec.calendar=[{year:"*",month:n==="month"?d:"",dayOfMonth:n==="month"?v:"",dayOfWeek:n==="week"?y:"",hour:t,minute:r,second:i}],e.schedule.spec.interval=[],e.schedule.spec.cronString=[]}},x=async({action:e,spec:a,presets:s})=>{const{namespace:t,name:r,workflowId:i,workflowType:u,taskQueue:c}=e,n={schedule_id:r,schedule:{spec:{calendar:[],interval:[],cronString:[]},action:{startWorkflow:{workflowId:i,workflowType:{name:u},taskQueue:{name:c}}}}};g(n,a,s),h.set(!0);const{error:o}=await I({namespace:t,body:n});o?(w.set(o),h.set(!1)):setTimeout(()=>{w.set(""),h.set(!1),S(M({namespace:t}))},2e3)},z=async({action:e,spec:a,presets:s},t,r)=>{const{namespace:i,name:u,workflowId:c,workflowType:n,taskQueue:o}=e,{preset:l}=s,p={schedule_id:r,schedule:{...t,action:{startWorkflow:{...t.action.startWorkflow,workflowId:c,workflowType:{name:n},taskQueue:{name:o}}}}};l==="existing"?p.schedule.spec=t.spec:(g(p,a,s),p.schedule.spec.structuredCalendar=[]),h.set(!0);const{error:m}=await T({namespace:i,scheduleId:r,body:p});m?(w.set(m),h.set(!1)):setTimeout(()=>{S(O({namespace:i,scheduleId:u})),w.set(""),h.set(!1)},2e3)},h=k(!1),w=k("");export{x as a,w as e,h as l,z as s}; +import{w as k}from"./index.c0615b9d.js";import{g as S}from"./navigation.85b47b98.js";import{c as I,e as T}from"./schedule-service.ccc6562c.js";import{c as M,o as O}from"./route-for.8244bd54.js";const f=e=>e?parseInt(e):0,Q=(e,a,s,t)=>`${f(e)*60*60*24+f(a)*60*60+f(s)*60+f(t)}s`,W=({months:e=[],daysOfMonth:a=[],daysOfWeek:s=[]})=>{var c,n;const t=e.sort((o,l)=>parseInt(o)-parseInt(l)).join(","),r=a.sort((o,l)=>o-l).join(","),u=(((n=(c=s==null?void 0:s[0])==null?void 0:c.split(","))==null?void 0:n.length)>1?s[0].split(","):s).sort((o,l)=>parseInt(o)-parseInt(l)).join(",");return{month:t,dayOfMonth:r,dayOfWeek:u}},g=(e,a,s)=>{const{hour:t,minute:r,second:i,phase:u,cronString:c}=a,{preset:n,months:o,days:l,daysOfMonth:p,daysOfWeek:m}=s;if(n==="string"){const d=`${c}#${c}`;e.schedule.spec.cronString=[d],e.schedule.spec.calendar=[],e.schedule.spec.interval=[]}else if(n==="interval"){const d=Q(l,t,r,i);e.schedule.spec.interval=[{interval:d,phase:u||"0s"}],e.schedule.spec.cronString=[],e.schedule.spec.calendar=[]}else{const{month:d,dayOfMonth:v,dayOfWeek:y}=W({months:o,daysOfMonth:p,daysOfWeek:m});e.schedule.spec.calendar=[{year:"*",month:n==="month"?d:"",dayOfMonth:n==="month"?v:"",dayOfWeek:n==="week"?y:"",hour:t,minute:r,second:i}],e.schedule.spec.interval=[],e.schedule.spec.cronString=[]}},x=async({action:e,spec:a,presets:s})=>{const{namespace:t,name:r,workflowId:i,workflowType:u,taskQueue:c}=e,n={schedule_id:r,schedule:{spec:{calendar:[],interval:[],cronString:[]},action:{startWorkflow:{workflowId:i,workflowType:{name:u},taskQueue:{name:c}}}}};g(n,a,s),h.set(!0);const{error:o}=await I({namespace:t,body:n});o?(w.set(o),h.set(!1)):setTimeout(()=>{w.set(""),h.set(!1),S(M({namespace:t}))},2e3)},z=async({action:e,spec:a,presets:s},t,r)=>{const{namespace:i,name:u,workflowId:c,workflowType:n,taskQueue:o}=e,{preset:l}=s,p={schedule_id:r,schedule:{...t,action:{startWorkflow:{...t.action.startWorkflow,workflowId:c,workflowType:{name:n},taskQueue:{name:o}}}}};l==="existing"?p.schedule.spec=t.spec:(g(p,a,s),p.schedule.spec.structuredCalendar=[]),h.set(!0);const{error:m}=await T({namespace:i,scheduleId:r,body:p});m?(w.set(m),h.set(!1)):setTimeout(()=>{S(O({namespace:i,scheduleId:u})),w.set(""),h.set(!1)},2e3)},h=k(!1),w=k("");export{x as a,w as e,h as l,z as s}; diff --git a/ui/assets/local/_app/immutable/chunks/settings-service.61c40f69.js b/ui/assets/local/_app/immutable/chunks/settings-service.d3fae296.js similarity index 96% rename from ui/assets/local/_app/immutable/chunks/settings-service.61c40f69.js rename to ui/assets/local/_app/immutable/chunks/settings-service.d3fae296.js index 2cf5a77912..45c46aed46 100644 --- a/ui/assets/local/_app/immutable/chunks/settings-service.61c40f69.js +++ b/ui/assets/local/_app/immutable/chunks/settings-service.d3fae296.js @@ -1 +1 @@ -import{s as D}from"./settings.f4bcc2b2.js";import{r as t,a as k,g as h}from"./route-for-api.1959b395.js";function A(){return{}.VITE_TEMPORAL_UI_BUILD_TARGET??null}const w=/(tmprl\.cloud|tmprl-test\.cloud)$/,C=async(m=fetch)=>{var l,c,d,i,u,f;const b=t("settings"),r=await k(b,{request:m}),a=A(),o={auth:{enabled:!!((l=r==null?void 0:r.Auth)!=null&&l.Enabled),options:(c=r==null?void 0:r.Auth)==null?void 0:c.Options},baseUrl:h(),codec:{endpoint:(d=r==null?void 0:r.Codec)==null?void 0:d.Endpoint,passAccessToken:(i=r==null?void 0:r.Codec)==null?void 0:i.PassAccessToken,includeCredentials:(u=r==null?void 0:r.Codec)==null?void 0:u.IncludeCredentials,decodeEventHistoryDownload:(f=r==null?void 0:r.Codec)==null?void 0:f.DecodeEventHistoryDownload},defaultNamespace:(r==null?void 0:r.DefaultNamespace)||"default",disableWriteActions:!!(r!=null&&r.DisableWriteActions)||!1,workflowTerminateDisabled:!!(r!=null&&r.WorkflowTerminateDisabled),workflowCancelDisabled:!!(r!=null&&r.WorkflowCancelDisabled),workflowSignalDisabled:!!(r!=null&&r.WorkflowSignalDisabled),workflowResetDisabled:!!(r!=null&&r.WorkflowResetDisabled),batchActionsDisabled:!!(r!=null&&r.BatchActionsDisabled),hideWorkflowQueryErrors:!!(r!=null&&r.HideWorkflowQueryErrors),showTemporalSystemNamespace:r==null?void 0:r.ShowTemporalSystemNamespace,notifyOnNewVersion:r==null?void 0:r.NotifyOnNewVersion,feedbackURL:r==null?void 0:r.FeedbackURL,runtimeEnvironment:{get isCloud(){return a?a==="cloud":w.test(window.location.hostname)},get isLocal(){return a?a==="local":w.test(window.location.hostname)},envOverride:Boolean(a)},version:r==null?void 0:r.Version};return D.set(o),o};export{C as f,w as i}; +import{s as D}from"./settings.f4bcc2b2.js";import{r as t,a as k,g as h}from"./route-for-api.28fc22fc.js";function A(){return{}.VITE_TEMPORAL_UI_BUILD_TARGET??null}const w=/(tmprl\.cloud|tmprl-test\.cloud)$/,C=async(m=fetch)=>{var l,c,d,i,u,f;const b=t("settings"),r=await k(b,{request:m}),a=A(),o={auth:{enabled:!!((l=r==null?void 0:r.Auth)!=null&&l.Enabled),options:(c=r==null?void 0:r.Auth)==null?void 0:c.Options},baseUrl:h(),codec:{endpoint:(d=r==null?void 0:r.Codec)==null?void 0:d.Endpoint,passAccessToken:(i=r==null?void 0:r.Codec)==null?void 0:i.PassAccessToken,includeCredentials:(u=r==null?void 0:r.Codec)==null?void 0:u.IncludeCredentials,decodeEventHistoryDownload:(f=r==null?void 0:r.Codec)==null?void 0:f.DecodeEventHistoryDownload},defaultNamespace:(r==null?void 0:r.DefaultNamespace)||"default",disableWriteActions:!!(r!=null&&r.DisableWriteActions)||!1,workflowTerminateDisabled:!!(r!=null&&r.WorkflowTerminateDisabled),workflowCancelDisabled:!!(r!=null&&r.WorkflowCancelDisabled),workflowSignalDisabled:!!(r!=null&&r.WorkflowSignalDisabled),workflowResetDisabled:!!(r!=null&&r.WorkflowResetDisabled),batchActionsDisabled:!!(r!=null&&r.BatchActionsDisabled),hideWorkflowQueryErrors:!!(r!=null&&r.HideWorkflowQueryErrors),showTemporalSystemNamespace:r==null?void 0:r.ShowTemporalSystemNamespace,notifyOnNewVersion:r==null?void 0:r.NotifyOnNewVersion,feedbackURL:r==null?void 0:r.FeedbackURL,runtimeEnvironment:{get isCloud(){return a?a==="cloud":w.test(window.location.hostname)},get isLocal(){return a?a==="local":w.test(window.location.hostname)},envOverride:Boolean(a)},version:r==null?void 0:r.Version};return D.set(o),o};export{C as f,w as i}; diff --git a/ui/assets/local/_app/immutable/chunks/singletons.96ee7baa.js b/ui/assets/local/_app/immutable/chunks/singletons.b88fa2bd.js similarity index 97% rename from ui/assets/local/_app/immutable/chunks/singletons.96ee7baa.js rename to ui/assets/local/_app/immutable/chunks/singletons.b88fa2bd.js index 68916361cb..dcb386cbbb 100644 --- a/ui/assets/local/_app/immutable/chunks/singletons.96ee7baa.js +++ b/ui/assets/local/_app/immutable/chunks/singletons.b88fa2bd.js @@ -1 +1 @@ -import{w as u}from"./index.c0615b9d.js";import{a as h}from"./paths.988b483c.js";const g="1694455467065",w="sveltekit:snapshot",A="sveltekit:scroll",R="sveltekit:index",f={tap:1,hover:2,viewport:3,eager:4,off:-1};function I(e){let t=e.baseURI;if(!t){const n=e.getElementsByTagName("base");t=n.length?n[0].href:e.URL}return t}function S(){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 y(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=_(e)}}function T(e,t){let n;try{n=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const l=e instanceof SVGAElement?e.target.baseVal:e.target,s=!n||!!l||v(n,t)||(e.getAttribute("rel")||"").split(/\s+/).includes("external")||e.hasAttribute("download");return{url:n,external:s,target:l}}function x(e){let t=null,n=null,l=null,s=null,r=null,a=null,o=e;for(;o&&o!==document.documentElement;)l===null&&(l=i(o,"preload-code")),s===null&&(s=i(o,"preload-data")),t===null&&(t=i(o,"keepfocus")),n===null&&(n=i(o,"noscroll")),r===null&&(r=i(o,"reload")),a===null&&(a=i(o,"replacestate")),o=_(o);return{preload_code:d[l??"off"],preload_data:d[s??"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:a==="off"?!1:a===""?!0:null}}function p(e){const t=u(e);let n=!0;function l(){n=!0,t.update(a=>a)}function s(a){n=!1,t.set(a)}function r(a){let o;return t.subscribe(c=>{(o===void 0||n&&c!==o)&&a(o=c)})}return{notify:l,set:s,subscribe:r}}function b(){const{set:e,subscribe:t}=u(!1);let n;async function l(){clearTimeout(n);const s=await fetch(`${h}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(s.ok){const a=(await s.json()).version!==g;return a&&(e(!0),clearTimeout(n)),a}else throw new Error(`Version check failed: ${s.status}`)}return{subscribe:t,check:l}}function v(e,t){return e.origin!==location.origin||!e.pathname.startsWith(t)}let k;function O(e){k=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,T as b,x as c,S as d,O as e,y as f,I as g,k as h,v as i,U as s}; +import{w as u}from"./index.c0615b9d.js";import{a as h}from"./paths.898c1036.js";const g="1694525300293",w="sveltekit:snapshot",A="sveltekit:scroll",R="sveltekit:index",f={tap:1,hover:2,viewport:3,eager:4,off:-1};function I(e){let t=e.baseURI;if(!t){const n=e.getElementsByTagName("base");t=n.length?n[0].href:e.URL}return t}function S(){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 y(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=_(e)}}function T(e,t){let n;try{n=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const l=e instanceof SVGAElement?e.target.baseVal:e.target,s=!n||!!l||v(n,t)||(e.getAttribute("rel")||"").split(/\s+/).includes("external")||e.hasAttribute("download");return{url:n,external:s,target:l}}function x(e){let t=null,n=null,l=null,s=null,r=null,a=null,o=e;for(;o&&o!==document.documentElement;)l===null&&(l=i(o,"preload-code")),s===null&&(s=i(o,"preload-data")),t===null&&(t=i(o,"keepfocus")),n===null&&(n=i(o,"noscroll")),r===null&&(r=i(o,"reload")),a===null&&(a=i(o,"replacestate")),o=_(o);return{preload_code:d[l??"off"],preload_data:d[s??"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:a==="off"?!1:a===""?!0:null}}function p(e){const t=u(e);let n=!0;function l(){n=!0,t.update(a=>a)}function s(a){n=!1,t.set(a)}function r(a){let o;return t.subscribe(c=>{(o===void 0||n&&c!==o)&&a(o=c)})}return{notify:l,set:s,subscribe:r}}function b(){const{set:e,subscribe:t}=u(!1);let n;async function l(){clearTimeout(n);const s=await fetch(`${h}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(s.ok){const a=(await s.json()).version!==g;return a&&(e(!0),clearTimeout(n)),a}else throw new Error(`Version check failed: ${s.status}`)}return{subscribe:t,check:l}}function v(e,t){return e.origin!==location.origin||!e.pathname.startsWith(t)}let k;function O(e){k=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,T as b,x as c,S as d,O as e,y as f,I as g,k as h,v as i,U as s}; diff --git a/ui/assets/local/_app/immutable/chunks/stores.83aed68d.js b/ui/assets/local/_app/immutable/chunks/stores.3002bd93.js similarity index 69% rename from ui/assets/local/_app/immutable/chunks/stores.83aed68d.js rename to ui/assets/local/_app/immutable/chunks/stores.3002bd93.js index 7210dc0f9d..a865e3305b 100644 --- a/ui/assets/local/_app/immutable/chunks/stores.83aed68d.js +++ b/ui/assets/local/_app/immutable/chunks/stores.3002bd93.js @@ -1 +1 @@ -import"./index.efded970.js";import{s as t}from"./singletons.96ee7baa.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.efded970.js";import{s as t}from"./singletons.b88fa2bd.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.9fe9f320.js b/ui/assets/local/_app/immutable/chunks/toggle-buttons.59bb67f3.js similarity index 98% rename from ui/assets/local/_app/immutable/chunks/toggle-buttons.9fe9f320.js rename to ui/assets/local/_app/immutable/chunks/toggle-buttons.59bb67f3.js index f0ac8e0b14..6a5318cde9 100644 --- a/ui/assets/local/_app/immutable/chunks/toggle-buttons.9fe9f320.js +++ b/ui/assets/local/_app/immutable/chunks/toggle-buttons.59bb67f3.js @@ -1 +1 @@ -import{ae as J,S as G,b as H,a as P,e as U,f as E,j as g,g as b,k as h,T as j,K,N as T,U as L,m as k,p as C,q as y,ah as z,O as B,P as d,Q as O,z as Q,h as R,R as M,V as W,G as S,H as V,I as q,J as A,C as X,c as Y,D as Z,d as w,u as D,E as $,L as F,F as x,ad as ee}from"./index.efded970.js";import{p as te}from"./stores.83aed68d.js";import{I as le}from"./icon.91a9bf44.js";function se(n){return J(n)}function ne(n){let e;const s=n[9].default,a=S(s,n,n[8],null);return{c(){a&&a.c()},l(t){a&&a.l(t)},m(t,l){a&&a.m(t,l),e=!0},p(t,l){a&&a.p&&(!e||l&256)&&V(a,s,t,t[8],e?A(s,t[8],l,null):q(t[8]),null)},i(t){e||(g(a,t),e=!0)},o(t){b(a,t),e=!1},d(t){a&&a.d(t)}}}function ae(n){let e,s,a,t,l;s=new le({props:{name:n[1]}});const r=n[9].default,f=S(r,n,n[8],null);return{c(){e=k("div"),X(s.$$.fragment),a=Y(),t=k("span"),f&&f.c(),this.h()},l(i){e=C(i,"DIV",{class:!0});var c=y(e);Z(s.$$.fragment,c),a=w(c),t=C(c,"SPAN",{class:!0});var _=y(t);f&&f.l(_),_.forEach(h),c.forEach(h),this.h()},h(){D(t,"class","hidden md:block"),D(e,"class","flex items-center gap-2")},m(i,c){E(i,e,c),$(s,e,null),F(e,a),F(e,t),f&&f.m(t,null),l=!0},p(i,c){const _={};c&2&&(_.name=i[1]),s.$set(_),f&&f.p&&(!l||c&256)&&V(f,r,i,i[8],l?A(r,i[8],c,null):q(i[8]),null)},i(i){l||(g(s.$$.fragment,i),g(f,i),l=!0)},o(i){b(s.$$.fragment,i),b(f,i),l=!1},d(i){i&&h(e),x(s),f&&f.d(i)}}}function N(n){let e,s,a,t,l,r,f,i;const c=[ae,ne],_=[];function p(o,u){return o[1]?0:1}s=p(n),a=_[s]=c[s](n);let v=[{class:t="toggle-button "+n[0]},{href:l=n[3]?n[3]+n[6].url.search:null},{role:"button"},{tabindex:"0"},n[7]],m={};for(let o=0;o{_[I]=null}),R(),a=_[s],a?a.p(o,u):(a=_[s]=c[s](o),a.c()),g(a,1),a.m(e,null)),m=M(v,[(!r||u&1&&t!==(t="toggle-button "+o[0]))&&{class:t},(!r||u&72&&l!==(l=o[3]?o[3]+o[6].url.search:null))&&{href:l},{role:"button"},{tabindex:"0"},u&128&&o[7]]),/-/.test(o[3]?"a":"button")?z(e,m):B(e,m),d(e,"group",o[2]),d(e,"active",o[3]?o[6].url.pathname.includes(o[4]):o[5]),d(e,"rounded-lg",!o[2]),d(e,"svelte-1yudo3l",!0)},i(o){r||(g(a),r=!0)},o(o){b(a),r=!1},d(o){o&&h(e),_[s].d(),f=!1,i()}}}function oe(n){let e=n[3]?"a":"button",s,a,t=(n[3]?"a":"button")&&N(n);return{c(){t&&t.c(),s=U()},l(l){t&&t.l(l),s=U()},m(l,r){t&&t.m(l,r),E(l,s,r),a=!0},p(l,[r]){l[3],e?P(e,l[3]?"a":"button")?(t.d(1),t=N(l),t.c(),t.m(s.parentNode,s)):t.p(l,r):(t=N(l),t.c(),t.m(s.parentNode,s)),e=l[3]?"a":"button"},i(l){a||(g(t),a=!0)},o(l){b(t),a=!1},d(l){l&&h(s),t&&t.d(l)}}}function ue(n,e,s){const a=["class","icon","group","href","base","active"];let t=j(e,a),l;K(n,te,u=>s(6,l=u));let{$$slots:r={},$$scope:f}=e,{class:i=""}=e,{icon:c=null}=e,{group:_=se("group")}=e,{href:p=""}=e,{base:v=p}=e,{active:m=!1}=e;function o(u){W.call(this,n,u)}return n.$$set=u=>{e=T(T({},e),L(u)),s(7,t=j(e,a)),"class"in u&&s(0,i=u.class),"icon"in u&&s(1,c=u.icon),"group"in u&&s(2,_=u.group),"href"in u&&s(3,p=u.href),"base"in u&&s(4,v=u.base),"active"in u&&s(5,m=u.active),"$$scope"in u&&s(8,f=u.$$scope)},[i,c,_,p,v,m,l,t,f,r,o]}class me extends G{constructor(e){super(),H(this,e,ue,oe,P,{class:0,icon:1,group:2,href:3,base:4,active:5})}}function re(n){let e,s;const a=n[1].default,t=S(a,n,n[0],null);return{c(){e=k("div"),t&&t.c(),this.h()},l(l){e=C(l,"DIV",{class:!0});var r=y(e);t&&t.l(r),r.forEach(h),this.h()},h(){D(e,"class","flex")},m(l,r){E(l,e,r),t&&t.m(e,null),s=!0},p(l,[r]){t&&t.p&&(!s||r&1)&&V(t,a,l,l[0],s?A(a,l[0],r,null):q(l[0]),null)},i(l){s||(g(t,l),s=!0)},o(l){b(t,l),s=!1},d(l){l&&h(e),t&&t.d(l)}}}function ie(n,e,s){let{$$slots:a={},$$scope:t}=e;return ee("group",!0),n.$$set=l=>{"$$scope"in l&&s(0,t=l.$$scope)},[t,a]}class de extends G{constructor(e){super(),H(this,e,ie,re,P,{})}}export{de as T,me as a}; +import{ae as J,S as G,b as H,a as P,e as U,f as E,j as g,g as b,k as h,T as j,K,N as T,U as L,m as k,p as C,q as y,ah as z,O as B,P as d,Q as O,z as Q,h as R,R as M,V as W,G as S,H as V,I as q,J as A,C as X,c as Y,D as Z,d as w,u as D,E as $,L as F,F as x,ad as ee}from"./index.efded970.js";import{p as te}from"./stores.3002bd93.js";import{I as le}from"./icon.91a9bf44.js";function se(n){return J(n)}function ne(n){let e;const s=n[9].default,a=S(s,n,n[8],null);return{c(){a&&a.c()},l(t){a&&a.l(t)},m(t,l){a&&a.m(t,l),e=!0},p(t,l){a&&a.p&&(!e||l&256)&&V(a,s,t,t[8],e?A(s,t[8],l,null):q(t[8]),null)},i(t){e||(g(a,t),e=!0)},o(t){b(a,t),e=!1},d(t){a&&a.d(t)}}}function ae(n){let e,s,a,t,l;s=new le({props:{name:n[1]}});const r=n[9].default,f=S(r,n,n[8],null);return{c(){e=k("div"),X(s.$$.fragment),a=Y(),t=k("span"),f&&f.c(),this.h()},l(i){e=C(i,"DIV",{class:!0});var c=y(e);Z(s.$$.fragment,c),a=w(c),t=C(c,"SPAN",{class:!0});var _=y(t);f&&f.l(_),_.forEach(h),c.forEach(h),this.h()},h(){D(t,"class","hidden md:block"),D(e,"class","flex items-center gap-2")},m(i,c){E(i,e,c),$(s,e,null),F(e,a),F(e,t),f&&f.m(t,null),l=!0},p(i,c){const _={};c&2&&(_.name=i[1]),s.$set(_),f&&f.p&&(!l||c&256)&&V(f,r,i,i[8],l?A(r,i[8],c,null):q(i[8]),null)},i(i){l||(g(s.$$.fragment,i),g(f,i),l=!0)},o(i){b(s.$$.fragment,i),b(f,i),l=!1},d(i){i&&h(e),x(s),f&&f.d(i)}}}function N(n){let e,s,a,t,l,r,f,i;const c=[ae,ne],_=[];function p(o,u){return o[1]?0:1}s=p(n),a=_[s]=c[s](n);let v=[{class:t="toggle-button "+n[0]},{href:l=n[3]?n[3]+n[6].url.search:null},{role:"button"},{tabindex:"0"},n[7]],m={};for(let o=0;o{_[I]=null}),R(),a=_[s],a?a.p(o,u):(a=_[s]=c[s](o),a.c()),g(a,1),a.m(e,null)),m=M(v,[(!r||u&1&&t!==(t="toggle-button "+o[0]))&&{class:t},(!r||u&72&&l!==(l=o[3]?o[3]+o[6].url.search:null))&&{href:l},{role:"button"},{tabindex:"0"},u&128&&o[7]]),/-/.test(o[3]?"a":"button")?z(e,m):B(e,m),d(e,"group",o[2]),d(e,"active",o[3]?o[6].url.pathname.includes(o[4]):o[5]),d(e,"rounded-lg",!o[2]),d(e,"svelte-1yudo3l",!0)},i(o){r||(g(a),r=!0)},o(o){b(a),r=!1},d(o){o&&h(e),_[s].d(),f=!1,i()}}}function oe(n){let e=n[3]?"a":"button",s,a,t=(n[3]?"a":"button")&&N(n);return{c(){t&&t.c(),s=U()},l(l){t&&t.l(l),s=U()},m(l,r){t&&t.m(l,r),E(l,s,r),a=!0},p(l,[r]){l[3],e?P(e,l[3]?"a":"button")?(t.d(1),t=N(l),t.c(),t.m(s.parentNode,s)):t.p(l,r):(t=N(l),t.c(),t.m(s.parentNode,s)),e=l[3]?"a":"button"},i(l){a||(g(t),a=!0)},o(l){b(t),a=!1},d(l){l&&h(s),t&&t.d(l)}}}function ue(n,e,s){const a=["class","icon","group","href","base","active"];let t=j(e,a),l;K(n,te,u=>s(6,l=u));let{$$slots:r={},$$scope:f}=e,{class:i=""}=e,{icon:c=null}=e,{group:_=se("group")}=e,{href:p=""}=e,{base:v=p}=e,{active:m=!1}=e;function o(u){W.call(this,n,u)}return n.$$set=u=>{e=T(T({},e),L(u)),s(7,t=j(e,a)),"class"in u&&s(0,i=u.class),"icon"in u&&s(1,c=u.icon),"group"in u&&s(2,_=u.group),"href"in u&&s(3,p=u.href),"base"in u&&s(4,v=u.base),"active"in u&&s(5,m=u.active),"$$scope"in u&&s(8,f=u.$$scope)},[i,c,_,p,v,m,l,t,f,r,o]}class me extends G{constructor(e){super(),H(this,e,ue,oe,P,{class:0,icon:1,group:2,href:3,base:4,active:5})}}function re(n){let e,s;const a=n[1].default,t=S(a,n,n[0],null);return{c(){e=k("div"),t&&t.c(),this.h()},l(l){e=C(l,"DIV",{class:!0});var r=y(e);t&&t.l(r),r.forEach(h),this.h()},h(){D(e,"class","flex")},m(l,r){E(l,e,r),t&&t.m(e,null),s=!0},p(l,[r]){t&&t.p&&(!s||r&1)&&V(t,a,l,l[0],s?A(a,l[0],r,null):q(l[0]),null)},i(l){s||(g(t,l),s=!0)},o(l){b(t,l),s=!1},d(l){l&&h(e),t&&t.d(l)}}}function ie(n,e,s){let{$$slots:a={},$$scope:t}=e;return ee("group",!0),n.$$set=l=>{"$$scope"in l&&s(0,t=l.$$scope)},[t,a]}class de extends G{constructor(e){super(),H(this,e,ie,re,P,{})}}export{de as T,me as a}; diff --git a/ui/assets/local/_app/immutable/chunks/workers-list.4f77c93c.js b/ui/assets/local/_app/immutable/chunks/workers-list.b54d3495.js similarity index 99% rename from ui/assets/local/_app/immutable/chunks/workers-list.4f77c93c.js rename to ui/assets/local/_app/immutable/chunks/workers-list.b54d3495.js index 5350902a2d..6eeecc7887 100644 --- a/ui/assets/local/_app/immutable/chunks/workers-list.4f77c93c.js +++ b/ui/assets/local/_app/immutable/chunks/workers-list.b54d3495.js @@ -1,3 +1,3 @@ -import{S as Se,b as Ae,a as Fe,m as v,w as V,c as F,C as W,p as g,q as E,x as S,k as c,d as Q,D as L,u as k,f as h,L as w,E as K,y as re,j as T,z as J,g as D,h as U,F as M,K as ue,e as G,a9 as Ne,aa as Re,n as Y,a6 as Qe,P as ce}from"./index.efded970.js";import{B as Be}from"./badge.72fa1965.js";import{c as Oe,C as ie}from"./pollers-service.956dcc71.js";import{E as He}from"./empty-state.22810bcf.js";import{I as ae}from"./icon.91a9bf44.js";import{T as Pe,a as Ce}from"./table-header-row.b413d43a.js";import{T as Ve}from"./table-row.6be25099.js";import{t as A}from"./translate.230dcc19.js";import{t as qe,r as We,b as _e}from"./format-date.be4b741e.js";import{d as Le,a as Ke,e as Me,f as me,h as de}from"./task-queue-compatibility.cf5696f8.js";function pe(n,e,l){const t=n.slice();t[8]=e[l];const r=Me(t[8]);t[9]=r;const s=Oe(t[2],t[0],t[9]);return t[10]=s,t}function he(n,e,l){const t=n.slice();return t[13]=e[l],t[15]=l,t}function $e(n,e,l){const t=n.slice();return t[9]=e[l],t}function be(n){let e,l=A("workers","version-sets")+"",t,r,s,u;return s=new Pe({props:{class:"mb-6 w-full min-w-[600px] table-fixed",$$slots:{headers:[Xe],default:[Je]},$$scope:{ctx:n}}}),{c(){e=v("h2"),t=V(l),r=F(),W(s.$$.fragment),this.h()},l(a){e=g(a,"H2",{class:!0,"data-testid":!0});var f=E(e);t=S(f,l),f.forEach(c),r=Q(a),L(s.$$.fragment,a),this.h()},h(){k(e,"class","text-base font-medium"),k(e,"data-testid","version-sets")},m(a,f){h(a,e,f),w(e,t),h(a,r,f),K(s,a,f),u=!0},p(a,f){const i={};f&262160&&(i.$$scope={dirty:f,ctx:a}),s.$set(i)},i(a){u||(T(s.$$.fragment,a),u=!0)},o(a){D(s.$$.fragment,a),u=!1},d(a){a&&c(e),a&&c(r),M(s,a)}}}function ke(n){let e,l,t,r,s;return t=new He({props:{title:A("workers","no-version-sets-found")}}),{c(){e=v("tr"),l=v("td"),W(t.$$.fragment),r=F(),this.h()},l(u){e=g(u,"TR",{class:!0});var a=E(e);l=g(a,"TD",{colspan:!0});var f=E(l);L(t.$$.fragment,f),f.forEach(c),r=Q(a),a.forEach(c),this.h()},h(){k(l,"colspan","6"),k(e,"class","w-full")},m(u,a){h(u,e,a),w(e,l),K(t,l,null),w(e,r),s=!0},p:Y,i(u){s||(T(t.$$.fragment,u),s=!0)},o(u){D(t.$$.fragment,u),s=!1},d(u){u&&c(e),M(t)}}}function we(n){let e=A("workers","overall")+"",l;return{c(){l=V(e)},l(t){l=S(t,e)},m(t,r){h(t,l,r)},p:Y,d(t){t&&c(l)}}}function je(n){let e,l=n[15]===0&&we();return{c(){l&&l.c(),e=G()},l(t){l&&l.l(t),e=G()},m(t,r){l&&l.m(t,r),h(t,e,r)},p(t,r){t[15]===0?l?l.p(t,r):(l=we(),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null)},d(t){l&&l.d(t),t&&c(e)}}}function ze(n){let e=A("workers","default")+"",l;return{c(){l=V(e)},l(t){l=S(t,e)},m(t,r){h(t,l,r)},p:Y,d(t){t&&c(l)}}}function Ye(n){let e=A("workers","default")+"",l,t;return{c(){l=V(e),t=F()},l(r){l=S(r,e),t=Q(r)},m(r,s){h(r,l,s),h(r,t,s)},p:Y,d(r){r&&c(l),r&&c(t)}}}function ve(n){let e,l;return e=new ie({props:{active:!1,buildId:n[9],$$slots:{"default-worker":[Ye]},$$scope:{ctx:n}}}),{c(){W(e.$$.fragment)},l(t){L(e.$$.fragment,t)},m(t,r){K(e,t,r),l=!0},p(t,r){const s={};r&16&&(s.buildId=t[9]),r&262144&&(s.$$scope={dirty:r,ctx:t}),e.$set(s)},i(t){l||(T(e.$$.fragment,t),l=!0)},o(t){D(e.$$.fragment,t),l=!1},d(t){M(e,t)}}}function Ge(n){let e,l,t,r,s,u,a;l=new ie({props:{defaultVersion:!0,active:n[15]===0,buildId:me(n[13].buildIds),$$slots:{"default-worker":[ze],"overall-default-worker":[je]},$$scope:{ctx:n}}});let f=de(n[13].buildIds),i=[];for(let o=0;oD(i[o],1,1,()=>{i[o]=null});return{c(){e=v("td"),W(l.$$.fragment),t=F(),r=v("td"),s=v("div");for(let o=0;of[15];for(let f=0;f{a=null}),U()):(a=ke(),a.c(),T(a,1),a.m(t.parentNode,t)))},i(f){if(!r){for(let i=0;i{m=null}),U()),(!q||H&98)&&i!==(i=_e(p[8].lastAccessTime,p[5],{relative:p[6]})+"")&&re(_,i);let x=b;b=X(p,H),b===x?j[b].p(p,H):(J(),D(j[x],1,1,()=>{j[x]=null}),U(),I=j[b],I?I.p(p,H):(I=j[b]=N[b](p),I.c()),T(I,1),I.m(d,null));let ee=O;O=te(p,H),O===ee?z[O].p(p,H):(J(),D(z[ee],1,1,()=>{z[ee]=null}),U(),$=z[O],$?$.p(p,H):($=z[O]=Z[O](p),$.c()),T($,1),$.m(B,null))},i(p){q||(T(m),T(I),T($),q=!0)},o(p){D(m),D(I),D($),q=!1},d(p){p&&c(e),p&&c(s),m&&m.d(p),p&&c(u),p&&c(a),p&&c(o),p&&c(d),j[b].d(),p&&c(C),p&&c(B),z[O].d(),p&&c(P)}}}function Ie(n,e){let l,t,r;return t=new Ve({props:{"data-testid":"worker-row",$$slots:{default:[at]},$$scope:{ctx:e}}}),{key:n,first:null,c(){l=G(),W(t.$$.fragment),this.h()},l(s){l=G(),L(t.$$.fragment,s),this.h()},h(){this.first=l},m(s,u){h(s,l,u),K(t,s,u),r=!0},p(s,u){e=s;const a={};u&262255&&(a.$$scope={dirty:u,ctx:e}),t.$set(a)},i(s){r||(T(t.$$.fragment,s),r=!0)},o(s){D(t.$$.fragment,s),r=!1},d(s){s&&c(l),M(t,s)}}}function it(n){var f;let e=[],l=new Map,t,r,s=(f=n[1])==null?void 0:f.pollers;const u=i=>i[8].identity;for(let i=0;i{a=null}),U()):(a=Ee(i),a.c(),T(a,1),a.m(t.parentNode,t)))},i(i){if(!r){for(let _=0;_D(i[o],1,1,()=>{i[o]=null});return{c(){e=v("td"),W(l.$$.fragment),t=F(),r=v("td"),s=v("div");for(let o=0;of[15];for(let f=0;f{a=null}),U()):(a=ke(),a.c(),T(a,1),a.m(t.parentNode,t)))},i(f){if(!r){for(let i=0;i{m=null}),U()),(!q||H&98)&&i!==(i=_e(p[8].lastAccessTime,p[5],{relative:p[6]})+"")&&re(_,i);let x=b;b=X(p,H),b===x?j[b].p(p,H):(J(),D(j[x],1,1,()=>{j[x]=null}),U(),I=j[b],I?I.p(p,H):(I=j[b]=N[b](p),I.c()),T(I,1),I.m(d,null));let ee=O;O=te(p,H),O===ee?z[O].p(p,H):(J(),D(z[ee],1,1,()=>{z[ee]=null}),U(),$=z[O],$?$.p(p,H):($=z[O]=Z[O](p),$.c()),T($,1),$.m(B,null))},i(p){q||(T(m),T(I),T($),q=!0)},o(p){D(m),D(I),D($),q=!1},d(p){p&&c(e),p&&c(s),m&&m.d(p),p&&c(u),p&&c(a),p&&c(o),p&&c(d),j[b].d(),p&&c(C),p&&c(B),z[O].d(),p&&c(P)}}}function Ie(n,e){let l,t,r;return t=new Ve({props:{"data-testid":"worker-row",$$slots:{default:[at]},$$scope:{ctx:e}}}),{key:n,first:null,c(){l=G(),W(t.$$.fragment),this.h()},l(s){l=G(),L(t.$$.fragment,s),this.h()},h(){this.first=l},m(s,u){h(s,l,u),K(t,s,u),r=!0},p(s,u){e=s;const a={};u&262255&&(a.$$scope={dirty:u,ctx:e}),t.$set(a)},i(s){r||(T(t.$$.fragment,s),r=!0)},o(s){D(t.$$.fragment,s),r=!1},d(s){s&&c(l),M(t,s)}}}function it(n){var f;let e=[],l=new Map,t,r,s=(f=n[1])==null?void 0:f.pollers;const u=i=>i[8].identity;for(let i=0;i{a=null}),U()):(a=Ee(i),a.c(),T(a,1),a.m(t.parentNode,t)))},i(i){if(!r){for(let _=0;_{R=null}),U());const q={};P&262146&&(q.$$scope={dirty:P,ctx:$}),b.$set(q);const m={};P&262255&&(m.$$scope={dirty:P,ctx:$}),C.$set(m)},i($){B||(T(R),T(b.$$.fragment,$),T(C.$$.fragment,$),B=!0)},o($){D(R),D(b.$$.fragment,$),D(C.$$.fragment,$),B=!1},d($){$&&c(e),R&&R.d(),M(b),M(C)}}}function ct(n,e,l){let t,r,s,u;ue(n,qe,o=>l(5,s=o)),ue(n,We,o=>l(6,u=o));let{taskQueue:a}=e,{workers:f}=e,{compatibility:i=void 0}=e,{reachability:_=void 0}=e;return n.$$set=o=>{"taskQueue"in o&&l(0,a=o.taskQueue),"workers"in o&&l(1,f=o.workers),"compatibility"in o&&l(7,i=o.compatibility),"reachability"in o&&l(2,_=o.reachability)},n.$$.update=()=>{n.$$.dirty&128&&l(4,t=Le(i)),n.$$.dirty&128&&l(3,r=Ke(i))},[a,f,_,r,t,s,u,i]}class gt extends Se{constructor(e){super(),Ae(this,e,ct,ut,Fe,{taskQueue:0,workers:1,compatibility:7,reachability:2})}}export{gt as W}; diff --git a/ui/assets/local/_app/immutable/chunks/workflow-service.6fa8d283.js b/ui/assets/local/_app/immutable/chunks/workflow-service.db6f5d3e.js similarity index 96% rename from ui/assets/local/_app/immutable/chunks/workflow-service.6fa8d283.js rename to ui/assets/local/_app/immutable/chunks/workflow-service.db6f5d3e.js index d63ff5857a..cd2c52cd32 100644 --- a/ui/assets/local/_app/immutable/chunks/workflow-service.6fa8d283.js +++ b/ui/assets/local/_app/immutable/chunks/workflow-service.db6f5d3e.js @@ -1 +1 @@ -import{ab as P,n as m}from"./index.efded970.js";import{b as U}from"./decode-payload.97e177eb.js";import{c as C}from"./is.ba28a1ea.js";import{s as j}from"./settings.f4bcc2b2.js";import{s as q}from"./simplify-attributes.d3ff8bf3.js";import{B as K}from"./route-for.f2f7cb1c.js";import{b as _,p as L,a as u,r as d,c as G,i as H,d as J}from"./route-for-api.1959b395.js";import{s as E}from"./parse-with-big-int.bccd89af.js";import{d as x}from"./index.c0615b9d.js";import{p as M}from"./stores.83aed68d.js";import{i as X}from"./version-check.d006b302.js";import{c as $}from"./cluster.728f7d8f.js";import{t as Y}from"./versions.44d896b4.js";import{l as Z,m as oo,n as F,o as to}from"./format-time.8258873a.js";import{v as no}from"./toaster.fd2b66a2.js";const ro=(o=j)=>!P(o).disableWriteActions,eo=(o=[])=>o.map(t=>{const n=q(t,!0),r=t.activityId;return{...n,id:r}}),io=o=>C(o)||C(o.indexedFields)?{}:{indexedFields:Object.entries(o.indexedFields).reduce((n,[r,e])=>({...n,[r]:U(e)}),{})},I=o=>{var g,b,T,p,W,S,A;const t=io(o.workflowExecutionInfo.searchAttributes),n=o.workflowExecutionInfo.type.name,r=o.workflowExecutionInfo.execution.workflowId,e=o.workflowExecutionInfo.execution.runId,i=o.workflowExecutionInfo.startTime,a=o.workflowExecutionInfo.closeTime,s=o.workflowExecutionInfo.executionTime,l=o.workflowExecutionInfo.status,f=o.workflowExecutionInfo.status==="Running",w=o.workflowExecutionInfo.historyLength,y=o.workflowExecutionInfo.historySizeBytes,c=`/workflows/${r}/${e}`,k=((b=(g=o==null?void 0:o.executionConfig)==null?void 0:g.taskQueue)==null?void 0:b.name)||((T=o==null?void 0:o.workflowExecutionInfo)==null?void 0:T.taskQueue),h=(p=o==null?void 0:o.workflowExecutionInfo)==null?void 0:p.mostRecentWorkerVersionStamp,R=(W=o==null?void 0:o.workflowExecutionInfo)==null?void 0:W.parentNamespaceId,z=(S=o==null?void 0:o.workflowExecutionInfo)==null?void 0:S.parentExecution,V=o.workflowExecutionInfo.stateTransitionCount,Q=(A=o.executionConfig)==null?void 0:A.defaultWorkflowTaskTimeout,D=eo(o.pendingActivities),N=(o==null?void 0:o.pendingChildren)??[];return{name:n,id:r,runId:e,startTime:i,endTime:a,executionTime:s,status:l,historyEvents:w,historySizeBytes:y,searchAttributes:t,url:c,taskQueue:k,mostRecentWorkerVersionStamp:h,pendingActivities:D,pendingChildren:N,parentNamespaceId:R,parent:z,stateTransitionCount:V,isRunning:f,defaultWorkflowTaskTimeout:Q,get canBeTerminated(){return f&&ro()}}},v=o=>(o.executions||[]).map(t=>I({workflowExecutionInfo:t})),ao=o=>window.btoa(encodeURIComponent(o).replace(/%([0-9A-F]{2})/g,(t,n)=>String.fromCharCode(parseInt(n,16)))),O=(o,t=K)=>t?ao(o):o,so=(o,t)=>{var n;return((n=o==null?void 0:o.visibilityStore)==null?void 0:n.includes("elasticsearch"))||X(t,"1.19")},co=o=>{var t;return(t=o==null?void 0:o.visibilityStore)==null?void 0:t.includes("elasticsearch")},B=x([M],([o])=>{var t,n,r;return(r=(n=(t=o.data)==null?void 0:t.settings)==null?void 0:n.runtimeEnvironment)==null?void 0:r.isCloud}),fo=x([$,Y,B],([o,t,n])=>so(o,t)||n);x([$,B],([o,t])=>co(o)||t);const uo={workflowId:"WorkflowId",workflowType:"WorkflowType",timeRange:"StartTime",executionStatus:"ExecutionStatus",closeTime:"CloseTime"},lo=["workflowId","workflowType","timeRange","executionStatus","closeTime"],wo=o=>!(o===null||o===void 0||o===""||typeof o=="string"&&o==="undefined"),mo=o=>{if(typeof o!="string")return!1;for(const t of lo)if(t===o)return!0;return!1},ko=(o,t,n)=>{const r=uo[o];return t==="All"?"":Z(t)||oo(t)?n||P(fo)?`${r} > "${F(t)}"`:`${r} BETWEEN "${F(t)}" AND "${to()}"`:`${r}="${t}"`},ho=(o,t)=>Object.entries(o).map(([n,r])=>{if(mo(n)&&wo(r))return ko(n,r,t)}).filter(Boolean),yo=(o,t=!1)=>ho(o,t).join(" and "),Bo=async(o,t,n=fetch)=>{let r=0,e=0;try{const i=d("workflows.count",{namespace:o});if(t){const a=u(i,{params:{query:t},onError:m,handleError:m,request:n}),s=u(i,{params:{query:""},onError:m,handleError:m,request:n}),[l,f]=await Promise.all([a,s]);e=parseInt((l==null?void 0:l.count)??"0"),r=parseInt(f==null?void 0:f.count)}else{const a=await u(i,{params:{},onError:m,handleError:m,request:n});r=parseInt(a==null?void 0:a.count)}}catch{}return{count:e,totalCount:r}},Eo=async(o,t,n=fetch,r=!1)=>{const e=t.query||yo(t,r);let i;try{i=decodeURIComponent(e)}catch{i=e}const a=r?"workflows.archived":"workflows";let s="";const l=c=>{var k,h;G(c),(k=c==null?void 0:c.body)!=null&&k.message||c!=null&&c.status?s=((h=c==null?void 0:c.body)==null?void 0:h.message)??`Error fetching workflows: ${c.status}: ${c.statusText}`:s="Error fetching workflows: Server failed to respond"},f=d(a,{namespace:o}),{executions:w,nextPageToken:y}=await u(f,{params:{query:i},onError:l,handleError:l,request:n})??{executions:[],nextPageToken:""};return{workflows:v({executions:w}),nextPageToken:String(y),error:s}},Ro=async({namespace:o,workflowId:t,url:n},r=fetch)=>{var w;const e="workflows",i=n??_(o),a=L(e,{namespace:o}),s=i+a,{executions:l}=await u(s,{params:{query:`WorkflowId="${t}"`,pageSize:"1"},request:r})??{executions:[]},f=(w=v({executions:l}))==null?void 0:w[0];return{runId:f==null?void 0:f.runId}},zo=async(o,t=fetch,n=!1)=>{const r=n?"workflows.archived":"workflows";let e=!0;const i=s=>{(H(s)||J(s))&&(e=!1)},a=d(r,{namespace:o});return await u(a,{params:{pageSize:"1"},onError:i,handleError:i,request:t}),{authorized:e}},Vo=async(o,t,n=fetch)=>Eo(o,t,n,!0);async function Qo(o,t=fetch){const n=d("workflow",o);return u(n,{request:t}).then(I)}async function Do({workflow:o,namespace:t,reason:n,identity:r}){const e=d("workflow.terminate",{namespace:t,workflowId:o.id,runId:o.runId});return await u(e,{options:{method:"POST",body:E({reason:n,...r&&{identity:r}})},notifyOnError:!1})}async function No({namespace:o,workflowId:t,runId:n},r=fetch){const e=d("workflow.cancel",{namespace:o,workflowId:t,runId:n});return u(e,{request:r,notifyOnError:!1,options:{method:"POST"}})}async function Uo({namespace:o,workflowId:t,runId:n,signalName:r,signalInput:e}){const i=d("workflow.signal",{namespace:o,workflowId:t,runId:n});return u(i,{notifyOnError:!1,options:{method:"POST",body:E({signalName:r,input:{payloads:e?[{metadata:{encoding:O("json/plain")},data:O(e)}]:null}})}})}async function jo({namespace:o,workflowId:t,runId:n,eventId:r,reason:e,resetReapplyType:i}){const a=d("workflow.reset",{namespace:o,workflowId:t,runId:n}),s={workflowExecution:{workflowId:t,runId:n},workflowTaskFinishEventId:r,resetReapplyType:i,requestId:no(),reason:e};return u(a,{notifyOnError:!1,options:{method:"POST",body:E(s)}})}async function qo(o,t=fetch){const n=e=>{console.error(e)},r=d("workflow",o);return u(r,{request:t,onError:n,handleError:n}).then(I)}export{fo as a,Eo as b,No as c,Bo as d,zo as e,Qo as f,yo as g,Vo as h,qo as i,B as j,Ro as k,jo as r,Uo as s,Do as t,ro as w}; +import{ab as P,n as m}from"./index.efded970.js";import{b as U}from"./decode-payload.8b7fbb10.js";import{c as C}from"./is.ba28a1ea.js";import{s as j}from"./settings.f4bcc2b2.js";import{s as q}from"./simplify-attributes.d3ff8bf3.js";import{B as K}from"./route-for.8244bd54.js";import{b as _,p as L,a as u,r as d,c as G,i as H,d as J}from"./route-for-api.28fc22fc.js";import{s as E}from"./parse-with-big-int.bccd89af.js";import{d as x}from"./index.c0615b9d.js";import{p as M}from"./stores.3002bd93.js";import{i as X}from"./version-check.d006b302.js";import{c as $}from"./cluster.728f7d8f.js";import{t as Y}from"./versions.44d896b4.js";import{l as Z,m as oo,n as F,o as to}from"./format-time.8258873a.js";import{v as no}from"./toaster.fd2b66a2.js";const ro=(o=j)=>!P(o).disableWriteActions,eo=(o=[])=>o.map(t=>{const n=q(t,!0),r=t.activityId;return{...n,id:r}}),io=o=>C(o)||C(o.indexedFields)?{}:{indexedFields:Object.entries(o.indexedFields).reduce((n,[r,e])=>({...n,[r]:U(e)}),{})},I=o=>{var g,b,T,p,W,S,A;const t=io(o.workflowExecutionInfo.searchAttributes),n=o.workflowExecutionInfo.type.name,r=o.workflowExecutionInfo.execution.workflowId,e=o.workflowExecutionInfo.execution.runId,i=o.workflowExecutionInfo.startTime,a=o.workflowExecutionInfo.closeTime,s=o.workflowExecutionInfo.executionTime,l=o.workflowExecutionInfo.status,f=o.workflowExecutionInfo.status==="Running",w=o.workflowExecutionInfo.historyLength,y=o.workflowExecutionInfo.historySizeBytes,c=`/workflows/${r}/${e}`,k=((b=(g=o==null?void 0:o.executionConfig)==null?void 0:g.taskQueue)==null?void 0:b.name)||((T=o==null?void 0:o.workflowExecutionInfo)==null?void 0:T.taskQueue),h=(p=o==null?void 0:o.workflowExecutionInfo)==null?void 0:p.mostRecentWorkerVersionStamp,R=(W=o==null?void 0:o.workflowExecutionInfo)==null?void 0:W.parentNamespaceId,z=(S=o==null?void 0:o.workflowExecutionInfo)==null?void 0:S.parentExecution,V=o.workflowExecutionInfo.stateTransitionCount,Q=(A=o.executionConfig)==null?void 0:A.defaultWorkflowTaskTimeout,D=eo(o.pendingActivities),N=(o==null?void 0:o.pendingChildren)??[];return{name:n,id:r,runId:e,startTime:i,endTime:a,executionTime:s,status:l,historyEvents:w,historySizeBytes:y,searchAttributes:t,url:c,taskQueue:k,mostRecentWorkerVersionStamp:h,pendingActivities:D,pendingChildren:N,parentNamespaceId:R,parent:z,stateTransitionCount:V,isRunning:f,defaultWorkflowTaskTimeout:Q,get canBeTerminated(){return f&&ro()}}},v=o=>(o.executions||[]).map(t=>I({workflowExecutionInfo:t})),ao=o=>window.btoa(encodeURIComponent(o).replace(/%([0-9A-F]{2})/g,(t,n)=>String.fromCharCode(parseInt(n,16)))),O=(o,t=K)=>t?ao(o):o,so=(o,t)=>{var n;return((n=o==null?void 0:o.visibilityStore)==null?void 0:n.includes("elasticsearch"))||X(t,"1.19")},co=o=>{var t;return(t=o==null?void 0:o.visibilityStore)==null?void 0:t.includes("elasticsearch")},B=x([M],([o])=>{var t,n,r;return(r=(n=(t=o.data)==null?void 0:t.settings)==null?void 0:n.runtimeEnvironment)==null?void 0:r.isCloud}),fo=x([$,Y,B],([o,t,n])=>so(o,t)||n);x([$,B],([o,t])=>co(o)||t);const uo={workflowId:"WorkflowId",workflowType:"WorkflowType",timeRange:"StartTime",executionStatus:"ExecutionStatus",closeTime:"CloseTime"},lo=["workflowId","workflowType","timeRange","executionStatus","closeTime"],wo=o=>!(o===null||o===void 0||o===""||typeof o=="string"&&o==="undefined"),mo=o=>{if(typeof o!="string")return!1;for(const t of lo)if(t===o)return!0;return!1},ko=(o,t,n)=>{const r=uo[o];return t==="All"?"":Z(t)||oo(t)?n||P(fo)?`${r} > "${F(t)}"`:`${r} BETWEEN "${F(t)}" AND "${to()}"`:`${r}="${t}"`},ho=(o,t)=>Object.entries(o).map(([n,r])=>{if(mo(n)&&wo(r))return ko(n,r,t)}).filter(Boolean),yo=(o,t=!1)=>ho(o,t).join(" and "),Bo=async(o,t,n=fetch)=>{let r=0,e=0;try{const i=d("workflows.count",{namespace:o});if(t){const a=u(i,{params:{query:t},onError:m,handleError:m,request:n}),s=u(i,{params:{query:""},onError:m,handleError:m,request:n}),[l,f]=await Promise.all([a,s]);e=parseInt((l==null?void 0:l.count)??"0"),r=parseInt(f==null?void 0:f.count)}else{const a=await u(i,{params:{},onError:m,handleError:m,request:n});r=parseInt(a==null?void 0:a.count)}}catch{}return{count:e,totalCount:r}},Eo=async(o,t,n=fetch,r=!1)=>{const e=t.query||yo(t,r);let i;try{i=decodeURIComponent(e)}catch{i=e}const a=r?"workflows.archived":"workflows";let s="";const l=c=>{var k,h;G(c),(k=c==null?void 0:c.body)!=null&&k.message||c!=null&&c.status?s=((h=c==null?void 0:c.body)==null?void 0:h.message)??`Error fetching workflows: ${c.status}: ${c.statusText}`:s="Error fetching workflows: Server failed to respond"},f=d(a,{namespace:o}),{executions:w,nextPageToken:y}=await u(f,{params:{query:i},onError:l,handleError:l,request:n})??{executions:[],nextPageToken:""};return{workflows:v({executions:w}),nextPageToken:String(y),error:s}},Ro=async({namespace:o,workflowId:t,url:n},r=fetch)=>{var w;const e="workflows",i=n??_(o),a=L(e,{namespace:o}),s=i+a,{executions:l}=await u(s,{params:{query:`WorkflowId="${t}"`,pageSize:"1"},request:r})??{executions:[]},f=(w=v({executions:l}))==null?void 0:w[0];return{runId:f==null?void 0:f.runId}},zo=async(o,t=fetch,n=!1)=>{const r=n?"workflows.archived":"workflows";let e=!0;const i=s=>{(H(s)||J(s))&&(e=!1)},a=d(r,{namespace:o});return await u(a,{params:{pageSize:"1"},onError:i,handleError:i,request:t}),{authorized:e}},Vo=async(o,t,n=fetch)=>Eo(o,t,n,!0);async function Qo(o,t=fetch){const n=d("workflow",o);return u(n,{request:t}).then(I)}async function Do({workflow:o,namespace:t,reason:n,identity:r}){const e=d("workflow.terminate",{namespace:t,workflowId:o.id,runId:o.runId});return await u(e,{options:{method:"POST",body:E({reason:n,...r&&{identity:r}})},notifyOnError:!1})}async function No({namespace:o,workflowId:t,runId:n},r=fetch){const e=d("workflow.cancel",{namespace:o,workflowId:t,runId:n});return u(e,{request:r,notifyOnError:!1,options:{method:"POST"}})}async function Uo({namespace:o,workflowId:t,runId:n,signalName:r,signalInput:e}){const i=d("workflow.signal",{namespace:o,workflowId:t,runId:n});return u(i,{notifyOnError:!1,options:{method:"POST",body:E({signalName:r,input:{payloads:e?[{metadata:{encoding:O("json/plain")},data:O(e)}]:null}})}})}async function jo({namespace:o,workflowId:t,runId:n,eventId:r,reason:e,resetReapplyType:i}){const a=d("workflow.reset",{namespace:o,workflowId:t,runId:n}),s={workflowExecution:{workflowId:t,runId:n},workflowTaskFinishEventId:r,resetReapplyType:i,requestId:no(),reason:e};return u(a,{notifyOnError:!1,options:{method:"POST",body:E(s)}})}async function qo(o,t=fetch){const n=e=>{console.error(e)},r=d("workflow",o);return u(r,{request:t,onError:n,handleError:n}).then(I)}export{fo as a,Eo as b,No as c,Bo as d,zo as e,Qo as f,yo as g,Vo as h,qo as i,B as j,Ro as k,jo as r,Uo as s,Do as t,ro as w}; diff --git a/ui/assets/local/_app/immutable/chunks/workflows.f9987742.js b/ui/assets/local/_app/immutable/chunks/workflows.6800ca9a.js similarity index 82% rename from ui/assets/local/_app/immutable/chunks/workflows.f9987742.js rename to ui/assets/local/_app/immutable/chunks/workflows.6800ca9a.js index 0831274b64..4ed3846fba 100644 --- a/ui/assets/local/_app/immutable/chunks/workflows.f9987742.js +++ b/ui/assets/local/_app/immutable/chunks/workflows.6800ca9a.js @@ -1 +1 @@ -import{d as a,r as u,w as e}from"./index.c0615b9d.js";import{p as i}from"./stores.83aed68d.js";import{t as d}from"./translate.230dcc19.js";import{a as p,b as k,d as y}from"./workflow-service.6fa8d283.js";const m=300,h=async(r,s,o)=>{s.set(!0);try{await o()}catch(t){console.error(t)}r.set(!1),setTimeout(()=>{s.set(!1)},m)},b=e(0),W=a([i],([r])=>{var s,o;return(o=(s=r.data)==null?void 0:s.settings)==null?void 0:o.hideWorkflowQueryErrors}),g=a([i],([r])=>r.params.namespace),q=a([i],([r])=>r.url.searchParams.get("query")),C=a([g,q,b,p,W],([r,s,o,t,n])=>({namespace:r,query:s,refresh:o,supportsAdvancedVisibility:t,hideWorkflowQueryErrors:n})),E=r=>{V.set(r)},Q=r=>C.subscribe(({namespace:s,query:o,supportsAdvancedVisibility:t,hideWorkflowQueryErrors:n})=>{h(A,v,async()=>{const{workflows:w,error:l}=await k(s,{query:o});if(r(w),t){const f=await y(s,o);E(f)}l?n?c.set(d("workflows","workflows-error-querying")):c.set(l):c.set("")})}),T=e(""),v=e(!0),A=e(!0),V=e({count:0,totalCount:0}),c=e(""),j=u([],Q),z=e("");export{z as a,c as b,V as c,j as d,A as l,b as r,v as u,T as w}; +import{d as a,r as u,w as e}from"./index.c0615b9d.js";import{p as i}from"./stores.3002bd93.js";import{t as d}from"./translate.230dcc19.js";import{a as p,b as k,d as y}from"./workflow-service.db6f5d3e.js";const m=300,h=async(r,s,o)=>{s.set(!0);try{await o()}catch(t){console.error(t)}r.set(!1),setTimeout(()=>{s.set(!1)},m)},b=e(0),W=a([i],([r])=>{var s,o;return(o=(s=r.data)==null?void 0:s.settings)==null?void 0:o.hideWorkflowQueryErrors}),g=a([i],([r])=>r.params.namespace),q=a([i],([r])=>r.url.searchParams.get("query")),C=a([g,q,b,p,W],([r,s,o,t,n])=>({namespace:r,query:s,refresh:o,supportsAdvancedVisibility:t,hideWorkflowQueryErrors:n})),E=r=>{V.set(r)},Q=r=>C.subscribe(({namespace:s,query:o,supportsAdvancedVisibility:t,hideWorkflowQueryErrors:n})=>{h(A,v,async()=>{const{workflows:w,error:l}=await k(s,{query:o});if(r(w),t){const f=await y(s,o);E(f)}l?n?c.set(d("workflows","workflows-error-querying")):c.set(l):c.set("")})}),T=e(""),v=e(!0),A=e(!0),V=e({count:0,totalCount:0}),c=e(""),j=u([],Q),z=e("");export{z as a,c as b,V as c,j as d,A as l,b as r,v as u,T as w}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-data-converter-_port_-page.svelte.4b13d87f.js b/ui/assets/local/_app/immutable/entry/(app)-data-converter-_port_-page.svelte.0f7a7a1a.js similarity index 76% rename from ui/assets/local/_app/immutable/entry/(app)-data-converter-_port_-page.svelte.4b13d87f.js rename to ui/assets/local/_app/immutable/entry/(app)-data-converter-_port_-page.svelte.0f7a7a1a.js index acc39fa926..60070db3df 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-data-converter-_port_-page.svelte.4b13d87f.js +++ b/ui/assets/local/_app/immutable/entry/(app)-data-converter-_port_-page.svelte.0f7a7a1a.js @@ -1 +1 @@ -import{S as r,b as n,a as p,K as m,o as u}from"../chunks/index.efded970.js";import{g as c}from"../chunks/navigation.6d455e31.js";import{p as i}from"../chunks/stores.83aed68d.js";import{d as l}from"../chunks/data-converter-config.936a36a2.js";import{t as f}from"../chunks/toaster.fd2b66a2.js";function g(e,o,a){let s;return m(e,i,t=>a(0,s=t)),u(()=>{let{port:t}=s.params;l.set(t),c("/",{replaceState:!0}),f.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,K as m,o as u}from"../chunks/index.efded970.js";import{g as c}from"../chunks/navigation.85b47b98.js";import{p as i}from"../chunks/stores.3002bd93.js";import{d as l}from"../chunks/data-converter-config.936a36a2.js";import{t as f}from"../chunks/toaster.fd2b66a2.js";function g(e,o,a){let s;return m(e,i,t=>a(0,s=t)),u(()=>{let{port:t}=s.params;l.set(t),c("/",{replaceState:!0}),f.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/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-compact-page.svelte.ea89728c.js b/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-compact-page.svelte.d1a2584a.js similarity index 94% rename from ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-compact-page.svelte.ea89728c.js rename to ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-compact-page.svelte.d1a2584a.js index 6d6990c2f7..94380f8d92 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-compact-page.svelte.ea89728c.js +++ b/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-compact-page.svelte.d1a2584a.js @@ -1 +1 @@ -import{S as G,b as I,a as L,C as h,D as d,E as v,j as c,g as p,F as y,K as _,a5 as P,e as $,f as C,z as b,a9 as z,h as w,k as F,aa as B}from"../chunks/index.efded970.js";import{E as N,a as j,b as q}from"../chunks/event-summary-table.e529cb88.js";import{P as D}from"../chunks/pagination.5253b8b7.js";import{t as g}from"../chunks/translate.230dcc19.js";import{b as k,e as K}from"../chunks/event-view.de9a16d6.js";import{e as M}from"../chunks/filters.bd92de72.js";import{a as H}from"../chunks/import-events.80234efc.js";function E(i,t,r){const e=i.slice();return e[10]=t[r],e}function S(i){let t,r;return t=new j({}),{c(){h(t.$$.fragment)},l(e){d(t.$$.fragment,e)},m(e,o){v(t,e,o),r=!0},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){y(t,e)}}}function A(i,t){let r,e,o;return e=new q({props:{event:t[10],compact:x,expandAll:t[1]==="true",initialItem:t[9]}}),{key:i,first:null,c(){r=$(),h(e.$$.fragment),this.h()},l(n){r=$(),d(e.$$.fragment,n),this.h()},h(){this.first=r},m(n,f){C(n,r,f),v(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]),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),y(e,n)}}}function J(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}),w()):s||(s=S(),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(){h(t.$$.fragment)},l(e){d(t.$$.fragment,e)},m(e,o){v(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){y(t,e)}}}let x=!0;function R(i,t,r){let e,o,n,f,s,a,l;_(i,k,u=>r(1,f=u)),_(i,H,u=>r(5,s=u)),_(i,K,u=>r(6,a=u)),_(i,M,u=>r(7,l=u));function m(u){P(k,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 ee extends G{constructor(t){super(),I(this,t,R,Q,L,{})}}export{ee as default}; +import{S as G,b as I,a as L,C as h,D as d,E as v,j as c,g as p,F as y,K as _,a5 as P,e as $,f as C,z as b,a9 as z,h as w,k as F,aa as B}from"../chunks/index.efded970.js";import{E as N,a as j,b as q}from"../chunks/event-summary-table.98f53565.js";import{P as D}from"../chunks/pagination.e9c8b93a.js";import{t as g}from"../chunks/translate.230dcc19.js";import{b as k,e as K}from"../chunks/event-view.de9a16d6.js";import{e as M}from"../chunks/filters.2e8e7341.js";import{a as H}from"../chunks/import-events.80234efc.js";function E(i,t,r){const e=i.slice();return e[10]=t[r],e}function S(i){let t,r;return t=new j({}),{c(){h(t.$$.fragment)},l(e){d(t.$$.fragment,e)},m(e,o){v(t,e,o),r=!0},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){y(t,e)}}}function A(i,t){let r,e,o;return e=new q({props:{event:t[10],compact:x,expandAll:t[1]==="true",initialItem:t[9]}}),{key:i,first:null,c(){r=$(),h(e.$$.fragment),this.h()},l(n){r=$(),d(e.$$.fragment,n),this.h()},h(){this.first=r},m(n,f){C(n,r,f),v(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]),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),y(e,n)}}}function J(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}),w()):s||(s=S(),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(){h(t.$$.fragment)},l(e){d(t.$$.fragment,e)},m(e,o){v(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){y(t,e)}}}let x=!0;function R(i,t,r){let e,o,n,f,s,a,l;_(i,k,u=>r(1,f=u)),_(i,H,u=>r(5,s=u)),_(i,K,u=>r(6,a=u)),_(i,M,u=>r(7,l=u));function m(u){P(k,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 ee extends G{constructor(t){super(),I(this,t,R,Q,L,{})}}export{ee as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-feed-page.svelte.b850cc53.js b/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-feed-page.svelte.3567deeb.js similarity index 94% rename from ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-feed-page.svelte.b850cc53.js rename to ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-feed-page.svelte.3567deeb.js index 86a415d8b1..855da201e1 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-feed-page.svelte.b850cc53.js +++ b/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-feed-page.svelte.3567deeb.js @@ -1 +1 @@ -import{S as I,b as L,a as P,C as h,D as d,E as v,j as c,g as p,F as y,K as _,a5 as z,e as $,f as C,z as b,a9 as B,h as w,k as F,aa as N}from"../chunks/index.efded970.js";import{E as j,a as q,b as D}from"../chunks/event-summary-table.e529cb88.js";import{P as K}from"../chunks/pagination.5253b8b7.js";import{t as g}from"../chunks/translate.230dcc19.js";import{b as k,e as M}from"../chunks/event-view.de9a16d6.js";import{e as G}from"../chunks/filters.bd92de72.js";import{i as H}from"../chunks/import-events.80234efc.js";function E(i,t,r){const e=i.slice();return e[10]=t[r],e}function S(i){let t,r;return t=new q({}),{c(){h(t.$$.fragment)},l(e){d(t.$$.fragment,e)},m(e,o){v(t,e,o),r=!0},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){y(t,e)}}}function A(i,t){let r,e,o;return e=new D({props:{event:t[10],compact:x,expandAll:t[1]==="true",initialItem:t[9]}}),{key:i,first:null,c(){r=$(),h(e.$$.fragment),this.h()},l(n){r=$(),d(e.$$.fragment,n),this.h()},h(){this.first=r},m(n,f){C(n,r,f),v(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]),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),y(e,n)}}}function J(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}),w()):s||(s=S(),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(){h(t.$$.fragment)},l(e){d(t.$$.fragment,e)},m(e,o){v(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){y(t,e)}}}let x=!1;function R(i,t,r){let e,o,n,f,s,a,l;_(i,k,u=>r(1,f=u)),_(i,H,u=>r(5,s=u)),_(i,M,u=>r(6,a=u)),_(i,G,u=>r(7,l=u));function m(u){z(k,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 ee extends I{constructor(t){super(),L(this,t,R,Q,P,{})}}export{ee as default}; +import{S as I,b as L,a as P,C as h,D as d,E as v,j as c,g as p,F as y,K as _,a5 as z,e as $,f as C,z as b,a9 as B,h as w,k as F,aa as N}from"../chunks/index.efded970.js";import{E as j,a as q,b as D}from"../chunks/event-summary-table.98f53565.js";import{P as K}from"../chunks/pagination.e9c8b93a.js";import{t as g}from"../chunks/translate.230dcc19.js";import{b as k,e as M}from"../chunks/event-view.de9a16d6.js";import{e as G}from"../chunks/filters.2e8e7341.js";import{i as H}from"../chunks/import-events.80234efc.js";function E(i,t,r){const e=i.slice();return e[10]=t[r],e}function S(i){let t,r;return t=new q({}),{c(){h(t.$$.fragment)},l(e){d(t.$$.fragment,e)},m(e,o){v(t,e,o),r=!0},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){y(t,e)}}}function A(i,t){let r,e,o;return e=new D({props:{event:t[10],compact:x,expandAll:t[1]==="true",initialItem:t[9]}}),{key:i,first:null,c(){r=$(),h(e.$$.fragment),this.h()},l(n){r=$(),d(e.$$.fragment,n),this.h()},h(){this.first=r},m(n,f){C(n,r,f),v(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]),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),y(e,n)}}}function J(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}),w()):s||(s=S(),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(){h(t.$$.fragment)},l(e){d(t.$$.fragment,e)},m(e,o){v(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){y(t,e)}}}let x=!1;function R(i,t,r){let e,o,n,f,s,a,l;_(i,k,u=>r(1,f=u)),_(i,H,u=>r(5,s=u)),_(i,M,u=>r(6,a=u)),_(i,G,u=>r(7,l=u));function m(u){z(k,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 ee extends I{constructor(t){super(),L(this,t,R,Q,P,{})}}export{ee as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-layout.svelte.72af70d0.js b/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-layout.svelte.ac104a2a.js similarity index 95% rename from ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-layout.svelte.72af70d0.js rename to ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-layout.svelte.ac104a2a.js index 854710245a..4406868274 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-layout.svelte.72af70d0.js +++ b/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-layout.svelte.ac104a2a.js @@ -1 +1 @@ -import{S as M,b as P,a as Q,G as R,m as j,w as A,c as S,C as T,p as I,q as N,x as F,k as m,d as q,D as V,u as _,f as H,L as g,E as y,H as W,I as X,J as Y,j as v,g as h,F as C,K as Z,n as J}from"../chunks/index.efded970.js";import{E as x}from"../chunks/event-history-file-import.a363e2a4.js";import{T as ee,a as G}from"../chunks/toggle-buttons.9fe9f320.js";import{t as D}from"../chunks/translate.230dcc19.js";import{l as te}from"../chunks/namespaces.08ac61f9.js";import{d as k}from"../chunks/route-for.f2f7cb1c.js";function se(a){let t=D("workflows","history")+"",s;return{c(){s=A(t)},l(e){s=F(e,t)},m(e,o){H(e,s,o)},p:J,d(e){e&&m(s)}}}function ne(a){let t=D("workflows","compact")+"",s;return{c(){s=A(t)},l(e){s=F(e,t)},m(e,o){H(e,s,o)},p:J,d(e){e&&m(s)}}}function oe(a){let t=D("workflows","json")+"",s;return{c(){s=A(t)},l(e){s=F(e,t)},m(e,o){H(e,s,o)},p:J,d(e){e&&m(s)}}}function ae(a){let t,s,e,o,l,i;return t=new G({props:{icon:"feed",href:k(a[0],"feed"),$$slots:{default:[se]},$$scope:{ctx:a}}}),e=new G({props:{icon:"compact",href:k(a[0],"compact"),$$slots:{default:[ne]},$$scope:{ctx:a}}}),l=new G({props:{icon:"json",href:k(a[0],"json"),$$slots:{default:[oe]},$$scope:{ctx:a}}}),{c(){T(t.$$.fragment),s=S(),T(e.$$.fragment),o=S(),T(l.$$.fragment)},l(n){V(t.$$.fragment,n),s=q(n),V(e.$$.fragment,n),o=q(n),V(l.$$.fragment,n)},m(n,r){y(t,n,r),H(n,s,r),y(e,n,r),H(n,o,r),y(l,n,r),i=!0},p(n,r){const b={};r&1&&(b.href=k(n[0],"feed")),r&4&&(b.$$scope={dirty:r,ctx:n}),t.$set(b);const c={};r&1&&(c.href=k(n[0],"compact")),r&4&&(c.$$scope={dirty:r,ctx:n}),e.$set(c);const p={};r&1&&(p.href=k(n[0],"json")),r&4&&(p.$$scope={dirty:r,ctx:n}),l.$set(p)},i(n){i||(v(t.$$.fragment,n),v(e.$$.fragment,n),v(l.$$.fragment,n),i=!0)},o(n){h(t.$$.fragment,n),h(e.$$.fragment,n),h(l.$$.fragment,n),i=!1},d(n){C(t,n),n&&m(s),C(e,n),n&&m(o),C(l,n)}}}function le(a){let t,s,e,o=D("events","import-event-history")+"",l,i,n,r,b,c,p,d,L,E;r=new x({}),d=new ee({props:{$$slots:{default:[ae]},$$scope:{ctx:a}}});const U=a[1].default,$=R(U,a,a[2],null);return{c(){t=j("section"),s=j("nav"),e=j("h3"),l=A(o),i=S(),n=j("div"),T(r.$$.fragment),b=S(),c=j("nav"),p=j("div"),T(d.$$.fragment),L=S(),$&&$.c(),this.h()},l(f){t=I(f,"SECTION",{id:!0});var u=N(t);s=I(u,"NAV",{class:!0,"aria-label":!0});var w=N(s);e=I(w,"H3",{class:!0});var K=N(e);l=F(K,o),K.forEach(m),i=q(w),n=I(w,"DIV",{class:!0});var O=N(n);V(r.$$.fragment,O),O.forEach(m),w.forEach(m),b=q(u),c=I(u,"NAV",{class:!0,"aria-label":!0});var z=N(c);p=I(z,"DIV",{id:!0,class:!0});var B=N(p);V(d.$$.fragment,B),B.forEach(m),z.forEach(m),L=q(u),$&&$.l(u),u.forEach(m),this.h()},h(){_(e,"class","text-lg font-medium"),_(n,"class","flex gap-4"),_(s,"class","flex items-end justify-between gap-4 pb-4"),_(s,"aria-label",D("events","import-event-history")),_(p,"id","event-view-toggle"),_(p,"class","flex gap-4 bg-white"),_(c,"class","my-4 flex items-end justify-end gap-4"),_(c,"aria-label",D("events","event-history-view")),_(t,"id","event-history")},m(f,u){H(f,t,u),g(t,s),g(s,e),g(e,l),g(s,i),g(s,n),y(r,n,null),g(t,b),g(t,c),g(c,p),y(d,p,null),g(t,L),$&&$.m(t,null),E=!0},p(f,[u]){const w={};u&5&&(w.$$scope={dirty:u,ctx:f}),d.$set(w),$&&$.p&&(!E||u&4)&&W($,U,f,f[2],E?Y(U,f[2],u,null):X(f[2]),null)},i(f){E||(v(r.$$.fragment,f),v(d.$$.fragment,f),v($,f),E=!0)},o(f){h(r.$$.fragment,f),h(d.$$.fragment,f),h($,f),E=!1},d(f){f&&m(t),C(r),C(d),$&&$.d(f)}}}function re(a,t,s){let e;Z(a,te,i=>s(0,e=i));let{$$slots:o={},$$scope:l}=t;return a.$$set=i=>{"$$scope"in i&&s(2,l=i.$$scope)},[e,o,l]}class fe extends M{constructor(t){super(),P(this,t,re,le,Q,{})}}function ie(a){let t;const s=a[0].default,e=R(s,a,a[1],null);return{c(){e&&e.c()},l(o){e&&e.l(o)},m(o,l){e&&e.m(o,l),t=!0},p(o,l){e&&e.p&&(!t||l&2)&&W(e,s,o,o[1],t?Y(s,o[1],l,null):X(o[1]),null)},i(o){t||(v(e,o),t=!0)},o(o){h(e,o),t=!1},d(o){e&&e.d(o)}}}function $e(a){let t,s;return t=new fe({props:{$$slots:{default:[ie]},$$scope:{ctx:a}}}),{c(){T(t.$$.fragment)},l(e){V(t.$$.fragment,e)},m(e,o){y(t,e,o),s=!0},p(e,[o]){const l={};o&2&&(l.$$scope={dirty:o,ctx:e}),t.$set(l)},i(e){s||(v(t.$$.fragment,e),s=!0)},o(e){h(t.$$.fragment,e),s=!1},d(e){C(t,e)}}}function ue(a,t,s){let{$$slots:e={},$$scope:o}=t;return a.$$set=l=>{"$$scope"in l&&s(1,o=l.$$scope)},[e,o]}class ve extends M{constructor(t){super(),P(this,t,ue,$e,Q,{})}}export{ve as default}; +import{S as M,b as P,a as Q,G as R,m as j,w as A,c as S,C as T,p as I,q as N,x as F,k as m,d as q,D as V,u as _,f as H,L as g,E as y,H as W,I as X,J as Y,j as v,g as h,F as C,K as Z,n as J}from"../chunks/index.efded970.js";import{E as x}from"../chunks/event-history-file-import.443bbc6a.js";import{T as ee,a as G}from"../chunks/toggle-buttons.59bb67f3.js";import{t as D}from"../chunks/translate.230dcc19.js";import{l as te}from"../chunks/namespaces.08ac61f9.js";import{d as k}from"../chunks/route-for.8244bd54.js";function se(a){let t=D("workflows","history")+"",s;return{c(){s=A(t)},l(e){s=F(e,t)},m(e,o){H(e,s,o)},p:J,d(e){e&&m(s)}}}function ne(a){let t=D("workflows","compact")+"",s;return{c(){s=A(t)},l(e){s=F(e,t)},m(e,o){H(e,s,o)},p:J,d(e){e&&m(s)}}}function oe(a){let t=D("workflows","json")+"",s;return{c(){s=A(t)},l(e){s=F(e,t)},m(e,o){H(e,s,o)},p:J,d(e){e&&m(s)}}}function ae(a){let t,s,e,o,l,i;return t=new G({props:{icon:"feed",href:k(a[0],"feed"),$$slots:{default:[se]},$$scope:{ctx:a}}}),e=new G({props:{icon:"compact",href:k(a[0],"compact"),$$slots:{default:[ne]},$$scope:{ctx:a}}}),l=new G({props:{icon:"json",href:k(a[0],"json"),$$slots:{default:[oe]},$$scope:{ctx:a}}}),{c(){T(t.$$.fragment),s=S(),T(e.$$.fragment),o=S(),T(l.$$.fragment)},l(n){V(t.$$.fragment,n),s=q(n),V(e.$$.fragment,n),o=q(n),V(l.$$.fragment,n)},m(n,r){y(t,n,r),H(n,s,r),y(e,n,r),H(n,o,r),y(l,n,r),i=!0},p(n,r){const b={};r&1&&(b.href=k(n[0],"feed")),r&4&&(b.$$scope={dirty:r,ctx:n}),t.$set(b);const c={};r&1&&(c.href=k(n[0],"compact")),r&4&&(c.$$scope={dirty:r,ctx:n}),e.$set(c);const p={};r&1&&(p.href=k(n[0],"json")),r&4&&(p.$$scope={dirty:r,ctx:n}),l.$set(p)},i(n){i||(v(t.$$.fragment,n),v(e.$$.fragment,n),v(l.$$.fragment,n),i=!0)},o(n){h(t.$$.fragment,n),h(e.$$.fragment,n),h(l.$$.fragment,n),i=!1},d(n){C(t,n),n&&m(s),C(e,n),n&&m(o),C(l,n)}}}function le(a){let t,s,e,o=D("events","import-event-history")+"",l,i,n,r,b,c,p,d,L,E;r=new x({}),d=new ee({props:{$$slots:{default:[ae]},$$scope:{ctx:a}}});const U=a[1].default,$=R(U,a,a[2],null);return{c(){t=j("section"),s=j("nav"),e=j("h3"),l=A(o),i=S(),n=j("div"),T(r.$$.fragment),b=S(),c=j("nav"),p=j("div"),T(d.$$.fragment),L=S(),$&&$.c(),this.h()},l(f){t=I(f,"SECTION",{id:!0});var u=N(t);s=I(u,"NAV",{class:!0,"aria-label":!0});var w=N(s);e=I(w,"H3",{class:!0});var K=N(e);l=F(K,o),K.forEach(m),i=q(w),n=I(w,"DIV",{class:!0});var O=N(n);V(r.$$.fragment,O),O.forEach(m),w.forEach(m),b=q(u),c=I(u,"NAV",{class:!0,"aria-label":!0});var z=N(c);p=I(z,"DIV",{id:!0,class:!0});var B=N(p);V(d.$$.fragment,B),B.forEach(m),z.forEach(m),L=q(u),$&&$.l(u),u.forEach(m),this.h()},h(){_(e,"class","text-lg font-medium"),_(n,"class","flex gap-4"),_(s,"class","flex items-end justify-between gap-4 pb-4"),_(s,"aria-label",D("events","import-event-history")),_(p,"id","event-view-toggle"),_(p,"class","flex gap-4 bg-white"),_(c,"class","my-4 flex items-end justify-end gap-4"),_(c,"aria-label",D("events","event-history-view")),_(t,"id","event-history")},m(f,u){H(f,t,u),g(t,s),g(s,e),g(e,l),g(s,i),g(s,n),y(r,n,null),g(t,b),g(t,c),g(c,p),y(d,p,null),g(t,L),$&&$.m(t,null),E=!0},p(f,[u]){const w={};u&5&&(w.$$scope={dirty:u,ctx:f}),d.$set(w),$&&$.p&&(!E||u&4)&&W($,U,f,f[2],E?Y(U,f[2],u,null):X(f[2]),null)},i(f){E||(v(r.$$.fragment,f),v(d.$$.fragment,f),v($,f),E=!0)},o(f){h(r.$$.fragment,f),h(d.$$.fragment,f),h($,f),E=!1},d(f){f&&m(t),C(r),C(d),$&&$.d(f)}}}function re(a,t,s){let e;Z(a,te,i=>s(0,e=i));let{$$slots:o={},$$scope:l}=t;return a.$$set=i=>{"$$scope"in i&&s(2,l=i.$$scope)},[e,o,l]}class fe extends M{constructor(t){super(),P(this,t,re,le,Q,{})}}function ie(a){let t;const s=a[0].default,e=R(s,a,a[1],null);return{c(){e&&e.c()},l(o){e&&e.l(o)},m(o,l){e&&e.m(o,l),t=!0},p(o,l){e&&e.p&&(!t||l&2)&&W(e,s,o,o[1],t?Y(s,o[1],l,null):X(o[1]),null)},i(o){t||(v(e,o),t=!0)},o(o){h(e,o),t=!1},d(o){e&&e.d(o)}}}function $e(a){let t,s;return t=new fe({props:{$$slots:{default:[ie]},$$scope:{ctx:a}}}),{c(){T(t.$$.fragment)},l(e){V(t.$$.fragment,e)},m(e,o){y(t,e,o),s=!0},p(e,[o]){const l={};o&2&&(l.$$scope={dirty:o,ctx:e}),t.$set(l)},i(e){s||(v(t.$$.fragment,e),s=!0)},o(e){h(t.$$.fragment,e),s=!1},d(e){C(t,e)}}}function ue(a,t,s){let{$$slots:e={},$$scope:o}=t;return a.$$set=l=>{"$$scope"in l&&s(1,o=l.$$scope)},[e,o]}class ve extends M{constructor(t){super(),P(this,t,ue,$e,Q,{})}}export{ve as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-page.ts.181a91aa.js b/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-page.ts.181a91aa.js deleted file mode 100644 index 1875fc2c9e..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-page.ts.181a91aa.js +++ /dev/null @@ -1 +0,0 @@ -import"../chunks/index.b1f5b21f.js";import"../chunks/route-for.f2f7cb1c.js";import{l as t}from"../chunks/_page.31d41fe4.js";export{t as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-page.ts.1be58db9.js b/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-page.ts.1be58db9.js new file mode 100644 index 0000000000..58243d3d02 --- /dev/null +++ b/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-page.ts.1be58db9.js @@ -0,0 +1 @@ +import"../chunks/index.b1f5b21f.js";import"../chunks/route-for.8244bd54.js";import{l as t}from"../chunks/_page.f30a4e64.js";export{t as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-import-events-page.svelte.7be8fc4f.js b/ui/assets/local/_app/immutable/entry/(app)-import-events-page.svelte.089828c1.js similarity index 98% rename from ui/assets/local/_app/immutable/entry/(app)-import-events-page.svelte.7be8fc4f.js rename to ui/assets/local/_app/immutable/entry/(app)-import-events-page.svelte.089828c1.js index 99b0477b44..e58e2cdf8b 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-import-events-page.svelte.7be8fc4f.js +++ b/ui/assets/local/_app/immutable/entry/(app)-import-events-page.svelte.089828c1.js @@ -1 +1 @@ -import{S as tt,b as et,a as st,m as l,w as N,c as w,C,p as m,q as f,x as O,k as i,d as H,D,u as o,f as at,L as n,E as S,j as T,g as V,F as L,n as nt}from"../chunks/index.efded970.js";import{E as rt}from"../chunks/event-history-file-import.a363e2a4.js";import{C as Z}from"../chunks/code-block.cc2ffee9.js";import{L as ot}from"../chunks/link.cac19769.js";import{t as $}from"../chunks/translate.230dcc19.js";function it(v){let t=$("events","api-history-link")+"",s;return{c(){s=N(t)},l(e){s=O(e,t)},m(e,b){at(e,s,b)},p:nt,d(e){e&&i(s)}}}function ct(v){let t,s,e,b=$("events","import-event-history")+"",A,F,E,h,P,r,x,z,B,I,p,G,k,Q=$("events","history-expected-formats")+"",J,K,u,g,M,_,j;return h=new rt({}),p=new ot({props:{target:"_blank",href:"https://github.com/temporalio/api/blob/1cd0ac0bbd8e71c7bfc9fe1900c678b432e66e5b/temporal/api/history/v1/message.proto",class:"mb-8",$$slots:{default:[it]},$$scope:{ctx:v}}}),g=new Z({props:{content:v[0],inline:!0,copyIconTitle:$("copy-icon-title"),copySuccessIconTitle:$("copy-success-icon-title")}}),_=new Z({props:{content:lt,inline:!0,copyIconTitle:$("copy-icon-title"),copySuccessIconTitle:$("copy-success-icon-title")}}),{c(){t=l("section"),s=l("nav"),e=l("h1"),A=N(b),F=w(),E=l("div"),C(h.$$.fragment),P=w(),r=l("div"),x=l("code"),z=N("type HistoryEvent = temporal.api.history.v1.IHistoryEvent"),B=w(),I=l("div"),C(p.$$.fragment),G=w(),k=l("h2"),J=N(Q),K=w(),u=l("div"),C(g.$$.fragment),M=w(),C(_.$$.fragment),this.h()},l(a){t=m(a,"SECTION",{class:!0});var c=f(t);s=m(c,"NAV",{id:!0,class:!0,"aria-label":!0});var y=f(s);e=m(y,"H1",{class:!0,"data-testid":!0});var R=f(e);A=O(R,b),R.forEach(i),F=H(y),E=m(y,"DIV",{class:!0});var U=f(E);D(h.$$.fragment,U),U.forEach(i),y.forEach(i),P=H(c),r=m(c,"DIV",{class:!0});var d=f(r);x=m(d,"CODE",{class:!0});var W=f(x);z=O(W,"type HistoryEvent = temporal.api.history.v1.IHistoryEvent"),W.forEach(i),B=H(d),I=m(d,"DIV",{class:!0});var X=f(I);D(p.$$.fragment,X),X.forEach(i),G=H(d),k=m(d,"H2",{class:!0});var Y=f(k);J=O(Y,Q),Y.forEach(i),K=H(d),u=m(d,"DIV",{class:!0});var q=f(u);D(g.$$.fragment,q),M=H(q),D(_.$$.fragment,q),q.forEach(i),d.forEach(i),c.forEach(i),this.h()},h(){o(e,"class","text-lg font-medium"),o(e,"data-testid","import-event-history"),o(E,"class","flex gap-4"),o(s,"id","event-history"),o(s,"class","block items-center justify-between gap-4 pb-4 lg:flex"),o(s,"aria-label",$("events","import-event-history")),o(x,"class","text-md bg-gray-200 p-2 font-medium"),o(I,"class","mt-4"),o(k,"class","mt-8 text-lg font-medium"),o(u,"class","h-40 text-center"),o(r,"class","w-full md:w-1/2"),o(t,"class","flex flex-col gap-4")},m(a,c){at(a,t,c),n(t,s),n(s,e),n(e,A),n(s,F),n(s,E),S(h,E,null),n(t,P),n(t,r),n(r,x),n(x,z),n(r,B),n(r,I),S(p,I,null),n(r,G),n(r,k),n(k,J),n(r,K),n(r,u),S(g,u,null),n(u,M),S(_,u,null),j=!0},p(a,[c]){const y={};c&2&&(y.$$scope={dirty:c,ctx:a}),p.$set(y)},i(a){j||(T(h.$$.fragment,a),T(p.$$.fragment,a),T(g.$$.fragment,a),T(_.$$.fragment,a),j=!0)},o(a){V(h.$$.fragment,a),V(p.$$.fragment,a),V(g.$$.fragment,a),V(_.$$.fragment,a),j=!1},d(a){a&&i(t),L(h),L(p),L(g),L(_)}}}const lt="HistoryEvent[]";function mt(v){return[{events:"HistoryEvent[]"}]}class ft extends tt{constructor(t){super(),et(this,t,mt,ct,st,{})}}function pt(v){let t,s;return t=new ft({}),{c(){C(t.$$.fragment)},l(e){D(t.$$.fragment,e)},m(e,b){S(t,e,b),s=!0},p:nt,i(e){s||(T(t.$$.fragment,e),s=!0)},o(e){V(t.$$.fragment,e),s=!1},d(e){L(t,e)}}}class gt extends tt{constructor(t){super(),et(this,t,null,pt,st,{})}}export{gt as default}; +import{S as tt,b as et,a as st,m as l,w as N,c as w,C,p as m,q as f,x as O,k as i,d as H,D,u as o,f as at,L as n,E as S,j as T,g as V,F as L,n as nt}from"../chunks/index.efded970.js";import{E as rt}from"../chunks/event-history-file-import.443bbc6a.js";import{C as Z}from"../chunks/code-block.cc2ffee9.js";import{L as ot}from"../chunks/link.cac19769.js";import{t as $}from"../chunks/translate.230dcc19.js";function it(v){let t=$("events","api-history-link")+"",s;return{c(){s=N(t)},l(e){s=O(e,t)},m(e,b){at(e,s,b)},p:nt,d(e){e&&i(s)}}}function ct(v){let t,s,e,b=$("events","import-event-history")+"",A,F,E,h,P,r,x,z,B,I,p,G,k,Q=$("events","history-expected-formats")+"",J,K,u,g,M,_,j;return h=new rt({}),p=new ot({props:{target:"_blank",href:"https://github.com/temporalio/api/blob/1cd0ac0bbd8e71c7bfc9fe1900c678b432e66e5b/temporal/api/history/v1/message.proto",class:"mb-8",$$slots:{default:[it]},$$scope:{ctx:v}}}),g=new Z({props:{content:v[0],inline:!0,copyIconTitle:$("copy-icon-title"),copySuccessIconTitle:$("copy-success-icon-title")}}),_=new Z({props:{content:lt,inline:!0,copyIconTitle:$("copy-icon-title"),copySuccessIconTitle:$("copy-success-icon-title")}}),{c(){t=l("section"),s=l("nav"),e=l("h1"),A=N(b),F=w(),E=l("div"),C(h.$$.fragment),P=w(),r=l("div"),x=l("code"),z=N("type HistoryEvent = temporal.api.history.v1.IHistoryEvent"),B=w(),I=l("div"),C(p.$$.fragment),G=w(),k=l("h2"),J=N(Q),K=w(),u=l("div"),C(g.$$.fragment),M=w(),C(_.$$.fragment),this.h()},l(a){t=m(a,"SECTION",{class:!0});var c=f(t);s=m(c,"NAV",{id:!0,class:!0,"aria-label":!0});var y=f(s);e=m(y,"H1",{class:!0,"data-testid":!0});var R=f(e);A=O(R,b),R.forEach(i),F=H(y),E=m(y,"DIV",{class:!0});var U=f(E);D(h.$$.fragment,U),U.forEach(i),y.forEach(i),P=H(c),r=m(c,"DIV",{class:!0});var d=f(r);x=m(d,"CODE",{class:!0});var W=f(x);z=O(W,"type HistoryEvent = temporal.api.history.v1.IHistoryEvent"),W.forEach(i),B=H(d),I=m(d,"DIV",{class:!0});var X=f(I);D(p.$$.fragment,X),X.forEach(i),G=H(d),k=m(d,"H2",{class:!0});var Y=f(k);J=O(Y,Q),Y.forEach(i),K=H(d),u=m(d,"DIV",{class:!0});var q=f(u);D(g.$$.fragment,q),M=H(q),D(_.$$.fragment,q),q.forEach(i),d.forEach(i),c.forEach(i),this.h()},h(){o(e,"class","text-lg font-medium"),o(e,"data-testid","import-event-history"),o(E,"class","flex gap-4"),o(s,"id","event-history"),o(s,"class","block items-center justify-between gap-4 pb-4 lg:flex"),o(s,"aria-label",$("events","import-event-history")),o(x,"class","text-md bg-gray-200 p-2 font-medium"),o(I,"class","mt-4"),o(k,"class","mt-8 text-lg font-medium"),o(u,"class","h-40 text-center"),o(r,"class","w-full md:w-1/2"),o(t,"class","flex flex-col gap-4")},m(a,c){at(a,t,c),n(t,s),n(s,e),n(e,A),n(s,F),n(s,E),S(h,E,null),n(t,P),n(t,r),n(r,x),n(x,z),n(r,B),n(r,I),S(p,I,null),n(r,G),n(r,k),n(k,J),n(r,K),n(r,u),S(g,u,null),n(u,M),S(_,u,null),j=!0},p(a,[c]){const y={};c&2&&(y.$$scope={dirty:c,ctx:a}),p.$set(y)},i(a){j||(T(h.$$.fragment,a),T(p.$$.fragment,a),T(g.$$.fragment,a),T(_.$$.fragment,a),j=!0)},o(a){V(h.$$.fragment,a),V(p.$$.fragment,a),V(g.$$.fragment,a),V(_.$$.fragment,a),j=!1},d(a){a&&i(t),L(h),L(p),L(g),L(_)}}}const lt="HistoryEvent[]";function mt(v){return[{events:"HistoryEvent[]"}]}class ft extends tt{constructor(t){super(),et(this,t,mt,ct,st,{})}}function pt(v){let t,s;return t=new ft({}),{c(){C(t.$$.fragment)},l(e){D(t.$$.fragment,e)},m(e,b){S(t,e,b),s=!0},p:nt,i(e){s||(T(t.$$.fragment,e),s=!0)},o(e){V(t.$$.fragment,e),s=!1},d(e){L(t,e)}}}class gt extends tt{constructor(t){super(),et(this,t,null,pt,st,{})}}export{gt as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-import-layout.svelte.c1d79c78.js b/ui/assets/local/_app/immutable/entry/(app)-import-layout.svelte.0c6840cd.js similarity index 93% rename from ui/assets/local/_app/immutable/entry/(app)-import-layout.svelte.c1d79c78.js rename to ui/assets/local/_app/immutable/entry/(app)-import-layout.svelte.0c6840cd.js index 0a3184ed8a..a1764df3d2 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-import-layout.svelte.c1d79c78.js +++ b/ui/assets/local/_app/immutable/entry/(app)-import-layout.svelte.0c6840cd.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 P,K as S}from"../chunks/index.efded970.js";import{p as j}from"../chunks/stores.83aed68d.js";import{P as k}from"../chunks/page-title.a6dec5b5.js";function q(n){let s,o,a;s=new k({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&&P(o),e&&e.d(t)}}}function v(n,s,o){let a;S(n,j,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 G extends u{constructor(s){super(),_(this,s,v,q,m,{})}}export{G 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 P,K as S}from"../chunks/index.efded970.js";import{p as j}from"../chunks/stores.3002bd93.js";import{P as k}from"../chunks/page-title.a6dec5b5.js";function q(n){let s,o,a;s=new k({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&&P(o),e&&e.d(t)}}}function v(n,s,o){let a;S(n,j,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 G extends u{constructor(s){super(),_(this,s,v,q,m,{})}}export{G as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-import-page.ts.d4534f09.js b/ui/assets/local/_app/immutable/entry/(app)-import-page.ts.d4534f09.js new file mode 100644 index 0000000000..3458827064 --- /dev/null +++ b/ui/assets/local/_app/immutable/entry/(app)-import-page.ts.d4534f09.js @@ -0,0 +1 @@ +import"../chunks/index.b1f5b21f.js";import"../chunks/route-for.8244bd54.js";import{l as t}from"../chunks/_page.661af5f9.js";export{t as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-import-page.ts.f8709249.js b/ui/assets/local/_app/immutable/entry/(app)-import-page.ts.f8709249.js deleted file mode 100644 index 0dbb239b14..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-import-page.ts.f8709249.js +++ /dev/null @@ -1 +0,0 @@ -import"../chunks/index.b1f5b21f.js";import"../chunks/route-for.f2f7cb1c.js";import{l as t}from"../chunks/_page.efe49b17.js";export{t as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-layout.svelte.affec26f.js b/ui/assets/local/_app/immutable/entry/(app)-layout.svelte.29fcdee6.js similarity index 99% rename from ui/assets/local/_app/immutable/entry/(app)-layout.svelte.affec26f.js rename to ui/assets/local/_app/immutable/entry/(app)-layout.svelte.29fcdee6.js index 009becdeee..f1392bea52 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-layout.svelte.affec26f.js +++ b/ui/assets/local/_app/immutable/entry/(app)-layout.svelte.29fcdee6.js @@ -1,4 +1,4 @@ -import{S as ae,b as fe,a as ue,A as Le,Z as De,C as V,D,E as N,_ as Ne,j as p,g as b,F as S,m as j,w as Z,c as P,p as q,q as A,x as G,k as m,d as R,u as v,P as Y,$ as Ae,f as w,L as C,a0 as Et,Q as we,a1 as xe,y as ge,z as ce,h as de,r as nt,G as x,H as ee,I as te,J as le,V as Me,n as ne,e as ie,K as oe,a2 as Bl,a3 as Cl,a4 as zl,a5 as _e,W as rt,X as ot,N as Ie,v as Ct,O as et,R as gt,T as Ue,U as Oe,i as ht,Y as jl,o as ql,a6 as bt,M as Il,a7 as It,s as st,a8 as Tt,a9 as Al,aa as Ol}from"../chunks/index.efded970.js";import{a as Pl,g as Lt}from"../chunks/navigation.6d455e31.js";import{p as Pe,u as Rl}from"../chunks/stores.83aed68d.js";import{I as Tl}from"../chunks/input.f4d0de9f.js";import{t as z}from"../chunks/translate.230dcc19.js";import{T as at}from"../chunks/toggle-switch.f8f2487a.js";import{o as ft,i as Vt,p as Dt,c as ut,v as Hl,a as Ml,l as Fl}from"../chunks/data-encoder-config.ddfdfd14.js";import{r as Nt}from"../chunks/workflow-run.3d1553b6.js";import{d as ct,l as Ul}from"../chunks/data-converter-config.936a36a2.js";import{c as Kl,f as dt,M as $t,a as Ll,b as vt,d as Ke}from"../chunks/menu.9d531fff.js";import{L as Vl}from"../chunks/link.cac19769.js";import{B as _t}from"../chunks/button.a4f5a3d4.js";import{A as Wl}from"../chunks/accordion.0b47b9b3.js";import{w as tt,d as Zl}from"../chunks/index.c0615b9d.js";import{i as Gl}from"../chunks/settings-service.61c40f69.js";import{I as Se}from"../chunks/icon.91a9bf44.js";import{p as Ql}from"../chunks/persist-store.c0203efc.js";import{T as We}from"../chunks/tooltip.407e84a1.js";import{l as St}from"../chunks/labs-mode.38f06555.js";import{I as Ze}from"../chunks/icon-button.091b93c1.js";import{a as Dl,c as Xl}from"../chunks/auth-user.2a42bf1d.js";import{M as Nl}from"../chunks/menu-divider.99a2857a.js";import{r as Je,t as Ye,g as Jl,T as Bt,a as zt,f as jt}from"../chunks/format-date.be4b741e.js";import{c as Yl}from"../chunks/format-camel-case.887ffc78.js";import{l as lt,n as yl}from"../chunks/namespaces.08ac61f9.js";import{n as it}from"../chunks/route-for-api.1959b395.js";import{E as xl}from"../chunks/error.ea999a59.js";import{t as qt}from"../chunks/toaster.fd2b66a2.js";import{r as ye,a as en,b as tn,c as At,d as ln,e as nn}from"../chunks/route-for.f2f7cb1c.js";function sn(s){let e,l,t;function n(o){s[1](o)}let r={class:"w-96",placeholder:"Port",id:"data-encoder-port-input",label:z("data-encoder","port-title")+" ("+z("deprecated")+")",hintText:"*"+z("data-encoder","port-info")};return s[0]!==void 0&&(r.value=s[0]),e=new Tl({props:r}),Le.push(()=>De(e,"value",n)),{c(){V(e.$$.fragment)},l(o){D(e.$$.fragment,o)},m(o,a){N(e,o,a),t=!0},p(o,[a]){const i={};!l&&a&1&&(l=!0,i.value=o[0],Ne(()=>l=!1)),e.$set(i)},i(o){t||(p(e.$$.fragment,o),t=!0)},o(o){b(e.$$.fragment,o),t=!1},d(o){S(e,o)}}}function rn(s,e,l){let{port:t=""}=e;function n(r){t=r,l(0,t)}return s.$$set=r=>{"port"in r&&l(0,t=r.port)},[t,n]}class on extends ae{constructor(e){super(),fe(this,e,rn,sn,ue,{port:0})}}const an=s=>({}),Ot=s=>({});function Pt(s){let e,l;return{c(){e=j("p"),l=Z(s[11]),this.h()},l(t){e=q(t,"P",{class:!0});var n=A(e);l=G(n,s[11]),n.forEach(m),this.h()},h(){v(e,"class","text-sm")},m(t,n){w(t,e,n),C(e,l)},p(t,n){n&2048&&ge(l,t[11])},d(t){t&&m(e)}}}function Rt(s){let e,l,t=s[2]&&Ht(s);const n=s[14].error,r=x(n,s,s[13],Ot);return{c(){t&&t.c(),e=P(),r&&r.c()},l(o){t&&t.l(o),e=R(o),r&&r.l(o)},m(o,a){t&&t.m(o,a),w(o,e,a),r&&r.m(o,a),l=!0},p(o,a){o[2]?t?t.p(o,a):(t=Ht(o),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null),r&&r.p&&(!l||a&8192)&&ee(r,n,o,o[13],l?le(n,o[13],a,an):te(o[13]),Ot)},i(o){l||(p(r,o),l=!0)},o(o){b(r,o),l=!1},d(o){t&&t.d(o),o&&m(e),r&&r.d(o)}}}function Ht(s){let e,l;return{c(){e=j("p"),l=Z(s[2])},l(t){e=q(t,"P",{});var n=A(e);l=G(n,s[2]),n.forEach(m)},m(t,n){w(t,e,n),C(e,l)},p(t,n){n&4&&ge(l,t[2])},d(t){t&&m(e)}}}function fn(s){let e,l,t,n,r,o,a,i,u,f,c,_,d,h=s[11]&&Pt(s),$=!s[3]&&Rt(s);return{c(){e=j("div"),l=j("label"),t=Z(s[7]),n=P(),h&&h.c(),r=P(),o=j("textarea"),a=P(),i=j("div"),$&&$.c(),this.h()},l(g){e=q(g,"DIV",{class:!0});var k=A(e);l=q(k,"LABEL",{for:!0,class:!0});var M=A(l);t=G(M,s[7]),M.forEach(m),n=R(k),h&&h.l(k),r=R(k),o=q(k,"TEXTAREA",{class:!0,id:!0,placeholder:!0,rows:!0,spellcheck:!0}),A(o).forEach(m),a=R(k),i=q(k,"DIV",{class:!0,"aria-live":!0});var O=A(i);$&&$.l(O),O.forEach(m),k.forEach(m),this.h()},h(){v(l,"for",s[9]),v(l,"class","svelte-1cdabgy"),Y(l,"required",s[10]),Y(l,"sr-only",s[8]),v(o,"class","font-mono min-h-fit w-full rounded border border-gray-900 py-2 px-3 text-sm svelte-1cdabgy"),v(o,"id",s[9]),o.disabled=s[1],v(o,"placeholder",s[4]),v(o,"rows",s[5]),v(o,"spellcheck",s[6]),Y(o,"error",!s[3]),v(i,"class","error-msg svelte-1cdabgy"),v(i,"aria-live",u=s[3]?"off":"assertive"),v(e,"class",f=Ae(s[12])+" svelte-1cdabgy")},m(g,k){w(g,e,k),C(e,l),C(l,t),C(e,n),h&&h.m(e,null),C(e,r),C(e,o),Et(o,s[0]),C(e,a),C(e,i),$&&$.m(i,null),c=!0,_||(d=[we(o,"input",s[20]),we(o,"input",s[15]),we(o,"change",s[16]),we(o,"focus",s[17]),we(o,"blur",s[18]),we(o,"keydown",xe(s[19]))],_=!0)},p(g,[k]){(!c||k&128)&&ge(t,g[7]),(!c||k&512)&&v(l,"for",g[9]),(!c||k&1024)&&Y(l,"required",g[10]),(!c||k&256)&&Y(l,"sr-only",g[8]),g[11]?h?h.p(g,k):(h=Pt(g),h.c(),h.m(e,r)):h&&(h.d(1),h=null),(!c||k&512)&&v(o,"id",g[9]),(!c||k&2)&&(o.disabled=g[1]),(!c||k&16)&&v(o,"placeholder",g[4]),(!c||k&32)&&v(o,"rows",g[5]),(!c||k&64)&&v(o,"spellcheck",g[6]),k&1&&Et(o,g[0]),(!c||k&8)&&Y(o,"error",!g[3]),g[3]?$&&(ce(),b($,1,1,()=>{$=null}),de()):$?($.p(g,k),k&8&&p($,1)):($=Rt(g),$.c(),p($,1),$.m(i,null)),(!c||k&8&&u!==(u=g[3]?"off":"assertive"))&&v(i,"aria-live",u),(!c||k&4096&&f!==(f=Ae(g[12])+" svelte-1cdabgy"))&&v(e,"class",f)},i(g){c||(p($),c=!0)},o(g){b($),c=!1},d(g){g&&m(e),h&&h.d(),$&&$.d(),_=!1,nt(d)}}}function un(s,e,l){let{$$slots:t={},$$scope:n}=e,{disabled:r=!1}=e,{error:o=""}=e,{isValid:a=!0}=e,{placeholder:i=""}=e,{rows:u=5}=e,{spellcheck:f=null}=e,{value:c}=e,{label:_}=e,{labelHidden:d=!1}=e,{id:h}=e,{required:$=!1}=e,{description:g=""}=e,{class:k=""}=e;function M(I){Me.call(this,s,I)}function O(I){Me.call(this,s,I)}function E(I){Me.call(this,s,I)}function K(I){Me.call(this,s,I)}function W(I){Me.call(this,s,I)}function U(){c=this.value,l(0,c)}return s.$$set=I=>{"disabled"in I&&l(1,r=I.disabled),"error"in I&&l(2,o=I.error),"isValid"in I&&l(3,a=I.isValid),"placeholder"in I&&l(4,i=I.placeholder),"rows"in I&&l(5,u=I.rows),"spellcheck"in I&&l(6,f=I.spellcheck),"value"in I&&l(0,c=I.value),"label"in I&&l(7,_=I.label),"labelHidden"in I&&l(8,d=I.labelHidden),"id"in I&&l(9,h=I.id),"required"in I&&l(10,$=I.required),"description"in I&&l(11,g=I.description),"class"in I&&l(12,k=I.class),"$$scope"in I&&l(13,n=I.$$scope)},[c,r,o,a,i,u,f,_,d,h,$,g,k,n,t,M,O,E,K,W,U]}class cn extends ae{constructor(e){super(),fe(this,e,un,fn,ue,{disabled:1,error:2,isValid:3,placeholder:4,rows:5,spellcheck:6,value:0,label:7,labelHidden:8,id:9,required:10,description:11,class:12})}}function Mt(s){let e,l=z("data-encoder","include-cross-origin-credentials-warning")+"",t;return{c(){e=j("small"),t=Z(l),this.h()},l(n){e=q(n,"SMALL",{"data-testid":!0});var r=A(e);t=G(r,l),r.forEach(m),this.h()},h(){v(e,"data-testid","data-encoder-cross-origin-credentials")},m(n,r){w(n,e,r),C(e,t)},p:ne,d(n){n&&m(e)}}}function dn(s){let e,l,t,n,r,o,a,i,u,f,c,_;function d(E){s[4](E)}let h={id:"data-encoder-endpoint-input",rows:3,placeholder:z("data-encoder","endpoint-placeholder"),error:s[3],isValid:!s[3],label:z("data-encoder","endpoint-title"),description:z("data-encoder","endpoint-description")};s[0]!==void 0&&(h.value=s[0]),t=new cn({props:h}),Le.push(()=>De(t,"value",d));function $(E){s[5](E)}let g={label:z("data-encoder","pass-access-token-label"),id:"pass-access-token","data-testid":"data-encoder-pass-access-token"};s[1]!==void 0&&(g.checked=s[1]),o=new at({props:g}),Le.push(()=>De(o,"checked",$));function k(E){s[6](E)}let M={label:z("data-encoder","include-cross-origin-credentials-label"),id:"pass-access-credentials","data-testid":"data-encoder-include-credentials"};s[2]!==void 0&&(M.checked=s[2]),u=new at({props:M}),Le.push(()=>De(u,"checked",k));let O=s[2]&&Mt();return{c(){e=j("div"),l=j("div"),V(t.$$.fragment),r=P(),V(o.$$.fragment),i=P(),V(u.$$.fragment),c=P(),O&&O.c(),this.h()},l(E){e=q(E,"DIV",{class:!0});var K=A(e);l=q(K,"DIV",{class:!0});var W=A(l);D(t.$$.fragment,W),r=R(W),D(o.$$.fragment,W),i=R(W),D(u.$$.fragment,W),c=R(W),O&&O.l(W),W.forEach(m),K.forEach(m),this.h()},h(){v(l,"class","flex flex-col gap-2"),v(e,"class","flex flex-col gap-4")},m(E,K){w(E,e,K),C(e,l),N(t,l,null),C(l,r),N(o,l,null),C(l,i),N(u,l,null),C(l,c),O&&O.m(l,null),_=!0},p(E,[K]){const W={};K&8&&(W.error=E[3]),K&8&&(W.isValid=!E[3]),!n&&K&1&&(n=!0,W.value=E[0],Ne(()=>n=!1)),t.$set(W);const U={};!a&&K&2&&(a=!0,U.checked=E[1],Ne(()=>a=!1)),o.$set(U);const I={};!f&&K&4&&(f=!0,I.checked=E[2],Ne(()=>f=!1)),u.$set(I),E[2]?O?O.p(E,K):(O=Mt(),O.c(),O.m(l,null)):O&&(O.d(1),O=null)},i(E){_||(p(t.$$.fragment,E),p(o.$$.fragment,E),p(u.$$.fragment,E),_=!0)},o(E){b(t.$$.fragment,E),b(o.$$.fragment,E),b(u.$$.fragment,E),_=!1},d(E){E&&m(e),S(t),S(o),S(u),O&&O.d()}}}function _n(s,e,l){let{endpoint:t=""}=e,{passToken:n=!1}=e,{includeCreds:r=!1}=e,{error:o=""}=e;function a(f){t=f,l(0,t)}function i(f){n=f,l(1,n)}function u(f){r=f,l(2,r)}return s.$$set=f=>{"endpoint"in f&&l(0,t=f.endpoint),"passToken"in f&&l(1,n=f.passToken),"includeCreds"in f&&l(2,r=f.includeCreds),"error"in f&&l(3,o=f.error)},[t,n,r,o,a,i,u]}class mn extends ae{constructor(e){super(),fe(this,e,_n,dn,ue,{endpoint:0,passToken:1,includeCreds:2,error:3})}}function Ft(s){let e,l,t,n,r=z("codec-server")+"",o,a,i,u=z("data-encoder","codec-server-description-prefix")+"",f,c,_,d=z("data-encoder","codec-server-description-suffix",{level:s[7]})+"",h,$,g,k,M,O,E,K,W,U,I,L,H,y,X,he,pe,J,be,Te;c=new Vl({props:{href:"https://docs.temporal.io/dataconversion#codec-server",newTab:!0,$$slots:{default:[pn]},$$scope:{ctx:s}}}),g=new Wl({props:{"data-testid":"override-accordion",title:s[5]?z("data-encoder","browser-override-description",{level:s[7]}):z("data-encoder","no-browser-override-description",{level:s[7]}),$$slots:{default:[gn]},$$scope:{ctx:s}}});function $e(F){s[16](F)}function Be(F){s[17](F)}function ke(F){s[18](F)}let re={error:s[6]};s[0]!==void 0&&(re.endpoint=s[0]),s[1]!==void 0&&(re.passToken=s[1]),s[4]!==void 0&&(re.includeCreds=s[4]),M=new mn({props:re}),Le.push(()=>De(M,"endpoint",$e)),Le.push(()=>De(M,"passToken",Be)),Le.push(()=>De(M,"includeCreds",ke));function Ve(F){s[19](F)}let me={};return s[3]!==void 0&&(me.port=s[3]),U=new on({props:me}),Le.push(()=>De(U,"port",Ve)),y=new _t({props:{disabled:Boolean(s[6])||s[5]&&!s[0],"data-testid":"confirm-data-encoder-button",type:"submit",$$slots:{default:[hn]},$$scope:{ctx:s}}}),y.$on("click",s[9]),he=new _t({props:{variant:"ghost","data-testid":"cancel-data-encoder-button",$$slots:{default:[bn]},$$scope:{ctx:s}}}),he.$on("click",s[8]),{c(){e=j("aside"),l=j("div"),t=j("div"),n=j("h3"),o=Z(r),a=P(),i=j("p"),f=Z(u),V(c.$$.fragment),_=P(),h=Z(d),$=P(),V(g.$$.fragment),k=P(),V(M.$$.fragment),W=P(),V(U.$$.fragment),L=P(),H=j("div"),V(y.$$.fragment),X=P(),V(he.$$.fragment),this.h()},l(F){e=q(F,"ASIDE",{class:!0});var se=A(e);l=q(se,"DIV",{class:!0});var B=A(l);t=q(B,"DIV",{class:!0});var Q=A(t);n=q(Q,"H3",{"data-testid":!0,class:!0});var ve=A(n);o=G(ve,r),ve.forEach(m),Q.forEach(m),a=R(B),i=q(B,"P",{class:!0});var Ee=A(i);f=G(Ee,u),D(c.$$.fragment,Ee),_=R(Ee),h=G(Ee,d),Ee.forEach(m),$=R(B),D(g.$$.fragment,B),k=R(B),D(M.$$.fragment,B),W=R(B),D(U.$$.fragment,B),L=R(B),H=q(B,"DIV",{class:!0});var Ce=A(H);D(y.$$.fragment,Ce),X=R(Ce),D(he.$$.fragment,Ce),Ce.forEach(m),B.forEach(m),se.forEach(m),this.h()},h(){v(n,"data-testid","data-encoder-title"),v(n,"class","text-xl"),v(t,"class","flex items-center justify-between space-x-2"),v(i,"class","text-sm"),v(H,"class","flex items-center gap-4"),v(l,"class","w-full xl:w-1/2 flex flex-col gap-4"),v(e,"class","relative w-full h-auto p-12 bg-blue-50 border-b border-blue-100 flex flex-col gap-6")},m(F,se){w(F,e,se),C(e,l),C(l,t),C(t,n),C(n,o),C(l,a),C(l,i),C(i,f),N(c,i,null),C(i,_),C(i,h),C(l,$),N(g,l,null),C(l,k),N(M,l,null),C(l,W),N(U,l,null),C(l,L),C(l,H),N(y,H,null),C(H,X),N(he,H,null),J=!0,be||(Te=[Bl(Kl.call(null,e)),we(e,"click-outside",s[20])],be=!0)},p(F,se){const B={};se&134217728&&(B.$$scope={dirty:se,ctx:F}),c.$set(B),(!J||se&128)&&d!==(d=z("data-encoder","codec-server-description-suffix",{level:F[7]})+"")&&ge(h,d);const Q={};se&160&&(Q.title=F[5]?z("data-encoder","browser-override-description",{level:F[7]}):z("data-encoder","no-browser-override-description",{level:F[7]})),se&134217888&&(Q.$$scope={dirty:se,ctx:F}),g.$set(Q);const ve={};se&64&&(ve.error=F[6]),!O&&se&1&&(O=!0,ve.endpoint=F[0],Ne(()=>O=!1)),!E&&se&2&&(E=!0,ve.passToken=F[1],Ne(()=>E=!1)),!K&&se&16&&(K=!0,ve.includeCreds=F[4],Ne(()=>K=!1)),M.$set(ve);const Ee={};!I&&se&8&&(I=!0,Ee.port=F[3],Ne(()=>I=!1)),U.$set(Ee);const Ce={};se&97&&(Ce.disabled=Boolean(F[6])||F[5]&&!F[0]),se&134217728&&(Ce.$$scope={dirty:se,ctx:F}),y.$set(Ce);const ze={};se&134217728&&(ze.$$scope={dirty:se,ctx:F}),he.$set(ze)},i(F){J||(p(c.$$.fragment,F),p(g.$$.fragment,F),p(M.$$.fragment,F),p(U.$$.fragment,F),p(y.$$.fragment,F),p(he.$$.fragment,F),pe||Cl(()=>{pe=zl(e,dt,{y:-50,delay:0,duration:500}),pe.start()}),J=!0)},o(F){b(c.$$.fragment,F),b(g.$$.fragment,F),b(M.$$.fragment,F),b(U.$$.fragment,F),b(y.$$.fragment,F),b(he.$$.fragment,F),J=!1},d(F){F&&m(e),S(c),S(g),S(M),S(U),S(y),S(he),be=!1,nt(Te)}}}function pn(s){let e=z("codec-server")+"",l;return{c(){l=Z(e)},l(t){l=G(t,e)},m(t,n){w(t,l,n)},p:ne,d(t){t&&m(l)}}}function gn(s){let e,l,t,n,r,o=z("data-encoder","no-browser-override-description",{level:s[7]})+"",a,i,u,f,c,_=z("data-encoder","browser-override-description",{level:s[7]})+"",d,h,$;return{c(){e=j("div"),l=j("label"),t=j("input"),r=P(),a=Z(o),i=P(),u=j("label"),f=j("input"),c=P(),d=Z(_),this.h()},l(g){e=q(g,"DIV",{class:!0});var k=A(e);l=q(k,"LABEL",{class:!0,for:!0});var M=A(l);t=q(M,"INPUT",{class:!0,type:!0,name:!0,id:!0,"data-testid":!0}),r=R(M),a=G(M,o),M.forEach(m),i=R(k),u=q(k,"LABEL",{class:!0,for:!0});var O=A(u);f=q(O,"INPUT",{class:!0,type:!0,name:!0,id:!0,"data-testid":!0}),c=R(O),d=G(O,_),O.forEach(m),k.forEach(m),this.h()},h(){v(t,"class","w-4 h-4 accent-gray-900"),v(t,"type","radio"),t.checked=n=!s[5],v(t,"name","use-configuration-endpoint"),v(t,"id","use-configuration-endpoint-radio"),v(t,"data-testid","use-configuration-endpoint-input"),v(l,"class","flex flex-row items-center gap-2 cursor-pointer"),v(l,"for","use-configuration-endpoint-radio"),v(f,"class","w-4 h-4 accent-gray-900"),v(f,"type","radio"),f.checked=s[5],v(f,"name","use-local-endpoint"),v(f,"id","use-local-endpoint-radio"),v(f,"data-testid","use-local-endpoint-input"),v(u,"class","flex flex-row items-center gap-2 cursor-pointer"),v(u,"for","use-local-endpoint-radio"),v(e,"class","flex flex-col gap-2")},m(g,k){w(g,e,k),C(e,l),C(l,t),C(l,r),C(l,a),C(e,i),C(e,u),C(u,f),C(u,c),C(u,d),h||($=[we(t,"click",s[14]),we(f,"click",s[15])],h=!0)},p(g,k){k&32&&n!==(n=!g[5])&&(t.checked=n),k&128&&o!==(o=z("data-encoder","no-browser-override-description",{level:g[7]})+"")&&ge(a,o),k&32&&(f.checked=g[5]),k&128&&_!==(_=z("data-encoder","browser-override-description",{level:g[7]})+"")&&ge(d,_)},d(g){g&&m(e),h=!1,nt($)}}}function hn(s){let e=z("apply")+"",l;return{c(){l=Z(e)},l(t){l=G(t,e)},m(t,n){w(t,l,n)},p:ne,d(t){t&&m(l)}}}function bn(s){let e=z("cancel")+"",l;return{c(){l=Z(e)},l(t){l=G(t,e)},m(t,n){w(t,l,n)},p:ne,d(t){t&&m(l)}}}function $n(s){let e,l,t=s[2]&&Ft(s);return{c(){t&&t.c(),e=ie()},l(n){t&&t.l(n),e=ie()},m(n,r){t&&t.m(n,r),w(n,e,r),l=!0},p(n,[r]){n[2]?t?(t.p(n,r),r&4&&p(t,1)):(t=Ft(n),t.c(),p(t,1),t.m(e.parentNode,e)):t&&(ce(),b(t,1,1,()=>{t=null}),de())},i(n){l||(p(t),l=!0)},o(n){b(t),l=!1},d(n){t&&t.d(n),n&&m(e)}}}const Fe=tt(!1);function vn(s,e,l){let t,n,r,o,a,i=ne,u,f,c,_,d;oe(s,Nt,J=>l(21,r=J)),oe(s,Pe,J=>l(13,o=J)),oe(s,Fe,J=>l(2,a=J)),oe(s,ft,J=>l(22,u=J)),oe(s,ct,J=>l(23,f=J)),oe(s,Vt,J=>l(24,c=J)),oe(s,Dt,J=>l(25,_=J)),oe(s,ut,J=>l(26,d=J)),s.$$.on_destroy.push(()=>i());var h,$,g;let k=d??"",M=f??"",O=_??!1,E=c??!1,K=u??!1;const W=()=>{l(0,k=d),l(3,M=f),l(1,O=_),l(4,E=c),l(5,K=u),_e(Fe,a=!1,a)},U=()=>{l(6,t=""),_e(ut,d=k,d),_e(Dt,_=O,_),_e(Vt,c=E,c),_e(ct,f=M,f),_e(ft,u=K,u),_e(Fe,a=!1,a),o.url.pathname.endsWith("history")&&_e(Nt,r=Date.now(),r)},I=()=>l(5,K=!1),L=()=>l(5,K=!0);function H(J){k=J,l(0,k)}function y(J){O=J,l(1,O)}function X(J){E=J,l(4,E)}function he(J){M=J,l(3,M)}const pe=()=>_e(Fe,a=!1,a);return s.$$.update=()=>{s.$$.dirty&15360&&l(7,n=!(l(12,g=l(11,$=l(10,h=o.data)===null||h===void 0?void 0:h.settings)===null||$===void 0?void 0:$.runtimeEnvironment)===null||g===void 0)&&g.isCloud?z("namespaces"):z("cluster")),s.$$.dirty&3&&(O&&!Hl(k)?l(6,t=z("data-encoder","access-token-https-error")):k&&!Ml(k)?l(6,t=z("data-encoder","prefix-error")):l(6,t="")),s.$$.dirty&4&&(a||W())},l(6,t=""),[k,O,a,M,E,K,t,n,W,U,h,$,g,o,I,L,H,y,X,he,pe]}class kn extends ae{constructor(e){super(),fe(this,e,vn,$n,ue,{})}}const wn=s=>({}),Ut=s=>({});function En(s){let e;const l=s[2].fallback,t=x(l,s,s[1],Ut);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&2)&&ee(t,l,n,n[1],e?le(l,n[1],r,wn):te(n[1]),Ut)},i(n){e||(p(t,n),e=!0)},o(n){b(t,n),e=!1},d(n){t&&t.d(n)}}}function Cn(s){let e;const l=s[2].default,t=x(l,s,s[1],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&2)&&ee(t,l,n,n[1],e?le(l,n[1],r,null):te(n[1]),null)},i(n){e||(p(t,n),e=!0)},o(n){b(t,n),e=!1},d(n){t&&t.d(n)}}}function In(s){let e,l,t,n;const r=[Cn,En],o=[];function a(i,u){return i[0]?0:1}return e=a(s),l=o[e]=r[e](s),{c(){l.c(),t=ie()},l(i){l.l(i),t=ie()},m(i,u){o[e].m(i,u),w(i,t,u),n=!0},p(i,[u]){let f=e;e=a(i),e===f?o[e].p(i,u):(ce(),b(o[f],1,1,()=>{o[f]=null}),de(),l=o[e],l?l.p(i,u):(l=o[e]=r[e](i),l.c()),p(l,1),l.m(t.parentNode,t))},i(i){n||(p(l),n=!0)},o(i){b(l),n=!1},d(i){o[e].d(i),i&&m(t)}}}function Tn(s,e,l){let{$$slots:t={},$$scope:n}=e,{enabled:r=!1}=e;return s.$$set=o=>{"enabled"in o&&l(0,r=o.enabled),"$$scope"in o&&l(1,n=o.$$scope)},[r,n,t]}class Ln extends ae{constructor(e){super(),fe(this,e,Tn,In,ue,{enabled:0})}}const Vn=s=>({}),Kt=s=>({});function Dn(s){let e;const l=s[3].default,t=x(l,s,s[2],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&4)&&ee(t,l,n,n[2],e?le(l,n[2],r,null):te(n[2]),null)},i(n){e||(p(t,n),e=!0)},o(n){b(t,n),e=!1},d(n){t&&t.d(n)}}}function Nn(s){let e;const l=s[3].fallback,t=x(l,s,s[2],Kt);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&4)&&ee(t,l,n,n[2],e?le(l,n[2],r,Vn):te(n[2]),Kt)},i(n){e||(p(t,n),e=!0)},o(n){b(t,n),e=!1},d(n){t&&t.d(n)}}}function Sn(s){let e,l,t,n;const r=[Nn,Dn],o=[];function a(i,u){var f,c,_;return i[0]||(_=(c=(f=i[1].data)==null?void 0:f.settings)==null?void 0:c.runtimeEnvironment)!=null&&_.isCloud?0:1}return e=a(s),l=o[e]=r[e](s),{c(){l.c(),t=ie()},l(i){l.l(i),t=ie()},m(i,u){o[e].m(i,u),w(i,t,u),n=!0},p(i,[u]){let f=e;e=a(i),e===f?o[e].p(i,u):(ce(),b(o[f],1,1,()=>{o[f]=null}),de(),l=o[e],l?l.p(i,u):(l=o[e]=r[e](i),l.c()),p(l,1),l.m(t.parentNode,t))},i(i){n||(p(l),n=!0)},o(i){b(l),n=!1},d(i){o[e].d(i),i&&m(t)}}}function Bn(s,e,l){let t;oe(s,Pe,a=>l(1,t=a));let{$$slots:n={},$$scope:r}=e,{isCloud:o=!1}=e;return s.$$set=a=>{"isCloud"in a&&l(0,o=a.isCloud),"$$scope"in a&&l(2,r=a.$$scope)},[o,t,r,n]}class mt extends ae{constructor(e){super(),fe(this,e,Bn,Sn,ue,{isCloud:0})}}function zn(){return!0}const jn=s=>({}),Wt=s=>({});function qn(s){let e;const l=s[4].default,t=x(l,s,s[3],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&8)&&ee(t,l,n,n[3],e?le(l,n[3],r,null):te(n[3]),null)},i(n){e||(p(t,n),e=!0)},o(n){b(t,n),e=!1},d(n){t&&t.d(n)}}}function An(s){let e;const l=s[4].fallback,t=x(l,s,s[3],Wt);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&8)&&ee(t,l,n,n[3],e?le(l,n[3],r,jn):te(n[3]),Wt)},i(n){e||(p(t,n),e=!0)},o(n){b(t,n),e=!1},d(n){t&&t.d(n)}}}function On(s){let e,l,t,n;const r=[An,qn],o=[];function a(i,u){return i[0]&&i[1]?0:1}return e=a(s),l=o[e]=r[e](s),{c(){l.c(),t=ie()},l(i){l.l(i),t=ie()},m(i,u){o[e].m(i,u),w(i,t,u),n=!0},p(i,[u]){let f=e;e=a(i),e===f?o[e].p(i,u):(ce(),b(o[f],1,1,()=>{o[f]=null}),de(),l=o[e],l?l.p(i,u):(l=o[e]=r[e](i),l.c()),p(l,1),l.m(t.parentNode,t))},i(i){n||(p(l),n=!0)},o(i){b(l),n=!1},d(i){o[e].d(i),i&&m(t)}}}function Pn(s,e,l){let t,n;oe(s,Pe,i=>l(2,n=i));let{$$slots:r={},$$scope:o}=e,{isCloud:a=!0}=e;return s.$$set=i=>{"isCloud"in i&&l(0,a=i.isCloud),"$$scope"in i&&l(3,o=i.$$scope)},s.$$.update=()=>{s.$$.dirty&4&&l(1,t=Gl.test(zn?n.url.hostname:""))},[a,t,n,o,r]}class Rn extends ae{constructor(e){super(),fe(this,e,Pn,On,ue,{isCloud:0})}}function Hn(s){let e,l,t,n;return{c(){e=rt("svg"),l=rt("title"),t=Z(s[2]),n=rt("path"),this.h()},l(r){e=ot(r,"svg",{width:!0,height:!0,viewBox:!0,xmlns:!0,"xmlns:xlink":!0,version:!0,role:!0});var o=A(e);l=ot(o,"title",{});var a=A(l);t=G(a,s[2]),a.forEach(m),n=ot(o,"path",{id:!0,d:!0,stroke:!0,fill:!0}),A(n).forEach(m),o.forEach(m),this.h()},h(){v(n,"id","Path"),v(n,"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"),v(n,"stroke",s[3]),v(n,"fill",s[3]),v(e,"width",s[0]),v(e,"height",s[1]),v(e,"viewBox","0 0 100 100"),v(e,"xmlns","http://www.w3.org/2000/svg"),v(e,"xmlns:xlink","http://www.w3.org/1999/xlink"),v(e,"version","1.1"),v(e,"role","img")},m(r,o){w(r,e,o),C(e,l),C(l,t),C(e,n)},p(r,[o]){o&4&&ge(t,r[2]),o&1&&v(e,"width",r[0]),o&2&&v(e,"height",r[1])},i:ne,o:ne,d(r){r&&m(e)}}}function Mn(s,e,l){let{width:t="100px"}=e,{height:n="100px"}=e,{isCloud:r}=e,{title:o=""}=e,a=r?"black":"white";return s.$$set=i=>{"width"in i&&l(0,t=i.width),"height"in i&&l(1,n=i.height),"isCloud"in i&&l(4,r=i.isCloud),"title"in i&&l(2,o=i.title)},[t,n,o,a,r]}class Fn extends ae{constructor(e){super(),fe(this,e,Mn,Hn,ue,{width:0,height:1,isCloud:4,title:2})}}const pt=Ql("navOpen",!1);const Un=s=>({}),Zt=s=>({}),Kn=s=>({}),Gt=s=>({}),Wn=s=>({}),Qt=s=>({}),Zn=s=>({}),Xt=s=>({});function Jt(s){let e,l=z("version")+"",t;return{c(){e=j("span"),t=Z(l),this.h()},l(n){e=q(n,"SPAN",{class:!0});var r=A(e);t=G(r,l),r.forEach(m),this.h()},h(){v(e,"class","sr-only")},m(n,r){w(n,e,r),C(e,t)},p:ne,d(n){n&&m(e)}}}function Gn(s){let e,l,t,n,r,o,a,i,u,f,c,_,d,h,$,g,k,M,O,E,K,W,U,I,L,H,y,X,he,pe;n=new Fn({props:{height:"24px",width:"24px",isCloud:s[0],title:z("workflows","recent-workflows-link")}}),i=new Se({props:{name:s[3]?"chevron-left":"chevron-right"}});const J=s[11].top,be=x(J,s,s[10],Xt),Te=s[11].middle,$e=x(Te,s,s[10],Qt),Be=s[11].bottom,ke=x(Be,s,s[10],Gt);let re=s[2]&&Jt();const Ve=s[11].drawer,me=x(Ve,s,s[10],Zt);let F=[{class:"nav-header transition-width"},{"data-testid":"navigation-header"},s[5]],se={};for(let B=0;Bl(9,o=g)),oe(s,pt,g=>l(3,a=g));let{$$slots:i={},$$scope:u}=e;var f,c,_;let{isCloud:d=!1}=e,{linkList:h}=e;function $(){_e(pt,a=!a,a)}return s.$$set=g=>{e=Ie(Ie({},e),Oe(g)),l(5,r=Ue(e,n)),"isCloud"in g&&l(0,d=g.isCloud),"linkList"in g&&l(1,h=g.linkList),"$$scope"in g&&l(10,u=g.$$scope)},s.$$.update=()=>{s.$$.dirty&960&&l(2,t=l(8,_=l(7,c=l(6,f=o.data)===null||f===void 0?void 0:f.settings)===null||c===void 0?void 0:c.version)!==null&&_!==void 0?_:"")},[d,h,t,a,$,r,f,c,_,o,u,i]}class Xn extends ae{constructor(e){super(),fe(this,e,Qn,Gn,ue,{isCloud:0,linkList:1})}}function Jn(s){let e;const l=s[9].default,t=x(l,s,s[8],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&256)&&ee(t,l,n,n[8],e?le(l,n[8],r,null):te(n[8]),null)},i(n){e||(p(t,n),e=!0)},o(n){b(t,n),e=!1},d(n){t&&t.d(n)}}}function Yn(s){let e,l;const t=s[9].default,n=x(t,s,s[8],null);return{c(){e=j("a"),n&&n.c(),this.h()},l(r){e=q(r,"A",{href:!0,class:!0});var o=A(e);n&&n.l(o),o.forEach(m),this.h()},h(){v(e,"href",s[0]),v(e,"class",Ae(s[5])+" svelte-4ukgao")},m(r,o){w(r,e,o),n&&n.m(e,null),l=!0},p(r,o){n&&n.p&&(!l||o&256)&&ee(n,t,r,r[8],l?le(t,r[8],o,null):te(r[8]),null),(!l||o&1)&&v(e,"href",r[0])},i(r){l||(p(n,r),l=!0)},o(r){b(n,r),l=!1},d(r){r&&m(e),n&&n.d(r)}}}function yn(s){let e,l;const t=s[9].default,n=x(t,s,s[8],null);return{c(){e=j("a"),n&&n.c(),this.h()},l(r){e=q(r,"A",{href:!0,rel:!0,target:!0,class:!0});var o=A(e);n&&n.l(o),o.forEach(m),this.h()},h(){v(e,"href",s[0]),v(e,"rel","noreferrer"),v(e,"target","_blank"),v(e,"class",Ae(s[5])+" svelte-4ukgao")},m(r,o){w(r,e,o),n&&n.m(e,null),l=!0},p(r,o){n&&n.p&&(!l||o&256)&&ee(n,t,r,r[8],l?le(t,r[8],o,null):te(r[8]),null),(!l||o&1)&&v(e,"href",r[0])},i(r){l||(p(n,r),l=!0)},o(r){b(n,r),l=!1},d(r){r&&m(e),n&&n.d(r)}}}function xn(s){let e,l,t,n;const r=s[9].default,o=x(r,s,s[8],null);return{c(){e=j("button"),o&&o.c(),this.h()},l(a){e=q(a,"BUTTON",{class:!0});var i=A(e);o&&o.l(i),i.forEach(m),this.h()},h(){v(e,"class",s[5]+" text-left svelte-4ukgao")},m(a,i){w(a,e,i),o&&o.m(e,null),l=!0,t||(n=we(e,"click",function(){ht(s[4])&&s[4].apply(this,arguments)}),t=!0)},p(a,i){s=a,o&&o.p&&(!l||i&256)&&ee(o,r,s,s[8],l?le(r,s[8],i,null):te(s[8]),null)},i(a){l||(p(o,a),l=!0)},o(a){b(o,a),l=!1},d(a){a&&m(e),o&&o.d(a),t=!1,n()}}}function es(s){let e,l,t,n,r,o;const a=[xn,yn,Yn,Jn],i=[];function u(f,c){return f[4]!==null?0:f[0]&&f[3]?1:f[0]?2:3}return l=u(s),t=i[l]=a[l](s),{c(){e=j("li"),t.c(),this.h()},l(f){e=q(f,"LI",{class:!0,"data-testid":!0});var c=A(e);t.l(c),c.forEach(m),this.h()},h(){v(e,"class",n=Ae(s[0]?"":s[5])+" svelte-4ukgao"),v(e,"data-testid",r=s[6]["data-testid"]),Y(e,"noFilter",s[1]),Y(e,"wrap",s[2]),Y(e,"button",s[4]!==null)},m(f,c){w(f,e,c),i[l].m(e,null),o=!0},p(f,[c]){let _=l;l=u(f),l===_?i[l].p(f,c):(ce(),b(i[_],1,1,()=>{i[_]=null}),de(),t=i[l],t?t.p(f,c):(t=i[l]=a[l](f),t.c()),p(t,1),t.m(e,null)),(!o||c&1&&n!==(n=Ae(f[0]?"":f[5])+" svelte-4ukgao"))&&v(e,"class",n),(!o||c&64&&r!==(r=f[6]["data-testid"]))&&v(e,"data-testid",r),(!o||c&3)&&Y(e,"noFilter",f[1]),(!o||c&5)&&Y(e,"wrap",f[2]),(!o||c&17)&&Y(e,"button",f[4]!==null)},i(f){o||(p(t),o=!0)},o(f){b(t),o=!1},d(f){f&&m(e),i[l].d()}}}function ts(s,e,l){let{$$slots:t={},$$scope:n}=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 s.$$set=_=>{l(6,e=Ie(Ie({},e),Oe(_))),"link"in _&&l(0,r=_.link),"isCloud"in _&&l(7,o=_.isCloud),"noFilter"in _&&l(1,a=_.noFilter),"wrap"in _&&l(2,i=_.wrap),"externalLink"in _&&l(3,u=_.externalLink),"handleClick"in _&&l(4,f=_.handleClick),"$$scope"in _&&l(8,n=_.$$scope)},e=Oe(e),[r,a,i,u,f,c,e,o,n,t]}class Re extends ae{constructor(e){super(),fe(this,e,ts,es,ue,{link:0,isCloud:7,noFilter:1,wrap:2,externalLink:3,handleClick:4})}}function ls(s){let e;const l=s[3].default,t=x(l,s,s[4],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&16)&&ee(t,l,n,n[4],e?le(l,n[4],r,null):te(n[4]),null)},i(n){e||(p(t,n),e=!0)},o(n){b(t,n),e=!1},d(n){t&&t.d(n)}}}function ns(s){let e,l;const t=[{right:!0},{hide:s[2]},{text:s[1]},s[0]];let n={$$slots:{default:[ls]},$$scope:{ctx:s}};for(let r=0;rl(2,r=f));let{$$slots:o={},$$scope:a}=e,{props:i=n}=e,{text:u=n.text}=e;return s.$$set=f=>{e=Ie(Ie({},e),Oe(f)),l(5,n=Ue(e,t)),"props"in f&&l(0,i=f.props),"text"in f&&l(1,u=f.text),"$$scope"in f&&l(4,a=f.$$scope)},[i,u,r,o,a]}class He extends ae{constructor(e){super(),fe(this,e,ss,ns,ue,{props:0,text:1})}}const rs=s=>({}),Yt=s=>({}),os=s=>({}),yt=s=>({}),is=s=>({}),xt=s=>({}),as=s=>({}),el=s=>({}),fs=s=>({}),tl=s=>({});function us(s){let e,l,t;return l=new Se({props:{name:"workflow"}}),{c(){e=j("div"),V(l.$$.fragment),this.h()},l(n){e=q(n,"DIV",{class:!0});var r=A(e);D(l.$$.fragment,r),r.forEach(m),this.h()},h(){v(e,"class","nav-icon svelte-1jb7rp7")},m(n,r){w(n,e,r),N(l,e,null),t=!0},p:ne,i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){b(l.$$.fragment,n),t=!1},d(n){n&&m(e),S(l)}}}function cs(s){let e,l,t,n=z("workflows")+"",r,o;return e=new He({props:{text:z("workflows"),$$slots:{default:[us]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment),l=P(),t=j("div"),r=Z(n),this.h()},l(a){D(e.$$.fragment,a),l=R(a),t=q(a,"DIV",{class:!0});var i=A(t);r=G(i,n),i.forEach(m),this.h()},h(){v(t,"class","nav-title svelte-1jb7rp7")},m(a,i){N(e,a,i),w(a,l,i),w(a,t,i),C(t,r),o=!0},p(a,i){const u={};i&256&&(u.$$scope={dirty:i,ctx:a}),e.$set(u)},i(a){o||(p(e.$$.fragment,a),o=!0)},o(a){b(e.$$.fragment,a),o=!1},d(a){S(e,a),a&&m(l),a&&m(t)}}}function ds(s){let e,l,t;return l=new Se({props:{name:"schedules"}}),{c(){e=j("div"),V(l.$$.fragment),this.h()},l(n){e=q(n,"DIV",{class:!0});var r=A(e);D(l.$$.fragment,r),r.forEach(m),this.h()},h(){v(e,"class","nav-icon svelte-1jb7rp7")},m(n,r){w(n,e,r),N(l,e,null),t=!0},p:ne,i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){b(l.$$.fragment,n),t=!1},d(n){n&&m(e),S(l)}}}function _s(s){let e,l,t,n=z("schedules")+"",r,o;return e=new He({props:{text:z("schedules"),$$slots:{default:[ds]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment),l=P(),t=j("div"),r=Z(n),this.h()},l(a){D(e.$$.fragment,a),l=R(a),t=q(a,"DIV",{class:!0});var i=A(t);r=G(i,n),i.forEach(m),this.h()},h(){v(t,"class","nav-title svelte-1jb7rp7")},m(a,i){N(e,a,i),w(a,l,i),w(a,t,i),C(t,r),o=!0},p(a,i){const u={};i&256&&(u.$$scope={dirty:i,ctx:a}),e.$set(u)},i(a){o||(p(e.$$.fragment,a),o=!0)},o(a){b(e.$$.fragment,a),o=!1},d(a){S(e,a),a&&m(l),a&&m(t)}}}function ms(s){let e,l;return e=new Re({props:{link:s[2].schedules,isCloud:s[0],"data-testid":"schedules-button",$$slots:{default:[_s]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&4&&(r.link=t[2].schedules),n&1&&(r.isCloud=t[0]),n&256&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){S(e,t)}}}function ps(s){var t,n;let e,l;return e=new Ln({props:{enabled:Boolean((n=(t=s[1])==null?void 0:t.namespaceInfo)==null?void 0:n.supportsSchedules),$$slots:{default:[ms]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment)},l(r){D(e.$$.fragment,r)},m(r,o){N(e,r,o),l=!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&261&&(a.$$scope={dirty:o,ctx:r}),e.$set(a)},i(r){l||(p(e.$$.fragment,r),l=!0)},o(r){b(e.$$.fragment,r),l=!1},d(r){S(e,r)}}}function gs(s){let e,l,t;return l=new Se({props:{name:"archives"}}),{c(){e=j("div"),V(l.$$.fragment),this.h()},l(n){e=q(n,"DIV",{class:!0});var r=A(e);D(l.$$.fragment,r),r.forEach(m),this.h()},h(){v(e,"class","nav-icon svelte-1jb7rp7")},m(n,r){w(n,e,r),N(l,e,null),t=!0},p:ne,i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){b(l.$$.fragment,n),t=!1},d(n){n&&m(e),S(l)}}}function hs(s){let e,l,t,n=z("archive")+"",r,o;return e=new He({props:{text:z("archive"),$$slots:{default:[gs]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment),l=P(),t=j("div"),r=Z(n),this.h()},l(a){D(e.$$.fragment,a),l=R(a),t=q(a,"DIV",{class:!0});var i=A(t);r=G(i,n),i.forEach(m),this.h()},h(){v(t,"class","nav-title svelte-1jb7rp7")},m(a,i){N(e,a,i),w(a,l,i),w(a,t,i),C(t,r),o=!0},p(a,i){const u={};i&256&&(u.$$scope={dirty:i,ctx:a}),e.$set(u)},i(a){o||(p(e.$$.fragment,a),o=!0)},o(a){b(e.$$.fragment,a),o=!1},d(a){S(e,a),a&&m(l),a&&m(t)}}}function bs(s){let e,l;return e=new Re({props:{link:s[2].archive,isCloud:s[0],"data-testid":"archive-button",$$slots:{default:[hs]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&4&&(r.link=t[2].archive),n&1&&(r.isCloud=t[0]),n&256&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){S(e,t)}}}function $s(s){let e,l,t,n,r,o,a;e=new Re({props:{link:s[2].workflows,isCloud:s[0],"data-testid":"workflows-button",$$slots:{default:[cs]},$$scope:{ctx:s}}}),t=new mt({props:{isCloud:s[0],$$slots:{default:[ps]},$$scope:{ctx:s}}});const i=s[6].top,u=x(i,s,s[8],Yt);return o=new mt({props:{isCloud:s[0],$$slots:{default:[bs]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment),l=P(),V(t.$$.fragment),n=P(),u&&u.c(),r=P(),V(o.$$.fragment)},l(f){D(e.$$.fragment,f),l=R(f),D(t.$$.fragment,f),n=R(f),u&&u.l(f),r=R(f),D(o.$$.fragment,f)},m(f,c){N(e,f,c),w(f,l,c),N(t,f,c),w(f,n,c),u&&u.m(f,c),w(f,r,c),N(o,f,c),a=!0},p(f,c){const _={};c&4&&(_.link=f[2].workflows),c&1&&(_.isCloud=f[0]),c&256&&(_.$$scope={dirty:c,ctx:f}),e.$set(_);const d={};c&1&&(d.isCloud=f[0]),c&263&&(d.$$scope={dirty:c,ctx:f}),t.$set(d),u&&u.p&&(!a||c&256)&&ee(u,i,f,f[8],a?le(i,f[8],c,rs):te(f[8]),Yt);const h={};c&1&&(h.isCloud=f[0]),c&261&&(h.$$scope={dirty:c,ctx:f}),o.$set(h)},i(f){a||(p(e.$$.fragment,f),p(t.$$.fragment,f),p(u,f),p(o.$$.fragment,f),a=!0)},o(f){b(e.$$.fragment,f),b(t.$$.fragment,f),b(u,f),b(o.$$.fragment,f),a=!1},d(f){S(e,f),f&&m(l),S(t,f),f&&m(n),u&&u.d(f),f&&m(r),S(o,f)}}}function vs(s){let e,l,t;return l=new Se({props:{name:"namespace"}}),{c(){e=j("div"),V(l.$$.fragment),this.h()},l(n){e=q(n,"DIV",{class:!0});var r=A(e);D(l.$$.fragment,r),r.forEach(m),this.h()},h(){v(e,"class","nav-icon svelte-1jb7rp7")},m(n,r){w(n,e,r),N(l,e,null),t=!0},p:ne,i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){b(l.$$.fragment,n),t=!1},d(n){n&&m(e),S(l)}}}function ks(s){let e,l,t,n=z("namespaces")+"",r,o;return e=new He({props:{text:z("namespaces"),$$slots:{default:[vs]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment),l=P(),t=j("div"),r=Z(n),this.h()},l(a){D(e.$$.fragment,a),l=R(a),t=q(a,"DIV",{class:!0});var i=A(t);r=G(i,n),i.forEach(m),this.h()},h(){v(t,"class","nav-title svelte-1jb7rp7")},m(a,i){N(e,a,i),w(a,l,i),w(a,t,i),C(t,r),o=!0},p(a,i){const u={};i&256&&(u.$$scope={dirty:i,ctx:a}),e.$set(u)},i(a){o||(p(e.$$.fragment,a),o=!0)},o(a){b(e.$$.fragment,a),o=!1},d(a){S(e,a),a&&m(l),a&&m(t)}}}function ws(s){let e,l;return e=new Re({props:{link:s[2].namespaces,isCloud:s[0],"data-testid":"namespaces-button",$$slots:{default:[ks]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&4&&(r.link=t[2].namespaces),n&1&&(r.isCloud=t[0]),n&256&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){S(e,t)}}}function Es(s){let e,l,t;e=new Rn({props:{isCloud:s[0],$$slots:{default:[ws]},$$scope:{ctx:s}}});const n=s[6].middle,r=x(n,s,s[8],yt);return{c(){V(e.$$.fragment),l=P(),r&&r.c()},l(o){D(e.$$.fragment,o),l=R(o),r&&r.l(o)},m(o,a){N(e,o,a),w(o,l,a),r&&r.m(o,a),t=!0},p(o,a){const i={};a&1&&(i.isCloud=o[0]),a&261&&(i.$$scope={dirty:a,ctx:o}),e.$set(i),r&&r.p&&(!t||a&256)&&ee(r,n,o,o[8],t?le(n,o[8],a,os):te(o[8]),yt)},i(o){t||(p(e.$$.fragment,o),p(r,o),t=!0)},o(o){b(e.$$.fragment,o),b(r,o),t=!1},d(o){S(e,o),o&&m(l),r&&r.d(o)}}}function Cs(s){let e,l,t;return l=new Se({props:{name:"import"}}),{c(){e=j("div"),V(l.$$.fragment),this.h()},l(n){e=q(n,"DIV",{class:!0});var r=A(e);D(l.$$.fragment,r),r.forEach(m),this.h()},h(){v(e,"class","nav-icon svelte-1jb7rp7")},m(n,r){w(n,e,r),N(l,e,null),t=!0},p:ne,i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){b(l.$$.fragment,n),t=!1},d(n){n&&m(e),S(l)}}}function Is(s){let e,l,t,n=z("import")+"",r,o;return e=new He({props:{text:z("import"),$$slots:{default:[Cs]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment),l=P(),t=j("div"),r=Z(n),this.h()},l(a){D(e.$$.fragment,a),l=R(a),t=q(a,"DIV",{class:!0});var i=A(t);r=G(i,n),i.forEach(m),this.h()},h(){v(t,"class","nav-title svelte-1jb7rp7")},m(a,i){N(e,a,i),w(a,l,i),w(a,t,i),C(t,r),o=!0},p(a,i){const u={};i&256&&(u.$$scope={dirty:i,ctx:a}),e.$set(u)},i(a){o||(p(e.$$.fragment,a),o=!0)},o(a){b(e.$$.fragment,a),o=!1},d(a){S(e,a),a&&m(l),a&&m(t)}}}function Ts(s){let e,l;return e=new Re({props:{link:s[2].import,isCloud:s[0],"data-testid":"import-button",$$slots:{default:[Is]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&4&&(r.link=t[2].import),n&1&&(r.isCloud=t[0]),n&256&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){S(e,t)}}}function Ls(s){let e,l;return e=new mt({props:{isCloud:s[0],$$slots:{default:[Ts]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&1&&(r.isCloud=t[0]),n&261&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){S(e,t)}}}function Vs(s){let e,l,t;return l=new Se({props:{name:"feedback"}}),{c(){e=j("div"),V(l.$$.fragment),this.h()},l(n){e=q(n,"DIV",{class:!0});var r=A(e);D(l.$$.fragment,r),r.forEach(m),this.h()},h(){v(e,"class","nav-icon svelte-1jb7rp7")},m(n,r){w(n,e,r),N(l,e,null),t=!0},p:ne,i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){b(l.$$.fragment,n),t=!1},d(n){n&&m(e),S(l)}}}function Ds(s){let e,l,t,n=z("feedback")+"",r,o;return e=new He({props:{text:z("feedback"),$$slots:{default:[Vs]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment),l=P(),t=j("div"),r=Z(n),this.h()},l(a){D(e.$$.fragment,a),l=R(a),t=q(a,"DIV",{class:!0});var i=A(t);r=G(i,n),i.forEach(m),this.h()},h(){v(t,"class","nav-title svelte-1jb7rp7")},m(a,i){N(e,a,i),w(a,l,i),w(a,t,i),C(t,r),o=!0},p(a,i){const u={};i&256&&(u.$$scope={dirty:i,ctx:a}),e.$set(u)},i(a){o||(p(e.$$.fragment,a),o=!0)},o(a){b(e.$$.fragment,a),o=!1},d(a){S(e,a),a&&m(l),a&&m(t)}}}function Ns(s){let e,l;return e=new Re({props:{link:s[2].feedback,isCloud:s[0],externalLink:!0,$$slots:{default:[Ds]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&4&&(r.link=t[2].feedback),n&1&&(r.isCloud=t[0]),n&256&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){S(e,t)}}}function Ss(s){let e,l,t;return l=new Se({props:{name:"labs",active:s[3]}}),{c(){e=j("div"),V(l.$$.fragment),this.h()},l(n){e=q(n,"DIV",{class:!0});var r=A(e);D(l.$$.fragment,r),r.forEach(m),this.h()},h(){v(e,"class","nav-icon svelte-1jb7rp7")},m(n,r){w(n,e,r),N(l,e,null),t=!0},p(n,r){const o={};r&8&&(o.active=n[3]),l.$set(o)},i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){b(l.$$.fragment,n),t=!1},d(n){n&&m(e),S(l)}}}function ll(s){let e,l=z("experimental")+"",t;return{c(){e=j("p"),t=Z(l),this.h()},l(n){e=q(n,"P",{class:!0});var r=A(e);t=G(r,l),r.forEach(m),this.h()},h(){v(e,"class","text-[12px]")},m(n,r){w(n,e,r),C(e,t)},p:ne,d(n){n&&m(e)}}}function Bs(s){let e,l,t,n,r,o,a;e=new He({props:{right:!0,text:s[5],$$slots:{default:[Ss]},$$scope:{ctx:s}}});let i=s[3]&&ll();return{c(){V(e.$$.fragment),l=P(),t=j("div"),n=j("div"),r=Z(s[4]),o=P(),i&&i.c(),this.h()},l(u){D(e.$$.fragment,u),l=R(u),t=q(u,"DIV",{class:!0});var f=A(t);n=q(f,"DIV",{});var c=A(n);r=G(c,s[4]),c.forEach(m),o=R(f),i&&i.l(f),f.forEach(m),this.h()},h(){v(t,"class","nav-title flex flex-col leading-3 svelte-1jb7rp7")},m(u,f){N(e,u,f),w(u,l,f),w(u,t,f),C(t,n),C(n,r),C(t,o),i&&i.m(t,null),a=!0},p(u,f){const c={};f&32&&(c.text=u[5]),f&264&&(c.$$scope={dirty:f,ctx:u}),e.$set(c),(!a||f&16)&&ge(r,u[4]),u[3]?i?i.p(u,f):(i=ll(),i.c(),i.m(t,null)):i&&(i.d(1),i=null)},i(u){a||(p(e.$$.fragment,u),a=!0)},o(u){b(e.$$.fragment,u),a=!1},d(u){S(e,u),u&&m(l),u&&m(t),i&&i.d()}}}function zs(s){let e,l,t,n,r;const o=s[6].bottom,a=x(o,s,s[8],tl),i=s[6].import,u=x(i,s,s[8],el),f=u||Ls(s),c=s[6].feedback,_=x(c,s,s[8],xt),d=_||Ns(s);return n=new Re({props:{isCloud:s[0],handleClick:s[7],$$slots:{default:[Bs]},$$scope:{ctx:s}}}),{c(){a&&a.c(),e=P(),f&&f.c(),l=P(),d&&d.c(),t=P(),V(n.$$.fragment)},l(h){a&&a.l(h),e=R(h),f&&f.l(h),l=R(h),d&&d.l(h),t=R(h),D(n.$$.fragment,h)},m(h,$){a&&a.m(h,$),w(h,e,$),f&&f.m(h,$),w(h,l,$),d&&d.m(h,$),w(h,t,$),N(n,h,$),r=!0},p(h,$){a&&a.p&&(!r||$&256)&&ee(a,o,h,h[8],r?le(o,h[8],$,fs):te(h[8]),tl),u?u.p&&(!r||$&256)&&ee(u,i,h,h[8],r?le(i,h[8],$,as):te(h[8]),el):f&&f.p&&(!r||$&5)&&f.p(h,r?$:-1),_?_.p&&(!r||$&256)&&ee(_,c,h,h[8],r?le(c,h[8],$,is):te(h[8]),xt):d&&d.p&&(!r||$&5)&&d.p(h,r?$:-1);const g={};$&1&&(g.isCloud=h[0]),$&8&&(g.handleClick=h[7]),$&312&&(g.$$scope={dirty:$,ctx:h}),n.$set(g)},i(h){r||(p(a,h),p(f,h),p(d,h),p(n.$$.fragment,h),r=!0)},o(h){b(a,h),b(f,h),b(d,h),b(n.$$.fragment,h),r=!1},d(h){a&&a.d(h),h&&m(e),f&&f.d(h),h&&m(l),d&&d.d(h),h&&m(t),S(n,h)}}}function js(s){let e,l;return e=new Xn({props:{isCloud:s[0],linkList:s[2],"aria-label":z("primary"),$$slots:{bottom:[zs],middle:[Es],top:[$s]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,[n]){const r={};n&1&&(r.isCloud=t[0]),n&4&&(r.linkList=t[2]),n&319&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){S(e,t)}}}function qs(s,e,l){let t,n,r;oe(s,St,_=>l(3,r=_));let{$$slots:o={},$$scope:a}=e,{isCloud:i=!1}=e,{activeNamespace:u}=e,{linkList:f}=e;const c=()=>_e(St,r=!r,r);return s.$$set=_=>{"isCloud"in _&&l(0,i=_.isCloud),"activeNamespace"in _&&l(1,u=_.activeNamespace),"linkList"in _&&l(2,f=_.linkList),"$$scope"in _&&l(8,a=_.$$scope)},s.$$.update=()=>{s.$$.dirty&8&&l(5,t=`${z("labs")} ${r?`${z("on")} - ${z("experimental")}`:z("off")}`),s.$$.dirty&8&&l(4,n=`${z("labs")} ${r?z("on"):z("off")}`)},[i,u,f,r,n,t,o,c,a]}class As extends ae{constructor(e){super(),fe(this,e,qs,js,ue,{isCloud:0,activeNamespace:1,linkList:2})}}function Os(s){let e=z("skip-nav")+"",l;return{c(){l=Z(e)},l(t){l=G(t,e)},m(t,n){w(t,l,n)},p:ne,d(t){t&&m(l)}}}function Ps(s){let e,l;return e=new Vl({props:{id:"skip-nav",href:"#content",class:"absolute left-1/2 -translate-y-full focus:translate-y-0 z-100 p-1",$$slots:{default:[Os]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,[n]){const r={};n&1&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){S(e,t)}}}class Rs extends ae{constructor(e){super(),fe(this,e,null,Ps,ue,{})}}const Sl=Zl([Pe,ut,ft,Fl,ct,Ul,Dl],([s,e,l,t,n,r,o])=>{var M,O,E,K,W,U,I,L,H;const a=s.params.namespace,i=(E=(O=(M=s==null?void 0:s.data)==null?void 0:M.settings)==null?void 0:O.codec)==null?void 0:E.endpoint,u=Boolean((U=(W=(K=s==null?void 0:s.data)==null?void 0:K.settings)==null?void 0:W.codec)==null?void 0:U.passAccessToken),f=Boolean((H=(L=(I=s==null?void 0:s.data)==null?void 0:I.settings)==null?void 0:L.codec)==null?void 0:H.includeCredentials),c=l?e:i||e,_=o==null?void 0:o.accessToken,d=c?t==="notRequested":r==="notRequested",h=c?t==="error":r==="error",$=c?t==="success":r==="success",g=Boolean(c&&n),k=Boolean(c||n);return{namespace:a,settingsEndpoint:i,settingsPassAccessToken:u,settingsIncludeCredentials:f,endpoint:c,accessToken:_,hasNotRequested:d,hasError:h,hasSuccess:$,hasEndpointAndPortConfigured:g,hasEndpointOrPortConfigured:k}});function Hs(s){let e,l;return e=new We({props:{bottomRight:!0,text:z("data-encoder","configure-codec-server"),$$slots:{default:[Fs]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&8&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){S(e,t)}}}function Ms(s){let e,l,t,n;const r=[Ws,Ks,Us],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(s))&&(l=o[e]=r[e](s)),{c(){l&&l.c(),t=ie()},l(i){l&&l.l(i),t=ie()},m(i,u){~e&&o[e].m(i,u),w(i,t,u),n=!0},p(i,u){let f=e;e=a(i),e===f?~e&&o[e].p(i,u):(l&&(ce(),b(o[f],1,1,()=>{o[f]=null}),de()),~e?(l=o[e],l?l.p(i,u):(l=o[e]=r[e](i),l.c()),p(l,1),l.m(t.parentNode,t)):l=null)},i(i){n||(p(l),n=!0)},o(i){b(l),n=!1},d(i){~e&&o[e].d(i),i&&m(t)}}}function Fs(s){let e,l;return e=new Ze({props:{label:z("data-encoder","configure-codec-server"),class:"relative flex items-center","data-testid":"data-encoder-status",icon:"transcoder-off"}}),e.$on("click",s[1]),{c(){V(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p:ne,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){S(e,t)}}}function Us(s){let e,l;return e=new We({props:{bottomRight:!0,text:z("data-encoder","codec-server-success"),$$slots:{default:[Zs]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&8&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){S(e,t)}}}function Ks(s){let e,l;return e=new We({props:{bottomRight:!0,text:z("data-encoder","codec-server-error"),$$slots:{default:[Gs]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&8&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){S(e,t)}}}function Ws(s){let e,l;return e=new We({props:{bottomRight:!0,text:z("data-encoder","codec-server-configured"),$$slots:{default:[Qs]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&8&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){S(e,t)}}}function Zs(s){let e,l;return e=new Ze({props:{label:z("data-encoder","codec-server-success"),class:"relative flex items-center","data-testid":"data-encoder-status-success",icon:"transcoder-on"}}),e.$on("click",s[1]),{c(){V(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p:ne,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){S(e,t)}}}function Gs(s){let e,l;return e=new Ze({props:{label:z("data-encoder","codec-server-error"),class:"relative flex items-center","data-testid":"data-encoder-status-error",icon:"transcoder-error"}}),e.$on("click",s[1]),{c(){V(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p:ne,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){S(e,t)}}}function Qs(s){let e,l;return e=new Ze({props:{label:z("data-encoder","codec-server-configured"),class:"relative flex items-center","data-testid":"data-encoder-status-configured",icon:"transcoder-on"}}),e.$on("click",s[1]),{c(){V(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p:ne,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){S(e,t)}}}function Xs(s){let e,l,t,n;const r=[Ms,Hs],o=[];function a(i,u){var f;return(f=i[0])!=null&&f.hasEndpointOrPortConfigured?0:1}return l=a(s),t=o[l]=r[l](s),{c(){e=j("div"),t.c(),this.h()},l(i){e=q(i,"DIV",{class:!0});var u=A(e);t.l(u),u.forEach(m),this.h()},h(){v(e,"class","mx-1 flex items-center")},m(i,u){w(i,e,u),o[l].m(e,null),n=!0},p(i,[u]){let f=l;l=a(i),l===f?o[l].p(i,u):(ce(),b(o[f],1,1,()=>{o[f]=null}),de(),t=o[l],t?t.p(i,u):(t=o[l]=r[l](i),t.c()),p(t,1),t.m(e,null))},i(i){n||(p(t),n=!0)},o(i){b(t),n=!1},d(i){i&&m(e),o[l].d()}}}function Js(s,e,l){let t,n;return oe(s,Fe,o=>l(2,t=o)),oe(s,Sl,o=>l(0,n=o)),[n,()=>{var o;_e(Fe,t=!t,t),t&&((o=document.getElementById("content-wrapper"))===null||o===void 0||o.scrollTo(0,0))}]}class Ys extends ae{constructor(e){super(),fe(this,e,Js,Xs,ue,{})}}function nl(s,e,l){const t=s.slice();return t[17]=e[l].value,t[18]=e[l].label,t[19]=e[l].offset,t[20]=e[l].abbr,t}function sl(s,e,l){const t=s.slice();return t[17]=e[l].value,t[18]=e[l].label,t}function ys(s){let e;return{c(){e=Z(s[2])},l(l){e=G(l,s[2])},m(l,t){w(l,e,t)},p(l,t){t&4&&ge(e,l[2])},d(l){l&&m(e)}}}function xs(s){let e,l;return e=new Se({props:{slot:"leading",name:"clock"}}),{c(){V(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p:ne,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){S(e,t)}}}function rl(s){let e,l,t,n,r,o,a,i=s[6],u=[];for(let d=0;db(u[d],1,1,()=>{u[d]=null});function c(d){s[15](d)}let _={label:z("relative"),id:"relative-toggle",labelPosition:"left","data-testid":"timezones-relative-toggle"};return s[4]!==void 0&&(_.checked=s[4]),t=new at({props:_}),Le.push(()=>De(t,"checked",c)),t.$on("change",s[8]),o=new Nl({}),{c(){for(let d=0;dn=!1)),t.$set($)},i(d){if(!a){for(let h=0;hDe(e,"value",n)),{c(){V(e.$$.fragment)},l(o){D(e.$$.fragment,o)},m(o,a){N(e,o,a),t=!0},p(o,[a]){const i={};!l&&a&1&&(l=!0,i.value=o[0],Ne(()=>l=!1)),e.$set(i)},i(o){t||(p(e.$$.fragment,o),t=!0)},o(o){b(e.$$.fragment,o),t=!1},d(o){S(e,o)}}}function rn(s,e,l){let{port:t=""}=e;function n(r){t=r,l(0,t)}return s.$$set=r=>{"port"in r&&l(0,t=r.port)},[t,n]}class on extends ae{constructor(e){super(),fe(this,e,rn,sn,ue,{port:0})}}const an=s=>({}),Ot=s=>({});function Pt(s){let e,l;return{c(){e=j("p"),l=Z(s[11]),this.h()},l(t){e=q(t,"P",{class:!0});var n=A(e);l=G(n,s[11]),n.forEach(m),this.h()},h(){v(e,"class","text-sm")},m(t,n){w(t,e,n),C(e,l)},p(t,n){n&2048&&ge(l,t[11])},d(t){t&&m(e)}}}function Rt(s){let e,l,t=s[2]&&Ht(s);const n=s[14].error,r=x(n,s,s[13],Ot);return{c(){t&&t.c(),e=P(),r&&r.c()},l(o){t&&t.l(o),e=R(o),r&&r.l(o)},m(o,a){t&&t.m(o,a),w(o,e,a),r&&r.m(o,a),l=!0},p(o,a){o[2]?t?t.p(o,a):(t=Ht(o),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null),r&&r.p&&(!l||a&8192)&&ee(r,n,o,o[13],l?le(n,o[13],a,an):te(o[13]),Ot)},i(o){l||(p(r,o),l=!0)},o(o){b(r,o),l=!1},d(o){t&&t.d(o),o&&m(e),r&&r.d(o)}}}function Ht(s){let e,l;return{c(){e=j("p"),l=Z(s[2])},l(t){e=q(t,"P",{});var n=A(e);l=G(n,s[2]),n.forEach(m)},m(t,n){w(t,e,n),C(e,l)},p(t,n){n&4&&ge(l,t[2])},d(t){t&&m(e)}}}function fn(s){let e,l,t,n,r,o,a,i,u,f,c,_,d,h=s[11]&&Pt(s),$=!s[3]&&Rt(s);return{c(){e=j("div"),l=j("label"),t=Z(s[7]),n=P(),h&&h.c(),r=P(),o=j("textarea"),a=P(),i=j("div"),$&&$.c(),this.h()},l(g){e=q(g,"DIV",{class:!0});var k=A(e);l=q(k,"LABEL",{for:!0,class:!0});var M=A(l);t=G(M,s[7]),M.forEach(m),n=R(k),h&&h.l(k),r=R(k),o=q(k,"TEXTAREA",{class:!0,id:!0,placeholder:!0,rows:!0,spellcheck:!0}),A(o).forEach(m),a=R(k),i=q(k,"DIV",{class:!0,"aria-live":!0});var O=A(i);$&&$.l(O),O.forEach(m),k.forEach(m),this.h()},h(){v(l,"for",s[9]),v(l,"class","svelte-1cdabgy"),Y(l,"required",s[10]),Y(l,"sr-only",s[8]),v(o,"class","font-mono min-h-fit w-full rounded border border-gray-900 py-2 px-3 text-sm svelte-1cdabgy"),v(o,"id",s[9]),o.disabled=s[1],v(o,"placeholder",s[4]),v(o,"rows",s[5]),v(o,"spellcheck",s[6]),Y(o,"error",!s[3]),v(i,"class","error-msg svelte-1cdabgy"),v(i,"aria-live",u=s[3]?"off":"assertive"),v(e,"class",f=Ae(s[12])+" svelte-1cdabgy")},m(g,k){w(g,e,k),C(e,l),C(l,t),C(e,n),h&&h.m(e,null),C(e,r),C(e,o),Et(o,s[0]),C(e,a),C(e,i),$&&$.m(i,null),c=!0,_||(d=[we(o,"input",s[20]),we(o,"input",s[15]),we(o,"change",s[16]),we(o,"focus",s[17]),we(o,"blur",s[18]),we(o,"keydown",xe(s[19]))],_=!0)},p(g,[k]){(!c||k&128)&&ge(t,g[7]),(!c||k&512)&&v(l,"for",g[9]),(!c||k&1024)&&Y(l,"required",g[10]),(!c||k&256)&&Y(l,"sr-only",g[8]),g[11]?h?h.p(g,k):(h=Pt(g),h.c(),h.m(e,r)):h&&(h.d(1),h=null),(!c||k&512)&&v(o,"id",g[9]),(!c||k&2)&&(o.disabled=g[1]),(!c||k&16)&&v(o,"placeholder",g[4]),(!c||k&32)&&v(o,"rows",g[5]),(!c||k&64)&&v(o,"spellcheck",g[6]),k&1&&Et(o,g[0]),(!c||k&8)&&Y(o,"error",!g[3]),g[3]?$&&(ce(),b($,1,1,()=>{$=null}),de()):$?($.p(g,k),k&8&&p($,1)):($=Rt(g),$.c(),p($,1),$.m(i,null)),(!c||k&8&&u!==(u=g[3]?"off":"assertive"))&&v(i,"aria-live",u),(!c||k&4096&&f!==(f=Ae(g[12])+" svelte-1cdabgy"))&&v(e,"class",f)},i(g){c||(p($),c=!0)},o(g){b($),c=!1},d(g){g&&m(e),h&&h.d(),$&&$.d(),_=!1,nt(d)}}}function un(s,e,l){let{$$slots:t={},$$scope:n}=e,{disabled:r=!1}=e,{error:o=""}=e,{isValid:a=!0}=e,{placeholder:i=""}=e,{rows:u=5}=e,{spellcheck:f=null}=e,{value:c}=e,{label:_}=e,{labelHidden:d=!1}=e,{id:h}=e,{required:$=!1}=e,{description:g=""}=e,{class:k=""}=e;function M(I){Me.call(this,s,I)}function O(I){Me.call(this,s,I)}function E(I){Me.call(this,s,I)}function K(I){Me.call(this,s,I)}function W(I){Me.call(this,s,I)}function U(){c=this.value,l(0,c)}return s.$$set=I=>{"disabled"in I&&l(1,r=I.disabled),"error"in I&&l(2,o=I.error),"isValid"in I&&l(3,a=I.isValid),"placeholder"in I&&l(4,i=I.placeholder),"rows"in I&&l(5,u=I.rows),"spellcheck"in I&&l(6,f=I.spellcheck),"value"in I&&l(0,c=I.value),"label"in I&&l(7,_=I.label),"labelHidden"in I&&l(8,d=I.labelHidden),"id"in I&&l(9,h=I.id),"required"in I&&l(10,$=I.required),"description"in I&&l(11,g=I.description),"class"in I&&l(12,k=I.class),"$$scope"in I&&l(13,n=I.$$scope)},[c,r,o,a,i,u,f,_,d,h,$,g,k,n,t,M,O,E,K,W,U]}class cn extends ae{constructor(e){super(),fe(this,e,un,fn,ue,{disabled:1,error:2,isValid:3,placeholder:4,rows:5,spellcheck:6,value:0,label:7,labelHidden:8,id:9,required:10,description:11,class:12})}}function Mt(s){let e,l=z("data-encoder","include-cross-origin-credentials-warning")+"",t;return{c(){e=j("small"),t=Z(l),this.h()},l(n){e=q(n,"SMALL",{"data-testid":!0});var r=A(e);t=G(r,l),r.forEach(m),this.h()},h(){v(e,"data-testid","data-encoder-cross-origin-credentials")},m(n,r){w(n,e,r),C(e,t)},p:ne,d(n){n&&m(e)}}}function dn(s){let e,l,t,n,r,o,a,i,u,f,c,_;function d(E){s[4](E)}let h={id:"data-encoder-endpoint-input",rows:3,placeholder:z("data-encoder","endpoint-placeholder"),error:s[3],isValid:!s[3],label:z("data-encoder","endpoint-title"),description:z("data-encoder","endpoint-description")};s[0]!==void 0&&(h.value=s[0]),t=new cn({props:h}),Le.push(()=>De(t,"value",d));function $(E){s[5](E)}let g={label:z("data-encoder","pass-access-token-label"),id:"pass-access-token","data-testid":"data-encoder-pass-access-token"};s[1]!==void 0&&(g.checked=s[1]),o=new at({props:g}),Le.push(()=>De(o,"checked",$));function k(E){s[6](E)}let M={label:z("data-encoder","include-cross-origin-credentials-label"),id:"pass-access-credentials","data-testid":"data-encoder-include-credentials"};s[2]!==void 0&&(M.checked=s[2]),u=new at({props:M}),Le.push(()=>De(u,"checked",k));let O=s[2]&&Mt();return{c(){e=j("div"),l=j("div"),V(t.$$.fragment),r=P(),V(o.$$.fragment),i=P(),V(u.$$.fragment),c=P(),O&&O.c(),this.h()},l(E){e=q(E,"DIV",{class:!0});var K=A(e);l=q(K,"DIV",{class:!0});var W=A(l);D(t.$$.fragment,W),r=R(W),D(o.$$.fragment,W),i=R(W),D(u.$$.fragment,W),c=R(W),O&&O.l(W),W.forEach(m),K.forEach(m),this.h()},h(){v(l,"class","flex flex-col gap-2"),v(e,"class","flex flex-col gap-4")},m(E,K){w(E,e,K),C(e,l),N(t,l,null),C(l,r),N(o,l,null),C(l,i),N(u,l,null),C(l,c),O&&O.m(l,null),_=!0},p(E,[K]){const W={};K&8&&(W.error=E[3]),K&8&&(W.isValid=!E[3]),!n&&K&1&&(n=!0,W.value=E[0],Ne(()=>n=!1)),t.$set(W);const U={};!a&&K&2&&(a=!0,U.checked=E[1],Ne(()=>a=!1)),o.$set(U);const I={};!f&&K&4&&(f=!0,I.checked=E[2],Ne(()=>f=!1)),u.$set(I),E[2]?O?O.p(E,K):(O=Mt(),O.c(),O.m(l,null)):O&&(O.d(1),O=null)},i(E){_||(p(t.$$.fragment,E),p(o.$$.fragment,E),p(u.$$.fragment,E),_=!0)},o(E){b(t.$$.fragment,E),b(o.$$.fragment,E),b(u.$$.fragment,E),_=!1},d(E){E&&m(e),S(t),S(o),S(u),O&&O.d()}}}function _n(s,e,l){let{endpoint:t=""}=e,{passToken:n=!1}=e,{includeCreds:r=!1}=e,{error:o=""}=e;function a(f){t=f,l(0,t)}function i(f){n=f,l(1,n)}function u(f){r=f,l(2,r)}return s.$$set=f=>{"endpoint"in f&&l(0,t=f.endpoint),"passToken"in f&&l(1,n=f.passToken),"includeCreds"in f&&l(2,r=f.includeCreds),"error"in f&&l(3,o=f.error)},[t,n,r,o,a,i,u]}class mn extends ae{constructor(e){super(),fe(this,e,_n,dn,ue,{endpoint:0,passToken:1,includeCreds:2,error:3})}}function Ft(s){let e,l,t,n,r=z("codec-server")+"",o,a,i,u=z("data-encoder","codec-server-description-prefix")+"",f,c,_,d=z("data-encoder","codec-server-description-suffix",{level:s[7]})+"",h,$,g,k,M,O,E,K,W,U,I,L,H,y,X,he,pe,J,be,Te;c=new Vl({props:{href:"https://docs.temporal.io/dataconversion#codec-server",newTab:!0,$$slots:{default:[pn]},$$scope:{ctx:s}}}),g=new Wl({props:{"data-testid":"override-accordion",title:s[5]?z("data-encoder","browser-override-description",{level:s[7]}):z("data-encoder","no-browser-override-description",{level:s[7]}),$$slots:{default:[gn]},$$scope:{ctx:s}}});function $e(F){s[16](F)}function Be(F){s[17](F)}function ke(F){s[18](F)}let re={error:s[6]};s[0]!==void 0&&(re.endpoint=s[0]),s[1]!==void 0&&(re.passToken=s[1]),s[4]!==void 0&&(re.includeCreds=s[4]),M=new mn({props:re}),Le.push(()=>De(M,"endpoint",$e)),Le.push(()=>De(M,"passToken",Be)),Le.push(()=>De(M,"includeCreds",ke));function Ve(F){s[19](F)}let me={};return s[3]!==void 0&&(me.port=s[3]),U=new on({props:me}),Le.push(()=>De(U,"port",Ve)),y=new _t({props:{disabled:Boolean(s[6])||s[5]&&!s[0],"data-testid":"confirm-data-encoder-button",type:"submit",$$slots:{default:[hn]},$$scope:{ctx:s}}}),y.$on("click",s[9]),he=new _t({props:{variant:"ghost","data-testid":"cancel-data-encoder-button",$$slots:{default:[bn]},$$scope:{ctx:s}}}),he.$on("click",s[8]),{c(){e=j("aside"),l=j("div"),t=j("div"),n=j("h3"),o=Z(r),a=P(),i=j("p"),f=Z(u),V(c.$$.fragment),_=P(),h=Z(d),$=P(),V(g.$$.fragment),k=P(),V(M.$$.fragment),W=P(),V(U.$$.fragment),L=P(),H=j("div"),V(y.$$.fragment),X=P(),V(he.$$.fragment),this.h()},l(F){e=q(F,"ASIDE",{class:!0});var se=A(e);l=q(se,"DIV",{class:!0});var B=A(l);t=q(B,"DIV",{class:!0});var Q=A(t);n=q(Q,"H3",{"data-testid":!0,class:!0});var ve=A(n);o=G(ve,r),ve.forEach(m),Q.forEach(m),a=R(B),i=q(B,"P",{class:!0});var Ee=A(i);f=G(Ee,u),D(c.$$.fragment,Ee),_=R(Ee),h=G(Ee,d),Ee.forEach(m),$=R(B),D(g.$$.fragment,B),k=R(B),D(M.$$.fragment,B),W=R(B),D(U.$$.fragment,B),L=R(B),H=q(B,"DIV",{class:!0});var Ce=A(H);D(y.$$.fragment,Ce),X=R(Ce),D(he.$$.fragment,Ce),Ce.forEach(m),B.forEach(m),se.forEach(m),this.h()},h(){v(n,"data-testid","data-encoder-title"),v(n,"class","text-xl"),v(t,"class","flex items-center justify-between space-x-2"),v(i,"class","text-sm"),v(H,"class","flex items-center gap-4"),v(l,"class","w-full xl:w-1/2 flex flex-col gap-4"),v(e,"class","relative w-full h-auto p-12 bg-blue-50 border-b border-blue-100 flex flex-col gap-6")},m(F,se){w(F,e,se),C(e,l),C(l,t),C(t,n),C(n,o),C(l,a),C(l,i),C(i,f),N(c,i,null),C(i,_),C(i,h),C(l,$),N(g,l,null),C(l,k),N(M,l,null),C(l,W),N(U,l,null),C(l,L),C(l,H),N(y,H,null),C(H,X),N(he,H,null),J=!0,be||(Te=[Bl(Kl.call(null,e)),we(e,"click-outside",s[20])],be=!0)},p(F,se){const B={};se&134217728&&(B.$$scope={dirty:se,ctx:F}),c.$set(B),(!J||se&128)&&d!==(d=z("data-encoder","codec-server-description-suffix",{level:F[7]})+"")&&ge(h,d);const Q={};se&160&&(Q.title=F[5]?z("data-encoder","browser-override-description",{level:F[7]}):z("data-encoder","no-browser-override-description",{level:F[7]})),se&134217888&&(Q.$$scope={dirty:se,ctx:F}),g.$set(Q);const ve={};se&64&&(ve.error=F[6]),!O&&se&1&&(O=!0,ve.endpoint=F[0],Ne(()=>O=!1)),!E&&se&2&&(E=!0,ve.passToken=F[1],Ne(()=>E=!1)),!K&&se&16&&(K=!0,ve.includeCreds=F[4],Ne(()=>K=!1)),M.$set(ve);const Ee={};!I&&se&8&&(I=!0,Ee.port=F[3],Ne(()=>I=!1)),U.$set(Ee);const Ce={};se&97&&(Ce.disabled=Boolean(F[6])||F[5]&&!F[0]),se&134217728&&(Ce.$$scope={dirty:se,ctx:F}),y.$set(Ce);const ze={};se&134217728&&(ze.$$scope={dirty:se,ctx:F}),he.$set(ze)},i(F){J||(p(c.$$.fragment,F),p(g.$$.fragment,F),p(M.$$.fragment,F),p(U.$$.fragment,F),p(y.$$.fragment,F),p(he.$$.fragment,F),pe||Cl(()=>{pe=zl(e,dt,{y:-50,delay:0,duration:500}),pe.start()}),J=!0)},o(F){b(c.$$.fragment,F),b(g.$$.fragment,F),b(M.$$.fragment,F),b(U.$$.fragment,F),b(y.$$.fragment,F),b(he.$$.fragment,F),J=!1},d(F){F&&m(e),S(c),S(g),S(M),S(U),S(y),S(he),be=!1,nt(Te)}}}function pn(s){let e=z("codec-server")+"",l;return{c(){l=Z(e)},l(t){l=G(t,e)},m(t,n){w(t,l,n)},p:ne,d(t){t&&m(l)}}}function gn(s){let e,l,t,n,r,o=z("data-encoder","no-browser-override-description",{level:s[7]})+"",a,i,u,f,c,_=z("data-encoder","browser-override-description",{level:s[7]})+"",d,h,$;return{c(){e=j("div"),l=j("label"),t=j("input"),r=P(),a=Z(o),i=P(),u=j("label"),f=j("input"),c=P(),d=Z(_),this.h()},l(g){e=q(g,"DIV",{class:!0});var k=A(e);l=q(k,"LABEL",{class:!0,for:!0});var M=A(l);t=q(M,"INPUT",{class:!0,type:!0,name:!0,id:!0,"data-testid":!0}),r=R(M),a=G(M,o),M.forEach(m),i=R(k),u=q(k,"LABEL",{class:!0,for:!0});var O=A(u);f=q(O,"INPUT",{class:!0,type:!0,name:!0,id:!0,"data-testid":!0}),c=R(O),d=G(O,_),O.forEach(m),k.forEach(m),this.h()},h(){v(t,"class","w-4 h-4 accent-gray-900"),v(t,"type","radio"),t.checked=n=!s[5],v(t,"name","use-configuration-endpoint"),v(t,"id","use-configuration-endpoint-radio"),v(t,"data-testid","use-configuration-endpoint-input"),v(l,"class","flex flex-row items-center gap-2 cursor-pointer"),v(l,"for","use-configuration-endpoint-radio"),v(f,"class","w-4 h-4 accent-gray-900"),v(f,"type","radio"),f.checked=s[5],v(f,"name","use-local-endpoint"),v(f,"id","use-local-endpoint-radio"),v(f,"data-testid","use-local-endpoint-input"),v(u,"class","flex flex-row items-center gap-2 cursor-pointer"),v(u,"for","use-local-endpoint-radio"),v(e,"class","flex flex-col gap-2")},m(g,k){w(g,e,k),C(e,l),C(l,t),C(l,r),C(l,a),C(e,i),C(e,u),C(u,f),C(u,c),C(u,d),h||($=[we(t,"click",s[14]),we(f,"click",s[15])],h=!0)},p(g,k){k&32&&n!==(n=!g[5])&&(t.checked=n),k&128&&o!==(o=z("data-encoder","no-browser-override-description",{level:g[7]})+"")&&ge(a,o),k&32&&(f.checked=g[5]),k&128&&_!==(_=z("data-encoder","browser-override-description",{level:g[7]})+"")&&ge(d,_)},d(g){g&&m(e),h=!1,nt($)}}}function hn(s){let e=z("apply")+"",l;return{c(){l=Z(e)},l(t){l=G(t,e)},m(t,n){w(t,l,n)},p:ne,d(t){t&&m(l)}}}function bn(s){let e=z("cancel")+"",l;return{c(){l=Z(e)},l(t){l=G(t,e)},m(t,n){w(t,l,n)},p:ne,d(t){t&&m(l)}}}function $n(s){let e,l,t=s[2]&&Ft(s);return{c(){t&&t.c(),e=ie()},l(n){t&&t.l(n),e=ie()},m(n,r){t&&t.m(n,r),w(n,e,r),l=!0},p(n,[r]){n[2]?t?(t.p(n,r),r&4&&p(t,1)):(t=Ft(n),t.c(),p(t,1),t.m(e.parentNode,e)):t&&(ce(),b(t,1,1,()=>{t=null}),de())},i(n){l||(p(t),l=!0)},o(n){b(t),l=!1},d(n){t&&t.d(n),n&&m(e)}}}const Fe=tt(!1);function vn(s,e,l){let t,n,r,o,a,i=ne,u,f,c,_,d;oe(s,Nt,J=>l(21,r=J)),oe(s,Pe,J=>l(13,o=J)),oe(s,Fe,J=>l(2,a=J)),oe(s,ft,J=>l(22,u=J)),oe(s,ct,J=>l(23,f=J)),oe(s,Vt,J=>l(24,c=J)),oe(s,Dt,J=>l(25,_=J)),oe(s,ut,J=>l(26,d=J)),s.$$.on_destroy.push(()=>i());var h,$,g;let k=d??"",M=f??"",O=_??!1,E=c??!1,K=u??!1;const W=()=>{l(0,k=d),l(3,M=f),l(1,O=_),l(4,E=c),l(5,K=u),_e(Fe,a=!1,a)},U=()=>{l(6,t=""),_e(ut,d=k,d),_e(Dt,_=O,_),_e(Vt,c=E,c),_e(ct,f=M,f),_e(ft,u=K,u),_e(Fe,a=!1,a),o.url.pathname.endsWith("history")&&_e(Nt,r=Date.now(),r)},I=()=>l(5,K=!1),L=()=>l(5,K=!0);function H(J){k=J,l(0,k)}function y(J){O=J,l(1,O)}function X(J){E=J,l(4,E)}function he(J){M=J,l(3,M)}const pe=()=>_e(Fe,a=!1,a);return s.$$.update=()=>{s.$$.dirty&15360&&l(7,n=!(l(12,g=l(11,$=l(10,h=o.data)===null||h===void 0?void 0:h.settings)===null||$===void 0?void 0:$.runtimeEnvironment)===null||g===void 0)&&g.isCloud?z("namespaces"):z("cluster")),s.$$.dirty&3&&(O&&!Hl(k)?l(6,t=z("data-encoder","access-token-https-error")):k&&!Ml(k)?l(6,t=z("data-encoder","prefix-error")):l(6,t="")),s.$$.dirty&4&&(a||W())},l(6,t=""),[k,O,a,M,E,K,t,n,W,U,h,$,g,o,I,L,H,y,X,he,pe]}class kn extends ae{constructor(e){super(),fe(this,e,vn,$n,ue,{})}}const wn=s=>({}),Ut=s=>({});function En(s){let e;const l=s[2].fallback,t=x(l,s,s[1],Ut);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&2)&&ee(t,l,n,n[1],e?le(l,n[1],r,wn):te(n[1]),Ut)},i(n){e||(p(t,n),e=!0)},o(n){b(t,n),e=!1},d(n){t&&t.d(n)}}}function Cn(s){let e;const l=s[2].default,t=x(l,s,s[1],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&2)&&ee(t,l,n,n[1],e?le(l,n[1],r,null):te(n[1]),null)},i(n){e||(p(t,n),e=!0)},o(n){b(t,n),e=!1},d(n){t&&t.d(n)}}}function In(s){let e,l,t,n;const r=[Cn,En],o=[];function a(i,u){return i[0]?0:1}return e=a(s),l=o[e]=r[e](s),{c(){l.c(),t=ie()},l(i){l.l(i),t=ie()},m(i,u){o[e].m(i,u),w(i,t,u),n=!0},p(i,[u]){let f=e;e=a(i),e===f?o[e].p(i,u):(ce(),b(o[f],1,1,()=>{o[f]=null}),de(),l=o[e],l?l.p(i,u):(l=o[e]=r[e](i),l.c()),p(l,1),l.m(t.parentNode,t))},i(i){n||(p(l),n=!0)},o(i){b(l),n=!1},d(i){o[e].d(i),i&&m(t)}}}function Tn(s,e,l){let{$$slots:t={},$$scope:n}=e,{enabled:r=!1}=e;return s.$$set=o=>{"enabled"in o&&l(0,r=o.enabled),"$$scope"in o&&l(1,n=o.$$scope)},[r,n,t]}class Ln extends ae{constructor(e){super(),fe(this,e,Tn,In,ue,{enabled:0})}}const Vn=s=>({}),Kt=s=>({});function Dn(s){let e;const l=s[3].default,t=x(l,s,s[2],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&4)&&ee(t,l,n,n[2],e?le(l,n[2],r,null):te(n[2]),null)},i(n){e||(p(t,n),e=!0)},o(n){b(t,n),e=!1},d(n){t&&t.d(n)}}}function Nn(s){let e;const l=s[3].fallback,t=x(l,s,s[2],Kt);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&4)&&ee(t,l,n,n[2],e?le(l,n[2],r,Vn):te(n[2]),Kt)},i(n){e||(p(t,n),e=!0)},o(n){b(t,n),e=!1},d(n){t&&t.d(n)}}}function Sn(s){let e,l,t,n;const r=[Nn,Dn],o=[];function a(i,u){var f,c,_;return i[0]||(_=(c=(f=i[1].data)==null?void 0:f.settings)==null?void 0:c.runtimeEnvironment)!=null&&_.isCloud?0:1}return e=a(s),l=o[e]=r[e](s),{c(){l.c(),t=ie()},l(i){l.l(i),t=ie()},m(i,u){o[e].m(i,u),w(i,t,u),n=!0},p(i,[u]){let f=e;e=a(i),e===f?o[e].p(i,u):(ce(),b(o[f],1,1,()=>{o[f]=null}),de(),l=o[e],l?l.p(i,u):(l=o[e]=r[e](i),l.c()),p(l,1),l.m(t.parentNode,t))},i(i){n||(p(l),n=!0)},o(i){b(l),n=!1},d(i){o[e].d(i),i&&m(t)}}}function Bn(s,e,l){let t;oe(s,Pe,a=>l(1,t=a));let{$$slots:n={},$$scope:r}=e,{isCloud:o=!1}=e;return s.$$set=a=>{"isCloud"in a&&l(0,o=a.isCloud),"$$scope"in a&&l(2,r=a.$$scope)},[o,t,r,n]}class mt extends ae{constructor(e){super(),fe(this,e,Bn,Sn,ue,{isCloud:0})}}function zn(){return!0}const jn=s=>({}),Wt=s=>({});function qn(s){let e;const l=s[4].default,t=x(l,s,s[3],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&8)&&ee(t,l,n,n[3],e?le(l,n[3],r,null):te(n[3]),null)},i(n){e||(p(t,n),e=!0)},o(n){b(t,n),e=!1},d(n){t&&t.d(n)}}}function An(s){let e;const l=s[4].fallback,t=x(l,s,s[3],Wt);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&8)&&ee(t,l,n,n[3],e?le(l,n[3],r,jn):te(n[3]),Wt)},i(n){e||(p(t,n),e=!0)},o(n){b(t,n),e=!1},d(n){t&&t.d(n)}}}function On(s){let e,l,t,n;const r=[An,qn],o=[];function a(i,u){return i[0]&&i[1]?0:1}return e=a(s),l=o[e]=r[e](s),{c(){l.c(),t=ie()},l(i){l.l(i),t=ie()},m(i,u){o[e].m(i,u),w(i,t,u),n=!0},p(i,[u]){let f=e;e=a(i),e===f?o[e].p(i,u):(ce(),b(o[f],1,1,()=>{o[f]=null}),de(),l=o[e],l?l.p(i,u):(l=o[e]=r[e](i),l.c()),p(l,1),l.m(t.parentNode,t))},i(i){n||(p(l),n=!0)},o(i){b(l),n=!1},d(i){o[e].d(i),i&&m(t)}}}function Pn(s,e,l){let t,n;oe(s,Pe,i=>l(2,n=i));let{$$slots:r={},$$scope:o}=e,{isCloud:a=!0}=e;return s.$$set=i=>{"isCloud"in i&&l(0,a=i.isCloud),"$$scope"in i&&l(3,o=i.$$scope)},s.$$.update=()=>{s.$$.dirty&4&&l(1,t=Gl.test(zn?n.url.hostname:""))},[a,t,n,o,r]}class Rn extends ae{constructor(e){super(),fe(this,e,Pn,On,ue,{isCloud:0})}}function Hn(s){let e,l,t,n;return{c(){e=rt("svg"),l=rt("title"),t=Z(s[2]),n=rt("path"),this.h()},l(r){e=ot(r,"svg",{width:!0,height:!0,viewBox:!0,xmlns:!0,"xmlns:xlink":!0,version:!0,role:!0});var o=A(e);l=ot(o,"title",{});var a=A(l);t=G(a,s[2]),a.forEach(m),n=ot(o,"path",{id:!0,d:!0,stroke:!0,fill:!0}),A(n).forEach(m),o.forEach(m),this.h()},h(){v(n,"id","Path"),v(n,"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"),v(n,"stroke",s[3]),v(n,"fill",s[3]),v(e,"width",s[0]),v(e,"height",s[1]),v(e,"viewBox","0 0 100 100"),v(e,"xmlns","http://www.w3.org/2000/svg"),v(e,"xmlns:xlink","http://www.w3.org/1999/xlink"),v(e,"version","1.1"),v(e,"role","img")},m(r,o){w(r,e,o),C(e,l),C(l,t),C(e,n)},p(r,[o]){o&4&&ge(t,r[2]),o&1&&v(e,"width",r[0]),o&2&&v(e,"height",r[1])},i:ne,o:ne,d(r){r&&m(e)}}}function Mn(s,e,l){let{width:t="100px"}=e,{height:n="100px"}=e,{isCloud:r}=e,{title:o=""}=e,a=r?"black":"white";return s.$$set=i=>{"width"in i&&l(0,t=i.width),"height"in i&&l(1,n=i.height),"isCloud"in i&&l(4,r=i.isCloud),"title"in i&&l(2,o=i.title)},[t,n,o,a,r]}class Fn extends ae{constructor(e){super(),fe(this,e,Mn,Hn,ue,{width:0,height:1,isCloud:4,title:2})}}const pt=Ql("navOpen",!1);const Un=s=>({}),Zt=s=>({}),Kn=s=>({}),Gt=s=>({}),Wn=s=>({}),Qt=s=>({}),Zn=s=>({}),Xt=s=>({});function Jt(s){let e,l=z("version")+"",t;return{c(){e=j("span"),t=Z(l),this.h()},l(n){e=q(n,"SPAN",{class:!0});var r=A(e);t=G(r,l),r.forEach(m),this.h()},h(){v(e,"class","sr-only")},m(n,r){w(n,e,r),C(e,t)},p:ne,d(n){n&&m(e)}}}function Gn(s){let e,l,t,n,r,o,a,i,u,f,c,_,d,h,$,g,k,M,O,E,K,W,U,I,L,H,y,X,he,pe;n=new Fn({props:{height:"24px",width:"24px",isCloud:s[0],title:z("workflows","recent-workflows-link")}}),i=new Se({props:{name:s[3]?"chevron-left":"chevron-right"}});const J=s[11].top,be=x(J,s,s[10],Xt),Te=s[11].middle,$e=x(Te,s,s[10],Qt),Be=s[11].bottom,ke=x(Be,s,s[10],Gt);let re=s[2]&&Jt();const Ve=s[11].drawer,me=x(Ve,s,s[10],Zt);let F=[{class:"nav-header transition-width"},{"data-testid":"navigation-header"},s[5]],se={};for(let B=0;Bl(9,o=g)),oe(s,pt,g=>l(3,a=g));let{$$slots:i={},$$scope:u}=e;var f,c,_;let{isCloud:d=!1}=e,{linkList:h}=e;function $(){_e(pt,a=!a,a)}return s.$$set=g=>{e=Ie(Ie({},e),Oe(g)),l(5,r=Ue(e,n)),"isCloud"in g&&l(0,d=g.isCloud),"linkList"in g&&l(1,h=g.linkList),"$$scope"in g&&l(10,u=g.$$scope)},s.$$.update=()=>{s.$$.dirty&960&&l(2,t=l(8,_=l(7,c=l(6,f=o.data)===null||f===void 0?void 0:f.settings)===null||c===void 0?void 0:c.version)!==null&&_!==void 0?_:"")},[d,h,t,a,$,r,f,c,_,o,u,i]}class Xn extends ae{constructor(e){super(),fe(this,e,Qn,Gn,ue,{isCloud:0,linkList:1})}}function Jn(s){let e;const l=s[9].default,t=x(l,s,s[8],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&256)&&ee(t,l,n,n[8],e?le(l,n[8],r,null):te(n[8]),null)},i(n){e||(p(t,n),e=!0)},o(n){b(t,n),e=!1},d(n){t&&t.d(n)}}}function Yn(s){let e,l;const t=s[9].default,n=x(t,s,s[8],null);return{c(){e=j("a"),n&&n.c(),this.h()},l(r){e=q(r,"A",{href:!0,class:!0});var o=A(e);n&&n.l(o),o.forEach(m),this.h()},h(){v(e,"href",s[0]),v(e,"class",Ae(s[5])+" svelte-4ukgao")},m(r,o){w(r,e,o),n&&n.m(e,null),l=!0},p(r,o){n&&n.p&&(!l||o&256)&&ee(n,t,r,r[8],l?le(t,r[8],o,null):te(r[8]),null),(!l||o&1)&&v(e,"href",r[0])},i(r){l||(p(n,r),l=!0)},o(r){b(n,r),l=!1},d(r){r&&m(e),n&&n.d(r)}}}function yn(s){let e,l;const t=s[9].default,n=x(t,s,s[8],null);return{c(){e=j("a"),n&&n.c(),this.h()},l(r){e=q(r,"A",{href:!0,rel:!0,target:!0,class:!0});var o=A(e);n&&n.l(o),o.forEach(m),this.h()},h(){v(e,"href",s[0]),v(e,"rel","noreferrer"),v(e,"target","_blank"),v(e,"class",Ae(s[5])+" svelte-4ukgao")},m(r,o){w(r,e,o),n&&n.m(e,null),l=!0},p(r,o){n&&n.p&&(!l||o&256)&&ee(n,t,r,r[8],l?le(t,r[8],o,null):te(r[8]),null),(!l||o&1)&&v(e,"href",r[0])},i(r){l||(p(n,r),l=!0)},o(r){b(n,r),l=!1},d(r){r&&m(e),n&&n.d(r)}}}function xn(s){let e,l,t,n;const r=s[9].default,o=x(r,s,s[8],null);return{c(){e=j("button"),o&&o.c(),this.h()},l(a){e=q(a,"BUTTON",{class:!0});var i=A(e);o&&o.l(i),i.forEach(m),this.h()},h(){v(e,"class",s[5]+" text-left svelte-4ukgao")},m(a,i){w(a,e,i),o&&o.m(e,null),l=!0,t||(n=we(e,"click",function(){ht(s[4])&&s[4].apply(this,arguments)}),t=!0)},p(a,i){s=a,o&&o.p&&(!l||i&256)&&ee(o,r,s,s[8],l?le(r,s[8],i,null):te(s[8]),null)},i(a){l||(p(o,a),l=!0)},o(a){b(o,a),l=!1},d(a){a&&m(e),o&&o.d(a),t=!1,n()}}}function es(s){let e,l,t,n,r,o;const a=[xn,yn,Yn,Jn],i=[];function u(f,c){return f[4]!==null?0:f[0]&&f[3]?1:f[0]?2:3}return l=u(s),t=i[l]=a[l](s),{c(){e=j("li"),t.c(),this.h()},l(f){e=q(f,"LI",{class:!0,"data-testid":!0});var c=A(e);t.l(c),c.forEach(m),this.h()},h(){v(e,"class",n=Ae(s[0]?"":s[5])+" svelte-4ukgao"),v(e,"data-testid",r=s[6]["data-testid"]),Y(e,"noFilter",s[1]),Y(e,"wrap",s[2]),Y(e,"button",s[4]!==null)},m(f,c){w(f,e,c),i[l].m(e,null),o=!0},p(f,[c]){let _=l;l=u(f),l===_?i[l].p(f,c):(ce(),b(i[_],1,1,()=>{i[_]=null}),de(),t=i[l],t?t.p(f,c):(t=i[l]=a[l](f),t.c()),p(t,1),t.m(e,null)),(!o||c&1&&n!==(n=Ae(f[0]?"":f[5])+" svelte-4ukgao"))&&v(e,"class",n),(!o||c&64&&r!==(r=f[6]["data-testid"]))&&v(e,"data-testid",r),(!o||c&3)&&Y(e,"noFilter",f[1]),(!o||c&5)&&Y(e,"wrap",f[2]),(!o||c&17)&&Y(e,"button",f[4]!==null)},i(f){o||(p(t),o=!0)},o(f){b(t),o=!1},d(f){f&&m(e),i[l].d()}}}function ts(s,e,l){let{$$slots:t={},$$scope:n}=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 s.$$set=_=>{l(6,e=Ie(Ie({},e),Oe(_))),"link"in _&&l(0,r=_.link),"isCloud"in _&&l(7,o=_.isCloud),"noFilter"in _&&l(1,a=_.noFilter),"wrap"in _&&l(2,i=_.wrap),"externalLink"in _&&l(3,u=_.externalLink),"handleClick"in _&&l(4,f=_.handleClick),"$$scope"in _&&l(8,n=_.$$scope)},e=Oe(e),[r,a,i,u,f,c,e,o,n,t]}class Re extends ae{constructor(e){super(),fe(this,e,ts,es,ue,{link:0,isCloud:7,noFilter:1,wrap:2,externalLink:3,handleClick:4})}}function ls(s){let e;const l=s[3].default,t=x(l,s,s[4],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&16)&&ee(t,l,n,n[4],e?le(l,n[4],r,null):te(n[4]),null)},i(n){e||(p(t,n),e=!0)},o(n){b(t,n),e=!1},d(n){t&&t.d(n)}}}function ns(s){let e,l;const t=[{right:!0},{hide:s[2]},{text:s[1]},s[0]];let n={$$slots:{default:[ls]},$$scope:{ctx:s}};for(let r=0;rl(2,r=f));let{$$slots:o={},$$scope:a}=e,{props:i=n}=e,{text:u=n.text}=e;return s.$$set=f=>{e=Ie(Ie({},e),Oe(f)),l(5,n=Ue(e,t)),"props"in f&&l(0,i=f.props),"text"in f&&l(1,u=f.text),"$$scope"in f&&l(4,a=f.$$scope)},[i,u,r,o,a]}class He extends ae{constructor(e){super(),fe(this,e,ss,ns,ue,{props:0,text:1})}}const rs=s=>({}),Yt=s=>({}),os=s=>({}),yt=s=>({}),is=s=>({}),xt=s=>({}),as=s=>({}),el=s=>({}),fs=s=>({}),tl=s=>({});function us(s){let e,l,t;return l=new Se({props:{name:"workflow"}}),{c(){e=j("div"),V(l.$$.fragment),this.h()},l(n){e=q(n,"DIV",{class:!0});var r=A(e);D(l.$$.fragment,r),r.forEach(m),this.h()},h(){v(e,"class","nav-icon svelte-1jb7rp7")},m(n,r){w(n,e,r),N(l,e,null),t=!0},p:ne,i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){b(l.$$.fragment,n),t=!1},d(n){n&&m(e),S(l)}}}function cs(s){let e,l,t,n=z("workflows")+"",r,o;return e=new He({props:{text:z("workflows"),$$slots:{default:[us]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment),l=P(),t=j("div"),r=Z(n),this.h()},l(a){D(e.$$.fragment,a),l=R(a),t=q(a,"DIV",{class:!0});var i=A(t);r=G(i,n),i.forEach(m),this.h()},h(){v(t,"class","nav-title svelte-1jb7rp7")},m(a,i){N(e,a,i),w(a,l,i),w(a,t,i),C(t,r),o=!0},p(a,i){const u={};i&256&&(u.$$scope={dirty:i,ctx:a}),e.$set(u)},i(a){o||(p(e.$$.fragment,a),o=!0)},o(a){b(e.$$.fragment,a),o=!1},d(a){S(e,a),a&&m(l),a&&m(t)}}}function ds(s){let e,l,t;return l=new Se({props:{name:"schedules"}}),{c(){e=j("div"),V(l.$$.fragment),this.h()},l(n){e=q(n,"DIV",{class:!0});var r=A(e);D(l.$$.fragment,r),r.forEach(m),this.h()},h(){v(e,"class","nav-icon svelte-1jb7rp7")},m(n,r){w(n,e,r),N(l,e,null),t=!0},p:ne,i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){b(l.$$.fragment,n),t=!1},d(n){n&&m(e),S(l)}}}function _s(s){let e,l,t,n=z("schedules")+"",r,o;return e=new He({props:{text:z("schedules"),$$slots:{default:[ds]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment),l=P(),t=j("div"),r=Z(n),this.h()},l(a){D(e.$$.fragment,a),l=R(a),t=q(a,"DIV",{class:!0});var i=A(t);r=G(i,n),i.forEach(m),this.h()},h(){v(t,"class","nav-title svelte-1jb7rp7")},m(a,i){N(e,a,i),w(a,l,i),w(a,t,i),C(t,r),o=!0},p(a,i){const u={};i&256&&(u.$$scope={dirty:i,ctx:a}),e.$set(u)},i(a){o||(p(e.$$.fragment,a),o=!0)},o(a){b(e.$$.fragment,a),o=!1},d(a){S(e,a),a&&m(l),a&&m(t)}}}function ms(s){let e,l;return e=new Re({props:{link:s[2].schedules,isCloud:s[0],"data-testid":"schedules-button",$$slots:{default:[_s]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&4&&(r.link=t[2].schedules),n&1&&(r.isCloud=t[0]),n&256&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){S(e,t)}}}function ps(s){var t,n;let e,l;return e=new Ln({props:{enabled:Boolean((n=(t=s[1])==null?void 0:t.namespaceInfo)==null?void 0:n.supportsSchedules),$$slots:{default:[ms]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment)},l(r){D(e.$$.fragment,r)},m(r,o){N(e,r,o),l=!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&261&&(a.$$scope={dirty:o,ctx:r}),e.$set(a)},i(r){l||(p(e.$$.fragment,r),l=!0)},o(r){b(e.$$.fragment,r),l=!1},d(r){S(e,r)}}}function gs(s){let e,l,t;return l=new Se({props:{name:"archives"}}),{c(){e=j("div"),V(l.$$.fragment),this.h()},l(n){e=q(n,"DIV",{class:!0});var r=A(e);D(l.$$.fragment,r),r.forEach(m),this.h()},h(){v(e,"class","nav-icon svelte-1jb7rp7")},m(n,r){w(n,e,r),N(l,e,null),t=!0},p:ne,i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){b(l.$$.fragment,n),t=!1},d(n){n&&m(e),S(l)}}}function hs(s){let e,l,t,n=z("archive")+"",r,o;return e=new He({props:{text:z("archive"),$$slots:{default:[gs]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment),l=P(),t=j("div"),r=Z(n),this.h()},l(a){D(e.$$.fragment,a),l=R(a),t=q(a,"DIV",{class:!0});var i=A(t);r=G(i,n),i.forEach(m),this.h()},h(){v(t,"class","nav-title svelte-1jb7rp7")},m(a,i){N(e,a,i),w(a,l,i),w(a,t,i),C(t,r),o=!0},p(a,i){const u={};i&256&&(u.$$scope={dirty:i,ctx:a}),e.$set(u)},i(a){o||(p(e.$$.fragment,a),o=!0)},o(a){b(e.$$.fragment,a),o=!1},d(a){S(e,a),a&&m(l),a&&m(t)}}}function bs(s){let e,l;return e=new Re({props:{link:s[2].archive,isCloud:s[0],"data-testid":"archive-button",$$slots:{default:[hs]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&4&&(r.link=t[2].archive),n&1&&(r.isCloud=t[0]),n&256&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){S(e,t)}}}function $s(s){let e,l,t,n,r,o,a;e=new Re({props:{link:s[2].workflows,isCloud:s[0],"data-testid":"workflows-button",$$slots:{default:[cs]},$$scope:{ctx:s}}}),t=new mt({props:{isCloud:s[0],$$slots:{default:[ps]},$$scope:{ctx:s}}});const i=s[6].top,u=x(i,s,s[8],Yt);return o=new mt({props:{isCloud:s[0],$$slots:{default:[bs]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment),l=P(),V(t.$$.fragment),n=P(),u&&u.c(),r=P(),V(o.$$.fragment)},l(f){D(e.$$.fragment,f),l=R(f),D(t.$$.fragment,f),n=R(f),u&&u.l(f),r=R(f),D(o.$$.fragment,f)},m(f,c){N(e,f,c),w(f,l,c),N(t,f,c),w(f,n,c),u&&u.m(f,c),w(f,r,c),N(o,f,c),a=!0},p(f,c){const _={};c&4&&(_.link=f[2].workflows),c&1&&(_.isCloud=f[0]),c&256&&(_.$$scope={dirty:c,ctx:f}),e.$set(_);const d={};c&1&&(d.isCloud=f[0]),c&263&&(d.$$scope={dirty:c,ctx:f}),t.$set(d),u&&u.p&&(!a||c&256)&&ee(u,i,f,f[8],a?le(i,f[8],c,rs):te(f[8]),Yt);const h={};c&1&&(h.isCloud=f[0]),c&261&&(h.$$scope={dirty:c,ctx:f}),o.$set(h)},i(f){a||(p(e.$$.fragment,f),p(t.$$.fragment,f),p(u,f),p(o.$$.fragment,f),a=!0)},o(f){b(e.$$.fragment,f),b(t.$$.fragment,f),b(u,f),b(o.$$.fragment,f),a=!1},d(f){S(e,f),f&&m(l),S(t,f),f&&m(n),u&&u.d(f),f&&m(r),S(o,f)}}}function vs(s){let e,l,t;return l=new Se({props:{name:"namespace"}}),{c(){e=j("div"),V(l.$$.fragment),this.h()},l(n){e=q(n,"DIV",{class:!0});var r=A(e);D(l.$$.fragment,r),r.forEach(m),this.h()},h(){v(e,"class","nav-icon svelte-1jb7rp7")},m(n,r){w(n,e,r),N(l,e,null),t=!0},p:ne,i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){b(l.$$.fragment,n),t=!1},d(n){n&&m(e),S(l)}}}function ks(s){let e,l,t,n=z("namespaces")+"",r,o;return e=new He({props:{text:z("namespaces"),$$slots:{default:[vs]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment),l=P(),t=j("div"),r=Z(n),this.h()},l(a){D(e.$$.fragment,a),l=R(a),t=q(a,"DIV",{class:!0});var i=A(t);r=G(i,n),i.forEach(m),this.h()},h(){v(t,"class","nav-title svelte-1jb7rp7")},m(a,i){N(e,a,i),w(a,l,i),w(a,t,i),C(t,r),o=!0},p(a,i){const u={};i&256&&(u.$$scope={dirty:i,ctx:a}),e.$set(u)},i(a){o||(p(e.$$.fragment,a),o=!0)},o(a){b(e.$$.fragment,a),o=!1},d(a){S(e,a),a&&m(l),a&&m(t)}}}function ws(s){let e,l;return e=new Re({props:{link:s[2].namespaces,isCloud:s[0],"data-testid":"namespaces-button",$$slots:{default:[ks]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&4&&(r.link=t[2].namespaces),n&1&&(r.isCloud=t[0]),n&256&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){S(e,t)}}}function Es(s){let e,l,t;e=new Rn({props:{isCloud:s[0],$$slots:{default:[ws]},$$scope:{ctx:s}}});const n=s[6].middle,r=x(n,s,s[8],yt);return{c(){V(e.$$.fragment),l=P(),r&&r.c()},l(o){D(e.$$.fragment,o),l=R(o),r&&r.l(o)},m(o,a){N(e,o,a),w(o,l,a),r&&r.m(o,a),t=!0},p(o,a){const i={};a&1&&(i.isCloud=o[0]),a&261&&(i.$$scope={dirty:a,ctx:o}),e.$set(i),r&&r.p&&(!t||a&256)&&ee(r,n,o,o[8],t?le(n,o[8],a,os):te(o[8]),yt)},i(o){t||(p(e.$$.fragment,o),p(r,o),t=!0)},o(o){b(e.$$.fragment,o),b(r,o),t=!1},d(o){S(e,o),o&&m(l),r&&r.d(o)}}}function Cs(s){let e,l,t;return l=new Se({props:{name:"import"}}),{c(){e=j("div"),V(l.$$.fragment),this.h()},l(n){e=q(n,"DIV",{class:!0});var r=A(e);D(l.$$.fragment,r),r.forEach(m),this.h()},h(){v(e,"class","nav-icon svelte-1jb7rp7")},m(n,r){w(n,e,r),N(l,e,null),t=!0},p:ne,i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){b(l.$$.fragment,n),t=!1},d(n){n&&m(e),S(l)}}}function Is(s){let e,l,t,n=z("import")+"",r,o;return e=new He({props:{text:z("import"),$$slots:{default:[Cs]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment),l=P(),t=j("div"),r=Z(n),this.h()},l(a){D(e.$$.fragment,a),l=R(a),t=q(a,"DIV",{class:!0});var i=A(t);r=G(i,n),i.forEach(m),this.h()},h(){v(t,"class","nav-title svelte-1jb7rp7")},m(a,i){N(e,a,i),w(a,l,i),w(a,t,i),C(t,r),o=!0},p(a,i){const u={};i&256&&(u.$$scope={dirty:i,ctx:a}),e.$set(u)},i(a){o||(p(e.$$.fragment,a),o=!0)},o(a){b(e.$$.fragment,a),o=!1},d(a){S(e,a),a&&m(l),a&&m(t)}}}function Ts(s){let e,l;return e=new Re({props:{link:s[2].import,isCloud:s[0],"data-testid":"import-button",$$slots:{default:[Is]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&4&&(r.link=t[2].import),n&1&&(r.isCloud=t[0]),n&256&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){S(e,t)}}}function Ls(s){let e,l;return e=new mt({props:{isCloud:s[0],$$slots:{default:[Ts]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&1&&(r.isCloud=t[0]),n&261&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){S(e,t)}}}function Vs(s){let e,l,t;return l=new Se({props:{name:"feedback"}}),{c(){e=j("div"),V(l.$$.fragment),this.h()},l(n){e=q(n,"DIV",{class:!0});var r=A(e);D(l.$$.fragment,r),r.forEach(m),this.h()},h(){v(e,"class","nav-icon svelte-1jb7rp7")},m(n,r){w(n,e,r),N(l,e,null),t=!0},p:ne,i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){b(l.$$.fragment,n),t=!1},d(n){n&&m(e),S(l)}}}function Ds(s){let e,l,t,n=z("feedback")+"",r,o;return e=new He({props:{text:z("feedback"),$$slots:{default:[Vs]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment),l=P(),t=j("div"),r=Z(n),this.h()},l(a){D(e.$$.fragment,a),l=R(a),t=q(a,"DIV",{class:!0});var i=A(t);r=G(i,n),i.forEach(m),this.h()},h(){v(t,"class","nav-title svelte-1jb7rp7")},m(a,i){N(e,a,i),w(a,l,i),w(a,t,i),C(t,r),o=!0},p(a,i){const u={};i&256&&(u.$$scope={dirty:i,ctx:a}),e.$set(u)},i(a){o||(p(e.$$.fragment,a),o=!0)},o(a){b(e.$$.fragment,a),o=!1},d(a){S(e,a),a&&m(l),a&&m(t)}}}function Ns(s){let e,l;return e=new Re({props:{link:s[2].feedback,isCloud:s[0],externalLink:!0,$$slots:{default:[Ds]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&4&&(r.link=t[2].feedback),n&1&&(r.isCloud=t[0]),n&256&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){S(e,t)}}}function Ss(s){let e,l,t;return l=new Se({props:{name:"labs",active:s[3]}}),{c(){e=j("div"),V(l.$$.fragment),this.h()},l(n){e=q(n,"DIV",{class:!0});var r=A(e);D(l.$$.fragment,r),r.forEach(m),this.h()},h(){v(e,"class","nav-icon svelte-1jb7rp7")},m(n,r){w(n,e,r),N(l,e,null),t=!0},p(n,r){const o={};r&8&&(o.active=n[3]),l.$set(o)},i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){b(l.$$.fragment,n),t=!1},d(n){n&&m(e),S(l)}}}function ll(s){let e,l=z("experimental")+"",t;return{c(){e=j("p"),t=Z(l),this.h()},l(n){e=q(n,"P",{class:!0});var r=A(e);t=G(r,l),r.forEach(m),this.h()},h(){v(e,"class","text-[12px]")},m(n,r){w(n,e,r),C(e,t)},p:ne,d(n){n&&m(e)}}}function Bs(s){let e,l,t,n,r,o,a;e=new He({props:{right:!0,text:s[5],$$slots:{default:[Ss]},$$scope:{ctx:s}}});let i=s[3]&&ll();return{c(){V(e.$$.fragment),l=P(),t=j("div"),n=j("div"),r=Z(s[4]),o=P(),i&&i.c(),this.h()},l(u){D(e.$$.fragment,u),l=R(u),t=q(u,"DIV",{class:!0});var f=A(t);n=q(f,"DIV",{});var c=A(n);r=G(c,s[4]),c.forEach(m),o=R(f),i&&i.l(f),f.forEach(m),this.h()},h(){v(t,"class","nav-title flex flex-col leading-3 svelte-1jb7rp7")},m(u,f){N(e,u,f),w(u,l,f),w(u,t,f),C(t,n),C(n,r),C(t,o),i&&i.m(t,null),a=!0},p(u,f){const c={};f&32&&(c.text=u[5]),f&264&&(c.$$scope={dirty:f,ctx:u}),e.$set(c),(!a||f&16)&&ge(r,u[4]),u[3]?i?i.p(u,f):(i=ll(),i.c(),i.m(t,null)):i&&(i.d(1),i=null)},i(u){a||(p(e.$$.fragment,u),a=!0)},o(u){b(e.$$.fragment,u),a=!1},d(u){S(e,u),u&&m(l),u&&m(t),i&&i.d()}}}function zs(s){let e,l,t,n,r;const o=s[6].bottom,a=x(o,s,s[8],tl),i=s[6].import,u=x(i,s,s[8],el),f=u||Ls(s),c=s[6].feedback,_=x(c,s,s[8],xt),d=_||Ns(s);return n=new Re({props:{isCloud:s[0],handleClick:s[7],$$slots:{default:[Bs]},$$scope:{ctx:s}}}),{c(){a&&a.c(),e=P(),f&&f.c(),l=P(),d&&d.c(),t=P(),V(n.$$.fragment)},l(h){a&&a.l(h),e=R(h),f&&f.l(h),l=R(h),d&&d.l(h),t=R(h),D(n.$$.fragment,h)},m(h,$){a&&a.m(h,$),w(h,e,$),f&&f.m(h,$),w(h,l,$),d&&d.m(h,$),w(h,t,$),N(n,h,$),r=!0},p(h,$){a&&a.p&&(!r||$&256)&&ee(a,o,h,h[8],r?le(o,h[8],$,fs):te(h[8]),tl),u?u.p&&(!r||$&256)&&ee(u,i,h,h[8],r?le(i,h[8],$,as):te(h[8]),el):f&&f.p&&(!r||$&5)&&f.p(h,r?$:-1),_?_.p&&(!r||$&256)&&ee(_,c,h,h[8],r?le(c,h[8],$,is):te(h[8]),xt):d&&d.p&&(!r||$&5)&&d.p(h,r?$:-1);const g={};$&1&&(g.isCloud=h[0]),$&8&&(g.handleClick=h[7]),$&312&&(g.$$scope={dirty:$,ctx:h}),n.$set(g)},i(h){r||(p(a,h),p(f,h),p(d,h),p(n.$$.fragment,h),r=!0)},o(h){b(a,h),b(f,h),b(d,h),b(n.$$.fragment,h),r=!1},d(h){a&&a.d(h),h&&m(e),f&&f.d(h),h&&m(l),d&&d.d(h),h&&m(t),S(n,h)}}}function js(s){let e,l;return e=new Xn({props:{isCloud:s[0],linkList:s[2],"aria-label":z("primary"),$$slots:{bottom:[zs],middle:[Es],top:[$s]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,[n]){const r={};n&1&&(r.isCloud=t[0]),n&4&&(r.linkList=t[2]),n&319&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){S(e,t)}}}function qs(s,e,l){let t,n,r;oe(s,St,_=>l(3,r=_));let{$$slots:o={},$$scope:a}=e,{isCloud:i=!1}=e,{activeNamespace:u}=e,{linkList:f}=e;const c=()=>_e(St,r=!r,r);return s.$$set=_=>{"isCloud"in _&&l(0,i=_.isCloud),"activeNamespace"in _&&l(1,u=_.activeNamespace),"linkList"in _&&l(2,f=_.linkList),"$$scope"in _&&l(8,a=_.$$scope)},s.$$.update=()=>{s.$$.dirty&8&&l(5,t=`${z("labs")} ${r?`${z("on")} - ${z("experimental")}`:z("off")}`),s.$$.dirty&8&&l(4,n=`${z("labs")} ${r?z("on"):z("off")}`)},[i,u,f,r,n,t,o,c,a]}class As extends ae{constructor(e){super(),fe(this,e,qs,js,ue,{isCloud:0,activeNamespace:1,linkList:2})}}function Os(s){let e=z("skip-nav")+"",l;return{c(){l=Z(e)},l(t){l=G(t,e)},m(t,n){w(t,l,n)},p:ne,d(t){t&&m(l)}}}function Ps(s){let e,l;return e=new Vl({props:{id:"skip-nav",href:"#content",class:"absolute left-1/2 -translate-y-full focus:translate-y-0 z-100 p-1",$$slots:{default:[Os]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,[n]){const r={};n&1&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){S(e,t)}}}class Rs extends ae{constructor(e){super(),fe(this,e,null,Ps,ue,{})}}const Sl=Zl([Pe,ut,ft,Fl,ct,Ul,Dl],([s,e,l,t,n,r,o])=>{var M,O,E,K,W,U,I,L,H;const a=s.params.namespace,i=(E=(O=(M=s==null?void 0:s.data)==null?void 0:M.settings)==null?void 0:O.codec)==null?void 0:E.endpoint,u=Boolean((U=(W=(K=s==null?void 0:s.data)==null?void 0:K.settings)==null?void 0:W.codec)==null?void 0:U.passAccessToken),f=Boolean((H=(L=(I=s==null?void 0:s.data)==null?void 0:I.settings)==null?void 0:L.codec)==null?void 0:H.includeCredentials),c=l?e:i||e,_=o==null?void 0:o.accessToken,d=c?t==="notRequested":r==="notRequested",h=c?t==="error":r==="error",$=c?t==="success":r==="success",g=Boolean(c&&n),k=Boolean(c||n);return{namespace:a,settingsEndpoint:i,settingsPassAccessToken:u,settingsIncludeCredentials:f,endpoint:c,accessToken:_,hasNotRequested:d,hasError:h,hasSuccess:$,hasEndpointAndPortConfigured:g,hasEndpointOrPortConfigured:k}});function Hs(s){let e,l;return e=new We({props:{bottomRight:!0,text:z("data-encoder","configure-codec-server"),$$slots:{default:[Fs]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&8&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){S(e,t)}}}function Ms(s){let e,l,t,n;const r=[Ws,Ks,Us],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(s))&&(l=o[e]=r[e](s)),{c(){l&&l.c(),t=ie()},l(i){l&&l.l(i),t=ie()},m(i,u){~e&&o[e].m(i,u),w(i,t,u),n=!0},p(i,u){let f=e;e=a(i),e===f?~e&&o[e].p(i,u):(l&&(ce(),b(o[f],1,1,()=>{o[f]=null}),de()),~e?(l=o[e],l?l.p(i,u):(l=o[e]=r[e](i),l.c()),p(l,1),l.m(t.parentNode,t)):l=null)},i(i){n||(p(l),n=!0)},o(i){b(l),n=!1},d(i){~e&&o[e].d(i),i&&m(t)}}}function Fs(s){let e,l;return e=new Ze({props:{label:z("data-encoder","configure-codec-server"),class:"relative flex items-center","data-testid":"data-encoder-status",icon:"transcoder-off"}}),e.$on("click",s[1]),{c(){V(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p:ne,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){S(e,t)}}}function Us(s){let e,l;return e=new We({props:{bottomRight:!0,text:z("data-encoder","codec-server-success"),$$slots:{default:[Zs]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&8&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){S(e,t)}}}function Ks(s){let e,l;return e=new We({props:{bottomRight:!0,text:z("data-encoder","codec-server-error"),$$slots:{default:[Gs]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&8&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){S(e,t)}}}function Ws(s){let e,l;return e=new We({props:{bottomRight:!0,text:z("data-encoder","codec-server-configured"),$$slots:{default:[Qs]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&8&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){S(e,t)}}}function Zs(s){let e,l;return e=new Ze({props:{label:z("data-encoder","codec-server-success"),class:"relative flex items-center","data-testid":"data-encoder-status-success",icon:"transcoder-on"}}),e.$on("click",s[1]),{c(){V(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p:ne,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){S(e,t)}}}function Gs(s){let e,l;return e=new Ze({props:{label:z("data-encoder","codec-server-error"),class:"relative flex items-center","data-testid":"data-encoder-status-error",icon:"transcoder-error"}}),e.$on("click",s[1]),{c(){V(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p:ne,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){S(e,t)}}}function Qs(s){let e,l;return e=new Ze({props:{label:z("data-encoder","codec-server-configured"),class:"relative flex items-center","data-testid":"data-encoder-status-configured",icon:"transcoder-on"}}),e.$on("click",s[1]),{c(){V(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p:ne,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){S(e,t)}}}function Xs(s){let e,l,t,n;const r=[Ms,Hs],o=[];function a(i,u){var f;return(f=i[0])!=null&&f.hasEndpointOrPortConfigured?0:1}return l=a(s),t=o[l]=r[l](s),{c(){e=j("div"),t.c(),this.h()},l(i){e=q(i,"DIV",{class:!0});var u=A(e);t.l(u),u.forEach(m),this.h()},h(){v(e,"class","mx-1 flex items-center")},m(i,u){w(i,e,u),o[l].m(e,null),n=!0},p(i,[u]){let f=l;l=a(i),l===f?o[l].p(i,u):(ce(),b(o[f],1,1,()=>{o[f]=null}),de(),t=o[l],t?t.p(i,u):(t=o[l]=r[l](i),t.c()),p(t,1),t.m(e,null))},i(i){n||(p(t),n=!0)},o(i){b(t),n=!1},d(i){i&&m(e),o[l].d()}}}function Js(s,e,l){let t,n;return oe(s,Fe,o=>l(2,t=o)),oe(s,Sl,o=>l(0,n=o)),[n,()=>{var o;_e(Fe,t=!t,t),t&&((o=document.getElementById("content-wrapper"))===null||o===void 0||o.scrollTo(0,0))}]}class Ys extends ae{constructor(e){super(),fe(this,e,Js,Xs,ue,{})}}function nl(s,e,l){const t=s.slice();return t[17]=e[l].value,t[18]=e[l].label,t[19]=e[l].offset,t[20]=e[l].abbr,t}function sl(s,e,l){const t=s.slice();return t[17]=e[l].value,t[18]=e[l].label,t}function ys(s){let e;return{c(){e=Z(s[2])},l(l){e=G(l,s[2])},m(l,t){w(l,e,t)},p(l,t){t&4&&ge(e,l[2])},d(l){l&&m(e)}}}function xs(s){let e,l;return e=new Se({props:{slot:"leading",name:"clock"}}),{c(){V(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p:ne,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){S(e,t)}}}function rl(s){let e,l,t,n,r,o,a,i=s[6],u=[];for(let d=0;db(u[d],1,1,()=>{u[d]=null});function c(d){s[15](d)}let _={label:z("relative"),id:"relative-toggle",labelPosition:"left","data-testid":"timezones-relative-toggle"};return s[4]!==void 0&&(_.checked=s[4]),t=new at({props:_}),Le.push(()=>De(t,"checked",c)),t.$on("change",s[8]),o=new Nl({}),{c(){for(let d=0;dn=!1)),t.$set($)},i(d){if(!a){for(let h=0;hDe(e,"value",u)),n=new Nl({});let c=!s[0]&&rl(s),_=s[3],d=[];for(let g=0;g<_.length;g+=1)d[g]=al(nl(s,_,g));const h=g=>b(d[g],1,1,()=>{d[g]=null});let $=null;return _.length||($=il(s)),{c(){V(e.$$.fragment),t=P(),V(n.$$.fragment),r=P(),c&&c.c(),o=P();for(let g=0;gl=!1)),e.$set(M),g[0]?c&&(ce(),b(c,1,1,()=>{c=null}),de()):c?(c.p(g,k),k&1&&p(c,1)):(c=rl(g),c.c(),p(c,1),c.m(o.parentNode,o)),k&138){_=g[3];let O;for(O=0;O<_.length;O+=1){const E=nl(g,_,O);d[O]?(d[O].p(E,k),p(d[O],1)):(d[O]=al(E),d[O].c(),p(d[O],1),d[O].m(a.parentNode,a))}for(ce(),O=_.length;O{$=null}),de()):($=il(g),$.c(),p($,1),$.m(a.parentNode,a))}},i(g){if(!i){p(e.$$.fragment,g),p(n.$$.fragment,g),p(c);for(let k=0;k<_.length;k+=1)p(d[k]);i=!0}},o(g){b(e.$$.fragment,g),b(n.$$.fragment,g),b(c),d=d.filter(Boolean);for(let k=0;kl(4,r=E)),oe(s,Ye,E=>l(1,o=E));var a,i,u,f;const c=Jl(),_=[{label:z("utc"),value:"UTC"},{label:z("local"),value:"local"}];let d="";const h=E=>{r&&E!=="local"&&_e(Je,r=!1,r),_e(Ye,o=E,o),l(0,d="")},$=E=>{E.target.checked&&o!=="local"&&_e(Ye,o="local",o)};ql(()=>{String(o)==="relative"&&(_e(Ye,o="local",o),_e(Je,r=!0,r))});function g(E){d=E,l(0,d)}const k=E=>h(E);function M(E){r=E,Je.set(r)}const O=E=>h(E);return s.$$.update=()=>{s.$$.dirty&1&&l(3,t=d?Bt.filter(({abbr:E,value:K,zones:W})=>{const U=d.trim().toLowerCase();return K.toLowerCase().includes(U)||(E==null?void 0:E.toLowerCase().includes(U))||(W==null?void 0:W.some(I=>I.toLowerCase().includes(U)))}):Bt),s.$$.dirty&7682&&l(2,n=l(12,f=l(10,i=l(9,a=zt[o])===null||a===void 0?void 0:a.abbr)!==null&&i!==void 0?i:l(11,u=zt[o])===null||u===void 0?void 0:u.label)!==null&&f!==void 0?f:Yl(o))},[d,o,n,t,r,c,_,h,$,a,i,u,f,g,k,M,O]}class ir extends ae{constructor(e){super(),fe(this,e,or,rr,ue,{})}}const ar=s=>({}),fl=s=>({slot:"leading"}),fr=s=>({}),ul=s=>({slot:"trailing"});function ur(s){let e;const l=s[2].default,t=x(l,s,s[4],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&16)&&ee(t,l,n,n[4],e?le(l,n[4],r,null):te(n[4]),null)},i(n){e||(p(t,n),e=!0)},o(n){b(t,n),e=!1},d(n){t&&t.d(n)}}}function cr(s){let e;const l=s[2].leading,t=x(l,s,s[4],fl);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&16)&&ee(t,l,n,n[4],e?le(l,n[4],r,ar):te(n[4]),fl)},i(n){e||(p(t,n),e=!0)},o(n){b(t,n),e=!1},d(n){t&&t.d(n)}}}function dr(s){let e;const l=s[2].trailing,t=x(l,s,s[4],ul);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&16)&&ee(t,l,n,n[4],e?le(l,n[4],r,fr):te(n[4]),ul)},i(n){e||(p(t,n),e=!0)},o(n){b(t,n),e=!1},d(n){t&&t.d(n)}}}function _r(s){let e,l;return e=new Ke({props:{role:"option",class:"break-all","aria-selected":s[0],"aria-disabled":s[1],disabled:s[1],selected:s[0],$$slots:{trailing:[dr],leading:[cr],default:[ur]},$$scope:{ctx:s}}}),e.$on("click",s[3]),{c(){V(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,[n]){const r={};n&1&&(r["aria-selected"]=t[0]),n&2&&(r["aria-disabled"]=t[1]),n&2&&(r.disabled=t[1]),n&1&&(r.selected=t[0]),n&16&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){S(e,t)}}}function mr(s,e,l){let{$$slots:t={},$$scope:n}=e,{selected:r=!1}=e,{disabled:o=!1}=e;function a(i){Me.call(this,s,i)}return s.$$set=i=>{"selected"in i&&l(0,r=i.selected),"disabled"in i&&l(1,o=i.disabled),"$$scope"in i&&l(4,n=i.$$scope)},[r,o,t,a,n]}class kt extends ae{constructor(e){super(),fe(this,e,mr,_r,ue,{selected:0,disabled:1})}}function cl(s,e,l){const t=s.slice();return t[48]=e[l],t}const pr=s=>({option:s[0]&131072}),dl=s=>({option:s[22](s[48])});function _l(s){let e,l;return e=new Se({props:{width:20,height:20,class:"shrink-0 text-gray-500 ml-2",name:s[11]}}),{c(){V(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n[0]&2048&&(r.name=t[11]),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){S(e,t)}}}function ml(s){let e,l;return e=new kt({props:{disabled:!0,$$slots:{default:[gr]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n[0]&32|n[1]&1024&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){S(e,t)}}}function gr(s){let e;return{c(){e=Z(s[5])},l(l){e=G(l,s[5])},m(l,t){w(l,e,t)},p(l,t){t[0]&32&&ge(e,l[5])},d(l){l&&m(e)}}}function hr(s){let e,l,t,n,r;const o=[vr,$r],a=[];function i(u,f){return f[0]&131072&&(e=null),e==null&&(e=!!u[25](u[48])),e?0:1}return l=i(s,[-1,-1]),t=a[l]=o[l](s),{c(){t.c(),n=ie()},l(u){t.l(u),n=ie()},m(u,f){a[l].m(u,f),w(u,n,f),r=!0},p(u,f){let c=l;l=i(u,f),l===c?a[l].p(u,f):(ce(),b(a[c],1,1,()=>{a[c]=null}),de(),t=a[l],t?t.p(u,f):(t=a[l]=o[l](u),t.c()),p(t,1),t.m(n.parentNode,n))},i(u){r||(p(t),r=!0)},o(u){b(t),r=!1},d(u){a[l].d(u),u&&m(n)}}}function br(s){let e,l;function t(){return s[38](s[48])}return e=new kt({props:{selected:s[0]===s[48],$$slots:{default:[wr]},$$scope:{ctx:s}}}),e.$on("click",t),{c(){V(e.$$.fragment)},l(n){D(e.$$.fragment,n)},m(n,r){N(e,n,r),l=!0},p(n,r){s=n;const o={};r[0]&131073&&(o.selected=s[0]===s[48]),r[0]&131072|r[1]&1024&&(o.$$scope={dirty:r,ctx:s}),e.$set(o)},i(n){l||(p(e.$$.fragment,n),l=!0)},o(n){b(e.$$.fragment,n),l=!1},d(n){S(e,n)}}}function $r(s){let e;const l=s[36].default,t=x(l,s,s[41],dl);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[0]&131072|r[1]&1024)&&ee(t,l,n,n[41],e?le(l,n[41],r,pr):te(n[41]),dl)},i(n){e||(p(t,n),e=!0)},o(n){b(t,n),e=!1},d(n){t&&t.d(n)}}}function vr(s){let e,l;function t(){return s[39](s[48])}return e=new kt({props:{selected:s[0]===s[48][s[12]],$$slots:{default:[kr]},$$scope:{ctx:s}}}),e.$on("click",t),{c(){V(e.$$.fragment)},l(n){D(e.$$.fragment,n)},m(n,r){N(e,n,r),l=!0},p(n,r){s=n;const o={};r[0]&135169&&(o.selected=s[0]===s[48][s[12]]),r[0]&139264|r[1]&1024&&(o.$$scope={dirty:r,ctx:s}),e.$set(o)},i(n){l||(p(e.$$.fragment,n),l=!0)},o(n){b(e.$$.fragment,n),l=!1},d(n){S(e,n)}}}function kr(s){let e=s[48][s[13]]+"",l,t;return{c(){l=Z(e),t=P()},l(n){l=G(n,e),t=R(n)},m(n,r){w(n,l,r),w(n,t,r)},p(n,r){r[0]&139264&&e!==(e=n[48][n[13]]+"")&&ge(l,e)},d(n){n&&m(l),n&&m(t)}}}function wr(s){let e=s[48]+"",l,t;return{c(){l=Z(e),t=P()},l(n){l=G(n,e),t=R(n)},m(n,r){w(n,l,r),w(n,t,r)},p(n,r){r[0]&131072&&e!==(e=n[48]+"")&&ge(l,e)},d(n){n&&m(l),n&&m(t)}}}function pl(s){let e,l,t,n,r,o;const a=[br,hr],i=[];function u(f,c){return c[0]&131072&&(e=null),c[0]&131072&&(l=null),e==null&&(e=!!f[23](f[48])),e?0:(l==null&&(l=!!f[24](f[48])),l?1:-1)}return~(t=u(s,[-1,-1]))&&(n=i[t]=a[t](s)),{c(){n&&n.c(),r=ie()},l(f){n&&n.l(f),r=ie()},m(f,c){~t&&i[t].m(f,c),w(f,r,c),o=!0},p(f,c){let _=t;t=u(f,c),t===_?~t&&i[t].p(f,c):(n&&(ce(),b(i[_],1,1,()=>{i[_]=null}),de()),~t?(n=i[t],n?n.p(f,c):(n=i[t]=a[t](f),n.c()),p(n,1),n.m(r.parentNode,r)):n=null)},i(f){o||(p(n),o=!0)},o(f){b(n),o=!1},d(f){~t&&i[t].d(f),f&&m(r)}}}function Er(s){let e,l,t=s[17],n=[];for(let a=0;ab(n[a],1,1,()=>{n[a]=null});let o=null;return t.length||(o=ml(s)),{c(){for(let a=0;a{o=null}),de()):(o=ml(a),o.c(),p(o,1),o.m(e.parentNode,e))}},i(a){if(!l){for(let i=0;iDe($,"menuElement",U)),{c(){e=j("label"),l=Z(s[3]),t=P(),n=j("div"),E&&E.c(),r=P(),o=j("input"),f=P(),c=j("button"),V(_.$$.fragment),h=P(),V($.$$.fragment),this.h()},l(L){e=q(L,"LABEL",{class:!0,for:!0});var H=A(e);l=G(H,s[3]),H.forEach(m),t=R(L),n=q(L,"DIV",{class:!0});var y=A(n);E&&E.l(y),r=R(y),o=q(y,"INPUT",{id:!0,placeholder:!0,type:!0,class:!0,role:!0,autocomplete:!0,autocapitalize:!0,spellcheck:!0,"data-lpignore":!0,"aria-controls":!0,"aria-expanded":!0,"aria-required":!0,"aria-autocomplete":!0,"data-testid":!0}),f=R(y),c=q(y,"BUTTON",{"aria-label":!0,class:!0,tabindex:!0,"aria-controls":!0,"aria-expanded":!0});var X=A(c);D(_.$$.fragment,X),X.forEach(m),y.forEach(m),h=R(L),D($.$$.fragment,L),this.h()},h(){v(e,"class","combobox-label svelte-1nqx354"),v(e,"for",s[2]),Y(e,"sr-only",s[7]),et(o,W),Y(o,"disabled",s[6]),Y(o,"svelte-1nqx354",!0),v(c,"aria-label",s[4]),v(c,"class","combobox-button svelte-1nqx354"),v(c,"tabindex",-1),v(c,"aria-controls",d=s[2]+"-listbox"),v(c,"aria-expanded",s[18]),v(n,"class","combobox-wrapper svelte-1nqx354")},m(L,H){w(L,e,H),C(e,l),w(L,t,H),w(L,n,H),E&&E.m(n,null),C(n,r),C(n,o),o.value=W.value,o.autofocus&&o.focus(),s[37](o),C(n,f),C(n,c),N(_,c,null),w(L,h,H),N($,L,H),k=!0,M||(O=[we(o,"input",xe(s[28])),we(o,"keydown",xe(s[27])),we(o,"click",xe(s[29])),we(c,"click",s[20])],M=!0)},p(L,H){(!k||H[0]&8)&&ge(l,L[3]),(!k||H[0]&4)&&v(e,"for",L[2]),(!k||H[0]&128)&&Y(e,"sr-only",L[7]),L[11]?E?(E.p(L,H),H[0]&2048&&p(E,1)):(E=_l(L),E.c(),p(E,1),E.m(n,r)):E&&(ce(),b(E,1,1,()=>{E=null}),de()),et(o,W=gt(K,[(!k||H[0]&4)&&{id:L[2]},(!k||H[0]&256)&&{placeholder:L[8]},(!k||H[0]&1024)&&{required:L[10]},(!k||H[0]&512)&&{readOnly:L[9]},(!k||H[0]&64)&&{disabled:L[6]},{type:"text"},(!k||H[0]&16384&&o.value!==L[14])&&{value:L[14]},(!k||H[0]&2&&a!==(a="combobox-input "+L[1]))&&{class:a},{role:"combobox"},{autocomplete:"off"},{autocapitalize:"off"},{spellcheck:"false"},{"data-lpignore":"true"},(!k||H[0]&4&&i!==(i=L[2]+"-listbox"))&&{"aria-controls":i},(!k||H[0]&262144)&&{"aria-expanded":L[18]},(!k||H[0]&1024)&&{"aria-required":L[10]},{"aria-autocomplete":"list"},(!k||H[0]&1073741828&&u!==(u=L[30]["data-testid"]??L[2]))&&{"data-testid":u},H[1]&1&&L[31]])),"value"in W&&(o.value=W.value),Y(o,"disabled",L[6]),Y(o,"svelte-1nqx354",!0);const y={};H[0]&262144&&(y.name=L[18]?"chevron-up":"chevron-down"),_.$set(y),(!k||H[0]&16)&&v(c,"aria-label",L[4]),(!k||H[0]&4&&d!==(d=L[2]+"-listbox"))&&v(c,"aria-controls",d),(!k||H[0]&262144)&&v(c,"aria-expanded",L[18]);const X={};H[0]&4&&(X.id=L[2]+"-listbox"),H[0]&143393|H[1]&1024&&(X.$$scope={dirty:H,ctx:L}),!g&&H[0]&65536&&(g=!0,X.menuElement=L[16],Ne(()=>g=!1)),$.$set(X)},i(L){k||(p(E),p(_.$$.fragment,L),p($.$$.fragment,L),k=!0)},o(L){b(E),b(_.$$.fragment,L),b($.$$.fragment,L),k=!1},d(L){L&&m(e),L&&m(t),L&&m(n),E&&E.d(),s[37](null),S(_),L&&m(h),S($,L),M=!1,nt(O)}}}function Ir(s){let e,l;return e=new $t({props:{open:s[19],$$slots:{default:[Cr]},$$scope:{ctx:s}}}),e.$on("close",s[21]),{c(){V(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n[0]&1074266111|n[1]&1025&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){S(e,t)}}}function Tr(s,e,l){let t;const n=["class","id","label","value","toggleLabel","noResultsText","disabled","labelHidden","options","placeholder","readonly","required","leadingIcon","optionValueKey","optionLabelKey","minSize","maxSize"];let r=Ue(e,n),o,{$$slots:a={},$$scope:i}=e;const u=Il();let{class:f=""}=e,{id:c}=e,{label:_}=e,{value:d=void 0}=e,{toggleLabel:h}=e,{noResultsText:$}=e,{disabled:g=!1}=e,{labelHidden:k=!1}=e,{options:M}=e,{placeholder:O=null}=e,{readonly:E=!1}=e,{required:K=!1}=e,{leadingIcon:W=null}=e,{optionValueKey:U=null}=e,{optionLabelKey:I=U}=e,{minSize:L=0}=e,{maxSize:H=120}=e,y,X,he,pe;const J=tt(!1);oe(s,J,T=>l(18,o=T));const be=()=>{o?$e():Te()},Te=()=>{_e(J,o=!0,o),pe.focus(),pe.select()},$e=()=>{o&&(_e(J,o=!1,o),Be())},Be=()=>{l(14,y=F(X)),l(17,t=M)},ke=T=>T,re=T=>typeof T=="string",Ve=T=>typeof T=="object",me=T=>T===null||typeof T!="object"?!1:U!==null&&I!==null&&U in T&&I in T,F=T=>{if(!T)return d??"";if(re(T))return T;if(Ve(T)&&me(T))return String(T[I])},se=T=>{re(T)&&l(0,d=T),Ve(T)&&me(T)&&l(0,d=String(T[U]))},B=T=>{u("change",T),se(T),Be()},Q=()=>{const T=he.querySelector('li[role="option"]:not([aria-disabled="true"])');T&&requestAnimationFrame(()=>T.focus())},ve=T=>{switch(T.key){case"Escape":$e();break;case"ArrowDown":Te(),Q();break;case"Enter":Te(),Q();break}},Ee=T=>{l(14,y=T.currentTarget.value),u("filter",y),o||Te(),l(17,t=M.filter(qe=>{if(re(qe))return qe.toLowerCase().includes(T.currentTarget.value.toLowerCase());if(Ve(qe)&&me(qe))return String(qe[I]).toLowerCase().includes(T.currentTarget.value.toLowerCase())}))},Ce=()=>{o||Te()};function ze(T){Le[T?"unshift":"push"](()=>{pe=T,l(15,pe),l(14,y),l(33,L),l(34,H),l(32,M),l(0,d),l(12,U),l(35,X)})}const je=T=>B(T),Ge=T=>B(T);function Qe(T){he=T,l(16,he)}return s.$$set=T=>{l(30,e=Ie(Ie({},e),Oe(T))),l(31,r=Ue(e,n)),"class"in T&&l(1,f=T.class),"id"in T&&l(2,c=T.id),"label"in T&&l(3,_=T.label),"value"in T&&l(0,d=T.value),"toggleLabel"in T&&l(4,h=T.toggleLabel),"noResultsText"in T&&l(5,$=T.noResultsText),"disabled"in T&&l(6,g=T.disabled),"labelHidden"in T&&l(7,k=T.labelHidden),"options"in T&&l(32,M=T.options),"placeholder"in T&&l(8,O=T.placeholder),"readonly"in T&&l(9,E=T.readonly),"required"in T&&l(10,K=T.required),"leadingIcon"in T&&l(11,W=T.leadingIcon),"optionValueKey"in T&&l(12,U=T.optionValueKey),"optionLabelKey"in T&&l(13,I=T.optionLabelKey),"minSize"in T&&l(33,L=T.minSize),"maxSize"in T&&l(34,H=T.maxSize),"$$scope"in T&&l(41,i=T.$$scope)},s.$$.update=()=>{s.$$.dirty[1]&2&&l(17,t=M),s.$$.dirty[0]&4097|s.$$.dirty[1]&18&&(l(35,X=M.find(T=>{if(re(T))return T===d;if(Ve(T)&&me(T))return T[U]===d})),l(14,y=F(X))),s.$$.dirty[0]&49152|s.$$.dirty[1]&12&&pe&&y&&(y.lengthH?l(15,pe.size=H,pe):l(15,pe.size=y.length,pe))},e=Oe(e),[d,f,c,_,h,$,g,k,O,E,K,W,U,I,y,pe,he,t,o,J,be,Be,ke,re,Ve,me,B,ve,Ee,Ce,e,r,M,L,H,X,a,ze,je,Ge,Qe,i]}class Lr extends ae{constructor(e){super(),fe(this,e,Tr,Ir,ue,{class:1,id:2,label:3,value:0,toggleLabel:4,noResultsText:5,disabled:6,labelHidden:7,options:32,placeholder:8,readonly:9,required:10,leadingIcon:11,optionValueKey:12,optionLabelKey:13,minSize:33,maxSize:34},null,[-1,-1])}}function gl(s){let e,l;return e=new Lr({props:{label:z("namespaces","namespace-label",{namespace:s[2]}),toggleLabel:z("namespaces"),noResultsText:z("no-results"),labelHidden:!0,value:s[2],id:"namespace-switcher",leadingIcon:"namespace-switcher",options:s[1],optionValueKey:"namespace",minSize:32}}),e.$on("change",s[8]),{c(){V(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&4&&(r.label=z("namespaces","namespace-label",{namespace:t[2]})),n&4&&(r.value=t[2]),n&2&&(r.options=t[1]),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){S(e,t)}}}function hl(s){let e,l;return e=new Ys({}),{c(){V(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){S(e,t)}}}function bl(s){let e,l;return e=new $t({props:{$$slots:{default:[Br]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment)},l(t){D(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&4169&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){b(e.$$.fragment,t),l=!1},d(t){S(e,t)}}}function $l(s){var n;let e,l=((n=s[6])==null?void 0:n.name.trim().charAt(0))+"",t;return{c(){e=j("div"),t=Z(l),this.h()},l(r){e=q(r,"DIV",{class:!0});var o=A(e);t=G(o,l),o.forEach(m),this.h()},h(){v(e,"class","text-center text-sm text-black")},m(r,o){w(r,e,o),C(e,t)},p(r,o){var a;o&64&&l!==(l=((a=r[6])==null?void 0:a.name.trim().charAt(0))+"")&&ge(t,l)},d(r){r&&m(e)}}}function Vr(s){var u;let e,l,t,n,r,o,a,i=((u=s[6])==null?void 0:u.name)&&$l(s);return{c(){e=j("img"),n=P(),r=j("div"),i&&i.c(),this.h()},l(f){e=q(f,"IMG",{src:!0,alt:!0,class:!0}),n=R(f),r=q(f,"DIV",{class:!0});var c=A(r);i&&i.l(c),c.forEach(m),this.h()},h(){var f,c;It(e.src,l=(f=s[6])==null?void 0:f.picture)||v(e,"src",l),v(e,"alt",t=((c=s[6])==null?void 0:c.profile)??z("user-profile")),v(e,"class","h-[24px] w-[24px] cursor-pointer rounded-md"),Y(e,"hidden",!s[3]),v(r,"class","aspect-square h-full w-[24px] rounded-md bg-blue-200 p-0.5"),Y(r,"hidden",s[3])},m(f,c){w(f,e,c),w(f,n,c),w(f,r,c),i&&i.m(r,null),o||(a=we(e,"error",s[7]),o=!0)},p(f,c){var _,d,h;c&64&&!It(e.src,l=(_=f[6])==null?void 0:_.picture)&&v(e,"src",l),c&64&&t!==(t=((d=f[6])==null?void 0:d.profile)??z("user-profile"))&&v(e,"alt",t),c&8&&Y(e,"hidden",!f[3]),(h=f[6])!=null&&h.name?i?i.p(f,c):(i=$l(f),i.c(),i.m(r,null)):i&&(i.d(1),i=null),c&8&&Y(r,"hidden",f[3])},d(f){f&&m(e),f&&m(n),f&&m(r),i&&i.d(),o=!1,a()}}}function Dr(s){let e=s[6].email+"",l;return{c(){l=Z(e)},l(t){l=G(t,e)},m(t,n){w(t,l,n)},p(t,n){n&64&&e!==(e=t[6].email+"")&&ge(l,e)},d(t){t&&m(l)}}}function Nr(s){let e=z("log-out")+"",l;return{c(){l=Z(e)},l(t){l=G(t,e)},m(t,n){w(t,l,n)},p:ne,d(t){t&&m(l)}}}function Sr(s){let e,l,t,n;return e=new Ke({props:{disabled:!0,$$slots:{default:[Dr]},$$scope:{ctx:s}}}),t=new Ke({props:{$$slots:{default:[Nr]},$$scope:{ctx:s}}}),t.$on("click",function(){ht(s[0])&&s[0].apply(this,arguments)}),{c(){V(e.$$.fragment),l=P(),V(t.$$.fragment)},l(r){D(e.$$.fragment,r),l=R(r),D(t.$$.fragment,r)},m(r,o){N(e,r,o),w(r,l,o),N(t,r,o),n=!0},p(r,o){s=r;const a={};o&4160&&(a.$$scope={dirty:o,ctx:s}),e.$set(a);const i={};o&4096&&(i.$$scope={dirty:o,ctx:s}),t.$set(i)},i(r){n||(p(e.$$.fragment,r),p(t.$$.fragment,r),n=!0)},o(r){b(e.$$.fragment,r),b(t.$$.fragment,r),n=!1},d(r){S(e,r),r&&m(l),S(t,r)}}}function Br(s){let e,l,t,n;return e=new Ll({props:{variant:"ghost",hasIndicator:!0,controls:"user-menu",$$slots:{default:[Vr]},$$scope:{ctx:s}}}),t=new vt({props:{id:"user-menu",position:"right",$$slots:{default:[Sr]},$$scope:{ctx:s}}}),{c(){V(e.$$.fragment),l=P(),V(t.$$.fragment)},l(r){D(e.$$.fragment,r),l=R(r),D(t.$$.fragment,r)},m(r,o){N(e,r,o),w(r,l,o),N(t,r,o),n=!0},p(r,o){const a={};o&4168&&(a.$$scope={dirty:o,ctx:r}),e.$set(a);const i={};o&4161&&(i.$$scope={dirty:o,ctx:r}),t.$set(i)},i(r){n||(p(e.$$.fragment,r),p(t.$$.fragment,r),n=!0)},o(r){b(e.$$.fragment,r),b(t.$$.fragment,r),n=!1},d(r){S(e,r),r&&m(l),S(t,r)}}}function zr(s){let e,l,t,n,r,o,a,i,u=s[4]&&gl(s);r=new ir({});let f=s[4]&&hl(),c=s[6].accessToken&&bl(s);return{c(){e=j("nav"),l=j("div"),u&&u.c(),t=P(),n=j("div"),V(r.$$.fragment),o=P(),f&&f.c(),a=P(),c&&c.c(),this.h()},l(_){e=q(_,"NAV",{class:!0,"data-testid":!0,"aria-label":!0});var d=A(e);l=q(d,"DIV",{class:!0});var h=A(l);u&&u.l(h),h.forEach(m),t=R(d),n=q(d,"DIV",{class:!0});var $=A(n);D(r.$$.fragment,$),o=R($),f&&f.l($),a=R($),c&&c.l($),$.forEach(m),d.forEach(m),this.h()},h(){v(l,"class","flex grow items-center"),v(n,"class","flex items-center gap-2"),v(e,"class","sticky top-0 z-30 flex flex-col md:flex-row w-full items-center justify-end border-b-2 bg-gray-100 p-1 px-4 md:px-8"),v(e,"data-testid","top-nav"),v(e,"aria-label",z("main")),Y(e,"bg-red-50",s[5].hasError&&s[4])},m(_,d){w(_,e,d),C(e,l),u&&u.m(l,null),C(e,t),C(e,n),N(r,n,null),C(n,o),f&&f.m(n,null),C(n,a),c&&c.m(n,null),i=!0},p(_,[d]){_[4]?u?(u.p(_,d),d&16&&p(u,1)):(u=gl(_),u.c(),p(u,1),u.m(l,null)):u&&(ce(),b(u,1,1,()=>{u=null}),de()),_[4]?f?d&16&&p(f,1):(f=hl(),f.c(),p(f,1),f.m(n,a)):f&&(ce(),b(f,1,1,()=>{f=null}),de()),_[6].accessToken?c?(c.p(_,d),d&64&&p(c,1)):(c=bl(_),c.c(),p(c,1),c.m(n,null)):c&&(ce(),b(c,1,1,()=>{c=null}),de()),(!i||d&48)&&Y(e,"bg-red-50",_[5].hasError&&_[4])},i(_){i||(p(u),p(r.$$.fragment,_),p(f),p(c),i=!0)},o(_){b(u),b(r.$$.fragment,_),b(f),b(c),i=!1},d(_){_&&m(e),u&&u.d(),S(r),f&&f.d(),c&&c.d()}}}function jr(s,e,l){let t,n,r,o,a,i,u;oe(s,lt,$=>l(11,o=$)),oe(s,Pe,$=>l(10,a=$)),oe(s,Sl,$=>l(5,i=$)),oe(s,Dl,$=>l(6,u=$));let{logout:f}=e,{namespaceList:c=[]}=e,_=!0;function d(){l(3,_=!1)}const h=$=>{const g=$.detail;_e(lt,o=g.namespace,o),g==null||g.onClick(g.namespace)};return s.$$set=$=>{"logout"in $&&l(0,f=$.logout),"namespaceList"in $&&l(1,c=$.namespaceList)},s.$$.update=()=>{s.$$.dirty&1024&&l(2,t=a.params.namespace),s.$$.dirty&1024&&l(9,n=a.url.pathname.split("/")),s.$$.dirty&516&&l(4,r=t&&(n.includes("workflows")||n.includes("schedules")||n.includes("task-queues")))},[f,c,t,_,r,i,u,d,h,n,a]}class qr extends ae{constructor(e){super(),fe(this,e,jr,zr,ue,{logout:0,namespaceList:1})}}function Ar(s){let e;const l=s[5].default,t=x(l,s,s[4],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&16)&&ee(t,l,n,n[4],e?le(l,n[4],r,null):te(n[4]),null)},i(n){e||(p(t,n),e=!0)},o(n){b(t,n),e=!1},d(n){t&&t.d(n)}}}function Or(s){let e,l,t=s[1].message+"",n,r,o,a,i=(s[2]?s[1].stack:"")+"",u,f;return{c(){e=j("div"),l=j("b"),n=Z(t),r=P(),o=j("pre"),a=Z(" "),u=Z(i),f=Z(` `),this.h()},l(c){e=q(c,"DIV",{class:!0});var _=A(e);l=q(_,"B",{});var d=A(l);n=G(d,t),d.forEach(m),r=R(_),o=q(_,"PRE",{class:!0});var h=A(o);a=G(h," "),u=G(h,i),f=G(h,` diff --git a/ui/assets/local/_app/immutable/entry/(app)-layout.ts.217fad02.js b/ui/assets/local/_app/immutable/entry/(app)-layout.ts.217fad02.js new file mode 100644 index 0000000000..34cb65a5ae --- /dev/null +++ b/ui/assets/local/_app/immutable/entry/(app)-layout.ts.217fad02.js @@ -0,0 +1 @@ +import"../chunks/index.b1f5b21f.js";import{l as d}from"../chunks/_layout.f9646db3.js";import"../chunks/namespaces-service.af8fc337.js";import"../chunks/settings-service.d3fae296.js";import"../chunks/auth-user.2a42bf1d.js";import"../chunks/route-for.8244bd54.js";/* empty css */export{d as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-layout.ts.6b847c34.js b/ui/assets/local/_app/immutable/entry/(app)-layout.ts.6b847c34.js deleted file mode 100644 index 8036c2ff76..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-layout.ts.6b847c34.js +++ /dev/null @@ -1 +0,0 @@ -import"../chunks/index.b1f5b21f.js";import{l as d}from"../chunks/_layout.9cee44af.js";import"../chunks/namespaces-service.6d9595ed.js";import"../chunks/settings-service.61c40f69.js";import"../chunks/auth-user.2a42bf1d.js";import"../chunks/route-for.f2f7cb1c.js";/* empty css */export{d as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.svelte.ad084264.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.svelte.c81727e0.js similarity index 98% rename from ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.svelte.ad084264.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.svelte.c81727e0.js index 35f9ae13c1..6e3646584c 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.svelte.ad084264.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.svelte.c81727e0.js @@ -1 +1 @@ -import{S as U,b as K,a as M,m as q,w as N,c as F,C as P,p as L,q as j,x as C,k as d,d as A,D as S,u as v,f as w,L as y,E as I,a0 as J,Q as R,a1 as pe,y as me,j as g,g as b,F as T,r as _e,K as V,V as $e,z as O,h as Q,n as W,A as he,Z as de,_ as ge,e as B,a6 as ce,a9 as be,aa as ke}from"../chunks/index.efded970.js";import{p as Z}from"../chunks/stores.83aed68d.js";import{P as we}from"../chunks/page-title.a6dec5b5.js";import{j as ve,S as ye,W as Ee,a as Pe}from"../chunks/index.5b739b8a.js";import{C as G}from"../chunks/code-block.cc2ffee9.js";import{E as Se}from"../chunks/empty-state.22810bcf.js";import{u as Ie,F as X,P as Te}from"../chunks/pagination.5253b8b7.js";import{t as k}from"../chunks/translate.230dcc19.js";import{g as Y}from"../chunks/navigation.6d455e31.js";import{L as ue}from"../chunks/link.cac19769.js";import{S as Ne,a as H}from"../chunks/simple-select.35d563b9.js";import{t as x}from"../chunks/format-date.be4b741e.js";import{u as ee}from"../chunks/format-time.8258873a.js";import{I as Ce}from"../chunks/icon.91a9bf44.js";function Fe(c){let t,r,e,l,f,s,a,n,m,i,$;return s=new Ce({props:{name:"search",class:"flex items-center text-gray-700"}}),{c(){t=q("div"),r=q("label"),e=N(c[0]),l=F(),f=q("span"),P(s.$$.fragment),a=F(),n=q("input"),this.h()},l(u){t=L(u,"DIV",{class:!0});var h=j(t);r=L(h,"LABEL",{for:!0,class:!0});var _=j(r);e=C(_,c[0]),_.forEach(d),l=A(h),f=L(h,"SPAN",{class:!0});var o=j(f);S(s.$$.fragment,o),o.forEach(d),a=A(h),n=L(h,"INPUT",{type:!0,class:!0,placeholder:!0,id:!0}),h.forEach(d),this.h()},h(){v(r,"for",c[2]),v(r,"class","hidden"),v(f,"class","svelte-fxm0nn"),v(n,"type","search"),v(n,"class","block w-full focus:outline-none"),v(n,"placeholder",c[0]),v(n,"id",c[2]),v(t,"class","input-container focus-within:border-blue-700 bg-white svelte-fxm0nn")},m(u,h){w(u,t,h),y(t,r),y(r,e),y(t,l),y(t,f),I(s,f,null),y(t,a),y(t,n),J(n,c[1]),m=!0,i||($=[R(n,"input",c[7]),R(n,"keydown",pe(c[6]))],i=!0)},p(u,[h]){(!m||h&1)&&me(e,u[0]),(!m||h&1)&&v(n,"placeholder",u[0]),h&2&&J(n,u[1])},i(u){m||(g(s.$$.fragment,u),m=!0)},o(u){b(s.$$.fragment,u),m=!1},d(u){u&&d(t),T(s),i=!1,_e($)}}}function Ae(c,t,r){let e;V(c,Z,u=>r(5,e=u));let{parameter:l}=t,{name:f}=t,{value:s}=t,a=l&&e.url.searchParams.get(l)||s;const n=`${l||f}-filter`,m=ve(Ie,300);function i(u){$e.call(this,c,u)}function $(){a=this.value,r(1,a)}return c.$$set=u=>{"parameter"in u&&r(3,l=u.parameter),"name"in u&&r(0,f=u.name),"value"in u&&r(4,s=u.value)},c.$$.update=()=>{c.$$.dirty&42&&m({parameter:l,value:a,url:e.url})},[f,a,n,l,s,e,i,$]}class te extends U{constructor(t){super(),K(this,t,Ae,Fe,M,{parameter:3,name:0,value:4})}}function le(c,t,r){const e=c.slice();return e[7]=t[r].value,e[8]=t[r].label,e}function re(c,t,r){const e=c.slice();return e[7]=t[r],e}function qe(c){let t,r;return t=new ue({props:{class:"text-blue-700",$$slots:{default:[je]},$$scope:{ctx:c}}}),t.$on("click",c[5]("advanced")),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const f={};l&8192&&(f.$$scope={dirty:l,ctx:e}),t.$set(f)},i(e){r||(g(t.$$.fragment,e),r=!0)},o(e){b(t.$$.fragment,e),r=!1},d(e){T(t,e)}}}function Le(c){let t,r;return t=new ue({props:{href:c[1].url.pathname,$$slots:{default:[Be]},$$scope:{ctx:c}}}),t.$on("click",c[5]("basic")),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const f={};l&2&&(f.href=e[1].url.pathname),l&8192&&(f.$$scope={dirty:l,ctx:e}),t.$set(f)},i(e){r||(g(t.$$.fragment,e),r=!0)},o(e){b(t.$$.fragment,e),r=!1},d(e){T(t,e)}}}function je(c){let t=k("workflows","advanced-search")+"",r;return{c(){r=N(t)},l(e){r=C(e,t)},m(e,l){w(e,r,l)},p:W,d(e){e&&d(r)}}}function Be(c){let t=k("workflows","basic-search")+"",r;return{c(){r=N(t)},l(e){r=C(e,t)},m(e,l){w(e,r,l)},p:W,d(e){e&&d(r)}}}function De(c){let t,r,e,l,f,s,a,n,m,i,$,u;r=new te({props:{parameter:"workflow-id",name:k("workflow-id"),value:Ge}}),l=new te({props:{parameter:"workflow-type",name:k("workflow-type"),value:Je}}),s=new X({props:{label:k("workflows","time-range"),parameter:"time-range",value:"24 hours",$$slots:{default:[We]},$$scope:{ctx:c}}}),n=new X({props:{label:k("status"),parameter:"status",value:null,$$slots:{default:[Ve]},$$scope:{ctx:c}}});function h(o){c[6](o)}let _={id:"filter-by-relative-time",$$slots:{default:[Me]},$$scope:{ctx:c}};return c[2]!==void 0&&(_.value=c[2]),i=new Ne({props:_}),he.push(()=>de(i,"value",h)),{c(){t=q("div"),P(r.$$.fragment),e=F(),P(l.$$.fragment),f=F(),P(s.$$.fragment),a=F(),P(n.$$.fragment),m=F(),P(i.$$.fragment),this.h()},l(o){t=L(o,"DIV",{class:!0,role:!0});var p=j(t);S(r.$$.fragment,p),e=A(p),S(l.$$.fragment,p),f=A(p),S(s.$$.fragment,p),a=A(p),S(n.$$.fragment,p),m=A(p),S(i.$$.fragment,p),p.forEach(d),this.h()},h(){v(t,"class","grid grid-cols-1 gap-4 sm:grid-cols-2 md:grid-cols-5"),v(t,"role","search")},m(o,p){w(o,t,p),I(r,t,null),y(t,e),I(l,t,null),y(t,f),I(s,t,null),y(t,a),I(n,t,null),y(t,m),I(i,t,null),u=!0},p(o,p){const E={};p&8192&&(E.$$scope={dirty:p,ctx:o}),s.$set(E);const D={};p&8192&&(D.$$scope={dirty:p,ctx:o}),n.$set(D);const z={};p&8192&&(z.$$scope={dirty:p,ctx:o}),!$&&p&4&&($=!0,z.value=o[2],ge(()=>$=!1)),i.$set(z)},i(o){u||(g(r.$$.fragment,o),g(l.$$.fragment,o),g(s.$$.fragment,o),g(n.$$.fragment,o),g(i.$$.fragment,o),u=!0)},o(o){b(r.$$.fragment,o),b(l.$$.fragment,o),b(s.$$.fragment,o),b(n.$$.fragment,o),b(i.$$.fragment,o),u=!1},d(o){o&&d(t),T(r),T(l),T(s),T(n),T(i)}}}function Oe(c){let t,r;return t=new ye({props:{icon:!0,placeholder:k("search"),value:c[1].url.searchParams.get("query")}}),t.$on("submit",c[4]),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const f={};l&2&&(f.value=e[1].url.searchParams.get("query")),t.$set(f)},i(e){r||(g(t.$$.fragment,e),r=!0)},o(e){b(t.$$.fragment,e),r=!1},d(e){T(t,e)}}}function Qe(c){let t=c[7]+"",r;return{c(){r=N(t)},l(e){r=C(e,t)},m(e,l){w(e,r,l)},p:W,d(e){e&&d(r)}}}function ae(c){let t,r;return t=new H({props:{value:c[7],$$slots:{default:[Qe]},$$scope:{ctx:c}}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const f={};l&8192&&(f.$$scope={dirty:l,ctx:e}),t.$set(f)},i(e){r||(g(t.$$.fragment,e),r=!0)},o(e){b(t.$$.fragment,e),r=!1},d(e){T(t,e)}}}function We(c){let t,r,e=ee,l=[];for(let s=0;sb(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;sa[8];for(let a=0;a{i[E]=null}),Q(),l=i[e],l?l.p(o,p):(l=i[e]=m[e](o),l.c()),g(l,1),l.m(r,null));let D=s;s=_(o),s===D?h[s].p(o,p):(O(),b(h[D],1,1,()=>{h[D]=null}),Q(),a=h[s],a?a.p(o,p):(a=h[s]=u[s](o),a.c()),g(a,1),a.m(t,null))},i(o){n||(g(l),g(a),n=!0)},o(o){b(l),b(a),n=!1},d(o){o&&d(t),i[e].d(),h[s].d()}}}let Ge="",Je="";function Re(c,t,r){let e,l;V(c,Z,i=>r(1,e=i)),V(c,x,i=>r(2,l=i));const f={All:{value:null,label:k("workflows","all-statuses")},"Timed Out":{value:"TimedOut",label:k("workflows","timed-out")},Completed:{value:"Completed",label:k("workflows","completed")},Failed:{value:"Failed",label:k("workflows","failed")},"Continued as New":{value:"ContinuedAsNew",label:k("workflows","continued-as-new")},Canceled:{value:"Canceled",label:k("workflows","canceled")},Terminated:{value:"Terminated",label:k("workflows","terminated")}};let s=e.url.searchParams.has("query");const a=i=>{const u=new FormData(i.target).get("query");e.url.searchParams.set("query",String(u)),Y(e.url.toString())},n=i=>$=>{const u=$.target;r(0,s=i==="advanced"),s||e.url.searchParams.delete("query"),Y(u.href)};function m(i){l=i,x.set(l)}return[s,e,l,f,a,n,m]}class Xe extends U{constructor(t){super(),K(this,t,Re,Ze,M,{})}}function se(c,t,r){const e=c.slice();return e[8]=t[r],e}function Ye(c){let t,r=k("workflows","archival-disabled-title")+"",e,l,f,s=k("workflows","archival-disabled-details")+"",a,n,m,i,$,u,h;i=new G({props:{content:`temporal operator namespace update --history-archival-state enabled ${c[4]}`,language:"text",inline:!0,copyIconTitle:k("copy-icon-title"),copySuccessIconTitle:k("copy-success-icon-title")}});let _=!c[1]&&oe(c);return{c(){t=q("h1"),e=N(r),l=F(),f=q("p"),a=N(s),n=N(":"),m=F(),P(i.$$.fragment),$=F(),_&&_.c(),u=B(),this.h()},l(o){t=L(o,"H1",{class:!0,"data-testid":!0});var p=j(t);e=C(p,r),p.forEach(d),l=A(o),f=L(o,"P",{});var E=j(f);a=C(E,s),n=C(E,":"),E.forEach(d),m=A(o),S(i.$$.fragment,o),$=A(o),_&&_.l(o),u=B(),this.h()},h(){v(t,"class","text-2xl"),v(t,"data-testid","archived-disabled-title")},m(o,p){w(o,t,p),y(t,e),w(o,l,p),w(o,f,p),y(f,a),y(f,n),w(o,m,p),I(i,o,p),w(o,$,p),_&&_.m(o,p),w(o,u,p),h=!0},p(o,p){const E={};p&16&&(E.content=`temporal operator namespace update --history-archival-state enabled ${o[4]}`),i.$set(E),o[1]?_&&(O(),b(_,1,1,()=>{_=null}),Q()):_?(_.p(o,p),p&2&&g(_,1)):(_=oe(o),_.c(),g(_,1),_.m(u.parentNode,u))},i(o){h||(g(i.$$.fragment,o),g(_),h=!0)},o(o){b(i.$$.fragment,o),b(_),h=!1},d(o){o&&d(t),o&&d(l),o&&d(f),o&&d(m),T(i,o),o&&d($),_&&_.d(o),o&&d(u)}}}function xe(c){let t,r=k("workflows","visibility-disabled-archival")+"",e,l,f,s=k("workflows","archival-link-preface")+"",a,n,m=k("workflows","archival-link")+"",i,$,u,h,_;return h=new G({props:{content:`temporal operator namespace update --visibility-archival-state enabled ${c[4]}`,language:"text",inline:!0,copyIconTitle:k("copy-icon-title"),copySuccessIconTitle:k("copy-success-icon-title")}}),{c(){t=q("h1"),e=N(r),l=F(),f=q("p"),a=N(s),n=q("a"),i=N(m),$=N(":"),u=F(),P(h.$$.fragment),this.h()},l(o){t=L(o,"H1",{class:!0,"data-testid":!0});var p=j(t);e=C(p,r),p.forEach(d),l=A(o),f=L(o,"P",{});var E=j(f);a=C(E,s),n=L(E,"A",{class:!0,href:!0,target:!0,rel:!0});var D=j(n);i=C(D,m),D.forEach(d),$=C(E,":"),E.forEach(d),u=A(o),S(h.$$.fragment,o),this.h()},h(){v(t,"class","text-2xl"),v(t,"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(o,p){w(o,t,p),y(t,e),w(o,l,p),w(o,f,p),y(f,a),y(f,n),y(n,i),y(f,$),w(o,u,p),I(h,o,p),_=!0},p(o,p){const E={};p&16&&(E.content=`temporal operator namespace update --visibility-archival-state enabled ${o[4]}`),h.$set(E)},i(o){_||(g(h.$$.fragment,o),_=!0)},o(o){b(h.$$.fragment,o),_=!1},d(o){o&&d(t),o&&d(l),o&&d(f),o&&d(u),T(h,o)}}}function et(c){let t,r=k("workflows","archived-workflows")+"",e,l,f,s,a,n,m,i=!c[0]&&fe();const $=[lt,tt],u=[];function h(_,o){var p;return(p=_[3])!=null&&p.length?0:1}return s=h(c),a=u[s]=$[s](c),{c(){t=q("h1"),e=N(r),l=F(),i&&i.c(),f=F(),a.c(),n=B(),this.h()},l(_){t=L(_,"H1",{class:!0,"data-testid":!0});var o=j(t);e=C(o,r),o.forEach(d),l=A(_),i&&i.l(_),f=A(_),a.l(_),n=B(),this.h()},h(){v(t,"class","text-2xl"),v(t,"data-testid","archived-enabled-title")},m(_,o){w(_,t,o),y(t,e),w(_,l,o),i&&i.m(_,o),w(_,f,o),u[s].m(_,o),w(_,n,o),m=!0},p(_,o){_[0]?i&&(O(),b(i,1,1,()=>{i=null}),Q()):i?o&1&&g(i,1):(i=fe(),i.c(),g(i,1),i.m(f.parentNode,f));let p=s;s=h(_),s===p?u[s].p(_,o):(O(),b(u[p],1,1,()=>{u[p]=null}),Q(),a=u[s],a?a.p(_,o):(a=u[s]=$[s](_),a.c()),g(a,1),a.m(n.parentNode,n))},i(_){m||(g(i),g(a),m=!0)},o(_){b(i),b(a),m=!1},d(_){_&&d(t),_&&d(l),i&&i.d(_),_&&d(f),u[s].d(_),_&&d(n)}}}function oe(c){let t,r=k("workflows","archival-link-preface")+"",e,l,f=k("workflows","archival-link")+"",s,a,n,m,i;return m=new G({props:{content:`temporal operator namespace update --visibility-archival-state enabled ${c[4]}`,language:"text",inline:!0,copyIconTitle:k("copy-icon-title"),copySuccessIconTitle:k("copy-success-icon-title")}}),{c(){t=q("p"),e=N(r),l=q("a"),s=N(f),a=N(":"),n=F(),P(m.$$.fragment),this.h()},l($){t=L($,"P",{});var u=j(t);e=C(u,r),l=L(u,"A",{class:!0,href:!0,target:!0,rel:!0});var h=j(l);s=C(h,f),h.forEach(d),a=C(u,":"),u.forEach(d),n=A($),S(m.$$.fragment,$),this.h()},h(){v(l,"class","text-blue-700 underline"),v(l,"href","https://docs.temporal.io/clusters#archival"),v(l,"target","_blank"),v(l,"rel","noreferrer")},m($,u){w($,t,u),y(t,e),y(t,l),y(l,s),y(t,a),w($,n,u),I(m,$,u),i=!0},p($,u){const h={};u&16&&(h.content=`temporal operator namespace update --visibility-archival-state enabled ${$[4]}`),m.$set(h)},i($){i||(g(m.$$.fragment,$),i=!0)},o($){b(m.$$.fragment,$),i=!1},d($){$&&d(t),$&&d(n),T(m,$)}}}function fe(c){let t,r;return t=new Xe({}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},i(e){r||(g(t.$$.fragment,e),r=!0)},o(e){b(t.$$.fragment,e),r=!1},d(e){T(t,e)}}}function tt(c){let t,r;return t=new Se({props:{title:k("workflows","workflow-empty-state-title"),content:k("workflows","archival-empty-state-description")}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p:W,i(e){r||(g(t.$$.fragment,e),r=!0)},o(e){b(t.$$.fragment,e),r=!1},d(e){T(t,e)}}}function lt(c){let t,r;return t=new Te({props:{items:c[3],"aria-label":k("workflows","archived-workflows"),pageSizeSelectLabel:k("per-page"),previousButtonLabel:k("previous"),nextButtonLabel:k("next"),$$slots:{default:[at,({visibleItems:e})=>({7:e}),({visibleItems:e})=>e?128:0]},$$scope:{ctx:c}}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const f={};l&8&&(f.items=e[3]),l&2192&&(f.$$scope={dirty:l,ctx:e}),t.$set(f)},i(e){r||(g(t.$$.fragment,e),r=!0)},o(e){b(t.$$.fragment,e),r=!1},d(e){T(t,e)}}}function ie(c){let t,r;return t=new Pe({props:{workflow:c[8],namespace:c[4]}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const f={};l&128&&(f.workflow=e[8]),l&16&&(f.namespace=e[4]),t.$set(f)},i(e){r||(g(t.$$.fragment,e),r=!0)},o(e){b(t.$$.fragment,e),r=!1},d(e){T(t,e)}}}function rt(c){let t,r,e=c[7],l=[];for(let s=0;sb(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s{n[h]=null}),Q(),l=n[e],l?l.p(i,$):(l=n[e]=a[e](i),l.c()),g(l,1),l.m(f.parentNode,f))},i(i){s||(g(t.$$.fragment,i),g(l),s=!0)},o(i){b(t.$$.fragment,i),b(l),s=!1},d(i){T(t,i),i&&d(r),n[e].d(i),i&&d(f)}}}function st(c,t,r){let e,l,f,s,a,n;V(c,Z,i=>r(5,n=i));let{data:m}=t;return c.$$set=i=>{"data"in i&&r(6,m=i.data)},c.$$.update=()=>{c.$$.dirty&64&&r(4,{namespace:{namespaceInfo:{name:e}},workflows:l,archivalEnabled:f,visibilityArchivalEnabled:s,archivalQueryingNotSupported:a}=m,e,(r(3,l),r(6,m)),(r(2,f),r(6,m)),(r(1,s),r(6,m)),(r(0,a),r(6,m)))},[a,s,f,l,e,n,m]}class wt extends U{constructor(t){super(),K(this,t,st,nt,M,{data:6})}}export{wt as default}; +import{S as U,b as K,a as M,m as q,w as N,c as F,C as P,p as L,q as j,x as C,k as d,d as A,D as S,u as v,f as w,L as y,E as I,a0 as J,Q as R,a1 as pe,y as me,j as g,g as b,F as T,r as _e,K as V,V as $e,z as O,h as Q,n as W,A as he,Z as de,_ as ge,e as B,a6 as ce,a9 as be,aa as ke}from"../chunks/index.efded970.js";import{p as Z}from"../chunks/stores.3002bd93.js";import{P as we}from"../chunks/page-title.a6dec5b5.js";import{j as ve,S as ye,W as Ee,a as Pe}from"../chunks/index.eb59ea6d.js";import{C as G}from"../chunks/code-block.cc2ffee9.js";import{E as Se}from"../chunks/empty-state.22810bcf.js";import{u as Ie,F as X,P as Te}from"../chunks/pagination.e9c8b93a.js";import{t as k}from"../chunks/translate.230dcc19.js";import{g as Y}from"../chunks/navigation.85b47b98.js";import{L as ue}from"../chunks/link.cac19769.js";import{S as Ne,a as H}from"../chunks/simple-select.35d563b9.js";import{t as x}from"../chunks/format-date.be4b741e.js";import{u as ee}from"../chunks/format-time.8258873a.js";import{I as Ce}from"../chunks/icon.91a9bf44.js";function Fe(c){let t,r,e,l,f,s,a,n,m,i,$;return s=new Ce({props:{name:"search",class:"flex items-center text-gray-700"}}),{c(){t=q("div"),r=q("label"),e=N(c[0]),l=F(),f=q("span"),P(s.$$.fragment),a=F(),n=q("input"),this.h()},l(u){t=L(u,"DIV",{class:!0});var h=j(t);r=L(h,"LABEL",{for:!0,class:!0});var _=j(r);e=C(_,c[0]),_.forEach(d),l=A(h),f=L(h,"SPAN",{class:!0});var o=j(f);S(s.$$.fragment,o),o.forEach(d),a=A(h),n=L(h,"INPUT",{type:!0,class:!0,placeholder:!0,id:!0}),h.forEach(d),this.h()},h(){v(r,"for",c[2]),v(r,"class","hidden"),v(f,"class","svelte-fxm0nn"),v(n,"type","search"),v(n,"class","block w-full focus:outline-none"),v(n,"placeholder",c[0]),v(n,"id",c[2]),v(t,"class","input-container focus-within:border-blue-700 bg-white svelte-fxm0nn")},m(u,h){w(u,t,h),y(t,r),y(r,e),y(t,l),y(t,f),I(s,f,null),y(t,a),y(t,n),J(n,c[1]),m=!0,i||($=[R(n,"input",c[7]),R(n,"keydown",pe(c[6]))],i=!0)},p(u,[h]){(!m||h&1)&&me(e,u[0]),(!m||h&1)&&v(n,"placeholder",u[0]),h&2&&J(n,u[1])},i(u){m||(g(s.$$.fragment,u),m=!0)},o(u){b(s.$$.fragment,u),m=!1},d(u){u&&d(t),T(s),i=!1,_e($)}}}function Ae(c,t,r){let e;V(c,Z,u=>r(5,e=u));let{parameter:l}=t,{name:f}=t,{value:s}=t,a=l&&e.url.searchParams.get(l)||s;const n=`${l||f}-filter`,m=ve(Ie,300);function i(u){$e.call(this,c,u)}function $(){a=this.value,r(1,a)}return c.$$set=u=>{"parameter"in u&&r(3,l=u.parameter),"name"in u&&r(0,f=u.name),"value"in u&&r(4,s=u.value)},c.$$.update=()=>{c.$$.dirty&42&&m({parameter:l,value:a,url:e.url})},[f,a,n,l,s,e,i,$]}class te extends U{constructor(t){super(),K(this,t,Ae,Fe,M,{parameter:3,name:0,value:4})}}function le(c,t,r){const e=c.slice();return e[7]=t[r].value,e[8]=t[r].label,e}function re(c,t,r){const e=c.slice();return e[7]=t[r],e}function qe(c){let t,r;return t=new ue({props:{class:"text-blue-700",$$slots:{default:[je]},$$scope:{ctx:c}}}),t.$on("click",c[5]("advanced")),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const f={};l&8192&&(f.$$scope={dirty:l,ctx:e}),t.$set(f)},i(e){r||(g(t.$$.fragment,e),r=!0)},o(e){b(t.$$.fragment,e),r=!1},d(e){T(t,e)}}}function Le(c){let t,r;return t=new ue({props:{href:c[1].url.pathname,$$slots:{default:[Be]},$$scope:{ctx:c}}}),t.$on("click",c[5]("basic")),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const f={};l&2&&(f.href=e[1].url.pathname),l&8192&&(f.$$scope={dirty:l,ctx:e}),t.$set(f)},i(e){r||(g(t.$$.fragment,e),r=!0)},o(e){b(t.$$.fragment,e),r=!1},d(e){T(t,e)}}}function je(c){let t=k("workflows","advanced-search")+"",r;return{c(){r=N(t)},l(e){r=C(e,t)},m(e,l){w(e,r,l)},p:W,d(e){e&&d(r)}}}function Be(c){let t=k("workflows","basic-search")+"",r;return{c(){r=N(t)},l(e){r=C(e,t)},m(e,l){w(e,r,l)},p:W,d(e){e&&d(r)}}}function De(c){let t,r,e,l,f,s,a,n,m,i,$,u;r=new te({props:{parameter:"workflow-id",name:k("workflow-id"),value:Ge}}),l=new te({props:{parameter:"workflow-type",name:k("workflow-type"),value:Je}}),s=new X({props:{label:k("workflows","time-range"),parameter:"time-range",value:"24 hours",$$slots:{default:[We]},$$scope:{ctx:c}}}),n=new X({props:{label:k("status"),parameter:"status",value:null,$$slots:{default:[Ve]},$$scope:{ctx:c}}});function h(o){c[6](o)}let _={id:"filter-by-relative-time",$$slots:{default:[Me]},$$scope:{ctx:c}};return c[2]!==void 0&&(_.value=c[2]),i=new Ne({props:_}),he.push(()=>de(i,"value",h)),{c(){t=q("div"),P(r.$$.fragment),e=F(),P(l.$$.fragment),f=F(),P(s.$$.fragment),a=F(),P(n.$$.fragment),m=F(),P(i.$$.fragment),this.h()},l(o){t=L(o,"DIV",{class:!0,role:!0});var p=j(t);S(r.$$.fragment,p),e=A(p),S(l.$$.fragment,p),f=A(p),S(s.$$.fragment,p),a=A(p),S(n.$$.fragment,p),m=A(p),S(i.$$.fragment,p),p.forEach(d),this.h()},h(){v(t,"class","grid grid-cols-1 gap-4 sm:grid-cols-2 md:grid-cols-5"),v(t,"role","search")},m(o,p){w(o,t,p),I(r,t,null),y(t,e),I(l,t,null),y(t,f),I(s,t,null),y(t,a),I(n,t,null),y(t,m),I(i,t,null),u=!0},p(o,p){const E={};p&8192&&(E.$$scope={dirty:p,ctx:o}),s.$set(E);const D={};p&8192&&(D.$$scope={dirty:p,ctx:o}),n.$set(D);const z={};p&8192&&(z.$$scope={dirty:p,ctx:o}),!$&&p&4&&($=!0,z.value=o[2],ge(()=>$=!1)),i.$set(z)},i(o){u||(g(r.$$.fragment,o),g(l.$$.fragment,o),g(s.$$.fragment,o),g(n.$$.fragment,o),g(i.$$.fragment,o),u=!0)},o(o){b(r.$$.fragment,o),b(l.$$.fragment,o),b(s.$$.fragment,o),b(n.$$.fragment,o),b(i.$$.fragment,o),u=!1},d(o){o&&d(t),T(r),T(l),T(s),T(n),T(i)}}}function Oe(c){let t,r;return t=new ye({props:{icon:!0,placeholder:k("search"),value:c[1].url.searchParams.get("query")}}),t.$on("submit",c[4]),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const f={};l&2&&(f.value=e[1].url.searchParams.get("query")),t.$set(f)},i(e){r||(g(t.$$.fragment,e),r=!0)},o(e){b(t.$$.fragment,e),r=!1},d(e){T(t,e)}}}function Qe(c){let t=c[7]+"",r;return{c(){r=N(t)},l(e){r=C(e,t)},m(e,l){w(e,r,l)},p:W,d(e){e&&d(r)}}}function ae(c){let t,r;return t=new H({props:{value:c[7],$$slots:{default:[Qe]},$$scope:{ctx:c}}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const f={};l&8192&&(f.$$scope={dirty:l,ctx:e}),t.$set(f)},i(e){r||(g(t.$$.fragment,e),r=!0)},o(e){b(t.$$.fragment,e),r=!1},d(e){T(t,e)}}}function We(c){let t,r,e=ee,l=[];for(let s=0;sb(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;sa[8];for(let a=0;a{i[E]=null}),Q(),l=i[e],l?l.p(o,p):(l=i[e]=m[e](o),l.c()),g(l,1),l.m(r,null));let D=s;s=_(o),s===D?h[s].p(o,p):(O(),b(h[D],1,1,()=>{h[D]=null}),Q(),a=h[s],a?a.p(o,p):(a=h[s]=u[s](o),a.c()),g(a,1),a.m(t,null))},i(o){n||(g(l),g(a),n=!0)},o(o){b(l),b(a),n=!1},d(o){o&&d(t),i[e].d(),h[s].d()}}}let Ge="",Je="";function Re(c,t,r){let e,l;V(c,Z,i=>r(1,e=i)),V(c,x,i=>r(2,l=i));const f={All:{value:null,label:k("workflows","all-statuses")},"Timed Out":{value:"TimedOut",label:k("workflows","timed-out")},Completed:{value:"Completed",label:k("workflows","completed")},Failed:{value:"Failed",label:k("workflows","failed")},"Continued as New":{value:"ContinuedAsNew",label:k("workflows","continued-as-new")},Canceled:{value:"Canceled",label:k("workflows","canceled")},Terminated:{value:"Terminated",label:k("workflows","terminated")}};let s=e.url.searchParams.has("query");const a=i=>{const u=new FormData(i.target).get("query");e.url.searchParams.set("query",String(u)),Y(e.url.toString())},n=i=>$=>{const u=$.target;r(0,s=i==="advanced"),s||e.url.searchParams.delete("query"),Y(u.href)};function m(i){l=i,x.set(l)}return[s,e,l,f,a,n,m]}class Xe extends U{constructor(t){super(),K(this,t,Re,Ze,M,{})}}function se(c,t,r){const e=c.slice();return e[8]=t[r],e}function Ye(c){let t,r=k("workflows","archival-disabled-title")+"",e,l,f,s=k("workflows","archival-disabled-details")+"",a,n,m,i,$,u,h;i=new G({props:{content:`temporal operator namespace update --history-archival-state enabled ${c[4]}`,language:"text",inline:!0,copyIconTitle:k("copy-icon-title"),copySuccessIconTitle:k("copy-success-icon-title")}});let _=!c[1]&&oe(c);return{c(){t=q("h1"),e=N(r),l=F(),f=q("p"),a=N(s),n=N(":"),m=F(),P(i.$$.fragment),$=F(),_&&_.c(),u=B(),this.h()},l(o){t=L(o,"H1",{class:!0,"data-testid":!0});var p=j(t);e=C(p,r),p.forEach(d),l=A(o),f=L(o,"P",{});var E=j(f);a=C(E,s),n=C(E,":"),E.forEach(d),m=A(o),S(i.$$.fragment,o),$=A(o),_&&_.l(o),u=B(),this.h()},h(){v(t,"class","text-2xl"),v(t,"data-testid","archived-disabled-title")},m(o,p){w(o,t,p),y(t,e),w(o,l,p),w(o,f,p),y(f,a),y(f,n),w(o,m,p),I(i,o,p),w(o,$,p),_&&_.m(o,p),w(o,u,p),h=!0},p(o,p){const E={};p&16&&(E.content=`temporal operator namespace update --history-archival-state enabled ${o[4]}`),i.$set(E),o[1]?_&&(O(),b(_,1,1,()=>{_=null}),Q()):_?(_.p(o,p),p&2&&g(_,1)):(_=oe(o),_.c(),g(_,1),_.m(u.parentNode,u))},i(o){h||(g(i.$$.fragment,o),g(_),h=!0)},o(o){b(i.$$.fragment,o),b(_),h=!1},d(o){o&&d(t),o&&d(l),o&&d(f),o&&d(m),T(i,o),o&&d($),_&&_.d(o),o&&d(u)}}}function xe(c){let t,r=k("workflows","visibility-disabled-archival")+"",e,l,f,s=k("workflows","archival-link-preface")+"",a,n,m=k("workflows","archival-link")+"",i,$,u,h,_;return h=new G({props:{content:`temporal operator namespace update --visibility-archival-state enabled ${c[4]}`,language:"text",inline:!0,copyIconTitle:k("copy-icon-title"),copySuccessIconTitle:k("copy-success-icon-title")}}),{c(){t=q("h1"),e=N(r),l=F(),f=q("p"),a=N(s),n=q("a"),i=N(m),$=N(":"),u=F(),P(h.$$.fragment),this.h()},l(o){t=L(o,"H1",{class:!0,"data-testid":!0});var p=j(t);e=C(p,r),p.forEach(d),l=A(o),f=L(o,"P",{});var E=j(f);a=C(E,s),n=L(E,"A",{class:!0,href:!0,target:!0,rel:!0});var D=j(n);i=C(D,m),D.forEach(d),$=C(E,":"),E.forEach(d),u=A(o),S(h.$$.fragment,o),this.h()},h(){v(t,"class","text-2xl"),v(t,"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(o,p){w(o,t,p),y(t,e),w(o,l,p),w(o,f,p),y(f,a),y(f,n),y(n,i),y(f,$),w(o,u,p),I(h,o,p),_=!0},p(o,p){const E={};p&16&&(E.content=`temporal operator namespace update --visibility-archival-state enabled ${o[4]}`),h.$set(E)},i(o){_||(g(h.$$.fragment,o),_=!0)},o(o){b(h.$$.fragment,o),_=!1},d(o){o&&d(t),o&&d(l),o&&d(f),o&&d(u),T(h,o)}}}function et(c){let t,r=k("workflows","archived-workflows")+"",e,l,f,s,a,n,m,i=!c[0]&&fe();const $=[lt,tt],u=[];function h(_,o){var p;return(p=_[3])!=null&&p.length?0:1}return s=h(c),a=u[s]=$[s](c),{c(){t=q("h1"),e=N(r),l=F(),i&&i.c(),f=F(),a.c(),n=B(),this.h()},l(_){t=L(_,"H1",{class:!0,"data-testid":!0});var o=j(t);e=C(o,r),o.forEach(d),l=A(_),i&&i.l(_),f=A(_),a.l(_),n=B(),this.h()},h(){v(t,"class","text-2xl"),v(t,"data-testid","archived-enabled-title")},m(_,o){w(_,t,o),y(t,e),w(_,l,o),i&&i.m(_,o),w(_,f,o),u[s].m(_,o),w(_,n,o),m=!0},p(_,o){_[0]?i&&(O(),b(i,1,1,()=>{i=null}),Q()):i?o&1&&g(i,1):(i=fe(),i.c(),g(i,1),i.m(f.parentNode,f));let p=s;s=h(_),s===p?u[s].p(_,o):(O(),b(u[p],1,1,()=>{u[p]=null}),Q(),a=u[s],a?a.p(_,o):(a=u[s]=$[s](_),a.c()),g(a,1),a.m(n.parentNode,n))},i(_){m||(g(i),g(a),m=!0)},o(_){b(i),b(a),m=!1},d(_){_&&d(t),_&&d(l),i&&i.d(_),_&&d(f),u[s].d(_),_&&d(n)}}}function oe(c){let t,r=k("workflows","archival-link-preface")+"",e,l,f=k("workflows","archival-link")+"",s,a,n,m,i;return m=new G({props:{content:`temporal operator namespace update --visibility-archival-state enabled ${c[4]}`,language:"text",inline:!0,copyIconTitle:k("copy-icon-title"),copySuccessIconTitle:k("copy-success-icon-title")}}),{c(){t=q("p"),e=N(r),l=q("a"),s=N(f),a=N(":"),n=F(),P(m.$$.fragment),this.h()},l($){t=L($,"P",{});var u=j(t);e=C(u,r),l=L(u,"A",{class:!0,href:!0,target:!0,rel:!0});var h=j(l);s=C(h,f),h.forEach(d),a=C(u,":"),u.forEach(d),n=A($),S(m.$$.fragment,$),this.h()},h(){v(l,"class","text-blue-700 underline"),v(l,"href","https://docs.temporal.io/clusters#archival"),v(l,"target","_blank"),v(l,"rel","noreferrer")},m($,u){w($,t,u),y(t,e),y(t,l),y(l,s),y(t,a),w($,n,u),I(m,$,u),i=!0},p($,u){const h={};u&16&&(h.content=`temporal operator namespace update --visibility-archival-state enabled ${$[4]}`),m.$set(h)},i($){i||(g(m.$$.fragment,$),i=!0)},o($){b(m.$$.fragment,$),i=!1},d($){$&&d(t),$&&d(n),T(m,$)}}}function fe(c){let t,r;return t=new Xe({}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},i(e){r||(g(t.$$.fragment,e),r=!0)},o(e){b(t.$$.fragment,e),r=!1},d(e){T(t,e)}}}function tt(c){let t,r;return t=new Se({props:{title:k("workflows","workflow-empty-state-title"),content:k("workflows","archival-empty-state-description")}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p:W,i(e){r||(g(t.$$.fragment,e),r=!0)},o(e){b(t.$$.fragment,e),r=!1},d(e){T(t,e)}}}function lt(c){let t,r;return t=new Te({props:{items:c[3],"aria-label":k("workflows","archived-workflows"),pageSizeSelectLabel:k("per-page"),previousButtonLabel:k("previous"),nextButtonLabel:k("next"),$$slots:{default:[at,({visibleItems:e})=>({7:e}),({visibleItems:e})=>e?128:0]},$$scope:{ctx:c}}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const f={};l&8&&(f.items=e[3]),l&2192&&(f.$$scope={dirty:l,ctx:e}),t.$set(f)},i(e){r||(g(t.$$.fragment,e),r=!0)},o(e){b(t.$$.fragment,e),r=!1},d(e){T(t,e)}}}function ie(c){let t,r;return t=new Pe({props:{workflow:c[8],namespace:c[4]}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const f={};l&128&&(f.workflow=e[8]),l&16&&(f.namespace=e[4]),t.$set(f)},i(e){r||(g(t.$$.fragment,e),r=!0)},o(e){b(t.$$.fragment,e),r=!1},d(e){T(t,e)}}}function rt(c){let t,r,e=c[7],l=[];for(let s=0;sb(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s{n[h]=null}),Q(),l=n[e],l?l.p(i,$):(l=n[e]=a[e](i),l.c()),g(l,1),l.m(f.parentNode,f))},i(i){s||(g(t.$$.fragment,i),g(l),s=!0)},o(i){b(t.$$.fragment,i),b(l),s=!1},d(i){T(t,i),i&&d(r),n[e].d(i),i&&d(f)}}}function st(c,t,r){let e,l,f,s,a,n;V(c,Z,i=>r(5,n=i));let{data:m}=t;return c.$$set=i=>{"data"in i&&r(6,m=i.data)},c.$$.update=()=>{c.$$.dirty&64&&r(4,{namespace:{namespaceInfo:{name:e}},workflows:l,archivalEnabled:f,visibilityArchivalEnabled:s,archivalQueryingNotSupported:a}=m,e,(r(3,l),r(6,m)),(r(2,f),r(6,m)),(r(1,s),r(6,m)),(r(0,a),r(6,m)))},[a,s,f,l,e,n,m]}class wt extends U{constructor(t){super(),K(this,t,st,nt,M,{data:6})}}export{wt as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.ts.32cb8511.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.ts.32cb8511.js new file mode 100644 index 0000000000..a24cc25531 --- /dev/null +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.ts.32cb8511.js @@ -0,0 +1 @@ +import"../chunks/namespaces-service.af8fc337.js";import"../chunks/workflow-service.db6f5d3e.js";import{l as t}from"../chunks/_page.bb4fbdea.js";export{t as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.ts.c80e75b4.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.ts.c80e75b4.js deleted file mode 100644 index 9525609f61..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.ts.c80e75b4.js +++ /dev/null @@ -1 +0,0 @@ -import"../chunks/namespaces-service.6d9595ed.js";import"../chunks/workflow-service.6fa8d283.js";import{l as t}from"../chunks/_page.877deec2.js";export{t as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-layout.ts.3913b2e1.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-layout.ts.3913b2e1.js new file mode 100644 index 0000000000..ae4390ebe9 --- /dev/null +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-layout.ts.3913b2e1.js @@ -0,0 +1 @@ +import{l}from"../chunks/_layout.b53e967c.js";import"../chunks/search-attributes.9143d253.js";export{l as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-layout.ts.b7aff779.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-layout.ts.b7aff779.js deleted file mode 100644 index d9a8dd76fc..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-layout.ts.b7aff779.js +++ /dev/null @@ -1 +0,0 @@ -import{l}from"../chunks/_layout.d45f959f.js";import"../chunks/search-attributes.9143d253.js";export{l as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-page.svelte.2b492839.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-page.svelte.f73dc67e.js similarity index 99% rename from ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-page.svelte.2b492839.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-page.svelte.f73dc67e.js index b71c2f084a..ee40c5a197 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-page.svelte.2b492839.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-page.svelte.f73dc67e.js @@ -1 +1 @@ -import{S as mt,b as $t,a as ht,G as Tt,m as _,p,q as d,k as s,u as N,f as E,H as bt,I as wt,J as gt,j as F,g as W,N as nt,U as it,C as M,c as k,w,e as Je,D as Q,d as S,x as g,E as X,L as i,y as J,h as vt,F as Y,K as Ve,o as Dt,a5 as At,z as Et,a6 as It,n as we}from"../chunks/index.efded970.js";import{p as Rt}from"../chunks/stores.83aed68d.js";import{P as kt}from"../chunks/page-title.a6dec5b5.js";import{B as be}from"../chunks/badge.72fa1965.js";import{T as ze,a as St}from"../chunks/table-header-row.b413d43a.js";import{T as Ct}from"../chunks/table-row.6be25099.js";import{t as V}from"../chunks/translate.230dcc19.js";import{l as ct}from"../chunks/namespaces.08ac61f9.js";import{s as Ht}from"../chunks/search-attributes.9143d253.js";import{s as Nt}from"../chunks/settings.f4bcc2b2.js";import{t as Vt,u as Lt}from"../chunks/versions.44d896b4.js";import{s as ut}from"../chunks/format-time.8258873a.js";function yt(o){let e,l,t;const a=o[2].default,r=Tt(a,o,o[1],null);return{c(){e=_("div"),r&&r.c(),this.h()},l(f){e=p(f,"DIV",{class:!0});var c=d(e);r&&r.l(c),c.forEach(s),this.h()},h(){N(e,"class",l="card bg-white "+o[0].class+" svelte-hm2avd")},m(f,c){E(f,e,c),r&&r.m(e,null),t=!0},p(f,[c]){r&&r.p&&(!t||c&2)&&bt(r,a,f,f[1],t?gt(a,f[1],c,null):wt(f[1]),null),(!t||c&1&&l!==(l="card bg-white "+f[0].class+" svelte-hm2avd"))&&N(e,"class",l)},i(f){t||(F(r,f),t=!0)},o(f){W(r,f),t=!1},d(f){f&&s(e),r&&r.d(f)}}}function Bt(o,e,l){let{$$slots:t={},$$scope:a}=e;return o.$$set=r=>{l(0,e=nt(nt({},e),it(r))),"$$scope"in r&&l(1,a=r.$$scope)},e=it(e),[e,a,t]}class Pt extends mt{constructor(e){super(),$t(this,e,Bt,yt,ht,{})}}function _t(o,e,l){const t=o.slice();return t[13]=e[l][0],t[14]=e[l][1],t}function Ot(o){var t;let e=((t=o[0])!=null&&t.isGlobalNamespace?V("yes"):V("no"))+"",l;return{c(){l=w(e)},l(a){l=g(a,e)},m(a,r){E(a,l,r)},p(a,r){var f;r&1&&e!==(e=((f=a[0])!=null&&f.isGlobalNamespace?V("yes"):V("no"))+"")&&J(l,e)},d(a){a&&s(l)}}}function Ut(o){var t,a;let e=((a=(t=o[0])==null?void 0:t.config)==null?void 0:a.historyArchivalState)+"",l;return{c(){l=w(e)},l(r){l=g(r,e)},m(r,f){E(r,l,f)},p(r,f){var c,n;f&1&&e!==(e=((n=(c=r[0])==null?void 0:c.config)==null?void 0:n.historyArchivalState)+"")&&J(l,e)},d(r){r&&s(l)}}}function Ft(o){var t,a;let e=((a=(t=o[0])==null?void 0:t.config)==null?void 0:a.visibilityArchivalState)+"",l;return{c(){l=w(e)},l(r){l=g(r,e)},m(r,f){E(r,l,f)},p(r,f){var c,n;f&1&&e!==(e=((n=(c=r[0])==null?void 0:c.config)==null?void 0:n.visibilityArchivalState)+"")&&J(l,e)},d(r){r&&s(l)}}}function Gt(o){var Ke,Me,Qe,Xe,Ye,Ze,xe,et,tt,lt;let e,l,t=V("namespaces","owner")+"",a,r,f,c=(((Me=(Ke=o[0])==null?void 0:Ke.namespaceInfo)==null?void 0:Me.ownerEmail)||V("unknown"))+"",n,u,T,y,O=V("namespaces","global")+"",B,R,D,h,P,b,z,G=V("namespaces","retention-period")+"",Z,A,C,q=ut((Xe=(Qe=o[0])==null?void 0:Qe.config)==null?void 0:Xe.workflowExecutionRetentionTtl.toString())+"",m,I,U,x,pe=V("namespaces","history-archival")+"",ae,ee,te,j,le,se,de,ke=V("namespaces","visibility-archival")+"",me,re,ie,$,H,K,oe,ne=V("namespaces","failover-version")+"",ce,ue,_e,he=((Ye=o[0])==null?void 0:Ye.failoverVersion)+"",ge,$e,fe,ve,De=V("namespaces","clusters")+"",Se,Ce,Le,We,Ee;return h=new be({props:{class:"px-1 py-0",type:o[8]((Ze=o[0])==null?void 0:Ze.isGlobalNamespace,!1),$$slots:{default:[Ot]},$$scope:{ctx:o}}}),j=new be({props:{class:"px-1 py-0",type:o[7]((et=(xe=o[0])==null?void 0:xe.config)==null?void 0:et.historyArchivalState),$$slots:{default:[Ut]},$$scope:{ctx:o}}}),$=new be({props:{class:"px-1 py-0",type:o[7]((lt=(tt=o[0])==null?void 0:tt.config)==null?void 0:lt.visibilityArchivalState),$$slots:{default:[Ft]},$$scope:{ctx:o}}}),{c(){e=_("tr"),l=_("td"),a=w(t),r=k(),f=_("td"),n=w(c),u=k(),T=_("tr"),y=_("td"),B=w(O),R=k(),D=_("td"),M(h.$$.fragment),P=k(),b=_("tr"),z=_("td"),Z=w(G),A=k(),C=_("td"),m=w(q),I=k(),U=_("tr"),x=_("td"),ae=w(pe),ee=k(),te=_("td"),M(j.$$.fragment),le=k(),se=_("tr"),de=_("td"),me=w(ke),re=k(),ie=_("td"),M($.$$.fragment),H=k(),K=_("tr"),oe=_("td"),ce=w(ne),ue=k(),_e=_("td"),ge=w(he),$e=k(),fe=_("tr"),ve=_("td"),Se=w(De),Ce=k(),Le=_("td"),We=w(o[1]),this.h()},l(v){e=p(v,"TR",{"data-testid":!0});var L=d(e);l=p(L,"TD",{});var He=d(l);a=g(He,t),He.forEach(s),r=S(L),f=p(L,"TD",{});var Ne=d(f);n=g(Ne,c),Ne.forEach(s),L.forEach(s),u=S(v),T=p(v,"TR",{"data-testid":!0});var Te=d(T);y=p(Te,"TD",{});var ye=d(y);B=g(ye,O),ye.forEach(s),R=S(Te),D=p(Te,"TD",{});var Be=d(D);Q(h.$$.fragment,Be),Be.forEach(s),Te.forEach(s),P=S(v),b=p(v,"TR",{"data-testid":!0});var Ae=d(b);z=p(Ae,"TD",{});var Pe=d(z);Z=g(Pe,G),Pe.forEach(s),A=S(Ae),C=p(Ae,"TD",{});var Oe=d(C);m=g(Oe,q),Oe.forEach(s),Ae.forEach(s),I=S(v),U=p(v,"TR",{"data-testid":!0});var Ie=d(U);x=p(Ie,"TD",{});var Ue=d(x);ae=g(Ue,pe),Ue.forEach(s),ee=S(Ie),te=p(Ie,"TD",{});var Fe=d(te);Q(j.$$.fragment,Fe),Fe.forEach(s),Ie.forEach(s),le=S(v),se=p(v,"TR",{"data-testid":!0});var Re=d(se);de=p(Re,"TD",{});var Ge=d(de);me=g(Ge,ke),Ge.forEach(s),re=S(Re),ie=p(Re,"TD",{});var at=d(ie);Q($.$$.fragment,at),at.forEach(s),Re.forEach(s),H=S(v),K=p(v,"TR",{"data-testid":!0});var je=d(K);oe=p(je,"TD",{});var st=d(oe);ce=g(st,ne),st.forEach(s),ue=S(je),_e=p(je,"TD",{});var rt=d(_e);ge=g(rt,he),rt.forEach(s),je.forEach(s),$e=S(v),fe=p(v,"TR",{"data-testid":!0});var qe=d(fe);ve=p(qe,"TD",{});var ot=d(ve);Se=g(ot,De),ot.forEach(s),Ce=S(qe),Le=p(qe,"TD",{});var ft=d(Le);We=g(ft,o[1]),ft.forEach(s),qe.forEach(s),this.h()},h(){N(e,"data-testid","namespace-owner"),N(T,"data-testid","namespace-global"),N(b,"data-testid","namespace-retention"),N(U,"data-testid","namespace-history"),N(se,"data-testid","namespace-visibility"),N(K,"data-testid","namespace-failover"),N(fe,"data-testid","namespace-clusters")},m(v,L){E(v,e,L),i(e,l),i(l,a),i(e,r),i(e,f),i(f,n),E(v,u,L),E(v,T,L),i(T,y),i(y,B),i(T,R),i(T,D),X(h,D,null),E(v,P,L),E(v,b,L),i(b,z),i(z,Z),i(b,A),i(b,C),i(C,m),E(v,I,L),E(v,U,L),i(U,x),i(x,ae),i(U,ee),i(U,te),X(j,te,null),E(v,le,L),E(v,se,L),i(se,de),i(de,me),i(se,re),i(se,ie),X($,ie,null),E(v,H,L),E(v,K,L),i(K,oe),i(oe,ce),i(K,ue),i(K,_e),i(_e,ge),E(v,$e,L),E(v,fe,L),i(fe,ve),i(ve,Se),i(fe,Ce),i(fe,Le),i(Le,We),Ee=!0},p(v,L){var ye,Be,Ae,Pe,Oe,Ie,Ue,Fe,Re,Ge;(!Ee||L&1)&&c!==(c=(((Be=(ye=v[0])==null?void 0:ye.namespaceInfo)==null?void 0:Be.ownerEmail)||V("unknown"))+"")&&J(n,c);const He={};L&1&&(He.type=v[8]((Ae=v[0])==null?void 0:Ae.isGlobalNamespace,!1)),L&131073&&(He.$$scope={dirty:L,ctx:v}),h.$set(He),(!Ee||L&1)&&q!==(q=ut((Oe=(Pe=v[0])==null?void 0:Pe.config)==null?void 0:Oe.workflowExecutionRetentionTtl.toString())+"")&&J(m,q);const Ne={};L&1&&(Ne.type=v[7]((Ue=(Ie=v[0])==null?void 0:Ie.config)==null?void 0:Ue.historyArchivalState)),L&131073&&(Ne.$$scope={dirty:L,ctx:v}),j.$set(Ne);const Te={};L&1&&(Te.type=v[7]((Re=(Fe=v[0])==null?void 0:Fe.config)==null?void 0:Re.visibilityArchivalState)),L&131073&&(Te.$$scope={dirty:L,ctx:v}),$.$set(Te),(!Ee||L&1)&&he!==(he=((Ge=v[0])==null?void 0:Ge.failoverVersion)+"")&&J(ge,he),(!Ee||L&2)&&J(We,v[1])},i(v){Ee||(F(h.$$.fragment,v),F(j.$$.fragment,v),F($.$$.fragment,v),Ee=!0)},o(v){W(h.$$.fragment,v),W(j.$$.fragment,v),W($.$$.fragment,v),Ee=!1},d(v){v&&s(e),v&&s(u),v&&s(T),Y(h),v&&s(P),v&&s(b),v&&s(I),v&&s(U),Y(j),v&&s(le),v&&s(se),Y($),v&&s(H),v&&s(K),v&&s($e),v&&s(fe)}}}function Wt(o){let e,l=`${V("namespaces","namespace")} ${V("details")}`,t;return{c(){e=_("caption"),t=w(l),this.h()},l(a){e=p(a,"CAPTION",{class:!0,slot:!0});var r=d(e);t=g(r,l),r.forEach(s),this.h()},h(){N(e,"class","sr-only"),N(e,"slot","caption")},m(a,r){E(a,e,r),i(e,t)},p:we,d(a){a&&s(e)}}}function jt(o){let e,l,t;return{c(){e=_("tr"),l=_("th"),t=_("th"),this.h()},l(a){e=p(a,"TR",{slot:!0});var r=d(e);l=p(r,"TH",{class:!0}),d(l).forEach(s),t=p(r,"TH",{}),d(t).forEach(s),r.forEach(s),this.h()},h(){N(l,"class","w-1/2 lg:w-3/5"),N(e,"slot","headers")},m(a,r){E(a,e,r),i(e,l),i(e,t)},p:we,d(a){a&&s(e)}}}function qt(o){let e,l,t,a,r,f,c,n,u,T,y,O,B;return{c(){e=_("tr"),l=_("td"),t=w("Temporal Server Version"),a=k(),r=_("td"),f=w(o[3]),c=k(),n=_("tr"),u=_("td"),T=w("Temporal UI Version"),y=k(),O=_("td"),B=w(o[4]),this.h()},l(R){e=p(R,"TR",{"data-testid":!0});var D=d(e);l=p(D,"TD",{});var h=d(l);t=g(h,"Temporal Server Version"),h.forEach(s),a=S(D),r=p(D,"TD",{});var P=d(r);f=g(P,o[3]),P.forEach(s),D.forEach(s),c=S(R),n=p(R,"TR",{"data-testid":!0});var b=d(n);u=p(b,"TD",{});var z=d(u);T=g(z,"Temporal UI Version"),z.forEach(s),y=S(b),O=p(b,"TD",{});var G=d(O);B=g(G,o[4]),G.forEach(s),b.forEach(s),this.h()},h(){N(e,"data-testid","server-version"),N(n,"data-testid","ui-version")},m(R,D){E(R,e,D),i(e,l),i(l,t),i(e,a),i(e,r),i(r,f),E(R,c,D),E(R,n,D),i(n,u),i(u,T),i(n,y),i(n,O),i(O,B)},p(R,D){D&8&&J(f,R[3]),D&16&&J(B,R[4])},d(R){R&&s(e),R&&s(c),R&&s(n)}}}function zt(o){let e,l=V("namespaces","versions")+"",t;return{c(){e=_("caption"),t=w(l),this.h()},l(a){e=p(a,"CAPTION",{class:!0,slot:!0});var r=d(e);t=g(r,l),r.forEach(s),this.h()},h(){N(e,"class","sr-only"),N(e,"slot","caption")},m(a,r){E(a,e,r),i(e,t)},p:we,d(a){a&&s(e)}}}function Jt(o){let e,l,t;return{c(){e=_("tr"),l=_("th"),t=_("th"),this.h()},l(a){e=p(a,"TR",{slot:!0});var r=d(e);l=p(r,"TH",{class:!0}),d(l).forEach(s),t=p(r,"TH",{}),d(t).forEach(s),r.forEach(s),this.h()},h(){N(l,"class","w-1/2 lg:w-3/4"),N(e,"slot","headers")},m(a,r){E(a,e,r),i(e,l),i(e,t)},p:we,d(a){a&&s(e)}}}function Kt(o){let e=o[9](o[5].disableWriteActions)+"",l;return{c(){l=w(e)},l(t){l=g(t,e)},m(t,a){E(t,l,a)},p(t,a){a&32&&e!==(e=t[9](t[5].disableWriteActions)+"")&&J(l,e)},d(t){t&&s(l)}}}function Mt(o){let e=o[9](o[5].workflowTerminateDisabled)+"",l;return{c(){l=w(e)},l(t){l=g(t,e)},m(t,a){E(t,l,a)},p(t,a){a&32&&e!==(e=t[9](t[5].workflowTerminateDisabled)+"")&&J(l,e)},d(t){t&&s(l)}}}function Qt(o){let e=o[9](o[5].workflowCancelDisabled)+"",l;return{c(){l=w(e)},l(t){l=g(t,e)},m(t,a){E(t,l,a)},p(t,a){a&32&&e!==(e=t[9](t[5].workflowCancelDisabled)+"")&&J(l,e)},d(t){t&&s(l)}}}function Xt(o){let e=o[9](o[5].workflowSignalDisabled)+"",l;return{c(){l=w(e)},l(t){l=g(t,e)},m(t,a){E(t,l,a)},p(t,a){a&32&&e!==(e=t[9](t[5].workflowSignalDisabled)+"")&&J(l,e)},d(t){t&&s(l)}}}function Yt(o){let e=o[9](o[5].workflowResetDisabled)+"",l;return{c(){l=w(e)},l(t){l=g(t,e)},m(t,a){E(t,l,a)},p(t,a){a&32&&e!==(e=t[9](t[5].workflowResetDisabled)+"")&&J(l,e)},d(t){t&&s(l)}}}function Zt(o){let e,l,t=V("namespaces","client-actions")+"",a,r,f,c,n,u,T,y=V("workflows","terminate-modal-title")+"",O,B,R,D,h,P,b,z=V("workflows","cancel-modal-title")+"",G,Z,A,C,q,m,I,U=V("namespaces","signal-workflow")+"",x,pe,ae,ee,te,j,le,se=V("workflows","reset-modal-title")+"",de,ke,me,re,ie;return c=new be({props:{class:"px-1 py-0",type:o[8](o[5].disableWriteActions),$$slots:{default:[Kt]},$$scope:{ctx:o}}}),D=new be({props:{class:"px-1 py-0",type:o[8](o[5].workflowTerminateDisabled),$$slots:{default:[Mt]},$$scope:{ctx:o}}}),C=new be({props:{class:"px-1 py-0",type:o[8](o[5].workflowCancelDisabled),$$slots:{default:[Qt]},$$scope:{ctx:o}}}),ee=new be({props:{class:"px-1 py-0",type:o[8](o[5].workflowSignalDisabled),$$slots:{default:[Xt]},$$scope:{ctx:o}}}),re=new be({props:{class:"px-1 py-0",type:o[8](o[5].workflowResetDisabled),$$slots:{default:[Yt]},$$scope:{ctx:o}}}),{c(){e=_("tr"),l=_("td"),a=w(t),r=k(),f=_("td"),M(c.$$.fragment),n=k(),u=_("tr"),T=_("td"),O=w(y),B=k(),R=_("td"),M(D.$$.fragment),h=k(),P=_("tr"),b=_("td"),G=w(z),Z=k(),A=_("td"),M(C.$$.fragment),q=k(),m=_("tr"),I=_("td"),x=w(U),pe=k(),ae=_("td"),M(ee.$$.fragment),te=k(),j=_("tr"),le=_("td"),de=w(se),ke=k(),me=_("td"),M(re.$$.fragment)},l($){e=p($,"TR",{});var H=d(e);l=p(H,"TD",{});var K=d(l);a=g(K,t),K.forEach(s),r=S(H),f=p(H,"TD",{});var oe=d(f);Q(c.$$.fragment,oe),oe.forEach(s),H.forEach(s),n=S($),u=p($,"TR",{});var ne=d(u);T=p(ne,"TD",{});var ce=d(T);O=g(ce,y),ce.forEach(s),B=S(ne),R=p(ne,"TD",{});var ue=d(R);Q(D.$$.fragment,ue),ue.forEach(s),ne.forEach(s),h=S($),P=p($,"TR",{});var _e=d(P);b=p(_e,"TD",{});var he=d(b);G=g(he,z),he.forEach(s),Z=S(_e),A=p(_e,"TD",{});var ge=d(A);Q(C.$$.fragment,ge),ge.forEach(s),_e.forEach(s),q=S($),m=p($,"TR",{});var $e=d(m);I=p($e,"TD",{});var fe=d(I);x=g(fe,U),fe.forEach(s),pe=S($e),ae=p($e,"TD",{});var ve=d(ae);Q(ee.$$.fragment,ve),ve.forEach(s),$e.forEach(s),te=S($),j=p($,"TR",{});var De=d(j);le=p(De,"TD",{});var Se=d(le);de=g(Se,se),Se.forEach(s),ke=S(De),me=p(De,"TD",{});var Ce=d(me);Q(re.$$.fragment,Ce),Ce.forEach(s),De.forEach(s)},m($,H){E($,e,H),i(e,l),i(l,a),i(e,r),i(e,f),X(c,f,null),E($,n,H),E($,u,H),i(u,T),i(T,O),i(u,B),i(u,R),X(D,R,null),E($,h,H),E($,P,H),i(P,b),i(b,G),i(P,Z),i(P,A),X(C,A,null),E($,q,H),E($,m,H),i(m,I),i(I,x),i(m,pe),i(m,ae),X(ee,ae,null),E($,te,H),E($,j,H),i(j,le),i(le,de),i(j,ke),i(j,me),X(re,me,null),ie=!0},p($,H){const K={};H&32&&(K.type=$[8]($[5].disableWriteActions)),H&131104&&(K.$$scope={dirty:H,ctx:$}),c.$set(K);const oe={};H&32&&(oe.type=$[8]($[5].workflowTerminateDisabled)),H&131104&&(oe.$$scope={dirty:H,ctx:$}),D.$set(oe);const ne={};H&32&&(ne.type=$[8]($[5].workflowCancelDisabled)),H&131104&&(ne.$$scope={dirty:H,ctx:$}),C.$set(ne);const ce={};H&32&&(ce.type=$[8]($[5].workflowSignalDisabled)),H&131104&&(ce.$$scope={dirty:H,ctx:$}),ee.$set(ce);const ue={};H&32&&(ue.type=$[8]($[5].workflowResetDisabled)),H&131104&&(ue.$$scope={dirty:H,ctx:$}),re.$set(ue)},i($){ie||(F(c.$$.fragment,$),F(D.$$.fragment,$),F(C.$$.fragment,$),F(ee.$$.fragment,$),F(re.$$.fragment,$),ie=!0)},o($){W(c.$$.fragment,$),W(D.$$.fragment,$),W(C.$$.fragment,$),W(ee.$$.fragment,$),W(re.$$.fragment,$),ie=!1},d($){$&&s(e),Y(c),$&&s(n),$&&s(u),Y(D),$&&s(h),$&&s(P),Y(C),$&&s(q),$&&s(m),Y(ee),$&&s(te),$&&s(j),Y(re)}}}function xt(o){let e,l=V("namespaces","client-actions")+"",t;return{c(){e=_("caption"),t=w(l),this.h()},l(a){e=p(a,"CAPTION",{class:!0,slot:!0});var r=d(e);t=g(r,l),r.forEach(s),this.h()},h(){N(e,"class","sr-only"),N(e,"slot","caption")},m(a,r){E(a,e,r),i(e,t)},p:we,d(a){a&&s(e)}}}function el(o){let e,l,t;return{c(){e=_("tr"),l=_("th"),t=_("th"),this.h()},l(a){e=p(a,"TR",{slot:!0});var r=d(e);l=p(r,"TH",{class:!0}),d(l).forEach(s),t=p(r,"TH",{}),d(t).forEach(s),r.forEach(s),this.h()},h(){N(l,"class","w-1/2 lg:w-3/5"),N(e,"slot","headers")},m(a,r){E(a,e,r),i(e,l),i(e,t)},p:we,d(a){a&&s(e)}}}function tl(o){let e,l,t=V("details")+"",a,r,f,c,n,u,T=V("namespaces","versions")+"",y,O,B,R,D,h,P=V("namespaces","client-actions")+"",b,z,G,Z;return f=new ze({props:{variant:"simple",$$slots:{headers:[jt],caption:[Wt],default:[Gt]},$$scope:{ctx:o}}}),B=new ze({props:{variant:"simple",$$slots:{headers:[Jt],caption:[zt],default:[qt]},$$scope:{ctx:o}}}),G=new ze({props:{variant:"simple",$$slots:{headers:[el],caption:[xt],default:[Zt]},$$scope:{ctx:o}}}),{c(){e=_("article"),l=_("h3"),a=w(t),r=k(),M(f.$$.fragment),c=k(),n=_("article"),u=_("h3"),y=w(T),O=k(),M(B.$$.fragment),R=k(),D=_("article"),h=_("h3"),b=w(P),z=k(),M(G.$$.fragment),this.h()},l(A){e=p(A,"ARTICLE",{class:!0});var C=d(e);l=p(C,"H3",{class:!0});var q=d(l);a=g(q,t),q.forEach(s),r=S(C),Q(f.$$.fragment,C),C.forEach(s),c=S(A),n=p(A,"ARTICLE",{class:!0});var m=d(n);u=p(m,"H3",{class:!0});var I=d(u);y=g(I,T),I.forEach(s),O=S(m),Q(B.$$.fragment,m),m.forEach(s),R=S(A),D=p(A,"ARTICLE",{class:!0});var U=d(D);h=p(U,"H3",{class:!0});var x=d(h);b=g(x,P),x.forEach(s),z=S(U),Q(G.$$.fragment,U),U.forEach(s),this.h()},h(){N(l,"class","text-lg font-medium"),N(e,"class","namespace-info flex w-full flex-col"),N(u,"class","text-lg font-medium"),N(n,"class","namespace-info flex w-full flex-col"),N(h,"class","text-lg font-medium"),N(D,"class","namespace-info flex w-full flex-col")},m(A,C){E(A,e,C),i(e,l),i(l,a),i(e,r),X(f,e,null),E(A,c,C),E(A,n,C),i(n,u),i(u,y),i(n,O),X(B,n,null),E(A,R,C),E(A,D,C),i(D,h),i(h,b),i(D,z),X(G,D,null),Z=!0},p(A,C){const q={};C&131075&&(q.$$scope={dirty:C,ctx:A}),f.$set(q);const m={};C&131096&&(m.$$scope={dirty:C,ctx:A}),B.$set(m);const I={};C&131104&&(I.$$scope={dirty:C,ctx:A}),G.$set(I)},i(A){Z||(F(f.$$.fragment,A),F(B.$$.fragment,A),F(G.$$.fragment,A),Z=!0)},o(A){W(f.$$.fragment,A),W(B.$$.fragment,A),W(G.$$.fragment,A),Z=!1},d(A){A&&s(e),Y(f),A&&s(c),A&&s(n),Y(B),A&&s(R),A&&s(D),Y(G)}}}function pt(o){let e,l,t=V("events","attribute-group-search-attributes")+"",a,r,f,c;return f=new ze({props:{class:"w-full",$$slots:{headers:[ol],caption:[sl],default:[al]},$$scope:{ctx:o}}}),{c(){e=_("section"),l=_("h3"),a=w(t),r=k(),M(f.$$.fragment),this.h()},l(n){e=p(n,"SECTION",{});var u=d(e);l=p(u,"H3",{class:!0});var T=d(l);a=g(T,t),T.forEach(s),r=S(u),Q(f.$$.fragment,u),u.forEach(s),this.h()},h(){N(l,"class","my-4 text-lg font-medium")},m(n,u){E(n,e,u),i(e,l),i(l,a),i(e,r),X(f,e,null),c=!0},p(n,u){const T={};u&131136&&(T.$$scope={dirty:u,ctx:n}),f.$set(T)},i(n){c||(F(f.$$.fragment,n),c=!0)},o(n){W(f.$$.fragment,n),c=!1},d(n){n&&s(e),Y(f)}}}function ll(o){let e,l=o[13]+"",t,a,r,f=o[14]+"",c,n;return{c(){e=_("td"),t=w(l),a=k(),r=_("td"),c=w(f),n=k()},l(u){e=p(u,"TD",{});var T=d(e);t=g(T,l),T.forEach(s),a=S(u),r=p(u,"TD",{});var y=d(r);c=g(y,f),y.forEach(s),n=S(u)},m(u,T){E(u,e,T),i(e,t),E(u,a,T),E(u,r,T),i(r,c),E(u,n,T)},p(u,T){T&64&&l!==(l=u[13]+"")&&J(t,l),T&64&&f!==(f=u[14]+"")&&J(c,f)},d(u){u&&s(e),u&&s(a),u&&s(r),u&&s(n)}}}function dt(o){let e,l;return e=new Ct({props:{$$slots:{default:[ll]},$$scope:{ctx:o}}}),{c(){M(e.$$.fragment)},l(t){Q(e.$$.fragment,t)},m(t,a){X(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){W(e.$$.fragment,t),l=!1},d(t){Y(e,t)}}}function al(o){let e,l,t=Object.entries(o[6]),a=[];for(let f=0;fW(a[f],1,1,()=>{a[f]=null});return{c(){for(let f=0;f{b=null}),vt())},i(m){P||(F(e.$$.fragment,m),F(R.$$.fragment,m),F(b),P=!0)},o(m){W(e.$$.fragment,m),W(R.$$.fragment,m),W(b),P=!1},d(m){Y(e,m),m&&s(l),m&&s(t),m&&s(u),m&&s(T),m&&s(B),Y(R,m),m&&s(D),b&&b.d(m),m&&s(h)}}}function nl(o,e,l){let t,a,r,f,c,n,u,T;Ve(o,ct,h=>l(12,r=h)),Ve(o,Rt,h=>l(2,f=h)),Ve(o,Vt,h=>l(3,c=h)),Ve(o,Lt,h=>l(4,n=h)),Ve(o,Nt,h=>l(5,u=h)),Ve(o,Ht,h=>l(6,T=h));let{data:y}=e;var O;(function(h){h[h.ARCHIVAL_STATE_UNSPECIFIED=0]="ARCHIVAL_STATE_UNSPECIFIED",h[h.ARCHIVAL_STATE_DISABLED=1]="ARCHIVAL_STATE_DISABLED",h[h.ARCHIVAL_STATE_ENABLED=2]="ARCHIVAL_STATE_ENABLED"})(O||(O={}));const B=h=>h===O.ARCHIVAL_STATE_ENABLED?"green":"default",R=(h,P=!0)=>P?h?"default":"green":h?"green":"default",D=h=>h?V("disabled"):V("enabled");return Dt(()=>{var h;At(ct,r=(h=t==null?void 0:t.namespaceInfo)===null||h===void 0?void 0:h.name,r)}),o.$$set=h=>{"data"in h&&l(10,y=h.data)},o.$$.update=()=>{o.$$.dirty&1024&&l(0,{namespace:t,clusters:a}=y,t,(l(1,a),l(10,y)))},[t,a,f,c,n,u,T,B,R,D,y]}class bl extends mt{constructor(e){super(),$t(this,e,nl,fl,ht,{data:10})}}export{bl as default}; +import{S as mt,b as $t,a as ht,G as Tt,m as _,p,q as d,k as s,u as N,f as E,H as bt,I as wt,J as gt,j as F,g as W,N as nt,U as it,C as M,c as k,w,e as Je,D as Q,d as S,x as g,E as X,L as i,y as J,h as vt,F as Y,K as Ve,o as Dt,a5 as At,z as Et,a6 as It,n as we}from"../chunks/index.efded970.js";import{p as Rt}from"../chunks/stores.3002bd93.js";import{P as kt}from"../chunks/page-title.a6dec5b5.js";import{B as be}from"../chunks/badge.72fa1965.js";import{T as ze,a as St}from"../chunks/table-header-row.b413d43a.js";import{T as Ct}from"../chunks/table-row.6be25099.js";import{t as V}from"../chunks/translate.230dcc19.js";import{l as ct}from"../chunks/namespaces.08ac61f9.js";import{s as Ht}from"../chunks/search-attributes.9143d253.js";import{s as Nt}from"../chunks/settings.f4bcc2b2.js";import{t as Vt,u as Lt}from"../chunks/versions.44d896b4.js";import{s as ut}from"../chunks/format-time.8258873a.js";function yt(o){let e,l,t;const a=o[2].default,r=Tt(a,o,o[1],null);return{c(){e=_("div"),r&&r.c(),this.h()},l(f){e=p(f,"DIV",{class:!0});var c=d(e);r&&r.l(c),c.forEach(s),this.h()},h(){N(e,"class",l="card bg-white "+o[0].class+" svelte-hm2avd")},m(f,c){E(f,e,c),r&&r.m(e,null),t=!0},p(f,[c]){r&&r.p&&(!t||c&2)&&bt(r,a,f,f[1],t?gt(a,f[1],c,null):wt(f[1]),null),(!t||c&1&&l!==(l="card bg-white "+f[0].class+" svelte-hm2avd"))&&N(e,"class",l)},i(f){t||(F(r,f),t=!0)},o(f){W(r,f),t=!1},d(f){f&&s(e),r&&r.d(f)}}}function Bt(o,e,l){let{$$slots:t={},$$scope:a}=e;return o.$$set=r=>{l(0,e=nt(nt({},e),it(r))),"$$scope"in r&&l(1,a=r.$$scope)},e=it(e),[e,a,t]}class Pt extends mt{constructor(e){super(),$t(this,e,Bt,yt,ht,{})}}function _t(o,e,l){const t=o.slice();return t[13]=e[l][0],t[14]=e[l][1],t}function Ot(o){var t;let e=((t=o[0])!=null&&t.isGlobalNamespace?V("yes"):V("no"))+"",l;return{c(){l=w(e)},l(a){l=g(a,e)},m(a,r){E(a,l,r)},p(a,r){var f;r&1&&e!==(e=((f=a[0])!=null&&f.isGlobalNamespace?V("yes"):V("no"))+"")&&J(l,e)},d(a){a&&s(l)}}}function Ut(o){var t,a;let e=((a=(t=o[0])==null?void 0:t.config)==null?void 0:a.historyArchivalState)+"",l;return{c(){l=w(e)},l(r){l=g(r,e)},m(r,f){E(r,l,f)},p(r,f){var c,n;f&1&&e!==(e=((n=(c=r[0])==null?void 0:c.config)==null?void 0:n.historyArchivalState)+"")&&J(l,e)},d(r){r&&s(l)}}}function Ft(o){var t,a;let e=((a=(t=o[0])==null?void 0:t.config)==null?void 0:a.visibilityArchivalState)+"",l;return{c(){l=w(e)},l(r){l=g(r,e)},m(r,f){E(r,l,f)},p(r,f){var c,n;f&1&&e!==(e=((n=(c=r[0])==null?void 0:c.config)==null?void 0:n.visibilityArchivalState)+"")&&J(l,e)},d(r){r&&s(l)}}}function Gt(o){var Ke,Me,Qe,Xe,Ye,Ze,xe,et,tt,lt;let e,l,t=V("namespaces","owner")+"",a,r,f,c=(((Me=(Ke=o[0])==null?void 0:Ke.namespaceInfo)==null?void 0:Me.ownerEmail)||V("unknown"))+"",n,u,T,y,O=V("namespaces","global")+"",B,R,D,h,P,b,z,G=V("namespaces","retention-period")+"",Z,A,C,q=ut((Xe=(Qe=o[0])==null?void 0:Qe.config)==null?void 0:Xe.workflowExecutionRetentionTtl.toString())+"",m,I,U,x,pe=V("namespaces","history-archival")+"",ae,ee,te,j,le,se,de,ke=V("namespaces","visibility-archival")+"",me,re,ie,$,H,K,oe,ne=V("namespaces","failover-version")+"",ce,ue,_e,he=((Ye=o[0])==null?void 0:Ye.failoverVersion)+"",ge,$e,fe,ve,De=V("namespaces","clusters")+"",Se,Ce,Le,We,Ee;return h=new be({props:{class:"px-1 py-0",type:o[8]((Ze=o[0])==null?void 0:Ze.isGlobalNamespace,!1),$$slots:{default:[Ot]},$$scope:{ctx:o}}}),j=new be({props:{class:"px-1 py-0",type:o[7]((et=(xe=o[0])==null?void 0:xe.config)==null?void 0:et.historyArchivalState),$$slots:{default:[Ut]},$$scope:{ctx:o}}}),$=new be({props:{class:"px-1 py-0",type:o[7]((lt=(tt=o[0])==null?void 0:tt.config)==null?void 0:lt.visibilityArchivalState),$$slots:{default:[Ft]},$$scope:{ctx:o}}}),{c(){e=_("tr"),l=_("td"),a=w(t),r=k(),f=_("td"),n=w(c),u=k(),T=_("tr"),y=_("td"),B=w(O),R=k(),D=_("td"),M(h.$$.fragment),P=k(),b=_("tr"),z=_("td"),Z=w(G),A=k(),C=_("td"),m=w(q),I=k(),U=_("tr"),x=_("td"),ae=w(pe),ee=k(),te=_("td"),M(j.$$.fragment),le=k(),se=_("tr"),de=_("td"),me=w(ke),re=k(),ie=_("td"),M($.$$.fragment),H=k(),K=_("tr"),oe=_("td"),ce=w(ne),ue=k(),_e=_("td"),ge=w(he),$e=k(),fe=_("tr"),ve=_("td"),Se=w(De),Ce=k(),Le=_("td"),We=w(o[1]),this.h()},l(v){e=p(v,"TR",{"data-testid":!0});var L=d(e);l=p(L,"TD",{});var He=d(l);a=g(He,t),He.forEach(s),r=S(L),f=p(L,"TD",{});var Ne=d(f);n=g(Ne,c),Ne.forEach(s),L.forEach(s),u=S(v),T=p(v,"TR",{"data-testid":!0});var Te=d(T);y=p(Te,"TD",{});var ye=d(y);B=g(ye,O),ye.forEach(s),R=S(Te),D=p(Te,"TD",{});var Be=d(D);Q(h.$$.fragment,Be),Be.forEach(s),Te.forEach(s),P=S(v),b=p(v,"TR",{"data-testid":!0});var Ae=d(b);z=p(Ae,"TD",{});var Pe=d(z);Z=g(Pe,G),Pe.forEach(s),A=S(Ae),C=p(Ae,"TD",{});var Oe=d(C);m=g(Oe,q),Oe.forEach(s),Ae.forEach(s),I=S(v),U=p(v,"TR",{"data-testid":!0});var Ie=d(U);x=p(Ie,"TD",{});var Ue=d(x);ae=g(Ue,pe),Ue.forEach(s),ee=S(Ie),te=p(Ie,"TD",{});var Fe=d(te);Q(j.$$.fragment,Fe),Fe.forEach(s),Ie.forEach(s),le=S(v),se=p(v,"TR",{"data-testid":!0});var Re=d(se);de=p(Re,"TD",{});var Ge=d(de);me=g(Ge,ke),Ge.forEach(s),re=S(Re),ie=p(Re,"TD",{});var at=d(ie);Q($.$$.fragment,at),at.forEach(s),Re.forEach(s),H=S(v),K=p(v,"TR",{"data-testid":!0});var je=d(K);oe=p(je,"TD",{});var st=d(oe);ce=g(st,ne),st.forEach(s),ue=S(je),_e=p(je,"TD",{});var rt=d(_e);ge=g(rt,he),rt.forEach(s),je.forEach(s),$e=S(v),fe=p(v,"TR",{"data-testid":!0});var qe=d(fe);ve=p(qe,"TD",{});var ot=d(ve);Se=g(ot,De),ot.forEach(s),Ce=S(qe),Le=p(qe,"TD",{});var ft=d(Le);We=g(ft,o[1]),ft.forEach(s),qe.forEach(s),this.h()},h(){N(e,"data-testid","namespace-owner"),N(T,"data-testid","namespace-global"),N(b,"data-testid","namespace-retention"),N(U,"data-testid","namespace-history"),N(se,"data-testid","namespace-visibility"),N(K,"data-testid","namespace-failover"),N(fe,"data-testid","namespace-clusters")},m(v,L){E(v,e,L),i(e,l),i(l,a),i(e,r),i(e,f),i(f,n),E(v,u,L),E(v,T,L),i(T,y),i(y,B),i(T,R),i(T,D),X(h,D,null),E(v,P,L),E(v,b,L),i(b,z),i(z,Z),i(b,A),i(b,C),i(C,m),E(v,I,L),E(v,U,L),i(U,x),i(x,ae),i(U,ee),i(U,te),X(j,te,null),E(v,le,L),E(v,se,L),i(se,de),i(de,me),i(se,re),i(se,ie),X($,ie,null),E(v,H,L),E(v,K,L),i(K,oe),i(oe,ce),i(K,ue),i(K,_e),i(_e,ge),E(v,$e,L),E(v,fe,L),i(fe,ve),i(ve,Se),i(fe,Ce),i(fe,Le),i(Le,We),Ee=!0},p(v,L){var ye,Be,Ae,Pe,Oe,Ie,Ue,Fe,Re,Ge;(!Ee||L&1)&&c!==(c=(((Be=(ye=v[0])==null?void 0:ye.namespaceInfo)==null?void 0:Be.ownerEmail)||V("unknown"))+"")&&J(n,c);const He={};L&1&&(He.type=v[8]((Ae=v[0])==null?void 0:Ae.isGlobalNamespace,!1)),L&131073&&(He.$$scope={dirty:L,ctx:v}),h.$set(He),(!Ee||L&1)&&q!==(q=ut((Oe=(Pe=v[0])==null?void 0:Pe.config)==null?void 0:Oe.workflowExecutionRetentionTtl.toString())+"")&&J(m,q);const Ne={};L&1&&(Ne.type=v[7]((Ue=(Ie=v[0])==null?void 0:Ie.config)==null?void 0:Ue.historyArchivalState)),L&131073&&(Ne.$$scope={dirty:L,ctx:v}),j.$set(Ne);const Te={};L&1&&(Te.type=v[7]((Re=(Fe=v[0])==null?void 0:Fe.config)==null?void 0:Re.visibilityArchivalState)),L&131073&&(Te.$$scope={dirty:L,ctx:v}),$.$set(Te),(!Ee||L&1)&&he!==(he=((Ge=v[0])==null?void 0:Ge.failoverVersion)+"")&&J(ge,he),(!Ee||L&2)&&J(We,v[1])},i(v){Ee||(F(h.$$.fragment,v),F(j.$$.fragment,v),F($.$$.fragment,v),Ee=!0)},o(v){W(h.$$.fragment,v),W(j.$$.fragment,v),W($.$$.fragment,v),Ee=!1},d(v){v&&s(e),v&&s(u),v&&s(T),Y(h),v&&s(P),v&&s(b),v&&s(I),v&&s(U),Y(j),v&&s(le),v&&s(se),Y($),v&&s(H),v&&s(K),v&&s($e),v&&s(fe)}}}function Wt(o){let e,l=`${V("namespaces","namespace")} ${V("details")}`,t;return{c(){e=_("caption"),t=w(l),this.h()},l(a){e=p(a,"CAPTION",{class:!0,slot:!0});var r=d(e);t=g(r,l),r.forEach(s),this.h()},h(){N(e,"class","sr-only"),N(e,"slot","caption")},m(a,r){E(a,e,r),i(e,t)},p:we,d(a){a&&s(e)}}}function jt(o){let e,l,t;return{c(){e=_("tr"),l=_("th"),t=_("th"),this.h()},l(a){e=p(a,"TR",{slot:!0});var r=d(e);l=p(r,"TH",{class:!0}),d(l).forEach(s),t=p(r,"TH",{}),d(t).forEach(s),r.forEach(s),this.h()},h(){N(l,"class","w-1/2 lg:w-3/5"),N(e,"slot","headers")},m(a,r){E(a,e,r),i(e,l),i(e,t)},p:we,d(a){a&&s(e)}}}function qt(o){let e,l,t,a,r,f,c,n,u,T,y,O,B;return{c(){e=_("tr"),l=_("td"),t=w("Temporal Server Version"),a=k(),r=_("td"),f=w(o[3]),c=k(),n=_("tr"),u=_("td"),T=w("Temporal UI Version"),y=k(),O=_("td"),B=w(o[4]),this.h()},l(R){e=p(R,"TR",{"data-testid":!0});var D=d(e);l=p(D,"TD",{});var h=d(l);t=g(h,"Temporal Server Version"),h.forEach(s),a=S(D),r=p(D,"TD",{});var P=d(r);f=g(P,o[3]),P.forEach(s),D.forEach(s),c=S(R),n=p(R,"TR",{"data-testid":!0});var b=d(n);u=p(b,"TD",{});var z=d(u);T=g(z,"Temporal UI Version"),z.forEach(s),y=S(b),O=p(b,"TD",{});var G=d(O);B=g(G,o[4]),G.forEach(s),b.forEach(s),this.h()},h(){N(e,"data-testid","server-version"),N(n,"data-testid","ui-version")},m(R,D){E(R,e,D),i(e,l),i(l,t),i(e,a),i(e,r),i(r,f),E(R,c,D),E(R,n,D),i(n,u),i(u,T),i(n,y),i(n,O),i(O,B)},p(R,D){D&8&&J(f,R[3]),D&16&&J(B,R[4])},d(R){R&&s(e),R&&s(c),R&&s(n)}}}function zt(o){let e,l=V("namespaces","versions")+"",t;return{c(){e=_("caption"),t=w(l),this.h()},l(a){e=p(a,"CAPTION",{class:!0,slot:!0});var r=d(e);t=g(r,l),r.forEach(s),this.h()},h(){N(e,"class","sr-only"),N(e,"slot","caption")},m(a,r){E(a,e,r),i(e,t)},p:we,d(a){a&&s(e)}}}function Jt(o){let e,l,t;return{c(){e=_("tr"),l=_("th"),t=_("th"),this.h()},l(a){e=p(a,"TR",{slot:!0});var r=d(e);l=p(r,"TH",{class:!0}),d(l).forEach(s),t=p(r,"TH",{}),d(t).forEach(s),r.forEach(s),this.h()},h(){N(l,"class","w-1/2 lg:w-3/4"),N(e,"slot","headers")},m(a,r){E(a,e,r),i(e,l),i(e,t)},p:we,d(a){a&&s(e)}}}function Kt(o){let e=o[9](o[5].disableWriteActions)+"",l;return{c(){l=w(e)},l(t){l=g(t,e)},m(t,a){E(t,l,a)},p(t,a){a&32&&e!==(e=t[9](t[5].disableWriteActions)+"")&&J(l,e)},d(t){t&&s(l)}}}function Mt(o){let e=o[9](o[5].workflowTerminateDisabled)+"",l;return{c(){l=w(e)},l(t){l=g(t,e)},m(t,a){E(t,l,a)},p(t,a){a&32&&e!==(e=t[9](t[5].workflowTerminateDisabled)+"")&&J(l,e)},d(t){t&&s(l)}}}function Qt(o){let e=o[9](o[5].workflowCancelDisabled)+"",l;return{c(){l=w(e)},l(t){l=g(t,e)},m(t,a){E(t,l,a)},p(t,a){a&32&&e!==(e=t[9](t[5].workflowCancelDisabled)+"")&&J(l,e)},d(t){t&&s(l)}}}function Xt(o){let e=o[9](o[5].workflowSignalDisabled)+"",l;return{c(){l=w(e)},l(t){l=g(t,e)},m(t,a){E(t,l,a)},p(t,a){a&32&&e!==(e=t[9](t[5].workflowSignalDisabled)+"")&&J(l,e)},d(t){t&&s(l)}}}function Yt(o){let e=o[9](o[5].workflowResetDisabled)+"",l;return{c(){l=w(e)},l(t){l=g(t,e)},m(t,a){E(t,l,a)},p(t,a){a&32&&e!==(e=t[9](t[5].workflowResetDisabled)+"")&&J(l,e)},d(t){t&&s(l)}}}function Zt(o){let e,l,t=V("namespaces","client-actions")+"",a,r,f,c,n,u,T,y=V("workflows","terminate-modal-title")+"",O,B,R,D,h,P,b,z=V("workflows","cancel-modal-title")+"",G,Z,A,C,q,m,I,U=V("namespaces","signal-workflow")+"",x,pe,ae,ee,te,j,le,se=V("workflows","reset-modal-title")+"",de,ke,me,re,ie;return c=new be({props:{class:"px-1 py-0",type:o[8](o[5].disableWriteActions),$$slots:{default:[Kt]},$$scope:{ctx:o}}}),D=new be({props:{class:"px-1 py-0",type:o[8](o[5].workflowTerminateDisabled),$$slots:{default:[Mt]},$$scope:{ctx:o}}}),C=new be({props:{class:"px-1 py-0",type:o[8](o[5].workflowCancelDisabled),$$slots:{default:[Qt]},$$scope:{ctx:o}}}),ee=new be({props:{class:"px-1 py-0",type:o[8](o[5].workflowSignalDisabled),$$slots:{default:[Xt]},$$scope:{ctx:o}}}),re=new be({props:{class:"px-1 py-0",type:o[8](o[5].workflowResetDisabled),$$slots:{default:[Yt]},$$scope:{ctx:o}}}),{c(){e=_("tr"),l=_("td"),a=w(t),r=k(),f=_("td"),M(c.$$.fragment),n=k(),u=_("tr"),T=_("td"),O=w(y),B=k(),R=_("td"),M(D.$$.fragment),h=k(),P=_("tr"),b=_("td"),G=w(z),Z=k(),A=_("td"),M(C.$$.fragment),q=k(),m=_("tr"),I=_("td"),x=w(U),pe=k(),ae=_("td"),M(ee.$$.fragment),te=k(),j=_("tr"),le=_("td"),de=w(se),ke=k(),me=_("td"),M(re.$$.fragment)},l($){e=p($,"TR",{});var H=d(e);l=p(H,"TD",{});var K=d(l);a=g(K,t),K.forEach(s),r=S(H),f=p(H,"TD",{});var oe=d(f);Q(c.$$.fragment,oe),oe.forEach(s),H.forEach(s),n=S($),u=p($,"TR",{});var ne=d(u);T=p(ne,"TD",{});var ce=d(T);O=g(ce,y),ce.forEach(s),B=S(ne),R=p(ne,"TD",{});var ue=d(R);Q(D.$$.fragment,ue),ue.forEach(s),ne.forEach(s),h=S($),P=p($,"TR",{});var _e=d(P);b=p(_e,"TD",{});var he=d(b);G=g(he,z),he.forEach(s),Z=S(_e),A=p(_e,"TD",{});var ge=d(A);Q(C.$$.fragment,ge),ge.forEach(s),_e.forEach(s),q=S($),m=p($,"TR",{});var $e=d(m);I=p($e,"TD",{});var fe=d(I);x=g(fe,U),fe.forEach(s),pe=S($e),ae=p($e,"TD",{});var ve=d(ae);Q(ee.$$.fragment,ve),ve.forEach(s),$e.forEach(s),te=S($),j=p($,"TR",{});var De=d(j);le=p(De,"TD",{});var Se=d(le);de=g(Se,se),Se.forEach(s),ke=S(De),me=p(De,"TD",{});var Ce=d(me);Q(re.$$.fragment,Ce),Ce.forEach(s),De.forEach(s)},m($,H){E($,e,H),i(e,l),i(l,a),i(e,r),i(e,f),X(c,f,null),E($,n,H),E($,u,H),i(u,T),i(T,O),i(u,B),i(u,R),X(D,R,null),E($,h,H),E($,P,H),i(P,b),i(b,G),i(P,Z),i(P,A),X(C,A,null),E($,q,H),E($,m,H),i(m,I),i(I,x),i(m,pe),i(m,ae),X(ee,ae,null),E($,te,H),E($,j,H),i(j,le),i(le,de),i(j,ke),i(j,me),X(re,me,null),ie=!0},p($,H){const K={};H&32&&(K.type=$[8]($[5].disableWriteActions)),H&131104&&(K.$$scope={dirty:H,ctx:$}),c.$set(K);const oe={};H&32&&(oe.type=$[8]($[5].workflowTerminateDisabled)),H&131104&&(oe.$$scope={dirty:H,ctx:$}),D.$set(oe);const ne={};H&32&&(ne.type=$[8]($[5].workflowCancelDisabled)),H&131104&&(ne.$$scope={dirty:H,ctx:$}),C.$set(ne);const ce={};H&32&&(ce.type=$[8]($[5].workflowSignalDisabled)),H&131104&&(ce.$$scope={dirty:H,ctx:$}),ee.$set(ce);const ue={};H&32&&(ue.type=$[8]($[5].workflowResetDisabled)),H&131104&&(ue.$$scope={dirty:H,ctx:$}),re.$set(ue)},i($){ie||(F(c.$$.fragment,$),F(D.$$.fragment,$),F(C.$$.fragment,$),F(ee.$$.fragment,$),F(re.$$.fragment,$),ie=!0)},o($){W(c.$$.fragment,$),W(D.$$.fragment,$),W(C.$$.fragment,$),W(ee.$$.fragment,$),W(re.$$.fragment,$),ie=!1},d($){$&&s(e),Y(c),$&&s(n),$&&s(u),Y(D),$&&s(h),$&&s(P),Y(C),$&&s(q),$&&s(m),Y(ee),$&&s(te),$&&s(j),Y(re)}}}function xt(o){let e,l=V("namespaces","client-actions")+"",t;return{c(){e=_("caption"),t=w(l),this.h()},l(a){e=p(a,"CAPTION",{class:!0,slot:!0});var r=d(e);t=g(r,l),r.forEach(s),this.h()},h(){N(e,"class","sr-only"),N(e,"slot","caption")},m(a,r){E(a,e,r),i(e,t)},p:we,d(a){a&&s(e)}}}function el(o){let e,l,t;return{c(){e=_("tr"),l=_("th"),t=_("th"),this.h()},l(a){e=p(a,"TR",{slot:!0});var r=d(e);l=p(r,"TH",{class:!0}),d(l).forEach(s),t=p(r,"TH",{}),d(t).forEach(s),r.forEach(s),this.h()},h(){N(l,"class","w-1/2 lg:w-3/5"),N(e,"slot","headers")},m(a,r){E(a,e,r),i(e,l),i(e,t)},p:we,d(a){a&&s(e)}}}function tl(o){let e,l,t=V("details")+"",a,r,f,c,n,u,T=V("namespaces","versions")+"",y,O,B,R,D,h,P=V("namespaces","client-actions")+"",b,z,G,Z;return f=new ze({props:{variant:"simple",$$slots:{headers:[jt],caption:[Wt],default:[Gt]},$$scope:{ctx:o}}}),B=new ze({props:{variant:"simple",$$slots:{headers:[Jt],caption:[zt],default:[qt]},$$scope:{ctx:o}}}),G=new ze({props:{variant:"simple",$$slots:{headers:[el],caption:[xt],default:[Zt]},$$scope:{ctx:o}}}),{c(){e=_("article"),l=_("h3"),a=w(t),r=k(),M(f.$$.fragment),c=k(),n=_("article"),u=_("h3"),y=w(T),O=k(),M(B.$$.fragment),R=k(),D=_("article"),h=_("h3"),b=w(P),z=k(),M(G.$$.fragment),this.h()},l(A){e=p(A,"ARTICLE",{class:!0});var C=d(e);l=p(C,"H3",{class:!0});var q=d(l);a=g(q,t),q.forEach(s),r=S(C),Q(f.$$.fragment,C),C.forEach(s),c=S(A),n=p(A,"ARTICLE",{class:!0});var m=d(n);u=p(m,"H3",{class:!0});var I=d(u);y=g(I,T),I.forEach(s),O=S(m),Q(B.$$.fragment,m),m.forEach(s),R=S(A),D=p(A,"ARTICLE",{class:!0});var U=d(D);h=p(U,"H3",{class:!0});var x=d(h);b=g(x,P),x.forEach(s),z=S(U),Q(G.$$.fragment,U),U.forEach(s),this.h()},h(){N(l,"class","text-lg font-medium"),N(e,"class","namespace-info flex w-full flex-col"),N(u,"class","text-lg font-medium"),N(n,"class","namespace-info flex w-full flex-col"),N(h,"class","text-lg font-medium"),N(D,"class","namespace-info flex w-full flex-col")},m(A,C){E(A,e,C),i(e,l),i(l,a),i(e,r),X(f,e,null),E(A,c,C),E(A,n,C),i(n,u),i(u,y),i(n,O),X(B,n,null),E(A,R,C),E(A,D,C),i(D,h),i(h,b),i(D,z),X(G,D,null),Z=!0},p(A,C){const q={};C&131075&&(q.$$scope={dirty:C,ctx:A}),f.$set(q);const m={};C&131096&&(m.$$scope={dirty:C,ctx:A}),B.$set(m);const I={};C&131104&&(I.$$scope={dirty:C,ctx:A}),G.$set(I)},i(A){Z||(F(f.$$.fragment,A),F(B.$$.fragment,A),F(G.$$.fragment,A),Z=!0)},o(A){W(f.$$.fragment,A),W(B.$$.fragment,A),W(G.$$.fragment,A),Z=!1},d(A){A&&s(e),Y(f),A&&s(c),A&&s(n),Y(B),A&&s(R),A&&s(D),Y(G)}}}function pt(o){let e,l,t=V("events","attribute-group-search-attributes")+"",a,r,f,c;return f=new ze({props:{class:"w-full",$$slots:{headers:[ol],caption:[sl],default:[al]},$$scope:{ctx:o}}}),{c(){e=_("section"),l=_("h3"),a=w(t),r=k(),M(f.$$.fragment),this.h()},l(n){e=p(n,"SECTION",{});var u=d(e);l=p(u,"H3",{class:!0});var T=d(l);a=g(T,t),T.forEach(s),r=S(u),Q(f.$$.fragment,u),u.forEach(s),this.h()},h(){N(l,"class","my-4 text-lg font-medium")},m(n,u){E(n,e,u),i(e,l),i(l,a),i(e,r),X(f,e,null),c=!0},p(n,u){const T={};u&131136&&(T.$$scope={dirty:u,ctx:n}),f.$set(T)},i(n){c||(F(f.$$.fragment,n),c=!0)},o(n){W(f.$$.fragment,n),c=!1},d(n){n&&s(e),Y(f)}}}function ll(o){let e,l=o[13]+"",t,a,r,f=o[14]+"",c,n;return{c(){e=_("td"),t=w(l),a=k(),r=_("td"),c=w(f),n=k()},l(u){e=p(u,"TD",{});var T=d(e);t=g(T,l),T.forEach(s),a=S(u),r=p(u,"TD",{});var y=d(r);c=g(y,f),y.forEach(s),n=S(u)},m(u,T){E(u,e,T),i(e,t),E(u,a,T),E(u,r,T),i(r,c),E(u,n,T)},p(u,T){T&64&&l!==(l=u[13]+"")&&J(t,l),T&64&&f!==(f=u[14]+"")&&J(c,f)},d(u){u&&s(e),u&&s(a),u&&s(r),u&&s(n)}}}function dt(o){let e,l;return e=new Ct({props:{$$slots:{default:[ll]},$$scope:{ctx:o}}}),{c(){M(e.$$.fragment)},l(t){Q(e.$$.fragment,t)},m(t,a){X(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){W(e.$$.fragment,t),l=!1},d(t){Y(e,t)}}}function al(o){let e,l,t=Object.entries(o[6]),a=[];for(let f=0;fW(a[f],1,1,()=>{a[f]=null});return{c(){for(let f=0;f{b=null}),vt())},i(m){P||(F(e.$$.fragment,m),F(R.$$.fragment,m),F(b),P=!0)},o(m){W(e.$$.fragment,m),W(R.$$.fragment,m),W(b),P=!1},d(m){Y(e,m),m&&s(l),m&&s(t),m&&s(u),m&&s(T),m&&s(B),Y(R,m),m&&s(D),b&&b.d(m),m&&s(h)}}}function nl(o,e,l){let t,a,r,f,c,n,u,T;Ve(o,ct,h=>l(12,r=h)),Ve(o,Rt,h=>l(2,f=h)),Ve(o,Vt,h=>l(3,c=h)),Ve(o,Lt,h=>l(4,n=h)),Ve(o,Nt,h=>l(5,u=h)),Ve(o,Ht,h=>l(6,T=h));let{data:y}=e;var O;(function(h){h[h.ARCHIVAL_STATE_UNSPECIFIED=0]="ARCHIVAL_STATE_UNSPECIFIED",h[h.ARCHIVAL_STATE_DISABLED=1]="ARCHIVAL_STATE_DISABLED",h[h.ARCHIVAL_STATE_ENABLED=2]="ARCHIVAL_STATE_ENABLED"})(O||(O={}));const B=h=>h===O.ARCHIVAL_STATE_ENABLED?"green":"default",R=(h,P=!0)=>P?h?"default":"green":h?"green":"default",D=h=>h?V("disabled"):V("enabled");return Dt(()=>{var h;At(ct,r=(h=t==null?void 0:t.namespaceInfo)===null||h===void 0?void 0:h.name,r)}),o.$$set=h=>{"data"in h&&l(10,y=h.data)},o.$$.update=()=>{o.$$.dirty&1024&&l(0,{namespace:t,clusters:a}=y,t,(l(1,a),l(10,y)))},[t,a,f,c,n,u,T,B,R,D,y]}class bl extends mt{constructor(e){super(),$t(this,e,nl,fl,ht,{data:10})}}export{bl as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-page.ts.11d20164.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-page.ts.11d20164.js new file mode 100644 index 0000000000..1a1b08a584 --- /dev/null +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-page.ts.11d20164.js @@ -0,0 +1 @@ +import"../chunks/namespaces-service.af8fc337.js";import{l}from"../chunks/_page.bd101315.js";export{l as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-page.ts.ac38b8b4.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-page.ts.ac38b8b4.js deleted file mode 100644 index 5e5c56d625..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-page.ts.ac38b8b4.js +++ /dev/null @@ -1 +0,0 @@ -import"../chunks/namespaces-service.6d9595ed.js";import{l}from"../chunks/_page.fb482c75.js";export{l as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-_schedule_-edit-page.svelte.051823ca.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-_schedule_-edit-page.svelte.94375227.js similarity index 86% rename from ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-_schedule_-edit-page.svelte.051823ca.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-_schedule_-edit-page.svelte.94375227.js index db87674005..beeefc1ee4 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-_schedule_-edit-page.svelte.051823ca.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-_schedule_-edit-page.svelte.94375227.js @@ -1 +1 @@ -import{S as g,b as k,a as b,ar as T,e as h,f as w,as as U,j as l,g as u,k as S,K as y,n as c,C as m,D as f,E as p,F as d,c as W,d as z}from"../chunks/index.efded970.js";import{p as E}from"../chunks/stores.83aed68d.js";import{P as A}from"../chunks/page-title.a6dec5b5.js";import{S as B}from"../chunks/schedule-form-view.5f748594.js";import{L as G}from"../chunks/loading.32266c92.js";import{t as H}from"../chunks/translate.230dcc19.js";import{a as J}from"../chunks/schedule-service.d49fba12.js";import{s as V}from"../chunks/schedules.b362631b.js";import{k as X}from"../chunks/route-for.f2f7cb1c.js";function _(o){o[6]=o[7].schedule}function Y(o){return{c,l:c,m:c,p:c,i:c,o:c,d:c}}function Z(o){_(o);let t,a;return t=new B({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 x(o){let t,a;return t=new G({props:{title:H("schedules","loading")}}),{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 ee(o){let t,a,e={ctx:o,current:null,token:null,hasCatch:!1,pending:x,then:Z,catch:Y,value:7,blocks:[,,,]};return T(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,U(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 te(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:X(n)};return[J(s),($,v,C)=>{const{name:F,workflowType:I,workflowId:P,taskQueue:L,hour:O,minute:j,second:q,phase:D,cronString:K,daysOfWeek:M,daysOfMonth:N,days:Q,months:R}=v;V({action:{namespace:r,name:F,workflowType:I,workflowId:P,taskQueue:L},spec:{hour:O,minute:j,second:q,phase:D,cronString:K},presets:{preset:$,daysOfWeek:M,daysOfMonth:N,months:R,days:Q}},C,n)}]}class ne extends g{constructor(t){super(),k(this,t,te,ee,b,{})}}function re(o){let t,a,e,r;return t=new A({props:{title:`Schedule Edit | ${o[0].params.schedule}`,url:o[0].url.href}}),e=new ne({}),{c(){m(t.$$.fragment),a=W(),m(e.$$.fragment)},l(n){f(t.$$.fragment,n),a=z(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 ae(o,t,a){let e;return y(o,E,r=>a(0,e=r)),[e]}class ge extends g{constructor(t){super(),k(this,t,ae,re,b,{})}}export{ge as default}; +import{S as g,b as k,a as b,ar as T,e as h,f as w,as as U,j as l,g as u,k as S,K as y,n as c,C as m,D as f,E as p,F as d,c as W,d as z}from"../chunks/index.efded970.js";import{p as E}from"../chunks/stores.3002bd93.js";import{P as A}from"../chunks/page-title.a6dec5b5.js";import{S as B}from"../chunks/schedule-form-view.f726ab1f.js";import{L as G}from"../chunks/loading.32266c92.js";import{t as H}from"../chunks/translate.230dcc19.js";import{a as J}from"../chunks/schedule-service.ccc6562c.js";import{s as V}from"../chunks/schedules.80c3a2f9.js";import{k as X}from"../chunks/route-for.8244bd54.js";function _(o){o[6]=o[7].schedule}function Y(o){return{c,l:c,m:c,p:c,i:c,o:c,d:c}}function Z(o){_(o);let t,a;return t=new B({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 x(o){let t,a;return t=new G({props:{title:H("schedules","loading")}}),{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 ee(o){let t,a,e={ctx:o,current:null,token:null,hasCatch:!1,pending:x,then:Z,catch:Y,value:7,blocks:[,,,]};return T(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,U(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 te(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:X(n)};return[J(s),($,v,C)=>{const{name:F,workflowType:I,workflowId:P,taskQueue:L,hour:O,minute:j,second:q,phase:D,cronString:K,daysOfWeek:M,daysOfMonth:N,days:Q,months:R}=v;V({action:{namespace:r,name:F,workflowType:I,workflowId:P,taskQueue:L},spec:{hour:O,minute:j,second:q,phase:D,cronString:K},presets:{preset:$,daysOfWeek:M,daysOfMonth:N,months:R,days:Q}},C,n)}]}class ne extends g{constructor(t){super(),k(this,t,te,ee,b,{})}}function re(o){let t,a,e,r;return t=new A({props:{title:`Schedule Edit | ${o[0].params.schedule}`,url:o[0].url.href}}),e=new ne({}),{c(){m(t.$$.fragment),a=W(),m(e.$$.fragment)},l(n){f(t.$$.fragment,n),a=z(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 ae(o,t,a){let e;return y(o,E,r=>a(0,e=r)),[e]}class ge extends g{constructor(t){super(),k(this,t,ae,re,b,{})}}export{ge as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-_schedule_-page.svelte.05f7775e.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-_schedule_-page.svelte.d8f45c1a.js similarity index 98% rename from ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-_schedule_-page.svelte.05f7775e.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-_schedule_-page.svelte.d8f45c1a.js index 48523e9a91..16d4177a8b 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-_schedule_-page.svelte.05f7775e.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-_schedule_-page.svelte.d8f45c1a.js @@ -1 +1 @@ -import{S as Ie,b as Te,a as De,m as k,w as D,c as W,p as w,q as b,x as P,k as f,d as A,u as V,f as g,L as d,y as J,n as Z,C as U,D as O,E as z,j as H,g as C,F as G,e as ie,G as Jl,P as $l,H as Kl,I as Ql,J as Zl,N as vl,U as gl,K as ve,z as Le,a9 as Bl,aa as Xl,h as Ue,ar as Oe,as as Ml,a6 as Yl,a5 as Ke,V as yl,A as Qe,Z as Ze,_ as Be,a0 as kl,Q as wl,a1 as xl,r as es}from"../chunks/index.efded970.js";import{p as Fl}from"../chunks/stores.83aed68d.js";import{P as ts}from"../chunks/page-title.a6dec5b5.js";import{g as Fe}from"../chunks/navigation.6d455e31.js";import{A as ls}from"../chunks/accordion.0b47b9b3.js";import{t as _}from"../chunks/translate.230dcc19.js";import{S as ss,a as bl,d as rs,u as ns,p as as}from"../chunks/schedule-service.d49fba12.js";import{E as os}from"../chunks/empty-state.22810bcf.js";import{L as ze}from"../chunks/link.cac19769.js";import{i as El}from"../chunks/workflow-service.6fa8d283.js";import{t as Ye,r as ye,b as ge}from"../chunks/format-date.be4b741e.js";import{k as Xe,f as Il,c as Ne,q as us}from"../chunks/route-for.f2f7cb1c.js";import{W as Nl}from"../chunks/workflow-status.792f3956.js";import{L as jl}from"../chunks/loading.32266c92.js";import{d as Tl}from"../chunks/menu.9d531fff.js";import{M as Dl}from"../chunks/modal.e8d88b85.js";import{S as fs}from"../chunks/split-button.c1a13603.js";import{c as is}from"../chunks/core-user.c3fa437a.js";import{l as je}from"../chunks/schedules.b362631b.js";function cs(r){let e,l,t=_("notes")+"",o,s,n,u;return{c(){e=k("div"),l=k("h2"),o=D(t),s=W(),n=k("p"),u=D(r[0]),this.h()},l(a){e=w(a,"DIV",{});var m=b(e);l=w(m,"H2",{class:!0});var p=b(l);o=P(p,t),p.forEach(f),s=A(m),n=w(m,"P",{});var v=b(n);u=P(v,r[0]),v.forEach(f),m.forEach(f),this.h()},h(){V(l,"class","mb-4 text-2xl")},m(a,m){g(a,e,m),d(e,l),d(l,o),d(e,s),d(e,n),d(n,u)},p(a,[m]){m&1&&J(u,a[0])},i:Z,o:Z,d(a){a&&f(e)}}}function ds(r,e,l){let{notes:t=""}=e;return r.$$set=o=>{"notes"in o&&l(0,t=o.notes)},[t]}class ms extends Ie{constructor(e){super(),Te(this,e,ds,cs,De,{notes:0})}}function Pl(r){var x,S,N,ce,ee,de,_e;let e,l=_("schedules","start-time")+"",t,o,s=(((x=r[0])==null?void 0:x.startTime)??_("none"))+"",n,u,a,m=_("schedules","end-time")+"",p,v=(((S=r[0])==null?void 0:S.endTime)??_("none"))+"",h,i,c,$=_("schedules","jitter")+"",R,M=(((N=r[0])==null?void 0:N.jitter)??_("none"))+"",j,le,K,fe=_("schedules","exclusion-calendar")+"",ae,B=(((ee=(ce=r[0])==null?void 0:ce.excludeCalendar)==null?void 0:ee[0])??_("none"))+"",re,oe,X,F,pe=_("schedules","overlap-policy")+"",Y,ue=(((de=r[2])==null?void 0:de.overlapPolicy)??_("none"))+"",se,E=((_e=r[1])==null?void 0:_e.limitedActions)&&Rl(r);return{c(){e=k("p"),t=D(l),o=W(),n=D(s),u=W(),a=k("p"),p=D(m),h=D(v),i=W(),c=k("p"),R=D($),j=D(M),le=W(),K=k("p"),ae=D(fe),re=D(B),oe=W(),E&&E.c(),X=W(),F=k("p"),Y=D(pe),se=D(ue)},l(I){e=w(I,"P",{});var L=b(e);t=P(L,l),o=A(L),n=P(L,s),L.forEach(f),u=A(I),a=w(I,"P",{});var te=b(a);p=P(te,m),h=P(te,v),te.forEach(f),i=A(I),c=w(I,"P",{});var $e=b(c);R=P($e,$),j=P($e,M),$e.forEach(f),le=A(I),K=w(I,"P",{});var he=b(K);ae=P(he,fe),re=P(he,B),he.forEach(f),oe=A(I),E&&E.l(I),X=A(I),F=w(I,"P",{});var y=b(F);Y=P(y,pe),se=P(y,ue),y.forEach(f)},m(I,L){g(I,e,L),d(e,t),d(e,o),d(e,n),g(I,u,L),g(I,a,L),d(a,p),d(a,h),g(I,i,L),g(I,c,L),d(c,R),d(c,j),g(I,le,L),g(I,K,L),d(K,ae),d(K,re),g(I,oe,L),E&&E.m(I,L),g(I,X,L),g(I,F,L),d(F,Y),d(F,se)},p(I,L){var te,$e,he,y,We,Ae,ke;L&1&&s!==(s=(((te=I[0])==null?void 0:te.startTime)??_("none"))+"")&&J(n,s),L&1&&v!==(v=((($e=I[0])==null?void 0:$e.endTime)??_("none"))+"")&&J(h,v),L&1&&M!==(M=(((he=I[0])==null?void 0:he.jitter)??_("none"))+"")&&J(j,M),L&1&&B!==(B=(((We=(y=I[0])==null?void 0:y.excludeCalendar)==null?void 0:We[0])??_("none"))+"")&&J(re,B),(Ae=I[1])!=null&&Ae.limitedActions?E?E.p(I,L):(E=Rl(I),E.c(),E.m(X.parentNode,X)):E&&(E.d(1),E=null),L&4&&ue!==(ue=(((ke=I[2])==null?void 0:ke.overlapPolicy)??_("none"))+"")&&J(se,ue)},d(I){I&&f(e),I&&f(u),I&&f(a),I&&f(i),I&&f(c),I&&f(le),I&&f(K),I&&f(oe),E&&E.d(I),I&&f(X),I&&f(F)}}}function Rl(r){var n;let e,l=_("schedules","remaining-actions")+"",t,o=(((n=r[1])==null?void 0:n.remainingActions)??_("none"))+"",s;return{c(){e=k("p"),t=D(l),s=D(o)},l(u){e=w(u,"P",{});var a=b(e);t=P(a,l),s=P(a,o),a.forEach(f)},m(u,a){g(u,e,a),d(e,t),d(e,s)},p(u,a){var m;a&2&&o!==(o=(((m=u[1])==null?void 0:m.remainingActions)??_("none"))+"")&&J(s,o)},d(u){u&&f(e)}}}function ps(r){var pe,Y,ue,se,E,x;let e,l=_("schedules","start-time")+"",t,o,s=(((pe=r[0])==null?void 0:pe.startTime)??_("none"))+"",n,u,a,m=_("schedules","end-time")+"",p,v=(((Y=r[0])==null?void 0:Y.endTime)??_("none"))+"",h,i,c,$=_("schedules","jitter")+"",R,M=(((ue=r[0])==null?void 0:ue.jitter)??_("none"))+"",j,le,K,fe=_("schedules","exclusion-calendar")+"",ae,B=(((E=(se=r[0])==null?void 0:se.excludeCalendar)==null?void 0:E[0])??_("none"))+"",re,oe,X,F=((x=r[1])==null?void 0:x.limitedActions)&&Pl(r);return{c(){e=k("p"),t=D(l),o=W(),n=D(s),u=W(),a=k("p"),p=D(m),h=D(v),i=W(),c=k("p"),R=D($),j=D(M),le=W(),K=k("p"),ae=D(fe),re=D(B),oe=W(),F&&F.c(),X=ie()},l(S){e=w(S,"P",{});var N=b(e);t=P(N,l),o=A(N),n=P(N,s),N.forEach(f),u=A(S),a=w(S,"P",{});var ce=b(a);p=P(ce,m),h=P(ce,v),ce.forEach(f),i=A(S),c=w(S,"P",{});var ee=b(c);R=P(ee,$),j=P(ee,M),ee.forEach(f),le=A(S),K=w(S,"P",{});var de=b(K);ae=P(de,fe),re=P(de,B),de.forEach(f),oe=A(S),F&&F.l(S),X=ie()},m(S,N){g(S,e,N),d(e,t),d(e,o),d(e,n),g(S,u,N),g(S,a,N),d(a,p),d(a,h),g(S,i,N),g(S,c,N),d(c,R),d(c,j),g(S,le,N),g(S,K,N),d(K,ae),d(K,re),g(S,oe,N),F&&F.m(S,N),g(S,X,N)},p(S,N){var ce,ee,de,_e,I,L;N&1&&s!==(s=(((ce=S[0])==null?void 0:ce.startTime)??_("none"))+"")&&J(n,s),N&1&&v!==(v=(((ee=S[0])==null?void 0:ee.endTime)??_("none"))+"")&&J(h,v),N&1&&M!==(M=(((de=S[0])==null?void 0:de.jitter)??_("none"))+"")&&J(j,M),N&1&&B!==(B=(((I=(_e=S[0])==null?void 0:_e.excludeCalendar)==null?void 0:I[0])??_("none"))+"")&&J(re,B),(L=S[1])!=null&&L.limitedActions?F?F.p(S,N):(F=Pl(S),F.c(),F.m(X.parentNode,X)):F&&(F.d(1),F=null)},d(S){S&&f(e),S&&f(u),S&&f(a),S&&f(i),S&&f(c),S&&f(le),S&&f(K),S&&f(oe),F&&F.d(S),S&&f(X)}}}function _s(r){let e,l,t,o;return e=new ms({props:{notes:r[3]}}),t=new ls({props:{title:_("schedules","advanced-settings"),$$slots:{default:[ps]},$$scope:{ctx:r}}}),{c(){U(e.$$.fragment),l=W(),U(t.$$.fragment)},l(s){O(e.$$.fragment,s),l=A(s),O(t.$$.fragment,s)},m(s,n){z(e,s,n),g(s,l,n),z(t,s,n),o=!0},p(s,[n]){const u={};n&8&&(u.notes=s[3]),e.$set(u);const a={};n&23&&(a.$$scope={dirty:n,ctx:s}),t.$set(a)},i(s){o||(H(e.$$.fragment,s),H(t.$$.fragment,s),o=!0)},o(s){C(e.$$.fragment,s),C(t.$$.fragment,s),o=!1},d(s){G(e,s),s&&f(l),G(t,s)}}}function hs(r,e,l){let{spec:t}=e,{state:o}=e,{policies:s}=e,{notes:n=""}=e;return r.$$set=u=>{"spec"in u&&l(0,t=u.spec),"state"in u&&l(1,o=u.state),"policies"in u&&l(2,s=u.policies),"notes"in u&&l(3,n=u.notes)},[t,o,s,n]}class $s extends Ie{constructor(e){super(),Te(this,e,hs,_s,De,{spec:0,state:1,policies:2,notes:3})}}function vs(r){let e,l,t;const o=r[3].default,s=Jl(o,r,r[2],null);return{c(){e=k("div"),s&&s.c(),this.h()},l(n){e=w(n,"DIV",{class:!0});var u=b(e);s&&s.l(u),u.forEach(f),this.h()},h(){V(e,"class",l="panel bg-white "+r[1].class+" svelte-11fqqfg"),$l(e,"error",r[0])},m(n,u){g(n,e,u),s&&s.m(e,null),t=!0},p(n,[u]){s&&s.p&&(!t||u&4)&&Kl(s,o,n,n[2],t?Zl(o,n[2],u,null):Ql(n[2]),null),(!t||u&2&&l!==(l="panel bg-white "+n[1].class+" svelte-11fqqfg"))&&V(e,"class",l),(!t||u&3)&&$l(e,"error",n[0])},i(n){t||(H(s,n),t=!0)},o(n){C(s,n),t=!1},d(n){n&&f(e),s&&s.d(n)}}}function gs(r,e,l){let{$$slots:t={},$$scope:o}=e,{error:s=!1}=e;return r.$$set=n=>{l(1,e=vl(vl({},e),gl(n))),"error"in n&&l(0,s=n.error),"$$scope"in n&&l(2,o=n.$$scope)},e=gl(e),[s,e,o,t]}class Ge extends Ie{constructor(e){super(),Te(this,e,gs,vs,De,{error:0})}}function ks(r){let e,l=_("schedules","error-title")+"",t,o,s,n;return{c(){e=k("p"),t=D(l),o=W(),s=k("p"),n=D(r[0]),this.h()},l(u){e=w(u,"P",{class:!0});var a=b(e);t=P(a,l),a.forEach(f),o=A(u),s=w(u,"P",{class:!0});var m=b(s);n=P(m,r[0]),m.forEach(f),this.h()},h(){V(e,"class","error-text svelte-1lke5yx"),V(s,"class","error-text svelte-1lke5yx")},m(u,a){g(u,e,a),d(e,t),g(u,o,a),g(u,s,a),d(s,n)},p(u,a){a&1&&J(n,u[0])},d(u){u&&f(e),u&&f(o),u&&f(s)}}}function ws(r){let e,l;return e=new Ge({props:{error:!0,$$slots:{default:[ks]},$$scope:{ctx:r}}}),{c(){U(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,o){z(e,t,o),l=!0},p(t,[o]){const s={};o&3&&(s.$$scope={dirty:o,ctx:t}),e.$set(s)},i(t){l||(H(e.$$.fragment,t),l=!0)},o(t){C(e.$$.fragment,t),l=!1},d(t){G(e,t)}}}function bs(r,e,l){let{error:t=""}=e;return r.$$set=o=>{"error"in o&&l(0,t=o.error)},[t]}class Ll extends Ie{constructor(e){super(),Te(this,e,bs,ws,De,{error:0})}}function Es(r){let e,l=_("schedules","schedule-spec")+"",t,o,s,n,u;return n=new ss({props:{calendar:r[0],interval:r[1],class:"text-base"}}),{c(){e=k("h2"),t=D(l),o=W(),s=k("div"),U(n.$$.fragment),this.h()},l(a){e=w(a,"H2",{class:!0});var m=b(e);t=P(m,l),m.forEach(f),o=A(a),s=w(a,"DIV",{class:!0});var p=b(s);O(n.$$.fragment,p),p.forEach(f),this.h()},h(){V(e,"class","mb-4 text-2xl"),V(s,"class","pr-2")},m(a,m){g(a,e,m),d(e,t),g(a,o,m),g(a,s,m),z(n,s,null),u=!0},p(a,m){const p={};m&1&&(p.calendar=a[0]),m&2&&(p.interval=a[1]),n.$set(p)},i(a){u||(H(n.$$.fragment,a),u=!0)},o(a){C(n.$$.fragment,a),u=!1},d(a){a&&f(e),a&&f(o),a&&f(s),G(n)}}}function Is(r){let e,l;return e=new Ge({props:{$$slots:{default:[Es]},$$scope:{ctx:r}}}),{c(){U(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,o){z(e,t,o),l=!0},p(t,[o]){const s={};o&7&&(s.$$scope={dirty:o,ctx:t}),e.$set(s)},i(t){l||(H(e.$$.fragment,t),l=!0)},o(t){C(e.$$.fragment,t),l=!1},d(t){G(e,t)}}}function Ts(r,e,l){let{calendar:t=void 0}=e,{interval:o=void 0}=e;return r.$$set=s=>{"calendar"in s&&l(0,t=s.calendar),"interval"in s&&l(1,o=s.interval)},[t,o]}class Ds extends Ie{constructor(e){super(),Te(this,e,Ts,Is,De,{calendar:0,interval:1})}}function Sl(r,e,l){const t=r.slice();return t[5]=e[l],t}function Ps(r){let e,l,t,o,s=r[5].startWorkflowResult.workflowId+"",n,u,a,m,p=ge(r[5].actualTime,r[2],{relative:r[3]})+"",v;return{c(){e=k("div"),l=k("div"),t=W(),o=k("div"),n=D(s),u=W(),a=k("div"),m=k("p"),v=D(p),this.h()},l(h){e=w(h,"DIV",{class:!0});var i=b(e);l=w(i,"DIV",{class:!0}),b(l).forEach(f),t=A(i),o=w(i,"DIV",{class:!0});var c=b(o);n=P(c,s),c.forEach(f),u=A(i),a=w(i,"DIV",{class:!0});var $=b(a);m=w($,"P",{});var R=b(m);v=P(R,p),R.forEach(f),$.forEach(f),i.forEach(f),this.h()},h(){V(l,"class","w-28"),V(o,"class","w-96"),V(a,"class","ml-auto"),V(e,"class","row svelte-lqpjgu")},m(h,i){g(h,e,i),d(e,l),d(e,t),d(e,o),d(o,n),d(e,u),d(e,a),d(a,m),d(m,v)},p(h,i){i&1&&s!==(s=h[5].startWorkflowResult.workflowId+"")&&J(n,s),i&13&&p!==(p=ge(h[5].actualTime,h[2],{relative:h[3]})+"")&&J(v,p)},i:Z,o:Z,d(h){h&&f(e)}}}function Rs(r){let e,l,t,o,s,n,u,a,m,p=ge(r[5].actualTime,r[2],{relative:r[3]})+"",v,h;return t=new Nl({props:{status:r[8].status}}),n=new ze({props:{newTab:!0,href:Il({workflow:r[5].startWorkflowResult.workflowId,run:r[5].startWorkflowResult.runId,namespace:r[1]}),$$slots:{default:[Ss]},$$scope:{ctx:r}}}),{c(){e=k("div"),l=k("div"),U(t.$$.fragment),o=W(),s=k("div"),U(n.$$.fragment),u=W(),a=k("div"),m=k("p"),v=D(p),this.h()},l(i){e=w(i,"DIV",{class:!0});var c=b(e);l=w(c,"DIV",{class:!0});var $=b(l);O(t.$$.fragment,$),$.forEach(f),o=A(c),s=w(c,"DIV",{class:!0});var R=b(s);O(n.$$.fragment,R),R.forEach(f),u=A(c),a=w(c,"DIV",{class:!0});var M=b(a);m=w(M,"P",{});var j=b(m);v=P(j,p),j.forEach(f),M.forEach(f),c.forEach(f),this.h()},h(){V(l,"class","w-28"),V(s,"class","w-auto break-words mx-2"),V(a,"class","ml-auto"),V(e,"class","row svelte-lqpjgu")},m(i,c){g(i,e,c),d(e,l),z(t,l,null),d(e,o),d(e,s),z(n,s,null),d(e,u),d(e,a),d(a,m),d(m,v),h=!0},p(i,c){const $={};c&3&&($.status=i[8].status),t.$set($);const R={};c&3&&(R.href=Il({workflow:i[5].startWorkflowResult.workflowId,run:i[5].startWorkflowResult.runId,namespace:i[1]})),c&513&&(R.$$scope={dirty:c,ctx:i}),n.$set(R),(!h||c&13)&&p!==(p=ge(i[5].actualTime,i[2],{relative:i[3]})+"")&&J(v,p)},i(i){h||(H(t.$$.fragment,i),H(n.$$.fragment,i),h=!0)},o(i){C(t.$$.fragment,i),C(n.$$.fragment,i),h=!1},d(i){i&&f(e),G(t),G(n)}}}function Ss(r){let e=r[5].startWorkflowResult.workflowId+"",l;return{c(){l=D(e)},l(t){l=P(t,e)},m(t,o){g(t,l,o)},p(t,o){o&1&&e!==(e=t[5].startWorkflowResult.workflowId+"")&&J(l,e)},d(t){t&&f(l)}}}function Vs(r){return{c:Z,l:Z,m:Z,p:Z,i:Z,o:Z,d:Z}}function Vl(r,e){let l,t,o,s,n={ctx:e,current:null,token:null,hasCatch:!0,pending:Vs,then:Rs,catch:Ps,value:8,blocks:[,,,]};return Oe(o=El({namespace:e[1],workflowId:Xe(e[5].startWorkflowResult.workflowId),runId:e[5].startWorkflowResult.runId},fetch),n),{key:r,first:null,c(){l=ie(),t=ie(),n.block.c(),this.h()},l(u){l=ie(),t=ie(),n.block.l(u),this.h()},h(){this.first=l},m(u,a){g(u,l,a),g(u,t,a),n.block.m(u,n.anchor=a),n.mount=()=>t.parentNode,n.anchor=t,s=!0},p(u,a){e=u,n.ctx=e,a&3&&o!==(o=El({namespace:e[1],workflowId:Xe(e[5].startWorkflowResult.workflowId),runId:e[5].startWorkflowResult.runId},fetch))&&Oe(o,n)||Ml(n,e,a)},i(u){s||(H(n.block),s=!0)},o(u){for(let a=0;a<3;a+=1){const m=n.blocks[a];C(m)}s=!1},d(u){u&&f(l),u&&f(t),n.block.d(u),n.token=null,n=null}}}function Wl(r){let e,l;return e=new os({props:{title:_("schedules","recent-runs-empty-state-title")}}),{c(){U(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,o){z(e,t,o),l=!0},p:Z,i(t){l||(H(e.$$.fragment,t),l=!0)},o(t){C(e.$$.fragment,t),l=!1},d(t){G(e,t)}}}function Ws(r){let e,l=_("schedules","recent-runs")+"",t,o,s=[],n=new Map,u,a,m,p=r[4](r[0]);const v=i=>{var c,$;return($=(c=i[5])==null?void 0:c.startWorkflowResult)==null?void 0:$.workflowId};for(let i=0;i{h=null}),Ue()):h?(h.p(i,c),c&1&&H(h,1)):(h=Wl(),h.c(),H(h,1),h.m(a.parentNode,a))},i(i){if(!m){for(let c=0;cl(2,t=a)),ve(r,ye,a=>l(3,o=a));let{recentRuns:s=[]}=e,{namespace:n}=e;const u=a=>{var m,p;return(p=(m=a==null?void 0:a.sort((v,h)=>new Date(h.actualTime).getTime()-new Date(v.actualTime).getTime()))===null||m===void 0?void 0:m.slice(0,5))!==null&&p!==void 0?p:[]};return r.$$set=a=>{"recentRuns"in a&&l(0,s=a.recentRuns),"namespace"in a&&l(1,n=a.namespace)},[s,n,t,o,u]}class Hs extends Ie{constructor(e){super(),Te(this,e,qs,As,De,{recentRuns:0,namespace:1})}}function Al(r,e,l){const t=r.slice();return t[3]=e[l],t}function ql(r){let e,l,t=ge(r[3],r[1],{relative:r[2],relativeLabel:_("from-now")})+"",o,s;return{c(){e=k("div"),l=k("p"),o=D(t),s=W(),this.h()},l(n){e=w(n,"DIV",{class:!0});var u=b(e);l=w(u,"P",{});var a=b(l);o=P(a,t),a.forEach(f),s=A(u),u.forEach(f),this.h()},h(){V(e,"class","row svelte-kbuuws")},m(n,u){g(n,e,u),d(e,l),d(l,o),d(e,s)},p(n,u){u&7&&t!==(t=ge(n[3],n[1],{relative:n[2],relativeLabel:_("from-now")})+"")&&J(o,t)},d(n){n&&f(e)}}}function Cs(r){let e,l=_("schedules","upcoming-runs")+"",t,o,s,n=r[0].slice(0,5),u=[];for(let a=0;al(1,t=n)),ve(r,ye,n=>l(2,o=n));let{futureRuns:s=[]}=e;return r.$$set=n=>{"futureRuns"in n&&l(0,s=n.futureRuns)},[s,t,o]}class Ns extends Ie{constructor(e){super(),Te(this,e,Fs,Ms,De,{futureRuns:0})}}function js(r){var i;let e,l,t,o,s,n,u,a,m,p,v,h;return t=new ze({props:{icon:"chevron-left",$$slots:{default:[Ls]},$$scope:{ctx:r}}}),t.$on("click",r[25]),v=new Ll({props:{error:(i=r[7])==null?void 0:i.message}}),{c(){e=k("header"),l=k("div"),U(t.$$.fragment),o=W(),s=k("h1"),n=D(r[9]),u=W(),a=k("p"),m=D(r[8]),p=W(),U(v.$$.fragment),this.h()},l(c){e=w(c,"HEADER",{class:!0});var $=b(e);l=w($,"DIV",{class:!0});var R=b(l);O(t.$$.fragment,R),o=A(R),s=w(R,"H1",{class:!0,"data-testid":!0});var M=b(s);n=P(M,r[9]),M.forEach(f),u=A(R),a=w(R,"P",{class:!0});var j=b(a);m=P(j,r[8]),j.forEach(f),R.forEach(f),$.forEach(f),p=A(c),O(v.$$.fragment,c),this.h()},h(){V(s,"class","text-2xl mt-8 font-medium select-all"),V(s,"data-testid","schedule-name"),V(a,"class","text-sm"),V(l,"class","flex flex-col gap-1 relative"),V(e,"class","mb-8")},m(c,$){g(c,e,$),d(e,l),z(t,l,null),d(l,o),d(l,s),d(s,n),d(l,u),d(l,a),d(a,m),g(c,p,$),z(v,c,$),h=!0},p(c,$){var j;const R={};$&1073741824&&(R.$$scope={dirty:$,ctx:c}),t.$set(R);const M={};$&1&&(M.error=(j=c[7])==null?void 0:j.message),v.$set(M)},i(c){h||(H(t.$$.fragment,c),H(v.$$.fragment,c),h=!0)},o(c){C(t.$$.fragment,c),C(v.$$.fragment,c),h=!1},d(c){c&&f(e),G(t),c&&f(p),G(v,c)}}}function Ls(r){let e=_("schedules","back-to-schedules")+"",l;return{c(){l=D(e)},l(t){l=P(t,e)},m(t,o){g(t,l,o)},p:Z,d(t){t&&f(l)}}}function Us(r){let e,l,t,o;const s=[zs,Os],n=[];function u(a,m){return a[4]?0:1}return e=u(r),l=n[e]=s[e](r),{c(){l.c(),t=ie()},l(a){l.l(a),t=ie()},m(a,m){n[e].m(a,m),g(a,t,m),o=!0},p(a,m){let p=e;e=u(a),e===p?n[e].p(a,m):(Le(),C(n[p],1,1,()=>{n[p]=null}),Ue(),l=n[e],l?l.p(a,m):(l=n[e]=s[e](a),l.c()),H(l,1),l.m(t.parentNode,t))},i(a){o||(H(l),o=!0)},o(a){C(l),o=!1},d(a){n[e].d(a),a&&f(t)}}}function Os(r){var et,tt,lt,st,rt,nt,at,ot,ut,ft,it,ct,dt,mt,pt,_t,ht,$t,vt,gt,kt,wt,bt,Et,It,Tt,Dt,Pt,Rt,St,Vt,Wt,At,qt,Ht,Ct,Mt;let e,l,t,o,s,n,u,a,m,p,v,h,i,c,$,R,M,j=((rt=(st=(lt=(tt=(et=r[29])==null?void 0:et.schedule)==null?void 0:tt.action)==null?void 0:lt.startWorkflow)==null?void 0:st.workflowType)==null?void 0:rt.name)+"",le,K,fe,ae,B=_("created",{created:ge((at=(nt=r[29])==null?void 0:nt.info)==null?void 0:at.createTime,r[5],{relative:r[6]})})+"",re,oe,X,F,pe,Y,ue,se,E,x,S,N,ce,ee,de,_e,I,L,te,$e,he,y,We,Ae,ke;t=new ze({props:{icon:"chevron-left",$$slots:{default:[Gs]},$$scope:{ctx:r}}}),t.$on("click",r[17]),n=new Nl({props:{status:(ot=r[29])!=null&&ot.schedule.state.paused?"Paused":"Running"}});let ne=((ft=(ut=r[29])==null?void 0:ut.info)==null?void 0:ft.updateTime)&&Hl(r);F=new fs({props:{position:"right",label:(dt=(ct=(it=r[29])==null?void 0:it.schedule)==null?void 0:ct.state)!=null&&dt.paused?_("schedules","unpause"):_("schedules","pause"),menuLabel:_("schedules","schedule-actions"),id:"schedule-actions",disabled:r[11],$$slots:{default:[Qs]},$$scope:{ctx:r}}}),F.$on("click",r[19]);let Q=((pt=(mt=r[29])==null?void 0:mt.info)==null?void 0:pt.invalidScheduleError)&&Cl(r);x=new Hs({props:{namespace:r[8],recentRuns:(ht=(_t=r[29])==null?void 0:_t.info)==null?void 0:ht.recentActions}}),N=new Ns({props:{futureRuns:(vt=($t=r[29])==null?void 0:$t.info)==null?void 0:vt.futureActionTimes}}),ee=new $s({props:{spec:(kt=(gt=r[29])==null?void 0:gt.schedule)==null?void 0:kt.spec,state:(bt=(wt=r[29])==null?void 0:wt.schedule)==null?void 0:bt.state,policies:(It=(Et=r[29])==null?void 0:Et.schedule)==null?void 0:It.policies,notes:(Pt=(Dt=(Tt=r[29])==null?void 0:Tt.schedule)==null?void 0:Dt.state)==null?void 0:Pt.notes}}),I=new Ds({props:{calendar:(Wt=(Vt=(St=(Rt=r[29])==null?void 0:Rt.schedule)==null?void 0:St.spec)==null?void 0:Vt.structuredCalendar)==null?void 0:Wt[0],interval:(Ct=(Ht=(qt=(At=r[29])==null?void 0:At.schedule)==null?void 0:qt.spec)==null?void 0:Ht.interval)==null?void 0:Ct[0]}});function Ul(T){r[21](T)}function Ol(){return r[22](r[29])}let xe={id:"pause-schedule-modal",confirmType:"primary",confirmText:(Mt=r[29])!=null&&Mt.schedule.state.paused?_("schedules","unpause"):_("schedules","pause"),cancelText:_("cancel"),confirmDisabled:!r[3],$$slots:{content:[Bs],title:[Zs]},$$scope:{ctx:r}};r[1]!==void 0&&(xe.open=r[1]),te=new Dl({props:xe}),Qe.push(()=>Ze(te,"open",Ul)),te.$on("confirmModal",Ol),te.$on("cancelModal",r[14]);function zl(T){r[23](T)}function Gl(T){r[24](T)}let Je={id:"delete-schedule-modal",confirmType:"destructive",confirmText:_("delete"),cancelText:_("cancel"),$$slots:{content:[Ys],title:[Xs]},$$scope:{ctx:r}};return r[2]!==void 0&&(Je.open=r[2]),r[7]!==void 0&&(Je.error=r[7]),y=new Dl({props:Je}),Qe.push(()=>Ze(y,"open",zl)),Qe.push(()=>Ze(y,"error",Gl)),y.$on("confirmModal",r[12]),y.$on("cancelModal",r[14]),{c(){e=k("header"),l=k("div"),U(t.$$.fragment),o=W(),s=k("h1"),U(n.$$.fragment),u=W(),a=k("span"),m=D(r[9]),p=W(),v=k("div"),h=k("p"),i=D(r[8]),c=W(),$=k("div"),R=W(),M=k("p"),le=D(j),K=W(),fe=k("div"),ae=k("p"),re=D(B),oe=W(),ne&&ne.c(),X=W(),U(F.$$.fragment),pe=W(),Y=k("div"),Q&&Q.c(),ue=W(),se=k("div"),E=k("div"),U(x.$$.fragment),S=W(),U(N.$$.fragment),ce=W(),U(ee.$$.fragment),de=W(),_e=k("div"),U(I.$$.fragment),L=W(),U(te.$$.fragment),he=W(),U(y.$$.fragment),this.h()},l(T){e=w(T,"HEADER",{class:!0});var q=b(e);l=w(q,"DIV",{class:!0});var me=b(l);O(t.$$.fragment,me),o=A(me),s=w(me,"H1",{class:!0});var Se=b(s);O(n.$$.fragment,Se),u=A(Se),a=w(Se,"SPAN",{class:!0,"data-testid":!0});var qe=b(a);m=P(qe,r[9]),qe.forEach(f),Se.forEach(f),p=A(me),v=w(me,"DIV",{class:!0});var we=b(v);h=w(we,"P",{});var Ce=b(h);i=P(Ce,r[8]),Ce.forEach(f),c=A(we),$=w(we,"DIV",{class:!0}),b($).forEach(f),R=A(we),M=w(we,"P",{});var Pe=b(M);le=P(Pe,j),Pe.forEach(f),we.forEach(f),K=A(me),fe=w(me,"DIV",{class:!0});var He=b(fe);ae=w(He,"P",{});var Re=b(ae);re=P(Re,B),Re.forEach(f),He.forEach(f),oe=A(me),ne&&ne.l(me),me.forEach(f),X=A(q),O(F.$$.fragment,q),q.forEach(f),pe=A(T),Y=w(T,"DIV",{class:!0});var be=b(Y);Q&&Q.l(be),ue=A(be),se=w(be,"DIV",{class:!0});var Ve=b(se);E=w(Ve,"DIV",{class:!0});var Ee=b(E);O(x.$$.fragment,Ee),S=A(Ee),O(N.$$.fragment,Ee),ce=A(Ee),O(ee.$$.fragment,Ee),Ee.forEach(f),de=A(Ve),_e=w(Ve,"DIV",{class:!0});var Me=b(_e);O(I.$$.fragment,Me),Me.forEach(f),Ve.forEach(f),be.forEach(f),L=A(T),O(te.$$.fragment,T),he=A(T),O(y.$$.fragment,T),this.h()},h(){V(a,"class","font-medium select-all"),V(a,"data-testid","schedule-name"),V(s,"class","text-2xl flex relative items-center gap-4 mt-8"),V($,"class","w-1 h-1 rounded-full bg-gray-900"),V(v,"class","flex items-center gap-2 text-sm"),V(fe,"class","flex items-center gap-2 text-sm"),V(l,"class","flex flex-col gap-1 relative"),V(e,"class","flex flex-row justify-between gap-4 mb-8"),V(E,"class","w-full flex flex-col items-start gap-4 xl:w-2/3"),V(_e,"class","w-full xl:w-1/3"),V(se,"class","flex flex-col xl:flex-row gap-4"),V(Y,"class","flex flex-col gap-4 pb-24")},m(T,q){g(T,e,q),d(e,l),z(t,l,null),d(l,o),d(l,s),z(n,s,null),d(s,u),d(s,a),d(a,m),d(l,p),d(l,v),d(v,h),d(h,i),d(v,c),d(v,$),d(v,R),d(v,M),d(M,le),d(l,K),d(l,fe),d(fe,ae),d(ae,re),d(l,oe),ne&&ne.m(l,null),d(e,X),z(F,e,null),g(T,pe,q),g(T,Y,q),Q&&Q.m(Y,null),d(Y,ue),d(Y,se),d(se,E),z(x,E,null),d(E,S),z(N,E,null),d(E,ce),z(ee,E,null),d(se,de),d(se,_e),z(I,_e,null),g(T,L,q),z(te,T,q),g(T,he,q),z(y,T,q),ke=!0},p(T,q){var Ve,Ee,Me,Ft,Nt,jt,Lt,Ut,Ot,zt,Gt,Jt,Kt,Qt,Zt,Bt,Xt,Yt,yt,xt,el,tl,ll,sl,rl,nl,al,ol,ul,fl,il,cl,dl,ml,pl,_l,hl;r=T;const me={};q&1073741824&&(me.$$scope={dirty:q,ctx:r}),t.$set(me);const Se={};q&1&&(Se.status=(Ve=r[29])!=null&&Ve.schedule.state.paused?"Paused":"Running"),n.$set(Se),(!ke||q&1)&&j!==(j=((jt=(Nt=(Ft=(Me=(Ee=r[29])==null?void 0:Ee.schedule)==null?void 0:Me.action)==null?void 0:Ft.startWorkflow)==null?void 0:Nt.workflowType)==null?void 0:jt.name)+"")&&J(le,j),(!ke||q&97)&&B!==(B=_("created",{created:ge((Ut=(Lt=r[29])==null?void 0:Lt.info)==null?void 0:Ut.createTime,r[5],{relative:r[6]})})+"")&&J(re,B),(zt=(Ot=r[29])==null?void 0:Ot.info)!=null&&zt.updateTime?ne?ne.p(r,q):(ne=Hl(r),ne.c(),ne.m(l,null)):ne&&(ne.d(1),ne=null);const qe={};q&1&&(qe.label=(Kt=(Jt=(Gt=r[29])==null?void 0:Gt.schedule)==null?void 0:Jt.state)!=null&&Kt.paused?_("schedules","unpause"):_("schedules","pause")),q&1073741828&&(qe.$$scope={dirty:q,ctx:r}),F.$set(qe),(Zt=(Qt=r[29])==null?void 0:Qt.info)!=null&&Zt.invalidScheduleError?Q?(Q.p(r,q),q&1&&H(Q,1)):(Q=Cl(r),Q.c(),H(Q,1),Q.m(Y,ue)):Q&&(Le(),C(Q,1,1,()=>{Q=null}),Ue());const we={};q&1&&(we.recentRuns=(Xt=(Bt=r[29])==null?void 0:Bt.info)==null?void 0:Xt.recentActions),x.$set(we);const Ce={};q&1&&(Ce.futureRuns=(yt=(Yt=r[29])==null?void 0:Yt.info)==null?void 0:yt.futureActionTimes),N.$set(Ce);const Pe={};q&1&&(Pe.spec=(el=(xt=r[29])==null?void 0:xt.schedule)==null?void 0:el.spec),q&1&&(Pe.state=(ll=(tl=r[29])==null?void 0:tl.schedule)==null?void 0:ll.state),q&1&&(Pe.policies=(rl=(sl=r[29])==null?void 0:sl.schedule)==null?void 0:rl.policies),q&1&&(Pe.notes=(ol=(al=(nl=r[29])==null?void 0:nl.schedule)==null?void 0:al.state)==null?void 0:ol.notes),ee.$set(Pe);const He={};q&1&&(He.calendar=(cl=(il=(fl=(ul=r[29])==null?void 0:ul.schedule)==null?void 0:fl.spec)==null?void 0:il.structuredCalendar)==null?void 0:cl[0]),q&1&&(He.interval=(_l=(pl=(ml=(dl=r[29])==null?void 0:dl.schedule)==null?void 0:ml.spec)==null?void 0:pl.interval)==null?void 0:_l[0]),I.$set(He);const Re={};q&1&&(Re.confirmText=(hl=r[29])!=null&&hl.schedule.state.paused?_("schedules","unpause"):_("schedules","pause")),q&8&&(Re.confirmDisabled=!r[3]),q&1073741833&&(Re.$$scope={dirty:q,ctx:r}),!$e&&q&2&&($e=!0,Re.open=r[1],Be(()=>$e=!1)),te.$set(Re);const be={};q&1073741824&&(be.$$scope={dirty:q,ctx:r}),!We&&q&4&&(We=!0,be.open=r[2],Be(()=>We=!1)),!Ae&&q&128&&(Ae=!0,be.error=r[7],Be(()=>Ae=!1)),y.$set(be)},i(T){ke||(H(t.$$.fragment,T),H(n.$$.fragment,T),H(F.$$.fragment,T),H(Q),H(x.$$.fragment,T),H(N.$$.fragment,T),H(ee.$$.fragment,T),H(I.$$.fragment,T),H(te.$$.fragment,T),H(y.$$.fragment,T),ke=!0)},o(T){C(t.$$.fragment,T),C(n.$$.fragment,T),C(F.$$.fragment,T),C(Q),C(x.$$.fragment,T),C(N.$$.fragment,T),C(ee.$$.fragment,T),C(I.$$.fragment,T),C(te.$$.fragment,T),C(y.$$.fragment,T),ke=!1},d(T){T&&f(e),G(t),G(n),ne&&ne.d(),G(F),T&&f(pe),T&&f(Y),Q&&Q.d(),G(x),G(N),G(ee),G(I),T&&f(L),G(te,T),T&&f(he),G(y,T)}}}function zs(r){let e,l;return e=new jl({props:{title:_("schedules","deleting"),class:"my-2"}}),{c(){U(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,o){z(e,t,o),l=!0},p:Z,i(t){l||(H(e.$$.fragment,t),l=!0)},o(t){C(e.$$.fragment,t),l=!1},d(t){G(e,t)}}}function Gs(r){let e=_("schedules","back-to-schedules")+"",l;return{c(){l=D(e)},l(t){l=P(t,e)},m(t,o){g(t,l,o)},p:Z,d(t){t&&f(l)}}}function Hl(r){var s,n;let e,l,t=_("last-updated",{updated:ge((n=(s=r[29])==null?void 0:s.info)==null?void 0:n.updateTime,r[5],{relative:r[6]})})+"",o;return{c(){e=k("div"),l=k("p"),o=D(t),this.h()},l(u){e=w(u,"DIV",{class:!0});var a=b(e);l=w(a,"P",{});var m=b(l);o=P(m,t),m.forEach(f),a.forEach(f),this.h()},h(){V(e,"class","flex items-center gap-2 text-sm")},m(u,a){g(u,e,a),d(e,l),d(l,o)},p(u,a){var m,p;a&97&&t!==(t=_("last-updated",{updated:ge((p=(m=u[29])==null?void 0:m.info)==null?void 0:p.updateTime,u[5],{relative:u[6]})})+"")&&J(o,t)},d(u){u&&f(e)}}}function Js(r){let e=_("edit")+"",l;return{c(){l=D(e)},l(t){l=P(t,e)},m(t,o){g(t,l,o)},p:Z,d(t){t&&f(l)}}}function Ks(r){let e=_("delete")+"",l;return{c(){l=D(e)},l(t){l=P(t,e)},m(t,o){g(t,l,o)},p:Z,d(t){t&&f(l)}}}function Qs(r){let e,l,t,o;return e=new Tl({props:{"data-testid":"edit-schedule",href:us({namespace:r[8],scheduleId:r[9]}),$$slots:{default:[Js]},$$scope:{ctx:r}}}),t=new Tl({props:{"data-testid":"delete-schedule",destructive:!0,$$slots:{default:[Ks]},$$scope:{ctx:r}}}),t.$on("click",r[18]),{c(){U(e.$$.fragment),l=W(),U(t.$$.fragment)},l(s){O(e.$$.fragment,s),l=A(s),O(t.$$.fragment,s)},m(s,n){z(e,s,n),g(s,l,n),z(t,s,n),o=!0},p(s,n){const u={};n&1073741824&&(u.$$scope={dirty:n,ctx:s}),e.$set(u);const a={};n&1073741824&&(a.$$scope={dirty:n,ctx:s}),t.$set(a)},i(s){o||(H(e.$$.fragment,s),H(t.$$.fragment,s),o=!0)},o(s){C(e.$$.fragment,s),C(t.$$.fragment,s),o=!1},d(s){G(e,s),s&&f(l),G(t,s)}}}function Cl(r){var o,s;let e,l,t;return l=new Ll({props:{error:(s=(o=r[29])==null?void 0:o.info)==null?void 0:s.invalidScheduleError}}),{c(){e=k("div"),U(l.$$.fragment),this.h()},l(n){e=w(n,"DIV",{class:!0});var u=b(e);O(l.$$.fragment,u),u.forEach(f),this.h()},h(){V(e,"class","w-full xl:w-1/2")},m(n,u){g(n,e,u),z(l,e,null),t=!0},p(n,u){var m,p;const a={};u&1&&(a.error=(p=(m=n[29])==null?void 0:m.info)==null?void 0:p.invalidScheduleError),l.$set(a)},i(n){t||(H(l.$$.fragment,n),t=!0)},o(n){C(l.$$.fragment,n),t=!1},d(n){n&&f(e),G(l)}}}function Zs(r){var o;let e,l=((o=r[29])!=null&&o.schedule.state.paused?_("schedules","unpause-modal-title"):_("schedules","pause-modal-title"))+"",t;return{c(){e=k("h3"),t=D(l),this.h()},l(s){e=w(s,"H3",{slot:!0});var n=b(e);t=P(n,l),n.forEach(f),this.h()},h(){V(e,"slot","title")},m(s,n){g(s,e,n),d(e,t)},p(s,n){var u;n&1&&l!==(l=((u=s[29])!=null&&u.schedule.state.paused?_("schedules","unpause-modal-title"):_("schedules","pause-modal-title"))+"")&&J(t,l)},d(s){s&&f(e)}}}function Bs(r){var i,c;let e,l,t=((i=r[29])!=null&&i.schedule.state.paused?_("schedules","unpause-modal-confirmation",{schedule:r[9]}):_("schedules","pause-modal-confirmation",{schedule:r[9]}))+"",o,s,n,u=((c=r[29])!=null&&c.schedule.state.paused?_("schedules","unpause-reason"):_("schedules","pause-reason"))+"",a,m,p,v,h;return{c(){e=k("div"),l=k("p"),o=D(t),s=W(),n=k("p"),a=D(u),m=W(),p=k("input"),this.h()},l($){e=w($,"DIV",{slot:!0});var R=b(e);l=w(R,"P",{});var M=b(l);o=P(M,t),M.forEach(f),s=A(R),n=w(R,"P",{class:!0});var j=b(n);a=P(j,u),j.forEach(f),m=A(R),p=w(R,"INPUT",{class:!0,placeholder:!0}),R.forEach(f),this.h()},h(){V(n,"class","my-4"),V(p,"class","block w-full border border-gray-200 rounded-md p-2 mt-4"),V(p,"placeholder",_("reason")),V(e,"slot","content")},m($,R){g($,e,R),d(e,l),d(l,o),d(e,s),d(e,n),d(n,a),d(e,m),d(e,p),kl(p,r[3]),v||(h=[wl(p,"input",r[20]),wl(p,"keydown",xl(r[15]))],v=!0)},p($,R){var M,j;R&1&&t!==(t=((M=$[29])!=null&&M.schedule.state.paused?_("schedules","unpause-modal-confirmation",{schedule:$[9]}):_("schedules","pause-modal-confirmation",{schedule:$[9]}))+"")&&J(o,t),R&1&&u!==(u=((j=$[29])!=null&&j.schedule.state.paused?_("schedules","unpause-reason"):_("schedules","pause-reason"))+"")&&J(a,u),R&8&&p.value!==$[3]&&kl(p,$[3])},d($){$&&f(e),v=!1,es(h)}}}function Xs(r){let e,l=_("schedules","delete-modal-title")+"",t;return{c(){e=k("h3"),t=D(l),this.h()},l(o){e=w(o,"H3",{slot:!0});var s=b(e);t=P(s,l),s.forEach(f),this.h()},h(){V(e,"slot","title")},m(o,s){g(o,e,s),d(e,t)},p:Z,d(o){o&&f(e)}}}function Ys(r){let e,l,t=_("schedules","delete-modal-confirmation",{schedule:r[9]})+"",o;return{c(){e=k("div"),l=k("p"),o=D(t),this.h()},l(s){e=w(s,"DIV",{slot:!0});var n=b(e);l=w(n,"P",{});var u=b(l);o=P(u,t),u.forEach(f),n.forEach(f),this.h()},h(){V(e,"slot","content")},m(s,n){g(s,e,n),d(e,l),d(l,o)},p:Z,d(s){s&&f(e)}}}function ys(r){let e,l,t,o,s,n,u,a,m,p,v,h;return t=new ze({props:{icon:"chevron-left",$$slots:{default:[xs]},$$scope:{ctx:r}}}),t.$on("click",r[16]),v=new jl({}),{c(){e=k("header"),l=k("div"),U(t.$$.fragment),o=W(),s=k("h1"),n=D(r[9]),u=W(),a=k("p"),m=D(r[8]),p=W(),U(v.$$.fragment),this.h()},l(i){e=w(i,"HEADER",{class:!0});var c=b(e);l=w(c,"DIV",{class:!0});var $=b(l);O(t.$$.fragment,$),o=A($),s=w($,"H1",{class:!0,"data-testid":!0});var R=b(s);n=P(R,r[9]),R.forEach(f),u=A($),a=w($,"P",{class:!0});var M=b(a);m=P(M,r[8]),M.forEach(f),$.forEach(f),c.forEach(f),p=A(i),O(v.$$.fragment,i),this.h()},h(){V(s,"class","text-2xl mt-8 font-medium select-all"),V(s,"data-testid","schedule-name"),V(a,"class","text-sm"),V(l,"class","flex flex-col gap-1 relative"),V(e,"class","mb-8")},m(i,c){g(i,e,c),d(e,l),z(t,l,null),d(l,o),d(l,s),d(s,n),d(l,u),d(l,a),d(a,m),g(i,p,c),z(v,i,c),h=!0},p(i,c){const $={};c&1073741824&&($.$$scope={dirty:c,ctx:i}),t.$set($)},i(i){h||(H(t.$$.fragment,i),H(v.$$.fragment,i),h=!0)},o(i){C(t.$$.fragment,i),C(v.$$.fragment,i),h=!1},d(i){i&&f(e),G(t),i&&f(p),G(v,i)}}}function xs(r){let e=_("schedules","back-to-schedules")+"",l;return{c(){l=D(e)},l(t){l=P(t,e)},m(t,o){g(t,l,o)},p:Z,d(t){t&&f(l)}}}function er(r){let e,l,t,o={ctx:r,current:null,token:null,hasCatch:!0,pending:ys,then:Us,catch:js,value:29,error:7,blocks:[,,,]};return Oe(l=r[0],o),{c(){e=ie(),o.block.c()},l(s){e=ie(),o.block.l(s)},m(s,n){g(s,e,n),o.block.m(s,o.anchor=n),o.mount=()=>e.parentNode,o.anchor=e,t=!0},p(s,[n]){r=s,o.ctx=r,n&1&&l!==(l=r[0])&&Oe(l,o)||Ml(o,r,n)},i(s){t||(H(o.block),t=!0)},o(s){for(let n=0;n<3;n+=1){const u=o.blocks[n];C(u)}t=!1},d(s){s&&f(e),o.block.d(s),o.token=null,o=null}}}function tr(r,e,l){let t,o,s,n,u;ve(r,je,E=>l(4,t=E)),ve(r,Fl,E=>l(27,s=E)),ve(r,Ye,E=>l(5,n=E)),ve(r,ye,E=>l(6,u=E));let a=s.params.namespace,m=s.params.schedule;const p={namespace:a,scheduleId:Xe(m)};let v=bl(p),h=!1,i=!1,c="",$="",R=is();ve(r,R,E=>l(26,o=E));let M=o.namespaceWriteDisabled(a);const j=async()=>{l(7,$="");try{Ke(je,t=!0,t),await rs({namespace:a,scheduleId:m}),l(2,i=!1),setTimeout(()=>{Ke(je,t=!1,t),Fe(Ne({namespace:a}))},2e3),l(3,c="")}catch(E){l(7,$=_("schedules","delete-schedule-error",{error:E==null?void 0:E.message})),Ke(je,t=!1,t)}},le=async E=>{var x,S;!((S=(x=E==null?void 0:E.schedule)===null||x===void 0?void 0:x.state)===null||S===void 0)&&S.paused?await ns({namespace:a,scheduleId:m,reason:c}):await as({namespace:a,scheduleId:m,reason:c}),l(0,v=bl(p,fetch)),l(3,c=""),l(1,h=!1)},K=()=>{l(3,c="")};function fe(E){yl.call(this,r,E)}const ae=()=>{Fe(Ne({namespace:a}))},B=()=>{Fe(Ne({namespace:a}))},re=()=>l(2,i=!0),oe=()=>l(1,h=!0);function X(){c=this.value,l(3,c)}function F(E){h=E,l(1,h)}const pe=E=>le(E);function Y(E){i=E,l(2,i)}function ue(E){$=E,l(7,$)}return[v,h,i,c,t,n,u,$,a,m,R,M,j,le,K,fe,ae,B,re,oe,X,F,pe,Y,ue,()=>{Fe(Ne({namespace:a}))}]}class lr extends Ie{constructor(e){super(),Te(this,e,tr,er,De,{})}}function sr(r){let e,l,t,o;return e=new ts({props:{title:`Schedule | ${r[1]}`,url:r[0].url.href}}),t=new lr({}),{c(){U(e.$$.fragment),l=W(),U(t.$$.fragment)},l(s){O(e.$$.fragment,s),l=A(s),O(t.$$.fragment,s)},m(s,n){z(e,s,n),g(s,l,n),z(t,s,n),o=!0},p(s,[n]){const u={};n&1&&(u.url=s[0].url.href),e.$set(u)},i(s){o||(H(e.$$.fragment,s),H(t.$$.fragment,s),o=!0)},o(s){C(e.$$.fragment,s),C(t.$$.fragment,s),o=!1},d(s){G(e,s),s&&f(l),G(t,s)}}}function rr(r,e,l){let t;ve(r,Fl,s=>l(0,t=s));const o=t.params.schedule;return[t,o]}class Ir extends Ie{constructor(e){super(),Te(this,e,rr,sr,De,{})}}export{Ir as default}; +import{S as Ie,b as Te,a as De,m as k,w as D,c as W,p as w,q as b,x as P,k as f,d as A,u as V,f as g,L as d,y as J,n as Z,C as U,D as O,E as z,j as H,g as C,F as G,e as ie,G as Jl,P as $l,H as Kl,I as Ql,J as Zl,N as vl,U as gl,K as ve,z as Le,a9 as Bl,aa as Xl,h as Ue,ar as Oe,as as Ml,a6 as Yl,a5 as Ke,V as yl,A as Qe,Z as Ze,_ as Be,a0 as kl,Q as wl,a1 as xl,r as es}from"../chunks/index.efded970.js";import{p as Fl}from"../chunks/stores.3002bd93.js";import{P as ts}from"../chunks/page-title.a6dec5b5.js";import{g as Fe}from"../chunks/navigation.85b47b98.js";import{A as ls}from"../chunks/accordion.0b47b9b3.js";import{t as _}from"../chunks/translate.230dcc19.js";import{S as ss,a as bl,d as rs,u as ns,p as as}from"../chunks/schedule-service.ccc6562c.js";import{E as os}from"../chunks/empty-state.22810bcf.js";import{L as ze}from"../chunks/link.cac19769.js";import{i as El}from"../chunks/workflow-service.db6f5d3e.js";import{t as Ye,r as ye,b as ge}from"../chunks/format-date.be4b741e.js";import{k as Xe,f as Il,c as Ne,q as us}from"../chunks/route-for.8244bd54.js";import{W as Nl}from"../chunks/workflow-status.792f3956.js";import{L as jl}from"../chunks/loading.32266c92.js";import{d as Tl}from"../chunks/menu.9d531fff.js";import{M as Dl}from"../chunks/modal.e8d88b85.js";import{S as fs}from"../chunks/split-button.c1a13603.js";import{c as is}from"../chunks/core-user.c3fa437a.js";import{l as je}from"../chunks/schedules.80c3a2f9.js";function cs(r){let e,l,t=_("notes")+"",o,s,n,u;return{c(){e=k("div"),l=k("h2"),o=D(t),s=W(),n=k("p"),u=D(r[0]),this.h()},l(a){e=w(a,"DIV",{});var m=b(e);l=w(m,"H2",{class:!0});var p=b(l);o=P(p,t),p.forEach(f),s=A(m),n=w(m,"P",{});var v=b(n);u=P(v,r[0]),v.forEach(f),m.forEach(f),this.h()},h(){V(l,"class","mb-4 text-2xl")},m(a,m){g(a,e,m),d(e,l),d(l,o),d(e,s),d(e,n),d(n,u)},p(a,[m]){m&1&&J(u,a[0])},i:Z,o:Z,d(a){a&&f(e)}}}function ds(r,e,l){let{notes:t=""}=e;return r.$$set=o=>{"notes"in o&&l(0,t=o.notes)},[t]}class ms extends Ie{constructor(e){super(),Te(this,e,ds,cs,De,{notes:0})}}function Pl(r){var x,S,N,ce,ee,de,_e;let e,l=_("schedules","start-time")+"",t,o,s=(((x=r[0])==null?void 0:x.startTime)??_("none"))+"",n,u,a,m=_("schedules","end-time")+"",p,v=(((S=r[0])==null?void 0:S.endTime)??_("none"))+"",h,i,c,$=_("schedules","jitter")+"",R,M=(((N=r[0])==null?void 0:N.jitter)??_("none"))+"",j,le,K,fe=_("schedules","exclusion-calendar")+"",ae,B=(((ee=(ce=r[0])==null?void 0:ce.excludeCalendar)==null?void 0:ee[0])??_("none"))+"",re,oe,X,F,pe=_("schedules","overlap-policy")+"",Y,ue=(((de=r[2])==null?void 0:de.overlapPolicy)??_("none"))+"",se,E=((_e=r[1])==null?void 0:_e.limitedActions)&&Rl(r);return{c(){e=k("p"),t=D(l),o=W(),n=D(s),u=W(),a=k("p"),p=D(m),h=D(v),i=W(),c=k("p"),R=D($),j=D(M),le=W(),K=k("p"),ae=D(fe),re=D(B),oe=W(),E&&E.c(),X=W(),F=k("p"),Y=D(pe),se=D(ue)},l(I){e=w(I,"P",{});var L=b(e);t=P(L,l),o=A(L),n=P(L,s),L.forEach(f),u=A(I),a=w(I,"P",{});var te=b(a);p=P(te,m),h=P(te,v),te.forEach(f),i=A(I),c=w(I,"P",{});var $e=b(c);R=P($e,$),j=P($e,M),$e.forEach(f),le=A(I),K=w(I,"P",{});var he=b(K);ae=P(he,fe),re=P(he,B),he.forEach(f),oe=A(I),E&&E.l(I),X=A(I),F=w(I,"P",{});var y=b(F);Y=P(y,pe),se=P(y,ue),y.forEach(f)},m(I,L){g(I,e,L),d(e,t),d(e,o),d(e,n),g(I,u,L),g(I,a,L),d(a,p),d(a,h),g(I,i,L),g(I,c,L),d(c,R),d(c,j),g(I,le,L),g(I,K,L),d(K,ae),d(K,re),g(I,oe,L),E&&E.m(I,L),g(I,X,L),g(I,F,L),d(F,Y),d(F,se)},p(I,L){var te,$e,he,y,We,Ae,ke;L&1&&s!==(s=(((te=I[0])==null?void 0:te.startTime)??_("none"))+"")&&J(n,s),L&1&&v!==(v=((($e=I[0])==null?void 0:$e.endTime)??_("none"))+"")&&J(h,v),L&1&&M!==(M=(((he=I[0])==null?void 0:he.jitter)??_("none"))+"")&&J(j,M),L&1&&B!==(B=(((We=(y=I[0])==null?void 0:y.excludeCalendar)==null?void 0:We[0])??_("none"))+"")&&J(re,B),(Ae=I[1])!=null&&Ae.limitedActions?E?E.p(I,L):(E=Rl(I),E.c(),E.m(X.parentNode,X)):E&&(E.d(1),E=null),L&4&&ue!==(ue=(((ke=I[2])==null?void 0:ke.overlapPolicy)??_("none"))+"")&&J(se,ue)},d(I){I&&f(e),I&&f(u),I&&f(a),I&&f(i),I&&f(c),I&&f(le),I&&f(K),I&&f(oe),E&&E.d(I),I&&f(X),I&&f(F)}}}function Rl(r){var n;let e,l=_("schedules","remaining-actions")+"",t,o=(((n=r[1])==null?void 0:n.remainingActions)??_("none"))+"",s;return{c(){e=k("p"),t=D(l),s=D(o)},l(u){e=w(u,"P",{});var a=b(e);t=P(a,l),s=P(a,o),a.forEach(f)},m(u,a){g(u,e,a),d(e,t),d(e,s)},p(u,a){var m;a&2&&o!==(o=(((m=u[1])==null?void 0:m.remainingActions)??_("none"))+"")&&J(s,o)},d(u){u&&f(e)}}}function ps(r){var pe,Y,ue,se,E,x;let e,l=_("schedules","start-time")+"",t,o,s=(((pe=r[0])==null?void 0:pe.startTime)??_("none"))+"",n,u,a,m=_("schedules","end-time")+"",p,v=(((Y=r[0])==null?void 0:Y.endTime)??_("none"))+"",h,i,c,$=_("schedules","jitter")+"",R,M=(((ue=r[0])==null?void 0:ue.jitter)??_("none"))+"",j,le,K,fe=_("schedules","exclusion-calendar")+"",ae,B=(((E=(se=r[0])==null?void 0:se.excludeCalendar)==null?void 0:E[0])??_("none"))+"",re,oe,X,F=((x=r[1])==null?void 0:x.limitedActions)&&Pl(r);return{c(){e=k("p"),t=D(l),o=W(),n=D(s),u=W(),a=k("p"),p=D(m),h=D(v),i=W(),c=k("p"),R=D($),j=D(M),le=W(),K=k("p"),ae=D(fe),re=D(B),oe=W(),F&&F.c(),X=ie()},l(S){e=w(S,"P",{});var N=b(e);t=P(N,l),o=A(N),n=P(N,s),N.forEach(f),u=A(S),a=w(S,"P",{});var ce=b(a);p=P(ce,m),h=P(ce,v),ce.forEach(f),i=A(S),c=w(S,"P",{});var ee=b(c);R=P(ee,$),j=P(ee,M),ee.forEach(f),le=A(S),K=w(S,"P",{});var de=b(K);ae=P(de,fe),re=P(de,B),de.forEach(f),oe=A(S),F&&F.l(S),X=ie()},m(S,N){g(S,e,N),d(e,t),d(e,o),d(e,n),g(S,u,N),g(S,a,N),d(a,p),d(a,h),g(S,i,N),g(S,c,N),d(c,R),d(c,j),g(S,le,N),g(S,K,N),d(K,ae),d(K,re),g(S,oe,N),F&&F.m(S,N),g(S,X,N)},p(S,N){var ce,ee,de,_e,I,L;N&1&&s!==(s=(((ce=S[0])==null?void 0:ce.startTime)??_("none"))+"")&&J(n,s),N&1&&v!==(v=(((ee=S[0])==null?void 0:ee.endTime)??_("none"))+"")&&J(h,v),N&1&&M!==(M=(((de=S[0])==null?void 0:de.jitter)??_("none"))+"")&&J(j,M),N&1&&B!==(B=(((I=(_e=S[0])==null?void 0:_e.excludeCalendar)==null?void 0:I[0])??_("none"))+"")&&J(re,B),(L=S[1])!=null&&L.limitedActions?F?F.p(S,N):(F=Pl(S),F.c(),F.m(X.parentNode,X)):F&&(F.d(1),F=null)},d(S){S&&f(e),S&&f(u),S&&f(a),S&&f(i),S&&f(c),S&&f(le),S&&f(K),S&&f(oe),F&&F.d(S),S&&f(X)}}}function _s(r){let e,l,t,o;return e=new ms({props:{notes:r[3]}}),t=new ls({props:{title:_("schedules","advanced-settings"),$$slots:{default:[ps]},$$scope:{ctx:r}}}),{c(){U(e.$$.fragment),l=W(),U(t.$$.fragment)},l(s){O(e.$$.fragment,s),l=A(s),O(t.$$.fragment,s)},m(s,n){z(e,s,n),g(s,l,n),z(t,s,n),o=!0},p(s,[n]){const u={};n&8&&(u.notes=s[3]),e.$set(u);const a={};n&23&&(a.$$scope={dirty:n,ctx:s}),t.$set(a)},i(s){o||(H(e.$$.fragment,s),H(t.$$.fragment,s),o=!0)},o(s){C(e.$$.fragment,s),C(t.$$.fragment,s),o=!1},d(s){G(e,s),s&&f(l),G(t,s)}}}function hs(r,e,l){let{spec:t}=e,{state:o}=e,{policies:s}=e,{notes:n=""}=e;return r.$$set=u=>{"spec"in u&&l(0,t=u.spec),"state"in u&&l(1,o=u.state),"policies"in u&&l(2,s=u.policies),"notes"in u&&l(3,n=u.notes)},[t,o,s,n]}class $s extends Ie{constructor(e){super(),Te(this,e,hs,_s,De,{spec:0,state:1,policies:2,notes:3})}}function vs(r){let e,l,t;const o=r[3].default,s=Jl(o,r,r[2],null);return{c(){e=k("div"),s&&s.c(),this.h()},l(n){e=w(n,"DIV",{class:!0});var u=b(e);s&&s.l(u),u.forEach(f),this.h()},h(){V(e,"class",l="panel bg-white "+r[1].class+" svelte-11fqqfg"),$l(e,"error",r[0])},m(n,u){g(n,e,u),s&&s.m(e,null),t=!0},p(n,[u]){s&&s.p&&(!t||u&4)&&Kl(s,o,n,n[2],t?Zl(o,n[2],u,null):Ql(n[2]),null),(!t||u&2&&l!==(l="panel bg-white "+n[1].class+" svelte-11fqqfg"))&&V(e,"class",l),(!t||u&3)&&$l(e,"error",n[0])},i(n){t||(H(s,n),t=!0)},o(n){C(s,n),t=!1},d(n){n&&f(e),s&&s.d(n)}}}function gs(r,e,l){let{$$slots:t={},$$scope:o}=e,{error:s=!1}=e;return r.$$set=n=>{l(1,e=vl(vl({},e),gl(n))),"error"in n&&l(0,s=n.error),"$$scope"in n&&l(2,o=n.$$scope)},e=gl(e),[s,e,o,t]}class Ge extends Ie{constructor(e){super(),Te(this,e,gs,vs,De,{error:0})}}function ks(r){let e,l=_("schedules","error-title")+"",t,o,s,n;return{c(){e=k("p"),t=D(l),o=W(),s=k("p"),n=D(r[0]),this.h()},l(u){e=w(u,"P",{class:!0});var a=b(e);t=P(a,l),a.forEach(f),o=A(u),s=w(u,"P",{class:!0});var m=b(s);n=P(m,r[0]),m.forEach(f),this.h()},h(){V(e,"class","error-text svelte-1lke5yx"),V(s,"class","error-text svelte-1lke5yx")},m(u,a){g(u,e,a),d(e,t),g(u,o,a),g(u,s,a),d(s,n)},p(u,a){a&1&&J(n,u[0])},d(u){u&&f(e),u&&f(o),u&&f(s)}}}function ws(r){let e,l;return e=new Ge({props:{error:!0,$$slots:{default:[ks]},$$scope:{ctx:r}}}),{c(){U(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,o){z(e,t,o),l=!0},p(t,[o]){const s={};o&3&&(s.$$scope={dirty:o,ctx:t}),e.$set(s)},i(t){l||(H(e.$$.fragment,t),l=!0)},o(t){C(e.$$.fragment,t),l=!1},d(t){G(e,t)}}}function bs(r,e,l){let{error:t=""}=e;return r.$$set=o=>{"error"in o&&l(0,t=o.error)},[t]}class Ll extends Ie{constructor(e){super(),Te(this,e,bs,ws,De,{error:0})}}function Es(r){let e,l=_("schedules","schedule-spec")+"",t,o,s,n,u;return n=new ss({props:{calendar:r[0],interval:r[1],class:"text-base"}}),{c(){e=k("h2"),t=D(l),o=W(),s=k("div"),U(n.$$.fragment),this.h()},l(a){e=w(a,"H2",{class:!0});var m=b(e);t=P(m,l),m.forEach(f),o=A(a),s=w(a,"DIV",{class:!0});var p=b(s);O(n.$$.fragment,p),p.forEach(f),this.h()},h(){V(e,"class","mb-4 text-2xl"),V(s,"class","pr-2")},m(a,m){g(a,e,m),d(e,t),g(a,o,m),g(a,s,m),z(n,s,null),u=!0},p(a,m){const p={};m&1&&(p.calendar=a[0]),m&2&&(p.interval=a[1]),n.$set(p)},i(a){u||(H(n.$$.fragment,a),u=!0)},o(a){C(n.$$.fragment,a),u=!1},d(a){a&&f(e),a&&f(o),a&&f(s),G(n)}}}function Is(r){let e,l;return e=new Ge({props:{$$slots:{default:[Es]},$$scope:{ctx:r}}}),{c(){U(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,o){z(e,t,o),l=!0},p(t,[o]){const s={};o&7&&(s.$$scope={dirty:o,ctx:t}),e.$set(s)},i(t){l||(H(e.$$.fragment,t),l=!0)},o(t){C(e.$$.fragment,t),l=!1},d(t){G(e,t)}}}function Ts(r,e,l){let{calendar:t=void 0}=e,{interval:o=void 0}=e;return r.$$set=s=>{"calendar"in s&&l(0,t=s.calendar),"interval"in s&&l(1,o=s.interval)},[t,o]}class Ds extends Ie{constructor(e){super(),Te(this,e,Ts,Is,De,{calendar:0,interval:1})}}function Sl(r,e,l){const t=r.slice();return t[5]=e[l],t}function Ps(r){let e,l,t,o,s=r[5].startWorkflowResult.workflowId+"",n,u,a,m,p=ge(r[5].actualTime,r[2],{relative:r[3]})+"",v;return{c(){e=k("div"),l=k("div"),t=W(),o=k("div"),n=D(s),u=W(),a=k("div"),m=k("p"),v=D(p),this.h()},l(h){e=w(h,"DIV",{class:!0});var i=b(e);l=w(i,"DIV",{class:!0}),b(l).forEach(f),t=A(i),o=w(i,"DIV",{class:!0});var c=b(o);n=P(c,s),c.forEach(f),u=A(i),a=w(i,"DIV",{class:!0});var $=b(a);m=w($,"P",{});var R=b(m);v=P(R,p),R.forEach(f),$.forEach(f),i.forEach(f),this.h()},h(){V(l,"class","w-28"),V(o,"class","w-96"),V(a,"class","ml-auto"),V(e,"class","row svelte-lqpjgu")},m(h,i){g(h,e,i),d(e,l),d(e,t),d(e,o),d(o,n),d(e,u),d(e,a),d(a,m),d(m,v)},p(h,i){i&1&&s!==(s=h[5].startWorkflowResult.workflowId+"")&&J(n,s),i&13&&p!==(p=ge(h[5].actualTime,h[2],{relative:h[3]})+"")&&J(v,p)},i:Z,o:Z,d(h){h&&f(e)}}}function Rs(r){let e,l,t,o,s,n,u,a,m,p=ge(r[5].actualTime,r[2],{relative:r[3]})+"",v,h;return t=new Nl({props:{status:r[8].status}}),n=new ze({props:{newTab:!0,href:Il({workflow:r[5].startWorkflowResult.workflowId,run:r[5].startWorkflowResult.runId,namespace:r[1]}),$$slots:{default:[Ss]},$$scope:{ctx:r}}}),{c(){e=k("div"),l=k("div"),U(t.$$.fragment),o=W(),s=k("div"),U(n.$$.fragment),u=W(),a=k("div"),m=k("p"),v=D(p),this.h()},l(i){e=w(i,"DIV",{class:!0});var c=b(e);l=w(c,"DIV",{class:!0});var $=b(l);O(t.$$.fragment,$),$.forEach(f),o=A(c),s=w(c,"DIV",{class:!0});var R=b(s);O(n.$$.fragment,R),R.forEach(f),u=A(c),a=w(c,"DIV",{class:!0});var M=b(a);m=w(M,"P",{});var j=b(m);v=P(j,p),j.forEach(f),M.forEach(f),c.forEach(f),this.h()},h(){V(l,"class","w-28"),V(s,"class","w-auto break-words mx-2"),V(a,"class","ml-auto"),V(e,"class","row svelte-lqpjgu")},m(i,c){g(i,e,c),d(e,l),z(t,l,null),d(e,o),d(e,s),z(n,s,null),d(e,u),d(e,a),d(a,m),d(m,v),h=!0},p(i,c){const $={};c&3&&($.status=i[8].status),t.$set($);const R={};c&3&&(R.href=Il({workflow:i[5].startWorkflowResult.workflowId,run:i[5].startWorkflowResult.runId,namespace:i[1]})),c&513&&(R.$$scope={dirty:c,ctx:i}),n.$set(R),(!h||c&13)&&p!==(p=ge(i[5].actualTime,i[2],{relative:i[3]})+"")&&J(v,p)},i(i){h||(H(t.$$.fragment,i),H(n.$$.fragment,i),h=!0)},o(i){C(t.$$.fragment,i),C(n.$$.fragment,i),h=!1},d(i){i&&f(e),G(t),G(n)}}}function Ss(r){let e=r[5].startWorkflowResult.workflowId+"",l;return{c(){l=D(e)},l(t){l=P(t,e)},m(t,o){g(t,l,o)},p(t,o){o&1&&e!==(e=t[5].startWorkflowResult.workflowId+"")&&J(l,e)},d(t){t&&f(l)}}}function Vs(r){return{c:Z,l:Z,m:Z,p:Z,i:Z,o:Z,d:Z}}function Vl(r,e){let l,t,o,s,n={ctx:e,current:null,token:null,hasCatch:!0,pending:Vs,then:Rs,catch:Ps,value:8,blocks:[,,,]};return Oe(o=El({namespace:e[1],workflowId:Xe(e[5].startWorkflowResult.workflowId),runId:e[5].startWorkflowResult.runId},fetch),n),{key:r,first:null,c(){l=ie(),t=ie(),n.block.c(),this.h()},l(u){l=ie(),t=ie(),n.block.l(u),this.h()},h(){this.first=l},m(u,a){g(u,l,a),g(u,t,a),n.block.m(u,n.anchor=a),n.mount=()=>t.parentNode,n.anchor=t,s=!0},p(u,a){e=u,n.ctx=e,a&3&&o!==(o=El({namespace:e[1],workflowId:Xe(e[5].startWorkflowResult.workflowId),runId:e[5].startWorkflowResult.runId},fetch))&&Oe(o,n)||Ml(n,e,a)},i(u){s||(H(n.block),s=!0)},o(u){for(let a=0;a<3;a+=1){const m=n.blocks[a];C(m)}s=!1},d(u){u&&f(l),u&&f(t),n.block.d(u),n.token=null,n=null}}}function Wl(r){let e,l;return e=new os({props:{title:_("schedules","recent-runs-empty-state-title")}}),{c(){U(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,o){z(e,t,o),l=!0},p:Z,i(t){l||(H(e.$$.fragment,t),l=!0)},o(t){C(e.$$.fragment,t),l=!1},d(t){G(e,t)}}}function Ws(r){let e,l=_("schedules","recent-runs")+"",t,o,s=[],n=new Map,u,a,m,p=r[4](r[0]);const v=i=>{var c,$;return($=(c=i[5])==null?void 0:c.startWorkflowResult)==null?void 0:$.workflowId};for(let i=0;i{h=null}),Ue()):h?(h.p(i,c),c&1&&H(h,1)):(h=Wl(),h.c(),H(h,1),h.m(a.parentNode,a))},i(i){if(!m){for(let c=0;cl(2,t=a)),ve(r,ye,a=>l(3,o=a));let{recentRuns:s=[]}=e,{namespace:n}=e;const u=a=>{var m,p;return(p=(m=a==null?void 0:a.sort((v,h)=>new Date(h.actualTime).getTime()-new Date(v.actualTime).getTime()))===null||m===void 0?void 0:m.slice(0,5))!==null&&p!==void 0?p:[]};return r.$$set=a=>{"recentRuns"in a&&l(0,s=a.recentRuns),"namespace"in a&&l(1,n=a.namespace)},[s,n,t,o,u]}class Hs extends Ie{constructor(e){super(),Te(this,e,qs,As,De,{recentRuns:0,namespace:1})}}function Al(r,e,l){const t=r.slice();return t[3]=e[l],t}function ql(r){let e,l,t=ge(r[3],r[1],{relative:r[2],relativeLabel:_("from-now")})+"",o,s;return{c(){e=k("div"),l=k("p"),o=D(t),s=W(),this.h()},l(n){e=w(n,"DIV",{class:!0});var u=b(e);l=w(u,"P",{});var a=b(l);o=P(a,t),a.forEach(f),s=A(u),u.forEach(f),this.h()},h(){V(e,"class","row svelte-kbuuws")},m(n,u){g(n,e,u),d(e,l),d(l,o),d(e,s)},p(n,u){u&7&&t!==(t=ge(n[3],n[1],{relative:n[2],relativeLabel:_("from-now")})+"")&&J(o,t)},d(n){n&&f(e)}}}function Cs(r){let e,l=_("schedules","upcoming-runs")+"",t,o,s,n=r[0].slice(0,5),u=[];for(let a=0;al(1,t=n)),ve(r,ye,n=>l(2,o=n));let{futureRuns:s=[]}=e;return r.$$set=n=>{"futureRuns"in n&&l(0,s=n.futureRuns)},[s,t,o]}class Ns extends Ie{constructor(e){super(),Te(this,e,Fs,Ms,De,{futureRuns:0})}}function js(r){var i;let e,l,t,o,s,n,u,a,m,p,v,h;return t=new ze({props:{icon:"chevron-left",$$slots:{default:[Ls]},$$scope:{ctx:r}}}),t.$on("click",r[25]),v=new Ll({props:{error:(i=r[7])==null?void 0:i.message}}),{c(){e=k("header"),l=k("div"),U(t.$$.fragment),o=W(),s=k("h1"),n=D(r[9]),u=W(),a=k("p"),m=D(r[8]),p=W(),U(v.$$.fragment),this.h()},l(c){e=w(c,"HEADER",{class:!0});var $=b(e);l=w($,"DIV",{class:!0});var R=b(l);O(t.$$.fragment,R),o=A(R),s=w(R,"H1",{class:!0,"data-testid":!0});var M=b(s);n=P(M,r[9]),M.forEach(f),u=A(R),a=w(R,"P",{class:!0});var j=b(a);m=P(j,r[8]),j.forEach(f),R.forEach(f),$.forEach(f),p=A(c),O(v.$$.fragment,c),this.h()},h(){V(s,"class","text-2xl mt-8 font-medium select-all"),V(s,"data-testid","schedule-name"),V(a,"class","text-sm"),V(l,"class","flex flex-col gap-1 relative"),V(e,"class","mb-8")},m(c,$){g(c,e,$),d(e,l),z(t,l,null),d(l,o),d(l,s),d(s,n),d(l,u),d(l,a),d(a,m),g(c,p,$),z(v,c,$),h=!0},p(c,$){var j;const R={};$&1073741824&&(R.$$scope={dirty:$,ctx:c}),t.$set(R);const M={};$&1&&(M.error=(j=c[7])==null?void 0:j.message),v.$set(M)},i(c){h||(H(t.$$.fragment,c),H(v.$$.fragment,c),h=!0)},o(c){C(t.$$.fragment,c),C(v.$$.fragment,c),h=!1},d(c){c&&f(e),G(t),c&&f(p),G(v,c)}}}function Ls(r){let e=_("schedules","back-to-schedules")+"",l;return{c(){l=D(e)},l(t){l=P(t,e)},m(t,o){g(t,l,o)},p:Z,d(t){t&&f(l)}}}function Us(r){let e,l,t,o;const s=[zs,Os],n=[];function u(a,m){return a[4]?0:1}return e=u(r),l=n[e]=s[e](r),{c(){l.c(),t=ie()},l(a){l.l(a),t=ie()},m(a,m){n[e].m(a,m),g(a,t,m),o=!0},p(a,m){let p=e;e=u(a),e===p?n[e].p(a,m):(Le(),C(n[p],1,1,()=>{n[p]=null}),Ue(),l=n[e],l?l.p(a,m):(l=n[e]=s[e](a),l.c()),H(l,1),l.m(t.parentNode,t))},i(a){o||(H(l),o=!0)},o(a){C(l),o=!1},d(a){n[e].d(a),a&&f(t)}}}function Os(r){var et,tt,lt,st,rt,nt,at,ot,ut,ft,it,ct,dt,mt,pt,_t,ht,$t,vt,gt,kt,wt,bt,Et,It,Tt,Dt,Pt,Rt,St,Vt,Wt,At,qt,Ht,Ct,Mt;let e,l,t,o,s,n,u,a,m,p,v,h,i,c,$,R,M,j=((rt=(st=(lt=(tt=(et=r[29])==null?void 0:et.schedule)==null?void 0:tt.action)==null?void 0:lt.startWorkflow)==null?void 0:st.workflowType)==null?void 0:rt.name)+"",le,K,fe,ae,B=_("created",{created:ge((at=(nt=r[29])==null?void 0:nt.info)==null?void 0:at.createTime,r[5],{relative:r[6]})})+"",re,oe,X,F,pe,Y,ue,se,E,x,S,N,ce,ee,de,_e,I,L,te,$e,he,y,We,Ae,ke;t=new ze({props:{icon:"chevron-left",$$slots:{default:[Gs]},$$scope:{ctx:r}}}),t.$on("click",r[17]),n=new Nl({props:{status:(ot=r[29])!=null&&ot.schedule.state.paused?"Paused":"Running"}});let ne=((ft=(ut=r[29])==null?void 0:ut.info)==null?void 0:ft.updateTime)&&Hl(r);F=new fs({props:{position:"right",label:(dt=(ct=(it=r[29])==null?void 0:it.schedule)==null?void 0:ct.state)!=null&&dt.paused?_("schedules","unpause"):_("schedules","pause"),menuLabel:_("schedules","schedule-actions"),id:"schedule-actions",disabled:r[11],$$slots:{default:[Qs]},$$scope:{ctx:r}}}),F.$on("click",r[19]);let Q=((pt=(mt=r[29])==null?void 0:mt.info)==null?void 0:pt.invalidScheduleError)&&Cl(r);x=new Hs({props:{namespace:r[8],recentRuns:(ht=(_t=r[29])==null?void 0:_t.info)==null?void 0:ht.recentActions}}),N=new Ns({props:{futureRuns:(vt=($t=r[29])==null?void 0:$t.info)==null?void 0:vt.futureActionTimes}}),ee=new $s({props:{spec:(kt=(gt=r[29])==null?void 0:gt.schedule)==null?void 0:kt.spec,state:(bt=(wt=r[29])==null?void 0:wt.schedule)==null?void 0:bt.state,policies:(It=(Et=r[29])==null?void 0:Et.schedule)==null?void 0:It.policies,notes:(Pt=(Dt=(Tt=r[29])==null?void 0:Tt.schedule)==null?void 0:Dt.state)==null?void 0:Pt.notes}}),I=new Ds({props:{calendar:(Wt=(Vt=(St=(Rt=r[29])==null?void 0:Rt.schedule)==null?void 0:St.spec)==null?void 0:Vt.structuredCalendar)==null?void 0:Wt[0],interval:(Ct=(Ht=(qt=(At=r[29])==null?void 0:At.schedule)==null?void 0:qt.spec)==null?void 0:Ht.interval)==null?void 0:Ct[0]}});function Ul(T){r[21](T)}function Ol(){return r[22](r[29])}let xe={id:"pause-schedule-modal",confirmType:"primary",confirmText:(Mt=r[29])!=null&&Mt.schedule.state.paused?_("schedules","unpause"):_("schedules","pause"),cancelText:_("cancel"),confirmDisabled:!r[3],$$slots:{content:[Bs],title:[Zs]},$$scope:{ctx:r}};r[1]!==void 0&&(xe.open=r[1]),te=new Dl({props:xe}),Qe.push(()=>Ze(te,"open",Ul)),te.$on("confirmModal",Ol),te.$on("cancelModal",r[14]);function zl(T){r[23](T)}function Gl(T){r[24](T)}let Je={id:"delete-schedule-modal",confirmType:"destructive",confirmText:_("delete"),cancelText:_("cancel"),$$slots:{content:[Ys],title:[Xs]},$$scope:{ctx:r}};return r[2]!==void 0&&(Je.open=r[2]),r[7]!==void 0&&(Je.error=r[7]),y=new Dl({props:Je}),Qe.push(()=>Ze(y,"open",zl)),Qe.push(()=>Ze(y,"error",Gl)),y.$on("confirmModal",r[12]),y.$on("cancelModal",r[14]),{c(){e=k("header"),l=k("div"),U(t.$$.fragment),o=W(),s=k("h1"),U(n.$$.fragment),u=W(),a=k("span"),m=D(r[9]),p=W(),v=k("div"),h=k("p"),i=D(r[8]),c=W(),$=k("div"),R=W(),M=k("p"),le=D(j),K=W(),fe=k("div"),ae=k("p"),re=D(B),oe=W(),ne&&ne.c(),X=W(),U(F.$$.fragment),pe=W(),Y=k("div"),Q&&Q.c(),ue=W(),se=k("div"),E=k("div"),U(x.$$.fragment),S=W(),U(N.$$.fragment),ce=W(),U(ee.$$.fragment),de=W(),_e=k("div"),U(I.$$.fragment),L=W(),U(te.$$.fragment),he=W(),U(y.$$.fragment),this.h()},l(T){e=w(T,"HEADER",{class:!0});var q=b(e);l=w(q,"DIV",{class:!0});var me=b(l);O(t.$$.fragment,me),o=A(me),s=w(me,"H1",{class:!0});var Se=b(s);O(n.$$.fragment,Se),u=A(Se),a=w(Se,"SPAN",{class:!0,"data-testid":!0});var qe=b(a);m=P(qe,r[9]),qe.forEach(f),Se.forEach(f),p=A(me),v=w(me,"DIV",{class:!0});var we=b(v);h=w(we,"P",{});var Ce=b(h);i=P(Ce,r[8]),Ce.forEach(f),c=A(we),$=w(we,"DIV",{class:!0}),b($).forEach(f),R=A(we),M=w(we,"P",{});var Pe=b(M);le=P(Pe,j),Pe.forEach(f),we.forEach(f),K=A(me),fe=w(me,"DIV",{class:!0});var He=b(fe);ae=w(He,"P",{});var Re=b(ae);re=P(Re,B),Re.forEach(f),He.forEach(f),oe=A(me),ne&&ne.l(me),me.forEach(f),X=A(q),O(F.$$.fragment,q),q.forEach(f),pe=A(T),Y=w(T,"DIV",{class:!0});var be=b(Y);Q&&Q.l(be),ue=A(be),se=w(be,"DIV",{class:!0});var Ve=b(se);E=w(Ve,"DIV",{class:!0});var Ee=b(E);O(x.$$.fragment,Ee),S=A(Ee),O(N.$$.fragment,Ee),ce=A(Ee),O(ee.$$.fragment,Ee),Ee.forEach(f),de=A(Ve),_e=w(Ve,"DIV",{class:!0});var Me=b(_e);O(I.$$.fragment,Me),Me.forEach(f),Ve.forEach(f),be.forEach(f),L=A(T),O(te.$$.fragment,T),he=A(T),O(y.$$.fragment,T),this.h()},h(){V(a,"class","font-medium select-all"),V(a,"data-testid","schedule-name"),V(s,"class","text-2xl flex relative items-center gap-4 mt-8"),V($,"class","w-1 h-1 rounded-full bg-gray-900"),V(v,"class","flex items-center gap-2 text-sm"),V(fe,"class","flex items-center gap-2 text-sm"),V(l,"class","flex flex-col gap-1 relative"),V(e,"class","flex flex-row justify-between gap-4 mb-8"),V(E,"class","w-full flex flex-col items-start gap-4 xl:w-2/3"),V(_e,"class","w-full xl:w-1/3"),V(se,"class","flex flex-col xl:flex-row gap-4"),V(Y,"class","flex flex-col gap-4 pb-24")},m(T,q){g(T,e,q),d(e,l),z(t,l,null),d(l,o),d(l,s),z(n,s,null),d(s,u),d(s,a),d(a,m),d(l,p),d(l,v),d(v,h),d(h,i),d(v,c),d(v,$),d(v,R),d(v,M),d(M,le),d(l,K),d(l,fe),d(fe,ae),d(ae,re),d(l,oe),ne&&ne.m(l,null),d(e,X),z(F,e,null),g(T,pe,q),g(T,Y,q),Q&&Q.m(Y,null),d(Y,ue),d(Y,se),d(se,E),z(x,E,null),d(E,S),z(N,E,null),d(E,ce),z(ee,E,null),d(se,de),d(se,_e),z(I,_e,null),g(T,L,q),z(te,T,q),g(T,he,q),z(y,T,q),ke=!0},p(T,q){var Ve,Ee,Me,Ft,Nt,jt,Lt,Ut,Ot,zt,Gt,Jt,Kt,Qt,Zt,Bt,Xt,Yt,yt,xt,el,tl,ll,sl,rl,nl,al,ol,ul,fl,il,cl,dl,ml,pl,_l,hl;r=T;const me={};q&1073741824&&(me.$$scope={dirty:q,ctx:r}),t.$set(me);const Se={};q&1&&(Se.status=(Ve=r[29])!=null&&Ve.schedule.state.paused?"Paused":"Running"),n.$set(Se),(!ke||q&1)&&j!==(j=((jt=(Nt=(Ft=(Me=(Ee=r[29])==null?void 0:Ee.schedule)==null?void 0:Me.action)==null?void 0:Ft.startWorkflow)==null?void 0:Nt.workflowType)==null?void 0:jt.name)+"")&&J(le,j),(!ke||q&97)&&B!==(B=_("created",{created:ge((Ut=(Lt=r[29])==null?void 0:Lt.info)==null?void 0:Ut.createTime,r[5],{relative:r[6]})})+"")&&J(re,B),(zt=(Ot=r[29])==null?void 0:Ot.info)!=null&&zt.updateTime?ne?ne.p(r,q):(ne=Hl(r),ne.c(),ne.m(l,null)):ne&&(ne.d(1),ne=null);const qe={};q&1&&(qe.label=(Kt=(Jt=(Gt=r[29])==null?void 0:Gt.schedule)==null?void 0:Jt.state)!=null&&Kt.paused?_("schedules","unpause"):_("schedules","pause")),q&1073741828&&(qe.$$scope={dirty:q,ctx:r}),F.$set(qe),(Zt=(Qt=r[29])==null?void 0:Qt.info)!=null&&Zt.invalidScheduleError?Q?(Q.p(r,q),q&1&&H(Q,1)):(Q=Cl(r),Q.c(),H(Q,1),Q.m(Y,ue)):Q&&(Le(),C(Q,1,1,()=>{Q=null}),Ue());const we={};q&1&&(we.recentRuns=(Xt=(Bt=r[29])==null?void 0:Bt.info)==null?void 0:Xt.recentActions),x.$set(we);const Ce={};q&1&&(Ce.futureRuns=(yt=(Yt=r[29])==null?void 0:Yt.info)==null?void 0:yt.futureActionTimes),N.$set(Ce);const Pe={};q&1&&(Pe.spec=(el=(xt=r[29])==null?void 0:xt.schedule)==null?void 0:el.spec),q&1&&(Pe.state=(ll=(tl=r[29])==null?void 0:tl.schedule)==null?void 0:ll.state),q&1&&(Pe.policies=(rl=(sl=r[29])==null?void 0:sl.schedule)==null?void 0:rl.policies),q&1&&(Pe.notes=(ol=(al=(nl=r[29])==null?void 0:nl.schedule)==null?void 0:al.state)==null?void 0:ol.notes),ee.$set(Pe);const He={};q&1&&(He.calendar=(cl=(il=(fl=(ul=r[29])==null?void 0:ul.schedule)==null?void 0:fl.spec)==null?void 0:il.structuredCalendar)==null?void 0:cl[0]),q&1&&(He.interval=(_l=(pl=(ml=(dl=r[29])==null?void 0:dl.schedule)==null?void 0:ml.spec)==null?void 0:pl.interval)==null?void 0:_l[0]),I.$set(He);const Re={};q&1&&(Re.confirmText=(hl=r[29])!=null&&hl.schedule.state.paused?_("schedules","unpause"):_("schedules","pause")),q&8&&(Re.confirmDisabled=!r[3]),q&1073741833&&(Re.$$scope={dirty:q,ctx:r}),!$e&&q&2&&($e=!0,Re.open=r[1],Be(()=>$e=!1)),te.$set(Re);const be={};q&1073741824&&(be.$$scope={dirty:q,ctx:r}),!We&&q&4&&(We=!0,be.open=r[2],Be(()=>We=!1)),!Ae&&q&128&&(Ae=!0,be.error=r[7],Be(()=>Ae=!1)),y.$set(be)},i(T){ke||(H(t.$$.fragment,T),H(n.$$.fragment,T),H(F.$$.fragment,T),H(Q),H(x.$$.fragment,T),H(N.$$.fragment,T),H(ee.$$.fragment,T),H(I.$$.fragment,T),H(te.$$.fragment,T),H(y.$$.fragment,T),ke=!0)},o(T){C(t.$$.fragment,T),C(n.$$.fragment,T),C(F.$$.fragment,T),C(Q),C(x.$$.fragment,T),C(N.$$.fragment,T),C(ee.$$.fragment,T),C(I.$$.fragment,T),C(te.$$.fragment,T),C(y.$$.fragment,T),ke=!1},d(T){T&&f(e),G(t),G(n),ne&&ne.d(),G(F),T&&f(pe),T&&f(Y),Q&&Q.d(),G(x),G(N),G(ee),G(I),T&&f(L),G(te,T),T&&f(he),G(y,T)}}}function zs(r){let e,l;return e=new jl({props:{title:_("schedules","deleting"),class:"my-2"}}),{c(){U(e.$$.fragment)},l(t){O(e.$$.fragment,t)},m(t,o){z(e,t,o),l=!0},p:Z,i(t){l||(H(e.$$.fragment,t),l=!0)},o(t){C(e.$$.fragment,t),l=!1},d(t){G(e,t)}}}function Gs(r){let e=_("schedules","back-to-schedules")+"",l;return{c(){l=D(e)},l(t){l=P(t,e)},m(t,o){g(t,l,o)},p:Z,d(t){t&&f(l)}}}function Hl(r){var s,n;let e,l,t=_("last-updated",{updated:ge((n=(s=r[29])==null?void 0:s.info)==null?void 0:n.updateTime,r[5],{relative:r[6]})})+"",o;return{c(){e=k("div"),l=k("p"),o=D(t),this.h()},l(u){e=w(u,"DIV",{class:!0});var a=b(e);l=w(a,"P",{});var m=b(l);o=P(m,t),m.forEach(f),a.forEach(f),this.h()},h(){V(e,"class","flex items-center gap-2 text-sm")},m(u,a){g(u,e,a),d(e,l),d(l,o)},p(u,a){var m,p;a&97&&t!==(t=_("last-updated",{updated:ge((p=(m=u[29])==null?void 0:m.info)==null?void 0:p.updateTime,u[5],{relative:u[6]})})+"")&&J(o,t)},d(u){u&&f(e)}}}function Js(r){let e=_("edit")+"",l;return{c(){l=D(e)},l(t){l=P(t,e)},m(t,o){g(t,l,o)},p:Z,d(t){t&&f(l)}}}function Ks(r){let e=_("delete")+"",l;return{c(){l=D(e)},l(t){l=P(t,e)},m(t,o){g(t,l,o)},p:Z,d(t){t&&f(l)}}}function Qs(r){let e,l,t,o;return e=new Tl({props:{"data-testid":"edit-schedule",href:us({namespace:r[8],scheduleId:r[9]}),$$slots:{default:[Js]},$$scope:{ctx:r}}}),t=new Tl({props:{"data-testid":"delete-schedule",destructive:!0,$$slots:{default:[Ks]},$$scope:{ctx:r}}}),t.$on("click",r[18]),{c(){U(e.$$.fragment),l=W(),U(t.$$.fragment)},l(s){O(e.$$.fragment,s),l=A(s),O(t.$$.fragment,s)},m(s,n){z(e,s,n),g(s,l,n),z(t,s,n),o=!0},p(s,n){const u={};n&1073741824&&(u.$$scope={dirty:n,ctx:s}),e.$set(u);const a={};n&1073741824&&(a.$$scope={dirty:n,ctx:s}),t.$set(a)},i(s){o||(H(e.$$.fragment,s),H(t.$$.fragment,s),o=!0)},o(s){C(e.$$.fragment,s),C(t.$$.fragment,s),o=!1},d(s){G(e,s),s&&f(l),G(t,s)}}}function Cl(r){var o,s;let e,l,t;return l=new Ll({props:{error:(s=(o=r[29])==null?void 0:o.info)==null?void 0:s.invalidScheduleError}}),{c(){e=k("div"),U(l.$$.fragment),this.h()},l(n){e=w(n,"DIV",{class:!0});var u=b(e);O(l.$$.fragment,u),u.forEach(f),this.h()},h(){V(e,"class","w-full xl:w-1/2")},m(n,u){g(n,e,u),z(l,e,null),t=!0},p(n,u){var m,p;const a={};u&1&&(a.error=(p=(m=n[29])==null?void 0:m.info)==null?void 0:p.invalidScheduleError),l.$set(a)},i(n){t||(H(l.$$.fragment,n),t=!0)},o(n){C(l.$$.fragment,n),t=!1},d(n){n&&f(e),G(l)}}}function Zs(r){var o;let e,l=((o=r[29])!=null&&o.schedule.state.paused?_("schedules","unpause-modal-title"):_("schedules","pause-modal-title"))+"",t;return{c(){e=k("h3"),t=D(l),this.h()},l(s){e=w(s,"H3",{slot:!0});var n=b(e);t=P(n,l),n.forEach(f),this.h()},h(){V(e,"slot","title")},m(s,n){g(s,e,n),d(e,t)},p(s,n){var u;n&1&&l!==(l=((u=s[29])!=null&&u.schedule.state.paused?_("schedules","unpause-modal-title"):_("schedules","pause-modal-title"))+"")&&J(t,l)},d(s){s&&f(e)}}}function Bs(r){var i,c;let e,l,t=((i=r[29])!=null&&i.schedule.state.paused?_("schedules","unpause-modal-confirmation",{schedule:r[9]}):_("schedules","pause-modal-confirmation",{schedule:r[9]}))+"",o,s,n,u=((c=r[29])!=null&&c.schedule.state.paused?_("schedules","unpause-reason"):_("schedules","pause-reason"))+"",a,m,p,v,h;return{c(){e=k("div"),l=k("p"),o=D(t),s=W(),n=k("p"),a=D(u),m=W(),p=k("input"),this.h()},l($){e=w($,"DIV",{slot:!0});var R=b(e);l=w(R,"P",{});var M=b(l);o=P(M,t),M.forEach(f),s=A(R),n=w(R,"P",{class:!0});var j=b(n);a=P(j,u),j.forEach(f),m=A(R),p=w(R,"INPUT",{class:!0,placeholder:!0}),R.forEach(f),this.h()},h(){V(n,"class","my-4"),V(p,"class","block w-full border border-gray-200 rounded-md p-2 mt-4"),V(p,"placeholder",_("reason")),V(e,"slot","content")},m($,R){g($,e,R),d(e,l),d(l,o),d(e,s),d(e,n),d(n,a),d(e,m),d(e,p),kl(p,r[3]),v||(h=[wl(p,"input",r[20]),wl(p,"keydown",xl(r[15]))],v=!0)},p($,R){var M,j;R&1&&t!==(t=((M=$[29])!=null&&M.schedule.state.paused?_("schedules","unpause-modal-confirmation",{schedule:$[9]}):_("schedules","pause-modal-confirmation",{schedule:$[9]}))+"")&&J(o,t),R&1&&u!==(u=((j=$[29])!=null&&j.schedule.state.paused?_("schedules","unpause-reason"):_("schedules","pause-reason"))+"")&&J(a,u),R&8&&p.value!==$[3]&&kl(p,$[3])},d($){$&&f(e),v=!1,es(h)}}}function Xs(r){let e,l=_("schedules","delete-modal-title")+"",t;return{c(){e=k("h3"),t=D(l),this.h()},l(o){e=w(o,"H3",{slot:!0});var s=b(e);t=P(s,l),s.forEach(f),this.h()},h(){V(e,"slot","title")},m(o,s){g(o,e,s),d(e,t)},p:Z,d(o){o&&f(e)}}}function Ys(r){let e,l,t=_("schedules","delete-modal-confirmation",{schedule:r[9]})+"",o;return{c(){e=k("div"),l=k("p"),o=D(t),this.h()},l(s){e=w(s,"DIV",{slot:!0});var n=b(e);l=w(n,"P",{});var u=b(l);o=P(u,t),u.forEach(f),n.forEach(f),this.h()},h(){V(e,"slot","content")},m(s,n){g(s,e,n),d(e,l),d(l,o)},p:Z,d(s){s&&f(e)}}}function ys(r){let e,l,t,o,s,n,u,a,m,p,v,h;return t=new ze({props:{icon:"chevron-left",$$slots:{default:[xs]},$$scope:{ctx:r}}}),t.$on("click",r[16]),v=new jl({}),{c(){e=k("header"),l=k("div"),U(t.$$.fragment),o=W(),s=k("h1"),n=D(r[9]),u=W(),a=k("p"),m=D(r[8]),p=W(),U(v.$$.fragment),this.h()},l(i){e=w(i,"HEADER",{class:!0});var c=b(e);l=w(c,"DIV",{class:!0});var $=b(l);O(t.$$.fragment,$),o=A($),s=w($,"H1",{class:!0,"data-testid":!0});var R=b(s);n=P(R,r[9]),R.forEach(f),u=A($),a=w($,"P",{class:!0});var M=b(a);m=P(M,r[8]),M.forEach(f),$.forEach(f),c.forEach(f),p=A(i),O(v.$$.fragment,i),this.h()},h(){V(s,"class","text-2xl mt-8 font-medium select-all"),V(s,"data-testid","schedule-name"),V(a,"class","text-sm"),V(l,"class","flex flex-col gap-1 relative"),V(e,"class","mb-8")},m(i,c){g(i,e,c),d(e,l),z(t,l,null),d(l,o),d(l,s),d(s,n),d(l,u),d(l,a),d(a,m),g(i,p,c),z(v,i,c),h=!0},p(i,c){const $={};c&1073741824&&($.$$scope={dirty:c,ctx:i}),t.$set($)},i(i){h||(H(t.$$.fragment,i),H(v.$$.fragment,i),h=!0)},o(i){C(t.$$.fragment,i),C(v.$$.fragment,i),h=!1},d(i){i&&f(e),G(t),i&&f(p),G(v,i)}}}function xs(r){let e=_("schedules","back-to-schedules")+"",l;return{c(){l=D(e)},l(t){l=P(t,e)},m(t,o){g(t,l,o)},p:Z,d(t){t&&f(l)}}}function er(r){let e,l,t,o={ctx:r,current:null,token:null,hasCatch:!0,pending:ys,then:Us,catch:js,value:29,error:7,blocks:[,,,]};return Oe(l=r[0],o),{c(){e=ie(),o.block.c()},l(s){e=ie(),o.block.l(s)},m(s,n){g(s,e,n),o.block.m(s,o.anchor=n),o.mount=()=>e.parentNode,o.anchor=e,t=!0},p(s,[n]){r=s,o.ctx=r,n&1&&l!==(l=r[0])&&Oe(l,o)||Ml(o,r,n)},i(s){t||(H(o.block),t=!0)},o(s){for(let n=0;n<3;n+=1){const u=o.blocks[n];C(u)}t=!1},d(s){s&&f(e),o.block.d(s),o.token=null,o=null}}}function tr(r,e,l){let t,o,s,n,u;ve(r,je,E=>l(4,t=E)),ve(r,Fl,E=>l(27,s=E)),ve(r,Ye,E=>l(5,n=E)),ve(r,ye,E=>l(6,u=E));let a=s.params.namespace,m=s.params.schedule;const p={namespace:a,scheduleId:Xe(m)};let v=bl(p),h=!1,i=!1,c="",$="",R=is();ve(r,R,E=>l(26,o=E));let M=o.namespaceWriteDisabled(a);const j=async()=>{l(7,$="");try{Ke(je,t=!0,t),await rs({namespace:a,scheduleId:m}),l(2,i=!1),setTimeout(()=>{Ke(je,t=!1,t),Fe(Ne({namespace:a}))},2e3),l(3,c="")}catch(E){l(7,$=_("schedules","delete-schedule-error",{error:E==null?void 0:E.message})),Ke(je,t=!1,t)}},le=async E=>{var x,S;!((S=(x=E==null?void 0:E.schedule)===null||x===void 0?void 0:x.state)===null||S===void 0)&&S.paused?await ns({namespace:a,scheduleId:m,reason:c}):await as({namespace:a,scheduleId:m,reason:c}),l(0,v=bl(p,fetch)),l(3,c=""),l(1,h=!1)},K=()=>{l(3,c="")};function fe(E){yl.call(this,r,E)}const ae=()=>{Fe(Ne({namespace:a}))},B=()=>{Fe(Ne({namespace:a}))},re=()=>l(2,i=!0),oe=()=>l(1,h=!0);function X(){c=this.value,l(3,c)}function F(E){h=E,l(1,h)}const pe=E=>le(E);function Y(E){i=E,l(2,i)}function ue(E){$=E,l(7,$)}return[v,h,i,c,t,n,u,$,a,m,R,M,j,le,K,fe,ae,B,re,oe,X,F,pe,Y,ue,()=>{Fe(Ne({namespace:a}))}]}class lr extends Ie{constructor(e){super(),Te(this,e,tr,er,De,{})}}function sr(r){let e,l,t,o;return e=new ts({props:{title:`Schedule | ${r[1]}`,url:r[0].url.href}}),t=new lr({}),{c(){U(e.$$.fragment),l=W(),U(t.$$.fragment)},l(s){O(e.$$.fragment,s),l=A(s),O(t.$$.fragment,s)},m(s,n){z(e,s,n),g(s,l,n),z(t,s,n),o=!0},p(s,[n]){const u={};n&1&&(u.url=s[0].url.href),e.$set(u)},i(s){o||(H(e.$$.fragment,s),H(t.$$.fragment,s),o=!0)},o(s){C(e.$$.fragment,s),C(t.$$.fragment,s),o=!1},d(s){G(e,s),s&&f(l),G(t,s)}}}function rr(r,e,l){let t;ve(r,Fl,s=>l(0,t=s));const o=t.params.schedule;return[t,o]}class Ir extends Ie{constructor(e){super(),Te(this,e,rr,sr,De,{})}}export{Ir as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-create-page.svelte.a231512f.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-create-page.svelte.decd423e.js similarity index 88% rename from ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-create-page.svelte.a231512f.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-create-page.svelte.decd423e.js index 0723453571..238932f88e 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-create-page.svelte.a231512f.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-create-page.svelte.decd423e.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,K as _,c as F,d as I,f as K,k as M}from"../chunks/index.efded970.js";import{p as h}from"../chunks/stores.83aed68d.js";import{P as Q}from"../chunks/page-title.a6dec5b5.js";import{S as T}from"../chunks/schedule-form-view.5f748594.js";import{a as W}from"../chunks/schedules.b362631b.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;W({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 Q({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),K(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,K as _,c as F,d as I,f as K,k as M}from"../chunks/index.efded970.js";import{p as h}from"../chunks/stores.3002bd93.js";import{P as Q}from"../chunks/page-title.a6dec5b5.js";import{S as T}from"../chunks/schedule-form-view.f726ab1f.js";import{a as W}from"../chunks/schedules.80c3a2f9.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;W({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 Q({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),K(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.72c41b67.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-page.svelte.1a02f818.js similarity index 98% rename from ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-page.svelte.72c41b67.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-page.svelte.1a02f818.js index b14317a086..994416346c 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-page.svelte.72c41b67.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-page.svelte.1a02f818.js @@ -1 +1 @@ -import{S as fe,b as ue,a as ce,C as R,c as F,D as A,d as N,E as W,f as d,j as b,g as k,F as q,k as i,K as Z,m as B,w as j,p as P,q as C,x as U,u as L,L as V,y as re,z as M,h as Q,a6 as $e,n as G,G as je,H as Ue,I as ze,J as Ge,ar as Ie,e as O,as as Je,A as Ke,Z as Oe,_ as Ze,at as Me}from"../chunks/index.efded970.js";import{p as pe}from"../chunks/stores.83aed68d.js";import{P as Qe}from"../chunks/page-title.a6dec5b5.js";import{g as Xe}from"../chunks/navigation.6d455e31.js";import{W as Ye}from"../chunks/workflow-status.792f3956.js";import{L as ae}from"../chunks/link.cac19769.js";import{T as me}from"../chunks/table-row.6be25099.js";import{t as H}from"../chunks/translate.230dcc19.js";import{t as ye,r as xe,b as ne}from"../chunks/format-date.be4b741e.js";import{o as et,f as Se,p as oe}from"../chunks/route-for.f2f7cb1c.js";import{S as ie,f as tt}from"../chunks/schedule-service.d49fba12.js";import{T as lt,a as st}from"../chunks/table-header-row.b413d43a.js";import{B as rt}from"../chunks/badge.72fa1965.js";import{B as Ne}from"../chunks/button.a4f5a3d4.js";import{E as Ve}from"../chunks/empty-state.22810bcf.js";import{I as at}from"../chunks/input.f4d0de9f.js";import{L as nt}from"../chunks/loading.32266c92.js";import{P as ot}from"../chunks/pagination.5253b8b7.js";import{c as ft}from"../chunks/core-user.c3fa437a.js";function Le(a,t,l){const e=a.slice();return e[14]=t[l],e}function Be(a,t,l){const e=a.slice();return e[14]=t[l],e}function ut(a){let t=a[0].scheduleId+"",l;return{c(){l=j(t)},l(e){l=U(e,t)},m(e,s){d(e,l,s)},p(e,s){s&1&&t!==(t=e[0].scheduleId+"")&&re(l,t)},d(e){e&&i(l)}}}function ct(a){var e;let t=ne((e=a[14])==null?void 0:e.actualTime,a[2],{relative:a[3]})+"",l;return{c(){l=j(t)},l(s){l=U(s,t)},m(s,r){d(s,l,r)},p(s,r){var n;r&13&&t!==(t=ne((n=s[14])==null?void 0:n.actualTime,s[2],{relative:s[3]})+"")&&re(l,t)},d(s){s&&i(l)}}}function Pe(a){var r,n,f,u;let t,l,e,s;return l=new ae({props:{href:Se({namespace:a[4],workflow:(n=(r=a[14])==null?void 0:r.startWorkflowResult)==null?void 0:n.workflowId,run:(u=(f=a[14])==null?void 0:f.startWorkflowResult)==null?void 0:u.runId}),$$slots:{default:[ct]},$$scope:{ctx:a}}}),{c(){t=B("p"),R(l.$$.fragment),e=F()},l(o){t=P(o,"P",{});var c=C(t);A(l.$$.fragment,c),e=N(c),c.forEach(i)},m(o,c){d(o,t,c),W(l,t,null),V(t,e),s=!0},p(o,c){var T,g,D,_;const h={};c&1&&(h.href=Se({namespace:o[4],workflow:(g=(T=o[14])==null?void 0:T.startWorkflowResult)==null?void 0:g.workflowId,run:(_=(D=o[14])==null?void 0:D.startWorkflowResult)==null?void 0:_.runId})),c&524301&&(h.$$scope={dirty:c,ctx:o}),l.$set(h)},i(o){s||(b(l.$$.fragment,o),s=!0)},o(o){k(l.$$.fragment,o),s=!1},d(o){o&&i(t),q(l)}}}function Ce(a){let t,l=ne(a[14],a[2],{relative:a[3],relativeLabel:H("from-now")})+"",e,s;return{c(){t=B("div"),e=j(l),s=F()},l(r){t=P(r,"DIV",{});var n=C(t);e=U(n,l),s=N(n),n.forEach(i)},m(r,n){d(r,t,n),V(t,e),V(t,s)},p(r,n){n&13&&l!==(l=ne(r[14],r[2],{relative:r[3],relativeLabel:H("from-now")})+"")&&re(e,l)},d(r){r&&i(t)}}}function it(a){var v,z,X,Y,y,x,_e,de,he,ge;let t,l,e,s,r,n,f,u=(((X=(z=(v=a[0])==null?void 0:v.info)==null?void 0:z.workflowType)==null?void 0:X.name)??"")+"",o,c,h,T,g,D;l=new Ye({props:{status:(y=(Y=a[0])==null?void 0:Y.info)!=null&&y.paused?"Paused":"Running"}}),r=new ae({props:{class:"text-base",$$slots:{default:[ut]},$$scope:{ctx:a}}}),r.$on("click",a[8]);let _=a[7]((_e=(x=a[0])==null?void 0:x.info)==null?void 0:_e.recentActions),$=[];for(let m=0;m<_.length;m+=1)$[m]=Pe(Be(a,_,m));const p=m=>k($[m],1,1,()=>{$[m]=null});let w=((ge=(he=(de=a[0])==null?void 0:de.info)==null?void 0:he.futureActionTimes)==null?void 0:ge.slice(0,5))??[],E=[];for(let m=0;ml(12,s=p)),Z(a,ye,p=>l(2,r=p)),Z(a,xe,p=>l(3,n=p));var f,u,o;let{namespace:c}=s.params,{schedule:h}=t;const T=(f=h==null?void 0:h.info)===null||f===void 0?void 0:f.spec,g=(u=T==null?void 0:T.structuredCalendar)===null||u===void 0?void 0:u[0],D=(o=T==null?void 0:T.interval)===null||o===void 0?void 0:o[0],_=p=>{var w;return(w=p==null?void 0:p.sort((E,v)=>new Date(v.actualTime).getTime()-new Date(E.actualTime).getTime()).slice(0,5))!==null&&w!==void 0?w:[]},$=()=>{Xe(e)};return a.$$set=p=>{"schedule"in p&&l(0,h=p.schedule)},a.$$.update=()=>{a.$$.dirty&1&&l(1,e=et({namespace:c,scheduleId:h==null?void 0:h.scheduleId}))},[h,e,r,n,c,g,D,_,$]}class _t extends fe{constructor(t){super(),ue(this,t,pt,mt,ce,{schedule:0})}}function dt(a){let t;const l=a[0].default,e=je(l,a,a[1],null);return{c(){e&&e.c()},l(s){e&&e.l(s)},m(s,r){e&&e.m(s,r),t=!0},p(s,r){e&&e.p&&(!t||r&2)&&Ue(e,l,s,s[1],t?Ge(l,s[1],r,null):ze(s[1]),null)},i(s){t||(b(e,s),t=!0)},o(s){k(e,s),t=!1},d(s){e&&e.d(s)}}}function ht(a){let t,l=H("schedules")+"",e;return{c(){t=B("caption"),e=j(l),this.h()},l(s){t=P(s,"CAPTION",{class:!0,slot:!0});var r=C(t);e=U(r,l),r.forEach(i),this.h()},h(){L(t,"class","sr-only"),L(t,"slot","caption")},m(s,r){d(s,t,r),V(t,e)},p:G,d(s){s&&i(t)}}}function gt(a){let t,l=H("status")+"",e,s,r,n=H("schedules","name")+"",f,u,o,c=H("workflow-type")+"",h,T,g,D=H("schedules","recent-runs")+"",_,$,p,w=H("schedules","upcoming-runs")+"",E;return{c(){t=B("th"),e=j(l),s=F(),r=B("th"),f=j(n),u=F(),o=B("th"),h=j(c),T=F(),g=B("th"),_=j(D),$=F(),p=B("th"),E=j(w),this.h()},l(v){t=P(v,"TH",{class:!0});var z=C(t);e=U(z,l),z.forEach(i),s=N(v),r=P(v,"TH",{class:!0});var X=C(r);f=U(X,n),X.forEach(i),u=N(v),o=P(v,"TH",{class:!0});var Y=C(o);h=U(Y,c),Y.forEach(i),T=N(v),g=P(v,"TH",{class:!0});var y=C(g);_=U(y,D),y.forEach(i),$=N(v),p=P(v,"TH",{class:!0});var x=C(p);E=U(x,w),x.forEach(i),this.h()},h(){L(t,"class","w-28"),L(r,"class","md:w-80 xl:w-auto"),L(o,"class","w-60 max-md:hidden xl:w-80"),L(g,"class","w-56 max-xl:hidden"),L(p,"class","w-56 max-xl:hidden")},m(v,z){d(v,t,z),V(t,e),d(v,s,z),d(v,r,z),V(r,f),d(v,u,z),d(v,o,z),V(o,h),d(v,T,z),d(v,g,z),V(g,_),d(v,$,z),d(v,p,z),V(p,E)},p:G,d(v){v&&i(t),v&&i(s),v&&i(r),v&&i(u),v&&i(o),v&&i(T),v&&i(g),v&&i($),v&&i(p)}}}function bt(a){let t,l;return t=new st({props:{slot:"headers",$$slots:{default:[gt]},$$scope:{ctx:a}}}),{c(){R(t.$$.fragment)},l(e){A(t.$$.fragment,e)},m(e,s){W(t,e,s),l=!0},p(e,s){const r={};s&2&&(r.$$scope={dirty:s,ctx:e}),t.$set(r)},i(e){l||(b(t.$$.fragment,e),l=!0)},o(e){k(t.$$.fragment,e),l=!1},d(e){q(t,e)}}}function wt(a){let t,l;return t=new lt({props:{class:"table-fixed w-full",$$slots:{headers:[bt],caption:[ht],default:[dt]},$$scope:{ctx:a}}}),{c(){R(t.$$.fragment)},l(e){A(t.$$.fragment,e)},m(e,s){W(t,e,s),l=!0},p(e,[s]){const r={};s&2&&(r.$$scope={dirty:s,ctx:e}),t.$set(r)},i(e){l||(b(t.$$.fragment,e),l=!0)},o(e){k(t.$$.fragment,e),l=!1},d(e){q(t,e)}}}function vt(a,t,l){let{$$slots:e={},$$scope:s}=t;return a.$$set=r=>{"$$scope"in r&&l(1,s=r.$$scope)},[e,s]}class kt extends fe{constructor(t){super(),ue(this,t,vt,wt,ce,{})}}const{Boolean:Tt}=Me;function He(a){a[10]=a[12].schedules,a[11]=a[12].error}function Re(a,t,l){const e=a.slice();return e[14]=t[l],e}function Et(a){let t=H("preview")+"",l;return{c(){l=j(t)},l(e){l=U(e,t)},m(e,s){d(e,l,s)},p:G,d(e){e&&i(l)}}}function Ae(a){let t,l;return t=new Ne({props:{"data-testid":"create-schedule",disabled:a[4],href:oe({namespace:a[1]}),$$slots:{default:[Dt]},$$scope:{ctx:a}}}),{c(){R(t.$$.fragment)},l(e){A(t.$$.fragment,e)},m(e,s){W(t,e,s),l=!0},p(e,s){const r={};s&16&&(r.disabled=e[4]),s&2&&(r.href=oe({namespace:e[1]})),s&131072&&(r.$$scope={dirty:s,ctx:e}),t.$set(r)},i(e){l||(b(t.$$.fragment,e),l=!0)},o(e){k(t.$$.fragment,e),l=!1},d(e){q(t,e)}}}function Dt(a){let t=H("schedules","create")+"",l;return{c(){l=j(t)},l(e){l=U(e,t)},m(e,s){d(e,l,s)},p:G,d(e){e&&i(l)}}}function It(a){return{c:G,l:G,m:G,p:G,i:G,o:G,d:G}}function St(a){He(a);let t,l,e,s;const r=[Bt,Lt],n=[];function f(u,o){var c;return(c=u[10])!=null&&c.length?0:1}return t=f(a),l=n[t]=r[t](a),{c(){l.c(),e=O()},l(u){l.l(u),e=O()},m(u,o){n[t].m(u,o),d(u,e,o),s=!0},p(u,o){He(u);let c=t;t=f(u),t===c?n[t].p(u,o):(M(),k(n[c],1,1,()=>{n[c]=null}),Q(),l=n[t],l?l.p(u,o):(l=n[t]=r[t](u),l.c()),b(l,1),l.m(e.parentNode,e))},i(u){s||(b(l),s=!0)},o(u){k(l),s=!1},d(u){n[t].d(u),u&&i(e)}}}function Lt(a){let t,l,e;return l=new Ve({props:{title:H("schedules","empty-state-title"),error:a[11],$$slots:{default:[Rt]},$$scope:{ctx:a}}}),{c(){t=B("div"),R(l.$$.fragment),this.h()},l(s){t=P(s,"DIV",{class:!0});var r=C(t);A(l.$$.fragment,r),r.forEach(i),this.h()},h(){L(t,"class","my-12 flex flex-col items-center justify-start gap-2")},m(s,r){d(s,t,r),W(l,t,null),e=!0},p(s,r){const n={};r&32&&(n.error=s[11]),r&131122&&(n.$$scope={dirty:r,ctx:s}),l.$set(n)},i(s){e||(b(l.$$.fragment,s),e=!0)},o(s){k(l.$$.fragment,s),e=!1},d(s){s&&i(t),q(l)}}}function Bt(a){let t,l;return t=new ot({props:{items:a[3](a[10]),"aria-label":H("schedules"),pageSizeSelectLabel:H("per-page"),previousButtonLabel:H("previous"),nextButtonLabel:H("next"),$$slots:{"action-top-left":[Ft,({visibleItems:e})=>({13:e}),({visibleItems:e})=>e?8192:0],default:[qt,({visibleItems:e})=>({13:e}),({visibleItems:e})=>e?8192:0]},$$scope:{ctx:a}}}),{c(){R(t.$$.fragment)},l(e){A(t.$$.fragment,e)},m(e,s){W(t,e,s),l=!0},p(e,s){const r={};s&40&&(r.items=e[3](e[10])),s&139265&&(r.$$scope={dirty:s,ctx:e}),t.$set(r)},i(e){l||(b(t.$$.fragment,e),l=!0)},o(e){k(t.$$.fragment,e),l=!1},d(e){q(t,e)}}}function Pt(a){let t=H("schedules","getting-started-docs-link")+"",l;return{c(){l=j(t)},l(e){l=U(e,t)},m(e,s){d(e,l,s)},p:G,d(e){e&&i(l)}}}function Ct(a){let t;return{c(){t=j("Temporal CLI")},l(l){t=U(l,"Temporal CLI")},m(l,e){d(l,t,e)},d(l){l&&i(t)}}}function We(a){let t,l;return t=new Ne({props:{"data-testid":"create-schedule",disabled:a[4],href:oe({namespace:a[1]}),$$slots:{default:[Ht]},$$scope:{ctx:a}}}),{c(){R(t.$$.fragment)},l(e){A(t.$$.fragment,e)},m(e,s){W(t,e,s),l=!0},p(e,s){const r={};s&16&&(r.disabled=e[4]),s&2&&(r.href=oe({namespace:e[1]})),s&131072&&(r.$$scope={dirty:s,ctx:e}),t.$set(r)},i(e){l||(b(t.$$.fragment,e),l=!0)},o(e){k(t.$$.fragment,e),l=!1},d(e){q(t,e)}}}function Ht(a){let t=H("schedules","create")+"",l;return{c(){l=j(t)},l(e){l=U(e,t)},m(e,s){d(e,l,s)},p:G,d(e){e&&i(l)}}}function Rt(a){let t,l=H("schedules","getting-started-docs-link-preface")+"",e,s,r,n,f=H("schedules","getting-started-cli-link-preface")+"",u,o,c,h,T,g,D;r=new ae({props:{target:"_external",href:"https://docs.temporal.io/workflows/#schedule",$$slots:{default:[Pt]},$$scope:{ctx:a}}}),c=new ae({props:{target:"_external",href:"https://docs.temporal.io/cli/schedule",$$slots:{default:[Ct]},$$scope:{ctx:a}}});let _=!a[11]&&We(a);return{c(){t=B("p"),e=j(l),s=F(),R(r.$$.fragment),n=F(),u=j(f),o=F(),R(c.$$.fragment),h=j("."),T=F(),_&&_.c(),g=O()},l($){t=P($,"P",{});var p=C(t);e=U(p,l),s=N(p),A(r.$$.fragment,p),n=N(p),u=U(p,f),o=N(p),A(c.$$.fragment,p),h=U(p,"."),p.forEach(i),T=N($),_&&_.l($),g=O()},m($,p){d($,t,p),V(t,e),V(t,s),W(r,t,null),V(t,n),V(t,u),V(t,o),W(c,t,null),V(t,h),d($,T,p),_&&_.m($,p),d($,g,p),D=!0},p($,p){const w={};p&131072&&(w.$$scope={dirty:p,ctx:$}),r.$set(w);const E={};p&131072&&(E.$$scope={dirty:p,ctx:$}),c.$set(E),$[11]?_&&(M(),k(_,1,1,()=>{_=null}),Q()):_?(_.p($,p),p&32&&b(_,1)):(_=We($),_.c(),b(_,1),_.m(g.parentNode,g))},i($){D||(b(r.$$.fragment,$),b(c.$$.fragment,$),b(_),D=!0)},o($){k(r.$$.fragment,$),k(c.$$.fragment,$),k(_),D=!1},d($){$&&i(t),q(r),q(c),$&&i(T),_&&_.d($),$&&i(g)}}}function qe(a){let t,l;return t=new me({props:{$$slots:{default:[At]},$$scope:{ctx:a}}}),{c(){R(t.$$.fragment)},l(e){A(t.$$.fragment,e)},m(e,s){W(t,e,s),l=!0},p(e,s){const r={};s&131072&&(r.$$scope={dirty:s,ctx:e}),t.$set(r)},i(e){l||(b(t.$$.fragment,e),l=!0)},o(e){k(t.$$.fragment,e),l=!1},d(e){q(t,e)}}}function At(a){let t,l,e,s,r,n,f,u;return s=new Ve({props:{title:H("schedules","empty-state-title"),content:H("schedules","empty-state-description")}}),{c(){t=B("td"),l=F(),e=B("td"),R(s.$$.fragment),r=F(),n=B("td"),f=F(),this.h()},l(o){t=P(o,"TD",{class:!0}),C(t).forEach(i),l=N(o),e=P(o,"TD",{colspan:!0});var c=C(e);A(s.$$.fragment,c),c.forEach(i),r=N(o),n=P(o,"TD",{class:!0}),C(n).forEach(i),f=N(o),this.h()},h(){L(t,"class","hidden xl:table-cell"),L(e,"colspan","3"),L(n,"class","hidden xl:table-cell")},m(o,c){d(o,t,c),d(o,l,c),d(o,e,c),W(s,e,null),d(o,r,c),d(o,n,c),d(o,f,c),u=!0},p:G,i(o){u||(b(s.$$.fragment,o),u=!0)},o(o){k(s.$$.fragment,o),u=!1},d(o){o&&i(t),o&&i(l),o&&i(e),q(s),o&&i(r),o&&i(n),o&&i(f)}}}function Fe(a){let t,l;return t=new _t({props:{schedule:a[14]}}),{c(){R(t.$$.fragment)},l(e){A(t.$$.fragment,e)},m(e,s){W(t,e,s),l=!0},p(e,s){const r={};s&8192&&(r.schedule=e[14]),t.$set(r)},i(e){l||(b(t.$$.fragment,e),l=!0)},o(e){k(t.$$.fragment,e),l=!1},d(e){q(t,e)}}}function Wt(a){let t,l,e=a[13],s=[];for(let f=0;fk(s[f],1,1,()=>{s[f]=null});let n=null;return e.length||(n=qe(a)),{c(){for(let f=0;f{n=null}),Q()):(n=qe(f),n.c(),b(n,1),n.m(t.parentNode,t))}},i(f){if(!l){for(let u=0;uOe(l,"value",r)),l.$on("submit",G),{c(){t=B("div"),R(l.$$.fragment),this.h()},l(f){t=P(f,"DIV",{class:!0});var u=C(t);A(l.$$.fragment,u),u.forEach(i),this.h()},h(){L(t,"class","w-full xl:w-1/2")},m(f,u){d(f,t,u),W(l,t,null),s=!0},p(f,u){const o={};!e&&u&1&&(e=!0,o.value=f[0],Ze(()=>e=!1)),l.$set(o)},i(f){s||(b(l.$$.fragment,f),s=!0)},o(f){k(l.$$.fragment,f),s=!1},d(f){f&&i(t),q(l)}}}function Nt(a){let t,l;return t=new nt({}),{c(){R(t.$$.fragment)},l(e){A(t.$$.fragment,e)},m(e,s){W(t,e,s),l=!0},p:G,i(e){l||(b(t.$$.fragment,e),l=!0)},o(e){k(t.$$.fragment,e),l=!1},d(e){q(t,e)}}}function Vt(a){let t,l,e,s=H("schedules")+"",r,n,f,u,o,c,h,T,g,D;n=new rt({props:{type:"beta",$$slots:{default:[Et]},$$scope:{ctx:a}}});let _=a[2]&&Ae(a),$={ctx:a,current:null,token:null,hasCatch:!1,pending:Nt,then:St,catch:It,value:12,blocks:[,,,]};return Ie(g=a[5],$),{c(){t=B("header"),l=B("div"),e=B("h1"),r=j(s),R(n.$$.fragment),f=F(),u=B("p"),o=j(a[1]),c=F(),_&&_.c(),h=F(),T=O(),$.block.c(),this.h()},l(p){t=P(p,"HEADER",{class:!0});var w=C(t);l=P(w,"DIV",{});var E=C(l);e=P(E,"H1",{class:!0});var v=C(e);r=U(v,s),A(n.$$.fragment,v),v.forEach(i),f=N(E),u=P(E,"P",{class:!0,"data-testid":!0});var z=C(u);o=U(z,a[1]),z.forEach(i),E.forEach(i),c=N(w),_&&_.l(w),w.forEach(i),h=N(p),T=O(),$.block.l(p),this.h()},h(){L(e,"class","flex flex-col gap-0 text-lg md:flex-row md:items-center md:gap-2 md:text-2xl"),L(u,"class","text-sm text-gray-600"),L(u,"data-testid","namespace-name"),L(t,"class","flex flex-row justify-between gap-2")},m(p,w){d(p,t,w),V(t,l),V(l,e),V(e,r),W(n,e,null),V(l,f),V(l,u),V(u,o),V(t,c),_&&_.m(t,null),d(p,h,w),d(p,T,w),$.block.m(p,$.anchor=w),$.mount=()=>T.parentNode,$.anchor=T,D=!0},p(p,[w]){a=p;const E={};w&131072&&(E.$$scope={dirty:w,ctx:a}),n.$set(E),(!D||w&2)&&re(o,a[1]),a[2]?_?(_.p(a,w),w&4&&b(_,1)):(_=Ae(a),_.c(),b(_,1),_.m(t,null)):_&&(M(),k(_,1,1,()=>{_=null}),Q()),$.ctx=a,w&32&&g!==(g=a[5])&&Ie(g,$)||Je($,a,w)},i(p){D||(b(n.$$.fragment,p),b(_),b($.block),D=!0)},o(p){k(n.$$.fragment,p),k(_);for(let w=0;w<3;w+=1){const E=$.blocks[w];k(E)}D=!1},d(p){p&&i(t),q(n),_&&_.d(),p&&i(h),p&&i(T),$.block.d(p),$.token=null,$=null}}}function jt(a,t,l){let e,s,r,n,f,u;Z(a,pe,g=>l(8,u=g));let o=!1,c=ft();Z(a,c,g=>l(7,f=g));let h="";function T(g){h=g,l(0,h)}return a.$$.update=()=>{a.$$.dirty&256&&l(1,e=u.params.namespace),a.$$.dirty&2&&l(5,s=tt(e).then(g=>{const{schedules:D}=g;return l(2,o=Boolean(D==null?void 0:D.length)),g})),a.$$.dirty&130&&l(4,r=f.namespaceWriteDisabled(e)),a.$$.dirty&1&&l(3,n=g=>h?g.filter(D=>D.scheduleId.toLowerCase().includes(h.toLowerCase())):g)},[h,e,o,n,r,s,c,f,u,T]}class Ut extends fe{constructor(t){super(),ue(this,t,jt,Vt,ce,{})}}function zt(a){let t,l,e,s;return t=new Qe({props:{title:`Schedules | ${a[0].params.namespace}`,url:a[0].url.href}}),e=new Ut({}),{c(){R(t.$$.fragment),l=F(),R(e.$$.fragment)},l(r){A(t.$$.fragment,r),l=N(r),A(e.$$.fragment,r)},m(r,n){W(t,r,n),d(r,l,n),W(e,r,n),s=!0},p(r,[n]){const f={};n&1&&(f.title=`Schedules | ${r[0].params.namespace}`),n&1&&(f.url=r[0].url.href),t.$set(f)},i(r){s||(b(t.$$.fragment,r),b(e.$$.fragment,r),s=!0)},o(r){k(t.$$.fragment,r),k(e.$$.fragment,r),s=!1},d(r){q(t,r),r&&i(l),q(e,r)}}}function Gt(a,t,l){let e;return Z(a,pe,s=>l(0,e=s)),[e]}class ul extends fe{constructor(t){super(),ue(this,t,Gt,zt,ce,{})}}export{ul as default}; +import{S as fe,b as ue,a as ce,C as R,c as F,D as A,d as N,E as W,f as d,j as b,g as k,F as q,k as i,K as Z,m as B,w as j,p as P,q as C,x as U,u as L,L as V,y as re,z as M,h as Q,a6 as $e,n as G,G as je,H as Ue,I as ze,J as Ge,ar as Ie,e as O,as as Je,A as Ke,Z as Oe,_ as Ze,at as Me}from"../chunks/index.efded970.js";import{p as pe}from"../chunks/stores.3002bd93.js";import{P as Qe}from"../chunks/page-title.a6dec5b5.js";import{g as Xe}from"../chunks/navigation.85b47b98.js";import{W as Ye}from"../chunks/workflow-status.792f3956.js";import{L as ae}from"../chunks/link.cac19769.js";import{T as me}from"../chunks/table-row.6be25099.js";import{t as H}from"../chunks/translate.230dcc19.js";import{t as ye,r as xe,b as ne}from"../chunks/format-date.be4b741e.js";import{o as et,f as Se,p as oe}from"../chunks/route-for.8244bd54.js";import{S as ie,f as tt}from"../chunks/schedule-service.ccc6562c.js";import{T as lt,a as st}from"../chunks/table-header-row.b413d43a.js";import{B as rt}from"../chunks/badge.72fa1965.js";import{B as Ne}from"../chunks/button.a4f5a3d4.js";import{E as Ve}from"../chunks/empty-state.22810bcf.js";import{I as at}from"../chunks/input.f4d0de9f.js";import{L as nt}from"../chunks/loading.32266c92.js";import{P as ot}from"../chunks/pagination.e9c8b93a.js";import{c as ft}from"../chunks/core-user.c3fa437a.js";function Le(a,t,l){const e=a.slice();return e[14]=t[l],e}function Be(a,t,l){const e=a.slice();return e[14]=t[l],e}function ut(a){let t=a[0].scheduleId+"",l;return{c(){l=j(t)},l(e){l=U(e,t)},m(e,s){d(e,l,s)},p(e,s){s&1&&t!==(t=e[0].scheduleId+"")&&re(l,t)},d(e){e&&i(l)}}}function ct(a){var e;let t=ne((e=a[14])==null?void 0:e.actualTime,a[2],{relative:a[3]})+"",l;return{c(){l=j(t)},l(s){l=U(s,t)},m(s,r){d(s,l,r)},p(s,r){var n;r&13&&t!==(t=ne((n=s[14])==null?void 0:n.actualTime,s[2],{relative:s[3]})+"")&&re(l,t)},d(s){s&&i(l)}}}function Pe(a){var r,n,f,u;let t,l,e,s;return l=new ae({props:{href:Se({namespace:a[4],workflow:(n=(r=a[14])==null?void 0:r.startWorkflowResult)==null?void 0:n.workflowId,run:(u=(f=a[14])==null?void 0:f.startWorkflowResult)==null?void 0:u.runId}),$$slots:{default:[ct]},$$scope:{ctx:a}}}),{c(){t=B("p"),R(l.$$.fragment),e=F()},l(o){t=P(o,"P",{});var c=C(t);A(l.$$.fragment,c),e=N(c),c.forEach(i)},m(o,c){d(o,t,c),W(l,t,null),V(t,e),s=!0},p(o,c){var T,g,D,_;const h={};c&1&&(h.href=Se({namespace:o[4],workflow:(g=(T=o[14])==null?void 0:T.startWorkflowResult)==null?void 0:g.workflowId,run:(_=(D=o[14])==null?void 0:D.startWorkflowResult)==null?void 0:_.runId})),c&524301&&(h.$$scope={dirty:c,ctx:o}),l.$set(h)},i(o){s||(b(l.$$.fragment,o),s=!0)},o(o){k(l.$$.fragment,o),s=!1},d(o){o&&i(t),q(l)}}}function Ce(a){let t,l=ne(a[14],a[2],{relative:a[3],relativeLabel:H("from-now")})+"",e,s;return{c(){t=B("div"),e=j(l),s=F()},l(r){t=P(r,"DIV",{});var n=C(t);e=U(n,l),s=N(n),n.forEach(i)},m(r,n){d(r,t,n),V(t,e),V(t,s)},p(r,n){n&13&&l!==(l=ne(r[14],r[2],{relative:r[3],relativeLabel:H("from-now")})+"")&&re(e,l)},d(r){r&&i(t)}}}function it(a){var v,z,X,Y,y,x,_e,de,he,ge;let t,l,e,s,r,n,f,u=(((X=(z=(v=a[0])==null?void 0:v.info)==null?void 0:z.workflowType)==null?void 0:X.name)??"")+"",o,c,h,T,g,D;l=new Ye({props:{status:(y=(Y=a[0])==null?void 0:Y.info)!=null&&y.paused?"Paused":"Running"}}),r=new ae({props:{class:"text-base",$$slots:{default:[ut]},$$scope:{ctx:a}}}),r.$on("click",a[8]);let _=a[7]((_e=(x=a[0])==null?void 0:x.info)==null?void 0:_e.recentActions),$=[];for(let m=0;m<_.length;m+=1)$[m]=Pe(Be(a,_,m));const p=m=>k($[m],1,1,()=>{$[m]=null});let w=((ge=(he=(de=a[0])==null?void 0:de.info)==null?void 0:he.futureActionTimes)==null?void 0:ge.slice(0,5))??[],E=[];for(let m=0;ml(12,s=p)),Z(a,ye,p=>l(2,r=p)),Z(a,xe,p=>l(3,n=p));var f,u,o;let{namespace:c}=s.params,{schedule:h}=t;const T=(f=h==null?void 0:h.info)===null||f===void 0?void 0:f.spec,g=(u=T==null?void 0:T.structuredCalendar)===null||u===void 0?void 0:u[0],D=(o=T==null?void 0:T.interval)===null||o===void 0?void 0:o[0],_=p=>{var w;return(w=p==null?void 0:p.sort((E,v)=>new Date(v.actualTime).getTime()-new Date(E.actualTime).getTime()).slice(0,5))!==null&&w!==void 0?w:[]},$=()=>{Xe(e)};return a.$$set=p=>{"schedule"in p&&l(0,h=p.schedule)},a.$$.update=()=>{a.$$.dirty&1&&l(1,e=et({namespace:c,scheduleId:h==null?void 0:h.scheduleId}))},[h,e,r,n,c,g,D,_,$]}class _t extends fe{constructor(t){super(),ue(this,t,pt,mt,ce,{schedule:0})}}function dt(a){let t;const l=a[0].default,e=je(l,a,a[1],null);return{c(){e&&e.c()},l(s){e&&e.l(s)},m(s,r){e&&e.m(s,r),t=!0},p(s,r){e&&e.p&&(!t||r&2)&&Ue(e,l,s,s[1],t?Ge(l,s[1],r,null):ze(s[1]),null)},i(s){t||(b(e,s),t=!0)},o(s){k(e,s),t=!1},d(s){e&&e.d(s)}}}function ht(a){let t,l=H("schedules")+"",e;return{c(){t=B("caption"),e=j(l),this.h()},l(s){t=P(s,"CAPTION",{class:!0,slot:!0});var r=C(t);e=U(r,l),r.forEach(i),this.h()},h(){L(t,"class","sr-only"),L(t,"slot","caption")},m(s,r){d(s,t,r),V(t,e)},p:G,d(s){s&&i(t)}}}function gt(a){let t,l=H("status")+"",e,s,r,n=H("schedules","name")+"",f,u,o,c=H("workflow-type")+"",h,T,g,D=H("schedules","recent-runs")+"",_,$,p,w=H("schedules","upcoming-runs")+"",E;return{c(){t=B("th"),e=j(l),s=F(),r=B("th"),f=j(n),u=F(),o=B("th"),h=j(c),T=F(),g=B("th"),_=j(D),$=F(),p=B("th"),E=j(w),this.h()},l(v){t=P(v,"TH",{class:!0});var z=C(t);e=U(z,l),z.forEach(i),s=N(v),r=P(v,"TH",{class:!0});var X=C(r);f=U(X,n),X.forEach(i),u=N(v),o=P(v,"TH",{class:!0});var Y=C(o);h=U(Y,c),Y.forEach(i),T=N(v),g=P(v,"TH",{class:!0});var y=C(g);_=U(y,D),y.forEach(i),$=N(v),p=P(v,"TH",{class:!0});var x=C(p);E=U(x,w),x.forEach(i),this.h()},h(){L(t,"class","w-28"),L(r,"class","md:w-80 xl:w-auto"),L(o,"class","w-60 max-md:hidden xl:w-80"),L(g,"class","w-56 max-xl:hidden"),L(p,"class","w-56 max-xl:hidden")},m(v,z){d(v,t,z),V(t,e),d(v,s,z),d(v,r,z),V(r,f),d(v,u,z),d(v,o,z),V(o,h),d(v,T,z),d(v,g,z),V(g,_),d(v,$,z),d(v,p,z),V(p,E)},p:G,d(v){v&&i(t),v&&i(s),v&&i(r),v&&i(u),v&&i(o),v&&i(T),v&&i(g),v&&i($),v&&i(p)}}}function bt(a){let t,l;return t=new st({props:{slot:"headers",$$slots:{default:[gt]},$$scope:{ctx:a}}}),{c(){R(t.$$.fragment)},l(e){A(t.$$.fragment,e)},m(e,s){W(t,e,s),l=!0},p(e,s){const r={};s&2&&(r.$$scope={dirty:s,ctx:e}),t.$set(r)},i(e){l||(b(t.$$.fragment,e),l=!0)},o(e){k(t.$$.fragment,e),l=!1},d(e){q(t,e)}}}function wt(a){let t,l;return t=new lt({props:{class:"table-fixed w-full",$$slots:{headers:[bt],caption:[ht],default:[dt]},$$scope:{ctx:a}}}),{c(){R(t.$$.fragment)},l(e){A(t.$$.fragment,e)},m(e,s){W(t,e,s),l=!0},p(e,[s]){const r={};s&2&&(r.$$scope={dirty:s,ctx:e}),t.$set(r)},i(e){l||(b(t.$$.fragment,e),l=!0)},o(e){k(t.$$.fragment,e),l=!1},d(e){q(t,e)}}}function vt(a,t,l){let{$$slots:e={},$$scope:s}=t;return a.$$set=r=>{"$$scope"in r&&l(1,s=r.$$scope)},[e,s]}class kt extends fe{constructor(t){super(),ue(this,t,vt,wt,ce,{})}}const{Boolean:Tt}=Me;function He(a){a[10]=a[12].schedules,a[11]=a[12].error}function Re(a,t,l){const e=a.slice();return e[14]=t[l],e}function Et(a){let t=H("preview")+"",l;return{c(){l=j(t)},l(e){l=U(e,t)},m(e,s){d(e,l,s)},p:G,d(e){e&&i(l)}}}function Ae(a){let t,l;return t=new Ne({props:{"data-testid":"create-schedule",disabled:a[4],href:oe({namespace:a[1]}),$$slots:{default:[Dt]},$$scope:{ctx:a}}}),{c(){R(t.$$.fragment)},l(e){A(t.$$.fragment,e)},m(e,s){W(t,e,s),l=!0},p(e,s){const r={};s&16&&(r.disabled=e[4]),s&2&&(r.href=oe({namespace:e[1]})),s&131072&&(r.$$scope={dirty:s,ctx:e}),t.$set(r)},i(e){l||(b(t.$$.fragment,e),l=!0)},o(e){k(t.$$.fragment,e),l=!1},d(e){q(t,e)}}}function Dt(a){let t=H("schedules","create")+"",l;return{c(){l=j(t)},l(e){l=U(e,t)},m(e,s){d(e,l,s)},p:G,d(e){e&&i(l)}}}function It(a){return{c:G,l:G,m:G,p:G,i:G,o:G,d:G}}function St(a){He(a);let t,l,e,s;const r=[Bt,Lt],n=[];function f(u,o){var c;return(c=u[10])!=null&&c.length?0:1}return t=f(a),l=n[t]=r[t](a),{c(){l.c(),e=O()},l(u){l.l(u),e=O()},m(u,o){n[t].m(u,o),d(u,e,o),s=!0},p(u,o){He(u);let c=t;t=f(u),t===c?n[t].p(u,o):(M(),k(n[c],1,1,()=>{n[c]=null}),Q(),l=n[t],l?l.p(u,o):(l=n[t]=r[t](u),l.c()),b(l,1),l.m(e.parentNode,e))},i(u){s||(b(l),s=!0)},o(u){k(l),s=!1},d(u){n[t].d(u),u&&i(e)}}}function Lt(a){let t,l,e;return l=new Ve({props:{title:H("schedules","empty-state-title"),error:a[11],$$slots:{default:[Rt]},$$scope:{ctx:a}}}),{c(){t=B("div"),R(l.$$.fragment),this.h()},l(s){t=P(s,"DIV",{class:!0});var r=C(t);A(l.$$.fragment,r),r.forEach(i),this.h()},h(){L(t,"class","my-12 flex flex-col items-center justify-start gap-2")},m(s,r){d(s,t,r),W(l,t,null),e=!0},p(s,r){const n={};r&32&&(n.error=s[11]),r&131122&&(n.$$scope={dirty:r,ctx:s}),l.$set(n)},i(s){e||(b(l.$$.fragment,s),e=!0)},o(s){k(l.$$.fragment,s),e=!1},d(s){s&&i(t),q(l)}}}function Bt(a){let t,l;return t=new ot({props:{items:a[3](a[10]),"aria-label":H("schedules"),pageSizeSelectLabel:H("per-page"),previousButtonLabel:H("previous"),nextButtonLabel:H("next"),$$slots:{"action-top-left":[Ft,({visibleItems:e})=>({13:e}),({visibleItems:e})=>e?8192:0],default:[qt,({visibleItems:e})=>({13:e}),({visibleItems:e})=>e?8192:0]},$$scope:{ctx:a}}}),{c(){R(t.$$.fragment)},l(e){A(t.$$.fragment,e)},m(e,s){W(t,e,s),l=!0},p(e,s){const r={};s&40&&(r.items=e[3](e[10])),s&139265&&(r.$$scope={dirty:s,ctx:e}),t.$set(r)},i(e){l||(b(t.$$.fragment,e),l=!0)},o(e){k(t.$$.fragment,e),l=!1},d(e){q(t,e)}}}function Pt(a){let t=H("schedules","getting-started-docs-link")+"",l;return{c(){l=j(t)},l(e){l=U(e,t)},m(e,s){d(e,l,s)},p:G,d(e){e&&i(l)}}}function Ct(a){let t;return{c(){t=j("Temporal CLI")},l(l){t=U(l,"Temporal CLI")},m(l,e){d(l,t,e)},d(l){l&&i(t)}}}function We(a){let t,l;return t=new Ne({props:{"data-testid":"create-schedule",disabled:a[4],href:oe({namespace:a[1]}),$$slots:{default:[Ht]},$$scope:{ctx:a}}}),{c(){R(t.$$.fragment)},l(e){A(t.$$.fragment,e)},m(e,s){W(t,e,s),l=!0},p(e,s){const r={};s&16&&(r.disabled=e[4]),s&2&&(r.href=oe({namespace:e[1]})),s&131072&&(r.$$scope={dirty:s,ctx:e}),t.$set(r)},i(e){l||(b(t.$$.fragment,e),l=!0)},o(e){k(t.$$.fragment,e),l=!1},d(e){q(t,e)}}}function Ht(a){let t=H("schedules","create")+"",l;return{c(){l=j(t)},l(e){l=U(e,t)},m(e,s){d(e,l,s)},p:G,d(e){e&&i(l)}}}function Rt(a){let t,l=H("schedules","getting-started-docs-link-preface")+"",e,s,r,n,f=H("schedules","getting-started-cli-link-preface")+"",u,o,c,h,T,g,D;r=new ae({props:{target:"_external",href:"https://docs.temporal.io/workflows/#schedule",$$slots:{default:[Pt]},$$scope:{ctx:a}}}),c=new ae({props:{target:"_external",href:"https://docs.temporal.io/cli/schedule",$$slots:{default:[Ct]},$$scope:{ctx:a}}});let _=!a[11]&&We(a);return{c(){t=B("p"),e=j(l),s=F(),R(r.$$.fragment),n=F(),u=j(f),o=F(),R(c.$$.fragment),h=j("."),T=F(),_&&_.c(),g=O()},l($){t=P($,"P",{});var p=C(t);e=U(p,l),s=N(p),A(r.$$.fragment,p),n=N(p),u=U(p,f),o=N(p),A(c.$$.fragment,p),h=U(p,"."),p.forEach(i),T=N($),_&&_.l($),g=O()},m($,p){d($,t,p),V(t,e),V(t,s),W(r,t,null),V(t,n),V(t,u),V(t,o),W(c,t,null),V(t,h),d($,T,p),_&&_.m($,p),d($,g,p),D=!0},p($,p){const w={};p&131072&&(w.$$scope={dirty:p,ctx:$}),r.$set(w);const E={};p&131072&&(E.$$scope={dirty:p,ctx:$}),c.$set(E),$[11]?_&&(M(),k(_,1,1,()=>{_=null}),Q()):_?(_.p($,p),p&32&&b(_,1)):(_=We($),_.c(),b(_,1),_.m(g.parentNode,g))},i($){D||(b(r.$$.fragment,$),b(c.$$.fragment,$),b(_),D=!0)},o($){k(r.$$.fragment,$),k(c.$$.fragment,$),k(_),D=!1},d($){$&&i(t),q(r),q(c),$&&i(T),_&&_.d($),$&&i(g)}}}function qe(a){let t,l;return t=new me({props:{$$slots:{default:[At]},$$scope:{ctx:a}}}),{c(){R(t.$$.fragment)},l(e){A(t.$$.fragment,e)},m(e,s){W(t,e,s),l=!0},p(e,s){const r={};s&131072&&(r.$$scope={dirty:s,ctx:e}),t.$set(r)},i(e){l||(b(t.$$.fragment,e),l=!0)},o(e){k(t.$$.fragment,e),l=!1},d(e){q(t,e)}}}function At(a){let t,l,e,s,r,n,f,u;return s=new Ve({props:{title:H("schedules","empty-state-title"),content:H("schedules","empty-state-description")}}),{c(){t=B("td"),l=F(),e=B("td"),R(s.$$.fragment),r=F(),n=B("td"),f=F(),this.h()},l(o){t=P(o,"TD",{class:!0}),C(t).forEach(i),l=N(o),e=P(o,"TD",{colspan:!0});var c=C(e);A(s.$$.fragment,c),c.forEach(i),r=N(o),n=P(o,"TD",{class:!0}),C(n).forEach(i),f=N(o),this.h()},h(){L(t,"class","hidden xl:table-cell"),L(e,"colspan","3"),L(n,"class","hidden xl:table-cell")},m(o,c){d(o,t,c),d(o,l,c),d(o,e,c),W(s,e,null),d(o,r,c),d(o,n,c),d(o,f,c),u=!0},p:G,i(o){u||(b(s.$$.fragment,o),u=!0)},o(o){k(s.$$.fragment,o),u=!1},d(o){o&&i(t),o&&i(l),o&&i(e),q(s),o&&i(r),o&&i(n),o&&i(f)}}}function Fe(a){let t,l;return t=new _t({props:{schedule:a[14]}}),{c(){R(t.$$.fragment)},l(e){A(t.$$.fragment,e)},m(e,s){W(t,e,s),l=!0},p(e,s){const r={};s&8192&&(r.schedule=e[14]),t.$set(r)},i(e){l||(b(t.$$.fragment,e),l=!0)},o(e){k(t.$$.fragment,e),l=!1},d(e){q(t,e)}}}function Wt(a){let t,l,e=a[13],s=[];for(let f=0;fk(s[f],1,1,()=>{s[f]=null});let n=null;return e.length||(n=qe(a)),{c(){for(let f=0;f{n=null}),Q()):(n=qe(f),n.c(),b(n,1),n.m(t.parentNode,t))}},i(f){if(!l){for(let u=0;uOe(l,"value",r)),l.$on("submit",G),{c(){t=B("div"),R(l.$$.fragment),this.h()},l(f){t=P(f,"DIV",{class:!0});var u=C(t);A(l.$$.fragment,u),u.forEach(i),this.h()},h(){L(t,"class","w-full xl:w-1/2")},m(f,u){d(f,t,u),W(l,t,null),s=!0},p(f,u){const o={};!e&&u&1&&(e=!0,o.value=f[0],Ze(()=>e=!1)),l.$set(o)},i(f){s||(b(l.$$.fragment,f),s=!0)},o(f){k(l.$$.fragment,f),s=!1},d(f){f&&i(t),q(l)}}}function Nt(a){let t,l;return t=new nt({}),{c(){R(t.$$.fragment)},l(e){A(t.$$.fragment,e)},m(e,s){W(t,e,s),l=!0},p:G,i(e){l||(b(t.$$.fragment,e),l=!0)},o(e){k(t.$$.fragment,e),l=!1},d(e){q(t,e)}}}function Vt(a){let t,l,e,s=H("schedules")+"",r,n,f,u,o,c,h,T,g,D;n=new rt({props:{type:"beta",$$slots:{default:[Et]},$$scope:{ctx:a}}});let _=a[2]&&Ae(a),$={ctx:a,current:null,token:null,hasCatch:!1,pending:Nt,then:St,catch:It,value:12,blocks:[,,,]};return Ie(g=a[5],$),{c(){t=B("header"),l=B("div"),e=B("h1"),r=j(s),R(n.$$.fragment),f=F(),u=B("p"),o=j(a[1]),c=F(),_&&_.c(),h=F(),T=O(),$.block.c(),this.h()},l(p){t=P(p,"HEADER",{class:!0});var w=C(t);l=P(w,"DIV",{});var E=C(l);e=P(E,"H1",{class:!0});var v=C(e);r=U(v,s),A(n.$$.fragment,v),v.forEach(i),f=N(E),u=P(E,"P",{class:!0,"data-testid":!0});var z=C(u);o=U(z,a[1]),z.forEach(i),E.forEach(i),c=N(w),_&&_.l(w),w.forEach(i),h=N(p),T=O(),$.block.l(p),this.h()},h(){L(e,"class","flex flex-col gap-0 text-lg md:flex-row md:items-center md:gap-2 md:text-2xl"),L(u,"class","text-sm text-gray-600"),L(u,"data-testid","namespace-name"),L(t,"class","flex flex-row justify-between gap-2")},m(p,w){d(p,t,w),V(t,l),V(l,e),V(e,r),W(n,e,null),V(l,f),V(l,u),V(u,o),V(t,c),_&&_.m(t,null),d(p,h,w),d(p,T,w),$.block.m(p,$.anchor=w),$.mount=()=>T.parentNode,$.anchor=T,D=!0},p(p,[w]){a=p;const E={};w&131072&&(E.$$scope={dirty:w,ctx:a}),n.$set(E),(!D||w&2)&&re(o,a[1]),a[2]?_?(_.p(a,w),w&4&&b(_,1)):(_=Ae(a),_.c(),b(_,1),_.m(t,null)):_&&(M(),k(_,1,1,()=>{_=null}),Q()),$.ctx=a,w&32&&g!==(g=a[5])&&Ie(g,$)||Je($,a,w)},i(p){D||(b(n.$$.fragment,p),b(_),b($.block),D=!0)},o(p){k(n.$$.fragment,p),k(_);for(let w=0;w<3;w+=1){const E=$.blocks[w];k(E)}D=!1},d(p){p&&i(t),q(n),_&&_.d(),p&&i(h),p&&i(T),$.block.d(p),$.token=null,$=null}}}function jt(a,t,l){let e,s,r,n,f,u;Z(a,pe,g=>l(8,u=g));let o=!1,c=ft();Z(a,c,g=>l(7,f=g));let h="";function T(g){h=g,l(0,h)}return a.$$.update=()=>{a.$$.dirty&256&&l(1,e=u.params.namespace),a.$$.dirty&2&&l(5,s=tt(e).then(g=>{const{schedules:D}=g;return l(2,o=Boolean(D==null?void 0:D.length)),g})),a.$$.dirty&130&&l(4,r=f.namespaceWriteDisabled(e)),a.$$.dirty&1&&l(3,n=g=>h?g.filter(D=>D.scheduleId.toLowerCase().includes(h.toLowerCase())):g)},[h,e,o,n,r,s,c,f,u,T]}class Ut extends fe{constructor(t){super(),ue(this,t,jt,Vt,ce,{})}}function zt(a){let t,l,e,s;return t=new Qe({props:{title:`Schedules | ${a[0].params.namespace}`,url:a[0].url.href}}),e=new Ut({}),{c(){R(t.$$.fragment),l=F(),R(e.$$.fragment)},l(r){A(t.$$.fragment,r),l=N(r),A(e.$$.fragment,r)},m(r,n){W(t,r,n),d(r,l,n),W(e,r,n),s=!0},p(r,[n]){const f={};n&1&&(f.title=`Schedules | ${r[0].params.namespace}`),n&1&&(f.url=r[0].url.href),t.$set(f)},i(r){s||(b(t.$$.fragment,r),b(e.$$.fragment,r),s=!0)},o(r){k(t.$$.fragment,r),k(e.$$.fragment,r),s=!1},d(r){q(t,r),r&&i(l),q(e,r)}}}function Gt(a,t,l){let e;return Z(a,pe,s=>l(0,e=s)),[e]}class ul extends fe{constructor(t){super(),ue(this,t,Gt,zt,ce,{})}}export{ul as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-task-queues-_queue_-page.svelte.399ab9f7.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-task-queues-_queue_-page.svelte.f0279b73.js similarity index 92% rename from ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-task-queues-_queue_-page.svelte.399ab9f7.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-task-queues-_queue_-page.svelte.f0279b73.js index c72d18f806..470d49a47b 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-task-queues-_queue_-page.svelte.399ab9f7.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-task-queues-_queue_-page.svelte.f0279b73.js @@ -1 +1 @@ -import{S as Q,b as P,a as C,ar as T,e as p,f as g,as as v,j as u,g as i,k as d,K as W,n as a,C as _,D as k,E as $,F as b,c as I,d as N}from"../chunks/index.efded970.js";import{p as F}from"../chunks/stores.83aed68d.js";import{P as S}from"../chunks/page-title.a6dec5b5.js";import{W as h}from"../chunks/workers-list.4f77c93c.js";import{g as j,a as B,b as D}from"../chunks/pollers-service.956dcc71.js";import{p as E,c as H}from"../chunks/task-queue-compatibility.cf5696f8.js";function y(r){const t=E(r[4].pollers);r[5]=t}function q(r){r[7]=r[9][0],r[8]=r[9][1]}function K(r){const t=r.slice(),l=H(t[4].pollers);return t[6]=l,t}function R(r){return{c:a,l:a,m:a,p:a,i:a,o:a,d:a}}function U(r){y(r);let t,l,e,n;const o=[z,V],c=[];function m(s,f){return s[5]?0:1}function w(s,f){return f===0?K(s):s}return t=m(r),l=c[t]=o[t](w(r,t)),{c(){l.c(),e=p()},l(s){l.l(s),e=p()},m(s,f){c[t].m(s,f),g(s,e,f),n=!0},p(s,f){y(s),l.p(w(s,t),f)},i(s){n||(u(l),n=!0)},o(s){i(l),n=!1},d(s){c[t].d(s),s&&d(e)}}}function V(r){let t,l;return t=new h({props:{taskQueue:r[0],workers:r[4]}}),{c(){_(t.$$.fragment)},l(e){k(t.$$.fragment,e)},m(e,n){$(t,e,n),l=!0},p:a,i(e){l||(u(t.$$.fragment,e),l=!0)},o(e){i(t.$$.fragment,e),l=!1},d(e){b(t,e)}}}function z(r){let t,l,e={ctx:r,current:null,token:null,hasCatch:!0,pending:J,then:G,catch:A,value:9,blocks:[,,,]};return T(Promise.all([B({queue:r[0],namespace:r[1]}),D({namespace:r[1],buildIds:r[6],taskQueue:r[2]})]),e),{c(){t=p(),e.block.c()},l(n){t=p(),e.block.l(n)},m(n,o){g(n,t,o),e.block.m(n,e.anchor=o),e.mount=()=>t.parentNode,e.anchor=t,l=!0},p(n,o){r=n,v(e,r,o)},i(n){l||(u(e.block),l=!0)},o(n){for(let o=0;o<3;o+=1){const c=e.blocks[o];i(c)}l=!1},d(n){n&&d(t),e.block.d(n),e.token=null,e=null}}}function A(r){let t,l;return t=new h({props:{taskQueue:r[0],workers:r[4]}}),{c(){_(t.$$.fragment)},l(e){k(t.$$.fragment,e)},m(e,n){$(t,e,n),l=!0},p:a,i(e){l||(u(t.$$.fragment,e),l=!0)},o(e){i(t.$$.fragment,e),l=!1},d(e){b(t,e)}}}function G(r){q(r);let t,l;return t=new h({props:{taskQueue:r[0],workers:r[4],compatibility:r[7],reachability:r[8]}}),{c(){_(t.$$.fragment)},l(e){k(t.$$.fragment,e)},m(e,n){$(t,e,n),l=!0},p(e,n){q(e)},i(e){l||(u(t.$$.fragment,e),l=!0)},o(e){i(t.$$.fragment,e),l=!1},d(e){b(t,e)}}}function J(r){return{c:a,l:a,m:a,p:a,i:a,o:a,d:a}}function L(r){return{c:a,l:a,m:a,p:a,i:a,o:a,d:a}}function M(r){let t,l,e={ctx:r,current:null,token:null,hasCatch:!1,pending:L,then:U,catch:R,value:4,blocks:[,,,]};return T(j({queue:r[0],namespace:r[1]}),e),{c(){t=p(),e.block.c()},l(n){t=p(),e.block.l(n)},m(n,o){g(n,t,o),e.block.m(n,e.anchor=o),e.mount=()=>t.parentNode,e.anchor=t,l=!0},p(n,[o]){r=n,v(e,r,o)},i(n){l||(u(e.block),l=!0)},o(n){for(let o=0;o<3;o+=1){const c=e.blocks[o];i(c)}l=!1},d(n){n&&d(t),e.block.d(n),e.token=null,e=null}}}function O(r,t,l){let e;W(r,F,m=>l(3,e=m));let{queue:n,namespace:o,taskQueue:c}=e.params;return[n,o,c]}class X extends Q{constructor(t){super(),P(this,t,O,M,C,{})}}function Y(r){let t,l,e,n;return t=new S({props:{title:`Task Queue | ${r[1]}`,url:r[0].url.href}}),e=new X({}),{c(){_(t.$$.fragment),l=I(),_(e.$$.fragment)},l(o){k(t.$$.fragment,o),l=N(o),k(e.$$.fragment,o)},m(o,c){$(t,o,c),g(o,l,c),$(e,o,c),n=!0},p(o,[c]){const m={};c&1&&(m.url=o[0].url.href),t.$set(m)},i(o){n||(u(t.$$.fragment,o),u(e.$$.fragment,o),n=!0)},o(o){i(t.$$.fragment,o),i(e.$$.fragment,o),n=!1},d(o){b(t,o),o&&d(l),b(e,o)}}}function Z(r,t,l){let e;W(r,F,o=>l(0,e=o));const n=e.params.queue;return[e,n]}class le extends Q{constructor(t){super(),P(this,t,Z,Y,C,{})}}export{le as default}; +import{S as Q,b as P,a as C,ar as T,e as p,f as g,as as v,j as u,g as i,k as d,K as W,n as a,C as _,D as k,E as $,F as b,c as I,d as N}from"../chunks/index.efded970.js";import{p as F}from"../chunks/stores.3002bd93.js";import{P as S}from"../chunks/page-title.a6dec5b5.js";import{W as h}from"../chunks/workers-list.b54d3495.js";import{g as j,a as B,b as D}from"../chunks/pollers-service.6835f4ba.js";import{p as E,c as H}from"../chunks/task-queue-compatibility.cf5696f8.js";function y(r){const t=E(r[4].pollers);r[5]=t}function q(r){r[7]=r[9][0],r[8]=r[9][1]}function K(r){const t=r.slice(),l=H(t[4].pollers);return t[6]=l,t}function R(r){return{c:a,l:a,m:a,p:a,i:a,o:a,d:a}}function U(r){y(r);let t,l,e,n;const o=[z,V],c=[];function m(s,f){return s[5]?0:1}function w(s,f){return f===0?K(s):s}return t=m(r),l=c[t]=o[t](w(r,t)),{c(){l.c(),e=p()},l(s){l.l(s),e=p()},m(s,f){c[t].m(s,f),g(s,e,f),n=!0},p(s,f){y(s),l.p(w(s,t),f)},i(s){n||(u(l),n=!0)},o(s){i(l),n=!1},d(s){c[t].d(s),s&&d(e)}}}function V(r){let t,l;return t=new h({props:{taskQueue:r[0],workers:r[4]}}),{c(){_(t.$$.fragment)},l(e){k(t.$$.fragment,e)},m(e,n){$(t,e,n),l=!0},p:a,i(e){l||(u(t.$$.fragment,e),l=!0)},o(e){i(t.$$.fragment,e),l=!1},d(e){b(t,e)}}}function z(r){let t,l,e={ctx:r,current:null,token:null,hasCatch:!0,pending:J,then:G,catch:A,value:9,blocks:[,,,]};return T(Promise.all([B({queue:r[0],namespace:r[1]}),D({namespace:r[1],buildIds:r[6],taskQueue:r[2]})]),e),{c(){t=p(),e.block.c()},l(n){t=p(),e.block.l(n)},m(n,o){g(n,t,o),e.block.m(n,e.anchor=o),e.mount=()=>t.parentNode,e.anchor=t,l=!0},p(n,o){r=n,v(e,r,o)},i(n){l||(u(e.block),l=!0)},o(n){for(let o=0;o<3;o+=1){const c=e.blocks[o];i(c)}l=!1},d(n){n&&d(t),e.block.d(n),e.token=null,e=null}}}function A(r){let t,l;return t=new h({props:{taskQueue:r[0],workers:r[4]}}),{c(){_(t.$$.fragment)},l(e){k(t.$$.fragment,e)},m(e,n){$(t,e,n),l=!0},p:a,i(e){l||(u(t.$$.fragment,e),l=!0)},o(e){i(t.$$.fragment,e),l=!1},d(e){b(t,e)}}}function G(r){q(r);let t,l;return t=new h({props:{taskQueue:r[0],workers:r[4],compatibility:r[7],reachability:r[8]}}),{c(){_(t.$$.fragment)},l(e){k(t.$$.fragment,e)},m(e,n){$(t,e,n),l=!0},p(e,n){q(e)},i(e){l||(u(t.$$.fragment,e),l=!0)},o(e){i(t.$$.fragment,e),l=!1},d(e){b(t,e)}}}function J(r){return{c:a,l:a,m:a,p:a,i:a,o:a,d:a}}function L(r){return{c:a,l:a,m:a,p:a,i:a,o:a,d:a}}function M(r){let t,l,e={ctx:r,current:null,token:null,hasCatch:!1,pending:L,then:U,catch:R,value:4,blocks:[,,,]};return T(j({queue:r[0],namespace:r[1]}),e),{c(){t=p(),e.block.c()},l(n){t=p(),e.block.l(n)},m(n,o){g(n,t,o),e.block.m(n,e.anchor=o),e.mount=()=>t.parentNode,e.anchor=t,l=!0},p(n,[o]){r=n,v(e,r,o)},i(n){l||(u(e.block),l=!0)},o(n){for(let o=0;o<3;o+=1){const c=e.blocks[o];i(c)}l=!1},d(n){n&&d(t),e.block.d(n),e.token=null,e=null}}}function O(r,t,l){let e;W(r,F,m=>l(3,e=m));let{queue:n,namespace:o,taskQueue:c}=e.params;return[n,o,c]}class X extends Q{constructor(t){super(),P(this,t,O,M,C,{})}}function Y(r){let t,l,e,n;return t=new S({props:{title:`Task Queue | ${r[1]}`,url:r[0].url.href}}),e=new X({}),{c(){_(t.$$.fragment),l=I(),_(e.$$.fragment)},l(o){k(t.$$.fragment,o),l=N(o),k(e.$$.fragment,o)},m(o,c){$(t,o,c),g(o,l,c),$(e,o,c),n=!0},p(o,[c]){const m={};c&1&&(m.url=o[0].url.href),t.$set(m)},i(o){n||(u(t.$$.fragment,o),u(e.$$.fragment,o),n=!0)},o(o){i(t.$$.fragment,o),i(e.$$.fragment,o),n=!1},d(o){b(t,o),o&&d(l),b(e,o)}}}function Z(r,t,l){let e;W(r,F,o=>l(0,e=o));const n=e.params.queue;return[e,n]}class le extends Q{constructor(t){super(),P(this,t,Z,Y,C,{})}}export{le as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-compact-page.ts.0bfeeb5a.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-compact-page.ts.0bfeeb5a.js deleted file mode 100644 index 27f5d6a270..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-compact-page.ts.0bfeeb5a.js +++ /dev/null @@ -1 +0,0 @@ -import"../chunks/index.b1f5b21f.js";import"../chunks/route-for.f2f7cb1c.js";import{l as t}from"../chunks/_page.70afa1d3.js";export{t as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-compact-page.ts.6492cc6a.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-compact-page.ts.6492cc6a.js new file mode 100644 index 0000000000..41fc12d12d --- /dev/null +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-compact-page.ts.6492cc6a.js @@ -0,0 +1 @@ +import"../chunks/index.b1f5b21f.js";import"../chunks/route-for.8244bd54.js";import{l as t}from"../chunks/_page.4d00784b.js";export{t as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-feed-page.ts.0bfeeb5a.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-feed-page.ts.0bfeeb5a.js deleted file mode 100644 index 609731b203..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-feed-page.ts.0bfeeb5a.js +++ /dev/null @@ -1 +0,0 @@ -import"../chunks/index.b1f5b21f.js";import"../chunks/route-for.f2f7cb1c.js";import{l as t}from"../chunks/_page.2f4fdd95.js";export{t as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-feed-page.ts.6492cc6a.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-feed-page.ts.6492cc6a.js new file mode 100644 index 0000000000..b1c6b99f95 --- /dev/null +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-feed-page.ts.6492cc6a.js @@ -0,0 +1 @@ +import"../chunks/index.b1f5b21f.js";import"../chunks/route-for.8244bd54.js";import{l as t}from"../chunks/_page.9ffea987.js";export{t as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-json-page.ts.0bfeeb5a.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-json-page.ts.0bfeeb5a.js deleted file mode 100644 index 3c51da4aae..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-json-page.ts.0bfeeb5a.js +++ /dev/null @@ -1 +0,0 @@ -import"../chunks/index.b1f5b21f.js";import"../chunks/route-for.f2f7cb1c.js";import{l as t}from"../chunks/_page.c8218868.js";export{t as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-json-page.ts.6492cc6a.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-json-page.ts.6492cc6a.js new file mode 100644 index 0000000000..96c3a4f789 --- /dev/null +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-json-page.ts.6492cc6a.js @@ -0,0 +1 @@ +import"../chunks/index.b1f5b21f.js";import"../chunks/route-for.8244bd54.js";import{l as t}from"../chunks/_page.a85e69cb.js";export{t as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-page.svelte.94aad5f5.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-page.svelte.7fc8428a.js similarity index 99% rename from ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-page.svelte.94aad5f5.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-page.svelte.7fc8428a.js index e5b20218df..6f78faf846 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-page.svelte.94aad5f5.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-page.svelte.7fc8428a.js @@ -1,4 +1,4 @@ -import{S as kt,b as St,a as xt,m as Z,w as oe,c as ae,C as G,p as Q,q as B,x as le,k as x,d as se,D as X,u as W,f as F,L as P,E as z,j as C,g as I,F as V,K as ze,o as Bx,A as B_,W as Mr,X as Ar,y as qe,n as Le,z as je,h as He,G as G_,H as z_,I as V_,J as U_,B as qo,e as lt,i as Gx,N as Zo,O as lv,R as X_,T as uv,U as zx,a6 as Vx,a9 as cd,aa as fd,au as Ux,a3 as K_,a4 as q_,a5 as Qa,Y as Xx,Z as Kx,_ as qx}from"../chunks/index.efded970.js";import{p as $n}from"../chunks/stores.83aed68d.js";import{P as Zx}from"../chunks/page-title.a6dec5b5.js";import{t as U}from"../chunks/translate.230dcc19.js";import{B as Ho}from"../chunks/button.a4f5a3d4.js";import{I as _s}from"../chunks/icon.91a9bf44.js";import{g as zc}from"../chunks/index.aabaaaa7.js";import{d as Qo,e as Z_,b as cv}from"../chunks/event-view.de9a16d6.js";import{w as ba,a as fv,r as Qx}from"../chunks/workflow-run.3d1553b6.js";import{c as Jx}from"../chunks/format-camel-case.887ffc78.js";import{D as eT,L as tT}from"../chunks/drawer.f1cf2cf1.js";import{T as Q_}from"../chunks/tooltip.407e84a1.js";import{B as br}from"../chunks/badge.72fa1965.js";import{C as bs}from"../chunks/code-block.cc2ffee9.js";import{L as Nr}from"../chunks/link.cac19769.js";import{t as J_,r as eb,b as Zn}from"../chunks/format-date.be4b741e.js";import{j as hv,k as dv}from"../chunks/format-event-attributes.1d147cb1.js";import{k as pv,E as vv,q as rT}from"../chunks/format-time.8258873a.js";import{h as iT,f as hr,o as mv,g as gv,k as vi}from"../chunks/route-for.f2f7cb1c.js";import{t as yv}from"../chunks/to-time-difference.be87d1bf.js";import{P as tb}from"../chunks/pagination.5253b8b7.js";import{T as ws,a as $s}from"../chunks/table-header-row.b413d43a.js";import{T as Ol}from"../chunks/table-row.6be25099.js";import{W as nT}from"../chunks/workflow-status.792f3956.js";import{A as hd}from"../chunks/accordion.0b47b9b3.js";import{C as kn}from"../chunks/copyable.6f6014ce.js";import{f as rb}from"../chunks/menu.9d531fff.js";import{A as dd}from"../chunks/alert.0a6aa272.js";import{w as aT}from"../chunks/task-queue-compatibility.cf5696f8.js";import{b as ib,E as sT,a as oT}from"../chunks/event-summary-table.e529cb88.js";import{T as lT,a as mo}from"../chunks/toggle-buttons.9fe9f320.js";import{a as pd}from"../chunks/auth-user.2a42bf1d.js";import{a as vd,b as nb,c as Wo,e as ab}from"../chunks/events-service.1baddf3f.js";import{n as uT}from"../chunks/namespaces.08ac61f9.js";import{s as Vc}from"../chunks/parse-with-big-int.bccd89af.js";import{H as sb,I as cT,J as fT,u as hT,f as dT,n as pT,g as vT,p as mT,C as gT}from"../chunks/is-event-type.4dbe973b.js";import{h as yT}from"../chunks/has.f5323580.js";import{a as _T}from"../chunks/is.ba28a1ea.js";import{C as bT}from"../chunks/get-event-categorization.35f43125.js";import{e as wT}from"../chunks/filters.bd92de72.js";import{W as $T}from"../chunks/workflow-json-navigator.2b49c9a5.js";import{T as kT}from"../chunks/toggle-switch.f8f2487a.js";/** +import{S as kt,b as St,a as xt,m as Z,w as oe,c as ae,C as G,p as Q,q as B,x as le,k as x,d as se,D as X,u as W,f as F,L as P,E as z,j as C,g as I,F as V,K as ze,o as Bx,A as B_,W as Mr,X as Ar,y as qe,n as Le,z as je,h as He,G as G_,H as z_,I as V_,J as U_,B as qo,e as lt,i as Gx,N as Zo,O as lv,R as X_,T as uv,U as zx,a6 as Vx,a9 as cd,aa as fd,au as Ux,a3 as K_,a4 as q_,a5 as Qa,Y as Xx,Z as Kx,_ as qx}from"../chunks/index.efded970.js";import{p as $n}from"../chunks/stores.3002bd93.js";import{P as Zx}from"../chunks/page-title.a6dec5b5.js";import{t as U}from"../chunks/translate.230dcc19.js";import{B as Ho}from"../chunks/button.a4f5a3d4.js";import{I as _s}from"../chunks/icon.91a9bf44.js";import{g as zc}from"../chunks/index.aabaaaa7.js";import{d as Qo,e as Z_,b as cv}from"../chunks/event-view.de9a16d6.js";import{w as ba,a as fv,r as Qx}from"../chunks/workflow-run.3d1553b6.js";import{c as Jx}from"../chunks/format-camel-case.887ffc78.js";import{D as eT,L as tT}from"../chunks/drawer.d5a49f69.js";import{T as Q_}from"../chunks/tooltip.407e84a1.js";import{B as br}from"../chunks/badge.72fa1965.js";import{C as bs}from"../chunks/code-block.cc2ffee9.js";import{L as Nr}from"../chunks/link.cac19769.js";import{t as J_,r as eb,b as Zn}from"../chunks/format-date.be4b741e.js";import{j as hv,k as dv}from"../chunks/format-event-attributes.1d147cb1.js";import{k as pv,E as vv,q as rT}from"../chunks/format-time.8258873a.js";import{h as iT,f as hr,o as mv,g as gv,k as vi}from"../chunks/route-for.8244bd54.js";import{t as yv}from"../chunks/to-time-difference.be87d1bf.js";import{P as tb}from"../chunks/pagination.e9c8b93a.js";import{T as ws,a as $s}from"../chunks/table-header-row.b413d43a.js";import{T as Ol}from"../chunks/table-row.6be25099.js";import{W as nT}from"../chunks/workflow-status.792f3956.js";import{A as hd}from"../chunks/accordion.0b47b9b3.js";import{C as kn}from"../chunks/copyable.6f6014ce.js";import{f as rb}from"../chunks/menu.9d531fff.js";import{A as dd}from"../chunks/alert.0a6aa272.js";import{w as aT}from"../chunks/task-queue-compatibility.cf5696f8.js";import{b as ib,E as sT,a as oT}from"../chunks/event-summary-table.98f53565.js";import{T as lT,a as mo}from"../chunks/toggle-buttons.59bb67f3.js";import{a as pd}from"../chunks/auth-user.2a42bf1d.js";import{a as vd,b as nb,c as Wo,e as ab}from"../chunks/events-service.31abcdb2.js";import{n as uT}from"../chunks/namespaces.08ac61f9.js";import{s as Vc}from"../chunks/parse-with-big-int.bccd89af.js";import{H as sb,I as cT,J as fT,u as hT,f as dT,n as pT,g as vT,p as mT,C as gT}from"../chunks/is-event-type.4dbe973b.js";import{h as yT}from"../chunks/has.f5323580.js";import{a as _T}from"../chunks/is.ba28a1ea.js";import{C as bT}from"../chunks/get-event-categorization.35f43125.js";import{e as wT}from"../chunks/filters.2e8e7341.js";import{W as $T}from"../chunks/workflow-json-navigator.2b49c9a5.js";import{T as kT}from"../chunks/toggle-switch.f8f2487a.js";/** * vis-timeline and vis-graph2d * https://visjs.github.io/vis-timeline/ * diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-layout.svelte.ccb757a4.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-layout.svelte.a3178fdd.js similarity index 99% rename from ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-layout.svelte.ccb757a4.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-layout.svelte.a3178fdd.js index 870905c19f..8b1e590b7c 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-layout.svelte.ccb757a4.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-layout.svelte.a3178fdd.js @@ -1,4 +1,4 @@ -import{S as Yt,b as Xt,a as Zt,C as z,D as q,E as j,j as D,g as _,F as U,K as be,i as Pl,A as Pe,Z as Be,m as Y,c as ie,p as X,q as ee,k as C,d as ne,u as J,f as W,L as F,_ as Ie,a6 as tr,w as re,x as oe,Q as _l,y as ci,e as Et,z as gt,h as mt,n as De,N as ws,O as Br,a1 as uf,R as df,T as Ir,M as pf,o as ir,U as gf,V as mf,a5 as Ee,aj as nr,a3 as Rl,a4 as Bl,G as Il,H as El,I as Nl,J as $l}from"../chunks/index.efded970.js";import{p as sr}from"../chunks/stores.83aed68d.js";import{L as wf}from"../chunks/loading.32266c92.js";import{d as bf,f as Ll}from"../chunks/menu.9d531fff.js";import{T as yf}from"../chunks/toggle-switch.f8f2487a.js";import{T as rr}from"../chunks/tooltip.407e84a1.js";import{t as B}from"../chunks/translate.230dcc19.js";import{a as fn,e as Er}from"../chunks/event-view.de9a16d6.js";import{I as or}from"../chunks/input.f4d0de9f.js";import{S as kf,O as vf}from"../chunks/option.ccff5056.js";import{R as ni,w as Sf,a as xf,f as Nr,A as $r}from"../chunks/workflow-terminate-enabled.d56fddc4.js";import{r as Vl,e as cn,t as Lr,i as Af,f as Cf}from"../chunks/events-service.1baddf3f.js";import{B as Of}from"../chunks/button.a4f5a3d4.js";import{c as je,I as Mf}from"../chunks/icon.91a9bf44.js";import{B as lr}from"../chunks/badge.72fa1965.js";import{M as Tf}from"../chunks/menu-divider.99a2857a.js";import{M as Vi}from"../chunks/modal.e8d88b85.js";import{S as Df}from"../chunks/split-button.c1a13603.js";import{w as Pf,t as _f,c as Rf,s as Bf,r as If,f as Ef}from"../chunks/workflow-service.6fa8d283.js";import{a as Wl}from"../chunks/auth-user.2a42bf1d.js";import{c as Nf}from"../chunks/core-user.c3fa437a.js";import{p as $f}from"../chunks/persist-store.c0203efc.js";import{s as Lf}from"../chunks/settings.f4bcc2b2.js";import{t as Xn}from"../chunks/toaster.fd2b66a2.js";import{r as dt,w as un,i as Vf}from"../chunks/workflow-run.3d1553b6.js";import{W as Wf}from"../chunks/workflow-status.792f3956.js";import{A as Fl}from"../chunks/alert.0a6aa272.js";import{C as Vr,g as Ff,a as Hf,b as zf}from"../chunks/pollers-service.956dcc71.js";import{C as qf}from"../chunks/copyable.6f6014ce.js";import{L as Hl}from"../chunks/link.cac19769.js";import{T as jf,a as Uf,b as yi}from"../chunks/tab.492ff65b.js";import{w as Kf}from"../chunks/workflows.f9987742.js";import{h as Gf}from"../chunks/has.f5323580.js";import{r as Wr,f as si,g as Wi,h as Fi,i as Hi,j as zi}from"../chunks/route-for.f2f7cb1c.js";import{g as Qf,a as Jf,b as Yf,p as Xf,c as Zf}from"../chunks/task-queue-compatibility.cf5696f8.js";import{p as ec,c as tc}from"../chunks/data-encoder-config.ddfdfd14.js";import{c as ic,a as nc,d as sc}from"../chunks/decode-payload.97e177eb.js";import{g as rc,a as oc}from"../chunks/get-codec.19c43d34.js";import{w as lc}from"../chunks/index.c0615b9d.js";function ac(s){let e,t;return e=new yf({props:{label:B("workflows","auto-refresh"),labelPosition:"left",id:"autorefresh",checked:s[1]}}),e.$on("change",function(){Pl(s[0])&&s[0].apply(this,arguments)}),{c(){z(e.$$.fragment)},l(i){q(e.$$.fragment,i)},m(i,n){j(e,i,n),t=!0},p(i,n){s=i;const r={};n&2&&(r.checked=s[1]),e.$set(r)},i(i){t||(D(e.$$.fragment,i),t=!0)},o(i){_(e.$$.fragment,i),t=!1},d(i){U(e,i)}}}function hc(s){let e,t;return e=new rr({props:{bottomLeft:!0,text:B("workflows","auto-refresh-tooltip"),$$slots:{default:[ac]},$$scope:{ctx:s}}}),{c(){z(e.$$.fragment)},l(i){q(e.$$.fragment,i)},m(i,n){j(e,i,n),t=!0},p(i,[n]){const r={};n&11&&(r.$$scope={dirty:n,ctx:i}),e.$set(r)},i(i){t||(D(e.$$.fragment,i),t=!0)},o(i){_(e.$$.fragment,i),t=!1},d(i){U(e,i)}}}function fc(s,e,t){let i,n;be(s,fn,o=>t(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 cc extends Yt{constructor(e){super(),Xt(this,e,fc,hc,Zt,{onChange:0})}}function Fr(s,e,t){const i=s.slice();return i[8]=e[t].value,i[9]=e[t].label,i}function Hr(s,e,t){const i=s.slice();return i[12]=e[t],i}function zr(s){let e,t,i,n,r,o,l,a,h=s[12].eventId+"",f,c,u,d=s[12].eventType+"",p,m,g,w,b;function S(){return s[5](s[12])}return{c(){e=Y("li"),t=Y("label"),i=Y("input"),o=ie(),l=Y("p"),a=Y("span"),f=re(h),c=ie(),u=Y("span"),p=re(d),g=ie(),this.h()},l(y){e=X(y,"LI",{class:!0});var k=ee(e);t=X(k,"LABEL",{class:!0,for:!0});var x=ee(t);i=X(x,"INPUT",{type:!0,name:!0,id:!0}),o=ne(x),l=X(x,"P",{class:!0});var T=ee(l);a=X(T,"SPAN",{class:!0});var E=ee(a);f=oe(E,h),E.forEach(C),c=ne(T),u=X(T,"SPAN",{class:!0});var P=ee(u);p=oe(P,d),P.forEach(C),T.forEach(C),x.forEach(C),g=ne(k),k.forEach(C),this.h()},h(){J(i,"type","radio"),i.checked=n=s[12].id===s[2],J(i,"name","reset-event-id"),J(i,"id",r="reset-event-"+s[12].id),J(a,"class","text-gray-500 font-medium col-span-1"),J(u,"class","font-semibold"),J(l,"class","grid grid-cols-8"),J(t,"class","flex flex-row items-center gap-2 cursor-pointer px-4 py-2 h-full w-full"),J(t,"for",m="reset-event-"+s[12].id),J(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,k){W(y,e,k),F(e,t),F(t,i),F(t,o),F(t,l),F(l,a),F(a,f),F(l,c),F(l,u),F(u,p),F(e,g),w||(b=_l(i,"click",S),w=!0)},p(y,k){s=y,k&12&&n!==(n=s[12].id===s[2])&&(i.checked=n),k&8&&r!==(r="reset-event-"+s[12].id)&&J(i,"id",r),k&8&&h!==(h=s[12].eventId+"")&&ci(f,h),k&8&&d!==(d=s[12].eventType+"")&&ci(p,d),k&8&&m!==(m="reset-event-"+s[12].id)&&J(t,"for",m)},d(y){y&&C(e),w=!1,b()}}}function uc(s){let e=s[9]+"",t,i;return{c(){t=re(e),i=ie()},l(n){t=oe(n,e),i=ne(n)},m(n,r){W(n,t,r),W(n,i,r)},p:De,d(n){n&&C(t),n&&C(i)}}}function qr(s){let e,t;return e=new vf({props:{value:s[8],$$slots:{default:[uc]},$$scope:{ctx:s}}}),{c(){z(e.$$.fragment)},l(i){q(e.$$.fragment,i)},m(i,n){j(e,i,n),t=!0},p(i,n){const r={};n&32768&&(r.$$scope={dirty:n,ctx:i}),e.$set(r)},i(i){t||(D(e.$$.fragment,i),t=!0)},o(i){_(e.$$.fragment,i),t=!1},d(i){U(e,i)}}}function dc(s){let e,t,i=s[4],n=[];for(let o=0;o_(n[o],1,1,()=>{n[o]=null});return{c(){for(let o=0;oBe(n,"value",u));function p(g){s[7](g)}let m={id:"reset-reason",label:B("reason")};return s[1]!==void 0&&(m.value=s[1]),l=new or({props:m}),Pe.push(()=>Be(l,"value",p)),{c(){e=Y("div"),t=Y("ul");for(let g=0;gr=!1)),n.$set(b);const S={};!a&&w&2&&(a=!0,S.value=g[1],Ie(()=>a=!1)),l.$set(S)},i(g){h||(D(n.$$.fragment,g),D(l.$$.fragment,g),h=!0)},o(g){_(n.$$.fragment,g),_(l.$$.fragment,g),h=!1},d(g){g&&C(e),tr(c,g),U(n),U(l)}}}function gc(s,e,t){let i;be(s,Vl,c=>t(3,i=c));let{resetReapplyType:n=ni.Unspecified}=e,{reason:r=""}=e,{eventId:o}=e;const l=[{value:ni.Unspecified,label:B("workflows","reset-reapply-all")},{value:ni.Signal,label:B("workflows","reset-reapply-signals-only")},{value:ni.None,label:B("workflows","reset-reapply-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 mc extends Yt{constructor(e){super(),Xt(this,e,gc,pc,Zt,{resetReapplyType:0,reason:1,eventId:2})}}class se{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),pt.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),pt.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 Mi(this),r=new Mi(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 Mi(this,e)}iterRange(e,t=this.length){return new zl(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 ql(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]?se.empty:e.length<=32?new we(e):pt.from(we.split(e,[]))}}class we extends se{constructor(e,t=wc(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 bc(n,l,i,o);n=l+1,i++}}decompose(e,t,i,n){let r=e<=0&&t>=this.length?this:new we(jr(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(n&1){let o=i.pop(),l=dn(r.text,o.text.slice(),0,r.length);if(l.length<=32)i.push(new we(l,o.length+r.length));else{let a=l.length>>1;i.push(new we(l.slice(0,a)),new we(l.slice(a)))}}else i.push(r)}replace(e,t,i){if(!(i instanceof we))return super.replace(e,t,i);let n=dn(this.text,dn(i.text,jr(this.text,0,e)),t),r=this.length+i.length-(t-e);return n.length<=32?new we(n,r):pt.from(we.split(n,[]),r)}sliceString(e,t=this.length,i=` +import{S as Yt,b as Xt,a as Zt,C as z,D as q,E as j,j as D,g as _,F as U,K as be,i as Pl,A as Pe,Z as Be,m as Y,c as ie,p as X,q as ee,k as C,d as ne,u as J,f as W,L as F,_ as Ie,a6 as tr,w as re,x as oe,Q as _l,y as ci,e as Et,z as gt,h as mt,n as De,N as ws,O as Br,a1 as uf,R as df,T as Ir,M as pf,o as ir,U as gf,V as mf,a5 as Ee,aj as nr,a3 as Rl,a4 as Bl,G as Il,H as El,I as Nl,J as $l}from"../chunks/index.efded970.js";import{p as sr}from"../chunks/stores.3002bd93.js";import{L as wf}from"../chunks/loading.32266c92.js";import{d as bf,f as Ll}from"../chunks/menu.9d531fff.js";import{T as yf}from"../chunks/toggle-switch.f8f2487a.js";import{T as rr}from"../chunks/tooltip.407e84a1.js";import{t as B}from"../chunks/translate.230dcc19.js";import{a as fn,e as Er}from"../chunks/event-view.de9a16d6.js";import{I as or}from"../chunks/input.f4d0de9f.js";import{S as kf,O as vf}from"../chunks/option.ccff5056.js";import{R as ni,w as Sf,a as xf,f as Nr,A as $r}from"../chunks/workflow-terminate-enabled.d56fddc4.js";import{r as Vl,e as cn,t as Lr,i as Af,f as Cf}from"../chunks/events-service.31abcdb2.js";import{B as Of}from"../chunks/button.a4f5a3d4.js";import{c as je,I as Mf}from"../chunks/icon.91a9bf44.js";import{B as lr}from"../chunks/badge.72fa1965.js";import{M as Tf}from"../chunks/menu-divider.99a2857a.js";import{M as Vi}from"../chunks/modal.e8d88b85.js";import{S as Df}from"../chunks/split-button.c1a13603.js";import{w as Pf,t as _f,c as Rf,s as Bf,r as If,f as Ef}from"../chunks/workflow-service.db6f5d3e.js";import{a as Wl}from"../chunks/auth-user.2a42bf1d.js";import{c as Nf}from"../chunks/core-user.c3fa437a.js";import{p as $f}from"../chunks/persist-store.c0203efc.js";import{s as Lf}from"../chunks/settings.f4bcc2b2.js";import{t as Xn}from"../chunks/toaster.fd2b66a2.js";import{r as dt,w as un,i as Vf}from"../chunks/workflow-run.3d1553b6.js";import{W as Wf}from"../chunks/workflow-status.792f3956.js";import{A as Fl}from"../chunks/alert.0a6aa272.js";import{C as Vr,g as Ff,a as Hf,b as zf}from"../chunks/pollers-service.6835f4ba.js";import{C as qf}from"../chunks/copyable.6f6014ce.js";import{L as Hl}from"../chunks/link.cac19769.js";import{T as jf,a as Uf,b as yi}from"../chunks/tab.492ff65b.js";import{w as Kf}from"../chunks/workflows.6800ca9a.js";import{h as Gf}from"../chunks/has.f5323580.js";import{r as Wr,f as si,g as Wi,h as Fi,i as Hi,j as zi}from"../chunks/route-for.8244bd54.js";import{g as Qf,a as Jf,b as Yf,p as Xf,c as Zf}from"../chunks/task-queue-compatibility.cf5696f8.js";import{p as ec,c as tc}from"../chunks/data-encoder-config.ddfdfd14.js";import{c as ic,a as nc,d as sc}from"../chunks/decode-payload.8b7fbb10.js";import{g as rc,a as oc}from"../chunks/get-codec.19c43d34.js";import{w as lc}from"../chunks/index.c0615b9d.js";function ac(s){let e,t;return e=new yf({props:{label:B("workflows","auto-refresh"),labelPosition:"left",id:"autorefresh",checked:s[1]}}),e.$on("change",function(){Pl(s[0])&&s[0].apply(this,arguments)}),{c(){z(e.$$.fragment)},l(i){q(e.$$.fragment,i)},m(i,n){j(e,i,n),t=!0},p(i,n){s=i;const r={};n&2&&(r.checked=s[1]),e.$set(r)},i(i){t||(D(e.$$.fragment,i),t=!0)},o(i){_(e.$$.fragment,i),t=!1},d(i){U(e,i)}}}function hc(s){let e,t;return e=new rr({props:{bottomLeft:!0,text:B("workflows","auto-refresh-tooltip"),$$slots:{default:[ac]},$$scope:{ctx:s}}}),{c(){z(e.$$.fragment)},l(i){q(e.$$.fragment,i)},m(i,n){j(e,i,n),t=!0},p(i,[n]){const r={};n&11&&(r.$$scope={dirty:n,ctx:i}),e.$set(r)},i(i){t||(D(e.$$.fragment,i),t=!0)},o(i){_(e.$$.fragment,i),t=!1},d(i){U(e,i)}}}function fc(s,e,t){let i,n;be(s,fn,o=>t(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 cc extends Yt{constructor(e){super(),Xt(this,e,fc,hc,Zt,{onChange:0})}}function Fr(s,e,t){const i=s.slice();return i[8]=e[t].value,i[9]=e[t].label,i}function Hr(s,e,t){const i=s.slice();return i[12]=e[t],i}function zr(s){let e,t,i,n,r,o,l,a,h=s[12].eventId+"",f,c,u,d=s[12].eventType+"",p,m,g,w,b;function S(){return s[5](s[12])}return{c(){e=Y("li"),t=Y("label"),i=Y("input"),o=ie(),l=Y("p"),a=Y("span"),f=re(h),c=ie(),u=Y("span"),p=re(d),g=ie(),this.h()},l(y){e=X(y,"LI",{class:!0});var k=ee(e);t=X(k,"LABEL",{class:!0,for:!0});var x=ee(t);i=X(x,"INPUT",{type:!0,name:!0,id:!0}),o=ne(x),l=X(x,"P",{class:!0});var T=ee(l);a=X(T,"SPAN",{class:!0});var E=ee(a);f=oe(E,h),E.forEach(C),c=ne(T),u=X(T,"SPAN",{class:!0});var P=ee(u);p=oe(P,d),P.forEach(C),T.forEach(C),x.forEach(C),g=ne(k),k.forEach(C),this.h()},h(){J(i,"type","radio"),i.checked=n=s[12].id===s[2],J(i,"name","reset-event-id"),J(i,"id",r="reset-event-"+s[12].id),J(a,"class","text-gray-500 font-medium col-span-1"),J(u,"class","font-semibold"),J(l,"class","grid grid-cols-8"),J(t,"class","flex flex-row items-center gap-2 cursor-pointer px-4 py-2 h-full w-full"),J(t,"for",m="reset-event-"+s[12].id),J(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,k){W(y,e,k),F(e,t),F(t,i),F(t,o),F(t,l),F(l,a),F(a,f),F(l,c),F(l,u),F(u,p),F(e,g),w||(b=_l(i,"click",S),w=!0)},p(y,k){s=y,k&12&&n!==(n=s[12].id===s[2])&&(i.checked=n),k&8&&r!==(r="reset-event-"+s[12].id)&&J(i,"id",r),k&8&&h!==(h=s[12].eventId+"")&&ci(f,h),k&8&&d!==(d=s[12].eventType+"")&&ci(p,d),k&8&&m!==(m="reset-event-"+s[12].id)&&J(t,"for",m)},d(y){y&&C(e),w=!1,b()}}}function uc(s){let e=s[9]+"",t,i;return{c(){t=re(e),i=ie()},l(n){t=oe(n,e),i=ne(n)},m(n,r){W(n,t,r),W(n,i,r)},p:De,d(n){n&&C(t),n&&C(i)}}}function qr(s){let e,t;return e=new vf({props:{value:s[8],$$slots:{default:[uc]},$$scope:{ctx:s}}}),{c(){z(e.$$.fragment)},l(i){q(e.$$.fragment,i)},m(i,n){j(e,i,n),t=!0},p(i,n){const r={};n&32768&&(r.$$scope={dirty:n,ctx:i}),e.$set(r)},i(i){t||(D(e.$$.fragment,i),t=!0)},o(i){_(e.$$.fragment,i),t=!1},d(i){U(e,i)}}}function dc(s){let e,t,i=s[4],n=[];for(let o=0;o_(n[o],1,1,()=>{n[o]=null});return{c(){for(let o=0;oBe(n,"value",u));function p(g){s[7](g)}let m={id:"reset-reason",label:B("reason")};return s[1]!==void 0&&(m.value=s[1]),l=new or({props:m}),Pe.push(()=>Be(l,"value",p)),{c(){e=Y("div"),t=Y("ul");for(let g=0;gr=!1)),n.$set(b);const S={};!a&&w&2&&(a=!0,S.value=g[1],Ie(()=>a=!1)),l.$set(S)},i(g){h||(D(n.$$.fragment,g),D(l.$$.fragment,g),h=!0)},o(g){_(n.$$.fragment,g),_(l.$$.fragment,g),h=!1},d(g){g&&C(e),tr(c,g),U(n),U(l)}}}function gc(s,e,t){let i;be(s,Vl,c=>t(3,i=c));let{resetReapplyType:n=ni.Unspecified}=e,{reason:r=""}=e,{eventId:o}=e;const l=[{value:ni.Unspecified,label:B("workflows","reset-reapply-all")},{value:ni.Signal,label:B("workflows","reset-reapply-signals-only")},{value:ni.None,label:B("workflows","reset-reapply-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 mc extends Yt{constructor(e){super(),Xt(this,e,gc,pc,Zt,{resetReapplyType:0,reason:1,eventId:2})}}class se{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),pt.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),pt.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 Mi(this),r=new Mi(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 Mi(this,e)}iterRange(e,t=this.length){return new zl(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 ql(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]?se.empty:e.length<=32?new we(e):pt.from(we.split(e,[]))}}class we extends se{constructor(e,t=wc(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 bc(n,l,i,o);n=l+1,i++}}decompose(e,t,i,n){let r=e<=0&&t>=this.length?this:new we(jr(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(n&1){let o=i.pop(),l=dn(r.text,o.text.slice(),0,r.length);if(l.length<=32)i.push(new we(l,o.length+r.length));else{let a=l.length>>1;i.push(new we(l.slice(0,a)),new we(l.slice(a)))}}else i.push(r)}replace(e,t,i){if(!(i instanceof we))return super.replace(e,t,i);let n=dn(this.text,dn(i.text,jr(this.text,0,e)),t),r=this.length+i.length-(t-e);return n.length<=32?new we(n,r):pt.from(we.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 we(i,n)),i=[],n=-1);return n>-1&&t.push(new we(i,n)),t}}class pt extends se{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 pt(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 pt))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 we(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 pt)for(let m of d.children)c(m);else d.lines>o&&(a>o||!a)?(u(),l.push(d)):d instanceof we&&a&&(p=f[f.length-1])instanceof we&&d.lines+p.lines<=32?(a+=d.lines,h+=d.length+1,f[f.length-1]=new we(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]:pt.from(f,h)),h=-1,a=f.length=0)}for(let d of e)c(d);return u(),l.length==1?l[0]:new pt(l,t)}}se.empty=new we([""],0);function wc(s){let e=-1;for(let t of s)e+=t.length+1;return e}function dn(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 we?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 we?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 we){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 we?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 zl{constructor(e,t,i){this.value="",this.done=!1,this.cursor=new Mi(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 ql{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"&&(se.prototype[Symbol.iterator]=function(){return this.iter()},Mi.prototype[Symbol.iterator]=zl.prototype[Symbol.iterator]=ql.prototype[Symbol.iterator]=function(){return this});class bc{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 oi="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 oi[e-1]<=s;return!1}function Ur(s){return s>=127462&&s<=127487}const Kr=8205;function Ge(s,e,t=!0,i=!0){return(t?jl:kc)(s,e,i)}function jl(s,e,t){if(e==s.length)return e;e&&Ul(s.charCodeAt(e))&&Kl(s.charCodeAt(e-1))&&e--;let i=Ue(s,e);for(e+=it(i);e=0&&Ur(Ue(s,o));)r++,o-=2;if(r%2==0)break;e+=2}else break}return e}function kc(s,e,t){for(;e>0;){let i=jl(s,e-2,t);if(i=56320&&s<57344}function Kl(s){return s>=55296&&s<56320}function Ue(s,e){let t=s.charCodeAt(e);if(!Kl(t)||e+1==s.length)return t;let i=s.charCodeAt(e+1);return Ul(i)?(t-55296<<10)+(i-56320)+65536:t}function Gl(s){return s<=65535?String.fromCharCode(s):(s-=65536,String.fromCharCode((s>>10)+55296,(s&1023)+56320))}function it(s){return s<65536?1:2}const bs=/\r\n?|\n/;var We=function(s){return s[s.Simple=0]="Simple",s[s.TrackDel=1]="TrackDel",s[s.TrackBefore=2]="TrackBefore",s[s.TrackAfter=3]="TrackAfter",s}(We||(We={}));class bt{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;te)return r+(e-n);r+=l}else{if(i!=We.Simple&&h>=e&&(i==We.TrackDel&&ne||i==We.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 bt(e)}static create(e){return new bt(e)}}class ve extends bt{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 ys(this,(t,i,n,r,o)=>e=e.replace(n,n+(i-t),o),!1),e}mapDesc(e,t=!1){return ks(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&&Dt(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"?se.of(d.split(i||bs)):d:se.empty,m=p.length;if(c==u&&m==0)return;co&&_e(n,c-o,-1),_e(n,u-c,m),Dt(r,n,p),o=u}}return h(e),a(!l),l}static empty(e){return new ve(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 Dt(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 ks(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);_e(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?se.empty:e[t]}textBit(e){let{inserted:t}=this.set,i=this.i-2>>1;return i>=t.length&&!e?se.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 jt{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 jt(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 jt(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=>jt.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 Jl(s,e){for(let t of s.ranges)if(t.to>e)throw new RangeError("Selection points outside of document")}let ar=0;class H{constructor(e,t,i,n,r){this.combine=e,this.compareInput=t,this.compare=i,this.isStatic=n,this.id=ar++,this.default=e([]),this.extensions=typeof r=="function"?r(this):r}static define(e={}){return new H(e.combine||(t=>t),e.compareInput||((t,i)=>t===i),e.compare||(e.combine?(t,i)=>t===i:hr),!!e.static,e.enables)}of(e){return new pn([],this,0,e)}compute(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new pn(e,this,1,t)}computeN(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new pn(e,this,2,t)}from(e,t){return t||(t=i=>i),this.compute([e],i=>t(i.field(e)))}}function hr(s,e){return s==e||s.length==e.length&&s.every((t,i)=>t===e[i])}class pn{constructor(e,t,i,n){this.dependencies=e,this.facet=t,this.type=i,this.value=n,this.id=ar++}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)||vs(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=kn(u,p);if(this.dependencies.every(g=>g instanceof H?u.facet(g)===c.facet(g):g instanceof ot?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 qt={lowest:4,low:3,default:2,high:1,highest:0};function ki(s){return e=>new Yl(e,s)}const Hn={highest:ki(qt.highest),high:ki(qt.high),default:ki(qt.default),low:ki(qt.low),lowest:ki(qt.lowest)};class Yl{constructor(e,t){this.inner=e,this.prec=t}}class zn{of(e){return new Ss(this,e)}reconfigure(e){return zn.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class Ss{constructor(e,t){this.compartment=e,this.inner=t}}class yn{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 Sc(e,t,o))u instanceof ot?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,hr(m,d))a.push(i.facet(p));else{let g=p.combine(d.map(w=>w.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(w=>g.dynamicSlot(w)));l[p.id]=h.length<<1,h.push(g=>vc(g,p,d))}}let c=h.map(u=>u(l));return new yn(e,o,c,l,a,r)}}function Sc(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 Ss&&t.delete(o.compartment)}if(n.set(o,l),Array.isArray(o))for(let h of o)r(h,l);else if(o instanceof Ss){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 Yl)r(o.inner,o.prec);else if(o instanceof ot)i[l].push(o),o.provides&&r(o.provides,l);else if(o instanceof pn)i[l].push(o),o.facet.extensions&&r(o.facet.extensions,qt.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,qt.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 kn(s,e){return e&1?s.config.staticValues[e>>1]:s.values[e>>1]}const Xl=H.define(),Zl=H.define({combine:s=>s.some(e=>e),static:!0}),ea=H.define({combine:s=>s.length?s[0]:void 0,static:!0}),ta=H.define(),ia=H.define(),na=H.define(),sa=H.define({combine:s=>s.length?s[0]:!1});class Wt{constructor(e,t){this.type=e,this.value=t}static define(){return new xc}}class xc{of(e){return new Wt(this,e)}}class Ac{constructor(e){this.map=e}of(e){return new he(this,e)}}class he{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 he(this.type,t)}is(e){return this.type==e}static define(e={}){return new Ac(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}}he.reconfigure=he.define();he.appendConfig=he.define();class Se{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&&Jl(i,t.newLength),r.some(l=>l.type==Se.time)||(this.annotations=r.concat(Se.time.of(Date.now())))}static create(e,t,i,n,r,o){return new Se(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(Se.userEvent);return!!(t&&(t==e||t.length>e.length&&t.slice(0,e.length)==e&&t[e.length]=="."))}}Se.time=Wt.define();Se.userEvent=Wt.define();Se.addToHistory=Wt.define();Se.remote=Wt.define();function Cc(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 Se?s=r:Array.isArray(r)&&r.length==1&&r[0]instanceof Se?s=r[0]:s=oa(e,li(r),!1)}return s}function Mc(s){let e=s.startState,t=e.facet(na),i=s;for(let n=t.length-1;n>=0;n--){let r=t[n](s);r&&Object.keys(r).length&&(i=ra(i,xs(e,r,s.changes.newLength),!0))}return i==s?s:Se.create(e,s.changes,s.selection,i.effects,i.annotations,i.scrollIntoView)}const Tc=[];function li(s){return s==null?Tc:Array.isArray(s)?s:[s]}var Ye=function(s){return s[s.Word=0]="Word",s[s.Space=1]="Space",s[s.Other=2]="Other",s}(Ye||(Ye={}));const Dc=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let As;try{As=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function Pc(s){if(As)return As.test(s);for(let e=0;e"€"&&(t.toUpperCase()!=t.toLowerCase()||Dc.test(t)))return!0}return!1}function _c(s){return e=>{if(!/\S/.test(e))return Ye.Space;if(Pc(e))return Ye.Word;for(let t=0;t-1)return Ye.Word;return Ye.Other}}class te{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(he.reconfigure)?(t=null,i=o.value):o.is(he.appendConfig)&&(t=null,i=li(i).concat(o.value));let r;t?r=e.startState.values.slice():(t=yn.resolve(i,n,this),r=new te(t,this.doc,this.selection,t.dynamicSlots.map(()=>null),(l,a)=>a.reconfigure(l,this),null).values),new te(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=li(i.effects);for(let l=1;lo.spec.fromJSON(l,a)))}}return te.create({doc:e.doc,selection:O.fromJSON(e.selection),extensions:t.extensions?n.concat([t.extensions]):n})}static create(e={}){let t=yn.resolve(e.extensions||[],new Map),i=e.doc instanceof se?e.doc:se.of((e.doc||"").split(t.staticFacet(te.lineSeparator)||bs)),n=e.selection?e.selection instanceof O?e.selection:O.single(e.selection.anchor,e.selection.head):O.single(0);return Jl(n,i.length),t.staticFacet(Zl)||(n=n.asSingle()),new te(t,i,n,t.dynamicSlots.map(()=>null),(r,o)=>o.create(r),null)}get tabSize(){return this.facet(te.tabSize)}get lineBreak(){return this.facet(te.lineSeparator)||` diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-pending-activities-page.svelte.26f8d277.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-pending-activities-page.svelte.34b951f7.js similarity index 99% rename from ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-pending-activities-page.svelte.26f8d277.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-pending-activities-page.svelte.34b951f7.js index 931990d54e..2e43964ce4 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-pending-activities-page.svelte.26f8d277.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-pending-activities-page.svelte.34b951f7.js @@ -1 +1 @@ -import{S as nt,b as ut,a as ct,e as J,f as k,z as Q,g as I,h as X,j as b,k as m,K as Ee,C as R,D as q,E as B,n as Ce,F as M,a9 as pt,aa as _t,m as h,w as L,p as d,q as v,x as H,u as N,L as c,au as $t,c as E,d as T,y as z}from"../chunks/index.efded970.js";import{p as ht}from"../chunks/stores.83aed68d.js";import{P as dt}from"../chunks/page-title.a6dec5b5.js";import{t as A}from"../chunks/translate.230dcc19.js";import{B as ce}from"../chunks/badge.72fa1965.js";import{C as mt}from"../chunks/code-block.cc2ffee9.js";import{E as vt}from"../chunks/empty-state.22810bcf.js";import{I as wt}from"../chunks/icon.91a9bf44.js";import{L as bt}from"../chunks/link.cac19769.js";import{T as kt,a as gt}from"../chunks/table-header-row.b413d43a.js";import{T as Et}from"../chunks/table-row.6be25099.js";import{t as Tt,r as It,b as le}from"../chunks/format-date.be4b741e.js";import{w as yt}from"../chunks/workflow-run.3d1553b6.js";import{k as Ve,l as Ge,j as Je}from"../chunks/format-event-attributes.1d147cb1.js";import{k as Qe,E as Xe}from"../chunks/format-time.8258873a.js";import{t as Ye}from"../chunks/to-time-difference.be87d1bf.js";function Ze(f,e,l){const t=f.slice();t[5]=e[l].id,t[6]=e[l].activityId,t[7]=$t(e[l],["id","activityId"]);const o=t[7].attempt>1;return t[8]=o,t}function Lt(f){let e,l;return e=new vt({props:{title:A("workflows","pending-activities-empty-state")}}),{c(){R(e.$$.fragment)},l(t){q(e.$$.fragment,t)},m(t,o){B(e,t,o),l=!0},p:Ce,i(t){l||(b(e.$$.fragment,t),l=!0)},o(t){I(e.$$.fragment,t),l=!1},d(t){M(e,t)}}}function Ht(f){let e,l;return e=new kt({props:{class:"mb-6 w-full min-w-[600px] table-fixed",$$slots:{headers:[qt],caption:[jt],default:[Wt]},$$scope:{ctx:f}}}),{c(){R(e.$$.fragment)},l(t){q(e.$$.fragment,t)},m(t,o){B(e,t,o),l=!0},p(t,o){const s={};o&2055&&(s.$$scope={dirty:o,ctx:t}),e.$set(s)},i(t){l||(b(e.$$.fragment,t),l=!0)},o(t){I(e.$$.fragment,t),l=!1},d(t){M(e,t)}}}function Dt(f){let e=f[6]+"",l;return{c(){l=L(e)},l(t){l=H(t,e)},m(t,o){k(t,l,o)},p(t,o){o&1&&e!==(e=t[6]+"")&&z(l,e)},d(t){t&&m(l)}}}function At(f){let e=f[7].activityType+"",l;return{c(){l=L(e)},l(t){l=H(t,e)},m(t,o){k(t,l,o)},p(t,o){o&1&&e!==(e=t[7].activityType+"")&&z(l,e)},d(t){t&&m(l)}}}function xe(f){let e,l;return e=new wt({props:{class:"mr-1",name:"retry"}}),{c(){R(e.$$.fragment)},l(t){q(e.$$.fragment,t)},m(t,o){B(e,t,o),l=!0},i(t){l||(b(e.$$.fragment,t),l=!0)},o(t){I(e.$$.fragment,t),l=!1},d(t){M(e,t)}}}function Pt(f){let e,l=f[7].attempt+"",t,o,s=f[8]&&xe();return{c(){s&&s.c(),e=E(),t=L(l)},l(r){s&&s.l(r),e=T(r),t=H(r,l)},m(r,i){s&&s.m(r,i),k(r,e,i),k(r,t,i),o=!0},p(r,i){r[8]?s?i&1&&b(s,1):(s=xe(),s.c(),b(s,1),s.m(e.parentNode,e)):s&&(Q(),I(s,1,1,()=>{s=null}),X()),(!o||i&1)&&l!==(l=r[7].attempt+"")&&z(t,l)},i(r){o||(b(s),o=!0)},o(r){I(s),o=!1},d(r){s&&s.d(r),r&&m(e),r&&m(t)}}}function et(f){let e,l,t=A("workflows","attempts-left")+"",o,s,r,i,a,n;r=new ce({props:{type:"error",$$slots:{default:[St]},$$scope:{ctx:f}}});let u=f[7].scheduledTime&&tt(f);return{c(){e=h("li"),l=h("h4"),o=L(t),s=E(),R(r.$$.fragment),i=E(),u&&u.c(),a=J(),this.h()},l($){e=d($,"LI",{class:!0});var p=v(e);l=d(p,"H4",{});var g=v(l);o=H(g,t),g.forEach(m),s=T(p),q(r.$$.fragment,p),p.forEach(m),i=T($),u&&u.l($),a=J(),this.h()},h(){N(e,"class","event-table-row svelte-pnunl5")},m($,p){k($,e,p),c(e,l),c(l,o),c(e,s),B(r,e,null),k($,i,p),u&&u.m($,p),k($,a,p),n=!0},p($,p){const g={};p&2049&&(g.$$scope={dirty:p,ctx:$}),r.$set(g),$[7].scheduledTime?u?(u.p($,p),p&1&&b(u,1)):(u=tt($),u.c(),b(u,1),u.m(a.parentNode,a)):u&&(Q(),I(u,1,1,()=>{u=null}),X())},i($){n||(b(r.$$.fragment,$),b(u),n=!0)},o($){I(r.$$.fragment,$),I(u),n=!1},d($){$&&m(e),M(r),$&&m(i),u&&u.d($),$&&m(a)}}}function St(f){let e=Ve(f[7].maximumAttempts,f[7].attempt)+"",l;return{c(){l=L(e)},l(t){l=H(t,e)},m(t,o){k(t,l,o)},p(t,o){o&1&&e!==(e=Ve(t[7].maximumAttempts,t[7].attempt)+"")&&z(l,e)},d(t){t&&m(l)}}}function tt(f){let e,l,t=A("workflows","next-retry")+"",o,s,r,i;return r=new ce({props:{type:"error",$$slots:{default:[Ft]},$$scope:{ctx:f}}}),{c(){e=h("li"),l=h("h4"),o=L(t),s=E(),R(r.$$.fragment),this.h()},l(a){e=d(a,"LI",{class:!0});var n=v(e);l=d(n,"H4",{});var u=v(l);o=H(u,t),u.forEach(m),s=T(n),q(r.$$.fragment,n),n.forEach(m),this.h()},h(){N(e,"class","event-table-row svelte-pnunl5")},m(a,n){k(a,e,n),c(e,l),c(l,o),c(e,s),B(r,e,null),i=!0},p(a,n){const u={};n&2049&&(u.$$scope={dirty:n,ctx:a}),r.$set(u)},i(a){i||(b(r.$$.fragment,a),i=!0)},o(a){I(r.$$.fragment,a),i=!1},d(a){a&&m(e),M(r)}}}function Ft(f){let e=Ye({date:f[7].scheduledTime,negativeDefault:A("workflows","no-retry")})+"",l;return{c(){l=L(e)},l(t){l=H(t,e)},m(t,o){k(t,l,o)},p(t,o){o&1&&e!==(e=Ye({date:t[7].scheduledTime,negativeDefault:A("workflows","no-retry")})+"")&&z(l,e)},d(t){t&&m(l)}}}function Nt(f){let e=Ge(f[7].maximumAttempts)+"",l;return{c(){l=L(e)},l(t){l=H(t,e)},m(t,o){k(t,l,o)},p(t,o){o&1&&e!==(e=Ge(t[7].maximumAttempts)+"")&&z(l,e)},d(t){t&&m(l)}}}function lt(f){let e,l,t,o,s=A("workflows","retry-expiration")+"",r,i,a,n=Je(f[7].maximumAttempts,Qe(Xe({start:Date.now(),end:f[7].expirationTime})))+"",u,$,p=f[7].heartbeatDetails&&rt(f),g=f[7].lastFailure&&at(f);return{c(){p&&p.c(),e=E(),g&&g.c(),l=E(),t=h("li"),o=h("h4"),r=L(s),i=E(),a=h("p"),u=L(n),this.h()},l(w){p&&p.l(w),e=T(w),g&&g.l(w),l=T(w),t=d(w,"LI",{class:!0});var P=v(t);o=d(P,"H4",{});var re=v(o);r=H(re,s),re.forEach(m),i=T(P),a=d(P,"P",{});var Z=v(a);u=H(Z,n),Z.forEach(m),P.forEach(m),this.h()},h(){N(t,"class","event-table-row svelte-pnunl5")},m(w,P){p&&p.m(w,P),k(w,e,P),g&&g.m(w,P),k(w,l,P),k(w,t,P),c(t,o),c(o,r),c(t,i),c(t,a),c(a,u),$=!0},p(w,P){w[7].heartbeatDetails?p?(p.p(w,P),P&1&&b(p,1)):(p=rt(w),p.c(),b(p,1),p.m(e.parentNode,e)):p&&(Q(),I(p,1,1,()=>{p=null}),X()),w[7].lastFailure?g?(g.p(w,P),P&1&&b(g,1)):(g=at(w),g.c(),b(g,1),g.m(l.parentNode,l)):g&&(Q(),I(g,1,1,()=>{g=null}),X()),(!$||P&1)&&n!==(n=Je(w[7].maximumAttempts,Qe(Xe({start:Date.now(),end:w[7].expirationTime})))+"")&&z(u,n)},i(w){$||(b(p),b(g),$=!0)},o(w){I(p),I(g),$=!1},d(w){p&&p.d(w),w&&m(e),g&&g.d(w),w&&m(l),w&&m(t)}}}function rt(f){let e,l,t=A("workflows","heartbeat-details")+"",o,s,r,i;return r=new mt({props:{slot:"value",class:"pb-2",content:f[7].heartbeatDetails,copyIconTitle:A("copy-icon-title"),copySuccessIconTitle:A("copy-success-icon-title")}}),{c(){e=h("li"),l=h("h4"),o=L(t),s=E(),R(r.$$.fragment),this.h()},l(a){e=d(a,"LI",{class:!0});var n=v(e);l=d(n,"H4",{});var u=v(l);o=H(u,t),u.forEach(m),s=T(n),q(r.$$.fragment,n),n.forEach(m),this.h()},h(){N(e,"class","event-table-row svelte-pnunl5")},m(a,n){k(a,e,n),c(e,l),c(l,o),c(e,s),B(r,e,null),i=!0},p(a,n){const u={};n&1&&(u.content=a[7].heartbeatDetails),r.$set(u)},i(a){i||(b(r.$$.fragment,a),i=!0)},o(a){I(r.$$.fragment,a),i=!1},d(a){a&&m(e),M(r)}}}function at(f){let e,l,t=A("workflows","last-failure")+"",o,s,r,i;return r=new mt({props:{slot:"value",class:"pb-2",content:f[7].lastFailure,copyIconTitle:A("copy-icon-title"),copySuccessIconTitle:A("copy-success-icon-title")}}),{c(){e=h("li"),l=h("h4"),o=L(t),s=E(),R(r.$$.fragment),this.h()},l(a){e=d(a,"LI",{class:!0});var n=v(e);l=d(n,"H4",{});var u=v(l);o=H(u,t),u.forEach(m),s=T(n),q(r.$$.fragment,n),n.forEach(m),this.h()},h(){N(e,"class","event-table-row svelte-pnunl5")},m(a,n){k(a,e,n),c(e,l),c(l,o),c(e,s),B(r,e,null),i=!0},p(a,n){const u={};n&1&&(u.content=a[7].lastFailure),r.$set(u)},i(a){i||(b(r.$$.fragment,a),i=!0)},o(a){I(r.$$.fragment,a),i=!1},d(a){a&&m(e),M(r)}}}function st(f){let e,l,t=A("workflows","last-started-time")+"",o,s,r,i=le(f[7].lastStartedTime,f[1],{relative:f[2]})+"",a;return{c(){e=h("li"),l=h("h4"),o=L(t),s=E(),r=h("p"),a=L(i),this.h()},l(n){e=d(n,"LI",{class:!0});var u=v(e);l=d(u,"H4",{});var $=v(l);o=H($,t),$.forEach(m),s=T(u),r=d(u,"P",{});var p=v(r);a=H(p,i),p.forEach(m),u.forEach(m),this.h()},h(){N(e,"class","event-table-row svelte-pnunl5")},m(n,u){k(n,e,u),c(e,l),c(l,o),c(e,s),c(e,r),c(r,a)},p(n,u){u&7&&i!==(i=le(n[7].lastStartedTime,n[1],{relative:n[2]})+"")&&z(a,i)},d(n){n&&m(e)}}}function ot(f){let e,l,t=A("workflows","scheduled-time")+"",o,s,r,i=le(f[7].scheduledTime,f[1],{relative:f[2]})+"",a;return{c(){e=h("li"),l=h("h4"),o=L(t),s=E(),r=h("p"),a=L(i),this.h()},l(n){e=d(n,"LI",{class:!0});var u=v(e);l=d(u,"H4",{});var $=v(l);o=H($,t),$.forEach(m),s=T(u),r=d(u,"P",{});var p=v(r);a=H(p,i),p.forEach(m),u.forEach(m),this.h()},h(){N(e,"class","event-table-row svelte-pnunl5")},m(n,u){k(n,e,u),c(e,l),c(l,o),c(e,s),c(e,r),c(r,a)},p(n,u){u&7&&i!==(i=le(n[7].scheduledTime,n[1],{relative:n[2]})+"")&&z(a,i)},d(n){n&&m(e)}}}function it(f){let e,l,t=A("workflows","last-worker-identity")+"",o,s,r,i=f[7].lastWorkerIdentity+"",a;return{c(){e=h("li"),l=h("h4"),o=L(t),s=E(),r=h("p"),a=L(i),this.h()},l(n){e=d(n,"LI",{class:!0});var u=v(e);l=d(u,"H4",{});var $=v(l);o=H($,t),$.forEach(m),s=T(u),r=d(u,"P",{});var p=v(r);a=H(p,i),p.forEach(m),u.forEach(m),this.h()},h(){N(e,"class","event-table-row svelte-pnunl5")},m(n,u){k(n,e,u),c(e,l),c(l,o),c(e,s),c(e,r),c(r,a)},p(n,u){u&1&&i!==(i=n[7].lastWorkerIdentity+"")&&z(a,i)},d(n){n&&m(e)}}}function Ct(f){let e,l,t,o,s,r,i,a,n=A("workflows","activity-type")+"",u,$,p,g,w,P,re=A("workflows","attempt")+"",Z,Te,K,Ie,me,O,ae,We=A("workflows","maximum-attempts")+"",ye,Le,U,He,pe,V,se,je=A("workflows","last-heartbeat")+"",De,Ae,oe,ie=le(f[7].lastHeartbeatTime,f[1],{relative:f[2],relativeStrict:!0})+"",_e,Pe,G,fe,Re=A("workflows","state")+"",Se,Fe,ne,ue=f[7].state+"",$e,Ne,he,de,ve,x;t=new bt({props:{href:"#"+f[5],$$slots:{default:[Dt]},$$scope:{ctx:f}}}),p=new ce({props:{type:f[8]?"error":"default",$$slots:{default:[At]},$$scope:{ctx:f}}}),K=new ce({props:{type:f[8]?"error":"default",$$slots:{default:[Pt]},$$scope:{ctx:f}}});let S=f[8]&&et(f);U=new ce({props:{$$slots:{default:[Nt]},$$scope:{ctx:f}}});let F=f[8]&<(f),C=f[7].lastStartedTime&&st(f),W=f[7].scheduledTime&&ot(f),j=f[7].lastWorkerIdentity&&it(f);return{c(){e=h("td"),l=h("div"),R(t.$$.fragment),o=E(),s=h("td"),r=h("ul"),i=h("li"),a=h("h4"),u=L(n),$=E(),R(p.$$.fragment),g=E(),w=h("li"),P=h("h4"),Z=L(re),Te=E(),R(K.$$.fragment),Ie=E(),S&&S.c(),me=E(),O=h("li"),ae=h("h4"),ye=L(We),Le=E(),R(U.$$.fragment),He=E(),F&&F.c(),pe=E(),V=h("li"),se=h("h4"),De=L(je),Ae=E(),oe=h("p"),_e=L(ie),Pe=E(),G=h("li"),fe=h("h4"),Se=L(Re),Fe=E(),ne=h("p"),$e=L(ue),Ne=E(),C&&C.c(),he=E(),W&&W.c(),de=E(),j&&j.c(),ve=E(),this.h()},l(_){e=d(_,"TD",{class:!0});var y=v(e);l=d(y,"DIV",{class:!0});var ee=v(l);q(t.$$.fragment,ee),ee.forEach(m),y.forEach(m),o=T(_),s=d(_,"TD",{class:!0});var te=v(s);r=d(te,"UL",{});var D=v(r);i=d(D,"LI",{class:!0});var Y=v(i);a=d(Y,"H4",{class:!0});var qe=v(a);u=H(qe,n),qe.forEach(m),$=T(Y),q(p.$$.fragment,Y),Y.forEach(m),g=T(D),w=d(D,"LI",{class:!0});var we=v(w);P=d(we,"H4",{});var Be=v(P);Z=H(Be,re),Be.forEach(m),Te=T(we),q(K.$$.fragment,we),we.forEach(m),Ie=T(D),S&&S.l(D),me=T(D),O=d(D,"LI",{class:!0});var be=v(O);ae=d(be,"H4",{});var Me=v(ae);ye=H(Me,We),Me.forEach(m),Le=T(be),q(U.$$.fragment,be),be.forEach(m),He=T(D),F&&F.l(D),pe=T(D),V=d(D,"LI",{class:!0});var ke=v(V);se=d(ke,"H4",{});var ze=v(se);De=H(ze,je),ze.forEach(m),Ae=T(ke),oe=d(ke,"P",{});var Ke=v(oe);_e=H(Ke,ie),Ke.forEach(m),ke.forEach(m),Pe=T(D),G=d(D,"LI",{class:!0});var ge=v(G);fe=d(ge,"H4",{});var Oe=v(fe);Se=H(Oe,Re),Oe.forEach(m),Fe=T(ge),ne=d(ge,"P",{});var Ue=v(ne);$e=H(Ue,ue),Ue.forEach(m),ge.forEach(m),Ne=T(D),C&&C.l(D),he=T(D),W&&W.l(D),de=T(D),j&&j.l(D),D.forEach(m),te.forEach(m),ve=T(_),this.h()},h(){N(l,"class","pt-1"),N(e,"class","w-44 items-start break-all py-5 pl-5 pr-2 align-top"),N(a,"class","font-semibold"),N(i,"class","event-table-row svelte-pnunl5"),N(w,"class","event-table-row svelte-pnunl5"),N(O,"class","event-table-row svelte-pnunl5"),N(V,"class","event-table-row svelte-pnunl5"),N(G,"class","event-table-row svelte-pnunl5"),N(s,"class","py-4 px-5")},m(_,y){k(_,e,y),c(e,l),B(t,l,null),k(_,o,y),k(_,s,y),c(s,r),c(r,i),c(i,a),c(a,u),c(i,$),B(p,i,null),c(r,g),c(r,w),c(w,P),c(P,Z),c(w,Te),B(K,w,null),c(r,Ie),S&&S.m(r,null),c(r,me),c(r,O),c(O,ae),c(ae,ye),c(O,Le),B(U,O,null),c(r,He),F&&F.m(r,null),c(r,pe),c(r,V),c(V,se),c(se,De),c(V,Ae),c(V,oe),c(oe,_e),c(r,Pe),c(r,G),c(G,fe),c(fe,Se),c(G,Fe),c(G,ne),c(ne,$e),c(r,Ne),C&&C.m(r,null),c(r,he),W&&W.m(r,null),c(r,de),j&&j.m(r,null),k(_,ve,y),x=!0},p(_,y){const ee={};y&1&&(ee.href="#"+_[5]),y&2049&&(ee.$$scope={dirty:y,ctx:_}),t.$set(ee);const te={};y&1&&(te.type=_[8]?"error":"default"),y&2049&&(te.$$scope={dirty:y,ctx:_}),p.$set(te);const D={};y&1&&(D.type=_[8]?"error":"default"),y&2049&&(D.$$scope={dirty:y,ctx:_}),K.$set(D),_[8]?S?(S.p(_,y),y&1&&b(S,1)):(S=et(_),S.c(),b(S,1),S.m(r,me)):S&&(Q(),I(S,1,1,()=>{S=null}),X());const Y={};y&2049&&(Y.$$scope={dirty:y,ctx:_}),U.$set(Y),_[8]?F?(F.p(_,y),y&1&&b(F,1)):(F=lt(_),F.c(),b(F,1),F.m(r,pe)):F&&(Q(),I(F,1,1,()=>{F=null}),X()),(!x||y&7)&&ie!==(ie=le(_[7].lastHeartbeatTime,_[1],{relative:_[2],relativeStrict:!0})+"")&&z(_e,ie),(!x||y&1)&&ue!==(ue=_[7].state+"")&&z($e,ue),_[7].lastStartedTime?C?C.p(_,y):(C=st(_),C.c(),C.m(r,he)):C&&(C.d(1),C=null),_[7].scheduledTime?W?W.p(_,y):(W=ot(_),W.c(),W.m(r,de)):W&&(W.d(1),W=null),_[7].lastWorkerIdentity?j?j.p(_,y):(j=it(_),j.c(),j.m(r,null)):j&&(j.d(1),j=null)},i(_){x||(b(t.$$.fragment,_),b(p.$$.fragment,_),b(K.$$.fragment,_),b(S),b(U.$$.fragment,_),b(F),x=!0)},o(_){I(t.$$.fragment,_),I(p.$$.fragment,_),I(K.$$.fragment,_),I(S),I(U.$$.fragment,_),I(F),x=!1},d(_){_&&m(e),M(t),_&&m(o),_&&m(s),M(p),M(K),S&&S.d(),M(U),F&&F.d(),C&&C.d(),W&&W.d(),j&&j.d(),_&&m(ve)}}}function ft(f,e){let l,t,o;return t=new Et({props:{$$slots:{default:[Ct]},$$scope:{ctx:e}}}),{key:f,first:null,c(){l=J(),R(t.$$.fragment),this.h()},l(s){l=J(),q(t.$$.fragment,s),this.h()},h(){this.first=l},m(s,r){k(s,l,r),B(t,s,r),o=!0},p(s,r){e=s;const i={};r&2055&&(i.$$scope={dirty:r,ctx:e}),t.$set(i)},i(s){o||(b(t.$$.fragment,s),o=!0)},o(s){I(t.$$.fragment,s),o=!1},d(s){s&&m(l),M(t,s)}}}function Wt(f){let e=[],l=new Map,t,o,s=f[0];const r=i=>i[5];for(let i=0;i{r[u]=null}),X(),l=r[e],l?l.p(a,n):(l=r[e]=s[e](a),l.c()),b(l,1),l.m(t.parentNode,t))},i(a){o||(b(l),o=!0)},o(a){I(l),o=!1},d(a){r[e].d(a),a&&m(t)}}}function Mt(f,e,l){let t,o,s,r;Ee(f,yt,a=>l(4,o=a)),Ee(f,Tt,a=>l(1,s=a)),Ee(f,It,a=>l(2,r=a));var i;return f.$$.update=()=>{f.$$.dirty&24&&l(0,t=l(3,i=o.workflow)===null||i===void 0?void 0:i.pendingActivities)},[t,s,r,i,o]}class zt extends nt{constructor(e){super(),ut(this,e,Mt,Bt,ct,{})}}function Kt(f){let e,l,t,o;return e=new dt({props:{title:`${A("workflows","pending-activities-tab")} | ${f[1]}`,url:f[0].url.href}}),t=new zt({}),{c(){R(e.$$.fragment),l=E(),R(t.$$.fragment)},l(s){q(e.$$.fragment,s),l=T(s),q(t.$$.fragment,s)},m(s,r){B(e,s,r),k(s,l,r),B(t,s,r),o=!0},p(s,[r]){const i={};r&1&&(i.url=s[0].url.href),e.$set(i)},i(s){o||(b(e.$$.fragment,s),b(t.$$.fragment,s),o=!0)},o(s){I(e.$$.fragment,s),I(t.$$.fragment,s),o=!1},d(s){M(e,s),s&&m(l),M(t,s)}}}function Ot(f,e,l){let t;Ee(f,ht,s=>l(0,t=s));const o=t.params.workflow;return[t,o]}class il extends nt{constructor(e){super(),ut(this,e,Ot,Kt,ct,{})}}export{il as default}; +import{S as nt,b as ut,a as ct,e as J,f as k,z as Q,g as I,h as X,j as b,k as m,K as Ee,C as R,D as q,E as B,n as Ce,F as M,a9 as pt,aa as _t,m as h,w as L,p as d,q as v,x as H,u as N,L as c,au as $t,c as E,d as T,y as z}from"../chunks/index.efded970.js";import{p as ht}from"../chunks/stores.3002bd93.js";import{P as dt}from"../chunks/page-title.a6dec5b5.js";import{t as A}from"../chunks/translate.230dcc19.js";import{B as ce}from"../chunks/badge.72fa1965.js";import{C as mt}from"../chunks/code-block.cc2ffee9.js";import{E as vt}from"../chunks/empty-state.22810bcf.js";import{I as wt}from"../chunks/icon.91a9bf44.js";import{L as bt}from"../chunks/link.cac19769.js";import{T as kt,a as gt}from"../chunks/table-header-row.b413d43a.js";import{T as Et}from"../chunks/table-row.6be25099.js";import{t as Tt,r as It,b as le}from"../chunks/format-date.be4b741e.js";import{w as yt}from"../chunks/workflow-run.3d1553b6.js";import{k as Ve,l as Ge,j as Je}from"../chunks/format-event-attributes.1d147cb1.js";import{k as Qe,E as Xe}from"../chunks/format-time.8258873a.js";import{t as Ye}from"../chunks/to-time-difference.be87d1bf.js";function Ze(f,e,l){const t=f.slice();t[5]=e[l].id,t[6]=e[l].activityId,t[7]=$t(e[l],["id","activityId"]);const o=t[7].attempt>1;return t[8]=o,t}function Lt(f){let e,l;return e=new vt({props:{title:A("workflows","pending-activities-empty-state")}}),{c(){R(e.$$.fragment)},l(t){q(e.$$.fragment,t)},m(t,o){B(e,t,o),l=!0},p:Ce,i(t){l||(b(e.$$.fragment,t),l=!0)},o(t){I(e.$$.fragment,t),l=!1},d(t){M(e,t)}}}function Ht(f){let e,l;return e=new kt({props:{class:"mb-6 w-full min-w-[600px] table-fixed",$$slots:{headers:[qt],caption:[jt],default:[Wt]},$$scope:{ctx:f}}}),{c(){R(e.$$.fragment)},l(t){q(e.$$.fragment,t)},m(t,o){B(e,t,o),l=!0},p(t,o){const s={};o&2055&&(s.$$scope={dirty:o,ctx:t}),e.$set(s)},i(t){l||(b(e.$$.fragment,t),l=!0)},o(t){I(e.$$.fragment,t),l=!1},d(t){M(e,t)}}}function Dt(f){let e=f[6]+"",l;return{c(){l=L(e)},l(t){l=H(t,e)},m(t,o){k(t,l,o)},p(t,o){o&1&&e!==(e=t[6]+"")&&z(l,e)},d(t){t&&m(l)}}}function At(f){let e=f[7].activityType+"",l;return{c(){l=L(e)},l(t){l=H(t,e)},m(t,o){k(t,l,o)},p(t,o){o&1&&e!==(e=t[7].activityType+"")&&z(l,e)},d(t){t&&m(l)}}}function xe(f){let e,l;return e=new wt({props:{class:"mr-1",name:"retry"}}),{c(){R(e.$$.fragment)},l(t){q(e.$$.fragment,t)},m(t,o){B(e,t,o),l=!0},i(t){l||(b(e.$$.fragment,t),l=!0)},o(t){I(e.$$.fragment,t),l=!1},d(t){M(e,t)}}}function Pt(f){let e,l=f[7].attempt+"",t,o,s=f[8]&&xe();return{c(){s&&s.c(),e=E(),t=L(l)},l(r){s&&s.l(r),e=T(r),t=H(r,l)},m(r,i){s&&s.m(r,i),k(r,e,i),k(r,t,i),o=!0},p(r,i){r[8]?s?i&1&&b(s,1):(s=xe(),s.c(),b(s,1),s.m(e.parentNode,e)):s&&(Q(),I(s,1,1,()=>{s=null}),X()),(!o||i&1)&&l!==(l=r[7].attempt+"")&&z(t,l)},i(r){o||(b(s),o=!0)},o(r){I(s),o=!1},d(r){s&&s.d(r),r&&m(e),r&&m(t)}}}function et(f){let e,l,t=A("workflows","attempts-left")+"",o,s,r,i,a,n;r=new ce({props:{type:"error",$$slots:{default:[St]},$$scope:{ctx:f}}});let u=f[7].scheduledTime&&tt(f);return{c(){e=h("li"),l=h("h4"),o=L(t),s=E(),R(r.$$.fragment),i=E(),u&&u.c(),a=J(),this.h()},l($){e=d($,"LI",{class:!0});var p=v(e);l=d(p,"H4",{});var g=v(l);o=H(g,t),g.forEach(m),s=T(p),q(r.$$.fragment,p),p.forEach(m),i=T($),u&&u.l($),a=J(),this.h()},h(){N(e,"class","event-table-row svelte-pnunl5")},m($,p){k($,e,p),c(e,l),c(l,o),c(e,s),B(r,e,null),k($,i,p),u&&u.m($,p),k($,a,p),n=!0},p($,p){const g={};p&2049&&(g.$$scope={dirty:p,ctx:$}),r.$set(g),$[7].scheduledTime?u?(u.p($,p),p&1&&b(u,1)):(u=tt($),u.c(),b(u,1),u.m(a.parentNode,a)):u&&(Q(),I(u,1,1,()=>{u=null}),X())},i($){n||(b(r.$$.fragment,$),b(u),n=!0)},o($){I(r.$$.fragment,$),I(u),n=!1},d($){$&&m(e),M(r),$&&m(i),u&&u.d($),$&&m(a)}}}function St(f){let e=Ve(f[7].maximumAttempts,f[7].attempt)+"",l;return{c(){l=L(e)},l(t){l=H(t,e)},m(t,o){k(t,l,o)},p(t,o){o&1&&e!==(e=Ve(t[7].maximumAttempts,t[7].attempt)+"")&&z(l,e)},d(t){t&&m(l)}}}function tt(f){let e,l,t=A("workflows","next-retry")+"",o,s,r,i;return r=new ce({props:{type:"error",$$slots:{default:[Ft]},$$scope:{ctx:f}}}),{c(){e=h("li"),l=h("h4"),o=L(t),s=E(),R(r.$$.fragment),this.h()},l(a){e=d(a,"LI",{class:!0});var n=v(e);l=d(n,"H4",{});var u=v(l);o=H(u,t),u.forEach(m),s=T(n),q(r.$$.fragment,n),n.forEach(m),this.h()},h(){N(e,"class","event-table-row svelte-pnunl5")},m(a,n){k(a,e,n),c(e,l),c(l,o),c(e,s),B(r,e,null),i=!0},p(a,n){const u={};n&2049&&(u.$$scope={dirty:n,ctx:a}),r.$set(u)},i(a){i||(b(r.$$.fragment,a),i=!0)},o(a){I(r.$$.fragment,a),i=!1},d(a){a&&m(e),M(r)}}}function Ft(f){let e=Ye({date:f[7].scheduledTime,negativeDefault:A("workflows","no-retry")})+"",l;return{c(){l=L(e)},l(t){l=H(t,e)},m(t,o){k(t,l,o)},p(t,o){o&1&&e!==(e=Ye({date:t[7].scheduledTime,negativeDefault:A("workflows","no-retry")})+"")&&z(l,e)},d(t){t&&m(l)}}}function Nt(f){let e=Ge(f[7].maximumAttempts)+"",l;return{c(){l=L(e)},l(t){l=H(t,e)},m(t,o){k(t,l,o)},p(t,o){o&1&&e!==(e=Ge(t[7].maximumAttempts)+"")&&z(l,e)},d(t){t&&m(l)}}}function lt(f){let e,l,t,o,s=A("workflows","retry-expiration")+"",r,i,a,n=Je(f[7].maximumAttempts,Qe(Xe({start:Date.now(),end:f[7].expirationTime})))+"",u,$,p=f[7].heartbeatDetails&&rt(f),g=f[7].lastFailure&&at(f);return{c(){p&&p.c(),e=E(),g&&g.c(),l=E(),t=h("li"),o=h("h4"),r=L(s),i=E(),a=h("p"),u=L(n),this.h()},l(w){p&&p.l(w),e=T(w),g&&g.l(w),l=T(w),t=d(w,"LI",{class:!0});var P=v(t);o=d(P,"H4",{});var re=v(o);r=H(re,s),re.forEach(m),i=T(P),a=d(P,"P",{});var Z=v(a);u=H(Z,n),Z.forEach(m),P.forEach(m),this.h()},h(){N(t,"class","event-table-row svelte-pnunl5")},m(w,P){p&&p.m(w,P),k(w,e,P),g&&g.m(w,P),k(w,l,P),k(w,t,P),c(t,o),c(o,r),c(t,i),c(t,a),c(a,u),$=!0},p(w,P){w[7].heartbeatDetails?p?(p.p(w,P),P&1&&b(p,1)):(p=rt(w),p.c(),b(p,1),p.m(e.parentNode,e)):p&&(Q(),I(p,1,1,()=>{p=null}),X()),w[7].lastFailure?g?(g.p(w,P),P&1&&b(g,1)):(g=at(w),g.c(),b(g,1),g.m(l.parentNode,l)):g&&(Q(),I(g,1,1,()=>{g=null}),X()),(!$||P&1)&&n!==(n=Je(w[7].maximumAttempts,Qe(Xe({start:Date.now(),end:w[7].expirationTime})))+"")&&z(u,n)},i(w){$||(b(p),b(g),$=!0)},o(w){I(p),I(g),$=!1},d(w){p&&p.d(w),w&&m(e),g&&g.d(w),w&&m(l),w&&m(t)}}}function rt(f){let e,l,t=A("workflows","heartbeat-details")+"",o,s,r,i;return r=new mt({props:{slot:"value",class:"pb-2",content:f[7].heartbeatDetails,copyIconTitle:A("copy-icon-title"),copySuccessIconTitle:A("copy-success-icon-title")}}),{c(){e=h("li"),l=h("h4"),o=L(t),s=E(),R(r.$$.fragment),this.h()},l(a){e=d(a,"LI",{class:!0});var n=v(e);l=d(n,"H4",{});var u=v(l);o=H(u,t),u.forEach(m),s=T(n),q(r.$$.fragment,n),n.forEach(m),this.h()},h(){N(e,"class","event-table-row svelte-pnunl5")},m(a,n){k(a,e,n),c(e,l),c(l,o),c(e,s),B(r,e,null),i=!0},p(a,n){const u={};n&1&&(u.content=a[7].heartbeatDetails),r.$set(u)},i(a){i||(b(r.$$.fragment,a),i=!0)},o(a){I(r.$$.fragment,a),i=!1},d(a){a&&m(e),M(r)}}}function at(f){let e,l,t=A("workflows","last-failure")+"",o,s,r,i;return r=new mt({props:{slot:"value",class:"pb-2",content:f[7].lastFailure,copyIconTitle:A("copy-icon-title"),copySuccessIconTitle:A("copy-success-icon-title")}}),{c(){e=h("li"),l=h("h4"),o=L(t),s=E(),R(r.$$.fragment),this.h()},l(a){e=d(a,"LI",{class:!0});var n=v(e);l=d(n,"H4",{});var u=v(l);o=H(u,t),u.forEach(m),s=T(n),q(r.$$.fragment,n),n.forEach(m),this.h()},h(){N(e,"class","event-table-row svelte-pnunl5")},m(a,n){k(a,e,n),c(e,l),c(l,o),c(e,s),B(r,e,null),i=!0},p(a,n){const u={};n&1&&(u.content=a[7].lastFailure),r.$set(u)},i(a){i||(b(r.$$.fragment,a),i=!0)},o(a){I(r.$$.fragment,a),i=!1},d(a){a&&m(e),M(r)}}}function st(f){let e,l,t=A("workflows","last-started-time")+"",o,s,r,i=le(f[7].lastStartedTime,f[1],{relative:f[2]})+"",a;return{c(){e=h("li"),l=h("h4"),o=L(t),s=E(),r=h("p"),a=L(i),this.h()},l(n){e=d(n,"LI",{class:!0});var u=v(e);l=d(u,"H4",{});var $=v(l);o=H($,t),$.forEach(m),s=T(u),r=d(u,"P",{});var p=v(r);a=H(p,i),p.forEach(m),u.forEach(m),this.h()},h(){N(e,"class","event-table-row svelte-pnunl5")},m(n,u){k(n,e,u),c(e,l),c(l,o),c(e,s),c(e,r),c(r,a)},p(n,u){u&7&&i!==(i=le(n[7].lastStartedTime,n[1],{relative:n[2]})+"")&&z(a,i)},d(n){n&&m(e)}}}function ot(f){let e,l,t=A("workflows","scheduled-time")+"",o,s,r,i=le(f[7].scheduledTime,f[1],{relative:f[2]})+"",a;return{c(){e=h("li"),l=h("h4"),o=L(t),s=E(),r=h("p"),a=L(i),this.h()},l(n){e=d(n,"LI",{class:!0});var u=v(e);l=d(u,"H4",{});var $=v(l);o=H($,t),$.forEach(m),s=T(u),r=d(u,"P",{});var p=v(r);a=H(p,i),p.forEach(m),u.forEach(m),this.h()},h(){N(e,"class","event-table-row svelte-pnunl5")},m(n,u){k(n,e,u),c(e,l),c(l,o),c(e,s),c(e,r),c(r,a)},p(n,u){u&7&&i!==(i=le(n[7].scheduledTime,n[1],{relative:n[2]})+"")&&z(a,i)},d(n){n&&m(e)}}}function it(f){let e,l,t=A("workflows","last-worker-identity")+"",o,s,r,i=f[7].lastWorkerIdentity+"",a;return{c(){e=h("li"),l=h("h4"),o=L(t),s=E(),r=h("p"),a=L(i),this.h()},l(n){e=d(n,"LI",{class:!0});var u=v(e);l=d(u,"H4",{});var $=v(l);o=H($,t),$.forEach(m),s=T(u),r=d(u,"P",{});var p=v(r);a=H(p,i),p.forEach(m),u.forEach(m),this.h()},h(){N(e,"class","event-table-row svelte-pnunl5")},m(n,u){k(n,e,u),c(e,l),c(l,o),c(e,s),c(e,r),c(r,a)},p(n,u){u&1&&i!==(i=n[7].lastWorkerIdentity+"")&&z(a,i)},d(n){n&&m(e)}}}function Ct(f){let e,l,t,o,s,r,i,a,n=A("workflows","activity-type")+"",u,$,p,g,w,P,re=A("workflows","attempt")+"",Z,Te,K,Ie,me,O,ae,We=A("workflows","maximum-attempts")+"",ye,Le,U,He,pe,V,se,je=A("workflows","last-heartbeat")+"",De,Ae,oe,ie=le(f[7].lastHeartbeatTime,f[1],{relative:f[2],relativeStrict:!0})+"",_e,Pe,G,fe,Re=A("workflows","state")+"",Se,Fe,ne,ue=f[7].state+"",$e,Ne,he,de,ve,x;t=new bt({props:{href:"#"+f[5],$$slots:{default:[Dt]},$$scope:{ctx:f}}}),p=new ce({props:{type:f[8]?"error":"default",$$slots:{default:[At]},$$scope:{ctx:f}}}),K=new ce({props:{type:f[8]?"error":"default",$$slots:{default:[Pt]},$$scope:{ctx:f}}});let S=f[8]&&et(f);U=new ce({props:{$$slots:{default:[Nt]},$$scope:{ctx:f}}});let F=f[8]&<(f),C=f[7].lastStartedTime&&st(f),W=f[7].scheduledTime&&ot(f),j=f[7].lastWorkerIdentity&&it(f);return{c(){e=h("td"),l=h("div"),R(t.$$.fragment),o=E(),s=h("td"),r=h("ul"),i=h("li"),a=h("h4"),u=L(n),$=E(),R(p.$$.fragment),g=E(),w=h("li"),P=h("h4"),Z=L(re),Te=E(),R(K.$$.fragment),Ie=E(),S&&S.c(),me=E(),O=h("li"),ae=h("h4"),ye=L(We),Le=E(),R(U.$$.fragment),He=E(),F&&F.c(),pe=E(),V=h("li"),se=h("h4"),De=L(je),Ae=E(),oe=h("p"),_e=L(ie),Pe=E(),G=h("li"),fe=h("h4"),Se=L(Re),Fe=E(),ne=h("p"),$e=L(ue),Ne=E(),C&&C.c(),he=E(),W&&W.c(),de=E(),j&&j.c(),ve=E(),this.h()},l(_){e=d(_,"TD",{class:!0});var y=v(e);l=d(y,"DIV",{class:!0});var ee=v(l);q(t.$$.fragment,ee),ee.forEach(m),y.forEach(m),o=T(_),s=d(_,"TD",{class:!0});var te=v(s);r=d(te,"UL",{});var D=v(r);i=d(D,"LI",{class:!0});var Y=v(i);a=d(Y,"H4",{class:!0});var qe=v(a);u=H(qe,n),qe.forEach(m),$=T(Y),q(p.$$.fragment,Y),Y.forEach(m),g=T(D),w=d(D,"LI",{class:!0});var we=v(w);P=d(we,"H4",{});var Be=v(P);Z=H(Be,re),Be.forEach(m),Te=T(we),q(K.$$.fragment,we),we.forEach(m),Ie=T(D),S&&S.l(D),me=T(D),O=d(D,"LI",{class:!0});var be=v(O);ae=d(be,"H4",{});var Me=v(ae);ye=H(Me,We),Me.forEach(m),Le=T(be),q(U.$$.fragment,be),be.forEach(m),He=T(D),F&&F.l(D),pe=T(D),V=d(D,"LI",{class:!0});var ke=v(V);se=d(ke,"H4",{});var ze=v(se);De=H(ze,je),ze.forEach(m),Ae=T(ke),oe=d(ke,"P",{});var Ke=v(oe);_e=H(Ke,ie),Ke.forEach(m),ke.forEach(m),Pe=T(D),G=d(D,"LI",{class:!0});var ge=v(G);fe=d(ge,"H4",{});var Oe=v(fe);Se=H(Oe,Re),Oe.forEach(m),Fe=T(ge),ne=d(ge,"P",{});var Ue=v(ne);$e=H(Ue,ue),Ue.forEach(m),ge.forEach(m),Ne=T(D),C&&C.l(D),he=T(D),W&&W.l(D),de=T(D),j&&j.l(D),D.forEach(m),te.forEach(m),ve=T(_),this.h()},h(){N(l,"class","pt-1"),N(e,"class","w-44 items-start break-all py-5 pl-5 pr-2 align-top"),N(a,"class","font-semibold"),N(i,"class","event-table-row svelte-pnunl5"),N(w,"class","event-table-row svelte-pnunl5"),N(O,"class","event-table-row svelte-pnunl5"),N(V,"class","event-table-row svelte-pnunl5"),N(G,"class","event-table-row svelte-pnunl5"),N(s,"class","py-4 px-5")},m(_,y){k(_,e,y),c(e,l),B(t,l,null),k(_,o,y),k(_,s,y),c(s,r),c(r,i),c(i,a),c(a,u),c(i,$),B(p,i,null),c(r,g),c(r,w),c(w,P),c(P,Z),c(w,Te),B(K,w,null),c(r,Ie),S&&S.m(r,null),c(r,me),c(r,O),c(O,ae),c(ae,ye),c(O,Le),B(U,O,null),c(r,He),F&&F.m(r,null),c(r,pe),c(r,V),c(V,se),c(se,De),c(V,Ae),c(V,oe),c(oe,_e),c(r,Pe),c(r,G),c(G,fe),c(fe,Se),c(G,Fe),c(G,ne),c(ne,$e),c(r,Ne),C&&C.m(r,null),c(r,he),W&&W.m(r,null),c(r,de),j&&j.m(r,null),k(_,ve,y),x=!0},p(_,y){const ee={};y&1&&(ee.href="#"+_[5]),y&2049&&(ee.$$scope={dirty:y,ctx:_}),t.$set(ee);const te={};y&1&&(te.type=_[8]?"error":"default"),y&2049&&(te.$$scope={dirty:y,ctx:_}),p.$set(te);const D={};y&1&&(D.type=_[8]?"error":"default"),y&2049&&(D.$$scope={dirty:y,ctx:_}),K.$set(D),_[8]?S?(S.p(_,y),y&1&&b(S,1)):(S=et(_),S.c(),b(S,1),S.m(r,me)):S&&(Q(),I(S,1,1,()=>{S=null}),X());const Y={};y&2049&&(Y.$$scope={dirty:y,ctx:_}),U.$set(Y),_[8]?F?(F.p(_,y),y&1&&b(F,1)):(F=lt(_),F.c(),b(F,1),F.m(r,pe)):F&&(Q(),I(F,1,1,()=>{F=null}),X()),(!x||y&7)&&ie!==(ie=le(_[7].lastHeartbeatTime,_[1],{relative:_[2],relativeStrict:!0})+"")&&z(_e,ie),(!x||y&1)&&ue!==(ue=_[7].state+"")&&z($e,ue),_[7].lastStartedTime?C?C.p(_,y):(C=st(_),C.c(),C.m(r,he)):C&&(C.d(1),C=null),_[7].scheduledTime?W?W.p(_,y):(W=ot(_),W.c(),W.m(r,de)):W&&(W.d(1),W=null),_[7].lastWorkerIdentity?j?j.p(_,y):(j=it(_),j.c(),j.m(r,null)):j&&(j.d(1),j=null)},i(_){x||(b(t.$$.fragment,_),b(p.$$.fragment,_),b(K.$$.fragment,_),b(S),b(U.$$.fragment,_),b(F),x=!0)},o(_){I(t.$$.fragment,_),I(p.$$.fragment,_),I(K.$$.fragment,_),I(S),I(U.$$.fragment,_),I(F),x=!1},d(_){_&&m(e),M(t),_&&m(o),_&&m(s),M(p),M(K),S&&S.d(),M(U),F&&F.d(),C&&C.d(),W&&W.d(),j&&j.d(),_&&m(ve)}}}function ft(f,e){let l,t,o;return t=new Et({props:{$$slots:{default:[Ct]},$$scope:{ctx:e}}}),{key:f,first:null,c(){l=J(),R(t.$$.fragment),this.h()},l(s){l=J(),q(t.$$.fragment,s),this.h()},h(){this.first=l},m(s,r){k(s,l,r),B(t,s,r),o=!0},p(s,r){e=s;const i={};r&2055&&(i.$$scope={dirty:r,ctx:e}),t.$set(i)},i(s){o||(b(t.$$.fragment,s),o=!0)},o(s){I(t.$$.fragment,s),o=!1},d(s){s&&m(l),M(t,s)}}}function Wt(f){let e=[],l=new Map,t,o,s=f[0];const r=i=>i[5];for(let i=0;i{r[u]=null}),X(),l=r[e],l?l.p(a,n):(l=r[e]=s[e](a),l.c()),b(l,1),l.m(t.parentNode,t))},i(a){o||(b(l),o=!0)},o(a){I(l),o=!1},d(a){r[e].d(a),a&&m(t)}}}function Mt(f,e,l){let t,o,s,r;Ee(f,yt,a=>l(4,o=a)),Ee(f,Tt,a=>l(1,s=a)),Ee(f,It,a=>l(2,r=a));var i;return f.$$.update=()=>{f.$$.dirty&24&&l(0,t=l(3,i=o.workflow)===null||i===void 0?void 0:i.pendingActivities)},[t,s,r,i,o]}class zt extends nt{constructor(e){super(),ut(this,e,Mt,Bt,ct,{})}}function Kt(f){let e,l,t,o;return e=new dt({props:{title:`${A("workflows","pending-activities-tab")} | ${f[1]}`,url:f[0].url.href}}),t=new zt({}),{c(){R(e.$$.fragment),l=E(),R(t.$$.fragment)},l(s){q(e.$$.fragment,s),l=T(s),q(t.$$.fragment,s)},m(s,r){B(e,s,r),k(s,l,r),B(t,s,r),o=!0},p(s,[r]){const i={};r&1&&(i.url=s[0].url.href),e.$set(i)},i(s){o||(b(e.$$.fragment,s),b(t.$$.fragment,s),o=!0)},o(s){I(e.$$.fragment,s),I(t.$$.fragment,s),o=!1},d(s){M(e,s),s&&m(l),M(t,s)}}}function Ot(f,e,l){let t;Ee(f,ht,s=>l(0,t=s));const o=t.params.workflow;return[t,o]}class il extends nt{constructor(e){super(),ut(this,e,Ot,Kt,ct,{})}}export{il as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-query-page.svelte.cd26cab5.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-query-page.svelte.93f08733.js similarity index 98% rename from ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-query-page.svelte.cd26cab5.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-query-page.svelte.93f08733.js index 1f6de358b6..8483a93900 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-query-page.svelte.cd26cab5.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-query-page.svelte.93f08733.js @@ -1 +1 @@ -import{S as Z,b as G,a as H,ar as U,m as T,p as C,q as S,k as $,f as b,as as J,j as _,g,K as z,C as w,D as v,E as y,n as m,F as q,A as X,Z as Y,c as B,d as F,u as L,L as D,_ as x,e as O,z as ee,h as te,a6 as ne,w as A,x as K}from"../chunks/index.efded970.js";import{p as M}from"../chunks/stores.83aed68d.js";import{P as re}from"../chunks/page-title.a6dec5b5.js";import{t as E}from"../chunks/translate.230dcc19.js";import{B as le}from"../chunks/button.a4f5a3d4.js";import{C as oe}from"../chunks/code-block.cc2ffee9.js";import{E as ae}from"../chunks/empty-state.22810bcf.js";import{L as se}from"../chunks/loading.32266c92.js";import{S as ce,a as ue}from"../chunks/simple-select.35d563b9.js";import{T as ie}from"../chunks/toggle-switch.f8f2487a.js";import{g as fe,a as me}from"../chunks/query-service.6ec5e063.js";import{a as pe}from"../chunks/auth-user.2a42bf1d.js";function R(l,t,r){const e=l.slice();return e[16]=t[r],e}function $e(l){var e;let t,r;return t=new ae({props:{title:E("error-occurred"),content:E("workflows","no-workers-running-message"),error:(e=l[19])==null?void 0:e.message}}),{c(){w(t.$$.fragment)},l(n){v(t.$$.fragment,n)},m(n,o){y(t,n,o),r=!0},p:m,i(n){r||(_(t.$$.fragment,n),r=!0)},o(n){g(t.$$.fragment,n),r=!1},d(n){q(t,n)}}}function _e(l){let t,r,e,n,o,a,u,s,i,k,h,I,j;function Q(c){l[5](c)}let N={id:"query-select",label:E("workflows","query-type"),"data-testid":"query-select",$$slots:{default:[he]},$$scope:{ctx:l}};l[0]!==void 0&&(N.value=l[0]),e=new ce({props:N}),X.push(()=>Y(e,"value",Q)),a=new le({props:{leadingIcon:"retry",loading:qe,$$slots:{default:[de]},$$scope:{ctx:l}}}),a.$on("click",l[6]),i=new ie({props:{label:E("workflows","json-formatting"),labelPosition:"left",id:"json-formatting",checked:l[2]}}),i.$on("change",l[7]);let p={ctx:l,current:null,token:null,hasCatch:!1,pending:we,then:be,catch:ke,value:15,blocks:[,,,]};return U(I=l[1],p),{c(){t=T("div"),r=T("div"),w(e.$$.fragment),o=B(),w(a.$$.fragment),u=B(),s=T("div"),w(i.$$.fragment),k=B(),h=T("div"),p.block.c(),this.h()},l(c){t=C(c,"DIV",{class:!0});var f=S(t);r=C(f,"DIV",{class:!0});var d=S(r);v(e.$$.fragment,d),o=F(d),v(a.$$.fragment,d),d.forEach($),u=F(f),s=C(f,"DIV",{class:!0});var P=S(s);v(i.$$.fragment,P),P.forEach($),f.forEach($),k=F(c),h=C(c,"DIV",{class:!0});var V=S(h);p.block.l(V),V.forEach($),this.h()},h(){L(r,"class","flex items-center gap-4"),L(s,"class","flex justify-end"),L(t,"class","flex justify-between"),L(h,"class","flex items-start h-full")},m(c,f){b(c,t,f),D(t,r),y(e,r,null),D(r,o),y(a,r,null),D(t,u),D(t,s),y(i,s,null),b(c,k,f),b(c,h,f),p.block.m(h,p.anchor=null),p.mount=()=>h,p.anchor=null,j=!0},p(c,f){l=c;const d={};f&1048576&&(d.$$scope={dirty:f,ctx:l}),!n&&f&1&&(n=!0,d.value=l[0],x(()=>n=!1)),e.$set(d);const P={};f&1048576&&(P.$$scope={dirty:f,ctx:l}),a.$set(P);const V={};f&4&&(V.checked=l[2]),i.$set(V),p.ctx=l,f&2&&I!==(I=l[1])&&U(I,p)||J(p,l,f)},i(c){j||(_(e.$$.fragment,c),_(a.$$.fragment,c),_(i.$$.fragment,c),_(p.block),j=!0)},o(c){g(e.$$.fragment,c),g(a.$$.fragment,c),g(i.$$.fragment,c);for(let f=0;f<3;f+=1){const d=p.blocks[f];g(d)}j=!1},d(c){c&&$(t),q(e),q(a),q(i),c&&$(k),c&&$(h),p.block.d(),p.token=null,p=null}}}function ge(l){let t=l[16]+"",r;return{c(){r=A(t)},l(e){r=K(e,t)},m(e,n){b(e,r,n)},p:m,d(e){e&&$(r)}}}function W(l){let t,r;return t=new ue({props:{value:l[16],$$slots:{default:[ge]},$$scope:{ctx:l}}}),{c(){w(t.$$.fragment)},l(e){v(t.$$.fragment,e)},m(e,n){y(t,e,n),r=!0},p(e,n){const o={};n&1048576&&(o.$$scope={dirty:n,ctx:e}),t.$set(o)},i(e){r||(_(t.$$.fragment,e),r=!0)},o(e){g(t.$$.fragment,e),r=!1},d(e){q(t,e)}}}function he(l){let t,r,e=l[14],n=[];for(let a=0;ag(n[a],1,1,()=>{n[a]=null});return{c(){for(let a=0;at,e.anchor=null,r=!0},p(n,[o]){l=n,J(e,l,o)},i(n){r||(_(e.block),r=!0)},o(n){for(let o=0;o<3;o+=1){const a=e.blocks[o];g(a)}r=!1},d(n){n&&$(t),e.block.d(),e.token=null,e=null}}}let qe=!1;function Ee(l,t,r){let e,n;z(l,pe,c=>r(8,e=c)),z(l,M,c=>r(9,n=c));const{namespace:o,workflow:a,run:u}=n.params,s={id:a,runId:u};let i,k=fe({namespace:o,workflow:s}).then(c=>(r(0,i=i||c[0]),c)),h;const I=c=>{var f;r(1,h=me({namespace:o,workflow:s,queryType:c},(f=n.data)===null||f===void 0?void 0:f.settings,e==null?void 0:e.accessToken))};let j=!0;function Q(c){i=c,r(0,i)}const N=()=>I(i),p=()=>r(2,j=!j);return l.$$.update=()=>{l.$$.dirty&1&&i&&I(i)},[i,h,j,k,I,Q,N,p]}class Ie extends Z{constructor(t){super(),G(this,t,Ee,ye,H,{})}}function je(l){let t,r,e,n;return t=new re({props:{title:`${E("workflows","queries-tab")} | ${l[1]}`,url:l[0].url.href}}),e=new Ie({}),{c(){w(t.$$.fragment),r=B(),w(e.$$.fragment)},l(o){v(t.$$.fragment,o),r=F(o),v(e.$$.fragment,o)},m(o,a){y(t,o,a),b(o,r,a),y(e,o,a),n=!0},p(o,[a]){const u={};a&1&&(u.url=o[0].url.href),t.$set(u)},i(o){n||(_(t.$$.fragment,o),_(e.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),g(e.$$.fragment,o),n=!1},d(o){q(t,o),o&&$(r),q(e,o)}}}function Te(l,t,r){let e;z(l,M,o=>r(0,e=o));const n=e.params.workflow;return[e,n]}class Ae extends Z{constructor(t){super(),G(this,t,Te,je,H,{})}}export{Ae as default}; +import{S as Z,b as G,a as H,ar as U,m as T,p as C,q as S,k as $,f as b,as as J,j as _,g,K as z,C as w,D as v,E as y,n as m,F as q,A as X,Z as Y,c as B,d as F,u as L,L as D,_ as x,e as O,z as ee,h as te,a6 as ne,w as A,x as K}from"../chunks/index.efded970.js";import{p as M}from"../chunks/stores.3002bd93.js";import{P as re}from"../chunks/page-title.a6dec5b5.js";import{t as E}from"../chunks/translate.230dcc19.js";import{B as le}from"../chunks/button.a4f5a3d4.js";import{C as oe}from"../chunks/code-block.cc2ffee9.js";import{E as ae}from"../chunks/empty-state.22810bcf.js";import{L as se}from"../chunks/loading.32266c92.js";import{S as ce,a as ue}from"../chunks/simple-select.35d563b9.js";import{T as ie}from"../chunks/toggle-switch.f8f2487a.js";import{g as fe,a as me}from"../chunks/query-service.cc6baea4.js";import{a as pe}from"../chunks/auth-user.2a42bf1d.js";function R(l,t,r){const e=l.slice();return e[16]=t[r],e}function $e(l){var e;let t,r;return t=new ae({props:{title:E("error-occurred"),content:E("workflows","no-workers-running-message"),error:(e=l[19])==null?void 0:e.message}}),{c(){w(t.$$.fragment)},l(n){v(t.$$.fragment,n)},m(n,o){y(t,n,o),r=!0},p:m,i(n){r||(_(t.$$.fragment,n),r=!0)},o(n){g(t.$$.fragment,n),r=!1},d(n){q(t,n)}}}function _e(l){let t,r,e,n,o,a,u,s,i,k,h,I,j;function Q(c){l[5](c)}let N={id:"query-select",label:E("workflows","query-type"),"data-testid":"query-select",$$slots:{default:[he]},$$scope:{ctx:l}};l[0]!==void 0&&(N.value=l[0]),e=new ce({props:N}),X.push(()=>Y(e,"value",Q)),a=new le({props:{leadingIcon:"retry",loading:qe,$$slots:{default:[de]},$$scope:{ctx:l}}}),a.$on("click",l[6]),i=new ie({props:{label:E("workflows","json-formatting"),labelPosition:"left",id:"json-formatting",checked:l[2]}}),i.$on("change",l[7]);let p={ctx:l,current:null,token:null,hasCatch:!1,pending:we,then:be,catch:ke,value:15,blocks:[,,,]};return U(I=l[1],p),{c(){t=T("div"),r=T("div"),w(e.$$.fragment),o=B(),w(a.$$.fragment),u=B(),s=T("div"),w(i.$$.fragment),k=B(),h=T("div"),p.block.c(),this.h()},l(c){t=C(c,"DIV",{class:!0});var f=S(t);r=C(f,"DIV",{class:!0});var d=S(r);v(e.$$.fragment,d),o=F(d),v(a.$$.fragment,d),d.forEach($),u=F(f),s=C(f,"DIV",{class:!0});var P=S(s);v(i.$$.fragment,P),P.forEach($),f.forEach($),k=F(c),h=C(c,"DIV",{class:!0});var V=S(h);p.block.l(V),V.forEach($),this.h()},h(){L(r,"class","flex items-center gap-4"),L(s,"class","flex justify-end"),L(t,"class","flex justify-between"),L(h,"class","flex items-start h-full")},m(c,f){b(c,t,f),D(t,r),y(e,r,null),D(r,o),y(a,r,null),D(t,u),D(t,s),y(i,s,null),b(c,k,f),b(c,h,f),p.block.m(h,p.anchor=null),p.mount=()=>h,p.anchor=null,j=!0},p(c,f){l=c;const d={};f&1048576&&(d.$$scope={dirty:f,ctx:l}),!n&&f&1&&(n=!0,d.value=l[0],x(()=>n=!1)),e.$set(d);const P={};f&1048576&&(P.$$scope={dirty:f,ctx:l}),a.$set(P);const V={};f&4&&(V.checked=l[2]),i.$set(V),p.ctx=l,f&2&&I!==(I=l[1])&&U(I,p)||J(p,l,f)},i(c){j||(_(e.$$.fragment,c),_(a.$$.fragment,c),_(i.$$.fragment,c),_(p.block),j=!0)},o(c){g(e.$$.fragment,c),g(a.$$.fragment,c),g(i.$$.fragment,c);for(let f=0;f<3;f+=1){const d=p.blocks[f];g(d)}j=!1},d(c){c&&$(t),q(e),q(a),q(i),c&&$(k),c&&$(h),p.block.d(),p.token=null,p=null}}}function ge(l){let t=l[16]+"",r;return{c(){r=A(t)},l(e){r=K(e,t)},m(e,n){b(e,r,n)},p:m,d(e){e&&$(r)}}}function W(l){let t,r;return t=new ue({props:{value:l[16],$$slots:{default:[ge]},$$scope:{ctx:l}}}),{c(){w(t.$$.fragment)},l(e){v(t.$$.fragment,e)},m(e,n){y(t,e,n),r=!0},p(e,n){const o={};n&1048576&&(o.$$scope={dirty:n,ctx:e}),t.$set(o)},i(e){r||(_(t.$$.fragment,e),r=!0)},o(e){g(t.$$.fragment,e),r=!1},d(e){q(t,e)}}}function he(l){let t,r,e=l[14],n=[];for(let a=0;ag(n[a],1,1,()=>{n[a]=null});return{c(){for(let a=0;at,e.anchor=null,r=!0},p(n,[o]){l=n,J(e,l,o)},i(n){r||(_(e.block),r=!0)},o(n){for(let o=0;o<3;o+=1){const a=e.blocks[o];g(a)}r=!1},d(n){n&&$(t),e.block.d(),e.token=null,e=null}}}let qe=!1;function Ee(l,t,r){let e,n;z(l,pe,c=>r(8,e=c)),z(l,M,c=>r(9,n=c));const{namespace:o,workflow:a,run:u}=n.params,s={id:a,runId:u};let i,k=fe({namespace:o,workflow:s}).then(c=>(r(0,i=i||c[0]),c)),h;const I=c=>{var f;r(1,h=me({namespace:o,workflow:s,queryType:c},(f=n.data)===null||f===void 0?void 0:f.settings,e==null?void 0:e.accessToken))};let j=!0;function Q(c){i=c,r(0,i)}const N=()=>I(i),p=()=>r(2,j=!j);return l.$$.update=()=>{l.$$.dirty&1&&i&&I(i)},[i,h,j,k,I,Q,N,p]}class Ie extends Z{constructor(t){super(),G(this,t,Ee,ye,H,{})}}function je(l){let t,r,e,n;return t=new re({props:{title:`${E("workflows","queries-tab")} | ${l[1]}`,url:l[0].url.href}}),e=new Ie({}),{c(){w(t.$$.fragment),r=B(),w(e.$$.fragment)},l(o){v(t.$$.fragment,o),r=F(o),v(e.$$.fragment,o)},m(o,a){y(t,o,a),b(o,r,a),y(e,o,a),n=!0},p(o,[a]){const u={};a&1&&(u.url=o[0].url.href),t.$set(u)},i(o){n||(_(t.$$.fragment,o),_(e.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),g(e.$$.fragment,o),n=!1},d(o){q(t,o),o&&$(r),q(e,o)}}}function Te(l,t,r){let e;z(l,M,o=>r(0,e=o));const n=e.params.workflow;return[e,n]}class Ae extends Z{constructor(t){super(),G(this,t,Te,je,H,{})}}export{Ae as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-stack-trace-page.svelte.a49ab006.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-stack-trace-page.svelte.2eb6fdb4.js similarity index 98% rename from ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-stack-trace-page.svelte.a49ab006.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-stack-trace-page.svelte.2eb6fdb4.js index eacbd6cd61..09b872b10f 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-stack-trace-page.svelte.a49ab006.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-stack-trace-page.svelte.2eb6fdb4.js @@ -1 +1 @@ -import{S as F,b as K,a as O,m as S,p as L,q as C,k as _,f as h,z as A,g as w,h as G,j as $,K as N,C as v,D as y,E,F as T,ar as W,e as V,as as X,w as D,x as P,L as b,y as H,n as B,c as q,d as Q,u as U}from"../chunks/index.efded970.js";import{p as J}from"../chunks/stores.83aed68d.js";import{P as Y}from"../chunks/page-title.a6dec5b5.js";import{t as d}from"../chunks/translate.230dcc19.js";import{B as Z}from"../chunks/button.a4f5a3d4.js";import{C as x}from"../chunks/code-block.cc2ffee9.js";import{E as M}from"../chunks/empty-state.22810bcf.js";import{L as ee}from"../chunks/link.cac19769.js";import{L as te}from"../chunks/loading.32266c92.js";import{b as j}from"../chunks/query-service.6ec5e063.js";import{a as re}from"../chunks/auth-user.2a42bf1d.js";import{w as oe}from"../chunks/workflow-run.3d1553b6.js";function ne(c){let t,r;return t=new M({props:{title:d("workflows","stack-trace-empty-state"),testId:"query-stack-trace-empty",$$slots:{default:[se]},$$scope:{ctx:c}}}),{c(){v(t.$$.fragment)},l(e){y(t.$$.fragment,e)},m(e,o){E(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){w(t.$$.fragment,e),r=!1},d(e){T(t,e)}}}function le(c){let t,r,e,o={ctx:c,current:null,token:null,hasCatch:!0,pending:ue,then:fe,catch:ce,value:10,error:11,blocks:[,,,]};return W(r=c[2],o),{c(){t=V(),o.block.c()},l(n){t=V(),o.block.l(n)},m(n,l){h(n,t,l),o.block.m(n,o.anchor=l),o.mount=()=>t.parentNode,o.anchor=t,e=!0},p(n,l){c=n,o.ctx=c,l&4&&r!==(r=c[2])&&W(r,o)||X(o,c,l)},i(n){e||($(o.block),e=!0)},o(n){for(let l=0;l<3;l+=1){const s=o.blocks[l];w(s)}e=!1},d(n){n&&_(t),o.block.d(n),o.token=null,o=null}}}function z(c){var a;let t,r=d("workflows","stack-trace-link-preface")+"",e,o,n=d("workflows","stack-trace-link-postface",{taskQueue:(a=c[0])==null?void 0:a.taskQueue})+"",l,s;return o=new ee({props:{href:"https://docs.temporal.io/workflows#stack-trace-query",$$slots:{default:[ae]},$$scope:{ctx:c}}}),{c(){t=S("p"),e=D(r),v(o.$$.fragment),l=D(n)},l(f){t=L(f,"P",{});var i=C(t);e=P(i,r),y(o.$$.fragment,i),l=P(i,n),i.forEach(_)},m(f,i){h(f,t,i),b(t,e),E(o,t,null),b(t,l),s=!0},p(f,i){var k;const u={};i&4096&&(u.$$scope={dirty:i,ctx:f}),o.$set(u),(!s||i&1)&&n!==(n=d("workflows","stack-trace-link-postface",{taskQueue:(k=f[0])==null?void 0:k.taskQueue})+"")&&H(l,n)},i(f){s||($(o.$$.fragment,f),s=!0)},o(f){w(o.$$.fragment,f),s=!1},d(f){f&&_(t),T(o)}}}function ae(c){let t=d("workflows","stack-trace-link")+"",r;return{c(){r=D(t)},l(e){r=P(e,t)},m(e,o){h(e,r,o)},p:B,d(e){e&&_(r)}}}function se(c){var o,n,l;let t,r,e=((o=c[0])==null?void 0:o.isRunning)&&((l=(n=c[3])==null?void 0:n.pollers)==null?void 0:l.length)===0&&z(c);return{c(){e&&e.c(),t=V()},l(s){e&&e.l(s),t=V()},m(s,a){e&&e.m(s,a),h(s,t,a),r=!0},p(s,a){var f,i,u;(f=s[0])!=null&&f.isRunning&&((u=(i=s[3])==null?void 0:i.pollers)==null?void 0:u.length)===0?e?(e.p(s,a),a&9&&$(e,1)):(e=z(s),e.c(),$(e,1),e.m(t.parentNode,t)):e&&(A(),w(e,1,1,()=>{e=null}),G())},i(s){r||($(e),r=!0)},o(s){w(e),r=!1},d(s){e&&e.d(s),s&&_(t)}}}function ce(c){let t,r;return t=new M({props:{title:d("error-occurred"),content:d("workflows","no-workers-running-message")}}),{c(){v(t.$$.fragment)},l(e){y(t.$$.fragment,e)},m(e,o){E(t,e,o),r=!0},p:B,i(e){r||($(t.$$.fragment,e),r=!0)},o(e){w(t.$$.fragment,e),r=!1},d(e){T(t,e)}}}function fe(c){let t,r,e,o,n=d("workflows","stack-trace-at")+"",l,s,a=c[1].toLocaleTimeString()+"",f,i,u,k,m;return r=new Z({props:{leadingIcon:"retry",loading:me,$$slots:{default:[ie]},$$scope:{ctx:c}}}),r.$on("click",c[4]),k=new x({props:{content:c[10],language:"text",testId:"query-stack-trace",copyIconTitle:d("copy-icon-title"),copySuccessIconTitle:d("copy-success-icon-title")}}),{c(){t=S("div"),v(r.$$.fragment),e=q(),o=S("p"),l=D(n),s=q(),f=D(a),i=q(),u=S("div"),v(k.$$.fragment),this.h()},l(p){t=L(p,"DIV",{class:!0});var g=C(t);y(r.$$.fragment,g),e=Q(g),o=L(g,"P",{});var I=C(o);l=P(I,n),s=Q(I),f=P(I,a),I.forEach(_),g.forEach(_),i=Q(p),u=L(p,"DIV",{class:!0});var R=C(u);y(k.$$.fragment,R),R.forEach(_),this.h()},h(){U(t,"class","flex items-center gap-4"),U(u,"class","flex items-start h-full")},m(p,g){h(p,t,g),E(r,t,null),b(t,e),b(t,o),b(o,l),b(o,s),b(o,f),h(p,i,g),h(p,u,g),E(k,u,null),m=!0},p(p,g){const I={};g&4096&&(I.$$scope={dirty:g,ctx:p}),r.$set(I),(!m||g&2)&&a!==(a=p[1].toLocaleTimeString()+"")&&H(f,a);const R={};g&4&&(R.content=p[10]),k.$set(R)},i(p){m||($(r.$$.fragment,p),$(k.$$.fragment,p),m=!0)},o(p){w(r.$$.fragment,p),w(k.$$.fragment,p),m=!1},d(p){p&&_(t),T(r),p&&_(i),p&&_(u),T(k)}}}function ie(c){let t=d("refresh")+"",r;return{c(){r=D(t)},l(e){r=P(e,t)},m(e,o){h(e,r,o)},p:B,d(e){e&&_(r)}}}function ue(c){let t,r,e,o,n=d("workflows","no-workers-failure-message")+"",l,s;return r=new te({}),{c(){t=S("div"),v(r.$$.fragment),e=q(),o=S("p"),l=D(n),this.h()},l(a){t=L(a,"DIV",{class:!0});var f=C(t);y(r.$$.fragment,f),e=Q(f),o=L(f,"P",{});var i=C(o);l=P(i,n),i.forEach(_),f.forEach(_),this.h()},h(){U(t,"class","text-center")},m(a,f){h(a,t,f),E(r,t,null),b(t,e),b(t,o),b(o,l),s=!0},p:B,i(a){s||($(r.$$.fragment,a),s=!0)},o(a){w(r.$$.fragment,a),s=!1},d(a){a&&_(t),T(r)}}}function pe(c){let t,r,e,o;const n=[le,ne],l=[];function s(a,f){var i,u,k;return(i=a[0])!=null&&i.isRunning&&((k=(u=a[3])==null?void 0:u.pollers)==null?void 0:k.length)>0?0:1}return r=s(c),e=l[r]=n[r](c),{c(){t=S("section"),e.c()},l(a){t=L(a,"SECTION",{});var f=C(t);e.l(f),f.forEach(_)},m(a,f){h(a,t,f),l[r].m(t,null),o=!0},p(a,[f]){let i=r;r=s(a),r===i?l[r].p(a,f):(A(),w(l[i],1,1,()=>{l[i]=null}),G(),e=l[r],e?e.p(a,f):(e=l[r]=n[r](a),e.c()),$(e,1),e.m(t,null))},i(a){o||($(e),o=!0)},o(a){w(e),o=!1},d(a){a&&_(t),l[r].d()}}}let me=!1;function _e(c,t,r){let e,o,n,l,s;N(c,re,m=>r(6,n=m)),N(c,J,m=>r(7,l=m)),N(c,oe,m=>r(5,s=m));const{namespace:a}=l.params;let f=new Date;const i=()=>{var m;return j({workflow:e,namespace:a},(m=l.data)===null||m===void 0?void 0:m.settings,n==null?void 0:n.accessToken)};let u;const k=()=>{var m;r(2,u=j({workflow:e,namespace:a},(m=l.data)===null||m===void 0?void 0:m.settings,n==null?void 0:n.accessToken)),u.then(()=>{r(1,f=new Date)})};return c.$$.update=()=>{c.$$.dirty&32&&r(0,{workflow:e,workers:o}=s,e,(r(3,o),r(5,s))),c.$$.dirty&1&&e!=null&&e.isRunning&&r(2,u=i())},[e,f,u,o,k,s]}class ke extends F{constructor(t){super(),K(this,t,_e,pe,O,{})}}function $e(c){let t,r,e,o;return t=new Y({props:{title:`${d("workflows","stack-trace-tab")} | ${c[1]}`,url:c[0].url.href}}),e=new ke({}),{c(){v(t.$$.fragment),r=q(),v(e.$$.fragment)},l(n){y(t.$$.fragment,n),r=Q(n),y(e.$$.fragment,n)},m(n,l){E(t,n,l),h(n,r,l),E(e,n,l),o=!0},p(n,[l]){const s={};l&1&&(s.url=n[0].url.href),t.$set(s)},i(n){o||($(t.$$.fragment,n),$(e.$$.fragment,n),o=!0)},o(n){w(t.$$.fragment,n),w(e.$$.fragment,n),o=!1},d(n){T(t,n),n&&_(r),T(e,n)}}}function ge(c,t,r){let e;N(c,J,n=>r(0,e=n));const o=e.params.workflow;return[e,o]}class De extends F{constructor(t){super(),K(this,t,ge,$e,O,{})}}export{De as default}; +import{S as F,b as K,a as O,m as S,p as L,q as C,k as _,f as h,z as A,g as w,h as G,j as $,K as N,C as v,D as y,E,F as T,ar as W,e as V,as as X,w as D,x as P,L as b,y as H,n as B,c as q,d as Q,u as U}from"../chunks/index.efded970.js";import{p as J}from"../chunks/stores.3002bd93.js";import{P as Y}from"../chunks/page-title.a6dec5b5.js";import{t as d}from"../chunks/translate.230dcc19.js";import{B as Z}from"../chunks/button.a4f5a3d4.js";import{C as x}from"../chunks/code-block.cc2ffee9.js";import{E as M}from"../chunks/empty-state.22810bcf.js";import{L as ee}from"../chunks/link.cac19769.js";import{L as te}from"../chunks/loading.32266c92.js";import{b as j}from"../chunks/query-service.cc6baea4.js";import{a as re}from"../chunks/auth-user.2a42bf1d.js";import{w as oe}from"../chunks/workflow-run.3d1553b6.js";function ne(c){let t,r;return t=new M({props:{title:d("workflows","stack-trace-empty-state"),testId:"query-stack-trace-empty",$$slots:{default:[se]},$$scope:{ctx:c}}}),{c(){v(t.$$.fragment)},l(e){y(t.$$.fragment,e)},m(e,o){E(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){w(t.$$.fragment,e),r=!1},d(e){T(t,e)}}}function le(c){let t,r,e,o={ctx:c,current:null,token:null,hasCatch:!0,pending:ue,then:fe,catch:ce,value:10,error:11,blocks:[,,,]};return W(r=c[2],o),{c(){t=V(),o.block.c()},l(n){t=V(),o.block.l(n)},m(n,l){h(n,t,l),o.block.m(n,o.anchor=l),o.mount=()=>t.parentNode,o.anchor=t,e=!0},p(n,l){c=n,o.ctx=c,l&4&&r!==(r=c[2])&&W(r,o)||X(o,c,l)},i(n){e||($(o.block),e=!0)},o(n){for(let l=0;l<3;l+=1){const s=o.blocks[l];w(s)}e=!1},d(n){n&&_(t),o.block.d(n),o.token=null,o=null}}}function z(c){var a;let t,r=d("workflows","stack-trace-link-preface")+"",e,o,n=d("workflows","stack-trace-link-postface",{taskQueue:(a=c[0])==null?void 0:a.taskQueue})+"",l,s;return o=new ee({props:{href:"https://docs.temporal.io/workflows#stack-trace-query",$$slots:{default:[ae]},$$scope:{ctx:c}}}),{c(){t=S("p"),e=D(r),v(o.$$.fragment),l=D(n)},l(f){t=L(f,"P",{});var i=C(t);e=P(i,r),y(o.$$.fragment,i),l=P(i,n),i.forEach(_)},m(f,i){h(f,t,i),b(t,e),E(o,t,null),b(t,l),s=!0},p(f,i){var k;const u={};i&4096&&(u.$$scope={dirty:i,ctx:f}),o.$set(u),(!s||i&1)&&n!==(n=d("workflows","stack-trace-link-postface",{taskQueue:(k=f[0])==null?void 0:k.taskQueue})+"")&&H(l,n)},i(f){s||($(o.$$.fragment,f),s=!0)},o(f){w(o.$$.fragment,f),s=!1},d(f){f&&_(t),T(o)}}}function ae(c){let t=d("workflows","stack-trace-link")+"",r;return{c(){r=D(t)},l(e){r=P(e,t)},m(e,o){h(e,r,o)},p:B,d(e){e&&_(r)}}}function se(c){var o,n,l;let t,r,e=((o=c[0])==null?void 0:o.isRunning)&&((l=(n=c[3])==null?void 0:n.pollers)==null?void 0:l.length)===0&&z(c);return{c(){e&&e.c(),t=V()},l(s){e&&e.l(s),t=V()},m(s,a){e&&e.m(s,a),h(s,t,a),r=!0},p(s,a){var f,i,u;(f=s[0])!=null&&f.isRunning&&((u=(i=s[3])==null?void 0:i.pollers)==null?void 0:u.length)===0?e?(e.p(s,a),a&9&&$(e,1)):(e=z(s),e.c(),$(e,1),e.m(t.parentNode,t)):e&&(A(),w(e,1,1,()=>{e=null}),G())},i(s){r||($(e),r=!0)},o(s){w(e),r=!1},d(s){e&&e.d(s),s&&_(t)}}}function ce(c){let t,r;return t=new M({props:{title:d("error-occurred"),content:d("workflows","no-workers-running-message")}}),{c(){v(t.$$.fragment)},l(e){y(t.$$.fragment,e)},m(e,o){E(t,e,o),r=!0},p:B,i(e){r||($(t.$$.fragment,e),r=!0)},o(e){w(t.$$.fragment,e),r=!1},d(e){T(t,e)}}}function fe(c){let t,r,e,o,n=d("workflows","stack-trace-at")+"",l,s,a=c[1].toLocaleTimeString()+"",f,i,u,k,m;return r=new Z({props:{leadingIcon:"retry",loading:me,$$slots:{default:[ie]},$$scope:{ctx:c}}}),r.$on("click",c[4]),k=new x({props:{content:c[10],language:"text",testId:"query-stack-trace",copyIconTitle:d("copy-icon-title"),copySuccessIconTitle:d("copy-success-icon-title")}}),{c(){t=S("div"),v(r.$$.fragment),e=q(),o=S("p"),l=D(n),s=q(),f=D(a),i=q(),u=S("div"),v(k.$$.fragment),this.h()},l(p){t=L(p,"DIV",{class:!0});var g=C(t);y(r.$$.fragment,g),e=Q(g),o=L(g,"P",{});var I=C(o);l=P(I,n),s=Q(I),f=P(I,a),I.forEach(_),g.forEach(_),i=Q(p),u=L(p,"DIV",{class:!0});var R=C(u);y(k.$$.fragment,R),R.forEach(_),this.h()},h(){U(t,"class","flex items-center gap-4"),U(u,"class","flex items-start h-full")},m(p,g){h(p,t,g),E(r,t,null),b(t,e),b(t,o),b(o,l),b(o,s),b(o,f),h(p,i,g),h(p,u,g),E(k,u,null),m=!0},p(p,g){const I={};g&4096&&(I.$$scope={dirty:g,ctx:p}),r.$set(I),(!m||g&2)&&a!==(a=p[1].toLocaleTimeString()+"")&&H(f,a);const R={};g&4&&(R.content=p[10]),k.$set(R)},i(p){m||($(r.$$.fragment,p),$(k.$$.fragment,p),m=!0)},o(p){w(r.$$.fragment,p),w(k.$$.fragment,p),m=!1},d(p){p&&_(t),T(r),p&&_(i),p&&_(u),T(k)}}}function ie(c){let t=d("refresh")+"",r;return{c(){r=D(t)},l(e){r=P(e,t)},m(e,o){h(e,r,o)},p:B,d(e){e&&_(r)}}}function ue(c){let t,r,e,o,n=d("workflows","no-workers-failure-message")+"",l,s;return r=new te({}),{c(){t=S("div"),v(r.$$.fragment),e=q(),o=S("p"),l=D(n),this.h()},l(a){t=L(a,"DIV",{class:!0});var f=C(t);y(r.$$.fragment,f),e=Q(f),o=L(f,"P",{});var i=C(o);l=P(i,n),i.forEach(_),f.forEach(_),this.h()},h(){U(t,"class","text-center")},m(a,f){h(a,t,f),E(r,t,null),b(t,e),b(t,o),b(o,l),s=!0},p:B,i(a){s||($(r.$$.fragment,a),s=!0)},o(a){w(r.$$.fragment,a),s=!1},d(a){a&&_(t),T(r)}}}function pe(c){let t,r,e,o;const n=[le,ne],l=[];function s(a,f){var i,u,k;return(i=a[0])!=null&&i.isRunning&&((k=(u=a[3])==null?void 0:u.pollers)==null?void 0:k.length)>0?0:1}return r=s(c),e=l[r]=n[r](c),{c(){t=S("section"),e.c()},l(a){t=L(a,"SECTION",{});var f=C(t);e.l(f),f.forEach(_)},m(a,f){h(a,t,f),l[r].m(t,null),o=!0},p(a,[f]){let i=r;r=s(a),r===i?l[r].p(a,f):(A(),w(l[i],1,1,()=>{l[i]=null}),G(),e=l[r],e?e.p(a,f):(e=l[r]=n[r](a),e.c()),$(e,1),e.m(t,null))},i(a){o||($(e),o=!0)},o(a){w(e),o=!1},d(a){a&&_(t),l[r].d()}}}let me=!1;function _e(c,t,r){let e,o,n,l,s;N(c,re,m=>r(6,n=m)),N(c,J,m=>r(7,l=m)),N(c,oe,m=>r(5,s=m));const{namespace:a}=l.params;let f=new Date;const i=()=>{var m;return j({workflow:e,namespace:a},(m=l.data)===null||m===void 0?void 0:m.settings,n==null?void 0:n.accessToken)};let u;const k=()=>{var m;r(2,u=j({workflow:e,namespace:a},(m=l.data)===null||m===void 0?void 0:m.settings,n==null?void 0:n.accessToken)),u.then(()=>{r(1,f=new Date)})};return c.$$.update=()=>{c.$$.dirty&32&&r(0,{workflow:e,workers:o}=s,e,(r(3,o),r(5,s))),c.$$.dirty&1&&e!=null&&e.isRunning&&r(2,u=i())},[e,f,u,o,k,s]}class ke extends F{constructor(t){super(),K(this,t,_e,pe,O,{})}}function $e(c){let t,r,e,o;return t=new Y({props:{title:`${d("workflows","stack-trace-tab")} | ${c[1]}`,url:c[0].url.href}}),e=new ke({}),{c(){v(t.$$.fragment),r=q(),v(e.$$.fragment)},l(n){y(t.$$.fragment,n),r=Q(n),y(e.$$.fragment,n)},m(n,l){E(t,n,l),h(n,r,l),E(e,n,l),o=!0},p(n,[l]){const s={};l&1&&(s.url=n[0].url.href),t.$set(s)},i(n){o||($(t.$$.fragment,n),$(e.$$.fragment,n),o=!0)},o(n){w(t.$$.fragment,n),w(e.$$.fragment,n),o=!1},d(n){T(t,n),n&&_(r),T(e,n)}}}function ge(c,t,r){let e;N(c,J,n=>r(0,e=n));const o=e.params.workflow;return[e,o]}class De extends F{constructor(t){super(),K(this,t,ge,$e,O,{})}}export{De as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-workers-page.svelte.b14f2e16.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-workers-page.svelte.09b1b47c.js similarity index 92% rename from ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-workers-page.svelte.b14f2e16.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-workers-page.svelte.09b1b47c.js index a7d41470ce..7b454e1469 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-workers-page.svelte.b14f2e16.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-workers-page.svelte.09b1b47c.js @@ -1 +1 @@ -import{S as w,b as k,a as $,C as i,D as m,E as u,j as p,g as l,F as c,K as g,c as b,d as h,f as y,k as Q}from"../chunks/index.efded970.js";import{p as P}from"../chunks/stores.83aed68d.js";import{P as W}from"../chunks/page-title.a6dec5b5.js";import{t as C}from"../chunks/translate.230dcc19.js";import{W as R}from"../chunks/workers-list.4f77c93c.js";import{w as S}from"../chunks/workflow-run.3d1553b6.js";function j(a){var s;let t,o;return t=new R({props:{taskQueue:(s=a[2])==null?void 0:s.taskQueue,workers:a[3],compatibility:a[1],reachability:a[0]}}),{c(){i(t.$$.fragment)},l(r){m(t.$$.fragment,r)},m(r,e){u(t,r,e),o=!0},p(r,[e]){var f;const n={};e&4&&(n.taskQueue=(f=r[2])==null?void 0:f.taskQueue),e&8&&(n.workers=r[3]),e&2&&(n.compatibility=r[1]),e&1&&(n.reachability=r[0]),t.$set(n)},i(r){o||(p(t.$$.fragment,r),o=!0)},o(r){l(t.$$.fragment,r),o=!1},d(r){c(t,r)}}}function q(a,t,o){let s,r,e,n,f;return g(a,S,_=>o(4,f=_)),a.$$.update=()=>{a.$$.dirty&16&&o(3,{workers:s,workflow:r,compatibility:e,reachability:n}=f,s,(o(2,r),o(4,f)),(o(1,e),o(4,f)),(o(0,n),o(4,f)))},[n,e,r,s,f]}class D extends w{constructor(t){super(),k(this,t,q,j,$,{})}}function E(a){let t,o,s,r;return t=new W({props:{title:`${C("workflows","workers-tab")} | ${a[1]}`,url:a[0].url.href}}),s=new D({}),{c(){i(t.$$.fragment),o=b(),i(s.$$.fragment)},l(e){m(t.$$.fragment,e),o=h(e),m(s.$$.fragment,e)},m(e,n){u(t,e,n),y(e,o,n),u(s,e,n),r=!0},p(e,[n]){const f={};n&1&&(f.url=e[0].url.href),t.$set(f)},i(e){r||(p(t.$$.fragment,e),p(s.$$.fragment,e),r=!0)},o(e){l(t.$$.fragment,e),l(s.$$.fragment,e),r=!1},d(e){c(t,e),e&&Q(o),c(s,e)}}}function F(a,t,o){let s;g(a,P,e=>o(0,s=e));const r=s.params.workflow;return[s,r]}class I extends w{constructor(t){super(),k(this,t,F,E,$,{})}}export{I as default}; +import{S as w,b as k,a as $,C as i,D as m,E as u,j as p,g as l,F as c,K as g,c as b,d as h,f as y,k as Q}from"../chunks/index.efded970.js";import{p as P}from"../chunks/stores.3002bd93.js";import{P as W}from"../chunks/page-title.a6dec5b5.js";import{t as C}from"../chunks/translate.230dcc19.js";import{W as R}from"../chunks/workers-list.b54d3495.js";import{w as S}from"../chunks/workflow-run.3d1553b6.js";function j(a){var s;let t,o;return t=new R({props:{taskQueue:(s=a[2])==null?void 0:s.taskQueue,workers:a[3],compatibility:a[1],reachability:a[0]}}),{c(){i(t.$$.fragment)},l(r){m(t.$$.fragment,r)},m(r,e){u(t,r,e),o=!0},p(r,[e]){var f;const n={};e&4&&(n.taskQueue=(f=r[2])==null?void 0:f.taskQueue),e&8&&(n.workers=r[3]),e&2&&(n.compatibility=r[1]),e&1&&(n.reachability=r[0]),t.$set(n)},i(r){o||(p(t.$$.fragment,r),o=!0)},o(r){l(t.$$.fragment,r),o=!1},d(r){c(t,r)}}}function q(a,t,o){let s,r,e,n,f;return g(a,S,_=>o(4,f=_)),a.$$.update=()=>{a.$$.dirty&16&&o(3,{workers:s,workflow:r,compatibility:e,reachability:n}=f,s,(o(2,r),o(4,f)),(o(1,e),o(4,f)),(o(0,n),o(4,f)))},[n,e,r,s,f]}class D extends w{constructor(t){super(),k(this,t,q,j,$,{})}}function E(a){let t,o,s,r;return t=new W({props:{title:`${C("workflows","workers-tab")} | ${a[1]}`,url:a[0].url.href}}),s=new D({}),{c(){i(t.$$.fragment),o=b(),i(s.$$.fragment)},l(e){m(t.$$.fragment,e),o=h(e),m(s.$$.fragment,e)},m(e,n){u(t,e,n),y(e,o,n),u(s,e,n),r=!0},p(e,[n]){const f={};n&1&&(f.url=e[0].url.href),t.$set(f)},i(e){r||(p(t.$$.fragment,e),p(s.$$.fragment,e),r=!0)},o(e){l(t.$$.fragment,e),l(s.$$.fragment,e),r=!1},d(e){c(t,e),e&&Q(o),c(s,e)}}}function F(a,t,o){let s;g(a,P,e=>o(0,s=e));const r=s.params.workflow;return[s,r]}class I extends w{constructor(t){super(),k(this,t,F,E,$,{})}}export{I as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-page.ts.cc298259.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-page.ts.85f63279.js similarity index 57% rename from ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-page.ts.cc298259.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-page.ts.85f63279.js index 8aa8d385eb..7b352dbf23 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-page.ts.cc298259.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-page.ts.85f63279.js @@ -1 +1 @@ -import"../chunks/index.b1f5b21f.js";import"../chunks/workflow-service.6fa8d283.js";import{l as t}from"../chunks/_page.6d808502.js";export{t as load}; +import"../chunks/index.b1f5b21f.js";import"../chunks/workflow-service.db6f5d3e.js";import{l as t}from"../chunks/_page.a593dedb.js";export{t as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-page.svelte.34f8f62f.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-page.svelte.3c99401c.js similarity index 99% rename from ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-page.svelte.34f8f62f.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-page.svelte.3c99401c.js index fd0d38ceb1..8bf8b4b136 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-page.svelte.34f8f62f.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-page.svelte.3c99401c.js @@ -1,3 +1,3 @@ -import{S as fe,b as ue,a as ce,e as ee,f as I,z as J,g as $,h as X,j as p,k as g,K as z,G as be,H as ke,I as we,J as ve,w as j,x as Q,y as se,n as K,A as ie,Z as me,C as E,D as T,E as D,_ as _e,F as L,M as mt,m as F,p as O,q as M,u as S,c as W,d as V,L as P,a9 as Ct,al as zr,a6 as Te,P as ae,Q as pe,i as _r,a2 as Kr,r as wt,ab as _t,a5 as le,af as Tt,a3 as it,a4 as ft,ae as Ye,a1 as Xe,V as Se,aa as jt,$ as wl,a0 as vl,aq as dr,N as ut,U as $t,at as Yr,O as Il,R as Gr,T as El,ad as Jr,l as Xr,ai as Zr,a7 as Tl,v as Dl,s as el,o as pr,aj as xr}from"../chunks/index.efded970.js";import{p as Ie}from"../chunks/stores.83aed68d.js";import{a as vt,j as eo,g as Ll}from"../chunks/workflow-service.6fa8d283.js";import{P as to}from"../chunks/page-title.a6dec5b5.js";import{w as ot,d as dt}from"../chunks/index.c0615b9d.js";import{I as Ae}from"../chunks/input.f4d0de9f.js";import{M as lo}from"../chunks/modal.e8d88b85.js";import{t as H}from"../chunks/translate.230dcc19.js";import{A as bt,g as no,f as ro,a as oo,w as so}from"../chunks/workflow-terminate-enabled.d56fddc4.js";import{a as ao,g as io}from"../chunks/auth-user.2a42bf1d.js";import{B as ct}from"../chunks/button.a4f5a3d4.js";import{c as fo,M as tt,a as lt,b as nt,d as $e,f as Bt,e as gr}from"../chunks/menu.9d531fff.js";import{w as yl,a as uo,b as Cl}from"../chunks/calendar.81d1e381.js";import{I as ye}from"../chunks/icon.91a9bf44.js";import{L as al,D as co}from"../chunks/drawer.f1cf2cf1.js";import{M as St}from"../chunks/menu-divider.99a2857a.js";import{T as mo,a as Bl}from"../chunks/toggle-buttons.9fe9f320.js";import{w as he,p as tl}from"../chunks/filters.bd92de72.js";import{i as Sl,g as hr,t as Vt,r as $r,b as Ne}from"../chunks/format-date.be4b741e.js";import{t as _o,j as br,F as po,b as Al,S as go,W as ho,a as $o}from"../chunks/index.5b739b8a.js";import{l as At}from"../chunks/labs-mode.38f06555.js";import{r as Qt,t as bo,z as zt,l as ko,m as wo,n as ll,o as vo,A as Je,B as Mt,C as gt,D as Nl,u as Pt}from"../chunks/format-time.8258873a.js";import{j as Pl,e as Io,d as Eo,k as To,a as Do}from"../chunks/is.ba28a1ea.js";import{u as qe,p as Wt,d as Fl,c as Ft,a as Lo,M as Ol,o as kr,F as yo,P as Co}from"../chunks/pagination.5253b8b7.js";import{r as xe,a as ht,b as wr,c as vr,d as il,u as fl,w as Rt,l as Ir}from"../chunks/workflows.f9987742.js";import{T as Bo}from"../chunks/toggle-switch.f8f2487a.js";import{s as It,b as So,c as Er,i as Ao,w as No}from"../chunks/search-attributes.9143d253.js";import{I as Pe}from"../chunks/icon-button.091b93c1.js";import{S as Po,O as Fo}from"../chunks/option.ccff5056.js";import{W as Kt}from"../chunks/workflow-status.792f3956.js";import{o as Wl}from"../chunks/omit.6cf41932.js";import{A as Oo}from"../chunks/alert.0a6aa272.js";import{L as Et}from"../chunks/link.cac19769.js";import{L as ul}from"../chunks/loading.32266c92.js";import{P as Wo}from"../chunks/table-header-row.b413d43a.js";import{n as Vo,l as Ht}from"../chunks/namespaces.08ac61f9.js";import{p as Tr}from"../chunks/persist-store.c0203efc.js";import{B as Mo}from"../chunks/badge.72fa1965.js";import{f as Ro}from"../chunks/route-for.f2f7cb1c.js";import{i as Dr}from"../chunks/version-check.d006b302.js";import{s as Ho}from"../chunks/settings.f4bcc2b2.js";import{t as Lr}from"../chunks/versions.44d896b4.js";import{c as Uo}from"../chunks/core-user.c3fa437a.js";import{s as cl}from"../chunks/parse-with-big-int.bccd89af.js";import{r as ml,a as _l}from"../chunks/route-for-api.1959b395.js";import{v as yr,t as Ot}from"../chunks/toaster.fd2b66a2.js";import{S as Xt,a as st}from"../chunks/simple-select.35d563b9.js";import{E as Cr}from"../chunks/empty-state.22810bcf.js";function dl(r,e){Qt(2,arguments);var l=bo(r).getTime(),t=zt(e);return new Date(l+t)}var qo=36e5;function Br(r,e){Qt(2,arguments);var l=zt(e);return dl(r,l*qo)}var jo=6e4;function Sr(r,e){Qt(2,arguments);var l=zt(e);return dl(r,l*jo)}function Ar(r,e){Qt(2,arguments);var l=zt(e);return dl(r,l*1e3)}const Qo=r=>({}),Vl=r=>({});function zo(r){let e;const l=r[2].fallback,t=be(l,r,r[1],Vl);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,o){t&&t.m(n,o),e=!0},p(n,o){t&&t.p&&(!e||o&2)&&ke(t,l,n,n[1],e?ve(l,n[1],o,Qo):we(n[1]),Vl)},i(n){e||(p(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function Ko(r){let e;const l=r[2].default,t=be(l,r,r[1],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,o){t&&t.m(n,o),e=!0},p(n,o){t&&t.p&&(!e||o&2)&&ke(t,l,n,n[1],e?ve(l,n[1],o,null):we(n[1]),null)},i(n){e||(p(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function Yo(r){let e,l,t,n;const o=[Ko,zo],s=[];function i(a,f){return a[0]?0:1}return e=i(r),l=s[e]=o[e](r),{c(){l.c(),t=ee()},l(a){l.l(a),t=ee()},m(a,f){s[e].m(a,f),I(a,t,f),n=!0},p(a,[f]){let u=e;e=i(a),e===u?s[e].p(a,f):(J(),$(s[u],1,1,()=>{s[u]=null}),X(),l=s[e],l?l.p(a,f):(l=s[e]=o[e](a),l.c()),p(l,1),l.m(t.parentNode,t))},i(a){n||(p(l),n=!0)},o(a){$(l),n=!1},d(a){s[e].d(a),a&&g(t)}}}function Go(r,e,l){let t;z(r,vt,s=>l(0,t=s));let{$$slots:n={},$$scope:o}=e;return r.$$set=s=>{"$$scope"in s&&l(1,o=s.$$scope)},[t,o,n]}class Jo extends fe{constructor(e){super(),ue(this,e,Go,Yo,ce,{})}}function Xo(r){let e;const l=r[6].default,t=be(l,r,r[5],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,o){t&&t.m(n,o),e=!0},p(n,o){t&&t.p&&(!e||o&32)&&ke(t,l,n,n[5],e?ve(l,n[5],o,null):we(n[5]),null)},i(n){e||(p(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function Zo(r){let e;return{c(){e=j(r[1])},l(l){e=Q(l,r[1])},m(l,t){I(l,e,t)},p(l,t){t&2&&se(e,l[1])},i:K,o:K,d(l){l&&g(e)}}}function xo(r){let e,l,t,n;const o=[Zo,Xo],s=[];function i(a,f){return a[1]!==a[0]?0:1}return e=i(r),l=s[e]=o[e](r),{c(){l.c(),t=ee()},l(a){l.l(a),t=ee()},m(a,f){s[e].m(a,f),I(a,t,f),n=!0},p(a,[f]){let u=e;e=i(a),e===u?s[e].p(a,f):(J(),$(s[u],1,1,()=>{s[u]=null}),X(),l=s[e],l?l.p(a,f):(l=s[e]=o[e](a),l.c()),p(l,1),l.m(t.parentNode,t))},i(a){n||(p(l),n=!0)},o(a){$(l),n=!1},d(a){s[e].d(a),a&&g(t)}}}function es(r,e,l){let t,{$$slots:n={},$$scope:o}=e,{key:s}=e,{namespace:i}=e,{count:a=void 0}=e,{replace:f=void 0}=e;return r.$$set=u=>{"key"in u&&l(0,s=u.key),"namespace"in u&&l(2,i=u.namespace),"count"in u&&l(3,a=u.count),"replace"in u&&l(4,f=u.replace),"$$scope"in u&&l(5,o=u.$$scope)},r.$$.update=()=>{r.$$.dirty&29&&l(1,t=H(i,s,a,f))},[s,t,i,a,f,o,n]}class Fe extends fe{constructor(e){super(),ue(this,e,es,xo,ce,{key:0,namespace:2,count:3,replace:4})}}function ts(r){let e,l,t;return l=new Fe({props:{namespace:"workflows",key:"batch-operation-modal-title",replace:{action:r[3]}}}),{c(){e=F("h3"),E(l.$$.fragment),this.h()},l(n){e=O(n,"H3",{slot:!0});var o=M(e);T(l.$$.fragment,o),o.forEach(g),this.h()},h(){S(e,"slot","title")},m(n,o){I(n,e,o),D(l,e,null),t=!0},p(n,o){const s={};o&8&&(s.replace={action:n[3]}),l.$set(s)},i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){$(l.$$.fragment,n),t=!1},d(n){n&&g(e),L(l)}}}function ls(r){let e,l,t;return l=new Fe({props:{namespace:"workflows",key:r[0]===bt.Cancel?"batch-cancel-confirmation":"batch-terminate-confirmation",count:r[1]}}),{c(){e=F("p"),E(l.$$.fragment)},l(n){e=O(n,"P",{});var o=M(e);T(l.$$.fragment,o),o.forEach(g)},m(n,o){I(n,e,o),D(l,e,null),t=!0},p(n,o){const s={};o&1&&(s.key=n[0]===bt.Cancel?"batch-cancel-confirmation":"batch-terminate-confirmation"),o&2&&(s.count=n[1]),l.$set(s)},i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){$(l.$$.fragment,n),t=!1},d(n){n&&g(e),L(l)}}}function ns(r){let e,l,t,n,o,s,i,a,f,u;return l=new Fe({props:{namespace:"workflows",key:"batch-operation-confirmation-all",replace:{action:r[3]}}}),f=new Fe({props:{namespace:"workflows",key:"batch-operation-count-disclaimer",replace:{action:r[3]}}}),{c(){e=F("p"),E(l.$$.fragment),t=W(),n=F("div"),o=F("code"),s=j(r[2]),i=W(),a=F("span"),E(f.$$.fragment),this.h()},l(c){e=O(c,"P",{class:!0});var m=M(e);T(l.$$.fragment,m),m.forEach(g),t=V(c),n=O(c,"DIV",{class:!0});var _=M(n);o=O(_,"CODE",{"data-testid":!0});var d=M(o);s=Q(d,r[2]),d.forEach(g),_.forEach(g),i=V(c),a=O(c,"SPAN",{class:!0});var h=M(a);T(f.$$.fragment,h),h.forEach(g),this.h()},h(){S(e,"class","mb-2"),S(o,"data-testid","batch-action-workflows-query"),S(n,"class","mb-2 overflow-scroll whitespace-nowrap rounded border border-primary bg-gray-100 p-2"),S(a,"class","text-xs")},m(c,m){I(c,e,m),D(l,e,null),I(c,t,m),I(c,n,m),P(n,o),P(o,s),I(c,i,m),I(c,a,m),D(f,a,null),u=!0},p(c,m){const _={};m&8&&(_.replace={action:c[3]}),l.$set(_),(!u||m&4)&&se(s,c[2]);const d={};m&8&&(d.replace={action:c[3]}),f.$set(d)},i(c){u||(p(l.$$.fragment,c),p(f.$$.fragment,c),u=!0)},o(c){$(l.$$.fragment,c),$(f.$$.fragment,c),u=!1},d(c){c&&g(e),L(l),c&&g(t),c&&g(n),c&&g(i),c&&g(a),L(f)}}}function rs(r){let e,l,t,n,o,s,i;const a=[ns,ls],f=[];function u(_,d){return _[9]?0:1}l=u(r),t=f[l]=a[l](r);function c(_){r[15](_)}let m={id:`bulk-action-reason-${r[0]}`,label:H("reason"),hintText:H("workflows","batch-operation-confirmation-input-hint",{placeholder:r[7]}),placeholder:r[7]};return r[4]!==void 0&&(m.value=r[4]),o=new Ae({props:m}),ie.push(()=>me(o,"value",c)),{c(){e=F("div"),t.c(),n=W(),E(o.$$.fragment),this.h()},l(_){e=O(_,"DIV",{class:!0});var d=M(e);t.l(d),d.forEach(g),n=V(_),T(o.$$.fragment,_),this.h()},h(){S(e,"class","mb-4 flex flex-col")},m(_,d){I(_,e,d),f[l].m(e,null),I(_,n,d),D(o,_,d),i=!0},p(_,d){let h=l;l=u(_),l===h?f[l].p(_,d):(J(),$(f[h],1,1,()=>{f[h]=null}),X(),t=f[l],t?t.p(_,d):(t=f[l]=a[l](_),t.c()),p(t,1),t.m(e,null));const b={};d&1&&(b.id=`bulk-action-reason-${_[0]}`),d&128&&(b.hintText=H("workflows","batch-operation-confirmation-input-hint",{placeholder:_[7]})),d&128&&(b.placeholder=_[7]),!s&&d&16&&(s=!0,b.value=_[4],_e(()=>s=!1)),o.$set(b)},i(_){i||(p(t),p(o.$$.fragment,_),i=!0)},o(_){$(t),$(o.$$.fragment,_),i=!1},d(_){_&&g(e),f[l].d(),_&&g(n),L(o,_)}}}function os(r){let e,l,t,n;function o(a){r[16](a)}function s(a){r[17](a)}let i={id:`batch-operation-confirmation-modal-${r[0]}`,"data-testid":"batch-"+r[3]+"-confirmation",confirmType:"destructive",cancelText:H("cancel"),confirmText:r[8],$$slots:{content:[rs],title:[ts]},$$scope:{ctx:r}};return r[5]!==void 0&&(i.open=r[5]),r[6]!==void 0&&(i.error=r[6]),e=new lo({props:i}),ie.push(()=>me(e,"open",o)),ie.push(()=>me(e,"error",s)),e.$on("confirmModal",r[10]),{c(){E(e.$$.fragment)},l(a){T(e.$$.fragment,a)},m(a,f){D(e,a,f),n=!0},p(a,[f]){const u={};f&1&&(u.id=`batch-operation-confirmation-modal-${a[0]}`),f&8&&(u["data-testid"]="batch-"+a[3]+"-confirmation"),f&256&&(u.confirmText=a[8]),f&524959&&(u.$$scope={dirty:f,ctx:a}),!l&&f&32&&(l=!0,u.open=a[5],_e(()=>l=!1)),!t&&f&64&&(t=!0,u.error=a[6],_e(()=>t=!1)),e.$set(u)},i(a){n||(p(e.$$.fragment,a),n=!0)},o(a){$(e.$$.fragment,a),n=!1},d(a){L(e,a)}}}function ss(r,e,l){let t,n,o,s,i;z(r,ao,v=>l(14,s=v)),z(r,et,v=>l(9,i=v));let{action:a}=e,{actionableWorkflowsLength:f}=e,{query:u}=e,c="",m=!1,_="";const d=()=>{l(4,c=""),l(5,m=!0)},h=()=>l(5,m=!1),b=v=>l(6,_=v),w=mt(),C=()=>{l(6,_=""),w("confirm",{reason:ro({action:a,reason:c,email:s.email})})};function k(v){c=v,l(4,c)}function A(v){m=v,l(5,m)}function y(v){_=v,l(6,_)}return r.$$set=v=>{"action"in v&&l(0,a=v.action),"actionableWorkflowsLength"in v&&l(1,f=v.actionableWorkflowsLength),"query"in v&&l(2,u=v.query)},r.$$.update=()=>{r.$$.dirty&1&&l(3,t=a===bt.Cancel?H("cancel"):H("workflows","terminate")),r.$$.dirty&9&&l(8,n=a===bt.Cancel?H("confirm"):t),r.$$.dirty&16385&&l(7,o=no(a,s.email))},[a,f,u,t,c,m,_,o,n,i,C,d,h,b,s,k,A,y]}class Ml extends fe{constructor(e){super(),ue(this,e,ss,os,ce,{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]}}function Rl(r,e,l){const t=r.slice();return t[9]=e[l].allowed,t[10]=e[l].value,t[12]=l,t}function Hl(r,e,l){const t=r.slice();return t[13]=e[l],t}function Ul(r){let e,l=r[13].label.slice(0,2)+"",t;return{c(){e=F("p"),t=j(l),this.h()},l(n){e=O(n,"P",{class:!0});var o=M(e);t=Q(o,l),o.forEach(g),this.h()},h(){S(e,"class","cell svelte-1we9vff")},m(n,o){I(n,e,o),P(e,t)},p:K,d(n){n&&g(e)}}}function ql(r,e){let l,t=(e[10]||"")+"",n,o,s,i;function a(){return e[6](e[10])}return{key:r,first:null,c(){l=F("button"),n=j(t),o=W(),this.h()},l(f){l=O(f,"BUTTON",{class:!0});var u=M(l);n=Q(u,t),o=V(u),u.forEach(g),this.h()},h(){S(l,"class","cell svelte-1we9vff"),ae(l,"highlight",e[9]&&e[10]),ae(l,"disabled",!e[9]),ae(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,u){I(f,l,u),P(l,n),P(l,o),s||(i=pe(l,"click",function(){_r(e[9]&&e[10]?a:K)&&(e[9]&&e[10]?a:K).apply(this,arguments)}),s=!0)},p(f,u){e=f,u&8&&t!==(t=(e[10]||"")+"")&&se(n,t),u&8&&ae(l,"highlight",e[9]&&e[10]),u&8&&ae(l,"disabled",!e[9]),u&15&&ae(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&&g(l),s=!1,i()}}}function as(r){let e,l,t,n,o=[],s=new Map,i=yl,a=[];for(let c=0;cc[12];for(let c=0;c!0}=e,a=[];const f=m=>{t("datechange",new Date(s,o,m))},u=(m,_,d)=>d?i(new Date(m,_,d)):!0,c=m=>f(m);return r.$$set=m=>{"date"in m&&l(0,n=m.date),"month"in m&&l(1,o=m.month),"year"in m&&l(2,s=m.year),"isAllowed"in m&&l(5,i=m.isAllowed)},r.$$.update=()=>{r.$$.dirty&6&&l(3,a=uo(o,s).map(m=>({value:m,allowed:u(s,o,m)})))},[n,o,s,a,f,i,c]}class fs extends fe{constructor(e){super(),ue(this,e,is,as,ce,{date:0,month:1,year:2,isAllowed:5})}}function jl(r){var R;let e,l,t,n,o,s,i,a=(((R=Cl(r[8]))==null?void 0:R.label)??"")+"",f,u,c,m,_,d,h,b,w,C,k,A,y,v,B,q,N,Y,U;return o=new ye({props:{name:"chevron-left"}}),h=new ye({props:{name:"chevron-right"}}),w=new fs({props:{month:r[8],year:r[9],date:r[0],isAllowed:r[1]}}),w.$on("datechange",r[15]),{c(){e=F("div"),l=F("div"),t=F("div"),n=F("button"),E(o.$$.fragment),s=W(),i=F("div"),f=j(a),u=W(),c=j(r[9]),m=W(),_=F("div"),d=F("button"),E(h.$$.fragment),b=W(),E(w.$$.fragment),C=W(),k=F("div"),A=F("button"),y=j(r[4]),v=W(),B=F("button"),q=j(r[5]),this.h()},l(Z){e=O(Z,"DIV",{class:!0});var G=M(e);l=O(G,"DIV",{class:!0});var de=M(l);t=O(de,"DIV",{class:!0});var ge=M(t);n=O(ge,"BUTTON",{});var x=M(n);T(o.$$.fragment,x),x.forEach(g),ge.forEach(g),s=V(de),i=O(de,"DIV",{class:!0});var oe=M(i);f=Q(oe,a),u=V(oe),c=Q(oe,r[9]),oe.forEach(g),m=V(de),_=O(de,"DIV",{class:!0});var Ee=M(_);d=O(Ee,"BUTTON",{});var De=M(d);T(h.$$.fragment,De),De.forEach(g),Ee.forEach(g),de.forEach(g),b=V(G),T(w.$$.fragment,G),C=V(G),k=O(G,"DIV",{class:!0});var Ce=M(k);A=O(Ce,"BUTTON",{class:!0});var Le=M(A);y=Q(Le,r[4]),Le.forEach(g),v=V(Ce),B=O(Ce,"BUTTON",{class:!0});var We=M(B);q=Q(We,r[5]),We.forEach(g),Ce.forEach(g),G.forEach(g),this.h()},h(){S(t,"class","flex items-center justify-center"),S(i,"class","flex items-center justify-center"),S(_,"class","flex items-center justify-center"),S(l,"class","mx-3 my-2 flex items-center justify-around"),S(A,"class","cursor-pointer text-[12px]"),S(B,"class","cursor-pointer text-[12px]"),S(k,"class","my-1 flex justify-between px-2"),S(e,"class","absolute z-50 inline-block rounded border border-gray-900 bg-white shadow")},m(Z,G){I(Z,e,G),P(e,l),P(l,t),P(t,n),D(o,n,null),P(l,s),P(l,i),P(i,f),P(i,u),P(i,c),P(l,m),P(l,_),P(_,d),D(h,d,null),P(e,b),D(w,e,null),P(e,C),P(e,k),P(k,A),P(A,y),P(k,v),P(k,B),P(B,q),N=!0,Y||(U=[pe(n,"click",r[14]),pe(d,"click",r[13]),pe(A,"click",r[16]),pe(B,"click",r[17])],Y=!0)},p(Z,G){var ge;(!N||G&256)&&a!==(a=(((ge=Cl(Z[8]))==null?void 0:ge.label)??"")+"")&&se(f,a),(!N||G&512)&&se(c,Z[9]);const de={};G&256&&(de.month=Z[8]),G&512&&(de.year=Z[9]),G&1&&(de.date=Z[0]),G&2&&(de.isAllowed=Z[1]),w.$set(de),(!N||G&16)&&se(y,Z[4]),(!N||G&32)&&se(q,Z[5])},i(Z){N||(p(o.$$.fragment,Z),p(h.$$.fragment,Z),p(w.$$.fragment,Z),N=!0)},o(Z){$(o.$$.fragment,Z),$(h.$$.fragment,Z),$(w.$$.fragment,Z),N=!1},d(Z){Z&&g(e),L(o),L(h),L(w),Y=!1,wt(U)}}}function us(r){let e,l,t,n,o,s;l=new Ae({props:{id:"datepicker",label:r[2],labelHidden:r[3],icon:"calendar-plus",type:"text",placeholder:"MM/DD/YY",value:r[0].toDateString(),clearable:!0,clearButtonLabel:r[6],disabled:r[7]}}),l.$on("focus",r[11]),l.$on("input",r[12]);let i=r[10]&&jl(r);return{c(){e=F("div"),E(l.$$.fragment),t=W(),i&&i.c(),this.h()},l(a){e=O(a,"DIV",{class:!0});var f=M(e);T(l.$$.fragment,f),t=V(f),i&&i.l(f),f.forEach(g),this.h()},h(){S(e,"class","relative")},m(a,f){I(a,e,f),D(l,e,null),P(e,t),i&&i.m(e,null),n=!0,o||(s=[Kr(fo.call(null,e)),pe(e,"click-outside",r[18])],o=!0)},p(a,[f]){const u={};f&4&&(u.label=a[2]),f&8&&(u.labelHidden=a[3]),f&1&&(u.value=a[0].toDateString()),f&64&&(u.clearButtonLabel=a[6]),f&128&&(u.disabled=a[7]),l.$set(u),a[10]?i?(i.p(a,f),f&1024&&p(i,1)):(i=jl(a),i.c(),p(i,1),i.m(e,null)):i&&(J(),$(i,1,1,()=>{i=null}),X())},i(a){n||(p(l.$$.fragment,a),p(i),n=!0)},o(a){$(l.$$.fragment,a),$(i),n=!1},d(a){a&&g(e),L(l),i&&i.d(),o=!1,wt(s)}}}function cs(r,e,l){const t=mt();let{isAllowed:n=()=>!0}=e,{selected:o=new Date}=e,{label:s}=e,{labelHidden:i=!1}=e,{todayLabel:a}=e,{closeLabel:f}=e,{clearLabel:u}=e,{disabled:c=!1}=e,m,_,d=!1;const h=()=>{l(10,d=!0)},b=B=>{const N=B.target.value;if(N.length===8){const Y=N==null?void 0:N.split("/"),R=2e3+parseInt(Y[2]),Z=parseInt(Y[0])-1,G=parseInt(Y[1]),de=new Date(R,Z,G);t("datechange",de)}},w=()=>{if(m===11){l(8,m=0),l(9,_=_+1);return}l(8,m=m+1)},C=()=>{if(m===0){l(8,m=11),l(9,_-=1);return}l(8,m-=1)},k=B=>{l(10,d=!1),t("datechange",B.detail)},A=()=>l(0,o=new Date),y=()=>l(10,d=!1),v=()=>l(10,d=!1);return r.$$set=B=>{"isAllowed"in B&&l(1,n=B.isAllowed),"selected"in B&&l(0,o=B.selected),"label"in B&&l(2,s=B.label),"labelHidden"in B&&l(3,i=B.labelHidden),"todayLabel"in B&&l(4,a=B.todayLabel),"closeLabel"in B&&l(5,f=B.closeLabel),"clearLabel"in B&&l(6,u=B.clearLabel),"disabled"in B&&l(7,c=B.disabled)},r.$$.update=()=>{r.$$.dirty&1&&(l(8,m=o.getMonth()),l(9,_=o.getFullYear()))},[o,n,s,i,a,f,u,c,m,_,d,h,b,w,C,k,A,y,v]}class Dt extends fe{constructor(e){super(),ue(this,e,cs,us,ce,{isAllowed:1,selected:0,label:2,labelHidden:3,todayLabel:4,closeLabel:5,clearLabel:6,disabled:7})}}function Ql(r){let e,l;return e=new mo({props:{$$slots:{default:[ds]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&2056&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function ms(r){let e;return{c(){e=j("AM")},l(l){e=Q(l,"AM")},m(l,t){I(l,e,t)},d(l){l&&g(e)}}}function _s(r){let e;return{c(){e=j("PM")},l(l){e=Q(l,"PM")},m(l,t){I(l,e,t)},d(l){l&&g(e)}}}function ds(r){let e,l,t,n;return e=new Bl({props:{active:r[3]==="AM",$$slots:{default:[ms]},$$scope:{ctx:r}}}),e.$on("click",r[9]),t=new Bl({props:{active:r[3]==="PM",$$slots:{default:[_s]},$$scope:{ctx:r}}}),t.$on("click",r[10]),{c(){E(e.$$.fragment),l=W(),E(t.$$.fragment)},l(o){T(e.$$.fragment,o),l=V(o),T(t.$$.fragment,o)},m(o,s){D(e,o,s),I(o,l,s),D(t,o,s),n=!0},p(o,s){const i={};s&8&&(i.active=o[3]==="AM"),s&2048&&(i.$$scope={dirty:s,ctx:o}),e.$set(i);const a={};s&8&&(a.active=o[3]==="PM"),s&2048&&(a.$$scope={dirty:s,ctx:o}),t.$set(a)},i(o){n||(p(e.$$.fragment,o),p(t.$$.fragment,o),n=!0)},o(o){$(e.$$.fragment,o),$(t.$$.fragment,o),n=!1},d(o){L(e,o),o&&g(l),L(t,o)}}}function ps(r){let e,l,t,n,o,s,i,a,f,u,c;function m(k){r[6](k)}let _={id:"hour",label:"hrs",labelHidden:!0,placeholder:"00",suffix:"hrs",maxLength:2,error:r[4]?parseInt(r[0])>12:parseInt(r[0])>23,disabled:r[5]};r[0]!==void 0&&(_.value=r[0]),l=new Ae({props:_}),ie.push(()=>me(l,"value",m));function d(k){r[7](k)}let h={id:"minute",label:"min",labelHidden:!0,required:!0,placeholder:"00",suffix:"min",maxLength:2,error:Boolean(parseInt(r[0])>59),disabled:r[5]};r[1]!==void 0&&(h.value=r[1]),o=new Ae({props:h}),ie.push(()=>me(o,"value",d));function b(k){r[8](k)}let w={id:"second",label:"sec",labelHidden:!0,placeholder:"00",suffix:"sec",maxLength:2,error:Boolean(parseInt(r[0])>59),disabled:r[5]};r[2]!==void 0&&(w.value=r[2]),a=new Ae({props:w}),ie.push(()=>me(a,"value",b));let C=r[4]&&Ql(r);return{c(){e=F("div"),E(l.$$.fragment),n=W(),E(o.$$.fragment),i=W(),E(a.$$.fragment),u=W(),C&&C.c(),this.h()},l(k){e=O(k,"DIV",{class:!0});var A=M(e);T(l.$$.fragment,A),n=V(A),T(o.$$.fragment,A),i=V(A),T(a.$$.fragment,A),u=V(A),C&&C.l(A),A.forEach(g),this.h()},h(){S(e,"class","flex gap-2")},m(k,A){I(k,e,A),D(l,e,null),P(e,n),D(o,e,null),P(e,i),D(a,e,null),P(e,u),C&&C.m(e,null),c=!0},p(k,[A]){const y={};A&17&&(y.error=k[4]?parseInt(k[0])>12:parseInt(k[0])>23),A&32&&(y.disabled=k[5]),!t&&A&1&&(t=!0,y.value=k[0],_e(()=>t=!1)),l.$set(y);const v={};A&1&&(v.error=Boolean(parseInt(k[0])>59)),A&32&&(v.disabled=k[5]),!s&&A&2&&(s=!0,v.value=k[1],_e(()=>s=!1)),o.$set(v);const B={};A&1&&(B.error=Boolean(parseInt(k[0])>59)),A&32&&(B.disabled=k[5]),!f&&A&4&&(f=!0,B.value=k[2],_e(()=>f=!1)),a.$set(B),k[4]?C?(C.p(k,A),A&16&&p(C,1)):(C=Ql(k),C.c(),p(C,1),C.m(e,null)):C&&(J(),$(C,1,1,()=>{C=null}),X())},i(k){c||(p(l.$$.fragment,k),p(o.$$.fragment,k),p(a.$$.fragment,k),p(C),c=!0)},o(k){$(l.$$.fragment,k),$(o.$$.fragment,k),$(a.$$.fragment,k),$(C),c=!1},d(k){k&&g(e),L(l),L(o),L(a),C&&C.d()}}}function gs(r,e,l){let{hour:t=""}=e,{minute:n=""}=e,{second:o=""}=e,{half:s="AM"}=e,{twelveHourClock:i=!0}=e,{disabled:a=!1}=e;function f(d){t=d,l(0,t)}function u(d){n=d,l(1,n)}function c(d){o=d,l(2,o)}const m=()=>l(3,s="AM"),_=()=>l(3,s="PM");return r.$$set=d=>{"hour"in d&&l(0,t=d.hour),"minute"in d&&l(1,n=d.minute),"second"in d&&l(2,o=d.second),"half"in d&&l(3,s=d.half),"twelveHourClock"in d&&l(4,i=d.twelveHourClock),"disabled"in d&&l(5,a=d.disabled)},[t,n,o,s,i,a,f,u,c,m,_]}class Lt extends fe{constructor(e){super(),ue(this,e,gs,ps,ce,{hour:0,minute:1,second:2,half:3,twelveHourClock:4,disabled:5})}}const hs={workflowId:"WorkflowId",workflowType:"WorkflowType",timeRange:"StartTime",executionStatus:"ExecutionStatus",closeTime:"CloseTime",runId:"RunId"},$s=r=>!(r===null||r===void 0||r===""||typeof r=="string"&&r==="undefined"),bs=(r,e,l="=",t,n)=>{const o=hs[r]??r;return e==="All"?"":n?`${o} ${e}`:ko(e)||wo(e)?t||_t(vt)?`${o} ${At?l:">"} "${ll(e)}"`:`${o} BETWEEN "${ll(e)}" AND "${vo()}"`:`${o}${l}"${e}"`},ks=(r,e)=>r.map(({attribute:l,value:t,conditional:n,operator:o,parenthesis:s,customDate:i})=>{if($s(t)){let a=bs(l,t,n,e,i);return s==="("?a=`(${a}`:s===")"&&(a=`${a})`),o&&(a=`${a} ${o} `),a}}).filter(Boolean),Nr=(r=[],e=!1)=>ks(r,e).join(""),ws=r=>e=>e.toLowerCase()===r.toLowerCase(),zl=(r,e)=>r[e+2],vs=(r,e)=>r[e-2],Is=ws("Datetime"),Ze=()=>({attribute:"",value:"",operator:"",parenthesis:"",conditional:""}),Es={ExecutionStatus:"Keyword",StartTime:"Datetime",CloseTime:"Datetime",WorkflowId:"Keyword",WorkflowType:"Keyword",RunId:"Keyword"},nl=(r,e=Es)=>{const l=_o(r),t=[];let n=Ze();if(!r)return[];try{return l.forEach((o,s)=>{if(e[o])if(n.attribute=o,Is(e[o])){const i=zl(l,s),a=Sl(i);if(Pl(l[s+1])){const f=l[s+4],u=Sl(f);a&&u?(n.value=`BETWEEN "${i}" AND "${f}"`,n.customDate=!0):console.error("Error parsing Datetime field from query")}else a?n.value=i:console.error("Error parsing Datetime field from query")}else n.value=zl(l,s);Io(o)&&(n.conditional=o),Eo(o)&&(n.parenthesis=o),To(o)&&!Pl(vs(l,s))&&(n.operator=o,t.push(n),n=Ze()),s===l.length-1&&(t.push(n),n=Ze())}),t}catch(o){return console.error("Error setting filter parameters: ",o),[]}},Ts=r=>{const e=r.filter(i=>i.attribute==="ExecutionStatus"&&i.value),l=r.filter(i=>i.attribute==="WorkflowId"&&i.value),t=r.filter(i=>i.attribute==="WorkflowType"&&i.value),n=r.filter(i=>i.attribute==="RunId"&&i.value),o=r.filter(i=>(i.attribute==="StartTime"||i.attribute==="CloseTime")&&i.value),s=[e,l,n,t,o].filter(i=>i.length);return s.forEach((i,a)=>{var f,u;i.length&&((f=s[a+1])!=null&&f.length)?i[i.length-1].operator="AND":i.length&&!((u=s[a+1])!=null&&u.length)&&(i[i.length-1].operator="")}),[...e,...l,...n,...t,...o]},Pr=r=>(r.forEach((e,l)=>{const t=r[l-1];t&&!t.operator&&(t.operator="AND"),r[l+1]||(e.operator=""),e.operator==="OR"&&(t==null?void 0:t.operator)!=="OR"?e.parenthesis="(":(t==null?void 0:t.operator)==="OR"&&e.operator!=="OR"?e.parenthesis=")":e.parenthesis=""}),r),Ke=br((r,e,l=!1)=>{const t=l?Pr(e):Ts(e),n=Nr(t);qe({url:r,parameter:"query",value:n,allowEmpty:!1})},300);function Kl(r,e,l){const t=r.slice();return t[43]=e[l],t}function Ds(r){let e;return{c(){e=j(r[1])},l(l){e=Q(l,r[1])},m(l,t){I(l,e,t)},p(l,t){t[0]&2&&se(e,l[1])},d(l){l&&g(e)}}}function Ls(r){let e,l,t,n,o,s,i,a,f,u,c,m,_,d,h;t=new $e({props:{$$slots:{default:[Cs]},$$scope:{ctx:r}}}),t.$on("click",r[31]),s=new $e({props:{$$slots:{default:[Bs]},$$scope:{ctx:r}}}),s.$on("click",r[32]);let b=Mt,w=[];for(let k=0;k$(w[k],1,1,()=>{w[k]=null});return c=new $e({props:{selected:r[2]==="StartTime",$$slots:{default:[As]},$$scope:{ctx:r}}}),c.$on("click",r[34]),d=new $e({props:{selected:r[2]==="CloseTime",$$slots:{default:[Ns]},$$scope:{ctx:r}}}),d.$on("click",r[35]),{c(){e=F("div"),l=F("div"),E(t.$$.fragment),n=W(),o=F("div"),E(s.$$.fragment),i=W();for(let k=0;kme(n,"hour",B)),ie.push(()=>me(n,"minute",q)),ie.push(()=>me(n,"second",N)),ie.push(()=>me(n,"half",Y)),u=new Dt({props:{label:H("end"),selected:r[4],todayLabel:H("today"),closeLabel:H("close"),clearLabel:H("clear-input-button-label")}}),u.$on("datechange",r[17]);function R(x){r[26](x)}function Z(x){r[27](x)}function G(x){r[28](x)}function de(x){r[29](x)}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]),m=new Lt({props:ge}),ie.push(()=>me(m,"hour",R)),ie.push(()=>me(m,"minute",Z)),ie.push(()=>me(m,"second",G)),ie.push(()=>me(m,"half",de)),k=new ct({props:{$$slots:{default:[Ps]},$$scope:{ctx:r}}}),k.$on("click",r[18]),y=new ct({props:{variant:"secondary",$$slots:{default:[Fs]},$$scope:{ctx:r}}}),y.$on("click",r[30]),{c(){e=F("div"),E(l.$$.fragment),t=W(),E(n.$$.fragment),f=W(),E(u.$$.fragment),c=W(),E(m.$$.fragment),w=W(),C=F("div"),E(k.$$.fragment),A=W(),E(y.$$.fragment),this.h()},l(x){e=O(x,"DIV",{class:!0});var oe=M(e);T(l.$$.fragment,oe),t=V(oe),T(n.$$.fragment,oe),f=V(oe),T(u.$$.fragment,oe),c=V(oe),T(m.$$.fragment,oe),w=V(oe),C=O(oe,"DIV",{class:!0});var Ee=M(C);T(k.$$.fragment,Ee),A=V(Ee),T(y.$$.fragment,Ee),Ee.forEach(g),oe.forEach(g),this.h()},h(){S(C,"class","flex gap-2"),S(e,"class","flex flex-col gap-2 p-2")},m(x,oe){I(x,e,oe),D(l,e,null),P(e,t),D(n,e,null),P(e,f),D(u,e,null),P(e,c),D(m,e,null),P(e,w),P(e,C),D(k,C,null),P(C,A),D(y,C,null),v=!0},p(x,oe){const Ee={};oe[0]&8&&(Ee.selected=x[3]),l.$set(Ee);const De={};!o&&oe[0]&32&&(o=!0,De.hour=x[5],_e(()=>o=!1)),!s&&oe[0]&64&&(s=!0,De.minute=x[6],_e(()=>s=!1)),!i&&oe[0]&128&&(i=!0,De.second=x[7],_e(()=>i=!1)),!a&&oe[0]&256&&(a=!0,De.half=x[8],_e(()=>a=!1)),n.$set(De);const Ce={};oe[0]&16&&(Ce.selected=x[4]),u.$set(Ce);const Le={};!_&&oe[0]&512&&(_=!0,Le.hour=x[9],_e(()=>_=!1)),!d&&oe[0]&1024&&(d=!0,Le.minute=x[10],_e(()=>d=!1)),!h&&oe[0]&2048&&(h=!0,Le.second=x[11],_e(()=>h=!1)),!b&&oe[0]&4096&&(b=!0,Le.half=x[12],_e(()=>b=!1)),m.$set(Le);const We={};oe[1]&32768&&(We.$$scope={dirty:oe,ctx:x}),k.$set(We);const te={};oe[1]&32768&&(te.$$scope={dirty:oe,ctx:x}),y.$set(te)},i(x){v||(p(l.$$.fragment,x),p(n.$$.fragment,x),p(u.$$.fragment,x),p(m.$$.fragment,x),p(k.$$.fragment,x),p(y.$$.fragment,x),v=!0)},o(x){$(l.$$.fragment,x),$(n.$$.fragment,x),$(u.$$.fragment,x),$(m.$$.fragment,x),$(k.$$.fragment,x),$(y.$$.fragment,x),v=!1},d(x){x&&g(e),L(l),L(n),L(u),L(m),L(k),L(y)}}}function Cs(r){let e=H("all-time")+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Bs(r){let e=H("custom")+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Ss(r){let e=r[43]+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Yl(r){let e,l,t;function n(){return r[33](r[43])}return l=new $e({props:{$$slots:{default:[Ss]},$$scope:{ctx:r}}}),l.$on("click",n),{c(){e=F("div"),E(l.$$.fragment),this.h()},l(o){e=O(o,"DIV",{class:!0});var s=M(e);T(l.$$.fragment,s),s.forEach(g),this.h()},h(){S(e,"class","flex w-1/2 flex-col justify-center")},m(o,s){I(o,e,s),D(l,e,null),t=!0},p(o,s){r=o;const i={};s[1]&32768&&(i.$$scope={dirty:s,ctx:r}),l.$set(i)},i(o){t||(p(l.$$.fragment,o),t=!0)},o(o){$(l.$$.fragment,o),t=!1},d(o){o&&g(e),L(l)}}}function As(r){let e=H("start-time")+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Ns(r){let e=H("end-time")+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Ps(r){let e=H("apply")+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Fs(r){let e=H("cancel")+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Os(r){let e,l,t=H("based-on-time-preface")+"",n,o,s,i;return e=new ye({props:{name:"clock","aria-hidden":"true"}}),{c(){E(e.$$.fragment),l=W(),n=j(t),o=W(),s=j(r[13])},l(a){T(e.$$.fragment,a),l=V(a),n=Q(a,t),o=V(a),s=Q(a,r[13])},m(a,f){D(e,a,f),I(a,l,f),I(a,n,f),I(a,o,f),I(a,s,f),i=!0},p:K,i(a){i||(p(e.$$.fragment,a),i=!0)},o(a){$(e.$$.fragment,a),i=!1},d(a){L(e,a),a&&g(l),a&&g(n),a&&g(o),a&&g(s)}}}function Ws(r){let e,l,t,n,o,s,i;const a=[ys,Ls],f=[];function u(c,m){return c[0]?0:1}return e=u(r),l=f[e]=a[e](r),n=new St({}),s=new $e({props:{centered:!0,disabled:!0,$$slots:{default:[Os]},$$scope:{ctx:r}}}),{c(){l.c(),t=W(),E(n.$$.fragment),o=W(),E(s.$$.fragment)},l(c){l.l(c),t=V(c),T(n.$$.fragment,c),o=V(c),T(s.$$.fragment,c)},m(c,m){f[e].m(c,m),I(c,t,m),D(n,c,m),I(c,o,m),D(s,c,m),i=!0},p(c,m){let _=e;e=u(c),e===_?f[e].p(c,m):(J(),$(f[_],1,1,()=>{f[_]=null}),X(),l=f[e],l?l.p(c,m):(l=f[e]=a[e](c),l.c()),p(l,1),l.m(t.parentNode,t));const d={};m[1]&32768&&(d.$$scope={dirty:m,ctx:c}),s.$set(d)},i(c){i||(p(l),p(n.$$.fragment,c),p(s.$$.fragment,c),i=!0)},o(c){$(l),$(n.$$.fragment,c),$(s.$$.fragment,c),i=!1},d(c){f[e].d(c),c&&g(t),L(n,c),c&&g(o),L(s,c)}}}function Vs(r){let e,l,t,n;return e=new lt({props:{id:"time-range-filter",hasIndicator:!0,controls:"time-range-filter-menu",$$slots:{default:[Ds]},$$scope:{ctx:r}}}),t=new nt({props:{class:"w-[25rem] !overflow-visible",position:"right",keepOpen:!0,id:"time-range-filter-menu",$$slots:{default:[Ws]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment),l=W(),E(t.$$.fragment)},l(o){T(e.$$.fragment,o),l=V(o),T(t.$$.fragment,o)},m(o,s){D(e,o,s),I(o,l,s),D(t,o,s),n=!0},p(o,s){const i={};s[0]&2|s[1]&32768&&(i.$$scope={dirty:s,ctx:o}),e.$set(i);const a={};s[0]&8189|s[1]&32768&&(a.$$scope={dirty:s,ctx:o}),t.$set(a)},i(o){n||(p(e.$$.fragment,o),p(t.$$.fragment,o),n=!0)},o(o){$(e.$$.fragment,o),$(t.$$.fragment,o),n=!1},d(o){L(e,o),o&&g(l),L(t,o)}}}function Ms(r){let e,l;return e=new tt({props:{$$slots:{default:[Vs]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n[0]&8191|n[1]&32768&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Rs(r){let e,l,t;return l=new al({props:{$$slots:{fallback:[Ms]},$$scope:{ctx:r}}}),{c(){e=F("div"),E(l.$$.fragment),this.h()},l(n){e=O(n,"DIV",{class:!0});var o=M(e);T(l.$$.fragment,o),o.forEach(g),this.h()},h(){S(e,"class","flex items-start")},m(n,o){I(n,e,o),D(l,e,null),t=!0},p(n,o){const s={};o[0]&8191|o[1]&32768&&(s.$$scope={dirty:o,ctx:n}),l.$set(s)},i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){$(l.$$.fragment,n),t=!1},d(n){n&&g(e),L(l)}}}function Hs(r,e,l){let t,n,o,s,i,a;z(r,he,re=>l(20,o=re)),z(r,Ie,re=>l(37,s=re)),z(r,tl,re=>l(38,i=re)),z(r,vt,re=>l(21,a=re));const f=hr()||H("local");let u=!1,c="All Time",m="StartTime",_=Je(new Date),d=Je(new Date),h="",b="",w="",C="AM",k="",A="",y="",v="AM";const B=()=>{t?(l(1,c=u||!Mt.includes(t==null?void 0:t.value)?"Custom":t.value),l(2,m=t.attribute)):(l(1,c="All Time"),l(2,m="StartTime")),(!t||Mt.includes(t==null?void 0:t.value)||(t==null?void 0:t.customDate))&&le(tl,i=t,i)},q=()=>o.filter(re=>re.attribute!=="StartTime"&&re.attribute!=="CloseTime"),N=re=>{if(l(1,c=re),c==="All Time")le(he,o=[...q()],o),l(0,u=!1);else if(c==="Custom")l(0,u=!0);else{const Be={attribute:m,value:c,conditional:">",operator:"",parenthesis:""};le(he,o=[...q(),Be],o),l(0,u=!1)}Ke(s.url,o)},Y=re=>{re!==m&&(l(2,m=re),N(c))},U=re=>{l(3,_=Je(re.detail))},R=re=>{l(4,d=Je(re.detail))},Z=(re,Be)=>{let ze=new Date(re);return Be.hour&&(ze=Br(ze,parseInt(Be.hour))),Be.minute&&(ze=Sr(ze,parseInt(Be.minute))),Be.second&&(ze=Ar(ze,parseInt(Be.second))),ze},G=(re,Be)=>{if(re)return re==="12"?Be==="AM"?"00":"12":Be==="PM"?(parseInt(re)+12).toString():re;re=""},de=()=>{let re=Z(_,{hour:G(h,C),minute:b,second:w}),Be=Z(d,{hour:G(k,v),minute:A,second:y});const ze=n?`BETWEEN "${gt(re)}" AND "${gt(Be)}"`:`> "${gt(re)}"`,Qr={attribute:m,value:ze,conditional:"=",operator:"",parenthesis:"",customDate:!0};le(he,o=[...q(),Qr],o),Ke(s.url,o)};function ge(re){h=re,l(5,h)}function x(re){b=re,l(6,b)}function oe(re){w=re,l(7,w)}function Ee(re){C=re,l(8,C)}function De(re){k=re,l(9,k)}function Ce(re){A=re,l(10,A)}function Le(re){y=re,l(11,y)}function We(re){v=re,l(12,v)}const te=()=>l(0,u=!1),Ve=()=>N("All Time"),Qe=()=>N("Custom"),ne=re=>N(re),Re=()=>Y("StartTime"),Me=()=>Y("CloseTime");return r.$$.update=()=>{r.$$.dirty[0]&1048576&&l(19,t=o.find(re=>re.attribute==="StartTime"||re.attribute==="CloseTime")),r.$$.dirty[0]&2097153&&(n=u||!a),r.$$.dirty[0]&524288&&B()},[u,c,m,_,d,h,b,w,C,k,A,y,v,f,N,Y,U,R,de,t,o,a,ge,x,oe,Ee,De,Ce,Le,We,te,Ve,Qe,ne,Re,Me]}class Us extends fe{constructor(e){super(),ue(this,e,Hs,Rs,ce,{},null,[-1,-1])}}function qs(r){let e=H("search")+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function js(r){let e,l,t,n,o,s,i,a,f,u,c,m;function _(h){r[5](h)}let d={id:"manual-search",type:"search",label:H("workflows","search-placeholder"),labelHidden:!0,placeholder:H("workflows","search-placeholder"),icon:"search",class:"w-full lg:w-3/4",clearable:!0,clearButtonLabel:H("clear-input-button-label"),unroundRight:!0};return r[0]!==void 0&&(d.value=r[0]),n=new Ae({props:d}),ie.push(()=>me(n,"value",_)),n.$on("clear",r[2]),i=new ct({props:{"data-testid":"manual-search-button",variant:"primary",borderRadiusModifier:"square-left",type:"submit",$$slots:{default:[qs]},$$scope:{ctx:r}}}),{c(){e=F("div"),l=F("div"),t=F("form"),E(n.$$.fragment),s=W(),E(i.$$.fragment),this.h()},l(h){e=O(h,"DIV",{class:!0});var b=M(e);l=O(b,"DIV",{class:!0});var w=M(l);t=O(w,"FORM",{class:!0,role:!0});var C=M(t);T(n.$$.fragment,C),s=V(C),T(i.$$.fragment,C),C.forEach(g),w.forEach(g),b.forEach(g),this.h()},h(){S(t,"class","relative flex w-full items-center gap-0"),S(t,"role","search"),S(l,"class","flex w-full items-center gap-0"),S(e,"class","flex grow gap-4")},m(h,b){I(h,e,b),P(e,l),P(l,t),D(n,t,null),P(t,s),D(i,t,null),u=!0,c||(m=pe(t,"submit",Tt(r[1])),c=!0)},p(h,[b]){const w={};!o&&b&1&&(o=!0,w.value=h[0],_e(()=>o=!1)),n.$set(w);const C={};b&1024&&(C.$$scope={dirty:b,ctx:h}),i.$set(C)},i(h){u||(p(n.$$.fragment,h),p(i.$$.fragment,h),a||it(()=>{a=ft(t,Bt,{x:-100,duration:150}),a.start()}),f||it(()=>{f=ft(l,gr,{}),f.start()}),u=!0)},o(h){$(n.$$.fragment,h),$(i.$$.fragment,h),u=!1},d(h){h&&g(e),L(n),L(i),c=!1,m()}}}function Qs(r,e,l){let t,n,o,s,i;z(r,Ie,_=>l(4,n=_)),z(r,xe,_=>l(6,o=_)),z(r,he,_=>l(7,s=_)),z(r,ht,_=>l(8,i=_));let a="";function f(_){l(0,a=_)}const u=()=>{if(!a)le(he,s=[],s),le(ht,i="",i);else try{le(he,s=nl(a),s)}catch(_){console.error(_)}a&&a===t?le(xe,o=Date.now(),o):qe({url:n.url,parameter:"query",value:a,allowEmpty:!0})};function c(){u()}function m(_){a=_,l(0,a)}return r.$$.update=()=>{r.$$.dirty&16&&l(3,t=n.url.searchParams.get("query")),r.$$.dirty&8&&f(t)},[a,u,c,t,n,m]}class Fr extends fe{constructor(e){super(),ue(this,e,Qs,js,ce,{})}}function at(r){return r==="ExecutionStatus"}function kt(r,e=It){const l=_t(e)[r];return at(r)?!1:["Keyword","Text","String"].includes(l)}function rl(r,e=It){return _t(e)[r]==="KeywordList"}function pl(r,e=It){const l=_t(e)[r];return["Int","Double"].includes(l)}function Yt(r,e=It){return _t(e)[r]==="Datetime"}function gl(r,e=It){return _t(e)[r]==="Bool"}function Gl(r,e,l){const t=r.slice();return t[8]=e[l].value,t[9]=e[l].label,t}function zs(r){let e;return{c(){e=j(r[1])},l(l){e=Q(l,r[1])},m(l,t){I(l,e,t)},p(l,t){t&2&&se(e,l[1])},d(l){l&&g(e)}}}function Ks(r){let e=r[9]+"",l,t;return{c(){l=j(e),t=W()},l(n){l=Q(n,e),t=V(n)},m(n,o){I(n,l,o),I(n,t,o)},p:K,d(n){n&&g(l),n&&g(t)}}}function Jl(r){let e,l;function t(){return r[7](r[8])}return e=new $e({props:{$$slots:{default:[Ks]},$$scope:{ctx:r}}}),e.$on("click",t),{c(){E(e.$$.fragment)},l(n){T(e.$$.fragment,n)},m(n,o){D(e,n,o),l=!0},p(n,o){r=n;const s={};o&4096&&(s.$$scope={dirty:o,ctx:r}),e.$set(s)},i(n){l||(p(e.$$.fragment,n),l=!0)},o(n){$(e.$$.fragment,n),l=!1},d(n){L(e,n)}}}function Ys(r){let e,l,t=r[4],n=[];for(let s=0;s$(n[s],1,1,()=>{n[s]=null});return{c(){for(let s=0;sl(0,o=c));const f=[{value:"true",label:H("true")},{value:"false",label:H("false")}],u=c=>{le(i,o.value=c,o),a()};return r.$$.update=()=>{r.$$.dirty&33&&l(6,t=l(5,s=f.find(c=>c.value===o.value))!==null&&s!==void 0?s:f[0]),r.$$.dirty&64&&l(1,n=t==null?void 0:t.label)},[o,n,i,a,f,s,t,u]}class Zs extends fe{constructor(e){super(),ue(this,e,Xs,Js,ce,{})}}function xs(r){let e,l;return e=new Pe({props:{label:H("close"),icon:"close",class:"ml-1"}}),e.$on("click",r[0]),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function ea(r){const{resetFilter:e}=Ye(je);return[e]}class Nt extends fe{constructor(e){super(),ue(this,e,ea,xs,ce,{})}}function Xl(r,e,l){const t=r.slice();return t[13]=e[l].value,t[14]=e[l].label,t}function ta(r){let e;return{c(){e=j(r[4])},l(l){e=Q(l,r[4])},m(l,t){I(l,e,t)},p(l,t){t&16&&se(e,l[4])},d(l){l&&g(e)}}}function la(r){let e=(r[14]??r[13])+"",l,t;return{c(){l=j(e),t=W()},l(n){l=Q(n,e),t=V(n)},m(n,o){I(n,l,o),I(n,t,o)},p(n,o){o&1&&e!==(e=(n[14]??n[13])+"")&&se(l,e)},d(n){n&&g(l),n&&g(t)}}}function Zl(r){let e,l;function t(){return r[11](r[13])}return e=new $e({props:{$$slots:{default:[la]},$$scope:{ctx:r}}}),e.$on("click",t),{c(){E(e.$$.fragment)},l(n){T(e.$$.fragment,n)},m(n,o){D(e,n,o),l=!0},p(n,o){r=n;const s={};o&131073&&(s.$$scope={dirty:o,ctx:r}),e.$set(s)},i(n){l||(p(e.$$.fragment,n),l=!0)},o(n){$(e.$$.fragment,n),l=!1},d(n){L(e,n)}}}function na(r){let e,l,t=r[0],n=[];for(let s=0;s$(n[s],1,1,()=>{n[s]=null});return{c(){for(let s=0;sl(3,o=b)),z(r,u,b=>l(5,s=b));const c=[{value:">"},{value:">="},{value:"="},{value:"<="},{value:"<"}];let{options:m=c}=e,{disabled:_=!1}=e,{inputId:d}=e;const h=b=>{le(f,o.conditional=b,o),le(u,s=d,s)};return r.$$set=b=>{"options"in b&&l(0,m=b.options),"disabled"in b&&l(1,_=b.disabled),"inputId"in b&&l(2,d=b.inputId)},r.$$.update=()=>{r.$$.dirty&1&&le(f,o.conditional=m[0].value,o),r.$$.dirty&265&&l(10,t=l(8,i=m.find(b=>b.value===o.conditional))!==null&&i!==void 0?i:m[0]),r.$$.dirty&1536&&l(4,n=l(9,a=t==null?void 0:t.label)!==null&&a!==void 0?a:t==null?void 0:t.value)},[m,_,d,o,n,s,f,u,i,a,t,h]}class Or extends fe{constructor(e){super(),ue(this,e,sa,oa,ce,{options:0,disabled:1,inputId:2})}}function xl(r,e,l){const t=r.slice();return t[40]=e[l],t}function aa(r){let e=H("workflows","select-time")+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function ia(r){let e,l,t,n,o,s;return e=new $e({props:{$$slots:{default:[ma]},$$scope:{ctx:r}}}),e.$on("click",r[32]),t=new St({}),o=new $e({props:{$$slots:{default:[_a]},$$scope:{ctx:r}}}),o.$on("click",r[37]),{c(){E(e.$$.fragment),l=W(),E(t.$$.fragment),n=W(),E(o.$$.fragment)},l(i){T(e.$$.fragment,i),l=V(i),T(t.$$.fragment,i),n=V(i),T(o.$$.fragment,i)},m(i,a){D(e,i,a),I(i,l,a),D(t,i,a),I(i,n,a),D(o,i,a),s=!0},p(i,a){const f={};a[0]&2051|a[1]&4096&&(f.$$scope={dirty:a,ctx:i}),e.$set(f);const u={};a[0]&234|a[1]&4096&&(u.$$scope={dirty:a,ctx:i}),o.$set(u)},i(i){s||(p(e.$$.fragment,i),p(t.$$.fragment,i),p(o.$$.fragment,i),s=!0)},o(i){$(e.$$.fragment,i),$(t.$$.fragment,i),$(o.$$.fragment,i),s=!1},d(i){L(e,i),i&&g(l),L(t,i),i&&g(n),L(o,i)}}}function fa(r){let e,l,t,n,o,s;return e=new $e({props:{$$slots:{default:[da]},$$scope:{ctx:r}}}),t=new St({}),o=new $e({props:{$$slots:{default:[pa]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment),l=W(),E(t.$$.fragment),n=W(),E(o.$$.fragment)},l(i){T(e.$$.fragment,i),l=V(i),T(t.$$.fragment,i),n=V(i),T(o.$$.fragment,i)},m(i,a){D(e,i,a),I(i,l,a),D(t,i,a),I(i,n,a),D(o,i,a),s=!0},p(i,a){const f={};a[0]&232|a[1]&4096&&(f.$$scope={dirty:a,ctx:i}),e.$set(f);const u={};a[0]&1808|a[1]&4096&&(u.$$scope={dirty:a,ctx:i}),o.$set(u)},i(i){s||(p(e.$$.fragment,i),p(t.$$.fragment,i),p(o.$$.fragment,i),s=!0)},o(i){$(e.$$.fragment,i),$(t.$$.fragment,i),$(o.$$.fragment,i),s=!1},d(i){L(e,i),i&&g(l),L(t,i),i&&g(n),L(o,i)}}}function ua(r){let e=r[40]+"",l,t,n=H("ago")+"",o;return{c(){l=j(e),t=W(),o=j(n)},l(s){l=Q(s,e),t=V(s),o=Q(s,n)},m(s,i){I(s,l,i),I(s,t,i),I(s,o,i)},p:K,d(s){s&&g(l),s&&g(t),s&&g(o)}}}function en(r){let e,l;return e=new Fo({props:{value:r[40],$$slots:{default:[ua]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n[1]&4096&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function ca(r){let e,l,t=r[15],n=[];for(let s=0;s$(n[s],1,1,()=>{n[s]=null});return{c(){for(let s=0;sme(u,"value",C));function A(v){r[31](v)}let y={unroundLeft:!0,id:"relative-datetime-unit-input",label:H("time-unit"),labelHidden:!0,disabled:r[1]!=="relative",$$slots:{default:[ca]},$$scope:{ctx:r}};return r[11]!==void 0&&(y.value=r[11]),_=new Po({props:y}),ie.push(()=>me(_,"value",A)),{c(){e=F("div"),l=F("label"),t=F("input"),o=W(),i=j(s),a=W(),f=F("div"),E(u.$$.fragment),m=W(),E(_.$$.fragment),this.h()},l(v){e=O(v,"DIV",{class:!0});var B=M(e);l=O(B,"LABEL",{class:!0,for:!0});var q=M(l);t=O(q,"INPUT",{class:!0,type:!0,id:!0,tabindex:!0}),o=V(q),i=Q(q,s),q.forEach(g),a=V(B),f=O(B,"DIV",{class:!0});var N=M(f);T(u.$$.fragment,N),m=V(N),T(_.$$.fragment,N),N.forEach(g),B.forEach(g),this.h()},h(){S(t,"class","w-4 h-4 accent-gray-900"),S(t,"type","radio"),t.checked=n=r[1]==="relative",S(t,"id","relative-time"),S(t,"tabindex","-1"),S(l,"class","flex flex-row items-center gap-2 cursor-pointer"),S(l,"for","relative-time"),S(f,"class","ml-6 pt-2 flex gap-0"),S(e,"class","flex flex-col")},m(v,B){I(v,e,B),P(e,l),P(l,t),P(l,o),P(l,i),P(e,a),P(e,f),D(u,f,null),P(f,m),D(_,f,null),h=!0,b||(w=pe(t,"click",Xe(r[29])),b=!0)},p(v,B){(!h||B[0]&2&&n!==(n=v[1]==="relative"))&&(t.checked=n);const q={};B[0]&1&&(q.error=v[19](v[0])),B[0]&2&&(q.disabled=v[1]!=="relative"),!c&&B[0]&1&&(c=!0,q.value=v[0],_e(()=>c=!1)),u.$set(q);const N={};B[0]&2&&(N.disabled=v[1]!=="relative"),B[1]&4096&&(N.$$scope={dirty:B,ctx:v}),!d&&B[0]&2048&&(d=!0,N.value=v[11],_e(()=>d=!1)),_.$set(N)},i(v){h||(p(u.$$.fragment,v),p(_.$$.fragment,v),h=!0)},o(v){$(u.$$.fragment,v),$(_.$$.fragment,v),h=!1},d(v){v&&g(e),L(u),L(_),b=!1,w()}}}function _a(r){let e,l,t,n,o,s=H("absolute")+"",i,a,f,u,c,m,_,d,h,b,w,C;u=new Dt({props:{label:"",labelHidden:!0,selected:r[3],todayLabel:H("today"),closeLabel:H("close"),clearLabel:H("clear-input-button-label"),disabled:r[1]!=="absolute"}}),u.$on("datechange",r[16]);function k(B){r[34](B)}function A(B){r[35](B)}function y(B){r[36](B)}let v={twelveHourClock:!1,disabled:r[1]!=="absolute"};return r[5]!==void 0&&(v.hour=r[5]),r[6]!==void 0&&(v.minute=r[6]),r[7]!==void 0&&(v.second=r[7]),m=new Lt({props:v}),ie.push(()=>me(m,"hour",k)),ie.push(()=>me(m,"minute",A)),ie.push(()=>me(m,"second",y)),{c(){e=F("div"),l=F("label"),t=F("input"),o=W(),i=j(s),a=W(),f=F("div"),E(u.$$.fragment),c=W(),E(m.$$.fragment),this.h()},l(B){e=O(B,"DIV",{class:!0});var q=M(e);l=O(q,"LABEL",{class:!0,for:!0});var N=M(l);t=O(N,"INPUT",{class:!0,type:!0,id:!0,tabindex:!0}),o=V(N),i=Q(N,s),N.forEach(g),a=V(q),f=O(q,"DIV",{class:!0});var Y=M(f);T(u.$$.fragment,Y),c=V(Y),T(m.$$.fragment,Y),Y.forEach(g),q.forEach(g),this.h()},h(){S(t,"class","w-4 h-4 accent-gray-900"),S(t,"type","radio"),t.checked=n=r[1]==="absolute",S(t,"id","absolute-time"),S(t,"tabindex","-1"),S(l,"class","flex flex-row items-center gap-2 cursor-pointer"),S(l,"for","absolute-time"),S(f,"class","flex flex-col ml-6 gap-2"),S(e,"class","flex flex-col gap-2")},m(B,q){I(B,e,q),P(e,l),P(l,t),P(l,o),P(l,i),P(e,a),P(e,f),D(u,f,null),P(f,c),D(m,f,null),b=!0,w||(C=pe(t,"click",Xe(r[33])),w=!0)},p(B,q){(!b||q[0]&2&&n!==(n=B[1]==="absolute"))&&(t.checked=n);const N={};q[0]&8&&(N.selected=B[3]),q[0]&2&&(N.disabled=B[1]!=="absolute"),u.$set(N);const Y={};q[0]&2&&(Y.disabled=B[1]!=="absolute"),!_&&q[0]&32&&(_=!0,Y.hour=B[5],_e(()=>_=!1)),!d&&q[0]&64&&(d=!0,Y.minute=B[6],_e(()=>d=!1)),!h&&q[0]&128&&(h=!0,Y.second=B[7],_e(()=>h=!1)),m.$set(Y)},i(B){b||(p(u.$$.fragment,B),p(m.$$.fragment,B),b=!0)},o(B){$(u.$$.fragment,B),$(m.$$.fragment,B),b=!1},d(B){B&&g(e),L(u),L(m),w=!1,C()}}}function da(r){let e,l,t,n,o,s,i,a;l=new Dt({props:{label:H("start"),selected:r[3],todayLabel:H("today"),closeLabel:H("close"),clearLabel:H("clear-input-button-label")}}),l.$on("datechange",r[16]);function f(_){r[23](_)}function u(_){r[24](_)}function c(_){r[25](_)}let m={twelveHourClock:!1};return r[5]!==void 0&&(m.hour=r[5]),r[6]!==void 0&&(m.minute=r[6]),r[7]!==void 0&&(m.second=r[7]),n=new Lt({props:m}),ie.push(()=>me(n,"hour",f)),ie.push(()=>me(n,"minute",u)),ie.push(()=>me(n,"second",c)),{c(){e=F("div"),E(l.$$.fragment),t=W(),E(n.$$.fragment),this.h()},l(_){e=O(_,"DIV",{class:!0});var d=M(e);T(l.$$.fragment,d),t=V(d),T(n.$$.fragment,d),d.forEach(g),this.h()},h(){S(e,"class","flex flex-col gap-2")},m(_,d){I(_,e,d),D(l,e,null),P(e,t),D(n,e,null),a=!0},p(_,d){const h={};d[0]&8&&(h.selected=_[3]),l.$set(h);const b={};!o&&d[0]&32&&(o=!0,b.hour=_[5],_e(()=>o=!1)),!s&&d[0]&64&&(s=!0,b.minute=_[6],_e(()=>s=!1)),!i&&d[0]&128&&(i=!0,b.second=_[7],_e(()=>i=!1)),n.$set(b)},i(_){a||(p(l.$$.fragment,_),p(n.$$.fragment,_),a=!0)},o(_){$(l.$$.fragment,_),$(n.$$.fragment,_),a=!1},d(_){_&&g(e),L(l),L(n)}}}function pa(r){let e,l,t,n,o,s,i,a;l=new Dt({props:{label:H("end"),selected:r[4],todayLabel:H("today"),closeLabel:H("close"),clearLabel:H("clear-input-button-label")}}),l.$on("datechange",r[17]);function f(_){r[26](_)}function u(_){r[27](_)}function c(_){r[28](_)}let m={twelveHourClock:!1};return r[8]!==void 0&&(m.hour=r[8]),r[9]!==void 0&&(m.minute=r[9]),r[10]!==void 0&&(m.second=r[10]),n=new Lt({props:m}),ie.push(()=>me(n,"hour",f)),ie.push(()=>me(n,"minute",u)),ie.push(()=>me(n,"second",c)),{c(){e=F("div"),E(l.$$.fragment),t=W(),E(n.$$.fragment),this.h()},l(_){e=O(_,"DIV",{class:!0});var d=M(e);T(l.$$.fragment,d),t=V(d),T(n.$$.fragment,d),d.forEach(g),this.h()},h(){S(e,"class","flex flex-col gap-2")},m(_,d){I(_,e,d),D(l,e,null),P(e,t),D(n,e,null),a=!0},p(_,d){const h={};d[0]&16&&(h.selected=_[4]),l.$set(h);const b={};!o&&d[0]&256&&(o=!0,b.hour=_[8],_e(()=>o=!1)),!s&&d[0]&512&&(s=!0,b.minute=_[9],_e(()=>s=!1)),!i&&d[0]&1024&&(i=!0,b.second=_[10],_e(()=>i=!1)),n.$set(b)},i(_){a||(p(l.$$.fragment,_),p(n.$$.fragment,_),a=!0)},o(_){$(l.$$.fragment,_),$(n.$$.fragment,_),a=!1},d(_){_&&g(e),L(l),L(n)}}}function ga(r){let e=H("apply")+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function ha(r){let e,l,t=H("based-on-time-preface")+"",n,o,s,i;return e=new ye({props:{name:"clock","aria-hidden":"true"}}),{c(){E(e.$$.fragment),l=W(),n=j(t),o=W(),s=j(r[14])},l(a){T(e.$$.fragment,a),l=V(a),n=Q(a,t),o=V(a),s=Q(a,r[14])},m(a,f){D(e,a,f),I(a,l,f),I(a,n,f),I(a,o,f),I(a,s,f),i=!0},p:K,i(a){i||(p(e.$$.fragment,a),i=!0)},o(a){$(e.$$.fragment,a),i=!1},d(a){L(e,a),a&&g(l),a&&g(n),a&&g(o),a&&g(s)}}}function $a(r){let e,l,t,n,o,s,i,a,f,u;const c=[fa,ia],m=[];function _(d,h){return d[2]?0:1}return e=_(r),l=m[e]=c[e](r),n=new St({}),i=new ct({props:{size:"xs",style:"width: 100%",disabled:r[12],$$slots:{default:[ga]},$$scope:{ctx:r}}}),i.$on("click",r[18]),f=new $e({props:{centered:!0,disabled:!0,class:"!pt-0",$$slots:{default:[ha]},$$scope:{ctx:r}}}),{c(){l.c(),t=W(),E(n.$$.fragment),o=W(),s=F("div"),E(i.$$.fragment),a=W(),E(f.$$.fragment),this.h()},l(d){l.l(d),t=V(d),T(n.$$.fragment,d),o=V(d),s=O(d,"DIV",{class:!0});var h=M(s);T(i.$$.fragment,h),h.forEach(g),a=V(d),T(f.$$.fragment,d),this.h()},h(){S(s,"class","p-2 flex items-center")},m(d,h){m[e].m(d,h),I(d,t,h),D(n,d,h),I(d,o,h),I(d,s,h),D(i,s,null),I(d,a,h),D(f,d,h),u=!0},p(d,h){let b=e;e=_(d),e===b?m[e].p(d,h):(J(),$(m[b],1,1,()=>{m[b]=null}),X(),l=m[e],l?l.p(d,h):(l=m[e]=c[e](d),l.c()),p(l,1),l.m(t.parentNode,t));const w={};h[0]&4096&&(w.disabled=d[12]),h[1]&4096&&(w.$$scope={dirty:h,ctx:d}),i.$set(w);const C={};h[1]&4096&&(C.$$scope={dirty:h,ctx:d}),f.$set(C)},i(d){u||(p(l),p(n.$$.fragment,d),p(i.$$.fragment,d),p(f.$$.fragment,d),u=!0)},o(d){$(l),$(n.$$.fragment,d),$(i.$$.fragment,d),$(f.$$.fragment,d),u=!1},d(d){m[e].d(d),d&&g(t),L(n,d),d&&g(o),d&&g(s),L(i),d&&g(a),L(f,d)}}}function ba(r){let e,l,t,n;return e=new lt({props:{unroundLeft:!0,id:"time-range-filter",controls:"time-range-filter-menu",$$slots:{default:[aa]},$$scope:{ctx:r}}}),t=new nt({props:{keepOpen:!0,id:"time-range-filter-menu",class:"w-[25rem] !overflow-visible",$$slots:{default:[$a]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment),l=W(),E(t.$$.fragment)},l(o){T(e.$$.fragment,o),l=V(o),T(t.$$.fragment,o)},m(o,s){D(e,o,s),I(o,l,s),D(t,o,s),n=!0},p(o,s){const i={};s[1]&4096&&(i.$$scope={dirty:s,ctx:o}),e.$set(i);const a={};s[0]&8191|s[1]&4096&&(a.$$scope={dirty:s,ctx:o}),t.$set(a)},i(o){n||(p(e.$$.fragment,o),p(t.$$.fragment,o),n=!0)},o(o){$(e.$$.fragment,o),$(t.$$.fragment,o),n=!1},d(o){L(e,o),o&&g(l),L(t,o)}}}function ka(r){let e,l,t,n,o;return l=new Or({props:{inputId:"time-range-filter",options:[{value:"<=",label:H("before")},{value:"BETWEEN",label:H("between")},{value:">=",label:H("after")}]}}),n=new tt({props:{$$slots:{default:[ba]},$$scope:{ctx:r}}}),{c(){e=F("div"),E(l.$$.fragment),t=W(),E(n.$$.fragment),this.h()},l(s){e=O(s,"DIV",{class:!0});var i=M(e);T(l.$$.fragment,i),t=V(i),T(n.$$.fragment,i),i.forEach(g),this.h()},h(){S(e,"class","flex items-center")},m(s,i){I(s,e,i),D(l,e,null),P(e,t),D(n,e,null),o=!0},p(s,i){const a={};i[0]&8191|i[1]&4096&&(a.$$scope={dirty:i,ctx:s}),n.$set(a)},i(s){o||(p(l.$$.fragment,s),p(n.$$.fragment,s),o=!0)},o(s){$(l.$$.fragment,s),$(n.$$.fragment,s),o=!1},d(s){s&&g(e),L(l),L(n)}}}function wa(r,e,l){let t,n,o,s,i;z(r,vt,ne=>l(22,i=ne));const{filter:a,handleSubmit:f}=Ye(je);z(r,a,ne=>l(21,s=ne));const u=hr()||H("local");let c=Je(new Date),m=Je(new Date),_="",d="",h="",b="",w="",C="";const k=["minutes","hours","days"];let A=k[0],y="",v="relative";const B=ne=>{l(3,c=Je(ne.detail))},q=ne=>{l(4,m=Je(ne.detail))},N=(ne,Re)=>{let Me=new Date(ne);return Re.hour&&(Me=Br(Me,parseInt(Re.hour))),Re.minute&&(Me=Sr(Me,parseInt(Re.minute))),Re.second&&(Me=Ar(Me,parseInt(Re.second))),Me},Y=()=>{if(v==="relative"&&!n){if(!y)return;le(a,s.value=ll(`${y} ${A}`),s),le(a,s.customDate=!1,s)}else{let ne=N(c,{hour:_,minute:d,second:h}),Re=N(m,{hour:b,minute:w,second:C});const Me=n?`BETWEEN "${gt(ne)}" AND "${gt(Re)}"`:gt(ne);le(a,s.value=Me,s),t?(le(a,s.customDate=!0,s),le(a,s.conditional="",s)):le(a,s.customDate=!1,s)}f()},U=ne=>ne?isNaN(Number(ne))||isNaN(parseFloat(ne)):!1;function R(ne){_=ne,l(5,_)}function Z(ne){d=ne,l(6,d)}function G(ne){h=ne,l(7,h)}function de(ne){b=ne,l(8,b)}function ge(ne){w=ne,l(9,w)}function x(ne){C=ne,l(10,C)}const oe=()=>{l(1,v="relative")};function Ee(ne){y=ne,l(0,y)}function De(ne){A=ne,l(11,A)}const Ce=()=>l(1,v="relative"),Le=()=>l(1,v="absolute");function We(ne){_=ne,l(5,_)}function te(ne){d=ne,l(6,d)}function Ve(ne){h=ne,l(7,h)}const Qe=()=>l(1,v="absolute");return r.$$.update=()=>{r.$$.dirty[0]&2097152&&l(2,t=s.conditional==="BETWEEN"),r.$$.dirty[0]&4194308&&l(20,n=t||!i),r.$$.dirty[0]&1048579&&l(12,o=v==="relative"&&!n&&(!y||U(y)))},[y,v,t,c,m,_,d,h,b,w,C,A,o,a,u,k,B,q,Y,U,n,s,i,R,Z,G,de,ge,x,oe,Ee,De,Ce,Le,We,te,Ve,Qe]}class va extends fe{constructor(e){super(),ue(this,e,wa,ka,ce,{},null,[-1,-1])}}function Ia(r){let e;const l=r[5].default,t=be(l,r,r[4],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,o){t&&t.m(n,o),e=!0},p(n,o){t&&t.p&&(!e||o&16)&&ke(t,l,n,n[4],e?ve(l,n[4],o,null):we(n[4]),null)},i(n){e||(p(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function Ea(r){let e,l,t,n;const o=r[5].default,s=be(o,r,r[4],null);return{c(){e=F("button"),s&&s.c(),this.h()},l(i){e=O(i,"BUTTON",{class:!0});var a=M(e);s&&s.l(a),a.forEach(g),this.h()},h(){S(e,"class","flex items-center gap-1")},m(i,a){I(i,e,a),s&&s.m(e,null),l=!0,t||(n=pe(e,"click",r[6]),t=!0)},p(i,a){s&&s.p&&(!l||a&16)&&ke(s,o,i,i[4],l?ve(o,i[4],a,null):we(i[4]),null)},i(i){l||(p(s,i),l=!0)},o(i){$(s,i),l=!1},d(i){i&&g(e),s&&s.d(i),t=!1,n()}}}function Ta(r){let e,l,t,n,o,s,i,a,f,u;const c=[Ea,Ia],m=[];function _(d,h){return d[1]?0:1}return l=_(r),t=m[l]=c[l](r),s=new ye({props:{name:"close"}}),{c(){e=F("span"),t.c(),n=W(),o=F("button"),E(s.$$.fragment),this.h()},l(d){e=O(d,"SPAN",{class:!0});var h=M(e);t.l(h),n=V(h),o=O(h,"BUTTON",{"aria-label":!0});var b=M(o);T(s.$$.fragment,b),b.forEach(g),h.forEach(g),this.h()},h(){S(o,"aria-label",r[2]),S(e,"class",i="chip "+r[0]+" svelte-jjsz31")},m(d,h){I(d,e,h),m[l].m(e,null),P(e,n),P(e,o),D(s,o,null),a=!0,f||(u=pe(o,"click",r[3]),f=!0)},p(d,[h]){let b=l;l=_(d),l===b?m[l].p(d,h):(J(),$(m[b],1,1,()=>{m[b]=null}),X(),t=m[l],t?t.p(d,h):(t=m[l]=c[l](d),t.c()),p(t,1),t.m(e,n)),(!a||h&4)&&S(o,"aria-label",d[2]),(!a||h&1&&i!==(i="chip "+d[0]+" svelte-jjsz31"))&&S(e,"class",i)},i(d){a||(p(t),p(s.$$.fragment,d),a=!0)},o(d){$(t),$(s.$$.fragment,d),a=!1},d(d){d&&g(e),m[l].d(),L(s),f=!1,u()}}}function Da(r,e,l){let{$$slots:t={},$$scope:n}=e,{intent:o="default"}=e,{button:s=!1}=e,{removeButtonLabel:i}=e;const a=mt(),f=c=>{c.preventDefault(),a("remove")};function u(c){Se.call(this,r,c)}return r.$$set=c=>{"intent"in c&&l(0,o=c.intent),"button"in c&&l(1,s=c.button),"removeButtonLabel"in c&&l(2,i=c.removeButtonLabel),"$$scope"in c&&l(4,n=c.$$scope)},[o,s,i,f,n,t,u]}class La extends fe{constructor(e){super(),ue(this,e,Da,Ta,ce,{intent:0,button:1,removeButtonLabel:2})}}const Ut=["Running","TimedOut","Completed","Failed","ContinuedAsNew","Canceled","Terminated"];function ya(r){return Ut.includes(r)}const tn=["All",...Ut];function ln(r,e,l){const t=r.slice();t[18]=e[l],t[24]=l;const n=t[18];return t[19]=n.attribute,t[20]=n.value,t[21]=n.conditional,t[22]=n.customDate,t}function nn(r){let e,l,t,n;function o(){return r[14](r[24])}function s(){return r[15](r[24],r[18])}return l=new La({props:{removeButtonLabel:H("workflows","remove-filter-label",{attribute:r[19]}),intent:"default",button:!0,$$slots:{default:[Fa]},$$scope:{ctx:r}}}),l.$on("remove",o),l.$on("click",s),{c(){e=F("div"),E(l.$$.fragment)},l(i){e=O(i,"DIV",{});var a=M(e);T(l.$$.fragment,a),a.forEach(g)},m(i,a){I(i,e,a),D(l,e,null),n=!0},p(i,a){r=i;const f={};a&2&&(f.removeButtonLabel=H("workflows","remove-filter-label",{attribute:r[19]})),a&33554482&&(f.$$scope={dirty:a,ctx:r}),l.$set(f)},i(i){n||(p(l.$$.fragment,i),t||it(()=>{t=ft(e,gr,{}),t.start()}),n=!0)},o(i){$(l.$$.fragment,i),n=!1},d(i){i&&g(e),L(l)}}}function Ca(r){let e,l=r[19]+"",t,n,o;function s(f,u){return u&2&&(o=null),o==null&&(o=!!Yt(f[19])),o?Aa:Sa}let i=s(r,-1),a=i(r);return{c(){e=F("span"),t=j(l),n=W(),a.c(),this.h()},l(f){e=O(f,"SPAN",{class:!0});var u=M(e);t=Q(u,l),n=V(u),a.l(u),u.forEach(g),this.h()},h(){S(e,"class","max-w-xs md:max-w-lg xl:max-w-2xl truncate")},m(f,u){I(f,e,u),P(e,t),P(e,n),a.m(e,null)},p(f,u){u&2&&l!==(l=f[19]+"")&&se(t,l),i===(i=s(f,u))&&a?a.p(f,u):(a.d(1),a=i(f),a&&(a.c(),a.m(e,null)))},i:K,o:K,d(f){f&&g(e),a.d()}}}function Ba(r){let e,l=r[19]+"",t,n,o=r[21]+"",s,i,a,f,u;return f=new Kt({props:{status:r[20]}}),{c(){e=F("span"),t=j(l),n=W(),s=j(o),i=W(),a=F("span"),E(f.$$.fragment),this.h()},l(c){e=O(c,"SPAN",{class:!0});var m=M(e);t=Q(m,l),n=V(m),s=Q(m,o),i=V(m),a=O(m,"SPAN",{class:!0});var _=M(a);T(f.$$.fragment,_),_.forEach(g),m.forEach(g),this.h()},h(){S(a,"class","ml-1 -py-1"),S(e,"class","flex")},m(c,m){I(c,e,m),P(e,t),P(e,n),P(e,s),P(e,i),P(e,a),D(f,a,null),u=!0},p(c,m){(!u||m&2)&&l!==(l=c[19]+"")&&se(t,l),(!u||m&2)&&o!==(o=c[21]+"")&&se(s,o);const _={};m&2&&(_.status=c[20]),f.$set(_)},i(c){u||(p(f.$$.fragment,c),u=!0)},o(c){$(f.$$.fragment,c),u=!1},d(c){c&&g(e),L(f)}}}function Sa(r){let e=r[21]+"",l,t,n=(kt(r[19])?`"${r[20]}"`:r[20])+"",o;return{c(){l=j(e),t=W(),o=j(n)},l(s){l=Q(s,e),t=V(s),o=Q(s,n)},m(s,i){I(s,l,i),I(s,t,i),I(s,o,i)},p(s,i){i&2&&e!==(e=s[21]+"")&&se(l,e),i&2&&n!==(n=(kt(s[19])?`"${s[20]}"`:s[20])+"")&&se(o,n)},d(s){s&&g(l),s&&g(t),s&&g(o)}}}function Aa(r){let e;function l(o,s){return o[22]?Pa:Na}let t=l(r),n=t(r);return{c(){n.c(),e=ee()},l(o){n.l(o),e=ee()},m(o,s){n.m(o,s),I(o,e,s)},p(o,s){t===(t=l(o))&&n?n.p(o,s):(n.d(1),n=t(o),n&&(n.c(),n.m(e.parentNode,e)))},d(o){n.d(o),o&&g(e)}}}function Na(r){let e=r[10](r[21])+"",l,t,n=Ne(r[20],r[4],{relative:r[5],abbrFormat:!0})+"",o;return{c(){l=j(e),t=W(),o=j(n)},l(s){l=Q(s,e),t=V(s),o=Q(s,n)},m(s,i){I(s,l,i),I(s,t,i),I(s,o,i)},p(s,i){i&2&&e!==(e=s[10](s[21])+"")&&se(l,e),i&50&&n!==(n=Ne(s[20],s[4],{relative:s[5],abbrFormat:!0})+"")&&se(o,n)},d(s){s&&g(l),s&&g(t),s&&g(o)}}}function Pa(r){let e=r[11](r[20],r[4],r[5])+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&50&&e!==(e=t[11](t[20],t[4],t[5])+"")&&se(l,e)},d(t){t&&g(l)}}}function Fa(r){let e,l,t,n,o;const s=[Ba,Ca],i=[];function a(f,u){return u&2&&(e=null),e==null&&(e=!!(f[19]==="ExecutionStatus"&&ya(f[20]))),e?0:1}return l=a(r,-1),t=i[l]=s[l](r),{c(){t.c(),n=ee()},l(f){t.l(f),n=ee()},m(f,u){i[l].m(f,u),I(f,n,u),o=!0},p(f,u){let c=l;l=a(f,u),l===c?i[l].p(f,u):(J(),$(i[c],1,1,()=>{i[c]=null}),X(),t=i[l],t?t.p(f,u):(t=i[l]=s[l](f),t.c()),p(t,1),t.m(n.parentNode,n))},i(f){o||(p(t),o=!0)},o(f){$(t),o=!1},d(f){i[l].d(f),f&&g(n)}}}function rn(r,e){let l,t,n,o=e[19]&&nn(e);return{key:r,first:null,c(){l=ee(),o&&o.c(),t=ee(),this.h()},l(s){l=ee(),o&&o.l(s),t=ee(),this.h()},h(){this.first=l},m(s,i){I(s,l,i),o&&o.m(s,i),I(s,t,i),n=!0},p(s,i){e=s,e[19]?o?(o.p(e,i),i&2&&p(o,1)):(o=nn(e),o.c(),p(o,1),o.m(t.parentNode,t)):o&&(J(),$(o,1,1,()=>{o=null}),X())},i(s){n||(p(o),n=!0)},o(s){$(o),n=!1},d(s){s&&g(l),o&&o.d(s),s&&g(t)}}}function on(r){let e,l;return e=new ct({props:{variant:"secondary",size:"xs",$$slots:{default:[Oa]},$$scope:{ctx:r}}}),e.$on("click",r[9]),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&33554432&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Oa(r){let e;return{c(){e=j("View More...")},l(l){e=Q(l,"View More...")},m(l,t){I(l,e,t)},d(l){l&&g(e)}}}function Wa(r){let e,l=[],t=new Map,n,o,s=r[1];const i=f=>`${f[18].attribute}-${f[24]}`;for(let f=0;f{a=null}),X()),(!o||u&2)&&ae(e,"pt-2",f[1].length)},i(f){if(!o){for(let u=0;ul(13,o=y)),z(r,At,y=>l(16,a=y)),z(r,Ie,y=>l(17,f=y)),z(r,Vt,y=>l(4,u=y)),z(r,$r,y=>l(5,c=y));const{filter:m,activeQueryIndex:_}=Ye(je);z(r,m,y=>l(3,i=y)),z(r,_,y=>l(2,s=y));const d=y=>{if(o.splice(y,1),he.set(o),Ke(f.url,o,a),y===o.length){const v=o[o.length-1];v&&(v.operator="")}y===s?(le(_,s=null,s),le(m,i=Ze(),i)):y{n&&l(12,h+=5)},w=y=>["<","<="].includes(y)?H("before").toLowerCase():[">",">="].includes(y)?H("after").toLowerCase():y,C=(y,v,B)=>{const[q,N,Y,U]=y.split(" ");return`${q.toLowerCase()} ${Ne(N,v,{relative:B,abbrFormat:!0})} ${Y.toLowerCase()} ${Ne(U,v,{relative:B,abbrFormat:!0})}`},k=y=>d(y),A=(y,v)=>{le(_,s=y,s),le(m,i={...v},i)};return r.$$.update=()=>{r.$$.dirty&12288&&l(1,t=o.slice(0,h)),r.$$.dirty&12288&&l(0,n=h{k=null}),X()),(!b||v&2048)&&S(a,"max",y[11]),(!b||v&4096)&&S(a,"min",y[12]),(!b||v&256)&&(a.disabled=y[8]),(!b||v&64)&&S(a,"placeholder",y[6]),(!b||v&4)&&S(a,"id",y[2]),(!b||v&128)&&S(a,"name",y[7]),v&1&&dr(a.value)!==y[0]&&vl(a,y[0]),(!b||v&256)&&ae(a,"disabled",y[8]),(!b||v&512&&f!==(f="input-container "+y[9]+" svelte-1851tme"))&&S(s,"class",f),(!b||v&768)&&ae(s,"disabled",y[8]),(!b||v&33280)&&ae(s,"search",y[15]),(!b||v&8704)&&ae(s,"unroundRight",y[13]),(!b||v&16896)&&ae(s,"unroundLeft",y[14]),(!b||v&66048)&&ae(s,"invalid",!y[16]),(!b||v&32)&&se(m,y[5]),(!b||v&131072&&_!==(_=wl(y[17].class)+" svelte-1851tme"))&&S(e,"class",_),!y[16]&&y[10]?A?A.p(y,v):(A=an(y),A.c(),A.m(h.parentNode,h)):A&&(A.d(1),A=null)},i(y){b||(p(k),b=!0)},o(y){$(k),b=!1},d(y){y&&g(e),k&&k.d(),y&&g(d),A&&A.d(y),y&&g(h),w=!1,wt(C)}}}function Ha(r,e,l){let{icon:t=null}=e,{id:n}=e,{value:o}=e,{label:s}=e,{labelHidden:i=!1}=e,{units:a=""}=e,{placeholder:f=""}=e,{name:u=n}=e,{disabled:c=!1}=e,{theme:m="light"}=e,{hintText:_=""}=e,{max:d=void 0}=e,{min:h=void 0}=e,{unroundRight:b=!1}=e,{unroundLeft:w=!1}=e,{search:C=!1}=e,k=!0;const A=U=>{h!==void 0&&Ud?l(16,k=!1):l(16,k=!0)};function y(U){Se.call(this,r,U)}function v(U){Se.call(this,r,U)}function B(U){Se.call(this,r,U)}function q(U){Se.call(this,r,U)}function N(U){Se.call(this,r,U)}function Y(){o=dr(this.value),l(0,o)}return r.$$set=U=>{l(17,e=ut(ut({},e),$t(U))),"icon"in U&&l(1,t=U.icon),"id"in U&&l(2,n=U.id),"value"in U&&l(0,o=U.value),"label"in U&&l(3,s=U.label),"labelHidden"in U&&l(4,i=U.labelHidden),"units"in U&&l(5,a=U.units),"placeholder"in U&&l(6,f=U.placeholder),"name"in U&&l(7,u=U.name),"disabled"in U&&l(8,c=U.disabled),"theme"in U&&l(9,m=U.theme),"hintText"in U&&l(10,_=U.hintText),"max"in U&&l(11,d=U.max),"min"in U&&l(12,h=U.min),"unroundRight"in U&&l(13,b=U.unroundRight),"unroundLeft"in U&&l(14,w=U.unroundLeft),"search"in U&&l(15,C=U.search)},r.$$.update=()=>{r.$$.dirty&1&&A(o)},e=$t(e),[o,t,n,s,i,a,f,u,c,m,_,d,h,b,w,C,k,e,y,v,B,q,N,Y]}class Ua extends fe{constructor(e){super(),ue(this,e,Ha,Ra,ce,{icon:1,id:2,value:0,label:3,labelHidden:4,units:5,placeholder:6,name:7,disabled:8,theme:9,hintText:10,max:11,min:12,unroundRight:13,unroundLeft:14,search:15})}}function qa(r){let e,l,t,n,o,s;l=new Or({props:{inputId:"number-filter-search"}});function i(f){r[4](f)}let a={label:H("number-input-placeholder"),labelHidden:!0,id:"number-filter-search",icon:"search",placeholder:H("number-input-placeholder"),min:Wr,unroundLeft:!0,search:!0,class:"-mr-2"};return r[0]!==void 0&&(a.value=r[0]),n=new Ua({props:a}),ie.push(()=>me(n,"value",i)),n.$on("keydown",r[3]),{c(){e=F("div"),E(l.$$.fragment),t=W(),E(n.$$.fragment),this.h()},l(f){e=O(f,"DIV",{class:!0});var u=M(e);T(l.$$.fragment,u),t=V(u),T(n.$$.fragment,u),u.forEach(g),this.h()},h(){S(e,"class","flex items-center")},m(f,u){I(f,e,u),D(l,e,null),P(e,t),D(n,e,null),s=!0},p(f,[u]){const c={};!o&&u&1&&(o=!0,c.value=f[0],_e(()=>o=!1)),n.$set(c)},i(f){s||(p(l.$$.fragment,f),p(n.$$.fragment,f),s=!0)},o(f){$(l.$$.fragment,f),$(n.$$.fragment,f),s=!1},d(f){f&&g(e),L(l),L(n)}}}const Wr=0;function ja(r,e,l){let t,n;const{filter:o,focusedElementId:s,handleSubmit:i}=Ye(je);z(r,o,c=>l(5,t=c)),z(r,s,c=>l(6,n=c));let a=t.value?Number(t.value):null;const f=c=>{le(s,n="",n),c.key==="Enter"&&a!==null&&a>=Wr&&(le(o,t.value=String(a),t),c.preventDefault(),i())};function u(c){a=c,l(0,a)}return[a,o,s,f,u]}class Qa extends fe{constructor(e){super(),ue(this,e,ja,qa,ce,{})}}const{Boolean:za}=Yr;function fn(r,e,l){const t=r.slice();t[16]=e[l].value,t[17]=e[l].label;const n=ei(t[16],t[4]);return t[18]=n,t}function Ka(r){let e=(r[2].attribute||H("workflows","filter"))+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&4&&e!==(e=(t[2].attribute||H("workflows","filter"))+"")&&se(l,e)},d(t){t&&g(l)}}}function un(r){let e,l;return e=new ye({props:{name:"filter"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Ya(r){let e,l,t=!r[2].attribute&&un();return{c(){t&&t.c(),e=ee()},l(n){t&&t.l(n),e=ee()},m(n,o){t&&t.m(n,o),I(n,e,o),l=!0},p(n,o){n[2].attribute?t&&(J(),$(t,1,1,()=>{t=null}),X()):t?o&4&&p(t,1):(t=un(),t.c(),p(t,1),t.m(e.parentNode,e))},i(n){l||(p(t),l=!0)},o(n){$(t),l=!1},d(n){t&&t.d(n),n&&g(e)}}}function cn(r){let e,l;return e=new $e({props:{class:"whitespace-nowrap",disabled:!0,$$slots:{default:[Ga]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&2097152&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Ga(r){let e=H("no-results")+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Ja(r){let e=r[17]+"",l,t;return{c(){l=j(e),t=W()},l(n){l=Q(n,e),t=V(n)},m(n,o){I(n,l,o),I(n,t,o)},p(n,o){o&2&&e!==(e=n[17]+"")&&se(l,e)},d(n){n&&g(l),n&&g(t)}}}function mn(r){let e,l;function t(){return r[13](r[16])}return e=new $e({props:{disabled:r[18],$$slots:{default:[Ja]},$$scope:{ctx:r}}}),e.$on("click",t),{c(){E(e.$$.fragment)},l(n){T(e.$$.fragment,n)},m(n,o){D(e,n,o),l=!0},p(n,o){r=n;const s={};o&18&&(s.disabled=r[18]),o&2097154&&(s.$$scope={dirty:o,ctx:r}),e.$set(s)},i(n){l||(p(e.$$.fragment,n),l=!0)},o(n){$(e.$$.fragment,n),l=!1},d(n){L(e,n)}}}function Xa(r){let e,l,t,n,o;function s(m){r[12](m)}let i={label:H("search"),labelHidden:!0,id:"filter-search",noBorder:!0,icon:"search",placeholder:H("search"),class:"mb-1"};r[0]!==void 0&&(i.value=r[0]),e=new Ae({props:i}),ie.push(()=>me(e,"value",s));let a=r[1],f=[];for(let m=0;m$(f[m],1,1,()=>{f[m]=null});let c=null;return a.length||(c=cn(r)),{c(){E(e.$$.fragment),t=W();for(let m=0;ml=!1)),e.$set(d),_&274){a=m[1];let h;for(h=0;h{c=null}),X()):(c=cn(m),c.c(),p(c,1),c.m(n.parentNode,n))}},i(m){if(!o){p(e.$$.fragment,m);for(let _=0;_l.conditional==="="&&l.attribute===r)}function ti(r,e,l){let t,n,o,s,i,a,f;z(r,So,k=>l(10,o=k)),z(r,he,k=>l(4,f=k));const{filter:u,activeQueryIndex:c,focusedElementId:m}=Ye(je);z(r,u,k=>l(2,i=k)),z(r,c,k=>l(3,a=k)),z(r,m,k=>l(14,s=k));function _(k){return at(k)?"status-filter":kt(k)?"text-filter-search":rl(k)?"list-filter-search":pl(k)||Yt(k)?"conditional-menu-button":gl(k)?"boolean-filter":""}function d(k){l(0,h=""),u.set({...Ze(),attribute:k,conditional:"="}),le(m,s=_(k),s)}let h="";const b=()=>l(0,h="");function w(k){h=k,l(0,h)}const C=k=>{d(k)};return r.$$.update=()=>{r.$$.dirty&1024&&l(9,t=o.filter(k=>!rl(k.value))),r.$$.dirty&513&&l(1,n=h?t.filter(k=>k.value.toLowerCase().includes(h.toLowerCase())):t)},[h,n,i,a,f,u,c,m,d,t,o,b,w,C]}class li extends fe{constructor(e){super(),ue(this,e,ti,xa,ce,{})}}function ni(r){let e,l;return e=new ye({props:{class:"absolute top-0 left-0 h-4 w-4",name:"checkmark",strokeWidth:3}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function ri(r){let e,l;return e=new ye({props:{class:"absolute top-0 left-0 h-4 w-4",name:"hyphen"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function oi(r){let e,l,t,n,o,s,i,a,f,u,c,m,_,d,h,b=[{id:r[1]},{__value:r[8]},{type:"checkbox"},{indeterminate:r[5]},{disabled:r[6]},Wl(r[10],"data-testid")],w={};for(let y=0;y{k[B]=null}),X()),~f?(u=k[f],u||(u=k[f]=C[f](y),u.c()),p(u,1),u.m(a,null)):u=null),(!_||v&128)&&ae(a,"hoverable",y[7]),(!_||v&16)&&ae(a,"on-dark",y[4]),(!_||v&128)&&ae(l,"hoverable",y[7]),(!_||v&64)&&ae(l,"disabled",y[6]),(!_||v&16)&&ae(l,"on-dark",y[4]),(!_||v&1024&&c!==(c=y[10]["data-testid"]??null))&&S(e,"data-testid",c),(!_||v&2048&&m!==(m="relative "+y[11].class+" svelte-1ic6fbx"))&&S(e,"class",m)},i(y){_||(p(u),_=!0)},o(y){$(u),_=!1},d(y){y&&g(e),~f&&k[f].d(),d=!1,wt(h)}}}function si(r,e,l){const t=["id","checked","label","labelHidden","onDark","indeterminate","disabled","hoverable","value","group"];let n=El(e,t),{id:o=""}=e,{checked:s=!1}=e,{label:i}=e,{labelHidden:a=!1}=e,{onDark:f=!1}=e,{indeterminate:u=!1}=e,{disabled:c=!1}=e,{hoverable:m=!1}=e,{value:_=void 0}=e,{group:d=void 0}=e;const h=mt(),b=B=>{const{checked:q}=B.currentTarget;d!==void 0&&(q?l(12,d=[...d,_]):l(12,d=d.filter(N=>N!==_))),l(0,s=q),h("change",{checked:B.currentTarget.checked,value:_})};function w(B){Se.call(this,r,B)}function C(B){Se.call(this,r,B)}function k(B){Se.call(this,r,B)}function A(B){Se.call(this,r,B)}function y(B){Se.call(this,r,B)}function v(){s=this.checked,l(0,s),l(12,d),l(8,_)}return r.$$set=B=>{l(11,e=ut(ut({},e),$t(B))),l(10,n=El(e,t)),"id"in B&&l(1,o=B.id),"checked"in B&&l(0,s=B.checked),"label"in B&&l(2,i=B.label),"labelHidden"in B&&l(3,a=B.labelHidden),"onDark"in B&&l(4,f=B.onDark),"indeterminate"in B&&l(5,u=B.indeterminate),"disabled"in B&&l(6,c=B.disabled),"hoverable"in B&&l(7,m=B.hoverable),"value"in B&&l(8,_=B.value),"group"in B&&l(12,d=B.group)},r.$$.update=()=>{r.$$.dirty&4353&&l(0,s=d!==void 0?d.includes(_):s)},e=$t(e),[s,o,i,a,f,u,c,m,_,b,n,e,d,w,C,k,A,y,v]}class Gt extends fe{constructor(e){super(),ue(this,e,si,oi,ce,{id:1,checked:0,label:2,labelHidden:3,onDark:4,indeterminate:5,disabled:6,hoverable:7,value:8,group:12})}}function _n(r,e,l){const t=r.slice();t[16]=e[l];const n=t[0].some(function(...s){return r[10](t[16],...s)});return t[17]=n,t}function ai(r){let e=r[1].attribute+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&2&&e!==(e=t[1].attribute+"")&&se(l,e)},d(t){t&&g(l)}}}function ii(r){let e,l;return e=new Kt({props:{status:r[16]}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function fi(r){let e,l;function t(){return r[8](r[16])}return e=new Gt({props:{slot:"leading",checked:r[17],label:r[16],labelHidden:!0}}),e.$on("click",t),{c(){E(e.$$.fragment)},l(n){T(e.$$.fragment,n)},m(n,o){D(e,n,o),l=!0},p(n,o){r=n;const s={};o&1&&(s.checked=r[17]),e.$set(s)},i(n){l||(p(e.$$.fragment,n),l=!0)},o(n){$(e.$$.fragment,n),l=!1},d(n){L(e,n)}}}function dn(r,e){let l,t,n;function o(){return e[9](e[16])}return t=new $e({props:{"data-testid":e[16],$$slots:{leading:[fi],default:[ii]},$$scope:{ctx:e}}}),t.$on("click",o),{key:r,first:null,c(){l=ee(),E(t.$$.fragment),this.h()},l(s){l=ee(),T(t.$$.fragment,s),this.h()},h(){this.first=l},m(s,i){I(s,l,i),D(t,s,i),n=!0},p(s,i){e=s;const a={};i&1048577&&(a.$$scope={dirty:i,ctx:e}),t.$set(a)},i(s){n||(p(t.$$.fragment,s),n=!0)},o(s){$(t.$$.fragment,s),n=!1},d(s){s&&g(l),L(t,s)}}}function ui(r){let e=H("apply")+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function ci(r){let e=[],l=new Map,t,n,o,s,i,a=Ut;const f=u=>u[16];for(let u=0;ul(7,o=k)),z(r,At,k=>l(11,i=k)),z(r,Ie,k=>l(12,a=k));const{filter:f,resetFilter:u}=Ye(je);z(r,f,k=>l(1,s=k));const c=ot(!0);function m(){le(he,o=t,o),Ke(a.url,o,i),u()}function _(k){return{...s,value:k}}function d(k){return k.length===1?[_(k[0].value)]:k.map((A,y)=>{const v=y===k.length-1?"":"OR";return{...A,operator:v}})}const h=k=>{if(n.find(A=>A.value===k)){const A=o.filter(y=>!at(y.attribute));l(6,t=[...A,...d(n.filter(y=>y.value!==k))])}else if(!n.length)l(6,t=[...t,_(k)]);else{const A=t.filter(y=>!at(y.attribute));l(6,t=[...A,...d([...n,_(k)])])}},b=k=>h(k),w=k=>{h(k)},C=(k,A)=>A.value===k;return r.$$.update=()=>{r.$$.dirty&128&&l(6,t=[...o]),r.$$.dirty&64&&l(0,n=t.filter(k=>at(k.attribute)))},[n,s,f,c,m,h,t,o,b,w,C]}class pi extends fe{constructor(e){super(),ue(this,e,di,_i,ce,{})}}function gi(r){let e,l,t;function n(s){r[4](s)}let o={label:r[1].attribute,labelHidden:!0,id:"text-filter-search",type:"search",placeholder:`${H("enter")} ${r[1].attribute}`,icon:"search",class:"w-full",unroundLeft:!0};return r[0]!==void 0&&(o.value=r[0]),e=new Ae({props:o}),ie.push(()=>me(e,"value",n)),e.$on("keydown",r[3]),{c(){E(e.$$.fragment)},l(s){T(e.$$.fragment,s)},m(s,i){D(e,s,i),t=!0},p(s,[i]){const a={};i&2&&(a.label=s[1].attribute),i&2&&(a.placeholder=`${H("enter")} ${s[1].attribute}`),!l&&i&1&&(l=!0,a.value=s[0],_e(()=>l=!1)),e.$set(a)},i(s){t||(p(e.$$.fragment,s),t=!0)},o(s){$(e.$$.fragment,s),t=!1},d(s){L(e,s)}}}function hi(r,e,l){let t;const{filter:n,handleSubmit:o}=Ye(je);z(r,n,f=>l(1,t=f));let s=t.value;function i(f){f.key==="Enter"&&s!==""&&(f.preventDefault(),le(n,t.value=s,t),o())}function a(f){s=f,l(0,s)}return[s,t,n,i,a]}let $i=class extends fe{constructor(e){super(),ue(this,e,hi,gi,ce,{})}};function bi(r){let e,l,t,n,o,s,i,a,f,u,c,m,_,d,h,b,w;const C=[vi,wi],k=[];function A(N,Y){return Y&1&&(l=null),l==null&&(l=!!at(N[0].attribute)),l?0:1}t=A(r,-1),n=k[t]=C[t](r);const y=[Di,Ti,Ei,Ii],v=[];function B(N,Y){return Y&1&&(s=null),Y&1&&(i=null),Y&1&&(a=null),Y&1&&(f=null),s==null&&(s=!!kt(N[0].attribute)),s?0:(i==null&&(i=!!pl(N[0].attribute)),i?1:(a==null&&(a=!!Yt(N[0].attribute)),a?2:(f==null&&(f=!!gl(N[0].attribute)),f?3:-1)))}~(u=B(r,-1))&&(c=v[u]=y[u](r));let q=r[2]&&pn(r);return{c(){e=F("div"),n.c(),o=W(),c&&c.c(),m=W(),_=F("div"),q&&q.c(),this.h()},l(N){e=O(N,"DIV",{class:!0});var Y=M(e);n.l(Y),o=V(Y),c&&c.l(Y),Y.forEach(g),m=V(N),_=O(N,"DIV",{class:!0});var U=M(_);q&&q.l(U),U.forEach(g),this.h()},h(){S(e,"class","flex items-center svelte-d4361j"),ae(e,"filter",!r[2]),S(_,"class",d="flex flex-col sm:flex-row "+(r[2]?"justify-between w-full":"justify-end"))},m(N,Y){I(N,e,Y),k[t].m(e,null),P(e,o),~u&&v[u].m(e,null),I(N,m,Y),I(N,_,Y),q&&q.m(_,null),h=!0,b||(w=pe(e,"keyup",r[8]),b=!0)},p(N,Y){let U=t;t=A(N,Y),t!==U&&(J(),$(k[U],1,1,()=>{k[U]=null}),X(),n=k[t],n||(n=k[t]=C[t](N),n.c()),p(n,1),n.m(e,o));let R=u;u=B(N,Y),u!==R&&(c&&(J(),$(v[R],1,1,()=>{v[R]=null}),X()),~u?(c=v[u],c||(c=v[u]=y[u](N),c.c()),p(c,1),c.m(e,null)):c=null),(!h||Y&4)&&ae(e,"filter",!N[2]),N[2]?q?(q.p(N,Y),Y&4&&p(q,1)):(q=pn(N),q.c(),p(q,1),q.m(_,null)):q&&(J(),$(q,1,1,()=>{q=null}),X()),(!h||Y&4&&d!==(d="flex flex-col sm:flex-row "+(N[2]?"justify-between w-full":"justify-end")))&&S(_,"class",d)},i(N){h||(p(n),p(c),p(q),h=!0)},o(N){$(n),$(c),$(q),h=!1},d(N){N&&g(e),k[t].d(),~u&&v[u].d(),N&&g(m),N&&g(_),q&&q.d(),b=!1,w()}}}function ki(r){let e,l;return e=new Fr({}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function wi(r){let e,l;return e=new li({}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function vi(r){let e,l,t,n;return e=new pi({}),t=new Nt({}),{c(){E(e.$$.fragment),l=W(),E(t.$$.fragment)},l(o){T(e.$$.fragment,o),l=V(o),T(t.$$.fragment,o)},m(o,s){D(e,o,s),I(o,l,s),D(t,o,s),n=!0},i(o){n||(p(e.$$.fragment,o),p(t.$$.fragment,o),n=!0)},o(o){$(e.$$.fragment,o),$(t.$$.fragment,o),n=!1},d(o){L(e,o),o&&g(l),L(t,o)}}}function Ii(r){let e,l,t,n,o,s;return l=new Zs({}),n=new Nt({}),{c(){e=F("div"),E(l.$$.fragment),t=W(),E(n.$$.fragment),this.h()},l(i){e=O(i,"DIV",{class:!0});var a=M(e);T(l.$$.fragment,a),t=V(a),T(n.$$.fragment,a),a.forEach(g),this.h()},h(){S(e,"class","flex w-full items-center")},m(i,a){I(i,e,a),D(l,e,null),P(e,t),D(n,e,null),s=!0},i(i){s||(p(l.$$.fragment,i),p(n.$$.fragment,i),o||it(()=>{o=ft(e,Bt,{x:-100,duration:150}),o.start()}),s=!0)},o(i){$(l.$$.fragment,i),$(n.$$.fragment,i),s=!1},d(i){i&&g(e),L(l),L(n)}}}function Ei(r){let e,l,t,n,o,s;return l=new va({}),n=new Nt({}),{c(){e=F("div"),E(l.$$.fragment),t=W(),E(n.$$.fragment),this.h()},l(i){e=O(i,"DIV",{class:!0});var a=M(e);T(l.$$.fragment,a),t=V(a),T(n.$$.fragment,a),a.forEach(g),this.h()},h(){S(e,"class","flex w-full items-center")},m(i,a){I(i,e,a),D(l,e,null),P(e,t),D(n,e,null),s=!0},i(i){s||(p(l.$$.fragment,i),p(n.$$.fragment,i),o||it(()=>{o=ft(e,Bt,{x:-100,duration:150}),o.start()}),s=!0)},o(i){$(l.$$.fragment,i),$(n.$$.fragment,i),s=!1},d(i){i&&g(e),L(l),L(n)}}}function Ti(r){let e,l,t,n,o,s;return l=new Qa({}),n=new Nt({}),{c(){e=F("div"),E(l.$$.fragment),t=W(),E(n.$$.fragment),this.h()},l(i){e=O(i,"DIV",{class:!0});var a=M(e);T(l.$$.fragment,a),t=V(a),T(n.$$.fragment,a),a.forEach(g),this.h()},h(){S(e,"class","flex w-full items-center")},m(i,a){I(i,e,a),D(l,e,null),P(e,t),D(n,e,null),s=!0},i(i){s||(p(l.$$.fragment,i),p(n.$$.fragment,i),o||it(()=>{o=ft(e,Bt,{x:-100,duration:150}),o.start()}),s=!0)},o(i){$(l.$$.fragment,i),$(n.$$.fragment,i),s=!1},d(i){i&&g(e),L(l),L(n)}}}function Di(r){let e,l,t,n,o,s;return l=new $i({}),n=new Nt({}),{c(){e=F("div"),E(l.$$.fragment),t=W(),E(n.$$.fragment),this.h()},l(i){e=O(i,"DIV",{class:!0});var a=M(e);T(l.$$.fragment,a),t=V(a),T(n.$$.fragment,a),a.forEach(g),this.h()},h(){S(e,"class","flex w-full items-center")},m(i,a){I(i,e,a),D(l,e,null),P(e,t),D(n,e,null),s=!0},i(i){s||(p(l.$$.fragment,i),p(n.$$.fragment,i),o||it(()=>{o=ft(e,Bt,{x:-100,duration:150}),o.start()}),s=!0)},o(i){$(l.$$.fragment,i),$(n.$$.fragment,i),s=!1},d(i){i&&g(e),L(l),L(n)}}}function pn(r){let e,l;return e=new ct({props:{variant:"ghost",$$slots:{default:[Li]},$$scope:{ctx:r}}}),e.$on("click",r[6]),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&4194304&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Li(r){let e=H("clear-all")+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function yi(r){let e,l,t,n,o,s,i,a,f,u;const c=[ki,bi],m=[];function _(b,w){return b[1]?0:1}t=_(r),n=m[t]=c[t](r);function d(b){r[12](b)}let h={label:H("workflows","view-search-input"),labelPosition:"left",id:"view-search-input"};return r[1]!==void 0&&(h.checked=r[1]),s=new Bo({props:h}),ie.push(()=>me(s,"checked",d)),s.$on("change",r[13]),f=new Ma({}),{c(){e=F("div"),l=F("div"),n.c(),o=W(),E(s.$$.fragment),a=W(),E(f.$$.fragment),this.h()},l(b){e=O(b,"DIV",{class:!0});var w=M(e);l=O(w,"DIV",{class:!0});var C=M(l);n.l(C),o=V(C),T(s.$$.fragment,C),C.forEach(g),a=V(w),T(f.$$.fragment,w),w.forEach(g),this.h()},h(){S(l,"class","flex flex-col grow sm:items-center sm:flex-row gap-4"),S(e,"class","flex flex-col grow")},m(b,w){I(b,e,w),P(e,l),m[t].m(l,null),P(l,o),D(s,l,null),P(e,a),D(f,e,null),u=!0},p(b,[w]){let C=t;t=_(b),t===C?m[t].p(b,w):(J(),$(m[C],1,1,()=>{m[C]=null}),X(),n=m[t],n?n.p(b,w):(n=m[t]=c[t](b),n.c()),p(n,1),n.m(l,o));const k={};!i&&w&2&&(i=!0,k.checked=b[1],_e(()=>i=!1)),s.$set(k)},i(b){u||(p(n),p(s.$$.fragment,b),p(f.$$.fragment,b),u=!0)},o(b){$(n),$(s.$$.fragment,b),$(f.$$.fragment,b),u=!1},d(b){b&&g(e),m[t].d(),L(s),L(f)}}}const je="filter-context";function Ci(r,e,l){let t,n,o,s,i,a,f,u;z(r,he,N=>l(10,a=N)),z(r,Ie,N=>l(11,f=N)),z(r,xe,N=>l(16,u=N));const c=ot(Ze());z(r,c,N=>l(0,o=N));const m=ot(null);z(r,m,N=>l(9,i=N));const _=ot("");z(r,_,N=>l(15,s=N));let d=!1;Jr(je,{filter:c,activeQueryIndex:m,handleSubmit:b,focusedElementId:_,resetFilter:y});function h(){const N=Nr(Pr(a));N&&N===t?le(xe,u=Date.now(),u):qe({url:f.url,parameter:"query",value:N,allowEmpty:!0})}function b(){i!==null?(le(he,a[i]=o,a),le(m,i=null,i)):le(he,a=[...a,o],a),c.set(Ze()),h()}function w(){le(he,a=[],a),h()}function C(N){return at(N)?"status-filter":kt(N)?"text-filter-search":rl(N)?"list-filter-search":pl(N)||Yt(N)?"conditional-menu-button":gl(N)?"boolean-filter":""}function k(){i!==null&&le(_,s=C(o.attribute),s)}function A(){if(s){const N=document.getElementById(s);N&&(N.focus(),N instanceof HTMLButtonElement&&N.click())}}Xr(()=>{A()});function y(){m.set(null),c.set(Ze())}function v(N){N.key==="Escape"&&!kt(o.attribute)&&y()}function B(N){d=N,l(1,d)}const q=()=>{y()};return r.$$.update=()=>{r.$$.dirty&2048&&(t=f.url.searchParams.get("query")),r.$$.dirty&1025&&l(2,n=a.length&&!o.attribute),r.$$.dirty&512&&k()},[o,d,n,c,m,_,w,y,v,i,a,f,B,q]}class Bi extends fe{constructor(e){super(),ue(this,e,Ci,yi,ce,{})}}const Zt=""+new URL("../assets/empty-state-dark_2x.91ea3d8e.png",import.meta.url).href,gn=""+new URL("../assets/empty-state-light_2x.212be1d9.png",import.meta.url).href;function hn(r,e,l){const t=r.slice();return t[7]=e[l],t}const Si=r=>({}),$n=r=>({});function Ai(r){let e,l,t,n,o,s;function i(_,d){return _[1]?Fi:Pi}let a=i(r),f=a(r);const u=[Vi,Wi,Oi],c=[];function m(_,d){return _[2]?0:_[1]?1:2}return t=m(r),n=c[t]=u[t](r),{c(){e=F("h2"),f.c(),l=W(),n.c(),o=ee(),this.h()},l(_){e=O(_,"H2",{class:!0});var d=M(e);f.l(d),d.forEach(g),l=V(_),n.l(_),o=ee(),this.h()},h(){S(e,"class","text-lg font-medium")},m(_,d){I(_,e,d),f.m(e,null),I(_,l,d),c[t].m(_,d),I(_,o,d),s=!0},p(_,d){a===(a=i(_))&&f?f.p(_,d):(f.d(1),f=a(_),f&&(f.c(),f.m(e,null)));let h=t;t=m(_),t===h?c[t].p(_,d):(J(),$(c[h],1,1,()=>{c[h]=null}),X(),n=c[t],n?n.p(_,d):(n=c[t]=u[t](_),n.c()),p(n,1),n.m(o.parentNode,o))},i(_){s||(p(n),s=!0)},o(_){$(n),s=!1},d(_){_&&g(e),f.d(),_&&g(l),c[t].d(_),_&&g(o)}}}function Ni(r){let e,l;return e=new ul({}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Pi(r){let e=H("workflows","workflow-empty-state-title")+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Fi(r){let e=H("workflows","workflow-query-empty-state-title")+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Oi(r){let e,l,t=H("workflows","workflow-empty-state-description")+"",n,o,s,i,a,f,u;const c=r[5].cloud,m=be(c,r,r[6],$n);s=new Et({props:{newTab:!0,href:"https://github.com/temporalio",$$slots:{default:[Mi]},$$scope:{ctx:r}}});let _=r[3],d=[];for(let b=0;b<_.length;b+=1)d[b]=bn(hn(r,_,b));const h=b=>$(d[b],1,1,()=>{d[b]=null});return{c(){m&&m.c(),e=W(),l=F("p"),n=j(t),o=W(),E(s.$$.fragment),i=j("."),a=W(),f=F("ul");for(let b=0;b{_[w]=null}),X(),s=_[o],s?s.p(h,b):(s=_[o]=m[o](h),s.c()),p(s,1),s.m(n,null)),(!c||b&2&&!Tl(f.src,u=h[1]?gn:Zt))&&S(f,"src",u)},i(h){c||(p(s),c=!0)},o(h){$(s),c=!1},d(h){g(e),h&&g(l),h&&g(t),_[o].d()}}}function qi(r,e,l){let t,n,o;z(r,Ie,u=>l(4,n=u)),z(r,wr,u=>l(2,o=u));let{$$slots:s={},$$scope:i}=e,{updating:a=!1}=e;const f=["samples-go","samples-java","samples-typescript","samples-python","samples-dotnet","samples-php"];return r.$$set=u=>{"updating"in u&&l(0,a=u.updating),"$$scope"in u&&l(6,i=u.$$scope)},r.$$.update=()=>{r.$$.dirty&16&&l(1,t=n.url.searchParams.get("query"))},[a,t,o,f,n,s,i]}class ji extends fe{constructor(e){super(),ue(this,e,qi,Ui,ce,{updating:0})}}const Qi=r=>({visibleItems:r&256}),kn=r=>({slot:"cloud",visibleItems:r[8].items});function wn(r,e,l){const t=r.slice();return t[23]=e[l],t}const zi=r=>({visibleItems:r&256}),vn=r=>({visibleItems:r[8].items}),Ki=r=>({visibleItems:r&256}),In=r=>({visibleItems:r[8].items}),Yi=r=>({visibleItems:r&256}),En=r=>({visibleItems:r[8].items});function Tn(r){let e,l;return e=new Wo({}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Gi(r){let e,l;return e=new ji({props:{updating:r[0],$$slots:{cloud:[Xi]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&1&&(o.updating=t[0]),n&4194560&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Ji(r){let e,l,t,n,o,s,i,a,f,u,c;t=new yo({props:{label:r[1],parameter:Wt,value:r[6],options:kr}});let m=r[8].pageShortcuts,_=[];for(let h=0;h$(_[h],1,1,()=>{_[h]=null});return a=new Pe({props:{label:r[4],disabled:!r[8].hasPrevious,icon:"arrow-left"}}),a.$on("click",r[19]),u=new Pe({props:{label:r[3],disabled:!r[8].hasNext,icon:"arrow-right"}}),u.$on("click",r[20]),{c(){e=F("div"),l=F("div"),E(t.$$.fragment),n=W(),o=F("div");for(let h=0;h<_.length;h+=1)_[h].c();s=W(),i=F("div"),E(a.$$.fragment),f=W(),E(u.$$.fragment),this.h()},l(h){e=O(h,"DIV",{class:!0});var b=M(e);l=O(b,"DIV",{class:!0});var w=M(l);T(t.$$.fragment,w),w.forEach(g),n=V(b),o=O(b,"DIV",{class:!0});var C=M(o);for(let A=0;A<_.length;A+=1)_[A].l(C);C.forEach(g),s=V(b),i=O(b,"DIV",{class:!0});var k=M(i);T(a.$$.fragment,k),f=V(k),T(u.$$.fragment,k),k.forEach(g),b.forEach(g),this.h()},h(){S(l,"class","paginated-table-controls-start svelte-5xhosh"),S(o,"class","paginated-table-controls-center svelte-5xhosh"),S(i,"class","paginated-table-controls-end svelte-5xhosh"),S(e,"class","paginated-table-controls svelte-5xhosh")},m(h,b){I(h,e,b),P(e,l),D(t,l,null),P(e,n),P(e,o);for(let w=0;w<_.length;w+=1)_[w].m(o,null);P(e,s),P(e,i),D(a,i,null),P(i,f),D(u,i,null),c=!0},p(h,b){const w={};if(b&2&&(w.label=h[1]),b&64&&(w.value=h[6]),t.$set(w),b&1284){m=h[8].pageShortcuts;let A;for(A=0;A{i[c]=null}),X(),t=i[l],t?t.p(f,u):(t=i[l]=s[l](f),t.c()),p(t,1),t.m(n.parentNode,n))},i(f){o||(p(t),o=!0)},o(f){$(t),o=!1},d(f){i[l].d(f),f&&g(n)}}}function tf(r){let e,l,t,n,o,s,i,a,f,u,c;const m=r[17].caption,_=be(m,r,r[22],En),d=r[17].headers,h=be(d,r,r[22],In);let b=r[0]&&Tn();const w=r[17].default,C=be(w,r,r[22],vn),k=[Ji,Gi],A=[];function y(v,B){return v[8].items.length?0:1}return f=y(r),u=A[f]=k[f](r),{c(){e=F("div"),l=F("table"),_&&_.c(),t=W(),n=F("thead"),h&&h.c(),o=W(),b&&b.c(),s=W(),i=F("tbody"),C&&C.c(),a=W(),u.c(),this.h()},l(v){e=O(v,"DIV",{class:!0,style:!0});var B=M(e);l=O(B,"TABLE",{class:!0});var q=M(l);_&&_.l(q),t=V(q),n=O(q,"THEAD",{class:!0});var N=M(n);h&&h.l(N),o=V(N),b&&b.l(N),N.forEach(g),s=V(q),i=O(q,"TBODY",{class:!0});var Y=M(i);C&&C.l(Y),Y.forEach(g),q.forEach(g),a=V(B),u.l(B),B.forEach(g),this.h()},h(){S(n,"class","paginated-table-header svelte-5xhosh"),S(i,"class","paginated-table-body svelte-5xhosh"),S(l,"class","paginated-table svelte-5xhosh"),S(e,"class","paginated-table-wrapper svelte-5xhosh"),Dl(e,"max-height","calc(100vh - "+r[9]+"px)")},m(v,B){I(v,e,B),P(e,l),_&&_.m(l,null),P(l,t),P(l,n),h&&h.m(n,null),P(n,o),b&&b.m(n,null),P(l,s),P(l,i),C&&C.m(i,null),P(e,a),A[f].m(e,null),r[21](e),c=!0},p(v,[B]){_&&_.p&&(!c||B&4194560)&&ke(_,m,v,v[22],c?ve(m,v[22],B,Yi):we(v[22]),En),h&&h.p&&(!c||B&4194560)&&ke(h,d,v,v[22],c?ve(d,v[22],B,Ki):we(v[22]),In),v[0]?b?B&1&&p(b,1):(b=Tn(),b.c(),p(b,1),b.m(n,null)):b&&(J(),$(b,1,1,()=>{b=null}),X()),C&&C.p&&(!c||B&4194560)&&ke(C,w,v,v[22],c?ve(w,v[22],B,zi):we(v[22]),vn);let q=f;f=y(v),f===q?A[f].p(v,B):(J(),$(A[q],1,1,()=>{A[q]=null}),X(),u=A[f],u?u.p(v,B):(u=A[f]=k[f](v),u.c()),p(u,1),u.m(e,null)),(!c||B&512)&&Dl(e,"max-height","calc(100vh - "+v[9]+"px)")},i(v){c||(p(_,v),p(h,v),p(b),p(C,v),p(u),c=!0)},o(v){$(_,v),$(h,v),$(b),$(C,v),$(u),c=!1},d(v){v&&g(e),_&&_.d(v),h&&h.d(v),b&&b.d(),C&&C.d(v),A[f].d(),r[21](null)}}}function lf(r,e,l){let t,n,o,s,i,a,f=K,u=()=>(f(),f=el(s,R=>l(8,a=R)),s),c;z(r,Ie,R=>l(16,c=R)),r.$$.on_destroy.push(()=>f());let{$$slots:m={},$$scope:_}=e;var d,h;let{items:b}=e,{updating:w=!1}=e,{perPageLabel:C}=e,{pageButtonLabel:k}=e,{nextPageButtonLabel:A}=e,{previousPageButtonLabel:y}=e,v;const B=R=>{qe({parameter:Ft,value:R,url:t})},q=R=>B(R),N=()=>B(a.currentPage-1),Y=()=>B(a.currentPage+1);function U(R){ie[R?"unshift":"push"](()=>{v=R,l(5,v)})}return r.$$set=R=>{"items"in R&&l(11,b=R.items),"updating"in R&&l(0,w=R.updating),"perPageLabel"in R&&l(1,C=R.perPageLabel),"pageButtonLabel"in R&&l(2,k=R.pageButtonLabel),"nextPageButtonLabel"in R&&l(3,A=R.nextPageButtonLabel),"previousPageButtonLabel"in R&&l(4,y=R.previousPageButtonLabel),"$$scope"in R&&l(22,_=R.$$scope)},r.$$.update=()=>{r.$$.dirty&65536&&l(15,t=c.url),r.$$.dirty&36864&&l(6,n=l(12,d=t.searchParams.get(Wt))!==null&&d!==void 0?d:String(Fl)),r.$$.dirty&40960&&l(14,o=l(13,h=t.searchParams.get(Ft))!==null&&h!==void 0?h:"1"),r.$$.dirty&18496&&u(l(7,s=Lo(b,n,o))),r.$$.dirty&32832&&(parseInt(n,10)>parseInt(Ol,10)?qe({parameter:Wt,value:Ol,url:t}):kr.includes(n)||qe({parameter:Wt,value:Fl,url:t})),r.$$.dirty&49408&&(a.totalPages&&parseInt(o,10)>a.totalPages?qe({parameter:Ft,value:a.totalPages,url:t}):(o===null||parseInt(o,10)<0)&&qe({parameter:Ft,value:"1",url:t})),r.$$.dirty&16576&&(o&&s.jumpToPage(o),n&&s.adjustPageSize(n)),r.$$.dirty&32&&l(9,i=v!=null&&v.offsetTop?(v==null?void 0:v.offsetTop)+32:0)},[w,C,k,A,y,v,n,s,a,i,B,b,d,h,o,t,c,m,q,N,Y,U,_]}class nf extends fe{constructor(e){super(),ue(this,e,lf,tf,ce,{items:11,updating:0,perPageLabel:1,pageButtonLabel:2,nextPageButtonLabel:3,previousPageButtonLabel:4})}}const rf=2,rt=[{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}],of=[{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:"Task Queue",pinned:!1}],Vr=r=>r.label!=="Parent Workflow ID",sf=()=>{let r;try{const e=window.localStorage.getItem("workflow-table-columns"),l=JSON.parse(e);e&&(l!=null&&l.length)?r=l.filter(Vr):r=rt}catch{r=rt}return r},ol=Tr("namespace-workflow-table-columns",{}),Jt=dt([Vo,Ie,ol],([r,e,l])=>{const t={},n=(i,a)=>{var u;if(!((u=i==null?void 0:i[a])!=null&&u.length))return i[a]=[...sf()],i[a];const f=i[a].filter(Vr);return f.length!==i[a].length&&(i[a]=f,ol.set(i)),i[a]},o=(r==null?void 0:r.reduce((i,{namespaceInfo:{name:a}})=>({...i,[a]:n(l,a)}),t))??{},{namespace:s}=e.params;return o[s]?o:{...o,[s]:n(l,s)}});Tr("workflow-table-pinned-columns-width");const af=r=>dt(Jt,e=>[...rt,...of].filter(l=>{var t;return!((t=e[r])!=null&&t.some(n=>n.label===l.label))})),ff=r=>dt([Er,Jt],([e,l])=>Object.keys(e).filter(t=>{var n;return!((n=l[r])!=null&&n.some(o=>o.label===t))}).map(t=>({label:t,pinned:!1}))),uf=(r,e)=>{switch(r.type){case"WORKFLOW_COLUMN.ADD":{const{label:l,namespace:t}=r.payload,n=(e==null?void 0:e[t])??rt;return{...e,[t]:[...n,{label:l,pinned:!1}]}}case"WORKFLOW_COLUMN.REMOVE":{const{label:l,namespace:t}=r.payload,n=(e==null?void 0:e[t])??rt;return{...e,[t]:n.filter(({label:o})=>o!==l)}}case"WORKFLOW_COLUMN.PIN":{const{label:l,namespace:t}=r.payload,n=(e==null?void 0:e[t])??rt,o=n.findIndex(({label:f})=>f===l),s=n[o].pinned;let i=-1;for(let f=n.length-1;f>=0;f--)if(n[f].pinned){i=f;break}const a=[...n];return a[o].pinned=!s,o>i&&!s?a.splice(i+1,0,a.splice(o,1)[0]):o=0;f--)if(o[f].pinned){i=f;break}const a=[...o];return t<=i&&!s?a[l].pinned=!0:t>i&&s&&(a[l].pinned=!1),a.splice(t,0,a.splice(l,1)[0]),{...e,[n]:a.map((f,u)=>u>rf-1?{...f,pinned:!1}:f)}}default:return e}},hl=r=>{ol.update(e=>uf(r,e))},Ln=(r,e)=>{hl({type:"WORKFLOW_COLUMN.ADD",payload:{label:r,namespace:e}})},cf=(r,e)=>{hl({type:"WORKFLOW_COLUMN.REMOVE",payload:{label:r,namespace:e}})},mf=(r,e,l)=>{hl({type:"WORKFLOW_COLUMN.MOVE",payload:{from:r,to:e,namespace:l}})};function yn(r){let e,l,t,n,o;return l=new Pe({props:{disabled:r[5]===0,icon:"chevron-up","data-testid":"orderable-list-item-"+r[1]+"-move-up-button",label:r[7]}}),l.$on("click",r[19]),n=new Pe({props:{disabled:r[5]===r[6]-1,icon:"chevron-down","data-testid":"orderable-list-item-"+r[1]+"-move-down-button",label:r[8]}}),n.$on("click",r[20]),{c(){e=F("div"),E(l.$$.fragment),t=W(),E(n.$$.fragment),this.h()},l(s){e=O(s,"DIV",{class:!0});var i=M(e);T(l.$$.fragment,i),t=V(i),T(n.$$.fragment,i),i.forEach(g),this.h()},h(){S(e,"class","flex items-center")},m(s,i){I(s,e,i),D(l,e,null),P(e,t),D(n,e,null),o=!0},p(s,i){const a={};i&32&&(a.disabled=s[5]===0),i&2&&(a["data-testid"]="orderable-list-item-"+s[1]+"-move-up-button"),i&128&&(a.label=s[7]),l.$set(a);const f={};i&96&&(f.disabled=s[5]===s[6]-1),i&2&&(f["data-testid"]="orderable-list-item-"+s[1]+"-move-down-button"),i&256&&(f.label=s[8]),n.$set(f)},i(s){o||(p(l.$$.fragment,s),p(n.$$.fragment,s),o=!0)},o(s){$(l.$$.fragment,s),$(n.$$.fragment,s),o=!1},d(s){s&&g(e),L(l),L(n)}}}function Cn(r){let e,l,t,n;const o=[df,_f],s=[];function i(a,f){return a[3]?0:1}return e=i(r),l=s[e]=o[e](r),{c(){l.c(),t=ee()},l(a){l.l(a),t=ee()},m(a,f){s[e].m(a,f),I(a,t,f),n=!0},p(a,f){let u=e;e=i(a),e===u?s[e].p(a,f):(J(),$(s[u],1,1,()=>{s[u]=null}),X(),l=s[e],l?l.p(a,f):(l=s[e]=o[e](a),l.c()),p(l,1),l.m(t.parentNode,t))},i(a){n||(p(l),n=!0)},o(a){$(l),n=!1},d(a){s[e].d(a),a&&g(t)}}}function _f(r){let e,l;return e=new Pe({props:{icon:"pin","data-testid":"orderable-list-item-"+r[1]+"-pin-button",label:r[9]}}),e.$on("click",r[22]),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&2&&(o["data-testid"]="orderable-list-item-"+t[1]+"-pin-button"),n&512&&(o.label=t[9]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function df(r){let e,l;return e=new Pe({props:{icon:"pin-filled","data-testid":"orderable-list-item-"+r[1]+"-unpin-button",label:r[10]}}),e.$on("click",r[21]),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&2&&(o["data-testid"]="orderable-list-item-"+t[1]+"-unpin-button"),n&1024&&(o.label=t[10]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Bn(r){let e,l,t,n;const o=[gf,pf],s=[];function i(a,f){return a[0]?0:1}return e=i(r),l=s[e]=o[e](r),{c(){l.c(),t=ee()},l(a){l.l(a),t=ee()},m(a,f){s[e].m(a,f),I(a,t,f),n=!0},p(a,f){let u=e;e=i(a),e===u?s[e].p(a,f):(J(),$(s[u],1,1,()=>{s[u]=null}),X(),l=s[e],l?l.p(a,f):(l=s[e]=o[e](a),l.c()),p(l,1),l.m(t.parentNode,t))},i(a){n||(p(l),n=!0)},o(a){$(l),n=!1},d(a){s[e].d(a),a&&g(t)}}}function pf(r){let e,l;return e=new Pe({props:{icon:"hyphen","data-testid":"orderable-list-item-"+r[1]+"-remove-button",label:r[12]}}),e.$on("click",r[24]),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&2&&(o["data-testid"]="orderable-list-item-"+t[1]+"-remove-button"),n&4096&&(o.label=t[12]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function gf(r){let e,l;return e=new Pe({props:{icon:"add","data-testid":"orderable-list-item-"+r[1]+"-add-button",label:r[11]}}),e.$on("click",r[23]),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&2&&(o["data-testid"]="orderable-list-item-"+t[1]+"-add-button"),n&2048&&(o.label=t[11]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function hf(r){let e,l,t,n,o,s,i,a,f,u,c,m,_,d=!r[0]&&!r[4]&&yn(r),h=!r[0]&&!r[4]&&r[5]<=r[2]-1&&Cn(r),b=!r[4]&&Bn(r);return{c(){e=F("li"),l=F("div"),d&&d.c(),t=W(),n=j(r[1]),o=W(),h&&h.c(),s=W(),b&&b.c(),f=W(),u=F("hr"),this.h()},l(w){e=O(w,"LI",{draggable:!0,class:!0,"data-testid":!0});var C=M(e);l=O(C,"DIV",{class:!0});var k=M(l);d&&d.l(k),t=V(k),n=Q(k,r[1]),o=V(k),h&&h.l(k),k.forEach(g),s=V(C),b&&b.l(C),C.forEach(g),f=V(w),u=O(w,"HR",{class:!0}),this.h()},h(){S(l,"class","flex flex-row items-center gap-2"),S(e,"draggable",i=!r[0]&&!r[4]),S(e,"class","orderable-item group svelte-1btkzzb"),S(e,"data-testid",a="orderable-list-item-"+r[1]),ae(e,"readonly",r[4]),S(u,"class","svelte-1btkzzb")},m(w,C){I(w,e,C),P(e,l),d&&d.m(l,null),P(l,t),P(l,n),P(l,o),h&&h.m(l,null),P(e,s),b&&b.m(e,null),I(w,f,C),I(w,u,C),c=!0,m||(_=[pe(e,"dragstart",r[25]),pe(e,"drop",Tt(r[26])),pe(e,"dragenter",Xe(Tt(r[16]))),pe(e,"dragleave",Xe(Tt(r[17]))),pe(e,"dragover",Xe(Tt(r[18])))],m=!0)},p(w,[C]){!w[0]&&!w[4]?d?(d.p(w,C),C&17&&p(d,1)):(d=yn(w),d.c(),p(d,1),d.m(l,t)):d&&(J(),$(d,1,1,()=>{d=null}),X()),(!c||C&2)&&se(n,w[1]),!w[0]&&!w[4]&&w[5]<=w[2]-1?h?(h.p(w,C),C&53&&p(h,1)):(h=Cn(w),h.c(),p(h,1),h.m(l,null)):h&&(J(),$(h,1,1,()=>{h=null}),X()),w[4]?b&&(J(),$(b,1,1,()=>{b=null}),X()):b?(b.p(w,C),C&16&&p(b,1)):(b=Bn(w),b.c(),p(b,1),b.m(e,null)),(!c||C&17&&i!==(i=!w[0]&&!w[4]))&&S(e,"draggable",i),(!c||C&2&&a!==(a="orderable-list-item-"+w[1]))&&S(e,"data-testid",a),(!c||C&16)&&ae(e,"readonly",w[4])},i(w){c||(p(d),p(h),p(b),c=!0)},o(w){$(d),$(h),$(b),c=!1},d(w){w&&g(e),d&&d.d(),h&&h.d(),b&&b.d(),w&&g(f),w&&g(u),m=!1,wt(_)}}}function $f(r,e,l){const t=mt();let{static:n=!1}=e,{label:o}=e,{maxPinnedItems:s=void 0}=e,{pinned:i=!1}=e,{readonly:a=!1}=e,{index:f=0}=e,{totalItems:u=0}=e,{moveUpButtonLabel:c=""}=e,{moveDownButtonLabel:m=""}=e,{pinButtonLabel:_=""}=e,{unpinButtonLabel:d=""}=e,{addButtonLabel:h=""}=e,{removeButtonLabel:b=""}=e;const w=(G,de)=>{n||a||(G.dataTransfer.setData("text/plain",de.toString()),G.dataTransfer.dropEffect="move")},C=(G,de)=>{G.currentTarget.classList.remove("dragging-over");const ge=parseInt(G.dataTransfer.getData("text/plain"));t("moveItem",{from:ge,to:de})},k=G=>G.currentTarget.classList.add("dragging-over"),A=G=>G.currentTarget.classList.remove("dragging-over");function y(G){Se.call(this,r,G)}const v=()=>t("moveItem",{from:f,to:f-1}),B=()=>t("moveItem",{from:f,to:f+1}),q=()=>t("pinItem"),N=()=>t("pinItem"),Y=()=>t("addItem"),U=()=>t("removeItem"),R=G=>w(G,f),Z=G=>C(G,f);return r.$$set=G=>{"static"in G&&l(0,n=G.static),"label"in G&&l(1,o=G.label),"maxPinnedItems"in G&&l(2,s=G.maxPinnedItems),"pinned"in G&&l(3,i=G.pinned),"readonly"in G&&l(4,a=G.readonly),"index"in G&&l(5,f=G.index),"totalItems"in G&&l(6,u=G.totalItems),"moveUpButtonLabel"in G&&l(7,c=G.moveUpButtonLabel),"moveDownButtonLabel"in G&&l(8,m=G.moveDownButtonLabel),"pinButtonLabel"in G&&l(9,_=G.pinButtonLabel),"unpinButtonLabel"in G&&l(10,d=G.unpinButtonLabel),"addButtonLabel"in G&&l(11,h=G.addButtonLabel),"removeButtonLabel"in G&&l(12,b=G.removeButtonLabel)},[n,o,s,i,a,f,u,c,m,_,d,h,b,t,w,C,k,A,y,v,B,q,N,Y,U,R,Z]}class pt extends fe{constructor(e){super(),ue(this,e,$f,hf,ce,{static:0,label:1,maxPinnedItems:2,pinned:3,readonly:4,index:5,totalItems:6,moveUpButtonLabel:7,moveDownButtonLabel:8,pinButtonLabel:9,unpinButtonLabel:10,addButtonLabel:11,removeButtonLabel:12})}}const bf=r=>({}),Sn=r=>({});function kf(r){let e;return{c(){e=j("Items")},l(l){e=Q(l,"Items")},m(l,t){I(l,e,t)},d(l){l&&g(e)}}}function wf(r){let e,l;return e=new pt({props:{readonly:!0,label:"No Items",pinned:!1}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function vf(r){let e,l,t,n,o;const s=r[1].heading,i=be(s,r,r[0],Sn),a=i||kf(),f=r[1].default,u=be(f,r,r[0],null),c=u||wf();return{c(){e=F("div"),l=F("h4"),a&&a.c(),t=W(),n=F("ol"),c&&c.c(),this.h()},l(m){e=O(m,"DIV",{class:!0});var _=M(e);l=O(_,"H4",{class:!0});var d=M(l);a&&a.l(d),d.forEach(g),t=V(_),n=O(_,"OL",{class:!0});var h=M(n);c&&c.l(h),h.forEach(g),_.forEach(g),this.h()},h(){S(l,"class","orderable-heading svelte-cheqnz"),S(n,"class","orderable-list svelte-cheqnz"),S(e,"class","orderable-section svelte-cheqnz")},m(m,_){I(m,e,_),P(e,l),a&&a.m(l,null),P(e,t),P(e,n),c&&c.m(n,null),o=!0},p(m,[_]){i&&i.p&&(!o||_&1)&&ke(i,s,m,m[0],o?ve(s,m[0],_,bf):we(m[0]),Sn),u&&u.p&&(!o||_&1)&&ke(u,f,m,m[0],o?ve(f,m[0],_,null):we(m[0]),null)},i(m){o||(p(a,m),p(c,m),o=!0)},o(m){$(a,m),$(c,m),o=!1},d(m){m&&g(e),a&&a.d(m),c&&c.d(m)}}}function If(r,e,l){let{$$slots:t={},$$scope:n}=e;return r.$$set=o=>{"$$scope"in o&&l(0,n=o.$$scope)},[n,t]}let xt=class extends fe{constructor(e){super(),ue(this,e,If,vf,ce,{})}};function An(r,e,l){const t=r.slice();return t[12]=e[l].label,t}function Nn(r,e,l){const t=r.slice();return t[12]=e[l].label,t}function Pn(r,e,l){const t=r.slice();return t[12]=e[l].label,t[18]=l,t}function Fn(r){let e,l;return e=new pt({props:{readonly:!0,label:"No headings in view"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function On(r,e){let l,t,n;function o(){return e[9](e[12])}return t=new pt({props:{index:e[18],label:e[12],totalItems:e[3].length,addButtonLabel:H("workflows","add-column-label",{column:e[12]}),removeButtonLabel:H("workflows","remove-column-label",{column:e[12]}),moveUpButtonLabel:H("workflows","move-column-up-label",{column:e[12]}),moveDownButtonLabel:H("workflows","move-column-down-label",{column:e[12]}),pinButtonLabel:H("workflows","pin-column-label",{column:e[12]}),unpinButtonLabel:H("workflows","unpin-column-label",{column:e[12]})}}),t.$on("moveItem",e[8]),t.$on("removeItem",o),{key:r,first:null,c(){l=ee(),E(t.$$.fragment),this.h()},l(s){l=ee(),T(t.$$.fragment,s),this.h()},h(){this.first=l},m(s,i){I(s,l,i),D(t,s,i),n=!0},p(s,i){e=s;const a={};i&8&&(a.index=e[18]),i&8&&(a.label=e[12]),i&8&&(a.totalItems=e[3].length),i&8&&(a.addButtonLabel=H("workflows","add-column-label",{column:e[12]})),i&8&&(a.removeButtonLabel=H("workflows","remove-column-label",{column:e[12]})),i&8&&(a.moveUpButtonLabel=H("workflows","move-column-up-label",{column:e[12]})),i&8&&(a.moveDownButtonLabel=H("workflows","move-column-down-label",{column:e[12]})),i&8&&(a.pinButtonLabel=H("workflows","pin-column-label",{column:e[12]})),i&8&&(a.unpinButtonLabel=H("workflows","unpin-column-label",{column:e[12]})),t.$set(a)},i(s){n||(p(t.$$.fragment,s),n=!0)},o(s){$(t.$$.fragment,s),n=!1},d(s){s&&g(l),L(t,s)}}}function Ef(r){let e=[],l=new Map,t,n,o=r[3];const s=a=>a[12];for(let a=0;a{i=null}),X()):(i=Fn(),i.c(),p(i,1),i.m(t.parentNode,t)))},i(a){if(!n){for(let f=0;f$(n[i],1,1,()=>{n[i]=null});let s=null;return t.length||(s=Wn()),{c(){for(let i=0;i{s=null}),X()):(s=Wn(),s.c(),p(s,1),s.m(e.parentNode,e))}},i(i){if(!l){for(let a=0;a$(n[i],1,1,()=>{n[i]=null});let s=null;return t.length||(s=Mn()),{c(){for(let i=0;i{s=null}),X()):(s=Mn(),s.c(),p(s,1),s.m(e.parentNode,e))}},i(i){if(!l){for(let a=0;a(a(),a=el(n,k=>l(4,i=k)),n),u,c=K,m=()=>(c(),c=el(o,k=>l(5,u=k)),o);z(r,Jt,k=>l(7,s=k)),r.$$.on_destroy.push(()=>a()),r.$$.on_destroy.push(()=>c());var _;let{namespace:d}=e;const h=k=>mf(k.detail.from,k.detail.to,d),b=k=>cf(k,d),w=k=>Ln(k,d),C=k=>Ln(k,d);return r.$$set=k=>{"namespace"in k&&l(0,d=k.namespace)},r.$$.update=()=>{r.$$.dirty&193&&l(3,t=l(6,_=s==null?void 0:s[d])!==null&&_!==void 0?_:[]),r.$$.dirty&1&&f(l(2,n=af(d))),r.$$.dirty&1&&m(l(1,o=ff(d)))},[d,o,n,t,i,u,_,s,h,b,w,C]}class Af extends fe{constructor(e){super(),ue(this,e,Sf,Bf,ce,{namespace:0})}}const Hn=(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"],o=Math.floor(Math.log(r)/Math.log(l));return`${parseFloat((r/Math.pow(l,o)).toFixed(t))} ${n[o]}`},qt={WorkflowId:"Workflow ID",WorkflowType:"Type",RunId:"Run ID"},Ge={WorkflowId:"workflow-id",WorkflowType:"workflow-type",RunId:"run-id"},Nf={WorkflowId:"id",WorkflowType:"name",RunId:"runId"};function Pf(r){let e;return{c(){e=j(r[2])},l(l){e=Q(l,r[2])},m(l,t){I(l,e,t)},p(l,t){t&4&&se(e,l[2])},d(l){l&&g(e)}}}function Ff(r){let e,l,t,n;return e=new Et({props:{href:r[3],$$slots:{default:[Pf]},$$scope:{ctx:r}}}),t=new po({props:{copyIconTitle:H("copy-icon-title"),copySuccessIconTitle:H("copy-success-icon-title"),filterIconTitle:H("filter-workflows"),show:r[1],content:r[2],onFilter:r[5],filtered:r[4].some(r[9])}}),{c(){E(e.$$.fragment),l=W(),E(t.$$.fragment)},l(o){T(e.$$.fragment,o),l=V(o),T(t.$$.fragment,o)},m(o,s){D(e,o,s),I(o,l,s),D(t,o,s),n=!0},p(o,[s]){const i={};s&8&&(i.href=o[3]),s&2052&&(i.$$scope={dirty:s,ctx:o}),e.$set(i);const a={};s&2&&(a.show=o[1]),s&4&&(a.content=o[2]),s&21&&(a.filtered=o[4].some(o[9])),t.$set(a)},i(o){n||(p(e.$$.fragment,o),p(t.$$.fragment,o),n=!0)},o(o){$(e.$$.fragment,o),$(t.$$.fragment,o),n=!1},d(o){L(e,o),o&&g(l),L(t,o)}}}function Of(r,e,l){let t,n,o,s,i,a;z(r,At,d=>l(10,s=d)),z(r,he,d=>l(4,i=d)),z(r,Ie,d=>l(8,a=d));let{attribute:f}=e,{workflow:u}=e,{filterOrCopyButtonsVisible:c=!1}=e;const m=()=>{const d=i.find(b=>b.attribute===f),h=()=>i.filter(b=>b.attribute!==f);if(d)le(he,i=[...h()],i);else{const b={attribute:f,value:t,conditional:"=",operator:"",parenthesis:""};le(he,i=[...h(),b],i)}Ke(a.url,i,s)},_=d=>d.attribute===f&&d.value===t;return r.$$set=d=>{"attribute"in d&&l(0,f=d.attribute),"workflow"in d&&l(6,u=d.workflow),"filterOrCopyButtonsVisible"in d&&l(1,c=d.filterOrCopyButtonsVisible)},r.$$.update=()=>{r.$$.dirty&65&&l(2,t=u[Nf[f]]),r.$$.dirty&256&&l(7,n=a.params.namespace),r.$$.dirty&192&&l(3,o=Ro({namespace:n,workflow:u.id,run:u.runId}))},[f,c,t,o,i,m,u,n,a,_]}class $l extends fe{constructor(e){super(),ue(this,e,Of,Ff,ce,{attribute:0,workflow:6,filterOrCopyButtonsVisible:1})}}function Wf(r){const e=r.slice(),l=e[0].searchAttributes.indexedFields[e[2]];return e[9]=l,e}function Vf(r){let e,l,t,n,o;const s=[Jf,Gf,Yf,Kf,zf,Qf,jf,qf,Uf,Hf,Rf],i=[];function a(u,c){return c&5&&(l=null),u[2]==="Status"?0:u[2]==="End"?1:u[2]==="Start"?2:u[2]==="Task Queue"?3:u[2]==="Parent Namespace"?4:u[2]==="History Size"?5:u[2]==="State Transitions"?6:u[2]==="Execution Time"?7:u[2]==="Execution Duration"?8:u[2]==="History Length"?9:(l==null&&(l=!!(Ao(u[2])&&No(u[0],u[2]))),l?10:-1)}function f(u,c){return c===10?Wf(u):u}return~(t=a(r,-1))&&(n=i[t]=s[t](f(r,t))),{c(){e=F("td"),n&&n.c(),this.h()},l(u){e=O(u,"TD",{class:!0,"data-testid":!0});var c=M(e);n&&n.l(c),c.forEach(g),this.h()},h(){S(e,"class","workflows-summary-table-body-cell svelte-qupenl"),S(e,"data-testid","workflows-summary-table-body-cell")},m(u,c){I(u,e,c),~t&&i[t].m(e,null),o=!0},p(u,c){let m=t;t=a(u,c),t===m?~t&&i[t].p(f(u,t),c):(n&&(J(),$(i[m],1,1,()=>{i[m]=null}),X()),~t?(n=i[t],n?n.p(f(u,t),c):(n=i[t]=s[t](f(u,t)),n.c()),p(n,1),n.m(e,null)):n=null)},i(u){o||(p(n),o=!0)},o(u){$(n),o=!1},d(u){u&&g(e),~t&&i[t].d()}}}function Mf(r){let e,l,t,n,o,s;const i=[nu,lu,tu],a=[];function f(u,c){return u[2]==="Type"?0:u[2]==="Workflow ID"?1:u[2]==="Run ID"?2:-1}return~(l=f(r))&&(t=a[l]=i[l](r)),{c(){e=F("td"),t&&t.c(),this.h()},l(u){e=O(u,"TD",{class:!0,"data-testid":!0});var c=M(e);t&&t.l(c),c.forEach(g),this.h()},h(){S(e,"class","workflows-summary-table-body-cell filterable svelte-qupenl"),S(e,"data-testid","workflows-summary-table-body-cell")},m(u,c){I(u,e,c),~l&&a[l].m(e,null),n=!0,o||(s=[pe(e,"mouseover",r[6]),pe(e,"focus",r[6]),pe(e,"mouseleave",r[7]),pe(e,"blur",r[7])],o=!0)},p(u,c){let m=l;l=f(u),l===m?~l&&a[l].p(u,c):(t&&(J(),$(a[m],1,1,()=>{a[m]=null}),X()),~l?(t=a[l],t?t.p(u,c):(t=a[l]=i[l](u),t.c()),p(t,1),t.m(e,null)):t=null)},i(u){n||(p(t),n=!0)},o(u){$(t),n=!1},d(u){u&&g(e),~l&&a[l].d(),o=!1,wt(s)}}}function Rf(r){let e,l,t,n;const o=[xf,Zf,Xf],s=[];function i(a,f){return a[5][a[2]]==="Datetime"&&typeof a[9]=="string"?0:a[5][a[2]]==="Bool"?1:2}return e=i(r),l=s[e]=o[e](r),{c(){l.c(),t=ee()},l(a){l.l(a),t=ee()},m(a,f){s[e].m(a,f),I(a,t,f),n=!0},p(a,f){let u=e;e=i(a),e===u?s[e].p(a,f):(J(),$(s[u],1,1,()=>{s[u]=null}),X(),l=s[e],l?l.p(a,f):(l=s[e]=o[e](a),l.c()),p(l,1),l.m(t.parentNode,t))},i(a){n||(p(l),n=!0)},o(a){$(l),n=!1},d(a){s[e].d(a),a&&g(t)}}}function Hf(r){let e=(parseInt(r[0].historyEvents,10)>0?r[0].historyEvents:"")+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&1&&e!==(e=(parseInt(t[0].historyEvents,10)>0?t[0].historyEvents:"")+"")&&se(l,e)},i:K,o:K,d(t){t&&g(l)}}}function Uf(r){let e=Nl({start:r[0].startTime,end:r[0].endTime})+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&1&&e!==(e=Nl({start:t[0].startTime,end:t[0].endTime})+"")&&se(l,e)},i:K,o:K,d(t){t&&g(l)}}}function qf(r){let e=Ne(r[0].executionTime,r[3],{relative:r[4]})+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&25&&e!==(e=Ne(t[0].executionTime,t[3],{relative:t[4]})+"")&&se(l,e)},i:K,o:K,d(t){t&&g(l)}}}function jf(r){let e=(parseInt(r[0].stateTransitionCount,10)>0?r[0].stateTransitionCount:"")+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&1&&e!==(e=(parseInt(t[0].stateTransitionCount,10)>0?t[0].stateTransitionCount:"")+"")&&se(l,e)},i:K,o:K,d(t){t&&g(l)}}}function Qf(r){let e=Hn(parseInt(r[0].historySizeBytes,10))+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&1&&e!==(e=Hn(parseInt(t[0].historySizeBytes,10))+"")&&se(l,e)},i:K,o:K,d(t){t&&g(l)}}}function zf(r){let e=r[0].parentNamespaceId+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&1&&e!==(e=t[0].parentNamespaceId+"")&&se(l,e)},i:K,o:K,d(t){t&&g(l)}}}function Kf(r){let e=r[0].taskQueue+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&1&&e!==(e=t[0].taskQueue+"")&&se(l,e)},i:K,o:K,d(t){t&&g(l)}}}function Yf(r){let e=Ne(r[0].startTime,r[3],{relative:r[4]})+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&25&&e!==(e=Ne(t[0].startTime,t[3],{relative:t[4]})+"")&&se(l,e)},i:K,o:K,d(t){t&&g(l)}}}function Gf(r){let e=Ne(r[0].endTime,r[3],{relative:r[4]})+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&25&&e!==(e=Ne(t[0].endTime,t[3],{relative:t[4]})+"")&&se(l,e)},i:K,o:K,d(t){t&&g(l)}}}function Jf(r){let e,l;return e=new Kt({props:{status:r[0].status}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&1&&(o.status=t[0].status),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Xf(r){let e=r[9]+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&5&&e!==(e=t[9]+"")&&se(l,e)},i:K,o:K,d(t){t&&g(l)}}}function Zf(r){let e,l;return e=new Mo({props:{$$slots:{default:[eu]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&1029&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function xf(r){let e=Ne(r[9],r[3],{relative:r[4]})+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&29&&e!==(e=Ne(t[9],t[3],{relative:t[4]})+"")&&se(l,e)},i:K,o:K,d(t){t&&g(l)}}}function eu(r){let e=r[9]+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&5&&e!==(e=t[9]+"")&&se(l,e)},d(t){t&&g(l)}}}function tu(r){let e,l;return e=new $l({props:{filterOrCopyButtonsVisible:r[1],attribute:"RunId",workflow:r[0]}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&2&&(o.filterOrCopyButtonsVisible=t[1]),n&1&&(o.workflow=t[0]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function lu(r){let e,l;return e=new $l({props:{filterOrCopyButtonsVisible:r[1],attribute:"WorkflowId",workflow:r[0]}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&2&&(o.filterOrCopyButtonsVisible=t[1]),n&1&&(o.workflow=t[0]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function nu(r){let e,l;return e=new $l({props:{filterOrCopyButtonsVisible:r[1],attribute:"WorkflowType",workflow:r[0]}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&2&&(o.filterOrCopyButtonsVisible=t[1]),n&1&&(o.workflow=t[0]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function ru(r){let e,l,t,n;const o=[Mf,Vf],s=[];function i(a,f){return a[2]==="Run ID"||a[2]==="Workflow ID"||a[2]==="Type"?0:1}return e=i(r),l=s[e]=o[e](r),{c(){l.c(),t=ee()},l(a){l.l(a),t=ee()},m(a,f){s[e].m(a,f),I(a,t,f),n=!0},p(a,[f]){let u=e;e=i(a),e===u?s[e].p(a,f):(J(),$(s[u],1,1,()=>{s[u]=null}),X(),l=s[e],l?l.p(a,f):(l=s[e]=o[e](a),l.c()),p(l,1),l.m(t.parentNode,t))},i(a){n||(p(l),n=!0)},o(a){$(l),n=!1},d(a){s[e].d(a),a&&g(t)}}}function ou(r,e,l){let t,n,o,s;z(r,Vt,m=>l(3,n=m)),z(r,$r,m=>l(4,o=m)),z(r,Er,m=>l(5,s=m));let{column:i}=e,{workflow:a}=e,f=!1;const u=()=>l(1,f=!0),c=()=>l(1,f=!1);return r.$$set=m=>{"column"in m&&l(8,i=m.column),"workflow"in m&&l(0,a=m.workflow)},r.$$.update=()=>{r.$$.dirty&256&&l(2,{label:t}=i,t)},[a,f,t,n,o,s,u,c,i]}class su extends fe{constructor(e){super(),ue(this,e,ou,ru,ce,{column:8,workflow:0})}}function au(r){let e=qt[r[0]]+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&1&&e!==(e=qt[t[0]]+"")&&se(l,e)},d(t){t&&g(l)}}}function iu(r){let e,l;return e=new ye({props:{name:"filter",slot:"trailing"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function fu(r){let e,l,t;function n(s){r[6](s)}let o={icon:"search",type:"search",label:H("search"),labelHidden:!0,id:Ge[r[0]],placeholder:qt[r[0]],class:"flex items-center p-2 transition-all hover:cursor-pointer",autoFocus:!0,clearable:!0,clearButtonLabel:H("clear-input-button-label")};return r[1]!==void 0&&(o.value=r[1]),e=new Ae({props:o}),ie.push(()=>me(e,"value",n)),e.$on("input",r[2]),e.$on("clear",r[4]),{c(){E(e.$$.fragment)},l(s){T(e.$$.fragment,s)},m(s,i){D(e,s,i),t=!0},p(s,i){const a={};i&1&&(a.id=Ge[s[0]]),i&1&&(a.placeholder=qt[s[0]]),!l&&i&2&&(l=!0,a.value=s[1],_e(()=>l=!1)),e.$set(a)},i(s){t||(p(e.$$.fragment,s),t=!0)},o(s){$(e.$$.fragment,s),t=!1},d(s){L(e,s)}}}function uu(r){let e,l,t,n;return e=new lt({props:{"data-testid":Ge[r[0]]+"-filter-button",variant:"table-header",controls:Ge[r[0]]+"-filter-menu",$$slots:{trailing:[iu],default:[au]},$$scope:{ctx:r}}}),e.$on("click",r[3]),t=new nt({props:{keepOpen:!0,id:Ge[r[0]]+"-filter-menu",class:"w-[500px]",$$slots:{default:[fu]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment),l=W(),E(t.$$.fragment)},l(o){T(e.$$.fragment,o),l=V(o),T(t.$$.fragment,o)},m(o,s){D(e,o,s),I(o,l,s),D(t,o,s),n=!0},p(o,s){const i={};s&1&&(i["data-testid"]=Ge[o[0]]+"-filter-button"),s&1&&(i.controls=Ge[o[0]]+"-filter-menu"),s&1025&&(i.$$scope={dirty:s,ctx:o}),e.$set(i);const a={};s&1&&(a.id=Ge[o[0]]+"-filter-menu"),s&1027&&(a.$$scope={dirty:s,ctx:o}),t.$set(a)},i(o){n||(p(e.$$.fragment,o),p(t.$$.fragment,o),n=!0)},o(o){$(e.$$.fragment,o),$(t.$$.fragment,o),n=!1},d(o){L(e,o),o&&g(l),L(t,o)}}}function cu(r){let e,l;return e=new tt({props:{$$slots:{default:[uu]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,[n]){const o={};n&1027&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function mu(r,e,l){let t,n,o;z(r,he,_=>l(5,n=_)),z(r,Ie,_=>l(8,o=_));let s="",{attribute:i}=e;const a=()=>n.filter(_=>_.attribute!==i),f=_=>{const{value:d}=_.target;if(d){const h={attribute:i,value:d,conditional:"=",operator:"",parenthesis:""};le(he,n=[...a(),h],n)}else le(he,n=[...a()],n);Ke(o.url,n)};function u(_){const{open:d}=_.detail;d&&(t!=null&&t.value)?l(1,s=t.value):d&&!t&&s&&l(1,s="")}function c(){le(he,n=[...a()],n),Ke(o.url,n)}function m(_){s=_,l(1,s)}return r.$$set=_=>{"attribute"in _&&l(0,i=_.attribute)},r.$$.update=()=>{r.$$.dirty&33&&(t=n.find(_=>_.attribute===i))},[i,s,f,u,c,n,m]}class bl extends fe{constructor(e){super(),ue(this,e,mu,cu,ce,{attribute:0})}}function Un(r,e,l){const t=r.slice();return t[7]=e[l],t}function _u(r){let e=H("status")+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function du(r){let e,l;return e=new ye({props:{name:"filter",slot:"trailing"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function pu(r){let e,l;return e=new Kt({props:{status:r[7]}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function gu(r){let e,l;return e=new Fe({props:{namespace:"workflows",key:"all-statuses"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function hu(r){let e,l,t,n;const o=[gu,pu],s=[];function i(a,f){return a[7]==="All"?0:1}return e=i(r),l=s[e]=o[e](r),{c(){l.c(),t=W()},l(a){l.l(a),t=V(a)},m(a,f){s[e].m(a,f),I(a,t,f),n=!0},p(a,f){l.p(a,f)},i(a){n||(p(l),n=!0)},o(a){$(l),n=!1},d(a){s[e].d(a),a&&g(t)}}}function $u(r){let e,l;function t(...o){return r[3](r[7],...o)}function n(){return r[4](r[7])}return e=new Gt({props:{slot:"leading",label:r[7],labelHidden:!0,tabindex:-1,checked:r[0].some(t)||!r[0].length&&r[7]==="All"}}),e.$on("click",n),{c(){E(e.$$.fragment)},l(o){T(e.$$.fragment,o)},m(o,s){D(e,o,s),l=!0},p(o,s){r=o;const i={};s&1&&(i.checked=r[0].some(t)||!r[0].length&&r[7]==="All"),e.$set(i)},i(o){l||(p(e.$$.fragment,o),l=!0)},o(o){$(e.$$.fragment,o),l=!1},d(o){L(e,o)}}}function qn(r){let e,l;function t(){return r[5](r[7])}return e=new $e({props:{$$slots:{leading:[$u],default:[hu]},$$scope:{ctx:r}}}),e.$on("click",t),{c(){E(e.$$.fragment)},l(n){T(e.$$.fragment,n)},m(n,o){D(e,n,o),l=!0},p(n,o){r=n;const s={};o&1025&&(s.$$scope={dirty:o,ctx:r}),e.$set(s)},i(n){l||(p(e.$$.fragment,n),l=!0)},o(n){$(e.$$.fragment,n),l=!1},d(n){L(e,n)}}}function bu(r){let e,l,t=tn,n=[];for(let s=0;s$(n[s],1,1,()=>{n[s]=null});return{c(){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}})}function vu(r,e,l){let t,n,o;z(r,he,u=>l(2,n=u)),z(r,Ie,u=>l(6,o=u));const s=u=>{if(u==="All")le(he,n=n.filter(c=>c.attribute!=="ExecutionStatus"),n);else if(t.find(c=>c.value===u)){const c=n.filter(m=>m.attribute!=="ExecutionStatus");le(he,n=[...c,...jn(t.filter(m=>m.value!==u))],n)}else if(!t.length)le(he,n=[...n,sl(u)],n);else{const c=n.filter(m=>m.attribute!=="ExecutionStatus");le(he,n=[...c,...jn([...t,sl(u)])],n)}Ke(o.url,n)},i=(u,c)=>c.value===u,a=u=>s(u),f=u=>s(u);return r.$$.update=()=>{r.$$.dirty&4&&l(0,t=n.filter(u=>u.attribute==="ExecutionStatus"))},[t,s,n,i,a,f]}class Iu extends fe{constructor(e){super(),ue(this,e,vu,wu,ce,{})}}function Eu(r){let e;return{c(){e=j(r[0])},l(l){e=Q(l,r[0])},m(l,t){I(l,e,t)},p(l,t){t&1&&se(e,l[0])},d(l){l&&g(e)}}}function Tu(r){let e;return{c(){e=j(r[0])},l(l){e=Q(l,r[0])},m(l,t){I(l,e,t)},p(l,t){t&1&&se(e,l[0])},i:K,o:K,d(l){l&&g(e)}}}function Du(r){let e,l;return e=new bl({props:{attribute:"WorkflowType"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Lu(r){let e,l;return e=new bl({props:{attribute:"RunId"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function yu(r){let e,l;return e=new bl({props:{attribute:"WorkflowId"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Cu(r){let e,l;return e=new Iu({}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Bu(r){let e,l,t,n;const o=[Cu,yu,Lu,Du,Tu],s=[];function i(a,f){return a[0]==="Status"?0:a[0]==="Workflow ID"?1:a[0]==="Run ID"?2:a[0]==="Type"?3:4}return e=i(r),l=s[e]=o[e](r),{c(){l.c(),t=ee()},l(a){l.l(a),t=ee()},m(a,f){s[e].m(a,f),I(a,t,f),n=!0},p(a,f){let u=e;e=i(a),e===u?s[e].p(a,f):(J(),$(s[u],1,1,()=>{s[u]=null}),X(),l=s[e],l?l.p(a,f):(l=s[e]=o[e](a),l.c()),p(l,1),l.m(t.parentNode,t))},i(a){n||(p(l),n=!0)},o(a){$(l),n=!1},d(a){s[e].d(a),a&&g(t)}}}function Su(r){let e,l,t,n;return l=new al({props:{$$slots:{fallback:[Bu],default:[Eu]},$$scope:{ctx:r}}}),{c(){e=F("th"),E(l.$$.fragment),this.h()},l(o){e=O(o,"TH",{class:!0,"data-testid":!0});var s=M(e);T(l.$$.fragment,s),s.forEach(g),this.h()},h(){S(e,"class","workflows-summary-table-header-cell svelte-x2wk3"),S(e,"data-testid",t="workflows-summary-table-header-cell-"+r[0])},m(o,s){I(o,e,s),D(l,e,null),n=!0},p(o,[s]){const i={};s&5&&(i.$$scope={dirty:s,ctx:o}),l.$set(i),(!n||s&1&&t!==(t="workflows-summary-table-header-cell-"+o[0]))&&S(e,"data-testid",t)},i(o){n||(p(l.$$.fragment,o),n=!0)},o(o){$(l.$$.fragment,o),n=!1},d(o){o&&g(e),L(l)}}}function Au(r,e,l){let t,{column:n}=e;return r.$$set=o=>{"column"in o&&l(1,n=o.column)},r.$$.update=()=>{r.$$.dirty&2&&l(0,{label:t}=n,t)},[t,n]}class Nu extends fe{constructor(e){super(),ue(this,e,Au,Su,ce,{column:1})}}const Pu=["workflowCancelDisabled","workflowTerminateDisabled"],Fu=r=>r.disableWriteActions||r.batchActionsDisabled?!1:Pu.some(e=>!r[e]),Mr=dt([Lr,vt,Ho,eo],([r,e,l,t])=>(t?!0:Dr(r,"1.18.0"))&&e&&Fu(l));function Ou(r){let e,l,t,n,o;const s=r[5].default,i=be(s,r,r[4],null);return{c(){e=F("button"),i&&i.c(),this.h()},l(a){e=O(a,"BUTTON",{"data-testid":!0,class:!0});var f=M(e);i&&i.l(f),f.forEach(g),this.h()},h(){S(e,"data-testid",r[0]),e.disabled=r[1],S(e,"class",l="bulk-action-button "+r[2]+" "+r[3].class+" svelte-19w6g7u")},m(a,f){I(a,e,f),i&&i.m(e,null),t=!0,n||(o=pe(e,"click",r[6]),n=!0)},p(a,[f]){i&&i.p&&(!t||f&16)&&ke(i,s,a,a[4],t?ve(s,a[4],f,null):we(a[4]),null),(!t||f&1)&&S(e,"data-testid",a[0]),(!t||f&2)&&(e.disabled=a[1]),(!t||f&12&&l!==(l="bulk-action-button "+a[2]+" "+a[3].class+" svelte-19w6g7u"))&&S(e,"class",l)},i(a){t||(p(i,a),t=!0)},o(a){$(i,a),t=!1},d(a){a&&g(e),i&&i.d(a),n=!1,o()}}}function Wu(r,e,l){let{$$slots:t={},$$scope:n}=e,{testId:o=null}=e,{disabled:s=!1}=e,{variant:i="primary"}=e;function a(f){Se.call(this,r,f)}return r.$$set=f=>{l(3,e=ut(ut({},e),$t(f))),"testId"in f&&l(0,o=f.testId),"disabled"in f&&l(1,s=f.disabled),"variant"in f&&l(2,i=f.variant),"$$scope"in f&&l(4,n=f.$$scope)},e=$t(e),[o,s,i,e,n,t,a]}class Rr extends fe{constructor(e){super(),ue(this,e,Wu,Ou,ce,{testId:0,disabled:1,variant:2})}}function Vu(r){let e,l,t,n,o,s,i,a,f,u,c;return l=new Fe({props:{namespace:"workflows",key:"n-selected",count:r[2]}}),i=new Fe({props:{namespace:"workflows",key:"select-all",count:r[1]}}),{c(){e=F("span"),E(l.$$.fragment),t=W(),n=F("span"),o=j("(or "),s=F("button"),E(i.$$.fragment),a=j(")"),this.h()},l(m){e=O(m,"SPAN",{class:!0});var _=M(e);T(l.$$.fragment,_),_.forEach(g),t=V(m),n=O(m,"SPAN",{});var d=M(n);o=Q(d,"(or "),s=O(d,"BUTTON",{"data-testid":!0,class:!0});var h=M(s);T(i.$$.fragment,h),h.forEach(g),a=Q(d,")"),d.forEach(g),this.h()},h(){S(e,"class","font-semibold"),S(s,"data-testid","select-all-workflows"),S(s,"class","cursor-pointer underline")},m(m,_){I(m,e,_),D(l,e,null),I(m,t,_),I(m,n,_),P(n,o),P(n,s),D(i,s,null),P(n,a),f=!0,u||(c=pe(s,"click",r[15]),u=!0)},p(m,_){const d={};_&4&&(d.count=m[2]),l.$set(d);const h={};_&2&&(h.count=m[1]),i.$set(h)},i(m){f||(p(l.$$.fragment,m),p(i.$$.fragment,m),f=!0)},o(m){$(l.$$.fragment,m),$(i.$$.fragment,m),f=!1},d(m){m&&g(e),L(l),m&&g(t),m&&g(n),L(i),u=!1,c()}}}function Mu(r){let e,l,t;return l=new Fe({props:{namespace:"workflows",key:"all-selected",count:r[1]}}),{c(){e=F("span"),E(l.$$.fragment),this.h()},l(n){e=O(n,"SPAN",{class:!0});var o=M(e);T(l.$$.fragment,o),o.forEach(g),this.h()},h(){S(e,"class","font-semibold")},m(n,o){I(n,e,o),D(l,e,null),t=!0},p(n,o){const s={};o&2&&(s.count=n[1]),l.$set(s)},i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){$(l.$$.fragment,n),t=!1},d(n){n&&g(e),L(l)}}}function Qn(r){let e,l;return e=new Rr({props:{testId:"bulk-cancel-button",disabled:r[3]||!r[7].length,$$slots:{default:[Ru]},$$scope:{ctx:r}}}),e.$on("click",Bc),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&136&&(o.disabled=t[3]||!t[7].length),n&65536&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Ru(r){let e=H("workflows","request-cancellation")+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function zn(r){let e,l;return e=new Rr({props:{variant:"destructive",testId:"bulk-terminate-button",disabled:r[3],$$slots:{default:[Hu]},$$scope:{ctx:r}}}),e.$on("click",Sc),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&8&&(o.disabled=t[3]),n&65536&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Hu(r){let e=H("workflows","terminate")+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Uu(r){let e,l,t,n,o,s;const i=[Mu,Vu],a=[];function f(m,_){return m[6]?0:1}e=f(r),l=a[e]=i[e](r);let u=r[4]&&Qn(r),c=r[5]&&zn(r);return{c(){l.c(),t=W(),n=F("div"),u&&u.c(),o=W(),c&&c.c(),this.h()},l(m){l.l(m),t=V(m),n=O(m,"DIV",{class:!0});var _=M(n);u&&u.l(_),o=V(_),c&&c.l(_),_.forEach(g),this.h()},h(){S(n,"class","ml-4 inline-flex gap-2")},m(m,_){a[e].m(m,_),I(m,t,_),I(m,n,_),u&&u.m(n,null),P(n,o),c&&c.m(n,null),s=!0},p(m,[_]){let d=e;e=f(m),e===d?a[e].p(m,_):(J(),$(a[d],1,1,()=>{a[d]=null}),X(),l=a[e],l?l.p(m,_):(l=a[e]=i[e](m),l.c()),p(l,1),l.m(t.parentNode,t)),m[4]?u?(u.p(m,_),_&16&&p(u,1)):(u=Qn(m),u.c(),p(u,1),u.m(n,o)):u&&(J(),$(u,1,1,()=>{u=null}),X()),m[5]?c?(c.p(m,_),_&32&&p(c,1)):(c=zn(m),c.c(),p(c,1),c.m(n,null)):c&&(J(),$(c,1,1,()=>{c=null}),X())},i(m){s||(p(l),p(u),p(c),s=!0)},o(m){$(l),$(u),$(c),s=!1},d(m){a[e].d(m),m&&g(t),m&&g(n),u&&u.d(),c&&c.d()}}}function qu(r,e,l){let t,n,o,s,i,a,f,u,c,m;z(r,Ie,k=>l(10,s=k)),z(r,Oe,k=>l(12,a=k)),z(r,vr,k=>l(13,f=k)),z(r,ht,k=>l(14,u=k)),z(r,et,k=>l(6,c=k)),z(r,jr,k=>l(7,m=k));var _;let{workflows:d}=e,h=Uo();z(r,h,k=>l(11,i=k));let b,w;const C=()=>Ac(d);return r.$$set=k=>{"workflows"in k&&l(0,d=k.workflows)},r.$$.update=()=>{r.$$.dirty&24576&&l(1,b=u?f.count:f.totalCount),r.$$.dirty&4608&&l(2,w=l(9,_=a==null?void 0:a.length)!==null&&_!==void 0?_:0),r.$$.dirty&1024&&l(5,t=oo(s.data.settings)),r.$$.dirty&1024&&l(4,n=so(s.data.settings)),r.$$.dirty&3072&&l(3,o=i.namespaceWriteDisabled(s.params.namespace))},[d,b,w,o,n,t,c,m,h,_,s,i,a,f,u,C]}class ju extends fe{constructor(e){super(),ue(this,e,qu,Uu,ce,{workflows:0})}}function Kn(r){let e,l,t,n;function o(i){r[13](i)}let s={label:r[4],labelHidden:!0,id:"select-visible-workflows","data-testid":"batch-actions-checkbox",onDark:!0,hoverable:!0,indeterminate:r[5]};return r[7]!==void 0&&(s.checked=r[7]),l=new Gt({props:s}),ie.push(()=>me(l,"checked",o)),l.$on("change",r[9]),{c(){e=F("th"),E(l.$$.fragment),this.h()},l(i){e=O(i,"TH",{class:!0});var a=M(e);T(l.$$.fragment,a),a.forEach(g),this.h()},h(){S(e,"class","batch-actions-checkbox-table-cell svelte-d401z4")},m(i,a){I(i,e,a),D(l,e,null),n=!0},p(i,a){const f={};a&16&&(f.label=i[4]),a&32&&(f.indeterminate=i[5]),!t&&a&128&&(t=!0,f.checked=i[7],_e(()=>t=!1)),l.$set(f)},i(i){n||(p(l.$$.fragment,i),n=!0)},o(i){$(l.$$.fragment,i),n=!1},d(i){i&&g(e),L(l)}}}function Qu(r){let e;const l=r[12].default,t=be(l,r,r[11],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,o){t&&t.m(n,o),e=!0},p(n,o){t&&t.p&&(!e||o&2048)&&ke(t,l,n,n[11],e?ve(l,n[11],o,null):we(n[11]),null)},i(n){e||(p(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function zu(r){let e,l,t;return l=new ju({props:{workflows:r[0]}}),{c(){e=F("th"),E(l.$$.fragment),this.h()},l(n){e=O(n,"TH",{class:!0,colspan:!0});var o=M(e);T(l.$$.fragment,o),o.forEach(g),this.h()},h(){S(e,"class","batch-actions-table-cell svelte-d401z4"),S(e,"colspan",r[3])},m(n,o){I(n,e,o),D(l,e,null),t=!0},p(n,o){const s={};o&1&&(s.workflows=n[0]),l.$set(s),(!t||o&8)&&S(e,"colspan",n[3])},i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){$(l.$$.fragment,n),t=!1},d(n){n&&g(e),L(l)}}}function Ku(r){let e,l,t,n,o,s,i,a,f=!r[1]&&r[6]&&Kn(r);const u=[zu,Qu],c=[];function m(_,d){return _[6]&&_[8]?0:1}return t=m(r),n=c[t]=u[t](r),i=new Pe({props:{"data-testid":"workflows-summary-table-configuration-button",icon:"vertical-ellipsis",label:H("workflows","open-configure-workflows")}}),i.$on("click",function(){_r(r[2])&&r[2].apply(this,arguments)}),{c(){e=F("tr"),f&&f.c(),l=W(),n.c(),o=W(),s=F("th"),E(i.$$.fragment),this.h()},l(_){e=O(_,"TR",{});var d=M(e);f&&f.l(d),l=V(d),n.l(d),o=V(d),s=O(d,"TH",{class:!0});var h=M(s);T(i.$$.fragment,h),h.forEach(g),d.forEach(g),this.h()},h(){S(s,"class","configuration-button-table-cell svelte-d401z4")},m(_,d){I(_,e,d),f&&f.m(e,null),P(e,l),c[t].m(e,null),P(e,o),P(e,s),D(i,s,null),a=!0},p(_,[d]){r=_,!r[1]&&r[6]?f?(f.p(r,d),d&66&&p(f,1)):(f=Kn(r),f.c(),p(f,1),f.m(e,l)):f&&(J(),$(f,1,1,()=>{f=null}),X());let h=t;t=m(r),t===h?c[t].p(r,d):(J(),$(c[h],1,1,()=>{c[h]=null}),X(),n=c[t],n?n.p(r,d):(n=c[t]=u[t](r),n.c()),p(n,1),n.m(e,o))},i(_){a||(p(f),p(n),p(i.$$.fragment,_),a=!0)},o(_){$(f),$(n),$(i.$$.fragment,_),a=!1},d(_){_&&g(e),f&&f.d(),c[t].d(),L(i)}}}function Yu(r,e,l){let t,n,o,s,i,a;z(r,Oe,w=>l(10,o=w)),z(r,Mr,w=>l(6,s=w)),z(r,yt,w=>l(7,i=w)),z(r,yc,w=>l(8,a=w));let{$$slots:f={},$$scope:u}=e,{workflows:c}=e,{empty:m}=e,{onClickConfigure:_=K}=e,{columnsCount:d}=e;const h=w=>{const{checked:C}=w.detail;Nc(C,c)};function b(w){i=w,yt.set(i)}return r.$$set=w=>{"workflows"in w&&l(0,c=w.workflows),"empty"in w&&l(1,m=w.empty),"onClickConfigure"in w&&l(2,_=w.onClickConfigure),"columnsCount"in w&&l(3,d=w.columnsCount),"$$scope"in w&&l(11,u=w.$$scope)},r.$$.update=()=>{r.$$.dirty&1025&&l(5,t=o.length>0&&o.lengthme(l,"group",o)),{c(){e=F("td"),E(l.$$.fragment)},l(i){e=O(i,"TD",{});var a=M(e);T(l.$$.fragment,a),a.forEach(g)},m(i,a){I(i,e,a),D(l,e,null),n=!0},p(i,a){const f={};a&4&&(f.label=i[2]),a&1&&(f.value=i[0]),a&32&&(f.disabled=i[5]),a&4&&(f["aria-label"]=i[2]),!t&&a&16&&(t=!0,f.group=i[4],_e(()=>t=!1)),l.$set(f)},i(i){n||(p(l.$$.fragment,i),n=!0)},o(i){$(l.$$.fragment,i),n=!1},d(i){i&&g(e),L(l)}}}function Ju(r){let e,l,t,n,o,s=!r[1]&&r[3]&&Yn(r);const i=r[7].default,a=be(i,r,r[6],null);return{c(){e=F("tr"),s&&s.c(),l=W(),a&&a.c(),t=W(),n=F("td"),this.h()},l(f){e=O(f,"TR",{"data-testid":!0});var u=M(e);s&&s.l(u),l=V(u),a&&a.l(u),t=V(u),n=O(u,"TD",{}),M(n).forEach(g),u.forEach(g),this.h()},h(){S(e,"data-testid","workflows-summary-configurable-table-row"),ae(e,"empty",r[1])},m(f,u){I(f,e,u),s&&s.m(e,null),P(e,l),a&&a.m(e,null),P(e,t),P(e,n),o=!0},p(f,[u]){!f[1]&&f[3]?s?(s.p(f,u),u&10&&p(s,1)):(s=Yn(f),s.c(),p(s,1),s.m(e,l)):s&&(J(),$(s,1,1,()=>{s=null}),X()),a&&a.p&&(!o||u&64)&&ke(a,i,f,f[6],o?ve(i,f[6],u,null):we(f[6]),null),(!o||u&2)&&ae(e,"empty",f[1])},i(f){o||(p(s),p(a,f),o=!0)},o(f){$(s),$(a,f),o=!1},d(f){f&&g(e),s&&s.d(),a&&a.d(f)}}}function Xu(r,e,l){let t,n,o,s;z(r,Mr,m=>l(3,n=m)),z(r,Oe,m=>l(4,o=m)),z(r,et,m=>l(5,s=m));let{$$slots:i={},$$scope:a}=e,{workflow:f=void 0}=e,{empty:u=!1}=e;function c(m){o=m,Oe.set(o)}return r.$$set=m=>{"workflow"in m&&l(0,f=m.workflow),"empty"in m&&l(1,u=m.empty),"$$scope"in m&&l(6,a=m.$$scope)},r.$$.update=()=>{r.$$.dirty&1&&l(2,t=H("workflows","select-workflow",{workflow:f==null?void 0:f.id}))},[f,u,t,n,o,s,a,i,c]}class Zu extends fe{constructor(e){super(),ue(this,e,Xu,Ju,ce,{workflow:0,empty:1})}}function Gn(r,e,l){const t=r.slice();return t[18]=e[l],t}function Jn(r,e,l){const t=r.slice();return t[15]=e[l],t}function Xn(r,e,l){const t=r.slice();return t[15]=e[l],t}const xu=r=>({}),Zn=r=>({slot:"cloud"});function xn(r){let e,l;return e=new su({props:{workflow:r[18],column:r[15]}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&16384&&(o.workflow=t[18]),n&16&&(o.column=t[15]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function ec(r){let e,l,t=r[4],n=[];for(let s=0;s$(n[s],1,1,()=>{n[s]=null});return{c(){for(let s=0;s$(n[s],1,1,()=>{n[s]=null});return{c(){for(let s=0;s$(n[s],1,1,()=>{n[s]=null});return{c(){for(let s=0;s({}),Vl=r=>({});function zo(r){let e;const l=r[2].fallback,t=be(l,r,r[1],Vl);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,o){t&&t.m(n,o),e=!0},p(n,o){t&&t.p&&(!e||o&2)&&ke(t,l,n,n[1],e?ve(l,n[1],o,Qo):we(n[1]),Vl)},i(n){e||(p(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function Ko(r){let e;const l=r[2].default,t=be(l,r,r[1],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,o){t&&t.m(n,o),e=!0},p(n,o){t&&t.p&&(!e||o&2)&&ke(t,l,n,n[1],e?ve(l,n[1],o,null):we(n[1]),null)},i(n){e||(p(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function Yo(r){let e,l,t,n;const o=[Ko,zo],s=[];function i(a,f){return a[0]?0:1}return e=i(r),l=s[e]=o[e](r),{c(){l.c(),t=ee()},l(a){l.l(a),t=ee()},m(a,f){s[e].m(a,f),I(a,t,f),n=!0},p(a,[f]){let u=e;e=i(a),e===u?s[e].p(a,f):(J(),$(s[u],1,1,()=>{s[u]=null}),X(),l=s[e],l?l.p(a,f):(l=s[e]=o[e](a),l.c()),p(l,1),l.m(t.parentNode,t))},i(a){n||(p(l),n=!0)},o(a){$(l),n=!1},d(a){s[e].d(a),a&&g(t)}}}function Go(r,e,l){let t;z(r,vt,s=>l(0,t=s));let{$$slots:n={},$$scope:o}=e;return r.$$set=s=>{"$$scope"in s&&l(1,o=s.$$scope)},[t,o,n]}class Jo extends fe{constructor(e){super(),ue(this,e,Go,Yo,ce,{})}}function Xo(r){let e;const l=r[6].default,t=be(l,r,r[5],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,o){t&&t.m(n,o),e=!0},p(n,o){t&&t.p&&(!e||o&32)&&ke(t,l,n,n[5],e?ve(l,n[5],o,null):we(n[5]),null)},i(n){e||(p(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function Zo(r){let e;return{c(){e=j(r[1])},l(l){e=Q(l,r[1])},m(l,t){I(l,e,t)},p(l,t){t&2&&se(e,l[1])},i:K,o:K,d(l){l&&g(e)}}}function xo(r){let e,l,t,n;const o=[Zo,Xo],s=[];function i(a,f){return a[1]!==a[0]?0:1}return e=i(r),l=s[e]=o[e](r),{c(){l.c(),t=ee()},l(a){l.l(a),t=ee()},m(a,f){s[e].m(a,f),I(a,t,f),n=!0},p(a,[f]){let u=e;e=i(a),e===u?s[e].p(a,f):(J(),$(s[u],1,1,()=>{s[u]=null}),X(),l=s[e],l?l.p(a,f):(l=s[e]=o[e](a),l.c()),p(l,1),l.m(t.parentNode,t))},i(a){n||(p(l),n=!0)},o(a){$(l),n=!1},d(a){s[e].d(a),a&&g(t)}}}function es(r,e,l){let t,{$$slots:n={},$$scope:o}=e,{key:s}=e,{namespace:i}=e,{count:a=void 0}=e,{replace:f=void 0}=e;return r.$$set=u=>{"key"in u&&l(0,s=u.key),"namespace"in u&&l(2,i=u.namespace),"count"in u&&l(3,a=u.count),"replace"in u&&l(4,f=u.replace),"$$scope"in u&&l(5,o=u.$$scope)},r.$$.update=()=>{r.$$.dirty&29&&l(1,t=H(i,s,a,f))},[s,t,i,a,f,o,n]}class Fe extends fe{constructor(e){super(),ue(this,e,es,xo,ce,{key:0,namespace:2,count:3,replace:4})}}function ts(r){let e,l,t;return l=new Fe({props:{namespace:"workflows",key:"batch-operation-modal-title",replace:{action:r[3]}}}),{c(){e=F("h3"),E(l.$$.fragment),this.h()},l(n){e=O(n,"H3",{slot:!0});var o=M(e);T(l.$$.fragment,o),o.forEach(g),this.h()},h(){S(e,"slot","title")},m(n,o){I(n,e,o),D(l,e,null),t=!0},p(n,o){const s={};o&8&&(s.replace={action:n[3]}),l.$set(s)},i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){$(l.$$.fragment,n),t=!1},d(n){n&&g(e),L(l)}}}function ls(r){let e,l,t;return l=new Fe({props:{namespace:"workflows",key:r[0]===bt.Cancel?"batch-cancel-confirmation":"batch-terminate-confirmation",count:r[1]}}),{c(){e=F("p"),E(l.$$.fragment)},l(n){e=O(n,"P",{});var o=M(e);T(l.$$.fragment,o),o.forEach(g)},m(n,o){I(n,e,o),D(l,e,null),t=!0},p(n,o){const s={};o&1&&(s.key=n[0]===bt.Cancel?"batch-cancel-confirmation":"batch-terminate-confirmation"),o&2&&(s.count=n[1]),l.$set(s)},i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){$(l.$$.fragment,n),t=!1},d(n){n&&g(e),L(l)}}}function ns(r){let e,l,t,n,o,s,i,a,f,u;return l=new Fe({props:{namespace:"workflows",key:"batch-operation-confirmation-all",replace:{action:r[3]}}}),f=new Fe({props:{namespace:"workflows",key:"batch-operation-count-disclaimer",replace:{action:r[3]}}}),{c(){e=F("p"),E(l.$$.fragment),t=W(),n=F("div"),o=F("code"),s=j(r[2]),i=W(),a=F("span"),E(f.$$.fragment),this.h()},l(c){e=O(c,"P",{class:!0});var m=M(e);T(l.$$.fragment,m),m.forEach(g),t=V(c),n=O(c,"DIV",{class:!0});var _=M(n);o=O(_,"CODE",{"data-testid":!0});var d=M(o);s=Q(d,r[2]),d.forEach(g),_.forEach(g),i=V(c),a=O(c,"SPAN",{class:!0});var h=M(a);T(f.$$.fragment,h),h.forEach(g),this.h()},h(){S(e,"class","mb-2"),S(o,"data-testid","batch-action-workflows-query"),S(n,"class","mb-2 overflow-scroll whitespace-nowrap rounded border border-primary bg-gray-100 p-2"),S(a,"class","text-xs")},m(c,m){I(c,e,m),D(l,e,null),I(c,t,m),I(c,n,m),P(n,o),P(o,s),I(c,i,m),I(c,a,m),D(f,a,null),u=!0},p(c,m){const _={};m&8&&(_.replace={action:c[3]}),l.$set(_),(!u||m&4)&&se(s,c[2]);const d={};m&8&&(d.replace={action:c[3]}),f.$set(d)},i(c){u||(p(l.$$.fragment,c),p(f.$$.fragment,c),u=!0)},o(c){$(l.$$.fragment,c),$(f.$$.fragment,c),u=!1},d(c){c&&g(e),L(l),c&&g(t),c&&g(n),c&&g(i),c&&g(a),L(f)}}}function rs(r){let e,l,t,n,o,s,i;const a=[ns,ls],f=[];function u(_,d){return _[9]?0:1}l=u(r),t=f[l]=a[l](r);function c(_){r[15](_)}let m={id:`bulk-action-reason-${r[0]}`,label:H("reason"),hintText:H("workflows","batch-operation-confirmation-input-hint",{placeholder:r[7]}),placeholder:r[7]};return r[4]!==void 0&&(m.value=r[4]),o=new Ae({props:m}),ie.push(()=>me(o,"value",c)),{c(){e=F("div"),t.c(),n=W(),E(o.$$.fragment),this.h()},l(_){e=O(_,"DIV",{class:!0});var d=M(e);t.l(d),d.forEach(g),n=V(_),T(o.$$.fragment,_),this.h()},h(){S(e,"class","mb-4 flex flex-col")},m(_,d){I(_,e,d),f[l].m(e,null),I(_,n,d),D(o,_,d),i=!0},p(_,d){let h=l;l=u(_),l===h?f[l].p(_,d):(J(),$(f[h],1,1,()=>{f[h]=null}),X(),t=f[l],t?t.p(_,d):(t=f[l]=a[l](_),t.c()),p(t,1),t.m(e,null));const b={};d&1&&(b.id=`bulk-action-reason-${_[0]}`),d&128&&(b.hintText=H("workflows","batch-operation-confirmation-input-hint",{placeholder:_[7]})),d&128&&(b.placeholder=_[7]),!s&&d&16&&(s=!0,b.value=_[4],_e(()=>s=!1)),o.$set(b)},i(_){i||(p(t),p(o.$$.fragment,_),i=!0)},o(_){$(t),$(o.$$.fragment,_),i=!1},d(_){_&&g(e),f[l].d(),_&&g(n),L(o,_)}}}function os(r){let e,l,t,n;function o(a){r[16](a)}function s(a){r[17](a)}let i={id:`batch-operation-confirmation-modal-${r[0]}`,"data-testid":"batch-"+r[3]+"-confirmation",confirmType:"destructive",cancelText:H("cancel"),confirmText:r[8],$$slots:{content:[rs],title:[ts]},$$scope:{ctx:r}};return r[5]!==void 0&&(i.open=r[5]),r[6]!==void 0&&(i.error=r[6]),e=new lo({props:i}),ie.push(()=>me(e,"open",o)),ie.push(()=>me(e,"error",s)),e.$on("confirmModal",r[10]),{c(){E(e.$$.fragment)},l(a){T(e.$$.fragment,a)},m(a,f){D(e,a,f),n=!0},p(a,[f]){const u={};f&1&&(u.id=`batch-operation-confirmation-modal-${a[0]}`),f&8&&(u["data-testid"]="batch-"+a[3]+"-confirmation"),f&256&&(u.confirmText=a[8]),f&524959&&(u.$$scope={dirty:f,ctx:a}),!l&&f&32&&(l=!0,u.open=a[5],_e(()=>l=!1)),!t&&f&64&&(t=!0,u.error=a[6],_e(()=>t=!1)),e.$set(u)},i(a){n||(p(e.$$.fragment,a),n=!0)},o(a){$(e.$$.fragment,a),n=!1},d(a){L(e,a)}}}function ss(r,e,l){let t,n,o,s,i;z(r,ao,v=>l(14,s=v)),z(r,et,v=>l(9,i=v));let{action:a}=e,{actionableWorkflowsLength:f}=e,{query:u}=e,c="",m=!1,_="";const d=()=>{l(4,c=""),l(5,m=!0)},h=()=>l(5,m=!1),b=v=>l(6,_=v),w=mt(),C=()=>{l(6,_=""),w("confirm",{reason:ro({action:a,reason:c,email:s.email})})};function k(v){c=v,l(4,c)}function A(v){m=v,l(5,m)}function y(v){_=v,l(6,_)}return r.$$set=v=>{"action"in v&&l(0,a=v.action),"actionableWorkflowsLength"in v&&l(1,f=v.actionableWorkflowsLength),"query"in v&&l(2,u=v.query)},r.$$.update=()=>{r.$$.dirty&1&&l(3,t=a===bt.Cancel?H("cancel"):H("workflows","terminate")),r.$$.dirty&9&&l(8,n=a===bt.Cancel?H("confirm"):t),r.$$.dirty&16385&&l(7,o=no(a,s.email))},[a,f,u,t,c,m,_,o,n,i,C,d,h,b,s,k,A,y]}class Ml extends fe{constructor(e){super(),ue(this,e,ss,os,ce,{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]}}function Rl(r,e,l){const t=r.slice();return t[9]=e[l].allowed,t[10]=e[l].value,t[12]=l,t}function Hl(r,e,l){const t=r.slice();return t[13]=e[l],t}function Ul(r){let e,l=r[13].label.slice(0,2)+"",t;return{c(){e=F("p"),t=j(l),this.h()},l(n){e=O(n,"P",{class:!0});var o=M(e);t=Q(o,l),o.forEach(g),this.h()},h(){S(e,"class","cell svelte-1we9vff")},m(n,o){I(n,e,o),P(e,t)},p:K,d(n){n&&g(e)}}}function ql(r,e){let l,t=(e[10]||"")+"",n,o,s,i;function a(){return e[6](e[10])}return{key:r,first:null,c(){l=F("button"),n=j(t),o=W(),this.h()},l(f){l=O(f,"BUTTON",{class:!0});var u=M(l);n=Q(u,t),o=V(u),u.forEach(g),this.h()},h(){S(l,"class","cell svelte-1we9vff"),ae(l,"highlight",e[9]&&e[10]),ae(l,"disabled",!e[9]),ae(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,u){I(f,l,u),P(l,n),P(l,o),s||(i=pe(l,"click",function(){_r(e[9]&&e[10]?a:K)&&(e[9]&&e[10]?a:K).apply(this,arguments)}),s=!0)},p(f,u){e=f,u&8&&t!==(t=(e[10]||"")+"")&&se(n,t),u&8&&ae(l,"highlight",e[9]&&e[10]),u&8&&ae(l,"disabled",!e[9]),u&15&&ae(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&&g(l),s=!1,i()}}}function as(r){let e,l,t,n,o=[],s=new Map,i=yl,a=[];for(let c=0;cc[12];for(let c=0;c!0}=e,a=[];const f=m=>{t("datechange",new Date(s,o,m))},u=(m,_,d)=>d?i(new Date(m,_,d)):!0,c=m=>f(m);return r.$$set=m=>{"date"in m&&l(0,n=m.date),"month"in m&&l(1,o=m.month),"year"in m&&l(2,s=m.year),"isAllowed"in m&&l(5,i=m.isAllowed)},r.$$.update=()=>{r.$$.dirty&6&&l(3,a=uo(o,s).map(m=>({value:m,allowed:u(s,o,m)})))},[n,o,s,a,f,i,c]}class fs extends fe{constructor(e){super(),ue(this,e,is,as,ce,{date:0,month:1,year:2,isAllowed:5})}}function jl(r){var R;let e,l,t,n,o,s,i,a=(((R=Cl(r[8]))==null?void 0:R.label)??"")+"",f,u,c,m,_,d,h,b,w,C,k,A,y,v,B,q,N,Y,U;return o=new ye({props:{name:"chevron-left"}}),h=new ye({props:{name:"chevron-right"}}),w=new fs({props:{month:r[8],year:r[9],date:r[0],isAllowed:r[1]}}),w.$on("datechange",r[15]),{c(){e=F("div"),l=F("div"),t=F("div"),n=F("button"),E(o.$$.fragment),s=W(),i=F("div"),f=j(a),u=W(),c=j(r[9]),m=W(),_=F("div"),d=F("button"),E(h.$$.fragment),b=W(),E(w.$$.fragment),C=W(),k=F("div"),A=F("button"),y=j(r[4]),v=W(),B=F("button"),q=j(r[5]),this.h()},l(Z){e=O(Z,"DIV",{class:!0});var G=M(e);l=O(G,"DIV",{class:!0});var de=M(l);t=O(de,"DIV",{class:!0});var ge=M(t);n=O(ge,"BUTTON",{});var x=M(n);T(o.$$.fragment,x),x.forEach(g),ge.forEach(g),s=V(de),i=O(de,"DIV",{class:!0});var oe=M(i);f=Q(oe,a),u=V(oe),c=Q(oe,r[9]),oe.forEach(g),m=V(de),_=O(de,"DIV",{class:!0});var Ee=M(_);d=O(Ee,"BUTTON",{});var De=M(d);T(h.$$.fragment,De),De.forEach(g),Ee.forEach(g),de.forEach(g),b=V(G),T(w.$$.fragment,G),C=V(G),k=O(G,"DIV",{class:!0});var Ce=M(k);A=O(Ce,"BUTTON",{class:!0});var Le=M(A);y=Q(Le,r[4]),Le.forEach(g),v=V(Ce),B=O(Ce,"BUTTON",{class:!0});var We=M(B);q=Q(We,r[5]),We.forEach(g),Ce.forEach(g),G.forEach(g),this.h()},h(){S(t,"class","flex items-center justify-center"),S(i,"class","flex items-center justify-center"),S(_,"class","flex items-center justify-center"),S(l,"class","mx-3 my-2 flex items-center justify-around"),S(A,"class","cursor-pointer text-[12px]"),S(B,"class","cursor-pointer text-[12px]"),S(k,"class","my-1 flex justify-between px-2"),S(e,"class","absolute z-50 inline-block rounded border border-gray-900 bg-white shadow")},m(Z,G){I(Z,e,G),P(e,l),P(l,t),P(t,n),D(o,n,null),P(l,s),P(l,i),P(i,f),P(i,u),P(i,c),P(l,m),P(l,_),P(_,d),D(h,d,null),P(e,b),D(w,e,null),P(e,C),P(e,k),P(k,A),P(A,y),P(k,v),P(k,B),P(B,q),N=!0,Y||(U=[pe(n,"click",r[14]),pe(d,"click",r[13]),pe(A,"click",r[16]),pe(B,"click",r[17])],Y=!0)},p(Z,G){var ge;(!N||G&256)&&a!==(a=(((ge=Cl(Z[8]))==null?void 0:ge.label)??"")+"")&&se(f,a),(!N||G&512)&&se(c,Z[9]);const de={};G&256&&(de.month=Z[8]),G&512&&(de.year=Z[9]),G&1&&(de.date=Z[0]),G&2&&(de.isAllowed=Z[1]),w.$set(de),(!N||G&16)&&se(y,Z[4]),(!N||G&32)&&se(q,Z[5])},i(Z){N||(p(o.$$.fragment,Z),p(h.$$.fragment,Z),p(w.$$.fragment,Z),N=!0)},o(Z){$(o.$$.fragment,Z),$(h.$$.fragment,Z),$(w.$$.fragment,Z),N=!1},d(Z){Z&&g(e),L(o),L(h),L(w),Y=!1,wt(U)}}}function us(r){let e,l,t,n,o,s;l=new Ae({props:{id:"datepicker",label:r[2],labelHidden:r[3],icon:"calendar-plus",type:"text",placeholder:"MM/DD/YY",value:r[0].toDateString(),clearable:!0,clearButtonLabel:r[6],disabled:r[7]}}),l.$on("focus",r[11]),l.$on("input",r[12]);let i=r[10]&&jl(r);return{c(){e=F("div"),E(l.$$.fragment),t=W(),i&&i.c(),this.h()},l(a){e=O(a,"DIV",{class:!0});var f=M(e);T(l.$$.fragment,f),t=V(f),i&&i.l(f),f.forEach(g),this.h()},h(){S(e,"class","relative")},m(a,f){I(a,e,f),D(l,e,null),P(e,t),i&&i.m(e,null),n=!0,o||(s=[Kr(fo.call(null,e)),pe(e,"click-outside",r[18])],o=!0)},p(a,[f]){const u={};f&4&&(u.label=a[2]),f&8&&(u.labelHidden=a[3]),f&1&&(u.value=a[0].toDateString()),f&64&&(u.clearButtonLabel=a[6]),f&128&&(u.disabled=a[7]),l.$set(u),a[10]?i?(i.p(a,f),f&1024&&p(i,1)):(i=jl(a),i.c(),p(i,1),i.m(e,null)):i&&(J(),$(i,1,1,()=>{i=null}),X())},i(a){n||(p(l.$$.fragment,a),p(i),n=!0)},o(a){$(l.$$.fragment,a),$(i),n=!1},d(a){a&&g(e),L(l),i&&i.d(),o=!1,wt(s)}}}function cs(r,e,l){const t=mt();let{isAllowed:n=()=>!0}=e,{selected:o=new Date}=e,{label:s}=e,{labelHidden:i=!1}=e,{todayLabel:a}=e,{closeLabel:f}=e,{clearLabel:u}=e,{disabled:c=!1}=e,m,_,d=!1;const h=()=>{l(10,d=!0)},b=B=>{const N=B.target.value;if(N.length===8){const Y=N==null?void 0:N.split("/"),R=2e3+parseInt(Y[2]),Z=parseInt(Y[0])-1,G=parseInt(Y[1]),de=new Date(R,Z,G);t("datechange",de)}},w=()=>{if(m===11){l(8,m=0),l(9,_=_+1);return}l(8,m=m+1)},C=()=>{if(m===0){l(8,m=11),l(9,_-=1);return}l(8,m-=1)},k=B=>{l(10,d=!1),t("datechange",B.detail)},A=()=>l(0,o=new Date),y=()=>l(10,d=!1),v=()=>l(10,d=!1);return r.$$set=B=>{"isAllowed"in B&&l(1,n=B.isAllowed),"selected"in B&&l(0,o=B.selected),"label"in B&&l(2,s=B.label),"labelHidden"in B&&l(3,i=B.labelHidden),"todayLabel"in B&&l(4,a=B.todayLabel),"closeLabel"in B&&l(5,f=B.closeLabel),"clearLabel"in B&&l(6,u=B.clearLabel),"disabled"in B&&l(7,c=B.disabled)},r.$$.update=()=>{r.$$.dirty&1&&(l(8,m=o.getMonth()),l(9,_=o.getFullYear()))},[o,n,s,i,a,f,u,c,m,_,d,h,b,w,C,k,A,y,v]}class Dt extends fe{constructor(e){super(),ue(this,e,cs,us,ce,{isAllowed:1,selected:0,label:2,labelHidden:3,todayLabel:4,closeLabel:5,clearLabel:6,disabled:7})}}function Ql(r){let e,l;return e=new mo({props:{$$slots:{default:[ds]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&2056&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function ms(r){let e;return{c(){e=j("AM")},l(l){e=Q(l,"AM")},m(l,t){I(l,e,t)},d(l){l&&g(e)}}}function _s(r){let e;return{c(){e=j("PM")},l(l){e=Q(l,"PM")},m(l,t){I(l,e,t)},d(l){l&&g(e)}}}function ds(r){let e,l,t,n;return e=new Bl({props:{active:r[3]==="AM",$$slots:{default:[ms]},$$scope:{ctx:r}}}),e.$on("click",r[9]),t=new Bl({props:{active:r[3]==="PM",$$slots:{default:[_s]},$$scope:{ctx:r}}}),t.$on("click",r[10]),{c(){E(e.$$.fragment),l=W(),E(t.$$.fragment)},l(o){T(e.$$.fragment,o),l=V(o),T(t.$$.fragment,o)},m(o,s){D(e,o,s),I(o,l,s),D(t,o,s),n=!0},p(o,s){const i={};s&8&&(i.active=o[3]==="AM"),s&2048&&(i.$$scope={dirty:s,ctx:o}),e.$set(i);const a={};s&8&&(a.active=o[3]==="PM"),s&2048&&(a.$$scope={dirty:s,ctx:o}),t.$set(a)},i(o){n||(p(e.$$.fragment,o),p(t.$$.fragment,o),n=!0)},o(o){$(e.$$.fragment,o),$(t.$$.fragment,o),n=!1},d(o){L(e,o),o&&g(l),L(t,o)}}}function ps(r){let e,l,t,n,o,s,i,a,f,u,c;function m(k){r[6](k)}let _={id:"hour",label:"hrs",labelHidden:!0,placeholder:"00",suffix:"hrs",maxLength:2,error:r[4]?parseInt(r[0])>12:parseInt(r[0])>23,disabled:r[5]};r[0]!==void 0&&(_.value=r[0]),l=new Ae({props:_}),ie.push(()=>me(l,"value",m));function d(k){r[7](k)}let h={id:"minute",label:"min",labelHidden:!0,required:!0,placeholder:"00",suffix:"min",maxLength:2,error:Boolean(parseInt(r[0])>59),disabled:r[5]};r[1]!==void 0&&(h.value=r[1]),o=new Ae({props:h}),ie.push(()=>me(o,"value",d));function b(k){r[8](k)}let w={id:"second",label:"sec",labelHidden:!0,placeholder:"00",suffix:"sec",maxLength:2,error:Boolean(parseInt(r[0])>59),disabled:r[5]};r[2]!==void 0&&(w.value=r[2]),a=new Ae({props:w}),ie.push(()=>me(a,"value",b));let C=r[4]&&Ql(r);return{c(){e=F("div"),E(l.$$.fragment),n=W(),E(o.$$.fragment),i=W(),E(a.$$.fragment),u=W(),C&&C.c(),this.h()},l(k){e=O(k,"DIV",{class:!0});var A=M(e);T(l.$$.fragment,A),n=V(A),T(o.$$.fragment,A),i=V(A),T(a.$$.fragment,A),u=V(A),C&&C.l(A),A.forEach(g),this.h()},h(){S(e,"class","flex gap-2")},m(k,A){I(k,e,A),D(l,e,null),P(e,n),D(o,e,null),P(e,i),D(a,e,null),P(e,u),C&&C.m(e,null),c=!0},p(k,[A]){const y={};A&17&&(y.error=k[4]?parseInt(k[0])>12:parseInt(k[0])>23),A&32&&(y.disabled=k[5]),!t&&A&1&&(t=!0,y.value=k[0],_e(()=>t=!1)),l.$set(y);const v={};A&1&&(v.error=Boolean(parseInt(k[0])>59)),A&32&&(v.disabled=k[5]),!s&&A&2&&(s=!0,v.value=k[1],_e(()=>s=!1)),o.$set(v);const B={};A&1&&(B.error=Boolean(parseInt(k[0])>59)),A&32&&(B.disabled=k[5]),!f&&A&4&&(f=!0,B.value=k[2],_e(()=>f=!1)),a.$set(B),k[4]?C?(C.p(k,A),A&16&&p(C,1)):(C=Ql(k),C.c(),p(C,1),C.m(e,null)):C&&(J(),$(C,1,1,()=>{C=null}),X())},i(k){c||(p(l.$$.fragment,k),p(o.$$.fragment,k),p(a.$$.fragment,k),p(C),c=!0)},o(k){$(l.$$.fragment,k),$(o.$$.fragment,k),$(a.$$.fragment,k),$(C),c=!1},d(k){k&&g(e),L(l),L(o),L(a),C&&C.d()}}}function gs(r,e,l){let{hour:t=""}=e,{minute:n=""}=e,{second:o=""}=e,{half:s="AM"}=e,{twelveHourClock:i=!0}=e,{disabled:a=!1}=e;function f(d){t=d,l(0,t)}function u(d){n=d,l(1,n)}function c(d){o=d,l(2,o)}const m=()=>l(3,s="AM"),_=()=>l(3,s="PM");return r.$$set=d=>{"hour"in d&&l(0,t=d.hour),"minute"in d&&l(1,n=d.minute),"second"in d&&l(2,o=d.second),"half"in d&&l(3,s=d.half),"twelveHourClock"in d&&l(4,i=d.twelveHourClock),"disabled"in d&&l(5,a=d.disabled)},[t,n,o,s,i,a,f,u,c,m,_]}class Lt extends fe{constructor(e){super(),ue(this,e,gs,ps,ce,{hour:0,minute:1,second:2,half:3,twelveHourClock:4,disabled:5})}}const hs={workflowId:"WorkflowId",workflowType:"WorkflowType",timeRange:"StartTime",executionStatus:"ExecutionStatus",closeTime:"CloseTime",runId:"RunId"},$s=r=>!(r===null||r===void 0||r===""||typeof r=="string"&&r==="undefined"),bs=(r,e,l="=",t,n)=>{const o=hs[r]??r;return e==="All"?"":n?`${o} ${e}`:ko(e)||wo(e)?t||_t(vt)?`${o} ${At?l:">"} "${ll(e)}"`:`${o} BETWEEN "${ll(e)}" AND "${vo()}"`:`${o}${l}"${e}"`},ks=(r,e)=>r.map(({attribute:l,value:t,conditional:n,operator:o,parenthesis:s,customDate:i})=>{if($s(t)){let a=bs(l,t,n,e,i);return s==="("?a=`(${a}`:s===")"&&(a=`${a})`),o&&(a=`${a} ${o} `),a}}).filter(Boolean),Nr=(r=[],e=!1)=>ks(r,e).join(""),ws=r=>e=>e.toLowerCase()===r.toLowerCase(),zl=(r,e)=>r[e+2],vs=(r,e)=>r[e-2],Is=ws("Datetime"),Ze=()=>({attribute:"",value:"",operator:"",parenthesis:"",conditional:""}),Es={ExecutionStatus:"Keyword",StartTime:"Datetime",CloseTime:"Datetime",WorkflowId:"Keyword",WorkflowType:"Keyword",RunId:"Keyword"},nl=(r,e=Es)=>{const l=_o(r),t=[];let n=Ze();if(!r)return[];try{return l.forEach((o,s)=>{if(e[o])if(n.attribute=o,Is(e[o])){const i=zl(l,s),a=Sl(i);if(Pl(l[s+1])){const f=l[s+4],u=Sl(f);a&&u?(n.value=`BETWEEN "${i}" AND "${f}"`,n.customDate=!0):console.error("Error parsing Datetime field from query")}else a?n.value=i:console.error("Error parsing Datetime field from query")}else n.value=zl(l,s);Io(o)&&(n.conditional=o),Eo(o)&&(n.parenthesis=o),To(o)&&!Pl(vs(l,s))&&(n.operator=o,t.push(n),n=Ze()),s===l.length-1&&(t.push(n),n=Ze())}),t}catch(o){return console.error("Error setting filter parameters: ",o),[]}},Ts=r=>{const e=r.filter(i=>i.attribute==="ExecutionStatus"&&i.value),l=r.filter(i=>i.attribute==="WorkflowId"&&i.value),t=r.filter(i=>i.attribute==="WorkflowType"&&i.value),n=r.filter(i=>i.attribute==="RunId"&&i.value),o=r.filter(i=>(i.attribute==="StartTime"||i.attribute==="CloseTime")&&i.value),s=[e,l,n,t,o].filter(i=>i.length);return s.forEach((i,a)=>{var f,u;i.length&&((f=s[a+1])!=null&&f.length)?i[i.length-1].operator="AND":i.length&&!((u=s[a+1])!=null&&u.length)&&(i[i.length-1].operator="")}),[...e,...l,...n,...t,...o]},Pr=r=>(r.forEach((e,l)=>{const t=r[l-1];t&&!t.operator&&(t.operator="AND"),r[l+1]||(e.operator=""),e.operator==="OR"&&(t==null?void 0:t.operator)!=="OR"?e.parenthesis="(":(t==null?void 0:t.operator)==="OR"&&e.operator!=="OR"?e.parenthesis=")":e.parenthesis=""}),r),Ke=br((r,e,l=!1)=>{const t=l?Pr(e):Ts(e),n=Nr(t);qe({url:r,parameter:"query",value:n,allowEmpty:!1})},300);function Kl(r,e,l){const t=r.slice();return t[43]=e[l],t}function Ds(r){let e;return{c(){e=j(r[1])},l(l){e=Q(l,r[1])},m(l,t){I(l,e,t)},p(l,t){t[0]&2&&se(e,l[1])},d(l){l&&g(e)}}}function Ls(r){let e,l,t,n,o,s,i,a,f,u,c,m,_,d,h;t=new $e({props:{$$slots:{default:[Cs]},$$scope:{ctx:r}}}),t.$on("click",r[31]),s=new $e({props:{$$slots:{default:[Bs]},$$scope:{ctx:r}}}),s.$on("click",r[32]);let b=Mt,w=[];for(let k=0;k$(w[k],1,1,()=>{w[k]=null});return c=new $e({props:{selected:r[2]==="StartTime",$$slots:{default:[As]},$$scope:{ctx:r}}}),c.$on("click",r[34]),d=new $e({props:{selected:r[2]==="CloseTime",$$slots:{default:[Ns]},$$scope:{ctx:r}}}),d.$on("click",r[35]),{c(){e=F("div"),l=F("div"),E(t.$$.fragment),n=W(),o=F("div"),E(s.$$.fragment),i=W();for(let k=0;kme(n,"hour",B)),ie.push(()=>me(n,"minute",q)),ie.push(()=>me(n,"second",N)),ie.push(()=>me(n,"half",Y)),u=new Dt({props:{label:H("end"),selected:r[4],todayLabel:H("today"),closeLabel:H("close"),clearLabel:H("clear-input-button-label")}}),u.$on("datechange",r[17]);function R(x){r[26](x)}function Z(x){r[27](x)}function G(x){r[28](x)}function de(x){r[29](x)}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]),m=new Lt({props:ge}),ie.push(()=>me(m,"hour",R)),ie.push(()=>me(m,"minute",Z)),ie.push(()=>me(m,"second",G)),ie.push(()=>me(m,"half",de)),k=new ct({props:{$$slots:{default:[Ps]},$$scope:{ctx:r}}}),k.$on("click",r[18]),y=new ct({props:{variant:"secondary",$$slots:{default:[Fs]},$$scope:{ctx:r}}}),y.$on("click",r[30]),{c(){e=F("div"),E(l.$$.fragment),t=W(),E(n.$$.fragment),f=W(),E(u.$$.fragment),c=W(),E(m.$$.fragment),w=W(),C=F("div"),E(k.$$.fragment),A=W(),E(y.$$.fragment),this.h()},l(x){e=O(x,"DIV",{class:!0});var oe=M(e);T(l.$$.fragment,oe),t=V(oe),T(n.$$.fragment,oe),f=V(oe),T(u.$$.fragment,oe),c=V(oe),T(m.$$.fragment,oe),w=V(oe),C=O(oe,"DIV",{class:!0});var Ee=M(C);T(k.$$.fragment,Ee),A=V(Ee),T(y.$$.fragment,Ee),Ee.forEach(g),oe.forEach(g),this.h()},h(){S(C,"class","flex gap-2"),S(e,"class","flex flex-col gap-2 p-2")},m(x,oe){I(x,e,oe),D(l,e,null),P(e,t),D(n,e,null),P(e,f),D(u,e,null),P(e,c),D(m,e,null),P(e,w),P(e,C),D(k,C,null),P(C,A),D(y,C,null),v=!0},p(x,oe){const Ee={};oe[0]&8&&(Ee.selected=x[3]),l.$set(Ee);const De={};!o&&oe[0]&32&&(o=!0,De.hour=x[5],_e(()=>o=!1)),!s&&oe[0]&64&&(s=!0,De.minute=x[6],_e(()=>s=!1)),!i&&oe[0]&128&&(i=!0,De.second=x[7],_e(()=>i=!1)),!a&&oe[0]&256&&(a=!0,De.half=x[8],_e(()=>a=!1)),n.$set(De);const Ce={};oe[0]&16&&(Ce.selected=x[4]),u.$set(Ce);const Le={};!_&&oe[0]&512&&(_=!0,Le.hour=x[9],_e(()=>_=!1)),!d&&oe[0]&1024&&(d=!0,Le.minute=x[10],_e(()=>d=!1)),!h&&oe[0]&2048&&(h=!0,Le.second=x[11],_e(()=>h=!1)),!b&&oe[0]&4096&&(b=!0,Le.half=x[12],_e(()=>b=!1)),m.$set(Le);const We={};oe[1]&32768&&(We.$$scope={dirty:oe,ctx:x}),k.$set(We);const te={};oe[1]&32768&&(te.$$scope={dirty:oe,ctx:x}),y.$set(te)},i(x){v||(p(l.$$.fragment,x),p(n.$$.fragment,x),p(u.$$.fragment,x),p(m.$$.fragment,x),p(k.$$.fragment,x),p(y.$$.fragment,x),v=!0)},o(x){$(l.$$.fragment,x),$(n.$$.fragment,x),$(u.$$.fragment,x),$(m.$$.fragment,x),$(k.$$.fragment,x),$(y.$$.fragment,x),v=!1},d(x){x&&g(e),L(l),L(n),L(u),L(m),L(k),L(y)}}}function Cs(r){let e=H("all-time")+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Bs(r){let e=H("custom")+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Ss(r){let e=r[43]+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Yl(r){let e,l,t;function n(){return r[33](r[43])}return l=new $e({props:{$$slots:{default:[Ss]},$$scope:{ctx:r}}}),l.$on("click",n),{c(){e=F("div"),E(l.$$.fragment),this.h()},l(o){e=O(o,"DIV",{class:!0});var s=M(e);T(l.$$.fragment,s),s.forEach(g),this.h()},h(){S(e,"class","flex w-1/2 flex-col justify-center")},m(o,s){I(o,e,s),D(l,e,null),t=!0},p(o,s){r=o;const i={};s[1]&32768&&(i.$$scope={dirty:s,ctx:r}),l.$set(i)},i(o){t||(p(l.$$.fragment,o),t=!0)},o(o){$(l.$$.fragment,o),t=!1},d(o){o&&g(e),L(l)}}}function As(r){let e=H("start-time")+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Ns(r){let e=H("end-time")+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Ps(r){let e=H("apply")+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Fs(r){let e=H("cancel")+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Os(r){let e,l,t=H("based-on-time-preface")+"",n,o,s,i;return e=new ye({props:{name:"clock","aria-hidden":"true"}}),{c(){E(e.$$.fragment),l=W(),n=j(t),o=W(),s=j(r[13])},l(a){T(e.$$.fragment,a),l=V(a),n=Q(a,t),o=V(a),s=Q(a,r[13])},m(a,f){D(e,a,f),I(a,l,f),I(a,n,f),I(a,o,f),I(a,s,f),i=!0},p:K,i(a){i||(p(e.$$.fragment,a),i=!0)},o(a){$(e.$$.fragment,a),i=!1},d(a){L(e,a),a&&g(l),a&&g(n),a&&g(o),a&&g(s)}}}function Ws(r){let e,l,t,n,o,s,i;const a=[ys,Ls],f=[];function u(c,m){return c[0]?0:1}return e=u(r),l=f[e]=a[e](r),n=new St({}),s=new $e({props:{centered:!0,disabled:!0,$$slots:{default:[Os]},$$scope:{ctx:r}}}),{c(){l.c(),t=W(),E(n.$$.fragment),o=W(),E(s.$$.fragment)},l(c){l.l(c),t=V(c),T(n.$$.fragment,c),o=V(c),T(s.$$.fragment,c)},m(c,m){f[e].m(c,m),I(c,t,m),D(n,c,m),I(c,o,m),D(s,c,m),i=!0},p(c,m){let _=e;e=u(c),e===_?f[e].p(c,m):(J(),$(f[_],1,1,()=>{f[_]=null}),X(),l=f[e],l?l.p(c,m):(l=f[e]=a[e](c),l.c()),p(l,1),l.m(t.parentNode,t));const d={};m[1]&32768&&(d.$$scope={dirty:m,ctx:c}),s.$set(d)},i(c){i||(p(l),p(n.$$.fragment,c),p(s.$$.fragment,c),i=!0)},o(c){$(l),$(n.$$.fragment,c),$(s.$$.fragment,c),i=!1},d(c){f[e].d(c),c&&g(t),L(n,c),c&&g(o),L(s,c)}}}function Vs(r){let e,l,t,n;return e=new lt({props:{id:"time-range-filter",hasIndicator:!0,controls:"time-range-filter-menu",$$slots:{default:[Ds]},$$scope:{ctx:r}}}),t=new nt({props:{class:"w-[25rem] !overflow-visible",position:"right",keepOpen:!0,id:"time-range-filter-menu",$$slots:{default:[Ws]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment),l=W(),E(t.$$.fragment)},l(o){T(e.$$.fragment,o),l=V(o),T(t.$$.fragment,o)},m(o,s){D(e,o,s),I(o,l,s),D(t,o,s),n=!0},p(o,s){const i={};s[0]&2|s[1]&32768&&(i.$$scope={dirty:s,ctx:o}),e.$set(i);const a={};s[0]&8189|s[1]&32768&&(a.$$scope={dirty:s,ctx:o}),t.$set(a)},i(o){n||(p(e.$$.fragment,o),p(t.$$.fragment,o),n=!0)},o(o){$(e.$$.fragment,o),$(t.$$.fragment,o),n=!1},d(o){L(e,o),o&&g(l),L(t,o)}}}function Ms(r){let e,l;return e=new tt({props:{$$slots:{default:[Vs]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n[0]&8191|n[1]&32768&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Rs(r){let e,l,t;return l=new al({props:{$$slots:{fallback:[Ms]},$$scope:{ctx:r}}}),{c(){e=F("div"),E(l.$$.fragment),this.h()},l(n){e=O(n,"DIV",{class:!0});var o=M(e);T(l.$$.fragment,o),o.forEach(g),this.h()},h(){S(e,"class","flex items-start")},m(n,o){I(n,e,o),D(l,e,null),t=!0},p(n,o){const s={};o[0]&8191|o[1]&32768&&(s.$$scope={dirty:o,ctx:n}),l.$set(s)},i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){$(l.$$.fragment,n),t=!1},d(n){n&&g(e),L(l)}}}function Hs(r,e,l){let t,n,o,s,i,a;z(r,he,re=>l(20,o=re)),z(r,Ie,re=>l(37,s=re)),z(r,tl,re=>l(38,i=re)),z(r,vt,re=>l(21,a=re));const f=hr()||H("local");let u=!1,c="All Time",m="StartTime",_=Je(new Date),d=Je(new Date),h="",b="",w="",C="AM",k="",A="",y="",v="AM";const B=()=>{t?(l(1,c=u||!Mt.includes(t==null?void 0:t.value)?"Custom":t.value),l(2,m=t.attribute)):(l(1,c="All Time"),l(2,m="StartTime")),(!t||Mt.includes(t==null?void 0:t.value)||(t==null?void 0:t.customDate))&&le(tl,i=t,i)},q=()=>o.filter(re=>re.attribute!=="StartTime"&&re.attribute!=="CloseTime"),N=re=>{if(l(1,c=re),c==="All Time")le(he,o=[...q()],o),l(0,u=!1);else if(c==="Custom")l(0,u=!0);else{const Be={attribute:m,value:c,conditional:">",operator:"",parenthesis:""};le(he,o=[...q(),Be],o),l(0,u=!1)}Ke(s.url,o)},Y=re=>{re!==m&&(l(2,m=re),N(c))},U=re=>{l(3,_=Je(re.detail))},R=re=>{l(4,d=Je(re.detail))},Z=(re,Be)=>{let ze=new Date(re);return Be.hour&&(ze=Br(ze,parseInt(Be.hour))),Be.minute&&(ze=Sr(ze,parseInt(Be.minute))),Be.second&&(ze=Ar(ze,parseInt(Be.second))),ze},G=(re,Be)=>{if(re)return re==="12"?Be==="AM"?"00":"12":Be==="PM"?(parseInt(re)+12).toString():re;re=""},de=()=>{let re=Z(_,{hour:G(h,C),minute:b,second:w}),Be=Z(d,{hour:G(k,v),minute:A,second:y});const ze=n?`BETWEEN "${gt(re)}" AND "${gt(Be)}"`:`> "${gt(re)}"`,Qr={attribute:m,value:ze,conditional:"=",operator:"",parenthesis:"",customDate:!0};le(he,o=[...q(),Qr],o),Ke(s.url,o)};function ge(re){h=re,l(5,h)}function x(re){b=re,l(6,b)}function oe(re){w=re,l(7,w)}function Ee(re){C=re,l(8,C)}function De(re){k=re,l(9,k)}function Ce(re){A=re,l(10,A)}function Le(re){y=re,l(11,y)}function We(re){v=re,l(12,v)}const te=()=>l(0,u=!1),Ve=()=>N("All Time"),Qe=()=>N("Custom"),ne=re=>N(re),Re=()=>Y("StartTime"),Me=()=>Y("CloseTime");return r.$$.update=()=>{r.$$.dirty[0]&1048576&&l(19,t=o.find(re=>re.attribute==="StartTime"||re.attribute==="CloseTime")),r.$$.dirty[0]&2097153&&(n=u||!a),r.$$.dirty[0]&524288&&B()},[u,c,m,_,d,h,b,w,C,k,A,y,v,f,N,Y,U,R,de,t,o,a,ge,x,oe,Ee,De,Ce,Le,We,te,Ve,Qe,ne,Re,Me]}class Us extends fe{constructor(e){super(),ue(this,e,Hs,Rs,ce,{},null,[-1,-1])}}function qs(r){let e=H("search")+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function js(r){let e,l,t,n,o,s,i,a,f,u,c,m;function _(h){r[5](h)}let d={id:"manual-search",type:"search",label:H("workflows","search-placeholder"),labelHidden:!0,placeholder:H("workflows","search-placeholder"),icon:"search",class:"w-full lg:w-3/4",clearable:!0,clearButtonLabel:H("clear-input-button-label"),unroundRight:!0};return r[0]!==void 0&&(d.value=r[0]),n=new Ae({props:d}),ie.push(()=>me(n,"value",_)),n.$on("clear",r[2]),i=new ct({props:{"data-testid":"manual-search-button",variant:"primary",borderRadiusModifier:"square-left",type:"submit",$$slots:{default:[qs]},$$scope:{ctx:r}}}),{c(){e=F("div"),l=F("div"),t=F("form"),E(n.$$.fragment),s=W(),E(i.$$.fragment),this.h()},l(h){e=O(h,"DIV",{class:!0});var b=M(e);l=O(b,"DIV",{class:!0});var w=M(l);t=O(w,"FORM",{class:!0,role:!0});var C=M(t);T(n.$$.fragment,C),s=V(C),T(i.$$.fragment,C),C.forEach(g),w.forEach(g),b.forEach(g),this.h()},h(){S(t,"class","relative flex w-full items-center gap-0"),S(t,"role","search"),S(l,"class","flex w-full items-center gap-0"),S(e,"class","flex grow gap-4")},m(h,b){I(h,e,b),P(e,l),P(l,t),D(n,t,null),P(t,s),D(i,t,null),u=!0,c||(m=pe(t,"submit",Tt(r[1])),c=!0)},p(h,[b]){const w={};!o&&b&1&&(o=!0,w.value=h[0],_e(()=>o=!1)),n.$set(w);const C={};b&1024&&(C.$$scope={dirty:b,ctx:h}),i.$set(C)},i(h){u||(p(n.$$.fragment,h),p(i.$$.fragment,h),a||it(()=>{a=ft(t,Bt,{x:-100,duration:150}),a.start()}),f||it(()=>{f=ft(l,gr,{}),f.start()}),u=!0)},o(h){$(n.$$.fragment,h),$(i.$$.fragment,h),u=!1},d(h){h&&g(e),L(n),L(i),c=!1,m()}}}function Qs(r,e,l){let t,n,o,s,i;z(r,Ie,_=>l(4,n=_)),z(r,xe,_=>l(6,o=_)),z(r,he,_=>l(7,s=_)),z(r,ht,_=>l(8,i=_));let a="";function f(_){l(0,a=_)}const u=()=>{if(!a)le(he,s=[],s),le(ht,i="",i);else try{le(he,s=nl(a),s)}catch(_){console.error(_)}a&&a===t?le(xe,o=Date.now(),o):qe({url:n.url,parameter:"query",value:a,allowEmpty:!0})};function c(){u()}function m(_){a=_,l(0,a)}return r.$$.update=()=>{r.$$.dirty&16&&l(3,t=n.url.searchParams.get("query")),r.$$.dirty&8&&f(t)},[a,u,c,t,n,m]}class Fr extends fe{constructor(e){super(),ue(this,e,Qs,js,ce,{})}}function at(r){return r==="ExecutionStatus"}function kt(r,e=It){const l=_t(e)[r];return at(r)?!1:["Keyword","Text","String"].includes(l)}function rl(r,e=It){return _t(e)[r]==="KeywordList"}function pl(r,e=It){const l=_t(e)[r];return["Int","Double"].includes(l)}function Yt(r,e=It){return _t(e)[r]==="Datetime"}function gl(r,e=It){return _t(e)[r]==="Bool"}function Gl(r,e,l){const t=r.slice();return t[8]=e[l].value,t[9]=e[l].label,t}function zs(r){let e;return{c(){e=j(r[1])},l(l){e=Q(l,r[1])},m(l,t){I(l,e,t)},p(l,t){t&2&&se(e,l[1])},d(l){l&&g(e)}}}function Ks(r){let e=r[9]+"",l,t;return{c(){l=j(e),t=W()},l(n){l=Q(n,e),t=V(n)},m(n,o){I(n,l,o),I(n,t,o)},p:K,d(n){n&&g(l),n&&g(t)}}}function Jl(r){let e,l;function t(){return r[7](r[8])}return e=new $e({props:{$$slots:{default:[Ks]},$$scope:{ctx:r}}}),e.$on("click",t),{c(){E(e.$$.fragment)},l(n){T(e.$$.fragment,n)},m(n,o){D(e,n,o),l=!0},p(n,o){r=n;const s={};o&4096&&(s.$$scope={dirty:o,ctx:r}),e.$set(s)},i(n){l||(p(e.$$.fragment,n),l=!0)},o(n){$(e.$$.fragment,n),l=!1},d(n){L(e,n)}}}function Ys(r){let e,l,t=r[4],n=[];for(let s=0;s$(n[s],1,1,()=>{n[s]=null});return{c(){for(let s=0;sl(0,o=c));const f=[{value:"true",label:H("true")},{value:"false",label:H("false")}],u=c=>{le(i,o.value=c,o),a()};return r.$$.update=()=>{r.$$.dirty&33&&l(6,t=l(5,s=f.find(c=>c.value===o.value))!==null&&s!==void 0?s:f[0]),r.$$.dirty&64&&l(1,n=t==null?void 0:t.label)},[o,n,i,a,f,s,t,u]}class Zs extends fe{constructor(e){super(),ue(this,e,Xs,Js,ce,{})}}function xs(r){let e,l;return e=new Pe({props:{label:H("close"),icon:"close",class:"ml-1"}}),e.$on("click",r[0]),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function ea(r){const{resetFilter:e}=Ye(je);return[e]}class Nt extends fe{constructor(e){super(),ue(this,e,ea,xs,ce,{})}}function Xl(r,e,l){const t=r.slice();return t[13]=e[l].value,t[14]=e[l].label,t}function ta(r){let e;return{c(){e=j(r[4])},l(l){e=Q(l,r[4])},m(l,t){I(l,e,t)},p(l,t){t&16&&se(e,l[4])},d(l){l&&g(e)}}}function la(r){let e=(r[14]??r[13])+"",l,t;return{c(){l=j(e),t=W()},l(n){l=Q(n,e),t=V(n)},m(n,o){I(n,l,o),I(n,t,o)},p(n,o){o&1&&e!==(e=(n[14]??n[13])+"")&&se(l,e)},d(n){n&&g(l),n&&g(t)}}}function Zl(r){let e,l;function t(){return r[11](r[13])}return e=new $e({props:{$$slots:{default:[la]},$$scope:{ctx:r}}}),e.$on("click",t),{c(){E(e.$$.fragment)},l(n){T(e.$$.fragment,n)},m(n,o){D(e,n,o),l=!0},p(n,o){r=n;const s={};o&131073&&(s.$$scope={dirty:o,ctx:r}),e.$set(s)},i(n){l||(p(e.$$.fragment,n),l=!0)},o(n){$(e.$$.fragment,n),l=!1},d(n){L(e,n)}}}function na(r){let e,l,t=r[0],n=[];for(let s=0;s$(n[s],1,1,()=>{n[s]=null});return{c(){for(let s=0;sl(3,o=b)),z(r,u,b=>l(5,s=b));const c=[{value:">"},{value:">="},{value:"="},{value:"<="},{value:"<"}];let{options:m=c}=e,{disabled:_=!1}=e,{inputId:d}=e;const h=b=>{le(f,o.conditional=b,o),le(u,s=d,s)};return r.$$set=b=>{"options"in b&&l(0,m=b.options),"disabled"in b&&l(1,_=b.disabled),"inputId"in b&&l(2,d=b.inputId)},r.$$.update=()=>{r.$$.dirty&1&&le(f,o.conditional=m[0].value,o),r.$$.dirty&265&&l(10,t=l(8,i=m.find(b=>b.value===o.conditional))!==null&&i!==void 0?i:m[0]),r.$$.dirty&1536&&l(4,n=l(9,a=t==null?void 0:t.label)!==null&&a!==void 0?a:t==null?void 0:t.value)},[m,_,d,o,n,s,f,u,i,a,t,h]}class Or extends fe{constructor(e){super(),ue(this,e,sa,oa,ce,{options:0,disabled:1,inputId:2})}}function xl(r,e,l){const t=r.slice();return t[40]=e[l],t}function aa(r){let e=H("workflows","select-time")+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function ia(r){let e,l,t,n,o,s;return e=new $e({props:{$$slots:{default:[ma]},$$scope:{ctx:r}}}),e.$on("click",r[32]),t=new St({}),o=new $e({props:{$$slots:{default:[_a]},$$scope:{ctx:r}}}),o.$on("click",r[37]),{c(){E(e.$$.fragment),l=W(),E(t.$$.fragment),n=W(),E(o.$$.fragment)},l(i){T(e.$$.fragment,i),l=V(i),T(t.$$.fragment,i),n=V(i),T(o.$$.fragment,i)},m(i,a){D(e,i,a),I(i,l,a),D(t,i,a),I(i,n,a),D(o,i,a),s=!0},p(i,a){const f={};a[0]&2051|a[1]&4096&&(f.$$scope={dirty:a,ctx:i}),e.$set(f);const u={};a[0]&234|a[1]&4096&&(u.$$scope={dirty:a,ctx:i}),o.$set(u)},i(i){s||(p(e.$$.fragment,i),p(t.$$.fragment,i),p(o.$$.fragment,i),s=!0)},o(i){$(e.$$.fragment,i),$(t.$$.fragment,i),$(o.$$.fragment,i),s=!1},d(i){L(e,i),i&&g(l),L(t,i),i&&g(n),L(o,i)}}}function fa(r){let e,l,t,n,o,s;return e=new $e({props:{$$slots:{default:[da]},$$scope:{ctx:r}}}),t=new St({}),o=new $e({props:{$$slots:{default:[pa]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment),l=W(),E(t.$$.fragment),n=W(),E(o.$$.fragment)},l(i){T(e.$$.fragment,i),l=V(i),T(t.$$.fragment,i),n=V(i),T(o.$$.fragment,i)},m(i,a){D(e,i,a),I(i,l,a),D(t,i,a),I(i,n,a),D(o,i,a),s=!0},p(i,a){const f={};a[0]&232|a[1]&4096&&(f.$$scope={dirty:a,ctx:i}),e.$set(f);const u={};a[0]&1808|a[1]&4096&&(u.$$scope={dirty:a,ctx:i}),o.$set(u)},i(i){s||(p(e.$$.fragment,i),p(t.$$.fragment,i),p(o.$$.fragment,i),s=!0)},o(i){$(e.$$.fragment,i),$(t.$$.fragment,i),$(o.$$.fragment,i),s=!1},d(i){L(e,i),i&&g(l),L(t,i),i&&g(n),L(o,i)}}}function ua(r){let e=r[40]+"",l,t,n=H("ago")+"",o;return{c(){l=j(e),t=W(),o=j(n)},l(s){l=Q(s,e),t=V(s),o=Q(s,n)},m(s,i){I(s,l,i),I(s,t,i),I(s,o,i)},p:K,d(s){s&&g(l),s&&g(t),s&&g(o)}}}function en(r){let e,l;return e=new Fo({props:{value:r[40],$$slots:{default:[ua]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n[1]&4096&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function ca(r){let e,l,t=r[15],n=[];for(let s=0;s$(n[s],1,1,()=>{n[s]=null});return{c(){for(let s=0;sme(u,"value",C));function A(v){r[31](v)}let y={unroundLeft:!0,id:"relative-datetime-unit-input",label:H("time-unit"),labelHidden:!0,disabled:r[1]!=="relative",$$slots:{default:[ca]},$$scope:{ctx:r}};return r[11]!==void 0&&(y.value=r[11]),_=new Po({props:y}),ie.push(()=>me(_,"value",A)),{c(){e=F("div"),l=F("label"),t=F("input"),o=W(),i=j(s),a=W(),f=F("div"),E(u.$$.fragment),m=W(),E(_.$$.fragment),this.h()},l(v){e=O(v,"DIV",{class:!0});var B=M(e);l=O(B,"LABEL",{class:!0,for:!0});var q=M(l);t=O(q,"INPUT",{class:!0,type:!0,id:!0,tabindex:!0}),o=V(q),i=Q(q,s),q.forEach(g),a=V(B),f=O(B,"DIV",{class:!0});var N=M(f);T(u.$$.fragment,N),m=V(N),T(_.$$.fragment,N),N.forEach(g),B.forEach(g),this.h()},h(){S(t,"class","w-4 h-4 accent-gray-900"),S(t,"type","radio"),t.checked=n=r[1]==="relative",S(t,"id","relative-time"),S(t,"tabindex","-1"),S(l,"class","flex flex-row items-center gap-2 cursor-pointer"),S(l,"for","relative-time"),S(f,"class","ml-6 pt-2 flex gap-0"),S(e,"class","flex flex-col")},m(v,B){I(v,e,B),P(e,l),P(l,t),P(l,o),P(l,i),P(e,a),P(e,f),D(u,f,null),P(f,m),D(_,f,null),h=!0,b||(w=pe(t,"click",Xe(r[29])),b=!0)},p(v,B){(!h||B[0]&2&&n!==(n=v[1]==="relative"))&&(t.checked=n);const q={};B[0]&1&&(q.error=v[19](v[0])),B[0]&2&&(q.disabled=v[1]!=="relative"),!c&&B[0]&1&&(c=!0,q.value=v[0],_e(()=>c=!1)),u.$set(q);const N={};B[0]&2&&(N.disabled=v[1]!=="relative"),B[1]&4096&&(N.$$scope={dirty:B,ctx:v}),!d&&B[0]&2048&&(d=!0,N.value=v[11],_e(()=>d=!1)),_.$set(N)},i(v){h||(p(u.$$.fragment,v),p(_.$$.fragment,v),h=!0)},o(v){$(u.$$.fragment,v),$(_.$$.fragment,v),h=!1},d(v){v&&g(e),L(u),L(_),b=!1,w()}}}function _a(r){let e,l,t,n,o,s=H("absolute")+"",i,a,f,u,c,m,_,d,h,b,w,C;u=new Dt({props:{label:"",labelHidden:!0,selected:r[3],todayLabel:H("today"),closeLabel:H("close"),clearLabel:H("clear-input-button-label"),disabled:r[1]!=="absolute"}}),u.$on("datechange",r[16]);function k(B){r[34](B)}function A(B){r[35](B)}function y(B){r[36](B)}let v={twelveHourClock:!1,disabled:r[1]!=="absolute"};return r[5]!==void 0&&(v.hour=r[5]),r[6]!==void 0&&(v.minute=r[6]),r[7]!==void 0&&(v.second=r[7]),m=new Lt({props:v}),ie.push(()=>me(m,"hour",k)),ie.push(()=>me(m,"minute",A)),ie.push(()=>me(m,"second",y)),{c(){e=F("div"),l=F("label"),t=F("input"),o=W(),i=j(s),a=W(),f=F("div"),E(u.$$.fragment),c=W(),E(m.$$.fragment),this.h()},l(B){e=O(B,"DIV",{class:!0});var q=M(e);l=O(q,"LABEL",{class:!0,for:!0});var N=M(l);t=O(N,"INPUT",{class:!0,type:!0,id:!0,tabindex:!0}),o=V(N),i=Q(N,s),N.forEach(g),a=V(q),f=O(q,"DIV",{class:!0});var Y=M(f);T(u.$$.fragment,Y),c=V(Y),T(m.$$.fragment,Y),Y.forEach(g),q.forEach(g),this.h()},h(){S(t,"class","w-4 h-4 accent-gray-900"),S(t,"type","radio"),t.checked=n=r[1]==="absolute",S(t,"id","absolute-time"),S(t,"tabindex","-1"),S(l,"class","flex flex-row items-center gap-2 cursor-pointer"),S(l,"for","absolute-time"),S(f,"class","flex flex-col ml-6 gap-2"),S(e,"class","flex flex-col gap-2")},m(B,q){I(B,e,q),P(e,l),P(l,t),P(l,o),P(l,i),P(e,a),P(e,f),D(u,f,null),P(f,c),D(m,f,null),b=!0,w||(C=pe(t,"click",Xe(r[33])),w=!0)},p(B,q){(!b||q[0]&2&&n!==(n=B[1]==="absolute"))&&(t.checked=n);const N={};q[0]&8&&(N.selected=B[3]),q[0]&2&&(N.disabled=B[1]!=="absolute"),u.$set(N);const Y={};q[0]&2&&(Y.disabled=B[1]!=="absolute"),!_&&q[0]&32&&(_=!0,Y.hour=B[5],_e(()=>_=!1)),!d&&q[0]&64&&(d=!0,Y.minute=B[6],_e(()=>d=!1)),!h&&q[0]&128&&(h=!0,Y.second=B[7],_e(()=>h=!1)),m.$set(Y)},i(B){b||(p(u.$$.fragment,B),p(m.$$.fragment,B),b=!0)},o(B){$(u.$$.fragment,B),$(m.$$.fragment,B),b=!1},d(B){B&&g(e),L(u),L(m),w=!1,C()}}}function da(r){let e,l,t,n,o,s,i,a;l=new Dt({props:{label:H("start"),selected:r[3],todayLabel:H("today"),closeLabel:H("close"),clearLabel:H("clear-input-button-label")}}),l.$on("datechange",r[16]);function f(_){r[23](_)}function u(_){r[24](_)}function c(_){r[25](_)}let m={twelveHourClock:!1};return r[5]!==void 0&&(m.hour=r[5]),r[6]!==void 0&&(m.minute=r[6]),r[7]!==void 0&&(m.second=r[7]),n=new Lt({props:m}),ie.push(()=>me(n,"hour",f)),ie.push(()=>me(n,"minute",u)),ie.push(()=>me(n,"second",c)),{c(){e=F("div"),E(l.$$.fragment),t=W(),E(n.$$.fragment),this.h()},l(_){e=O(_,"DIV",{class:!0});var d=M(e);T(l.$$.fragment,d),t=V(d),T(n.$$.fragment,d),d.forEach(g),this.h()},h(){S(e,"class","flex flex-col gap-2")},m(_,d){I(_,e,d),D(l,e,null),P(e,t),D(n,e,null),a=!0},p(_,d){const h={};d[0]&8&&(h.selected=_[3]),l.$set(h);const b={};!o&&d[0]&32&&(o=!0,b.hour=_[5],_e(()=>o=!1)),!s&&d[0]&64&&(s=!0,b.minute=_[6],_e(()=>s=!1)),!i&&d[0]&128&&(i=!0,b.second=_[7],_e(()=>i=!1)),n.$set(b)},i(_){a||(p(l.$$.fragment,_),p(n.$$.fragment,_),a=!0)},o(_){$(l.$$.fragment,_),$(n.$$.fragment,_),a=!1},d(_){_&&g(e),L(l),L(n)}}}function pa(r){let e,l,t,n,o,s,i,a;l=new Dt({props:{label:H("end"),selected:r[4],todayLabel:H("today"),closeLabel:H("close"),clearLabel:H("clear-input-button-label")}}),l.$on("datechange",r[17]);function f(_){r[26](_)}function u(_){r[27](_)}function c(_){r[28](_)}let m={twelveHourClock:!1};return r[8]!==void 0&&(m.hour=r[8]),r[9]!==void 0&&(m.minute=r[9]),r[10]!==void 0&&(m.second=r[10]),n=new Lt({props:m}),ie.push(()=>me(n,"hour",f)),ie.push(()=>me(n,"minute",u)),ie.push(()=>me(n,"second",c)),{c(){e=F("div"),E(l.$$.fragment),t=W(),E(n.$$.fragment),this.h()},l(_){e=O(_,"DIV",{class:!0});var d=M(e);T(l.$$.fragment,d),t=V(d),T(n.$$.fragment,d),d.forEach(g),this.h()},h(){S(e,"class","flex flex-col gap-2")},m(_,d){I(_,e,d),D(l,e,null),P(e,t),D(n,e,null),a=!0},p(_,d){const h={};d[0]&16&&(h.selected=_[4]),l.$set(h);const b={};!o&&d[0]&256&&(o=!0,b.hour=_[8],_e(()=>o=!1)),!s&&d[0]&512&&(s=!0,b.minute=_[9],_e(()=>s=!1)),!i&&d[0]&1024&&(i=!0,b.second=_[10],_e(()=>i=!1)),n.$set(b)},i(_){a||(p(l.$$.fragment,_),p(n.$$.fragment,_),a=!0)},o(_){$(l.$$.fragment,_),$(n.$$.fragment,_),a=!1},d(_){_&&g(e),L(l),L(n)}}}function ga(r){let e=H("apply")+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function ha(r){let e,l,t=H("based-on-time-preface")+"",n,o,s,i;return e=new ye({props:{name:"clock","aria-hidden":"true"}}),{c(){E(e.$$.fragment),l=W(),n=j(t),o=W(),s=j(r[14])},l(a){T(e.$$.fragment,a),l=V(a),n=Q(a,t),o=V(a),s=Q(a,r[14])},m(a,f){D(e,a,f),I(a,l,f),I(a,n,f),I(a,o,f),I(a,s,f),i=!0},p:K,i(a){i||(p(e.$$.fragment,a),i=!0)},o(a){$(e.$$.fragment,a),i=!1},d(a){L(e,a),a&&g(l),a&&g(n),a&&g(o),a&&g(s)}}}function $a(r){let e,l,t,n,o,s,i,a,f,u;const c=[fa,ia],m=[];function _(d,h){return d[2]?0:1}return e=_(r),l=m[e]=c[e](r),n=new St({}),i=new ct({props:{size:"xs",style:"width: 100%",disabled:r[12],$$slots:{default:[ga]},$$scope:{ctx:r}}}),i.$on("click",r[18]),f=new $e({props:{centered:!0,disabled:!0,class:"!pt-0",$$slots:{default:[ha]},$$scope:{ctx:r}}}),{c(){l.c(),t=W(),E(n.$$.fragment),o=W(),s=F("div"),E(i.$$.fragment),a=W(),E(f.$$.fragment),this.h()},l(d){l.l(d),t=V(d),T(n.$$.fragment,d),o=V(d),s=O(d,"DIV",{class:!0});var h=M(s);T(i.$$.fragment,h),h.forEach(g),a=V(d),T(f.$$.fragment,d),this.h()},h(){S(s,"class","p-2 flex items-center")},m(d,h){m[e].m(d,h),I(d,t,h),D(n,d,h),I(d,o,h),I(d,s,h),D(i,s,null),I(d,a,h),D(f,d,h),u=!0},p(d,h){let b=e;e=_(d),e===b?m[e].p(d,h):(J(),$(m[b],1,1,()=>{m[b]=null}),X(),l=m[e],l?l.p(d,h):(l=m[e]=c[e](d),l.c()),p(l,1),l.m(t.parentNode,t));const w={};h[0]&4096&&(w.disabled=d[12]),h[1]&4096&&(w.$$scope={dirty:h,ctx:d}),i.$set(w);const C={};h[1]&4096&&(C.$$scope={dirty:h,ctx:d}),f.$set(C)},i(d){u||(p(l),p(n.$$.fragment,d),p(i.$$.fragment,d),p(f.$$.fragment,d),u=!0)},o(d){$(l),$(n.$$.fragment,d),$(i.$$.fragment,d),$(f.$$.fragment,d),u=!1},d(d){m[e].d(d),d&&g(t),L(n,d),d&&g(o),d&&g(s),L(i),d&&g(a),L(f,d)}}}function ba(r){let e,l,t,n;return e=new lt({props:{unroundLeft:!0,id:"time-range-filter",controls:"time-range-filter-menu",$$slots:{default:[aa]},$$scope:{ctx:r}}}),t=new nt({props:{keepOpen:!0,id:"time-range-filter-menu",class:"w-[25rem] !overflow-visible",$$slots:{default:[$a]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment),l=W(),E(t.$$.fragment)},l(o){T(e.$$.fragment,o),l=V(o),T(t.$$.fragment,o)},m(o,s){D(e,o,s),I(o,l,s),D(t,o,s),n=!0},p(o,s){const i={};s[1]&4096&&(i.$$scope={dirty:s,ctx:o}),e.$set(i);const a={};s[0]&8191|s[1]&4096&&(a.$$scope={dirty:s,ctx:o}),t.$set(a)},i(o){n||(p(e.$$.fragment,o),p(t.$$.fragment,o),n=!0)},o(o){$(e.$$.fragment,o),$(t.$$.fragment,o),n=!1},d(o){L(e,o),o&&g(l),L(t,o)}}}function ka(r){let e,l,t,n,o;return l=new Or({props:{inputId:"time-range-filter",options:[{value:"<=",label:H("before")},{value:"BETWEEN",label:H("between")},{value:">=",label:H("after")}]}}),n=new tt({props:{$$slots:{default:[ba]},$$scope:{ctx:r}}}),{c(){e=F("div"),E(l.$$.fragment),t=W(),E(n.$$.fragment),this.h()},l(s){e=O(s,"DIV",{class:!0});var i=M(e);T(l.$$.fragment,i),t=V(i),T(n.$$.fragment,i),i.forEach(g),this.h()},h(){S(e,"class","flex items-center")},m(s,i){I(s,e,i),D(l,e,null),P(e,t),D(n,e,null),o=!0},p(s,i){const a={};i[0]&8191|i[1]&4096&&(a.$$scope={dirty:i,ctx:s}),n.$set(a)},i(s){o||(p(l.$$.fragment,s),p(n.$$.fragment,s),o=!0)},o(s){$(l.$$.fragment,s),$(n.$$.fragment,s),o=!1},d(s){s&&g(e),L(l),L(n)}}}function wa(r,e,l){let t,n,o,s,i;z(r,vt,ne=>l(22,i=ne));const{filter:a,handleSubmit:f}=Ye(je);z(r,a,ne=>l(21,s=ne));const u=hr()||H("local");let c=Je(new Date),m=Je(new Date),_="",d="",h="",b="",w="",C="";const k=["minutes","hours","days"];let A=k[0],y="",v="relative";const B=ne=>{l(3,c=Je(ne.detail))},q=ne=>{l(4,m=Je(ne.detail))},N=(ne,Re)=>{let Me=new Date(ne);return Re.hour&&(Me=Br(Me,parseInt(Re.hour))),Re.minute&&(Me=Sr(Me,parseInt(Re.minute))),Re.second&&(Me=Ar(Me,parseInt(Re.second))),Me},Y=()=>{if(v==="relative"&&!n){if(!y)return;le(a,s.value=ll(`${y} ${A}`),s),le(a,s.customDate=!1,s)}else{let ne=N(c,{hour:_,minute:d,second:h}),Re=N(m,{hour:b,minute:w,second:C});const Me=n?`BETWEEN "${gt(ne)}" AND "${gt(Re)}"`:gt(ne);le(a,s.value=Me,s),t?(le(a,s.customDate=!0,s),le(a,s.conditional="",s)):le(a,s.customDate=!1,s)}f()},U=ne=>ne?isNaN(Number(ne))||isNaN(parseFloat(ne)):!1;function R(ne){_=ne,l(5,_)}function Z(ne){d=ne,l(6,d)}function G(ne){h=ne,l(7,h)}function de(ne){b=ne,l(8,b)}function ge(ne){w=ne,l(9,w)}function x(ne){C=ne,l(10,C)}const oe=()=>{l(1,v="relative")};function Ee(ne){y=ne,l(0,y)}function De(ne){A=ne,l(11,A)}const Ce=()=>l(1,v="relative"),Le=()=>l(1,v="absolute");function We(ne){_=ne,l(5,_)}function te(ne){d=ne,l(6,d)}function Ve(ne){h=ne,l(7,h)}const Qe=()=>l(1,v="absolute");return r.$$.update=()=>{r.$$.dirty[0]&2097152&&l(2,t=s.conditional==="BETWEEN"),r.$$.dirty[0]&4194308&&l(20,n=t||!i),r.$$.dirty[0]&1048579&&l(12,o=v==="relative"&&!n&&(!y||U(y)))},[y,v,t,c,m,_,d,h,b,w,C,A,o,a,u,k,B,q,Y,U,n,s,i,R,Z,G,de,ge,x,oe,Ee,De,Ce,Le,We,te,Ve,Qe]}class va extends fe{constructor(e){super(),ue(this,e,wa,ka,ce,{},null,[-1,-1])}}function Ia(r){let e;const l=r[5].default,t=be(l,r,r[4],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,o){t&&t.m(n,o),e=!0},p(n,o){t&&t.p&&(!e||o&16)&&ke(t,l,n,n[4],e?ve(l,n[4],o,null):we(n[4]),null)},i(n){e||(p(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function Ea(r){let e,l,t,n;const o=r[5].default,s=be(o,r,r[4],null);return{c(){e=F("button"),s&&s.c(),this.h()},l(i){e=O(i,"BUTTON",{class:!0});var a=M(e);s&&s.l(a),a.forEach(g),this.h()},h(){S(e,"class","flex items-center gap-1")},m(i,a){I(i,e,a),s&&s.m(e,null),l=!0,t||(n=pe(e,"click",r[6]),t=!0)},p(i,a){s&&s.p&&(!l||a&16)&&ke(s,o,i,i[4],l?ve(o,i[4],a,null):we(i[4]),null)},i(i){l||(p(s,i),l=!0)},o(i){$(s,i),l=!1},d(i){i&&g(e),s&&s.d(i),t=!1,n()}}}function Ta(r){let e,l,t,n,o,s,i,a,f,u;const c=[Ea,Ia],m=[];function _(d,h){return d[1]?0:1}return l=_(r),t=m[l]=c[l](r),s=new ye({props:{name:"close"}}),{c(){e=F("span"),t.c(),n=W(),o=F("button"),E(s.$$.fragment),this.h()},l(d){e=O(d,"SPAN",{class:!0});var h=M(e);t.l(h),n=V(h),o=O(h,"BUTTON",{"aria-label":!0});var b=M(o);T(s.$$.fragment,b),b.forEach(g),h.forEach(g),this.h()},h(){S(o,"aria-label",r[2]),S(e,"class",i="chip "+r[0]+" svelte-jjsz31")},m(d,h){I(d,e,h),m[l].m(e,null),P(e,n),P(e,o),D(s,o,null),a=!0,f||(u=pe(o,"click",r[3]),f=!0)},p(d,[h]){let b=l;l=_(d),l===b?m[l].p(d,h):(J(),$(m[b],1,1,()=>{m[b]=null}),X(),t=m[l],t?t.p(d,h):(t=m[l]=c[l](d),t.c()),p(t,1),t.m(e,n)),(!a||h&4)&&S(o,"aria-label",d[2]),(!a||h&1&&i!==(i="chip "+d[0]+" svelte-jjsz31"))&&S(e,"class",i)},i(d){a||(p(t),p(s.$$.fragment,d),a=!0)},o(d){$(t),$(s.$$.fragment,d),a=!1},d(d){d&&g(e),m[l].d(),L(s),f=!1,u()}}}function Da(r,e,l){let{$$slots:t={},$$scope:n}=e,{intent:o="default"}=e,{button:s=!1}=e,{removeButtonLabel:i}=e;const a=mt(),f=c=>{c.preventDefault(),a("remove")};function u(c){Se.call(this,r,c)}return r.$$set=c=>{"intent"in c&&l(0,o=c.intent),"button"in c&&l(1,s=c.button),"removeButtonLabel"in c&&l(2,i=c.removeButtonLabel),"$$scope"in c&&l(4,n=c.$$scope)},[o,s,i,f,n,t,u]}class La extends fe{constructor(e){super(),ue(this,e,Da,Ta,ce,{intent:0,button:1,removeButtonLabel:2})}}const Ut=["Running","TimedOut","Completed","Failed","ContinuedAsNew","Canceled","Terminated"];function ya(r){return Ut.includes(r)}const tn=["All",...Ut];function ln(r,e,l){const t=r.slice();t[18]=e[l],t[24]=l;const n=t[18];return t[19]=n.attribute,t[20]=n.value,t[21]=n.conditional,t[22]=n.customDate,t}function nn(r){let e,l,t,n;function o(){return r[14](r[24])}function s(){return r[15](r[24],r[18])}return l=new La({props:{removeButtonLabel:H("workflows","remove-filter-label",{attribute:r[19]}),intent:"default",button:!0,$$slots:{default:[Fa]},$$scope:{ctx:r}}}),l.$on("remove",o),l.$on("click",s),{c(){e=F("div"),E(l.$$.fragment)},l(i){e=O(i,"DIV",{});var a=M(e);T(l.$$.fragment,a),a.forEach(g)},m(i,a){I(i,e,a),D(l,e,null),n=!0},p(i,a){r=i;const f={};a&2&&(f.removeButtonLabel=H("workflows","remove-filter-label",{attribute:r[19]})),a&33554482&&(f.$$scope={dirty:a,ctx:r}),l.$set(f)},i(i){n||(p(l.$$.fragment,i),t||it(()=>{t=ft(e,gr,{}),t.start()}),n=!0)},o(i){$(l.$$.fragment,i),n=!1},d(i){i&&g(e),L(l)}}}function Ca(r){let e,l=r[19]+"",t,n,o;function s(f,u){return u&2&&(o=null),o==null&&(o=!!Yt(f[19])),o?Aa:Sa}let i=s(r,-1),a=i(r);return{c(){e=F("span"),t=j(l),n=W(),a.c(),this.h()},l(f){e=O(f,"SPAN",{class:!0});var u=M(e);t=Q(u,l),n=V(u),a.l(u),u.forEach(g),this.h()},h(){S(e,"class","max-w-xs md:max-w-lg xl:max-w-2xl truncate")},m(f,u){I(f,e,u),P(e,t),P(e,n),a.m(e,null)},p(f,u){u&2&&l!==(l=f[19]+"")&&se(t,l),i===(i=s(f,u))&&a?a.p(f,u):(a.d(1),a=i(f),a&&(a.c(),a.m(e,null)))},i:K,o:K,d(f){f&&g(e),a.d()}}}function Ba(r){let e,l=r[19]+"",t,n,o=r[21]+"",s,i,a,f,u;return f=new Kt({props:{status:r[20]}}),{c(){e=F("span"),t=j(l),n=W(),s=j(o),i=W(),a=F("span"),E(f.$$.fragment),this.h()},l(c){e=O(c,"SPAN",{class:!0});var m=M(e);t=Q(m,l),n=V(m),s=Q(m,o),i=V(m),a=O(m,"SPAN",{class:!0});var _=M(a);T(f.$$.fragment,_),_.forEach(g),m.forEach(g),this.h()},h(){S(a,"class","ml-1 -py-1"),S(e,"class","flex")},m(c,m){I(c,e,m),P(e,t),P(e,n),P(e,s),P(e,i),P(e,a),D(f,a,null),u=!0},p(c,m){(!u||m&2)&&l!==(l=c[19]+"")&&se(t,l),(!u||m&2)&&o!==(o=c[21]+"")&&se(s,o);const _={};m&2&&(_.status=c[20]),f.$set(_)},i(c){u||(p(f.$$.fragment,c),u=!0)},o(c){$(f.$$.fragment,c),u=!1},d(c){c&&g(e),L(f)}}}function Sa(r){let e=r[21]+"",l,t,n=(kt(r[19])?`"${r[20]}"`:r[20])+"",o;return{c(){l=j(e),t=W(),o=j(n)},l(s){l=Q(s,e),t=V(s),o=Q(s,n)},m(s,i){I(s,l,i),I(s,t,i),I(s,o,i)},p(s,i){i&2&&e!==(e=s[21]+"")&&se(l,e),i&2&&n!==(n=(kt(s[19])?`"${s[20]}"`:s[20])+"")&&se(o,n)},d(s){s&&g(l),s&&g(t),s&&g(o)}}}function Aa(r){let e;function l(o,s){return o[22]?Pa:Na}let t=l(r),n=t(r);return{c(){n.c(),e=ee()},l(o){n.l(o),e=ee()},m(o,s){n.m(o,s),I(o,e,s)},p(o,s){t===(t=l(o))&&n?n.p(o,s):(n.d(1),n=t(o),n&&(n.c(),n.m(e.parentNode,e)))},d(o){n.d(o),o&&g(e)}}}function Na(r){let e=r[10](r[21])+"",l,t,n=Ne(r[20],r[4],{relative:r[5],abbrFormat:!0})+"",o;return{c(){l=j(e),t=W(),o=j(n)},l(s){l=Q(s,e),t=V(s),o=Q(s,n)},m(s,i){I(s,l,i),I(s,t,i),I(s,o,i)},p(s,i){i&2&&e!==(e=s[10](s[21])+"")&&se(l,e),i&50&&n!==(n=Ne(s[20],s[4],{relative:s[5],abbrFormat:!0})+"")&&se(o,n)},d(s){s&&g(l),s&&g(t),s&&g(o)}}}function Pa(r){let e=r[11](r[20],r[4],r[5])+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&50&&e!==(e=t[11](t[20],t[4],t[5])+"")&&se(l,e)},d(t){t&&g(l)}}}function Fa(r){let e,l,t,n,o;const s=[Ba,Ca],i=[];function a(f,u){return u&2&&(e=null),e==null&&(e=!!(f[19]==="ExecutionStatus"&&ya(f[20]))),e?0:1}return l=a(r,-1),t=i[l]=s[l](r),{c(){t.c(),n=ee()},l(f){t.l(f),n=ee()},m(f,u){i[l].m(f,u),I(f,n,u),o=!0},p(f,u){let c=l;l=a(f,u),l===c?i[l].p(f,u):(J(),$(i[c],1,1,()=>{i[c]=null}),X(),t=i[l],t?t.p(f,u):(t=i[l]=s[l](f),t.c()),p(t,1),t.m(n.parentNode,n))},i(f){o||(p(t),o=!0)},o(f){$(t),o=!1},d(f){i[l].d(f),f&&g(n)}}}function rn(r,e){let l,t,n,o=e[19]&&nn(e);return{key:r,first:null,c(){l=ee(),o&&o.c(),t=ee(),this.h()},l(s){l=ee(),o&&o.l(s),t=ee(),this.h()},h(){this.first=l},m(s,i){I(s,l,i),o&&o.m(s,i),I(s,t,i),n=!0},p(s,i){e=s,e[19]?o?(o.p(e,i),i&2&&p(o,1)):(o=nn(e),o.c(),p(o,1),o.m(t.parentNode,t)):o&&(J(),$(o,1,1,()=>{o=null}),X())},i(s){n||(p(o),n=!0)},o(s){$(o),n=!1},d(s){s&&g(l),o&&o.d(s),s&&g(t)}}}function on(r){let e,l;return e=new ct({props:{variant:"secondary",size:"xs",$$slots:{default:[Oa]},$$scope:{ctx:r}}}),e.$on("click",r[9]),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&33554432&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Oa(r){let e;return{c(){e=j("View More...")},l(l){e=Q(l,"View More...")},m(l,t){I(l,e,t)},d(l){l&&g(e)}}}function Wa(r){let e,l=[],t=new Map,n,o,s=r[1];const i=f=>`${f[18].attribute}-${f[24]}`;for(let f=0;f{a=null}),X()),(!o||u&2)&&ae(e,"pt-2",f[1].length)},i(f){if(!o){for(let u=0;ul(13,o=y)),z(r,At,y=>l(16,a=y)),z(r,Ie,y=>l(17,f=y)),z(r,Vt,y=>l(4,u=y)),z(r,$r,y=>l(5,c=y));const{filter:m,activeQueryIndex:_}=Ye(je);z(r,m,y=>l(3,i=y)),z(r,_,y=>l(2,s=y));const d=y=>{if(o.splice(y,1),he.set(o),Ke(f.url,o,a),y===o.length){const v=o[o.length-1];v&&(v.operator="")}y===s?(le(_,s=null,s),le(m,i=Ze(),i)):y{n&&l(12,h+=5)},w=y=>["<","<="].includes(y)?H("before").toLowerCase():[">",">="].includes(y)?H("after").toLowerCase():y,C=(y,v,B)=>{const[q,N,Y,U]=y.split(" ");return`${q.toLowerCase()} ${Ne(N,v,{relative:B,abbrFormat:!0})} ${Y.toLowerCase()} ${Ne(U,v,{relative:B,abbrFormat:!0})}`},k=y=>d(y),A=(y,v)=>{le(_,s=y,s),le(m,i={...v},i)};return r.$$.update=()=>{r.$$.dirty&12288&&l(1,t=o.slice(0,h)),r.$$.dirty&12288&&l(0,n=h{k=null}),X()),(!b||v&2048)&&S(a,"max",y[11]),(!b||v&4096)&&S(a,"min",y[12]),(!b||v&256)&&(a.disabled=y[8]),(!b||v&64)&&S(a,"placeholder",y[6]),(!b||v&4)&&S(a,"id",y[2]),(!b||v&128)&&S(a,"name",y[7]),v&1&&dr(a.value)!==y[0]&&vl(a,y[0]),(!b||v&256)&&ae(a,"disabled",y[8]),(!b||v&512&&f!==(f="input-container "+y[9]+" svelte-1851tme"))&&S(s,"class",f),(!b||v&768)&&ae(s,"disabled",y[8]),(!b||v&33280)&&ae(s,"search",y[15]),(!b||v&8704)&&ae(s,"unroundRight",y[13]),(!b||v&16896)&&ae(s,"unroundLeft",y[14]),(!b||v&66048)&&ae(s,"invalid",!y[16]),(!b||v&32)&&se(m,y[5]),(!b||v&131072&&_!==(_=wl(y[17].class)+" svelte-1851tme"))&&S(e,"class",_),!y[16]&&y[10]?A?A.p(y,v):(A=an(y),A.c(),A.m(h.parentNode,h)):A&&(A.d(1),A=null)},i(y){b||(p(k),b=!0)},o(y){$(k),b=!1},d(y){y&&g(e),k&&k.d(),y&&g(d),A&&A.d(y),y&&g(h),w=!1,wt(C)}}}function Ha(r,e,l){let{icon:t=null}=e,{id:n}=e,{value:o}=e,{label:s}=e,{labelHidden:i=!1}=e,{units:a=""}=e,{placeholder:f=""}=e,{name:u=n}=e,{disabled:c=!1}=e,{theme:m="light"}=e,{hintText:_=""}=e,{max:d=void 0}=e,{min:h=void 0}=e,{unroundRight:b=!1}=e,{unroundLeft:w=!1}=e,{search:C=!1}=e,k=!0;const A=U=>{h!==void 0&&Ud?l(16,k=!1):l(16,k=!0)};function y(U){Se.call(this,r,U)}function v(U){Se.call(this,r,U)}function B(U){Se.call(this,r,U)}function q(U){Se.call(this,r,U)}function N(U){Se.call(this,r,U)}function Y(){o=dr(this.value),l(0,o)}return r.$$set=U=>{l(17,e=ut(ut({},e),$t(U))),"icon"in U&&l(1,t=U.icon),"id"in U&&l(2,n=U.id),"value"in U&&l(0,o=U.value),"label"in U&&l(3,s=U.label),"labelHidden"in U&&l(4,i=U.labelHidden),"units"in U&&l(5,a=U.units),"placeholder"in U&&l(6,f=U.placeholder),"name"in U&&l(7,u=U.name),"disabled"in U&&l(8,c=U.disabled),"theme"in U&&l(9,m=U.theme),"hintText"in U&&l(10,_=U.hintText),"max"in U&&l(11,d=U.max),"min"in U&&l(12,h=U.min),"unroundRight"in U&&l(13,b=U.unroundRight),"unroundLeft"in U&&l(14,w=U.unroundLeft),"search"in U&&l(15,C=U.search)},r.$$.update=()=>{r.$$.dirty&1&&A(o)},e=$t(e),[o,t,n,s,i,a,f,u,c,m,_,d,h,b,w,C,k,e,y,v,B,q,N,Y]}class Ua extends fe{constructor(e){super(),ue(this,e,Ha,Ra,ce,{icon:1,id:2,value:0,label:3,labelHidden:4,units:5,placeholder:6,name:7,disabled:8,theme:9,hintText:10,max:11,min:12,unroundRight:13,unroundLeft:14,search:15})}}function qa(r){let e,l,t,n,o,s;l=new Or({props:{inputId:"number-filter-search"}});function i(f){r[4](f)}let a={label:H("number-input-placeholder"),labelHidden:!0,id:"number-filter-search",icon:"search",placeholder:H("number-input-placeholder"),min:Wr,unroundLeft:!0,search:!0,class:"-mr-2"};return r[0]!==void 0&&(a.value=r[0]),n=new Ua({props:a}),ie.push(()=>me(n,"value",i)),n.$on("keydown",r[3]),{c(){e=F("div"),E(l.$$.fragment),t=W(),E(n.$$.fragment),this.h()},l(f){e=O(f,"DIV",{class:!0});var u=M(e);T(l.$$.fragment,u),t=V(u),T(n.$$.fragment,u),u.forEach(g),this.h()},h(){S(e,"class","flex items-center")},m(f,u){I(f,e,u),D(l,e,null),P(e,t),D(n,e,null),s=!0},p(f,[u]){const c={};!o&&u&1&&(o=!0,c.value=f[0],_e(()=>o=!1)),n.$set(c)},i(f){s||(p(l.$$.fragment,f),p(n.$$.fragment,f),s=!0)},o(f){$(l.$$.fragment,f),$(n.$$.fragment,f),s=!1},d(f){f&&g(e),L(l),L(n)}}}const Wr=0;function ja(r,e,l){let t,n;const{filter:o,focusedElementId:s,handleSubmit:i}=Ye(je);z(r,o,c=>l(5,t=c)),z(r,s,c=>l(6,n=c));let a=t.value?Number(t.value):null;const f=c=>{le(s,n="",n),c.key==="Enter"&&a!==null&&a>=Wr&&(le(o,t.value=String(a),t),c.preventDefault(),i())};function u(c){a=c,l(0,a)}return[a,o,s,f,u]}class Qa extends fe{constructor(e){super(),ue(this,e,ja,qa,ce,{})}}const{Boolean:za}=Yr;function fn(r,e,l){const t=r.slice();t[16]=e[l].value,t[17]=e[l].label;const n=ei(t[16],t[4]);return t[18]=n,t}function Ka(r){let e=(r[2].attribute||H("workflows","filter"))+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&4&&e!==(e=(t[2].attribute||H("workflows","filter"))+"")&&se(l,e)},d(t){t&&g(l)}}}function un(r){let e,l;return e=new ye({props:{name:"filter"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Ya(r){let e,l,t=!r[2].attribute&&un();return{c(){t&&t.c(),e=ee()},l(n){t&&t.l(n),e=ee()},m(n,o){t&&t.m(n,o),I(n,e,o),l=!0},p(n,o){n[2].attribute?t&&(J(),$(t,1,1,()=>{t=null}),X()):t?o&4&&p(t,1):(t=un(),t.c(),p(t,1),t.m(e.parentNode,e))},i(n){l||(p(t),l=!0)},o(n){$(t),l=!1},d(n){t&&t.d(n),n&&g(e)}}}function cn(r){let e,l;return e=new $e({props:{class:"whitespace-nowrap",disabled:!0,$$slots:{default:[Ga]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&2097152&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Ga(r){let e=H("no-results")+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Ja(r){let e=r[17]+"",l,t;return{c(){l=j(e),t=W()},l(n){l=Q(n,e),t=V(n)},m(n,o){I(n,l,o),I(n,t,o)},p(n,o){o&2&&e!==(e=n[17]+"")&&se(l,e)},d(n){n&&g(l),n&&g(t)}}}function mn(r){let e,l;function t(){return r[13](r[16])}return e=new $e({props:{disabled:r[18],$$slots:{default:[Ja]},$$scope:{ctx:r}}}),e.$on("click",t),{c(){E(e.$$.fragment)},l(n){T(e.$$.fragment,n)},m(n,o){D(e,n,o),l=!0},p(n,o){r=n;const s={};o&18&&(s.disabled=r[18]),o&2097154&&(s.$$scope={dirty:o,ctx:r}),e.$set(s)},i(n){l||(p(e.$$.fragment,n),l=!0)},o(n){$(e.$$.fragment,n),l=!1},d(n){L(e,n)}}}function Xa(r){let e,l,t,n,o;function s(m){r[12](m)}let i={label:H("search"),labelHidden:!0,id:"filter-search",noBorder:!0,icon:"search",placeholder:H("search"),class:"mb-1"};r[0]!==void 0&&(i.value=r[0]),e=new Ae({props:i}),ie.push(()=>me(e,"value",s));let a=r[1],f=[];for(let m=0;m$(f[m],1,1,()=>{f[m]=null});let c=null;return a.length||(c=cn(r)),{c(){E(e.$$.fragment),t=W();for(let m=0;ml=!1)),e.$set(d),_&274){a=m[1];let h;for(h=0;h{c=null}),X()):(c=cn(m),c.c(),p(c,1),c.m(n.parentNode,n))}},i(m){if(!o){p(e.$$.fragment,m);for(let _=0;_l.conditional==="="&&l.attribute===r)}function ti(r,e,l){let t,n,o,s,i,a,f;z(r,So,k=>l(10,o=k)),z(r,he,k=>l(4,f=k));const{filter:u,activeQueryIndex:c,focusedElementId:m}=Ye(je);z(r,u,k=>l(2,i=k)),z(r,c,k=>l(3,a=k)),z(r,m,k=>l(14,s=k));function _(k){return at(k)?"status-filter":kt(k)?"text-filter-search":rl(k)?"list-filter-search":pl(k)||Yt(k)?"conditional-menu-button":gl(k)?"boolean-filter":""}function d(k){l(0,h=""),u.set({...Ze(),attribute:k,conditional:"="}),le(m,s=_(k),s)}let h="";const b=()=>l(0,h="");function w(k){h=k,l(0,h)}const C=k=>{d(k)};return r.$$.update=()=>{r.$$.dirty&1024&&l(9,t=o.filter(k=>!rl(k.value))),r.$$.dirty&513&&l(1,n=h?t.filter(k=>k.value.toLowerCase().includes(h.toLowerCase())):t)},[h,n,i,a,f,u,c,m,d,t,o,b,w,C]}class li extends fe{constructor(e){super(),ue(this,e,ti,xa,ce,{})}}function ni(r){let e,l;return e=new ye({props:{class:"absolute top-0 left-0 h-4 w-4",name:"checkmark",strokeWidth:3}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function ri(r){let e,l;return e=new ye({props:{class:"absolute top-0 left-0 h-4 w-4",name:"hyphen"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function oi(r){let e,l,t,n,o,s,i,a,f,u,c,m,_,d,h,b=[{id:r[1]},{__value:r[8]},{type:"checkbox"},{indeterminate:r[5]},{disabled:r[6]},Wl(r[10],"data-testid")],w={};for(let y=0;y{k[B]=null}),X()),~f?(u=k[f],u||(u=k[f]=C[f](y),u.c()),p(u,1),u.m(a,null)):u=null),(!_||v&128)&&ae(a,"hoverable",y[7]),(!_||v&16)&&ae(a,"on-dark",y[4]),(!_||v&128)&&ae(l,"hoverable",y[7]),(!_||v&64)&&ae(l,"disabled",y[6]),(!_||v&16)&&ae(l,"on-dark",y[4]),(!_||v&1024&&c!==(c=y[10]["data-testid"]??null))&&S(e,"data-testid",c),(!_||v&2048&&m!==(m="relative "+y[11].class+" svelte-1ic6fbx"))&&S(e,"class",m)},i(y){_||(p(u),_=!0)},o(y){$(u),_=!1},d(y){y&&g(e),~f&&k[f].d(),d=!1,wt(h)}}}function si(r,e,l){const t=["id","checked","label","labelHidden","onDark","indeterminate","disabled","hoverable","value","group"];let n=El(e,t),{id:o=""}=e,{checked:s=!1}=e,{label:i}=e,{labelHidden:a=!1}=e,{onDark:f=!1}=e,{indeterminate:u=!1}=e,{disabled:c=!1}=e,{hoverable:m=!1}=e,{value:_=void 0}=e,{group:d=void 0}=e;const h=mt(),b=B=>{const{checked:q}=B.currentTarget;d!==void 0&&(q?l(12,d=[...d,_]):l(12,d=d.filter(N=>N!==_))),l(0,s=q),h("change",{checked:B.currentTarget.checked,value:_})};function w(B){Se.call(this,r,B)}function C(B){Se.call(this,r,B)}function k(B){Se.call(this,r,B)}function A(B){Se.call(this,r,B)}function y(B){Se.call(this,r,B)}function v(){s=this.checked,l(0,s),l(12,d),l(8,_)}return r.$$set=B=>{l(11,e=ut(ut({},e),$t(B))),l(10,n=El(e,t)),"id"in B&&l(1,o=B.id),"checked"in B&&l(0,s=B.checked),"label"in B&&l(2,i=B.label),"labelHidden"in B&&l(3,a=B.labelHidden),"onDark"in B&&l(4,f=B.onDark),"indeterminate"in B&&l(5,u=B.indeterminate),"disabled"in B&&l(6,c=B.disabled),"hoverable"in B&&l(7,m=B.hoverable),"value"in B&&l(8,_=B.value),"group"in B&&l(12,d=B.group)},r.$$.update=()=>{r.$$.dirty&4353&&l(0,s=d!==void 0?d.includes(_):s)},e=$t(e),[s,o,i,a,f,u,c,m,_,b,n,e,d,w,C,k,A,y,v]}class Gt extends fe{constructor(e){super(),ue(this,e,si,oi,ce,{id:1,checked:0,label:2,labelHidden:3,onDark:4,indeterminate:5,disabled:6,hoverable:7,value:8,group:12})}}function _n(r,e,l){const t=r.slice();t[16]=e[l];const n=t[0].some(function(...s){return r[10](t[16],...s)});return t[17]=n,t}function ai(r){let e=r[1].attribute+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&2&&e!==(e=t[1].attribute+"")&&se(l,e)},d(t){t&&g(l)}}}function ii(r){let e,l;return e=new Kt({props:{status:r[16]}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function fi(r){let e,l;function t(){return r[8](r[16])}return e=new Gt({props:{slot:"leading",checked:r[17],label:r[16],labelHidden:!0}}),e.$on("click",t),{c(){E(e.$$.fragment)},l(n){T(e.$$.fragment,n)},m(n,o){D(e,n,o),l=!0},p(n,o){r=n;const s={};o&1&&(s.checked=r[17]),e.$set(s)},i(n){l||(p(e.$$.fragment,n),l=!0)},o(n){$(e.$$.fragment,n),l=!1},d(n){L(e,n)}}}function dn(r,e){let l,t,n;function o(){return e[9](e[16])}return t=new $e({props:{"data-testid":e[16],$$slots:{leading:[fi],default:[ii]},$$scope:{ctx:e}}}),t.$on("click",o),{key:r,first:null,c(){l=ee(),E(t.$$.fragment),this.h()},l(s){l=ee(),T(t.$$.fragment,s),this.h()},h(){this.first=l},m(s,i){I(s,l,i),D(t,s,i),n=!0},p(s,i){e=s;const a={};i&1048577&&(a.$$scope={dirty:i,ctx:e}),t.$set(a)},i(s){n||(p(t.$$.fragment,s),n=!0)},o(s){$(t.$$.fragment,s),n=!1},d(s){s&&g(l),L(t,s)}}}function ui(r){let e=H("apply")+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function ci(r){let e=[],l=new Map,t,n,o,s,i,a=Ut;const f=u=>u[16];for(let u=0;ul(7,o=k)),z(r,At,k=>l(11,i=k)),z(r,Ie,k=>l(12,a=k));const{filter:f,resetFilter:u}=Ye(je);z(r,f,k=>l(1,s=k));const c=ot(!0);function m(){le(he,o=t,o),Ke(a.url,o,i),u()}function _(k){return{...s,value:k}}function d(k){return k.length===1?[_(k[0].value)]:k.map((A,y)=>{const v=y===k.length-1?"":"OR";return{...A,operator:v}})}const h=k=>{if(n.find(A=>A.value===k)){const A=o.filter(y=>!at(y.attribute));l(6,t=[...A,...d(n.filter(y=>y.value!==k))])}else if(!n.length)l(6,t=[...t,_(k)]);else{const A=t.filter(y=>!at(y.attribute));l(6,t=[...A,...d([...n,_(k)])])}},b=k=>h(k),w=k=>{h(k)},C=(k,A)=>A.value===k;return r.$$.update=()=>{r.$$.dirty&128&&l(6,t=[...o]),r.$$.dirty&64&&l(0,n=t.filter(k=>at(k.attribute)))},[n,s,f,c,m,h,t,o,b,w,C]}class pi extends fe{constructor(e){super(),ue(this,e,di,_i,ce,{})}}function gi(r){let e,l,t;function n(s){r[4](s)}let o={label:r[1].attribute,labelHidden:!0,id:"text-filter-search",type:"search",placeholder:`${H("enter")} ${r[1].attribute}`,icon:"search",class:"w-full",unroundLeft:!0};return r[0]!==void 0&&(o.value=r[0]),e=new Ae({props:o}),ie.push(()=>me(e,"value",n)),e.$on("keydown",r[3]),{c(){E(e.$$.fragment)},l(s){T(e.$$.fragment,s)},m(s,i){D(e,s,i),t=!0},p(s,[i]){const a={};i&2&&(a.label=s[1].attribute),i&2&&(a.placeholder=`${H("enter")} ${s[1].attribute}`),!l&&i&1&&(l=!0,a.value=s[0],_e(()=>l=!1)),e.$set(a)},i(s){t||(p(e.$$.fragment,s),t=!0)},o(s){$(e.$$.fragment,s),t=!1},d(s){L(e,s)}}}function hi(r,e,l){let t;const{filter:n,handleSubmit:o}=Ye(je);z(r,n,f=>l(1,t=f));let s=t.value;function i(f){f.key==="Enter"&&s!==""&&(f.preventDefault(),le(n,t.value=s,t),o())}function a(f){s=f,l(0,s)}return[s,t,n,i,a]}let $i=class extends fe{constructor(e){super(),ue(this,e,hi,gi,ce,{})}};function bi(r){let e,l,t,n,o,s,i,a,f,u,c,m,_,d,h,b,w;const C=[vi,wi],k=[];function A(N,Y){return Y&1&&(l=null),l==null&&(l=!!at(N[0].attribute)),l?0:1}t=A(r,-1),n=k[t]=C[t](r);const y=[Di,Ti,Ei,Ii],v=[];function B(N,Y){return Y&1&&(s=null),Y&1&&(i=null),Y&1&&(a=null),Y&1&&(f=null),s==null&&(s=!!kt(N[0].attribute)),s?0:(i==null&&(i=!!pl(N[0].attribute)),i?1:(a==null&&(a=!!Yt(N[0].attribute)),a?2:(f==null&&(f=!!gl(N[0].attribute)),f?3:-1)))}~(u=B(r,-1))&&(c=v[u]=y[u](r));let q=r[2]&&pn(r);return{c(){e=F("div"),n.c(),o=W(),c&&c.c(),m=W(),_=F("div"),q&&q.c(),this.h()},l(N){e=O(N,"DIV",{class:!0});var Y=M(e);n.l(Y),o=V(Y),c&&c.l(Y),Y.forEach(g),m=V(N),_=O(N,"DIV",{class:!0});var U=M(_);q&&q.l(U),U.forEach(g),this.h()},h(){S(e,"class","flex items-center svelte-d4361j"),ae(e,"filter",!r[2]),S(_,"class",d="flex flex-col sm:flex-row "+(r[2]?"justify-between w-full":"justify-end"))},m(N,Y){I(N,e,Y),k[t].m(e,null),P(e,o),~u&&v[u].m(e,null),I(N,m,Y),I(N,_,Y),q&&q.m(_,null),h=!0,b||(w=pe(e,"keyup",r[8]),b=!0)},p(N,Y){let U=t;t=A(N,Y),t!==U&&(J(),$(k[U],1,1,()=>{k[U]=null}),X(),n=k[t],n||(n=k[t]=C[t](N),n.c()),p(n,1),n.m(e,o));let R=u;u=B(N,Y),u!==R&&(c&&(J(),$(v[R],1,1,()=>{v[R]=null}),X()),~u?(c=v[u],c||(c=v[u]=y[u](N),c.c()),p(c,1),c.m(e,null)):c=null),(!h||Y&4)&&ae(e,"filter",!N[2]),N[2]?q?(q.p(N,Y),Y&4&&p(q,1)):(q=pn(N),q.c(),p(q,1),q.m(_,null)):q&&(J(),$(q,1,1,()=>{q=null}),X()),(!h||Y&4&&d!==(d="flex flex-col sm:flex-row "+(N[2]?"justify-between w-full":"justify-end")))&&S(_,"class",d)},i(N){h||(p(n),p(c),p(q),h=!0)},o(N){$(n),$(c),$(q),h=!1},d(N){N&&g(e),k[t].d(),~u&&v[u].d(),N&&g(m),N&&g(_),q&&q.d(),b=!1,w()}}}function ki(r){let e,l;return e=new Fr({}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function wi(r){let e,l;return e=new li({}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function vi(r){let e,l,t,n;return e=new pi({}),t=new Nt({}),{c(){E(e.$$.fragment),l=W(),E(t.$$.fragment)},l(o){T(e.$$.fragment,o),l=V(o),T(t.$$.fragment,o)},m(o,s){D(e,o,s),I(o,l,s),D(t,o,s),n=!0},i(o){n||(p(e.$$.fragment,o),p(t.$$.fragment,o),n=!0)},o(o){$(e.$$.fragment,o),$(t.$$.fragment,o),n=!1},d(o){L(e,o),o&&g(l),L(t,o)}}}function Ii(r){let e,l,t,n,o,s;return l=new Zs({}),n=new Nt({}),{c(){e=F("div"),E(l.$$.fragment),t=W(),E(n.$$.fragment),this.h()},l(i){e=O(i,"DIV",{class:!0});var a=M(e);T(l.$$.fragment,a),t=V(a),T(n.$$.fragment,a),a.forEach(g),this.h()},h(){S(e,"class","flex w-full items-center")},m(i,a){I(i,e,a),D(l,e,null),P(e,t),D(n,e,null),s=!0},i(i){s||(p(l.$$.fragment,i),p(n.$$.fragment,i),o||it(()=>{o=ft(e,Bt,{x:-100,duration:150}),o.start()}),s=!0)},o(i){$(l.$$.fragment,i),$(n.$$.fragment,i),s=!1},d(i){i&&g(e),L(l),L(n)}}}function Ei(r){let e,l,t,n,o,s;return l=new va({}),n=new Nt({}),{c(){e=F("div"),E(l.$$.fragment),t=W(),E(n.$$.fragment),this.h()},l(i){e=O(i,"DIV",{class:!0});var a=M(e);T(l.$$.fragment,a),t=V(a),T(n.$$.fragment,a),a.forEach(g),this.h()},h(){S(e,"class","flex w-full items-center")},m(i,a){I(i,e,a),D(l,e,null),P(e,t),D(n,e,null),s=!0},i(i){s||(p(l.$$.fragment,i),p(n.$$.fragment,i),o||it(()=>{o=ft(e,Bt,{x:-100,duration:150}),o.start()}),s=!0)},o(i){$(l.$$.fragment,i),$(n.$$.fragment,i),s=!1},d(i){i&&g(e),L(l),L(n)}}}function Ti(r){let e,l,t,n,o,s;return l=new Qa({}),n=new Nt({}),{c(){e=F("div"),E(l.$$.fragment),t=W(),E(n.$$.fragment),this.h()},l(i){e=O(i,"DIV",{class:!0});var a=M(e);T(l.$$.fragment,a),t=V(a),T(n.$$.fragment,a),a.forEach(g),this.h()},h(){S(e,"class","flex w-full items-center")},m(i,a){I(i,e,a),D(l,e,null),P(e,t),D(n,e,null),s=!0},i(i){s||(p(l.$$.fragment,i),p(n.$$.fragment,i),o||it(()=>{o=ft(e,Bt,{x:-100,duration:150}),o.start()}),s=!0)},o(i){$(l.$$.fragment,i),$(n.$$.fragment,i),s=!1},d(i){i&&g(e),L(l),L(n)}}}function Di(r){let e,l,t,n,o,s;return l=new $i({}),n=new Nt({}),{c(){e=F("div"),E(l.$$.fragment),t=W(),E(n.$$.fragment),this.h()},l(i){e=O(i,"DIV",{class:!0});var a=M(e);T(l.$$.fragment,a),t=V(a),T(n.$$.fragment,a),a.forEach(g),this.h()},h(){S(e,"class","flex w-full items-center")},m(i,a){I(i,e,a),D(l,e,null),P(e,t),D(n,e,null),s=!0},i(i){s||(p(l.$$.fragment,i),p(n.$$.fragment,i),o||it(()=>{o=ft(e,Bt,{x:-100,duration:150}),o.start()}),s=!0)},o(i){$(l.$$.fragment,i),$(n.$$.fragment,i),s=!1},d(i){i&&g(e),L(l),L(n)}}}function pn(r){let e,l;return e=new ct({props:{variant:"ghost",$$slots:{default:[Li]},$$scope:{ctx:r}}}),e.$on("click",r[6]),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&4194304&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Li(r){let e=H("clear-all")+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function yi(r){let e,l,t,n,o,s,i,a,f,u;const c=[ki,bi],m=[];function _(b,w){return b[1]?0:1}t=_(r),n=m[t]=c[t](r);function d(b){r[12](b)}let h={label:H("workflows","view-search-input"),labelPosition:"left",id:"view-search-input"};return r[1]!==void 0&&(h.checked=r[1]),s=new Bo({props:h}),ie.push(()=>me(s,"checked",d)),s.$on("change",r[13]),f=new Ma({}),{c(){e=F("div"),l=F("div"),n.c(),o=W(),E(s.$$.fragment),a=W(),E(f.$$.fragment),this.h()},l(b){e=O(b,"DIV",{class:!0});var w=M(e);l=O(w,"DIV",{class:!0});var C=M(l);n.l(C),o=V(C),T(s.$$.fragment,C),C.forEach(g),a=V(w),T(f.$$.fragment,w),w.forEach(g),this.h()},h(){S(l,"class","flex flex-col grow sm:items-center sm:flex-row gap-4"),S(e,"class","flex flex-col grow")},m(b,w){I(b,e,w),P(e,l),m[t].m(l,null),P(l,o),D(s,l,null),P(e,a),D(f,e,null),u=!0},p(b,[w]){let C=t;t=_(b),t===C?m[t].p(b,w):(J(),$(m[C],1,1,()=>{m[C]=null}),X(),n=m[t],n?n.p(b,w):(n=m[t]=c[t](b),n.c()),p(n,1),n.m(l,o));const k={};!i&&w&2&&(i=!0,k.checked=b[1],_e(()=>i=!1)),s.$set(k)},i(b){u||(p(n),p(s.$$.fragment,b),p(f.$$.fragment,b),u=!0)},o(b){$(n),$(s.$$.fragment,b),$(f.$$.fragment,b),u=!1},d(b){b&&g(e),m[t].d(),L(s),L(f)}}}const je="filter-context";function Ci(r,e,l){let t,n,o,s,i,a,f,u;z(r,he,N=>l(10,a=N)),z(r,Ie,N=>l(11,f=N)),z(r,xe,N=>l(16,u=N));const c=ot(Ze());z(r,c,N=>l(0,o=N));const m=ot(null);z(r,m,N=>l(9,i=N));const _=ot("");z(r,_,N=>l(15,s=N));let d=!1;Jr(je,{filter:c,activeQueryIndex:m,handleSubmit:b,focusedElementId:_,resetFilter:y});function h(){const N=Nr(Pr(a));N&&N===t?le(xe,u=Date.now(),u):qe({url:f.url,parameter:"query",value:N,allowEmpty:!0})}function b(){i!==null?(le(he,a[i]=o,a),le(m,i=null,i)):le(he,a=[...a,o],a),c.set(Ze()),h()}function w(){le(he,a=[],a),h()}function C(N){return at(N)?"status-filter":kt(N)?"text-filter-search":rl(N)?"list-filter-search":pl(N)||Yt(N)?"conditional-menu-button":gl(N)?"boolean-filter":""}function k(){i!==null&&le(_,s=C(o.attribute),s)}function A(){if(s){const N=document.getElementById(s);N&&(N.focus(),N instanceof HTMLButtonElement&&N.click())}}Xr(()=>{A()});function y(){m.set(null),c.set(Ze())}function v(N){N.key==="Escape"&&!kt(o.attribute)&&y()}function B(N){d=N,l(1,d)}const q=()=>{y()};return r.$$.update=()=>{r.$$.dirty&2048&&(t=f.url.searchParams.get("query")),r.$$.dirty&1025&&l(2,n=a.length&&!o.attribute),r.$$.dirty&512&&k()},[o,d,n,c,m,_,w,y,v,i,a,f,B,q]}class Bi extends fe{constructor(e){super(),ue(this,e,Ci,yi,ce,{})}}const Zt=""+new URL("../assets/empty-state-dark_2x.91ea3d8e.png",import.meta.url).href,gn=""+new URL("../assets/empty-state-light_2x.212be1d9.png",import.meta.url).href;function hn(r,e,l){const t=r.slice();return t[7]=e[l],t}const Si=r=>({}),$n=r=>({});function Ai(r){let e,l,t,n,o,s;function i(_,d){return _[1]?Fi:Pi}let a=i(r),f=a(r);const u=[Vi,Wi,Oi],c=[];function m(_,d){return _[2]?0:_[1]?1:2}return t=m(r),n=c[t]=u[t](r),{c(){e=F("h2"),f.c(),l=W(),n.c(),o=ee(),this.h()},l(_){e=O(_,"H2",{class:!0});var d=M(e);f.l(d),d.forEach(g),l=V(_),n.l(_),o=ee(),this.h()},h(){S(e,"class","text-lg font-medium")},m(_,d){I(_,e,d),f.m(e,null),I(_,l,d),c[t].m(_,d),I(_,o,d),s=!0},p(_,d){a===(a=i(_))&&f?f.p(_,d):(f.d(1),f=a(_),f&&(f.c(),f.m(e,null)));let h=t;t=m(_),t===h?c[t].p(_,d):(J(),$(c[h],1,1,()=>{c[h]=null}),X(),n=c[t],n?n.p(_,d):(n=c[t]=u[t](_),n.c()),p(n,1),n.m(o.parentNode,o))},i(_){s||(p(n),s=!0)},o(_){$(n),s=!1},d(_){_&&g(e),f.d(),_&&g(l),c[t].d(_),_&&g(o)}}}function Ni(r){let e,l;return e=new ul({}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Pi(r){let e=H("workflows","workflow-empty-state-title")+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Fi(r){let e=H("workflows","workflow-query-empty-state-title")+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Oi(r){let e,l,t=H("workflows","workflow-empty-state-description")+"",n,o,s,i,a,f,u;const c=r[5].cloud,m=be(c,r,r[6],$n);s=new Et({props:{newTab:!0,href:"https://github.com/temporalio",$$slots:{default:[Mi]},$$scope:{ctx:r}}});let _=r[3],d=[];for(let b=0;b<_.length;b+=1)d[b]=bn(hn(r,_,b));const h=b=>$(d[b],1,1,()=>{d[b]=null});return{c(){m&&m.c(),e=W(),l=F("p"),n=j(t),o=W(),E(s.$$.fragment),i=j("."),a=W(),f=F("ul");for(let b=0;b{_[w]=null}),X(),s=_[o],s?s.p(h,b):(s=_[o]=m[o](h),s.c()),p(s,1),s.m(n,null)),(!c||b&2&&!Tl(f.src,u=h[1]?gn:Zt))&&S(f,"src",u)},i(h){c||(p(s),c=!0)},o(h){$(s),c=!1},d(h){g(e),h&&g(l),h&&g(t),_[o].d()}}}function qi(r,e,l){let t,n,o;z(r,Ie,u=>l(4,n=u)),z(r,wr,u=>l(2,o=u));let{$$slots:s={},$$scope:i}=e,{updating:a=!1}=e;const f=["samples-go","samples-java","samples-typescript","samples-python","samples-dotnet","samples-php"];return r.$$set=u=>{"updating"in u&&l(0,a=u.updating),"$$scope"in u&&l(6,i=u.$$scope)},r.$$.update=()=>{r.$$.dirty&16&&l(1,t=n.url.searchParams.get("query"))},[a,t,o,f,n,s,i]}class ji extends fe{constructor(e){super(),ue(this,e,qi,Ui,ce,{updating:0})}}const Qi=r=>({visibleItems:r&256}),kn=r=>({slot:"cloud",visibleItems:r[8].items});function wn(r,e,l){const t=r.slice();return t[23]=e[l],t}const zi=r=>({visibleItems:r&256}),vn=r=>({visibleItems:r[8].items}),Ki=r=>({visibleItems:r&256}),In=r=>({visibleItems:r[8].items}),Yi=r=>({visibleItems:r&256}),En=r=>({visibleItems:r[8].items});function Tn(r){let e,l;return e=new Wo({}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Gi(r){let e,l;return e=new ji({props:{updating:r[0],$$slots:{cloud:[Xi]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&1&&(o.updating=t[0]),n&4194560&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Ji(r){let e,l,t,n,o,s,i,a,f,u,c;t=new yo({props:{label:r[1],parameter:Wt,value:r[6],options:kr}});let m=r[8].pageShortcuts,_=[];for(let h=0;h$(_[h],1,1,()=>{_[h]=null});return a=new Pe({props:{label:r[4],disabled:!r[8].hasPrevious,icon:"arrow-left"}}),a.$on("click",r[19]),u=new Pe({props:{label:r[3],disabled:!r[8].hasNext,icon:"arrow-right"}}),u.$on("click",r[20]),{c(){e=F("div"),l=F("div"),E(t.$$.fragment),n=W(),o=F("div");for(let h=0;h<_.length;h+=1)_[h].c();s=W(),i=F("div"),E(a.$$.fragment),f=W(),E(u.$$.fragment),this.h()},l(h){e=O(h,"DIV",{class:!0});var b=M(e);l=O(b,"DIV",{class:!0});var w=M(l);T(t.$$.fragment,w),w.forEach(g),n=V(b),o=O(b,"DIV",{class:!0});var C=M(o);for(let A=0;A<_.length;A+=1)_[A].l(C);C.forEach(g),s=V(b),i=O(b,"DIV",{class:!0});var k=M(i);T(a.$$.fragment,k),f=V(k),T(u.$$.fragment,k),k.forEach(g),b.forEach(g),this.h()},h(){S(l,"class","paginated-table-controls-start svelte-5xhosh"),S(o,"class","paginated-table-controls-center svelte-5xhosh"),S(i,"class","paginated-table-controls-end svelte-5xhosh"),S(e,"class","paginated-table-controls svelte-5xhosh")},m(h,b){I(h,e,b),P(e,l),D(t,l,null),P(e,n),P(e,o);for(let w=0;w<_.length;w+=1)_[w].m(o,null);P(e,s),P(e,i),D(a,i,null),P(i,f),D(u,i,null),c=!0},p(h,b){const w={};if(b&2&&(w.label=h[1]),b&64&&(w.value=h[6]),t.$set(w),b&1284){m=h[8].pageShortcuts;let A;for(A=0;A{i[c]=null}),X(),t=i[l],t?t.p(f,u):(t=i[l]=s[l](f),t.c()),p(t,1),t.m(n.parentNode,n))},i(f){o||(p(t),o=!0)},o(f){$(t),o=!1},d(f){i[l].d(f),f&&g(n)}}}function tf(r){let e,l,t,n,o,s,i,a,f,u,c;const m=r[17].caption,_=be(m,r,r[22],En),d=r[17].headers,h=be(d,r,r[22],In);let b=r[0]&&Tn();const w=r[17].default,C=be(w,r,r[22],vn),k=[Ji,Gi],A=[];function y(v,B){return v[8].items.length?0:1}return f=y(r),u=A[f]=k[f](r),{c(){e=F("div"),l=F("table"),_&&_.c(),t=W(),n=F("thead"),h&&h.c(),o=W(),b&&b.c(),s=W(),i=F("tbody"),C&&C.c(),a=W(),u.c(),this.h()},l(v){e=O(v,"DIV",{class:!0,style:!0});var B=M(e);l=O(B,"TABLE",{class:!0});var q=M(l);_&&_.l(q),t=V(q),n=O(q,"THEAD",{class:!0});var N=M(n);h&&h.l(N),o=V(N),b&&b.l(N),N.forEach(g),s=V(q),i=O(q,"TBODY",{class:!0});var Y=M(i);C&&C.l(Y),Y.forEach(g),q.forEach(g),a=V(B),u.l(B),B.forEach(g),this.h()},h(){S(n,"class","paginated-table-header svelte-5xhosh"),S(i,"class","paginated-table-body svelte-5xhosh"),S(l,"class","paginated-table svelte-5xhosh"),S(e,"class","paginated-table-wrapper svelte-5xhosh"),Dl(e,"max-height","calc(100vh - "+r[9]+"px)")},m(v,B){I(v,e,B),P(e,l),_&&_.m(l,null),P(l,t),P(l,n),h&&h.m(n,null),P(n,o),b&&b.m(n,null),P(l,s),P(l,i),C&&C.m(i,null),P(e,a),A[f].m(e,null),r[21](e),c=!0},p(v,[B]){_&&_.p&&(!c||B&4194560)&&ke(_,m,v,v[22],c?ve(m,v[22],B,Yi):we(v[22]),En),h&&h.p&&(!c||B&4194560)&&ke(h,d,v,v[22],c?ve(d,v[22],B,Ki):we(v[22]),In),v[0]?b?B&1&&p(b,1):(b=Tn(),b.c(),p(b,1),b.m(n,null)):b&&(J(),$(b,1,1,()=>{b=null}),X()),C&&C.p&&(!c||B&4194560)&&ke(C,w,v,v[22],c?ve(w,v[22],B,zi):we(v[22]),vn);let q=f;f=y(v),f===q?A[f].p(v,B):(J(),$(A[q],1,1,()=>{A[q]=null}),X(),u=A[f],u?u.p(v,B):(u=A[f]=k[f](v),u.c()),p(u,1),u.m(e,null)),(!c||B&512)&&Dl(e,"max-height","calc(100vh - "+v[9]+"px)")},i(v){c||(p(_,v),p(h,v),p(b),p(C,v),p(u),c=!0)},o(v){$(_,v),$(h,v),$(b),$(C,v),$(u),c=!1},d(v){v&&g(e),_&&_.d(v),h&&h.d(v),b&&b.d(),C&&C.d(v),A[f].d(),r[21](null)}}}function lf(r,e,l){let t,n,o,s,i,a,f=K,u=()=>(f(),f=el(s,R=>l(8,a=R)),s),c;z(r,Ie,R=>l(16,c=R)),r.$$.on_destroy.push(()=>f());let{$$slots:m={},$$scope:_}=e;var d,h;let{items:b}=e,{updating:w=!1}=e,{perPageLabel:C}=e,{pageButtonLabel:k}=e,{nextPageButtonLabel:A}=e,{previousPageButtonLabel:y}=e,v;const B=R=>{qe({parameter:Ft,value:R,url:t})},q=R=>B(R),N=()=>B(a.currentPage-1),Y=()=>B(a.currentPage+1);function U(R){ie[R?"unshift":"push"](()=>{v=R,l(5,v)})}return r.$$set=R=>{"items"in R&&l(11,b=R.items),"updating"in R&&l(0,w=R.updating),"perPageLabel"in R&&l(1,C=R.perPageLabel),"pageButtonLabel"in R&&l(2,k=R.pageButtonLabel),"nextPageButtonLabel"in R&&l(3,A=R.nextPageButtonLabel),"previousPageButtonLabel"in R&&l(4,y=R.previousPageButtonLabel),"$$scope"in R&&l(22,_=R.$$scope)},r.$$.update=()=>{r.$$.dirty&65536&&l(15,t=c.url),r.$$.dirty&36864&&l(6,n=l(12,d=t.searchParams.get(Wt))!==null&&d!==void 0?d:String(Fl)),r.$$.dirty&40960&&l(14,o=l(13,h=t.searchParams.get(Ft))!==null&&h!==void 0?h:"1"),r.$$.dirty&18496&&u(l(7,s=Lo(b,n,o))),r.$$.dirty&32832&&(parseInt(n,10)>parseInt(Ol,10)?qe({parameter:Wt,value:Ol,url:t}):kr.includes(n)||qe({parameter:Wt,value:Fl,url:t})),r.$$.dirty&49408&&(a.totalPages&&parseInt(o,10)>a.totalPages?qe({parameter:Ft,value:a.totalPages,url:t}):(o===null||parseInt(o,10)<0)&&qe({parameter:Ft,value:"1",url:t})),r.$$.dirty&16576&&(o&&s.jumpToPage(o),n&&s.adjustPageSize(n)),r.$$.dirty&32&&l(9,i=v!=null&&v.offsetTop?(v==null?void 0:v.offsetTop)+32:0)},[w,C,k,A,y,v,n,s,a,i,B,b,d,h,o,t,c,m,q,N,Y,U,_]}class nf extends fe{constructor(e){super(),ue(this,e,lf,tf,ce,{items:11,updating:0,perPageLabel:1,pageButtonLabel:2,nextPageButtonLabel:3,previousPageButtonLabel:4})}}const rf=2,rt=[{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}],of=[{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:"Task Queue",pinned:!1}],Vr=r=>r.label!=="Parent Workflow ID",sf=()=>{let r;try{const e=window.localStorage.getItem("workflow-table-columns"),l=JSON.parse(e);e&&(l!=null&&l.length)?r=l.filter(Vr):r=rt}catch{r=rt}return r},ol=Tr("namespace-workflow-table-columns",{}),Jt=dt([Vo,Ie,ol],([r,e,l])=>{const t={},n=(i,a)=>{var u;if(!((u=i==null?void 0:i[a])!=null&&u.length))return i[a]=[...sf()],i[a];const f=i[a].filter(Vr);return f.length!==i[a].length&&(i[a]=f,ol.set(i)),i[a]},o=(r==null?void 0:r.reduce((i,{namespaceInfo:{name:a}})=>({...i,[a]:n(l,a)}),t))??{},{namespace:s}=e.params;return o[s]?o:{...o,[s]:n(l,s)}});Tr("workflow-table-pinned-columns-width");const af=r=>dt(Jt,e=>[...rt,...of].filter(l=>{var t;return!((t=e[r])!=null&&t.some(n=>n.label===l.label))})),ff=r=>dt([Er,Jt],([e,l])=>Object.keys(e).filter(t=>{var n;return!((n=l[r])!=null&&n.some(o=>o.label===t))}).map(t=>({label:t,pinned:!1}))),uf=(r,e)=>{switch(r.type){case"WORKFLOW_COLUMN.ADD":{const{label:l,namespace:t}=r.payload,n=(e==null?void 0:e[t])??rt;return{...e,[t]:[...n,{label:l,pinned:!1}]}}case"WORKFLOW_COLUMN.REMOVE":{const{label:l,namespace:t}=r.payload,n=(e==null?void 0:e[t])??rt;return{...e,[t]:n.filter(({label:o})=>o!==l)}}case"WORKFLOW_COLUMN.PIN":{const{label:l,namespace:t}=r.payload,n=(e==null?void 0:e[t])??rt,o=n.findIndex(({label:f})=>f===l),s=n[o].pinned;let i=-1;for(let f=n.length-1;f>=0;f--)if(n[f].pinned){i=f;break}const a=[...n];return a[o].pinned=!s,o>i&&!s?a.splice(i+1,0,a.splice(o,1)[0]):o=0;f--)if(o[f].pinned){i=f;break}const a=[...o];return t<=i&&!s?a[l].pinned=!0:t>i&&s&&(a[l].pinned=!1),a.splice(t,0,a.splice(l,1)[0]),{...e,[n]:a.map((f,u)=>u>rf-1?{...f,pinned:!1}:f)}}default:return e}},hl=r=>{ol.update(e=>uf(r,e))},Ln=(r,e)=>{hl({type:"WORKFLOW_COLUMN.ADD",payload:{label:r,namespace:e}})},cf=(r,e)=>{hl({type:"WORKFLOW_COLUMN.REMOVE",payload:{label:r,namespace:e}})},mf=(r,e,l)=>{hl({type:"WORKFLOW_COLUMN.MOVE",payload:{from:r,to:e,namespace:l}})};function yn(r){let e,l,t,n,o;return l=new Pe({props:{disabled:r[5]===0,icon:"chevron-up","data-testid":"orderable-list-item-"+r[1]+"-move-up-button",label:r[7]}}),l.$on("click",r[19]),n=new Pe({props:{disabled:r[5]===r[6]-1,icon:"chevron-down","data-testid":"orderable-list-item-"+r[1]+"-move-down-button",label:r[8]}}),n.$on("click",r[20]),{c(){e=F("div"),E(l.$$.fragment),t=W(),E(n.$$.fragment),this.h()},l(s){e=O(s,"DIV",{class:!0});var i=M(e);T(l.$$.fragment,i),t=V(i),T(n.$$.fragment,i),i.forEach(g),this.h()},h(){S(e,"class","flex items-center")},m(s,i){I(s,e,i),D(l,e,null),P(e,t),D(n,e,null),o=!0},p(s,i){const a={};i&32&&(a.disabled=s[5]===0),i&2&&(a["data-testid"]="orderable-list-item-"+s[1]+"-move-up-button"),i&128&&(a.label=s[7]),l.$set(a);const f={};i&96&&(f.disabled=s[5]===s[6]-1),i&2&&(f["data-testid"]="orderable-list-item-"+s[1]+"-move-down-button"),i&256&&(f.label=s[8]),n.$set(f)},i(s){o||(p(l.$$.fragment,s),p(n.$$.fragment,s),o=!0)},o(s){$(l.$$.fragment,s),$(n.$$.fragment,s),o=!1},d(s){s&&g(e),L(l),L(n)}}}function Cn(r){let e,l,t,n;const o=[df,_f],s=[];function i(a,f){return a[3]?0:1}return e=i(r),l=s[e]=o[e](r),{c(){l.c(),t=ee()},l(a){l.l(a),t=ee()},m(a,f){s[e].m(a,f),I(a,t,f),n=!0},p(a,f){let u=e;e=i(a),e===u?s[e].p(a,f):(J(),$(s[u],1,1,()=>{s[u]=null}),X(),l=s[e],l?l.p(a,f):(l=s[e]=o[e](a),l.c()),p(l,1),l.m(t.parentNode,t))},i(a){n||(p(l),n=!0)},o(a){$(l),n=!1},d(a){s[e].d(a),a&&g(t)}}}function _f(r){let e,l;return e=new Pe({props:{icon:"pin","data-testid":"orderable-list-item-"+r[1]+"-pin-button",label:r[9]}}),e.$on("click",r[22]),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&2&&(o["data-testid"]="orderable-list-item-"+t[1]+"-pin-button"),n&512&&(o.label=t[9]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function df(r){let e,l;return e=new Pe({props:{icon:"pin-filled","data-testid":"orderable-list-item-"+r[1]+"-unpin-button",label:r[10]}}),e.$on("click",r[21]),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&2&&(o["data-testid"]="orderable-list-item-"+t[1]+"-unpin-button"),n&1024&&(o.label=t[10]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Bn(r){let e,l,t,n;const o=[gf,pf],s=[];function i(a,f){return a[0]?0:1}return e=i(r),l=s[e]=o[e](r),{c(){l.c(),t=ee()},l(a){l.l(a),t=ee()},m(a,f){s[e].m(a,f),I(a,t,f),n=!0},p(a,f){let u=e;e=i(a),e===u?s[e].p(a,f):(J(),$(s[u],1,1,()=>{s[u]=null}),X(),l=s[e],l?l.p(a,f):(l=s[e]=o[e](a),l.c()),p(l,1),l.m(t.parentNode,t))},i(a){n||(p(l),n=!0)},o(a){$(l),n=!1},d(a){s[e].d(a),a&&g(t)}}}function pf(r){let e,l;return e=new Pe({props:{icon:"hyphen","data-testid":"orderable-list-item-"+r[1]+"-remove-button",label:r[12]}}),e.$on("click",r[24]),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&2&&(o["data-testid"]="orderable-list-item-"+t[1]+"-remove-button"),n&4096&&(o.label=t[12]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function gf(r){let e,l;return e=new Pe({props:{icon:"add","data-testid":"orderable-list-item-"+r[1]+"-add-button",label:r[11]}}),e.$on("click",r[23]),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&2&&(o["data-testid"]="orderable-list-item-"+t[1]+"-add-button"),n&2048&&(o.label=t[11]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function hf(r){let e,l,t,n,o,s,i,a,f,u,c,m,_,d=!r[0]&&!r[4]&&yn(r),h=!r[0]&&!r[4]&&r[5]<=r[2]-1&&Cn(r),b=!r[4]&&Bn(r);return{c(){e=F("li"),l=F("div"),d&&d.c(),t=W(),n=j(r[1]),o=W(),h&&h.c(),s=W(),b&&b.c(),f=W(),u=F("hr"),this.h()},l(w){e=O(w,"LI",{draggable:!0,class:!0,"data-testid":!0});var C=M(e);l=O(C,"DIV",{class:!0});var k=M(l);d&&d.l(k),t=V(k),n=Q(k,r[1]),o=V(k),h&&h.l(k),k.forEach(g),s=V(C),b&&b.l(C),C.forEach(g),f=V(w),u=O(w,"HR",{class:!0}),this.h()},h(){S(l,"class","flex flex-row items-center gap-2"),S(e,"draggable",i=!r[0]&&!r[4]),S(e,"class","orderable-item group svelte-1btkzzb"),S(e,"data-testid",a="orderable-list-item-"+r[1]),ae(e,"readonly",r[4]),S(u,"class","svelte-1btkzzb")},m(w,C){I(w,e,C),P(e,l),d&&d.m(l,null),P(l,t),P(l,n),P(l,o),h&&h.m(l,null),P(e,s),b&&b.m(e,null),I(w,f,C),I(w,u,C),c=!0,m||(_=[pe(e,"dragstart",r[25]),pe(e,"drop",Tt(r[26])),pe(e,"dragenter",Xe(Tt(r[16]))),pe(e,"dragleave",Xe(Tt(r[17]))),pe(e,"dragover",Xe(Tt(r[18])))],m=!0)},p(w,[C]){!w[0]&&!w[4]?d?(d.p(w,C),C&17&&p(d,1)):(d=yn(w),d.c(),p(d,1),d.m(l,t)):d&&(J(),$(d,1,1,()=>{d=null}),X()),(!c||C&2)&&se(n,w[1]),!w[0]&&!w[4]&&w[5]<=w[2]-1?h?(h.p(w,C),C&53&&p(h,1)):(h=Cn(w),h.c(),p(h,1),h.m(l,null)):h&&(J(),$(h,1,1,()=>{h=null}),X()),w[4]?b&&(J(),$(b,1,1,()=>{b=null}),X()):b?(b.p(w,C),C&16&&p(b,1)):(b=Bn(w),b.c(),p(b,1),b.m(e,null)),(!c||C&17&&i!==(i=!w[0]&&!w[4]))&&S(e,"draggable",i),(!c||C&2&&a!==(a="orderable-list-item-"+w[1]))&&S(e,"data-testid",a),(!c||C&16)&&ae(e,"readonly",w[4])},i(w){c||(p(d),p(h),p(b),c=!0)},o(w){$(d),$(h),$(b),c=!1},d(w){w&&g(e),d&&d.d(),h&&h.d(),b&&b.d(),w&&g(f),w&&g(u),m=!1,wt(_)}}}function $f(r,e,l){const t=mt();let{static:n=!1}=e,{label:o}=e,{maxPinnedItems:s=void 0}=e,{pinned:i=!1}=e,{readonly:a=!1}=e,{index:f=0}=e,{totalItems:u=0}=e,{moveUpButtonLabel:c=""}=e,{moveDownButtonLabel:m=""}=e,{pinButtonLabel:_=""}=e,{unpinButtonLabel:d=""}=e,{addButtonLabel:h=""}=e,{removeButtonLabel:b=""}=e;const w=(G,de)=>{n||a||(G.dataTransfer.setData("text/plain",de.toString()),G.dataTransfer.dropEffect="move")},C=(G,de)=>{G.currentTarget.classList.remove("dragging-over");const ge=parseInt(G.dataTransfer.getData("text/plain"));t("moveItem",{from:ge,to:de})},k=G=>G.currentTarget.classList.add("dragging-over"),A=G=>G.currentTarget.classList.remove("dragging-over");function y(G){Se.call(this,r,G)}const v=()=>t("moveItem",{from:f,to:f-1}),B=()=>t("moveItem",{from:f,to:f+1}),q=()=>t("pinItem"),N=()=>t("pinItem"),Y=()=>t("addItem"),U=()=>t("removeItem"),R=G=>w(G,f),Z=G=>C(G,f);return r.$$set=G=>{"static"in G&&l(0,n=G.static),"label"in G&&l(1,o=G.label),"maxPinnedItems"in G&&l(2,s=G.maxPinnedItems),"pinned"in G&&l(3,i=G.pinned),"readonly"in G&&l(4,a=G.readonly),"index"in G&&l(5,f=G.index),"totalItems"in G&&l(6,u=G.totalItems),"moveUpButtonLabel"in G&&l(7,c=G.moveUpButtonLabel),"moveDownButtonLabel"in G&&l(8,m=G.moveDownButtonLabel),"pinButtonLabel"in G&&l(9,_=G.pinButtonLabel),"unpinButtonLabel"in G&&l(10,d=G.unpinButtonLabel),"addButtonLabel"in G&&l(11,h=G.addButtonLabel),"removeButtonLabel"in G&&l(12,b=G.removeButtonLabel)},[n,o,s,i,a,f,u,c,m,_,d,h,b,t,w,C,k,A,y,v,B,q,N,Y,U,R,Z]}class pt extends fe{constructor(e){super(),ue(this,e,$f,hf,ce,{static:0,label:1,maxPinnedItems:2,pinned:3,readonly:4,index:5,totalItems:6,moveUpButtonLabel:7,moveDownButtonLabel:8,pinButtonLabel:9,unpinButtonLabel:10,addButtonLabel:11,removeButtonLabel:12})}}const bf=r=>({}),Sn=r=>({});function kf(r){let e;return{c(){e=j("Items")},l(l){e=Q(l,"Items")},m(l,t){I(l,e,t)},d(l){l&&g(e)}}}function wf(r){let e,l;return e=new pt({props:{readonly:!0,label:"No Items",pinned:!1}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function vf(r){let e,l,t,n,o;const s=r[1].heading,i=be(s,r,r[0],Sn),a=i||kf(),f=r[1].default,u=be(f,r,r[0],null),c=u||wf();return{c(){e=F("div"),l=F("h4"),a&&a.c(),t=W(),n=F("ol"),c&&c.c(),this.h()},l(m){e=O(m,"DIV",{class:!0});var _=M(e);l=O(_,"H4",{class:!0});var d=M(l);a&&a.l(d),d.forEach(g),t=V(_),n=O(_,"OL",{class:!0});var h=M(n);c&&c.l(h),h.forEach(g),_.forEach(g),this.h()},h(){S(l,"class","orderable-heading svelte-cheqnz"),S(n,"class","orderable-list svelte-cheqnz"),S(e,"class","orderable-section svelte-cheqnz")},m(m,_){I(m,e,_),P(e,l),a&&a.m(l,null),P(e,t),P(e,n),c&&c.m(n,null),o=!0},p(m,[_]){i&&i.p&&(!o||_&1)&&ke(i,s,m,m[0],o?ve(s,m[0],_,bf):we(m[0]),Sn),u&&u.p&&(!o||_&1)&&ke(u,f,m,m[0],o?ve(f,m[0],_,null):we(m[0]),null)},i(m){o||(p(a,m),p(c,m),o=!0)},o(m){$(a,m),$(c,m),o=!1},d(m){m&&g(e),a&&a.d(m),c&&c.d(m)}}}function If(r,e,l){let{$$slots:t={},$$scope:n}=e;return r.$$set=o=>{"$$scope"in o&&l(0,n=o.$$scope)},[n,t]}let xt=class extends fe{constructor(e){super(),ue(this,e,If,vf,ce,{})}};function An(r,e,l){const t=r.slice();return t[12]=e[l].label,t}function Nn(r,e,l){const t=r.slice();return t[12]=e[l].label,t}function Pn(r,e,l){const t=r.slice();return t[12]=e[l].label,t[18]=l,t}function Fn(r){let e,l;return e=new pt({props:{readonly:!0,label:"No headings in view"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function On(r,e){let l,t,n;function o(){return e[9](e[12])}return t=new pt({props:{index:e[18],label:e[12],totalItems:e[3].length,addButtonLabel:H("workflows","add-column-label",{column:e[12]}),removeButtonLabel:H("workflows","remove-column-label",{column:e[12]}),moveUpButtonLabel:H("workflows","move-column-up-label",{column:e[12]}),moveDownButtonLabel:H("workflows","move-column-down-label",{column:e[12]}),pinButtonLabel:H("workflows","pin-column-label",{column:e[12]}),unpinButtonLabel:H("workflows","unpin-column-label",{column:e[12]})}}),t.$on("moveItem",e[8]),t.$on("removeItem",o),{key:r,first:null,c(){l=ee(),E(t.$$.fragment),this.h()},l(s){l=ee(),T(t.$$.fragment,s),this.h()},h(){this.first=l},m(s,i){I(s,l,i),D(t,s,i),n=!0},p(s,i){e=s;const a={};i&8&&(a.index=e[18]),i&8&&(a.label=e[12]),i&8&&(a.totalItems=e[3].length),i&8&&(a.addButtonLabel=H("workflows","add-column-label",{column:e[12]})),i&8&&(a.removeButtonLabel=H("workflows","remove-column-label",{column:e[12]})),i&8&&(a.moveUpButtonLabel=H("workflows","move-column-up-label",{column:e[12]})),i&8&&(a.moveDownButtonLabel=H("workflows","move-column-down-label",{column:e[12]})),i&8&&(a.pinButtonLabel=H("workflows","pin-column-label",{column:e[12]})),i&8&&(a.unpinButtonLabel=H("workflows","unpin-column-label",{column:e[12]})),t.$set(a)},i(s){n||(p(t.$$.fragment,s),n=!0)},o(s){$(t.$$.fragment,s),n=!1},d(s){s&&g(l),L(t,s)}}}function Ef(r){let e=[],l=new Map,t,n,o=r[3];const s=a=>a[12];for(let a=0;a{i=null}),X()):(i=Fn(),i.c(),p(i,1),i.m(t.parentNode,t)))},i(a){if(!n){for(let f=0;f$(n[i],1,1,()=>{n[i]=null});let s=null;return t.length||(s=Wn()),{c(){for(let i=0;i{s=null}),X()):(s=Wn(),s.c(),p(s,1),s.m(e.parentNode,e))}},i(i){if(!l){for(let a=0;a$(n[i],1,1,()=>{n[i]=null});let s=null;return t.length||(s=Mn()),{c(){for(let i=0;i{s=null}),X()):(s=Mn(),s.c(),p(s,1),s.m(e.parentNode,e))}},i(i){if(!l){for(let a=0;a(a(),a=el(n,k=>l(4,i=k)),n),u,c=K,m=()=>(c(),c=el(o,k=>l(5,u=k)),o);z(r,Jt,k=>l(7,s=k)),r.$$.on_destroy.push(()=>a()),r.$$.on_destroy.push(()=>c());var _;let{namespace:d}=e;const h=k=>mf(k.detail.from,k.detail.to,d),b=k=>cf(k,d),w=k=>Ln(k,d),C=k=>Ln(k,d);return r.$$set=k=>{"namespace"in k&&l(0,d=k.namespace)},r.$$.update=()=>{r.$$.dirty&193&&l(3,t=l(6,_=s==null?void 0:s[d])!==null&&_!==void 0?_:[]),r.$$.dirty&1&&f(l(2,n=af(d))),r.$$.dirty&1&&m(l(1,o=ff(d)))},[d,o,n,t,i,u,_,s,h,b,w,C]}class Af extends fe{constructor(e){super(),ue(this,e,Sf,Bf,ce,{namespace:0})}}const Hn=(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"],o=Math.floor(Math.log(r)/Math.log(l));return`${parseFloat((r/Math.pow(l,o)).toFixed(t))} ${n[o]}`},qt={WorkflowId:"Workflow ID",WorkflowType:"Type",RunId:"Run ID"},Ge={WorkflowId:"workflow-id",WorkflowType:"workflow-type",RunId:"run-id"},Nf={WorkflowId:"id",WorkflowType:"name",RunId:"runId"};function Pf(r){let e;return{c(){e=j(r[2])},l(l){e=Q(l,r[2])},m(l,t){I(l,e,t)},p(l,t){t&4&&se(e,l[2])},d(l){l&&g(e)}}}function Ff(r){let e,l,t,n;return e=new Et({props:{href:r[3],$$slots:{default:[Pf]},$$scope:{ctx:r}}}),t=new po({props:{copyIconTitle:H("copy-icon-title"),copySuccessIconTitle:H("copy-success-icon-title"),filterIconTitle:H("filter-workflows"),show:r[1],content:r[2],onFilter:r[5],filtered:r[4].some(r[9])}}),{c(){E(e.$$.fragment),l=W(),E(t.$$.fragment)},l(o){T(e.$$.fragment,o),l=V(o),T(t.$$.fragment,o)},m(o,s){D(e,o,s),I(o,l,s),D(t,o,s),n=!0},p(o,[s]){const i={};s&8&&(i.href=o[3]),s&2052&&(i.$$scope={dirty:s,ctx:o}),e.$set(i);const a={};s&2&&(a.show=o[1]),s&4&&(a.content=o[2]),s&21&&(a.filtered=o[4].some(o[9])),t.$set(a)},i(o){n||(p(e.$$.fragment,o),p(t.$$.fragment,o),n=!0)},o(o){$(e.$$.fragment,o),$(t.$$.fragment,o),n=!1},d(o){L(e,o),o&&g(l),L(t,o)}}}function Of(r,e,l){let t,n,o,s,i,a;z(r,At,d=>l(10,s=d)),z(r,he,d=>l(4,i=d)),z(r,Ie,d=>l(8,a=d));let{attribute:f}=e,{workflow:u}=e,{filterOrCopyButtonsVisible:c=!1}=e;const m=()=>{const d=i.find(b=>b.attribute===f),h=()=>i.filter(b=>b.attribute!==f);if(d)le(he,i=[...h()],i);else{const b={attribute:f,value:t,conditional:"=",operator:"",parenthesis:""};le(he,i=[...h(),b],i)}Ke(a.url,i,s)},_=d=>d.attribute===f&&d.value===t;return r.$$set=d=>{"attribute"in d&&l(0,f=d.attribute),"workflow"in d&&l(6,u=d.workflow),"filterOrCopyButtonsVisible"in d&&l(1,c=d.filterOrCopyButtonsVisible)},r.$$.update=()=>{r.$$.dirty&65&&l(2,t=u[Nf[f]]),r.$$.dirty&256&&l(7,n=a.params.namespace),r.$$.dirty&192&&l(3,o=Ro({namespace:n,workflow:u.id,run:u.runId}))},[f,c,t,o,i,m,u,n,a,_]}class $l extends fe{constructor(e){super(),ue(this,e,Of,Ff,ce,{attribute:0,workflow:6,filterOrCopyButtonsVisible:1})}}function Wf(r){const e=r.slice(),l=e[0].searchAttributes.indexedFields[e[2]];return e[9]=l,e}function Vf(r){let e,l,t,n,o;const s=[Jf,Gf,Yf,Kf,zf,Qf,jf,qf,Uf,Hf,Rf],i=[];function a(u,c){return c&5&&(l=null),u[2]==="Status"?0:u[2]==="End"?1:u[2]==="Start"?2:u[2]==="Task Queue"?3:u[2]==="Parent Namespace"?4:u[2]==="History Size"?5:u[2]==="State Transitions"?6:u[2]==="Execution Time"?7:u[2]==="Execution Duration"?8:u[2]==="History Length"?9:(l==null&&(l=!!(Ao(u[2])&&No(u[0],u[2]))),l?10:-1)}function f(u,c){return c===10?Wf(u):u}return~(t=a(r,-1))&&(n=i[t]=s[t](f(r,t))),{c(){e=F("td"),n&&n.c(),this.h()},l(u){e=O(u,"TD",{class:!0,"data-testid":!0});var c=M(e);n&&n.l(c),c.forEach(g),this.h()},h(){S(e,"class","workflows-summary-table-body-cell svelte-qupenl"),S(e,"data-testid","workflows-summary-table-body-cell")},m(u,c){I(u,e,c),~t&&i[t].m(e,null),o=!0},p(u,c){let m=t;t=a(u,c),t===m?~t&&i[t].p(f(u,t),c):(n&&(J(),$(i[m],1,1,()=>{i[m]=null}),X()),~t?(n=i[t],n?n.p(f(u,t),c):(n=i[t]=s[t](f(u,t)),n.c()),p(n,1),n.m(e,null)):n=null)},i(u){o||(p(n),o=!0)},o(u){$(n),o=!1},d(u){u&&g(e),~t&&i[t].d()}}}function Mf(r){let e,l,t,n,o,s;const i=[nu,lu,tu],a=[];function f(u,c){return u[2]==="Type"?0:u[2]==="Workflow ID"?1:u[2]==="Run ID"?2:-1}return~(l=f(r))&&(t=a[l]=i[l](r)),{c(){e=F("td"),t&&t.c(),this.h()},l(u){e=O(u,"TD",{class:!0,"data-testid":!0});var c=M(e);t&&t.l(c),c.forEach(g),this.h()},h(){S(e,"class","workflows-summary-table-body-cell filterable svelte-qupenl"),S(e,"data-testid","workflows-summary-table-body-cell")},m(u,c){I(u,e,c),~l&&a[l].m(e,null),n=!0,o||(s=[pe(e,"mouseover",r[6]),pe(e,"focus",r[6]),pe(e,"mouseleave",r[7]),pe(e,"blur",r[7])],o=!0)},p(u,c){let m=l;l=f(u),l===m?~l&&a[l].p(u,c):(t&&(J(),$(a[m],1,1,()=>{a[m]=null}),X()),~l?(t=a[l],t?t.p(u,c):(t=a[l]=i[l](u),t.c()),p(t,1),t.m(e,null)):t=null)},i(u){n||(p(t),n=!0)},o(u){$(t),n=!1},d(u){u&&g(e),~l&&a[l].d(),o=!1,wt(s)}}}function Rf(r){let e,l,t,n;const o=[xf,Zf,Xf],s=[];function i(a,f){return a[5][a[2]]==="Datetime"&&typeof a[9]=="string"?0:a[5][a[2]]==="Bool"?1:2}return e=i(r),l=s[e]=o[e](r),{c(){l.c(),t=ee()},l(a){l.l(a),t=ee()},m(a,f){s[e].m(a,f),I(a,t,f),n=!0},p(a,f){let u=e;e=i(a),e===u?s[e].p(a,f):(J(),$(s[u],1,1,()=>{s[u]=null}),X(),l=s[e],l?l.p(a,f):(l=s[e]=o[e](a),l.c()),p(l,1),l.m(t.parentNode,t))},i(a){n||(p(l),n=!0)},o(a){$(l),n=!1},d(a){s[e].d(a),a&&g(t)}}}function Hf(r){let e=(parseInt(r[0].historyEvents,10)>0?r[0].historyEvents:"")+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&1&&e!==(e=(parseInt(t[0].historyEvents,10)>0?t[0].historyEvents:"")+"")&&se(l,e)},i:K,o:K,d(t){t&&g(l)}}}function Uf(r){let e=Nl({start:r[0].startTime,end:r[0].endTime})+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&1&&e!==(e=Nl({start:t[0].startTime,end:t[0].endTime})+"")&&se(l,e)},i:K,o:K,d(t){t&&g(l)}}}function qf(r){let e=Ne(r[0].executionTime,r[3],{relative:r[4]})+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&25&&e!==(e=Ne(t[0].executionTime,t[3],{relative:t[4]})+"")&&se(l,e)},i:K,o:K,d(t){t&&g(l)}}}function jf(r){let e=(parseInt(r[0].stateTransitionCount,10)>0?r[0].stateTransitionCount:"")+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&1&&e!==(e=(parseInt(t[0].stateTransitionCount,10)>0?t[0].stateTransitionCount:"")+"")&&se(l,e)},i:K,o:K,d(t){t&&g(l)}}}function Qf(r){let e=Hn(parseInt(r[0].historySizeBytes,10))+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&1&&e!==(e=Hn(parseInt(t[0].historySizeBytes,10))+"")&&se(l,e)},i:K,o:K,d(t){t&&g(l)}}}function zf(r){let e=r[0].parentNamespaceId+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&1&&e!==(e=t[0].parentNamespaceId+"")&&se(l,e)},i:K,o:K,d(t){t&&g(l)}}}function Kf(r){let e=r[0].taskQueue+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&1&&e!==(e=t[0].taskQueue+"")&&se(l,e)},i:K,o:K,d(t){t&&g(l)}}}function Yf(r){let e=Ne(r[0].startTime,r[3],{relative:r[4]})+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&25&&e!==(e=Ne(t[0].startTime,t[3],{relative:t[4]})+"")&&se(l,e)},i:K,o:K,d(t){t&&g(l)}}}function Gf(r){let e=Ne(r[0].endTime,r[3],{relative:r[4]})+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&25&&e!==(e=Ne(t[0].endTime,t[3],{relative:t[4]})+"")&&se(l,e)},i:K,o:K,d(t){t&&g(l)}}}function Jf(r){let e,l;return e=new Kt({props:{status:r[0].status}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&1&&(o.status=t[0].status),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Xf(r){let e=r[9]+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&5&&e!==(e=t[9]+"")&&se(l,e)},i:K,o:K,d(t){t&&g(l)}}}function Zf(r){let e,l;return e=new Mo({props:{$$slots:{default:[eu]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&1029&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function xf(r){let e=Ne(r[9],r[3],{relative:r[4]})+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&29&&e!==(e=Ne(t[9],t[3],{relative:t[4]})+"")&&se(l,e)},i:K,o:K,d(t){t&&g(l)}}}function eu(r){let e=r[9]+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&5&&e!==(e=t[9]+"")&&se(l,e)},d(t){t&&g(l)}}}function tu(r){let e,l;return e=new $l({props:{filterOrCopyButtonsVisible:r[1],attribute:"RunId",workflow:r[0]}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&2&&(o.filterOrCopyButtonsVisible=t[1]),n&1&&(o.workflow=t[0]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function lu(r){let e,l;return e=new $l({props:{filterOrCopyButtonsVisible:r[1],attribute:"WorkflowId",workflow:r[0]}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&2&&(o.filterOrCopyButtonsVisible=t[1]),n&1&&(o.workflow=t[0]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function nu(r){let e,l;return e=new $l({props:{filterOrCopyButtonsVisible:r[1],attribute:"WorkflowType",workflow:r[0]}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&2&&(o.filterOrCopyButtonsVisible=t[1]),n&1&&(o.workflow=t[0]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function ru(r){let e,l,t,n;const o=[Mf,Vf],s=[];function i(a,f){return a[2]==="Run ID"||a[2]==="Workflow ID"||a[2]==="Type"?0:1}return e=i(r),l=s[e]=o[e](r),{c(){l.c(),t=ee()},l(a){l.l(a),t=ee()},m(a,f){s[e].m(a,f),I(a,t,f),n=!0},p(a,[f]){let u=e;e=i(a),e===u?s[e].p(a,f):(J(),$(s[u],1,1,()=>{s[u]=null}),X(),l=s[e],l?l.p(a,f):(l=s[e]=o[e](a),l.c()),p(l,1),l.m(t.parentNode,t))},i(a){n||(p(l),n=!0)},o(a){$(l),n=!1},d(a){s[e].d(a),a&&g(t)}}}function ou(r,e,l){let t,n,o,s;z(r,Vt,m=>l(3,n=m)),z(r,$r,m=>l(4,o=m)),z(r,Er,m=>l(5,s=m));let{column:i}=e,{workflow:a}=e,f=!1;const u=()=>l(1,f=!0),c=()=>l(1,f=!1);return r.$$set=m=>{"column"in m&&l(8,i=m.column),"workflow"in m&&l(0,a=m.workflow)},r.$$.update=()=>{r.$$.dirty&256&&l(2,{label:t}=i,t)},[a,f,t,n,o,s,u,c,i]}class su extends fe{constructor(e){super(),ue(this,e,ou,ru,ce,{column:8,workflow:0})}}function au(r){let e=qt[r[0]]+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&1&&e!==(e=qt[t[0]]+"")&&se(l,e)},d(t){t&&g(l)}}}function iu(r){let e,l;return e=new ye({props:{name:"filter",slot:"trailing"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function fu(r){let e,l,t;function n(s){r[6](s)}let o={icon:"search",type:"search",label:H("search"),labelHidden:!0,id:Ge[r[0]],placeholder:qt[r[0]],class:"flex items-center p-2 transition-all hover:cursor-pointer",autoFocus:!0,clearable:!0,clearButtonLabel:H("clear-input-button-label")};return r[1]!==void 0&&(o.value=r[1]),e=new Ae({props:o}),ie.push(()=>me(e,"value",n)),e.$on("input",r[2]),e.$on("clear",r[4]),{c(){E(e.$$.fragment)},l(s){T(e.$$.fragment,s)},m(s,i){D(e,s,i),t=!0},p(s,i){const a={};i&1&&(a.id=Ge[s[0]]),i&1&&(a.placeholder=qt[s[0]]),!l&&i&2&&(l=!0,a.value=s[1],_e(()=>l=!1)),e.$set(a)},i(s){t||(p(e.$$.fragment,s),t=!0)},o(s){$(e.$$.fragment,s),t=!1},d(s){L(e,s)}}}function uu(r){let e,l,t,n;return e=new lt({props:{"data-testid":Ge[r[0]]+"-filter-button",variant:"table-header",controls:Ge[r[0]]+"-filter-menu",$$slots:{trailing:[iu],default:[au]},$$scope:{ctx:r}}}),e.$on("click",r[3]),t=new nt({props:{keepOpen:!0,id:Ge[r[0]]+"-filter-menu",class:"w-[500px]",$$slots:{default:[fu]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment),l=W(),E(t.$$.fragment)},l(o){T(e.$$.fragment,o),l=V(o),T(t.$$.fragment,o)},m(o,s){D(e,o,s),I(o,l,s),D(t,o,s),n=!0},p(o,s){const i={};s&1&&(i["data-testid"]=Ge[o[0]]+"-filter-button"),s&1&&(i.controls=Ge[o[0]]+"-filter-menu"),s&1025&&(i.$$scope={dirty:s,ctx:o}),e.$set(i);const a={};s&1&&(a.id=Ge[o[0]]+"-filter-menu"),s&1027&&(a.$$scope={dirty:s,ctx:o}),t.$set(a)},i(o){n||(p(e.$$.fragment,o),p(t.$$.fragment,o),n=!0)},o(o){$(e.$$.fragment,o),$(t.$$.fragment,o),n=!1},d(o){L(e,o),o&&g(l),L(t,o)}}}function cu(r){let e,l;return e=new tt({props:{$$slots:{default:[uu]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,[n]){const o={};n&1027&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function mu(r,e,l){let t,n,o;z(r,he,_=>l(5,n=_)),z(r,Ie,_=>l(8,o=_));let s="",{attribute:i}=e;const a=()=>n.filter(_=>_.attribute!==i),f=_=>{const{value:d}=_.target;if(d){const h={attribute:i,value:d,conditional:"=",operator:"",parenthesis:""};le(he,n=[...a(),h],n)}else le(he,n=[...a()],n);Ke(o.url,n)};function u(_){const{open:d}=_.detail;d&&(t!=null&&t.value)?l(1,s=t.value):d&&!t&&s&&l(1,s="")}function c(){le(he,n=[...a()],n),Ke(o.url,n)}function m(_){s=_,l(1,s)}return r.$$set=_=>{"attribute"in _&&l(0,i=_.attribute)},r.$$.update=()=>{r.$$.dirty&33&&(t=n.find(_=>_.attribute===i))},[i,s,f,u,c,n,m]}class bl extends fe{constructor(e){super(),ue(this,e,mu,cu,ce,{attribute:0})}}function Un(r,e,l){const t=r.slice();return t[7]=e[l],t}function _u(r){let e=H("status")+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function du(r){let e,l;return e=new ye({props:{name:"filter",slot:"trailing"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function pu(r){let e,l;return e=new Kt({props:{status:r[7]}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function gu(r){let e,l;return e=new Fe({props:{namespace:"workflows",key:"all-statuses"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function hu(r){let e,l,t,n;const o=[gu,pu],s=[];function i(a,f){return a[7]==="All"?0:1}return e=i(r),l=s[e]=o[e](r),{c(){l.c(),t=W()},l(a){l.l(a),t=V(a)},m(a,f){s[e].m(a,f),I(a,t,f),n=!0},p(a,f){l.p(a,f)},i(a){n||(p(l),n=!0)},o(a){$(l),n=!1},d(a){s[e].d(a),a&&g(t)}}}function $u(r){let e,l;function t(...o){return r[3](r[7],...o)}function n(){return r[4](r[7])}return e=new Gt({props:{slot:"leading",label:r[7],labelHidden:!0,tabindex:-1,checked:r[0].some(t)||!r[0].length&&r[7]==="All"}}),e.$on("click",n),{c(){E(e.$$.fragment)},l(o){T(e.$$.fragment,o)},m(o,s){D(e,o,s),l=!0},p(o,s){r=o;const i={};s&1&&(i.checked=r[0].some(t)||!r[0].length&&r[7]==="All"),e.$set(i)},i(o){l||(p(e.$$.fragment,o),l=!0)},o(o){$(e.$$.fragment,o),l=!1},d(o){L(e,o)}}}function qn(r){let e,l;function t(){return r[5](r[7])}return e=new $e({props:{$$slots:{leading:[$u],default:[hu]},$$scope:{ctx:r}}}),e.$on("click",t),{c(){E(e.$$.fragment)},l(n){T(e.$$.fragment,n)},m(n,o){D(e,n,o),l=!0},p(n,o){r=n;const s={};o&1025&&(s.$$scope={dirty:o,ctx:r}),e.$set(s)},i(n){l||(p(e.$$.fragment,n),l=!0)},o(n){$(e.$$.fragment,n),l=!1},d(n){L(e,n)}}}function bu(r){let e,l,t=tn,n=[];for(let s=0;s$(n[s],1,1,()=>{n[s]=null});return{c(){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}})}function vu(r,e,l){let t,n,o;z(r,he,u=>l(2,n=u)),z(r,Ie,u=>l(6,o=u));const s=u=>{if(u==="All")le(he,n=n.filter(c=>c.attribute!=="ExecutionStatus"),n);else if(t.find(c=>c.value===u)){const c=n.filter(m=>m.attribute!=="ExecutionStatus");le(he,n=[...c,...jn(t.filter(m=>m.value!==u))],n)}else if(!t.length)le(he,n=[...n,sl(u)],n);else{const c=n.filter(m=>m.attribute!=="ExecutionStatus");le(he,n=[...c,...jn([...t,sl(u)])],n)}Ke(o.url,n)},i=(u,c)=>c.value===u,a=u=>s(u),f=u=>s(u);return r.$$.update=()=>{r.$$.dirty&4&&l(0,t=n.filter(u=>u.attribute==="ExecutionStatus"))},[t,s,n,i,a,f]}class Iu extends fe{constructor(e){super(),ue(this,e,vu,wu,ce,{})}}function Eu(r){let e;return{c(){e=j(r[0])},l(l){e=Q(l,r[0])},m(l,t){I(l,e,t)},p(l,t){t&1&&se(e,l[0])},d(l){l&&g(e)}}}function Tu(r){let e;return{c(){e=j(r[0])},l(l){e=Q(l,r[0])},m(l,t){I(l,e,t)},p(l,t){t&1&&se(e,l[0])},i:K,o:K,d(l){l&&g(e)}}}function Du(r){let e,l;return e=new bl({props:{attribute:"WorkflowType"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Lu(r){let e,l;return e=new bl({props:{attribute:"RunId"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function yu(r){let e,l;return e=new bl({props:{attribute:"WorkflowId"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Cu(r){let e,l;return e=new Iu({}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Bu(r){let e,l,t,n;const o=[Cu,yu,Lu,Du,Tu],s=[];function i(a,f){return a[0]==="Status"?0:a[0]==="Workflow ID"?1:a[0]==="Run ID"?2:a[0]==="Type"?3:4}return e=i(r),l=s[e]=o[e](r),{c(){l.c(),t=ee()},l(a){l.l(a),t=ee()},m(a,f){s[e].m(a,f),I(a,t,f),n=!0},p(a,f){let u=e;e=i(a),e===u?s[e].p(a,f):(J(),$(s[u],1,1,()=>{s[u]=null}),X(),l=s[e],l?l.p(a,f):(l=s[e]=o[e](a),l.c()),p(l,1),l.m(t.parentNode,t))},i(a){n||(p(l),n=!0)},o(a){$(l),n=!1},d(a){s[e].d(a),a&&g(t)}}}function Su(r){let e,l,t,n;return l=new al({props:{$$slots:{fallback:[Bu],default:[Eu]},$$scope:{ctx:r}}}),{c(){e=F("th"),E(l.$$.fragment),this.h()},l(o){e=O(o,"TH",{class:!0,"data-testid":!0});var s=M(e);T(l.$$.fragment,s),s.forEach(g),this.h()},h(){S(e,"class","workflows-summary-table-header-cell svelte-x2wk3"),S(e,"data-testid",t="workflows-summary-table-header-cell-"+r[0])},m(o,s){I(o,e,s),D(l,e,null),n=!0},p(o,[s]){const i={};s&5&&(i.$$scope={dirty:s,ctx:o}),l.$set(i),(!n||s&1&&t!==(t="workflows-summary-table-header-cell-"+o[0]))&&S(e,"data-testid",t)},i(o){n||(p(l.$$.fragment,o),n=!0)},o(o){$(l.$$.fragment,o),n=!1},d(o){o&&g(e),L(l)}}}function Au(r,e,l){let t,{column:n}=e;return r.$$set=o=>{"column"in o&&l(1,n=o.column)},r.$$.update=()=>{r.$$.dirty&2&&l(0,{label:t}=n,t)},[t,n]}class Nu extends fe{constructor(e){super(),ue(this,e,Au,Su,ce,{column:1})}}const Pu=["workflowCancelDisabled","workflowTerminateDisabled"],Fu=r=>r.disableWriteActions||r.batchActionsDisabled?!1:Pu.some(e=>!r[e]),Mr=dt([Lr,vt,Ho,eo],([r,e,l,t])=>(t?!0:Dr(r,"1.18.0"))&&e&&Fu(l));function Ou(r){let e,l,t,n,o;const s=r[5].default,i=be(s,r,r[4],null);return{c(){e=F("button"),i&&i.c(),this.h()},l(a){e=O(a,"BUTTON",{"data-testid":!0,class:!0});var f=M(e);i&&i.l(f),f.forEach(g),this.h()},h(){S(e,"data-testid",r[0]),e.disabled=r[1],S(e,"class",l="bulk-action-button "+r[2]+" "+r[3].class+" svelte-19w6g7u")},m(a,f){I(a,e,f),i&&i.m(e,null),t=!0,n||(o=pe(e,"click",r[6]),n=!0)},p(a,[f]){i&&i.p&&(!t||f&16)&&ke(i,s,a,a[4],t?ve(s,a[4],f,null):we(a[4]),null),(!t||f&1)&&S(e,"data-testid",a[0]),(!t||f&2)&&(e.disabled=a[1]),(!t||f&12&&l!==(l="bulk-action-button "+a[2]+" "+a[3].class+" svelte-19w6g7u"))&&S(e,"class",l)},i(a){t||(p(i,a),t=!0)},o(a){$(i,a),t=!1},d(a){a&&g(e),i&&i.d(a),n=!1,o()}}}function Wu(r,e,l){let{$$slots:t={},$$scope:n}=e,{testId:o=null}=e,{disabled:s=!1}=e,{variant:i="primary"}=e;function a(f){Se.call(this,r,f)}return r.$$set=f=>{l(3,e=ut(ut({},e),$t(f))),"testId"in f&&l(0,o=f.testId),"disabled"in f&&l(1,s=f.disabled),"variant"in f&&l(2,i=f.variant),"$$scope"in f&&l(4,n=f.$$scope)},e=$t(e),[o,s,i,e,n,t,a]}class Rr extends fe{constructor(e){super(),ue(this,e,Wu,Ou,ce,{testId:0,disabled:1,variant:2})}}function Vu(r){let e,l,t,n,o,s,i,a,f,u,c;return l=new Fe({props:{namespace:"workflows",key:"n-selected",count:r[2]}}),i=new Fe({props:{namespace:"workflows",key:"select-all",count:r[1]}}),{c(){e=F("span"),E(l.$$.fragment),t=W(),n=F("span"),o=j("(or "),s=F("button"),E(i.$$.fragment),a=j(")"),this.h()},l(m){e=O(m,"SPAN",{class:!0});var _=M(e);T(l.$$.fragment,_),_.forEach(g),t=V(m),n=O(m,"SPAN",{});var d=M(n);o=Q(d,"(or "),s=O(d,"BUTTON",{"data-testid":!0,class:!0});var h=M(s);T(i.$$.fragment,h),h.forEach(g),a=Q(d,")"),d.forEach(g),this.h()},h(){S(e,"class","font-semibold"),S(s,"data-testid","select-all-workflows"),S(s,"class","cursor-pointer underline")},m(m,_){I(m,e,_),D(l,e,null),I(m,t,_),I(m,n,_),P(n,o),P(n,s),D(i,s,null),P(n,a),f=!0,u||(c=pe(s,"click",r[15]),u=!0)},p(m,_){const d={};_&4&&(d.count=m[2]),l.$set(d);const h={};_&2&&(h.count=m[1]),i.$set(h)},i(m){f||(p(l.$$.fragment,m),p(i.$$.fragment,m),f=!0)},o(m){$(l.$$.fragment,m),$(i.$$.fragment,m),f=!1},d(m){m&&g(e),L(l),m&&g(t),m&&g(n),L(i),u=!1,c()}}}function Mu(r){let e,l,t;return l=new Fe({props:{namespace:"workflows",key:"all-selected",count:r[1]}}),{c(){e=F("span"),E(l.$$.fragment),this.h()},l(n){e=O(n,"SPAN",{class:!0});var o=M(e);T(l.$$.fragment,o),o.forEach(g),this.h()},h(){S(e,"class","font-semibold")},m(n,o){I(n,e,o),D(l,e,null),t=!0},p(n,o){const s={};o&2&&(s.count=n[1]),l.$set(s)},i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){$(l.$$.fragment,n),t=!1},d(n){n&&g(e),L(l)}}}function Qn(r){let e,l;return e=new Rr({props:{testId:"bulk-cancel-button",disabled:r[3]||!r[7].length,$$slots:{default:[Ru]},$$scope:{ctx:r}}}),e.$on("click",Bc),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&136&&(o.disabled=t[3]||!t[7].length),n&65536&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Ru(r){let e=H("workflows","request-cancellation")+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function zn(r){let e,l;return e=new Rr({props:{variant:"destructive",testId:"bulk-terminate-button",disabled:r[3],$$slots:{default:[Hu]},$$scope:{ctx:r}}}),e.$on("click",Sc),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&8&&(o.disabled=t[3]),n&65536&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Hu(r){let e=H("workflows","terminate")+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Uu(r){let e,l,t,n,o,s;const i=[Mu,Vu],a=[];function f(m,_){return m[6]?0:1}e=f(r),l=a[e]=i[e](r);let u=r[4]&&Qn(r),c=r[5]&&zn(r);return{c(){l.c(),t=W(),n=F("div"),u&&u.c(),o=W(),c&&c.c(),this.h()},l(m){l.l(m),t=V(m),n=O(m,"DIV",{class:!0});var _=M(n);u&&u.l(_),o=V(_),c&&c.l(_),_.forEach(g),this.h()},h(){S(n,"class","ml-4 inline-flex gap-2")},m(m,_){a[e].m(m,_),I(m,t,_),I(m,n,_),u&&u.m(n,null),P(n,o),c&&c.m(n,null),s=!0},p(m,[_]){let d=e;e=f(m),e===d?a[e].p(m,_):(J(),$(a[d],1,1,()=>{a[d]=null}),X(),l=a[e],l?l.p(m,_):(l=a[e]=i[e](m),l.c()),p(l,1),l.m(t.parentNode,t)),m[4]?u?(u.p(m,_),_&16&&p(u,1)):(u=Qn(m),u.c(),p(u,1),u.m(n,o)):u&&(J(),$(u,1,1,()=>{u=null}),X()),m[5]?c?(c.p(m,_),_&32&&p(c,1)):(c=zn(m),c.c(),p(c,1),c.m(n,null)):c&&(J(),$(c,1,1,()=>{c=null}),X())},i(m){s||(p(l),p(u),p(c),s=!0)},o(m){$(l),$(u),$(c),s=!1},d(m){a[e].d(m),m&&g(t),m&&g(n),u&&u.d(),c&&c.d()}}}function qu(r,e,l){let t,n,o,s,i,a,f,u,c,m;z(r,Ie,k=>l(10,s=k)),z(r,Oe,k=>l(12,a=k)),z(r,vr,k=>l(13,f=k)),z(r,ht,k=>l(14,u=k)),z(r,et,k=>l(6,c=k)),z(r,jr,k=>l(7,m=k));var _;let{workflows:d}=e,h=Uo();z(r,h,k=>l(11,i=k));let b,w;const C=()=>Ac(d);return r.$$set=k=>{"workflows"in k&&l(0,d=k.workflows)},r.$$.update=()=>{r.$$.dirty&24576&&l(1,b=u?f.count:f.totalCount),r.$$.dirty&4608&&l(2,w=l(9,_=a==null?void 0:a.length)!==null&&_!==void 0?_:0),r.$$.dirty&1024&&l(5,t=oo(s.data.settings)),r.$$.dirty&1024&&l(4,n=so(s.data.settings)),r.$$.dirty&3072&&l(3,o=i.namespaceWriteDisabled(s.params.namespace))},[d,b,w,o,n,t,c,m,h,_,s,i,a,f,u,C]}class ju extends fe{constructor(e){super(),ue(this,e,qu,Uu,ce,{workflows:0})}}function Kn(r){let e,l,t,n;function o(i){r[13](i)}let s={label:r[4],labelHidden:!0,id:"select-visible-workflows","data-testid":"batch-actions-checkbox",onDark:!0,hoverable:!0,indeterminate:r[5]};return r[7]!==void 0&&(s.checked=r[7]),l=new Gt({props:s}),ie.push(()=>me(l,"checked",o)),l.$on("change",r[9]),{c(){e=F("th"),E(l.$$.fragment),this.h()},l(i){e=O(i,"TH",{class:!0});var a=M(e);T(l.$$.fragment,a),a.forEach(g),this.h()},h(){S(e,"class","batch-actions-checkbox-table-cell svelte-d401z4")},m(i,a){I(i,e,a),D(l,e,null),n=!0},p(i,a){const f={};a&16&&(f.label=i[4]),a&32&&(f.indeterminate=i[5]),!t&&a&128&&(t=!0,f.checked=i[7],_e(()=>t=!1)),l.$set(f)},i(i){n||(p(l.$$.fragment,i),n=!0)},o(i){$(l.$$.fragment,i),n=!1},d(i){i&&g(e),L(l)}}}function Qu(r){let e;const l=r[12].default,t=be(l,r,r[11],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,o){t&&t.m(n,o),e=!0},p(n,o){t&&t.p&&(!e||o&2048)&&ke(t,l,n,n[11],e?ve(l,n[11],o,null):we(n[11]),null)},i(n){e||(p(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function zu(r){let e,l,t;return l=new ju({props:{workflows:r[0]}}),{c(){e=F("th"),E(l.$$.fragment),this.h()},l(n){e=O(n,"TH",{class:!0,colspan:!0});var o=M(e);T(l.$$.fragment,o),o.forEach(g),this.h()},h(){S(e,"class","batch-actions-table-cell svelte-d401z4"),S(e,"colspan",r[3])},m(n,o){I(n,e,o),D(l,e,null),t=!0},p(n,o){const s={};o&1&&(s.workflows=n[0]),l.$set(s),(!t||o&8)&&S(e,"colspan",n[3])},i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){$(l.$$.fragment,n),t=!1},d(n){n&&g(e),L(l)}}}function Ku(r){let e,l,t,n,o,s,i,a,f=!r[1]&&r[6]&&Kn(r);const u=[zu,Qu],c=[];function m(_,d){return _[6]&&_[8]?0:1}return t=m(r),n=c[t]=u[t](r),i=new Pe({props:{"data-testid":"workflows-summary-table-configuration-button",icon:"vertical-ellipsis",label:H("workflows","open-configure-workflows")}}),i.$on("click",function(){_r(r[2])&&r[2].apply(this,arguments)}),{c(){e=F("tr"),f&&f.c(),l=W(),n.c(),o=W(),s=F("th"),E(i.$$.fragment),this.h()},l(_){e=O(_,"TR",{});var d=M(e);f&&f.l(d),l=V(d),n.l(d),o=V(d),s=O(d,"TH",{class:!0});var h=M(s);T(i.$$.fragment,h),h.forEach(g),d.forEach(g),this.h()},h(){S(s,"class","configuration-button-table-cell svelte-d401z4")},m(_,d){I(_,e,d),f&&f.m(e,null),P(e,l),c[t].m(e,null),P(e,o),P(e,s),D(i,s,null),a=!0},p(_,[d]){r=_,!r[1]&&r[6]?f?(f.p(r,d),d&66&&p(f,1)):(f=Kn(r),f.c(),p(f,1),f.m(e,l)):f&&(J(),$(f,1,1,()=>{f=null}),X());let h=t;t=m(r),t===h?c[t].p(r,d):(J(),$(c[h],1,1,()=>{c[h]=null}),X(),n=c[t],n?n.p(r,d):(n=c[t]=u[t](r),n.c()),p(n,1),n.m(e,o))},i(_){a||(p(f),p(n),p(i.$$.fragment,_),a=!0)},o(_){$(f),$(n),$(i.$$.fragment,_),a=!1},d(_){_&&g(e),f&&f.d(),c[t].d(),L(i)}}}function Yu(r,e,l){let t,n,o,s,i,a;z(r,Oe,w=>l(10,o=w)),z(r,Mr,w=>l(6,s=w)),z(r,yt,w=>l(7,i=w)),z(r,yc,w=>l(8,a=w));let{$$slots:f={},$$scope:u}=e,{workflows:c}=e,{empty:m}=e,{onClickConfigure:_=K}=e,{columnsCount:d}=e;const h=w=>{const{checked:C}=w.detail;Nc(C,c)};function b(w){i=w,yt.set(i)}return r.$$set=w=>{"workflows"in w&&l(0,c=w.workflows),"empty"in w&&l(1,m=w.empty),"onClickConfigure"in w&&l(2,_=w.onClickConfigure),"columnsCount"in w&&l(3,d=w.columnsCount),"$$scope"in w&&l(11,u=w.$$scope)},r.$$.update=()=>{r.$$.dirty&1025&&l(5,t=o.length>0&&o.lengthme(l,"group",o)),{c(){e=F("td"),E(l.$$.fragment)},l(i){e=O(i,"TD",{});var a=M(e);T(l.$$.fragment,a),a.forEach(g)},m(i,a){I(i,e,a),D(l,e,null),n=!0},p(i,a){const f={};a&4&&(f.label=i[2]),a&1&&(f.value=i[0]),a&32&&(f.disabled=i[5]),a&4&&(f["aria-label"]=i[2]),!t&&a&16&&(t=!0,f.group=i[4],_e(()=>t=!1)),l.$set(f)},i(i){n||(p(l.$$.fragment,i),n=!0)},o(i){$(l.$$.fragment,i),n=!1},d(i){i&&g(e),L(l)}}}function Ju(r){let e,l,t,n,o,s=!r[1]&&r[3]&&Yn(r);const i=r[7].default,a=be(i,r,r[6],null);return{c(){e=F("tr"),s&&s.c(),l=W(),a&&a.c(),t=W(),n=F("td"),this.h()},l(f){e=O(f,"TR",{"data-testid":!0});var u=M(e);s&&s.l(u),l=V(u),a&&a.l(u),t=V(u),n=O(u,"TD",{}),M(n).forEach(g),u.forEach(g),this.h()},h(){S(e,"data-testid","workflows-summary-configurable-table-row"),ae(e,"empty",r[1])},m(f,u){I(f,e,u),s&&s.m(e,null),P(e,l),a&&a.m(e,null),P(e,t),P(e,n),o=!0},p(f,[u]){!f[1]&&f[3]?s?(s.p(f,u),u&10&&p(s,1)):(s=Yn(f),s.c(),p(s,1),s.m(e,l)):s&&(J(),$(s,1,1,()=>{s=null}),X()),a&&a.p&&(!o||u&64)&&ke(a,i,f,f[6],o?ve(i,f[6],u,null):we(f[6]),null),(!o||u&2)&&ae(e,"empty",f[1])},i(f){o||(p(s),p(a,f),o=!0)},o(f){$(s),$(a,f),o=!1},d(f){f&&g(e),s&&s.d(),a&&a.d(f)}}}function Xu(r,e,l){let t,n,o,s;z(r,Mr,m=>l(3,n=m)),z(r,Oe,m=>l(4,o=m)),z(r,et,m=>l(5,s=m));let{$$slots:i={},$$scope:a}=e,{workflow:f=void 0}=e,{empty:u=!1}=e;function c(m){o=m,Oe.set(o)}return r.$$set=m=>{"workflow"in m&&l(0,f=m.workflow),"empty"in m&&l(1,u=m.empty),"$$scope"in m&&l(6,a=m.$$scope)},r.$$.update=()=>{r.$$.dirty&1&&l(2,t=H("workflows","select-workflow",{workflow:f==null?void 0:f.id}))},[f,u,t,n,o,s,a,i,c]}class Zu extends fe{constructor(e){super(),ue(this,e,Xu,Ju,ce,{workflow:0,empty:1})}}function Gn(r,e,l){const t=r.slice();return t[18]=e[l],t}function Jn(r,e,l){const t=r.slice();return t[15]=e[l],t}function Xn(r,e,l){const t=r.slice();return t[15]=e[l],t}const xu=r=>({}),Zn=r=>({slot:"cloud"});function xn(r){let e,l;return e=new su({props:{workflow:r[18],column:r[15]}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&16384&&(o.workflow=t[18]),n&16&&(o.column=t[15]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function ec(r){let e,l,t=r[4],n=[];for(let s=0;s$(n[s],1,1,()=>{n[s]=null});return{c(){for(let s=0;s$(n[s],1,1,()=>{n[s]=null});return{c(){for(let s=0;s$(n[s],1,1,()=>{n[s]=null});return{c(){for(let s=0;s({14:o}),({visibleItems:o})=>o?16384:0],headers:[rc,({visibleItems:o})=>({14:o}),({visibleItems:o})=>o?16384:0],caption:[lc,({visibleItems:o})=>({14:o}),({visibleItems:o})=>o?16384:0],default:[tc,({visibleItems:o})=>({14:o}),({visibleItems:o})=>o?16384:0]},$$scope:{ctx:r}}}),t=new co({props:{open:r[2],onClick:r[7],position:"right",id:"workflows-summary-table-configuration-drawer",dark:!1,title:H("workflows","configure-workflows"),closeButtonLabel:H("workflows","close-configure-workflows"),$$slots:{subtitle:[ac],default:[sc]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment),l=W(),E(t.$$.fragment)},l(o){T(e.$$.fragment,o),l=V(o),T(t.$$.fragment,o)},m(o,s){D(e,o,s),I(o,l,s),D(t,o,s),n=!0},p(o,[s]){const i={};s&32&&(i.updating=o[5]),s&2&&(i.items=o[1]),s&24600&&(i.$$scope={dirty:s,ctx:o}),e.$set(i);const a={};s&4&&(a.open=o[2]),s&8193&&(a.$$scope={dirty:s,ctx:o}),t.$set(a)},i(o){n||(p(e.$$.fragment,o),p(t.$$.fragment,o),n=!0)},o(o){$(e.$$.fragment,o),$(t.$$.fragment,o),n=!1},d(o){L(e,o),o&&g(l),L(t,o)}}}function fc(r,e,l){let t,n,o,s,i,a,f;z(r,il,w=>l(1,s=w)),z(r,Jt,w=>l(9,i=w)),z(r,Ie,w=>l(10,a=w)),z(r,fl,w=>l(5,f=w));let{$$slots:u={},$$scope:c}=e;var m;let _=!1;const d=()=>{l(2,_=!0)},h=()=>{l(2,_=!1)},b=w=>H("go-to-page",{page:w});return r.$$set=w=>{"$$scope"in w&&l(13,c=w.$$scope)},r.$$.update=()=>{r.$$.dirty&1024&&l(0,{namespace:t}=a.params,t),r.$$.dirty&769&&l(4,n=l(8,m=i==null?void 0:i[t])!==null&&m!==void 0?m:[]),r.$$.dirty&2&&l(3,o=s.length===0)},[t,s,_,o,n,f,d,h,m,i,a,u,b,c]}class uc extends fe{constructor(e){super(),ue(this,e,fc,ic,ce,{})}}const cc=r=>r.map(l=>l.runId).reduce((l,t,n,o)=>(l+=`RunId="${t}"`,n!==o.length-1&&(l+=" OR "),l),""),mc=({id:r,runId:e})=>({workflowId:r,runId:e}),Hr=({namespace:r,reason:e,workflows:l})=>{const t={namespace:r,reason:e};return Dr(_t(Lr),"1.19")?{...t,executions:l.map(mc)}:{...t,query:cc(l)}};async function _c(r){const e=Hr(r),l=await qr(e);return kl({namespace:e.namespace,jobId:l})}function dc({namespace:r,query:e,reason:l}){return qr({namespace:r,query:e,reason:l})}async function pc(r){const e=Hr(r),l=await Ur(e);return kl({namespace:e.namespace,jobId:l})}function gc({namespace:r,query:e,reason:l}){return Ur({namespace:r,query:e,reason:l})}async function Ur({namespace:r,query:e,executions:l,reason:t}){const n=ml("batch-operations",{namespace:r}),o=yr(),s={jobId:o,namespace:r,reason:t,cancellationOperation:{},...e&&{visibilityQuery:e},...l&&{executions:l}};return await _l(n,{options:{method:"POST",body:cl(s)},notifyOnError:!1}),o}async function qr({namespace:r,query:e,executions:l,reason:t}){const n=ml("batch-operations",{namespace:r}),o=yr(),s=io().email,i={jobId:o,namespace:r,reason:t,terminationOperation:{...s&&{identity:s}},...e&&{visibilityQuery:e},...l&&{executions:l}};return await _l(n,{options:{method:"POST",body:cl(i)},notifyOnError:!1}),o}async function kl({namespace:r,jobId:e}){return new Promise((l,t)=>{hc({namespace:r,jobId:e}).then(({state:n,completeOperationCount:o})=>{n==="Failed"?t():n!=="Running"?l(parseInt(o,10)):setTimeout(()=>{try{l(kl({namespace:r,jobId:e}))}catch{t()}},1e3)})})}async function hc({jobId:r,namespace:e}){const l=ml("batch-operation.describe",{namespace:e});return _l(l,{params:{jobId:r}})}const $c=r=>{const e=cl({workflows:r},null,2);l(e,`workflows-${r==null?void 0:r.length}-${Date.now()}.json`,"text/plain");function l(t,n,o){const s=document.createElement("a"),i=new Blob([t],{type:o});s.href=URL.createObjectURL(i),s.download=n,s.click()}},bc=r=>({}),lr=r=>({slot:"cloud"});function nr(r){let e,l,t,n,o;const s=[vc,wc,kc],i=[];function a(f,u){return f[7]||f[1]?0:f[0]?1:2}return l=a(r),t=i[l]=s[l](r),{c(){e=F("p"),t.c(),this.h()},l(f){e=O(f,"P",{"data-testid":!0,"data-loaded":!0});var u=M(e);t.l(u),u.forEach(g),this.h()},h(){S(e,"data-testid","workflow-count"),S(e,"data-loaded",n=!r[7]&&!r[1])},m(f,u){I(f,e,u),i[l].m(e,null),o=!0},p(f,u){let c=l;l=a(f),l===c?i[l].p(f,u):(J(),$(i[c],1,1,()=>{i[c]=null}),X(),t=i[l],t?t.p(f,u):(t=i[l]=s[l](f),t.c()),p(t,1),t.m(e,null)),(!o||u[0]&130&&n!==(n=!f[7]&&!f[1]))&&S(e,"data-loaded",n)},i(f){o||(p(t),o=!0)},o(f){$(t),o=!1},d(f){f&&g(e),i[l].d()}}}function kc(r){let e,l;return e=new Fe({props:{namespace:"workflows",key:"workflows-count",count:r[5].totalCount}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n[0]&32&&(o.count=t[5].totalCount),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function wc(r){let e,l;return e=new Fe({props:{namespace:"workflows",key:"filtered-workflows-count",replace:{filtered:r[5].count,total:r[5].totalCount}}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n[0]&32&&(o.replace={filtered:t[5].count,total:t[5].totalCount}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function vc(r){let e,l;return e=new Fe({props:{namespace:"workflows",key:"loading-workflows"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function rr(r){let e,l,t,n;return t=new Et({props:{tabindex:0,$$slots:{default:[Ic]},$$scope:{ctx:r}}}),t.$on("click",r[19]),{c(){e=F("div"),l=W(),E(t.$$.fragment),this.h()},l(o){e=O(o,"DIV",{class:!0}),M(e).forEach(g),l=V(o),T(t.$$.fragment,o),this.h()},h(){S(e,"class","h-1 w-1 rounded-full bg-gray-400")},m(o,s){I(o,e,s),I(o,l,s),D(t,o,s),n=!0},p(o,s){const i={};s[0]&1048576&&(i.$$scope={dirty:s,ctx:o}),t.$set(i)},i(o){n||(p(t.$$.fragment,o),n=!0)},o(o){$(t.$$.fragment,o),n=!1},d(o){o&&g(e),o&&g(l),L(t,o)}}}function Ic(r){let e=H("download-json")+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Ec(r){let e,l;return e=new Bi({}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Tc(r){let e,l;return e=new Fr({}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Dc(r){let e;const l=r[16].cloud,t=be(l,r,r[20],lr);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,o){t&&t.m(n,o),e=!0},p(n,o){t&&t.p&&(!e||o[0]&1048576)&&ke(t,l,n,n[20],e?ve(l,n[20],o,bc):we(n[20]),lr)},i(n){e||(p(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function Lc(r){var U;let e,l,t,n,o,s,i,a,f,u,c,m,_,d,h,b,w,C,k,A,y,v,B={action:bt.Terminate,actionableWorkflowsLength:r[4].length,query:r[2]};e=new Ml({props:B}),r[17](e),e.$on("confirm",r[10]);let q={action:bt.Cancel,actionableWorkflowsLength:r[3].length,query:r[2]};t=new Ml({props:q}),r[18](t),t.$on("confirm",r[11]),a=new Fe({props:{namespace:"workflows",key:"recent-workflows"}});let N=((U=r[5])==null?void 0:U.totalCount)>=0&&r[6]&&nr(r),Y=!r[7]&&!r[1]&&r[8].length>0&&rr(r);return d=new Pe({props:{icon:"retry",label:H("workflows","retry-workflows")}}),d.$on("click",r[9]),w=new al({props:{$$slots:{fallback:[Tc],default:[Ec]},$$scope:{ctx:r}}}),k=new Us({}),y=new uc({props:{$$slots:{cloud:[Dc]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment),l=W(),E(t.$$.fragment),n=W(),o=F("header"),s=F("div"),i=F("h1"),E(a.$$.fragment),f=W(),u=F("div"),N&&N.c(),c=W(),Y&&Y.c(),m=W(),_=F("div"),E(d.$$.fragment),h=W(),b=F("div"),E(w.$$.fragment),C=W(),E(k.$$.fragment),A=W(),E(y.$$.fragment),this.h()},l(R){T(e.$$.fragment,R),l=V(R),T(t.$$.fragment,R),n=V(R),o=O(R,"HEADER",{class:!0});var Z=M(o);s=O(Z,"DIV",{});var G=M(s);i=O(G,"H1",{class:!0,"data-cy":!0});var de=M(i);T(a.$$.fragment,de),de.forEach(g),f=V(G),u=O(G,"DIV",{class:!0});var ge=M(u);N&&N.l(ge),c=V(ge),Y&&Y.l(ge),ge.forEach(g),G.forEach(g),m=V(Z),_=O(Z,"DIV",{});var x=M(_);T(d.$$.fragment,x),x.forEach(g),Z.forEach(g),h=V(R),b=O(R,"DIV",{class:!0});var oe=M(b);T(w.$$.fragment,oe),C=V(oe),T(k.$$.fragment,oe),oe.forEach(g),A=V(R),T(y.$$.fragment,R),this.h()},h(){S(i,"class","text-2xl"),S(i,"data-cy","workflows-title"),S(u,"class","flex items-center gap-2 text-sm"),S(o,"class","flex justify-between items-center"),S(b,"class","flex flex-col md:flex-row gap-2")},m(R,Z){D(e,R,Z),I(R,l,Z),D(t,R,Z),I(R,n,Z),I(R,o,Z),P(o,s),P(s,i),D(a,i,null),P(s,f),P(s,u),N&&N.m(u,null),P(u,c),Y&&Y.m(u,null),P(o,m),P(o,_),D(d,_,null),I(R,h,Z),I(R,b,Z),D(w,b,null),P(b,C),D(k,b,null),I(R,A,Z),D(y,R,Z),v=!0},p(R,Z){var oe;const G={};Z[0]&16&&(G.actionableWorkflowsLength=R[4].length),Z[0]&4&&(G.query=R[2]),e.$set(G);const de={};Z[0]&8&&(de.actionableWorkflowsLength=R[3].length),Z[0]&4&&(de.query=R[2]),t.$set(de),((oe=R[5])==null?void 0:oe.totalCount)>=0&&R[6]?N?(N.p(R,Z),Z[0]&96&&p(N,1)):(N=nr(R),N.c(),p(N,1),N.m(u,c)):N&&(J(),$(N,1,1,()=>{N=null}),X()),!R[7]&&!R[1]&&R[8].length>0?Y?(Y.p(R,Z),Z[0]&386&&p(Y,1)):(Y=rr(R),Y.c(),p(Y,1),Y.m(u,null)):Y&&(J(),$(Y,1,1,()=>{Y=null}),X());const ge={};Z[0]&1048576&&(ge.$$scope={dirty:Z,ctx:R}),w.$set(ge);const x={};Z[0]&1048576&&(x.$$scope={dirty:Z,ctx:R}),y.$set(x)},i(R){v||(p(e.$$.fragment,R),p(t.$$.fragment,R),p(a.$$.fragment,R),p(N),p(Y),p(d.$$.fragment,R),p(w.$$.fragment,R),p(k.$$.fragment,R),p(y.$$.fragment,R),v=!0)},o(R){$(e.$$.fragment,R),$(t.$$.fragment,R),$(a.$$.fragment,R),$(N),$(Y),$(d.$$.fragment,R),$(w.$$.fragment,R),$(k.$$.fragment,R),$(y.$$.fragment,R),v=!1},d(R){r[17](null),L(e,R),R&&g(l),r[18](null),L(t,R),R&&g(n),R&&g(o),L(a),N&&N.d(),Y&&Y.d(),L(d),R&&g(h),R&&g(b),L(w),L(k),R&&g(A),L(y,R)}}}let He,Ue;const et=ot(!1),yt=ot(!1),Oe=ot([]),yc=dt(Oe,r=>r.length>0),Cc=dt(Oe,r=>r.filter(e=>e.canBeTerminated)),jr=dt(Oe,r=>r.filter(e=>e.status==="Running")),Bc=()=>{Ue==null||Ue.open()},Sc=()=>{He==null||He.open()},Ac=r=>{et.set(!0),Oe.set([...r])},Nc=(r,e)=>{yt.set(r),et&&et.set(!1),r?Oe.set([...e]):Oe.set([])};function Pc(r,e,l){let t,n,o,s,i,a,f=K,u,c=K,m,_,d=K,h,b,w=K,C,k=K,A,y,v,B,q,N,Y,U,R,Z;z(r,fl,te=>l(1,s=te)),z(r,ht,te=>l(13,i=te)),z(r,jr,te=>l(3,a=te)),z(r,et,te=>l(21,u=te)),z(r,Ie,te=>l(14,m=te)),z(r,Cc,te=>l(4,_=te)),z(r,xe,te=>l(22,h=te)),z(r,Oe,te=>l(23,b=te)),z(r,yt,te=>l(24,C=te)),z(r,It,te=>l(25,A=te)),z(r,At,te=>l(26,y=te)),z(r,he,te=>l(15,v=te)),z(r,Ht,te=>l(27,B=te)),z(r,tl,te=>l(28,q=te)),z(r,Rt,te=>l(29,N=te)),z(r,vr,te=>l(5,Y=te)),z(r,vt,te=>l(6,U=te)),z(r,Ir,te=>l(7,R=te)),z(r,il,te=>l(8,Z=te)),r.$$.on_destroy.push(()=>f()),r.$$.on_destroy.push(()=>c()),r.$$.on_destroy.push(()=>d()),r.$$.on_destroy.push(()=>w()),r.$$.on_destroy.push(()=>k());let{$$slots:G={},$$scope:de}=e;const ge=()=>{!t&&!v.length&&q&&(le(he,v=[q],v),Ke(m.url,v,y))};pr(()=>{le(Ht,B=m.params.namespace,B),t&&le(he,v=y?nl(t,A):nl(t),v)});const x=()=>{le(et,u=!1,u),le(yt,C=!1,C),le(Oe,b=[],b)},oe=()=>{x(),le(xe,h=Date.now(),h)},Ee=async te=>{var Ve;const Qe={namespace:m.params.namespace,reason:te.detail.reason};try{if(u)await dc({...Qe,query:o}),Ot.push({message:H("workflows","batch-terminate-all-success"),id:"batch-terminate-success-toast"});else{const ne=await _c({...Qe,workflows:_});Ot.push({message:H("workflows","batch-terminate-success",{count:ne}),id:"batch-terminate-success-toast"})}He==null||He.close(),oe()}catch(ne){He==null||He.setError((Ve=ne==null?void 0:ne.message)!==null&&Ve!==void 0?Ve:H("unknown-error"))}},De=async te=>{var Ve;const Qe={namespace:m.params.namespace,reason:te.detail.reason};try{if(u)await gc({...Qe,query:o}),Ot.push({message:H("workflows","batch-cancel-all-success"),id:"batch-cancel-success-toast"});else{const ne=await pc({...Qe,workflows:a});Ot.push({message:H("workflows","batch-cancel-success",{count:ne}),id:"batch-cancel-success-toast"})}Ue==null||Ue.close(),oe()}catch(ne){Ue==null||Ue.setError((Ve=ne==null?void 0:ne.message)!==null&&Ve!==void 0?Ve:H("unknown-error"))}};function Ce(te){ie[te?"unshift":"push"](()=>{He=te})}function Le(te){ie[te?"unshift":"push"](()=>{Ue=te})}const We=()=>$c(Z);return r.$$set=te=>{"$$scope"in te&&l(20,de=te.$$scope)},r.$$.update=()=>{r.$$.dirty[0]&16384&&l(0,t=m.url.searchParams.get("query")),r.$$.dirty[0]&1&&t&&le(ht,i=t,i),r.$$.dirty[0]&16384&&l(12,n=m.url.searchParams.toString()),r.$$.dirty[0]&4096&&le(Rt,N=n,N),r.$$.dirty[0]&32768&&(v.length||le(ht,i="",i)),r.$$.dirty[0]&16384&&(m.params.namespace,ge()),r.$$.dirty[0]&8192&&l(2,o=i||'ExecutionStatus="Running"'),r.$$.dirty[0]&2&&s&&x()},[t,s,o,a,_,Y,U,R,Z,oe,Ee,De,n,i,m,v,G,Ce,Le,We,de]}class Fc extends fe{constructor(e){super(),ue(this,e,Pc,Lc,ce,{},null,[-1,-1])}}function or(r,e,l){const t=r.slice();return t[16]=e[l][0],t[17]=e[l][1],t}function sr(r,e,l){const t=r.slice();return t[17]=e[l],t}function Oc(r){let e,l;return e=new Et({props:{href:r[2].url.pathname+"?search=advanced",$$slots:{default:[Vc]},$$scope:{ctx:r}}}),e.$on("click",r[6]("advanced")),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&4&&(o.href=t[2].url.pathname+"?search=advanced"),n&4194304&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Wc(r){let e,l;return e=new Et({props:{href:r[2].url.pathname+"?search=basic",$$slots:{default:[Mc]},$$scope:{ctx:r}}}),e.$on("click",r[6]("basic")),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&4&&(o.href=t[2].url.pathname+"?search=basic"),n&4194304&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Vc(r){let e=H("workflows","advanced-search")+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Mc(r){let e=H("workflows","basic-search")+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Rc(r){let e,l,t,n,o,s,i,a,f,u,c,m,_,d,h,b;function w(U){r[9](U)}let C={icon:"search",type:"search",id:"workflow-id-filter",placeholder:H("workflow-id"),label:H("workflow-id"),labelHidden:!0};r[3].workflowId!==void 0&&(C.value=r[3].workflowId),l=new Ae({props:C}),ie.push(()=>me(l,"value",w)),l.$on("input",r[8]);function k(U){r[10](U)}let A={icon:"search",type:"search",id:"workflow-type-filter",placeholder:H("workflow-type"),label:H("workflow-type"),labelHidden:!0};r[3].workflowType!==void 0&&(A.value=r[3].workflowType),o=new Ae({props:A}),ie.push(()=>me(o,"value",k)),o.$on("input",r[8]);function y(U){r[11](U)}let v={id:"time-range-filter",label:"Time Range",$$slots:{default:[Qc]},$$scope:{ctx:r}};r[3].timeRange!==void 0&&(v.value=r[3].timeRange),a=new Xt({props:v}),ie.push(()=>me(a,"value",y)),a.$on("change",r[8]);function B(U){r[12](U)}let q={id:"execution-status-filter",label:"Workflow Status",$$slots:{default:[Kc]},$$scope:{ctx:r}};r[3].executionStatus!==void 0&&(q.value=r[3].executionStatus),c=new Xt({props:q}),ie.push(()=>me(c,"value",B)),c.$on("change",r[8]);function N(U){r[13](U)}let Y={id:"filter-by-relative-time",label:"Time Format",$$slots:{default:[Xc]},$$scope:{ctx:r}};return r[4]!==void 0&&(Y.value=r[4]),d=new Xt({props:Y}),ie.push(()=>me(d,"value",N)),{c(){e=F("div"),E(l.$$.fragment),n=W(),E(o.$$.fragment),i=W(),E(a.$$.fragment),u=W(),E(c.$$.fragment),_=W(),E(d.$$.fragment),this.h()},l(U){e=O(U,"DIV",{role:!0,class:!0});var R=M(e);T(l.$$.fragment,R),n=V(R),T(o.$$.fragment,R),i=V(R),T(a.$$.fragment,R),u=V(R),T(c.$$.fragment,R),_=V(R),T(d.$$.fragment,R),R.forEach(g),this.h()},h(){S(e,"role","search"),S(e,"class","grid grid-cols-1 gap-4 sm:grid-cols-2 md:grid-cols-5")},m(U,R){I(U,e,R),D(l,e,null),P(e,n),D(o,e,null),P(e,i),D(a,e,null),P(e,u),D(c,e,null),P(e,_),D(d,e,null),b=!0},p(U,R){const Z={};!t&&R&8&&(t=!0,Z.value=U[3].workflowId,_e(()=>t=!1)),l.$set(Z);const G={};!s&&R&8&&(s=!0,G.value=U[3].workflowType,_e(()=>s=!1)),o.$set(G);const de={};R&4194312&&(de.$$scope={dirty:R,ctx:U}),!f&&R&8&&(f=!0,de.value=U[3].timeRange,_e(()=>f=!1)),a.$set(de);const ge={};R&4194304&&(ge.$$scope={dirty:R,ctx:U}),!m&&R&8&&(m=!0,ge.value=U[3].executionStatus,_e(()=>m=!1)),c.$set(ge);const x={};R&4194304&&(x.$$scope={dirty:R,ctx:U}),!h&&R&16&&(h=!0,x.value=U[4],_e(()=>h=!1)),d.$set(x)},i(U){b||(p(l.$$.fragment,U),p(o.$$.fragment,U),p(a.$$.fragment,U),p(c.$$.fragment,U),p(d.$$.fragment,U),b=!0)},o(U){$(l.$$.fragment,U),$(o.$$.fragment,U),$(a.$$.fragment,U),$(c.$$.fragment,U),$(d.$$.fragment,U),b=!1},d(U){U&&g(e),L(l),L(o),L(a),L(c),L(d)}}}function Hc(r){let e,l;return e=new go({props:{icon:!0,id:"advanced-search",placeholder:"Query…",value:r[1]}}),e.$on("submit",r[7]),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&2&&(o.value=t[1]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Uc(r){let e;return{c(){e=j("All")},l(l){e=Q(l,"All")},m(l,t){I(l,e,t)},d(l){l&&g(e)}}}function ar(r){let e,l;return e=new st({props:{value:r[3].timeRange,$$slots:{default:[qc]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&8&&(o.value=t[3].timeRange),n&4194312&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function qc(r){let e=r[3].timeRange+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&8&&e!==(e=t[3].timeRange+"")&&se(l,e)},d(t){t&&g(l)}}}function jc(r){let e=r[17]+"",l;return{c(){l=j(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function ir(r){let e,l;return e=new st({props:{value:r[17],$$slots:{default:[jc]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&4194304&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Qc(r){let e,l,t=r[3].timeRange&&!Pt.includes(r[3].timeRange),n,o,s;e=new st({props:{value:null,$$slots:{default:[Uc]},$$scope:{ctx:r}}});let i=t&&ar(r),a=Pt,f=[];for(let c=0;c$(f[c],1,1,()=>{f[c]=null});return{c(){E(e.$$.fragment),l=W(),i&&i.c(),n=W();for(let c=0;c{i=null}),X()),m&0){a=Pt;let d;for(d=0;di[16];for(let i=0;i{u[w]=null}),X(),n=u[t],n?n.p(h,b):(n=u[t]=f[t](h),n.c()),p(n,1),n.m(l,null));let C=s;s=d(h),s===C?_[s].p(h,b):(J(),$(_[C],1,1,()=>{_[C]=null}),X(),i=_[s],i?i.p(h,b):(i=_[s]=m[s](h),i.c()),p(i,1),i.m(e,null))},i(h){a||(p(n),p(i),a=!0)},o(h){$(n),$(i),a=!1},d(h){h&&g(e),u[t].d(),_[s].d()}}}function xc(r,e,l){let t,n,o,s;z(r,Ie,k=>l(2,o=k)),z(r,Vt,k=>l(4,s=k));const i=mt();let{searchType:a}=e;const f=Ll({timeRange:"All"}),u={All:null,Running:"Running","Timed Out":"TimedOut",Completed:"Completed",Failed:"Failed","Continued as New":"ContinuedAsNew",Canceled:"Canceled",Terminated:"Terminated"},c=k=>()=>{l(0,a=k)},m=k=>{i("search");const A=new FormData(k.target);l(1,t=String(A.get("query"))),l(3,n=Al(t)),qe({url:o.url,parameter:"query",value:t})},_=br(()=>{i("search"),l(1,t=Ll(n)),qe({url:o.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,o))}function h(k){r.$$.not_equal(n.workflowType,k)&&(n.workflowType=k,l(3,n),l(1,t),l(2,o))}function b(k){r.$$.not_equal(n.timeRange,k)&&(n.timeRange=k,l(3,n),l(1,t),l(2,o))}function w(k){r.$$.not_equal(n.executionStatus,k)&&(n.executionStatus=k,l(3,n),l(1,t),l(2,o))}function C(k){s=k,Vt.set(s)}return r.$$set=k=>{"searchType"in k&&l(0,a=k.searchType)},r.$$.update=()=>{r.$$.dirty&4&&l(1,t=o.url.searchParams.get("query")),r.$$.dirty&2&&l(3,n=Al(t??f))},[a,t,o,n,s,u,c,m,_,d,h,b,w,C]}class em extends fe{constructor(e){super(),ue(this,e,xc,Zc,ce,{searchType:0})}}const tm=r=>Do(r)?r==="basic"||r==="advanced":!1,lm=r=>{const e=r.searchParams.get("search");return tm(e)?e:(r.searchParams.set("search","basic"),"basic")};function ur(r,e,l){const t=r.slice();return t[13]=e[l],t}function cr(r){let e,l,t,n,o,s,i,a,f,u;const c=[rm,nm],m=[];function _(w,C){return w[4]?0:1}t=_(r),n=m[t]=c[t](r);const d=[sm,om],h=[];function b(w,C){return w[4]?0:1}return i=b(r),a=h[i]=d[i](r),{c(){e=F("tr"),l=F("td"),n.c(),o=W(),s=F("td"),a.c(),f=W(),this.h()},l(w){e=O(w,"TR",{});var C=M(e);l=O(C,"TD",{colspan:!0,class:!0});var k=M(l);n.l(k),k.forEach(g),o=V(C),s=O(C,"TD",{colspan:!0,class:!0});var A=M(s);a.l(A),A.forEach(g),f=V(C),C.forEach(g),this.h()},h(){S(l,"colspan","5"),S(l,"class","xl:hidden"),S(s,"colspan","7"),S(s,"class","hidden xl:table-cell")},m(w,C){I(w,e,C),P(e,l),m[t].m(l,null),P(e,o),P(e,s),h[i].m(s,null),P(e,f),u=!0},p(w,C){let k=t;t=_(w),t===k?m[t].p(w,C):(J(),$(m[k],1,1,()=>{m[k]=null}),X(),n=m[t],n?n.p(w,C):(n=m[t]=c[t](w),n.c()),p(n,1),n.m(l,null));let A=i;i=b(w),i===A?h[i].p(w,C):(J(),$(h[A],1,1,()=>{h[A]=null}),X(),a=h[i],a?a.p(w,C):(a=h[i]=d[i](w),a.c()),p(a,1),a.m(s,null))},i(w){u||(p(n),p(a),u=!0)},o(w){$(n),$(a),u=!1},d(w){w&&g(e),m[t].d(),h[i].d()}}}function nm(r){let e,l;return e=new Cr({props:{title:"No Workflows Found",content:r[6],error:r[5]}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&32&&(o.error=t[5]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function rm(r){let e,l;return e=new ul({}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function om(r){let e,l;return e=new Cr({props:{title:"No Workflows Found",content:r[6],error:r[5]}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&32&&(o.error=t[5]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function sm(r){let e,l;return e=new ul({}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function mr(r){let e,l;return e=new $o({props:{workflow:r[13],namespace:r[1].params.namespace}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&4096&&(o.workflow=t[13]),n&2&&(o.namespace=t[1].params.namespace),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function am(r){let e,l,t=r[12],n=[];for(let i=0;i$(n[i],1,1,()=>{n[i]=null});let s=null;return t.length||(s=cr(r)),{c(){for(let i=0;i{s=null}),X()):(s=cr(i),s.c(),p(s,1),s.m(e.parentNode,e))}},i(i){if(!l){for(let a=0;ame(h,"searchType",A)),C=new Co({props:{items:r[2],"aria-label":H("workflows","recent-workflows"),pageSizeSelectLabel:H("per-page"),previousButtonLabel:H("previous"),nextButtonLabel:H("next"),$$slots:{default:[im,({visibleItems:v})=>({12:v}),({visibleItems:v})=>v?4096:0]},$$scope:{ctx:r}}}),{c(){e=F("header"),l=F("div"),t=F("h1"),o=j(n),s=W(),i=F("div"),a=F("p"),u=j(f),c=W(),m=F("div"),E(_.$$.fragment),d=W(),E(h.$$.fragment),w=W(),E(C.$$.fragment),this.h()},l(v){e=O(v,"HEADER",{class:!0});var B=M(e);l=O(B,"DIV",{});var q=M(l);t=O(q,"H1",{class:!0,"data-testid":!0});var N=M(t);o=Q(N,n),N.forEach(g),s=V(q),i=O(q,"DIV",{class:!0});var Y=M(i);a=O(Y,"P",{"data-testid":!0});var U=M(a);u=Q(U,f),U.forEach(g),Y.forEach(g),q.forEach(g),c=V(B),m=O(B,"DIV",{});var R=M(m);T(_.$$.fragment,R),R.forEach(g),B.forEach(g),d=V(v),T(h.$$.fragment,v),w=V(v),T(C.$$.fragment,v),this.h()},h(){S(t,"class","text-2xl"),S(t,"data-testid","namespace-title"),S(a,"data-testid","namespace-name"),S(i,"class","flex items-center gap-2 text-sm"),S(e,"class","mb-2 flex justify-between items-center")},m(v,B){I(v,e,B),P(e,l),P(l,t),P(t,o),P(l,s),P(l,i),P(i,a),P(a,u),P(e,c),P(e,m),D(_,m,null),I(v,d,B),D(h,v,B),I(v,w,B),D(C,v,B),k=!0},p(v,[B]){(!k||B&2)&&f!==(f=v[1].params.namespace+"")&&se(u,f);const q={};!b&&B&1&&(b=!0,q.searchType=v[0],_e(()=>b=!1)),h.$set(q);const N={};B&4&&(N.items=v[2]),B&69690&&(N.$$scope={dirty:B,ctx:v}),C.$set(N)},i(v){k||(p(_.$$.fragment,v),p(h.$$.fragment,v),p(C.$$.fragment,v),k=!0)},o(v){$(_.$$.fragment,v),$(h.$$.fragment,v),$(C.$$.fragment,v),k=!1},d(v){v&&g(e),L(_),v&&g(d),L(h,v),v&&g(w),L(C,v)}}}function um(r,e,l){let t,n,o,s,i,a,f,u;z(r,Ie,h=>l(1,t=h)),z(r,Rt,h=>l(9,n=h)),z(r,xe,h=>l(10,o=h)),z(r,Ht,h=>l(11,s=h)),z(r,il,h=>l(2,i=h)),z(r,fl,h=>l(3,a=h)),z(r,Ir,h=>l(4,f=h)),z(r,wr,h=>l(5,u=h));let c=lm(t.url);const m=c==="advanced"?"Please check your syntax and try again.":"If you have filters applied, try adjusting them.";pr(()=>{le(Ht,s=t.params.namespace,s)});const _=()=>{le(xe,o=Date.now(),o)};xr(()=>{le(Rt,n=t.url.searchParams.toString(),n)});function d(h){c=h,l(0,c)}return[c,t,i,a,f,u,m,_,d]}class cm extends fe{constructor(e){super(),ue(this,e,um,fm,ce,{})}}function mm(r){let e,l;return e=new Fc({}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function _m(r){let e,l;return e=new cm({props:{slot:"fallback"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function dm(r){let e,l,t,n;return e=new to({props:{title:`Workflows | ${r[0].params.namespace}`,url:r[0].url.href}}),t=new Jo({props:{$$slots:{fallback:[_m],default:[mm]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment),l=W(),E(t.$$.fragment)},l(o){T(e.$$.fragment,o),l=V(o),T(t.$$.fragment,o)},m(o,s){D(e,o,s),I(o,l,s),D(t,o,s),n=!0},p(o,[s]){const i={};s&1&&(i.title=`Workflows | ${o[0].params.namespace}`),s&1&&(i.url=o[0].url.href),e.$set(i);const a={};s&2&&(a.$$scope={dirty:s,ctx:o}),t.$set(a)},i(o){n||(p(e.$$.fragment,o),p(t.$$.fragment,o),n=!0)},o(o){$(e.$$.fragment,o),$(t.$$.fragment,o),n=!1},d(o){L(e,o),o&&g(l),L(t,o)}}}function pm(r,e,l){let t;return z(r,Ie,n=>l(0,t=n)),[t]}class m_ extends fe{constructor(e){super(),ue(this,e,pm,dm,ce,{})}}export{m_ as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-page.svelte.3460eb81.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-page.svelte.68af5dce.js similarity index 96% rename from ui/assets/local/_app/immutable/entry/(app)-namespaces-page.svelte.3460eb81.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-page.svelte.68af5dce.js index e04a18a4e2..a494a4a311 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-page.svelte.3460eb81.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-page.svelte.68af5dce.js @@ -1 +1 @@ -import{S as J,b as M,a as Q,C as d,c as B,m as P,w as x,e as E,D as b,d as C,p as y,q as I,x as N,k as p,u as L,E as k,f as $,L as q,g as u,h as O,j as m,F as w,K as H,z as G,n as z,a6 as R,y as U}from"../chunks/index.efded970.js";import{p as V}from"../chunks/stores.83aed68d.js";import{P as W}from"../chunks/page-title.a6dec5b5.js";import{E as X}from"../chunks/empty-state.22810bcf.js";import{L as Y}from"../chunks/link.cac19769.js";import{P as Z}from"../chunks/pagination.5253b8b7.js";import{T as ee,a as te}from"../chunks/table-header-row.b413d43a.js";import{T as ae}from"../chunks/table-row.6be25099.js";import{t as h}from"../chunks/translate.230dcc19.js";import{n as ne}from"../chunks/namespaces.08ac61f9.js";import{n as j}from"../chunks/route-for.f2f7cb1c.js";function A(f,t,n){const e=f.slice();return e[3]=t[n],e}function re(f){let t,n;return t=new X({props:{title:h("namespaces","namespaces-empty-state-title"),content:h("namespaces","namespaces-empty-state-content")}}),{c(){d(t.$$.fragment)},l(e){b(t.$$.fragment,e)},m(e,a){k(t,e,a),n=!0},p:z,i(e){n||(m(t.$$.fragment,e),n=!0)},o(e){u(t.$$.fragment,e),n=!1},d(e){w(t,e)}}}function se(f){let t,n;return t=new Z({props:{items:f[1],"aria-label":h("namespaces"),pageSizeSelectLabel:h("per-page"),previousButtonLabel:h("previous"),nextButtonLabel:h("next"),$$slots:{default:[me,({visibleItems:e})=>({2:e}),({visibleItems:e})=>e?4:0]},$$scope:{ctx:f}}}),{c(){d(t.$$.fragment)},l(e){b(t.$$.fragment,e)},m(e,a){k(t,e,a),n=!0},p(e,a){const r={};a&2&&(r.items=e[1]),a&68&&(r.$$scope={dirty:a,ctx:e}),t.$set(r)},i(e){n||(m(t.$$.fragment,e),n=!0)},o(e){u(t.$$.fragment,e),n=!1},d(e){w(t,e)}}}function le(f){let t=f[3].namespaceInfo.name+"",n;return{c(){n=x(t)},l(e){n=N(e,t)},m(e,a){$(e,n,a)},p(e,a){a&4&&t!==(t=e[3].namespaceInfo.name+"")&&U(n,t)},d(e){e&&p(n)}}}function oe(f){let t,n,e,a;return n=new Y({props:{href:j({namespace:f[3].namespaceInfo.name}),$$slots:{default:[le]},$$scope:{ctx:f}}}),{c(){t=P("td"),d(n.$$.fragment),e=B()},l(r){t=y(r,"TD",{});var s=I(t);b(n.$$.fragment,s),s.forEach(p),e=C(r)},m(r,s){$(r,t,s),k(n,t,null),$(r,e,s),a=!0},p(r,s){const l={};s&4&&(l.href=j({namespace:r[3].namespaceInfo.name})),s&68&&(l.$$scope={dirty:s,ctx:r}),n.$set(l)},i(r){a||(m(n.$$.fragment,r),a=!0)},o(r){u(n.$$.fragment,r),a=!1},d(r){r&&p(t),w(n),r&&p(e)}}}function K(f){let t,n;return t=new ae({props:{$$slots:{default:[oe]},$$scope:{ctx:f}}}),{c(){d(t.$$.fragment)},l(e){b(t.$$.fragment,e)},m(e,a){k(t,e,a),n=!0},p(e,a){const r={};a&68&&(r.$$scope={dirty:a,ctx:e}),t.$set(r)},i(e){n||(m(t.$$.fragment,e),n=!0)},o(e){u(t.$$.fragment,e),n=!1},d(e){w(t,e)}}}function ce(f){let t,n,e=f[2],a=[];for(let s=0;su(a[s],1,1,()=>{a[s]=null});return{c(){for(let s=0;s0?0:1}return l=F(f),o=g[l]=D[l](f),{c(){d(t.$$.fragment),n=B(),e=P("h1"),r=x(a),s=B(),o.c(),_=E(),this.h()},l(c){b(t.$$.fragment,c),n=C(c),e=y(c,"H1",{"data-testid":!0,class:!0});var i=I(e);r=N(i,a),i.forEach(p),s=C(c),o.l(c),_=E(),this.h()},h(){L(e,"data-testid","namespace-selector-title"),L(e,"class","mb-8 text-2xl")},m(c,i){k(t,c,i),$(c,n,i),$(c,e,i),q(e,r),$(c,s,i),g[l].m(c,i),$(c,_,i),T=!0},p(c,[i]){const v={};i&1&&(v.url=c[0].url.href),t.$set(v);let S=l;l=F(c),l===S?g[l].p(c,i):(G(),u(g[S],1,1,()=>{g[S]=null}),O(),o=g[l],o?o.p(c,i):(o=g[l]=D[l](c),o.c()),m(o,1),o.m(_.parentNode,_))},i(c){T||(m(t.$$.fragment,c),m(o),T=!0)},o(c){u(t.$$.fragment,c),u(o),T=!1},d(c){w(t,c),c&&p(n),c&&p(e),c&&p(s),g[l].d(c),c&&p(_)}}}function $e(f,t,n){let e,a;return H(f,V,r=>n(0,e=r)),H(f,ne,r=>n(1,a=r)),[e,a]}class Pe extends J{constructor(t){super(),M(this,t,$e,ue,Q,{})}}export{Pe as default}; +import{S as J,b as M,a as Q,C as d,c as B,m as P,w as x,e as E,D as b,d as C,p as y,q as I,x as N,k as p,u as L,E as k,f as $,L as q,g as u,h as O,j as m,F as w,K as H,z as G,n as z,a6 as R,y as U}from"../chunks/index.efded970.js";import{p as V}from"../chunks/stores.3002bd93.js";import{P as W}from"../chunks/page-title.a6dec5b5.js";import{E as X}from"../chunks/empty-state.22810bcf.js";import{L as Y}from"../chunks/link.cac19769.js";import{P as Z}from"../chunks/pagination.e9c8b93a.js";import{T as ee,a as te}from"../chunks/table-header-row.b413d43a.js";import{T as ae}from"../chunks/table-row.6be25099.js";import{t as h}from"../chunks/translate.230dcc19.js";import{n as ne}from"../chunks/namespaces.08ac61f9.js";import{n as j}from"../chunks/route-for.8244bd54.js";function A(f,t,n){const e=f.slice();return e[3]=t[n],e}function re(f){let t,n;return t=new X({props:{title:h("namespaces","namespaces-empty-state-title"),content:h("namespaces","namespaces-empty-state-content")}}),{c(){d(t.$$.fragment)},l(e){b(t.$$.fragment,e)},m(e,a){k(t,e,a),n=!0},p:z,i(e){n||(m(t.$$.fragment,e),n=!0)},o(e){u(t.$$.fragment,e),n=!1},d(e){w(t,e)}}}function se(f){let t,n;return t=new Z({props:{items:f[1],"aria-label":h("namespaces"),pageSizeSelectLabel:h("per-page"),previousButtonLabel:h("previous"),nextButtonLabel:h("next"),$$slots:{default:[me,({visibleItems:e})=>({2:e}),({visibleItems:e})=>e?4:0]},$$scope:{ctx:f}}}),{c(){d(t.$$.fragment)},l(e){b(t.$$.fragment,e)},m(e,a){k(t,e,a),n=!0},p(e,a){const r={};a&2&&(r.items=e[1]),a&68&&(r.$$scope={dirty:a,ctx:e}),t.$set(r)},i(e){n||(m(t.$$.fragment,e),n=!0)},o(e){u(t.$$.fragment,e),n=!1},d(e){w(t,e)}}}function le(f){let t=f[3].namespaceInfo.name+"",n;return{c(){n=x(t)},l(e){n=N(e,t)},m(e,a){$(e,n,a)},p(e,a){a&4&&t!==(t=e[3].namespaceInfo.name+"")&&U(n,t)},d(e){e&&p(n)}}}function oe(f){let t,n,e,a;return n=new Y({props:{href:j({namespace:f[3].namespaceInfo.name}),$$slots:{default:[le]},$$scope:{ctx:f}}}),{c(){t=P("td"),d(n.$$.fragment),e=B()},l(r){t=y(r,"TD",{});var s=I(t);b(n.$$.fragment,s),s.forEach(p),e=C(r)},m(r,s){$(r,t,s),k(n,t,null),$(r,e,s),a=!0},p(r,s){const l={};s&4&&(l.href=j({namespace:r[3].namespaceInfo.name})),s&68&&(l.$$scope={dirty:s,ctx:r}),n.$set(l)},i(r){a||(m(n.$$.fragment,r),a=!0)},o(r){u(n.$$.fragment,r),a=!1},d(r){r&&p(t),w(n),r&&p(e)}}}function K(f){let t,n;return t=new ae({props:{$$slots:{default:[oe]},$$scope:{ctx:f}}}),{c(){d(t.$$.fragment)},l(e){b(t.$$.fragment,e)},m(e,a){k(t,e,a),n=!0},p(e,a){const r={};a&68&&(r.$$scope={dirty:a,ctx:e}),t.$set(r)},i(e){n||(m(t.$$.fragment,e),n=!0)},o(e){u(t.$$.fragment,e),n=!1},d(e){w(t,e)}}}function ce(f){let t,n,e=f[2],a=[];for(let s=0;su(a[s],1,1,()=>{a[s]=null});return{c(){for(let s=0;s0?0:1}return l=F(f),o=g[l]=D[l](f),{c(){d(t.$$.fragment),n=B(),e=P("h1"),r=x(a),s=B(),o.c(),_=E(),this.h()},l(c){b(t.$$.fragment,c),n=C(c),e=y(c,"H1",{"data-testid":!0,class:!0});var i=I(e);r=N(i,a),i.forEach(p),s=C(c),o.l(c),_=E(),this.h()},h(){L(e,"data-testid","namespace-selector-title"),L(e,"class","mb-8 text-2xl")},m(c,i){k(t,c,i),$(c,n,i),$(c,e,i),q(e,r),$(c,s,i),g[l].m(c,i),$(c,_,i),T=!0},p(c,[i]){const v={};i&1&&(v.url=c[0].url.href),t.$set(v);let S=l;l=F(c),l===S?g[l].p(c,i):(G(),u(g[S],1,1,()=>{g[S]=null}),O(),o=g[l],o?o.p(c,i):(o=g[l]=D[l](c),o.c()),m(o,1),o.m(_.parentNode,_))},i(c){T||(m(t.$$.fragment,c),m(o),T=!0)},o(c){u(t.$$.fragment,c),u(o),T=!1},d(c){w(t,c),c&&p(n),c&&p(e),c&&p(s),g[l].d(c),c&&p(_)}}}function $e(f,t,n){let e,a;return H(f,V,r=>n(0,e=r)),H(f,ne,r=>n(1,a=r)),[e,a]}class Pe extends J{constructor(t){super(),M(this,t,$e,ue,Q,{})}}export{Pe as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-page.svelte.52a48951.js b/ui/assets/local/_app/immutable/entry/(app)-page.svelte.251286ca.js similarity index 79% rename from ui/assets/local/_app/immutable/entry/(app)-page.svelte.52a48951.js rename to ui/assets/local/_app/immutable/entry/(app)-page.svelte.251286ca.js index aa0df70017..0130e6d0ef 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-page.svelte.52a48951.js +++ b/ui/assets/local/_app/immutable/entry/(app)-page.svelte.251286ca.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,K as F,o as N}from"../chunks/index.efded970.js";import{g as s}from"../chunks/navigation.6d455e31.js";import{L as b}from"../chunks/loading.32266c92.js";import{e as x}from"../chunks/workflow-service.6fa8d283.js";import{l as y}from"../chunks/namespaces.08ac61f9.js";import{r as S,l as m}from"../chunks/route-for.f2f7cb1c.js";function k(r){let e,a;return e=new b({}),{c(){p(e.$$.fragment)},l(t){d(e.$$.fragment,t)},m(t,n){g(e,t,n),a=!0},p:_,i(t){a||(h(e.$$.fragment,t),a=!0)},o(t){$(e.$$.fragment,t),a=!1},d(t){w(e,t)}}}function z(r,e,a){let t;F(r,y,o=>a(1,t=o));let{data:n}=e,{defaultNamespace:i}=n;const c=t&&t!=="default"?t:i;return N(async()=>{try{const{authorized:o}=await x(c);o?s(S({namespace:c})):s(m())}catch{s(m())}}),r.$$set=o=>{"data"in o&&a(0,n=o.data)},[n]}class A extends f{constructor(e){super(),u(this,e,z,k,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,K as F,o as N}from"../chunks/index.efded970.js";import{g as s}from"../chunks/navigation.85b47b98.js";import{L as b}from"../chunks/loading.32266c92.js";import{e as x}from"../chunks/workflow-service.db6f5d3e.js";import{l as y}from"../chunks/namespaces.08ac61f9.js";import{r as S,l as m}from"../chunks/route-for.8244bd54.js";function k(r){let e,a;return e=new b({}),{c(){p(e.$$.fragment)},l(t){d(e.$$.fragment,t)},m(t,n){g(e,t,n),a=!0},p:_,i(t){a||(h(e.$$.fragment,t),a=!0)},o(t){$(e.$$.fragment,t),a=!1},d(t){w(e,t)}}}function z(r,e,a){let t;F(r,y,o=>a(1,t=o));let{data:n}=e,{defaultNamespace:i}=n;const c=t&&t!=="default"?t:i;return N(async()=>{try{const{authorized:o}=await x(c);o?s(S({namespace:c})):s(m())}catch{s(m())}}),r.$$set=o=>{"data"in o&&a(0,n=o.data)},[n]}class A extends f{constructor(e){super(),u(this,e,z,k,l,{data:0})}}export{A as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-page.ts.67db5ff9.js b/ui/assets/local/_app/immutable/entry/(app)-page.ts.67db5ff9.js new file mode 100644 index 0000000000..c647adb3dc --- /dev/null +++ b/ui/assets/local/_app/immutable/entry/(app)-page.ts.67db5ff9.js @@ -0,0 +1 @@ +import"../chunks/index.b1f5b21f.js";import"../chunks/route-for.8244bd54.js";import{l as t}from"../chunks/_page.976e3127.js";export{t as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-page.ts.cd901cf5.js b/ui/assets/local/_app/immutable/entry/(app)-page.ts.cd901cf5.js deleted file mode 100644 index 313cc3a9d4..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-page.ts.cd901cf5.js +++ /dev/null @@ -1 +0,0 @@ -import"../chunks/index.b1f5b21f.js";import"../chunks/route-for.f2f7cb1c.js";import{l as t}from"../chunks/_page.c0269608.js";export{t as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-select-namespace-page.svelte.2ff01546.js b/ui/assets/local/_app/immutable/entry/(app)-select-namespace-page.svelte.2d4f801d.js similarity index 97% rename from ui/assets/local/_app/immutable/entry/(app)-select-namespace-page.svelte.2ff01546.js rename to ui/assets/local/_app/immutable/entry/(app)-select-namespace-page.svelte.2d4f801d.js index 0130d3b11b..5aca014a14 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-select-namespace-page.svelte.2ff01546.js +++ b/ui/assets/local/_app/immutable/entry/(app)-select-namespace-page.svelte.2d4f801d.js @@ -1 +1 @@ -import{S as fe,b as he,a as me,m as N,p as z,q as P,k as b,v as O,av as le,a3 as ve,f as C,L as E,am as be,Q as pe,z as ae,a9 as ke,aa as we,h as ne,j as V,g as H,o as ye,G as Ee,c as F,d as W,H as Te,I as Ie,J as Le,t as ee,A as se,w as Y,x as $,Z as Ve,C as q,D as B,u as R,E as j,_ as He,F as G,K as te,a5 as Se,n as ge,e as re,P as X,y as Ne}from"../chunks/index.efded970.js";import{g as ze}from"../chunks/navigation.6d455e31.js";import{p as Pe}from"../chunks/stores.83aed68d.js";import{P as Re}from"../chunks/page-title.a6dec5b5.js";import{E as de}from"../chunks/empty-state.22810bcf.js";import{I as Ue}from"../chunks/input.f4d0de9f.js";import{t as U}from"../chunks/translate.230dcc19.js";import{e as Ae}from"../chunks/workflow-service.6fa8d283.js";import{l as ie,n as Ce}from"../chunks/namespaces.08ac61f9.js";import{t as Me}from"../chunks/toaster.fd2b66a2.js";import{r as Oe}from"../chunks/route-for.f2f7cb1c.js";function oe(s,e,t){const l=s.slice();return l[23]=e[t],l}const De=s=>({item:s&16}),ce=s=>({item:s[23].data});function Fe(s){let e;return{c(){e=Y("Missing template")},l(t){e=$(t,"Missing template")},m(t,l){C(t,e,l)},d(t){t&&b(e)}}}function ue(s,e){let t,l,o;const f=e[14].default,u=Ee(f,e,e[13],ce),_=u||Fe();return{key:s,first:null,c(){t=N("svelte-virtual-list-row"),_&&_.c(),l=F(),this.h()},l(a){t=z(a,"SVELTE-VIRTUAL-LIST-ROW",{class:!0});var i=P(t);_&&_.l(i),l=W(i),i.forEach(b),this.h()},h(){le(t,"class","svelte-1kdxoed"),this.first=t},m(a,i){C(a,t,i),_&&_.m(t,null),E(t,l),o=!0},p(a,i){e=a,u&&u.p&&(!o||i&8208)&&Te(u,f,e,e[13],o?Le(f,e[13],i,De):Ie(e[13]),ce)},i(a){o||(V(_,a),o=!0)},o(a){H(_,a),o=!1},d(a){a&&b(t),_&&_.d(a)}}}function We(s){let e,t,l=[],o=new Map,f,u,_,a,i=s[4];const p=c=>c[23].index;for(let c=0;cs[17].call(e))},m(c,n){C(c,e,n),E(e,t);for(let h=0;hr){t(8,a=d),t(5,v=y);break}y+=g,d+=1}for(;dr+w)););t(9,i=d);const L=f.length-i;for(I=y/i;d{c=h.getElementsByTagName("svelte-virtual-list-row"),t(12,T=!0)});function K(r){se[r?"unshift":"push"](()=>{h=r,t(3,h)})}function S(r){se[r?"unshift":"push"](()=>{n=r,t(2,n)})}function Q(){w=this.offsetHeight,t(1,w)}return s.$$set=r=>{"items"in r&&t(10,f=r.items),"height"in r&&t(0,u=r.height),"itemHeight"in r&&t(11,_=r.itemHeight),"start"in r&&t(8,a=r.start),"end"in r&&t(9,i=r.end),"$$scope"in r&&t(13,o=r.$$scope)},s.$$.update=()=>{s.$$.dirty&1792&&t(4,M=f.slice(a,i).map((r,m)=>({index:m+a,data:r}))),s.$$.dirty&7170&&T&&x(f,w,_)},[u,w,n,h,M,v,k,J,a,i,f,_,T,o,l,K,S,Q]}class Be extends fe{constructor(e){super(),he(this,e,qe,We,me,{items:10,height:0,itemHeight:11,start:8,end:9})}}function _e(s){const e=s[9]===s[2][0];s[10]=e;const t=s[9]===s[2][s[2].length-1];s[11]=t}function je(s){let e,t;return e=new de({props:{title:U("namespaces","select-namespace-empty-state")}}),{c(){q(e.$$.fragment)},l(l){B(e.$$.fragment,l)},m(l,o){j(e,l,o),t=!0},p:ge,i(l){t||(V(e.$$.fragment,l),t=!0)},o(l){H(e.$$.fragment,l),t=!1},d(l){G(e,l)}}}function Ge(s){let e,t,l,o;const f=[Ke,Je],u=[];function _(a,i){return a[2].length?0:1}return e=_(s),t=u[e]=f[e](s),{c(){t.c(),l=re()},l(a){t.l(a),l=re()},m(a,i){u[e].m(a,i),C(a,l,i),o=!0},p(a,i){let p=e;e=_(a),e===p?u[e].p(a,i):(ae(),H(u[p],1,1,()=>{u[p]=null}),ne(),t=u[e],t?t.p(a,i):(t=u[e]=f[e](a),t.c()),V(t,1),t.m(l.parentNode,l))},i(a){o||(V(t),o=!0)},o(a){H(t),o=!1},d(a){u[e].d(a),a&&b(l)}}}function Je(s){let e,t;return e=new de({props:{title:U("no-results")}}),{c(){q(e.$$.fragment)},l(l){B(e.$$.fragment,l)},m(l,o){j(e,l,o),t=!0},p:ge,i(l){t||(V(e.$$.fragment,l),t=!0)},o(l){H(e.$$.fragment,l),t=!1},d(l){G(e,l)}}}function Ke(s){let e,t;return e=new Be({props:{items:s[2],itemHeight:50,$$slots:{default:[Qe,({item:l})=>({9:l}),({item:l})=>l?512:0]},$$scope:{ctx:s}}}),{c(){q(e.$$.fragment)},l(l){B(e.$$.fragment,l)},m(l,o){j(e,l,o),t=!0},p(l,o){const f={};o&4&&(f.items=l[2]),o&4612&&(f.$$scope={dirty:o,ctx:l}),e.$set(f)},i(l){t||(V(e.$$.fragment,l),t=!0)},o(l){H(e.$$.fragment,l),t=!1},d(l){G(e,l)}}}function Qe(s){_e(s);let e,t,l=s[9].namespace+"",o,f,u;function _(){return s[7](s[9])}return{c(){e=N("div"),t=N("button"),o=Y(l),this.h()},l(a){e=z(a,"DIV",{class:!0});var i=P(e);t=z(i,"BUTTON",{class:!0});var p=P(t);o=$(p,l),p.forEach(b),i.forEach(b),this.h()},h(){R(t,"class","w-full p-3 text-left truncate"),R(e,"class","link-item svelte-uk7srb"),X(e,"first",s[10]),X(e,"last",s[11])},m(a,i){C(a,e,i),E(e,t),E(t,o),f||(u=pe(t,"click",_),f=!0)},p(a,i){s=a,_e(s),i&512&&l!==(l=s[9].namespace+"")&&Ne(o,l),i&516&&X(e,"first",s[10]),i&516&&X(e,"last",s[11])},d(a){a&&b(e),f=!1,u()}}}function Ze(s){let e,t,l,o,f=U("namespaces","select-namespace-welcome")+"",u,_,a,i=U("namespaces","select-namespace")+"",p,c,n,h,w,M,T,v,k,I;e=new Re({props:{title:U("namespaces","namespace-select-header"),url:s[3].url.href}});function x(r){s[6](r)}let J={id:"search-namespaces",type:"search",label:U("search"),labelHidden:!0,placeholder:U("search"),icon:"search"};s[0]!==void 0&&(J.value=s[0]),h=new Ue({props:J}),se.push(()=>Ve(h,"value",x));const K=[Ge,je],S=[];function Q(r,m){return r[1].length?0:1}return v=Q(s),k=S[v]=K[v](s),{c(){q(e.$$.fragment),t=F(),l=N("div"),o=N("h1"),u=Y(f),_=F(),a=N("p"),p=Y(i),c=F(),n=N("form"),q(h.$$.fragment),M=F(),T=N("div"),k.c(),this.h()},l(r){B(e.$$.fragment,r),t=W(r),l=z(r,"DIV",{class:!0});var m=P(l);o=z(m,"H1",{class:!0});var d=P(o);u=$(d,f),d.forEach(b),_=W(m),a=z(m,"P",{class:!0});var y=P(a);p=$(y,i),y.forEach(b),c=W(m),n=z(m,"FORM",{class:!0,role:!0});var L=P(n);B(h.$$.fragment,L),L.forEach(b),M=W(m),T=z(m,"DIV",{class:!0,"aria-label":!0});var g=P(T);k.l(g),g.forEach(b),m.forEach(b),this.h()},h(){R(o,"class","my-4 text-3xl"),R(a,"class","mb-8"),R(n,"class","mb-5"),R(n,"role","search"),R(T,"class","h-screen w-full"),R(T,"aria-label",U("namespaces")),R(l,"class","w-full p-8 xl:w-1/2")},m(r,m){j(e,r,m),C(r,t,m),C(r,l,m),E(l,o),E(o,u),E(l,_),E(l,a),E(a,p),E(l,c),E(l,n),j(h,n,null),E(l,M),E(l,T),S[v].m(T,null),I=!0},p(r,[m]){const d={};m&8&&(d.url=r[3].url.href),e.$set(d);const y={};!w&&m&1&&(w=!0,y.value=r[0],He(()=>w=!1)),h.$set(y);let L=v;v=Q(r),v===L?S[v].p(r,m):(ae(),H(S[L],1,1,()=>{S[L]=null}),ne(),k=S[v],k?k.p(r,m):(k=S[v]=K[v](r),k.c()),V(k,1),k.m(T,null))},i(r){I||(V(e.$$.fragment,r),V(h.$$.fragment,r),V(k),I=!0)},o(r){H(e.$$.fragment,r),H(h.$$.fragment,r),H(k),I=!1},d(r){G(e,r),r&&b(t),r&&b(l),G(h),S[v].d()}}}function Xe(s,e,t){let l,o,f,u,_,a;te(s,ie,n=>t(8,u=n)),te(s,Ce,n=>t(5,_=n)),te(s,Pe,n=>t(3,a=n));let i="";function p(n){i=n,t(0,i)}const c=n=>n==null?void 0:n.onClick(n.namespace);return s.$$.update=()=>{s.$$.dirty&32&&t(4,l=_.map(n=>{var h;return(h=n==null?void 0:n.namespaceInfo)===null||h===void 0?void 0:h.name})),s.$$.dirty&16&&t(1,o=l.map(n=>({namespace:n,onClick:async h=>{const{authorized:w}=await Ae(h);w?(Se(ie,u=h,u),ze(Oe({namespace:h}))):Me.push({variant:"error",message:U("namespaces","unauthorized-namespace-error")})}}))),s.$$.dirty&3&&t(2,f=o.filter(({namespace:n})=>n.includes(i)))},[i,o,f,a,l,_,p,c]}class ot extends fe{constructor(e){super(),he(this,e,Xe,Ze,me,{})}}export{ot as default}; +import{S as fe,b as he,a as me,m as N,p as z,q as P,k as b,v as O,av as le,a3 as ve,f as C,L as E,am as be,Q as pe,z as ae,a9 as ke,aa as we,h as ne,j as V,g as H,o as ye,G as Ee,c as F,d as W,H as Te,I as Ie,J as Le,t as ee,A as se,w as Y,x as $,Z as Ve,C as q,D as B,u as R,E as j,_ as He,F as G,K as te,a5 as Se,n as ge,e as re,P as X,y as Ne}from"../chunks/index.efded970.js";import{g as ze}from"../chunks/navigation.85b47b98.js";import{p as Pe}from"../chunks/stores.3002bd93.js";import{P as Re}from"../chunks/page-title.a6dec5b5.js";import{E as de}from"../chunks/empty-state.22810bcf.js";import{I as Ue}from"../chunks/input.f4d0de9f.js";import{t as U}from"../chunks/translate.230dcc19.js";import{e as Ae}from"../chunks/workflow-service.db6f5d3e.js";import{l as ie,n as Ce}from"../chunks/namespaces.08ac61f9.js";import{t as Me}from"../chunks/toaster.fd2b66a2.js";import{r as Oe}from"../chunks/route-for.8244bd54.js";function oe(s,e,t){const l=s.slice();return l[23]=e[t],l}const De=s=>({item:s&16}),ce=s=>({item:s[23].data});function Fe(s){let e;return{c(){e=Y("Missing template")},l(t){e=$(t,"Missing template")},m(t,l){C(t,e,l)},d(t){t&&b(e)}}}function ue(s,e){let t,l,o;const f=e[14].default,u=Ee(f,e,e[13],ce),_=u||Fe();return{key:s,first:null,c(){t=N("svelte-virtual-list-row"),_&&_.c(),l=F(),this.h()},l(a){t=z(a,"SVELTE-VIRTUAL-LIST-ROW",{class:!0});var i=P(t);_&&_.l(i),l=W(i),i.forEach(b),this.h()},h(){le(t,"class","svelte-1kdxoed"),this.first=t},m(a,i){C(a,t,i),_&&_.m(t,null),E(t,l),o=!0},p(a,i){e=a,u&&u.p&&(!o||i&8208)&&Te(u,f,e,e[13],o?Le(f,e[13],i,De):Ie(e[13]),ce)},i(a){o||(V(_,a),o=!0)},o(a){H(_,a),o=!1},d(a){a&&b(t),_&&_.d(a)}}}function We(s){let e,t,l=[],o=new Map,f,u,_,a,i=s[4];const p=c=>c[23].index;for(let c=0;cs[17].call(e))},m(c,n){C(c,e,n),E(e,t);for(let h=0;hr){t(8,a=d),t(5,v=y);break}y+=g,d+=1}for(;dr+w)););t(9,i=d);const L=f.length-i;for(I=y/i;d{c=h.getElementsByTagName("svelte-virtual-list-row"),t(12,T=!0)});function K(r){se[r?"unshift":"push"](()=>{h=r,t(3,h)})}function S(r){se[r?"unshift":"push"](()=>{n=r,t(2,n)})}function Q(){w=this.offsetHeight,t(1,w)}return s.$$set=r=>{"items"in r&&t(10,f=r.items),"height"in r&&t(0,u=r.height),"itemHeight"in r&&t(11,_=r.itemHeight),"start"in r&&t(8,a=r.start),"end"in r&&t(9,i=r.end),"$$scope"in r&&t(13,o=r.$$scope)},s.$$.update=()=>{s.$$.dirty&1792&&t(4,M=f.slice(a,i).map((r,m)=>({index:m+a,data:r}))),s.$$.dirty&7170&&T&&x(f,w,_)},[u,w,n,h,M,v,k,J,a,i,f,_,T,o,l,K,S,Q]}class Be extends fe{constructor(e){super(),he(this,e,qe,We,me,{items:10,height:0,itemHeight:11,start:8,end:9})}}function _e(s){const e=s[9]===s[2][0];s[10]=e;const t=s[9]===s[2][s[2].length-1];s[11]=t}function je(s){let e,t;return e=new de({props:{title:U("namespaces","select-namespace-empty-state")}}),{c(){q(e.$$.fragment)},l(l){B(e.$$.fragment,l)},m(l,o){j(e,l,o),t=!0},p:ge,i(l){t||(V(e.$$.fragment,l),t=!0)},o(l){H(e.$$.fragment,l),t=!1},d(l){G(e,l)}}}function Ge(s){let e,t,l,o;const f=[Ke,Je],u=[];function _(a,i){return a[2].length?0:1}return e=_(s),t=u[e]=f[e](s),{c(){t.c(),l=re()},l(a){t.l(a),l=re()},m(a,i){u[e].m(a,i),C(a,l,i),o=!0},p(a,i){let p=e;e=_(a),e===p?u[e].p(a,i):(ae(),H(u[p],1,1,()=>{u[p]=null}),ne(),t=u[e],t?t.p(a,i):(t=u[e]=f[e](a),t.c()),V(t,1),t.m(l.parentNode,l))},i(a){o||(V(t),o=!0)},o(a){H(t),o=!1},d(a){u[e].d(a),a&&b(l)}}}function Je(s){let e,t;return e=new de({props:{title:U("no-results")}}),{c(){q(e.$$.fragment)},l(l){B(e.$$.fragment,l)},m(l,o){j(e,l,o),t=!0},p:ge,i(l){t||(V(e.$$.fragment,l),t=!0)},o(l){H(e.$$.fragment,l),t=!1},d(l){G(e,l)}}}function Ke(s){let e,t;return e=new Be({props:{items:s[2],itemHeight:50,$$slots:{default:[Qe,({item:l})=>({9:l}),({item:l})=>l?512:0]},$$scope:{ctx:s}}}),{c(){q(e.$$.fragment)},l(l){B(e.$$.fragment,l)},m(l,o){j(e,l,o),t=!0},p(l,o){const f={};o&4&&(f.items=l[2]),o&4612&&(f.$$scope={dirty:o,ctx:l}),e.$set(f)},i(l){t||(V(e.$$.fragment,l),t=!0)},o(l){H(e.$$.fragment,l),t=!1},d(l){G(e,l)}}}function Qe(s){_e(s);let e,t,l=s[9].namespace+"",o,f,u;function _(){return s[7](s[9])}return{c(){e=N("div"),t=N("button"),o=Y(l),this.h()},l(a){e=z(a,"DIV",{class:!0});var i=P(e);t=z(i,"BUTTON",{class:!0});var p=P(t);o=$(p,l),p.forEach(b),i.forEach(b),this.h()},h(){R(t,"class","w-full p-3 text-left truncate"),R(e,"class","link-item svelte-uk7srb"),X(e,"first",s[10]),X(e,"last",s[11])},m(a,i){C(a,e,i),E(e,t),E(t,o),f||(u=pe(t,"click",_),f=!0)},p(a,i){s=a,_e(s),i&512&&l!==(l=s[9].namespace+"")&&Ne(o,l),i&516&&X(e,"first",s[10]),i&516&&X(e,"last",s[11])},d(a){a&&b(e),f=!1,u()}}}function Ze(s){let e,t,l,o,f=U("namespaces","select-namespace-welcome")+"",u,_,a,i=U("namespaces","select-namespace")+"",p,c,n,h,w,M,T,v,k,I;e=new Re({props:{title:U("namespaces","namespace-select-header"),url:s[3].url.href}});function x(r){s[6](r)}let J={id:"search-namespaces",type:"search",label:U("search"),labelHidden:!0,placeholder:U("search"),icon:"search"};s[0]!==void 0&&(J.value=s[0]),h=new Ue({props:J}),se.push(()=>Ve(h,"value",x));const K=[Ge,je],S=[];function Q(r,m){return r[1].length?0:1}return v=Q(s),k=S[v]=K[v](s),{c(){q(e.$$.fragment),t=F(),l=N("div"),o=N("h1"),u=Y(f),_=F(),a=N("p"),p=Y(i),c=F(),n=N("form"),q(h.$$.fragment),M=F(),T=N("div"),k.c(),this.h()},l(r){B(e.$$.fragment,r),t=W(r),l=z(r,"DIV",{class:!0});var m=P(l);o=z(m,"H1",{class:!0});var d=P(o);u=$(d,f),d.forEach(b),_=W(m),a=z(m,"P",{class:!0});var y=P(a);p=$(y,i),y.forEach(b),c=W(m),n=z(m,"FORM",{class:!0,role:!0});var L=P(n);B(h.$$.fragment,L),L.forEach(b),M=W(m),T=z(m,"DIV",{class:!0,"aria-label":!0});var g=P(T);k.l(g),g.forEach(b),m.forEach(b),this.h()},h(){R(o,"class","my-4 text-3xl"),R(a,"class","mb-8"),R(n,"class","mb-5"),R(n,"role","search"),R(T,"class","h-screen w-full"),R(T,"aria-label",U("namespaces")),R(l,"class","w-full p-8 xl:w-1/2")},m(r,m){j(e,r,m),C(r,t,m),C(r,l,m),E(l,o),E(o,u),E(l,_),E(l,a),E(a,p),E(l,c),E(l,n),j(h,n,null),E(l,M),E(l,T),S[v].m(T,null),I=!0},p(r,[m]){const d={};m&8&&(d.url=r[3].url.href),e.$set(d);const y={};!w&&m&1&&(w=!0,y.value=r[0],He(()=>w=!1)),h.$set(y);let L=v;v=Q(r),v===L?S[v].p(r,m):(ae(),H(S[L],1,1,()=>{S[L]=null}),ne(),k=S[v],k?k.p(r,m):(k=S[v]=K[v](r),k.c()),V(k,1),k.m(T,null))},i(r){I||(V(e.$$.fragment,r),V(h.$$.fragment,r),V(k),I=!0)},o(r){H(e.$$.fragment,r),H(h.$$.fragment,r),H(k),I=!1},d(r){G(e,r),r&&b(t),r&&b(l),G(h),S[v].d()}}}function Xe(s,e,t){let l,o,f,u,_,a;te(s,ie,n=>t(8,u=n)),te(s,Ce,n=>t(5,_=n)),te(s,Pe,n=>t(3,a=n));let i="";function p(n){i=n,t(0,i)}const c=n=>n==null?void 0:n.onClick(n.namespace);return s.$$.update=()=>{s.$$.dirty&32&&t(4,l=_.map(n=>{var h;return(h=n==null?void 0:n.namespaceInfo)===null||h===void 0?void 0:h.name})),s.$$.dirty&16&&t(1,o=l.map(n=>({namespace:n,onClick:async h=>{const{authorized:w}=await Ae(h);w?(Se(ie,u=h,u),ze(Oe({namespace:h}))):Me.push({variant:"error",message:U("namespaces","unauthorized-namespace-error")})}}))),s.$$.dirty&3&&t(2,f=o.filter(({namespace:n})=>n.includes(i)))},[i,o,f,a,l,_,p,c]}class ot extends fe{constructor(e){super(),he(this,e,Xe,Ze,me,{})}}export{ot as default}; diff --git a/ui/assets/local/_app/immutable/entry/(login)-layout.ts.891fcff1.js b/ui/assets/local/_app/immutable/entry/(login)-layout.ts.891fcff1.js new file mode 100644 index 0000000000..756e7666b6 --- /dev/null +++ b/ui/assets/local/_app/immutable/entry/(login)-layout.ts.891fcff1.js @@ -0,0 +1 @@ +/* empty css */import"../chunks/index.b1f5b21f.js";import"../chunks/settings-service.d3fae296.js";import{l as t,s as a}from"../chunks/_layout.25e245e4.js";export{t as load,a as ssr}; diff --git a/ui/assets/local/_app/immutable/entry/(login)-layout.ts.cedee9fc.js b/ui/assets/local/_app/immutable/entry/(login)-layout.ts.cedee9fc.js deleted file mode 100644 index e0cdbf1ab8..0000000000 --- a/ui/assets/local/_app/immutable/entry/(login)-layout.ts.cedee9fc.js +++ /dev/null @@ -1 +0,0 @@ -/* empty css */import"../chunks/index.b1f5b21f.js";import"../chunks/settings-service.61c40f69.js";import{l as t,s as a}from"../chunks/_layout.d29348a6.js";export{t as load,a as ssr}; diff --git a/ui/assets/local/_app/immutable/entry/(login)-login-page.svelte.ab786e89.js b/ui/assets/local/_app/immutable/entry/(login)-login-page.svelte.e01a1fa8.js similarity index 93% rename from ui/assets/local/_app/immutable/entry/(login)-login-page.svelte.ab786e89.js rename to ui/assets/local/_app/immutable/entry/(login)-login-page.svelte.e01a1fa8.js index be984715ee..51505af04a 100644 --- a/ui/assets/local/_app/immutable/entry/(login)-login-page.svelte.ab786e89.js +++ b/ui/assets/local/_app/immutable/entry/(login)-login-page.svelte.e01a1fa8.js @@ -1 +1 @@ -import{S as N,b as R,a as T,C as A,c as x,m as $,w as C,D as B,d as y,p as b,q as k,k as i,x as I,a7 as U,u as c,E as H,f as P,L as f,j as V,g as W,F as G,K as z,n as J}from"../chunks/index.efded970.js";import{p as Q}from"../chunks/stores.83aed68d.js";import{F as X,L as Y}from"../chunks/logo.797112c8.js";import{P as Z}from"../chunks/page-title.a6dec5b5.js";import{B as tt}from"../chunks/button.a4f5a3d4.js";import{s as et}from"../chunks/route-for.f2f7cb1c.js";function at(o){let e;return{c(){e=C("Continue to SSO")},l(s){e=I(s,"Continue to SSO")},m(s,a){P(s,e,a)},d(s){s&&i(e)}}}function st(o){let e,s,a;return{c(){e=$("div"),s=$("p"),a=C(o[2]),this.h()},l(r){e=b(r,"DIV",{class:!0});var m=k(e);s=b(m,"P",{class:!0});var h=k(s);a=I(h,o[2]),h.forEach(i),m.forEach(i),this.h()},h(){c(s,"class","rounded-md border-2 border-orange-500 bg-orange-100 p-5 text-center"),c(e,"class","my-12 flex flex-col items-center justify-start gap-2")},m(r,m){P(r,e,m),f(e,s),f(s,a)},p:J,d(r){r&&i(e)}}}function rt(o){let e,s,a,r,m,h,d,p,l,v,D,F,E,j,q,w,g,O,L;e=new Z({props:{title:"Login",url:o[0].url.href}}),d=new X({}),g=new tt({props:{"data-testid":"login-button",leadingIcon:"lock",$$slots:{default:[at]},$$scope:{ctx:o}}}),g.$on("click",o[4]);let _=o[2]&&st(o);return{c(){A(e.$$.fragment),s=x(),a=$("header"),r=$("img"),h=x(),A(d.$$.fragment),p=x(),l=$("section"),v=$("h1"),D=C("Welcome back."),F=x(),E=$("p"),j=C("Let's get you signed in."),q=x(),w=$("div"),A(g.$$.fragment),O=x(),_&&_.c(),this.h()},l(t){B(e.$$.fragment,t),s=y(t),a=b(t,"HEADER",{class:!0});var n=k(a);r=b(n,"IMG",{src:!0,alt:!0,class:!0}),h=y(n),B(d.$$.fragment,n),n.forEach(i),p=y(t),l=b(t,"SECTION",{class:!0});var u=k(l);v=b(u,"H1",{class:!0,"data-testid":!0});var S=k(v);D=I(S,"Welcome back."),S.forEach(i),F=y(u),E=b(u,"P",{class:!0,"data-testid":!0});var K=k(E);j=I(K,"Let's get you signed in."),K.forEach(i),q=y(u),w=b(u,"DIV",{class:!0});var M=k(w);B(g.$$.fragment,M),M.forEach(i),O=y(u),_&&_.l(u),u.forEach(i),this.h()},h(){U(r.src,m=Y)||c(r,"src",m),c(r,"alt",""),c(r,"class","max-h-10"),c(a,"class","flex h-16 w-full items-center justify-between bg-primary px-10"),c(v,"class","text-8xl font-semibold"),c(v,"data-testid","login-title"),c(E,"class","my-7"),c(E,"data-testid","login-info"),c(w,"class","mx-auto"),c(l,"class","my-[20vh] text-center")},m(t,n){H(e,t,n),P(t,s,n),P(t,a,n),f(a,r),f(a,h),H(d,a,null),P(t,p,n),P(t,l,n),f(l,v),f(v,D),f(l,F),f(l,E),f(E,j),f(l,q),f(l,w),H(g,w,null),f(l,O),_&&_.m(l,null),L=!0},p(t,[n]){const u={};n&1&&(u.url=t[0].url.href),e.$set(u);const S={};n&32&&(S.$$scope={dirty:n,ctx:t}),g.$set(S),t[2]&&_.p(t,n)},i(t){L||(V(e.$$.fragment,t),V(d.$$.fragment,t),V(g.$$.fragment,t),L=!0)},o(t){W(e.$$.fragment,t),W(d.$$.fragment,t),W(g.$$.fragment,t),L=!1},d(t){G(e,t),t&&i(s),t&&i(a),G(d),t&&i(p),t&&i(l),G(g),_&&_.d()}}}function nt(o,e,s){let a;z(o,Q,p=>s(0,a=p));let{data:r}=e,{settings:m}=r;const h=a.url.searchParams.get("error"),d=()=>{window.location.assign(et({settings:m,searchParams:a.url.searchParams,originUrl:a.url.origin}))};return o.$$set=p=>{"data"in p&&s(3,r=p.data)},[a,m,h,r,d]}class mt extends N{constructor(e){super(),R(this,e,nt,rt,T,{data:3})}}export{mt as default}; +import{S as N,b as R,a as T,C as A,c as x,m as $,w as C,D as B,d as y,p as b,q as k,k as i,x as I,a7 as U,u as c,E as H,f as P,L as f,j as V,g as W,F as G,K as z,n as J}from"../chunks/index.efded970.js";import{p as Q}from"../chunks/stores.3002bd93.js";import{F as X,L as Y}from"../chunks/logo.0c03f549.js";import{P as Z}from"../chunks/page-title.a6dec5b5.js";import{B as tt}from"../chunks/button.a4f5a3d4.js";import{s as et}from"../chunks/route-for.8244bd54.js";function at(o){let e;return{c(){e=C("Continue to SSO")},l(s){e=I(s,"Continue to SSO")},m(s,a){P(s,e,a)},d(s){s&&i(e)}}}function st(o){let e,s,a;return{c(){e=$("div"),s=$("p"),a=C(o[2]),this.h()},l(r){e=b(r,"DIV",{class:!0});var m=k(e);s=b(m,"P",{class:!0});var h=k(s);a=I(h,o[2]),h.forEach(i),m.forEach(i),this.h()},h(){c(s,"class","rounded-md border-2 border-orange-500 bg-orange-100 p-5 text-center"),c(e,"class","my-12 flex flex-col items-center justify-start gap-2")},m(r,m){P(r,e,m),f(e,s),f(s,a)},p:J,d(r){r&&i(e)}}}function rt(o){let e,s,a,r,m,h,d,p,l,v,D,F,E,j,q,w,g,O,L;e=new Z({props:{title:"Login",url:o[0].url.href}}),d=new X({}),g=new tt({props:{"data-testid":"login-button",leadingIcon:"lock",$$slots:{default:[at]},$$scope:{ctx:o}}}),g.$on("click",o[4]);let _=o[2]&&st(o);return{c(){A(e.$$.fragment),s=x(),a=$("header"),r=$("img"),h=x(),A(d.$$.fragment),p=x(),l=$("section"),v=$("h1"),D=C("Welcome back."),F=x(),E=$("p"),j=C("Let's get you signed in."),q=x(),w=$("div"),A(g.$$.fragment),O=x(),_&&_.c(),this.h()},l(t){B(e.$$.fragment,t),s=y(t),a=b(t,"HEADER",{class:!0});var n=k(a);r=b(n,"IMG",{src:!0,alt:!0,class:!0}),h=y(n),B(d.$$.fragment,n),n.forEach(i),p=y(t),l=b(t,"SECTION",{class:!0});var u=k(l);v=b(u,"H1",{class:!0,"data-testid":!0});var S=k(v);D=I(S,"Welcome back."),S.forEach(i),F=y(u),E=b(u,"P",{class:!0,"data-testid":!0});var K=k(E);j=I(K,"Let's get you signed in."),K.forEach(i),q=y(u),w=b(u,"DIV",{class:!0});var M=k(w);B(g.$$.fragment,M),M.forEach(i),O=y(u),_&&_.l(u),u.forEach(i),this.h()},h(){U(r.src,m=Y)||c(r,"src",m),c(r,"alt",""),c(r,"class","max-h-10"),c(a,"class","flex h-16 w-full items-center justify-between bg-primary px-10"),c(v,"class","text-8xl font-semibold"),c(v,"data-testid","login-title"),c(E,"class","my-7"),c(E,"data-testid","login-info"),c(w,"class","mx-auto"),c(l,"class","my-[20vh] text-center")},m(t,n){H(e,t,n),P(t,s,n),P(t,a,n),f(a,r),f(a,h),H(d,a,null),P(t,p,n),P(t,l,n),f(l,v),f(v,D),f(l,F),f(l,E),f(E,j),f(l,q),f(l,w),H(g,w,null),f(l,O),_&&_.m(l,null),L=!0},p(t,[n]){const u={};n&1&&(u.url=t[0].url.href),e.$set(u);const S={};n&32&&(S.$$scope={dirty:n,ctx:t}),g.$set(S),t[2]&&_.p(t,n)},i(t){L||(V(e.$$.fragment,t),V(d.$$.fragment,t),V(g.$$.fragment,t),L=!0)},o(t){W(e.$$.fragment,t),W(d.$$.fragment,t),W(g.$$.fragment,t),L=!1},d(t){G(e,t),t&&i(s),t&&i(a),G(d),t&&i(p),t&&i(l),G(g),_&&_.d()}}}function nt(o,e,s){let a;z(o,Q,p=>s(0,a=p));let{data:r}=e,{settings:m}=r;const h=a.url.searchParams.get("error"),d=()=>{window.location.assign(et({settings:m,searchParams:a.url.searchParams,originUrl:a.url.origin}))};return o.$$set=p=>{"data"in p&&s(3,r=p.data)},[a,m,h,r,d]}class mt extends N{constructor(e){super(),R(this,e,nt,rt,T,{data:3})}}export{mt as default}; diff --git a/ui/assets/local/_app/immutable/entry/(login)-signin-page.svelte.ab786e89.js b/ui/assets/local/_app/immutable/entry/(login)-signin-page.svelte.e01a1fa8.js similarity index 93% rename from ui/assets/local/_app/immutable/entry/(login)-signin-page.svelte.ab786e89.js rename to ui/assets/local/_app/immutable/entry/(login)-signin-page.svelte.e01a1fa8.js index be984715ee..51505af04a 100644 --- a/ui/assets/local/_app/immutable/entry/(login)-signin-page.svelte.ab786e89.js +++ b/ui/assets/local/_app/immutable/entry/(login)-signin-page.svelte.e01a1fa8.js @@ -1 +1 @@ -import{S as N,b as R,a as T,C as A,c as x,m as $,w as C,D as B,d as y,p as b,q as k,k as i,x as I,a7 as U,u as c,E as H,f as P,L as f,j as V,g as W,F as G,K as z,n as J}from"../chunks/index.efded970.js";import{p as Q}from"../chunks/stores.83aed68d.js";import{F as X,L as Y}from"../chunks/logo.797112c8.js";import{P as Z}from"../chunks/page-title.a6dec5b5.js";import{B as tt}from"../chunks/button.a4f5a3d4.js";import{s as et}from"../chunks/route-for.f2f7cb1c.js";function at(o){let e;return{c(){e=C("Continue to SSO")},l(s){e=I(s,"Continue to SSO")},m(s,a){P(s,e,a)},d(s){s&&i(e)}}}function st(o){let e,s,a;return{c(){e=$("div"),s=$("p"),a=C(o[2]),this.h()},l(r){e=b(r,"DIV",{class:!0});var m=k(e);s=b(m,"P",{class:!0});var h=k(s);a=I(h,o[2]),h.forEach(i),m.forEach(i),this.h()},h(){c(s,"class","rounded-md border-2 border-orange-500 bg-orange-100 p-5 text-center"),c(e,"class","my-12 flex flex-col items-center justify-start gap-2")},m(r,m){P(r,e,m),f(e,s),f(s,a)},p:J,d(r){r&&i(e)}}}function rt(o){let e,s,a,r,m,h,d,p,l,v,D,F,E,j,q,w,g,O,L;e=new Z({props:{title:"Login",url:o[0].url.href}}),d=new X({}),g=new tt({props:{"data-testid":"login-button",leadingIcon:"lock",$$slots:{default:[at]},$$scope:{ctx:o}}}),g.$on("click",o[4]);let _=o[2]&&st(o);return{c(){A(e.$$.fragment),s=x(),a=$("header"),r=$("img"),h=x(),A(d.$$.fragment),p=x(),l=$("section"),v=$("h1"),D=C("Welcome back."),F=x(),E=$("p"),j=C("Let's get you signed in."),q=x(),w=$("div"),A(g.$$.fragment),O=x(),_&&_.c(),this.h()},l(t){B(e.$$.fragment,t),s=y(t),a=b(t,"HEADER",{class:!0});var n=k(a);r=b(n,"IMG",{src:!0,alt:!0,class:!0}),h=y(n),B(d.$$.fragment,n),n.forEach(i),p=y(t),l=b(t,"SECTION",{class:!0});var u=k(l);v=b(u,"H1",{class:!0,"data-testid":!0});var S=k(v);D=I(S,"Welcome back."),S.forEach(i),F=y(u),E=b(u,"P",{class:!0,"data-testid":!0});var K=k(E);j=I(K,"Let's get you signed in."),K.forEach(i),q=y(u),w=b(u,"DIV",{class:!0});var M=k(w);B(g.$$.fragment,M),M.forEach(i),O=y(u),_&&_.l(u),u.forEach(i),this.h()},h(){U(r.src,m=Y)||c(r,"src",m),c(r,"alt",""),c(r,"class","max-h-10"),c(a,"class","flex h-16 w-full items-center justify-between bg-primary px-10"),c(v,"class","text-8xl font-semibold"),c(v,"data-testid","login-title"),c(E,"class","my-7"),c(E,"data-testid","login-info"),c(w,"class","mx-auto"),c(l,"class","my-[20vh] text-center")},m(t,n){H(e,t,n),P(t,s,n),P(t,a,n),f(a,r),f(a,h),H(d,a,null),P(t,p,n),P(t,l,n),f(l,v),f(v,D),f(l,F),f(l,E),f(E,j),f(l,q),f(l,w),H(g,w,null),f(l,O),_&&_.m(l,null),L=!0},p(t,[n]){const u={};n&1&&(u.url=t[0].url.href),e.$set(u);const S={};n&32&&(S.$$scope={dirty:n,ctx:t}),g.$set(S),t[2]&&_.p(t,n)},i(t){L||(V(e.$$.fragment,t),V(d.$$.fragment,t),V(g.$$.fragment,t),L=!0)},o(t){W(e.$$.fragment,t),W(d.$$.fragment,t),W(g.$$.fragment,t),L=!1},d(t){G(e,t),t&&i(s),t&&i(a),G(d),t&&i(p),t&&i(l),G(g),_&&_.d()}}}function nt(o,e,s){let a;z(o,Q,p=>s(0,a=p));let{data:r}=e,{settings:m}=r;const h=a.url.searchParams.get("error"),d=()=>{window.location.assign(et({settings:m,searchParams:a.url.searchParams,originUrl:a.url.origin}))};return o.$$set=p=>{"data"in p&&s(3,r=p.data)},[a,m,h,r,d]}class mt extends N{constructor(e){super(),R(this,e,nt,rt,T,{data:3})}}export{mt as default}; +import{S as N,b as R,a as T,C as A,c as x,m as $,w as C,D as B,d as y,p as b,q as k,k as i,x as I,a7 as U,u as c,E as H,f as P,L as f,j as V,g as W,F as G,K as z,n as J}from"../chunks/index.efded970.js";import{p as Q}from"../chunks/stores.3002bd93.js";import{F as X,L as Y}from"../chunks/logo.0c03f549.js";import{P as Z}from"../chunks/page-title.a6dec5b5.js";import{B as tt}from"../chunks/button.a4f5a3d4.js";import{s as et}from"../chunks/route-for.8244bd54.js";function at(o){let e;return{c(){e=C("Continue to SSO")},l(s){e=I(s,"Continue to SSO")},m(s,a){P(s,e,a)},d(s){s&&i(e)}}}function st(o){let e,s,a;return{c(){e=$("div"),s=$("p"),a=C(o[2]),this.h()},l(r){e=b(r,"DIV",{class:!0});var m=k(e);s=b(m,"P",{class:!0});var h=k(s);a=I(h,o[2]),h.forEach(i),m.forEach(i),this.h()},h(){c(s,"class","rounded-md border-2 border-orange-500 bg-orange-100 p-5 text-center"),c(e,"class","my-12 flex flex-col items-center justify-start gap-2")},m(r,m){P(r,e,m),f(e,s),f(s,a)},p:J,d(r){r&&i(e)}}}function rt(o){let e,s,a,r,m,h,d,p,l,v,D,F,E,j,q,w,g,O,L;e=new Z({props:{title:"Login",url:o[0].url.href}}),d=new X({}),g=new tt({props:{"data-testid":"login-button",leadingIcon:"lock",$$slots:{default:[at]},$$scope:{ctx:o}}}),g.$on("click",o[4]);let _=o[2]&&st(o);return{c(){A(e.$$.fragment),s=x(),a=$("header"),r=$("img"),h=x(),A(d.$$.fragment),p=x(),l=$("section"),v=$("h1"),D=C("Welcome back."),F=x(),E=$("p"),j=C("Let's get you signed in."),q=x(),w=$("div"),A(g.$$.fragment),O=x(),_&&_.c(),this.h()},l(t){B(e.$$.fragment,t),s=y(t),a=b(t,"HEADER",{class:!0});var n=k(a);r=b(n,"IMG",{src:!0,alt:!0,class:!0}),h=y(n),B(d.$$.fragment,n),n.forEach(i),p=y(t),l=b(t,"SECTION",{class:!0});var u=k(l);v=b(u,"H1",{class:!0,"data-testid":!0});var S=k(v);D=I(S,"Welcome back."),S.forEach(i),F=y(u),E=b(u,"P",{class:!0,"data-testid":!0});var K=k(E);j=I(K,"Let's get you signed in."),K.forEach(i),q=y(u),w=b(u,"DIV",{class:!0});var M=k(w);B(g.$$.fragment,M),M.forEach(i),O=y(u),_&&_.l(u),u.forEach(i),this.h()},h(){U(r.src,m=Y)||c(r,"src",m),c(r,"alt",""),c(r,"class","max-h-10"),c(a,"class","flex h-16 w-full items-center justify-between bg-primary px-10"),c(v,"class","text-8xl font-semibold"),c(v,"data-testid","login-title"),c(E,"class","my-7"),c(E,"data-testid","login-info"),c(w,"class","mx-auto"),c(l,"class","my-[20vh] text-center")},m(t,n){H(e,t,n),P(t,s,n),P(t,a,n),f(a,r),f(a,h),H(d,a,null),P(t,p,n),P(t,l,n),f(l,v),f(v,D),f(l,F),f(l,E),f(E,j),f(l,q),f(l,w),H(g,w,null),f(l,O),_&&_.m(l,null),L=!0},p(t,[n]){const u={};n&1&&(u.url=t[0].url.href),e.$set(u);const S={};n&32&&(S.$$scope={dirty:n,ctx:t}),g.$set(S),t[2]&&_.p(t,n)},i(t){L||(V(e.$$.fragment,t),V(d.$$.fragment,t),V(g.$$.fragment,t),L=!0)},o(t){W(e.$$.fragment,t),W(d.$$.fragment,t),W(g.$$.fragment,t),L=!1},d(t){G(e,t),t&&i(s),t&&i(a),G(d),t&&i(p),t&&i(l),G(g),_&&_.d()}}}function nt(o,e,s){let a;z(o,Q,p=>s(0,a=p));let{data:r}=e,{settings:m}=r;const h=a.url.searchParams.get("error"),d=()=>{window.location.assign(et({settings:m,searchParams:a.url.searchParams,originUrl:a.url.origin}))};return o.$$set=p=>{"data"in p&&s(3,r=p.data)},[a,m,h,r,d]}class mt extends N{constructor(e){super(),R(this,e,nt,rt,T,{data:3})}}export{mt as default}; diff --git a/ui/assets/local/_app/immutable/entry/_error.svelte.99e0dff7.js b/ui/assets/local/_app/immutable/entry/_error.svelte.ce9961d0.js similarity index 86% rename from ui/assets/local/_app/immutable/entry/_error.svelte.99e0dff7.js rename to ui/assets/local/_app/immutable/entry/_error.svelte.ce9961d0.js index 6bf8f81a7e..45df5f593c 100644 --- a/ui/assets/local/_app/immutable/entry/_error.svelte.99e0dff7.js +++ b/ui/assets/local/_app/immutable/entry/_error.svelte.ce9961d0.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 $,K as E}from"../chunks/index.efded970.js";/* empty css */import{p as d}from"../chunks/stores.83aed68d.js";import{E as h}from"../chunks/error.ea999a59.js";import{i as b}from"../chunks/is-network-error.900fb374.js";import{p as y}from"../chunks/parse-with-big-int.bccd89af.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(i){console.error(i)}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 $,K as E}from"../chunks/index.efded970.js";/* empty css */import{p as d}from"../chunks/stores.3002bd93.js";import{E as h}from"../chunks/error.422bc1be.js";import{i as b}from"../chunks/is-network-error.900fb374.js";import{p as y}from"../chunks/parse-with-big-int.bccd89af.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(i){console.error(i)}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/app.061f4024.js b/ui/assets/local/_app/immutable/entry/app.621050e3.js similarity index 66% rename from ui/assets/local/_app/immutable/entry/app.061f4024.js rename to ui/assets/local/_app/immutable/entry/app.621050e3.js index b4dedcda5d..969b2471da 100644 --- a/ui/assets/local/_app/immutable/entry/app.061f4024.js +++ b/ui/assets/local/_app/immutable/entry/app.621050e3.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.efded970.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.655f7ef1.js"),["../chunks/0.655f7ef1.js","../chunks/_layout.0e81655c.js","../chunks/index.94de4f62.js","./layout.svelte.1ecafece.js","../chunks/index.efded970.js"],import.meta.url),()=>u(()=>import("../chunks/1.7b6bbc93.js"),["../chunks/1.7b6bbc93.js","./_error.svelte.99e0dff7.js","../chunks/index.efded970.js","../chunks/stores.83aed68d.js","../chunks/singletons.96ee7baa.js","../chunks/index.c0615b9d.js","../chunks/paths.988b483c.js","../chunks/error.ea999a59.js","../chunks/navigation.6d455e31.js","../chunks/link.cac19769.js","../chunks/icon.91a9bf44.js","../assets/link.2791f859.css","../chunks/has.f5323580.js","../chunks/is.ba28a1ea.js","../chunks/is-network-error.900fb374.js","../chunks/parse-with-big-int.bccd89af.js","../assets/app.67581fc5.css"],import.meta.url),()=>u(()=>import("../chunks/2.67377176.js"),["../chunks/2.67377176.js","../chunks/_layout.9cee44af.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/cluster.728f7d8f.js","../chunks/index.c0615b9d.js","../chunks/index.efded970.js","../chunks/route-for-api.1959b395.js","../chunks/route-for.f2f7cb1c.js","../chunks/paths.988b483c.js","../chunks/auth-user.2a42bf1d.js","../chunks/persist-store.c0203efc.js","../chunks/parse-with-big-int.bccd89af.js","../chunks/toaster.fd2b66a2.js","../chunks/has.f5323580.js","../chunks/is.ba28a1ea.js","../chunks/is-network-error.900fb374.js","../chunks/stores.83aed68d.js","../chunks/singletons.96ee7baa.js","../chunks/namespaces-service.6d9595ed.js","../chunks/namespaces.08ac61f9.js","../chunks/paginated.2b7c667d.js","../chunks/settings-service.61c40f69.js","../chunks/settings.f4bcc2b2.js","../chunks/atob.52e78f85.js","../assets/_layout.845f7340.css","../assets/app.67581fc5.css","./(app)-layout.svelte.affec26f.js","../chunks/navigation.6d455e31.js","../chunks/input.f4d0de9f.js","../chunks/icon.91a9bf44.js","../chunks/copy-to-clipboard.d2168786.js","../chunks/icon-button.091b93c1.js","../assets/icon-button.16bef21d.css","../assets/input.19df62ce.css","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/toggle-switch.f8f2487a.js","../assets/toggle-switch.ff91b31f.css","../chunks/data-encoder-config.ddfdfd14.js","../chunks/workflow-run.3d1553b6.js","../chunks/data-converter-config.936a36a2.js","../chunks/menu.9d531fff.js","../chunks/badge.72fa1965.js","../assets/badge.bfa9122b.css","../assets/menu.6266803e.css","../chunks/link.cac19769.js","../assets/link.2791f859.css","../chunks/button.a4f5a3d4.js","../assets/button.386e08e4.css","../chunks/accordion.0b47b9b3.js","../chunks/tooltip.407e84a1.js","../chunks/copyable.6f6014ce.js","../assets/tooltip.78399487.css","../chunks/labs-mode.38f06555.js","../chunks/menu-divider.99a2857a.js","../chunks/format-date.be4b741e.js","../chunks/format-time.8258873a.js","../chunks/format-camel-case.887ffc78.js","../chunks/error.ea999a59.js","../assets/_layout.3841e971.css"],import.meta.url),()=>u(()=>import("../chunks/3.5b1932ee.js"),["../chunks/3.5b1932ee.js","./(app)-import-layout.svelte.c1d79c78.js","../chunks/index.efded970.js","../chunks/stores.83aed68d.js","../chunks/singletons.96ee7baa.js","../chunks/index.c0615b9d.js","../chunks/paths.988b483c.js","../chunks/page-title.a6dec5b5.js"],import.meta.url),()=>u(()=>import("../chunks/4.0e1c927e.js"),["../chunks/4.0e1c927e.js","./(app)-import-events-_namespace_-_workflow_-_run_-history-layout.svelte.72af70d0.js","../chunks/index.efded970.js","../chunks/event-history-file-import.a363e2a4.js","../chunks/navigation.6d455e31.js","../chunks/singletons.96ee7baa.js","../chunks/index.c0615b9d.js","../chunks/paths.988b483c.js","../chunks/stores.83aed68d.js","../chunks/button.a4f5a3d4.js","../chunks/badge.72fa1965.js","../assets/badge.bfa9122b.css","../chunks/icon.91a9bf44.js","../assets/button.386e08e4.css","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/is.ba28a1ea.js","../chunks/index.aabaaaa7.js","../chunks/has.f5323580.js","../chunks/is-event-type.4dbe973b.js","../chunks/format-time.8258873a.js","../chunks/index.7c53442e.js","../chunks/data-encoder-config.ddfdfd14.js","../chunks/persist-store.c0203efc.js","../chunks/parse-with-big-int.bccd89af.js","../chunks/decode-payload.97e177eb.js","../chunks/data-converter-config.936a36a2.js","../chunks/atob.52e78f85.js","../chunks/route-for.f2f7cb1c.js","../chunks/format-date.be4b741e.js","../chunks/get-codec.19c43d34.js","../chunks/get-event-categorization.35f43125.js","../chunks/simplify-attributes.d3ff8bf3.js","../chunks/auth-user.2a42bf1d.js","../chunks/import-events.80234efc.js","../chunks/namespaces.08ac61f9.js","../chunks/toaster.fd2b66a2.js","../chunks/toggle-buttons.9fe9f320.js","../assets/toggle-buttons.1415ce75.css"],import.meta.url),()=>u(()=>import("../chunks/5.44c8c169.js"),["../chunks/5.44c8c169.js","../chunks/_layout.d45f959f.js","../chunks/route-for-api.1959b395.js","../chunks/route-for.f2f7cb1c.js","../chunks/paths.988b483c.js","../chunks/auth-user.2a42bf1d.js","../chunks/index.efded970.js","../chunks/persist-store.c0203efc.js","../chunks/index.c0615b9d.js","../chunks/parse-with-big-int.bccd89af.js","../chunks/toaster.fd2b66a2.js","../chunks/has.f5323580.js","../chunks/is.ba28a1ea.js","../chunks/is-network-error.900fb374.js","../chunks/stores.83aed68d.js","../chunks/singletons.96ee7baa.js","../chunks/search-attributes.9143d253.js","./layout.svelte.1ecafece.js"],import.meta.url),()=>u(()=>import("../chunks/6.3caa12d9.js"),["../chunks/6.3caa12d9.js","./(app)-namespaces-_namespace_-schedules-layout.svelte.1ecafece.js","../chunks/index.efded970.js"],import.meta.url),()=>u(()=>import("../chunks/7.fb333c4d.js"),["../chunks/7.fb333c4d.js","./(app)-namespaces-_namespace_-task-queues-layout.svelte.a74d1e53.js","../chunks/index.efded970.js"],import.meta.url),()=>u(()=>import("../chunks/8.f3fc7b51.js"),["../chunks/8.f3fc7b51.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-layout.svelte.ccb757a4.js","../chunks/index.efded970.js","../chunks/stores.83aed68d.js","../chunks/singletons.96ee7baa.js","../chunks/index.c0615b9d.js","../chunks/paths.988b483c.js","../chunks/loading.32266c92.js","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/is.ba28a1ea.js","../chunks/menu.9d531fff.js","../chunks/badge.72fa1965.js","../assets/badge.bfa9122b.css","../chunks/icon.91a9bf44.js","../assets/menu.6266803e.css","../chunks/toggle-switch.f8f2487a.js","../assets/toggle-switch.ff91b31f.css","../chunks/tooltip.407e84a1.js","../chunks/copyable.6f6014ce.js","../chunks/icon-button.091b93c1.js","../assets/icon-button.16bef21d.css","../chunks/copy-to-clipboard.d2168786.js","../assets/tooltip.78399487.css","../chunks/event-view.de9a16d6.js","../chunks/persist-store.c0203efc.js","../chunks/parse-with-big-int.bccd89af.js","../chunks/input.f4d0de9f.js","../assets/input.19df62ce.css","../chunks/option.ccff5056.js","../assets/option.20882847.css","../chunks/workflow-terminate-enabled.d56fddc4.js","../chunks/events-service.1baddf3f.js","../chunks/auth-user.2a42bf1d.js","../chunks/workflow-run.3d1553b6.js","../chunks/route-for.f2f7cb1c.js","../chunks/is-event-type.4dbe973b.js","../chunks/index.7c53442e.js","../chunks/data-encoder-config.ddfdfd14.js","../chunks/decode-payload.97e177eb.js","../chunks/data-converter-config.936a36a2.js","../chunks/atob.52e78f85.js","../chunks/has.f5323580.js","../chunks/format-date.be4b741e.js","../chunks/format-time.8258873a.js","../chunks/get-codec.19c43d34.js","../chunks/get-event-categorization.35f43125.js","../chunks/simplify-attributes.d3ff8bf3.js","../chunks/paginated.2b7c667d.js","../chunks/route-for-api.1959b395.js","../chunks/toaster.fd2b66a2.js","../chunks/is-network-error.900fb374.js","../chunks/button.a4f5a3d4.js","../assets/button.386e08e4.css","../chunks/menu-divider.99a2857a.js","../chunks/modal.e8d88b85.js","../assets/modal.a1162225.css","../chunks/split-button.c1a13603.js","../assets/split-button.8566e410.css","../chunks/workflow-service.6fa8d283.js","../chunks/settings.f4bcc2b2.js","../chunks/version-check.d006b302.js","../chunks/cluster.728f7d8f.js","../chunks/versions.44d896b4.js","../chunks/core-user.c3fa437a.js","../chunks/workflow-status.792f3956.js","../assets/workflow-status.80899fb7.css","../chunks/alert.0a6aa272.js","../assets/alert.303275c8.css","../chunks/pollers-service.956dcc71.js","../assets/pollers-service.3f93e67d.css","../chunks/link.cac19769.js","../assets/link.2791f859.css","../chunks/tab.492ff65b.js","../assets/tab.8436f1bf.css","../chunks/workflows.f9987742.js","../chunks/task-queue-compatibility.cf5696f8.js"],import.meta.url),()=>u(()=>import("../chunks/9.92155705.js"),["../chunks/9.92155705.js","../chunks/_layout.d29348a6.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/settings-service.61c40f69.js","../chunks/settings.f4bcc2b2.js","../chunks/index.c0615b9d.js","../chunks/index.efded970.js","../chunks/route-for-api.1959b395.js","../chunks/route-for.f2f7cb1c.js","../chunks/paths.988b483c.js","../chunks/auth-user.2a42bf1d.js","../chunks/persist-store.c0203efc.js","../chunks/parse-with-big-int.bccd89af.js","../chunks/toaster.fd2b66a2.js","../chunks/has.f5323580.js","../chunks/is.ba28a1ea.js","../chunks/is-network-error.900fb374.js","../chunks/stores.83aed68d.js","../chunks/singletons.96ee7baa.js","../assets/app.67581fc5.css","./(login)-layout.svelte.1ecafece.js"],import.meta.url),()=>u(()=>import("../chunks/10.f3f5ea42.js"),["../chunks/10.f3f5ea42.js","../chunks/_page.c0269608.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for.f2f7cb1c.js","../chunks/paths.988b483c.js","./(app)-page.svelte.52a48951.js","../chunks/index.efded970.js","../chunks/navigation.6d455e31.js","../chunks/singletons.96ee7baa.js","../chunks/index.c0615b9d.js","../chunks/loading.32266c92.js","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/is.ba28a1ea.js","../chunks/workflow-service.6fa8d283.js","../chunks/decode-payload.97e177eb.js","../chunks/data-converter-config.936a36a2.js","../chunks/persist-store.c0203efc.js","../chunks/parse-with-big-int.bccd89af.js","../chunks/data-encoder-config.ddfdfd14.js","../chunks/atob.52e78f85.js","../chunks/has.f5323580.js","../chunks/settings.f4bcc2b2.js","../chunks/simplify-attributes.d3ff8bf3.js","../chunks/format-date.be4b741e.js","../chunks/format-time.8258873a.js","../chunks/route-for-api.1959b395.js","../chunks/auth-user.2a42bf1d.js","../chunks/toaster.fd2b66a2.js","../chunks/is-network-error.900fb374.js","../chunks/stores.83aed68d.js","../chunks/version-check.d006b302.js","../chunks/cluster.728f7d8f.js","../chunks/versions.44d896b4.js","../chunks/namespaces.08ac61f9.js"],import.meta.url),()=>u(()=>import("../chunks/11.f66d39fe.js"),["../chunks/11.f66d39fe.js","./(app)-data-converter-_port_-page.svelte.4b13d87f.js","../chunks/index.efded970.js","../chunks/navigation.6d455e31.js","../chunks/singletons.96ee7baa.js","../chunks/index.c0615b9d.js","../chunks/paths.988b483c.js","../chunks/stores.83aed68d.js","../chunks/data-converter-config.936a36a2.js","../chunks/persist-store.c0203efc.js","../chunks/parse-with-big-int.bccd89af.js","../chunks/toaster.fd2b66a2.js"],import.meta.url),()=>u(()=>import("../chunks/12.546d0d04.js"),["../chunks/12.546d0d04.js","../chunks/_page.efe49b17.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for.f2f7cb1c.js","../chunks/paths.988b483c.js"],import.meta.url),()=>u(()=>import("../chunks/13.1afbdecb.js"),["../chunks/13.1afbdecb.js","./(app)-import-events-page.svelte.7be8fc4f.js","../chunks/index.efded970.js","../chunks/event-history-file-import.a363e2a4.js","../chunks/navigation.6d455e31.js","../chunks/singletons.96ee7baa.js","../chunks/index.c0615b9d.js","../chunks/paths.988b483c.js","../chunks/stores.83aed68d.js","../chunks/button.a4f5a3d4.js","../chunks/badge.72fa1965.js","../assets/badge.bfa9122b.css","../chunks/icon.91a9bf44.js","../assets/button.386e08e4.css","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/is.ba28a1ea.js","../chunks/index.aabaaaa7.js","../chunks/has.f5323580.js","../chunks/is-event-type.4dbe973b.js","../chunks/format-time.8258873a.js","../chunks/index.7c53442e.js","../chunks/data-encoder-config.ddfdfd14.js","../chunks/persist-store.c0203efc.js","../chunks/parse-with-big-int.bccd89af.js","../chunks/decode-payload.97e177eb.js","../chunks/data-converter-config.936a36a2.js","../chunks/atob.52e78f85.js","../chunks/route-for.f2f7cb1c.js","../chunks/format-date.be4b741e.js","../chunks/get-codec.19c43d34.js","../chunks/get-event-categorization.35f43125.js","../chunks/simplify-attributes.d3ff8bf3.js","../chunks/auth-user.2a42bf1d.js","../chunks/import-events.80234efc.js","../chunks/namespaces.08ac61f9.js","../chunks/toaster.fd2b66a2.js","../chunks/code-block.cc2ffee9.js","../chunks/copy-to-clipboard.d2168786.js","../assets/code-block.86c182bf.css","../chunks/link.cac19769.js","../assets/link.2791f859.css"],import.meta.url),()=>u(()=>import("../chunks/14.a09078fd.js"),["../chunks/14.a09078fd.js","../chunks/_page.31d41fe4.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for.f2f7cb1c.js","../chunks/paths.988b483c.js"],import.meta.url),()=>u(()=>import("../chunks/15.1c1b9bde.js"),["../chunks/15.1c1b9bde.js","./(app)-import-events-_namespace_-_workflow_-_run_-history-compact-page.svelte.ea89728c.js","../chunks/index.efded970.js","../chunks/event-summary-table.e529cb88.js","../chunks/empty-state.22810bcf.js","../chunks/icon.91a9bf44.js","../chunks/loading.32266c92.js","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/is.ba28a1ea.js","../chunks/menu.9d531fff.js","../chunks/badge.72fa1965.js","../assets/badge.bfa9122b.css","../chunks/index.c0615b9d.js","../assets/menu.6266803e.css","../chunks/link.cac19769.js","../assets/link.2791f859.css","../chunks/index.aabaaaa7.js","../chunks/has.f5323580.js","../chunks/is-event-type.4dbe973b.js","../chunks/format-time.8258873a.js","../chunks/event-view.de9a16d6.js","../chunks/persist-store.c0203efc.js","../chunks/parse-with-big-int.bccd89af.js","../chunks/format-date.be4b741e.js","../chunks/format-event-attributes.1d147cb1.js","../chunks/format-camel-case.887ffc78.js","../chunks/stores.83aed68d.js","../chunks/singletons.96ee7baa.js","../chunks/paths.988b483c.js","../chunks/code-block.cc2ffee9.js","../chunks/copy-to-clipboard.d2168786.js","../assets/code-block.86c182bf.css","../chunks/copyable.6f6014ce.js","../chunks/icon-button.091b93c1.js","../assets/icon-button.16bef21d.css","../chunks/route-for.f2f7cb1c.js","../chunks/table-header-row.b413d43a.js","../assets/table-header-row.6ba6477c.css","../chunks/get-event-categorization.35f43125.js","../chunks/filters.bd92de72.js","../chunks/versions.44d896b4.js","../chunks/cluster.728f7d8f.js","../chunks/settings.f4bcc2b2.js","../chunks/pagination.5253b8b7.js","../chunks/navigation.6d455e31.js","../chunks/simple-select.35d563b9.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/version-check.d006b302.js","../chunks/menu-divider.99a2857a.js","../chunks/button.a4f5a3d4.js","../assets/button.386e08e4.css","../assets/event-summary-table.4456dbde.css","../chunks/import-events.80234efc.js"],import.meta.url),()=>u(()=>import("../chunks/16.988ec87d.js"),["../chunks/16.988ec87d.js","./(app)-import-events-_namespace_-_workflow_-_run_-history-feed-page.svelte.b850cc53.js","../chunks/index.efded970.js","../chunks/event-summary-table.e529cb88.js","../chunks/empty-state.22810bcf.js","../chunks/icon.91a9bf44.js","../chunks/loading.32266c92.js","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/is.ba28a1ea.js","../chunks/menu.9d531fff.js","../chunks/badge.72fa1965.js","../assets/badge.bfa9122b.css","../chunks/index.c0615b9d.js","../assets/menu.6266803e.css","../chunks/link.cac19769.js","../assets/link.2791f859.css","../chunks/index.aabaaaa7.js","../chunks/has.f5323580.js","../chunks/is-event-type.4dbe973b.js","../chunks/format-time.8258873a.js","../chunks/event-view.de9a16d6.js","../chunks/persist-store.c0203efc.js","../chunks/parse-with-big-int.bccd89af.js","../chunks/format-date.be4b741e.js","../chunks/format-event-attributes.1d147cb1.js","../chunks/format-camel-case.887ffc78.js","../chunks/stores.83aed68d.js","../chunks/singletons.96ee7baa.js","../chunks/paths.988b483c.js","../chunks/code-block.cc2ffee9.js","../chunks/copy-to-clipboard.d2168786.js","../assets/code-block.86c182bf.css","../chunks/copyable.6f6014ce.js","../chunks/icon-button.091b93c1.js","../assets/icon-button.16bef21d.css","../chunks/route-for.f2f7cb1c.js","../chunks/table-header-row.b413d43a.js","../assets/table-header-row.6ba6477c.css","../chunks/get-event-categorization.35f43125.js","../chunks/filters.bd92de72.js","../chunks/versions.44d896b4.js","../chunks/cluster.728f7d8f.js","../chunks/settings.f4bcc2b2.js","../chunks/pagination.5253b8b7.js","../chunks/navigation.6d455e31.js","../chunks/simple-select.35d563b9.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/version-check.d006b302.js","../chunks/menu-divider.99a2857a.js","../chunks/button.a4f5a3d4.js","../assets/button.386e08e4.css","../assets/event-summary-table.4456dbde.css","../chunks/import-events.80234efc.js"],import.meta.url),()=>u(()=>import("../chunks/17.254e728f.js"),["../chunks/17.254e728f.js","./(app)-import-events-_namespace_-_workflow_-_run_-history-json-page.svelte.26206d02.js","../chunks/index.efded970.js","../chunks/workflow-json-navigator.2b49c9a5.js","../chunks/code-block.cc2ffee9.js","../chunks/icon.91a9bf44.js","../chunks/copy-to-clipboard.d2168786.js","../chunks/index.c0615b9d.js","../chunks/parse-with-big-int.bccd89af.js","../assets/code-block.86c182bf.css","../chunks/omit.6cf41932.js","../chunks/loading.32266c92.js","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/is.ba28a1ea.js","../assets/workflow-json-navigator.a85b4b27.css","../chunks/import-events.80234efc.js"],import.meta.url),()=>u(()=>import("../chunks/18.a73b929a.js"),["../chunks/18.a73b929a.js","./(app)-namespaces-page.svelte.3460eb81.js","../chunks/index.efded970.js","../chunks/stores.83aed68d.js","../chunks/singletons.96ee7baa.js","../chunks/index.c0615b9d.js","../chunks/paths.988b483c.js","../chunks/page-title.a6dec5b5.js","../chunks/empty-state.22810bcf.js","../chunks/icon.91a9bf44.js","../chunks/link.cac19769.js","../assets/link.2791f859.css","../chunks/pagination.5253b8b7.js","../chunks/navigation.6d455e31.js","../chunks/simple-select.35d563b9.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/table-header-row.b413d43a.js","../assets/table-header-row.6ba6477c.css","../chunks/table-row.6be25099.js","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/is.ba28a1ea.js","../chunks/namespaces.08ac61f9.js","../chunks/persist-store.c0203efc.js","../chunks/parse-with-big-int.bccd89af.js","../chunks/route-for.f2f7cb1c.js"],import.meta.url),()=>u(()=>import("../chunks/19.ef4ef0dc.js"),["../chunks/19.ef4ef0dc.js","../chunks/_page.fb482c75.js","../chunks/namespaces-service.6d9595ed.js","../chunks/namespaces.08ac61f9.js","../chunks/index.c0615b9d.js","../chunks/index.efded970.js","../chunks/persist-store.c0203efc.js","../chunks/parse-with-big-int.bccd89af.js","../chunks/toaster.fd2b66a2.js","../chunks/paginated.2b7c667d.js","../chunks/route-for-api.1959b395.js","../chunks/route-for.f2f7cb1c.js","../chunks/paths.988b483c.js","../chunks/auth-user.2a42bf1d.js","../chunks/has.f5323580.js","../chunks/is.ba28a1ea.js","../chunks/is-network-error.900fb374.js","../chunks/stores.83aed68d.js","../chunks/singletons.96ee7baa.js","./(app)-namespaces-_namespace_-page.svelte.2b492839.js","../chunks/page-title.a6dec5b5.js","../chunks/badge.72fa1965.js","../assets/badge.bfa9122b.css","../chunks/table-header-row.b413d43a.js","../assets/table-header-row.6ba6477c.css","../chunks/table-row.6be25099.js","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/search-attributes.9143d253.js","../chunks/settings.f4bcc2b2.js","../chunks/versions.44d896b4.js","../chunks/cluster.728f7d8f.js","../chunks/format-time.8258873a.js","../assets/_page.c4e4432a.css"],import.meta.url),()=>u(()=>import("../chunks/20.e8db063c.js"),["../chunks/20.e8db063c.js","../chunks/_page.877deec2.js","../chunks/namespaces-service.6d9595ed.js","../chunks/namespaces.08ac61f9.js","../chunks/index.c0615b9d.js","../chunks/index.efded970.js","../chunks/persist-store.c0203efc.js","../chunks/parse-with-big-int.bccd89af.js","../chunks/toaster.fd2b66a2.js","../chunks/paginated.2b7c667d.js","../chunks/route-for-api.1959b395.js","../chunks/route-for.f2f7cb1c.js","../chunks/paths.988b483c.js","../chunks/auth-user.2a42bf1d.js","../chunks/has.f5323580.js","../chunks/is.ba28a1ea.js","../chunks/is-network-error.900fb374.js","../chunks/stores.83aed68d.js","../chunks/singletons.96ee7baa.js","../chunks/workflow-service.6fa8d283.js","../chunks/decode-payload.97e177eb.js","../chunks/data-converter-config.936a36a2.js","../chunks/data-encoder-config.ddfdfd14.js","../chunks/atob.52e78f85.js","../chunks/settings.f4bcc2b2.js","../chunks/simplify-attributes.d3ff8bf3.js","../chunks/format-date.be4b741e.js","../chunks/format-time.8258873a.js","../chunks/version-check.d006b302.js","../chunks/cluster.728f7d8f.js","../chunks/versions.44d896b4.js","./(app)-namespaces-_namespace_-archival-page.svelte.ad084264.js","../chunks/page-title.a6dec5b5.js","../chunks/index.5b739b8a.js","../chunks/navigation.6d455e31.js","../chunks/workflow-status.792f3956.js","../chunks/button.a4f5a3d4.js","../chunks/badge.72fa1965.js","../assets/badge.bfa9122b.css","../chunks/icon.91a9bf44.js","../assets/button.386e08e4.css","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../assets/workflow-status.80899fb7.css","../chunks/copy-to-clipboard.d2168786.js","../chunks/link.cac19769.js","../assets/link.2791f859.css","../chunks/table-row.6be25099.js","../chunks/workflows.f9987742.js","../chunks/pagination.5253b8b7.js","../chunks/simple-select.35d563b9.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/table-header-row.b413d43a.js","../assets/table-header-row.6ba6477c.css","../chunks/input.f4d0de9f.js","../chunks/icon-button.091b93c1.js","../assets/icon-button.16bef21d.css","../assets/input.19df62ce.css","../assets/index.d6094a94.css","../chunks/code-block.cc2ffee9.js","../assets/code-block.86c182bf.css","../chunks/empty-state.22810bcf.js","../assets/_page.c5268cbc.css"],import.meta.url),()=>u(()=>import("../chunks/21.3ccf411a.js"),["../chunks/21.3ccf411a.js","./(app)-namespaces-_namespace_-schedules-page.svelte.72c41b67.js","../chunks/index.efded970.js","../chunks/stores.83aed68d.js","../chunks/singletons.96ee7baa.js","../chunks/index.c0615b9d.js","../chunks/paths.988b483c.js","../chunks/page-title.a6dec5b5.js","../chunks/navigation.6d455e31.js","../chunks/workflow-status.792f3956.js","../chunks/button.a4f5a3d4.js","../chunks/badge.72fa1965.js","../assets/badge.bfa9122b.css","../chunks/icon.91a9bf44.js","../assets/button.386e08e4.css","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/is.ba28a1ea.js","../assets/workflow-status.80899fb7.css","../chunks/link.cac19769.js","../assets/link.2791f859.css","../chunks/table-row.6be25099.js","../chunks/format-date.be4b741e.js","../chunks/persist-store.c0203efc.js","../chunks/parse-with-big-int.bccd89af.js","../chunks/format-time.8258873a.js","../chunks/has.f5323580.js","../chunks/route-for.f2f7cb1c.js","../chunks/schedule-service.d49fba12.js","../chunks/code-block.cc2ffee9.js","../chunks/copy-to-clipboard.d2168786.js","../assets/code-block.86c182bf.css","../chunks/route-for-api.1959b395.js","../chunks/auth-user.2a42bf1d.js","../chunks/toaster.fd2b66a2.js","../chunks/is-network-error.900fb374.js","../chunks/table-header-row.b413d43a.js","../assets/table-header-row.6ba6477c.css","../chunks/empty-state.22810bcf.js","../chunks/input.f4d0de9f.js","../chunks/icon-button.091b93c1.js","../assets/icon-button.16bef21d.css","../assets/input.19df62ce.css","../chunks/loading.32266c92.js","../chunks/pagination.5253b8b7.js","../chunks/simple-select.35d563b9.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/core-user.c3fa437a.js","../assets/_page.af190463.css"],import.meta.url),()=>u(()=>import("../chunks/22.e40796a3.js"),["../chunks/22.e40796a3.js","./(app)-namespaces-_namespace_-schedules-_schedule_-page.svelte.05f7775e.js","../chunks/index.efded970.js","../chunks/stores.83aed68d.js","../chunks/singletons.96ee7baa.js","../chunks/index.c0615b9d.js","../chunks/paths.988b483c.js","../chunks/page-title.a6dec5b5.js","../chunks/navigation.6d455e31.js","../chunks/accordion.0b47b9b3.js","../chunks/badge.72fa1965.js","../assets/badge.bfa9122b.css","../chunks/icon.91a9bf44.js","../chunks/toaster.fd2b66a2.js","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/is.ba28a1ea.js","../chunks/schedule-service.d49fba12.js","../chunks/code-block.cc2ffee9.js","../chunks/copy-to-clipboard.d2168786.js","../chunks/parse-with-big-int.bccd89af.js","../assets/code-block.86c182bf.css","../chunks/route-for-api.1959b395.js","../chunks/route-for.f2f7cb1c.js","../chunks/auth-user.2a42bf1d.js","../chunks/persist-store.c0203efc.js","../chunks/has.f5323580.js","../chunks/is-network-error.900fb374.js","../chunks/empty-state.22810bcf.js","../chunks/link.cac19769.js","../assets/link.2791f859.css","../chunks/workflow-service.6fa8d283.js","../chunks/decode-payload.97e177eb.js","../chunks/data-converter-config.936a36a2.js","../chunks/data-encoder-config.ddfdfd14.js","../chunks/atob.52e78f85.js","../chunks/settings.f4bcc2b2.js","../chunks/simplify-attributes.d3ff8bf3.js","../chunks/format-date.be4b741e.js","../chunks/format-time.8258873a.js","../chunks/version-check.d006b302.js","../chunks/cluster.728f7d8f.js","../chunks/versions.44d896b4.js","../chunks/workflow-status.792f3956.js","../chunks/button.a4f5a3d4.js","../assets/button.386e08e4.css","../assets/workflow-status.80899fb7.css","../chunks/loading.32266c92.js","../chunks/menu.9d531fff.js","../assets/menu.6266803e.css","../chunks/modal.e8d88b85.js","../chunks/icon-button.091b93c1.js","../assets/icon-button.16bef21d.css","../assets/modal.a1162225.css","../chunks/split-button.c1a13603.js","../assets/split-button.8566e410.css","../chunks/core-user.c3fa437a.js","../chunks/schedules.b362631b.js","../assets/_page.8e3b0af3.css"],import.meta.url),()=>u(()=>import("../chunks/23.826154a0.js"),["../chunks/23.826154a0.js","./(app)-namespaces-_namespace_-schedules-_schedule_-edit-page.svelte.051823ca.js","../chunks/index.efded970.js","../chunks/stores.83aed68d.js","../chunks/singletons.96ee7baa.js","../chunks/index.c0615b9d.js","../chunks/paths.988b483c.js","../chunks/page-title.a6dec5b5.js","../chunks/schedule-form-view.5f748594.js","../chunks/input.f4d0de9f.js","../chunks/icon.91a9bf44.js","../chunks/copy-to-clipboard.d2168786.js","../chunks/icon-button.091b93c1.js","../assets/icon-button.16bef21d.css","../assets/input.19df62ce.css","../chunks/tab.492ff65b.js","../chunks/is.ba28a1ea.js","../assets/tab.8436f1bf.css","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/calendar.81d1e381.js","../chunks/toggle-buttons.9fe9f320.js","../assets/toggle-buttons.1415ce75.css","../chunks/schedule-service.d49fba12.js","../chunks/code-block.cc2ffee9.js","../chunks/parse-with-big-int.bccd89af.js","../assets/code-block.86c182bf.css","../chunks/route-for-api.1959b395.js","../chunks/route-for.f2f7cb1c.js","../chunks/auth-user.2a42bf1d.js","../chunks/persist-store.c0203efc.js","../chunks/toaster.fd2b66a2.js","../chunks/has.f5323580.js","../chunks/is-network-error.900fb374.js","../chunks/option.ccff5056.js","../chunks/badge.72fa1965.js","../assets/badge.bfa9122b.css","../chunks/menu.9d531fff.js","../assets/menu.6266803e.css","../assets/option.20882847.css","../chunks/alert.0a6aa272.js","../assets/alert.303275c8.css","../chunks/button.a4f5a3d4.js","../assets/button.386e08e4.css","../chunks/link.cac19769.js","../assets/link.2791f859.css","../chunks/loading.32266c92.js","../chunks/schedules.b362631b.js","../chunks/navigation.6d455e31.js","../assets/schedule-form-view.6d80008f.css"],import.meta.url),()=>u(()=>import("../chunks/24.e9d5f04c.js"),["../chunks/24.e9d5f04c.js","./(app)-namespaces-_namespace_-schedules-create-page.svelte.a231512f.js","../chunks/index.efded970.js","../chunks/stores.83aed68d.js","../chunks/singletons.96ee7baa.js","../chunks/index.c0615b9d.js","../chunks/paths.988b483c.js","../chunks/page-title.a6dec5b5.js","../chunks/schedule-form-view.5f748594.js","../chunks/input.f4d0de9f.js","../chunks/icon.91a9bf44.js","../chunks/copy-to-clipboard.d2168786.js","../chunks/icon-button.091b93c1.js","../assets/icon-button.16bef21d.css","../assets/input.19df62ce.css","../chunks/tab.492ff65b.js","../chunks/is.ba28a1ea.js","../assets/tab.8436f1bf.css","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/calendar.81d1e381.js","../chunks/toggle-buttons.9fe9f320.js","../assets/toggle-buttons.1415ce75.css","../chunks/schedule-service.d49fba12.js","../chunks/code-block.cc2ffee9.js","../chunks/parse-with-big-int.bccd89af.js","../assets/code-block.86c182bf.css","../chunks/route-for-api.1959b395.js","../chunks/route-for.f2f7cb1c.js","../chunks/auth-user.2a42bf1d.js","../chunks/persist-store.c0203efc.js","../chunks/toaster.fd2b66a2.js","../chunks/has.f5323580.js","../chunks/is-network-error.900fb374.js","../chunks/option.ccff5056.js","../chunks/badge.72fa1965.js","../assets/badge.bfa9122b.css","../chunks/menu.9d531fff.js","../assets/menu.6266803e.css","../assets/option.20882847.css","../chunks/alert.0a6aa272.js","../assets/alert.303275c8.css","../chunks/button.a4f5a3d4.js","../assets/button.386e08e4.css","../chunks/link.cac19769.js","../assets/link.2791f859.css","../chunks/loading.32266c92.js","../chunks/schedules.b362631b.js","../chunks/navigation.6d455e31.js","../assets/schedule-form-view.6d80008f.css"],import.meta.url),()=>u(()=>import("../chunks/25.fc8512fd.js"),["../chunks/25.fc8512fd.js","./(app)-namespaces-_namespace_-task-queues-page.svelte.6da82afd.js","../chunks/index.efded970.js"],import.meta.url),()=>u(()=>import("../chunks/26.09c31255.js"),["../chunks/26.09c31255.js","./(app)-namespaces-_namespace_-task-queues-_queue_-page.svelte.399ab9f7.js","../chunks/index.efded970.js","../chunks/stores.83aed68d.js","../chunks/singletons.96ee7baa.js","../chunks/index.c0615b9d.js","../chunks/paths.988b483c.js","../chunks/page-title.a6dec5b5.js","../chunks/workers-list.4f77c93c.js","../chunks/badge.72fa1965.js","../assets/badge.bfa9122b.css","../chunks/pollers-service.956dcc71.js","../chunks/icon.91a9bf44.js","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/is.ba28a1ea.js","../chunks/route-for-api.1959b395.js","../chunks/route-for.f2f7cb1c.js","../chunks/auth-user.2a42bf1d.js","../chunks/persist-store.c0203efc.js","../chunks/parse-with-big-int.bccd89af.js","../chunks/toaster.fd2b66a2.js","../chunks/has.f5323580.js","../chunks/is-network-error.900fb374.js","../assets/pollers-service.3f93e67d.css","../chunks/empty-state.22810bcf.js","../chunks/table-header-row.b413d43a.js","../assets/table-header-row.6ba6477c.css","../chunks/table-row.6be25099.js","../chunks/format-date.be4b741e.js","../chunks/format-time.8258873a.js","../chunks/task-queue-compatibility.cf5696f8.js","../assets/workers-list.7dbb8f48.css"],import.meta.url),()=>u(()=>import("../chunks/27.7a01ad74.js"),["../chunks/27.7a01ad74.js","../chunks/_page.b14944b6.js","./(app)-namespaces-_namespace_-workflows-page.svelte.34f8f62f.js","../chunks/index.efded970.js","../chunks/stores.83aed68d.js","../chunks/singletons.96ee7baa.js","../chunks/index.c0615b9d.js","../chunks/paths.988b483c.js","../chunks/workflow-service.6fa8d283.js","../chunks/decode-payload.97e177eb.js","../chunks/data-converter-config.936a36a2.js","../chunks/persist-store.c0203efc.js","../chunks/parse-with-big-int.bccd89af.js","../chunks/data-encoder-config.ddfdfd14.js","../chunks/atob.52e78f85.js","../chunks/route-for.f2f7cb1c.js","../chunks/has.f5323580.js","../chunks/is.ba28a1ea.js","../chunks/settings.f4bcc2b2.js","../chunks/simplify-attributes.d3ff8bf3.js","../chunks/format-date.be4b741e.js","../chunks/format-time.8258873a.js","../chunks/route-for-api.1959b395.js","../chunks/auth-user.2a42bf1d.js","../chunks/toaster.fd2b66a2.js","../chunks/is-network-error.900fb374.js","../chunks/version-check.d006b302.js","../chunks/cluster.728f7d8f.js","../chunks/versions.44d896b4.js","../chunks/page-title.a6dec5b5.js","../chunks/input.f4d0de9f.js","../chunks/icon.91a9bf44.js","../chunks/copy-to-clipboard.d2168786.js","../chunks/icon-button.091b93c1.js","../assets/icon-button.16bef21d.css","../assets/input.19df62ce.css","../chunks/modal.e8d88b85.js","../chunks/button.a4f5a3d4.js","../chunks/badge.72fa1965.js","../assets/badge.bfa9122b.css","../assets/button.386e08e4.css","../assets/modal.a1162225.css","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/workflow-terminate-enabled.d56fddc4.js","../chunks/menu.9d531fff.js","../assets/menu.6266803e.css","../chunks/calendar.81d1e381.js","../chunks/drawer.f1cf2cf1.js","../chunks/labs-mode.38f06555.js","../assets/drawer.96194c4d.css","../chunks/menu-divider.99a2857a.js","../chunks/toggle-buttons.9fe9f320.js","../assets/toggle-buttons.1415ce75.css","../chunks/filters.bd92de72.js","../chunks/index.5b739b8a.js","../chunks/navigation.6d455e31.js","../chunks/workflow-status.792f3956.js","../assets/workflow-status.80899fb7.css","../chunks/link.cac19769.js","../assets/link.2791f859.css","../chunks/table-row.6be25099.js","../chunks/workflows.f9987742.js","../chunks/pagination.5253b8b7.js","../chunks/simple-select.35d563b9.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/table-header-row.b413d43a.js","../assets/table-header-row.6ba6477c.css","../assets/index.d6094a94.css","../chunks/toggle-switch.f8f2487a.js","../assets/toggle-switch.ff91b31f.css","../chunks/search-attributes.9143d253.js","../chunks/option.ccff5056.js","../assets/option.20882847.css","../chunks/omit.6cf41932.js","../chunks/alert.0a6aa272.js","../assets/alert.303275c8.css","../chunks/loading.32266c92.js","../chunks/namespaces.08ac61f9.js","../chunks/core-user.c3fa437a.js","../chunks/empty-state.22810bcf.js","../assets/_page.f4b5a965.css"],import.meta.url),()=>u(()=>import("../chunks/28.f746d19b.js"),["../chunks/28.f746d19b.js","../chunks/_page.6d808502.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/workflow-service.6fa8d283.js","../chunks/index.efded970.js","../chunks/decode-payload.97e177eb.js","../chunks/data-converter-config.936a36a2.js","../chunks/index.c0615b9d.js","../chunks/persist-store.c0203efc.js","../chunks/parse-with-big-int.bccd89af.js","../chunks/data-encoder-config.ddfdfd14.js","../chunks/atob.52e78f85.js","../chunks/route-for.f2f7cb1c.js","../chunks/paths.988b483c.js","../chunks/has.f5323580.js","../chunks/is.ba28a1ea.js","../chunks/settings.f4bcc2b2.js","../chunks/simplify-attributes.d3ff8bf3.js","../chunks/format-date.be4b741e.js","../chunks/format-time.8258873a.js","../chunks/route-for-api.1959b395.js","../chunks/auth-user.2a42bf1d.js","../chunks/toaster.fd2b66a2.js","../chunks/is-network-error.900fb374.js","../chunks/stores.83aed68d.js","../chunks/singletons.96ee7baa.js","../chunks/version-check.d006b302.js","../chunks/cluster.728f7d8f.js","../chunks/versions.44d896b4.js"],import.meta.url),()=>u(()=>import("../chunks/29.889a89e3.js"),["../chunks/29.889a89e3.js","../chunks/_page.2bedfed4.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-page.svelte.6da82afd.js","../chunks/index.efded970.js"],import.meta.url),()=>u(()=>import("../chunks/30.1b51c16d.js"),["../chunks/30.1b51c16d.js","../chunks/_page.ed77219c.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-page.svelte.94aad5f5.js","../chunks/index.efded970.js","../chunks/stores.83aed68d.js","../chunks/singletons.96ee7baa.js","../chunks/index.c0615b9d.js","../chunks/paths.988b483c.js","../chunks/page-title.a6dec5b5.js","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/is.ba28a1ea.js","../chunks/button.a4f5a3d4.js","../chunks/badge.72fa1965.js","../assets/badge.bfa9122b.css","../chunks/icon.91a9bf44.js","../assets/button.386e08e4.css","../chunks/index.aabaaaa7.js","../chunks/has.f5323580.js","../chunks/is-event-type.4dbe973b.js","../chunks/format-time.8258873a.js","../chunks/event-view.de9a16d6.js","../chunks/persist-store.c0203efc.js","../chunks/parse-with-big-int.bccd89af.js","../chunks/workflow-run.3d1553b6.js","../chunks/format-camel-case.887ffc78.js","../chunks/drawer.f1cf2cf1.js","../chunks/labs-mode.38f06555.js","../chunks/menu.9d531fff.js","../assets/menu.6266803e.css","../chunks/icon-button.091b93c1.js","../assets/icon-button.16bef21d.css","../assets/drawer.96194c4d.css","../chunks/tooltip.407e84a1.js","../chunks/copyable.6f6014ce.js","../chunks/copy-to-clipboard.d2168786.js","../assets/tooltip.78399487.css","../chunks/code-block.cc2ffee9.js","../assets/code-block.86c182bf.css","../chunks/link.cac19769.js","../assets/link.2791f859.css","../chunks/format-date.be4b741e.js","../chunks/format-event-attributes.1d147cb1.js","../chunks/route-for.f2f7cb1c.js","../chunks/to-time-difference.be87d1bf.js","../chunks/pagination.5253b8b7.js","../chunks/navigation.6d455e31.js","../chunks/simple-select.35d563b9.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/table-header-row.b413d43a.js","../assets/table-header-row.6ba6477c.css","../chunks/table-row.6be25099.js","../chunks/workflow-status.792f3956.js","../assets/workflow-status.80899fb7.css","../chunks/accordion.0b47b9b3.js","../chunks/toaster.fd2b66a2.js","../chunks/alert.0a6aa272.js","../assets/alert.303275c8.css","../chunks/task-queue-compatibility.cf5696f8.js","../chunks/event-summary-table.e529cb88.js","../chunks/empty-state.22810bcf.js","../chunks/loading.32266c92.js","../chunks/get-event-categorization.35f43125.js","../chunks/filters.bd92de72.js","../chunks/versions.44d896b4.js","../chunks/cluster.728f7d8f.js","../chunks/settings.f4bcc2b2.js","../chunks/version-check.d006b302.js","../chunks/menu-divider.99a2857a.js","../assets/event-summary-table.4456dbde.css","../chunks/toggle-buttons.9fe9f320.js","../assets/toggle-buttons.1415ce75.css","../chunks/auth-user.2a42bf1d.js","../chunks/events-service.1baddf3f.js","../chunks/index.7c53442e.js","../chunks/data-encoder-config.ddfdfd14.js","../chunks/decode-payload.97e177eb.js","../chunks/data-converter-config.936a36a2.js","../chunks/atob.52e78f85.js","../chunks/get-codec.19c43d34.js","../chunks/simplify-attributes.d3ff8bf3.js","../chunks/paginated.2b7c667d.js","../chunks/route-for-api.1959b395.js","../chunks/is-network-error.900fb374.js","../chunks/namespaces.08ac61f9.js","../chunks/workflow-json-navigator.2b49c9a5.js","../chunks/omit.6cf41932.js","../assets/workflow-json-navigator.a85b4b27.css","../chunks/toggle-switch.f8f2487a.js","../assets/toggle-switch.ff91b31f.css","../assets/_page.7e33bb44.css"],import.meta.url),()=>u(()=>import("../chunks/31.94dd5fc2.js"),["../chunks/31.94dd5fc2.js","../chunks/_page.70afa1d3.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for.f2f7cb1c.js","../chunks/paths.988b483c.js"],import.meta.url),()=>u(()=>import("../chunks/32.94dd5fc2.js"),["../chunks/32.94dd5fc2.js","../chunks/_page.2f4fdd95.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for.f2f7cb1c.js","../chunks/paths.988b483c.js"],import.meta.url),()=>u(()=>import("../chunks/33.94dd5fc2.js"),["../chunks/33.94dd5fc2.js","../chunks/_page.c8218868.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for.f2f7cb1c.js","../chunks/paths.988b483c.js"],import.meta.url),()=>u(()=>import("../chunks/34.f906c797.js"),["../chunks/34.f906c797.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-pending-activities-page.svelte.26f8d277.js","../chunks/index.efded970.js","../chunks/stores.83aed68d.js","../chunks/singletons.96ee7baa.js","../chunks/index.c0615b9d.js","../chunks/paths.988b483c.js","../chunks/page-title.a6dec5b5.js","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/is.ba28a1ea.js","../chunks/badge.72fa1965.js","../assets/badge.bfa9122b.css","../chunks/code-block.cc2ffee9.js","../chunks/icon.91a9bf44.js","../chunks/copy-to-clipboard.d2168786.js","../chunks/parse-with-big-int.bccd89af.js","../assets/code-block.86c182bf.css","../chunks/empty-state.22810bcf.js","../chunks/link.cac19769.js","../assets/link.2791f859.css","../chunks/table-header-row.b413d43a.js","../assets/table-header-row.6ba6477c.css","../chunks/table-row.6be25099.js","../chunks/format-date.be4b741e.js","../chunks/persist-store.c0203efc.js","../chunks/format-time.8258873a.js","../chunks/has.f5323580.js","../chunks/workflow-run.3d1553b6.js","../chunks/format-event-attributes.1d147cb1.js","../chunks/format-camel-case.887ffc78.js","../chunks/index.aabaaaa7.js","../chunks/is-event-type.4dbe973b.js","../chunks/to-time-difference.be87d1bf.js","../assets/_page.682a0c0d.css"],import.meta.url),()=>u(()=>import("../chunks/35.ebdca862.js"),["../chunks/35.ebdca862.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-query-page.svelte.cd26cab5.js","../chunks/index.efded970.js","../chunks/stores.83aed68d.js","../chunks/singletons.96ee7baa.js","../chunks/index.c0615b9d.js","../chunks/paths.988b483c.js","../chunks/page-title.a6dec5b5.js","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/is.ba28a1ea.js","../chunks/button.a4f5a3d4.js","../chunks/badge.72fa1965.js","../assets/badge.bfa9122b.css","../chunks/icon.91a9bf44.js","../assets/button.386e08e4.css","../chunks/code-block.cc2ffee9.js","../chunks/copy-to-clipboard.d2168786.js","../chunks/parse-with-big-int.bccd89af.js","../assets/code-block.86c182bf.css","../chunks/empty-state.22810bcf.js","../chunks/loading.32266c92.js","../chunks/simple-select.35d563b9.js","../assets/simple-select.51b2afe1.css","../chunks/toggle-switch.f8f2487a.js","../assets/toggle-switch.ff91b31f.css","../chunks/query-service.6ec5e063.js","../chunks/data-encoder-config.ddfdfd14.js","../chunks/persist-store.c0203efc.js","../chunks/decode-payload.97e177eb.js","../chunks/data-converter-config.936a36a2.js","../chunks/atob.52e78f85.js","../chunks/route-for.f2f7cb1c.js","../chunks/has.f5323580.js","../chunks/get-codec.19c43d34.js","../chunks/route-for-api.1959b395.js","../chunks/auth-user.2a42bf1d.js","../chunks/toaster.fd2b66a2.js","../chunks/is-network-error.900fb374.js"],import.meta.url),()=>u(()=>import("../chunks/36.50c0d285.js"),["../chunks/36.50c0d285.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-stack-trace-page.svelte.a49ab006.js","../chunks/index.efded970.js","../chunks/stores.83aed68d.js","../chunks/singletons.96ee7baa.js","../chunks/index.c0615b9d.js","../chunks/paths.988b483c.js","../chunks/page-title.a6dec5b5.js","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/is.ba28a1ea.js","../chunks/button.a4f5a3d4.js","../chunks/badge.72fa1965.js","../assets/badge.bfa9122b.css","../chunks/icon.91a9bf44.js","../assets/button.386e08e4.css","../chunks/code-block.cc2ffee9.js","../chunks/copy-to-clipboard.d2168786.js","../chunks/parse-with-big-int.bccd89af.js","../assets/code-block.86c182bf.css","../chunks/empty-state.22810bcf.js","../chunks/link.cac19769.js","../assets/link.2791f859.css","../chunks/loading.32266c92.js","../chunks/query-service.6ec5e063.js","../chunks/data-encoder-config.ddfdfd14.js","../chunks/persist-store.c0203efc.js","../chunks/decode-payload.97e177eb.js","../chunks/data-converter-config.936a36a2.js","../chunks/atob.52e78f85.js","../chunks/route-for.f2f7cb1c.js","../chunks/has.f5323580.js","../chunks/get-codec.19c43d34.js","../chunks/route-for-api.1959b395.js","../chunks/auth-user.2a42bf1d.js","../chunks/toaster.fd2b66a2.js","../chunks/is-network-error.900fb374.js","../chunks/workflow-run.3d1553b6.js"],import.meta.url),()=>u(()=>import("../chunks/37.4f25539c.js"),["../chunks/37.4f25539c.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-workers-page.svelte.b14f2e16.js","../chunks/index.efded970.js","../chunks/stores.83aed68d.js","../chunks/singletons.96ee7baa.js","../chunks/index.c0615b9d.js","../chunks/paths.988b483c.js","../chunks/page-title.a6dec5b5.js","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/is.ba28a1ea.js","../chunks/workers-list.4f77c93c.js","../chunks/badge.72fa1965.js","../assets/badge.bfa9122b.css","../chunks/pollers-service.956dcc71.js","../chunks/icon.91a9bf44.js","../chunks/route-for-api.1959b395.js","../chunks/route-for.f2f7cb1c.js","../chunks/auth-user.2a42bf1d.js","../chunks/persist-store.c0203efc.js","../chunks/parse-with-big-int.bccd89af.js","../chunks/toaster.fd2b66a2.js","../chunks/has.f5323580.js","../chunks/is-network-error.900fb374.js","../assets/pollers-service.3f93e67d.css","../chunks/empty-state.22810bcf.js","../chunks/table-header-row.b413d43a.js","../assets/table-header-row.6ba6477c.css","../chunks/table-row.6be25099.js","../chunks/format-date.be4b741e.js","../chunks/format-time.8258873a.js","../chunks/task-queue-compatibility.cf5696f8.js","../assets/workers-list.7dbb8f48.css","../chunks/workflow-run.3d1553b6.js"],import.meta.url),()=>u(()=>import("../chunks/38.b9ac409f.js"),["../chunks/38.b9ac409f.js","./(app)-select-namespace-page.svelte.2ff01546.js","../chunks/index.efded970.js","../chunks/navigation.6d455e31.js","../chunks/singletons.96ee7baa.js","../chunks/index.c0615b9d.js","../chunks/paths.988b483c.js","../chunks/stores.83aed68d.js","../chunks/page-title.a6dec5b5.js","../chunks/empty-state.22810bcf.js","../chunks/icon.91a9bf44.js","../chunks/input.f4d0de9f.js","../chunks/copy-to-clipboard.d2168786.js","../chunks/icon-button.091b93c1.js","../assets/icon-button.16bef21d.css","../assets/input.19df62ce.css","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/is.ba28a1ea.js","../chunks/workflow-service.6fa8d283.js","../chunks/decode-payload.97e177eb.js","../chunks/data-converter-config.936a36a2.js","../chunks/persist-store.c0203efc.js","../chunks/parse-with-big-int.bccd89af.js","../chunks/data-encoder-config.ddfdfd14.js","../chunks/atob.52e78f85.js","../chunks/route-for.f2f7cb1c.js","../chunks/has.f5323580.js","../chunks/settings.f4bcc2b2.js","../chunks/simplify-attributes.d3ff8bf3.js","../chunks/format-date.be4b741e.js","../chunks/format-time.8258873a.js","../chunks/route-for-api.1959b395.js","../chunks/auth-user.2a42bf1d.js","../chunks/toaster.fd2b66a2.js","../chunks/is-network-error.900fb374.js","../chunks/version-check.d006b302.js","../chunks/cluster.728f7d8f.js","../chunks/versions.44d896b4.js","../chunks/namespaces.08ac61f9.js","../assets/_page.8ed620ce.css"],import.meta.url),()=>u(()=>import("../chunks/39.4282e608.js"),["../chunks/39.4282e608.js","./(login)-login-page.svelte.ab786e89.js","../chunks/index.efded970.js","../chunks/stores.83aed68d.js","../chunks/singletons.96ee7baa.js","../chunks/index.c0615b9d.js","../chunks/paths.988b483c.js","../chunks/logo.797112c8.js","../chunks/icon.91a9bf44.js","../assets/logo.4e0dbf07.css","../chunks/page-title.a6dec5b5.js","../chunks/button.a4f5a3d4.js","../chunks/badge.72fa1965.js","../assets/badge.bfa9122b.css","../assets/button.386e08e4.css","../chunks/route-for.f2f7cb1c.js"],import.meta.url),()=>u(()=>import("../chunks/40.a0e532c1.js"),["../chunks/40.a0e532c1.js","./(login)-signin-page.svelte.ab786e89.js","../chunks/index.efded970.js","../chunks/stores.83aed68d.js","../chunks/singletons.96ee7baa.js","../chunks/index.c0615b9d.js","../chunks/paths.988b483c.js","../chunks/logo.797112c8.js","../chunks/icon.91a9bf44.js","../assets/logo.4e0dbf07.css","../chunks/page-title.a6dec5b5.js","../chunks/button.a4f5a3d4.js","../chunks/badge.72fa1965.js","../assets/badge.bfa9122b.css","../assets/button.386e08e4.css","../chunks/route-for.f2f7cb1c.js"],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.efded970.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.655f7ef1.js"),["../chunks/0.655f7ef1.js","../chunks/_layout.0e81655c.js","../chunks/index.94de4f62.js","./layout.svelte.1ecafece.js","../chunks/index.efded970.js"],import.meta.url),()=>u(()=>import("../chunks/1.e5d4cbf5.js"),["../chunks/1.e5d4cbf5.js","./_error.svelte.ce9961d0.js","../chunks/index.efded970.js","../chunks/stores.3002bd93.js","../chunks/singletons.b88fa2bd.js","../chunks/index.c0615b9d.js","../chunks/paths.898c1036.js","../chunks/error.422bc1be.js","../chunks/navigation.85b47b98.js","../chunks/link.cac19769.js","../chunks/icon.91a9bf44.js","../assets/link.2791f859.css","../chunks/has.f5323580.js","../chunks/is.ba28a1ea.js","../chunks/is-network-error.900fb374.js","../chunks/parse-with-big-int.bccd89af.js","../assets/app.67581fc5.css"],import.meta.url),()=>u(()=>import("../chunks/2.8515c6c4.js"),["../chunks/2.8515c6c4.js","../chunks/_layout.f9646db3.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/cluster.728f7d8f.js","../chunks/index.c0615b9d.js","../chunks/index.efded970.js","../chunks/route-for-api.28fc22fc.js","../chunks/route-for.8244bd54.js","../chunks/paths.898c1036.js","../chunks/auth-user.2a42bf1d.js","../chunks/persist-store.c0203efc.js","../chunks/parse-with-big-int.bccd89af.js","../chunks/toaster.fd2b66a2.js","../chunks/has.f5323580.js","../chunks/is.ba28a1ea.js","../chunks/is-network-error.900fb374.js","../chunks/stores.3002bd93.js","../chunks/singletons.b88fa2bd.js","../chunks/namespaces-service.af8fc337.js","../chunks/namespaces.08ac61f9.js","../chunks/paginated.2a1d18a2.js","../chunks/settings-service.d3fae296.js","../chunks/settings.f4bcc2b2.js","../chunks/atob.3846ac29.js","../assets/_layout.845f7340.css","../assets/app.67581fc5.css","./(app)-layout.svelte.29fcdee6.js","../chunks/navigation.85b47b98.js","../chunks/input.f4d0de9f.js","../chunks/icon.91a9bf44.js","../chunks/copy-to-clipboard.d2168786.js","../chunks/icon-button.091b93c1.js","../assets/icon-button.16bef21d.css","../assets/input.19df62ce.css","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/toggle-switch.f8f2487a.js","../assets/toggle-switch.ff91b31f.css","../chunks/data-encoder-config.ddfdfd14.js","../chunks/workflow-run.3d1553b6.js","../chunks/data-converter-config.936a36a2.js","../chunks/menu.9d531fff.js","../chunks/badge.72fa1965.js","../assets/badge.bfa9122b.css","../assets/menu.6266803e.css","../chunks/link.cac19769.js","../assets/link.2791f859.css","../chunks/button.a4f5a3d4.js","../assets/button.386e08e4.css","../chunks/accordion.0b47b9b3.js","../chunks/tooltip.407e84a1.js","../chunks/copyable.6f6014ce.js","../assets/tooltip.78399487.css","../chunks/labs-mode.38f06555.js","../chunks/menu-divider.99a2857a.js","../chunks/format-date.be4b741e.js","../chunks/format-time.8258873a.js","../chunks/format-camel-case.887ffc78.js","../chunks/error.422bc1be.js","../assets/_layout.3841e971.css"],import.meta.url),()=>u(()=>import("../chunks/3.24ddb3f7.js"),["../chunks/3.24ddb3f7.js","./(app)-import-layout.svelte.0c6840cd.js","../chunks/index.efded970.js","../chunks/stores.3002bd93.js","../chunks/singletons.b88fa2bd.js","../chunks/index.c0615b9d.js","../chunks/paths.898c1036.js","../chunks/page-title.a6dec5b5.js"],import.meta.url),()=>u(()=>import("../chunks/4.ed8855ad.js"),["../chunks/4.ed8855ad.js","./(app)-import-events-_namespace_-_workflow_-_run_-history-layout.svelte.ac104a2a.js","../chunks/index.efded970.js","../chunks/event-history-file-import.443bbc6a.js","../chunks/navigation.85b47b98.js","../chunks/singletons.b88fa2bd.js","../chunks/index.c0615b9d.js","../chunks/paths.898c1036.js","../chunks/stores.3002bd93.js","../chunks/button.a4f5a3d4.js","../chunks/badge.72fa1965.js","../assets/badge.bfa9122b.css","../chunks/icon.91a9bf44.js","../assets/button.386e08e4.css","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/is.ba28a1ea.js","../chunks/index.aabaaaa7.js","../chunks/has.f5323580.js","../chunks/is-event-type.4dbe973b.js","../chunks/format-time.8258873a.js","../chunks/index.8ae24503.js","../chunks/data-encoder-config.ddfdfd14.js","../chunks/persist-store.c0203efc.js","../chunks/parse-with-big-int.bccd89af.js","../chunks/decode-payload.8b7fbb10.js","../chunks/data-converter-config.936a36a2.js","../chunks/atob.3846ac29.js","../chunks/route-for.8244bd54.js","../chunks/format-date.be4b741e.js","../chunks/get-codec.19c43d34.js","../chunks/get-event-categorization.35f43125.js","../chunks/simplify-attributes.d3ff8bf3.js","../chunks/auth-user.2a42bf1d.js","../chunks/import-events.80234efc.js","../chunks/namespaces.08ac61f9.js","../chunks/toaster.fd2b66a2.js","../chunks/toggle-buttons.59bb67f3.js","../assets/toggle-buttons.1415ce75.css"],import.meta.url),()=>u(()=>import("../chunks/5.7a331982.js"),["../chunks/5.7a331982.js","../chunks/_layout.b53e967c.js","../chunks/route-for-api.28fc22fc.js","../chunks/route-for.8244bd54.js","../chunks/paths.898c1036.js","../chunks/auth-user.2a42bf1d.js","../chunks/index.efded970.js","../chunks/persist-store.c0203efc.js","../chunks/index.c0615b9d.js","../chunks/parse-with-big-int.bccd89af.js","../chunks/toaster.fd2b66a2.js","../chunks/has.f5323580.js","../chunks/is.ba28a1ea.js","../chunks/is-network-error.900fb374.js","../chunks/stores.3002bd93.js","../chunks/singletons.b88fa2bd.js","../chunks/search-attributes.9143d253.js","./layout.svelte.1ecafece.js"],import.meta.url),()=>u(()=>import("../chunks/6.3caa12d9.js"),["../chunks/6.3caa12d9.js","./(app)-namespaces-_namespace_-schedules-layout.svelte.1ecafece.js","../chunks/index.efded970.js"],import.meta.url),()=>u(()=>import("../chunks/7.fb333c4d.js"),["../chunks/7.fb333c4d.js","./(app)-namespaces-_namespace_-task-queues-layout.svelte.a74d1e53.js","../chunks/index.efded970.js"],import.meta.url),()=>u(()=>import("../chunks/8.74f46843.js"),["../chunks/8.74f46843.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-layout.svelte.a3178fdd.js","../chunks/index.efded970.js","../chunks/stores.3002bd93.js","../chunks/singletons.b88fa2bd.js","../chunks/index.c0615b9d.js","../chunks/paths.898c1036.js","../chunks/loading.32266c92.js","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/is.ba28a1ea.js","../chunks/menu.9d531fff.js","../chunks/badge.72fa1965.js","../assets/badge.bfa9122b.css","../chunks/icon.91a9bf44.js","../assets/menu.6266803e.css","../chunks/toggle-switch.f8f2487a.js","../assets/toggle-switch.ff91b31f.css","../chunks/tooltip.407e84a1.js","../chunks/copyable.6f6014ce.js","../chunks/icon-button.091b93c1.js","../assets/icon-button.16bef21d.css","../chunks/copy-to-clipboard.d2168786.js","../assets/tooltip.78399487.css","../chunks/event-view.de9a16d6.js","../chunks/persist-store.c0203efc.js","../chunks/parse-with-big-int.bccd89af.js","../chunks/input.f4d0de9f.js","../assets/input.19df62ce.css","../chunks/option.ccff5056.js","../assets/option.20882847.css","../chunks/workflow-terminate-enabled.d56fddc4.js","../chunks/events-service.31abcdb2.js","../chunks/auth-user.2a42bf1d.js","../chunks/workflow-run.3d1553b6.js","../chunks/route-for.8244bd54.js","../chunks/is-event-type.4dbe973b.js","../chunks/index.8ae24503.js","../chunks/data-encoder-config.ddfdfd14.js","../chunks/decode-payload.8b7fbb10.js","../chunks/data-converter-config.936a36a2.js","../chunks/atob.3846ac29.js","../chunks/has.f5323580.js","../chunks/format-date.be4b741e.js","../chunks/format-time.8258873a.js","../chunks/get-codec.19c43d34.js","../chunks/get-event-categorization.35f43125.js","../chunks/simplify-attributes.d3ff8bf3.js","../chunks/paginated.2a1d18a2.js","../chunks/route-for-api.28fc22fc.js","../chunks/toaster.fd2b66a2.js","../chunks/is-network-error.900fb374.js","../chunks/button.a4f5a3d4.js","../assets/button.386e08e4.css","../chunks/menu-divider.99a2857a.js","../chunks/modal.e8d88b85.js","../assets/modal.a1162225.css","../chunks/split-button.c1a13603.js","../assets/split-button.8566e410.css","../chunks/workflow-service.db6f5d3e.js","../chunks/settings.f4bcc2b2.js","../chunks/version-check.d006b302.js","../chunks/cluster.728f7d8f.js","../chunks/versions.44d896b4.js","../chunks/core-user.c3fa437a.js","../chunks/workflow-status.792f3956.js","../assets/workflow-status.80899fb7.css","../chunks/alert.0a6aa272.js","../assets/alert.303275c8.css","../chunks/pollers-service.6835f4ba.js","../assets/pollers-service.3f93e67d.css","../chunks/link.cac19769.js","../assets/link.2791f859.css","../chunks/tab.492ff65b.js","../assets/tab.8436f1bf.css","../chunks/workflows.6800ca9a.js","../chunks/task-queue-compatibility.cf5696f8.js"],import.meta.url),()=>u(()=>import("../chunks/9.740ed7a1.js"),["../chunks/9.740ed7a1.js","../chunks/_layout.25e245e4.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/settings-service.d3fae296.js","../chunks/settings.f4bcc2b2.js","../chunks/index.c0615b9d.js","../chunks/index.efded970.js","../chunks/route-for-api.28fc22fc.js","../chunks/route-for.8244bd54.js","../chunks/paths.898c1036.js","../chunks/auth-user.2a42bf1d.js","../chunks/persist-store.c0203efc.js","../chunks/parse-with-big-int.bccd89af.js","../chunks/toaster.fd2b66a2.js","../chunks/has.f5323580.js","../chunks/is.ba28a1ea.js","../chunks/is-network-error.900fb374.js","../chunks/stores.3002bd93.js","../chunks/singletons.b88fa2bd.js","../assets/app.67581fc5.css","./(login)-layout.svelte.1ecafece.js"],import.meta.url),()=>u(()=>import("../chunks/10.1c66d231.js"),["../chunks/10.1c66d231.js","../chunks/_page.976e3127.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for.8244bd54.js","../chunks/paths.898c1036.js","./(app)-page.svelte.251286ca.js","../chunks/index.efded970.js","../chunks/navigation.85b47b98.js","../chunks/singletons.b88fa2bd.js","../chunks/index.c0615b9d.js","../chunks/loading.32266c92.js","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/is.ba28a1ea.js","../chunks/workflow-service.db6f5d3e.js","../chunks/decode-payload.8b7fbb10.js","../chunks/data-converter-config.936a36a2.js","../chunks/persist-store.c0203efc.js","../chunks/parse-with-big-int.bccd89af.js","../chunks/data-encoder-config.ddfdfd14.js","../chunks/atob.3846ac29.js","../chunks/has.f5323580.js","../chunks/settings.f4bcc2b2.js","../chunks/simplify-attributes.d3ff8bf3.js","../chunks/format-date.be4b741e.js","../chunks/format-time.8258873a.js","../chunks/route-for-api.28fc22fc.js","../chunks/auth-user.2a42bf1d.js","../chunks/toaster.fd2b66a2.js","../chunks/is-network-error.900fb374.js","../chunks/stores.3002bd93.js","../chunks/version-check.d006b302.js","../chunks/cluster.728f7d8f.js","../chunks/versions.44d896b4.js","../chunks/namespaces.08ac61f9.js"],import.meta.url),()=>u(()=>import("../chunks/11.d4b06714.js"),["../chunks/11.d4b06714.js","./(app)-data-converter-_port_-page.svelte.0f7a7a1a.js","../chunks/index.efded970.js","../chunks/navigation.85b47b98.js","../chunks/singletons.b88fa2bd.js","../chunks/index.c0615b9d.js","../chunks/paths.898c1036.js","../chunks/stores.3002bd93.js","../chunks/data-converter-config.936a36a2.js","../chunks/persist-store.c0203efc.js","../chunks/parse-with-big-int.bccd89af.js","../chunks/toaster.fd2b66a2.js"],import.meta.url),()=>u(()=>import("../chunks/12.7a83d954.js"),["../chunks/12.7a83d954.js","../chunks/_page.661af5f9.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for.8244bd54.js","../chunks/paths.898c1036.js"],import.meta.url),()=>u(()=>import("../chunks/13.3b19481e.js"),["../chunks/13.3b19481e.js","./(app)-import-events-page.svelte.089828c1.js","../chunks/index.efded970.js","../chunks/event-history-file-import.443bbc6a.js","../chunks/navigation.85b47b98.js","../chunks/singletons.b88fa2bd.js","../chunks/index.c0615b9d.js","../chunks/paths.898c1036.js","../chunks/stores.3002bd93.js","../chunks/button.a4f5a3d4.js","../chunks/badge.72fa1965.js","../assets/badge.bfa9122b.css","../chunks/icon.91a9bf44.js","../assets/button.386e08e4.css","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/is.ba28a1ea.js","../chunks/index.aabaaaa7.js","../chunks/has.f5323580.js","../chunks/is-event-type.4dbe973b.js","../chunks/format-time.8258873a.js","../chunks/index.8ae24503.js","../chunks/data-encoder-config.ddfdfd14.js","../chunks/persist-store.c0203efc.js","../chunks/parse-with-big-int.bccd89af.js","../chunks/decode-payload.8b7fbb10.js","../chunks/data-converter-config.936a36a2.js","../chunks/atob.3846ac29.js","../chunks/route-for.8244bd54.js","../chunks/format-date.be4b741e.js","../chunks/get-codec.19c43d34.js","../chunks/get-event-categorization.35f43125.js","../chunks/simplify-attributes.d3ff8bf3.js","../chunks/auth-user.2a42bf1d.js","../chunks/import-events.80234efc.js","../chunks/namespaces.08ac61f9.js","../chunks/toaster.fd2b66a2.js","../chunks/code-block.cc2ffee9.js","../chunks/copy-to-clipboard.d2168786.js","../assets/code-block.86c182bf.css","../chunks/link.cac19769.js","../assets/link.2791f859.css"],import.meta.url),()=>u(()=>import("../chunks/14.62459290.js"),["../chunks/14.62459290.js","../chunks/_page.f30a4e64.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for.8244bd54.js","../chunks/paths.898c1036.js"],import.meta.url),()=>u(()=>import("../chunks/15.f2e7c8c8.js"),["../chunks/15.f2e7c8c8.js","./(app)-import-events-_namespace_-_workflow_-_run_-history-compact-page.svelte.d1a2584a.js","../chunks/index.efded970.js","../chunks/event-summary-table.98f53565.js","../chunks/empty-state.22810bcf.js","../chunks/icon.91a9bf44.js","../chunks/loading.32266c92.js","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/is.ba28a1ea.js","../chunks/menu.9d531fff.js","../chunks/badge.72fa1965.js","../assets/badge.bfa9122b.css","../chunks/index.c0615b9d.js","../assets/menu.6266803e.css","../chunks/link.cac19769.js","../assets/link.2791f859.css","../chunks/index.aabaaaa7.js","../chunks/has.f5323580.js","../chunks/is-event-type.4dbe973b.js","../chunks/format-time.8258873a.js","../chunks/event-view.de9a16d6.js","../chunks/persist-store.c0203efc.js","../chunks/parse-with-big-int.bccd89af.js","../chunks/format-date.be4b741e.js","../chunks/format-event-attributes.1d147cb1.js","../chunks/format-camel-case.887ffc78.js","../chunks/stores.3002bd93.js","../chunks/singletons.b88fa2bd.js","../chunks/paths.898c1036.js","../chunks/code-block.cc2ffee9.js","../chunks/copy-to-clipboard.d2168786.js","../assets/code-block.86c182bf.css","../chunks/copyable.6f6014ce.js","../chunks/icon-button.091b93c1.js","../assets/icon-button.16bef21d.css","../chunks/route-for.8244bd54.js","../chunks/table-header-row.b413d43a.js","../assets/table-header-row.6ba6477c.css","../chunks/get-event-categorization.35f43125.js","../chunks/filters.2e8e7341.js","../chunks/versions.44d896b4.js","../chunks/cluster.728f7d8f.js","../chunks/settings.f4bcc2b2.js","../chunks/pagination.e9c8b93a.js","../chunks/navigation.85b47b98.js","../chunks/simple-select.35d563b9.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/version-check.d006b302.js","../chunks/menu-divider.99a2857a.js","../chunks/button.a4f5a3d4.js","../assets/button.386e08e4.css","../assets/event-summary-table.4456dbde.css","../chunks/import-events.80234efc.js"],import.meta.url),()=>u(()=>import("../chunks/16.b804cd42.js"),["../chunks/16.b804cd42.js","./(app)-import-events-_namespace_-_workflow_-_run_-history-feed-page.svelte.3567deeb.js","../chunks/index.efded970.js","../chunks/event-summary-table.98f53565.js","../chunks/empty-state.22810bcf.js","../chunks/icon.91a9bf44.js","../chunks/loading.32266c92.js","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/is.ba28a1ea.js","../chunks/menu.9d531fff.js","../chunks/badge.72fa1965.js","../assets/badge.bfa9122b.css","../chunks/index.c0615b9d.js","../assets/menu.6266803e.css","../chunks/link.cac19769.js","../assets/link.2791f859.css","../chunks/index.aabaaaa7.js","../chunks/has.f5323580.js","../chunks/is-event-type.4dbe973b.js","../chunks/format-time.8258873a.js","../chunks/event-view.de9a16d6.js","../chunks/persist-store.c0203efc.js","../chunks/parse-with-big-int.bccd89af.js","../chunks/format-date.be4b741e.js","../chunks/format-event-attributes.1d147cb1.js","../chunks/format-camel-case.887ffc78.js","../chunks/stores.3002bd93.js","../chunks/singletons.b88fa2bd.js","../chunks/paths.898c1036.js","../chunks/code-block.cc2ffee9.js","../chunks/copy-to-clipboard.d2168786.js","../assets/code-block.86c182bf.css","../chunks/copyable.6f6014ce.js","../chunks/icon-button.091b93c1.js","../assets/icon-button.16bef21d.css","../chunks/route-for.8244bd54.js","../chunks/table-header-row.b413d43a.js","../assets/table-header-row.6ba6477c.css","../chunks/get-event-categorization.35f43125.js","../chunks/filters.2e8e7341.js","../chunks/versions.44d896b4.js","../chunks/cluster.728f7d8f.js","../chunks/settings.f4bcc2b2.js","../chunks/pagination.e9c8b93a.js","../chunks/navigation.85b47b98.js","../chunks/simple-select.35d563b9.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/version-check.d006b302.js","../chunks/menu-divider.99a2857a.js","../chunks/button.a4f5a3d4.js","../assets/button.386e08e4.css","../assets/event-summary-table.4456dbde.css","../chunks/import-events.80234efc.js"],import.meta.url),()=>u(()=>import("../chunks/17.254e728f.js"),["../chunks/17.254e728f.js","./(app)-import-events-_namespace_-_workflow_-_run_-history-json-page.svelte.26206d02.js","../chunks/index.efded970.js","../chunks/workflow-json-navigator.2b49c9a5.js","../chunks/code-block.cc2ffee9.js","../chunks/icon.91a9bf44.js","../chunks/copy-to-clipboard.d2168786.js","../chunks/index.c0615b9d.js","../chunks/parse-with-big-int.bccd89af.js","../assets/code-block.86c182bf.css","../chunks/omit.6cf41932.js","../chunks/loading.32266c92.js","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/is.ba28a1ea.js","../assets/workflow-json-navigator.a85b4b27.css","../chunks/import-events.80234efc.js"],import.meta.url),()=>u(()=>import("../chunks/18.608cb374.js"),["../chunks/18.608cb374.js","./(app)-namespaces-page.svelte.68af5dce.js","../chunks/index.efded970.js","../chunks/stores.3002bd93.js","../chunks/singletons.b88fa2bd.js","../chunks/index.c0615b9d.js","../chunks/paths.898c1036.js","../chunks/page-title.a6dec5b5.js","../chunks/empty-state.22810bcf.js","../chunks/icon.91a9bf44.js","../chunks/link.cac19769.js","../assets/link.2791f859.css","../chunks/pagination.e9c8b93a.js","../chunks/navigation.85b47b98.js","../chunks/simple-select.35d563b9.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/table-header-row.b413d43a.js","../assets/table-header-row.6ba6477c.css","../chunks/table-row.6be25099.js","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/is.ba28a1ea.js","../chunks/namespaces.08ac61f9.js","../chunks/persist-store.c0203efc.js","../chunks/parse-with-big-int.bccd89af.js","../chunks/route-for.8244bd54.js"],import.meta.url),()=>u(()=>import("../chunks/19.50c090fa.js"),["../chunks/19.50c090fa.js","../chunks/_page.bd101315.js","../chunks/namespaces-service.af8fc337.js","../chunks/namespaces.08ac61f9.js","../chunks/index.c0615b9d.js","../chunks/index.efded970.js","../chunks/persist-store.c0203efc.js","../chunks/parse-with-big-int.bccd89af.js","../chunks/toaster.fd2b66a2.js","../chunks/paginated.2a1d18a2.js","../chunks/route-for-api.28fc22fc.js","../chunks/route-for.8244bd54.js","../chunks/paths.898c1036.js","../chunks/auth-user.2a42bf1d.js","../chunks/has.f5323580.js","../chunks/is.ba28a1ea.js","../chunks/is-network-error.900fb374.js","../chunks/stores.3002bd93.js","../chunks/singletons.b88fa2bd.js","./(app)-namespaces-_namespace_-page.svelte.f73dc67e.js","../chunks/page-title.a6dec5b5.js","../chunks/badge.72fa1965.js","../assets/badge.bfa9122b.css","../chunks/table-header-row.b413d43a.js","../assets/table-header-row.6ba6477c.css","../chunks/table-row.6be25099.js","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/search-attributes.9143d253.js","../chunks/settings.f4bcc2b2.js","../chunks/versions.44d896b4.js","../chunks/cluster.728f7d8f.js","../chunks/format-time.8258873a.js","../assets/_page.c4e4432a.css"],import.meta.url),()=>u(()=>import("../chunks/20.3e1a1150.js"),["../chunks/20.3e1a1150.js","../chunks/_page.bb4fbdea.js","../chunks/namespaces-service.af8fc337.js","../chunks/namespaces.08ac61f9.js","../chunks/index.c0615b9d.js","../chunks/index.efded970.js","../chunks/persist-store.c0203efc.js","../chunks/parse-with-big-int.bccd89af.js","../chunks/toaster.fd2b66a2.js","../chunks/paginated.2a1d18a2.js","../chunks/route-for-api.28fc22fc.js","../chunks/route-for.8244bd54.js","../chunks/paths.898c1036.js","../chunks/auth-user.2a42bf1d.js","../chunks/has.f5323580.js","../chunks/is.ba28a1ea.js","../chunks/is-network-error.900fb374.js","../chunks/stores.3002bd93.js","../chunks/singletons.b88fa2bd.js","../chunks/workflow-service.db6f5d3e.js","../chunks/decode-payload.8b7fbb10.js","../chunks/data-converter-config.936a36a2.js","../chunks/data-encoder-config.ddfdfd14.js","../chunks/atob.3846ac29.js","../chunks/settings.f4bcc2b2.js","../chunks/simplify-attributes.d3ff8bf3.js","../chunks/format-date.be4b741e.js","../chunks/format-time.8258873a.js","../chunks/version-check.d006b302.js","../chunks/cluster.728f7d8f.js","../chunks/versions.44d896b4.js","./(app)-namespaces-_namespace_-archival-page.svelte.c81727e0.js","../chunks/page-title.a6dec5b5.js","../chunks/index.eb59ea6d.js","../chunks/navigation.85b47b98.js","../chunks/workflow-status.792f3956.js","../chunks/button.a4f5a3d4.js","../chunks/badge.72fa1965.js","../assets/badge.bfa9122b.css","../chunks/icon.91a9bf44.js","../assets/button.386e08e4.css","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../assets/workflow-status.80899fb7.css","../chunks/copy-to-clipboard.d2168786.js","../chunks/link.cac19769.js","../assets/link.2791f859.css","../chunks/table-row.6be25099.js","../chunks/workflows.6800ca9a.js","../chunks/pagination.e9c8b93a.js","../chunks/simple-select.35d563b9.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/table-header-row.b413d43a.js","../assets/table-header-row.6ba6477c.css","../chunks/input.f4d0de9f.js","../chunks/icon-button.091b93c1.js","../assets/icon-button.16bef21d.css","../assets/input.19df62ce.css","../assets/index.d6094a94.css","../chunks/code-block.cc2ffee9.js","../assets/code-block.86c182bf.css","../chunks/empty-state.22810bcf.js","../assets/_page.c5268cbc.css"],import.meta.url),()=>u(()=>import("../chunks/21.67b7fc12.js"),["../chunks/21.67b7fc12.js","./(app)-namespaces-_namespace_-schedules-page.svelte.1a02f818.js","../chunks/index.efded970.js","../chunks/stores.3002bd93.js","../chunks/singletons.b88fa2bd.js","../chunks/index.c0615b9d.js","../chunks/paths.898c1036.js","../chunks/page-title.a6dec5b5.js","../chunks/navigation.85b47b98.js","../chunks/workflow-status.792f3956.js","../chunks/button.a4f5a3d4.js","../chunks/badge.72fa1965.js","../assets/badge.bfa9122b.css","../chunks/icon.91a9bf44.js","../assets/button.386e08e4.css","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/is.ba28a1ea.js","../assets/workflow-status.80899fb7.css","../chunks/link.cac19769.js","../assets/link.2791f859.css","../chunks/table-row.6be25099.js","../chunks/format-date.be4b741e.js","../chunks/persist-store.c0203efc.js","../chunks/parse-with-big-int.bccd89af.js","../chunks/format-time.8258873a.js","../chunks/has.f5323580.js","../chunks/route-for.8244bd54.js","../chunks/schedule-service.ccc6562c.js","../chunks/code-block.cc2ffee9.js","../chunks/copy-to-clipboard.d2168786.js","../assets/code-block.86c182bf.css","../chunks/route-for-api.28fc22fc.js","../chunks/auth-user.2a42bf1d.js","../chunks/toaster.fd2b66a2.js","../chunks/is-network-error.900fb374.js","../chunks/table-header-row.b413d43a.js","../assets/table-header-row.6ba6477c.css","../chunks/empty-state.22810bcf.js","../chunks/input.f4d0de9f.js","../chunks/icon-button.091b93c1.js","../assets/icon-button.16bef21d.css","../assets/input.19df62ce.css","../chunks/loading.32266c92.js","../chunks/pagination.e9c8b93a.js","../chunks/simple-select.35d563b9.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/core-user.c3fa437a.js","../assets/_page.af190463.css"],import.meta.url),()=>u(()=>import("../chunks/22.ac3a8d62.js"),["../chunks/22.ac3a8d62.js","./(app)-namespaces-_namespace_-schedules-_schedule_-page.svelte.d8f45c1a.js","../chunks/index.efded970.js","../chunks/stores.3002bd93.js","../chunks/singletons.b88fa2bd.js","../chunks/index.c0615b9d.js","../chunks/paths.898c1036.js","../chunks/page-title.a6dec5b5.js","../chunks/navigation.85b47b98.js","../chunks/accordion.0b47b9b3.js","../chunks/badge.72fa1965.js","../assets/badge.bfa9122b.css","../chunks/icon.91a9bf44.js","../chunks/toaster.fd2b66a2.js","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/is.ba28a1ea.js","../chunks/schedule-service.ccc6562c.js","../chunks/code-block.cc2ffee9.js","../chunks/copy-to-clipboard.d2168786.js","../chunks/parse-with-big-int.bccd89af.js","../assets/code-block.86c182bf.css","../chunks/route-for-api.28fc22fc.js","../chunks/route-for.8244bd54.js","../chunks/auth-user.2a42bf1d.js","../chunks/persist-store.c0203efc.js","../chunks/has.f5323580.js","../chunks/is-network-error.900fb374.js","../chunks/empty-state.22810bcf.js","../chunks/link.cac19769.js","../assets/link.2791f859.css","../chunks/workflow-service.db6f5d3e.js","../chunks/decode-payload.8b7fbb10.js","../chunks/data-converter-config.936a36a2.js","../chunks/data-encoder-config.ddfdfd14.js","../chunks/atob.3846ac29.js","../chunks/settings.f4bcc2b2.js","../chunks/simplify-attributes.d3ff8bf3.js","../chunks/format-date.be4b741e.js","../chunks/format-time.8258873a.js","../chunks/version-check.d006b302.js","../chunks/cluster.728f7d8f.js","../chunks/versions.44d896b4.js","../chunks/workflow-status.792f3956.js","../chunks/button.a4f5a3d4.js","../assets/button.386e08e4.css","../assets/workflow-status.80899fb7.css","../chunks/loading.32266c92.js","../chunks/menu.9d531fff.js","../assets/menu.6266803e.css","../chunks/modal.e8d88b85.js","../chunks/icon-button.091b93c1.js","../assets/icon-button.16bef21d.css","../assets/modal.a1162225.css","../chunks/split-button.c1a13603.js","../assets/split-button.8566e410.css","../chunks/core-user.c3fa437a.js","../chunks/schedules.80c3a2f9.js","../assets/_page.8e3b0af3.css"],import.meta.url),()=>u(()=>import("../chunks/23.cf0df484.js"),["../chunks/23.cf0df484.js","./(app)-namespaces-_namespace_-schedules-_schedule_-edit-page.svelte.94375227.js","../chunks/index.efded970.js","../chunks/stores.3002bd93.js","../chunks/singletons.b88fa2bd.js","../chunks/index.c0615b9d.js","../chunks/paths.898c1036.js","../chunks/page-title.a6dec5b5.js","../chunks/schedule-form-view.f726ab1f.js","../chunks/input.f4d0de9f.js","../chunks/icon.91a9bf44.js","../chunks/copy-to-clipboard.d2168786.js","../chunks/icon-button.091b93c1.js","../assets/icon-button.16bef21d.css","../assets/input.19df62ce.css","../chunks/tab.492ff65b.js","../chunks/is.ba28a1ea.js","../assets/tab.8436f1bf.css","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/calendar.81d1e381.js","../chunks/toggle-buttons.59bb67f3.js","../assets/toggle-buttons.1415ce75.css","../chunks/schedule-service.ccc6562c.js","../chunks/code-block.cc2ffee9.js","../chunks/parse-with-big-int.bccd89af.js","../assets/code-block.86c182bf.css","../chunks/route-for-api.28fc22fc.js","../chunks/route-for.8244bd54.js","../chunks/auth-user.2a42bf1d.js","../chunks/persist-store.c0203efc.js","../chunks/toaster.fd2b66a2.js","../chunks/has.f5323580.js","../chunks/is-network-error.900fb374.js","../chunks/option.ccff5056.js","../chunks/badge.72fa1965.js","../assets/badge.bfa9122b.css","../chunks/menu.9d531fff.js","../assets/menu.6266803e.css","../assets/option.20882847.css","../chunks/alert.0a6aa272.js","../assets/alert.303275c8.css","../chunks/button.a4f5a3d4.js","../assets/button.386e08e4.css","../chunks/link.cac19769.js","../assets/link.2791f859.css","../chunks/loading.32266c92.js","../chunks/schedules.80c3a2f9.js","../chunks/navigation.85b47b98.js","../assets/schedule-form-view.6d80008f.css"],import.meta.url),()=>u(()=>import("../chunks/24.c20ba878.js"),["../chunks/24.c20ba878.js","./(app)-namespaces-_namespace_-schedules-create-page.svelte.decd423e.js","../chunks/index.efded970.js","../chunks/stores.3002bd93.js","../chunks/singletons.b88fa2bd.js","../chunks/index.c0615b9d.js","../chunks/paths.898c1036.js","../chunks/page-title.a6dec5b5.js","../chunks/schedule-form-view.f726ab1f.js","../chunks/input.f4d0de9f.js","../chunks/icon.91a9bf44.js","../chunks/copy-to-clipboard.d2168786.js","../chunks/icon-button.091b93c1.js","../assets/icon-button.16bef21d.css","../assets/input.19df62ce.css","../chunks/tab.492ff65b.js","../chunks/is.ba28a1ea.js","../assets/tab.8436f1bf.css","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/calendar.81d1e381.js","../chunks/toggle-buttons.59bb67f3.js","../assets/toggle-buttons.1415ce75.css","../chunks/schedule-service.ccc6562c.js","../chunks/code-block.cc2ffee9.js","../chunks/parse-with-big-int.bccd89af.js","../assets/code-block.86c182bf.css","../chunks/route-for-api.28fc22fc.js","../chunks/route-for.8244bd54.js","../chunks/auth-user.2a42bf1d.js","../chunks/persist-store.c0203efc.js","../chunks/toaster.fd2b66a2.js","../chunks/has.f5323580.js","../chunks/is-network-error.900fb374.js","../chunks/option.ccff5056.js","../chunks/badge.72fa1965.js","../assets/badge.bfa9122b.css","../chunks/menu.9d531fff.js","../assets/menu.6266803e.css","../assets/option.20882847.css","../chunks/alert.0a6aa272.js","../assets/alert.303275c8.css","../chunks/button.a4f5a3d4.js","../assets/button.386e08e4.css","../chunks/link.cac19769.js","../assets/link.2791f859.css","../chunks/loading.32266c92.js","../chunks/schedules.80c3a2f9.js","../chunks/navigation.85b47b98.js","../assets/schedule-form-view.6d80008f.css"],import.meta.url),()=>u(()=>import("../chunks/25.fc8512fd.js"),["../chunks/25.fc8512fd.js","./(app)-namespaces-_namespace_-task-queues-page.svelte.6da82afd.js","../chunks/index.efded970.js"],import.meta.url),()=>u(()=>import("../chunks/26.c9567010.js"),["../chunks/26.c9567010.js","./(app)-namespaces-_namespace_-task-queues-_queue_-page.svelte.f0279b73.js","../chunks/index.efded970.js","../chunks/stores.3002bd93.js","../chunks/singletons.b88fa2bd.js","../chunks/index.c0615b9d.js","../chunks/paths.898c1036.js","../chunks/page-title.a6dec5b5.js","../chunks/workers-list.b54d3495.js","../chunks/badge.72fa1965.js","../assets/badge.bfa9122b.css","../chunks/pollers-service.6835f4ba.js","../chunks/icon.91a9bf44.js","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/is.ba28a1ea.js","../chunks/route-for-api.28fc22fc.js","../chunks/route-for.8244bd54.js","../chunks/auth-user.2a42bf1d.js","../chunks/persist-store.c0203efc.js","../chunks/parse-with-big-int.bccd89af.js","../chunks/toaster.fd2b66a2.js","../chunks/has.f5323580.js","../chunks/is-network-error.900fb374.js","../assets/pollers-service.3f93e67d.css","../chunks/empty-state.22810bcf.js","../chunks/table-header-row.b413d43a.js","../assets/table-header-row.6ba6477c.css","../chunks/table-row.6be25099.js","../chunks/format-date.be4b741e.js","../chunks/format-time.8258873a.js","../chunks/task-queue-compatibility.cf5696f8.js","../assets/workers-list.7dbb8f48.css"],import.meta.url),()=>u(()=>import("../chunks/27.cf61f122.js"),["../chunks/27.cf61f122.js","../chunks/_page.b14944b6.js","./(app)-namespaces-_namespace_-workflows-page.svelte.3c99401c.js","../chunks/index.efded970.js","../chunks/stores.3002bd93.js","../chunks/singletons.b88fa2bd.js","../chunks/index.c0615b9d.js","../chunks/paths.898c1036.js","../chunks/workflow-service.db6f5d3e.js","../chunks/decode-payload.8b7fbb10.js","../chunks/data-converter-config.936a36a2.js","../chunks/persist-store.c0203efc.js","../chunks/parse-with-big-int.bccd89af.js","../chunks/data-encoder-config.ddfdfd14.js","../chunks/atob.3846ac29.js","../chunks/route-for.8244bd54.js","../chunks/has.f5323580.js","../chunks/is.ba28a1ea.js","../chunks/settings.f4bcc2b2.js","../chunks/simplify-attributes.d3ff8bf3.js","../chunks/format-date.be4b741e.js","../chunks/format-time.8258873a.js","../chunks/route-for-api.28fc22fc.js","../chunks/auth-user.2a42bf1d.js","../chunks/toaster.fd2b66a2.js","../chunks/is-network-error.900fb374.js","../chunks/version-check.d006b302.js","../chunks/cluster.728f7d8f.js","../chunks/versions.44d896b4.js","../chunks/page-title.a6dec5b5.js","../chunks/input.f4d0de9f.js","../chunks/icon.91a9bf44.js","../chunks/copy-to-clipboard.d2168786.js","../chunks/icon-button.091b93c1.js","../assets/icon-button.16bef21d.css","../assets/input.19df62ce.css","../chunks/modal.e8d88b85.js","../chunks/button.a4f5a3d4.js","../chunks/badge.72fa1965.js","../assets/badge.bfa9122b.css","../assets/button.386e08e4.css","../assets/modal.a1162225.css","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/workflow-terminate-enabled.d56fddc4.js","../chunks/menu.9d531fff.js","../assets/menu.6266803e.css","../chunks/calendar.81d1e381.js","../chunks/drawer.d5a49f69.js","../chunks/labs-mode.38f06555.js","../assets/drawer.96194c4d.css","../chunks/menu-divider.99a2857a.js","../chunks/toggle-buttons.59bb67f3.js","../assets/toggle-buttons.1415ce75.css","../chunks/filters.2e8e7341.js","../chunks/index.eb59ea6d.js","../chunks/navigation.85b47b98.js","../chunks/workflow-status.792f3956.js","../assets/workflow-status.80899fb7.css","../chunks/link.cac19769.js","../assets/link.2791f859.css","../chunks/table-row.6be25099.js","../chunks/workflows.6800ca9a.js","../chunks/pagination.e9c8b93a.js","../chunks/simple-select.35d563b9.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/table-header-row.b413d43a.js","../assets/table-header-row.6ba6477c.css","../assets/index.d6094a94.css","../chunks/toggle-switch.f8f2487a.js","../assets/toggle-switch.ff91b31f.css","../chunks/search-attributes.9143d253.js","../chunks/option.ccff5056.js","../assets/option.20882847.css","../chunks/omit.6cf41932.js","../chunks/alert.0a6aa272.js","../assets/alert.303275c8.css","../chunks/loading.32266c92.js","../chunks/namespaces.08ac61f9.js","../chunks/core-user.c3fa437a.js","../chunks/empty-state.22810bcf.js","../assets/_page.f4b5a965.css"],import.meta.url),()=>u(()=>import("../chunks/28.ceba7c36.js"),["../chunks/28.ceba7c36.js","../chunks/_page.a593dedb.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/workflow-service.db6f5d3e.js","../chunks/index.efded970.js","../chunks/decode-payload.8b7fbb10.js","../chunks/data-converter-config.936a36a2.js","../chunks/index.c0615b9d.js","../chunks/persist-store.c0203efc.js","../chunks/parse-with-big-int.bccd89af.js","../chunks/data-encoder-config.ddfdfd14.js","../chunks/atob.3846ac29.js","../chunks/route-for.8244bd54.js","../chunks/paths.898c1036.js","../chunks/has.f5323580.js","../chunks/is.ba28a1ea.js","../chunks/settings.f4bcc2b2.js","../chunks/simplify-attributes.d3ff8bf3.js","../chunks/format-date.be4b741e.js","../chunks/format-time.8258873a.js","../chunks/route-for-api.28fc22fc.js","../chunks/auth-user.2a42bf1d.js","../chunks/toaster.fd2b66a2.js","../chunks/is-network-error.900fb374.js","../chunks/stores.3002bd93.js","../chunks/singletons.b88fa2bd.js","../chunks/version-check.d006b302.js","../chunks/cluster.728f7d8f.js","../chunks/versions.44d896b4.js"],import.meta.url),()=>u(()=>import("../chunks/29.889a89e3.js"),["../chunks/29.889a89e3.js","../chunks/_page.2bedfed4.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-page.svelte.6da82afd.js","../chunks/index.efded970.js"],import.meta.url),()=>u(()=>import("../chunks/30.a43def10.js"),["../chunks/30.a43def10.js","../chunks/_page.ed77219c.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-page.svelte.7fc8428a.js","../chunks/index.efded970.js","../chunks/stores.3002bd93.js","../chunks/singletons.b88fa2bd.js","../chunks/index.c0615b9d.js","../chunks/paths.898c1036.js","../chunks/page-title.a6dec5b5.js","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/is.ba28a1ea.js","../chunks/button.a4f5a3d4.js","../chunks/badge.72fa1965.js","../assets/badge.bfa9122b.css","../chunks/icon.91a9bf44.js","../assets/button.386e08e4.css","../chunks/index.aabaaaa7.js","../chunks/has.f5323580.js","../chunks/is-event-type.4dbe973b.js","../chunks/format-time.8258873a.js","../chunks/event-view.de9a16d6.js","../chunks/persist-store.c0203efc.js","../chunks/parse-with-big-int.bccd89af.js","../chunks/workflow-run.3d1553b6.js","../chunks/format-camel-case.887ffc78.js","../chunks/drawer.d5a49f69.js","../chunks/labs-mode.38f06555.js","../chunks/menu.9d531fff.js","../assets/menu.6266803e.css","../chunks/icon-button.091b93c1.js","../assets/icon-button.16bef21d.css","../assets/drawer.96194c4d.css","../chunks/tooltip.407e84a1.js","../chunks/copyable.6f6014ce.js","../chunks/copy-to-clipboard.d2168786.js","../assets/tooltip.78399487.css","../chunks/code-block.cc2ffee9.js","../assets/code-block.86c182bf.css","../chunks/link.cac19769.js","../assets/link.2791f859.css","../chunks/format-date.be4b741e.js","../chunks/format-event-attributes.1d147cb1.js","../chunks/route-for.8244bd54.js","../chunks/to-time-difference.be87d1bf.js","../chunks/pagination.e9c8b93a.js","../chunks/navigation.85b47b98.js","../chunks/simple-select.35d563b9.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/table-header-row.b413d43a.js","../assets/table-header-row.6ba6477c.css","../chunks/table-row.6be25099.js","../chunks/workflow-status.792f3956.js","../assets/workflow-status.80899fb7.css","../chunks/accordion.0b47b9b3.js","../chunks/toaster.fd2b66a2.js","../chunks/alert.0a6aa272.js","../assets/alert.303275c8.css","../chunks/task-queue-compatibility.cf5696f8.js","../chunks/event-summary-table.98f53565.js","../chunks/empty-state.22810bcf.js","../chunks/loading.32266c92.js","../chunks/get-event-categorization.35f43125.js","../chunks/filters.2e8e7341.js","../chunks/versions.44d896b4.js","../chunks/cluster.728f7d8f.js","../chunks/settings.f4bcc2b2.js","../chunks/version-check.d006b302.js","../chunks/menu-divider.99a2857a.js","../assets/event-summary-table.4456dbde.css","../chunks/toggle-buttons.59bb67f3.js","../assets/toggle-buttons.1415ce75.css","../chunks/auth-user.2a42bf1d.js","../chunks/events-service.31abcdb2.js","../chunks/index.8ae24503.js","../chunks/data-encoder-config.ddfdfd14.js","../chunks/decode-payload.8b7fbb10.js","../chunks/data-converter-config.936a36a2.js","../chunks/atob.3846ac29.js","../chunks/get-codec.19c43d34.js","../chunks/simplify-attributes.d3ff8bf3.js","../chunks/paginated.2a1d18a2.js","../chunks/route-for-api.28fc22fc.js","../chunks/is-network-error.900fb374.js","../chunks/namespaces.08ac61f9.js","../chunks/workflow-json-navigator.2b49c9a5.js","../chunks/omit.6cf41932.js","../assets/workflow-json-navigator.a85b4b27.css","../chunks/toggle-switch.f8f2487a.js","../assets/toggle-switch.ff91b31f.css","../assets/_page.7e33bb44.css"],import.meta.url),()=>u(()=>import("../chunks/31.8ab3f0ee.js"),["../chunks/31.8ab3f0ee.js","../chunks/_page.4d00784b.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for.8244bd54.js","../chunks/paths.898c1036.js"],import.meta.url),()=>u(()=>import("../chunks/32.8ab3f0ee.js"),["../chunks/32.8ab3f0ee.js","../chunks/_page.9ffea987.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for.8244bd54.js","../chunks/paths.898c1036.js"],import.meta.url),()=>u(()=>import("../chunks/33.8ab3f0ee.js"),["../chunks/33.8ab3f0ee.js","../chunks/_page.a85e69cb.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for.8244bd54.js","../chunks/paths.898c1036.js"],import.meta.url),()=>u(()=>import("../chunks/34.d765ae9e.js"),["../chunks/34.d765ae9e.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-pending-activities-page.svelte.34b951f7.js","../chunks/index.efded970.js","../chunks/stores.3002bd93.js","../chunks/singletons.b88fa2bd.js","../chunks/index.c0615b9d.js","../chunks/paths.898c1036.js","../chunks/page-title.a6dec5b5.js","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/is.ba28a1ea.js","../chunks/badge.72fa1965.js","../assets/badge.bfa9122b.css","../chunks/code-block.cc2ffee9.js","../chunks/icon.91a9bf44.js","../chunks/copy-to-clipboard.d2168786.js","../chunks/parse-with-big-int.bccd89af.js","../assets/code-block.86c182bf.css","../chunks/empty-state.22810bcf.js","../chunks/link.cac19769.js","../assets/link.2791f859.css","../chunks/table-header-row.b413d43a.js","../assets/table-header-row.6ba6477c.css","../chunks/table-row.6be25099.js","../chunks/format-date.be4b741e.js","../chunks/persist-store.c0203efc.js","../chunks/format-time.8258873a.js","../chunks/has.f5323580.js","../chunks/workflow-run.3d1553b6.js","../chunks/format-event-attributes.1d147cb1.js","../chunks/format-camel-case.887ffc78.js","../chunks/index.aabaaaa7.js","../chunks/is-event-type.4dbe973b.js","../chunks/to-time-difference.be87d1bf.js","../assets/_page.682a0c0d.css"],import.meta.url),()=>u(()=>import("../chunks/35.fafe3802.js"),["../chunks/35.fafe3802.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-query-page.svelte.93f08733.js","../chunks/index.efded970.js","../chunks/stores.3002bd93.js","../chunks/singletons.b88fa2bd.js","../chunks/index.c0615b9d.js","../chunks/paths.898c1036.js","../chunks/page-title.a6dec5b5.js","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/is.ba28a1ea.js","../chunks/button.a4f5a3d4.js","../chunks/badge.72fa1965.js","../assets/badge.bfa9122b.css","../chunks/icon.91a9bf44.js","../assets/button.386e08e4.css","../chunks/code-block.cc2ffee9.js","../chunks/copy-to-clipboard.d2168786.js","../chunks/parse-with-big-int.bccd89af.js","../assets/code-block.86c182bf.css","../chunks/empty-state.22810bcf.js","../chunks/loading.32266c92.js","../chunks/simple-select.35d563b9.js","../assets/simple-select.51b2afe1.css","../chunks/toggle-switch.f8f2487a.js","../assets/toggle-switch.ff91b31f.css","../chunks/query-service.cc6baea4.js","../chunks/data-encoder-config.ddfdfd14.js","../chunks/persist-store.c0203efc.js","../chunks/decode-payload.8b7fbb10.js","../chunks/data-converter-config.936a36a2.js","../chunks/atob.3846ac29.js","../chunks/route-for.8244bd54.js","../chunks/has.f5323580.js","../chunks/get-codec.19c43d34.js","../chunks/route-for-api.28fc22fc.js","../chunks/auth-user.2a42bf1d.js","../chunks/toaster.fd2b66a2.js","../chunks/is-network-error.900fb374.js"],import.meta.url),()=>u(()=>import("../chunks/36.1b6c0f0c.js"),["../chunks/36.1b6c0f0c.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-stack-trace-page.svelte.2eb6fdb4.js","../chunks/index.efded970.js","../chunks/stores.3002bd93.js","../chunks/singletons.b88fa2bd.js","../chunks/index.c0615b9d.js","../chunks/paths.898c1036.js","../chunks/page-title.a6dec5b5.js","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/is.ba28a1ea.js","../chunks/button.a4f5a3d4.js","../chunks/badge.72fa1965.js","../assets/badge.bfa9122b.css","../chunks/icon.91a9bf44.js","../assets/button.386e08e4.css","../chunks/code-block.cc2ffee9.js","../chunks/copy-to-clipboard.d2168786.js","../chunks/parse-with-big-int.bccd89af.js","../assets/code-block.86c182bf.css","../chunks/empty-state.22810bcf.js","../chunks/link.cac19769.js","../assets/link.2791f859.css","../chunks/loading.32266c92.js","../chunks/query-service.cc6baea4.js","../chunks/data-encoder-config.ddfdfd14.js","../chunks/persist-store.c0203efc.js","../chunks/decode-payload.8b7fbb10.js","../chunks/data-converter-config.936a36a2.js","../chunks/atob.3846ac29.js","../chunks/route-for.8244bd54.js","../chunks/has.f5323580.js","../chunks/get-codec.19c43d34.js","../chunks/route-for-api.28fc22fc.js","../chunks/auth-user.2a42bf1d.js","../chunks/toaster.fd2b66a2.js","../chunks/is-network-error.900fb374.js","../chunks/workflow-run.3d1553b6.js"],import.meta.url),()=>u(()=>import("../chunks/37.3e52c74e.js"),["../chunks/37.3e52c74e.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-workers-page.svelte.09b1b47c.js","../chunks/index.efded970.js","../chunks/stores.3002bd93.js","../chunks/singletons.b88fa2bd.js","../chunks/index.c0615b9d.js","../chunks/paths.898c1036.js","../chunks/page-title.a6dec5b5.js","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/is.ba28a1ea.js","../chunks/workers-list.b54d3495.js","../chunks/badge.72fa1965.js","../assets/badge.bfa9122b.css","../chunks/pollers-service.6835f4ba.js","../chunks/icon.91a9bf44.js","../chunks/route-for-api.28fc22fc.js","../chunks/route-for.8244bd54.js","../chunks/auth-user.2a42bf1d.js","../chunks/persist-store.c0203efc.js","../chunks/parse-with-big-int.bccd89af.js","../chunks/toaster.fd2b66a2.js","../chunks/has.f5323580.js","../chunks/is-network-error.900fb374.js","../assets/pollers-service.3f93e67d.css","../chunks/empty-state.22810bcf.js","../chunks/table-header-row.b413d43a.js","../assets/table-header-row.6ba6477c.css","../chunks/table-row.6be25099.js","../chunks/format-date.be4b741e.js","../chunks/format-time.8258873a.js","../chunks/task-queue-compatibility.cf5696f8.js","../assets/workers-list.7dbb8f48.css","../chunks/workflow-run.3d1553b6.js"],import.meta.url),()=>u(()=>import("../chunks/38.131ef7b3.js"),["../chunks/38.131ef7b3.js","./(app)-select-namespace-page.svelte.2d4f801d.js","../chunks/index.efded970.js","../chunks/navigation.85b47b98.js","../chunks/singletons.b88fa2bd.js","../chunks/index.c0615b9d.js","../chunks/paths.898c1036.js","../chunks/stores.3002bd93.js","../chunks/page-title.a6dec5b5.js","../chunks/empty-state.22810bcf.js","../chunks/icon.91a9bf44.js","../chunks/input.f4d0de9f.js","../chunks/copy-to-clipboard.d2168786.js","../chunks/icon-button.091b93c1.js","../assets/icon-button.16bef21d.css","../assets/input.19df62ce.css","../chunks/translate.230dcc19.js","../chunks/index.94de4f62.js","../chunks/is.ba28a1ea.js","../chunks/workflow-service.db6f5d3e.js","../chunks/decode-payload.8b7fbb10.js","../chunks/data-converter-config.936a36a2.js","../chunks/persist-store.c0203efc.js","../chunks/parse-with-big-int.bccd89af.js","../chunks/data-encoder-config.ddfdfd14.js","../chunks/atob.3846ac29.js","../chunks/route-for.8244bd54.js","../chunks/has.f5323580.js","../chunks/settings.f4bcc2b2.js","../chunks/simplify-attributes.d3ff8bf3.js","../chunks/format-date.be4b741e.js","../chunks/format-time.8258873a.js","../chunks/route-for-api.28fc22fc.js","../chunks/auth-user.2a42bf1d.js","../chunks/toaster.fd2b66a2.js","../chunks/is-network-error.900fb374.js","../chunks/version-check.d006b302.js","../chunks/cluster.728f7d8f.js","../chunks/versions.44d896b4.js","../chunks/namespaces.08ac61f9.js","../assets/_page.8ed620ce.css"],import.meta.url),()=>u(()=>import("../chunks/39.3284deeb.js"),["../chunks/39.3284deeb.js","./(login)-login-page.svelte.e01a1fa8.js","../chunks/index.efded970.js","../chunks/stores.3002bd93.js","../chunks/singletons.b88fa2bd.js","../chunks/index.c0615b9d.js","../chunks/paths.898c1036.js","../chunks/logo.0c03f549.js","../chunks/icon.91a9bf44.js","../assets/logo.4e0dbf07.css","../chunks/page-title.a6dec5b5.js","../chunks/button.a4f5a3d4.js","../chunks/badge.72fa1965.js","../assets/badge.bfa9122b.css","../assets/button.386e08e4.css","../chunks/route-for.8244bd54.js"],import.meta.url),()=>u(()=>import("../chunks/40.23fa8249.js"),["../chunks/40.23fa8249.js","./(login)-signin-page.svelte.e01a1fa8.js","../chunks/index.efded970.js","../chunks/stores.3002bd93.js","../chunks/singletons.b88fa2bd.js","../chunks/index.c0615b9d.js","../chunks/paths.898c1036.js","../chunks/logo.0c03f549.js","../chunks/icon.91a9bf44.js","../assets/logo.4e0dbf07.css","../chunks/page-title.a6dec5b5.js","../chunks/button.a4f5a3d4.js","../chunks/badge.72fa1965.js","../assets/badge.bfa9122b.css","../assets/button.386e08e4.css","../chunks/route-for.8244bd54.js"],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.2139d378.js b/ui/assets/local/_app/immutable/entry/start.0999ca5f.js similarity index 99% rename from ui/assets/local/_app/immutable/entry/start.2139d378.js rename to ui/assets/local/_app/immutable/entry/start.0999ca5f.js index aadbe51ade..3d98c93084 100644 --- a/ui/assets/local/_app/immutable/entry/start.2139d378.js +++ b/ui/assets/local/_app/immutable/entry/start.0999ca5f.js @@ -1,3 +1,3 @@ -import{o as Ce,t as se}from"../chunks/index.efded970.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.96ee7baa.js";import{b as z}from"../chunks/paths.988b483c.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.efded970.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.b88fa2bd.js";import{b as z}from"../chunks/paths.898c1036.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 076ba010fa..36f00f5009 100644 --- a/ui/assets/local/_app/version.json +++ b/ui/assets/local/_app/version.json @@ -1 +1 @@ -{"version":"1694455467065"} \ No newline at end of file +{"version":"1694525300293"} \ No newline at end of file diff --git a/ui/assets/local/index.html b/ui/assets/local/index.html index a2bce5408a..8241e96aa1 100644 --- a/ui/assets/local/index.html +++ b/ui/assets/local/index.html @@ -4,30 +4,30 @@ - + - + - + - +