mage-ai 0.9.47__py3-none-any.whl → 0.9.48__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of mage-ai might be problematic. Click here for more details.
- mage_ai/api/presenters/PipelinePresenter.py +1 -0
- mage_ai/data_preparation/executors/block_executor.py +21 -1
- mage_ai/data_preparation/executors/pipeline_executor.py +19 -4
- mage_ai/data_preparation/models/block/__init__.py +50 -20
- mage_ai/data_preparation/models/block/data_integration/mixins.py +6 -6
- mage_ai/data_preparation/models/block/data_integration/utils.py +2 -2
- mage_ai/data_preparation/models/block/sql/bigquery.py +2 -2
- mage_ai/data_preparation/models/block/sql/snowflake.py +2 -2
- mage_ai/data_preparation/models/block/sql/trino.py +2 -2
- mage_ai/data_preparation/models/block/sql/utils/shared.py +2 -2
- mage_ai/data_preparation/models/block/utils.py +25 -16
- mage_ai/data_preparation/models/pipeline.py +5 -0
- mage_ai/data_preparation/models/project/__init__.py +0 -2
- mage_ai/io/chroma.py +13 -4
- mage_ai/orchestration/db/models/schedules.py +71 -0
- mage_ai/orchestration/pipeline_scheduler.py +1 -70
- mage_ai/server/constants.py +1 -1
- mage_ai/server/frontend_dist/404.html +2 -2
- mage_ai/server/frontend_dist/_next/static/chunks/1952-0f9a12782f0aaae6.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/2717-14191a781cf2f286.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/3419-a7a52bcaaa687b07.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/3437-e81a62f33337ca06.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/3943-3cb1f765210dd7a4.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/4138-2c16e6d2f22246cd.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/{5499-76cf8f023c6b0985.js → 5499-c2853ef57d39fde8.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/6990-303bb87fc50f1755.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/{7858-d9df72e95e438284.js → 7858-26a5a5d04fa3c703.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/8264-9d6a7cea289e29ff.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/8487-608d62c0eef1f29a.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/{1845-5ce774d5ab81ed57.js → 8731-2f78ec7b7760be8f.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/90-93d18aaecef0685b.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/{9264-cc44b07f248707b0.js → 9264-727704fc34e74ae0.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/9624-48fba6b4e6966fb7.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/{_app-78c4a077a2f279c2.js → _app-8254de4f793643d0.js} +1 -1
- mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/block-layout-a24cb24b6f08bbc9.js → frontend_dist/_next/static/chunks/pages/block-layout-b926f6eb1ee9a53b.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/compute-a9402b51e9fe748e.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/{files-b37d221eb5ddc248.js → files-85cecae037fd7a70.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/global-data-products/{[...slug]-cfd68e760ae00958.js → [...slug]-c3c9523ea8072c11.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/{global-data-products-c3b79ef31007f95b.js → global-data-products-4d046f15202a1c8d.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/global-hooks/{[...slug]-7adc543fc490367a.js → [...slug]-286133386c97a2b6.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/global-hooks-3da370825153056c.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/{files-fe6e73463a20d67c.js → files-39b73da5a15590f6.js} +1 -1
- mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/manage/settings-60845f0b59142f32.js → frontend_dist/_next/static/chunks/pages/manage/settings-666748ff5d101411.js} +1 -1
- mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/manage/users/[user]-9384c5f1efa2ac18.js → frontend_dist/_next/static/chunks/pages/manage/users/[user]-be27631e67dbe070.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/users/{new-abd8571907664fdf.js → new-1932ce64823b372b.js} +1 -1
- mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/manage/users-28a930b148d99766.js → frontend_dist/_next/static/chunks/pages/manage/users-ed509c75cf23f0f5.js} +1 -1
- mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/manage-d8a38b5d1f50e798.js → frontend_dist/_next/static/chunks/pages/manage-1feebec1124123fc.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/{oauth-8bb62c4f6a511c43.js → oauth-e9b8f19c30381c28.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/{overview-f0c40645f385f23f.js → overview-7b2ba2d5405c05fe.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipeline-runs-70fc3351bd11025f.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/backfills/[...slug]-6ee3b88a5bb4ce94.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/backfills-c9cf383bc13ce7b8.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/{dashboard-571c0962333b92f0.js → dashboard-7bca6f718b939934.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/edit-c119f630038b0685.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/logs-146051325c92d742.js +1 -0
- mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runs-ddddcddd2f74b4f6.js → frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runs-15d307e6ba934a56.js} +1 -1
- mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runtime-4a238307feddb522.js → frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runtime-f6196e563b960e5c.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/{monitors-6d1afeb4a84f50f7.js → monitors-25dbd73201d99e80.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/runs/[run]-06e55db757959ef8.js +1 -0
- mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/runs-2d20b2cd08907afd.js → frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/runs-ec3c45cfa027db58.js} +1 -1
- mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/settings-11363aa58d51f4e1.js → frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/settings-495e877aa7ed709e.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/syncs-49adfeed5157d92b.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/triggers/[...slug]-6143e028225390f5.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/triggers-0886f6320fef7131.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines-e82a763d742cc034.js +1 -0
- mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/settings/account/profile-3c8f062913c66f3e.js → frontend_dist/_next/static/chunks/pages/settings/account/profile-50d20fa715d454af.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/permissions/{[...slug]-b78b1be5b9ed84b9.js → [...slug]-2bbd63b7e93a8600.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/{permissions-37b78a436eeab258.js → permissions-4ea156c39608caab.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/preferences-f3c29ec53ee35795.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/roles/{[...slug]-db05a80d18c168e5.js → [...slug]-64ec8928d2542f3c.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/{roles-f55c77e4f46c8d33.js → roles-835e6ec2a48ec583.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/{sync-data-2a1f8737561fdd94.js → sync-data-0769149af025de30.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/users/{[...slug]-e3bf6e5d8bb250c4.js → [...slug]-612a65c42bcadef0.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/{users-20f0a050a42a015d.js → users-e3365b4029a8db33.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/{sign-in-99e2748e3c1d57a3.js → sign-in-f3a33e8f83abdb58.js} +1 -1
- mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/templates/[...slug]-f44ccd1499ffd23a.js → frontend_dist/_next/static/chunks/pages/templates/[...slug]-f264097bf8120f31.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/{templates-1bfaa1c50e844813.js → templates-406e13cc5c4caab4.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/{terminal-ed121e305169cf1c.js → terminal-ef8ad878e5e7bb2f.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/triggers-a90728798f964700.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/{version-control-dd4fb405695f74bf.js → version-control-0e0c2713a2922be7.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/xxcdnITr3IkTdETH5ghqw/_buildManifest.js +1 -0
- mage_ai/server/frontend_dist/block-layout.html +2 -2
- mage_ai/server/frontend_dist/compute.html +5 -5
- mage_ai/server/frontend_dist/files.html +5 -5
- mage_ai/server/frontend_dist/global-data-products/[...slug].html +5 -5
- mage_ai/server/frontend_dist/global-data-products.html +5 -5
- mage_ai/server/frontend_dist/global-hooks/[...slug].html +5 -5
- mage_ai/server/frontend_dist/global-hooks.html +5 -5
- mage_ai/server/frontend_dist/index.html +2 -2
- mage_ai/server/frontend_dist/manage/files.html +5 -5
- mage_ai/server/frontend_dist/manage/settings.html +5 -5
- mage_ai/server/frontend_dist/manage/users/[user].html +5 -5
- mage_ai/server/frontend_dist/manage/users/new.html +5 -5
- mage_ai/server/frontend_dist/manage/users.html +5 -5
- mage_ai/server/frontend_dist/manage.html +5 -5
- mage_ai/server/frontend_dist/oauth.html +3 -3
- mage_ai/server/frontend_dist/overview.html +5 -5
- mage_ai/server/frontend_dist/pipeline-runs.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/backfills/[...slug].html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/backfills.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/dashboard.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/edit.html +2 -2
- mage_ai/server/frontend_dist/pipelines/[pipeline]/logs.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/monitors/block-runs.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/monitors/block-runtime.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/monitors.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/runs/[run].html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/runs.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/settings.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/syncs.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/triggers/[...slug].html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline]/triggers.html +5 -5
- mage_ai/server/frontend_dist/pipelines/[pipeline].html +2 -2
- mage_ai/server/frontend_dist/pipelines.html +5 -5
- mage_ai/server/frontend_dist/settings/account/profile.html +5 -5
- mage_ai/server/frontend_dist/settings/workspace/permissions/[...slug].html +5 -5
- mage_ai/server/frontend_dist/settings/workspace/permissions.html +5 -5
- mage_ai/server/frontend_dist/settings/workspace/preferences.html +5 -5
- mage_ai/server/frontend_dist/settings/workspace/roles/[...slug].html +5 -5
- mage_ai/server/frontend_dist/settings/workspace/roles.html +5 -5
- mage_ai/server/frontend_dist/settings/workspace/sync-data.html +5 -5
- mage_ai/server/frontend_dist/settings/workspace/users/[...slug].html +5 -5
- mage_ai/server/frontend_dist/settings/workspace/users.html +5 -5
- mage_ai/server/frontend_dist/settings.html +2 -2
- mage_ai/server/frontend_dist/sign-in.html +11 -11
- mage_ai/server/frontend_dist/templates/[...slug].html +5 -5
- mage_ai/server/frontend_dist/templates.html +5 -5
- mage_ai/server/frontend_dist/terminal.html +5 -5
- mage_ai/server/frontend_dist/test.html +4 -4
- mage_ai/server/frontend_dist/triggers.html +5 -5
- mage_ai/server/frontend_dist/version-control.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/404.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/1952-0f9a12782f0aaae6.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/2717-14191a781cf2f286.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3419-a7a52bcaaa687b07.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3437-e81a62f33337ca06.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3943-3cb1f765210dd7a4.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/4138-2c16e6d2f22246cd.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{5499-76cf8f023c6b0985.js → 5499-c2853ef57d39fde8.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/6990-303bb87fc50f1755.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{7858-d9df72e95e438284.js → 7858-26a5a5d04fa3c703.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8264-9d6a7cea289e29ff.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8487-608d62c0eef1f29a.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{1845-5ce774d5ab81ed57.js → 8731-2f78ec7b7760be8f.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/90-93d18aaecef0685b.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{9264-cc44b07f248707b0.js → 9264-727704fc34e74ae0.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/9624-48fba6b4e6966fb7.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/{_app-78c4a077a2f279c2.js → _app-8254de4f793643d0.js} +1 -1
- mage_ai/server/{frontend_dist/_next/static/chunks/pages/block-layout-a24cb24b6f08bbc9.js → frontend_dist_base_path_template/_next/static/chunks/pages/block-layout-b926f6eb1ee9a53b.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/compute-a9402b51e9fe748e.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/{files-b37d221eb5ddc248.js → files-85cecae037fd7a70.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/global-data-products/{[...slug]-cfd68e760ae00958.js → [...slug]-c3c9523ea8072c11.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/{global-data-products-c3b79ef31007f95b.js → global-data-products-4d046f15202a1c8d.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/global-hooks/{[...slug]-7adc543fc490367a.js → [...slug]-286133386c97a2b6.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/global-hooks-3da370825153056c.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/{files-fe6e73463a20d67c.js → files-39b73da5a15590f6.js} +1 -1
- mage_ai/server/{frontend_dist/_next/static/chunks/pages/manage/settings-60845f0b59142f32.js → frontend_dist_base_path_template/_next/static/chunks/pages/manage/settings-666748ff5d101411.js} +1 -1
- mage_ai/server/{frontend_dist/_next/static/chunks/pages/manage/users/[user]-9384c5f1efa2ac18.js → frontend_dist_base_path_template/_next/static/chunks/pages/manage/users/[user]-be27631e67dbe070.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/users/{new-abd8571907664fdf.js → new-1932ce64823b372b.js} +1 -1
- mage_ai/server/{frontend_dist/_next/static/chunks/pages/manage/users-28a930b148d99766.js → frontend_dist_base_path_template/_next/static/chunks/pages/manage/users-ed509c75cf23f0f5.js} +1 -1
- mage_ai/server/{frontend_dist/_next/static/chunks/pages/manage-d8a38b5d1f50e798.js → frontend_dist_base_path_template/_next/static/chunks/pages/manage-1feebec1124123fc.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/{oauth-8bb62c4f6a511c43.js → oauth-e9b8f19c30381c28.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/{overview-f0c40645f385f23f.js → overview-7b2ba2d5405c05fe.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipeline-runs-70fc3351bd11025f.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/backfills/[...slug]-6ee3b88a5bb4ce94.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/backfills-c9cf383bc13ce7b8.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/{dashboard-571c0962333b92f0.js → dashboard-7bca6f718b939934.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/edit-c119f630038b0685.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/logs-146051325c92d742.js +1 -0
- mage_ai/server/{frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runs-ddddcddd2f74b4f6.js → frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runs-15d307e6ba934a56.js} +1 -1
- mage_ai/server/{frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runtime-4a238307feddb522.js → frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runtime-f6196e563b960e5c.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/{monitors-6d1afeb4a84f50f7.js → monitors-25dbd73201d99e80.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/runs/[run]-06e55db757959ef8.js +1 -0
- mage_ai/server/{frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/runs-2d20b2cd08907afd.js → frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/runs-ec3c45cfa027db58.js} +1 -1
- mage_ai/server/{frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/settings-11363aa58d51f4e1.js → frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/settings-495e877aa7ed709e.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/syncs-49adfeed5157d92b.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/triggers/[...slug]-6143e028225390f5.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/triggers-0886f6320fef7131.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines-e82a763d742cc034.js +1 -0
- mage_ai/server/{frontend_dist/_next/static/chunks/pages/settings/account/profile-3c8f062913c66f3e.js → frontend_dist_base_path_template/_next/static/chunks/pages/settings/account/profile-50d20fa715d454af.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/permissions/{[...slug]-b78b1be5b9ed84b9.js → [...slug]-2bbd63b7e93a8600.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/{permissions-37b78a436eeab258.js → permissions-4ea156c39608caab.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/preferences-f3c29ec53ee35795.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/roles/{[...slug]-db05a80d18c168e5.js → [...slug]-64ec8928d2542f3c.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/{roles-f55c77e4f46c8d33.js → roles-835e6ec2a48ec583.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/{sync-data-2a1f8737561fdd94.js → sync-data-0769149af025de30.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/users/{[...slug]-e3bf6e5d8bb250c4.js → [...slug]-612a65c42bcadef0.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/{users-20f0a050a42a015d.js → users-e3365b4029a8db33.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/{sign-in-99e2748e3c1d57a3.js → sign-in-f3a33e8f83abdb58.js} +1 -1
- mage_ai/server/{frontend_dist/_next/static/chunks/pages/templates/[...slug]-f44ccd1499ffd23a.js → frontend_dist_base_path_template/_next/static/chunks/pages/templates/[...slug]-f264097bf8120f31.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/{templates-1bfaa1c50e844813.js → templates-406e13cc5c4caab4.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/{terminal-ed121e305169cf1c.js → terminal-ef8ad878e5e7bb2f.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/triggers-a90728798f964700.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/{version-control-dd4fb405695f74bf.js → version-control-0e0c2713a2922be7.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/gDn6inKdLyj35NvURBSCV/_buildManifest.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/block-layout.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/compute.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/files.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/global-data-products/[...slug].html +5 -5
- mage_ai/server/frontend_dist_base_path_template/global-data-products.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/global-hooks/[...slug].html +5 -5
- mage_ai/server/frontend_dist_base_path_template/global-hooks.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/index.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/manage/files.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/manage/settings.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/manage/users/[user].html +5 -5
- mage_ai/server/frontend_dist_base_path_template/manage/users/new.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/manage/users.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/manage.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/oauth.html +3 -3
- mage_ai/server/frontend_dist_base_path_template/overview.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/pipeline-runs.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/backfills/[...slug].html +5 -5
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/backfills.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/dashboard.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/edit.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/logs.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/monitors/block-runs.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/monitors/block-runtime.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/monitors.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/runs/[run].html +5 -5
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/runs.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/settings.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/syncs.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/triggers/[...slug].html +5 -5
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/triggers.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline].html +2 -2
- mage_ai/server/frontend_dist_base_path_template/pipelines.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/settings/account/profile.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/settings/workspace/permissions/[...slug].html +5 -5
- mage_ai/server/frontend_dist_base_path_template/settings/workspace/permissions.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/settings/workspace/preferences.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/settings/workspace/roles/[...slug].html +5 -5
- mage_ai/server/frontend_dist_base_path_template/settings/workspace/roles.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/settings/workspace/sync-data.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/settings/workspace/users/[...slug].html +5 -5
- mage_ai/server/frontend_dist_base_path_template/settings/workspace/users.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/settings.html +2 -2
- mage_ai/server/frontend_dist_base_path_template/sign-in.html +10 -10
- mage_ai/server/frontend_dist_base_path_template/templates/[...slug].html +5 -5
- mage_ai/server/frontend_dist_base_path_template/templates.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/terminal.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/test.html +4 -4
- mage_ai/server/frontend_dist_base_path_template/triggers.html +5 -5
- mage_ai/server/frontend_dist_base_path_template/version-control.html +5 -5
- mage_ai/server/server.py +2 -0
- mage_ai/streaming/sources/nats_js.py +12 -1
- mage_ai/tests/data_preparation/executors/test_block_executor.py +2 -0
- mage_ai/tests/data_preparation/models/test_pipeline.py +5 -0
- {mage_ai-0.9.47.dist-info → mage_ai-0.9.48.dist-info}/METADATA +3 -3
- {mage_ai-0.9.47.dist-info → mage_ai-0.9.48.dist-info}/RECORD +257 -257
- mage_ai/server/frontend_dist/_next/static/N3FS4bHv0jpYeeg672uYK/_buildManifest.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/1952-57858e7445d24413.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/2717-92cdffd87b6f6e05.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/3419-715ca383fa15a5ef.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/3437-b4d6a037cf5781f8.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/3943-c9fb980f03df6450.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/600-705fe234320ec5de.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/722-900f786d24f91b2e.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/8264-0d582a6ca33c3dfa.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/8487-8e1c09546dff4dbf.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/90-a7308bae028d7001.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/9624-334e7db5c84cb4ea.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/compute-419775ca1293b354.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/global-hooks-51d366993f6dd449.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipeline-runs-b35d37bfba8fbccc.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/backfills/[...slug]-9adc2974aada27ba.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/backfills-51b1311dff2a974e.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/edit-2333e524d34b474a.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/logs-ef680455ae54ccbe.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/runs/[run]-1ff9bb8e22ca1e75.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/syncs-b75bf17498e87354.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/triggers/[...slug]-779c3ef0676a12ac.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/triggers-bbea9a088657404a.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines-3737f2b0afc2ede3.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/preferences-c1f4ed17d501ccca.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/triggers-8bdd858240d5dbf6.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/aoO6jYZLVlUGCCdY-wmy8/_buildManifest.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/1952-57858e7445d24413.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/2717-92cdffd87b6f6e05.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3419-715ca383fa15a5ef.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3437-b4d6a037cf5781f8.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3943-c9fb980f03df6450.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/600-705fe234320ec5de.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/722-900f786d24f91b2e.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8264-0d582a6ca33c3dfa.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8487-8e1c09546dff4dbf.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/90-a7308bae028d7001.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/9624-334e7db5c84cb4ea.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/compute-419775ca1293b354.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/global-hooks-51d366993f6dd449.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipeline-runs-b35d37bfba8fbccc.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/backfills/[...slug]-9adc2974aada27ba.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/backfills-51b1311dff2a974e.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/edit-2333e524d34b474a.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/logs-ef680455ae54ccbe.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/runs/[run]-1ff9bb8e22ca1e75.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/syncs-b75bf17498e87354.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/triggers/[...slug]-779c3ef0676a12ac.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/triggers-bbea9a088657404a.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines-3737f2b0afc2ede3.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/preferences-c1f4ed17d501ccca.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/triggers-8bdd858240d5dbf6.js +0 -1
- /mage_ai/server/frontend_dist/_next/static/{N3FS4bHv0jpYeeg672uYK → xxcdnITr3IkTdETH5ghqw}/_ssgManifest.js +0 -0
- /mage_ai/server/frontend_dist_base_path_template/_next/static/{aoO6jYZLVlUGCCdY-wmy8 → gDn6inKdLyj35NvURBSCV}/_ssgManifest.js +0 -0
- {mage_ai-0.9.47.dist-info → mage_ai-0.9.48.dist-info}/LICENSE +0 -0
- {mage_ai-0.9.47.dist-info → mage_ai-0.9.48.dist-info}/WHEEL +0 -0
- {mage_ai-0.9.47.dist-info → mage_ai-0.9.48.dist-info}/entry_points.txt +0 -0
- {mage_ai-0.9.47.dist-info → mage_ai-0.9.48.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8264],{82571:function(e,n,t){var r=t(21831),o=t(82394),i=t(12691),c=t.n(i),l=t(82684),d=t(34376),a=t(58036),u=t(15338),s=t(97618),f=t(55485),h=t(64888),p=t(93369),g=t(82359),m=t(38276),v=t(30160),b=t(12468),x=t(77417),y=t(72473),w=t(68899),j=t(8059),k=t(70515),O=t(86735),Z=t(28598);function I(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function P(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?I(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):I(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var _=3*k.iI;n.Z=function(e){var n=e.aligned,t=e.navigationItems,o=e.showMore,i=e.visible,I=(0,d.useRouter)().pathname,C=(0,x.Z)(),S=C.project,M=C.featureEnabled,E=(0,l.useMemo)((function(){return function(e){var n=e.featureEnabled,t=(e.project,[{Icon:y.$l,id:"files",label:function(){return"Files"},linkProps:{href:"/files"}},{Icon:y.zQ,id:"templates",label:function(){return"Templates"},linkProps:{href:"/templates"}},{Icon:y.Pt,id:"version-control",label:function(){return"Version control"},linkProps:{href:"/version-control"}},{Icon:y.oI,id:"terminal",label:function(){return"Terminal"},linkProps:{href:"/terminal"}},{Icon:y.Zr,id:"settings",label:function(){return"Settings"},linkProps:{href:"/settings"}}]);return n(g.d.COMPUTE_MANAGEMENT)&&(t=(0,O.Hk)({Icon:y.Hm,id:"compute",label:function(){return"Compute management (beta)"},linkProps:{href:"/compute"}},4,t)),n(g.d.GLOBAL_HOOKS)&&(t=(0,O.Hk)({Icon:y.u$,id:"global-hooks",label:function(){return"Global hooks (beta)"},linkProps:{href:"/global-hooks"}},4,t)),[{id:"main",items:[{Icon:y.G6,id:"overview",label:function(){return"Overview"},linkProps:{href:"/overview"}},{Icon:y.vd,id:"pipelines",label:function(){return"Pipelines"},linkProps:{href:"/pipelines"}},{Icon:y.Bf,id:"triggers",label:function(){return"Triggers"},linkProps:{href:"/triggers"}},{Icon:y.Pf,id:"pipeline-runs",label:function(){return"Pipeline runs"},linkProps:{href:"/pipeline-runs"}},{Icon:y.ie,id:"global-data-products",label:function(){return"Global data products"},linkProps:{href:"/global-data-products"}}]},{id:"misc",items:t}]}({project:S,featureEnabled:M})}),[S]),N=(0,l.useCallback)((function(e,t){var r,l,d,a=e.Icon,u=e.IconSelected,g=e.disabled,x=e.id,y=e.isSelected,O=e.label,C=e.linkProps,S=e.onClick,M=y?y(I,e):!!I.match(new RegExp("^/".concat(x,"[/]*"))),E=M&&u?u:a,N=null===O||void 0===O?void 0:O(),B={primary:!E,selected:o&&M,showMore:o,withGradient:u};M&&u?(l=(0,Z.jsx)("div",{style:{height:_,width:_},children:(0,Z.jsx)(E,{muted:!0,size:_})}),(o||i)&&(l=(0,Z.jsx)(w.E7,P(P({},B),{},{children:(0,Z.jsx)(E,{muted:!0,size:_})}))),r=(0,Z.jsx)(h.Z,{backgroundGradient:j.yr,backgroundPanel:!0,basic:!0,borderWidth:2,disabled:g,linkProps:C,onClick:S,paddingUnits:1,children:l}),o&&(r=l)):(!M||M&&!u)&&(l=(0,Z.jsx)(w.E7,P(P({},B),{},{children:E?(0,Z.jsx)(E,{muted:!M,size:_}):(0,Z.jsx)(v.ZP,{children:"Edit"})})),r=(0,Z.jsx)(p.ZP,{disabled:g,inline:!0,linkProps:C,noHoverUnderline:!0,noPadding:!0,onClick:S,primary:M,sameColorAsText:!0,uuid:"VerticalNavigation/".concat(x),children:l}),o&&(r=l)),d="right"===n?(0,Z.jsxs)(f.ZP,{alignItems:"center",fullWidth:!0,justifyContent:"flex-end",children:[(0,Z.jsx)(s.Z,{flex:1,justifyContent:"flex-end",children:(0,Z.jsx)(v.ZP,{noWrapping:!0,children:N})}),(0,Z.jsx)(m.Z,{mr:2}),l]}):(0,Z.jsxs)(f.ZP,{alignItems:"center",children:[l,(0,Z.jsx)(m.Z,{mr:2}),(0,Z.jsx)(s.Z,{flex:1,children:(0,Z.jsx)(v.ZP,{noWrapping:!0,children:N})})]});var z,H=(0,Z.jsx)(w.J8,{href:"#",onClick:S,selected:M,children:d});return C&&(H=(0,Z.jsx)(c(),P(P({},C),{},{passHref:!0,children:H}))),"right"===n&&(r=(0,Z.jsx)(f.ZP,{alignItems:"center",fullWidth:!0,justifyContent:"flex-end",children:r})),z=i?H:o?r:(0,Z.jsx)(b.Z,{appearBefore:"right"===n,height:5*k.iI,label:N,size:null,widthFitContent:!0,children:r}),(0,Z.jsx)(m.Z,{mt:o&&i?0:t>=1?k.cd:0,children:z},"button-".concat(x))}),[n,I,o,i]),B=(0,l.useMemo)((function(){var e=[];return(t||E).forEach((function(n,t){var o=n.id,c=n.items;(null===c||void 0===c?void 0:c.length)>=1?(t>=1&&e.push((0,Z.jsx)(m.Z,{my:i?k.cd:k.cd+1,children:(0,Z.jsx)(u.Z,{light:!0})},o)),e.push.apply(e,(0,r.Z)(c.map((function(e,n){return N(e,n)}))))):e.push(N(n,t))})),e}),[N,E,t,i]);return(0,Z.jsx)(a.Z,{children:B})}},68899:function(e,n,t){t.d(n,{E7:function(){return b},HS:function(){return v},Hn:function(){return y},J8:function(){return x},Nk:function(){return p},k1:function(){return h},lm:function(){return m}});var r=t(82684),o=t(38626),i=t(38276),c=t(44897),l=t(42631),d=t(46684),a=t(70515),u=t(47041),s=t(91437),f=t(28598),h=a.cd*a.iI+5*a.iI+a.cd*a.iI+1,p=o.default.div.withConfig({displayName:"indexstyle__ContainerStyle",componentId:"sc-ecogjt-0"})(["display:flex;flex-direction:row;height:calc(100vh - ","px);position:fixed;top:","px;width:100%;",""],d.Mz,d.Mz,(function(e){return"\n background-color: ".concat((e.theme.background||c.Z.background).page,";\n ")})),g=o.default.div.withConfig({displayName:"indexstyle__VerticalNavigationStyleComponent",componentId:"sc-ecogjt-1"})(["height:100%;"," "," "," @keyframes animate-in{0%{width:","px;}100%{width:","px;}}"," ",""],(function(e){return"\n background-color: ".concat((e.theme.background||c.Z.background).panel,";\n ")}),(function(e){return!e.borderless&&"right"!==e.aligned&&"\n border-right: 1px solid ".concat((e.theme.borders||c.Z.borders).medium,";\n ")}),(function(e){return!e.borderless&&"right"===e.aligned&&"\n border-left: 1px solid ".concat((e.theme.borders||c.Z.borders).medium,";\n ")}),21*a.iI,34*a.iI,(function(e){return e.showMore&&e.visible&&"\n &:hover {\n animation: animate-in 100ms linear forwards;\n position: fixed;\n z-index: 100;\n }\n "}),(function(e){return e.showMore&&e.visible&&"right"===e.aligned&&"\n &:hover {\n right: 0;\n top: ".concat(d.Mz,"px;\n }\n ")}));function m(e){var n=e.aligned,t=e.borderless,o=e.children,c=e.showMore,l=(0,r.useRef)(null),d=(0,r.useState)(!1),u=d[0],s=d[1];return(0,f.jsx)(g,{aligned:n,borderless:t&&!u,onMouseEnter:c?function(){clearTimeout(l.current),l.current=setTimeout((function(){s(!0)}),300)}:null,onMouseLeave:c?function(){clearTimeout(l.current),s(!1)}:null,showMore:c,visible:u,children:(0,f.jsx)(i.Z,{px:c&&u?0:a.cd,py:c&&u?1:a.cd,children:r.cloneElement(o,{showMore:c,visible:u})})})}var v=o.default.div.withConfig({displayName:"indexstyle__SubheaderStyle",componentId:"sc-ecogjt-2"})(["position:sticky;top:0;width:100%;z-index:3;"," ",""],(function(e){return"\n background-color: ".concat((e.theme.background||c.Z.background).page,";\n border-bottom: 1px solid ").concat((e.theme.borders||c.Z.borders).light,";\n ")}),(function(e){return!e.noPadding&&"\n padding: ".concat(a.cd*a.iI,"px;\n ")})),b=(o.default.div.withConfig({displayName:"indexstyle__ContentStyle",componentId:"sc-ecogjt-3"})([""," overflow:auto;",""],u.w5,(function(e){return"\n height: calc(100vh - ".concat(d.Mz+(e.heightOffset||0),"px);\n ")})),o.default.div.withConfig({displayName:"indexstyle__NavigationItemStyle",componentId:"sc-ecogjt-4"})(["align-items:center;border-radius:","px;display:flex;height:","px;justify-content:center;padding:","px;width:","px;"," "," "," ",""],l.n_,5*a.iI,a.iI,5*a.iI,(function(e){return e.primary&&"\n ".concat((0,s.eR)(),"\n background: ").concat((e.theme||c.Z).chart.backgroundPrimary,";\n border: 1px solid ").concat((e.theme||c.Z).feature.active,";\n\n &:hover {\n background-color: ").concat((e.theme||c.Z).interactive.linkSecondary,";\n }\n ")}),(function(e){return e.selected&&!e.withGradient&&"\n background-color: ".concat((e.theme.interactive||c.Z.interactive).linkPrimary,";\n ")}),(function(e){return e.selected&&e.withGradient&&"\n background-color: ".concat((e.theme.background||c.Z.background).codeTextarea,";\n ")}),(function(e){return!e.selected&&e.showMore&&"\n background-color: ".concat((e.theme.interactive||c.Z.interactive).defaultBackground,";\n ")}))),x=o.default.a.withConfig({displayName:"indexstyle__NavigationLinkStyle",componentId:"sc-ecogjt-5"})([""," display:block;padding:","px ","px;"," ",""],(0,s.eR)(),1*a.iI,a.iI*a.cd,(function(e){return!e.selected&&"\n &:hover {\n background-color: ".concat((e.theme.interactive||c.Z.interactive).hoverBackground,";\n }\n ")}),(function(e){return e.selected&&"\n background-color: ".concat((e.theme.interactive||c.Z.interactive).linkPrimaryHover,";\n ")})),y=o.default.div.withConfig({displayName:"indexstyle__ImageStyle",componentId:"sc-ecogjt-6"})(["background-position:0 0;background-repeat:no-repeat;background-size:contain;height:","px;width:","px;"," ",""],12*a.iI,12*a.iI,(function(e){return"\n background-image: url(".concat(e.imageUrl,");\n ")}),(function(e){return e.size&&"\n height: ".concat(e.size,"px;\n width: ").concat(e.size,"px;\n ")}))},2842:function(e,n,t){t.d(n,{E$:function(){return C},MK:function(){return x},MP:function(){return I},Md:function(){return u},OM:function(){return m},On:function(){return W},PZ:function(){return b},Ru:function(){return P},S9:function(){return H},VW:function(){return h},W7:function(){return k},Wi:function(){return g},YJ:function(){return Z},Zj:function(){return N},Zt:function(){return a},aH:function(){return E},bC:function(){return B},dN:function(){return s},ff:function(){return _},l8:function(){return p},lU:function(){return z},rS:function(){return M},uX:function(){return v},v7:function(){return S},ve:function(){return f},ym:function(){return O}});var r=t(38626),o=t(44897),i=t(42631),c=t(46684),l=t(70515),d=t(47041),a=64*l.iI,u=30*l.iI,s=21.25*l.iI,f=35*l.iI,h=.5*l.iI,p=13*l.iI,g=3*l.cd*l.iI,m=6*l.iI,v=2*l.cd*3*l.iI,b=r.default.div.withConfig({displayName:"indexstyle__InlineContainerStyle",componentId:"sc-1lxpneo-0"})(["position:relative;",""],(function(e){return e.height&&"\n height: ".concat(e.height,"px;\n ")})),x=(r.default.div.withConfig({displayName:"indexstyle__HeaderStyle",componentId:"sc-1lxpneo-1"})(["position:fixed;z-index:3;"," "," ",""],(function(e){return"\n border-bottom: 1px solid ".concat((e.theme.monotone||o.Z.monotone).grey200,";\n ")}),(function(e){return!e.beforeVisible&&"\n width: 100%;\n "}),(function(e){return e.beforeVisible&&"\n left: ".concat(f,"px;\n width: calc(100% - ").concat(f,"px);\n ")})),r.default.div.withConfig({displayName:"indexstyle__NewHeaderStyle",componentId:"sc-1lxpneo-2"})(["height:","px;position:fixed;top:0;width:100%;z-index:4;"],c.Mz)),y=(r.default.div.withConfig({displayName:"indexstyle__TabStyle",componentId:"sc-1lxpneo-3"})(["border-top-left-radius:","px;border-top-right-radius:","px;padding:","px ","px;position:relative;top:1px;"," "," ",""],i.n_,i.n_,1*l.iI,2*l.iI,(function(e){return"\n border-left: 1px solid ".concat((e.theme.monotone||o.Z.monotone).grey200,";\n border-right: 1px solid ").concat((e.theme.monotone||o.Z.monotone).grey200,";\n border-top: 1px solid ").concat((e.theme.monotone||o.Z.monotone).grey200,";\n ")}),(function(e){return!e.first&&"\n margin-left: ".concat(1*l.iI,"px;\n ")}),(function(e){return e.selected&&"\n border-bottom: 1px solid ".concat((e.theme.monotone||o.Z.monotone).white,";\n ")})),(0,r.css)(["z-index:2;"," "," ",""],(function(e){return"\n height: calc(100% - ".concat("undefined"===typeof e.heightOffset?v:e.heightOffset,"px);\n ")}),(function(e){return e.inline&&"\n position: absolute;\n "}),(function(e){return!e.inline&&"\n background-color: ".concat((e.theme.background||o.Z.background).panel,";\n position: fixed;\n top: ").concat("undefined"===typeof e.heightOffset?v:e.heightOffset,"px;\n ")}))),w=(0,r.css)([""," height:100%;overflow:auto;position:relative;z-index:2;",""],d.w5,(function(e){return"undefined"!==typeof e.verticalOffset&&null!==e.verticalOffset&&"\n height: calc(100% - ".concat(e.verticalOffset+(e.heightOffset||0),"px);\n top: ").concat(e.verticalOffset,"px;\n ")})),j=(0,r.css)(["position:absolute;width:","px;z-index:6;&:hover{","}"," "," ",""],h,(function(e){return!e.disabled&&"\n border-color: ".concat((e.theme.text||o.Z.text).fileBrowser," !important;\n ")}),(function(e){return"\n height: calc(100% + ".concat((null===e||void 0===e?void 0:e.top)||0,"px);\n top: -").concat((null===e||void 0===e?void 0:e.top)||0,"px;\n ")}),(function(e){return!e.disabled&&"\n cursor: col-resize;\n "}),(function(e){return e.active&&!e.disabled&&"\n border-color: ".concat((e.theme.text||o.Z.text).fileBrowser," !important;\n ")})),k=r.default.div.withConfig({displayName:"indexstyle__AsideHeaderStyle",componentId:"sc-1lxpneo-4"})(["border-bottom:1px solid transparent;height:","px;z-index:4;"," "," "," "," ",""],m,(0,d.y$)(),(function(e){return"\n background-color: ".concat((e.theme.background||o.Z.background).panel,";\n top: ").concat((null===e||void 0===e?void 0:e.top)||0,"px;\n ")}),(function(e){return!e.visible&&"\n border-left: 1px solid transparent;\n border-right: 1px solid transparent;\n border-bottom-color: ".concat((e.theme.borders||o.Z.borders).medium," !important;\n ")}),(function(e){return e.contained&&"\n border-left-color: ".concat((e.theme.borders||o.Z.borders).medium," !important;\n ")}),(function(e){return!e.inline&&"\n position: fixed;\n "})),O=r.default.div.withConfig({displayName:"indexstyle__AsideHeaderInnerStyle",componentId:"sc-1lxpneo-5"})(["display:flex;flex:1;overflow:auto;padding:0 ","px;"," ",""],2*l.iI,(0,d.y$)(),(function(e){return e.noPadding&&"\n padding: 0;\n "})),Z=r.default.div.withConfig({displayName:"indexstyle__AsideSubheaderStyle",componentId:"sc-1lxpneo-6"})(["border-bottom:1px solid transparent;height:","px;overflow-x:auto;position:absolute;top:","px;"," "," ",""],g,g,(0,d.y$)(),(function(e){return"\n background-color: ".concat((e.theme.background||o.Z.background).table,";\n ")}),(function(e){return!e.visible&&"\n border-color: ".concat((e.theme.borders||o.Z.borders).medium," !important;\n ")})),I=r.default.aside.withConfig({displayName:"indexstyle__BeforeStyle",componentId:"sc-1lxpneo-7"})([""," left:0;"],y),P=r.default.div.withConfig({displayName:"indexstyle__BeforeInnerStyle",componentId:"sc-1lxpneo-8"})([""," overflow:hidden;&:hover{overflow:auto;}",""],w,(function(e){return e.contained&&"\n border-left: 1px solid ".concat((e.theme.borders||o.Z.borders).medium," !important;\n ")})),_=r.default.aside.withConfig({displayName:"indexstyle__AfterStyle",componentId:"sc-1lxpneo-9"})([""," right:0;"],y),C=r.default.div.withConfig({displayName:"indexstyle__AfterInnerStyle",componentId:"sc-1lxpneo-10"})([""," "," ",""],w,(function(e){return e.overflow&&"\n overflow: ".concat(e.overflow,";\n ")}),(function(e){return e.heightMinus&&"\n height: calc(100% - ".concat(e.heightMinus,"px);\n ")})),S=r.default.div.withConfig({displayName:"indexstyle__DraggableStyle",componentId:"sc-1lxpneo-11"})([""," "," "," "," ",""],j,(function(e){return"undefined"!==typeof e.left&&"\n border-left-style: solid;\n border-left-width: 1px;\n left: ".concat(e.left,"px;\n ")}),(function(e){return"undefined"!==typeof e.right&&"\n border-right-style: solid;\n border-right-width: 1px;\n right: ".concat(e.right,"px;\n ")}),(function(e){return!e.contrast&&"\n border-color: ".concat((e.theme.borders||o.Z.borders).medium,";\n ")}),(function(e){return e.contrast&&"\n border-color: ".concat((e.theme.borders||o.Z.borders).light,";\n ")})),M=r.default.div.withConfig({displayName:"indexstyle__MainWrapper",componentId:"sc-1lxpneo-12"})(["height:100%;z-index:1;",""],(function(e){return"\n background-color: ".concat((e.theme.background||o.Z.background).codeArea,";\n position: ").concat(e.inline?"absolute":"fixed",";\n ")})),E=r.default.div.withConfig({displayName:"indexstyle__MainContentStyle",componentId:"sc-1lxpneo-13"})(["z-index:2;"," ",""],(function(e){return"\n height: calc(100% - ".concat((e.headerOffset||0)+(e.footerOffset||0),"px);\n position: ").concat(e.inline?"relative":"fixed",";\n ")}),(function(e){return!e.inline&&"\n top: ".concat(e.headerOffset||0,"px;\n ")})),N=r.default.div.withConfig({displayName:"indexstyle__MainContentInnerStyle",componentId:"sc-1lxpneo-14"})([""," height:100%;overflow:auto;"],d.w5),B=r.default.div.withConfig({displayName:"indexstyle__NavigationStyle",componentId:"sc-1lxpneo-15"})(["position:relative;"]),z=r.default.div.withConfig({displayName:"indexstyle__NavigationInnerStyle",componentId:"sc-1lxpneo-16"})(["height:100%;position:fixed;z-index:6;"," ",""],(function(e){return"left"===e.aligned&&"\n border-right: 1px solid ".concat((e.theme.borders||o.Z.borders).medium,";\n left: 0;\n ")}),(function(e){return"right"===e.aligned&&"\n border-left: 1px solid ".concat((e.theme.borders||o.Z.borders).medium,";\n right: 0;\n ")})),H=r.default.div.withConfig({displayName:"indexstyle__NavigationContainerStyle",componentId:"sc-1lxpneo-17"})([""," overflow:auto;position:absolute;width:fit-content;"," "," "," ",""],d.w5,(function(e){return"\n height: calc(100vh - ".concat(e.heightOffset,"px);\n ")}),(function(e){return e.fullWidth&&"\n width: calc(100% - ".concat(e.widthOffset||0,"px);\n ")}),(function(e){return e.widthOffset&&"left"===e.aligned&&"\n left: ".concat(e.widthOffset,"px;\n ")}),(function(e){return e.widthOffset&&"right"===e.aligned&&"\n right: ".concat(e.widthOffset,"px;\n ")})),W=r.default.div.withConfig({displayName:"indexstyle__AsideFooterStyle",componentId:"sc-1lxpneo-18"})(["border-left:1px solid transparent;border-right:1px solid transparent;border-top:1px solid transparent;position:fixed;z-index:3;"," "," "," "," ",""],(function(e){return"\n border-top-color: ".concat((e.theme.borders||o.Z.borders).medium," !important;\n ")}),(function(e){return!e.inline&&"\n background-color: ".concat((e.theme.background||o.Z.background).panel,";\n ")}),(function(e){return e.contained&&"\n border-left-color: ".concat((e.theme.borders||o.Z.borders).medium," !important;\n ")}),(function(e){return("undefined"===typeof e.bottom||null===e.bottom)&&"\n bottom: 0;\n "}),(function(e){return"undefined"!==typeof e.bottom&&null!==e.bottom&&"\n bottom: ".concat(e.bottom,"px;\n ")}))},62547:function(e,n,t){var r=t(82684),o=t(1887),i=t.n(o),c=t(71180),l=t(58036),d=t(97618),a=t(55485),u=t(38276),s=t(12468),f=t(82571),h=t(2842),p=t(72473),g=t(53808),m=t(70515),v=t(68899),b=t(19183),x=t(28598);n.Z=function(e){var n=e.after,t=e.afterDividerContrast,o=e.afterFooter,y=e.afterFooterBottomOffset,w=e.afterHeader,j=e.afterHeaderOffset,k=e.afterHeightOffset,O=e.afterHidden,Z=e.afterInnerHeightMinus,I=e.afterMousedownActive,P=e.afterNavigationItems,_=e.afterOverflow,C=e.afterSubheader,S=e.afterWidth,M=void 0===S?0:S,E=e.before,N=e.beforeDividerContrast,B=e.beforeFooter,z=e.beforeHeader,H=e.beforeHeaderOffset,W=e.beforeHeightOffset,D=e.beforeHidden,F=e.beforeMousedownActive,A=e.beforeNavigationItems,R=e.beforeWidth,L=void 0===R?0:R,T=e.children,U=e.contained,G=e.footerOffset,V=e.header,$=e.headerOffset,q=void 0===$?0:$,X=e.height,K=e.hideAfterCompletely,J=e.hideBeforeCompletely,Y=e.inline,Q=e.leftOffset,ee=void 0===Q?0:Q,ne=e.mainContainerFooter,te=e.mainContainerHeader,re=e.mainContainerRef,oe=e.navigationShowMore,ie=e.setAfterHidden,ce=e.setAfterMousedownActive,le=e.setAfterWidth,de=e.setBeforeHidden,ae=e.setBeforeMousedownActive,ue=e.setBeforeWidth,se=e.uuid,fe=(0,b.i)().width,he=(0,r.useRef)(null),pe=(0,r.useRef)(null),ge=(0,r.useRef)(null),me=(0,r.useRef)(null),ve=(0,r.useCallback)((function(){var e=!O;null===ie||void 0===ie||ie(e),(0,g.t8)(se||g.zg,e)}),[O,ie,se]),be=(0,r.useCallback)((function(){var e=!D;null===de||void 0===de||de(e),(0,g.t8)(se||g.Uu,e)}),[D,de,se]);(0,r.useEffect)((function(){var e,n,t,r,o=function(e){var n,t;((null===ge||void 0===ge||null===(n=ge.current)||void 0===n||null===(t=n.getBoundingClientRect)||void 0===t?void 0:t.call(n))||{}).x;if(fe){var r=e.x;r+h.l8>fe-M&&(r=fe-M-h.l8),r-=2*ee,ue(Math.max(r,h.dN))}},i=function(e){var n,t;e.offsetX>=e.target.offsetWidth-h.VW&&e.offsetX<=e.target.offsetWidth+h.VW&&(null===ae||void 0===ae||ae(!0),e.preventDefault(),null===(n=document)||void 0===n||null===(t=n.addEventListener)||void 0===t||t.call(n,"mousemove",o,!1))},c=function(){var e,n;null===ae||void 0===ae||ae(!1),null===(e=document)||void 0===e||null===(n=e.removeEventListener)||void 0===n||n.call(e,"mousemove",o,!1)};return null===me||void 0===me||null===(e=me.current)||void 0===e||null===(n=e.addEventListener)||void 0===n||n.call(e,"mousedown",i,!1),null===(t=document)||void 0===t||null===(r=t.addEventListener)||void 0===r||r.call(t,"mouseup",c,!1),function(){var e,n,t,r;null===me||void 0===me||null===(e=me.current)||void 0===e||null===(n=e.removeEventListener)||void 0===n||n.call(e,"mousedown",i,!1),null===(t=document)||void 0===t||null===(r=t.removeEventListener)||void 0===r||r.call(t,"mouseup",c,!1),c()}}),[M,D,ee,ge,me,ae,ue,fe]),(0,r.useEffect)((function(){var e,n,t,r,o=function(e){var n,t;((null===he||void 0===he||null===(n=he.current)||void 0===n||null===(t=n.getBoundingClientRect)||void 0===t?void 0:t.call(n))||{}).x;if(fe){var r=fe-e.x;r+h.l8>fe-L&&(r=fe-L-h.l8),le(Math.max(r,h.Md))}},i=function(e){var n,t;e.offsetX>=-1*h.VW&&e.offsetX<=h.VW&&(null===ce||void 0===ce||ce(!0),e.preventDefault(),null===(n=document)||void 0===n||null===(t=n.addEventListener)||void 0===t||t.call(n,"mousemove",o,!1))},c=function(){var e,n;null===ce||void 0===ce||ce(!1),null===(e=document)||void 0===e||null===(n=e.removeEventListener)||void 0===n||n.call(e,"mousemove",o,!1)};return null===pe||void 0===pe||null===(e=pe.current)||void 0===e||null===(n=e.addEventListener)||void 0===n||n.call(e,"mousedown",i,!1),null===(t=document)||void 0===t||null===(r=t.addEventListener)||void 0===r||r.call(t,"mouseup",c,!1),function(){var e,n,t,r;null===pe||void 0===pe||null===(e=pe.current)||void 0===e||null===(n=e.removeEventListener)||void 0===n||n.call(e,"mousedown",i,!1),null===(t=document)||void 0===t||null===(r=t.removeEventListener)||void 0===r||r.call(t,"mouseup",c,!1),c()}}),[O,L,he,pe,ce,le,fe]);var xe=K&&O,ye=xe?0:O?4*m.iI:M,we=J&&D?0:D?4*m.iI:L,je="calc(100% - ".concat(we+ye+ee,"px)"),ke=(0,r.useMemo)((function(){return(null===P||void 0===P?void 0:P.length)>=1}),[P]),Oe=(0,r.useMemo)((function(){return(0,x.jsxs)(x.Fragment,{children:[(ie||w)&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(h.W7,{inline:Y,style:{width:ke?ye-(v.k1-1):ye},top:U?q:h.Wi,visible:O,children:(0,x.jsxs)(a.ZP,{alignItems:"center",fullHeight:!0,fullWidth:!0,children:[(0,x.jsxs)(d.Z,{children:[(0,x.jsx)(u.Z,{pl:O?1:2}),(0,x.jsxs)(c.ZP,{noBackground:!0,noBorder:!0,noPadding:!0,onClick:function(){return ve()},children:[O&&(0,x.jsx)(p.s$,{neutral:!0,size:2*m.iI}),!O&&(0,x.jsx)(p._Q,{neutral:!0,size:2*m.iI})]})]}),!O&&w]})}),!O&&C&&(0,x.jsx)(h.YJ,{style:{width:ke?ye-(v.k1+1):ye},visible:O,children:C})]}),(0,x.jsx)(h.E$,{heightMinus:Z,noScrollbarTrackBackground:!0,overflow:_,ref:he,verticalOffset:w?C?h.Wi+k:j||k:null,children:!O&&n}),o&&!O&&(0,x.jsx)(h.On,{bottom:Y?y:null,inline:Y,style:{overflow:O?"visible":"hidden",width:ye},children:o})]})}),[n,o,y,w,j,k,O,_,C,ye,U,ke,q,Y,he,ie,ve]),Ze=(0,r.useMemo)((function(){return(null===A||void 0===A?void 0:A.length)>=1}),[A]),Ie=(0,r.useRef)(null),Pe=(0,r.useMemo)((function(){var e,n;return(0,x.jsxs)(x.Fragment,{children:[(de||z)&&(0,x.jsx)(h.W7,{contained:U,inline:Y,style:{overflow:D?"visible":"hidden",width:Ze?we-(v.k1+2):we},top:U?q:h.Wi,visible:D,children:(0,x.jsxs)(a.ZP,{alignItems:"center",fullHeight:!0,fullWidth:!0,justifyContent:"space-between",children:[(0,x.jsxs)(h.ym,{noPadding:!0,children:[(0,x.jsx)(u.Z,{pl:D?1:0}),!D&&z]}),(0,x.jsxs)(d.Z,{children:[de&&(0,x.jsx)(s.Z,{appearAbove:!D,appearBefore:!D,block:!0,label:D?"Show sidebar":"Hide sidebar",size:null,widthFitContent:!0,children:(0,x.jsxs)(c.ZP,{noBackground:!0,noBorder:!0,noPadding:!0,onClick:function(){return be()},children:[D&&(0,x.jsx)(p._Q,{neutral:!0,size:2*m.iI}),!D&&(0,x.jsx)(p.s$,{neutral:!0,size:2*m.iI})]})},D?"before-is-hidden":"before-is-visible"),(0,x.jsx)(u.Z,{pr:D?1:2})]})]})}),(0,x.jsx)(h.Ru,{contained:U&&!Y,heightOffset:B?null===Ie||void 0===Ie||null===(e=Ie.current)||void 0===e||null===(n=e.getBoundingClientRect())||void 0===n?void 0:n.height:null,noScrollbarTrackBackground:!0,ref:ge,verticalOffset:z?H||W:null,children:!D&&E}),B&&(0,x.jsx)(h.On,{contained:U,ref:Ie,style:{overflow:D?"visible":"hidden",width:we},children:B})]})}),[E,B,Ie,z,H,W,D,we,U,q,Ze,Y,ge,de,be]),_e=(0,r.useMemo)((function(){return(0,x.jsxs)(x.Fragment,{children:[(I&&!O||F&&!D)&&(0,x.jsx)(i(),{children:(0,x.jsx)("style",{dangerouslySetInnerHTML:{__html:"\n body {\n cursor: col-resize;\n }\n "}})}),V&&(0,x.jsx)(h.MK,{children:V}),E&&(0,x.jsxs)(h.MP,{heightOffset:W,inline:Y,style:{left:ee,width:we},children:[(0,x.jsx)(h.v7,{active:F,disabled:D,contrast:N,ref:me,right:0,top:U?0:h.Wi}),Ze&&(0,x.jsxs)(h.bC,{children:[!D&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(h.lU,{aligned:"left",children:(0,x.jsx)(v.lm,{aligned:"left",borderless:!0,showMore:oe,children:(0,x.jsx)(f.Z,{aligned:"left",navigationItems:A})})}),(0,x.jsx)(h.S9,{aligned:"left",fullWidth:!0,heightOffset:W,widthOffset:v.k1+1,children:Pe})]}),D&&Pe]}),!Ze&&Pe]}),(0,x.jsxs)(h.rS,{inline:Y,style:{left:we+ee,width:je},children:[te,(0,x.jsx)(h.aH,{headerOffset:U?q:(te?h.uX:h.Wi)+q,footerOffset:G,inline:Y,style:{width:Y?null:je},children:(0,x.jsx)(h.Zj,{noScrollbarTrackBackground:!0,ref:re,children:T})}),ne]}),n&&!xe&&(0,x.jsxs)(h.ff,{heightOffset:k,inline:Y,style:{width:ye},children:[(0,x.jsx)(h.v7,{active:I,contrast:t,disabled:O,left:0,ref:pe,top:U?0:h.Wi}),ke&&(0,x.jsxs)(h.bC,{children:[!O&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(h.lU,{aligned:"right",children:(0,x.jsx)(v.lm,{aligned:"right",borderless:!0,showMore:oe,children:(0,x.jsx)(f.Z,{aligned:"right",navigationItems:P})})}),(0,x.jsx)(h.S9,{aligned:"right",fullWidth:!0,heightOffset:k,widthOffset:v.k1+1,children:Oe})]}),O&&Oe]}),!ke&&Oe]})]})}),[n,Oe,t,k,O,I,P,ye,Pe,N,W,D,F,A,we,T,U,G,ke,Ze,V,q,Y,ee,ne,te,re,je,oe,pe,me,xe]);return(0,x.jsxs)(l.Z,{children:[Y&&(0,x.jsx)(h.PZ,{height:X,children:_e}),!Y&&_e]})}},93808:function(e,n,t){t.d(n,{Z:function(){return P}});var r=t(77837),o=t(26304),i=t(62243),c=t(29385),l=t(80022),d=t(13692),a=t(93189),u=t(15544),s=t(82394),f=t(38860),h=t.n(f),p=t(82684),g=t(56663),m=t.n(g),v=t(40761),b=t(34661),x=t(36105),y=t(50178),w=t(69419),j=t(28598),k=["auth"];function O(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Z(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?O(Object(t),!0).forEach((function(n){(0,s.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):O(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function I(e){var n=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,r=(0,u.Z)(e);if(n){var o=(0,u.Z)(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return(0,a.Z)(this,t)}}function P(e){return function(n){(0,d.Z)(a,n);var t=I(a);function a(){var e;(0,i.Z)(this,a);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return e=t.call.apply(t,[this].concat(r)),(0,s.Z)((0,l.Z)(e),"state",{auth:new v.Z(e.props.token)}),e}return(0,c.Z)(a,[{key:"componentDidMount",value:function(){this.setState({auth:new v.Z(this.props.token)})}},{key:"render",value:function(){var n=this.props,t=(n.auth,(0,o.Z)(n,k));return(0,j.jsx)(e,Z({auth:this.state.auth},t))}}],[{key:"getInitialProps",value:function(){var n=(0,r.Z)(h().mark((function n(t){var r,o,i,c,l,d,a,u,s;return h().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r=m()(t),o=(0,y.ex)(t),i=o.id,c=r[b.Mv],l=r[x.qt],d=new v.Z(c),a=Z(Z({},t),{},{auth:d,currentGroupId:i,theme:l}),(0,y.YB)(t)&&d.isExpired&&(console.log("OAuth token has expired."),u=Z(Z({},t.query),{},{redirect_url:t.asPath}),(0,w.nL)("/sign-in?".concat((0,w.uM)(u)),t.res)),!e.getInitialProps){n.next=12;break}return n.next=10,e.getInitialProps(a);case 10:return s=n.sent,n.abrupt("return",Z(Z({},s),{},{auth:d,currentGroupId:i,theme:l}));case 12:return n.abrupt("return",a);case 13:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()}]),a}(p.Component)}},64888:function(e,n,t){var r=t(82394),o=t(26304),i=t(38626),c=t(71180),l=t(44897),d=t(42631),a=t(8059),u=t(70515),s=t(28598),f=["backgroundGradient","backgroundPanel","borderWidth","children","compact","paddingUnits","paddingUnitsHorizontal","paddingUnitsVertical"];function h(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function p(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?h(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):h(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var g=i.default.div.withConfig({displayName:"GradientButton__ButtonContentStyle",componentId:"sc-1gzx4r1-0"})(["border-radius:","px;height:fit-content;"," ",""],d.n_,(function(e){return!e.backgroundPanel&&"\n background-color: ".concat((e.theme.background||l.Z.background).page,";\n ")}),(function(e){return e.backgroundPanel&&"\n background-color: ".concat((e.theme.background||l.Z.background).panel,";\n ")}));n.Z=function(e){var n=e.backgroundGradient,t=void 0===n?a.TD:n,r=e.backgroundPanel,i=e.borderWidth,l=void 0===i?1:i,d=e.children,h=e.compact,m=e.paddingUnits,v=e.paddingUnitsHorizontal,b=void 0===v?1.5:v,x=e.paddingUnitsVertical,y=void 0===x?1.25:x,w=(0,o.Z)(e,f),j=b,k=y;return m&&(j=m,k=m),h&&(j*=.75,k*=.75),(0,s.jsx)(c.ZP,p(p({},w),{},{backgroundGradient:t,noPadding:!0,padding:"".concat(l,"px"),pointerEventsEnabled:!0,children:(0,s.jsx)(g,{backgroundPanel:r,children:(0,s.jsx)("div",{style:{paddingBottom:k*u.iI-l,paddingLeft:j*u.iI-l,paddingRight:j*u.iI-l,paddingTop:k*u.iI-l},children:d})})}))}},24944:function(e,n,t){t.d(n,{HL:function(){return d},lZ:function(){return a},qZ:function(){return l}});var r=t(38626),o=t(44897),i=t(42631),c=t(70515),l=r.default.div.withConfig({displayName:"indexstyle__DividerContainerStyle",componentId:"sc-uiq3r3-0"})([""," ",""],(function(e){return e.short&&"\n width: ".concat(21*c.iI,"px;\n ")}),(function(e){return!e.short&&"\n width: 100%;\n "})),d=r.default.div.withConfig({displayName:"indexstyle__DividerStyle",componentId:"sc-uiq3r3-1"})(["height:1px;"," "," "," "," "," ",""],(function(e){return!(e.light||e.medium)&&"\n background-color: ".concat((e.theme.monotone||o.Z.monotone).grey200,";\n ")}),(function(e){return e.muted&&"\n background-color: ".concat((e.theme.monotone||o.Z.monotone).grey500,";\n ")}),(function(e){return e.light&&"\n background-color: ".concat((e.theme.borders||o.Z.borders).light,";\n ")}),(function(e){return e.medium&&"\n background-color: ".concat((e.theme.borders||o.Z.borders).medium,";\n ")}),(function(e){return e.prominent&&"\n background-color: ".concat((e.theme.monotone||o.Z.monotone).grey300,";\n ")}),(function(e){return e.black&&"\n background-color: ".concat((e.theme.monotone||o.Z.monotone).black,";\n ")})),a=r.default.div.withConfig({displayName:"indexstyle__VerticalDividerStyle",componentId:"sc-uiq3r3-2"})(["width:1px;align-self:stretch;"," ",""],(function(e){return"\n border-left: ".concat(i.YF,"px ").concat(i.M8," ").concat((e.theme||o.Z).interactive.defaultBorder,";\n ")}),(function(e){var n=e.right;return"number"===typeof n&&"\n position: relative;\n right: ".concat(n,"px;\n ")}))},15338:function(e,n,t){var r=t(82394),o=t(26304),i=(t(82684),t(38276)),c=t(24944),l=t(28598),d=["short"];function a(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function u(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?a(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):a(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}n.Z=function(e){var n=e.short,t=void 0!==n&&n,r=(0,o.Z)(e,d);return(0,l.jsx)(c.qZ,{short:t,children:(0,l.jsx)(i.Z,u(u({},r),{},{children:(0,l.jsx)(c.HL,u({},r))}))})}},8059:function(e,n,t){t.d(n,{eW:function(){return v},Hv:function(){return l},FI:function(){return p},Sr:function(){return d},rK:function(){return h},TD:function(){return a},R2:function(){return u},AK:function(){return s},yr:function(){return m},J:function(){return f},RK:function(){return g}});var r=t(79633),o="#FF144D",i="#DEBB92",c="#2A60FE",l="linear-gradient(90deg, #4F49F1, #A260F5)",d="linear-gradient(90deg, ".concat(i,", ").concat("#CBFE00",")"),a="linear-gradient(90deg, ".concat(o,", #C86DD7)"),u="linear-gradient(90deg, ".concat("#95ECE2",", ").concat(c,")"),s="linear-gradient(90deg, ".concat("#9B6CA7",", ").concat(i,")"),f="linear-gradient(90deg, ".concat("#C72400",", ").concat(i,")"),h="linear-gradient(100.38deg, ".concat(o," 41.11%, #FF9559 86.99%)"),p="linear-gradient(100.38deg, #37A46F 41.11%, #67B2F8 86.99%)",g=("linear-gradient(100.38deg, ".concat("#6B50D7"," 41.11%, #677FFF 86.99%)"),"linear-gradient(100.38deg, ".concat(c," 41.11%, #B880FF 86.99%)")),m="linear-gradient(90deg, ".concat(r.t4," 20.13%, #2AB2FE)"),v="linear-gradient(90deg, ".concat(r.Ck," 0%, ").concat(r.t4," 53.13%, ").concat(r.X_," 100%)")},77417:function(e,n,t){t.d(n,{Z:function(){return l}});var r=t(82684),o=t(82359),i=t(35686);function c(e,n){var t;return!(null===e||void 0===e||null===(t=e.features)||void 0===t||!t[n])}var l=function(){var e,n,t=i.ZP.projects.list(),l=t.data,d=t.mutate,a=(0,r.useMemo)((function(){var e;return null===l||void 0===l||null===(e=l.projects)||void 0===e?void 0:e[0]}),[l]),u=c(a,o.d.COMPUTE_MANAGEMENT);return{featureEnabled:function(e){return c(a,e)},featureUUIDs:o.d,fetchProjects:d,project:a,sparkEnabled:u&&(a.spark_config||a.emr_config)&&((null===(e=Object.keys(a.spark_config||{}))||void 0===e?void 0:e.length)>=1||(null===(n=Object.keys(a.emr_config||{}))||void 0===n?void 0:n.length)>=1)}}},98464:function(e,n,t){var r=t(82684);n.Z=function(e){var n=(0,r.useRef)();return(0,r.useEffect)((function(){n.current=e}),[e]),n.current}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8487],{87848:function(e,n,t){t.d(n,{u:function(){return c}});var r=t(38626),i=t(44897),o=t(70515),c=r.default.div.withConfig({displayName:"indexstyle__LinkStyle",componentId:"sc-y3uzxv-0"})(["padding:","px;&:hover{cursor:pointer;","}",""],o.iI,(function(e){return"\n background-color: ".concat((e.theme.interactive||i.Z.interactive).hoverBackground,";\n ")}),(function(e){return e.highlighted&&"\n background-color: ".concat((e.theme.interactive||i.Z.interactive).hoverBackground,";\n ")}))},28026:function(e,n,t){t.d(n,{Z:function(){return S}});var r=t(82394),i=t(89565),o=t.n(i),c=t(82684),l=t(40761),a=t(50724),s=t(30160),u=t(38626),d=t(44897),h=t(70515),f=t(47041),p=(0,u.css)([""," ",""],(function(e){return!e.width&&"\n width: 100%;\n "}),(function(e){return e.width&&"\n width: ".concat(e.width,"px;\n ")})),v=u.default.div.withConfig({displayName:"indexstyle__ContainerStyle",componentId:"sc-11d4rgl-0"})([""," "," height:100%;overflow:auto;position:absolute;",""],p,f.w5,(function(e){return"\n background-color: ".concat((e.theme.background||d.Z.background).codeTextarea,";\n ")})),g=u.default.div.withConfig({displayName:"indexstyle__InnerStyle",componentId:"sc-11d4rgl-1"})([""," padding:","px;"],p,h.cd*h.iI),m=(u.default.div.withConfig({displayName:"indexstyle__LineStyle",componentId:"sc-11d4rgl-2"})(["height:","px;"],20),(0,u.css)(["@keyframes cursor-blink{0%{opacity:0;}}::before{","}::after{","}"],(function(e){return e.focusBeginning&&"\n position: absolute;\n background-color: ".concat((e.theme.accent||d.Z.accent).warning,';\n content: "";\n display: inline-block;\n height: ').concat(20,"px;\n width: ").concat(h.iI,"px;\n opacity: 0.3;\n ")}),(function(e){return e.focused&&"\n background-color: ".concat((e.theme.accent||d.Z.accent).warning,';\n content: "";\n display: inline-block;\n height: ').concat(20,"px;\n width: ").concat(h.iI,"px;\n opacity: 0.3;\n ")}))),x=u.default.div.withConfig({displayName:"indexstyle__InputStyle",componentId:"sc-11d4rgl-3"})(["align-items:center;display:flex;gap:2px;",""],m),b=u.default.span.withConfig({displayName:"indexstyle__CharacterStyle",componentId:"sc-11d4rgl-4"})([""," ::after{","}"],m,(function(e){return e.focused&&"\n position: absolute;\n "})),j=t(48339),y=t(39643),w=t(11498),Z=t(42041),k=t(3314),C=t(44688),O=t(28598);function P(e,n){var t="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,n){if(!e)return;if("string"===typeof e)return _(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return _(e,n)}(e))||n&&e&&"number"===typeof e.length){t&&(e=t);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return c=e.done,e},e:function(e){l=!0,o=e},f:function(){try{c||null==t.return||t.return()}finally{if(l)throw o}}}}function _(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function M(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function F(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?M(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):M(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var S=function(e){var n=e.lastMessage,t=e.onFocus,r=e.sendMessage,i=e.uuid,u=void 0===i?"terminal":i,d=e.width,h=(0,c.useRef)(null),f=(0,c.useRef)(null),p=(0,c.useState)(""),m=p[0],_=p[1],M=(0,c.useState)(0),S=M[0],z=M[1],H=(0,c.useState)(0),D=H[0],I=H[1],E=(0,c.useState)([]),T=E[0],L=E[1],A=(0,c.useState)(!1),N=A[0],B=A[1],R=(0,c.useState)(),U=R[0],G=R[1],q=(0,c.useMemo)((function(){return new l.Z}),[]),X=(0,c.useMemo)((function(){return{api_key:w.l,token:q.decodedToken.token}}),[q]);(0,c.useEffect)((function(){if(n){var e=JSON.parse(n.data);G((function(n){var t=n||"";return"stdout"===e[0]?t+e[1]:t}))}}),[n]);var Y=(0,c.useMemo)((function(){return U?U.split("\n").filter((function(e){return!e.includes("# Mage terminal settings command")})).map((function(e){return{data:e,type:j.Gi.TEXT}})):[]}),[U]);(0,c.useEffect)((function(){if(h.current&&f.current){var e=f.current.getBoundingClientRect().height;h.current.scrollTo(0,e)}}),[m,Y,h,f]);var W=(0,C.y)(),V=W.registerOnKeyDown,J=W.setDisableGlobalKeyboardShortcuts,Q=W.unregisterOnKeyDown;(0,c.useEffect)((function(){return function(){Q(u)}}),[Q,u]);var K=(0,c.useCallback)((function(){I((function(e){return e>0?e-1:e}))}),[]),$=(0,c.useCallback)((function(){I((function(e){return e<m.length?e+1:e}))}),[m]),ee=(0,c.useCallback)((function(e){r(JSON.stringify(F(F({},X),{},{command:["stdin",e]}))),r(JSON.stringify(F(F({},X),{},{command:["stdin","\r"]}))),(null===e||void 0===e?void 0:e.length)>=2&&(z(T.length+1),L((function(n){return n.concat(e)})),I(0)),_("")}),[T,r,_,L,z,I]),ne=(0,c.useCallback)((function(e){var n=(null===e||void 0===e?void 0:e.split(/\n/))||[];if(n.length>1){var t=n.slice(0,-1);ee(m+t.join("\n"));var r=(n.slice(-1)[0]||"").trim();_(r),I(r.length)}else _((function(n){return n+e})),I(m.length+e.length)}),[m,ee,_,I]);V(u,(function(e,n,t){var i=e.code,o=e.key;if(N)if((0,k.j)(e),(0,Z.y)([y.PQ,y.VS],n))(null===m||void 0===m?void 0:m.length)>=0&&(r(JSON.stringify(F(F({},X),{},{command:["stdin",m]}))),r(JSON.stringify(F(F({},X),{},{command:["stdin","\x03"]}))),I(0)),_("");else if(y.Qj!==i||n[y.zX])if((0,Z.y)([y.QK],n))K();else if((0,Z.y)([y.DY],n))$();else if((0,Z.y)([y.Bu],n)){if(T.length>=1){var c,l=Math.max(0,S-1);_(T[l]),z(l),I((null===(c=T[l])||void 0===c?void 0:c.length)||0)}}else if((0,Z.y)([y.kD],n)){if(T.length>=1){var a=Math.min(T.length,S+1),s=T[a]||"";_(s),z(a),I(s.length)}}else if((0,Z.y)([y.Uq],n))ee(m);else if((0,Z.y)([y.zX,y.VS],n))navigator.clipboard.writeText(window.getSelection().toString());else if((0,Z.y)([y.zX,y.Pd],n)||(0,Z.y)([y.PQ,y.Pd],n)){var u,d,h,f,p;"undefined"===typeof(null===(u=navigator)||void 0===u?void 0:u.clipboard)?alert('Clipboard pasting is not allowed in insecure contexts. If your Mage deployment is not secure but you still want to use clipboard paste, you can override this setting (which should only be done temporarily) on Chrome browsers by going to "chrome://flags/#unsafely-treat-insecure-origin-as-secure", adding your origin to "Insecure origins treated as secure", and enabling that setting.'):null!==(d=navigator)&&void 0!==d&&null!==(h=d.clipboard)&&void 0!==h&&h.readText?navigator.clipboard.readText().then(ne).catch((function(e){return alert("".concat(e,'\n For Chrome, users need to allow clipboard permissions for this site under "Privacy and security" -> "Site settings".\n For Safari, users need to allow the clipboard paste by clicking "Paste" in the context menu that appears.'))})):null!==(f=navigator)&&void 0!==f&&null!==(p=f.clipboard)&&void 0!==p&&p.read?navigator.clipboard.read().then((function(e){var n,t=P(e);try{for(t.s();!(n=t.n()).done;){var r,i=n.value,o=P(i.types);try{for(o.s();!(r=o.n()).done;){var c=r.value;if("text/plain"===c)return i.getType(c)}}catch(l){o.e(l)}finally{o.f()}}}catch(l){t.e(l)}finally{t.f()}})).then((function(e){return e.text()})).then(ne).catch((function(e){return alert("".concat(e,'\n For Firefox, users need to allow clipboard paste by setting the "dom.events.asyncClipboard.read" preference in "about:config" to "true" and clicking "Paste" in the context menu that appears.'))})):alert('If pasting is not working properly, you may need to adjust some settings in your browser.\n\n For Firefox, users need to allow clipboard paste by setting both the "dom.events.asyncClipboard.clipboardItem" and "dom.events.asyncClipboard.read" preferences in "about:config" to "true" and clicking "Paste" in the context menu that appears.\n For Chrome, users need to allow clipboard permissions for this site under "Privacy and security" -> "Site settings".\n For Safari, users need to allow the clipboard paste by clicking "Paste" in the context menu that appears.\n')}else n[y.zX]||n[y.PQ]||1!==o.length||(_((function(e){return e.slice(0,D)+o+e.slice(D)})),I((function(e){return e+1})));else{var v=Math.max(0,D-1);_((function(e){return e.slice(0,v)+e.slice(D)})),I((function(e){return Math.max(0,e-1)}))}}),[m,T,S,N,_,L,z,u]);var te=(0,c.useMemo)((function(){var e;return null===(e=Y[Y.length-1])||void 0===e?void 0:e.data}),[Y]);return(0,O.jsx)(v,{ref:h,width:d,children:(0,O.jsx)(a.Z,{isOpen:!0,onClick:function(){null===t||void 0===t||t(),B(!0),J(!0)},onClickOutside:function(){B(!1),J(!1)},style:{minHeight:"100%"},children:(0,O.jsxs)(g,{ref:f,width:d,children:[null===Y||void 0===Y?void 0:Y.reduce((function(e,n,t){if(t==Y.length-1)return e;var r=n||{},i=r.command,c=r.data,l=r.type,a=[];a=(a=Array.isArray(c)?c:[c]).filter((function(e){return e}));var u=[];return a.forEach((function(e,n){var r;if(j.jU.includes(l)&&(r=(0,O.jsx)(s.ZP,{monospace:!0,preWrap:!0,children:e&&(0,O.jsx)(o(),{children:e})})),r){var c="command-".concat(t,"-").concat(n,"-").concat(e);i||u.push((0,O.jsx)("div",{children:r},c))}})),e.concat(u)}),[]),(0,O.jsx)(x,{focused:N&&0===(null===m||void 0===m?void 0:m.length),children:(0,O.jsxs)(s.ZP,{monospace:!0,children:[(0,O.jsx)(s.ZP,{inline:!0,monospace:!0,children:te&&(0,O.jsx)(o(),{children:te})}),null===m||void 0===m?void 0:m.split("").map((function(e,n,t){return(0,O.jsxs)(b,{focusBeginning:N&&0===D&&0===n,focused:N&&(D===n+1||D>=t.length&&n===t.length-1),children:[" "===e&&(0,O.jsx)(O.Fragment,{children:"\xa0"}),"\n"===e&&(0,O.jsx)("br",{})," "!==e&&e]},"command-".concat(n,"-").concat(e))}))]})})]})})})}},31353:function(e,n,t){t.d(n,{Mz:function(){return a},T5:function(){return u},bf:function(){return s}});var r,i=t(82394),o=t(72473),c=t(89370),l=t(70515),a=7*l.iI,s=22,u=(l.iI,l.iI,r={},(0,i.Z)(r,c.RL.CATEGORY,o.WD),(0,i.Z)(r,c.RL.CATEGORY_HIGH_CARDINALITY,o.Rj),(0,i.Z)(r,c.RL.DATETIME,o.aw),(0,i.Z)(r,c.RL.EMAIL,o.GT),(0,i.Z)(r,c.RL.LIST,o.aV),(0,i.Z)(r,c.RL.NUMBER,o.qZ),(0,i.Z)(r,c.RL.NUMBER_WITH_DECIMALS,o.As),(0,i.Z)(r,c.RL.PHONE_NUMBER,o.LP),(0,i.Z)(r,c.RL.TEXT,o.KJ),(0,i.Z)(r,c.RL.TRUE_OR_FALSE,o.Kb),(0,i.Z)(r,c.RL.UUID,o.SS),(0,i.Z)(r,c.RL.ZIP_CODE,o.$t),r)},70320:function(e,n,t){t.d(n,{EB:function(){return c},hY:function(){return a},qB:function(){return l}});var r=t(72191),i=t(78419),o=t(53808),c={block:!0,description:"Display dates in local timezone. Please note that certain pages (e.g. Monitor page) or components (e.g. Pipeline run bar charts) may still be in UTC time. Dates in local time will have a timezone offset in the timestamp (e.g. -07:00).",lightBackground:!0,muted:!0,size:r._k};function l(){return(0,o.U2)(i.am,null)||!1}function a(e){return"undefined"!==typeof e&&(0,o.t8)(i.am,e),e}},68487:function(e,n,t){t.d(n,{Z:function(){return Te}});var r=t(75582),i=t(12691),o=t.n(i),c=t(38626),l=t(82684),a=t(34376),s=t(40761),u=t(54750),d=t(71180),h=t(39867),f=t(50724),p=t(58036),v=t(97618),g=t(55485),m=t(70374),x=t(82394),b=t(56085),j=t(69864),y=t(70652),w=t(44085),Z=t(38276),k=t(4190),C=t(28026),O=t(30160),P=t(35576),_=t(17488),M=t(69650),F=t(35686),S=t(72473),z=t(44897),H=t(42631),D=t(31353),I=t(47041),E=t(70515),T=c.default.div.withConfig({displayName:"GitActionsstyle__HeaderStyle",componentId:"sc-ynrhio-0"})(["border-bottom:1px solid #1B1C20;height:","px;display:flex;flex-direction:row;justify-content:space-between;align-items:center;"],D.Mz),L=c.default.div.withConfig({displayName:"GitActionsstyle__TerminalStyle",componentId:"sc-ynrhio-1"})(["height:calc(75vh - ","px);position:relative;"],D.Mz),A=c.default.div.withConfig({displayName:"GitActionsstyle__PanelStyle",componentId:"sc-ynrhio-2"})(["height:75vh;min-height:300px;width:75vw;backgroundColor:#232429;border-radius:","px;",""],H.n_,(function(e){return"\n background-color: ".concat((e.theme.background||z.Z.background).panel,";\n ")})),N=c.default.div.withConfig({displayName:"GitActionsstyle__OutputStyle",componentId:"sc-ynrhio-3"})([""," padding:","px;height:calc(75vh - ","px);overflow-y:auto;"],I.w5,2*E.iI,D.Mz),B=t(4383),R=t(72619),U=t(86735),G=t(50178),q=t(28598);function X(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Y(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?X(Object(t),!0).forEach((function(n){(0,x.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):X(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var W={clone:"Clone repository",new_branch:"Create new branch",commit:"Commit & push",pull:"Pull",reset_hard:"Hard reset"};var V=function(e){var n,t=e.branch,i=(e.fetchBranch,(0,l.useState)()),o=i[0],c=i[1],a=(0,l.useState)(),s=a[0],u=a[1],h=(0,l.useState)(),f=h[0],p=h[1],v=(0,l.useState)(),m=v[0],x=v[1],z=(0,l.useState)(),H=z[0],D=z[1],I=(0,l.useState)(),E=I[0],X=I[1],V=F.ZP.git_custom_branches.list(),J=V.data,Q=V.mutate,K=(0,l.useMemo)((function(){return null===J||void 0===J?void 0:J.git_custom_branches}),[J]),$=F.ZP.syncs.list().data,ee=(0,l.useMemo)((function(){var e;if($)return null===(e=$.syncs)||void 0===e?void 0:e[0]}),[$]),ne=(0,j.Db)(F.ZP.git_branches.useCreate(),{onSuccess:function(e){return(0,R.wD)(e,{callback:function(){Q(),window.location.reload()},onErrorCallback:function(e){var n=e.error.exception;D(n)}})}}),te=(0,r.Z)(ne,2),re=te[0],ie=te[1].isLoading,oe=(0,j.Db)((function(){return F.ZP.git_branches.useUpdate(t)({git_branch:{action_type:"status"}})}),{onSuccess:function(e){return(0,R.wD)(e,{onErrorCallback:function(e){var n=e.error.exception;D(n)}})}}),ce=(0,r.Z)(oe,1)[0],le=(0,j.Db)(F.ZP.git_branches.useUpdate(t),{onSuccess:function(e){return(0,R.wD)(e,{callback:function(){D(null),x("DONE")},onErrorCallback:function(e){var n=e.error.exception;D(n)}})}}),ae=(0,r.Z)(le,2),se=ae[0],ue=ae[1].isLoading,de=(0,j.Db)(F.ZP.git_branches.useUpdate(t),{onSuccess:function(e){return(0,R.wD)(e,{callback:function(){D(null),window.location.reload()},onErrorCallback:function(e){var n=e.error.exception;D(n)}})}}),he=(0,r.Z)(de,2),fe=he[0],pe=he[1].isLoading,ve=(0,l.useState)(),ge=ve[0],me=ve[1],xe=(0,l.useState)([]),be=xe[0],je=xe[1],ye=(0,l.useState)([]),we=ye[0],Ze=ye[1],ke=(0,l.useCallback)((function(){ce().then((function(e){var n=e.data,t=null===n||void 0===n?void 0:n.git_branch,r=null===t||void 0===t?void 0:t.status,i=null===t||void 0===t?void 0:t.modified_files,o=null===t||void 0===t?void 0:t.untracked_files;me(r),je(o),Ze(i)}))}),[ce]),Ce=(0,l.useMemo)((function(){return ie||ue||pe}),[ie,ue,pe]);(0,l.useEffect)((function(){return ke()}),[f,ke]);var Oe=(0,l.useMemo)((function(){return(0,G.PR)()||{}}),[]),Pe=(0,l.useMemo)((function(){var e={term_name:null!==Oe&&void 0!==Oe&&Oe.id?"git_".concat(null===Oe||void 0===Oe?void 0:Oe.id):"git"};return null!==ee&&void 0!==ee&&ee.repo_path&&(e.cwd=null===ee||void 0===ee?void 0:ee.repo_path),e}),[null===ee||void 0===ee?void 0:ee.repo_path,Oe]),_e=(0,b.ZP)((0,B.Ib)("terminal"),{shouldReconnect:function(){return!0}},"cwd"in Pe),Me=_e.lastMessage,Fe=_e.sendMessage,Se=(0,l.useCallback)((function(e){return(0,q.jsx)(y.Z,{checked:((null===o||void 0===o?void 0:o.files)||[]).includes(e),label:(0,q.jsx)(O.ZP,{small:!0,children:e}),onClick:function(){c((function(n){var t=(null===n||void 0===n?void 0:n.files)||[];return t=t.includes(e)?(0,U.Od)(t,(function(n){return n===e})):[e].concat(t),Y(Y({},n),{},{files:t})}))},small:!0},e)}),[o]),ze=(0,l.useMemo)((function(){return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(d.ZP,{onClick:function(){return c((function(e){return Y(Y({},e),{},{files:we.concat(be)})}))},children:"Include all changes"}),we&&we.length>0&&(0,q.jsxs)(Z.Z,{mb:1,children:[(0,q.jsx)(Z.Z,{my:1,children:(0,q.jsx)(O.ZP,{children:"Modified files"})}),we.map(Se)]}),be&&be.length>0&&(0,q.jsxs)(Z.Z,{mb:1,children:[(0,q.jsx)(Z.Z,{my:1,children:(0,q.jsx)(O.ZP,{children:"Untracked files"})}),be.map(Se)]})]})}),[Se,we,be]),He=(0,l.useMemo)((function(){return(0,q.jsx)(Z.Z,{p:2,children:Ce?(0,q.jsx)(k.Z,{color:"white"}):(0,q.jsxs)(q.Fragment,{children:["commit"===f&&(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(P.Z,{compact:!0,fullWidth:!0,label:"Commit message",monospace:!0,onChange:function(e){return c((function(n){return Y(Y({},n),{},{message:e.target.value})}))},required:!0,value:null===o||void 0===o?void 0:o.message}),(0,q.jsx)(Z.Z,{mt:1}),(0,q.jsxs)(g.ZP,{children:[(0,q.jsx)(d.ZP,{borderLess:!0,onClick:function(){se({git_branch:Y({action_type:"commit"},o)}).then((function(){ke(),c(null)}))},success:!0,children:"Commit"}),(0,q.jsx)(Z.Z,{mr:1}),(0,q.jsx)(d.ZP,{borderLess:!0,onClick:function(){se({git_branch:{action_type:"push"}})},primary:!0,children:"Push"})]})]}),"new_branch"===f&&(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(_.Z,{compact:!0,fullWidth:!0,label:"Branch name",monospace:!0,onChange:function(e){return c({name:e.target.value})},value:null===o||void 0===o?void 0:o.name}),(0,q.jsx)(Z.Z,{mt:1}),(0,q.jsx)(d.ZP,{borderLess:!0,onClick:function(){re({git_branch:o})},primary:!0,children:"Create"})]}),"clone"===f&&(0,q.jsxs)(q.Fragment,{children:[(0,q.jsxs)(O.ZP,{children:["Clone from ",(0,q.jsx)(O.ZP,{default:!0,inline:!0,children:null===ee||void 0===ee?void 0:ee.remote_repo_link})," to ",(0,q.jsx)(O.ZP,{default:!0,inline:!0,children:null===ee||void 0===ee?void 0:ee.repo_path}),". This ",(0,q.jsx)(O.ZP,{danger:!0,inline:!0,children:"will overwrite"})," any existing data in the local repository."]}),(0,q.jsx)(Z.Z,{mt:1}),(0,q.jsx)(d.ZP,{borderLess:!0,onClick:function(){fe({git_branch:{action_type:"clone"}})},primary:!0,children:"Clone"})]}),"pull"===f&&(0,q.jsx)(d.ZP,{borderLess:!0,onClick:function(){fe({git_branch:{action_type:"pull"}})},primary:!0,children:"Pull"}),"reset_hard"===f&&(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(Z.Z,{mb:1,children:(0,q.jsx)(O.ZP,{children:s||"This will reset your local branch to match the remote branch."})}),s?(0,q.jsx)(d.ZP,{borderLess:!0,onClick:function(){u(null),fe({git_branch:{action_type:"reset"}})},warning:!0,children:"Confirm"}):(0,q.jsx)(d.ZP,{borderLess:!0,onClick:function(){return u("Are you sure you want to reset your branch? Your local changes may be erased.")},primary:!0,children:"Reset branch"})]}),(0,q.jsx)(Z.Z,{mt:1,children:!Ce&&(0,q.jsxs)(q.Fragment,{children:[!H&&m&&(0,q.jsx)(O.ZP,{children:m}),H&&(0,q.jsx)(O.ZP,{preWrap:!0,danger:!0,children:H})]})})]})})}),[Ce,f,H,ee,m,o,s,ge]),De=(0,l.useMemo)((function(){return(0,q.jsx)(C.Z,{lastMessage:Me,sendMessage:Fe})}),[Me,Fe]);return(0,q.jsxs)(A,{children:[(0,q.jsxs)(T,{children:[(0,q.jsx)(Z.Z,{m:2,children:(0,q.jsxs)(g.ZP,{children:[(0,q.jsx)(w.Z,{beforeIcon:(0,q.jsx)(S.I0,{}),compact:!0,onChange:function(e){e.preventDefault(),re({git_branch:{name:e.target.value}})},placeholder:"Select a branch",value:t,children:null===K||void 0===K?void 0:K.map((function(e){var n=e.name;return(0,q.jsx)("option",{value:n,children:n},n)}))},"select_branch"),(0,q.jsx)(Z.Z,{ml:2}),(0,q.jsxs)(w.Z,{compact:!0,onChange:function(e){e.preventDefault(),p(e.target.value),X(!1),x(null),c(null)},value:f,children:[(0,q.jsx)("option",{value:"",children:"Select an action"}),Object.entries(W).map((function(e){var n=(0,r.Z)(e,2),t=n[0],i=n[1];return(0,q.jsx)("option",{value:t,children:i},t)}))]},"select_git_action")]})}),(0,q.jsx)(Z.Z,{m:2,children:(0,q.jsxs)(g.ZP,{alignItems:"center",children:[(0,q.jsx)(O.ZP,{children:"UI"}),(0,q.jsx)(Z.Z,{ml:1}),(0,q.jsx)(M.Z,{checked:!!E,monotone:!0,onCheck:function(){return X((function(e){return!e}))}}),(0,q.jsx)(Z.Z,{ml:1}),(0,q.jsx)(O.ZP,{children:"Terminal"})]})})]}),(0,q.jsxs)(g.ZP,{children:[(0,q.jsx)("div",{style:{width:"50%"},children:(0,q.jsx)(N,{children:"commit"===f?ze:(0,q.jsx)(q.Fragment,{children:null===ge||void 0===ge||null===(n=ge.split("\\n"))||void 0===n?void 0:n.map((function(e){return(0,q.jsx)(O.ZP,{monospace:!0,preWrap:!0,small:!0,children:e},e)}))})})}),(0,q.jsx)("div",{style:{width:"50%"},children:E?(0,q.jsx)(L,{children:De}):He})]})]})},J=18.53/14;var Q=function(e){var n=e.height,t=e.width,r=n||(t?t*(1/J):14),i=t||(n?n*J:18.53);return(0,q.jsxs)("svg",{width:i,height:r,viewBox:"0 0 20 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,q.jsx)("path",{opacity:"0.4",d:"M15.3266 0L19.2641 1.82961e-06L11.9687 14L8.03125 14L15.3266 0Z",fill:"url(#paint0_linear_1303_5)"}),(0,q.jsx)("path",{d:"M11.9692 1.82961e-06L8.03164 0L0.736328 14L4.67383 14L8.03164 7.55626V14H11.9691V8.38194e-05L11.9692 1.82961e-06Z",fill:"url(#paint1_linear_1303_5)"}),(0,q.jsx)("path",{d:"M15.3269 2.57679e-06H19.2644V14H15.3269V2.57679e-06Z",fill:"url(#paint2_linear_1303_5)"}),(0,q.jsxs)("defs",{children:[(0,q.jsxs)("linearGradient",{id:"paint0_linear_1303_5",x1:"8.03125",y1:"7",x2:"19.2641",y2:"7",gradientUnits:"userSpaceOnUse",children:[(0,q.jsx)("stop",{offset:"0.28125",stopColor:"#7D55EC"}),(0,q.jsx)("stop",{offset:"1",stopColor:"#2AB2FE"})]}),(0,q.jsxs)("linearGradient",{id:"paint1_linear_1303_5",x1:"0.736328",y1:"7",x2:"19.2644",y2:"7",gradientUnits:"userSpaceOnUse",children:[(0,q.jsx)("stop",{offset:"0.28125",stopColor:"#7D55EC"}),(0,q.jsx)("stop",{offset:"1",stopColor:"#2AB2FE"})]}),(0,q.jsxs)("linearGradient",{id:"paint2_linear_1303_5",x1:"0.736328",y1:"7",x2:"19.2644",y2:"7",gradientUnits:"userSpaceOnUse",children:[(0,q.jsx)("stop",{offset:"0.28125",stopColor:"#7D55EC"}),(0,q.jsx)("stop",{offset:"1",stopColor:"#2AB2FE"})]})]})]})},K=t(93369),$=t(48670),ee=t(63637),ne=t(89515),te=t(26304),re="12px 20px",ie="1px",oe=(0,c.default)(d.ZP).withConfig({displayName:"indexstyle__ButtonStyle",componentId:"sc-hssntx-0"})(["",";"],(function(e){return e.active&&"\n background-color: ".concat((e.theme.background||z.Z.background).dashboard,";\n ")})),ce=c.default.div.withConfig({displayName:"indexstyle__DropdownContainerStyle",componentId:"sc-hssntx-1"})(["position:absolute;top:",";right:0;width:","px;display:flex;flex-direction:column;gap:",";overflow:hidden;background-color:",";border-radius:","px;border:1px solid ",";"],(function(e){return e.top||0}),45*E.iI,ie,(function(e){return(e.theme.borders||z.Z.borders).darkLight}),H.n_,(function(e){return(e.theme.borders||z.Z.borders).darkLight})),le=c.default.div.withConfig({displayName:"indexstyle__DropdownHeaderStyle",componentId:"sc-hssntx-2"})(["padding:",";background-color:",";"],re,(function(e){return(e.theme.background||z.Z.background).panel})),ae=c.default.div.withConfig({displayName:"indexstyle__TimeListContainerStyle",componentId:"sc-hssntx-3"})(["height:","px;display:flex;gap:",";"],20*E.iI,ie),se=c.default.div.withConfig({displayName:"indexstyle__TimeColumnStyle",componentId:"sc-hssntx-4"})(["display:flex;flex-direction:column;align-items:center;flex:1;gap:",";"],ie),ue=c.default.div.withConfig({displayName:"indexstyle__DropdownCellStyle",componentId:"sc-hssntx-5"})(["width:100%;padding:",";display:flex;flex-direction:",";flex-grow:",";justify-content:center;align-items:center;background-color:",";"],re,(function(e){return e.flexDirection||"unset"}),(function(e){return e.flexGrow||"unset"}),(function(e){return(e.theme.background||z.Z.background).dashboard})),de=c.default.div.withConfig({displayName:"indexstyle__ToggleGroupStyle",componentId:"sc-hssntx-6"})(["display:flex;flex-direction:column;"]),he=(0,c.default)(ue).withConfig({displayName:"indexstyle__ToggleDropdownCellStyle",componentId:"sc-hssntx-7"})(["justify-content:flex-start;gap:12px;padding-right:","px;"],1.25*E.iI),fe=["active","mountedCallback","time","timeZone"];function pe(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ve(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?pe(Object(t),!0).forEach((function(n){(0,x.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):pe(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function ge(e){var n=e.active,t=e.mountedCallback,r=e.time,i=e.timeZone,o=(0,te.Z)(e,fe),c=(0,l.useRef)(null);return(0,l.useEffect)((function(){null!==c&&void 0!==c&&c.current&&t(c.current.offsetHeight)}),[t]),(0,q.jsx)(oe,ve(ve({},o),{},{active:n,borderLess:!0,borderRadius:"".concat(H.BG,"px"),compact:!0,highlightOnHoverAlt:!0,ref:c,transparent:!0,children:(0,q.jsx)(O.ZP,{inline:!0,monospace:!0,small:!0,children:"".concat(r," ").concat(i)})}))}var me=(0,l.memo)(ge),xe=t(12468),be=t(63055),je=t(82359),ye=t(72191),we=t(70320),Ze=t(79633),ke=t(3917),Ce=t(78419),Oe=t(53808);var Pe=t(23780);function _e(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Me(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?_e(Object(t),!0).forEach((function(n){(0,x.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):_e(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Fe=[ke.Oh.UTC,ke.Oh.LOCAL];var Se=function(e){var n=e.projectName,t=(0,l.useState)((0,we.qB)()),i=t[0],o=t[1],c=(0,l.useState)((0,Oe.U2)(Ce.kL,!1)),a=c[0],s=c[1],u=(0,l.useState)(!1),d=u[0],h=u[1],p=(0,l.useState)((0,ke.e)({includeSeconds:!0,timeZones:Fe})),v=p[0],g=p[1],m=(0,l.useState)(0),b=m[0],y=m[1],w=i?ke.Oh.LOCAL:ke.Oh.UTC,Z=window.innerWidth<be.nc,k=(0,Pe.VI)(null,{},[],{uuid:"components/ServerTimeDropdown"}),C=(0,r.Z)(k,1)[0],P=(0,j.Db)(F.ZP.projects.useUpdate(n),{onSuccess:function(e){return(0,R.wD)(e,{onErrorCallback:function(e,n){return C({errors:n,response:e})}})}}),_=(0,r.Z)(P,1)[0],S=(0,l.useCallback)((function(){h((function(e){return!e}))}),[]),z=(0,l.useCallback)((function(e){y(e)}),[]),H=(0,l.useCallback)((function(){var e=(0,ke.e)({includeSeconds:a,timeZones:Fe});g((function(n){return n.size===e.size&&n.get(ke.Oh.UTC)===e.get(ke.Oh.UTC)?n:e}))}),[a]),D=[{checked:i,label:"Display local timezone (requires refresh)",onCheck:function(){var e=!i;o((0,we.hY)(e)),_({project:{features:(0,x.Z)({},je.d.LOCAL_TIMEZONE,e)}})},uuid:je.d.LOCAL_TIMEZONE},{checked:a,label:"Include seconds in current time",onCheck:function(){var e;s((e=!a,(0,Oe.uN)(Ce.kL,e)))},uuid:"current_time_seconds"}];return(0,l.useEffect)((function(){var e=setInterval((function(){H()}),1e3);return function(){return clearInterval(e)}}),[H]),(0,l.useEffect)((function(){H()}),[a,H]),v?(0,q.jsx)(f.Z,{onClickOutside:function(){return h(!1)},open:!0,children:(0,q.jsxs)("div",{style:{position:"relative"},children:[(0,q.jsx)(me,{active:d,disabled:Z,mountedCallback:z,onClick:S,time:v.get(w),timeZone:(0,ke.WT)(w)}),!Z&&d&&(0,q.jsxs)(ce,{top:b,children:[(0,q.jsx)(le,{children:(0,q.jsx)(O.ZP,{bold:!0,muted:!0,uppercase:!0,children:"Current Time"})}),(0,q.jsx)(ae,{children:Fe.map((function(e){return(0,q.jsxs)(se,{children:[(0,q.jsx)(ue,{children:(0,q.jsx)(O.ZP,{bold:!0,center:!0,muted:!0,uppercase:!0,children:"".concat(e).concat(e===ke.Oh.LOCAL?" - ".concat((0,ke.WT)(e)):"")})}),(0,q.jsxs)(ue,{flexDirection:"column",flexGrow:3,children:[(0,q.jsx)(O.ZP,{bold:!0,center:!0,color:Ze.J$,largeLg:!0,children:v.get(e)}),(0,q.jsx)(O.ZP,{center:!0,muted:!0,small:!0,children:e===ke.Oh.UTC?"Universal Time":ke.mi[e]})]})]},e)}))}),(0,q.jsx)(de,{children:D.map((function(e){return(0,q.jsxs)(he,{children:[(0,q.jsx)(M.Z,{checked:e.checked,compact:!0,onCheck:e.onCheck,purpleBackground:!0}),(0,q.jsx)(O.ZP,{children:e.label}),e.uuid===je.d.LOCAL_TIMEZONE&&(0,q.jsx)(xe.Z,Me(Me({},we.EB),{},{appearAbove:!0,appearBefore:!0,size:ye.bL}))]},e.label)}))})]})]})}):null},ze=t(46684),He=t(87848),De=t(95363),Ie=t(69419),Ee=t(89538);var Te=function(e){var n,t=e.breadcrumbs,i=e.menuItems,x=e.project,b=e.version,j=(0,l.useContext)(c.ThemeContext),y=(0,G.PR)(),w=(0,l.useState)(!1),k=w[0],C=w[1],P=(0,l.useState)(null),_=P[0],M=P[1],z=(0,l.useState)(!1),H=z[0],D=z[1],I=(0,l.useState)(null),T=I[0],L=I[1],A=(0,l.useRef)(null),N=(0,l.useRef)(null),B=(0,a.useRouter)(),R=F.ZP.git_branches.detail("test",{_format:"with_basic_details"},{revalidateOnFocus:!1}),U=R.data,X=R.mutate,Y=(0,l.useMemo)((function(){return(null===U||void 0===U?void 0:U.git_branch)||{}}),[U]),W=Y.is_git_integration_enabled,J=Y.name,te=F.ZP.projects.list({},{revalidateOnFocus:!1},{pauseFetch:!!x}).data,re=(0,l.useMemo)((function(){var e;return x||(null===te||void 0===te||null===(e=te.projects)||void 0===e?void 0:e[0])}),[te,x]),ie=(0,l.useMemo)((function(){return b||(null===re||void 0===re?void 0:re.version)}),[re,b]),oe=s.Z.isLoggedIn(),ce=(0,l.useMemo)((function(){return t||[{bold:!0,label:function(){return null===re||void 0===re?void 0:re.name},linkProps:{href:"/",sameColorText:!0}}]}),[t,re]),le=B.query.pipeline,ae=(re||{}).latest_version,se=(0,l.useMemo)((function(){return(0,q.jsx)(o(),{as:"/",href:"/",passHref:!0,children:(0,q.jsx)($.Z,{block:!0,height:ze.y7,noHoverUnderline:!0,noOutline:!0,children:(0,q.jsx)(Q,{height:ze.y7})})})}),[]),ue=[{label:function(){return"Settings"},linkProps:{href:"/settings/workspace/preferences"},uuid:"user_settings"}];(0,G.YB)()&&ue.push({label:function(){return"Sign out"},onClick:function(){s.Z.logout((function(){F.ZP.sessions.updateAsync(null,1).then((function(){(0,Ie.nL)("/sign-in")})).catch((function(){(0,Ie.nL)("/")}))}))},uuid:"sign_out"});var de=(0,Ee.dd)((function(){return(0,q.jsx)(V,{branch:J,fetchBranch:X})}),{},[J,X],{background:!0,uuid:"git_actions"}),he=(0,r.Z)(de,2),fe=he[0],pe=(he[1],(0,l.useMemo)((function(){return(null===J||void 0===J?void 0:J.length)>=21?"".concat(J.slice(0,21),"..."):J}),[J])),ve=(0,l.useMemo)((function(){return!(!y||null===y||void 0===y||!y.avatar)&&!/[A-Za-z0-9]+/.exec((null===y||void 0===y?void 0:y.avatar)||"")}),[y]),ge=(0,l.useMemo)((function(){return!(!y||null===y||void 0===y||!y.avatar)&&!!/[A-Za-z0-9]+/.exec((null===y||void 0===y?void 0:y.avatar)||"")}),[y]),me=(0,l.useMemo)((function(){var e;if(!y||null===y||void 0===y||!y.avatar)return(0,q.jsx)(ee.Z,{});var n={color:null===j||void 0===j||null===(e=j.content)||void 0===e?void 0:e.active,fontFamily:De.v$};return ge?(n.fontSize=2*E.iI,n.lineHeight="".concat(2*E.iI,"px"),n.position="relative",n.top=1):n.fontSize=3*E.iI,(0,q.jsx)("div",{style:n,children:null===y||void 0===y?void 0:y.avatar})}),[ge,y]);return(0,q.jsx)(ze.I5,{children:(0,q.jsx)(p.Z,{children:(0,q.jsxs)(g.ZP,{alignItems:"center",fullHeight:!0,justifyContent:"space-between",children:[(0,q.jsxs)(v.Z,{alignItems:"center",children:[ie&&(0,q.jsx)(xe.Z,{height:ze.y7,label:"Version ".concat(ie),size:null,visibleDelay:300,widthFitContent:!0,children:se}),!ie&&se,(0,q.jsx)(u.Z,{breadcrumbs:ce})]}),(0,q.jsxs)(v.Z,{alignItems:"center",children:[W&&J&&(0,q.jsx)(Z.Z,{ml:1,children:(0,q.jsx)(K.ZP,{compact:!0,highlightOnHoverAlt:!0,noBackground:!0,noHoverUnderline:!0,onClick:fe,sameColorAsText:!0,title:J,uuid:"Header/GitActions",children:(0,q.jsxs)(g.ZP,{alignItems:"center",children:[(0,q.jsx)(S.I0,{size:1.5*E.iI}),(0,q.jsx)(Z.Z,{ml:1}),(0,q.jsx)(O.ZP,{monospace:!0,small:!0,children:pe})]})})}),(0,q.jsx)(Z.Z,{ml:1,children:(0,q.jsx)(Se,{projectName:null===re||void 0===re?void 0:re.name})}),ie&&"undefined"!==typeof ie&&(0,q.jsx)(Z.Z,{ml:2,children:(0,q.jsx)($.Z,{href:"https://www.mage.ai/changelog",monospace:!0,openNewWindow:!0,sameColorAsText:!0,small:!0,children:"v".concat(ie)})}),ae&&ie&&ae!==ie&&(0,q.jsx)(Z.Z,{ml:1,children:(0,q.jsx)(d.ZP,{backgroundColor:Ze.$R,borderLess:!0,compact:!0,linkProps:{href:"https://docs.mage.ai/about/releases"},noHoverUnderline:!0,pill:!0,sameColorAsText:!0,target:"_blank",title:"Update to version ".concat(ae),children:(0,q.jsx)(O.ZP,{black:!0,bold:!0,children:"Update"})})}),(0,q.jsx)(Z.Z,{ml:3,children:(0,q.jsx)(K.ZP,{beforeElement:(0,q.jsx)(S.jR,{}),compact:!0,highlightOnHoverAlt:!0,inline:!0,linkProps:{as:"https://www.mage.ai/chat",href:"https://www.mage.ai/chat"},noBackground:!0,noHoverUnderline:!0,openNewTab:!0,sameColorAsText:!0,uuid:"Header/live_chat",children:"Live help"})}),i&&(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(Z.Z,{ml:2}),(0,q.jsx)(f.Z,{onClickOutside:function(){return M(null)},open:!0,style:{position:"relative"},children:(0,q.jsxs)(g.ZP,{children:[(0,q.jsx)(He.u,{highlighted:0===_,onClick:function(){return M((function(e){return 0===e?null:0}))},onMouseEnter:function(){return M((function(e){return null!==e?0:null}))},ref:A,children:(0,q.jsx)(O.ZP,{children:"Menu"})}),(0,q.jsx)(m.Z,{alternateBackground:!0,items:i,onClickCallback:function(){return M(null)},open:0===_,parentRef:A,rightOffset:0,setConfirmationAction:L,setConfirmationDialogueOpen:D,uuid:"PipelineDetail/Header/menu"})]})}),(0,q.jsx)(f.Z,{onClickOutside:function(){return D(!1)},open:H,children:(0,q.jsx)(ne.Z,{danger:!0,onCancel:function(){return D(!1)},onClick:T,right:16*E.iI,subtitle:"This is irreversible and will immediately delete everything associated with the pipeline, including its blocks, triggers, runs, logs, and history.",title:"Are you sure you want to delete the pipeline ".concat(le,"?"),width:40*E.iI})})]}),(oe||!(0,G.YB)())&&(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(Z.Z,{ml:2}),(0,q.jsx)(f.Z,{onClickOutside:function(){return C(!1)},open:!0,style:{position:"relative"},children:(0,q.jsxs)(g.ZP,{alignItems:"center",flexDirection:"row",children:[(0,q.jsx)(He.u,{onClick:function(){return C(!0)},ref:N,children:ve&&(null===y||void 0===y||null===(n=y.avatar)||void 0===n?void 0:n.length)>=2?me:(0,q.jsx)(h.Z,{color:Ze.Jm,size:4*E.iI,children:me})}),(0,q.jsx)(m.Z,{alternateBackground:!0,items:ue,onClickCallback:function(){return C(!1)},open:k,parentRef:N,rightOffset:0,uuid:"shared/Header/user_menu"})]})})]})]})]})})})}},48339:function(e,n,t){var r,i;t.d(n,{Gi:function(){return i},jU:function(){return c},uF:function(){return r}}),function(e){e.BUSY="busy",e.IDLE="idle",e.QUEUED="queued"}(r||(r={})),function(e){e.IMAGE_PNG="image/png",e.PROGRESS="progress",e.TABLE="table",e.TEXT="text",e.TEXT_HTML="text/html",e.TEXT_PLAIN="text/plain"}(i||(i={}));var o,c=[i.TEXT,i.TEXT_PLAIN];!function(e){e.DISPLAY_DATA="display_data",e.STATUS="status",e.STREAM="stream",e.STREAM_PIPELINE="stream_pipeline"}(o||(o={}))},89515:function(e,n,t){t.d(n,{Z:function(){return g}});var r=t(71180),i=t(55485),o=t(38626),c=t(44897),l=t(42631),a=t(31353),s=t(70515),u=t(28598),d=o.default.div.withConfig({displayName:"PopupMenuContainer__ContainerStyle",componentId:"sc-lq9od4-0"})(["border-radius:","px;padding:","px;position:absolute;z-index:",";cursor:default;"," "," "," "," "," "," "," "," ",""],l.TR,2*s.iI,a.bf+100,(function(e){return"\n background-color: ".concat((e.theme.interactive||c.Z.interactive).defaultBackground,";\n box-shadow: ").concat((e.theme.shadow||c.Z.shadow).window,";\n ")}),(function(e){return"undefined"!==typeof e.left&&"\n left: ".concat(e.left,"px;\n ")}),(function(e){return"undefined"!==typeof e.right&&"\n right: ".concat(e.right,"px;\n ")}),(function(e){return"undefined"!==typeof e.top&&"\n top: ".concat(e.top,"px;\n ")}),(function(e){return"undefined"!==typeof e.bottom&&"\n bottom: ".concat(e.bottom,"px;\n ")}),(function(e){return"undefined"===typeof e.top&&"undefined"===typeof e.bottom&&"\n top: ".concat(a.Mz-1*s.iI,"px;\n ")}),(function(e){return e.centerOnScreen&&"\n top: 40%;\n left: 50%;\n transform: translate(-50%,-50%);\n "}),(function(e){return e.width&&"\n width: ".concat(e.width,"px;\n ")}),(function(e){return!e.width&&"\n min-width: ".concat(33*s.iI,"px;\n ")}));var h=function(e){var n=e.bottom,t=e.centerOnScreen,r=e.children,i=e.left,o=e.right,c=e.top,l=e.width;return(0,u.jsx)(d,{bottom:n,centerOnScreen:t,left:i,right:o,top:c,width:l,children:r})},f=t(38276),p=t(30160),v=32*s.iI;var g=function(e){var n=e.bottom,t=e.cancelText,o=e.centerOnScreen,c=e.confirmText,l=e.danger,a=e.left,s=e.isLoading,d=e.neutral,g=e.onCancel,m=e.onClick,x=e.right,b=e.subtitle,j=e.title,y=e.top,w=e.width;return(0,u.jsxs)(h,{bottom:n,centerOnScreen:o,left:a,right:x,top:y,width:w||v,children:[(0,u.jsxs)(i.ZP,{alignItems:"center",flexDirection:"column",children:[(0,u.jsx)(f.Z,{pb:1,children:(0,u.jsx)(p.ZP,{bold:!0,danger:l,large:!0,warning:!l,whiteSpaceNormal:!0,children:j})}),(0,u.jsx)(p.ZP,{small:!0,children:b})]}),(0,u.jsx)(f.Z,{mt:2,children:(0,u.jsxs)(i.ZP,{alignItems:"center",justifyContent:"center",children:[g&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(r.ZP,{onClick:g,children:t||"Cancel"}),(0,u.jsx)(f.Z,{mr:1})]}),(0,u.jsx)(r.ZP,{loading:s,onClick:m,children:(0,u.jsx)(p.ZP,{bold:!0,danger:l,success:!l&&!d,children:c||"Confirm"})})]})})]})}},70652:function(e,n,t){var r=t(21831),i=t(82394),o=t(26304),c=(t(82684),t(38626)),l=t(55485),a=t(38276),s=t(30160),u=t(44897),d=t(72473),h=t(42631),f=t(70515),p=t(28598),v=["beforeIcon","checked","disabled","errorMessage","label","labelDescription","large","meta","monospace","onClick","required","small","warning","xsmall"];function g(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function m(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?g(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):g(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var x=c.default.div.withConfig({displayName:"Checkbox__CheckboxContainer",componentId:"sc-ujqx42-0"})(["display:inline-block;vertical-align:middle;cursor:pointer;"]),b=c.default.div.withConfig({displayName:"Checkbox__ErrorContainer",componentId:"sc-ujqx42-1"})(["margin-top:4px;"]),j=c.default.input.withConfig({displayName:"Checkbox__HiddenCheckbox",componentId:"sc-ujqx42-2"})(["border:0;clip:rect(0 0 0 0);clippath:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px;",""],(function(e){return e.notClickable&&"\n background-color: ".concat((e.theme.content||u.Z.content).disabled,"\n border-color: ").concat((e.theme.content||u.Z.content).disabled,"\n\n &:hover {\n cursor: not-allowed;\n }\n ")})),y=c.default.div.withConfig({displayName:"Checkbox__StyledCheckbox",componentId:"sc-ujqx42-3"})(["border-radius:","px;height:","px;transition:all 150ms;width:","px;svg{position:relative;visibility:",";}"," "," "," "," input[disabled]{cursor:default;}"," ",""],.5*f.iI,2*f.iI,2*f.iI,(function(e){return e.checked||e.required?"visible":"hidden"}),(function(e){return e.large&&"\n svg {\n left: -4px;\n top: -8px;\n }\n "}),(function(e){return!e.checked&&"\n background-color: ".concat((e.theme.background||u.Z.background).popup,";\n border: ").concat(h.PV,"px ").concat(h.M8," ").concat((e.theme.content||u.Z.content).muted,";\n ")}),(function(e){return e.checked&&"\n background-color: ".concat((e.theme.interactive||u.Z.interactive).checked,";\n border: ").concat(h.YF,"px ").concat(h.M8," transparent;\n ")}),(function(e){return e.required&&"\n background-color: ".concat((e.theme.content||u.Z.content).disabled,";\n border: ").concat(h.YF,"px ").concat(h.M8," transparent;\n ")}),(function(e){return e.disabled&&"\n background-color: ".concat((e.theme.content||u.Z.content).disabled,";\n border-color: ").concat((e.theme.content||u.Z.content).disabled,";\n\n &:hover {\n cursor: not-allowed;\n }\n ")}),(function(e){return e.warning&&"\n background-color: ".concat((e.theme.accent||u.Z.accent).warning,";\n border-color: ").concat((e.theme.interactive||u.Z.interactive).defaultBorder,"\n ")})),w=c.default.label.withConfig({displayName:"Checkbox__LabelStyle",componentId:"sc-ujqx42-4"})(["-ms-flex-direction:column;align-items:center;display:flex;flex-direction:column;flex-direction:row;&:hover{cursor:pointer;}"]);n.Z=function(e){var n=e.beforeIcon,t=e.checked,i=e.disabled,c=e.errorMessage,u=e.label,h=e.labelDescription,g=e.large,Z=e.meta,k=e.monospace,C=void 0!==k&&k,O=e.onClick,P=e.required,_=e.small,M=void 0!==_&&_,F=e.warning,S=e.xsmall,z=void 0!==S&&S,H=(0,o.Z)(e,v),D=F||!!(c||Z&&Z.touched&&Z.error);return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)(w,{onClick:function(e){e.preventDefault(),O&&!i&&O(e)},children:[(0,p.jsxs)(x,{children:[(0,p.jsx)(j,m(m({},H),{},{disabled:i?"disabled":void 0,notClickable:i})),(0,p.jsx)(y,{checked:t,disabled:i,large:g,required:P,warning:D,children:(0,p.jsx)(d.Jr,{size:f.iI*(g?3:2)})})]}),n&&(0,p.jsx)(a.Z,{ml:1,children:(0,p.jsx)(l.ZP,{children:n})}),u&&(0,p.jsxs)(a.Z,{pl:1,children:["string"===typeof u&&(0,p.jsx)(s.ZP,{disabled:i,lineThrough:i,monospace:C,small:M,xsmall:z,children:u}),"string"!==typeof u&&u,h&&(0,p.jsx)(s.ZP,{muted:!0,small:!0,children:h})]})]}),(c||Z&&Z.touched&&Z.error)&&(0,p.jsx)(b,{children:(0,p.jsx)(s.ZP,{small:!0,warning:!0,children:c?(0,r.Z)(c):Z.error})})]})}},39867:function(e,n,t){var r=t(82394),i=t(26304),o=t(38626),c=t(97618),l=t(55485),a=t(44897),s=t(42631),u=t(70515),d=t(28598),h=["children"];function f(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function p(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?f(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):f(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var v=o.default.div.withConfig({displayName:"Circle__CircleStyle",componentId:"sc-1o70504-0"})([""," "," "," "," "," "," "," "," "," "," "," "," "," "," "," ",""],(function(e){return!e.square&&"\n border-radius: 50%;\n "}),(function(e){return e.square&&"\n border-radius: ".concat(e.size>=2*u.iI?s.BG:2,"px;\n ")}),(function(e){return!e.color&&!(e.borderSize||e.borderColor)&&"\n background-color: ".concat((e.theme.content||a.Z.content).muted,";\n ")}),(function(e){return!e.color&&e.primary&&"\n background-color: ".concat((e.theme.interactive||a.Z.interactive).linkPrimary,";\n ")}),(function(e){return!e.color&&e.primaryLight&&"\n background-color: ".concat((e.theme.interactive||a.Z.interactive).linkPrimaryLight,";\n ")}),(function(e){return e.success&&!e.borderSize&&"\n background-color: ".concat((e.theme.status||a.Z.status).positive,";\n ")}),(function(e){return e.warning&&!e.borderSize&&"\n background-color: ".concat((e.theme.accent||a.Z.accent).warning,";\n ")}),(function(e){return e.success&&e.borderSize&&"\n border-color: ".concat((e.theme.status||a.Z.status).positive," !important;\n ")}),(function(e){return e.warning&&e.borderSize&&"\n border-color: ".concat((e.theme.accent||a.Z.accent).warning," !important;\n ")}),(function(e){return e.borderSize&&"\n border-style: solid;\n border-width: ".concat(e.borderSize,"px;\n ")}),(function(e){return(e.borderSize||e.borderColor)&&"\n border: ".concat(e.borderSize||1,"px solid ").concat(e.borderColor||(e.theme.content||a.Z.content).active,";\n ")}),(function(e){return e.color&&"\n background-color: ".concat(e.color,";\n ")}),(function(e){return e.size&&"\n height: ".concat(e.size,"px;\n width: ").concat(e.size,"px;\n ")}),(function(e){return e.danger&&"\n background-color: ".concat((e.theme.borders||a.Z.borders).danger,";\n ")}),(function(e){return e.muted&&"\n border-color: ".concat((e.theme.content||a.Z.content).muted,";\n ")}),(function(e){return e.default&&"\n border-color: ".concat((e.theme.monotone||a.Z.monotone).gray,";\n ")}));n.Z=function(e){var n=e.children,t=(0,i.Z)(e,h);return(0,d.jsx)(v,p(p({},t),{},{children:(0,d.jsx)(l.ZP,{alignItems:"center",fullHeight:!0,fullWidth:!0,justifyContent:"center",children:n&&(0,d.jsx)(c.Z,{children:n})})}))}},35576:function(e,n,t){var r=t(82394),i=t(26304),o=t(82684),c=t(38626),l=t(28968),a=t(28598),s=["rows"];function u(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function d(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?u(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):u(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var h=c.default.textarea.withConfig({displayName:"TextArea__TextInputStyle",componentId:"sc-112wx63-0"})(["",""],l.p),f=function(e,n){var t=e.rows,r=void 0===t?3:t,o=(0,i.Z)(e,s);return(0,a.jsx)(l.Z,d(d({},o),{},{input:(0,a.jsx)(h,d({rows:r},o)),ref:n}))};n.Z=o.forwardRef(f)},69650:function(e,n,t){var r=t(82394),i=t(26304),o=t(82684),c=t(38626),l=t(28968),a=t(44897),s=t(3314),u=t(28598),d=["checked","disabled","onCheck","pauseEvent"];function h(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function f(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?h(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):h(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var p=c.default.label.withConfig({displayName:"ToggleSwitch__ToggleSwitchStyle",componentId:"sc-179r5zs-0"})([""," position:relative;display:inline-block;width:","px;min-width:","px;height:","px;",' & input[type="checkbox"]{display:none;}& span{position:absolute;cursor:',";background-color:",";border-radius:13px;",';top:0;right:0;bottom:0;left:0;transition:background-color 0.2s ease;}& span::before{position:absolute;content:"";left:',"px;top:","px;width:","px;height:",'px;background-color:#787A85;border-radius:50%;transition:transform 0.3s ease;}& input[type="checkbox"]:checked + span::before{transform:',";}"," ",""],l.p,46,46,26,(function(e){return e.compact&&"\n width: ".concat(35,"px;\n min-width: ").concat(35,"px;\n height: ").concat(20,"px;\n ")}),(function(e){return e.disabled?"not-allowed":"pointer"}),(function(e){return e.disabled?a.Z.monotone.white:a.Z.monotone.black}),(function(e){return e.disabled&&"border: 1px solid ".concat(a.Z.monotone.grey200)}),(function(e){return e.compact?"1":"2"}),(function(e){return e.compact?"1":"2"}),(function(e){return e.compact?"18":"22"}),(function(e){return e.compact?"18":"22"}),(function(e){return e.compact?"translateX(15px)":"translateX(20px)"}),(function(e){return!e.disabled&&!e.monotone&&'\n & input[type="checkbox"]:checked + span {\n background-color: '.concat(a.Z.accent.sky,';\n }\n\n & input[type="checkbox"]:checked + span::before {\n background-color: ').concat(a.Z.monotone.white,";\n }\n ")}),(function(e){return e.purpleBackground&&'\n & input[type="checkbox"]:checked + span {\n background-color: '.concat(a.Z.interactive.purple,";\n }\n ")})),v=function(e,n){var t=e.checked,r=e.disabled,o=e.onCheck,c=e.pauseEvent,a=void 0===c||c,h=(0,i.Z)(e,d);return(0,u.jsx)(l.Z,f(f({},h),{},{disabled:r,input:(0,u.jsxs)(p,f(f({},h),{},{disabled:r,noBackground:!0,noBorder:!0,children:[(0,u.jsx)("input",{checked:t,readOnly:!0,type:"checkbox"}),(0,u.jsx)("span",{onClick:r?null:function(e){a&&(0,s.j)(e),null===o||void 0===o||o((function(e){return!e}))}})]})),noBackground:!0,ref:n}))};n.Z=o.forwardRef(v)},63637:function(e,n,t){var r=t(38626),i=t(28598),o=r.default.svg.withConfig({displayName:"Mage8Bit__SVGStyle",componentId:"sc-cj6ltf-0"})([""]);n.Z=function(e){var n=e.size,t=void 0===n?20:n,r=e.viewBox,c=void 0===r?"0 0 20 20":r;return(0,i.jsxs)(o,{height:t,viewBox:c,width:t,children:[(0,i.jsxs)("g",{clipPath:"url(#clip0_297_42814)",children:[(0,i.jsx)("path",{d:"M13.334 0h1.66667v1.66667H13.334zM11.666 1.6665h1.66667v1.66667H11.666z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M10 1.6665h1.66667v1.66667H10z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M8.33398 1.6665h1.66667v1.66667H8.33398z",fill:"#AF93FF"}),(0,i.jsx)("path",{d:"M8.33398 3.3335h1.66667v1.66667H8.33398z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M6.66602 3.3335h1.66667v1.66667H6.66602z",fill:"#AF93FF"}),(0,i.jsx)("path",{d:"M3.33398 5h1.66667v1.66667H3.33398z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M5 5h1.66667v1.66667H5z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M6.66602 5h1.66667v1.66667H6.66602z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M6.66602 5h1.66667v1.66667H6.66602z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M6.66602 8.3335h1.66667v1.66667H6.66602z",fill:"#000"}),(0,i.jsx)("path",{d:"M6.66602 6.6665h1.66667v1.66667H6.66602z",fill:"#AD8FFF"}),(0,i.jsx)("path",{d:"M6.66602 10h1.66667v1.66667H6.66602z",fill:"#C9B6FF"}),(0,i.jsx)("path",{d:"M8.33398 6.6665h1.66667v1.66667H8.33398z",fill:"#AD8FFF"}),(0,i.jsx)("path",{d:"M1.66602 13.3335h1.66667v1.66667H1.66602z",fill:"#C9B6FF"}),(0,i.jsx)("path",{d:"M1.66602 11.6665h1.66667v1.66667H1.66602z",fill:"#FFCC19"}),(0,i.jsx)("path",{d:"M1.66602 10h1.66667v1.66667H1.66602z",fill:"#FFCC19"}),(0,i.jsx)("path",{d:"M1.66602 8.3335h1.66667v1.66667H1.66602zM1.66602 6.6665h1.66667v1.66667H1.66602z",fill:"#FFCC19"}),(0,i.jsx)("path",{d:"M1.66602 6.6665h1.66667v1.66667H1.66602zM0 0h1.66667v1.66667H0zM3.33398 1.6665h1.66667v1.66667H3.33398zM0 3.3335h1.66667v1.66667H0z",fill:"#2ECDF7"}),(0,i.jsx)("path",{d:"M1.66602 16.6665h1.66667v1.66667H1.66602z",fill:"#FFCC19"}),(0,i.jsx)("path",{d:"M1.66602 16.6665h1.66667v1.66667H1.66602zM1.66602 18.3335h1.66667v1.66667H1.66602z",fill:"#FFCC19"}),(0,i.jsx)("path",{d:"M1.66602 15h1.66667v1.66667H1.66602zM3.33398 15h1.66667v1.66667H3.33398z",fill:"#C9B6FF"}),(0,i.jsx)("path",{d:"M3.33398 16.6665h1.66667v1.66667H3.33398z",fill:"#C9B6FF"}),(0,i.jsx)("path",{d:"M3.33398 13.3335h1.66667v1.66667H3.33398z",fill:"#AD8FFF"}),(0,i.jsx)("path",{d:"M8.33398 8.3335h1.66667v1.66667H8.33398z",fill:"#C9B6FF"}),(0,i.jsx)("path",{d:"M10 6.6665h1.66667v1.66667H10z",fill:"#AD8FFF"}),(0,i.jsx)("path",{d:"M10 10h1.66667v1.66667H10z",fill:"#C9B6FF"}),(0,i.jsx)("path",{d:"M11.666 6.6665h1.66667v1.66667H11.666z",fill:"#AD8FFF"}),(0,i.jsx)("path",{d:"M11.666 8.3335h1.66667v1.66667H11.666z",fill:"#C9B6FF"}),(0,i.jsx)("path",{d:"M8.33398 10h1.66667v1.66667H8.33398z",fill:"#FF8DA9"}),(0,i.jsx)("path",{d:"M8.33398 11.6665h1.66667v1.66667H8.33398z",fill:"#FF8DA9"}),(0,i.jsx)("path",{d:"M6.66602 11.6665h1.66667v1.66667H6.66602z",fill:"#D9D9D9"}),(0,i.jsx)("path",{d:"M6.66602 11.6665h1.66667v1.66667H6.66602z",fill:"#D9D9D9"}),(0,i.jsx)("path",{d:"M5 10h1.66667v1.66667H5z",fill:"#D9D9D9"}),(0,i.jsx)("path",{d:"M5 8.3335h1.66667v1.66667H5z",fill:"#232429"}),(0,i.jsx)("path",{d:"M8.33398 11.6665h1.66667v1.66667H8.33398zM8.33398 13.3335h1.66667v1.66667H8.33398z",fill:"#D9D9D9"}),(0,i.jsx)("path",{d:"M10 11.6665h1.66667v1.66667H10z",fill:"#D9D9D9"}),(0,i.jsx)("path",{d:"M11.666 10h1.66667v1.66667H11.666zM13.334 6.6665h1.66667v1.66667H13.334zM13.334 8.3335h1.66667v1.66667H13.334z",fill:"#D9D9D9"}),(0,i.jsx)("path",{d:"M15 8.3335h1.66667v1.66667H15z",fill:"#757575"}),(0,i.jsx)("path",{d:"M15 10h1.66667v1.66667H15z",fill:"#D9D9D9"}),(0,i.jsx)("path",{d:"M10 8.3335h1.66667v1.66667H10z",fill:"#000"}),(0,i.jsx)("path",{d:"M8.33398 5h1.66667v1.66667H8.33398zM11.666 5h1.66667v1.66667H11.666z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M13.334 10h1.66667v1.66667H13.334zM11.666 11.6665h1.66667v1.66667H11.666zM10 13.3335h1.66667v1.66667H10z",fill:"#501FD8"}),(0,i.jsx)("path",{d:"M8.33398 15h1.66667v1.66667H8.33398zM6.66602 13.3335h1.66667v1.66667H6.66602zM15 11.6665h1.66667v1.66667H15z",fill:"#501FD8"}),(0,i.jsx)("path",{d:"M16.666 11.6665h1.66667v1.66667H16.666zM16.666 13.3335h1.66667v1.66667H16.666z",fill:"#501FD8"}),(0,i.jsx)("path",{d:"M15 13.3335h1.66667v1.66667H15z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M13.334 13.3335h1.66667v1.66667H13.334zM13.334 11.6665h1.66667v1.66667H13.334zM11.666 13.3335h1.66667v1.66667H11.666z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M11.666 15h1.66667v1.66667H11.666z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M10 15h1.66667v1.66667H10z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M8.33398 16.6665h1.66667v1.66667H8.33398z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M6.66602 15h1.66667v1.66667H6.66602z",fill:"#AF93FF"}),(0,i.jsx)("path",{d:"M6.66602 16.6665h1.66667v1.66667H6.66602z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M5 16.6665h1.66667v1.66667H5z",fill:"#AF93FF"}),(0,i.jsx)("path",{d:"M5 18.3335h1.66667v1.66667H5z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M6.66602 18.3335h1.66667v1.66667H6.66602zM8.33398 18.3335h1.66667v1.66667H8.33398z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M10 18.3335h1.66667v1.66667H10z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M11.666 18.3335h1.66667v1.66667H11.666zM13.334 18.3335h1.66667v1.66667H13.334z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M15 18.3335h1.66667v1.66667H15z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M16.666 18.3335h1.66667v1.66667H16.666z",fill:"#652EFF"}),(0,i.jsx)("path",{d:"M3.33398 18.3335h1.66667v1.66667H3.33398zM10 16.6665h1.66667v1.66667H10z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M11.666 16.6665h1.66667v1.66667H11.666zM13.334 15h1.66667v1.66667H13.334z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M13.334 16.6665h1.66667v1.66667H13.334z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M15 16.6665h1.66667v1.66667H15z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M15 15h1.66667v1.66667H15z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M16.666 15h1.66667v1.66667H16.666zM18.334 16.6665h1.66667v1.66667H18.334zM18.334 18.3335h1.66667v1.66667H18.334z",fill:"#501FD8"}),(0,i.jsx)("path",{d:"M16.666 16.6665h1.66667v1.66667H16.666z",fill:"#652EFF"}),(0,i.jsx)("path",{d:"M13.334 5h1.66667v1.66667H13.334z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M15 5h1.66667v1.66667H15zM10 5h1.66667v1.66667H10z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M10 3.3335h1.66667v1.66667H10z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M11.666 3.3335h1.66667v1.66667H11.666z",fill:"#7949FF"}),(0,i.jsx)("path",{d:"M11.666 0h1.66667v1.66667H11.666z",fill:"#AF93FF"})]}),(0,i.jsx)("defs",{children:(0,i.jsx)("clipPath",{id:"clip0_297_42814",children:(0,i.jsx)("path",{d:"M0 0h20v20H0z",fill:"#fff"})})})]})}},72191:function(e,n,t){t.d(n,{_k:function(){return o},bL:function(){return i},l2:function(){return c},nz:function(){return l}});var r=t(70515),i=(r.iI,2*r.iI),o=2.5*r.iI,c=3*r.iI,l=3.5*r.iI},42041:function(e,n,t){t.d(n,{y:function(){return o}});var r=t(75582),i=t(39643);function o(e,n){var t=e.map((function(e){return String(e)})),o=e.includes(i.PQ),c=e.includes(i.zX),l=e.includes(i.XR),a=i.xU.map((function(e){return String(e)})),s=i.vk.map((function(e){return String(e)})),u=i.Tr.map((function(e){return String(e)})),d=Object.entries(n).find((function(e){var n=(0,r.Z)(e,2),i=n[0];return n[1]&&!t.includes(String(i))&&(!c||!s.includes(String(i)))&&(!o||!a.includes(String(i)))&&(!l||!u.includes(String(i)))}));return e.every((function(e){return n[e]}))&&!d}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1845],{84649:function(e,t,n){n.d(t,{EN:function(){return P},FX:function(){return k},HS:function(){return j},Nk:function(){return h},Rd:function(){return f},SL:function(){return _},Tj:function(){return Z},UE:function(){return O},Yf:function(){return v},ZG:function(){return c},bC:function(){return b},n5:function(){return p},n8:function(){return w},w5:function(){return y},wj:function(){return m},wl:function(){return g},ze:function(){return x}});var i=n(38626),r=n(44897),o=n(42631),u=n(46684),d=n(70515),l=n(91437),a=n(47041),c=2.5*d.iI,s=40*d.iI,p=10*d.iI,f=i.default.div.withConfig({displayName:"indexstyle__ContainedStyle",componentId:"sc-8sk2qr-0"})([""," overflow:auto;"," "," ",""],a.w5,(function(e){return"\n background-color: ".concat((e.theme.background||r.Z.background).page,";\n ")}),(function(e){return e.height&&"\n height: ".concat(e.height-p,"px;\n ")}),(function(e){return e.width&&"\n width: ".concat(e.width-p,"px;\n ")})),h=i.default.div.withConfig({displayName:"indexstyle__ContainerStyle",componentId:"sc-8sk2qr-1"})(["height:100%;position:relative;"]),b=i.default.div.withConfig({displayName:"indexstyle__NavigationStyle",componentId:"sc-8sk2qr-2"})(["position:fixed;width:","px;z-index:1;"," "," ",""],s,(function(e){return"\n background-color: ".concat((e.theme.background||r.Z.background).panel,";\n border-right: 1px solid ").concat((e.theme.borders||r.Z.borders).light,";\n ")}),(function(e){return e.height&&"\n height: ".concat(e.height-p,"px;\n ")}),(function(e){return!e.height&&"\n height: 100%;\n "})),v=i.default.div.withConfig({displayName:"indexstyle__TabsStyle",componentId:"sc-8sk2qr-3"})(["padding-bottom:","px;padding-left:","px;padding-right:","px;padding-top:","px;",""],1*d.iI,d.cd*d.iI,d.cd*d.iI,1*d.iI,(function(e){return"\n border-bottom: 1px solid ".concat((e.theme.borders||r.Z.borders).light,";\n ")})),g=i.default.div.withConfig({displayName:"indexstyle__LinksContainerStyle",componentId:"sc-8sk2qr-4"})([""," overflow:auto;position:fixed;width:","px;",""],a.w5,s,(function(e){return"\n height: calc(100% - ".concat(55+(null!==e&&void 0!==e&&e.contained?p:u.Mz)+((null===e||void 0===e?void 0:e.heightOffset)||0),"px);\n ")})),m=i.default.div.withConfig({displayName:"indexstyle__NavLinkStyle",componentId:"sc-8sk2qr-5"})([""," padding-bottom:","px;padding-left:","px;padding-right:","px;padding-top:","px;&:hover{cursor:pointer;}",""],(0,l.eR)(),1*d.iI,d.cd*d.iI,d.cd*d.iI,1*d.iI,(function(e){return e.selected&&"\n background-color: ".concat((e.theme.background||r.Z.background).codeTextarea,";\n ")})),x=i.default.div.withConfig({displayName:"indexstyle__IconStyle",componentId:"sc-8sk2qr-6"})([""," border-radius:","px;height:","px;margin-right:","px;padding:","px;width:","px;"," ",""],(0,l.eR)(),o.n_,5*d.iI,1.25*d.iI,1.25*d.iI,5*d.iI,(function(e){return!e.backgroundColor&&"\n background-color: ".concat((e.theme.background||r.Z.background).chartBlock,";\n ")}),(function(e){return e.backgroundColor&&"\n background-color: ".concat(e.backgroundColor,";\n ")})),y=i.default.div.withConfig({displayName:"indexstyle__ContentStyle",componentId:"sc-8sk2qr-7"})(["margin-left:","px;"],s),j=i.default.div.withConfig({displayName:"indexstyle__SubheaderStyle",componentId:"sc-8sk2qr-8"})(["padding:","px;",""],d.cd*d.iI,(function(e){return"\n background-color: ".concat((e.theme.background||r.Z.background).panel,";\n border-bottom: 1px solid ").concat((e.theme.borders||r.Z.borders).light,";\n ")})),w=i.default.div.withConfig({displayName:"indexstyle__CardsStyle",componentId:"sc-8sk2qr-9"})(["display:flex;flex-wrap:wrap;padding:","px;"],.75*d.iI),O=i.default.div.withConfig({displayName:"indexstyle__CardStyle",componentId:"sc-8sk2qr-10"})(["border-radius:","px;margin:","px;padding:","px;width:","px;&:hover{cursor:pointer;}",""],o.n_,.75*d.iI,2.5*d.iI,50*d.iI,(function(e){return"\n background-color: ".concat((e.theme.background||r.Z.background).panel,";\n border: 1px solid ").concat((e.theme.background||r.Z.background).chartBlock,";\n box-shadow: ").concat((e.theme.shadow||r.Z.shadow).frame,";\n ")})),Z=i.default.div.withConfig({displayName:"indexstyle__CardTitleStyle",componentId:"sc-8sk2qr-11"})(["height:","px;"],2.5*d.iI),_=i.default.div.withConfig({displayName:"indexstyle__CardDescriptionStyle",componentId:"sc-8sk2qr-12"})(["height:","px;margin-top:","px;"],2.5*d.iI*2,1*d.iI),P=i.default.div.withConfig({displayName:"indexstyle__TagsStyle",componentId:"sc-8sk2qr-13"})(["height:","px;margin-top:","px;overflow:hidden;"],3.5*d.iI,.5*d.iI),k=i.default.div.withConfig({displayName:"indexstyle__BreadcrumbsStyle",componentId:"sc-8sk2qr-14"})(["padding-bottom:","px;padding-top:","px;",""],1*d.iI,1*d.iI,(function(e){return"\n background-color: ".concat((e.theme.background||r.Z.background).panel,";\n border-bottom: 1px solid ").concat((e.theme.borders||r.Z.borders).light,";\n ")}))},11302:function(e,t,n){n.d(t,{Nk:function(){return l},Yf:function(){return c},bC:function(){return a},ig:function(){return s},w5:function(){return p}});var i=n(38626),r=n(44897),o=n(70515),u=n(84649),d=(o.iI,40*o.iI),l=i.default.div.withConfig({displayName:"indexstyle__ContainerStyle",componentId:"sc-axgvn9-0"})(["height:100%;position:relative;"]),a=i.default.div.withConfig({displayName:"indexstyle__NavigationStyle",componentId:"sc-axgvn9-1"})(["overflow:auto;position:fixed;width:","px;z-index:1;"," "," ",""],d,(function(e){return"\n background-color: ".concat((e.theme.background||r.Z.background).panel,";\n border-right: 1px solid ").concat((e.theme.borders||r.Z.borders).light,";\n ")}),(function(e){return e.height&&"\n height: ".concat(e.height-u.n5,"px;\n ")}),(function(e){return!e.height&&"\n height: 100%;\n "})),c=i.default.div.withConfig({displayName:"indexstyle__TabsStyle",componentId:"sc-axgvn9-2"})(["padding-bottom:","px;padding-left:","px;padding-right:","px;padding-top:","px;width:100%;",""],1*o.iI,o.cd*o.iI,o.cd*o.iI,1*o.iI,(function(e){return"\n border-bottom: 1px solid ".concat((e.theme.borders||r.Z.borders).light,";\n ")})),s=i.default.div.withConfig({displayName:"indexstyle__ButtonsStyle",componentId:"sc-axgvn9-3"})(["margin-top:","px;width:100%;",""],o.cd*o.iI,(function(e){return"\n border-top: 1px solid ".concat((e.theme.borders||r.Z.borders).light,";\n ")})),p=i.default.div.withConfig({displayName:"indexstyle__ContentStyle",componentId:"sc-axgvn9-4"})(["margin-left:","px;"],d)},94629:function(e,t,n){n.d(t,{Z:function(){return P}});var i=n(82394),r=n(21831),o=n(82684),u=n(50724),d=n(82555),l=n(97618),a=n(70613),c=n(68487),s=n(68899),p=n(28598);function f(e,t){var n=e.children,i=e.noPadding;return(0,p.jsx)(s.HS,{noPadding:i,ref:t,children:n})}var h=o.forwardRef(f),b=n(62547),v=n(82571),g=n(35686),m=n(98464),x=n(46684),y=n(70515),j=n(53808),w=n(19183);function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _(e,t){var n,i=e.addProjectBreadcrumbToCustomBreadcrumbs,f=e.after,O=e.afterHeader,_=e.afterHidden,P=e.afterWidth,k=e.afterWidthOverride,I=e.appendBreadcrumbs,C=e.before,S=e.beforeWidth,N=e.breadcrumbs,D=e.children,E=e.errors,A=e.headerMenuItems,M=e.headerOffset,q=e.hideAfterCompletely,T=e.mainContainerHeader,H=e.navigationItems,U=e.setAfterHidden,F=e.setErrors,B=e.subheaderChildren,W=e.subheaderNoPadding,R=e.title,L=e.uuid,z=(0,w.i)().width,G="dashboard_after_width_".concat(L),V="dashboard_before_width_".concat(L),Y=(0,o.useRef)(null),J=(0,o.useState)(k?P:(0,j.U2)(G,P)),K=J[0],X=J[1],Q=(0,o.useState)(!1),$=Q[0],ee=Q[1],te=(0,o.useState)(C?Math.max((0,j.U2)(V,S),13*y.iI):null),ne=te[0],ie=te[1],re=(0,o.useState)(!1),oe=re[0],ue=re[1],de=(0,o.useState)(null)[1],le=g.ZP.projects.list({},{revalidateOnFocus:!1}).data,ae=null===le||void 0===le?void 0:le.projects,ce={label:function(){var e;return null===ae||void 0===ae||null===(e=ae[0])||void 0===e?void 0:e.name},linkProps:{href:"/"}},se=[];N&&(i&&se.push(ce),se.push.apply(se,(0,r.Z)(N))),(null===N||void 0===N||!N.length||I)&&(null===ae||void 0===ae?void 0:ae.length)>=1&&(null!==N&&void 0!==N&&N.length||se.unshift({bold:!I,label:function(){return R}}),se.unshift(ce)),(0,o.useEffect)((function(){null===Y||void 0===Y||!Y.current||$||oe||null===de||void 0===de||de(Y.current.getBoundingClientRect().width)}),[$,K,oe,ne,Y,de,z]),(0,o.useEffect)((function(){$||(0,j.t8)(G,K)}),[_,$,K,G]),(0,o.useEffect)((function(){oe||(0,j.t8)(V,ne)}),[oe,ne,V]);var pe=(0,m.Z)(P);return(0,o.useEffect)((function(){k&&pe!==P&&X(P)}),[k,P,pe]),(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(a.Z,{title:R}),(0,p.jsx)(c.Z,{breadcrumbs:se,menuItems:A,project:null===ae||void 0===ae?void 0:ae[0],version:null===ae||void 0===ae||null===(n=ae[0])||void 0===n?void 0:n.version}),(0,p.jsxs)(s.Nk,{ref:t,children:[0!==(null===H||void 0===H?void 0:H.length)&&(0,p.jsx)(s.lm,{showMore:!0,children:(0,p.jsx)(v.Z,{navigationItems:H,showMore:!0})}),(0,p.jsx)(l.Z,{flex:1,flexDirection:"column",children:(0,p.jsxs)(b.Z,{after:f,afterHeader:O,afterHeightOffset:x.Mz,afterHidden:_,afterMousedownActive:$,afterWidth:K,before:C,beforeHeightOffset:x.Mz,beforeMousedownActive:oe,beforeWidth:s.k1+(C?ne:0),headerOffset:M,hideAfterCompletely:!U||q,leftOffset:C?s.k1:null,mainContainerHeader:T,mainContainerRef:Y,setAfterHidden:U,setAfterMousedownActive:ee,setAfterWidth:X,setBeforeMousedownActive:ue,setBeforeWidth:ie,children:[B&&(0,p.jsx)(h,{noPadding:W,children:B}),D]})})]}),E&&(0,p.jsx)(u.Z,{disableClickOutside:!0,isOpen:!0,onClickOutside:function(){return null===F||void 0===F?void 0:F(null)},children:(0,p.jsx)(d.Z,Z(Z({},E),{},{onClose:function(){return null===F||void 0===F?void 0:F(null)}}))})]})}var P=o.forwardRef(_)},72226:function(e,t,n){var i=n(82394),r=n(38276),o=n(75499),u=n(30160),d=n(17488),l=n(70515),a=n(28598);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.Z=function(e){var t=e.objectAttributes,n=e.originalAttributes,c=e.setObjectAttributes;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(r.Z,{mb:1,px:l.cd,children:[(0,a.jsx)(u.ZP,{bold:!0,children:"Outdated after"}),(0,a.jsx)(u.ZP,{muted:!0,small:!0,children:"After the global data product successfully completes running, how long after that will the global data product be outdated?"})]}),(0,a.jsx)(o.Z,{columnFlex:[null,1],columns:[{uuid:"Unit"},{uuid:"Value"}],rows:[{uuid:"seconds"},{uuid:"weeks"},{uuid:"months"},{uuid:"years"}].map((function(e){var r,o,l=e.uuid,p=null===t||void 0===t||null===(r=t.outdated_after)||void 0===r?void 0:r[l],f=null===n||void 0===n||null===(o=n.outdated_after)||void 0===o?void 0:o[l];return[(0,a.jsxs)(u.ZP,{default:!0,monospace:!0,children:[l," ",f&&(0,a.jsxs)(u.ZP,{inline:!0,monospace:!0,muted:!0,children:["(default: ",f,")"]})]},"label-".concat(l)),(0,a.jsx)(d.Z,{compact:!0,monospace:!0,onChange:function(e){return c((function(t){var n;return s(s({},t),{},{outdated_after:s(s({},null===t||void 0===t?void 0:t.outdated_after),{},(0,i.Z)({},l,0===(null===(n=e.target.value)||void 0===n?void 0:n.length)?null:Number(e.target.value)))})}))},placeholder:"Enter a number",primary:!0,setContentOnMount:!0,small:!0,type:"number",value:"undefined"===typeof p||null===p?"":p},"input-".concat(l))]}))})]})}},29644:function(e,t,n){var i=n(82394),r=n(44085),o=n(38276),u=n(75499),d=n(30160),l=n(17488),a=n(70515),c=n(81728),s=n(86735),p=n(28598);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.Z=function(e){var t=e.objectAttributes,n=e.originalAttributes,f=e.setObjectAttributes;return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)(o.Z,{mb:1,px:a.cd,children:[(0,p.jsxs)(d.ZP,{bold:!0,children:["Outdated starting at ",(0,p.jsx)(d.ZP,{inline:!0,muted:!0,children:"(optional)"})]}),(0,p.jsx)(d.ZP,{muted:!0,small:!0,children:"If enough time has passed since the last global data product has ran successfully and the global data product is determined to be outdated, then you can configure it to be outdated at a specific date or time."}),(0,p.jsx)("div",{style:{marginTop:4},children:(0,p.jsxs)(d.ZP,{muted:!0,small:!0,children:["For example, let\u2019s say the global data product is outdated after 12 hours. The last successful run was yesterday at 18:00. The global data product will be outdated today at 06:00. However, if the ",(0,p.jsx)(d.ZP,{bold:!0,inline:!0,muted:!0,small:!0,children:"Outdated starting at"})," has a value of 17 for ",(0,p.jsx)(d.ZP,{bold:!0,inline:!0,muted:!0,small:!0,children:"Hour of day"}),", then the global data product won\u2019t run again until today at 17:00."]})})]}),(0,p.jsx)(u.Z,{columnFlex:[null,1],columns:[{uuid:"Unit"},{uuid:"Value"}],rows:[{uuid:"second_of_minute",values:(0,s.w6)(60).map((function(e,t){return{uuid:t,value:t}}))},{uuid:"minute_of_hour",values:(0,s.w6)(60).map((function(e,t){return{uuid:t,value:t}}))},{uuid:"hour_of_day",values:(0,s.w6)(24).map((function(e,t){return{uuid:t,value:t}}))},{uuid:"day_of_week",values:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"].map((function(e,t){return{uuid:e,value:t}}))},{uuid:"day_of_month",values:(0,s.w6)(31).map((function(e,t){return{uuid:t+1,value:t+1}}))},{uuid:"day_of_year",values:(0,s.w6)(365).map((function(e,t){return{uuid:t+1,value:t+1}}))},{uuid:"week_of_month",values:(0,s.w6)(5).map((function(e,t){return{uuid:t+1,value:t+1}}))},{uuid:"week_of_year",values:(0,s.w6)(52).map((function(e,t){return{uuid:t+1,value:t+1}}))},{uuid:"month_of_year",values:["January","February","March","April","May","June","July","August","September","October","November","December"].map((function(e,t){return{uuid:e,value:t+1}}))}].map((function(e){var o,u,a,s=e.uuid,b=e.values,v=null===t||void 0===t||null===(o=t.outdated_starting_at)||void 0===o?void 0:o[s],g=null===n||void 0===n||null===(u=n.outdated_starting_at)||void 0===u?void 0:u[s],m={compact:!0,key:"outdated-starting-at-input-".concat(s),monospace:!0,onChange:function(e){return f((function(t){var n;return h(h({},t),{},{outdated_starting_at:h(h({},null===t||void 0===t?void 0:t.outdated_starting_at),{},(0,i.Z)({},s,0===(null===(n=e.target.value)||void 0===n?void 0:n.length)?null:Number(e.target.value)))})}))},primary:!0,small:!0,value:"undefined"===typeof v||null===v?"":v};return a=b?(0,p.jsx)(r.Z,h(h({},m),{},{placeholder:"Select a value",children:b.map((function(e){var t=e.uuid,n=e.value;return(0,p.jsx)("option",{value:n,children:t},n)}))})):(0,p.jsx)(l.Z,h(h({},m),{},{placeholder:"Enter a number",setContentOnMount:!0,type:"number"})),[(0,p.jsxs)(d.ZP,{default:!0,monospace:!0,children:[(0,c.vg)(s)," ",g&&(0,p.jsxs)(d.ZP,{inline:!0,monospace:!0,muted:!0,children:["(default: ",g,")"]})]},"outdated-starting-at-label-".concat(s)),a]}))})]})}},46209:function(e,t,n){var i=n(82394),r=n(12691),o=n.n(r),u=n(70652),d=n(48670),l=n(38276),a=n(75499),c=n(30160),s=n(17488),p=n(70515),f=n(28598);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.Z=function(e){var t=e.blocks,n=e.objectAttributes,r=e.originalAttributes,h=e.setObjectAttributes;return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(l.Z,{mb:1,px:p.cd,children:[(0,f.jsx)(c.ZP,{bold:!0,children:"Block data to output"}),(0,f.jsx)(c.ZP,{muted:!0,small:!0,children:"The data output from the block(s) you select below will be the data product that is returned when a downstream entity is requesting data from this global data product."}),(0,f.jsx)("div",{style:{marginTop:4},children:(0,f.jsx)(c.ZP,{muted:!0,small:!0,children:"When requesting data from this global data product, the selected block(s) will return data from its most recent partition. You can override this by adding a value in the partitions setting. For example, if you set the partitions value to 5, then the selected block will return data from its 5 most recent partitions. If you set the partitions value to 0, then all the partitions will be returned."})})]}),(0,f.jsx)(a.Z,{columnFlex:[null,1,null],columns:[{label:function(){return""},uuid:"selected"},{uuid:"Block UUID"},{uuid:"Partitions"}],rows:null===t||void 0===t?void 0:t.map((function(e){var t,l=e.uuid,a=null===n||void 0===n?void 0:n.settings,p=null===a||void 0===a?void 0:a[l],v=null===p||void 0===p?void 0:p.partitions,g=null===r||void 0===r||null===(t=r.settings)||void 0===t?void 0:t[l],m=null===g||void 0===g?void 0:g.partitions,x=!!p||!!g;return[(0,f.jsx)(u.Z,{checked:x,onClick:function(){return function(e){h((function(t){var n=(null===t||void 0===t?void 0:t.settings)||{};return e?n[l]={}:null===n||void 0===n||delete n[l],b(b({},t),{},{settings:n})}))}(!x)}},"selected--".concat(l)),(0,f.jsxs)("div",{children:[(0,f.jsx)(o(),{as:"/pipelines/".concat(null===n||void 0===n?void 0:n.object_uuid,"/edit?block_uuid=").concat(l),href:"/pipelines/[pipeline]/edit",passHref:!0,children:(0,f.jsx)(d.Z,{monospace:!0,openNewWindow:!0,sameColorAsText:!0,children:l})})," ",m&&(0,f.jsxs)(c.ZP,{inline:!0,monospace:!0,muted:!0,children:["(default: ",m,")"]})]},"block-uuid-".concat(l)),(0,f.jsx)(s.Z,{compact:!0,monospace:!0,onChange:function(e){return h((function(t){var n,r;return b(b({},t),{},{settings:b(b({},null===t||void 0===t?void 0:t.settings),{},(0,i.Z)({},l,b(b({},null===t||void 0===t||null===(n=t.settings)||void 0===n?void 0:n[l]),{},{partitions:0===(null===(r=e.target.value)||void 0===r?void 0:r.length)?null:Number(e.target.value)})))})}))},placeholder:"1",primary:!0,setContentOnMount:!0,small:!0,type:"number",value:"undefined"===typeof v||null===v?"":v},"input-".concat(l))]}))})]})}},19396:function(e,t,n){var i=n(82394),r=n(75582),o=n(12691),u=n.n(o),d=n(21764),l=n(82684),a=n(69864),c=n(34376),s=n(71180),p=n(15338),f=n(97618),h=n(55485),b=n(8666),v=n(85854),g=n(48670),m=n(72226),x=n(29644),y=n(53943),j=n(44085),w=n(46209),O=n(38276),Z=n(30160),_=n(17488),P=n(29624),k=n(62547),I=n(35686),C=n(98464),S=n(11302),N=n(70515),D=n(68899),E=n(81728),A=n(72619),M=n(86735),q=n(23780),T=n(28598);function H(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function U(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?H(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):H(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.Z=function(e){var t=e.globalDataProduct,n=e.isNew,i=(0,c.useRouter)(),o=(0,q.VI)(null,{},[],{uuid:"GlobalDataProductDetail"}),H=(0,r.Z)(o,1)[0],F=(0,l.useState)(!1),B=F[0],W=F[1],R=(0,l.useState)(600),L=R[0],z=R[1],G=(0,l.useState)(!1),V=(G[0],G[1]),Y=(0,l.useState)(null),J=Y[0],K=Y[1],X=(0,l.useCallback)((function(e){V(!0),K(e)}),[]),Q=(0,C.Z)(t);(0,l.useEffect)((function(){null!==t&&void 0!==t&&t.uuid&&(null===Q||void 0===Q?void 0:Q.uuid)===(null===t||void 0===t?void 0:t.uuid)||K(t)}),[t,Q]);var $=(0,l.useMemo)((function(){return!(null!==J&&void 0!==J&&J.uuid)}),[J]),ee=(0,a.Db)(I.ZP.global_data_products.useUpdate(n?null===J||void 0===J?void 0:J.uuid:null===t||void 0===t?void 0:t.uuid),{onSuccess:function(e){return(0,A.wD)(e,{callback:function(e){var r=e.global_data_product;n||null!==t&&void 0!==t&&t.uuid&&(null===r||void 0===r?void 0:r.uuid)!==(null===t||void 0===t?void 0:t.uuid)?i.replace("/global-data-products/[...slug]","/global-data-products/".concat(null===r||void 0===r?void 0:r.uuid)):(K(r),V(!1),d.Am.success("Global data product successfully saved.",{position:d.Am.POSITION.BOTTOM_RIGHT,toastId:"custom_pipeline_template"}))},onErrorCallback:function(e,t){return H({errors:t,response:e})}})}}),te=(0,r.Z)(ee,2),ne=te[0],ie=te[1].isLoading,re=I.ZP.pipelines.detail(b.b.PIPELINE===(null===t||void 0===t?void 0:t.object_type)?null===t||void 0===t?void 0:t.object_uuid:null).data,oe=(0,l.useMemo)((function(){return null===re||void 0===re?void 0:re.pipeline}),[re]),ue=(0,l.useMemo)((function(){return(null===oe||void 0===oe?void 0:oe.blocks)||[]}),[oe]),de=I.ZP.pipelines.list().data,le=(0,l.useMemo)((function(){return(0,M.YC)((null===de||void 0===de?void 0:de.pipelines)||[],"uuid")}),[de]),ae=(0,l.useMemo)((function(){return(0,T.jsxs)(h.ZP,{flexDirection:"column",fullHeight:!0,children:[(0,T.jsxs)(f.Z,{flexDirection:"column",children:[(0,T.jsxs)(O.Z,{mt:N.Mq,px:N.cd,children:[(0,T.jsxs)(O.Z,{mb:1,children:[(0,T.jsx)(Z.ZP,{bold:!0,children:"UUID"}),(0,T.jsx)(Z.ZP,{muted:!0,small:!0,children:"Unique identifier for this global data product. This value must be unique across all global data products."})]}),(0,T.jsx)(_.Z,{monospace:!0,onChange:function(e){return X((function(t){return U(U({},t),{},{uuid:e.target.value})}))},placeholder:"e.g. a unique identifier",primary:!0,setContentOnMount:!0,value:(null===J||void 0===J?void 0:J.uuid)||""})]}),(0,T.jsxs)(O.Z,{mt:N.Mq,px:N.cd,children:[(0,T.jsxs)(O.Z,{mb:1,children:[(0,T.jsx)(Z.ZP,{bold:!0,children:"Object type"}),(0,T.jsx)(Z.ZP,{muted:!0,small:!0,children:"Pipeline, block, etc. Currently, only pipeline is supported."})]}),(0,T.jsx)(j.Z,{onChange:function(e){return X((function(t){return U(U({},t),{},{object_type:e.target.value})}))},placeholder:"Only pipeline is currently supported",primary:!0,value:(null===J||void 0===J?void 0:J.object_type)||"",children:[b.b.PIPELINE].map((function(e){return(0,T.jsx)("option",{value:e,children:(0,E.kC)(e)},e)}))})]}),(0,T.jsxs)(O.Z,{mt:N.Mq,px:N.cd,children:[(0,T.jsxs)(O.Z,{mb:1,children:[(0,T.jsx)(Z.ZP,{bold:!0,children:"Object UUID"}),(0,T.jsxs)(Z.ZP,{muted:!0,small:!0,children:["The UUID of the ",(null===J||void 0===J?void 0:J.object_type)||"object type"," that this global data product represents."]})]}),(0,T.jsx)(j.Z,{monospace:!0,onChange:function(e){return X((function(t){return U(U({},t),{},{object_uuid:e.target.value})}))},placeholder:"Select object UUID",primary:!0,value:(null===J||void 0===J?void 0:J.object_uuid)||"",children:null===le||void 0===le?void 0:le.map((function(e){var t=e.uuid;return(0,T.jsx)("option",{value:t,children:t},t)}))}),b.b.PIPELINE===(null===J||void 0===J?void 0:J.object_type)&&(null===J||void 0===J?void 0:J.object_uuid)&&(0,T.jsx)(O.Z,{mt:1,children:(0,T.jsxs)(Z.ZP,{muted:!0,small:!0,children:["View pipeline ",(0,T.jsx)(u(),{as:"/pipelines/".concat(null===J||void 0===J?void 0:J.object_uuid,"/edit"),href:"/pipelines/[pipeline]/edit",passHref:!0,children:(0,T.jsx)(g.Z,{bold:!0,inline:!0,monospace:!0,openNewWindow:!0,small:!0,children:null===J||void 0===J?void 0:J.object_uuid})}),"."]})})]}),!n&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(O.Z,{mt:N.Mq,children:(0,T.jsx)(m.Z,{objectAttributes:J,setObjectAttributes:X})}),(0,T.jsx)(O.Z,{mt:N.Mq,children:(0,T.jsx)(x.Z,{objectAttributes:J,setObjectAttributes:X})}),(null===ue||void 0===ue?void 0:ue.length)>=1&&(0,T.jsx)(O.Z,{mt:N.Mq,children:(0,T.jsx)(w.Z,{blocks:ue,objectAttributes:J,setObjectAttributes:X})})]})]}),(0,T.jsx)(S.ig,{children:(0,T.jsx)(O.Z,{p:N.cd,children:(0,T.jsx)(h.ZP,{children:(0,T.jsxs)(s.ZP,{disabled:$,fullWidth:!0,loading:ie,onClick:function(){return ne({global_data_product:J})},primary:!0,children:[n&&"Create global data product",!n&&"Save global data product"]})})})})]})}),[ue,$,ie,n,J,le,X,ne]),ce=I.ZP.pipeline_schedules.list({global_data_product_uuid:null===t||void 0===t?void 0:t.uuid},{},{pauseFetch:!(null!==t&&void 0!==t&&t.uuid)}).data,se=(0,l.useMemo)((function(){return(null===ce||void 0===ce?void 0:ce.pipeline_schedules)||[]}),[ce]),pe=I.ZP.pipeline_runs.list({global_data_product_uuid:null===t||void 0===t?void 0:t.uuid},{},{pauseFetch:!(null!==t&&void 0!==t&&t.uuid)}).data,fe=(0,l.useMemo)((function(){return(null===pe||void 0===pe?void 0:pe.pipeline_runs)||[]}),[pe]);return(0,T.jsx)(k.Z,{before:ae,beforeHeader:(0,T.jsx)(O.Z,{px:N.cd,children:(0,T.jsx)(Z.ZP,{children:"Global data product attributes"})}),beforeHidden:B,beforeWidth:L,leftOffset:D.k1,setBeforeHidden:W,setBeforeWidth:z,children:!n&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(O.Z,{p:N.cd,children:(0,T.jsx)(v.Z,{children:"Triggers"})}),(0,T.jsx)(p.Z,{light:!0}),(0,T.jsx)(P.Z,{disableActions:!0,pipeline:oe,pipelineSchedules:se}),(0,T.jsx)(O.Z,{p:N.cd,children:(0,T.jsx)(v.Z,{children:"Runs"})}),(0,T.jsx)(p.Z,{light:!0}),(0,T.jsx)(y.Z,{hideTriggerColumn:!0,pipelineRuns:fe})]})})}},70320:function(e,t,n){n.d(t,{h:function(){return u},q:function(){return o}});var i=n(78419),r=n(53808);function o(){return(0,r.U2)(i.am,null)||!1}function u(e){return"undefined"!==typeof e&&(0,r.t8)(i.am,e),e}},8666:function(e,t,n){var i;n.d(t,{b:function(){return i}}),function(e){e.BLOCK="block",e.PIPELINE="pipeline"}(i||(i={}))},72191:function(e,t,n){n.d(t,{_k:function(){return o},bL:function(){return r},l2:function(){return u},nz:function(){return d}});var i=n(70515),r=(i.iI,2*i.iI),o=2.5*i.iI,u=3*i.iI,d=3.5*i.iI},80022:function(e,t,n){function i(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return i}})},15544:function(e,t,n){function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},i(e)}n.d(t,{Z:function(){return i}})},13692:function(e,t,n){n.d(t,{Z:function(){return r}});var i=n(61049);function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&(0,i.Z)(e,t)}},93189:function(e,t,n){n.d(t,{Z:function(){return o}});var i=n(12539),r=n(80022);function o(e,t){if(t&&("object"===i(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(e)}},61049:function(e,t,n){function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}n.d(t,{Z:function(){return i}})}}]);
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8731],{84649:function(e,t,n){n.d(t,{EN:function(){return P},FX:function(){return k},HS:function(){return j},Nk:function(){return h},Rd:function(){return f},SL:function(){return _},Tj:function(){return Z},UE:function(){return O},Yf:function(){return v},ZG:function(){return c},bC:function(){return b},n5:function(){return p},n8:function(){return w},w5:function(){return y},wj:function(){return m},wl:function(){return g},ze:function(){return x}});var i=n(38626),o=n(44897),r=n(42631),u=n(46684),d=n(70515),l=n(91437),a=n(47041),c=2.5*d.iI,s=40*d.iI,p=10*d.iI,f=i.default.div.withConfig({displayName:"indexstyle__ContainedStyle",componentId:"sc-8sk2qr-0"})([""," overflow:auto;"," "," ",""],a.w5,(function(e){return"\n background-color: ".concat((e.theme.background||o.Z.background).page,";\n ")}),(function(e){return e.height&&"\n height: ".concat(e.height-p,"px;\n ")}),(function(e){return e.width&&"\n width: ".concat(e.width-p,"px;\n ")})),h=i.default.div.withConfig({displayName:"indexstyle__ContainerStyle",componentId:"sc-8sk2qr-1"})(["height:100%;position:relative;"]),b=i.default.div.withConfig({displayName:"indexstyle__NavigationStyle",componentId:"sc-8sk2qr-2"})(["position:fixed;width:","px;z-index:1;"," "," ",""],s,(function(e){return"\n background-color: ".concat((e.theme.background||o.Z.background).panel,";\n border-right: 1px solid ").concat((e.theme.borders||o.Z.borders).light,";\n ")}),(function(e){return e.height&&"\n height: ".concat(e.height-p,"px;\n ")}),(function(e){return!e.height&&"\n height: 100%;\n "})),v=i.default.div.withConfig({displayName:"indexstyle__TabsStyle",componentId:"sc-8sk2qr-3"})(["padding-bottom:","px;padding-left:","px;padding-right:","px;padding-top:","px;",""],1*d.iI,d.cd*d.iI,d.cd*d.iI,1*d.iI,(function(e){return"\n border-bottom: 1px solid ".concat((e.theme.borders||o.Z.borders).light,";\n ")})),g=i.default.div.withConfig({displayName:"indexstyle__LinksContainerStyle",componentId:"sc-8sk2qr-4"})([""," overflow:auto;position:fixed;width:","px;",""],a.w5,s,(function(e){return"\n height: calc(100% - ".concat(55+(null!==e&&void 0!==e&&e.contained?p:u.Mz)+((null===e||void 0===e?void 0:e.heightOffset)||0),"px);\n ")})),m=i.default.div.withConfig({displayName:"indexstyle__NavLinkStyle",componentId:"sc-8sk2qr-5"})([""," padding-bottom:","px;padding-left:","px;padding-right:","px;padding-top:","px;&:hover{cursor:pointer;}",""],(0,l.eR)(),1*d.iI,d.cd*d.iI,d.cd*d.iI,1*d.iI,(function(e){return e.selected&&"\n background-color: ".concat((e.theme.background||o.Z.background).codeTextarea,";\n ")})),x=i.default.div.withConfig({displayName:"indexstyle__IconStyle",componentId:"sc-8sk2qr-6"})([""," border-radius:","px;height:","px;margin-right:","px;padding:","px;width:","px;"," ",""],(0,l.eR)(),r.n_,5*d.iI,1.25*d.iI,1.25*d.iI,5*d.iI,(function(e){return!e.backgroundColor&&"\n background-color: ".concat((e.theme.background||o.Z.background).chartBlock,";\n ")}),(function(e){return e.backgroundColor&&"\n background-color: ".concat(e.backgroundColor,";\n ")})),y=i.default.div.withConfig({displayName:"indexstyle__ContentStyle",componentId:"sc-8sk2qr-7"})(["margin-left:","px;"],s),j=i.default.div.withConfig({displayName:"indexstyle__SubheaderStyle",componentId:"sc-8sk2qr-8"})(["padding:","px;",""],d.cd*d.iI,(function(e){return"\n background-color: ".concat((e.theme.background||o.Z.background).panel,";\n border-bottom: 1px solid ").concat((e.theme.borders||o.Z.borders).light,";\n ")})),w=i.default.div.withConfig({displayName:"indexstyle__CardsStyle",componentId:"sc-8sk2qr-9"})(["display:flex;flex-wrap:wrap;padding:","px;"],.75*d.iI),O=i.default.div.withConfig({displayName:"indexstyle__CardStyle",componentId:"sc-8sk2qr-10"})(["border-radius:","px;margin:","px;padding:","px;width:","px;&:hover{cursor:pointer;}",""],r.n_,.75*d.iI,2.5*d.iI,50*d.iI,(function(e){return"\n background-color: ".concat((e.theme.background||o.Z.background).panel,";\n border: 1px solid ").concat((e.theme.background||o.Z.background).chartBlock,";\n box-shadow: ").concat((e.theme.shadow||o.Z.shadow).frame,";\n ")})),Z=i.default.div.withConfig({displayName:"indexstyle__CardTitleStyle",componentId:"sc-8sk2qr-11"})(["height:","px;"],2.5*d.iI),_=i.default.div.withConfig({displayName:"indexstyle__CardDescriptionStyle",componentId:"sc-8sk2qr-12"})(["height:","px;margin-top:","px;"],2.5*d.iI*2,1*d.iI),P=i.default.div.withConfig({displayName:"indexstyle__TagsStyle",componentId:"sc-8sk2qr-13"})(["height:","px;margin-top:","px;overflow:hidden;"],3.5*d.iI,.5*d.iI),k=i.default.div.withConfig({displayName:"indexstyle__BreadcrumbsStyle",componentId:"sc-8sk2qr-14"})(["padding-bottom:","px;padding-top:","px;",""],1*d.iI,1*d.iI,(function(e){return"\n background-color: ".concat((e.theme.background||o.Z.background).panel,";\n border-bottom: 1px solid ").concat((e.theme.borders||o.Z.borders).light,";\n ")}))},11302:function(e,t,n){n.d(t,{Nk:function(){return l},Yf:function(){return c},bC:function(){return a},ig:function(){return s},w5:function(){return p}});var i=n(38626),o=n(44897),r=n(70515),u=n(84649),d=(r.iI,40*r.iI),l=i.default.div.withConfig({displayName:"indexstyle__ContainerStyle",componentId:"sc-axgvn9-0"})(["height:100%;position:relative;"]),a=i.default.div.withConfig({displayName:"indexstyle__NavigationStyle",componentId:"sc-axgvn9-1"})(["overflow:auto;position:fixed;width:","px;z-index:1;"," "," ",""],d,(function(e){return"\n background-color: ".concat((e.theme.background||o.Z.background).panel,";\n border-right: 1px solid ").concat((e.theme.borders||o.Z.borders).light,";\n ")}),(function(e){return e.height&&"\n height: ".concat(e.height-u.n5,"px;\n ")}),(function(e){return!e.height&&"\n height: 100%;\n "})),c=i.default.div.withConfig({displayName:"indexstyle__TabsStyle",componentId:"sc-axgvn9-2"})(["padding-bottom:","px;padding-left:","px;padding-right:","px;padding-top:","px;width:100%;",""],1*r.iI,r.cd*r.iI,r.cd*r.iI,1*r.iI,(function(e){return"\n border-bottom: 1px solid ".concat((e.theme.borders||o.Z.borders).light,";\n ")})),s=i.default.div.withConfig({displayName:"indexstyle__ButtonsStyle",componentId:"sc-axgvn9-3"})(["margin-top:","px;width:100%;",""],r.cd*r.iI,(function(e){return"\n border-top: 1px solid ".concat((e.theme.borders||o.Z.borders).light,";\n ")})),p=i.default.div.withConfig({displayName:"indexstyle__ContentStyle",componentId:"sc-axgvn9-4"})(["margin-left:","px;"],d)},94629:function(e,t,n){n.d(t,{Z:function(){return P}});var i=n(82394),o=n(21831),r=n(82684),u=n(50724),d=n(82555),l=n(97618),a=n(70613),c=n(68487),s=n(68899),p=n(28598);function f(e,t){var n=e.children,i=e.noPadding;return(0,p.jsx)(s.HS,{noPadding:i,ref:t,children:n})}var h=r.forwardRef(f),b=n(62547),v=n(82571),g=n(35686),m=n(98464),x=n(46684),y=n(70515),j=n(53808),w=n(19183);function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _(e,t){var n,i=e.addProjectBreadcrumbToCustomBreadcrumbs,f=e.after,O=e.afterHeader,_=e.afterHidden,P=e.afterWidth,k=e.afterWidthOverride,I=e.appendBreadcrumbs,C=e.before,S=e.beforeWidth,N=e.breadcrumbs,D=e.children,E=e.errors,A=e.headerMenuItems,M=e.headerOffset,q=e.hideAfterCompletely,T=e.mainContainerHeader,H=e.navigationItems,F=e.setAfterHidden,U=e.setErrors,B=e.subheaderChildren,W=e.subheaderNoPadding,R=e.title,L=e.uuid,z=(0,w.i)().width,G="dashboard_after_width_".concat(L),V="dashboard_before_width_".concat(L),Y=(0,r.useRef)(null),J=(0,r.useState)(k?P:(0,j.U2)(G,P)),K=J[0],X=J[1],Q=(0,r.useState)(!1),$=Q[0],ee=Q[1],te=(0,r.useState)(C?Math.max((0,j.U2)(V,S),13*y.iI):null),ne=te[0],ie=te[1],oe=(0,r.useState)(!1),re=oe[0],ue=oe[1],de=(0,r.useState)(null)[1],le=g.ZP.projects.list({},{revalidateOnFocus:!1}).data,ae=null===le||void 0===le?void 0:le.projects,ce={label:function(){var e;return null===ae||void 0===ae||null===(e=ae[0])||void 0===e?void 0:e.name},linkProps:{href:"/"}},se=[];N&&(i&&se.push(ce),se.push.apply(se,(0,o.Z)(N))),(null===N||void 0===N||!N.length||I)&&(null===ae||void 0===ae?void 0:ae.length)>=1&&(null!==N&&void 0!==N&&N.length||se.unshift({bold:!I,label:function(){return R}}),se.unshift(ce)),(0,r.useEffect)((function(){null===Y||void 0===Y||!Y.current||$||re||null===de||void 0===de||de(Y.current.getBoundingClientRect().width)}),[$,K,re,ne,Y,de,z]),(0,r.useEffect)((function(){$||(0,j.t8)(G,K)}),[_,$,K,G]),(0,r.useEffect)((function(){re||(0,j.t8)(V,ne)}),[re,ne,V]);var pe=(0,m.Z)(P);return(0,r.useEffect)((function(){k&&pe!==P&&X(P)}),[k,P,pe]),(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(a.Z,{title:R}),(0,p.jsx)(c.Z,{breadcrumbs:se,menuItems:A,project:null===ae||void 0===ae?void 0:ae[0],version:null===ae||void 0===ae||null===(n=ae[0])||void 0===n?void 0:n.version}),(0,p.jsxs)(s.Nk,{ref:t,children:[0!==(null===H||void 0===H?void 0:H.length)&&(0,p.jsx)(s.lm,{showMore:!0,children:(0,p.jsx)(v.Z,{navigationItems:H,showMore:!0})}),(0,p.jsx)(l.Z,{flex:1,flexDirection:"column",children:(0,p.jsxs)(b.Z,{after:f,afterHeader:O,afterHeightOffset:x.Mz,afterHidden:_,afterMousedownActive:$,afterWidth:K,before:C,beforeHeightOffset:x.Mz,beforeMousedownActive:re,beforeWidth:s.k1+(C?ne:0),headerOffset:M,hideAfterCompletely:!F||q,leftOffset:C?s.k1:null,mainContainerHeader:T,mainContainerRef:Y,setAfterHidden:F,setAfterMousedownActive:ee,setAfterWidth:X,setBeforeMousedownActive:ue,setBeforeWidth:ie,children:[B&&(0,p.jsx)(h,{noPadding:W,children:B}),D]})})]}),E&&(0,p.jsx)(u.Z,{disableClickOutside:!0,isOpen:!0,onClickOutside:function(){return null===U||void 0===U?void 0:U(null)},children:(0,p.jsx)(d.Z,Z(Z({},E),{},{onClose:function(){return null===U||void 0===U?void 0:U(null)}}))})]})}var P=r.forwardRef(_)},72226:function(e,t,n){var i=n(82394),o=n(38276),r=n(75499),u=n(30160),d=n(17488),l=n(70515),a=n(28598);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.Z=function(e){var t=e.objectAttributes,n=e.originalAttributes,c=e.setObjectAttributes;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(o.Z,{mb:1,px:l.cd,children:[(0,a.jsx)(u.ZP,{bold:!0,children:"Outdated after"}),(0,a.jsx)(u.ZP,{muted:!0,small:!0,children:"After the global data product successfully completes running, how long after that will the global data product be outdated?"})]}),(0,a.jsx)(r.Z,{columnFlex:[null,1],columns:[{uuid:"Unit"},{uuid:"Value"}],rows:[{uuid:"seconds"},{uuid:"weeks"},{uuid:"months"},{uuid:"years"}].map((function(e){var o,r,l=e.uuid,p=null===t||void 0===t||null===(o=t.outdated_after)||void 0===o?void 0:o[l],f=null===n||void 0===n||null===(r=n.outdated_after)||void 0===r?void 0:r[l];return[(0,a.jsxs)(u.ZP,{default:!0,monospace:!0,children:[l," ",f&&(0,a.jsxs)(u.ZP,{inline:!0,monospace:!0,muted:!0,children:["(default: ",f,")"]})]},"label-".concat(l)),(0,a.jsx)(d.Z,{compact:!0,monospace:!0,onChange:function(e){return c((function(t){var n;return s(s({},t),{},{outdated_after:s(s({},null===t||void 0===t?void 0:t.outdated_after),{},(0,i.Z)({},l,0===(null===(n=e.target.value)||void 0===n?void 0:n.length)?null:Number(e.target.value)))})}))},placeholder:"Enter a number",primary:!0,setContentOnMount:!0,small:!0,type:"number",value:"undefined"===typeof p||null===p?"":p},"input-".concat(l))]}))})]})}},29644:function(e,t,n){var i=n(82394),o=n(44085),r=n(38276),u=n(75499),d=n(30160),l=n(17488),a=n(70515),c=n(81728),s=n(86735),p=n(28598);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.Z=function(e){var t=e.objectAttributes,n=e.originalAttributes,f=e.setObjectAttributes;return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)(r.Z,{mb:1,px:a.cd,children:[(0,p.jsxs)(d.ZP,{bold:!0,children:["Outdated starting at ",(0,p.jsx)(d.ZP,{inline:!0,muted:!0,children:"(optional)"})]}),(0,p.jsx)(d.ZP,{muted:!0,small:!0,children:"If enough time has passed since the last global data product has ran successfully and the global data product is determined to be outdated, then you can configure it to be outdated at a specific date or time."}),(0,p.jsx)("div",{style:{marginTop:4},children:(0,p.jsxs)(d.ZP,{muted:!0,small:!0,children:["For example, let\u2019s say the global data product is outdated after 12 hours. The last successful run was yesterday at 18:00. The global data product will be outdated today at 06:00. However, if the ",(0,p.jsx)(d.ZP,{bold:!0,inline:!0,muted:!0,small:!0,children:"Outdated starting at"})," has a value of 17 for ",(0,p.jsx)(d.ZP,{bold:!0,inline:!0,muted:!0,small:!0,children:"Hour of day"}),", then the global data product won\u2019t run again until today at 17:00."]})})]}),(0,p.jsx)(u.Z,{columnFlex:[null,1],columns:[{uuid:"Unit"},{uuid:"Value"}],rows:[{uuid:"second_of_minute",values:(0,s.w6)(60).map((function(e,t){return{uuid:t,value:t}}))},{uuid:"minute_of_hour",values:(0,s.w6)(60).map((function(e,t){return{uuid:t,value:t}}))},{uuid:"hour_of_day",values:(0,s.w6)(24).map((function(e,t){return{uuid:t,value:t}}))},{uuid:"day_of_week",values:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"].map((function(e,t){return{uuid:e,value:t}}))},{uuid:"day_of_month",values:(0,s.w6)(31).map((function(e,t){return{uuid:t+1,value:t+1}}))},{uuid:"day_of_year",values:(0,s.w6)(365).map((function(e,t){return{uuid:t+1,value:t+1}}))},{uuid:"week_of_month",values:(0,s.w6)(5).map((function(e,t){return{uuid:t+1,value:t+1}}))},{uuid:"week_of_year",values:(0,s.w6)(52).map((function(e,t){return{uuid:t+1,value:t+1}}))},{uuid:"month_of_year",values:["January","February","March","April","May","June","July","August","September","October","November","December"].map((function(e,t){return{uuid:e,value:t+1}}))}].map((function(e){var r,u,a,s=e.uuid,b=e.values,v=null===t||void 0===t||null===(r=t.outdated_starting_at)||void 0===r?void 0:r[s],g=null===n||void 0===n||null===(u=n.outdated_starting_at)||void 0===u?void 0:u[s],m={compact:!0,key:"outdated-starting-at-input-".concat(s),monospace:!0,onChange:function(e){return f((function(t){var n;return h(h({},t),{},{outdated_starting_at:h(h({},null===t||void 0===t?void 0:t.outdated_starting_at),{},(0,i.Z)({},s,0===(null===(n=e.target.value)||void 0===n?void 0:n.length)?null:Number(e.target.value)))})}))},primary:!0,small:!0,value:"undefined"===typeof v||null===v?"":v};return a=b?(0,p.jsx)(o.Z,h(h({},m),{},{placeholder:"Select a value",children:b.map((function(e){var t=e.uuid,n=e.value;return(0,p.jsx)("option",{value:n,children:t},n)}))})):(0,p.jsx)(l.Z,h(h({},m),{},{placeholder:"Enter a number",setContentOnMount:!0,type:"number"})),[(0,p.jsxs)(d.ZP,{default:!0,monospace:!0,children:[(0,c.vg)(s)," ",g&&(0,p.jsxs)(d.ZP,{inline:!0,monospace:!0,muted:!0,children:["(default: ",g,")"]})]},"outdated-starting-at-label-".concat(s)),a]}))})]})}},46209:function(e,t,n){var i=n(82394),o=n(12691),r=n.n(o),u=n(70652),d=n(48670),l=n(38276),a=n(75499),c=n(30160),s=n(17488),p=n(70515),f=n(28598);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.Z=function(e){var t=e.blocks,n=e.objectAttributes,o=e.originalAttributes,h=e.setObjectAttributes;return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(l.Z,{mb:1,px:p.cd,children:[(0,f.jsx)(c.ZP,{bold:!0,children:"Block data to output"}),(0,f.jsx)(c.ZP,{muted:!0,small:!0,children:"The data output from the block(s) you select below will be the data product that is returned when a downstream entity is requesting data from this global data product."}),(0,f.jsx)("div",{style:{marginTop:4},children:(0,f.jsx)(c.ZP,{muted:!0,small:!0,children:"When requesting data from this global data product, the selected block(s) will return data from its most recent partition. You can override this by adding a value in the partitions setting. For example, if you set the partitions value to 5, then the selected block will return data from its 5 most recent partitions. If you set the partitions value to 0, then all the partitions will be returned."})})]}),(0,f.jsx)(a.Z,{columnFlex:[null,1,null],columns:[{label:function(){return""},uuid:"selected"},{uuid:"Block UUID"},{uuid:"Partitions"}],rows:null===t||void 0===t?void 0:t.map((function(e){var t,l=e.uuid,a=null===n||void 0===n?void 0:n.settings,p=null===a||void 0===a?void 0:a[l],v=null===p||void 0===p?void 0:p.partitions,g=null===o||void 0===o||null===(t=o.settings)||void 0===t?void 0:t[l],m=null===g||void 0===g?void 0:g.partitions,x=!!p||!!g;return[(0,f.jsx)(u.Z,{checked:x,onClick:function(){return function(e){h((function(t){var n=(null===t||void 0===t?void 0:t.settings)||{};return e?n[l]={}:null===n||void 0===n||delete n[l],b(b({},t),{},{settings:n})}))}(!x)}},"selected--".concat(l)),(0,f.jsxs)("div",{children:[(0,f.jsx)(r(),{as:"/pipelines/".concat(null===n||void 0===n?void 0:n.object_uuid,"/edit?block_uuid=").concat(l),href:"/pipelines/[pipeline]/edit",passHref:!0,children:(0,f.jsx)(d.Z,{monospace:!0,openNewWindow:!0,sameColorAsText:!0,children:l})})," ",m&&(0,f.jsxs)(c.ZP,{inline:!0,monospace:!0,muted:!0,children:["(default: ",m,")"]})]},"block-uuid-".concat(l)),(0,f.jsx)(s.Z,{compact:!0,monospace:!0,onChange:function(e){return h((function(t){var n,o;return b(b({},t),{},{settings:b(b({},null===t||void 0===t?void 0:t.settings),{},(0,i.Z)({},l,b(b({},null===t||void 0===t||null===(n=t.settings)||void 0===n?void 0:n[l]),{},{partitions:0===(null===(o=e.target.value)||void 0===o?void 0:o.length)?null:Number(e.target.value)})))})}))},placeholder:"1",primary:!0,setContentOnMount:!0,small:!0,type:"number",value:"undefined"===typeof v||null===v?"":v},"input-".concat(l))]}))})]})}},19396:function(e,t,n){var i=n(82394),o=n(75582),r=n(12691),u=n.n(r),d=n(21764),l=n(82684),a=n(69864),c=n(34376),s=n(71180),p=n(15338),f=n(97618),h=n(55485),b=n(8666),v=n(85854),g=n(48670),m=n(72226),x=n(29644),y=n(53943),j=n(44085),w=n(46209),O=n(38276),Z=n(30160),_=n(17488),P=n(29624),k=n(62547),I=n(35686),C=n(98464),S=n(11302),N=n(70515),D=n(68899),E=n(81728),A=n(72619),M=n(86735),q=n(23780),T=n(28598);function H(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function F(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?H(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):H(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.Z=function(e){var t=e.globalDataProduct,n=e.isNew,i=(0,c.useRouter)(),r=(0,q.VI)(null,{},[],{uuid:"GlobalDataProductDetail"}),H=(0,o.Z)(r,1)[0],U=(0,l.useState)(!1),B=U[0],W=U[1],R=(0,l.useState)(600),L=R[0],z=R[1],G=(0,l.useState)(!1),V=(G[0],G[1]),Y=(0,l.useState)(null),J=Y[0],K=Y[1],X=(0,l.useCallback)((function(e){V(!0),K(e)}),[]),Q=(0,C.Z)(t);(0,l.useEffect)((function(){null!==t&&void 0!==t&&t.uuid&&(null===Q||void 0===Q?void 0:Q.uuid)===(null===t||void 0===t?void 0:t.uuid)||K(t)}),[t,Q]);var $=(0,l.useMemo)((function(){return!(null!==J&&void 0!==J&&J.uuid)}),[J]),ee=(0,a.Db)(I.ZP.global_data_products.useUpdate(n?null===J||void 0===J?void 0:J.uuid:null===t||void 0===t?void 0:t.uuid),{onSuccess:function(e){return(0,A.wD)(e,{callback:function(e){var o=e.global_data_product;n||null!==t&&void 0!==t&&t.uuid&&(null===o||void 0===o?void 0:o.uuid)!==(null===t||void 0===t?void 0:t.uuid)?i.replace("/global-data-products/[...slug]","/global-data-products/".concat(null===o||void 0===o?void 0:o.uuid)):(K(o),V(!1),d.Am.success("Global data product successfully saved.",{position:d.Am.POSITION.BOTTOM_RIGHT,toastId:"custom_pipeline_template"}))},onErrorCallback:function(e,t){return H({errors:t,response:e})}})}}),te=(0,o.Z)(ee,2),ne=te[0],ie=te[1].isLoading,oe=I.ZP.pipelines.detail(b.b.PIPELINE===(null===t||void 0===t?void 0:t.object_type)?null===t||void 0===t?void 0:t.object_uuid:null).data,re=(0,l.useMemo)((function(){return null===oe||void 0===oe?void 0:oe.pipeline}),[oe]),ue=(0,l.useMemo)((function(){return(null===re||void 0===re?void 0:re.blocks)||[]}),[re]),de=I.ZP.pipelines.list().data,le=(0,l.useMemo)((function(){return(0,M.YC)((null===de||void 0===de?void 0:de.pipelines)||[],"uuid")}),[de]),ae=(0,l.useMemo)((function(){return(0,T.jsxs)(h.ZP,{flexDirection:"column",fullHeight:!0,children:[(0,T.jsxs)(f.Z,{flexDirection:"column",children:[(0,T.jsxs)(O.Z,{mt:N.Mq,px:N.cd,children:[(0,T.jsxs)(O.Z,{mb:1,children:[(0,T.jsx)(Z.ZP,{bold:!0,children:"UUID"}),(0,T.jsx)(Z.ZP,{muted:!0,small:!0,children:"Unique identifier for this global data product. This value must be unique across all global data products."})]}),(0,T.jsx)(_.Z,{monospace:!0,onChange:function(e){return X((function(t){return F(F({},t),{},{uuid:e.target.value})}))},placeholder:"e.g. a unique identifier",primary:!0,setContentOnMount:!0,value:(null===J||void 0===J?void 0:J.uuid)||""})]}),(0,T.jsxs)(O.Z,{mt:N.Mq,px:N.cd,children:[(0,T.jsxs)(O.Z,{mb:1,children:[(0,T.jsx)(Z.ZP,{bold:!0,children:"Object type"}),(0,T.jsx)(Z.ZP,{muted:!0,small:!0,children:"Pipeline, block, etc. Currently, only pipeline is supported."})]}),(0,T.jsx)(j.Z,{onChange:function(e){return X((function(t){return F(F({},t),{},{object_type:e.target.value})}))},placeholder:"Only pipeline is currently supported",primary:!0,value:(null===J||void 0===J?void 0:J.object_type)||"",children:[b.b.PIPELINE].map((function(e){return(0,T.jsx)("option",{value:e,children:(0,E.kC)(e)},e)}))})]}),(0,T.jsxs)(O.Z,{mt:N.Mq,px:N.cd,children:[(0,T.jsxs)(O.Z,{mb:1,children:[(0,T.jsx)(Z.ZP,{bold:!0,children:"Object UUID"}),(0,T.jsxs)(Z.ZP,{muted:!0,small:!0,children:["The UUID of the ",(null===J||void 0===J?void 0:J.object_type)||"object type"," that this global data product represents."]})]}),(0,T.jsx)(j.Z,{monospace:!0,onChange:function(e){return X((function(t){return F(F({},t),{},{object_uuid:e.target.value})}))},placeholder:"Select object UUID",primary:!0,value:(null===J||void 0===J?void 0:J.object_uuid)||"",children:null===le||void 0===le?void 0:le.map((function(e){var t=e.uuid;return(0,T.jsx)("option",{value:t,children:t},t)}))}),b.b.PIPELINE===(null===J||void 0===J?void 0:J.object_type)&&(null===J||void 0===J?void 0:J.object_uuid)&&(0,T.jsx)(O.Z,{mt:1,children:(0,T.jsxs)(Z.ZP,{muted:!0,small:!0,children:["View pipeline ",(0,T.jsx)(u(),{as:"/pipelines/".concat(null===J||void 0===J?void 0:J.object_uuid,"/edit"),href:"/pipelines/[pipeline]/edit",passHref:!0,children:(0,T.jsx)(g.Z,{bold:!0,inline:!0,monospace:!0,openNewWindow:!0,small:!0,children:null===J||void 0===J?void 0:J.object_uuid})}),"."]})})]}),!n&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(O.Z,{mt:N.Mq,children:(0,T.jsx)(m.Z,{objectAttributes:J,setObjectAttributes:X})}),(0,T.jsx)(O.Z,{mt:N.Mq,children:(0,T.jsx)(x.Z,{objectAttributes:J,setObjectAttributes:X})}),(null===ue||void 0===ue?void 0:ue.length)>=1&&(0,T.jsx)(O.Z,{mt:N.Mq,children:(0,T.jsx)(w.Z,{blocks:ue,objectAttributes:J,setObjectAttributes:X})})]})]}),(0,T.jsx)(S.ig,{children:(0,T.jsx)(O.Z,{p:N.cd,children:(0,T.jsx)(h.ZP,{children:(0,T.jsxs)(s.ZP,{disabled:$,fullWidth:!0,loading:ie,onClick:function(){return ne({global_data_product:J})},primary:!0,children:[n&&"Create global data product",!n&&"Save global data product"]})})})})]})}),[ue,$,ie,n,J,le,X,ne]),ce=I.ZP.pipeline_schedules.list({global_data_product_uuid:null===t||void 0===t?void 0:t.uuid},{},{pauseFetch:!(null!==t&&void 0!==t&&t.uuid)}).data,se=(0,l.useMemo)((function(){return(null===ce||void 0===ce?void 0:ce.pipeline_schedules)||[]}),[ce]),pe=I.ZP.pipeline_runs.list({global_data_product_uuid:null===t||void 0===t?void 0:t.uuid},{},{pauseFetch:!(null!==t&&void 0!==t&&t.uuid)}).data,fe=(0,l.useMemo)((function(){return(null===pe||void 0===pe?void 0:pe.pipeline_runs)||[]}),[pe]);return(0,T.jsx)(k.Z,{before:ae,beforeHeader:(0,T.jsx)(O.Z,{px:N.cd,children:(0,T.jsx)(Z.ZP,{children:"Global data product attributes"})}),beforeHidden:B,beforeWidth:L,leftOffset:D.k1,setBeforeHidden:W,setBeforeWidth:z,children:!n&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(O.Z,{p:N.cd,children:(0,T.jsx)(v.Z,{children:"Triggers"})}),(0,T.jsx)(p.Z,{light:!0}),(0,T.jsx)(P.Z,{disableActions:!0,pipeline:re,pipelineSchedules:se}),(0,T.jsx)(O.Z,{p:N.cd,children:(0,T.jsx)(v.Z,{children:"Runs"})}),(0,T.jsx)(p.Z,{light:!0}),(0,T.jsx)(y.Z,{hideTriggerColumn:!0,pipelineRuns:fe})]})})}},8666:function(e,t,n){var i;n.d(t,{b:function(){return i}}),function(e){e.BLOCK="block",e.PIPELINE="pipeline"}(i||(i={}))},80022:function(e,t,n){function i(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return i}})},15544:function(e,t,n){function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},i(e)}n.d(t,{Z:function(){return i}})},13692:function(e,t,n){n.d(t,{Z:function(){return o}});var i=n(61049);function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&(0,i.Z)(e,t)}},93189:function(e,t,n){n.d(t,{Z:function(){return r}});var i=n(12539),o=n(80022);function r(e,t){if(t&&("object"===i(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,o.Z)(e)}},61049:function(e,t,n){function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}n.d(t,{Z:function(){return i}})}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[90],{74521:function(e,t,n){var i=n(82394),r=n(92083),o=n.n(r),l=n(15338),u=n(97618),a=n(55485),d=n(65956),s=n(38276),c=n(71417),p=n(75499),v=n(30160),f=n(35686),m=n(3917),h=n(70515),g=n(8970),_=n(88422),j=n(10332),b=n(86735),x=n(70320),y=n(28598),E=n(82684);function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function P(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.Z=function(e){var t=e.disableJobExpansion,n=e.disableStageExpansion,i=e.jobs,r=e.stagesMapping,O=(0,x.qB)();return(0,y.jsx)(p.Z,{apiForFetchingAfterAction:t?null:f.ZP.spark_jobs.detail,buildApiOptionsFromObject:t?null:function(e){var t,n,i,r;return[null===e||void 0===e?void 0:e.job_id,{application_id:null!==e&&void 0!==e&&null!==(t=e.application)&&void 0!==t&&t.calculated_id?encodeURIComponent(null===e||void 0===e||null===(n=e.application)||void 0===n?void 0:n.calculated_id):"",application_spark_ui_url:null!==e&&void 0!==e&&null!==(i=e.application)&&void 0!==i&&i.spark_ui_url?encodeURIComponent(null===e||void 0===e||null===(r=e.application)||void 0===r?void 0:r.spark_ui_url):""}]},columnFlex:[null,null,null,null,null,null],columns:[{uuid:"ID"},{uuid:"Name"},{uuid:"Submitted"},{uuid:"Status"},{center:!0,uuid:"Stages"},{center:!0,uuid:"Tasks"}],getObjectAtRowIndex:function(e){return null===i||void 0===i?void 0:i[e]},renderExpandedRowWithObject:t?null:function(e,t){var i=null===t||void 0===t?void 0:t.spark_job;if(i){var o=i.num_active_stages,p=i.num_active_tasks,f=i.num_completed_stages,m=i.num_completed_tasks,g=i.num_failed_stages,_=i.num_failed_tasks,x=i.num_killed_tasks,E=i.num_skipped_stages,O=i.num_skipped_tasks,P=i.num_tasks,Z=i.stage_ids,k=(0,b.YC)(Z,(function(e){return e}),{ascending:!1}).reduce((function(e,t){var n,o,l=null===r||void 0===r||null===(n=r[null===i||void 0===i||null===(o=i.application)||void 0===o?void 0:o.calculated_id])||void 0===n?void 0:n[t];return l?e.concat(l):l}),[]);return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(s.Z,{p:h.cd,children:(0,y.jsxs)(a.ZP,{children:[(0,y.jsx)(u.Z,{flex:1,alignItems:"stretch",children:(0,y.jsxs)(d.Z,{noPadding:!0,children:[(0,y.jsx)(s.Z,{px:h.cd,py:h.cd,children:(0,y.jsx)(v.ZP,{bold:!0,large:!0,children:"Stage summary"})}),(0,y.jsx)(l.Z,{light:!0,short:!0}),(0,j.s)([["IDs",null===Z||void 0===Z?void 0:Z.join(", ")],["Completed",f],["Active",o],["Skipped",E],["Failed",g]])]})}),(0,y.jsx)(s.Z,{mr:h.cd}),(0,y.jsx)(u.Z,{flex:1,alignItems:"stretch",children:(0,y.jsxs)(d.Z,{noPadding:!0,children:[(0,y.jsx)(s.Z,{px:h.cd,py:h.cd,children:(0,y.jsx)(v.ZP,{bold:!0,large:!0,children:"Task summary"})}),(0,y.jsx)(l.Z,{light:!0,short:!0}),(0,j.s)([["Total",P],["Completed",m],["Active",p],["Skipped",O],["Failed",_],["Killed",x]])]})})]})}),(0,y.jsx)(l.Z,{light:!0}),(0,y.jsx)(s.Z,{p:h.cd,children:(0,y.jsxs)(d.Z,{noPadding:!0,children:[(0,y.jsx)(s.Z,{p:h.cd,children:(0,y.jsxs)(v.ZP,{bold:!0,large:!0,children:["Stages\xa0\xa0\xa0",(0,y.jsx)(v.ZP,{default:!0,inline:!0,large:!0,monospace:!0,children:null===k||void 0===k?void 0:k.length})]})}),(0,y.jsx)(l.Z,{light:!0}),(0,y.jsx)(c.Z,{disableStageExpansion:n,stages:k}),(0,y.jsx)(s.Z,{p:h.cd})]})})]})}return(0,y.jsx)(s.Z,{p:h.cd})},rows:null===i||void 0===i?void 0:i.map((function(e){var t=e.job_id,n=e.name,i=e.num_tasks,r=e.stage_ids,l=e.status,u=e.submission_time,a=(null===n||void 0===n?void 0:n.length)>=100?"".concat(null===n||void 0===n?void 0:n.slice(0,97),"..."):n;return[(0,E.createElement)(v.ZP,P(P({},g.eB),{},{key:"id"}),t),(0,E.createElement)(v.ZP,P(P({},g.eB),{},{key:"name",preWrap:!0,title:n}),a),(0,E.createElement)(v.ZP,P(P({},g.eB),{},{key:"submittedAt"}),u?(0,m.XG)(o()(u,m.kE).format(m.BL),O):"-"),(0,E.createElement)(v.ZP,P(P({},g.eB),{},{danger:_.CN.FAILED===l,key:"status",success:_.CN.SUCCEEDED===l}),l),(0,E.createElement)(v.ZP,P(P({},g.eB),{},{center:!0,key:"stageIds"}),(null===r||void 0===r?void 0:r.length)||"-"),(0,E.createElement)(v.ZP,P(P({},g.eB),{},{center:!0,key:"tasks"}),i)]})),uuid:"jobs"})}},72748:function(e,t,n){n.d(t,{Z:function(){return A}});var i=n(21831),r=n(82394),o=n(38626),l=n(82684),u=n(75499),a=n(30160),d=n(44897),s=n(42631),c=n(31608),p=n(70515),v=c.DI,f=2*p.iI,m=5*p.iI+2*f,h=o.default.div.withConfig({displayName:"indexstyle__NodeStyle",componentId:"sc-9bk2jw-0"})(["border-radius:","px;"," ",""],s.n_,(function(e){return"\n background-color: ".concat((e.theme||d.Z).background.dashboard,";\n border: 1px solid ").concat((e.theme||d.Z).borders.light,";\n ")}),(function(e){return e.height&&"\n height: ".concat(e.height,"px;\n ")})),g=o.default.div.withConfig({displayName:"indexstyle__NodeHeaderStyle",componentId:"sc-9bk2jw-1"})(["padding-left:","px;padding-right:","px;padding-top:","px;padding-bottom:","px;",""],v,v,f,f,(function(e){return"\n border-bottom: 1px solid ".concat((e.theme||d.Z).borders.light,";\n ")})),_=n(8970),j=n(28598);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var y=function(e){var t=e.height,n=e.node,i=(0,l.useMemo)((function(){return(null===n||void 0===n?void 0:n.metrics)||[]}),n),r=(0,l.useMemo)((function(){return(0,j.jsx)(u.Z,{columnFlex:[null,null],columns:[{uuid:"Metric"},{rightAligned:!0,uuid:"Value"}],rows:null===i||void 0===i?void 0:i.map((function(e){var t=e.name,n=e.value;return[(0,l.createElement)(a.ZP,x(x({},_.eB),{},{key:"name"}),t),(0,l.createElement)(a.ZP,x(x({},_.eB),{},{key:"value",rightAligned:!0}),n)]}))})}),[i]);return(0,j.jsxs)(h,{height:t,children:[(0,j.jsx)(g,{children:(0,j.jsx)(a.ZP,{monospace:!0,children:null===n||void 0===n?void 0:n.node_name})}),(null===i||void 0===i?void 0:i.length)>=1&&r]})},E=n(35686),O=n(24138),P=n(21978),Z=n(55187),k=n(99543);function S(e){var t=(null===e||void 0===e?void 0:e.metrics)||[],n=m,i=new RegExp("\n","g"),r=0;null===t||void 0===t||t.forEach((function(e){var t=e.name,n=e.value;r+=1;var o=[];[t,n].forEach((function(e){var t=e.matchAll(i);if(t){for(var n=0;"undefined"!==typeof t.next().value;)n+=1;o.push(n)}})),r+=Math.max.apply(Math,o)}));var o=(null===t||void 0===t?void 0:t.length)||0;return o>=1&&(n+=37,n+=18*(r||0),n+=17*(o||0)),n}function w(e){var t=(null===e||void 0===e?void 0:e.node_name)||"",n=(null===e||void 0===e?void 0:e.metrics)||[],r=Math.max.apply(Math,[(null===t||void 0===t?void 0:t.length)||0].concat((0,i.Z)(null===n||void 0===n?void 0:n.map((function(e){var t=e.name,n=e.value;return((null===t||void 0===t?void 0:t.length)||0)+((null===n||void 0===n?void 0:n.length)||0)}))))),o=2*v+r*(k.YE+.3);return null!==n&&void 0!==n&&n.length&&(o+=4*v),o}var R=n(86735);function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?C(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var A=function(e){var t,n,r,u,a=e.disableGraph,d=e.height,s=e.heightOffset,c=e.model,p=e.overrideScroll,v=e.treeRef,f=(0,l.useRef)(null),m=v||f,h=(0,l.useContext)(o.ThemeContext),g=E.ZP.spark_sqls.detail(null===c||void 0===c?void 0:c.id,{application_id:null!==c&&void 0!==c&&null!==(t=c.application)&&void 0!==t&&t.calculated_id?encodeURIComponent(null===c||void 0===c||null===(n=c.application)||void 0===n?void 0:n.calculated_id):"",application_spark_ui_url:null!==c&&void 0!==c&&null!==(r=c.application)&&void 0!==r&&r.spark_ui_url?encodeURIComponent(null===c||void 0===c||null===(u=c.application)||void 0===u?void 0:u.spark_ui_url):"",include_jobs_and_stages:1,_format:"with_jobs_and_stages"}).data,_=(0,l.useMemo)((function(){return null===g||void 0===g?void 0:g.spark_sql}),[g]),b=(0,l.useMemo)((function(){return(0,R.HK)((null===_||void 0===_?void 0:_.jobs)||[],(function(e){return e.job_id}))}),[_]),x=(0,l.useMemo)((function(){return(0,R.HK)((null===_||void 0===_?void 0:_.stages)||[],(function(e){return e.stage_id}))}),[_]),k=(0,l.useMemo)((function(){var e,t=[],n=[],r=(null===_||void 0===_?void 0:_.edges)||[],o=((0,R.vM)(r,(function(e){return e.from_id})),(0,R.vM)(r,(function(e){return e.to_id})),{});return null===r||void 0===r||r.forEach((function(e){var t=e.from_id,i=e.to_id;n.push({from:t,fromPort:"".concat(t,"-").concat(i,"-from"),id:"".concat(t,"-").concat(i),to:i,toPort:"".concat(t,"-").concat(i,"-to")}),t in o||(o[t]=[]),o[t].push(T(T({},P.bJ),{},{disabled:!0,id:"".concat(t,"-").concat(i,"-from"),side:P.rl.SOUTH})),i in o||(o[i]=[]),o[i].push(T(T({},P.bJ),{},{disabled:!0,id:"".concat(t,"-").concat(i,"-to"),side:P.rl.NORTH}))})),null===_||void 0===_||null===(e=_.nodes)||void 0===e||e.forEach((function(e){var n=null===e||void 0===e?void 0:e.node_id,r=(0,i.Z)((null===o||void 0===o?void 0:o[n])||[]);t.push({data:{sqlNode:e},height:S(e),id:n,ports:r,width:w(e)})})),{edges:n,nodes:t}}),[b,_,x]),C=k.edges,A=k.nodes;(0,l.useEffect)((function(){a||setTimeout((function(){var e,t,n,i,r;0===(null===m||void 0===m||null===(e=m.current)||void 0===e||null===(t=e.containerRef)||void 0===t||null===(n=t.current)||void 0===n?void 0:n.scrollTop)&&(null===m||void 0===m||null===(i=m.current)||void 0===i||null===(r=i.fitCanvas)||void 0===r||r.call(i))}),1e3)}),[m,a]);var I=(0,l.useMemo)((function(){var e=0;return d&&(e+=d),s&&(e-=s),Math.max(0,e)}),[d,s]),N=(0,l.useCallback)((function(e){e.preventDefault()}),[]);(0,l.useEffect)((function(){var e,t,n,i,r,o;a?null===m||void 0===m||null===(e=m.current)||void 0===e||null===(t=e.containerRef)||void 0===t||null===(n=t.current)||void 0===n||n.addEventListener("wheel",N):null===m||void 0===m||null===(i=m.current)||void 0===i||null===(r=i.containerRef)||void 0===r||null===(o=r.current)||void 0===o||o.removeEventListener("wheel",N)}),[a,N]);var M=(0,l.useCallback)((function(e){e.stopPropagation()}),[]);return(0,l.useEffect)((function(){var e,t,n,i,r,o;p?null===m||void 0===m||null===(e=m.current)||void 0===e||null===(t=e.containerRef)||void 0===t||null===(n=t.current)||void 0===n||n.addEventListener("wheel",M):null===m||void 0===m||null===(i=m.current)||void 0===i||null===(r=i.containerRef)||void 0===r||null===(o=r.current)||void 0===o||o.removeEventListener("wheel",M)}),[p,M]),(0,j.jsx)(Z.$4,{height:I,onDoubleClick:function(){var e,t;return null===m||void 0===m||null===(e=m.current)||void 0===e||null===(t=e.fitCanvas)||void 0===t?void 0:t.call(e)},children:(0,j.jsx)(O.Xz,{arrow:null,disabled:a,edge:function(e){var t;return(0,j.jsx)(O.kS,T(T({},e),{},{style:{stroke:null===h||void 0===h||null===(t=h.accent)||void 0===t?void 0:t.purple}}))},edges:C,fit:!0,forwardedRef:m,maxHeight:P.Jo,maxWidth:P.Jo,maxZoom:1,minZoom:-.7,node:function(e){var t,n;return(0,j.jsx)(O.NB,T(T({},e),{},{dragType:"port",linkable:!0,port:(0,j.jsx)(O.GR,{style:{fill:null===h||void 0===h||null===(t=h.borders)||void 0===t?void 0:t.light,stroke:null===h||void 0===h||null===(n=h.accent)||void 0===n?void 0:n.purple,strokeWidth:"1px"}}),style:{fill:"transparent",stroke:"transparent",strokeWidth:0},children:function(e){var t=e.height,n=e.node.data.sqlNode;return(0,j.jsx)("foreignObject",{height:t,width:e.width,x:0,y:0,children:(0,j.jsx)(y,{height:t,node:n})})}}))},nodes:A})})}},93004:function(e,t,n){var i=n(82394),r=n(92083),o=n.n(r),l=n(82684),u=n(32013),a=n(98777),d=n(15338),s=n(97618),c=n(55485),p=n(74521),v=n(85854),f=n(65956),m=n(38276),h=n(72748),g=n(75499),_=n(30160),j=n(35686),b=n(3917),x=n(70515),y=n(8970),E=n(88422),O=n(81728),P=n(70320),Z=n(28598);function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?k(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.Z=function(e){var t=e.disableGraph,n=e.disableJobExpansion,i=e.overrideScrollForGraph,r=e.setSelectedSql,k=e.showSparkGraph,w=e.sqls,R=e.stagesMapping,C=(0,P.qB)(),T=j.ZP.spark_sqls.list({length:9999},{},{pauseFetch:"undefined"!==typeof w&&null!==w}).data,A=(0,l.useMemo)((function(){return w||((null===T||void 0===T?void 0:T.spark_sqls)||[])}),[T,w]),I=(0,l.useMemo)((function(){var e,P={};null===A||void 0===A||A.forEach((function(e){var t,n,i=null===e||void 0===e?void 0:e.application;(null===i||void 0===i?void 0:i.calculated_id)in P||(P[null===i||void 0===i?void 0:i.calculated_id]={application:i,sqls:[]}),null===(t=P[null===i||void 0===i?void 0:i.calculated_id])||void 0===t||null===(n=t.sqls)||void 0===n||n.push(e)}));var w=null===(e=Object.values(P))||void 0===e?void 0:e.length;return Object.values(P).map((function(e){var P=e.application,T=e.sqls;return(0,Z.jsxs)("div",{children:[w>=2&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(m.Z,{p:x.cd,children:(0,Z.jsxs)(_.ZP,{default:!0,bold:!0,children:["Application ",null===P||void 0===P?void 0:P.calculated_id]})}),(0,Z.jsx)(d.Z,{light:!0})]}),(0,Z.jsx)(g.Z,{apiForFetchingAfterAction:j.ZP.spark_sqls.detail,buildApiOptionsFromObject:function(e){var t,n,i,r;return[null===e||void 0===e?void 0:e.id,{application_id:null!==e&&void 0!==e&&null!==(t=e.application)&&void 0!==t&&t.calculated_id?encodeURIComponent(null===e||void 0===e||null===(n=e.application)||void 0===n?void 0:n.calculated_id):"",application_spark_ui_url:null!==e&&void 0!==e&&null!==(i=e.application)&&void 0!==i&&i.spark_ui_url?encodeURIComponent(null===e||void 0===e||null===(r=e.application)||void 0===r?void 0:r.spark_ui_url):"",include_jobs_and_stages:1,_format:"with_jobs_and_stages"}]},columnFlex:[null,null,null,null,null,null,null],columns:[{uuid:"ID"},{uuid:"Submitted"},{center:!0,uuid:"Duration"},{uuid:"Status"},{center:!0,uuid:"Successful jobs"},{center:!0,uuid:"Running jobs"},{center:!0,uuid:"Failed jobs"}],getObjectAtRowIndex:function(e){return null===T||void 0===T?void 0:T[e]},onClickRow:function(e){var t=null===T||void 0===T?void 0:T[e];null===r||void 0===r||r((function(e){return e&&(null===e||void 0===e?void 0:e.id)===(null===t||void 0===t?void 0:t.id)?null:t}))},renderExpandedRowWithObject:function(e,r){var o,l=null===r||void 0===r||null===(o=r.spark_sql)||void 0===o?void 0:o.jobs,d=null===T||void 0===T?void 0:T[e];return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(m.Z,{p:x.cd,children:(0,Z.jsxs)(f.Z,{noPadding:!0,children:[(0,Z.jsx)(m.Z,{p:x.cd,children:(0,Z.jsx)(c.ZP,{alignItems:"center",justifyContent:"space-between",children:(0,Z.jsxs)(s.Z,{flex:1,flexDirection:"column",children:[(0,Z.jsx)(v.Z,{level:5,children:"Description"}),(0,Z.jsx)(m.Z,{mt:1,children:(0,Z.jsx)(_.ZP,{default:!0,monospace:!0,children:null===d||void 0===d?void 0:d.description})})]})})}),(0,Z.jsx)(m.Z,{p:x.cd,children:(0,Z.jsxs)(u.Z,{noBoxShadow:!0,children:[(0,Z.jsx)(a.Z,{noPaddingContent:!0,title:"Plan",titleXPadding:x.cd*x.iI,titleYPadding:1.5*x.iI,children:(0,Z.jsx)(m.Z,{p:x.cd,children:(0,Z.jsx)(_.ZP,{default:!0,monospace:!0,preWrap:!0,small:!0,children:null===d||void 0===d?void 0:d.plan_description})})}),k&&(0,Z.jsx)(a.Z,{noPaddingContent:!0,title:"Graph",titleXPadding:x.cd*x.iI,titleYPadding:1.5*x.iI,children:(0,Z.jsx)(h.Z,{disableGraph:t,height:100*x.iI,model:d,overrideScroll:i})})]})})]})}),(0,Z.jsxs)(m.Z,{mb:x.cd,px:x.cd,children:[(0,Z.jsx)(m.Z,{mb:x.cd,children:(0,Z.jsx)(c.ZP,{alignItems:"center",justifyContent:"space-between",children:(0,Z.jsx)(s.Z,{flex:1,flexDirection:"column",children:(0,Z.jsx)(v.Z,{level:5,children:"Jobs"})})})}),(0,Z.jsxs)(f.Z,{overflowVisible:!0,noPadding:!0,children:[(0,Z.jsx)(p.Z,{disableJobExpansion:n,jobs:l,stagesMapping:R}),(0,Z.jsx)(m.Z,{pb:x.cd})]})]})]})},rows:null===T||void 0===T?void 0:T.map((function(e){var t=e.duration,n=e.failed_job_ids,i=e.id,r=e.running_job_ids,u=e.status,a=e.submission_time,d=e.success_job_ids;return[(0,l.createElement)(_.ZP,S(S({},y.eB),{},{key:"id"}),i),(0,l.createElement)(_.ZP,S(S({},y.eB),{},{key:"submissionTime"}),a?(0,b.XG)(o()(a,b.kE).format(b.OC),C):"-"),(0,l.createElement)(_.ZP,S(S({},y.eB),{},{center:!0,key:"duration"}),t?(0,O.NR)(t):0),(0,l.createElement)(_.ZP,S(S({},y.eB),{},{key:"status",success:E.oD.COMPLETED===u}),u),(0,l.createElement)(_.ZP,S(S({},y.eB),{},{center:!0,key:"successJobIds"}),null===d||void 0===d?void 0:d.length),(0,l.createElement)(_.ZP,S(S({},y.eB),{},{center:!0,key:"runningJobIds"}),null===r||void 0===r?void 0:r.length),(0,l.createElement)(_.ZP,S(S({},y.eB),{},{center:!0,key:"failedJobIds"}),null===n||void 0===n?void 0:n.length)]}))})]},null===P||void 0===P?void 0:P.calculated_id)}))}),[t,i,A,R]);return(0,Z.jsx)(Z.Fragment,{children:I})}},71417:function(e,t,n){n.d(t,{Z:function(){return D}});var i=n(82394),r=n(92083),o=n.n(r),l=n(15338),u=n(97618),a=n(55485),d=n(65956),s=n(38276),c=n(75499),p=n(38626),v=n(82684),f=n(39867),m=n(30160),h=n(12468),g=n(44897),_=n(70515),j=3*_.iI,b=p.default.div.withConfig({displayName:"indexstyle__BarsContainerStyle",componentId:"sc-15hlddf-0"})(["width:100%;"]),x=p.default.div.withConfig({displayName:"indexstyle__BarContainerStyle",componentId:"sc-15hlddf-1"})(["align-items:center;display:flex;height:","px;width:100%;"],j),y=p.default.div.withConfig({displayName:"indexstyle__BarStyle",componentId:"sc-15hlddf-2"})(["height:100%;"," "," "," "," "," "," "," "," ",""],(function(e){return e.widthPercentage&&"\n width: ".concat(100*e.widthPercentage,"%;\n ")}),(function(e){return e.blue&&"\n background-color: ".concat((e.theme||g.Z).accent.blue,";\n ")}),(function(e){return e.green&&"\n background-color: ".concat((e.theme||g.Z).accent.positive,";\n ")}),(function(e){return e.orange&&"\n background-color: ".concat((e.theme||g.Z).accent.dbt,";\n ")}),(function(e){return e.purple&&"\n background-color: ".concat((e.theme||g.Z).accent.purple,";\n ")}),(function(e){return e.red&&"\n background-color: ".concat((e.theme||g.Z).accent.negative,";\n ")}),(function(e){return e.teal&&"\n background-color: ".concat((e.theme||g.Z).accent.teal,";\n ")}),(function(e){return e.yellow&&"\n background-color: ".concat((e.theme||g.Z).accent.yellow,";\n ")}),(function(e){return e.empty&&"\n background-color: ".concat((e.theme||g.Z).background.chartBlock,";\n ")})),E=p.default.div.withConfig({displayName:"indexstyle__FillerStyle",componentId:"sc-15hlddf-3"})(["height:","px;width:100%;"],j),O=p.default.div.withConfig({displayName:"indexstyle__TextStyle",componentId:"sc-15hlddf-4"})(["align-items:center;display:flex;height:","px;justify-content:flex-end;"],j),P=n(3917),Z=n(70320),k=n(86735),S=n(28598);var w=function(e){var t,n=e.stageAttempt,i=(0,v.useContext)(p.ThemeContext),r=(0,Z.qB)(),l=(n.submission_time,(0,v.useMemo)((function(){return(0,k.YC)(Object.values((null===n||void 0===n?void 0:n.tasks)||{}),(function(e){return e.launch_time}),{ascending:!0})}),[n])),d=(0,v.useMemo)((function(){var e,t;return null===l||void 0===l||l.forEach((function(n){var i=n.duration,r=n.launch_time,l=o()(r,P.kE).valueOf();(!t||l<t)&&(t=l);var u=l+i;(!e||u>e)&&(e=u)})),{maxEndTimestamp:e,minLaunchTimestamp:t}}),[l]),c=d.maxEndTimestamp,g=d.minLaunchTimestamp,j=(0,v.useCallback)((function(e){return(0,S.jsx)(h.Z,{appearAbove:!0,block:!0,fullSize:!0,label:(0,S.jsx)(m.ZP,{leftAligned:!0,children:e}),lightBackground:!0,muted:!0,widthFitContent:!0,children:(0,S.jsx)(E,{})})}),[]),w=(0,v.useMemo)((function(){var e=c-g,t=[];return null===l||void 0===l||l.forEach((function(n,i){var r=n.duration,l=n.task_id,u=n.launch_time,a=n.scheduler_delay,d=n.task_metrics,p=d.executor_deserialize_time,v=d.shuffle_read_metrics.fetch_wait_time,f=d.executor_run_time,m=d.shuffle_write_metrics.write_time,h=d.result_serialization_time,_=n.getting_result_time,b=o()(u,P.kE).valueOf(),E=b+r,O=[(0,S.jsx)(y,{empty:!0,widthPercentage:(b-g)/e,children:j("Waiting to start")},"launchTimestamp"),(0,S.jsx)(y,{blue:!0,widthPercentage:a/e,children:j("Scheduler delay")},"schedulerDelay"),(0,S.jsx)(y,{red:!0,widthPercentage:p/e,children:j("Task deserialization time")},"executorDeserializeTime"),(0,S.jsx)(y,{orange:!0,widthPercentage:v/e,children:j("Shuffle read time")},"fetchWaitTime"),(0,S.jsx)(y,{green:!0,widthPercentage:f/e,children:j("Executor computing time")},"executorRunTime"),(0,S.jsx)(y,{widthPercentage:m/e,yellow:!0,children:j("Shuffle write time")},"writeTime"),(0,S.jsx)(y,{purple:!0,widthPercentage:h/e,children:j("Result serialization time")},"resultSerializationTime"),(0,S.jsx)(y,{teal:!0,widthPercentage:_/e,children:j("Getting result time")},"gettingResultTime"),(0,S.jsx)(y,{empty:!0,widthPercentage:(c-E)/e,children:j("Already finished")},"endTime")];t.push((0,S.jsx)(s.Z,{mt:1},"divider-".concat(l))),t.push((0,S.jsx)(x,{children:O},l))})),(0,S.jsxs)(b,{children:[(0,S.jsx)(x,{children:(0,S.jsxs)(a.ZP,{fullWidth:!0,justifyContent:"space-between",children:[(0,S.jsx)(u.Z,{flex:1,children:(0,S.jsx)(m.ZP,{monospace:!0,muted:!0,children:(0,P.XG)((0,P.Mg)(g,{withMilliseconds:!0}).format(P.OC),r)})}),(0,S.jsx)(u.Z,{flex:1,justifyContent:"flex-end",children:(0,S.jsx)(m.ZP,{monospace:!0,muted:!0,children:(0,P.XG)((0,P.Mg)(c,{withMilliseconds:!0}).format(P.OC),r)})})]})}),t]})}),[c,g,j,l]);return(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(s.Z,{mb:_.cd,children:(0,S.jsx)(m.ZP,{bold:!0,large:!0,children:"Task timeline"})}),(0,S.jsx)(s.Z,{mb:_.cd,children:[{color:null===i||void 0===i||null===(t=i.accent)||void 0===t?void 0:t.blue,uuid:"Scheduler delay"},{color:null===i||void 0===i?void 0:i.accent.negative,uuid:"Task deserialization time"},{color:null===i||void 0===i?void 0:i.accent.dbt,uuid:"Shuffle read time"},{color:null===i||void 0===i?void 0:i.accent.positive,uuid:"Executor computing time"},{color:null===i||void 0===i?void 0:i.accent.yellow,uuid:"Shuffle write time"},{color:null===i||void 0===i?void 0:i.accent.purple,uuid:"Result serialization time"},{color:null===i||void 0===i?void 0:i.accent.teal,uuid:"Getting result time"}].map((function(e,t){var n=e.color,i=e.uuid;return(0,S.jsx)(s.Z,{mt:t>=1?1:0,children:(0,S.jsxs)(a.ZP,{alignItems:"center",children:[(0,S.jsx)(f.Z,{color:n,size:1*_.iI}),(0,S.jsx)(s.Z,{mr:1}),(0,S.jsx)(m.ZP,{default:!0,children:i})]})},i)}))}),(0,S.jsxs)(a.ZP,{children:[(0,S.jsxs)("div",{children:[(0,S.jsx)(O,{children:(0,S.jsx)(m.ZP,{bold:!0,monospace:!0,muted:!0,noWrapping:!0,children:"ID"})}),null===l||void 0===l?void 0:l.map((function(e,t){var n=e.task_id;return(0,S.jsx)(s.Z,{mt:1,children:(0,S.jsx)(O,{children:(0,S.jsx)(m.ZP,{default:!0,monospace:!0,noWrapping:!0,children:n})})},n)}))]}),(0,S.jsx)(s.Z,{mr:2}),w]})]})},R=n(35686),C=n(88422),T=n(8970),A=n(10332),I=n(81728);function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function M(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var D=function(e){var t=e.disableStageExpansion,n=e.stages,i=e.tasksContained,r=(0,Z.qB)();return(0,S.jsx)(c.Z,{columnFlex:[null,null,null,null,null,null,null,null,null,null,null,null,null],columns:[{uuid:"ID"},{center:!0,uuid:"Attempt"},{uuid:"Name"},{uuid:"Submitted"},{center:!0,uuid:"Duration"},{uuid:"Status"},{center:!0,uuid:"Tasks"},{center:!0,tooltipMessage:"Bytes read from storage in this stage",uuid:"In"},{center:!0,uuid:"In recs"},{center:!0,tooltipMessage:"Bytes written in storage in this stage",uuid:"Out"},{center:!0,uuid:"Out recs"},{center:!0,tooltipMessage:"Total shuffle bytes and records read, includes both data read locally and data read from remote executors.",uuid:"Sh read"},{rightAligned:!0,tooltipMessage:"Bytes and records written to disk in order to be read by a shuffle in a future stage.",uuid:"Sh write"}],getObjectAtRowIndex:function(e){return null===n||void 0===n?void 0:n[e]},buildApiOptionsFromObject:t?null:function(e){var t,n,i,r;return[null===e||void 0===e?void 0:e.stage_id,{application_id:null!==e&&void 0!==e&&null!==(t=e.application)&&void 0!==t&&t.calculated_id?encodeURIComponent(null===e||void 0===e||null===(n=e.application)||void 0===n?void 0:n.calculated_id):"",application_spark_ui_url:null!==e&&void 0!==e&&null!==(i=e.application)&&void 0!==i&&i.spark_ui_url?encodeURIComponent(null===e||void 0===e||null===(r=e.application)||void 0===r?void 0:r.spark_ui_url):"",quantiles:C.k$.map((function(e){return e})).join(","),withSummaries:!0}]},apiForFetchingAfterAction:t?null:R.ZP.spark_stages.detail,renderExpandedRowWithObject:t?null:function(e,t){var p,f,g=null===n||void 0===n?void 0:n[e];if(!g)return(0,S.jsx)("div",{});var j=g.details,b=g.num_active_tasks,x=g.num_complete_tasks,y=g.num_failed_tasks,E=g.num_killed_tasks,O=g.num_tasks,Z=null===t||void 0===t||null===(p=t.spark_stage)||void 0===p?void 0:p.stage_attempts;return(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(s.Z,{p:_.cd,children:(0,S.jsxs)(a.ZP,{children:[(0,S.jsx)(u.Z,{flex:1,alignItems:"stretch",children:(0,S.jsxs)(d.Z,{noPadding:!0,children:[(0,S.jsx)(s.Z,{px:_.cd,py:_.cd,children:(0,S.jsx)(m.ZP,{bold:!0,large:!0,children:"Task summary"})}),(0,S.jsx)(l.Z,{light:!0,short:!0}),(0,A.s)([["Total",O],["Completed",x],["Active",b],["Failed",y],["Killed",E]])]})}),(0,S.jsx)(s.Z,{mr:_.cd}),(0,S.jsx)(u.Z,{flex:2,alignItems:"stretch",children:(0,S.jsxs)(d.Z,{noPadding:!0,children:[(0,S.jsx)(s.Z,{px:_.cd,py:_.cd,children:(0,S.jsx)(m.ZP,{bold:!0,large:!0,children:"Details"})}),(0,S.jsx)(l.Z,{light:!0,short:!0}),(0,S.jsx)(s.Z,{p:_.cd,children:null===j||void 0===j||null===(f=j.split("\n"))||void 0===f?void 0:f.map((function(e){return(0,S.jsx)(m.ZP,{muted:!0,monospace:!0,small:!0,children:e},e)}))})]})})]})}),null===Z||void 0===Z?void 0:Z.map((function(e){e.attempt_id;var t,n=e.task_metrics_distributions,p=e.tasks,f=n||{},g=f.input_metrics,j=f.output_metrics,b=f.quantiles,x=void 0===b?C.k$:b,y=f.shuffle_read_metrics,E=f.shuffle_write_metrics,O=(0,S.jsx)(c.Z,{columnFlex:[null,null,null,null,null,null,null,null,null],columns:[{uuid:"ID"},{center:!0,uuid:"Attempt"},{uuid:"Status"},{uuid:"Locality"},{uuid:"Launch"},{center:!0,uuid:"Duration"},{center:!0,tooltipMessage:"GC time is the total JVM garbage collection time.",uuid:"GC time"},{center:!0,tooltipMessage:"Scheduler delay is the time the task waits to be scheduled for execution.",uuid:"Delayed"},{center:!0,tooltipMessage:"Result serialization time is the time spent serializing the task result on an executor before sending it back to the driver.",uuid:"Result time"}],rows:(0,k.YC)(Object.values(p||{}),(function(e){return e.task_id}),{ascending:!1}).map((function(e){var t=e.attempt,n=e.duration,i=e.launch_time,l=e.scheduler_delay,u=e.status,a=e.task_id,d=e.task_locality,s=e.task_metrics;return[(0,v.createElement)(m.ZP,M(M({},T.eB),{},{key:"taskId"}),a),(0,v.createElement)(m.ZP,M(M({},T.eB),{},{center:!0,key:"attempt"}),t),(0,v.createElement)(m.ZP,M(M({},T.eB),{},{key:"status",success:C.q.SUCCESS===u}),u),(0,v.createElement)(m.ZP,M(M({},T.eB),{},{key:"taskLocality"}),d),(0,v.createElement)(m.ZP,M(M({},T.eB),{},{key:"launchTime"}),i?(0,P.XG)(o()(i,P.kE).format(P.BL),r):"-"),(0,v.createElement)(m.ZP,M(M({},T.eB),{},{center:!0,key:"duration"}),n?(0,I.NR)(n):0),(0,v.createElement)(m.ZP,M(M({},T.eB),{},{center:!0,key:"jvmGcTime"}),null!==s&&void 0!==s&&s.jvm_gc_time?(0,I.NR)(null===s||void 0===s?void 0:s.jvm_gc_time):0),(0,v.createElement)(m.ZP,M(M({},T.eB),{},{center:!0,key:"schedulerDelay"}),l?(0,I.NR)(l):0),(0,v.createElement)(m.ZP,M(M({},T.eB),{},{center:!0,key:"resultSerializationTime"}),null!==s&&void 0!==s&&s.result_serialization_time?(0,I.NR)(null===s||void 0===s?void 0:s.result_serialization_time):0)]}))});return(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(l.Z,{light:!0}),(0,S.jsx)(s.Z,{p:_.cd,children:(0,S.jsx)(w,{stageAttempt:e})}),(0,S.jsx)(l.Z,{light:!0}),(0,S.jsx)(s.Z,{px:_.cd,mt:_.cd,children:(0,S.jsx)(a.ZP,{children:(0,S.jsx)(u.Z,{flex:1,alignItems:"stretch",children:(0,S.jsxs)(d.Z,{noPadding:!0,children:[(0,S.jsx)(s.Z,{px:_.cd,py:_.cd,children:(0,S.jsxs)(m.ZP,{bold:!0,large:!0,children:["Summary metrics for ",(0,I._6)("completed task",null===e||void 0===e?void 0:e.num_complete_tasks)]})}),(0,S.jsx)(l.Z,{light:!0,short:!0}),(0,S.jsx)(c.Z,{columnFlex:[null].concat(null===x||void 0===x?void 0:x.map((function(){return null}))),columns:[{uuid:"Metric"}].concat((null===x||void 0===x?void 0:x.map((function(e,t){return{center:!0,label:function(){return 0===t?"Min":t===(null===x||void 0===x?void 0:x.length)-1?"Max":t===Math.floor((null===x||void 0===x?void 0:x.length)/2)?"Median":"".concat(Number(100*e),"th")},uuid:e}})))||[]),rows:[{uuid:"Duration",values:((null===n||void 0===n?void 0:n.duration)||[]).map((function(e){return(0,I.NR)(e)}))},{tooltipMessage:"GC time is the total JVM garbage collection time.",uuid:"GC time",values:((null===n||void 0===n?void 0:n.jvm_gc_time)||[]).map((function(e){return(0,I.NR)(e)}))},{tooltipMessage:"Bytes read from storage in this stage.",uuid:"Input read (bytes)",values:(null===g||void 0===g?void 0:g.bytes_read)||[]},{tooltipMessage:"Records read from storage in this stage.",uuid:"Input records read",values:(null===g||void 0===g?void 0:g.records_read)||[]},{tooltipMessage:"Total shuffle bytes read, includes both data read locally and data read from remote executors.",uuid:"Shuffle read (bytes)",values:(null===y||void 0===y?void 0:y.read_bytes)||[]},{tooltipMessage:"Total shuffle records read, includes both data read locally and data read from remote executors.",uuid:"Shuffle read records",values:(null===y||void 0===y?void 0:y.read_records)||[]},{uuid:"Shuffle read fetch time",values:((null===y||void 0===y?void 0:y.fetch_wait_time)||[]).map((function(e){return(0,I.NR)(e)}))},{tooltipMessage:"Bytes written to storage in this stage.",uuid:"Input write (bytes)",values:(null===j||void 0===j?void 0:j.bytes_written)||[]},{tooltipMessage:"Records written to storage in this stage.",uuid:"Input records write",values:(null===j||void 0===j?void 0:j.records_written)||[]},{tooltipMessage:"Bytes written to disk in order to be read by a shuffle in a future stage.",uuid:"Shuffle write (bytes)",values:(null===E||void 0===E?void 0:E.write_bytes)||[]},{tooltipMessage:"Records written to disk in order to be read by a shuffle in a future stage.",uuid:"Shuffle write records",values:(null===E||void 0===E?void 0:E.write_records)||[]},{uuid:"Shuffle write time",values:((null===E||void 0===E?void 0:E.write_time)||[]).map((function(e){return(0,I.NR)(e)}))},{tooltipMessage:"Scheduler delay is the time the task waits to be scheduled for execution.",uuid:"Scheduler delay",values:(null===n||void 0===n?void 0:n.scheduler_delay)||[]},{uuid:"Task deserialization time",values:((null===n||void 0===n?void 0:n.executor_deserialize_time)||[]).map((function(e){return(0,I.NR)(e)}))},{uuid:"Task deserialization CPU time",values:((null===n||void 0===n?void 0:n.executor_deserialize_cpu_time)||[]).map((function(e){return(0,I.NR)(e)}))},{uuid:"Result size",values:(null===n||void 0===n?void 0:n.result_size)||[]},{tooltipMessage:"Result serialization time is the time spent serializing the task result on an executor before sending it back to the driver.",uuid:"Result serialization time",values:((null===n||void 0===n?void 0:n.result_serialization_time)||[]).map((function(e){return(0,I.NR)(e)}))},{tooltipMessage:"Getting result time is the time that the driver spends fetching task results from workers.",uuid:"Getting result time",values:((null===n||void 0===n?void 0:n.getting_result_time)||[]).map((function(e){return(0,I.NR)(e)}))},{tooltipMessage:"Scheduler delay is the time the task waits to be scheduled for execution.",uuid:"Scheduler delay",values:((null===n||void 0===n?void 0:n.scheduler_delay)||[]).map((function(e){return(0,I.NR)(e)}))},{tooltipMessage:"Peak execution memory is the maximum memory used by the internal data structures created during shuffles, aggregations and joins.",uuid:"Peak execution memory",values:(null===n||void 0===n?void 0:n.peak_execution_memory)||[]},{tooltipMessage:"Shuffle spill (memory) is the size of the deserialized form of the shuffled data in memory.",uuid:"Memory spilled (bytes)",values:(null===n||void 0===n?void 0:n.memory_bytes_spilled)||[]},{tooltipMessage:"Shuffle spill (disk) is the size of the serialized form of the data on disk.",uuid:"Disk spilled (bytes)",values:(null===n||void 0===n?void 0:n.disk_bytes_spilled)||[]}].map((function(e){var t=e.tooltipMessage,n=e.uuid,i=e.values;return[(0,S.jsxs)(a.ZP,{alignItems:"center",children:[(0,S.jsx)(m.ZP,M(M({},T.eB),{},{children:n})),t&&(0,S.jsx)("div",{style:{marginLeft:4},children:(0,S.jsx)(h.Z,{appearAbove:!0,label:(0,S.jsx)(m.ZP,{leftAligned:!0,children:t}),lightBackground:!0,maxWidth:200,muted:!0})})]},n)].concat(null===i||void 0===i?void 0:i.map((function(e,t){return(0,v.createElement)(m.ZP,M(M({},T.eB),{},{center:!0,key:"quantile-".concat(x[t],"-").concat(n)}),e)})))}))}),(0,S.jsx)(s.Z,{p:1})]})})})}),(0,S.jsx)(s.Z,{p:_.cd,children:(0,S.jsxs)(m.ZP,{bold:!0,large:!0,children:["Tasks\xa0\xa0\xa0",(0,S.jsx)(m.ZP,{default:!0,inline:!0,large:!0,monospace:!0,children:p?null===(t=Object.keys(p||{}))||void 0===t?void 0:t.length:""})]})}),!i&&O,i&&(0,S.jsx)(s.Z,{px:_.cd,children:(0,S.jsxs)(d.Z,{noPadding:!0,children:[O,(0,S.jsx)(s.Z,{pb:_.cd})]})}),(0,S.jsx)(s.Z,{p:1})]})}))]})},rows:null===n||void 0===n?void 0:n.map((function(e){var t=e.attempt_id,n=e.completion_time,i=e.first_task_launched_time,l=e.input_bytes,u=e.input_records,a=e.name,d=e.output_bytes,s=e.output_records,c=e.shuffle_read_bytes,p=e.shuffle_write_bytes,f=e.stage_id,h=e.status,g=e.submission_time,_=e.tasks,j=i&&o()(i,P.kE),b=n&&o()(n,P.kE),x=b&&b.diff(j),y=(null===a||void 0===a?void 0:a.length)>=12?"".concat(null===a||void 0===a?void 0:a.slice(0,9),"..."):a;return[(0,v.createElement)(m.ZP,M(M({},T.eB),{},{key:"stageID"}),f),(0,v.createElement)(m.ZP,M(M({},T.eB),{},{center:!0,key:"attemptID"}),t),(0,v.createElement)(m.ZP,M(M({},T.eB),{},{key:"displayName",title:a}),y),(0,v.createElement)(m.ZP,M(M({},T.eB),{},{key:"submissionTime"}),g?(0,P.XG)(o()(g,P.kE).format(P.BL),r):"-"),(0,v.createElement)(m.ZP,M(M({},T.eB),{},{key:"diffDisplayText",center:!0}),x?(0,I.NR)(x):0),(0,v.createElement)(m.ZP,M(M({},T.eB),{},{key:"status",success:C.Dd.COMPLETE===h}),h),(0,v.createElement)(m.ZP,M(M({},T.eB),{},{key:"tasks",center:!0}),Object.keys(_||{}).length||0),(0,v.createElement)(m.ZP,M(M({},T.eB),{},{center:!0,key:"inputBytes"}),l),(0,v.createElement)(m.ZP,M(M({},T.eB),{},{center:!0,key:"inputRecords"}),u),(0,v.createElement)(m.ZP,M(M({},T.eB),{},{center:!0,key:"outputBytes"}),d),(0,v.createElement)(m.ZP,M(M({},T.eB),{},{center:!0,key:"outputRecords"}),s),(0,v.createElement)(m.ZP,M(M({},T.eB),{},{center:!0,key:"shuffleReadBytes"}),c),(0,v.createElement)(m.ZP,M(M({},T.eB),{},{key:"shuffleWriteBytes",rightAligned:!0}),p)]}))})}},8970:function(e,t,n){n.d(t,{sY:function(){return k},l:function(){return O},Eb:function(){return P},LF:function(){return Z},B2:function(){return y},TD:function(){return E},uK:function(){return b},eB:function(){return S},kI:function(){return w}});var i=n(82394),r=n(28598),o=69.063,l=o/85;var u,a,d,s,c=function(e){var t,n,i=e.height,u=e.size,a=e.width;return u?(t=u/l,n=u):i?(t=i,n=i*l):a&&(t=a/l,n=a),(0,r.jsxs)("svg",{fill:"#fff",fillRule:"evenodd",height:t,stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",viewBox:"0 0 ".concat(o," ").concat(85),width:n,xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",children:[(0,r.jsx)("use",{xlinkHref:"#A",x:"2.031",y:"2.5"}),(0,r.jsx)("symbol",{id:"A",overflow:"visible",children:(0,r.jsxs)("g",{stroke:"none",children:[(0,r.jsx)("path",{d:"M16.829 39.981L13.086 62.83l-9.812 2.283-3.255-1.659V39.981h16.81z",fill:"#9d5025"}),(0,r.jsx)("path",{d:"M65 31.932l-32.5 2.351L0 31.932 32.5 0 65 31.932z",fill:"#6b3b19"}),(0,r.jsx)("path",{d:"M38.971 39.981H3.274v25.132l35.697-8.322v-16.81z",fill:"#f58534"}),(0,r.jsx)("path",{d:"M21.127 39.981l1.168 25.698-11.43 3.298-3.992-2.029V39.981h14.254z",fill:"#9d5025"}),(0,r.jsx)("path",{d:"M49.664 39.981H10.865v28.995l38.799-11.22V39.981z",fill:"#f58534"}),(0,r.jsx)("path",{d:"M29.255 39.981v30.507l-8.912 3.317-5.016-2.556V39.981h13.929z",fill:"#9d5025"}),(0,r.jsx)("path",{d:"M58.117 39.981H20.342v33.824l37.775-14.078V39.981z",fill:"#f58534"}),(0,r.jsx)("path",{d:"M26.019 76.703V39.981h24.602l11.803 24.771L32.49 80.001l-6.471-3.297z",fill:"#9d5025"}),(0,r.jsx)("path",{d:"M32.49 80.001v-40.02h32.5v23.464l-32.5 16.556zM65 31.932l-32.5-5.697V0L65 16.556v15.376z",fill:"#f58534"}),(0,r.jsx)("path",{d:"M0 31.932l32.5-5.697V0L0 16.556v15.376z",fill:"#9d5025"})]})})]})},p=n(55485),v=n(30160),f=n(72473),m=n(74260),h=n(70515),g=n(81728);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function j(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b,x=8*h.iI,y=j({},m.GO);!function(e){e.CLUSTERS="clusters",e.MONITORING="monitoring",e.RESOURCES="resources",e.SETUP="setup",e.SYSTEM="system"}(b||(b={}));var E=(u={},(0,i.Z)(u,b.CLUSTERS,"Clusters"),(0,i.Z)(u,b.RESOURCES,"Resources"),(0,i.Z)(u,b.MONITORING,"Monitoring"),(0,i.Z)(u,b.SETUP,"Setup"),(0,i.Z)(u,b.SYSTEM,"System"),u),O=(a={},(0,i.Z)(a,y.AWS_EMR,"AWS EMR"),(0,i.Z)(a,y.STANDALONE_CLUSTER,"Standalone cluster"),a),P=(d={},(0,i.Z)(d,y.AWS_EMR,"Spark"),(0,i.Z)(d,y.STANDALONE_CLUSTER,"Spark"),d),Z=(s={},(0,i.Z)(s,y.AWS_EMR,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:x;return(0,r.jsx)(c,{height:e})})),(0,i.Z)(s,y.STANDALONE_CLUSTER,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:x;return(0,r.jsx)(f.Hm,{size:e,warning:!0})})),s),k=[{buildPayload:function(e){return{emr_config:null,spark_config:j({app_name:"",spark_master:"local"},null===e||void 0===e?void 0:e.spark_config)}},displayName:O[y.STANDALONE_CLUSTER],documentationHref:"https://docs.mage.ai/integrations/spark-pyspark#standalone-spark-cluster",kicker:P[y.STANDALONE_CLUSTER],renderIcon:Z[y.STANDALONE_CLUSTER],uuid:y.STANDALONE_CLUSTER},{buildPayload:function(e){return{emr_config:j({master_instance_type:""},null===e||void 0===e?void 0:e.emr_config),spark_config:j({app_name:""},null===e||void 0===e?void 0:e.spark_config)}},displayName:O[y.AWS_EMR],documentationHref:"https://docs.mage.ai/integrations/spark-pyspark#aws",kicker:P[y.AWS_EMR],renderIcon:Z[y.AWS_EMR],uuid:y.AWS_EMR}],S={default:!0,monospace:!0,preWrap:!0,small:!0};function w(e){var t=[{Icon:f.Zr,uuid:b.SETUP},{Icon:f.hd,uuid:b.RESOURCES}];return m.GO.AWS_EMR===(null===e||void 0===e?void 0:e.uuid)&&t.push.apply(t,[{Icon:f.su,renderStatus:function(e){var t=e.clusters;return e.clustersLoading?null:(0,r.jsx)(v.ZP,{default:!0,large:!0,monospace:!0,children:null===t||void 0===t?void 0:t.length})},uuid:b.CLUSTERS}]),[m.GO.AWS_EMR,m.GO.STANDALONE_CLUSTER].includes(null===e||void 0===e?void 0:e.uuid)&&t.push.apply(t,[{Icon:f.ug,renderStatus:function(e){var t=e.applications,n=e.applicationsLoading,i=e.jobs;e.jobsLoading;return n?null:(0,r.jsxs)(p.ZP,{flexDirection:"column",justifyContent:"flex-end",children:[(0,r.jsx)(v.ZP,{default:!0,monospace:!0,rightAligned:!0,xsmall:!0,children:(0,g._6)("application",(null===t||void 0===t?void 0:t.length)||0)}),(0,r.jsx)("div",{style:{marginBottom:h.iI/2}}),(0,r.jsx)(v.ZP,{default:!0,monospace:!0,rightAligned:!0,xsmall:!0,children:(0,g._6)("job",(null===i||void 0===i?void 0:i.length)||0)})]})},uuid:b.MONITORING},{Icon:f.m1,uuid:b.SYSTEM}]),t}},10332:function(e,t,n){n.d(t,{d:function(){return a},s:function(){return d}});var i=n(75499),r=n(30160),o=n(74260),l=n(42122),u=n(28598);function a(e){if(!(0,l.Qr)((null===e||void 0===e?void 0:e.spark_config)||{}))return(0,l.Qr)((null===e||void 0===e?void 0:e.emr_config)||{})?o.GO.STANDALONE_CLUSTER:o.GO.AWS_EMR}function d(e){return(0,u.jsx)(i.Z,{columnFlex:[null,1],columns:[{uuid:"Attribute"},{uuid:"Value"}],rows:e.map((function(e){return[(0,u.jsx)(r.ZP,{monospace:!0,muted:!0,small:!0,children:e[0]},"attribute"),(0,u.jsx)(r.ZP,{monospace:!0,muted:!0,small:!0,children:e[1]},"value")]}))})}},74260:function(e,t,n){var i,r,o;n.d(t,{GO:function(){return i},IK:function(){return o},br:function(){return r}}),function(e){e.AWS_EMR="AWS_EMR",e.STANDALONE_CLUSTER="STANDALONE_CLUSTER"}(i||(i={})),function(e){e.COMPLETED="completed",e.ERROR="error",e.INCOMPLETE="incomplete"}(r||(r={})),function(e){e.ACTIVATE_CLUSTER="activate_cluster",e.AWS_ACCESS_KEY_ID="AWS_ACCESS_KEY_ID",e.AWS_SECRET_ACCESS_KEY="AWS_SECRET_ACCESS_KEY",e.CLUSTER_CONNECTION="cluster_connection",e.CONFIGURE="configure",e.CREDENTIALS="credentials",e.EC2_KEY_NAME="ec2_key_name",e.EC2_KEY_PAIR="ec2_key_pair",e.EC2_KEY_PATH="ec2_key_path",e.IAM_PROFILE="iam_instance_profile",e.LAUNCH_CLUSTER="launch_cluster",e.OBSERVABILITY="observability",e.PERMISSIONS="permissions",e.PERMISSIONS_SSH="permissions_ssh",e.REMOTE_VARIABLES_DIR="remote_variables_dir",e.SETUP="setup"}(o||(o={}))},72098:function(e,t,n){var i;n.d(t,{U:function(){return i}}),function(e){e.PYSPARK="pysparkkernel",e.PYTHON3="python3"}(i||(i={}))},57653:function(e,t,n){n.d(t,{$1:function(){return m},G7:function(){return _},LM:function(){return j},Mj:function(){return b},QK:function(){return f},RH:function(){return g},a_:function(){return y},fj:function(){return E},kA:function(){return x},qL:function(){return u},r0:function(){return h}});var i,r,o,l,u,a=n(75582),d=n(82394),s=n(72473),c=n(72098);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){(0,d.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}!function(e){e.INTEGRATION="integration",e.PYTHON="python",e.PYSPARK="pyspark",e.STREAMING="streaming"}(u||(u={}));var f,m,h,g=(i={},(0,d.Z)(i,u.INTEGRATION,"Integration"),(0,d.Z)(i,u.PYTHON,"Python"),(0,d.Z)(i,u.PYSPARK,"PySpark"),(0,d.Z)(i,u.STREAMING,"Streaming"),i),_=(r={},(0,d.Z)(r,u.INTEGRATION,"Integration"),(0,d.Z)(r,u.PYTHON,"Standard"),(0,d.Z)(r,u.PYSPARK,"PySpark"),(0,d.Z)(r,u.STREAMING,"Streaming"),r),j="all",b=(u.PYTHON,u.INTEGRATION,u.STREAMING,o={},(0,d.Z)(o,j,s.ie),(0,d.Z)(o,u.INTEGRATION,s.YC),(0,d.Z)(o,u.PYTHON,s.El),(0,d.Z)(o,u.STREAMING,s.dB),o);!function(e){e.ACTIVE="active",e.INACTIVE="inactive",e.NO_SCHEDULES="no_schedules",e.RETRY="retry",e.RETRY_INCOMPLETE_BLOCK_RUNS="retry_incomplete_block_runs"}(f||(f={})),function(e){e.GROUP="group_by",e.HISTORY_DAYS="from_history_days",e.NO_TAGS="no_tags",e.STATUS="status[]",e.TAG="tag[]",e.TYPE="type[]"}(m||(m={})),function(e){e.STATUS="status",e.TAG="tag",e.TYPE="type"}(h||(h={}));var x=[f.ACTIVE,f.INACTIVE,f.NO_SCHEDULES],y=(l={},(0,d.Z)(l,u.PYTHON,c.U.PYTHON3),(0,d.Z)(l,u.PYSPARK,c.U.PYSPARK),l),E=Object.entries(y).reduce((function(e,t){var n=(0,a.Z)(t,2),i=n[0],r=n[1];return v(v({},e),{},(0,d.Z)({},r,i))}),{})},88422:function(e,t,n){var i,r,o,l,u;n.d(t,{CN:function(){return i},Dd:function(){return r},k$:function(){return a},oD:function(){return u},q:function(){return l}}),function(e){e.FAILED="FAILED",e.RUNNING="RUNNING",e.SUCCEEDED="SUCCEEDED"}(i||(i={})),function(e){e.COMPLETE="COMPLETE",e.PENDING="PENDING",e.SKIPPED="SKIPPED"}(r||(r={})),function(e){e.NODE_LOCAL="NODE_LOCAL",e.PROCESS_LOCAL="PROCESS_LOCAL",e.RACK_LOCAL="RACK_LOCAL"}(o||(o={})),function(e){e.SUCCESS="SUCCESS"}(l||(l={})),function(e){e.COMPLETED="COMPLETED"}(u||(u={}));var a=[.01,.25,.5,.75,.99]},35185:function(e,t,n){var i=n(82394),r=n(91835),o=(n(82684),n(38626)),l=n(44897),u=n(42631),a=n(70515),d=n(28598);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=o.default.div.withConfig({displayName:"ProgressBar__ProgressBarContainerStyle",componentId:"sc-10x9ojc-0"})(["border-radius:","px;height:","px;overflow:hidden;position:relative;width:100%;",""],u.BG,.75*a.iI,(function(e){return"\n background-color: ".concat((e.theme.monotone||l.Z.monotone).grey200,";\n ")})),v=o.default.div.withConfig({displayName:"ProgressBar__ProgressBarStyle",componentId:"sc-10x9ojc-1"})(["height:inherit;position:absolute;"," "," "," ",""],(function(e){return!e.danger&&"\n background-color: ".concat((e.theme.progress||l.Z.progress).positive,";\n ")}),(function(e){return e.progress&&"\n width: ".concat(e.progress,"%;\n ")}),(function(e){return e.danger&&"\n background-color: ".concat((e.theme.progress||l.Z.progress).negative,";\n ")}),(function(e){return e.animateProgress&&"\n animation: animate-progress ".concat(e.animateProgress.duration,"ms linear forwards;\n\n @keyframes animate-progress {\n 0% {\n width: ").concat(e.animateProgress.start,"%;\n }\n\n 100% {\n width: ").concat(e.animateProgress.end,"%;\n }\n }\n ")}));t.Z=function(e){var t=(0,r.Z)({},e);return(0,d.jsx)(p,c(c({},t),{},{children:(0,d.jsx)(v,c({},t))}))}}}]);
|