mage-ai 0.9.46__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/operations/base.py +27 -5
- mage_ai/api/policies/GlobalHookPolicy.py +1 -1
- mage_ai/api/policies/IntegrationSourcePolicy.py +62 -0
- mage_ai/api/policies/OauthPolicy.py +6 -6
- mage_ai/api/presenters/GlobalHookPresenter.py +1 -1
- mage_ai/api/presenters/IntegrationSourcePresenter.py +9 -2
- mage_ai/api/presenters/PipelinePresenter.py +3 -0
- mage_ai/api/presenters/PipelineRunPresenter.py +8 -3
- mage_ai/api/presenters/PipelineSchedulePresenter.py +22 -1
- mage_ai/api/resources/BlockResource.py +5 -0
- mage_ai/api/resources/DataProviderResource.py +2 -0
- mage_ai/api/resources/IntegrationSourceResource.py +149 -2
- mage_ai/data_integrations/sources/constants.py +5 -0
- mage_ai/data_integrations/utils/scheduler.py +57 -2
- mage_ai/data_preparation/executors/block_executor.py +30 -2
- mage_ai/data_preparation/executors/pipeline_executor.py +19 -4
- mage_ai/data_preparation/models/block/__init__.py +75 -32
- mage_ai/data_preparation/models/block/data_integration/constants.py +3 -0
- mage_ai/data_preparation/models/block/data_integration/mixins.py +6 -6
- mage_ai/data_preparation/models/block/data_integration/utils.py +198 -39
- 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 +20 -3
- mage_ai/data_preparation/models/block/utils.py +53 -29
- mage_ai/data_preparation/models/global_hooks/constants.py +50 -1
- mage_ai/data_preparation/models/global_hooks/models.py +148 -84
- mage_ai/data_preparation/models/global_hooks/predicates.py +316 -0
- mage_ai/data_preparation/models/pipeline.py +7 -0
- mage_ai/data_preparation/models/pipelines/integration_pipeline.py +0 -1
- mage_ai/data_preparation/models/project/__init__.py +0 -2
- mage_ai/data_preparation/preferences.py +29 -18
- mage_ai/data_preparation/repo_manager.py +12 -2
- mage_ai/data_preparation/sync/__init__.py +2 -0
- mage_ai/data_preparation/templates/constants.py +14 -0
- mage_ai/data_preparation/templates/data_exporters/chroma.py +24 -0
- mage_ai/data_preparation/templates/data_exporters/streaming/rabbitmq.yaml +7 -0
- mage_ai/data_preparation/templates/data_loaders/chroma.py +27 -0
- mage_ai/data_preparation/templates/repo/io_config.yaml +3 -0
- mage_ai/io/base.py +1 -0
- mage_ai/io/chroma.py +162 -0
- mage_ai/io/config.py +8 -0
- mage_ai/orchestration/db/models/schedules.py +169 -34
- mage_ai/orchestration/pipeline_scheduler.py +59 -89
- mage_ai/server/constants.py +1 -1
- mage_ai/server/frontend_dist/404.html +2 -2
- mage_ai/server/frontend_dist/_next/static/chunks/{1749-9a6276b2918fdae1.js → 1749-bf512b4dabbab7fa.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/1952-0f9a12782f0aaae6.js +1 -0
- mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/2714-1e79e9f2e998b544.js → frontend_dist/_next/static/chunks/2714-68fef54789d7eaeb.js} +1 -1
- 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/4267-cb102e060a43d9bd.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/{4366-93e09e5a4a7e182c.js → 4366-3e52497942acbafe.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/{4783-1a21d9be47574bba.js → 4783-422429203610c318.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/{5499-76cf8f023c6b0985.js → 5499-c2853ef57d39fde8.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/5810-e26a0768db1cfdba.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/{5896-14e5a23b1c6a0769.js → 5896-7b8e36634d7d94eb.js} +1 -1
- mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/6285-e9b45335bfb9ccaf.js → frontend_dist/_next/static/chunks/6285-648f9a732e100b2f.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/6798-b904395b0c18647b.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/6990-303bb87fc50f1755.js +1 -0
- mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/7022-070ec0144a4d029c.js → frontend_dist/_next/static/chunks/7022-e76cae3ba5ee5312.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/{7361-694e1e4fb9c97d68.js → 7361-6c5c9063b9f91700.js} +1 -1
- mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/7858-d9df72e95e438284.js → frontend_dist/_next/static/chunks/7858-26a5a5d04fa3c703.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/{8146-92e7ccfed169ee9c.js → 8146-27f0e31f309897a5.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/8264-9d6a7cea289e29ff.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/845-9a73c65fe3fdc328.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/8487-608d62c0eef1f29a.js +1 -0
- mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/1845-5ce774d5ab81ed57.js → frontend_dist/_next/static/chunks/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-727704fc34e74ae0.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/9618-4eb49cdbd1ba11d7.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/9624-48fba6b4e6966fb7.js +1 -0
- mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/976-18c98af60b76f1a7.js → frontend_dist/_next/static/chunks/976-0a8c2c4d7acd957b.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/_app-8254de4f793643d0.js +1 -0
- 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-85cecae037fd7a70.js +1 -0
- 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]-286133386c97a2b6.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/{global-hooks-e561ae38cf5592e8.js → global-hooks-3da370825153056c.js} +1 -1
- mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/manage/files-449a022f2f0f2d94.js → frontend_dist/_next/static/chunks/pages/manage/files-39b73da5a15590f6.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/{settings-60845f0b59142f32.js → 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_base_path_template/_next/static/chunks/pages/manage/users/new-abd8571907664fdf.js → frontend_dist/_next/static/chunks/pages/manage/users/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-f83deb790548693b.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_base_path_template/_next/static/chunks/pages/overview-f0c40645f385f23f.js → frontend_dist/_next/static/chunks/pages/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_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/dashboard-571c0962333b92f0.js → frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/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/_next/static/chunks/pages/pipelines/[pipeline]/monitors/{block-runs-ddddcddd2f74b4f6.js → 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_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/monitors-e051057d9fe94f23.js → frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/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/_next/static/chunks/pages/pipelines/[pipeline]/settings-495e877aa7ed709e.js +1 -0
- 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/_next/static/chunks/pages/settings/account/profile-50d20fa715d454af.js +1 -0
- 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_base_path_template/_next/static/chunks/pages/sign-in-99e2748e3c1d57a3.js → frontend_dist/_next/static/chunks/pages/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-0e0c2713a2922be7.js +1 -0
- 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 +4 -4
- 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 +24 -24
- 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 +5 -5
- 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/{1749-9a6276b2918fdae1.js → 1749-bf512b4dabbab7fa.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/1952-0f9a12782f0aaae6.js +1 -0
- mage_ai/server/{frontend_dist/_next/static/chunks/2714-1e79e9f2e998b544.js → frontend_dist_base_path_template/_next/static/chunks/2714-68fef54789d7eaeb.js} +1 -1
- 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/4267-cb102e060a43d9bd.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{4366-93e09e5a4a7e182c.js → 4366-3e52497942acbafe.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{4783-1a21d9be47574bba.js → 4783-422429203610c318.js} +1 -1
- 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/5810-e26a0768db1cfdba.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{5896-14e5a23b1c6a0769.js → 5896-7b8e36634d7d94eb.js} +1 -1
- mage_ai/server/{frontend_dist/_next/static/chunks/6285-e9b45335bfb9ccaf.js → frontend_dist_base_path_template/_next/static/chunks/6285-648f9a732e100b2f.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/6798-b904395b0c18647b.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/6990-303bb87fc50f1755.js +1 -0
- mage_ai/server/{frontend_dist/_next/static/chunks/7022-070ec0144a4d029c.js → frontend_dist_base_path_template/_next/static/chunks/7022-e76cae3ba5ee5312.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{7361-694e1e4fb9c97d68.js → 7361-6c5c9063b9f91700.js} +1 -1
- mage_ai/server/{frontend_dist/_next/static/chunks/7858-d9df72e95e438284.js → frontend_dist_base_path_template/_next/static/chunks/7858-26a5a5d04fa3c703.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{8146-92e7ccfed169ee9c.js → 8146-27f0e31f309897a5.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/845-9a73c65fe3fdc328.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8487-608d62c0eef1f29a.js +1 -0
- mage_ai/server/{frontend_dist/_next/static/chunks/1845-5ce774d5ab81ed57.js → frontend_dist_base_path_template/_next/static/chunks/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-727704fc34e74ae0.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/9618-4eb49cdbd1ba11d7.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/9624-48fba6b4e6966fb7.js +1 -0
- mage_ai/server/{frontend_dist/_next/static/chunks/976-18c98af60b76f1a7.js → frontend_dist_base_path_template/_next/static/chunks/976-0a8c2c4d7acd957b.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/_app-8254de4f793643d0.js +1 -0
- 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-85cecae037fd7a70.js +1 -0
- 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]-286133386c97a2b6.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/{global-hooks-e561ae38cf5592e8.js → global-hooks-3da370825153056c.js} +1 -1
- mage_ai/server/{frontend_dist/_next/static/chunks/pages/manage/files-449a022f2f0f2d94.js → frontend_dist_base_path_template/_next/static/chunks/pages/manage/files-39b73da5a15590f6.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/{settings-60845f0b59142f32.js → 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/_next/static/chunks/pages/manage/users/new-abd8571907664fdf.js → frontend_dist_base_path_template/_next/static/chunks/pages/manage/users/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-f83deb790548693b.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/_next/static/chunks/pages/overview-f0c40645f385f23f.js → frontend_dist_base_path_template/_next/static/chunks/pages/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/_next/static/chunks/pages/pipelines/[pipeline]/dashboard-571c0962333b92f0.js → frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/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_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/monitors/{block-runs-ddddcddd2f74b4f6.js → 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/_next/static/chunks/pages/pipelines/[pipeline]/monitors-e051057d9fe94f23.js → frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/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_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/settings-495e877aa7ed709e.js +1 -0
- 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_base_path_template/_next/static/chunks/pages/settings/account/profile-50d20fa715d454af.js +1 -0
- 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/_next/static/chunks/pages/sign-in-99e2748e3c1d57a3.js → frontend_dist_base_path_template/_next/static/chunks/pages/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-0e0c2713a2922be7.js +1 -0
- 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 +4 -4
- 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 +20 -20
- 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 +5 -5
- 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 +11 -3
- mage_ai/services/k8s/job_manager.py +1 -0
- mage_ai/settings/repo.py +3 -0
- mage_ai/shared/files.py +47 -0
- mage_ai/shared/models.py +1 -0
- mage_ai/streaming/constants.py +1 -0
- mage_ai/streaming/sinks/postgres.py +2 -0
- mage_ai/streaming/sinks/rabbitmq.py +76 -0
- mage_ai/streaming/sinks/sink_factory.py +4 -0
- mage_ai/streaming/sources/nats_js.py +12 -1
- mage_ai/tests/api/operations/test_operations_with_hooks.py +136 -91
- mage_ai/tests/api/policies/test_oauth_policy.py +38 -0
- mage_ai/tests/data_preparation/executors/test_block_executor.py +2 -0
- mage_ai/tests/data_preparation/models/global_hooks/test_global_hooks.py +33 -8
- mage_ai/tests/data_preparation/models/global_hooks/test_hook.py +82 -38
- mage_ai/tests/data_preparation/models/global_hooks/test_predicates.py +803 -0
- mage_ai/tests/data_preparation/models/global_hooks/test_utils.py +6 -1
- mage_ai/tests/data_preparation/models/test_block.py +26 -0
- mage_ai/tests/data_preparation/models/test_pipeline.py +15 -0
- mage_ai/tests/factory.py +40 -2
- mage_ai/tests/orchestration/test_pipeline_scheduler.py +82 -1
- mage_ai/tests/services/k8s/test_job_manager.py +16 -0
- mage_ai/tests/shared/mixins.py +60 -23
- mage_ai/tests/streaming/sinks/test_rabbitmq.py +36 -0
- {mage_ai-0.9.46.dist-info → mage_ai-0.9.48.dist-info}/METADATA +7 -4
- {mage_ai-0.9.46.dist-info → mage_ai-0.9.48.dist-info}/RECORD +335 -321
- {mage_ai-0.9.46.dist-info → mage_ai-0.9.48.dist-info}/WHEEL +1 -1
- mage_ai/server/frontend_dist/_next/static/9jB4XPuz6BzxBcG9VNao5/_buildManifest.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/1952-ac7722e8b1ab88fe.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/3419-f8d518d024e7b5c8.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/3943-9e1105393a3be0de.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/4267-fd4d8049e83178de.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/5810-12eadc488265d55b.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/595-0d174b1f9fbfce4f.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/600-705fe234320ec5de.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/6333-bc1b433b428a9095.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/722-a1584445357a276c.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-032ef9b17d20aad9.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/90-a7308bae028d7001.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/9264-1d4f0327d42fed91.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/9618-2c5045255ac5a6e7.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/_app-ebef928183f9a3bb.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/files-0f2d4be6fdca86ca.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/global-hooks/[...slug]-77edfa32d000e88b.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]-10e9a2d19541caa2.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/backfills-c8d3a5289ab93f88.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/edit-ff7e9108502f5716.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]-0691711636fa95c7.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/settings-2914e326a5f1ffe0.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]-3a7500e6e53084d3.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/triggers-c0e551d265a8d467.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines-e47db5c3eaf683af.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/account/profile-55ac955dfa9a5a8d.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/preferences-29c92a9bc54ae5cd.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/triggers-572d82d6eb7a5d43.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/version-control-2d26d80370a2e481.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/1952-ac7722e8b1ab88fe.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3419-f8d518d024e7b5c8.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3943-9e1105393a3be0de.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/4267-fd4d8049e83178de.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/5810-12eadc488265d55b.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/595-0d174b1f9fbfce4f.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/6333-bc1b433b428a9095.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/722-a1584445357a276c.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-032ef9b17d20aad9.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/9264-1d4f0327d42fed91.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/9618-2c5045255ac5a6e7.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/_app-ebef928183f9a3bb.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/files-0f2d4be6fdca86ca.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/global-hooks/[...slug]-77edfa32d000e88b.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]-10e9a2d19541caa2.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/backfills-c8d3a5289ab93f88.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/edit-ff7e9108502f5716.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]-0691711636fa95c7.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/settings-2914e326a5f1ffe0.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]-3a7500e6e53084d3.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/triggers-c0e551d265a8d467.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines-e47db5c3eaf683af.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/account/profile-55ac955dfa9a5a8d.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/preferences-29c92a9bc54ae5cd.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/triggers-572d82d6eb7a5d43.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/version-control-2d26d80370a2e481.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/uPDjJYpJMst1q6psbRyte/_buildManifest.js +0 -1
- /mage_ai/server/frontend_dist/_next/static/{9jB4XPuz6BzxBcG9VNao5 → xxcdnITr3IkTdETH5ghqw}/_ssgManifest.js +0 -0
- /mage_ai/server/frontend_dist_base_path_template/_next/static/{uPDjJYpJMst1q6psbRyte → gDn6inKdLyj35NvURBSCV}/_ssgManifest.js +0 -0
- {mage_ai-0.9.46.dist-info → mage_ai-0.9.48.dist-info}/LICENSE +0 -0
- {mage_ai-0.9.46.dist-info → mage_ai-0.9.48.dist-info}/entry_points.txt +0 -0
- {mage_ai-0.9.46.dist-info → mage_ai-0.9.48.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6568],{94629:function(e,t,r){"use strict";r.d(t,{Z:function(){return P}});var n=r(82394),i=r(21831),o=r(82684),u=r(50724),s=r(82555),l=r(97618),d=r(70613),a=r(68487),c=r(68899),f=r(28598);function h(e,t){var r=e.children,n=e.noPadding;return(0,f.jsx)(c.HS,{noPadding:n,ref:t,children:r})}var p=o.forwardRef(h),v=r(62547),b=r(82571),m=r(35686),j=r(98464),O=r(46684),g=r(70515),w=r(53808),_=r(19183);function x(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?x(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Z(e,t){var r,n=e.addProjectBreadcrumbToCustomBreadcrumbs,h=e.after,x=e.afterHeader,Z=e.afterHidden,P=e.afterWidth,C=e.afterWidthOverride,k=e.appendBreadcrumbs,E=e.before,H=e.beforeWidth,A=e.breadcrumbs,M=e.children,S=e.errors,B=e.headerMenuItems,R=e.headerOffset,T=e.hideAfterCompletely,I=e.mainContainerHeader,N=e.navigationItems,W=e.setAfterHidden,D=e.setErrors,F=e.subheaderChildren,U=e.subheaderNoPadding,z=e.title,X=e.uuid,q=(0,_.i)().width,V="dashboard_after_width_".concat(X),G="dashboard_before_width_".concat(X),J=(0,o.useRef)(null),K=(0,o.useState)(C?P:(0,w.U2)(V,P)),L=K[0],Q=K[1],Y=(0,o.useState)(!1),$=Y[0],ee=Y[1],te=(0,o.useState)(E?Math.max((0,w.U2)(G,H),13*g.iI):null),re=te[0],ne=te[1],ie=(0,o.useState)(!1),oe=ie[0],ue=ie[1],se=(0,o.useState)(null)[1],le=m.ZP.projects.list({},{revalidateOnFocus:!1}).data,de=null===le||void 0===le?void 0:le.projects,ae={label:function(){var e;return null===de||void 0===de||null===(e=de[0])||void 0===e?void 0:e.name},linkProps:{href:"/"}},ce=[];A&&(n&&ce.push(ae),ce.push.apply(ce,(0,i.Z)(A))),(null===A||void 0===A||!A.length||k)&&(null===de||void 0===de?void 0:de.length)>=1&&(null!==A&&void 0!==A&&A.length||ce.unshift({bold:!k,label:function(){return z}}),ce.unshift(ae)),(0,o.useEffect)((function(){null===J||void 0===J||!J.current||$||oe||null===se||void 0===se||se(J.current.getBoundingClientRect().width)}),[$,L,oe,re,J,se,q]),(0,o.useEffect)((function(){$||(0,w.t8)(V,L)}),[Z,$,L,V]),(0,o.useEffect)((function(){oe||(0,w.t8)(G,re)}),[oe,re,G]);var fe=(0,j.Z)(P);return(0,o.useEffect)((function(){C&&fe!==P&&Q(P)}),[C,P,fe]),(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(d.Z,{title:z}),(0,f.jsx)(a.Z,{breadcrumbs:ce,menuItems:B,project:null===de||void 0===de?void 0:de[0],version:null===de||void 0===de||null===(r=de[0])||void 0===r?void 0:r.version}),(0,f.jsxs)(c.Nk,{ref:t,children:[0!==(null===N||void 0===N?void 0:N.length)&&(0,f.jsx)(c.lm,{showMore:!0,children:(0,f.jsx)(b.Z,{navigationItems:N,showMore:!0})}),(0,f.jsx)(l.Z,{flex:1,flexDirection:"column",children:(0,f.jsxs)(v.Z,{after:h,afterHeader:x,afterHeightOffset:O.Mz,afterHidden:Z,afterMousedownActive:$,afterWidth:L,before:E,beforeHeightOffset:O.Mz,beforeMousedownActive:oe,beforeWidth:c.k1+(E?re:0),headerOffset:R,hideAfterCompletely:!W||T,leftOffset:E?c.k1:null,mainContainerHeader:I,mainContainerRef:J,setAfterHidden:W,setAfterMousedownActive:ee,setAfterWidth:Q,setBeforeMousedownActive:ue,setBeforeWidth:ne,children:[F&&(0,f.jsx)(p,{noPadding:U,children:F}),M]})})]}),S&&(0,f.jsx)(u.Z,{disableClickOutside:!0,isOpen:!0,onClickOutside:function(){return null===D||void 0===D?void 0:D(null)},children:(0,f.jsx)(s.Z,y(y({},S),{},{onClose:function(){return null===D||void 0===D?void 0:D(null)}}))})]})}var P=o.forwardRef(Z)},14759:function(e,t,r){"use strict";r.r(t);var n=r(77837),i=r(38860),o=r.n(i),u=r(82684),s=r(44898),l=r(94629),d=r(88328),a=r(93808),c=r(38276),f=r(4190),h=r(5755),p=r(35686),v=r(70515),b=r(69419),m=r(28598);function j(e){var t,r=e.objectType,n=e.slug,i=(0,b.iV)().object_type,o=(0,u.useState)(null),a=o[0],j=o[1],O=i||r||s.Z,g=s.R===O,w=p.ZP.custom_templates.detail(n&&encodeURIComponent(n),{object_type:O}).data;return(0,u.useEffect)((function(){w&&j(null===w||void 0===w?void 0:w.custom_template)}),[w]),(0,m.jsxs)(l.Z,{addProjectBreadcrumbToCustomBreadcrumbs:!0,breadcrumbs:[{label:function(){return"Templates"},linkProps:{href:g?"/templates?object_type=".concat(s.R):"/templates"}},{bold:!0,label:function(){return n}}],title:n,uuid:"TemplatesDetail/index",children:[!w&&(0,m.jsx)(c.Z,{p:v.cd,children:(0,m.jsx)(f.Z,{inverted:!0})}),a&&(0,m.jsxs)(m.Fragment,{children:[(!O||s.Z===O)&&(0,m.jsx)(h.Z,{template:a},null===a||void 0===a||null===(t=a.content)||void 0===t?void 0:t.slice(0,40)),g&&(0,m.jsx)(d.Z,{template:a})]})]})}j.getInitialProps=function(){var e=(0,n.Z)(o().mark((function e(t){var r,n,i;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.query,n=r.object_type,i=r.slug,e.abrupt("return",{objectType:n,slug:i});case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),t.default=(0,a.Z)(j)},45082:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/templates/[...slug]",function(){return r(14759)}])}},function(e){e.O(0,[2678,1154,844,5820,6639,1124,341,1751,1821,4267,
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6568],{94629:function(e,t,r){"use strict";r.d(t,{Z:function(){return P}});var n=r(82394),i=r(21831),o=r(82684),u=r(50724),s=r(82555),l=r(97618),d=r(70613),a=r(68487),c=r(68899),f=r(28598);function h(e,t){var r=e.children,n=e.noPadding;return(0,f.jsx)(c.HS,{noPadding:n,ref:t,children:r})}var p=o.forwardRef(h),v=r(62547),b=r(82571),m=r(35686),j=r(98464),O=r(46684),g=r(70515),w=r(53808),_=r(19183);function x(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?x(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Z(e,t){var r,n=e.addProjectBreadcrumbToCustomBreadcrumbs,h=e.after,x=e.afterHeader,Z=e.afterHidden,P=e.afterWidth,C=e.afterWidthOverride,k=e.appendBreadcrumbs,E=e.before,H=e.beforeWidth,A=e.breadcrumbs,M=e.children,S=e.errors,B=e.headerMenuItems,R=e.headerOffset,T=e.hideAfterCompletely,I=e.mainContainerHeader,N=e.navigationItems,W=e.setAfterHidden,D=e.setErrors,F=e.subheaderChildren,U=e.subheaderNoPadding,z=e.title,X=e.uuid,q=(0,_.i)().width,V="dashboard_after_width_".concat(X),G="dashboard_before_width_".concat(X),J=(0,o.useRef)(null),K=(0,o.useState)(C?P:(0,w.U2)(V,P)),L=K[0],Q=K[1],Y=(0,o.useState)(!1),$=Y[0],ee=Y[1],te=(0,o.useState)(E?Math.max((0,w.U2)(G,H),13*g.iI):null),re=te[0],ne=te[1],ie=(0,o.useState)(!1),oe=ie[0],ue=ie[1],se=(0,o.useState)(null)[1],le=m.ZP.projects.list({},{revalidateOnFocus:!1}).data,de=null===le||void 0===le?void 0:le.projects,ae={label:function(){var e;return null===de||void 0===de||null===(e=de[0])||void 0===e?void 0:e.name},linkProps:{href:"/"}},ce=[];A&&(n&&ce.push(ae),ce.push.apply(ce,(0,i.Z)(A))),(null===A||void 0===A||!A.length||k)&&(null===de||void 0===de?void 0:de.length)>=1&&(null!==A&&void 0!==A&&A.length||ce.unshift({bold:!k,label:function(){return z}}),ce.unshift(ae)),(0,o.useEffect)((function(){null===J||void 0===J||!J.current||$||oe||null===se||void 0===se||se(J.current.getBoundingClientRect().width)}),[$,L,oe,re,J,se,q]),(0,o.useEffect)((function(){$||(0,w.t8)(V,L)}),[Z,$,L,V]),(0,o.useEffect)((function(){oe||(0,w.t8)(G,re)}),[oe,re,G]);var fe=(0,j.Z)(P);return(0,o.useEffect)((function(){C&&fe!==P&&Q(P)}),[C,P,fe]),(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(d.Z,{title:z}),(0,f.jsx)(a.Z,{breadcrumbs:ce,menuItems:B,project:null===de||void 0===de?void 0:de[0],version:null===de||void 0===de||null===(r=de[0])||void 0===r?void 0:r.version}),(0,f.jsxs)(c.Nk,{ref:t,children:[0!==(null===N||void 0===N?void 0:N.length)&&(0,f.jsx)(c.lm,{showMore:!0,children:(0,f.jsx)(b.Z,{navigationItems:N,showMore:!0})}),(0,f.jsx)(l.Z,{flex:1,flexDirection:"column",children:(0,f.jsxs)(v.Z,{after:h,afterHeader:x,afterHeightOffset:O.Mz,afterHidden:Z,afterMousedownActive:$,afterWidth:L,before:E,beforeHeightOffset:O.Mz,beforeMousedownActive:oe,beforeWidth:c.k1+(E?re:0),headerOffset:R,hideAfterCompletely:!W||T,leftOffset:E?c.k1:null,mainContainerHeader:I,mainContainerRef:J,setAfterHidden:W,setAfterMousedownActive:ee,setAfterWidth:Q,setBeforeMousedownActive:ue,setBeforeWidth:ne,children:[F&&(0,f.jsx)(p,{noPadding:U,children:F}),M]})})]}),S&&(0,f.jsx)(u.Z,{disableClickOutside:!0,isOpen:!0,onClickOutside:function(){return null===D||void 0===D?void 0:D(null)},children:(0,f.jsx)(s.Z,y(y({},S),{},{onClose:function(){return null===D||void 0===D?void 0:D(null)}}))})]})}var P=o.forwardRef(Z)},14759:function(e,t,r){"use strict";r.r(t);var n=r(77837),i=r(38860),o=r.n(i),u=r(82684),s=r(44898),l=r(94629),d=r(88328),a=r(93808),c=r(38276),f=r(4190),h=r(5755),p=r(35686),v=r(70515),b=r(69419),m=r(28598);function j(e){var t,r=e.objectType,n=e.slug,i=(0,b.iV)().object_type,o=(0,u.useState)(null),a=o[0],j=o[1],O=i||r||s.Z,g=s.R===O,w=p.ZP.custom_templates.detail(n&&encodeURIComponent(n),{object_type:O}).data;return(0,u.useEffect)((function(){w&&j(null===w||void 0===w?void 0:w.custom_template)}),[w]),(0,m.jsxs)(l.Z,{addProjectBreadcrumbToCustomBreadcrumbs:!0,breadcrumbs:[{label:function(){return"Templates"},linkProps:{href:g?"/templates?object_type=".concat(s.R):"/templates"}},{bold:!0,label:function(){return n}}],title:n,uuid:"TemplatesDetail/index",children:[!w&&(0,m.jsx)(c.Z,{p:v.cd,children:(0,m.jsx)(f.Z,{inverted:!0})}),a&&(0,m.jsxs)(m.Fragment,{children:[(!O||s.Z===O)&&(0,m.jsx)(h.Z,{template:a},null===a||void 0===a||null===(t=a.content)||void 0===t?void 0:t.slice(0,40)),g&&(0,m.jsx)(d.Z,{template:a})]})]})}j.getInitialProps=function(){var e=(0,n.Z)(o().mark((function e(t){var r,n,i;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.query,n=r.object_type,i=r.slug,e.abrupt("return",{objectType:n,slug:i});case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),t.default=(0,a.Z)(j)},45082:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/templates/[...slug]",function(){return r(14759)}])}},function(e){e.O(0,[2678,1154,844,5820,6639,1124,341,1751,1821,4267,6990,8487,8264,7858,5499,4366,4138,5810,1769,1550,90,9264,9774,2888,179],(function(){return t=45082,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5240],{60523:function(e,n,t){"use strict";var i=t(21831),r=t(82394),u=t(82684),l=t(38626),o=t(34376),d=t(54750),s=t(71180),c=t(90299),a=t(44898),p=t(55485),f=t(88328),h=t(38276),m=t(4190),v=t(48381),j=t(5755),b=t(30160),x=t(35686),g=t(72473),y=t(84649),Z=t(32929),w=t(15610),P=t(19183),O=t(28598);function k(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function C(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?k(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):k(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}n.Z=function(e){var n,t=e.contained,r=e.defaultLinkUUID,k=e.defaultTab,_=e.objectType,I=e.onClickCustomTemplate,T=e.pipelineUUID,A=e.showAddingNewTemplates,M=e.showBreadcrumbs,S=e.tabs,U=(0,o.useRouter)(),E=(0,u.useContext)(l.ThemeContext),N=(0,P.i)(),R=N.height,D=N.width,B=(0,u.useMemo)((function(){return S||Z.dP}),[S]),H=(0,u.useState)(A||!1),q=H[0],F=H[1],z=(0,u.useState)(r?Z.qy.find((function(e){return e.uuid===r})):Z.qy[0]),W=z[0],L=z[1],G=(0,u.useState)(k?B.find((function(e){return e.uuid===(null===k||void 0===k?void 0:k.uuid)})):B[0]),X=G[0],Y=G[1],V=(0,u.useState)(null),J=V[0],K=V[1],Q=x.ZP.custom_templates.list({object_type:a.Z},{},{pauseFetch:Z.n9.uuid!==(null===X||void 0===X?void 0:X.uuid)}),$=Q.data,ee=Q.mutate,ne=(0,u.useMemo)((function(){var e=(null===$||void 0===$?void 0:$.custom_templates)||[];return null!==W&&void 0!==W&&W.filterTemplates?null===W||void 0===W?void 0:W.filterTemplates(e):e}),[$,W]),te=x.ZP.custom_templates.list({object_type:a.R},{},{pauseFetch:Z.A2.uuid!==(null===X||void 0===X?void 0:X.uuid)}),ie=te.data,re=te.mutate,ue=(0,u.useMemo)((function(){var e=(null===ie||void 0===ie?void 0:ie.custom_templates)||[];return null!==W&&void 0!==W&&W.filterTemplates?null===W||void 0===W?void 0:W.filterTemplates(e):e}),[ie,W]),le=(0,u.useMemo)((function(){return Z.qy.map((function(e){var n=e.Icon,t=e.label,i=e.selectedBackgroundColor,r=e.selectedIconProps,u=e.uuid,l=(null===W||void 0===W?void 0:W.uuid)===u,o=C({size:y.ZG},l&&r?r:{});return(0,O.jsx)(y.wj,{onClick:function(){return L(e)},selected:l,children:(0,O.jsxs)(p.ZP,{alignItems:"center",children:[(0,O.jsx)(y.ze,{backgroundColor:l&&i?i(E):null,children:n?(0,O.jsx)(n,C({},o)):(0,O.jsx)(g.pd,C({},o))}),(0,O.jsx)(b.ZP,{bold:!0,large:!0,children:t?t():u})]})},u)}))}),[W,E]),oe=(0,u.useMemo)((function(){return Z.hS.map((function(e){var n=e.Icon,t=e.label,i=e.selectedBackgroundColor,r=e.selectedIconProps,u=e.uuid,l=(null===W||void 0===W?void 0:W.uuid)===u,o=C({size:y.ZG},l&&r?r:{});return(0,O.jsx)(y.wj,{onClick:function(){return L(e)},selected:l,children:(0,O.jsxs)(p.ZP,{alignItems:"center",children:[(0,O.jsx)(y.ze,{backgroundColor:l&&i?i(E):null,children:n?(0,O.jsx)(n,C({},o)):(0,O.jsx)(g.pd,C({},o))}),(0,O.jsx)(b.ZP,{bold:!0,large:!0,children:t?t():u})]})},u)}))}),[W,E]),de=(0,u.useMemo)((function(){return null===ne||void 0===ne?void 0:ne.map((function(e){var n=e.description,t=e.name,r=e.tags,u=e.template_uuid,l=e.user,o=[];return null!==r&&void 0!==r&&r.length?o.push.apply(o,(0,i.Z)(r)):null!==l&&void 0!==l&&l.username&&o.push(null===l||void 0===l?void 0:l.username),(0,O.jsxs)(y.UE,{onClick:function(){I?I(e):U.push("/templates/[...slug]","/templates/".concat(encodeURIComponent(u)))},children:[(0,O.jsx)(y.Tj,{children:(0,O.jsx)(b.ZP,{bold:!0,monospace:!0,textOverflow:!0,children:t||u})}),(0,O.jsx)(y.SL,{children:(0,O.jsx)(b.ZP,{default:!!n,italic:!n,muted:!n,textOverflowLines:2,children:n||"No description"})}),(0,O.jsx)(y.EN,{children:(null===o||void 0===o?void 0:o.length)>=1&&(0,O.jsx)(v.Z,{tags:null===o||void 0===o?void 0:o.map((function(e){return{uuid:e}}))})})]},u)}))}),[ne,I,U]),se=(0,u.useMemo)((function(){return null===ue||void 0===ue?void 0:ue.map((function(e){var n=e.description,t=e.name,r=e.tags,u=e.template_uuid,l=e.user,o=[];return null!==r&&void 0!==r&&r.length?o.push.apply(o,(0,i.Z)(r)):null!==l&&void 0!==l&&l.username&&o.push(null===l||void 0===l?void 0:l.username),(0,O.jsxs)(y.UE,{onClick:function(){I?I(e):U.push("/templates/[...slug]","/templates/".concat(encodeURIComponent(u),"?object_type=").concat(a.R))},children:[(0,O.jsx)(y.Tj,{children:(0,O.jsx)(b.ZP,{bold:!0,monospace:!0,textOverflow:!0,children:t||u})}),(0,O.jsx)(y.SL,{children:(0,O.jsx)(b.ZP,{default:!!n,italic:!n,muted:!n,textOverflowLines:2,children:n||"No description"})}),(0,O.jsx)(y.EN,{children:(null===o||void 0===o?void 0:o.length)>=1&&(0,O.jsx)(v.Z,{tags:null===o||void 0===o?void 0:o.map((function(e){return{uuid:e}}))})})]},u)}))}),[ue,I,U]),ce=(0,u.useMemo)((function(){if(!M)return null;var e=[];return q?e.push.apply(e,[{label:function(){return"Templates"},onClick:function(){F(!1)}},{bold:!0,label:function(){return"New custom template"}}]):e.push({label:function(){return"Templates"}}),(0,O.jsx)(y.FX,{children:(0,O.jsx)(d.Z,{breadcrumbs:e})})}),[q,M]),ae=(0,u.useMemo)((function(){return M?36:0}),[M]),pe=(0,u.useMemo)((function(){return R-ae}),[R,ae]);if(q)return n=a.R===_&&T?(0,O.jsx)(f.Z,{onMutateSuccess:re,pipelineUUID:T,templateAttributes:W&&(null===W||void 0===W?void 0:W.uuid)!==(null===Z.qy||void 0===Z.qy?void 0:Z.qy[0].uuid)?{pipeline_type:null===W||void 0===W?void 0:W.uuid}:null,templateUUID:null===J||void 0===J?void 0:J.template_uuid}):(0,O.jsx)(j.Z,{contained:t,heightOffset:ae,onCreateCustomTemplate:t?function(e){K(e)}:null,onMutateSuccess:ee,templateAttributes:W&&(null===W||void 0===W?void 0:W.uuid)!==(null===Z.qy||void 0===Z.qy?void 0:Z.qy[0].uuid)?{block_type:null===W||void 0===W?void 0:W.uuid}:null,templateUUID:null===J||void 0===J?void 0:J.template_uuid}),t?(0,O.jsxs)(O.Fragment,{children:[M&&ce,(0,O.jsx)(y.Rd,{height:pe,width:D,children:n})]}):n;var fe=(0,O.jsxs)(y.Nk,{children:[(0,O.jsxs)(y.bC,{height:t?pe:null,children:[(0,O.jsx)(y.Yf,{children:(0,O.jsx)(c.Z,{noPadding:!0,onClickTab:function(e){t?Y(e):(0,w.u7)({object_type:Z.A2.uuid===e.uuid?a.R:a.Z})},selectedTabUUID:null===X||void 0===X?void 0:X.uuid,tabs:B})}),(0,O.jsxs)(y.wl,{contained:t,heightOffset:ae,children:[Z.n9.uuid===(null===X||void 0===X?void 0:X.uuid)&&le,Z.A2.uuid===(null===X||void 0===X?void 0:X.uuid)&&oe]})]}),(0,O.jsxs)(y.w5,{children:[Z.n9.uuid===(null===X||void 0===X?void 0:X.uuid)&&(0,O.jsx)(y.HS,{children:(0,O.jsx)(s.ZP,{beforeIcon:(0,O.jsx)(g.mm,{size:y.ZG}),onClick:function(){F(!0)},primary:!0,children:"New block template"})}),Z.n9.uuid===(null===X||void 0===X?void 0:X.uuid)&&(0,O.jsxs)(O.Fragment,{children:[!$&&(0,O.jsx)(h.Z,{p:2,children:(0,O.jsx)(m.Z,{inverted:!0})}),$&&!(null!==de&&void 0!==de&&de.length)&&(0,O.jsxs)(h.Z,{p:2,children:[(0,O.jsx)(b.ZP,{children:"There are currently no templates matching your search."}),(0,O.jsx)("br",{}),(0,O.jsx)(b.ZP,{children:"Add a new template by clicking the button above."})]}),(null===de||void 0===de?void 0:de.length)>=1&&(0,O.jsx)(y.n8,{children:de})]}),Z.A2.uuid===(null===X||void 0===X?void 0:X.uuid)&&(0,O.jsxs)(O.Fragment,{children:[!ie&&(0,O.jsx)(h.Z,{p:2,children:(0,O.jsx)(m.Z,{inverted:!0})}),ie&&!(null!==se&&void 0!==se&&se.length)&&(0,O.jsxs)(h.Z,{p:2,children:[(0,O.jsx)(b.ZP,{children:"There are currently no templates matching your search."}),(0,O.jsx)("br",{}),(0,O.jsx)(b.ZP,{children:'Add a new template by right-clicking a pipeline row from the Pipelines page and selecting "Create template".'})]}),(null===se||void 0===se?void 0:se.length)>=1&&(0,O.jsx)(y.n8,{children:se})]})]})]});return t?(0,O.jsxs)(O.Fragment,{children:[M&&ce,(0,O.jsx)(y.Rd,{height:pe,width:D,children:fe})]}):fe}},94629:function(e,n,t){"use strict";t.d(n,{Z:function(){return k}});var i=t(82394),r=t(21831),u=t(82684),l=t(50724),o=t(82555),d=t(97618),s=t(70613),c=t(68487),a=t(68899),p=t(28598);function f(e,n){var t=e.children,i=e.noPadding;return(0,p.jsx)(a.HS,{noPadding:i,ref:n,children:t})}var h=u.forwardRef(f),m=t(62547),v=t(82571),j=t(35686),b=t(98464),x=t(46684),g=t(70515),y=t(53808),Z=t(19183);function w(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function P(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?w(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):w(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function O(e,n){var t,i=e.addProjectBreadcrumbToCustomBreadcrumbs,f=e.after,w=e.afterHeader,O=e.afterHidden,k=e.afterWidth,C=e.afterWidthOverride,_=e.appendBreadcrumbs,I=e.before,T=e.beforeWidth,A=e.breadcrumbs,M=e.children,S=e.errors,U=e.headerMenuItems,E=e.headerOffset,N=e.hideAfterCompletely,R=e.mainContainerHeader,D=e.navigationItems,B=e.setAfterHidden,H=e.setErrors,q=e.subheaderChildren,F=e.subheaderNoPadding,z=e.title,W=e.uuid,L=(0,Z.i)().width,G="dashboard_after_width_".concat(W),X="dashboard_before_width_".concat(W),Y=(0,u.useRef)(null),V=(0,u.useState)(C?k:(0,y.U2)(G,k)),J=V[0],K=V[1],Q=(0,u.useState)(!1),$=Q[0],ee=Q[1],ne=(0,u.useState)(I?Math.max((0,y.U2)(X,T),13*g.iI):null),te=ne[0],ie=ne[1],re=(0,u.useState)(!1),ue=re[0],le=re[1],oe=(0,u.useState)(null)[1],de=j.ZP.projects.list({},{revalidateOnFocus:!1}).data,se=null===de||void 0===de?void 0:de.projects,ce={label:function(){var e;return null===se||void 0===se||null===(e=se[0])||void 0===e?void 0:e.name},linkProps:{href:"/"}},ae=[];A&&(i&&ae.push(ce),ae.push.apply(ae,(0,r.Z)(A))),(null===A||void 0===A||!A.length||_)&&(null===se||void 0===se?void 0:se.length)>=1&&(null!==A&&void 0!==A&&A.length||ae.unshift({bold:!_,label:function(){return z}}),ae.unshift(ce)),(0,u.useEffect)((function(){null===Y||void 0===Y||!Y.current||$||ue||null===oe||void 0===oe||oe(Y.current.getBoundingClientRect().width)}),[$,J,ue,te,Y,oe,L]),(0,u.useEffect)((function(){$||(0,y.t8)(G,J)}),[O,$,J,G]),(0,u.useEffect)((function(){ue||(0,y.t8)(X,te)}),[ue,te,X]);var pe=(0,b.Z)(k);return(0,u.useEffect)((function(){C&&pe!==k&&K(k)}),[C,k,pe]),(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(s.Z,{title:z}),(0,p.jsx)(c.Z,{breadcrumbs:ae,menuItems:U,project:null===se||void 0===se?void 0:se[0],version:null===se||void 0===se||null===(t=se[0])||void 0===t?void 0:t.version}),(0,p.jsxs)(a.Nk,{ref:n,children:[0!==(null===D||void 0===D?void 0:D.length)&&(0,p.jsx)(a.lm,{showMore:!0,children:(0,p.jsx)(v.Z,{navigationItems:D,showMore:!0})}),(0,p.jsx)(d.Z,{flex:1,flexDirection:"column",children:(0,p.jsxs)(m.Z,{after:f,afterHeader:w,afterHeightOffset:x.Mz,afterHidden:O,afterMousedownActive:$,afterWidth:J,before:I,beforeHeightOffset:x.Mz,beforeMousedownActive:ue,beforeWidth:a.k1+(I?te:0),headerOffset:E,hideAfterCompletely:!B||N,leftOffset:I?a.k1:null,mainContainerHeader:R,mainContainerRef:Y,setAfterHidden:B,setAfterMousedownActive:ee,setAfterWidth:K,setBeforeMousedownActive:le,setBeforeWidth:ie,children:[q&&(0,p.jsx)(h,{noPadding:F,children:q}),M]})})]}),S&&(0,p.jsx)(l.Z,{disableClickOutside:!0,isOpen:!0,onClickOutside:function(){return null===H||void 0===H?void 0:H(null)},children:(0,p.jsx)(o.Z,P(P({},S),{},{onClose:function(){return null===H||void 0===H?void 0:H(null)}}))})]})}var k=u.forwardRef(O)},48381:function(e,n,t){"use strict";var i=t(82684),r=t(31882),u=t(55485),l=t(30160),o=t(86735),d=t(28598);n.Z=function(e){var n=e.onClickTag,t=e.tags,s=void 0===t?[]:t,c=(0,i.useMemo)((function(){return(null===s||void 0===s?void 0:s.length)||0}),[s]),a=(0,i.useMemo)((function(){return(0,o.YC)(s||[],"uuid")}),[s]);return(0,d.jsx)(u.ZP,{alignItems:"center",flexWrap:"wrap",children:null===a||void 0===a?void 0:a.reduce((function(e,t){return e.push((0,d.jsx)("div",{style:{marginBottom:2,marginRight:c>=2?4:0,marginTop:2},children:(0,d.jsx)(r.Z,{onClick:n?function(){return n(t)}:null,small:!0,children:(0,d.jsx)(l.ZP,{children:t.uuid})})},"tag-".concat(t.uuid))),e}),[])})}},31882:function(e,n,t){"use strict";var i=t(38626),r=t(71180),u=t(55485),l=t(30160),o=t(44897),d=t(72473),s=t(70515),c=t(61896),a=t(28598),p=i.default.div.withConfig({displayName:"Chip__ChipStyle",componentId:"sc-1ok73g-0"})(["display:inline-block;"," "," "," "," "," ",""],(function(e){return!e.primary&&"\n background-color: ".concat((e.theme.background||o.Z.background).tag,";\n ")}),(function(e){return e.primary&&"\n background-color: ".concat((e.theme.chart||o.Z.chart).primary,";\n ")}),(function(e){return!e.small&&"\n border-radius: ".concat((s.iI+c.Al)/2,"px;\n height: ").concat(1.5*s.iI+c.Al,"px;\n padding: ").concat(s.iI/1.5,"px ").concat(1.25*s.iI,"px;\n ")}),(function(e){return e.small&&"\n border-radius: ".concat((s.iI/2+c.Al)/2,"px;\n height: ").concat(c.Al+s.iI/2+2,"px;\n padding: ").concat(s.iI/4,"px ").concat(s.iI,"px;\n ")}),(function(e){return e.xsmall&&"\n border-radius: ".concat((s.iI/1+c.Al)/1,"px;\n height: ").concat(20,"px;\n padding: 4px 6px;\n ")}),(function(e){return e.border&&"\n border: 1px solid ".concat((e.theme.content||o.Z.content).muted,";\n ")}));n.Z=function(e){var n=e.border,t=e.children,i=e.disabled,o=e.label,c=e.monospace,f=e.onClick,h=e.primary,m=e.small,v=e.xsmall;return(0,a.jsx)(p,{border:n,primary:h,small:m,xsmall:v,children:(0,a.jsx)(r.ZP,{basic:!0,disabled:i,noBackground:!0,noPadding:!0,onClick:f,transparent:!0,children:(0,a.jsxs)(u.ZP,{alignItems:"center",children:[t,o&&(0,a.jsx)(l.ZP,{monospace:c,small:m,xsmall:v,children:o}),!i&&f&&(0,a.jsx)("div",{style:{marginLeft:2}}),!i&&f&&(0,a.jsx)(d.x8,{default:h,muted:!h,size:m?s.iI:1.25*s.iI})]})})})}},60820:function(e,n,t){"use strict";t.r(n);var i=t(77837),r=t(38860),u=t.n(r),l=t(82684),o=t(60523),d=t(94629),s=t(93808),c=t(32929),a=t(44898),p=t(69419),f=t(28598);function h(){var e=(0,l.useState)(!1),n=e[0],t=e[1],i=(0,l.useState)(null),r=i[0],u=i[1],s=(0,l.useState)(null),h=s[0],m=s[1],v=(0,p.iV)();(0,l.useEffect)((function(){var e=v.new,n=v.object_type,i=v.pipeline_uuid;n&&u(n),i&&m(i),t(!!e)}),[v]);var j=(0,l.useMemo)((function(){var e=[n?"New":"Browse"];return r&&e.push(r),h&&e.push(h),e}),[n,r,h]),b=(0,l.useMemo)((function(){return a.R===r}),[r]);return(0,f.jsx)(d.Z,{addProjectBreadcrumbToCustomBreadcrumbs:n,breadcrumbs:n?[{label:function(){return"Templates"},linkProps:{href:b?"/templates?object_type=".concat(a.R):"/templates"}},{bold:!0,label:function(){return"New"}}]:null,title:"Templates",uuid:"Templates/index",children:(0,f.jsx)(o.Z,{defaultTab:b?c.A2:null,objectType:r,pipelineUUID:h,showAddingNewTemplates:n},j.join("_"))})}h.getInitialProps=(0,i.Z)(u().mark((function e(){return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{});case 1:case"end":return e.stop()}}),e)}))),n.default=(0,s.Z)(h)},87710:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/templates",function(){return t(60820)}])}},function(e){e.O(0,[2678,1154,844,5820,6639,1124,341,1751,1821,4267,600,8487,8264,7858,5499,4366,722,5810,1769,1550,90,9264,9774,2888,179],(function(){return n=87710,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5240],{60523:function(e,n,t){"use strict";var i=t(21831),r=t(82394),u=t(82684),l=t(38626),o=t(34376),d=t(54750),s=t(71180),c=t(90299),a=t(44898),p=t(55485),f=t(88328),h=t(38276),m=t(4190),v=t(48381),j=t(5755),b=t(30160),x=t(35686),g=t(72473),y=t(84649),Z=t(32929),w=t(15610),P=t(19183),O=t(28598);function k(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function C(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?k(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):k(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}n.Z=function(e){var n,t=e.contained,r=e.defaultLinkUUID,k=e.defaultTab,_=e.objectType,I=e.onClickCustomTemplate,T=e.pipelineUUID,A=e.showAddingNewTemplates,M=e.showBreadcrumbs,S=e.tabs,U=(0,o.useRouter)(),E=(0,u.useContext)(l.ThemeContext),N=(0,P.i)(),R=N.height,D=N.width,B=(0,u.useMemo)((function(){return S||Z.dP}),[S]),H=(0,u.useState)(A||!1),q=H[0],F=H[1],z=(0,u.useState)(r?Z.qy.find((function(e){return e.uuid===r})):Z.qy[0]),W=z[0],L=z[1],G=(0,u.useState)(k?B.find((function(e){return e.uuid===(null===k||void 0===k?void 0:k.uuid)})):B[0]),X=G[0],Y=G[1],V=(0,u.useState)(null),J=V[0],K=V[1],Q=x.ZP.custom_templates.list({object_type:a.Z},{},{pauseFetch:Z.n9.uuid!==(null===X||void 0===X?void 0:X.uuid)}),$=Q.data,ee=Q.mutate,ne=(0,u.useMemo)((function(){var e=(null===$||void 0===$?void 0:$.custom_templates)||[];return null!==W&&void 0!==W&&W.filterTemplates?null===W||void 0===W?void 0:W.filterTemplates(e):e}),[$,W]),te=x.ZP.custom_templates.list({object_type:a.R},{},{pauseFetch:Z.A2.uuid!==(null===X||void 0===X?void 0:X.uuid)}),ie=te.data,re=te.mutate,ue=(0,u.useMemo)((function(){var e=(null===ie||void 0===ie?void 0:ie.custom_templates)||[];return null!==W&&void 0!==W&&W.filterTemplates?null===W||void 0===W?void 0:W.filterTemplates(e):e}),[ie,W]),le=(0,u.useMemo)((function(){return Z.qy.map((function(e){var n=e.Icon,t=e.label,i=e.selectedBackgroundColor,r=e.selectedIconProps,u=e.uuid,l=(null===W||void 0===W?void 0:W.uuid)===u,o=C({size:y.ZG},l&&r?r:{});return(0,O.jsx)(y.wj,{onClick:function(){return L(e)},selected:l,children:(0,O.jsxs)(p.ZP,{alignItems:"center",children:[(0,O.jsx)(y.ze,{backgroundColor:l&&i?i(E):null,children:n?(0,O.jsx)(n,C({},o)):(0,O.jsx)(g.pd,C({},o))}),(0,O.jsx)(b.ZP,{bold:!0,large:!0,children:t?t():u})]})},u)}))}),[W,E]),oe=(0,u.useMemo)((function(){return Z.hS.map((function(e){var n=e.Icon,t=e.label,i=e.selectedBackgroundColor,r=e.selectedIconProps,u=e.uuid,l=(null===W||void 0===W?void 0:W.uuid)===u,o=C({size:y.ZG},l&&r?r:{});return(0,O.jsx)(y.wj,{onClick:function(){return L(e)},selected:l,children:(0,O.jsxs)(p.ZP,{alignItems:"center",children:[(0,O.jsx)(y.ze,{backgroundColor:l&&i?i(E):null,children:n?(0,O.jsx)(n,C({},o)):(0,O.jsx)(g.pd,C({},o))}),(0,O.jsx)(b.ZP,{bold:!0,large:!0,children:t?t():u})]})},u)}))}),[W,E]),de=(0,u.useMemo)((function(){return null===ne||void 0===ne?void 0:ne.map((function(e){var n=e.description,t=e.name,r=e.tags,u=e.template_uuid,l=e.user,o=[];return null!==r&&void 0!==r&&r.length?o.push.apply(o,(0,i.Z)(r)):null!==l&&void 0!==l&&l.username&&o.push(null===l||void 0===l?void 0:l.username),(0,O.jsxs)(y.UE,{onClick:function(){I?I(e):U.push("/templates/[...slug]","/templates/".concat(encodeURIComponent(u)))},children:[(0,O.jsx)(y.Tj,{children:(0,O.jsx)(b.ZP,{bold:!0,monospace:!0,textOverflow:!0,children:t||u})}),(0,O.jsx)(y.SL,{children:(0,O.jsx)(b.ZP,{default:!!n,italic:!n,muted:!n,textOverflowLines:2,children:n||"No description"})}),(0,O.jsx)(y.EN,{children:(null===o||void 0===o?void 0:o.length)>=1&&(0,O.jsx)(v.Z,{tags:null===o||void 0===o?void 0:o.map((function(e){return{uuid:e}}))})})]},u)}))}),[ne,I,U]),se=(0,u.useMemo)((function(){return null===ue||void 0===ue?void 0:ue.map((function(e){var n=e.description,t=e.name,r=e.tags,u=e.template_uuid,l=e.user,o=[];return null!==r&&void 0!==r&&r.length?o.push.apply(o,(0,i.Z)(r)):null!==l&&void 0!==l&&l.username&&o.push(null===l||void 0===l?void 0:l.username),(0,O.jsxs)(y.UE,{onClick:function(){I?I(e):U.push("/templates/[...slug]","/templates/".concat(encodeURIComponent(u),"?object_type=").concat(a.R))},children:[(0,O.jsx)(y.Tj,{children:(0,O.jsx)(b.ZP,{bold:!0,monospace:!0,textOverflow:!0,children:t||u})}),(0,O.jsx)(y.SL,{children:(0,O.jsx)(b.ZP,{default:!!n,italic:!n,muted:!n,textOverflowLines:2,children:n||"No description"})}),(0,O.jsx)(y.EN,{children:(null===o||void 0===o?void 0:o.length)>=1&&(0,O.jsx)(v.Z,{tags:null===o||void 0===o?void 0:o.map((function(e){return{uuid:e}}))})})]},u)}))}),[ue,I,U]),ce=(0,u.useMemo)((function(){if(!M)return null;var e=[];return q?e.push.apply(e,[{label:function(){return"Templates"},onClick:function(){F(!1)}},{bold:!0,label:function(){return"New custom template"}}]):e.push({label:function(){return"Templates"}}),(0,O.jsx)(y.FX,{children:(0,O.jsx)(d.Z,{breadcrumbs:e})})}),[q,M]),ae=(0,u.useMemo)((function(){return M?36:0}),[M]),pe=(0,u.useMemo)((function(){return R-ae}),[R,ae]);if(q)return n=a.R===_&&T?(0,O.jsx)(f.Z,{onMutateSuccess:re,pipelineUUID:T,templateAttributes:W&&(null===W||void 0===W?void 0:W.uuid)!==(null===Z.qy||void 0===Z.qy?void 0:Z.qy[0].uuid)?{pipeline_type:null===W||void 0===W?void 0:W.uuid}:null,templateUUID:null===J||void 0===J?void 0:J.template_uuid}):(0,O.jsx)(j.Z,{contained:t,heightOffset:ae,onCreateCustomTemplate:t?function(e){K(e)}:null,onMutateSuccess:ee,templateAttributes:W&&(null===W||void 0===W?void 0:W.uuid)!==(null===Z.qy||void 0===Z.qy?void 0:Z.qy[0].uuid)?{block_type:null===W||void 0===W?void 0:W.uuid}:null,templateUUID:null===J||void 0===J?void 0:J.template_uuid}),t?(0,O.jsxs)(O.Fragment,{children:[M&&ce,(0,O.jsx)(y.Rd,{height:pe,width:D,children:n})]}):n;var fe=(0,O.jsxs)(y.Nk,{children:[(0,O.jsxs)(y.bC,{height:t?pe:null,children:[(0,O.jsx)(y.Yf,{children:(0,O.jsx)(c.Z,{noPadding:!0,onClickTab:function(e){t?Y(e):(0,w.u7)({object_type:Z.A2.uuid===e.uuid?a.R:a.Z})},selectedTabUUID:null===X||void 0===X?void 0:X.uuid,tabs:B})}),(0,O.jsxs)(y.wl,{contained:t,heightOffset:ae,children:[Z.n9.uuid===(null===X||void 0===X?void 0:X.uuid)&&le,Z.A2.uuid===(null===X||void 0===X?void 0:X.uuid)&&oe]})]}),(0,O.jsxs)(y.w5,{children:[Z.n9.uuid===(null===X||void 0===X?void 0:X.uuid)&&(0,O.jsx)(y.HS,{children:(0,O.jsx)(s.ZP,{beforeIcon:(0,O.jsx)(g.mm,{size:y.ZG}),onClick:function(){F(!0)},primary:!0,children:"New block template"})}),Z.n9.uuid===(null===X||void 0===X?void 0:X.uuid)&&(0,O.jsxs)(O.Fragment,{children:[!$&&(0,O.jsx)(h.Z,{p:2,children:(0,O.jsx)(m.Z,{inverted:!0})}),$&&!(null!==de&&void 0!==de&&de.length)&&(0,O.jsxs)(h.Z,{p:2,children:[(0,O.jsx)(b.ZP,{children:"There are currently no templates matching your search."}),(0,O.jsx)("br",{}),(0,O.jsx)(b.ZP,{children:"Add a new template by clicking the button above."})]}),(null===de||void 0===de?void 0:de.length)>=1&&(0,O.jsx)(y.n8,{children:de})]}),Z.A2.uuid===(null===X||void 0===X?void 0:X.uuid)&&(0,O.jsxs)(O.Fragment,{children:[!ie&&(0,O.jsx)(h.Z,{p:2,children:(0,O.jsx)(m.Z,{inverted:!0})}),ie&&!(null!==se&&void 0!==se&&se.length)&&(0,O.jsxs)(h.Z,{p:2,children:[(0,O.jsx)(b.ZP,{children:"There are currently no templates matching your search."}),(0,O.jsx)("br",{}),(0,O.jsx)(b.ZP,{children:'Add a new template by right-clicking a pipeline row from the Pipelines page and selecting "Create template".'})]}),(null===se||void 0===se?void 0:se.length)>=1&&(0,O.jsx)(y.n8,{children:se})]})]})]});return t?(0,O.jsxs)(O.Fragment,{children:[M&&ce,(0,O.jsx)(y.Rd,{height:pe,width:D,children:fe})]}):fe}},94629:function(e,n,t){"use strict";t.d(n,{Z:function(){return k}});var i=t(82394),r=t(21831),u=t(82684),l=t(50724),o=t(82555),d=t(97618),s=t(70613),c=t(68487),a=t(68899),p=t(28598);function f(e,n){var t=e.children,i=e.noPadding;return(0,p.jsx)(a.HS,{noPadding:i,ref:n,children:t})}var h=u.forwardRef(f),m=t(62547),v=t(82571),j=t(35686),b=t(98464),x=t(46684),g=t(70515),y=t(53808),Z=t(19183);function w(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function P(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?w(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):w(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function O(e,n){var t,i=e.addProjectBreadcrumbToCustomBreadcrumbs,f=e.after,w=e.afterHeader,O=e.afterHidden,k=e.afterWidth,C=e.afterWidthOverride,_=e.appendBreadcrumbs,I=e.before,T=e.beforeWidth,A=e.breadcrumbs,M=e.children,S=e.errors,U=e.headerMenuItems,E=e.headerOffset,N=e.hideAfterCompletely,R=e.mainContainerHeader,D=e.navigationItems,B=e.setAfterHidden,H=e.setErrors,q=e.subheaderChildren,F=e.subheaderNoPadding,z=e.title,W=e.uuid,L=(0,Z.i)().width,G="dashboard_after_width_".concat(W),X="dashboard_before_width_".concat(W),Y=(0,u.useRef)(null),V=(0,u.useState)(C?k:(0,y.U2)(G,k)),J=V[0],K=V[1],Q=(0,u.useState)(!1),$=Q[0],ee=Q[1],ne=(0,u.useState)(I?Math.max((0,y.U2)(X,T),13*g.iI):null),te=ne[0],ie=ne[1],re=(0,u.useState)(!1),ue=re[0],le=re[1],oe=(0,u.useState)(null)[1],de=j.ZP.projects.list({},{revalidateOnFocus:!1}).data,se=null===de||void 0===de?void 0:de.projects,ce={label:function(){var e;return null===se||void 0===se||null===(e=se[0])||void 0===e?void 0:e.name},linkProps:{href:"/"}},ae=[];A&&(i&&ae.push(ce),ae.push.apply(ae,(0,r.Z)(A))),(null===A||void 0===A||!A.length||_)&&(null===se||void 0===se?void 0:se.length)>=1&&(null!==A&&void 0!==A&&A.length||ae.unshift({bold:!_,label:function(){return z}}),ae.unshift(ce)),(0,u.useEffect)((function(){null===Y||void 0===Y||!Y.current||$||ue||null===oe||void 0===oe||oe(Y.current.getBoundingClientRect().width)}),[$,J,ue,te,Y,oe,L]),(0,u.useEffect)((function(){$||(0,y.t8)(G,J)}),[O,$,J,G]),(0,u.useEffect)((function(){ue||(0,y.t8)(X,te)}),[ue,te,X]);var pe=(0,b.Z)(k);return(0,u.useEffect)((function(){C&&pe!==k&&K(k)}),[C,k,pe]),(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(s.Z,{title:z}),(0,p.jsx)(c.Z,{breadcrumbs:ae,menuItems:U,project:null===se||void 0===se?void 0:se[0],version:null===se||void 0===se||null===(t=se[0])||void 0===t?void 0:t.version}),(0,p.jsxs)(a.Nk,{ref:n,children:[0!==(null===D||void 0===D?void 0:D.length)&&(0,p.jsx)(a.lm,{showMore:!0,children:(0,p.jsx)(v.Z,{navigationItems:D,showMore:!0})}),(0,p.jsx)(d.Z,{flex:1,flexDirection:"column",children:(0,p.jsxs)(m.Z,{after:f,afterHeader:w,afterHeightOffset:x.Mz,afterHidden:O,afterMousedownActive:$,afterWidth:J,before:I,beforeHeightOffset:x.Mz,beforeMousedownActive:ue,beforeWidth:a.k1+(I?te:0),headerOffset:E,hideAfterCompletely:!B||N,leftOffset:I?a.k1:null,mainContainerHeader:R,mainContainerRef:Y,setAfterHidden:B,setAfterMousedownActive:ee,setAfterWidth:K,setBeforeMousedownActive:le,setBeforeWidth:ie,children:[q&&(0,p.jsx)(h,{noPadding:F,children:q}),M]})})]}),S&&(0,p.jsx)(l.Z,{disableClickOutside:!0,isOpen:!0,onClickOutside:function(){return null===H||void 0===H?void 0:H(null)},children:(0,p.jsx)(o.Z,P(P({},S),{},{onClose:function(){return null===H||void 0===H?void 0:H(null)}}))})]})}var k=u.forwardRef(O)},48381:function(e,n,t){"use strict";var i=t(82684),r=t(31882),u=t(55485),l=t(30160),o=t(86735),d=t(28598);n.Z=function(e){var n=e.onClickTag,t=e.tags,s=void 0===t?[]:t,c=(0,i.useMemo)((function(){return(null===s||void 0===s?void 0:s.length)||0}),[s]),a=(0,i.useMemo)((function(){return(0,o.YC)(s||[],"uuid")}),[s]);return(0,d.jsx)(u.ZP,{alignItems:"center",flexWrap:"wrap",children:null===a||void 0===a?void 0:a.reduce((function(e,t){return e.push((0,d.jsx)("div",{style:{marginBottom:2,marginRight:c>=2?4:0,marginTop:2},children:(0,d.jsx)(r.Z,{onClick:n?function(){return n(t)}:null,small:!0,children:(0,d.jsx)(l.ZP,{children:t.uuid})})},"tag-".concat(t.uuid))),e}),[])})}},31882:function(e,n,t){"use strict";var i=t(38626),r=t(71180),u=t(55485),l=t(30160),o=t(44897),d=t(72473),s=t(70515),c=t(61896),a=t(28598),p=i.default.div.withConfig({displayName:"Chip__ChipStyle",componentId:"sc-1ok73g-0"})(["display:inline-block;"," "," "," "," "," ",""],(function(e){return!e.primary&&"\n background-color: ".concat((e.theme.background||o.Z.background).tag,";\n ")}),(function(e){return e.primary&&"\n background-color: ".concat((e.theme.chart||o.Z.chart).primary,";\n ")}),(function(e){return!e.small&&"\n border-radius: ".concat((s.iI+c.Al)/2,"px;\n height: ").concat(1.5*s.iI+c.Al,"px;\n padding: ").concat(s.iI/1.5,"px ").concat(1.25*s.iI,"px;\n ")}),(function(e){return e.small&&"\n border-radius: ".concat((s.iI/2+c.Al)/2,"px;\n height: ").concat(c.Al+s.iI/2+2,"px;\n padding: ").concat(s.iI/4,"px ").concat(s.iI,"px;\n ")}),(function(e){return e.xsmall&&"\n border-radius: ".concat((s.iI/1+c.Al)/1,"px;\n height: ").concat(20,"px;\n padding: 4px 6px;\n ")}),(function(e){return e.border&&"\n border: 1px solid ".concat((e.theme.content||o.Z.content).muted,";\n ")}));n.Z=function(e){var n=e.border,t=e.children,i=e.disabled,o=e.label,c=e.monospace,f=e.onClick,h=e.primary,m=e.small,v=e.xsmall;return(0,a.jsx)(p,{border:n,primary:h,small:m,xsmall:v,children:(0,a.jsx)(r.ZP,{basic:!0,disabled:i,noBackground:!0,noPadding:!0,onClick:f,transparent:!0,children:(0,a.jsxs)(u.ZP,{alignItems:"center",children:[t,o&&(0,a.jsx)(l.ZP,{monospace:c,small:m,xsmall:v,children:o}),!i&&f&&(0,a.jsx)("div",{style:{marginLeft:2}}),!i&&f&&(0,a.jsx)(d.x8,{default:h,muted:!h,size:m?s.iI:1.25*s.iI})]})})})}},60820:function(e,n,t){"use strict";t.r(n);var i=t(77837),r=t(38860),u=t.n(r),l=t(82684),o=t(60523),d=t(94629),s=t(93808),c=t(32929),a=t(44898),p=t(69419),f=t(28598);function h(){var e=(0,l.useState)(!1),n=e[0],t=e[1],i=(0,l.useState)(null),r=i[0],u=i[1],s=(0,l.useState)(null),h=s[0],m=s[1],v=(0,p.iV)();(0,l.useEffect)((function(){var e=v.new,n=v.object_type,i=v.pipeline_uuid;n&&u(n),i&&m(i),t(!!e)}),[v]);var j=(0,l.useMemo)((function(){var e=[n?"New":"Browse"];return r&&e.push(r),h&&e.push(h),e}),[n,r,h]),b=(0,l.useMemo)((function(){return a.R===r}),[r]);return(0,f.jsx)(d.Z,{addProjectBreadcrumbToCustomBreadcrumbs:n,breadcrumbs:n?[{label:function(){return"Templates"},linkProps:{href:b?"/templates?object_type=".concat(a.R):"/templates"}},{bold:!0,label:function(){return"New"}}]:null,title:"Templates",uuid:"Templates/index",children:(0,f.jsx)(o.Z,{defaultTab:b?c.A2:null,objectType:r,pipelineUUID:h,showAddingNewTemplates:n},j.join("_"))})}h.getInitialProps=(0,i.Z)(u().mark((function e(){return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{});case 1:case"end":return e.stop()}}),e)}))),n.default=(0,s.Z)(h)},87710:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/templates",function(){return t(60820)}])}},function(e){e.O(0,[2678,1154,844,5820,6639,1124,341,1751,1821,4267,6990,8487,8264,7858,5499,4366,4138,5810,1769,1550,90,9264,9774,2888,179],(function(){return n=87710,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4841],{94629:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var r=n(82394),i=n(21831),o=n(82684),u=n(50724),s=n(82555),c=n(97618),f=n(70613),d=n(68487),a=n(68899),l=n(28598);function h(e,t){var n=e.children,r=e.noPadding;return(0,l.jsx)(a.HS,{noPadding:r,ref:t,children:n})}var v=o.forwardRef(h),p=n(62547),b=n(82571),O=n(35686),j=n(98464),m=n(46684),w=n(70515),g=n(53808),y=n(19183);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function P(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,r.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}function Z(e,t){var n,r=e.addProjectBreadcrumbToCustomBreadcrumbs,h=e.after,_=e.afterHeader,Z=e.afterHidden,x=e.afterWidth,E=e.afterWidthOverride,M=e.appendBreadcrumbs,C=e.before,k=e.beforeWidth,H=e.breadcrumbs,A=e.children,S=e.errors,R=e.headerMenuItems,I=e.headerOffset,N=e.hideAfterCompletely,W=e.mainContainerHeader,B=e.navigationItems,D=e.setAfterHidden,T=e.setErrors,z=e.subheaderChildren,F=e.subheaderNoPadding,U=e.title,X=e.uuid,q=(0,y.i)().width,G="dashboard_after_width_".concat(X),J="dashboard_before_width_".concat(X),K=(0,o.useRef)(null),L=(0,o.useState)(E?x:(0,g.U2)(G,x)),Q=L[0],V=L[1],Y=(0,o.useState)(!1),$=Y[0],ee=Y[1],te=(0,o.useState)(C?Math.max((0,g.U2)(J,k),13*w.iI):null),ne=te[0],re=te[1],ie=(0,o.useState)(!1),oe=ie[0],ue=ie[1],se=(0,o.useState)(null)[1],ce=O.ZP.projects.list({},{revalidateOnFocus:!1}).data,fe=null===ce||void 0===ce?void 0:ce.projects,de={label:function(){var e;return null===fe||void 0===fe||null===(e=fe[0])||void 0===e?void 0:e.name},linkProps:{href:"/"}},ae=[];H&&(r&&ae.push(de),ae.push.apply(ae,(0,i.Z)(H))),(null===H||void 0===H||!H.length||M)&&(null===fe||void 0===fe?void 0:fe.length)>=1&&(null!==H&&void 0!==H&&H.length||ae.unshift({bold:!M,label:function(){return U}}),ae.unshift(de)),(0,o.useEffect)((function(){null===K||void 0===K||!K.current||$||oe||null===se||void 0===se||se(K.current.getBoundingClientRect().width)}),[$,Q,oe,ne,K,se,q]),(0,o.useEffect)((function(){$||(0,g.t8)(G,Q)}),[Z,$,Q,G]),(0,o.useEffect)((function(){oe||(0,g.t8)(J,ne)}),[oe,ne,J]);var le=(0,j.Z)(x);return(0,o.useEffect)((function(){E&&le!==x&&V(x)}),[E,x,le]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(f.Z,{title:U}),(0,l.jsx)(d.Z,{breadcrumbs:ae,menuItems:R,project:null===fe||void 0===fe?void 0:fe[0],version:null===fe||void 0===fe||null===(n=fe[0])||void 0===n?void 0:n.version}),(0,l.jsxs)(a.Nk,{ref:t,children:[0!==(null===B||void 0===B?void 0:B.length)&&(0,l.jsx)(a.lm,{showMore:!0,children:(0,l.jsx)(b.Z,{navigationItems:B,showMore:!0})}),(0,l.jsx)(c.Z,{flex:1,flexDirection:"column",children:(0,l.jsxs)(p.Z,{after:h,afterHeader:_,afterHeightOffset:m.Mz,afterHidden:Z,afterMousedownActive:$,afterWidth:Q,before:C,beforeHeightOffset:m.Mz,beforeMousedownActive:oe,beforeWidth:a.k1+(C?ne:0),headerOffset:I,hideAfterCompletely:!D||N,leftOffset:C?a.k1:null,mainContainerHeader:W,mainContainerRef:K,setAfterHidden:D,setAfterMousedownActive:ee,setAfterWidth:V,setBeforeMousedownActive:ue,setBeforeWidth:re,children:[z&&(0,l.jsx)(v,{noPadding:F,children:z}),A]})})]}),S&&(0,l.jsx)(u.Z,{disableClickOutside:!0,isOpen:!0,onClickOutside:function(){return null===T||void 0===T?void 0:T(null)},children:(0,l.jsx)(s.Z,P(P({},S),{},{onClose:function(){return null===T||void 0===T?void 0:T(null)}}))})]})}var x=o.forwardRef(Z)},74805:function(e,t,n){"use strict";n.r(t);var r=n(77837),i=n(38860),o=n.n(i),u=(n(82684),n(56085)),s=n(94629),c=n(93808),f=n(28026),d=n(4383),a=n(50178),l=n(28598);function h(){var e=(0,a.PR)()||{},t=(0,u.ZP)((0,d.Ib)("terminal"),{queryParams:{term_name:null===e||void 0===e?void 0:e.id},shouldReconnect:function(){return!0}}),n=t.lastMessage,r=t.sendMessage;return(0,l.jsx)(s.Z,{title:"Terminal",uuid:"terminal/index",children:(0,l.jsx)(f.Z,{lastMessage:n,sendMessage:r})})}h.getInitialProps=(0,r.Z)(o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{});case 1:case"end":return e.stop()}}),e)}))),t.default=(0,c.Z)(h)},27271:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/terminal",function(){return n(74805)}])},80022:function(e,t,n){"use strict";function r(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 r}})},15544:function(e,t,n){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{Z:function(){return r}})},13692:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(61049);function i(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,r.Z)(e,t)}},93189:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(12539),i=n(80022);function o(e,t){if(t&&("object"===r(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(e)}},61049:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})}},function(e){e.O(0,[2678,1154,844,4267,
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4841],{94629:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var r=n(82394),i=n(21831),o=n(82684),u=n(50724),s=n(82555),c=n(97618),f=n(70613),d=n(68487),a=n(68899),l=n(28598);function h(e,t){var n=e.children,r=e.noPadding;return(0,l.jsx)(a.HS,{noPadding:r,ref:t,children:n})}var v=o.forwardRef(h),p=n(62547),b=n(82571),O=n(35686),j=n(98464),m=n(46684),w=n(70515),g=n(53808),y=n(19183);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function P(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,r.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}function Z(e,t){var n,r=e.addProjectBreadcrumbToCustomBreadcrumbs,h=e.after,_=e.afterHeader,Z=e.afterHidden,x=e.afterWidth,E=e.afterWidthOverride,M=e.appendBreadcrumbs,C=e.before,k=e.beforeWidth,H=e.breadcrumbs,A=e.children,S=e.errors,R=e.headerMenuItems,I=e.headerOffset,N=e.hideAfterCompletely,W=e.mainContainerHeader,B=e.navigationItems,D=e.setAfterHidden,T=e.setErrors,z=e.subheaderChildren,F=e.subheaderNoPadding,U=e.title,X=e.uuid,q=(0,y.i)().width,G="dashboard_after_width_".concat(X),J="dashboard_before_width_".concat(X),K=(0,o.useRef)(null),L=(0,o.useState)(E?x:(0,g.U2)(G,x)),Q=L[0],V=L[1],Y=(0,o.useState)(!1),$=Y[0],ee=Y[1],te=(0,o.useState)(C?Math.max((0,g.U2)(J,k),13*w.iI):null),ne=te[0],re=te[1],ie=(0,o.useState)(!1),oe=ie[0],ue=ie[1],se=(0,o.useState)(null)[1],ce=O.ZP.projects.list({},{revalidateOnFocus:!1}).data,fe=null===ce||void 0===ce?void 0:ce.projects,de={label:function(){var e;return null===fe||void 0===fe||null===(e=fe[0])||void 0===e?void 0:e.name},linkProps:{href:"/"}},ae=[];H&&(r&&ae.push(de),ae.push.apply(ae,(0,i.Z)(H))),(null===H||void 0===H||!H.length||M)&&(null===fe||void 0===fe?void 0:fe.length)>=1&&(null!==H&&void 0!==H&&H.length||ae.unshift({bold:!M,label:function(){return U}}),ae.unshift(de)),(0,o.useEffect)((function(){null===K||void 0===K||!K.current||$||oe||null===se||void 0===se||se(K.current.getBoundingClientRect().width)}),[$,Q,oe,ne,K,se,q]),(0,o.useEffect)((function(){$||(0,g.t8)(G,Q)}),[Z,$,Q,G]),(0,o.useEffect)((function(){oe||(0,g.t8)(J,ne)}),[oe,ne,J]);var le=(0,j.Z)(x);return(0,o.useEffect)((function(){E&&le!==x&&V(x)}),[E,x,le]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(f.Z,{title:U}),(0,l.jsx)(d.Z,{breadcrumbs:ae,menuItems:R,project:null===fe||void 0===fe?void 0:fe[0],version:null===fe||void 0===fe||null===(n=fe[0])||void 0===n?void 0:n.version}),(0,l.jsxs)(a.Nk,{ref:t,children:[0!==(null===B||void 0===B?void 0:B.length)&&(0,l.jsx)(a.lm,{showMore:!0,children:(0,l.jsx)(b.Z,{navigationItems:B,showMore:!0})}),(0,l.jsx)(c.Z,{flex:1,flexDirection:"column",children:(0,l.jsxs)(p.Z,{after:h,afterHeader:_,afterHeightOffset:m.Mz,afterHidden:Z,afterMousedownActive:$,afterWidth:Q,before:C,beforeHeightOffset:m.Mz,beforeMousedownActive:oe,beforeWidth:a.k1+(C?ne:0),headerOffset:I,hideAfterCompletely:!D||N,leftOffset:C?a.k1:null,mainContainerHeader:W,mainContainerRef:K,setAfterHidden:D,setAfterMousedownActive:ee,setAfterWidth:V,setBeforeMousedownActive:ue,setBeforeWidth:re,children:[z&&(0,l.jsx)(v,{noPadding:F,children:z}),A]})})]}),S&&(0,l.jsx)(u.Z,{disableClickOutside:!0,isOpen:!0,onClickOutside:function(){return null===T||void 0===T?void 0:T(null)},children:(0,l.jsx)(s.Z,P(P({},S),{},{onClose:function(){return null===T||void 0===T?void 0:T(null)}}))})]})}var x=o.forwardRef(Z)},74805:function(e,t,n){"use strict";n.r(t);var r=n(77837),i=n(38860),o=n.n(i),u=(n(82684),n(56085)),s=n(94629),c=n(93808),f=n(28026),d=n(4383),a=n(50178),l=n(28598);function h(){var e=(0,a.PR)()||{},t=(0,u.ZP)((0,d.Ib)("terminal"),{queryParams:{term_name:null===e||void 0===e?void 0:e.id},shouldReconnect:function(){return!0}}),n=t.lastMessage,r=t.sendMessage;return(0,l.jsx)(s.Z,{title:"Terminal",uuid:"terminal/index",children:(0,l.jsx)(f.Z,{lastMessage:n,sendMessage:r})})}h.getInitialProps=(0,r.Z)(o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{});case 1:case"end":return e.stop()}}),e)}))),t.default=(0,c.Z)(h)},27271:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/terminal",function(){return n(74805)}])},80022:function(e,t,n){"use strict";function r(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 r}})},15544:function(e,t,n){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{Z:function(){return r}})},13692:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(61049);function i(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,r.Z)(e,t)}},93189:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(12539),i=n(80022);function o(e,t){if(t&&("object"===r(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(e)}},61049:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})}},function(e){e.O(0,[2678,1154,844,4267,6990,8487,8264,9774,2888,179],(function(){return t=27271,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[585],{94629:function(e,n,t){"use strict";t.d(n,{Z:function(){return w}});var r=t(82394),i=t(21831),o=t(82684),u=t(50724),c=t(82555),l=t(97618),a=t(70613),s=t(68487),d=t(68899),f=t(28598);function p(e,n){var t=e.children,r=e.noPadding;return(0,f.jsx)(d.HS,{noPadding:r,ref:n,children:t})}var v=o.forwardRef(p),h=t(62547),m=t(82571),g=t(35686),b=t(98464),j=t(46684),O=t(70515),P=t(53808),x=t(19183);function y(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?y(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):y(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function E(e,n){var t,r=e.addProjectBreadcrumbToCustomBreadcrumbs,p=e.after,y=e.afterHeader,E=e.afterHidden,w=e.afterWidth,_=e.afterWidthOverride,A=e.appendBreadcrumbs,I=e.before,T=e.beforeWidth,k=e.breadcrumbs,C=e.children,N=e.errors,S=e.headerMenuItems,M=e.headerOffset,D=e.hideAfterCompletely,R=e.mainContainerHeader,H=e.navigationItems,U=e.setAfterHidden,L=e.setErrors,Y=e.subheaderChildren,V=e.subheaderNoPadding,B=e.title,W=e.uuid,X=(0,x.i)().width,F="dashboard_after_width_".concat(W),z="dashboard_before_width_".concat(W),J=(0,o.useRef)(null),Q=(0,o.useState)(_?w:(0,P.U2)(F,w)),K=Q[0],q=Q[1],G=(0,o.useState)(!1),$=G[0],ee=G[1],ne=(0,o.useState)(I?Math.max((0,P.U2)(z,T),13*O.iI):null),te=ne[0],re=ne[1],ie=(0,o.useState)(!1),oe=ie[0],ue=ie[1],ce=(0,o.useState)(null)[1],le=g.ZP.projects.list({},{revalidateOnFocus:!1}).data,ae=null===le||void 0===le?void 0:le.projects,se={label:function(){var e;return null===ae||void 0===ae||null===(e=ae[0])||void 0===e?void 0:e.name},linkProps:{href:"/"}},de=[];k&&(r&&de.push(se),de.push.apply(de,(0,i.Z)(k))),(null===k||void 0===k||!k.length||A)&&(null===ae||void 0===ae?void 0:ae.length)>=1&&(null!==k&&void 0!==k&&k.length||de.unshift({bold:!A,label:function(){return B}}),de.unshift(se)),(0,o.useEffect)((function(){null===J||void 0===J||!J.current||$||oe||null===ce||void 0===ce||ce(J.current.getBoundingClientRect().width)}),[$,K,oe,te,J,ce,X]),(0,o.useEffect)((function(){$||(0,P.t8)(F,K)}),[E,$,K,F]),(0,o.useEffect)((function(){oe||(0,P.t8)(z,te)}),[oe,te,z]);var fe=(0,b.Z)(w);return(0,o.useEffect)((function(){_&&fe!==w&&q(w)}),[_,w,fe]),(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(a.Z,{title:B}),(0,f.jsx)(s.Z,{breadcrumbs:de,menuItems:S,project:null===ae||void 0===ae?void 0:ae[0],version:null===ae||void 0===ae||null===(t=ae[0])||void 0===t?void 0:t.version}),(0,f.jsxs)(d.Nk,{ref:n,children:[0!==(null===H||void 0===H?void 0:H.length)&&(0,f.jsx)(d.lm,{showMore:!0,children:(0,f.jsx)(m.Z,{navigationItems:H,showMore:!0})}),(0,f.jsx)(l.Z,{flex:1,flexDirection:"column",children:(0,f.jsxs)(h.Z,{after:p,afterHeader:y,afterHeightOffset:j.Mz,afterHidden:E,afterMousedownActive:$,afterWidth:K,before:I,beforeHeightOffset:j.Mz,beforeMousedownActive:oe,beforeWidth:d.k1+(I?te:0),headerOffset:M,hideAfterCompletely:!U||D,leftOffset:I?d.k1:null,mainContainerHeader:R,mainContainerRef:J,setAfterHidden:U,setAfterMousedownActive:ee,setAfterWidth:q,setBeforeMousedownActive:ue,setBeforeWidth:re,children:[Y&&(0,f.jsx)(v,{noPadding:V,children:Y}),C]})})]}),N&&(0,f.jsx)(u.Z,{disableClickOutside:!0,isOpen:!0,onClickOutside:function(){return null===L||void 0===L?void 0:L(null)},children:(0,f.jsx)(c.Z,Z(Z({},N),{},{onClose:function(){return null===L||void 0===L?void 0:L(null)}}))})]})}var w=o.forwardRef(E)},48381:function(e,n,t){"use strict";var r=t(82684),i=t(31882),o=t(55485),u=t(30160),c=t(86735),l=t(28598);n.Z=function(e){var n=e.onClickTag,t=e.tags,a=void 0===t?[]:t,s=(0,r.useMemo)((function(){return(null===a||void 0===a?void 0:a.length)||0}),[a]),d=(0,r.useMemo)((function(){return(0,c.YC)(a||[],"uuid")}),[a]);return(0,l.jsx)(o.ZP,{alignItems:"center",flexWrap:"wrap",children:null===d||void 0===d?void 0:d.reduce((function(e,t){return e.push((0,l.jsx)("div",{style:{marginBottom:2,marginRight:s>=2?4:0,marginTop:2},children:(0,l.jsx)(i.Z,{onClick:n?function(){return n(t)}:null,small:!0,children:(0,l.jsx)(u.ZP,{children:t.uuid})})},"tag-".concat(t.uuid))),e}),[])})}},16488:function(e,n,t){"use strict";t.d(n,{IJ:function(){return h},M8:function(){return E},Uc:function(){return O},XM:function(){return Z},_U:function(){return v},eI:function(){return j},gU:function(){return x},lO:function(){return T},ri:function(){return g},tL:function(){return P},vJ:function(){return y},xH:function(){return b}});var r,i=t(82394),o=t(92083),u=t.n(o),c=t(3917),l=t(4383),a=t(30229),s=t(42122),d=t(86735);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,i.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=function(e){return!!e&&!Object.values(a.U5).includes(e)};function h(e){return null===e||void 0===e?void 0:e.reduce((function(e,n){var t=n.block_uuid,r=n.completed_at,o=n.started_at,c=n.status,l=null;o&&r&&(l=u()(r).valueOf()-u()(o).valueOf());return p(p({},e),{},(0,i.Z)({},t,{runtime:l,status:c}))}),{})}var m,g=function(e){var n=[{description:function(){return"This pipeline will run continuously on an interval or just once."},label:function(){return"Schedule"},uuid:a.Xm.TIME},{description:function(){return"This pipeline will run when a specific event occurs."},label:function(){return"Event"},uuid:a.Xm.EVENT},{description:function(){return"Run this pipeline when you make an API call."},label:function(){return"API"},uuid:a.Xm.API}];return e?n.slice(0,1):n};function b(e){var n=(0,s.gR)(e,[a.gm.INTERVAL,a.gm.TYPE]),t=e[a.gm.INTERVAL];t&&(n["schedule_interval[]"]=encodeURIComponent(t));var r=e[a.gm.TYPE];return r&&(n["schedule_type[]"]=r),n}function j(e){return e?new Date(u()(e).valueOf()):null}function O(e,n){return n?(0,c.XG)(e,n):function(e){if("string"!==typeof e)return e;var n=e.split("+")[0];return u()(j(n)).format(c.Nx)}(e)}!function(e){e.DAY="day",e.HOUR="hour",e.MINUTE="minute",e.SECOND="second"}(m||(m={}));var P=(r={},(0,i.Z)(r,m.DAY,86400),(0,i.Z)(r,m.HOUR,3600),(0,i.Z)(r,m.MINUTE,60),(0,i.Z)(r,m.SECOND,1),r);function x(e){var n=m.SECOND,t=e;return e%86400===0?(t/=86400,n=m.DAY):e%3600===0?(t/=3600,n=m.HOUR):e%60===0&&(t/=60,n=m.MINUTE),{time:t,unit:n}}function y(e,n){return e*P[n]}function Z(e,n,t){var r,i=u()(e);return i.set("hour",+(null===n||void 0===n?void 0:n.hour)||0),i.set("minute",+(null===n||void 0===n?void 0:n.minute)||0),i.set("second",0),r=i.format(c.TD),null!==t&&void 0!==t&&t.includeSeconds&&(r=r.concat(":00")),null!==t&&void 0!==t&&t.localTimezone&&(r=i.format(c.lE),null!==t&&void 0!==t&&t.convertToUtc&&(r=(0,c.d$)(r,{includeSeconds:null===t||void 0===t?void 0:t.includeSeconds,utcFormat:!0}))),r}function E(e){var n,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r="",i=!0;return i&&(t?r="".concat(window.origin,"/api/pipeline_schedules/").concat(null===e||void 0===e?void 0:e.id,"/api_trigger"):(r="".concat(window.origin,"/api/pipeline_schedules/").concat(null===e||void 0===e?void 0:e.id,"/pipeline_runs"),null!==e&&void 0!==e&&e.token&&(r="".concat(r,"/").concat(e.token)))),i&&(n=window.location.port)&&(r=r.replace(n,l.QT)),r}function w(e,n,t){return e.match(/[*,-/]/)?{additionalOffset:0,cronValue:e}:function(e,n,t){var r=t.indexOf(e),i=0;if(n<0)for(var o=0;o>n;o--)0===r?(r=t.length-1,i-=1):r-=1;else if(n>0)for(var u=0;u<n;u++)r===t.length-1?(r=0,i+=1):r+=1;return{additionalOffset:i,cronValue:String(t[r]||e)}}(+e,n,t)}var _=(0,d.m5)(60),A=(0,d.m5)(24),I=(0,c.Cs)();function T(e,n){if(!e)return e;var t=u()().local().format("Z"),r=t.split(":"),i="-"===t[0],o=3===r[0].length?Number(r[0].slice(1)):Number(r[0]),c=Number(r[1]);(i&&!n||!i&&n)&&(o=-o,c=-c);var l=e.split(" "),a=l[0],s=l[1],d=l[2],f=w(a,c,_),p=w(s,o+f.additionalOffset,A);if(l[0]=f.cronValue,l[1]=p.cronValue,0!==(null===p||void 0===p?void 0:p.additionalOffset)){var v=w(d,p.additionalOffset,I);l[2]=v.cronValue}return l.join(" ")}},55072:function(e,n,t){"use strict";t.d(n,{Et:function(){return f},Q:function(){return d}});t(82684);var r=t(71180),i=t(55485),o=t(38276),u=t(31748),c=t(72473),l=t(79633),a=t(70515),s=t(28598),d=30,f=9;n.ZP=function(e){var n=e.page,t=e.maxPages,d=e.onUpdate,f=e.totalPages,p=[],v=t;if(v>f)p=Array.from({length:f},(function(e,n){return n}));else{var h=Math.floor(v/2),m=n-h;n+h>=f?(m=f-v+2,v-=2):n-h<=0?(m=0,v-=2):(v-=4,m=n-Math.floor(v/2)),p=Array.from({length:v},(function(e,n){return n+m}))}return(0,s.jsx)(s.Fragment,{children:f>0&&(0,s.jsxs)(i.ZP,{alignItems:"center",children:[(0,s.jsx)(r.ZP,{disabled:0===n,onClick:function(){return d(n-1)},children:(0,s.jsx)(c.Hd,{size:1.5*a.iI,stroke:u.Av})}),!p.includes(0)&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(o.Z,{ml:1,children:(0,s.jsx)(r.ZP,{borderLess:!0,noBackground:!0,onClick:function(){return d(0)},children:1})},0),!p.includes(1)&&(0,s.jsx)(o.Z,{ml:1,children:(0,s.jsx)(r.ZP,{noBackground:!0,noPadding:!0,notClickable:!0,children:"..."})},0)]}),p.map((function(e){return(0,s.jsx)(o.Z,{ml:1,children:(0,s.jsx)(r.ZP,{backgroundColor:e===n&&l.a$,borderLess:!0,noBackground:!0,notClickable:e===n,onClick:function(){e!==n&&d(e)},children:e+1})},e)})),!p.includes(f-1)&&(0,s.jsxs)(s.Fragment,{children:[!p.includes(f-2)&&(0,s.jsx)(o.Z,{ml:1,children:(0,s.jsx)(r.ZP,{noBackground:!0,noPadding:!0,notClickable:!0,children:"..."})},0),(0,s.jsx)(o.Z,{ml:1,children:(0,s.jsx)(r.ZP,{borderLess:!0,noBackground:!0,onClick:function(){return d(f-1)},children:f})},f-1)]}),(0,s.jsx)(o.Z,{ml:1}),(0,s.jsx)(r.ZP,{disabled:n===f-1,onClick:function(){return d(n+1)},children:(0,s.jsx)(c.Kw,{size:1.5*a.iI,stroke:u.Av})})]})})}},30229:function(e,n,t){"use strict";t.d(n,{PN:function(){return c},TR:function(){return v},U5:function(){return a},Wb:function(){return p},Xm:function(){return o},Z4:function(){return s},fq:function(){return l},gm:function(){return d},kJ:function(){return f}});var r,i,o,u=t(82394),c="__bookmark_values__";!function(e){e.API="api",e.EVENT="event",e.TIME="time"}(o||(o={}));var l,a,s=(r={},(0,u.Z)(r,o.API,(function(){return"API"})),(0,u.Z)(r,o.EVENT,(function(){return"event"})),(0,u.Z)(r,o.TIME,(function(){return"schedule"})),r);!function(e){e.ACTIVE="active",e.INACTIVE="inactive"}(l||(l={})),function(e){e.ONCE="@once",e.HOURLY="@hourly",e.DAILY="@daily",e.WEEKLY="@weekly",e.MONTHLY="@monthly",e.ALWAYS_ON="@always_on"}(a||(a={}));var d,f,p=[a.ONCE,a.HOURLY,a.DAILY,a.WEEKLY,a.MONTHLY];!function(e){e.INTERVAL="frequency[]",e.STATUS="status[]",e.TAG="tag[]",e.TYPE="type[]"}(d||(d={})),function(e){e.CREATED_AT="created_at",e.NAME="name",e.PIPELINE="pipeline_uuid",e.STATUS="status",e.TYPE="schedule_type"}(f||(f={}));var v=(i={},(0,u.Z)(i,f.CREATED_AT,"Created at"),(0,u.Z)(i,f.NAME,"Name"),(0,u.Z)(i,f.PIPELINE,"Pipeline"),(0,u.Z)(i,f.STATUS,"Active"),(0,u.Z)(i,f.TYPE,"Type"),i)},31882:function(e,n,t){"use strict";var r=t(38626),i=t(71180),o=t(55485),u=t(30160),c=t(44897),l=t(72473),a=t(70515),s=t(61896),d=t(28598),f=r.default.div.withConfig({displayName:"Chip__ChipStyle",componentId:"sc-1ok73g-0"})(["display:inline-block;"," "," "," "," "," ",""],(function(e){return!e.primary&&"\n background-color: ".concat((e.theme.background||c.Z.background).tag,";\n ")}),(function(e){return e.primary&&"\n background-color: ".concat((e.theme.chart||c.Z.chart).primary,";\n ")}),(function(e){return!e.small&&"\n border-radius: ".concat((a.iI+s.Al)/2,"px;\n height: ").concat(1.5*a.iI+s.Al,"px;\n padding: ").concat(a.iI/1.5,"px ").concat(1.25*a.iI,"px;\n ")}),(function(e){return e.small&&"\n border-radius: ".concat((a.iI/2+s.Al)/2,"px;\n height: ").concat(s.Al+a.iI/2+2,"px;\n padding: ").concat(a.iI/4,"px ").concat(a.iI,"px;\n ")}),(function(e){return e.xsmall&&"\n border-radius: ".concat((a.iI/1+s.Al)/1,"px;\n height: ").concat(20,"px;\n padding: 4px 6px;\n ")}),(function(e){return e.border&&"\n border: 1px solid ".concat((e.theme.content||c.Z.content).muted,";\n ")}));n.Z=function(e){var n=e.border,t=e.children,r=e.disabled,c=e.label,s=e.monospace,p=e.onClick,v=e.primary,h=e.small,m=e.xsmall;return(0,d.jsx)(f,{border:n,primary:v,small:h,xsmall:m,children:(0,d.jsx)(i.ZP,{basic:!0,disabled:r,noBackground:!0,noPadding:!0,onClick:p,transparent:!0,children:(0,d.jsxs)(o.ZP,{alignItems:"center",children:[t,c&&(0,d.jsx)(u.ZP,{monospace:s,small:h,xsmall:m,children:c}),!r&&p&&(0,d.jsx)("div",{style:{marginLeft:2}}),!r&&p&&(0,d.jsx)(l.x8,{default:v,muted:!v,size:h?a.iI:1.25*a.iI})]})})})}},77174:function(e,n,t){"use strict";t.r(n);var r=t(77837),i=t(82394),o=t(75582),u=t(38860),c=t.n(u),l=t(82684),a=t(34376),s=t(94629),d=t(55485),f=t(55072),p=t(93808),v=t(82359),h=t(44085),m=t(38276),g=t(30160),b=t(29624),j=t(35686),O=t(30229),P=t(70515),x=t(15610),y=t(69419),Z=t(70320),E=t(28598);function w(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 _(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?w(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):w(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function A(){var e=(0,a.useRouter)(),n=(0,l.useState)(null),t=n[0],r=n[1],i=(0,y.iV)(),u=null!==i&&void 0!==i&&i.page?i.page:0,c=(null===i||void 0===i?void 0:i.order_by)||O.kJ.CREATED_AT,p=j.ZP.projects.list().data,w=(0,l.useMemo)((function(){var e;return null===p||void 0===p||null===(e=p.projects)||void 0===e?void 0:e[0]}),[p]),A=((0,l.useMemo)((function(){var e;return(0,Z.hY)(null===w||void 0===w||null===(e=w.features)||void 0===e?void 0:e[v.d.LOCAL_TIMEZONE])}),[null===w||void 0===w?void 0:w.features]),{_limit:f.Q,_offset:u*f.Q,order_by:c}),I=j.ZP.pipeline_schedules.list(A,{refreshInterval:7500,revalidateOnFocus:!0}),T=I.data,k=I.mutate,C=(0,l.useMemo)((function(){return(null===T||void 0===T?void 0:T.pipeline_schedules)||[]}),[T]),N=(0,l.useMemo)((function(){var e;return(null===T||void 0===T||null===(e=T.metadata)||void 0===e?void 0:e.count)||[]}),[T]);return(0,E.jsxs)(s.Z,{errors:t,setErrors:r,title:"Triggers",uuid:"triggers/index",children:[(0,E.jsx)(m.Z,{mx:2,my:1,children:(0,E.jsxs)(d.ZP,{alignItems:"center",children:[(0,E.jsx)(g.ZP,{bold:!0,default:!0,large:!0,children:"Sort runs by:"}),(0,E.jsx)(m.Z,{mr:1}),(0,E.jsx)(h.Z,{compact:!0,defaultColor:!0,fitContent:!0,onChange:function(e){e.preventDefault(),(0,x.u7)({order_by:e.target.value,page:0})},paddingRight:4*P.iI,placeholder:"Select column",value:c||O.kJ.CREATED_AT,children:Object.entries(O.TR).map((function(e){var n=(0,o.Z)(e,2),t=n[0],r=n[1];return(0,E.jsx)("option",{value:t,children:r},t)}))})]})}),(0,E.jsx)(b.Z,{fetchPipelineSchedules:k,highlightRowOnHover:!0,includeCreatedAtColumn:!0,includePipelineColumn:!0,pipelineSchedules:C,setErrors:r,stickyHeader:!0}),(0,E.jsx)(m.Z,{p:2,children:(0,E.jsx)(f.ZP,{maxPages:9,onUpdate:function(n){var t=Number(n),r=_(_({},i),{},{page:t>=0?t:0});e.push("/triggers","/triggers?".concat((0,y.uM)(r)))},page:Number(u),totalPages:Math.ceil(N/f.Q)})})]})}A.getInitialProps=(0,r.Z)(c().mark((function e(){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{});case 1:case"end":return e.stop()}}),e)}))),n.default=(0,p.Z)(A)},59733:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/triggers",function(){return t(77174)}])},80022:function(e,n,t){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}t.d(n,{Z:function(){return r}})},15544:function(e,n,t){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}t.d(n,{Z:function(){return r}})},13692:function(e,n,t){"use strict";t.d(n,{Z:function(){return i}});var r=t(61049);function i(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&(0,r.Z)(e,n)}},93189:function(e,n,t){"use strict";t.d(n,{Z:function(){return o}});var r=t(12539),i=t(80022);function o(e,n){if(n&&("object"===r(n)||"function"===typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(e)}},61049:function(e,n,t){"use strict";function r(e,n){return r=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e},r(e,n)}t.d(n,{Z:function(){return r}})}},function(e){e.O(0,[2678,1154,844,4267,6990,8487,8264,7858,5499,9624,9774,2888,179],(function(){return n=59733,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2858],{94629:function(e,n,r){"use strict";r.d(n,{Z:function(){return C}});var t=r(82394),o=r(21831),i=r(82684),l=r(50724),c=r(82555),u=r(97618),s=r(70613),a=r(68487),d=r(68899),h=r(28598);function f(e,n){var r=e.children,t=e.noPadding;return(0,h.jsx)(d.HS,{noPadding:t,ref:n,children:r})}var m=i.forwardRef(f),v=r(62547),b=r(82571),g=r(35686),p=r(98464),j=r(46684),x=r(70515),Z=r(53808),P=r(19183);function y(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),r.push.apply(r,t)}return r}function _(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?y(Object(r),!0).forEach((function(n){(0,t.Z)(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))}))}return e}function w(e,n){var r,t=e.addProjectBreadcrumbToCustomBreadcrumbs,f=e.after,y=e.afterHeader,w=e.afterHidden,C=e.afterWidth,k=e.afterWidthOverride,S=e.appendBreadcrumbs,O=e.before,I=e.beforeWidth,T=e.breadcrumbs,E=e.children,A=e.errors,N=e.headerMenuItems,R=e.headerOffset,M=e.hideAfterCompletely,D=e.mainContainerHeader,B=e.navigationItems,H=e.setAfterHidden,L=e.setErrors,F=e.subheaderChildren,G=e.subheaderNoPadding,V=e.title,Y=e.uuid,U=(0,P.i)().width,q="dashboard_after_width_".concat(Y),W="dashboard_before_width_".concat(Y),z=(0,i.useRef)(null),K=(0,i.useState)(k?C:(0,Z.U2)(q,C)),Q=K[0],X=K[1],J=(0,i.useState)(!1),$=J[0],ee=J[1],ne=(0,i.useState)(O?Math.max((0,Z.U2)(W,I),13*x.iI):null),re=ne[0],te=ne[1],oe=(0,i.useState)(!1),ie=oe[0],le=oe[1],ce=(0,i.useState)(null)[1],ue=g.ZP.projects.list({},{revalidateOnFocus:!1}).data,se=null===ue||void 0===ue?void 0:ue.projects,ae={label:function(){var e;return null===se||void 0===se||null===(e=se[0])||void 0===e?void 0:e.name},linkProps:{href:"/"}},de=[];T&&(t&&de.push(ae),de.push.apply(de,(0,o.Z)(T))),(null===T||void 0===T||!T.length||S)&&(null===se||void 0===se?void 0:se.length)>=1&&(null!==T&&void 0!==T&&T.length||de.unshift({bold:!S,label:function(){return V}}),de.unshift(ae)),(0,i.useEffect)((function(){null===z||void 0===z||!z.current||$||ie||null===ce||void 0===ce||ce(z.current.getBoundingClientRect().width)}),[$,Q,ie,re,z,ce,U]),(0,i.useEffect)((function(){$||(0,Z.t8)(q,Q)}),[w,$,Q,q]),(0,i.useEffect)((function(){ie||(0,Z.t8)(W,re)}),[ie,re,W]);var he=(0,p.Z)(C);return(0,i.useEffect)((function(){k&&he!==C&&X(C)}),[k,C,he]),(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(s.Z,{title:V}),(0,h.jsx)(a.Z,{breadcrumbs:de,menuItems:N,project:null===se||void 0===se?void 0:se[0],version:null===se||void 0===se||null===(r=se[0])||void 0===r?void 0:r.version}),(0,h.jsxs)(d.Nk,{ref:n,children:[0!==(null===B||void 0===B?void 0:B.length)&&(0,h.jsx)(d.lm,{showMore:!0,children:(0,h.jsx)(b.Z,{navigationItems:B,showMore:!0})}),(0,h.jsx)(u.Z,{flex:1,flexDirection:"column",children:(0,h.jsxs)(v.Z,{after:f,afterHeader:y,afterHeightOffset:j.Mz,afterHidden:w,afterMousedownActive:$,afterWidth:Q,before:O,beforeHeightOffset:j.Mz,beforeMousedownActive:ie,beforeWidth:d.k1+(O?re:0),headerOffset:R,hideAfterCompletely:!H||M,leftOffset:O?d.k1:null,mainContainerHeader:D,mainContainerRef:z,setAfterHidden:H,setAfterMousedownActive:ee,setAfterWidth:X,setBeforeMousedownActive:le,setBeforeWidth:te,children:[F&&(0,h.jsx)(m,{noPadding:G,children:F}),E]})})]}),A&&(0,h.jsx)(l.Z,{disableClickOutside:!0,isOpen:!0,onClickOutside:function(){return null===L||void 0===L?void 0:L(null)},children:(0,h.jsx)(c.Z,_(_({},A),{},{onClose:function(){return null===L||void 0===L?void 0:L(null)}}))})]})}var C=i.forwardRef(w)},85385:function(e,n,r){"use strict";r.d(n,{Qq:function(){return m},Z7:function(){return v},cH:function(){return o},du:function(){return h},fp:function(){return d},j5:function(){return f},uM:function(){return a}});var t,o,i=r(82394),l=r(57653),c=r(82359),u=r(72473),s=r(86735),a="sideview",d=90;!function(e){e.ADDON_BLOCKS="addon_blocks",e.BLOCK_SETTINGS="block_settings",e.CALLBACKS="callbacks",e.CHARTS="charts",e.DATA="data",e.EXTENSIONS="power_ups",e.FILE_VERSIONS="file_versions",e.GRAPHS="graphs",e.INTERACTIONS="interactions",e.REPORTS="reports",e.SECRETS="secrets",e.SETTINGS="settings",e.TERMINAL="terminal",e.TREE="tree",e.VARIABLES="variables"}(o||(o={}));o.BLOCK_SETTINGS,o.CALLBACKS,o.CHARTS,o.DATA,o.EXTENSIONS,o.TREE;var h=[o.DATA];function f(e){var n,r,t,i=[{key:o.TREE,label:"Tree"},{buildLabel:function(e){var n=(e.pipeline||{}).widgets,r=void 0===n?[]:n;return(null===r||void 0===r?void 0:r.length)>=1?"Charts (".concat(r.length,")"):"Charts"},key:o.CHARTS},{buildLabel:function(e){var n=e.variables;return(null===n||void 0===n?void 0:n.length)>=1?"Variables (".concat(n.length,")"):"Variables"},key:o.VARIABLES},{buildLabel:function(e){var n=e.secrets;return(null===n||void 0===n?void 0:n.length)>=1?"Secrets (".concat(n.length,")"):"Secrets"},key:o.SECRETS}];return l.qL.PYSPARK!==(null===e||void 0===e||null===(n=e.pipeline)||void 0===n?void 0:n.type)&&i.push.apply(i,[{buildLabel:function(e){e.pipeline;return"Add-on blocks"},key:o.ADDON_BLOCKS},{buildLabel:function(e){var n=(e.pipeline||{}).extensions,r=void 0===n?{}:n,t=0;return Object.values(r).forEach((function(e){var n=e.blocks;t+=(null===n||void 0===n?void 0:n.length)||0})),t>=1?"Power ups (".concat(t,")"):"Power ups"},key:o.EXTENSIONS}]),i.push.apply(i,[{key:o.DATA,label:"Data"},{key:o.TERMINAL,label:"Terminal"},{key:o.BLOCK_SETTINGS,label:"Block settings"}]),null!==e&&void 0!==e&&null!==(r=e.project)&&void 0!==r&&null!==(t=r.features)&&void 0!==t&&t[c.d.INTERACTIONS]&&i.push({key:o.INTERACTIONS,label:"Interactions"}),i}function m(e){return(0,s.HK)(f(e),(function(e){return e.key}))}var v=(t={},(0,i.Z)(t,o.ADDON_BLOCKS,u.EJ),(0,i.Z)(t,o.BLOCK_SETTINGS,u.JG),(0,i.Z)(t,o.CALLBACKS,u.AQ),(0,i.Z)(t,o.CHARTS,u.GQ),(0,i.Z)(t,o.DATA,u.iA),(0,i.Z)(t,o.EXTENSIONS,u.Bf),(0,i.Z)(t,o.INTERACTIONS,u.yd),(0,i.Z)(t,o.SECRETS,u.Yo),(0,i.Z)(t,o.SETTINGS,u.Zr),(0,i.Z)(t,o.TERMINAL,u.oI),(0,i.Z)(t,o.TREE,u.mp),(0,i.Z)(t,o.VARIABLES,u.LO),t)},89706:function(e,n,r){"use strict";r.d(n,{JD:function(){return v},Lu:function(){return i},PF:function(){return h},dT:function(){return l},n6:function(){return s},nB:function(){return m},oy:function(){return f},xF:function(){return d}});var t,o,i,l,c=r(82394),u=r(44425);!function(e){e.CSV="csv",e.JSON="json",e.MD="md",e.PY="py",e.R="r",e.SH="sh",e.SQL="sql",e.TXT="txt",e.YAML="yaml",e.YML="yml"}(i||(i={})),function(e){e.INIT_PY="__init__.py",e.METADATA_YAML="metadata.yaml",e.REQS_TXT="requirements.txt"}(l||(l={}));var s=[i.PY,i.SQL],a=[i.JSON,i.MD,i.PY,i.R,i.SH,i.SQL,i.TXT,i.YAML,i.YML],d=new RegExp(a.map((function(e){return".".concat(e,"$")})).join("|")),h=(new RegExp(a.map((function(e){return".".concat(e,"$")})).join("|")),"charts"),f="pipelines",m=(t={},(0,c.Z)(t,i.MD,u.t6.MARKDOWN),(0,c.Z)(t,i.JSON,i.JSON),(0,c.Z)(t,i.PY,u.t6.PYTHON),(0,c.Z)(t,i.R,u.t6.R),(0,c.Z)(t,i.SQL,u.t6.SQL),(0,c.Z)(t,i.TXT,"text"),(0,c.Z)(t,i.YAML,u.t6.YAML),(0,c.Z)(t,i.YML,u.t6.YAML),t),v=(o={},(0,c.Z)(o,u.t6.MARKDOWN,i.MD),(0,c.Z)(o,u.t6.PYTHON,i.PY),(0,c.Z)(o,u.t6.R,i.R),(0,c.Z)(o,u.t6.SQL,i.SQL),(0,c.Z)(o,u.t6.YAML,i.YAML),(0,c.Z)(o,"text",i.TXT),o)},72098:function(e,n,r){"use strict";var t;r.d(n,{U:function(){return t}}),function(e){e.PYSPARK="pysparkkernel",e.PYTHON3="python3"}(t||(t={}))},40109:function(e,n,r){"use strict";r.d(n,{f:function(){return g},h:function(){return v}});var t=r(82394),o=r(82684),i=r(34376),l=r(93369),c=r(72473),u=r(70515),s=r(69419),a=r(53808),d=r(28598);var h=function(e){var n=e.oauthResponse,r=(0,i.useRouter)(),t=(0,o.useMemo)((function(){return n||{}}),[n]),h=t.url,f=t.redirect_query_params,m=void 0===f?{}:f;return(0,d.jsx)(d.Fragment,{children:h&&(0,d.jsx)(l.ZP,{beforeElement:(0,d.jsx)(c._8,{size:2*u.iI}),bold:!0,inline:!0,onClick:function(){var e=(0,s.iV)(h).state;(0,a.t8)(e,m),r.push(h)},uuid:"SignForm/google",children:"Sign in with Google"})})};var f=function(e){var n=e.oauthResponse,r=(0,i.useRouter)(),t=(0,o.useMemo)((function(){return n||{}}),[n]),h=t.url,f=t.redirect_query_params,m=void 0===f?{}:f;return(0,d.jsx)(d.Fragment,{children:h&&(0,d.jsx)(l.ZP,{beforeElement:(0,d.jsx)(c.Dg,{size:2*u.iI}),bold:!0,inline:!0,onClick:function(){var e=(0,s.iV)(h).state;m&&(0,a.t8)(e,m),r.push(h)},uuid:"SignForm/active_directory",children:"Sign in with Microsoft"})})};var m,v,b=function(e){var n=e.oauthResponse,r=(0,i.useRouter)(),t=(0,o.useMemo)((function(){return n||{}}),[n]),c=t.url,u=t.redirect_query_params,h=void 0===u?{}:u;return(0,d.jsx)(d.Fragment,{children:c&&(0,d.jsx)(l.ZP,{bold:!0,inline:!0,onClick:function(){var e=(0,s.iV)(c).state;(0,a.t8)(e,h),r.push(c)},uuid:"SignForm/okta",children:"Sign in with Okta"})})};!function(e){e.ACTIVE_DIRECTORY="active_directory",e.GITHUB="github",e.GOOGLE="google",e.OKTA="okta"}(v||(v={}));var g=(m={},(0,t.Z)(m,v.ACTIVE_DIRECTORY,f),(0,t.Z)(m,v.GOOGLE,h),(0,t.Z)(m,v.OKTA,b),m)},57653:function(e,n,r){"use strict";r.d(n,{$1:function(){return v},G7:function(){return p},LM:function(){return j},Mj:function(){return x},QK:function(){return m},RH:function(){return g},a_:function(){return P},fj:function(){return y},kA:function(){return Z},qL:function(){return c},r0:function(){return b}});var t,o,i,l,c,u=r(75582),s=r(82394),a=r(72473),d=r(72098);function h(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),r.push.apply(r,t)}return r}function f(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?h(Object(r),!0).forEach((function(n){(0,s.Z)(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))}))}return e}!function(e){e.INTEGRATION="integration",e.PYTHON="python",e.PYSPARK="pyspark",e.STREAMING="streaming"}(c||(c={}));var m,v,b,g=(t={},(0,s.Z)(t,c.INTEGRATION,"Integration"),(0,s.Z)(t,c.PYTHON,"Python"),(0,s.Z)(t,c.PYSPARK,"PySpark"),(0,s.Z)(t,c.STREAMING,"Streaming"),t),p=(o={},(0,s.Z)(o,c.INTEGRATION,"Integration"),(0,s.Z)(o,c.PYTHON,"Standard"),(0,s.Z)(o,c.PYSPARK,"PySpark"),(0,s.Z)(o,c.STREAMING,"Streaming"),o),j="all",x=(c.PYTHON,c.INTEGRATION,c.STREAMING,i={},(0,s.Z)(i,j,a.ie),(0,s.Z)(i,c.INTEGRATION,a.YC),(0,s.Z)(i,c.PYTHON,a.El),(0,s.Z)(i,c.STREAMING,a.dB),i);!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"}(m||(m={})),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[]"}(v||(v={})),function(e){e.STATUS="status",e.TAG="tag",e.TYPE="type"}(b||(b={}));var Z=[m.ACTIVE,m.INACTIVE,m.NO_SCHEDULES],P=(l={},(0,s.Z)(l,c.PYTHON,d.U.PYTHON3),(0,s.Z)(l,c.PYSPARK,d.U.PYSPARK),l),y=Object.entries(P).reduce((function(e,n){var r=(0,u.Z)(n,2),t=r[0],o=r[1];return f(f({},e),{},(0,s.Z)({},o,t))}),{})},65956:function(e,n,r){"use strict";var t=r(38626),o=r(55485),i=r(38276),l=r(30160),c=r(44897),u=r(42631),s=r(47041),a=r(70515),d=r(28598),h=(0,t.css)(["padding:","px;padding-bottom:","px;padding-top:","px;"],2*a.iI,1.5*a.iI,1.5*a.iI),f=t.default.div.withConfig({displayName:"Panel__PanelStyle",componentId:"sc-1ct8cgl-0"})(["border-radius:","px;overflow:hidden;"," "," "," "," "," "," "," "," "," "," "," ",""],u.n_,(function(e){return e.fullWidth&&"\n width: 100%;\n "}),(function(e){return!e.borderless&&"\n border: 1px solid ".concat((e.theme.interactive||c.Z.interactive).defaultBorder,";\n ")}),(function(e){return e.success&&"\n background-color: ".concat((e.theme.background||c.Z.background).successLight,";\n ")}),(function(e){return e.success&&!e.borderless&&"\n border: 1px solid ".concat((e.theme.background||c.Z.background).success,";\n ")}),(function(e){return!e.dark&&!e.success&&"\n background-color: ".concat((e.theme.background||c.Z.background).panel,";\n ")}),(function(e){return e.dark&&"\n background-color: ".concat((e.theme.background||c.Z.background).content,";\n ")}),(function(e){return!e.fullHeight&&"\n height: fit-content;\n "}),(function(e){return e.maxHeight&&"\n max-height: ".concat(e.maxHeight,";\n ")}),(function(e){return e.maxWidth&&"\n max-width: ".concat(e.maxWidth,"px;\n ")}),(function(e){return e.minWidth&&"\n min-width: ".concat(e.minWidth,"px;\n\n @media (max-width: ").concat(e.minWidth,"px) {\n min-width: 0;\n }\n ")}),(function(e){return e.borderless&&"\n border: none;\n "}),(function(e){return e.overflowVisible&&"\n overflow: visible;\n "})),m=t.default.div.withConfig({displayName:"Panel__HeaderStyle",componentId:"sc-1ct8cgl-1"})(["border-top-left-radius:","px;border-top-right-radius:","px;"," "," "," ",""],u.n_,u.n_,(function(e){return"\n background-color: ".concat((e.theme.background||c.Z.background).chartBlock,";\n border-bottom: 1px solid ").concat((e.theme.interactive||c.Z.interactive).defaultBorder,";\n ")}),(function(e){return e.height&&"\n height: ".concat(e.height,"px;\n ")}),h,(function(e){return e.headerPaddingVertical&&"\n padding-bottom: ".concat(e.headerPaddingVertical,"px;\n padding-top: ").concat(e.headerPaddingVertical,"px;\n ")})),v=t.default.div.withConfig({displayName:"Panel__ContentStyle",componentId:"sc-1ct8cgl-2"})(["overflow-y:auto;padding:","px;height:100%;"," "," "," "," ",""],1.75*a.iI,s.w5,(function(e){return e.height&&"\n height: ".concat(e.height,"px;\n ")}),(function(e){return e.maxHeight&&"\n max-height: calc(".concat(e.maxHeight," - ").concat(15*a.iI,"px);\n ")}),(function(e){return e.noPadding&&"\n padding: 0;\n "}),(function(e){return e.overflowVisible&&"\n overflow: visible;\n "})),b=t.default.div.withConfig({displayName:"Panel__FooterStyle",componentId:"sc-1ct8cgl-3"})(["border-style:",";border-top-width:","px;padding:","px;"],u.M8,u.YF,1.75*a.iI);n.Z=function(e){var n=e.borderless,r=e.children,t=e.containerRef,c=e.contentContainerRef,u=e.dark,s=e.footer,a=e.fullHeight,h=void 0===a||a,g=e.fullWidth,p=void 0===g||g,j=e.header,x=e.headerHeight,Z=e.headerIcon,P=e.headerPaddingVertical,y=e.headerTitle,_=e.maxHeight,w=e.maxWidth,C=e.minWidth,k=e.noPadding,S=e.overflowVisible,O=e.subtitle,I=e.success;return(0,d.jsxs)(f,{borderless:n,dark:u,fullHeight:h,fullWidth:p,maxHeight:_,maxWidth:w,minWidth:C,overflowVisible:S,ref:t,success:I,children:[(j||y)&&(0,d.jsxs)(m,{headerPaddingVertical:P,height:x,children:[j&&j,y&&(0,d.jsx)(o.ZP,{alignItems:"center",justifyContent:"space-between",children:(0,d.jsxs)(o.ZP,{alignItems:"center",children:[Z&&Z,(0,d.jsx)(i.Z,{ml:Z?1:0,children:(0,d.jsx)(l.ZP,{bold:!0,default:!0,children:y})})]})})]}),(0,d.jsxs)(v,{maxHeight:_,noPadding:k,overflowVisible:S,ref:c,children:[O&&"string"===typeof O&&(0,d.jsx)(i.Z,{mb:2,children:(0,d.jsx)(l.ZP,{default:!0,children:O})}),O&&"string"!==typeof O&&O,r]}),s&&(0,d.jsx)(b,{children:s})]})}},35185:function(e,n,r){"use strict";var t=r(82394),o=r(91835),i=(r(82684),r(38626)),l=r(44897),c=r(42631),u=r(70515),s=r(28598);function a(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),r.push.apply(r,t)}return r}function d(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?a(Object(r),!0).forEach((function(n){(0,t.Z)(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))}))}return e}var h=i.default.div.withConfig({displayName:"ProgressBar__ProgressBarContainerStyle",componentId:"sc-10x9ojc-0"})(["border-radius:","px;height:","px;overflow:hidden;position:relative;width:100%;",""],c.BG,.75*u.iI,(function(e){return"\n background-color: ".concat((e.theme.monotone||l.Z.monotone).grey200,";\n ")})),f=i.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 ")}));n.Z=function(e){var n=(0,o.Z)({},e);return(0,s.jsx)(h,d(d({},n),{},{children:(0,s.jsx)(f,d({},n))}))}},58024:function(e,n,r){"use strict";r.r(n),r.d(n,{default:function(){return Se}});var t=r(77837),o=r(38860),i=r.n(o),l=r(93808),c=r(82394),u=r(75582),s=r(54407),a=r.n(s),d=r(82684),h=r(69864),f=r(71180),m=r(15338),v=r(55485),b=r(85854),g=r(44085),p=r(38276),j=r(4190),x=r(30160),Z=r(35576),P=r(17488),y=r(12468),_=r(35686),w=r(72473),C="clone",k="delete",S="fetch",O="merge",I="pull",T="push",E="rebase",A="git_remote_name",N="git_repository_name",R={uuid:"Branches"},M={uuid:"Files"},D={uuid:"Push"},B={uuid:"Setup"},H=[B,R,M,D],L=r(70515),F=r(81728),G=r(72619),V=r(28598);var Y=function(e){var n=e.actionRemoteName,r=e.branch,t=e.branches,o=e.fetchBranch,i=e.fetchBranches,l=e.remotes,s=e.setActionRemoteName,a=e.showError,C=(0,d.useState)(""),S=C[0],I=C[1],T=(0,d.useState)(null),A=T[0],N=T[1],R=(0,d.useState)(null),D=R[0],H=R[1],Y=(0,d.useState)(null),U=Y[0],q=Y[1],W=(0,d.useState)(""),z=W[0],K=W[1],Q=(0,d.useMemo)((function(){return null===l||void 0===l?void 0:l.find((function(e){return e.name===n}))}),[n,l]),X=(0,d.useMemo)((function(){return(null===t||void 0===t?void 0:t.concat((null===Q||void 0===Q?void 0:Q.refs)||[]))||[]}),[t,Q]),J=(0,h.Db)(_.ZP.git_custom_branches.useCreate(),{onSuccess:function(e){return(0,G.wD)(e,{callback:function(){o(),i(),K("")},onErrorCallback:function(e,n){return a({errors:n,response:e})}})}}),$=(0,u.Z)(J,2),ee=$[0],ne=$[1].isLoading,re=(0,h.Db)(_.ZP.git_custom_branches.useCreate(),{onSuccess:function(e){return(0,G.wD)(e,{callback:function(){o()},onErrorCallback:function(e,n){return a({errors:n,response:e})}})}}),te=(0,u.Z)(re,2),oe=te[0],ie=te[1].isLoading,le=(0,h.Db)(_.ZP.git_custom_branches.useUpdate(null===r||void 0===r?void 0:r.name),{onSuccess:function(e){return(0,G.wD)(e,{callback:function(e){var n=e.git_custom_branch.progress;o(),I(""),N(""),H(n),q("")},onErrorCallback:function(e,n){return a({errors:n,response:e})}})}}),ce=(0,u.Z)(le,2),ue=ce[0],se=ce[1].isLoading;return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsxs)(p.Z,{mb:L.HN,children:[(0,V.jsxs)(b.Z,{children:["Branches",t?" (".concat(null===t||void 0===t?void 0:t.length,")"):""]}),(0,V.jsx)(p.Z,{mt:L.Mq,children:(0,V.jsxs)(v.ZP,{children:[(0,V.jsxs)("div",{children:[(0,V.jsx)(p.Z,{mb:1,children:(0,V.jsx)(x.ZP,{bold:!0,muted:!0,children:"Remote"})}),(0,V.jsx)(g.Z,{beforeIcon:(0,V.jsx)(w.VW,{}),beforeIconSize:1.5*L.iI,monospace:!0,onChange:function(e){return s(e.target.value)},placeholder:"Choose a remote",value:n||"",children:null===l||void 0===l?void 0:l.map((function(e){var n=e.name;return(0,V.jsx)("option",{value:n,children:n},n)}))})]}),(0,V.jsx)(p.Z,{mr:1}),(0,V.jsxs)("div",{children:[(0,V.jsx)(p.Z,{mb:1,children:(0,V.jsx)(x.ZP,{bold:!0,muted:!0,children:"Current branch"})}),(0,V.jsxs)(v.ZP,{alignItems:"center",children:[(0,V.jsx)(y.Z,{fullSize:!0,label:"Choose a different branch to switch branches",widthFitContent:!0,children:(0,V.jsx)(g.Z,{beforeIcon:(0,V.jsx)(w.I0,{muted:!1}),beforeIconSize:2*L.iI,monospace:!0,onChange:function(e){return oe({git_custom_branch:{name:e.target.value}})},value:null===r||void 0===r?void 0:r.name,children:(null===r||void 0===r?void 0:r.name)&&(null===t||void 0===t?void 0:t.map((function(e){var n=e.name;return(0,V.jsx)("option",{value:n,children:n},n)})))})}),(0,V.jsx)(p.Z,{mr:L.cd}),ie&&(0,V.jsx)(j.Z,{inverted:!0})]})]})]})}),(0,V.jsx)(p.Z,{mt:L.Mq,children:(0,V.jsxs)(v.ZP,{alignItems:"center",children:[(0,V.jsx)(P.Z,{label:"New branch name",monospace:!0,onChange:function(e){var n;return K(null===e||void 0===e||null===(n=e.target)||void 0===n?void 0:n.value)},value:z||""}),(0,V.jsx)(p.Z,{mr:1}),(0,V.jsx)(f.ZP,{beforeIcon:(0,V.jsx)(w.mm,{size:2*L.iI}),disabled:!z,loading:ne,onClick:function(){ee({git_custom_branch:{name:z}})},primary:!0,children:"Create new branch"})]})})]}),(0,V.jsxs)(p.Z,{mb:L.HN,children:[(0,V.jsx)(b.Z,{children:"Actions"}),(0,V.jsxs)(p.Z,{mt:L.Mq,children:[(0,V.jsxs)(p.Z,{mb:L.Mq,children:[(0,V.jsx)(p.Z,{mb:1,children:(0,V.jsx)(x.ZP,{bold:!0,muted:!0,children:"Compare branch"})}),(null===r||void 0===r?void 0:r.name)&&(0,V.jsx)(x.ZP,{monospace:!0,children:null===r||void 0===r?void 0:r.name})]}),(0,V.jsxs)(v.ZP,{alignItems:"center",children:[(0,V.jsxs)("div",{children:[(0,V.jsx)(p.Z,{mb:1,children:(0,V.jsx)(x.ZP,{bold:!0,muted:!0,children:"Base branch"})}),(0,V.jsx)(g.Z,{beforeIcon:(0,V.jsx)(w.I0,{}),beforeIconSize:1.5*L.iI,monospace:!0,onChange:function(e){return q(e.target.value)},placeholder:"Choose a branch",value:U,children:null===X||void 0===X?void 0:X.map((function(e){var n=e.name;return(0,V.jsx)("option",{value:n,children:n},n)}))})]}),(0,V.jsx)(p.Z,{mr:1}),(0,V.jsxs)("div",{children:[(0,V.jsx)(p.Z,{mb:1,children:(0,V.jsx)(x.ZP,{bold:!0,muted:!0,children:"Action"})}),(0,V.jsxs)(g.Z,{onChange:function(e){return N(e.target.value)},placeholder:"Choose action",value:A||"",children:[(0,V.jsx)("option",{value:O,children:(0,F.vg)(O)}),(0,V.jsx)("option",{value:E,children:(0,F.vg)(E)}),(0,V.jsx)("option",{value:k,children:(0,F.vg)(k)})]})]})]}),A&&[O,E].includes(A)&&(0,V.jsxs)(p.Z,{mt:L.cd,children:[(0,V.jsx)(p.Z,{mb:1,children:(0,V.jsxs)(x.ZP,{bold:!0,muted:!0,children:["Message for ",A]})}),(0,V.jsx)(Z.Z,{monospace:!0,onChange:function(e){return I(e.target.value)},value:S||""})]}),(0,V.jsxs)(p.Z,{mt:L.cd,children:[(0,V.jsx)(f.ZP,{beforeIcon:(0,V.jsx)(w.Bf,{size:2*L.iI}),disabled:!A||!U,loading:se,onClick:function(){(k!==A||"undefined"!==typeof location&&window.confirm("Are you sure you want to delete branch ".concat(U,"?")))&&ue({git_custom_branch:(0,c.Z)({action_type:A,message:S},A,{base_branch:U})})},primary:!0,children:A?(0,F.vg)(A):"Execute action"}),D&&(0,V.jsx)(p.Z,{mt:L.cd,children:(0,V.jsx)(x.ZP,{default:!0,monospace:!0,preWrap:!0,children:D})})]})]})]}),(0,V.jsxs)(p.Z,{mb:L.HN,children:[(0,V.jsx)(p.Z,{mb:L.HN,children:(0,V.jsx)(m.Z,{light:!0})}),(0,V.jsxs)(v.ZP,{children:[(0,V.jsx)(f.ZP,{beforeIcon:(0,V.jsx)(w.Hd,{}),linkProps:{href:"/version-control?tab=".concat(B.uuid)},noBackground:!0,noHoverUnderline:!0,sameColorAsText:!0,children:B.uuid}),(0,V.jsx)(p.Z,{mr:1}),(0,V.jsxs)(f.ZP,{afterIcon:(0,V.jsx)(w.Kw,{}),linkProps:{href:"/version-control?tab=".concat(M.uuid)},noHoverUnderline:!0,sameColorAsText:!0,secondary:!0,children:["Next: ",M.uuid]})]})]})]})},U=r(90299),q=r(32013),W=r(98777),z=r(48670),K=r(75499);function Q(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),r.push.apply(r,t)}return r}function X(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?Q(Object(r),!0).forEach((function(n){(0,c.Z)(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Q(Object(r)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))}))}return e}var J={base_branch:null,body:null,compare_branch:null,repository:null,title:null};var $=function(e){var n=e.actionRemoteName,r=e.branch,t=e.branches,o=e.fetchBranch,i=e.loading,l=e.remotes,s=e.repositories,a=e.repositoryName,y=e.setActionRemoteName,C=e.setRepositoryName,k=e.showError,S=(0,d.useState)((null===r||void 0===r?void 0:r.name)||""),O=S[0],I=S[1],E=(0,d.useState)(null),A=E[0],N=E[1],R=(0,d.useState)(null),D=R[0],B=R[1],H=(0,d.useState)(J),Y=H[0],U=H[1],Q=(0,h.Db)(_.ZP.git_custom_branches.useUpdate(null===r||void 0===r?void 0:r.name),{onSuccess:function(e){return(0,G.wD)(e,{callback:function(e){var n=e.git_custom_branch,r=n.error,t=n.progress;r?(N(r),B(null)):(o(),N(null),B(t))},onErrorCallback:function(e,n){return k({errors:n,response:e})}})}}),$=(0,u.Z)(Q,2),ee=$[0],ne=$[1].isLoading,re=_.ZP.pull_requests.list({repository:a},{},{pauseFetch:!a}),te=re.data,oe=re.mutate,ie=(0,d.useMemo)((function(){return(null===te||void 0===te?void 0:te.pull_requests)||[]}),[te]),le=(0,d.useMemo)((function(){return(0,V.jsx)(K.Z,{columnFlex:[null,null,null,null],columns:[{uuid:"Title"},{uuid:"Author"},{uuid:"Created"},{uuid:"Last modified"}],onClickRow:function(e){var n,r=null===ie||void 0===ie||null===(n=ie[e])||void 0===n?void 0:n.url;r&&window.open(r,"_blank")},rows:null===ie||void 0===ie?void 0:ie.map((function(e){var n=e.created_at,r=e.last_modified,t=e.title,o=e.url,i=e.user;return[(0,V.jsx)(z.Z,{default:!0,href:o,monospace:!0,openNewWindow:!0,small:!0,children:t},"title"),(0,V.jsx)(x.ZP,{default:!0,monospace:!0,small:!0,children:i},"user"),(0,V.jsx)(x.ZP,{default:!0,monospace:!0,small:!0,children:n},"createdAt"),(0,V.jsx)(x.ZP,{default:!0,monospace:!0,small:!0,children:r||"-"},"lastModified")]})),uuid:"pull-requests"})}),[ie]),ce=_.ZP.git_custom_branches.list({repository:a},{},{pauseFetch:!a}).data,ue=(0,d.useMemo)((function(){return(null===ce||void 0===ce?void 0:ce.git_custom_branches)||[]}),[ce]);(0,d.useEffect)((function(){null!==Y&&void 0!==Y&&Y.compare_branch||null===ue||void 0===ue||!ue.find((function(e){return e.name===(null===r||void 0===r?void 0:r.name)}))||U((function(e){return X(X({},e),{},{compare_branch:null===r||void 0===r?void 0:r.name})}))}),[r,ue,Y]);var se=(0,h.Db)(_.ZP.pull_requests.useCreate(),{onSuccess:function(e){return(0,G.wD)(e,{callback:function(){oe(),U(J)},onErrorCallback:function(e,n){return k({errors:n,response:e})}})}}),ae=(0,u.Z)(se,2),de=ae[0],he=ae[1].isLoading;return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsxs)(p.Z,{mb:L.HN,children:[(0,V.jsx)(p.Z,{mb:1,children:(0,V.jsx)(b.Z,{children:(0,F.vg)(T)})}),(0,V.jsxs)(p.Z,{mt:L.Mq,children:[(0,V.jsxs)(v.ZP,{children:[(0,V.jsxs)("div",{children:[(0,V.jsx)(p.Z,{mb:1,children:(0,V.jsx)(x.ZP,{bold:!0,muted:!0,children:"Remote"})}),i&&(0,V.jsx)(j.Z,{inverted:!0}),!i&&(0,V.jsx)(g.Z,{beforeIcon:(0,V.jsx)(w.VW,{}),beforeIconSize:1.5*L.iI,monospace:!0,onChange:function(e){return y(e.target.value)},placeholder:"Choose remote",value:n||"",children:null===l||void 0===l?void 0:l.map((function(e){var n=e.name;return(0,V.jsx)("option",{value:n,children:n},n)}))})]}),(0,V.jsx)(p.Z,{mr:1}),(0,V.jsxs)("div",{children:[(0,V.jsx)(p.Z,{mb:1,children:(0,V.jsx)(x.ZP,{bold:!0,muted:!0,children:"Branch"})}),(0,V.jsxs)(g.Z,{beforeIcon:(0,V.jsx)(w.I0,{}),beforeIconSize:1.5*L.iI,monospace:!0,onChange:function(e){return I(e.target.value)},placeholder:"Choose branch",value:O||"",children:[(0,V.jsx)("option",{value:""}),null===t||void 0===t?void 0:t.map((function(e){var n=e.name;return(0,V.jsx)("option",{value:n,children:n},n)}))]})]})]}),(0,V.jsx)(p.Z,{mt:L.cd,children:(0,V.jsxs)(f.ZP,{beforeIcon:(0,V.jsx)(w.Bf,{size:2*L.iI}),disabled:!n||!O,loading:ne,onClick:function(){B(null),ee({git_custom_branch:(0,c.Z)({action_type:T},T,{branch:O,remote:n})})},primary:!0,children:[(0,F.vg)(T)," ",n," ",n&&O]})}),(D||A)&&(0,V.jsx)(p.Z,{mt:L.cd,children:(0,V.jsx)(x.ZP,{danger:!!A,default:!!D,monospace:!0,preWrap:!0,children:D||A})})]})]}),(0,V.jsxs)(p.Z,{mb:L.HN,children:[(0,V.jsx)(p.Z,{mb:1,children:(0,V.jsx)(b.Z,{children:"Create pull request"})}),(0,V.jsxs)(p.Z,{mt:L.Mq,children:[i&&(0,V.jsx)(j.Z,{inverted:!0}),!i&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsxs)(v.ZP,{children:[(0,V.jsxs)("div",{children:[(0,V.jsx)(p.Z,{mb:1,children:(0,V.jsx)(x.ZP,{bold:!0,muted:!0,children:"Repository"})}),(0,V.jsx)(g.Z,{beforeIcon:(0,V.jsx)(w.fy,{}),beforeIconSize:1.5*L.iI,monospace:!0,onChange:function(e){return C(e.target.value)},placeholder:"Choose repository",value:a||"",children:null===s||void 0===s?void 0:s.map((function(e){var n=e.name;return(0,V.jsx)("option",{value:n,children:n},n)}))})]}),(0,V.jsx)(p.Z,{mr:1}),(0,V.jsxs)("div",{children:[(0,V.jsx)(p.Z,{mb:1,children:(0,V.jsx)(x.ZP,{bold:!0,muted:!0,children:"Base branch"})}),a&&!ce&&(0,V.jsx)(j.Z,{inverted:!0}),(!a||ce)&&(0,V.jsx)(g.Z,{beforeIcon:(0,V.jsx)(w.I0,{}),beforeIconSize:1.5*L.iI,disabled:!a,monospace:!0,onChange:function(e){return U((function(n){return X(X({},n),{},{base_branch:e.target.value})}))},placeholder:"Choose branch",value:(null===Y||void 0===Y?void 0:Y.base_branch)||"",children:null===ue||void 0===ue?void 0:ue.map((function(e){var n=e.name;return(0,V.jsx)("option",{value:n,children:n},n)}))})]}),(0,V.jsx)(p.Z,{mr:1}),(0,V.jsxs)("div",{children:[(0,V.jsx)(p.Z,{mb:1,children:(0,V.jsx)(x.ZP,{bold:!0,muted:!0,children:"Compare branch"})}),a&&!ce&&(0,V.jsx)(j.Z,{inverted:!0}),(!a||ce||(null===Y||void 0===Y?void 0:Y.compare_branch))&&(0,V.jsxs)(g.Z,{beforeIcon:(0,V.jsx)(w.I0,{}),beforeIconSize:1.5*L.iI,disabled:!a,monospace:!0,onChange:function(e){return U((function(n){return X(X({},n),{},{compare_branch:e.target.value})}))},placeholder:"Choose branch",value:(null===Y||void 0===Y?void 0:Y.compare_branch)||"",children:[!(null!==ue&&void 0!==ue&&ue.length)&&(null===Y||void 0===Y?void 0:Y.compare_branch)&&(0,V.jsx)("option",{value:null===Y||void 0===Y?void 0:Y.compare_branch,children:null===Y||void 0===Y?void 0:Y.compare_branch}),null===ue||void 0===ue?void 0:ue.map((function(e){var n=e.name;return(0,V.jsx)("option",{value:n,children:n},n)}))]})]})]}),(0,V.jsx)(p.Z,{mt:1,children:(0,V.jsx)(P.Z,{label:"Title",monospace:!0,onChange:function(e){return U((function(n){return X(X({},n),{},{title:e.target.value})}))},value:(null===Y||void 0===Y?void 0:Y.title)||""})}),(0,V.jsx)(p.Z,{mt:1,children:(0,V.jsx)(Z.Z,{label:"Description",monospace:!0,onChange:function(e){return U((function(n){return X(X({},n),{},{body:e.target.value})}))},value:(null===Y||void 0===Y?void 0:Y.body)||""})}),(0,V.jsx)(p.Z,{mt:L.cd,children:(0,V.jsx)(f.ZP,{beforeIcon:(0,V.jsx)(w.Bf,{size:2*L.iI}),disabled:!a||!(null!==Y&&void 0!==Y&&Y.title)||!(null!==Y&&void 0!==Y&&Y.base_branch)||!(null!==Y&&void 0!==Y&&Y.compare_branch),loading:he,onClick:function(){de({pull_request:X(X({},Y),{},{repository:a})})},primary:!0,children:"Create new pull request"})})]})]}),(0,V.jsx)(p.Z,{mt:L.Mq,children:(0,V.jsx)(q.Z,{visibleMapping:{0:!a},children:(0,V.jsxs)(W.Z,{noPaddingContent:!0,title:te?"Pull requests (".concat(null===ie||void 0===ie?void 0:ie.length,")"):"Pull requests",children:[!a&&(0,V.jsx)(p.Z,{p:L.cd,children:(0,V.jsx)(x.ZP,{muted:!0,children:"Please select a repository to view open pull requests."})}),a&&(0,V.jsxs)(V.Fragment,{children:[!te&&(0,V.jsx)(p.Z,{p:L.cd,children:(0,V.jsx)(j.Z,{inverted:!0})}),te&&le]})]})})})]}),(0,V.jsxs)(p.Z,{mb:L.HN,children:[(0,V.jsx)(p.Z,{mb:L.HN,children:(0,V.jsx)(m.Z,{light:!0})}),(0,V.jsx)(v.ZP,{children:(0,V.jsx)(f.ZP,{beforeIcon:(0,V.jsx)(w.Hd,{}),linkProps:{href:"/version-control?tab=".concat(M.uuid)},noBackground:!0,noHoverUnderline:!0,sameColorAsText:!0,children:M.uuid})})]})]})},ee=r(94629),ne=r(10553),re=r(70652),te=r(97618),oe=r(38626),ie=oe.default.div.withConfig({displayName:"indexstyle__SpacingStyle",componentId:"sc-el09vr-0"})(["margin-top:","px;"],.5*L.iI),le=r(42122);function ce(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),r.push.apply(r,t)}return r}function ue(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?ce(Object(r),!0).forEach((function(n){(0,c.Z)(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ce(Object(r)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))}))}return e}var se=function(e){var n=e.branch,r=e.fetchBranch,t=e.modifiedFiles,o=e.setSelectedFilePath,i=e.showError,l=e.stagedFiles,c=e.untrackedFiles,s=(0,d.useRef)(null),a=(0,d.useState)(""),g=a[0],P=a[1],y=(0,d.useState)({}),C=y[0],k=y[1],S=(0,d.useState)({}),O=S[0],I=S[1],T=(0,d.useMemo)((function(){return Object.keys(t).concat(Object.keys(c)).sort()}),[t,c]),E=(0,d.useMemo)((function(){return Object.keys(l||{})}),[l]),A=(0,d.useMemo)((function(){return E.length}),[E]),N=(0,d.useMemo)((function(){return Object.keys(C).length===(null===T||void 0===T?void 0:T.length)}),[C,T]),M=(0,d.useMemo)((function(){return Object.keys(O).length===(null===E||void 0===E?void 0:E.length)}),[O,E]),B=(0,d.useMemo)((function(){return{onErrorCallback:function(e,n){return i({errors:n,response:e})}}}),[i]),H=(0,d.useMemo)((function(){return{onSuccess:function(e){return(0,G.wD)(e,ue({callback:function(){r(),k({})}},B))}}}),[r,B]),Y=(0,d.useMemo)((function(){return _.ZP.git_custom_branches.useUpdate(null===n||void 0===n?void 0:n.name)}),[n]),U=(0,h.Db)(Y,H),Q=(0,u.Z)(U,2),X=Q[0],J=Q[1].isLoading,$=(0,h.Db)(Y,H),ee=(0,u.Z)($,2),ne=ee[0],oe=ee[1].isLoading,ce=(0,h.Db)(Y,{onSuccess:function(e){return(0,G.wD)(e,ue({callback:function(){r(),I({})}},B))}}),se=(0,u.Z)(ce,2),ae=se[0],de=se[1].isLoading,he=(0,d.useCallback)((function(e,n,r,t,o){var i=(null===e||void 0===e?void 0:e.length)>=1;return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(z.Z,{block:!0,noHoverUnderline:!0,onClick:function(){r(o?{}:t)},preventDefault:!0,children:(0,V.jsxs)(v.ZP,{alignItems:"center",flexDirection:"row",children:[(0,V.jsx)(re.Z,{checked:i&&o,disabled:!i}),(0,V.jsx)(p.Z,{mr:1}),(0,V.jsx)(x.ZP,{bold:!0,children:i&&o?"Unselect all":"Select all"})]})}),e.map((function(e){return(0,V.jsx)(ie,{children:(0,V.jsx)(z.Z,{block:!0,noHoverUnderline:!0,onClick:function(){return r((function(n){var r=ue({},n);return!(null!==r&&void 0!==r&&r[e])?r[e]=!0:delete r[e],r}))},preventDefault:!0,children:(0,V.jsxs)(v.ZP,{alignItems:"center",flexDirection:"row",children:[(0,V.jsx)(re.Z,{checked:!(null===n||void 0===n||!n[e])}),(0,V.jsx)(p.Z,{mr:1}),(0,V.jsx)(x.ZP,{default:!0,monospace:!0,children:e})]})})},e)}))]})}),[]),fe=(0,d.useMemo)((function(){return(0,le.Qr)(C)}),[C]),me=_.ZP.git_custom_branches.detail("with_logs",{_format:"with_logs"}),ve=me.data,be=me.mutate,ge=(0,d.useMemo)((function(){var e;return(null===ve||void 0===ve||null===(e=ve.git_custom_branch)||void 0===e?void 0:e.logs)||[]}),[ve]),pe=(0,h.Db)(_.ZP.git_custom_branches.useUpdate(null===n||void 0===n?void 0:n.name),{onSuccess:function(e){return(0,G.wD)(e,{callback:function(){be(),r(),P("")},onErrorCallback:function(e,n){return i({errors:n,response:e})}})}}),je=(0,u.Z)(pe,2),xe=je[0],Ze=je[1].isLoading,Pe=(0,d.useMemo)((function(){return(0,V.jsx)(K.Z,{columnFlex:[1,1,1],columns:[{uuid:"Author"},{uuid:"Date"},{uuid:"Message"}],rows:ge.map((function(e){var n=e.author,r=e.date,t=e.message;return[(0,V.jsx)(x.ZP,{default:!0,monospace:!0,small:!0,children:null===n||void 0===n?void 0:n.name},"author"),(0,V.jsx)(x.ZP,{default:!0,monospace:!0,small:!0,children:r},"date"),(0,V.jsx)(x.ZP,{default:!0,monospace:!0,small:!0,children:t},"message")]})),uuid:"git-branch-logs"})}),[ge]);return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(p.Z,{mb:L.HN,children:(0,V.jsxs)(v.ZP,{children:[(0,V.jsxs)(te.Z,{flex:1,flexDirection:"column",children:[(0,V.jsxs)(b.Z,{children:["Not staged ",(null===T||void 0===T?void 0:T.length)>=1&&"(".concat(null===T||void 0===T?void 0:T.length,")")]}),(0,V.jsx)(p.Z,{my:L.cd,children:(0,V.jsx)(m.Z,{light:!0})}),(0,V.jsx)(p.Z,{mb:L.cd,children:(0,V.jsxs)(v.ZP,{flexDirection:"row",children:[(0,V.jsx)(f.ZP,{compact:!0,disabled:fe||de||oe,loading:J,onClick:function(){X({git_custom_branch:{action_type:"add",files:Object.keys(C)}}).then((function(e){var n,r=e.data;null!==r&&void 0!==r&&r.git_custom_branch&&(null===s||void 0===s||null===(n=s.current)||void 0===n||n.focus())}))},primary:!0,children:"Add files"}),(0,V.jsx)(p.Z,{mr:1}),(0,V.jsx)(f.ZP,{compact:!0,disabled:fe||J||de,loading:oe,noBackground:!0,onClick:function(){"undefined"!==typeof location&&window.confirm("Are you sure you want to undo all changes in the selected files?")&&ne({git_custom_branch:{action_type:"checkout",files:Object.keys(C)}})},children:"Checkout files"})]})}),he(T,C,k,ue(ue({},t),c),N)]}),(0,V.jsx)(p.Z,{mr:L.cd}),(0,V.jsxs)(te.Z,{flex:1,flexDirection:"column",children:[(0,V.jsxs)(b.Z,{children:["Staged files ",(null===E||void 0===E?void 0:E.length)>=1&&"(".concat(null===E||void 0===E?void 0:E.length,")")]}),(0,V.jsx)(p.Z,{my:L.cd,children:(0,V.jsx)(m.Z,{light:!0})}),(0,V.jsx)(p.Z,{mb:L.cd,children:(0,V.jsx)(v.ZP,{flexDirection:"row",children:(0,V.jsx)(f.ZP,{compact:!0,disabled:(0,le.Qr)(O)||J||oe,loading:de,onClick:function(){ae({git_custom_branch:{action_type:"reset",files:Object.keys(O)}})},secondary:!0,children:"Reset files"})})}),he(E,O,I,l,M)]})]})}),(0,V.jsxs)(p.Z,{mb:L.HN,children:[(0,V.jsx)(p.Z,{mb:1,children:(0,V.jsx)(b.Z,{children:"Commit"})}),(0,V.jsx)(p.Z,{mb:L.cd,children:(0,V.jsx)(q.Z,{children:(0,V.jsx)(W.Z,{noPaddingContent:!0,title:A>=1?"Staged files (".concat(A,")"):"No staged files",children:null===E||void 0===E?void 0:E.map((function(e){return(0,V.jsx)(p.Z,{my:1,px:L.cd,children:(0,V.jsxs)(v.ZP,{justifyContent:"space-between",children:[(0,V.jsx)(z.Z,{default:!0,monospace:!0,onClick:function(){return o((function(n){return n===e?null:e}))},warning:null===t||void 0===t?void 0:t[e],children:e}),(0,V.jsx)(p.Z,{mr:1}),(null===t||void 0===t?void 0:t[e])&&(0,V.jsx)(x.ZP,{warning:!0,children:"Modified after staging"})]})},e)}))})})}),(0,V.jsx)(Z.Z,{label:"Commit message",monospace:!0,onChange:function(e){return P(e.target.value)},ref:s,value:g||""}),(0,V.jsx)(p.Z,{mt:L.cd,children:(0,V.jsxs)(v.ZP,{alignItems:"center",children:[(0,V.jsxs)(f.ZP,{disabled:0===A||!((null===g||void 0===g?void 0:g.length)>=1),loading:Ze,onClick:function(){xe({git_custom_branch:{action_type:"commit",message:g}})},primary:!0,children:["Commit ",(0,F._6)("file",A,!0)," with message"]}),0===A&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(p.Z,{mr:1}),(0,V.jsx)(x.ZP,{danger:!0,small:!0,children:"Please stage at least 1 file before committing."})]})]})})]}),(0,V.jsx)(p.Z,{mb:L.HN,children:(0,V.jsx)(q.Z,{children:(0,V.jsxs)(W.Z,{noPaddingContent:!0,title:"Logs",children:[!ve&&(0,V.jsx)(p.Z,{p:L.cd,children:(0,V.jsx)(j.Z,{inverted:!0})}),ve&&Pe]})})}),(0,V.jsxs)(p.Z,{mb:L.HN,children:[(0,V.jsx)(p.Z,{mb:L.HN,children:(0,V.jsx)(m.Z,{light:!0})}),(0,V.jsxs)(v.ZP,{children:[(0,V.jsx)(f.ZP,{beforeIcon:(0,V.jsx)(w.Hd,{}),linkProps:{href:"/version-control?tab=".concat(R.uuid)},noBackground:!0,noHoverUnderline:!0,sameColorAsText:!0,children:R.uuid}),(0,V.jsx)(p.Z,{mr:1}),(0,V.jsxs)(f.ZP,{afterIcon:(0,V.jsx)(w.Kw,{}),linkProps:fe?{href:"/version-control?tab=".concat(D.uuid)}:null,noHoverUnderline:!0,primary:fe,sameColorAsText:!0,secondary:!fe,children:["Next: ",D.uuid]})]})]})]})},ae=r(12691),de=r.n(ae),he=r(34376),fe=r(40109),me=r(69419),ve=r(53808);var be=function(e){var n=e.actionRemoteName,r=e.branch,t=e.fetchBranch,o=e.loading,i=e.remotes,l=e.setActionRemoteName,s=e.showError,a=(0,he.useRouter)(),Z=(0,d.useRef)(null),y=(0,d.useState)(null),k=y[0],O=y[1],T=(0,d.useState)(null),E=T[0],A=T[1],N=(0,d.useState)(null),M=N[0],D=N[1],B=(0,d.useState)(null),H=B[0],Y=B[1],U=(0,d.useState)(!1),Q=U[0],X=U[1],J=(0,d.useState)(null),$=J[0],ee=J[1],ne=(0,d.useState)(""),re=ne[0],oe=ne[1],ie=(0,d.useState)(""),le=ie[0],ce=ie[1],ue=(0,d.useState)(null),se=ue[0],ae=ue[1],be=(0,d.useMemo)((function(){return!(null===r||void 0===r||!r.name)}),[r]),ge=(0,d.useMemo)((function(){return null===r||void 0===r?void 0:r.access_token_exists}),[r]);(0,d.useEffect)((function(){var e,n;null!==r&&void 0!==r&&null!==(e=r.sync_config)&&void 0!==e&&e.repo_path&&null===se&&ae(null===r||void 0===r||null===(n=r.sync_config)||void 0===n?void 0:n.repo_path)}),[r,se]);var pe=(0,d.useMemo)((function(){var e,r;return null===i||void 0===i||null===(e=i.find((function(e){return e.name===n})))||void 0===e||null===(r=e.refs)||void 0===r?void 0:r.map((function(e){var n=e.name.split("/");return{name:n[n.length-1]}}))}),[n,i]),je=(0,h.Db)(_.ZP.syncs.useCreate(),{onSuccess:function(e){return(0,G.wD)(e,{callback:function(){t(),X(!1)},onErrorCallback:function(e,n){return s({errors:n,response:e})}})}}),xe=(0,u.Z)(je,2),Ze=xe[0],Pe=xe[1].isLoading,ye=(0,h.Db)(_.ZP.oauths.useUpdate("github"),{onSuccess:function(e){return(0,G.wD)(e,{callback:function(){return window.location.href=window.location.href.split("?")[0]},onErrorCallback:function(e,n){return s({errors:n,response:e})}})}}),_e=(0,u.Z)(ye,2),we=_e[0],Ce=_e[1].isLoading,ke=(0,h.Db)(_.ZP.git_custom_branches.useUpdate(null===r||void 0===r?void 0:r.name),{onSuccess:function(e){return(0,G.wD)(e,{callback:function(e){var n=e.git_custom_branch,r=n.error,o=n.progress;r?(A(r),Y(null)):(t(),O(null),A(null),D(null),Y(o))},onErrorCallback:function(e,n){return s({errors:n,response:e})}})}}),Se=(0,u.Z)(ke,2),Oe=Se[0],Ie=Se[1].isLoading,Te=(0,h.Db)(_.ZP.git_custom_branches.useUpdate(null===r||void 0===r?void 0:r.name),{onSuccess:function(e){return(0,G.wD)(e,{callback:function(){t(),oe(""),ce("")},onErrorCallback:function(e,n){return s({errors:n,response:e})}})}}),Ee=(0,u.Z)(Te,2),Ae=Ee[0],Ne=Ee[1].isLoading,Re=(0,h.Db)(_.ZP.git_custom_branches.useUpdate(null===r||void 0===r?void 0:r.name),{onSuccess:function(e){return(0,G.wD)(e,{callback:function(){t(),ee(null)},onErrorCallback:function(e,n){ee(null),s({errors:n,response:e})}})}}),Me=(0,u.Z)(Re,2),De=Me[0],Be=Me[1].isLoading,He=_.ZP.oauths.detail(fe.h.GITHUB,{redirect_uri:encodeURIComponent(window.location.href)}),Le=He.data,Fe=He.mutate,Ge=(0,d.useMemo)((function(){return(null===Le||void 0===Le?void 0:Le.oauth)||{}}),[Le]),Ve=(0,h.Db)(_.ZP.oauths.useCreate(),{onSuccess:function(e){return(0,G.wD)(e,{callback:function(){Fe()},onErrorCallback:function(e,n){s({errors:n,response:e})}})}}),Ye=(0,u.Z)(Ve,2),Ue=Ye[0],qe=Ye[1].isLoading,We=(0,me.iV)()||{},ze=We.access_token,Ke=We.provider;(0,d.useEffect)((function(){!Ge||null!==Ge&&void 0!==Ge&&Ge.authenticated||!ze||Ue({oauth:{provider:Ke||fe.h.GITHUB,token:ze}})}),[ze,Ue,Ge,Ke]);var Qe=(0,d.useMemo)((function(){return null===i||void 0===i?void 0:i.map((function(e){var r=e.name,t=e.refs,o=e.urls;return(0,V.jsxs)(p.Z,{mt:L.Mq,children:[(0,V.jsx)(p.Z,{mb:1,children:(0,V.jsxs)(v.ZP,{alignItems:"center",justifyContent:"space-between",children:[(0,V.jsxs)(te.Z,{alignItems:"center",children:[(0,V.jsx)(x.ZP,{bold:!0,children:r}),(0,V.jsx)(p.Z,{mx:1,children:(0,V.jsx)(w._Q,{muted:!0})}),null===o||void 0===o?void 0:o.map((function(e){return(0,V.jsx)(p.Z,{mr:1,children:(0,V.jsx)(x.ZP,{default:!0,monospace:!0,small:!0,children:e})},e)}))]}),(0,V.jsx)(p.Z,{mr:1}),(0,V.jsx)(f.ZP,{compact:!0,disabled:Be&&$!==r,iconOnly:!0,loading:Be&&$===r,noBackground:!0,onClick:function(){"undefined"!==typeof location&&window.confirm("Are you sure you want to remove remote ".concat(r,"?"))&&(ee(r),De({git_custom_branch:{action_type:"remove_remote",remote:{name:r}}}).then((function(){n===r&&l(null)})))},small:!0,title:"Remote remote ".concat(r),children:(0,V.jsx)(w.rF,{})})]})}),(0,V.jsx)(q.Z,{children:(0,V.jsxs)(W.Z,{noPaddingContent:!0,smallTitle:!0,title:"Refs (".concat(null===t||void 0===t?void 0:t.length,")"),children:[0===(null===t||void 0===t?void 0:t.length)&&(0,V.jsx)(p.Z,{p:L.cd,children:(0,V.jsx)(x.ZP,{muted:!0,children:"This remote has no refs."})}),(null===t||void 0===t?void 0:t.length)>=1&&(0,V.jsx)(K.Z,{columnFlex:[1,1,1],columns:[{uuid:"Ref"},{uuid:"Author"},{uuid:"Date"},{uuid:"Message"}],rows:t.map((function(e){var n,r=e.commit,t=e.name;return[(0,V.jsx)(x.ZP,{default:!0,monospace:!0,small:!0,children:t},"ref-name"),(0,V.jsx)(x.ZP,{default:!0,monospace:!0,small:!0,children:null===r||void 0===r||null===(n=r.author)||void 0===n?void 0:n.name},"author"),(0,V.jsx)(x.ZP,{default:!0,monospace:!0,small:!0,children:null===r||void 0===r?void 0:r.date},"date"),(0,V.jsx)(x.ZP,{default:!0,monospace:!0,small:!0,children:null===r||void 0===r?void 0:r.message},"message")]})),uuid:"git-branch-remotes-refs"})]})}),(0,V.jsx)(p.Z,{mt:L.Mq,children:(0,V.jsx)(m.Z,{light:!0})})]},r)}))}),[Be,$,i,De]);return(0,V.jsxs)(V.Fragment,{children:[Le&&(0,V.jsxs)(p.Z,{mb:L.HN,children:[(null===Ge||void 0===Ge?void 0:Ge.authenticated)&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(f.ZP,{beforeIcon:(0,V.jsx)(w.fy,{size:2*L.iI}),disabled:!0,children:"Successfully authenticated with GitHub"}),(0,V.jsx)(p.Z,{my:1,children:(0,V.jsx)(x.ZP,{muted:!0,children:"You can pull, push, and create pull requests on GitHub."})}),(0,V.jsx)(f.ZP,{loading:Ce,onClick:function(){return we({oauth:{action_type:"reset"}})},warning:!0,children:"Reset GitHub authentication"})]}),!(null!==Ge&&void 0!==Ge&&Ge.authenticated)&&(null===Ge||void 0===Ge?void 0:Ge.url)&&(0,V.jsxs)(V.Fragment,{children:[ge&&(0,V.jsxs)(p.Z,{mb:2,children:[(0,V.jsx)(f.ZP,{disabled:!0,children:"Using access token from Git Settings"}),(0,V.jsx)(p.Z,{mt:1,children:(0,V.jsx)(x.ZP,{muted:!0,children:"Some features may not work unless you authenticate with GitHub."})})]}),(0,V.jsx)(f.ZP,{beforeIcon:(0,V.jsx)(w.fy,{size:2*L.iI}),loading:qe,onClick:function(){var e=null===Ge||void 0===Ge?void 0:Ge.url,n=(0,me.iV)(e).state;(0,ve.t8)(n,(null===Ge||void 0===Ge?void 0:Ge.redirect_query_params)||{}),a.push(e)},primary:!0,children:"Authenticate with GitHub"}),(0,V.jsx)(p.Z,{mt:1,children:(0,V.jsx)(x.ZP,{muted:!0,children:"Authenticating with GitHub will allow you to pull, push, and create pull requests on GitHub."})})]})]}),(0,V.jsxs)(p.Z,{mb:L.HN,children:[(0,V.jsx)(b.Z,{children:"Setup"}),(0,V.jsxs)(p.Z,{mt:L.Mq,children:[(0,V.jsxs)(p.Z,{mb:1,children:[(0,V.jsx)(x.ZP,{bold:!0,large:!0,children:be?"Git init directory":"Initialize Git directory"}),!be&&(0,V.jsxs)(x.ZP,{muted:!0,children:["Enter the directory you want to initialize git in. For example, ",(0,V.jsx)(x.ZP,{bold:!0,inline:!0,monospace:!0,muted:!0,children:"/home/src/default_repo"}),"."]}),be&&(0,V.jsxs)(x.ZP,{muted:!0,children:["If the directory below is blank, then the current working directory will be used to initialize git.",(0,V.jsx)("br",{}),"If git hasn\u2019t been initialized in the directory below, Mage will automatically run git init for you."]})]}),(0,V.jsxs)(v.ZP,{alignItems:"center",children:[(0,V.jsx)(P.Z,{disabled:be&&!Q,label:"Git directory",monospace:!0,onChange:function(e){return ae(e.target.value)},ref:Z,value:se||""}),(0,V.jsx)(p.Z,{mr:1}),(!be||Q)&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(f.ZP,{compact:!0,disabled:!be&&!se,loading:Pe,onClick:function(){Ze({sync:{repo_path:se}})},primary:!0,small:!0,children:"Save"}),be&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(p.Z,{mr:1}),(0,V.jsx)(z.Z,{onClick:function(){return X(!1)},preventDefault:!0,sameColorAsText:!0,small:!0,children:"Cancel"})]})]}),be&&!Q&&(0,V.jsx)(z.Z,{onClick:function(){X(!0),setTimeout((function(){var e;return null===Z||void 0===Z||null===(e=Z.current)||void 0===e?void 0:e.focus()}),1)},preventDefault:!0,sameColorAsText:!0,small:!0,children:"Edit"})]})]})]}),be&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsxs)(p.Z,{mb:L.HN,children:[(0,V.jsxs)(b.Z,{children:["Remotes",!o&&i?" (".concat(null===i||void 0===i?void 0:i.length,")"):""]}),o&&(0,V.jsx)(p.Z,{mt:L.Mq,children:(0,V.jsx)(j.Z,{inverted:!0})}),!o&&Qe,(0,V.jsx)(p.Z,{mt:L.Mq,children:(0,V.jsxs)(v.ZP,{alignItems:"flex-start",children:[(0,V.jsx)(P.Z,{label:"New remote name",monospace:!0,onChange:function(e){var n;return oe(null===e||void 0===e||null===(n=e.target)||void 0===n?void 0:n.value)},value:re||""}),(0,V.jsx)(p.Z,{mr:1}),(0,V.jsxs)(v.ZP,{flexDirection:"column",children:[(0,V.jsx)(P.Z,{label:"Remote URL",monospace:!0,onChange:function(e){var n;return ce(null===e||void 0===e||null===(n=e.target)||void 0===n?void 0:n.value)},value:le||""}),(0,V.jsx)(p.Z,{mt:1,children:(0,V.jsxs)(x.ZP,{muted:!0,small:!0,children:["Use the https URL if you",(0,V.jsx)("br",{}),"authenticated with GitHub above."]})})]}),(0,V.jsx)(p.Z,{mr:1}),(0,V.jsx)(f.ZP,{beforeIcon:(0,V.jsx)(w.mm,{size:2*L.iI}),disabled:!re||!le,loading:Ne,onClick:function(){Ae({git_custom_branch:{action_type:"add_remote",remote:{name:re,url:le}}})},primary:!0,children:"Create new remote"})]})})]}),(0,V.jsxs)(p.Z,{mb:L.HN,children:[(0,V.jsx)(b.Z,{children:"Actions"}),(0,V.jsxs)(p.Z,{mt:L.Mq,children:[(0,V.jsxs)(p.Z,{mb:L.Mq,children:[(0,V.jsx)(p.Z,{mb:1,children:(0,V.jsx)(x.ZP,{bold:!0,muted:!0,children:"Current branch"})}),(null===r||void 0===r?void 0:r.name)&&(0,V.jsxs)(v.ZP,{alignItems:"center",children:[(0,V.jsx)(x.ZP,{monospace:!0,children:null===r||void 0===r?void 0:r.name}),(0,V.jsx)(p.Z,{mr:L.cd}),(0,V.jsx)(de(),{href:"/version-control?tab=".concat(R.uuid),passHref:!0,children:(0,V.jsx)(z.Z,{small:!0,children:"Switch branch"})})]})]}),(0,V.jsxs)(v.ZP,{children:[(0,V.jsxs)(g.Z,{onChange:function(e){return D(e.target.value)},placeholder:"Action",value:M||"",children:[(0,V.jsx)("option",{value:S,children:(0,F.vg)(S)}),(0,V.jsx)("option",{value:I,children:(0,F.vg)(I)}),(0,V.jsx)("option",{value:"reset",children:(0,F.vg)("reset --hard")}),(0,V.jsx)("option",{value:C,children:(0,F.vg)(C)})]}),(0,V.jsx)(p.Z,{mr:1}),(0,V.jsx)(g.Z,{beforeIcon:(0,V.jsx)(w.VW,{}),beforeIconSize:1.5*L.iI,monospace:!0,onChange:function(e){return l(e.target.value)},placeholder:"Remote",value:n||"",children:null===i||void 0===i?void 0:i.map((function(e){var n=e.name;return(0,V.jsx)("option",{value:n,children:n},n)}))}),![S,C].includes(M)&&(0,V.jsx)(p.Z,{ml:1,children:(0,V.jsxs)(g.Z,{beforeIcon:(0,V.jsx)(w.I0,{}),beforeIconSize:1.5*L.iI,monospace:!0,onChange:function(e){return O(e.target.value)},value:k||"",children:[(0,V.jsx)("option",{value:"",children:"All branches"}),null===pe||void 0===pe?void 0:pe.map((function(e){var n=e.name;return(0,V.jsx)("option",{value:n,children:n},n)}))]})})]}),(0,V.jsxs)(p.Z,{mt:L.cd,children:[(0,V.jsx)(f.ZP,{beforeIcon:(0,V.jsx)(w.Bf,{size:2*L.iI}),disabled:!M||!n,loading:Ie,onClick:function(){Y(null),(M!==C||"undefined"!==typeof location&&window.confirm("Are you sure you want to clone remote ".concat(n,"? This will ")+"overwrite all your local changes and may reset any settings you may have configured for your local Git repo. This action cannot be undone."))&&Oe({git_custom_branch:(0,c.Z)({action_type:M},M,{branch:k,remote:n})})},primary:!0,children:M?(0,F.vg)(M):"Execute action"}),(H||E)&&(0,V.jsx)(p.Z,{mt:L.cd,children:(0,V.jsx)(x.ZP,{danger:!!E,default:!!H,monospace:!0,preWrap:!0,children:H||E})})]})]})]}),(0,V.jsxs)(p.Z,{mb:L.HN,children:[(0,V.jsx)(p.Z,{mb:L.HN,children:(0,V.jsx)(m.Z,{light:!0})}),(0,V.jsx)(v.ZP,{children:(0,V.jsxs)(f.ZP,{afterIcon:(0,V.jsx)(w.Kw,{}),linkProps:{href:"/version-control?tab=".concat(R.uuid)},noHoverUnderline:!0,sameColorAsText:!0,secondary:!0,children:["Next: ",R.uuid]})})]})]})]})},ge=r(95363),pe=oe.default.div.withConfig({displayName:"indexstyle__DiffContainerStyle",componentId:"sc-1fo4nus-0"})(["pre{font-family:",";}"],ge.Vp),je={codeFoldGutter:{},content:{},contentText:{},diffAdded:{},diffContainer:{},diffRemoved:{},emptyGutter:{},emptyLine:{},gutter:{},highlightedGutter:{},highlightedLine:{},line:{},lineNumber:{},marker:{},splitView:{},titleBlock:{},variables:{dark:{addedBackground:"#044B53",addedColor:"white",addedGutterBackground:"#034148",addedGutterColor:"#8c8c8c",codeFoldBackground:"#262831",codeFoldContentColor:"#555a7b",codeFoldGutterBackground:"#21232b",diffViewerBackground:"#2e303c",diffViewerColor:"#FFF",diffViewerTitleBackground:"#2f323e",diffViewerTitleBorderColor:"#353846",diffViewerTitleColor:"#555a7b",emptyLineBackground:"#363946",gutterBackground:"#2c2f3a",gutterBackgroundDark:"#262933",gutterColor:"#464c67",highlightBackground:"#2a3967",highlightGutterBackground:"#2d4077",removedBackground:"#632F34",removedColor:"white",removedGutterBackground:"#632b30",removedGutterColor:"#8c8c8c",wordAddedBackground:"#055d67",wordRemovedBackground:"#7d383f"},light:{addedBackground:"#e6ffed",addedColor:"#24292e",addedGutterBackground:"#cdffd8",addedGutterColor:"#212529",codeFoldBackground:"#f1f8ff",codeFoldContentColor:"#212529",codeFoldGutterBackground:"#dbedff",diffViewerBackground:"#fff",diffViewerColor:"212529",diffViewerTitleBackground:"#fafbfc",diffViewerTitleBorderColor:"#eee",diffViewerTitleColor:"#212529",emptyLineBackground:"#fafbfc",gutterBackground:"#f7f7f7",gutterBackgroundDark:"#f3f1f1",gutterColor:"#212529",highlightBackground:"#fffbdd",highlightGutterBackground:"#fff5b1",removedBackground:"#ffeef0",removedColor:"#24292e",removedGutterBackground:"#ffdce0",removedGutterColor:"#212529",wordAddedBackground:"#acf2bd",wordRemovedBackground:"#fdb8c0"}},wordAdded:{},wordDiff:{},wordRemoved:{}},xe=r(53005),Ze=r(15610),Pe=r(86735),ye=r(23780);function _e(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),r.push.apply(r,t)}return r}function we(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?_e(Object(r),!0).forEach((function(n){(0,c.Z)(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_e(Object(r)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))}))}return e}var Ce=function(){var e=(0,d.useRef)(null),n=(0,d.useRef)(null),r=(0,ye.VI)(null,{},[],{uuid:"VersionControlPage"}),t=(0,u.Z)(r,1)[0],o=(0,d.useState)(null),i=o[0],l=o[1],h=(0,d.useState)(null),f=h[0],v=h[1],b=(0,d.useState)(H[0]),Z=b[0],P=b[1],w=(0,me.iV)();(0,d.useEffect)((function(){null!==w&&void 0!==w&&w.tab&&P(H.find((function(e){return e.uuid===(null===w||void 0===w?void 0:w.tab)})))}),[w]);var C=_.ZP.git_custom_branches.list({include_remote_branches:1}),k=C.data,S=C.mutate,O=(0,d.useMemo)((function(){return null===k||void 0===k?void 0:k.git_custom_branches}),[k]),I=_.ZP.git_custom_branches.detail("current",{_format:"with_files"}),T=I.data,E=I.mutate,F=(0,d.useMemo)((function(){return(null===T||void 0===T?void 0:T.git_custom_branch)||{}}),[T]),G=(0,d.useMemo)((function(){return(null===F||void 0===F?void 0:F.files)||[]}),[F]),q=_.ZP.git_custom_branches.detail("with_remotes",{_format:"with_remotes"}),W=q.data,z=q.mutate,K=(0,d.useMemo)((function(){return null===W||void 0===W?void 0:W.git_custom_branch}),[W]),Q=(0,d.useMemo)((function(){return(null===K||void 0===K?void 0:K.remotes)||[]}),[K]),X=(0,d.useState)(null),J=X[0],re=X[1],te=(0,d.useCallback)((function(e){(0,ve.t8)(A,e),re(e)}),[]);(0,d.useEffect)((function(){var e=(0,ve.U2)(A,null);if(W&&e){var n=null===Q||void 0===Q?void 0:Q.find((function(n){return n.name===e}));te(n?null===n||void 0===n?void 0:n.name:null)}}),[W,Q,te]);var oe=(0,d.useState)((0,ve.U2)(N,"")),ie=oe[0],ce=oe[1],ue=(0,d.useCallback)((function(e){(0,ve.t8)(N,e),ce(e)}),[]),ae=(0,d.useMemo)((function(){return(0,Pe.Tw)(Q.reduce((function(e,n){var r;return e.concat((null===n||void 0===n||null===(r=n.repository_names)||void 0===r?void 0:r.map((function(e){var r;return{name:e,url:null===n||void 0===n||null===(r=n.urls)||void 0===r?void 0:r[0]}})))||[])}),[]),(function(e){return e.name}))}),[Q]);(0,d.useEffect)((function(){var e=(0,ve.U2)(N,null);if(W&&e){var n=null===ae||void 0===ae?void 0:ae.find((function(n){return n.name===e}));ue(n?null===n||void 0===n?void 0:n.name:null)}}),[W,ae,ue]);var de=_.ZP.git_files.detail(f?encodeURIComponent(f):null,{base_branch:i}),he=de.data,fe=de.mutate,ge=(0,d.useMemo)((function(){return null===he||void 0===he?void 0:he.git_file}),[he]);(0,d.useEffect)((function(){i&&fe()}),[i,fe]),(0,d.useEffect)((function(){null!==he&&void 0!==he&&he.error&&t({errors:null===he||void 0===he?void 0:he.error,response:he})}),[he,t]);var _e=(0,d.useMemo)((function(){var e,n,r;return{modifiedFiles:null===F||void 0===F||null===(e=F.modified_files)||void 0===e?void 0:e.reduce((function(e,n){return we(we({},e),{},(0,c.Z)({},n,!0))}),{}),stagedFiles:null===F||void 0===F||null===(n=F.staged_files)||void 0===n?void 0:n.reduce((function(e,n){return we(we({},e),{},(0,c.Z)({},n,!0))}),{}),untrackedFiles:null===F||void 0===F||null===(r=F.untracked_files)||void 0===r?void 0:r.reduce((function(e,n){return we(we({},e),{},(0,c.Z)({},n,!0))}),{})}}),[F]),Ce=_e.modifiedFiles,ke=void 0===Ce?{}:Ce,Se=_e.stagedFiles,Oe=void 0===Se?{}:Se,Ie=_e.untrackedFiles,Te=void 0===Ie?{}:Ie;(0,d.useEffect)((function(){f&&(0,le.Qr)(ke)&&(0,le.Qr)(Oe)&&(0,le.Qr)(Te)&&v(null)}),[ke,f,Oe,Te]);var Ee=(0,d.useMemo)((function(){return(null===G||void 0===G?void 0:G.length)>=1?(0,V.jsx)(ne.Z,{allowEmptyFolders:!0,disableContextMenu:!0,fetchFileTree:E,files:G,isFileDisabled:function(){return!1},onClickFile:function(e){v((function(r){if(!r||r!==e){var t;if(!i)null===n||void 0===n||null===(t=n.current)||void 0===t||t.focus();return e}return null}))},ref:e,renderAfterContent:function(e){var n,r,t=e.children,o=(null===t||void 0===t?void 0:t.length)>=1,i=(0,xe.a9)(e);o&&(i="".concat(i,"/"));var l={};return null!==ke&&void 0!==ke&&ke[i]?(n="M",r="Modified",l.warning=!0):null!==Te&&void 0!==Te&&Te[i]?(n="U",r="Untracked",l.danger=!0):null!==Oe&&void 0!==Oe&&Oe[i]&&(n="S",r="Staged",l.success=!0),o&&!n?null:(0,V.jsx)(p.Z,{mx:1,children:(0,V.jsx)(y.Z,{appearBefore:!0,label:r,widthFitContent:!0,children:(0,V.jsx)(x.ZP,we(we({},l),{},{monospace:!0,rightAligned:!0,small:!0,children:n}))})})},useRootFolder:!0}):(0,V.jsx)(p.Z,{p:L.cd,children:(0,V.jsx)(x.ZP,{monospace:!0,muted:!0,children:"No files modified"})})}),[i,E,e,G,ke,n,v,Oe,Te]),Ae=(0,d.useMemo)((function(){return!he||!ge||f&&(null===ge||void 0===ge?void 0:ge.filename)!==f}),[he,ge,f]),Ne=(0,d.useMemo)((function(){if(!f)return null;var e=ge||{},n=e.content,r=e.content_from_base;return(0,V.jsxs)(pe,{children:[!i&&(0,V.jsx)(p.Z,{p:L.cd,children:(0,V.jsx)(x.ZP,{muted:!0,children:"Please select a base branch to see the file diffs."})}),(null===ge||void 0===ge?void 0:ge.error)&&(0,V.jsx)(p.Z,{p:L.cd,children:(0,V.jsx)(x.ZP,{danger:!0,monospace:!0,preWrap:!0,children:null===ge||void 0===ge?void 0:ge.error})}),i&&!(null!==ge&&void 0!==ge&&ge.error)&&(0,V.jsxs)(V.Fragment,{children:[Ae&&(0,V.jsx)(p.Z,{p:L.cd,children:(0,V.jsx)(j.Z,{inverted:!0})}),!Ae&&(0,V.jsx)(a(),{compareMethod:s.DiffMethod.WORDS,newValue:n||"",oldValue:r||"",renderContent:function(e){return(0,V.jsx)(x.ZP,{monospace:!0,children:e})},splitView:!0,styles:je,useDarkTheme:!0})]})]})}),[i,ge,Ae,f]),Re=(0,d.useMemo)((function(){return T&&null!==F&&void 0!==F&&F.name?H:H.slice(0,1)}),[F,T]),Me=(0,d.useMemo)((function(){return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)("div",{style:{marginBottom:.5*L.iI,marginTop:.5*L.iI},children:(0,V.jsx)(U.Z,{compact:!0,onClickTab:function(e){var n=e.uuid;(0,Ze.u7)({tab:n})},selectedTabUUID:null===Z||void 0===Z?void 0:Z.uuid,tabs:Re})}),(0,V.jsx)(m.Z,{light:!0})]})}),[Z,Re]),De=(0,d.useMemo)((function(){return(0,V.jsx)(be,{actionRemoteName:J,branch:F,fetchBranch:function(){E(),z()},loading:!W,remotes:Q,setActionRemoteName:te,showError:t})}),[J,F,W,E,z,Q,te,t]),Be=(0,d.useMemo)((function(){return(0,V.jsx)(Y,{actionRemoteName:J,branch:F,branches:O,fetchBranch:E,fetchBranches:S,remotes:Q,setActionRemoteName:te,showError:t})}),[J,F,O,E,S,Q,te,t]),He=(0,d.useMemo)((function(){return(0,V.jsx)(se,{branch:F,fetchBranch:E,modifiedFiles:ke,setSelectedFilePath:v,showError:t,stagedFiles:Oe,untrackedFiles:Te})}),[F,E,ke,v,t,Oe,Te]),Le=(0,d.useMemo)((function(){return(0,V.jsx)($,{actionRemoteName:J,branch:F,branches:O,fetchBranch:E,loading:!W,modifiedFiles:ke,remotes:Q,repositories:ae,repositoryName:ie,setActionRemoteName:te,setRepositoryName:ue,showError:t,stagedFiles:Oe})}),[J,F,O,W,E,ke,Q,ae,ie,te,ue,t,Oe]);return(0,V.jsx)(ee.Z,{after:Ne,afterHidden:!f,afterWidth:40*L.iI,before:(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(p.Z,{p:1,children:(0,V.jsx)(g.Z,{compact:!0,label:"Base branch",onChange:function(e){return l(e.target.value)},ref:n,small:!0,value:i||"",children:null===O||void 0===O?void 0:O.map((function(e){var n=e.name;return(0,V.jsx)("option",{value:n,children:n},n)}))})}),Ee]}),mainContainerHeader:Me,title:"Version control",uuid:"Version control/index",children:(0,V.jsxs)(p.Z,{p:L.cd,children:[!T&&(0,V.jsx)(j.Z,{inverted:!0}),T&&(0,V.jsxs)(V.Fragment,{children:[B.uuid===(null===Z||void 0===Z?void 0:Z.uuid)&&De,R.uuid===(null===Z||void 0===Z?void 0:Z.uuid)&&Be,M.uuid===(null===Z||void 0===Z?void 0:Z.uuid)&&He,D.uuid===(null===Z||void 0===Z?void 0:Z.uuid)&&Le]})]})})};function ke(){return(0,V.jsx)(Ce,{})}ke.getInitialProps=(0,t.Z)(i().mark((function e(){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{});case 1:case"end":return e.stop()}}),e)})));var Se=(0,l.Z)(ke)},75302:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/version-control",function(){return r(58024)}])}},function(e){e.O(0,[2678,1154,844,7011,6965,4267,6990,8487,8264,7858,5499,4366,553,9774,2888,179],(function(){return n=75302,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
|
mage_ai/server/frontend_dist_base_path_template/_next/static/gDn6inKdLyj35NvURBSCV/_buildManifest.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
self.__BUILD_MANIFEST=function(s,e,i,a,t,c,n,p,l,u,g,k,b,r,d,f,o,h,j,m,w,_,v,y,I,B,F,A,D,E,L,M,N,S,T,U,C,x,P,q,z,G,H,J,K,O,Q,R,V,W,X,Y,Z){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":["static/chunks/pages/index-a22f976b85beef2d.js"],"/_error":["static/chunks/pages/_error-e989623bffcbf724.js"],"/block-layout":[s,F,e,b,d,h,m,_,A,N,i,a,n,f,v,S,C,"static/chunks/pages/block-layout-b926f6eb1ee9a53b.js"],"/compute":[s,e,t,g,i,a,c,n,p,l,k,r,y,"static/chunks/pages/compute-a9402b51e9fe748e.js"],"/files":[s,e,t,b,D,i,a,c,n,p,l,f,E,x,H,"static/chunks/pages/files-85cecae037fd7a70.js"],"/global-data-products":[s,e,t,i,a,c,n,p,l,I,T,J,"static/chunks/pages/global-data-products-4d046f15202a1c8d.js"],"/global-data-products/[...slug]":[s,e,t,i,a,c,n,p,l,I,T,J,"static/chunks/pages/global-data-products/[...slug]-c3c9523ea8072c11.js"],"/global-hooks":[s,e,t,i,a,c,n,p,l,K,"static/chunks/pages/global-hooks-3da370825153056c.js"],"/global-hooks/[...slug]":[s,e,t,i,a,c,n,p,K,"static/chunks/pages/global-hooks/[...slug]-286133386c97a2b6.js"],"/manage":[s,e,t,b,D,i,a,c,n,p,l,f,E,"static/chunks/pages/manage-1feebec1124123fc.js"],"/manage/files":[s,e,t,b,D,i,a,c,n,p,l,f,E,x,H,"static/chunks/pages/manage/files-39b73da5a15590f6.js"],"/manage/settings":[s,e,t,b,i,a,c,n,f,x,"static/chunks/pages/manage/settings-666748ff5d101411.js"],"/manage/users":[s,e,t,i,a,c,n,p,l,"static/chunks/pages/manage/users-ed509c75cf23f0f5.js"],"/manage/users/new":[s,e,t,i,a,c,n,P,"static/chunks/pages/manage/users/new-1932ce64823b372b.js"],"/manage/users/[user]":[s,e,t,i,a,c,n,p,l,P,"static/chunks/pages/manage/users/[user]-be27631e67dbe070.js"],"/oauth":[s,e,t,i,a,c,"static/chunks/pages/oauth-e9b8f19c30381c28.js"],"/overview":[s,F,e,t,g,b,o,d,h,m,_,L,A,N,i,a,c,n,p,l,k,r,f,w,v,y,M,S,C,O,"static/chunks/pages/overview-7b2ba2d5405c05fe.js"],"/pipeline-runs":[s,e,t,i,a,c,n,p,l,I,q,"static/chunks/pages/pipeline-runs-70fc3351bd11025f.js"],"/pipelines":[s,e,t,g,b,o,d,h,L,i,a,c,n,p,l,k,r,f,w,v,y,M,q,O,"static/chunks/pages/pipelines-e82a763d742cc034.js"],"/pipelines/[pipeline]":["static/chunks/pages/pipelines/[pipeline]-02c843b9c8418bb5.js"],"/pipelines/[pipeline]/backfills":[s,e,t,i,a,c,n,p,l,u,"static/chunks/pages/pipelines/[pipeline]/backfills-c9cf383bc13ce7b8.js"],"/pipelines/[pipeline]/backfills/[...slug]":[s,e,t,g,o,B,U,i,a,c,n,p,l,u,k,r,I,z,"static/chunks/pages/pipelines/[pipeline]/backfills/[...slug]-6ee3b88a5bb4ce94.js"],"/pipelines/[pipeline]/dashboard":[s,F,e,t,b,d,h,m,_,A,N,i,a,c,n,u,f,v,S,C,"static/chunks/pages/pipelines/[pipeline]/dashboard-7bca6f718b939934.js"],"/pipelines/[pipeline]/edit":[s,F,e,t,g,b,o,d,h,m,_,B,L,A,D,N,"static/chunks/6563-5b3b97c9088baf69.js",i,a,c,n,p,l,r,w,v,y,M,E,S,Q,"static/chunks/pages/pipelines/[pipeline]/edit-c119f630038b0685.js"],"/pipelines/[pipeline]/logs":[s,e,t,g,h,U,i,a,c,n,p,l,u,k,"static/chunks/pages/pipelines/[pipeline]/logs-146051325c92d742.js"],"/pipelines/[pipeline]/monitors":[s,e,t,m,_,i,a,c,n,u,"static/chunks/pages/pipelines/[pipeline]/monitors-25dbd73201d99e80.js"],"/pipelines/[pipeline]/monitors/block-runs":[s,e,t,m,_,i,a,c,n,u,"static/chunks/pages/pipelines/[pipeline]/monitors/block-runs-15d307e6ba934a56.js"],"/pipelines/[pipeline]/monitors/block-runtime":[s,F,e,t,m,_,"static/chunks/6285-648f9a732e100b2f.js",i,a,c,n,u,"static/chunks/pages/pipelines/[pipeline]/monitors/block-runtime-f6196e563b960e5c.js"],"/pipelines/[pipeline]/runs":[s,e,t,g,o,B,i,a,c,n,p,l,u,k,r,I,R,"static/chunks/pages/pipelines/[pipeline]/runs-ec3c45cfa027db58.js"],"/pipelines/[pipeline]/runs/[run]":[s,e,t,g,o,h,m,B,A,i,a,c,n,p,l,u,k,r,R,"static/chunks/pages/pipelines/[pipeline]/runs/[run]-06e55db757959ef8.js"],"/pipelines/[pipeline]/settings":[s,e,t,i,a,c,n,u,G,"static/chunks/pages/pipelines/[pipeline]/settings-495e877aa7ed709e.js"],"/pipelines/[pipeline]/syncs":[s,e,t,i,a,c,n,p,l,u,"static/chunks/pages/pipelines/[pipeline]/syncs-49adfeed5157d92b.js"],"/pipelines/[pipeline]/triggers":[s,e,t,g,o,d,B,U,V,i,a,c,n,p,l,u,k,r,w,T,q,G,z,W,"static/chunks/pages/pipelines/[pipeline]/triggers-0886f6320fef7131.js"],"/pipelines/[pipeline]/triggers/[...slug]":[s,e,t,g,o,d,B,U,V,i,a,c,n,p,l,u,k,r,w,I,G,z,W,"static/chunks/pages/pipelines/[pipeline]/triggers/[...slug]-6143e028225390f5.js"],"/settings":["static/chunks/pages/settings-0f0121db7f5ff93d.js"],"/settings/account/profile":[s,e,t,i,a,c,n,j,P,"static/chunks/pages/settings/account/profile-50d20fa715d454af.js"],"/settings/workspace/permissions":[s,e,t,i,a,c,n,p,l,j,X,"static/chunks/pages/settings/workspace/permissions-4ea156c39608caab.js"],"/settings/workspace/permissions/[...slug]":[s,e,t,i,a,c,n,p,l,j,X,"static/chunks/pages/settings/workspace/permissions/[...slug]-2bbd63b7e93a8600.js"],"/settings/workspace/preferences":[s,e,t,i,a,c,n,j,"static/chunks/pages/settings/workspace/preferences-f3c29ec53ee35795.js"],"/settings/workspace/roles":[s,e,t,i,a,c,n,p,l,j,Y,"static/chunks/pages/settings/workspace/roles-835e6ec2a48ec583.js"],"/settings/workspace/roles/[...slug]":[s,e,t,i,a,c,n,p,l,j,Y,"static/chunks/pages/settings/workspace/roles/[...slug]-64ec8928d2542f3c.js"],"/settings/workspace/sync-data":[s,e,t,i,a,c,n,j,"static/chunks/pages/settings/workspace/sync-data-0769149af025de30.js"],"/settings/workspace/users":[s,e,t,i,a,c,n,p,l,j,Z,"static/chunks/pages/settings/workspace/users-e3365b4029a8db33.js"],"/settings/workspace/users/[...slug]":[s,e,t,i,a,c,n,p,l,j,Z,"static/chunks/pages/settings/workspace/users/[...slug]-612a65c42bcadef0.js"],"/sign-in":[s,e,t,i,a,c,"static/chunks/pages/sign-in-f3a33e8f83abdb58.js"],"/templates":[s,e,t,g,b,o,d,h,L,i,a,c,n,p,l,k,r,f,w,v,y,M,"static/chunks/pages/templates-406e13cc5c4caab4.js"],"/templates/[...slug]":[s,e,t,g,b,o,d,h,L,i,a,c,n,p,l,k,r,f,w,v,y,M,"static/chunks/pages/templates/[...slug]-f264097bf8120f31.js"],"/terminal":[s,e,t,i,a,c,n,"static/chunks/pages/terminal-ef8ad878e5e7bb2f.js"],"/test":[s,e,d,i,p,w,Q,"static/chunks/pages/test-9ae68758102cc843.js"],"/triggers":[s,e,t,i,a,c,n,p,l,T,"static/chunks/pages/triggers-a90728798f964700.js"],"/version-control":[s,e,t,D,"static/chunks/6965-c613d1834c8ed92d.js",i,a,c,n,p,l,k,E,"static/chunks/pages/version-control-0e0c2713a2922be7.js"],sortedPages:["/","/_app","/_error","/block-layout","/compute","/files","/global-data-products","/global-data-products/[...slug]","/global-hooks","/global-hooks/[...slug]","/manage","/manage/files","/manage/settings","/manage/users","/manage/users/new","/manage/users/[user]","/oauth","/overview","/pipeline-runs","/pipelines","/pipelines/[pipeline]","/pipelines/[pipeline]/backfills","/pipelines/[pipeline]/backfills/[...slug]","/pipelines/[pipeline]/dashboard","/pipelines/[pipeline]/edit","/pipelines/[pipeline]/logs","/pipelines/[pipeline]/monitors","/pipelines/[pipeline]/monitors/block-runs","/pipelines/[pipeline]/monitors/block-runtime","/pipelines/[pipeline]/runs","/pipelines/[pipeline]/runs/[run]","/pipelines/[pipeline]/settings","/pipelines/[pipeline]/syncs","/pipelines/[pipeline]/triggers","/pipelines/[pipeline]/triggers/[...slug]","/settings","/settings/account/profile","/settings/workspace/permissions","/settings/workspace/permissions/[...slug]","/settings/workspace/preferences","/settings/workspace/roles","/settings/workspace/roles/[...slug]","/settings/workspace/sync-data","/settings/workspace/users","/settings/workspace/users/[...slug]","/sign-in","/templates","/templates/[...slug]","/terminal","/test","/triggers","/version-control"]}}("static/chunks/2852872c-15b31a7081e6a868.js","static/chunks/1154-2f262f7eb38ebaa1.js","static/chunks/4267-cb102e060a43d9bd.js","static/chunks/6990-303bb87fc50f1755.js","static/chunks/844-1e171f361e63b36d.js","static/chunks/8487-608d62c0eef1f29a.js","static/chunks/8264-9d6a7cea289e29ff.js","static/chunks/7858-26a5a5d04fa3c703.js","static/chunks/5499-c2853ef57d39fde8.js","static/chunks/5457-949640f4037bf12f.js","static/chunks/5820-28adeabb5cda2b96.js","static/chunks/4366-3e52497942acbafe.js","static/chunks/6639-74eefed142e14ea6.js","static/chunks/4138-2c16e6d2f22246cd.js","static/chunks/341-ef0f7b98b7f69802.js","static/chunks/5810-e26a0768db1cfdba.js","static/chunks/1124-09b283a2f26cc576.js","static/chunks/1751-5adf859690505d7b.js","static/chunks/8432-f191e39f9b5893f2.js","static/chunks/5896-7b8e36634d7d94eb.js","static/chunks/1769-4f94e148a0753037.js","static/chunks/2714-68fef54789d7eaeb.js","static/chunks/1550-410bc576795e0148.js","static/chunks/90-93d18aaecef0685b.js","static/chunks/3943-3cb1f765210dd7a4.js","static/chunks/9161-837b653aa849a76f.js","static/chunks/29107295-989a0767a635d9d5.js","static/chunks/2631-b9f9bea3f1cf906d.js","static/chunks/7011-81dd8269c4806d26.js","static/chunks/553-7f7919e14392ca67.js","static/chunks/1821-953efd0da290d25f.js","static/chunks/9264-727704fc34e74ae0.js","static/chunks/4783-422429203610c318.js","static/chunks/976-0a8c2c4d7acd957b.js","static/chunks/9624-48fba6b4e6966fb7.js","static/chunks/4495-4f0340aa82e0c623.js","static/chunks/9440-c51bf1e8f271cb25.js","static/chunks/9618-4eb49cdbd1ba11d7.js","static/chunks/6043-728790621ca9014c.js","static/chunks/5544-f43ece1ec93b6e0c.js","static/chunks/845-9a73c65fe3fdc328.js","static/chunks/6798-b904395b0c18647b.js","static/chunks/5638-a65610405a70961c.js","static/chunks/8731-2f78ec7b7760be8f.js","static/chunks/3437-e81a62f33337ca06.js","static/chunks/1952-0f9a12782f0aaae6.js","static/chunks/1749-bf512b4dabbab7fa.js","static/chunks/3419-a7a52bcaaa687b07.js","static/chunks/9302-913007e2f801ad65.js","static/chunks/2717-14191a781cf2f286.js","static/chunks/8146-27f0e31f309897a5.js","static/chunks/7022-e76cae3ba5ee5312.js","static/chunks/7361-6c5c9063b9f91700.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><title>Mage</title><meta content="width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=0" name="viewport"/><meta name="next-head-count" content="3"/><link href="/favicon.ico" rel="icon"/><link rel="preload" href="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/css/d1e8e64d0b07af2f.css" as="style"/><link rel="stylesheet" href="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/css/d1e8e64d0b07af2f.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/webpack-d30cb09c85b4c4f0.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/framework-22b71764bf44ede4.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/main-70b78159c2bb3fe1.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/pages/_app-
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><title>Mage</title><meta content="width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=0" name="viewport"/><meta name="next-head-count" content="3"/><link href="/favicon.ico" rel="icon"/><link rel="preload" href="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/css/d1e8e64d0b07af2f.css" as="style"/><link rel="stylesheet" href="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/css/d1e8e64d0b07af2f.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/webpack-d30cb09c85b4c4f0.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/framework-22b71764bf44ede4.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/main-70b78159c2bb3fe1.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/pages/_app-8254de4f793643d0.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/2852872c-15b31a7081e6a868.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/29107295-989a0767a635d9d5.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/1154-2f262f7eb38ebaa1.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/6639-74eefed142e14ea6.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/341-ef0f7b98b7f69802.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/1751-5adf859690505d7b.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/5896-7b8e36634d7d94eb.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/2714-68fef54789d7eaeb.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/2631-b9f9bea3f1cf906d.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/4783-422429203610c318.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/4267-cb102e060a43d9bd.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/6990-303bb87fc50f1755.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/8264-9d6a7cea289e29ff.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/5810-e26a0768db1cfdba.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/1550-410bc576795e0148.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/976-0a8c2c4d7acd957b.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/9440-c51bf1e8f271cb25.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/pages/block-layout-b926f6eb1ee9a53b.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/gDn6inKdLyj35NvURBSCV/_buildManifest.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/gDn6inKdLyj35NvURBSCV/_ssgManifest.js" defer=""></script><style data-styled="" data-styled-version="5.3.6">html{-webkit-box-sizing:border-box;box-sizing:border-box;-ms-overflow-style:scrollbar;}/*!sc*/
|
|
2
2
|
*,*::before,*::after{-webkit-box-sizing:inherit;box-sizing:inherit;}/*!sc*/
|
|
3
3
|
data-styled.g4[id="sc-global-czSCUT1"]{content:"sc-global-czSCUT1,"}/*!sc*/
|
|
4
4
|
.kOVcuR .Toastify__toast-container{margin-top:24px;padding:0 !important;width:500px !important;}/*!sc*/
|
|
@@ -9,4 +9,4 @@ data-styled.g4[id="sc-global-czSCUT1"]{content:"sc-global-czSCUT1,"}/*!sc*/
|
|
|
9
9
|
.kOVcuR .Toastify__toast--success{background:#00A81A !important;color:#FFFFFF !important;}/*!sc*/
|
|
10
10
|
.kOVcuR .Toastify__toast--warning{background:#DD9900 !important;color:#FFFFFF !important;}/*!sc*/
|
|
11
11
|
data-styled.g5[id="ToastWrapper-sc-1a33ph1-0"]{content:"kOVcuR,"}/*!sc*/
|
|
12
|
-
</style></head><body><div id="__next"><div class="" style="position:fixed;top:0;left:0;height:2px;background:transparent;z-index:99999999999;width:100%"><div class="" style="height:100%;background:#FF144D;transition:all 500ms ease;width:0%"><div style="box-shadow:0 0 10px #FF144D, 0 0 10px #FF144D;width:5%;opacity:1;position:absolute;height:100%;transition:all 500ms ease;transform:rotate(3deg) translate(0px, -4px);left:-10rem"></div></div></div><div></div><div></div><div></div><div></div><div class="ToastWrapper-sc-1a33ph1-0 kOVcuR"><div class="Toastify"></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"auth":{"decodedToken":{"expires":0,"token":null}}},"currentTheme":{"accent":{"alert":"#F6540B","blue":"#4877FF","blueLight":"rgba(72, 119, 255, 0.5)","contentDefaultTransparent":"rgba(174, 174, 174, 0.5)","cyan":"#65E3FF","cyanLight":"rgba(101, 227, 255, 0.3)","cyanTransparent":"rgba(101, 227, 255, 0.12)","dbt":"#fc6949","dbtLight":"rgba(252, 105, 73, 0.5)","info":"#00ABFF","infoTransparent":"rgba(0, 171, 255, 0.5)","negative":"#FF1E59","negativeTransparent":"rgba(255, 30, 89, 0.3)","pink":"#FF4FF8","pinkLight":"rgb(255, 79, 248, 0.5)","positive":"#00A81A","primaryTransparent":"rgba(155, 108, 167, 0.5)","purple":"#7D55EC","purpleLight":"rgba(125, 85, 236, 0.5)","rose":"#D1A2AB","roseLight":"rgba(209, 162, 171, 0.5)","sky":"#6AA1E0","skyLight":"rgba(106, 161, 224, 0.05)","teal":"#00B4CC","tealLight":"rgba(0, 180, 204, 0.5)","warning":"#DD9900","warningTransparent":"rgba(221, 153, 0, 0.5)","yellow":"#FFCC19","yellowLight":"rgba(255, 204, 25, 0.5)"},"background":{"chartBlock":"#2E3036","codeArea":"#1E1F24","codeTextarea":"#000000","content":"#1B1C20","danger":"#FFD0DB","dark":"#B1B8C3","dashboard":"#18181C","header":"#1B1B1B","menu":"#0F4CFF","muted":"#F9FAFC","navigation":"#EDEDED","output":"#2E3036","page":"#1E1F24","panel":"#232429","popup":"#27292E","row":"#2C2C2C","row2":"#51535C","scrollbarThumb":"rgba(100, 100, 100, 0.5)","scrollbarThumbHover":"rgba(255, 255, 255, 0.3)","scrollbarTrack":"#2E3036","success":"#8ADE00","successLight":"rgb(138, 222, 0, 0.3)","table":"#292A2F","tag":"#3A4550"},"borders":{"button":"#454850","contrast":"#FFFFFF","danger":"#FF144D","dark":"#000000","darkLight":"#2E3036","info":"#FFCC19","light":"#2F3034","medium":"#1C1C1C","medium2":"#141414","success":"#2FCB52"},"brand":{"earth100":"#C6EEDB","earth200":"#9DDFBF","earth300":"#6BBF96","earth400":"#37A46F","earth400Transparent":"rgba(55, 164, 111, 0.4)","earth500":"#00954C","energy100":"#FFF4BA","energy200":"#FFED92","energy300":"#FFE662","energy400":"#FFDA19","energy400Transparent":"rgba(255, 218, 25, 0.04)","energy500":"#F6C000","fire100":"#FFD7E0","fire200":"#FFA3B9","fire300":"#FF547D","fire400":"#FF144D","fire400Transparent":"rgba(255, 20, 77, 0.4)","fire500":"#EB0032","stone100":"#F3E6D7","stone200":"#E3D4C2","stone400":"#BFA78B","stone500":"#AF8859","water100":"#BDCEFF","water200":"#81A1FF","water300":"#517DFF","water400":"#2A60FE","water400Transparent":"rgba(42, 96, 254, 0.4)","water500":"#0F4CFF","wind100":"#EEEAFF","wind200":"#CCC1F4","wind300":"#A698DD","wind400":"#6B50D7","wind400SuperTransparent":"rgba(107, 80, 215, 0.12)","wind400Transparent":"rgba(107, 80, 215, 0.4)","wind500":"#4E32BC"},"chart":{"backgroundPrimary":"#7D55EC","backgroundSecondary":"#FF144D","backgroundTertiary":"#86E2FF","button1":"#4877FF","button2":"#FFCC19","button3":"#8ADE00","button4":"#FF4FF8","button5":"#B98D95","lines":"#9B6CA7","primary":"#6B50D7","secondary":"#FF144D","tertiary":"#2A60FE"},"content":{"active":"#FFFFFF","default":"#AEAEAE","disabled":"rgba(255, 255, 255, 0.3)","inverted":"#2C2C2C","muted":"#787A85"},"elevation":{"visualizationAccent":"#996CFF","visualizationAccentAlt":"#C1ACF7"},"feature":{"active":"rgba(250, 248, 254, 0.14)","disabled":"rgba(201, 206, 218, 0.12)"},"icons":{"neutral":"#787878"},"interactive":{"activeBorder":"#060606","checked":"#060606","dangerBorder":"#FF144D","defaultBackground":"#36383F","defaultBorder":"#ffffff1a","disabledBorder":"#B1B8C3","focusBackground":"#B1B8C3","focusBorder":"#86E2FF","hoverBackground":"#4E4E4E","hoverBorder":"#B9BFCA","hoverOverlay":"rgba(255, 255, 255, 0.1)","linkPrimary":"#1752FF","linkPrimaryHover":"#4877FF","linkPrimaryLight":"#5982ff","linkSecondary":"#6B50D7","linkSecondaryDisabled":"#C4B9EF","linkText":"#6AA1E0","linkTextLight":"#9ECBFF","purple":"#885EFF","rowHoverBackground":"rgba(0, 0, 0, 0.1)","transparent":"rgba(255, 255, 255, 0)"},"loader":{"color":"#EB0032","colorInverted":"#8ADE00"},"logo":{"color":"#FFFFFF"},"monotone":{"black":"#060606","blackTransparent":"rgba(0, 0, 0, 0.6)","gray":"#B1B8C3","grey100":"#F2F2F2","grey200":"#D5D7DC","grey300":"#B4B8C0","grey400":"#70747C","grey500":"#51535C","purple":"#6B50D7","white":"#FFFFFF","whiteTransparent":"rgba(255, 255, 255, 0.6)"},"neutral":{"n100":"#E7E8EA","n200":"#D8DADE","n300":"#CBCCD0","n400":"#BCBEC4","n500":"#AEB0B6"},"progress":{"negative":"#FF144D","positive":"#6B50D7"},"shadow":{"base":"12px 40px 120px rgba(0, 0, 0, 0.3)","frame":"0px 10px 40px rgba(0, 0, 0, 0.26)","menu":"4px 10px 20px rgba(6, 6, 6, 0.12)","popup":"10px 20px 40px rgba(0, 0, 0, 0.2)","small":"0px, 4px, rgba(0, 0, 0, 0.25)","window":"0px 10px 60px rgba(0, 0, 0, 0.7)"},"status":{"negative":"#FF144D","positive":"#24B400"},"text":{"fileBrowser":"#787A85"}}},"page":"/block-layout","query":{},"buildId":"
|
|
12
|
+
</style></head><body><div id="__next"><div class="" style="position:fixed;top:0;left:0;height:2px;background:transparent;z-index:99999999999;width:100%"><div class="" style="height:100%;background:#FF144D;transition:all 500ms ease;width:0%"><div style="box-shadow:0 0 10px #FF144D, 0 0 10px #FF144D;width:5%;opacity:1;position:absolute;height:100%;transition:all 500ms ease;transform:rotate(3deg) translate(0px, -4px);left:-10rem"></div></div></div><div></div><div></div><div></div><div></div><div class="ToastWrapper-sc-1a33ph1-0 kOVcuR"><div class="Toastify"></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"auth":{"decodedToken":{"expires":0,"token":null}}},"currentTheme":{"accent":{"alert":"#F6540B","blue":"#4877FF","blueLight":"rgba(72, 119, 255, 0.5)","contentDefaultTransparent":"rgba(174, 174, 174, 0.5)","cyan":"#65E3FF","cyanLight":"rgba(101, 227, 255, 0.3)","cyanTransparent":"rgba(101, 227, 255, 0.12)","dbt":"#fc6949","dbtLight":"rgba(252, 105, 73, 0.5)","info":"#00ABFF","infoTransparent":"rgba(0, 171, 255, 0.5)","negative":"#FF1E59","negativeTransparent":"rgba(255, 30, 89, 0.3)","pink":"#FF4FF8","pinkLight":"rgb(255, 79, 248, 0.5)","positive":"#00A81A","primaryTransparent":"rgba(155, 108, 167, 0.5)","purple":"#7D55EC","purpleLight":"rgba(125, 85, 236, 0.5)","rose":"#D1A2AB","roseLight":"rgba(209, 162, 171, 0.5)","sky":"#6AA1E0","skyLight":"rgba(106, 161, 224, 0.05)","teal":"#00B4CC","tealLight":"rgba(0, 180, 204, 0.5)","warning":"#DD9900","warningTransparent":"rgba(221, 153, 0, 0.5)","yellow":"#FFCC19","yellowLight":"rgba(255, 204, 25, 0.5)"},"background":{"chartBlock":"#2E3036","codeArea":"#1E1F24","codeTextarea":"#000000","content":"#1B1C20","danger":"#FFD0DB","dark":"#B1B8C3","dashboard":"#18181C","header":"#1B1B1B","menu":"#0F4CFF","muted":"#F9FAFC","navigation":"#EDEDED","output":"#2E3036","page":"#1E1F24","panel":"#232429","popup":"#27292E","row":"#2C2C2C","row2":"#51535C","scrollbarThumb":"rgba(100, 100, 100, 0.5)","scrollbarThumbHover":"rgba(255, 255, 255, 0.3)","scrollbarTrack":"#2E3036","success":"#8ADE00","successLight":"rgb(138, 222, 0, 0.3)","table":"#292A2F","tag":"#3A4550"},"borders":{"button":"#454850","contrast":"#FFFFFF","danger":"#FF144D","dark":"#000000","darkLight":"#2E3036","info":"#FFCC19","light":"#2F3034","medium":"#1C1C1C","medium2":"#141414","success":"#2FCB52"},"brand":{"earth100":"#C6EEDB","earth200":"#9DDFBF","earth300":"#6BBF96","earth400":"#37A46F","earth400Transparent":"rgba(55, 164, 111, 0.4)","earth500":"#00954C","energy100":"#FFF4BA","energy200":"#FFED92","energy300":"#FFE662","energy400":"#FFDA19","energy400Transparent":"rgba(255, 218, 25, 0.04)","energy500":"#F6C000","fire100":"#FFD7E0","fire200":"#FFA3B9","fire300":"#FF547D","fire400":"#FF144D","fire400Transparent":"rgba(255, 20, 77, 0.4)","fire500":"#EB0032","stone100":"#F3E6D7","stone200":"#E3D4C2","stone400":"#BFA78B","stone500":"#AF8859","water100":"#BDCEFF","water200":"#81A1FF","water300":"#517DFF","water400":"#2A60FE","water400Transparent":"rgba(42, 96, 254, 0.4)","water500":"#0F4CFF","wind100":"#EEEAFF","wind200":"#CCC1F4","wind300":"#A698DD","wind400":"#6B50D7","wind400SuperTransparent":"rgba(107, 80, 215, 0.12)","wind400Transparent":"rgba(107, 80, 215, 0.4)","wind500":"#4E32BC"},"chart":{"backgroundPrimary":"#7D55EC","backgroundSecondary":"#FF144D","backgroundTertiary":"#86E2FF","button1":"#4877FF","button2":"#FFCC19","button3":"#8ADE00","button4":"#FF4FF8","button5":"#B98D95","lines":"#9B6CA7","primary":"#6B50D7","secondary":"#FF144D","tertiary":"#2A60FE"},"content":{"active":"#FFFFFF","default":"#AEAEAE","disabled":"rgba(255, 255, 255, 0.3)","inverted":"#2C2C2C","muted":"#787A85"},"elevation":{"visualizationAccent":"#996CFF","visualizationAccentAlt":"#C1ACF7"},"feature":{"active":"rgba(250, 248, 254, 0.14)","disabled":"rgba(201, 206, 218, 0.12)"},"icons":{"neutral":"#787878"},"interactive":{"activeBorder":"#060606","checked":"#060606","dangerBorder":"#FF144D","defaultBackground":"#36383F","defaultBorder":"#ffffff1a","disabledBorder":"#B1B8C3","focusBackground":"#B1B8C3","focusBorder":"#86E2FF","hoverBackground":"#4E4E4E","hoverBorder":"#B9BFCA","hoverOverlay":"rgba(255, 255, 255, 0.1)","linkPrimary":"#1752FF","linkPrimaryHover":"#4877FF","linkPrimaryLight":"#5982ff","linkSecondary":"#6B50D7","linkSecondaryDisabled":"#C4B9EF","linkText":"#6AA1E0","linkTextLight":"#9ECBFF","purple":"#885EFF","rowHoverBackground":"rgba(0, 0, 0, 0.1)","transparent":"rgba(255, 255, 255, 0)"},"loader":{"color":"#EB0032","colorInverted":"#8ADE00"},"logo":{"color":"#FFFFFF"},"monotone":{"black":"#060606","blackTransparent":"rgba(0, 0, 0, 0.6)","gray":"#B1B8C3","grey100":"#F2F2F2","grey200":"#D5D7DC","grey300":"#B4B8C0","grey400":"#70747C","grey500":"#51535C","purple":"#6B50D7","white":"#FFFFFF","whiteTransparent":"rgba(255, 255, 255, 0.6)"},"neutral":{"n100":"#E7E8EA","n200":"#D8DADE","n300":"#CBCCD0","n400":"#BCBEC4","n500":"#AEB0B6"},"progress":{"negative":"#FF144D","positive":"#6B50D7"},"shadow":{"base":"12px 40px 120px rgba(0, 0, 0, 0.3)","frame":"0px 10px 40px rgba(0, 0, 0, 0.26)","menu":"4px 10px 20px rgba(6, 6, 6, 0.12)","popup":"10px 20px 40px rgba(0, 0, 0, 0.2)","small":"0px, 4px, rgba(0, 0, 0, 0.25)","window":"0px 10px 60px rgba(0, 0, 0, 0.7)"},"status":{"negative":"#FF144D","positive":"#24B400"},"text":{"fileBrowser":"#787A85"}}},"page":"/block-layout","query":{},"buildId":"gDn6inKdLyj35NvURBSCV","assetPrefix":"/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_","nextExport":true,"isFallback":false,"gip":true,"appGip":true,"scriptLoader":[]}</script></body></html>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta content="width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=0" name="viewport"/><title>Compute management | Mage</title><meta name="next-head-count" content="3"/><link href="/favicon.ico" rel="icon"/><link rel="preload" href="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/css/d1e8e64d0b07af2f.css" as="style"/><link rel="stylesheet" href="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/css/d1e8e64d0b07af2f.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/webpack-d30cb09c85b4c4f0.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/framework-22b71764bf44ede4.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/main-70b78159c2bb3fe1.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/pages/_app-
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta content="width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=0" name="viewport"/><title>Compute management | Mage</title><meta name="next-head-count" content="3"/><link href="/favicon.ico" rel="icon"/><link rel="preload" href="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/css/d1e8e64d0b07af2f.css" as="style"/><link rel="stylesheet" href="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/css/d1e8e64d0b07af2f.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/webpack-d30cb09c85b4c4f0.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/framework-22b71764bf44ede4.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/main-70b78159c2bb3fe1.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/pages/_app-8254de4f793643d0.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/2852872c-15b31a7081e6a868.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/1154-2f262f7eb38ebaa1.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/844-1e171f361e63b36d.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/5820-28adeabb5cda2b96.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/4267-cb102e060a43d9bd.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/6990-303bb87fc50f1755.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/8487-608d62c0eef1f29a.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/8264-9d6a7cea289e29ff.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/7858-26a5a5d04fa3c703.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/5499-c2853ef57d39fde8.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/4366-3e52497942acbafe.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/4138-2c16e6d2f22246cd.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/90-93d18aaecef0685b.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/pages/compute-a9402b51e9fe748e.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/gDn6inKdLyj35NvURBSCV/_buildManifest.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/gDn6inKdLyj35NvURBSCV/_ssgManifest.js" defer=""></script><style data-styled="" data-styled-version="5.3.6">html{-webkit-box-sizing:border-box;box-sizing:border-box;-ms-overflow-style:scrollbar;}/*!sc*/
|
|
2
2
|
*,*::before,*::after{-webkit-box-sizing:inherit;box-sizing:inherit;}/*!sc*/
|
|
3
3
|
data-styled.g4[id="sc-global-czSCUT1"]{content:"sc-global-czSCUT1,"}/*!sc*/
|
|
4
4
|
.kOVcuR .Toastify__toast-container{margin-top:24px;padding:0 !important;width:500px !important;}/*!sc*/
|
|
@@ -14,11 +14,11 @@ data-styled.g6[id="Flex-sc-sgfnl9-0"]{content:"dKQluW,"}/*!sc*/
|
|
|
14
14
|
.hDBiHu{padding-left:16px;padding-right:16px;padding-top:16px;padding-bottom:16px;}/*!sc*/
|
|
15
15
|
data-styled.g8[id="Spacing__SpacingStyle-sc-1mpmtgj-0"]{content:"hDBiHu,"}/*!sc*/
|
|
16
16
|
.gbXfes{height:48px;left:0;padding-left:16px;padding-right:16px;position:fixed;top:0;width:100%;z-index:10;background-color:#232429;border-bottom:1px solid #1C1C1C;}/*!sc*/
|
|
17
|
-
data-styled.
|
|
17
|
+
data-styled.g78[id="indexstyle__HeaderStyle-sc-1bk8irg-0"]{content:"gbXfes,"}/*!sc*/
|
|
18
18
|
.ijwRXz{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;height:calc(100vh - 48px);position:fixed;top:48px;width:100%;background-color:#1E1F24;}/*!sc*/
|
|
19
|
-
data-styled.
|
|
19
|
+
data-styled.g79[id="indexstyle__ContainerStyle-sc-ecogjt-0"]{content:"ijwRXz,"}/*!sc*/
|
|
20
20
|
.jQArIy{height:100%;background-color:#232429;border-right:1px solid #1C1C1C;}/*!sc*/
|
|
21
21
|
@-webkit-keyframes animate-in{0%{width:168px;}100%{width:272px;}}/*!sc*/
|
|
22
22
|
@keyframes animate-in{0%{width:168px;}100%{width:272px;}}/*!sc*/
|
|
23
|
-
data-styled.
|
|
24
|
-
</style></head><body><div id="__next"><div class="" style="position:fixed;top:0;left:0;height:2px;background:transparent;z-index:99999999999;width:100%"><div class="" style="height:100%;background:#FF144D;transition:all 500ms ease;width:0%"><div style="box-shadow:0 0 10px #FF144D, 0 0 10px #FF144D;width:5%;opacity:1;position:absolute;height:100%;transition:all 500ms ease;transform:rotate(3deg) translate(0px, -4px);left:-10rem"></div></div></div><div class="indexstyle__HeaderStyle-sc-1bk8irg-0 gbXfes"><div></div></div><div class="indexstyle__ContainerStyle-sc-ecogjt-0 ijwRXz"><div class="indexstyle__VerticalNavigationStyleComponent-sc-ecogjt-1 jQArIy"><div class="Spacing__SpacingStyle-sc-1mpmtgj-0 hDBiHu"><div></div></div></div><div class="Flex-sc-sgfnl9-0 dKQluW"><div></div></div></div><div></div><div></div><div></div><div class="ToastWrapper-sc-1a33ph1-0 kOVcuR"><div class="Toastify"></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"auth":{"decodedToken":{"expires":0,"token":null}}},"currentTheme":{"accent":{"alert":"#F6540B","blue":"#4877FF","blueLight":"rgba(72, 119, 255, 0.5)","contentDefaultTransparent":"rgba(174, 174, 174, 0.5)","cyan":"#65E3FF","cyanLight":"rgba(101, 227, 255, 0.3)","cyanTransparent":"rgba(101, 227, 255, 0.12)","dbt":"#fc6949","dbtLight":"rgba(252, 105, 73, 0.5)","info":"#00ABFF","infoTransparent":"rgba(0, 171, 255, 0.5)","negative":"#FF1E59","negativeTransparent":"rgba(255, 30, 89, 0.3)","pink":"#FF4FF8","pinkLight":"rgb(255, 79, 248, 0.5)","positive":"#00A81A","primaryTransparent":"rgba(155, 108, 167, 0.5)","purple":"#7D55EC","purpleLight":"rgba(125, 85, 236, 0.5)","rose":"#D1A2AB","roseLight":"rgba(209, 162, 171, 0.5)","sky":"#6AA1E0","skyLight":"rgba(106, 161, 224, 0.05)","teal":"#00B4CC","tealLight":"rgba(0, 180, 204, 0.5)","warning":"#DD9900","warningTransparent":"rgba(221, 153, 0, 0.5)","yellow":"#FFCC19","yellowLight":"rgba(255, 204, 25, 0.5)"},"background":{"chartBlock":"#2E3036","codeArea":"#1E1F24","codeTextarea":"#000000","content":"#1B1C20","danger":"#FFD0DB","dark":"#B1B8C3","dashboard":"#18181C","header":"#1B1B1B","menu":"#0F4CFF","muted":"#F9FAFC","navigation":"#EDEDED","output":"#2E3036","page":"#1E1F24","panel":"#232429","popup":"#27292E","row":"#2C2C2C","row2":"#51535C","scrollbarThumb":"rgba(100, 100, 100, 0.5)","scrollbarThumbHover":"rgba(255, 255, 255, 0.3)","scrollbarTrack":"#2E3036","success":"#8ADE00","successLight":"rgb(138, 222, 0, 0.3)","table":"#292A2F","tag":"#3A4550"},"borders":{"button":"#454850","contrast":"#FFFFFF","danger":"#FF144D","dark":"#000000","darkLight":"#2E3036","info":"#FFCC19","light":"#2F3034","medium":"#1C1C1C","medium2":"#141414","success":"#2FCB52"},"brand":{"earth100":"#C6EEDB","earth200":"#9DDFBF","earth300":"#6BBF96","earth400":"#37A46F","earth400Transparent":"rgba(55, 164, 111, 0.4)","earth500":"#00954C","energy100":"#FFF4BA","energy200":"#FFED92","energy300":"#FFE662","energy400":"#FFDA19","energy400Transparent":"rgba(255, 218, 25, 0.04)","energy500":"#F6C000","fire100":"#FFD7E0","fire200":"#FFA3B9","fire300":"#FF547D","fire400":"#FF144D","fire400Transparent":"rgba(255, 20, 77, 0.4)","fire500":"#EB0032","stone100":"#F3E6D7","stone200":"#E3D4C2","stone400":"#BFA78B","stone500":"#AF8859","water100":"#BDCEFF","water200":"#81A1FF","water300":"#517DFF","water400":"#2A60FE","water400Transparent":"rgba(42, 96, 254, 0.4)","water500":"#0F4CFF","wind100":"#EEEAFF","wind200":"#CCC1F4","wind300":"#A698DD","wind400":"#6B50D7","wind400SuperTransparent":"rgba(107, 80, 215, 0.12)","wind400Transparent":"rgba(107, 80, 215, 0.4)","wind500":"#4E32BC"},"chart":{"backgroundPrimary":"#7D55EC","backgroundSecondary":"#FF144D","backgroundTertiary":"#86E2FF","button1":"#4877FF","button2":"#FFCC19","button3":"#8ADE00","button4":"#FF4FF8","button5":"#B98D95","lines":"#9B6CA7","primary":"#6B50D7","secondary":"#FF144D","tertiary":"#2A60FE"},"content":{"active":"#FFFFFF","default":"#AEAEAE","disabled":"rgba(255, 255, 255, 0.3)","inverted":"#2C2C2C","muted":"#787A85"},"elevation":{"visualizationAccent":"#996CFF","visualizationAccentAlt":"#C1ACF7"},"feature":{"active":"rgba(250, 248, 254, 0.14)","disabled":"rgba(201, 206, 218, 0.12)"},"icons":{"neutral":"#787878"},"interactive":{"activeBorder":"#060606","checked":"#060606","dangerBorder":"#FF144D","defaultBackground":"#36383F","defaultBorder":"#ffffff1a","disabledBorder":"#B1B8C3","focusBackground":"#B1B8C3","focusBorder":"#86E2FF","hoverBackground":"#4E4E4E","hoverBorder":"#B9BFCA","hoverOverlay":"rgba(255, 255, 255, 0.1)","linkPrimary":"#1752FF","linkPrimaryHover":"#4877FF","linkPrimaryLight":"#5982ff","linkSecondary":"#6B50D7","linkSecondaryDisabled":"#C4B9EF","linkText":"#6AA1E0","linkTextLight":"#9ECBFF","purple":"#885EFF","rowHoverBackground":"rgba(0, 0, 0, 0.1)","transparent":"rgba(255, 255, 255, 0)"},"loader":{"color":"#EB0032","colorInverted":"#8ADE00"},"logo":{"color":"#FFFFFF"},"monotone":{"black":"#060606","blackTransparent":"rgba(0, 0, 0, 0.6)","gray":"#B1B8C3","grey100":"#F2F2F2","grey200":"#D5D7DC","grey300":"#B4B8C0","grey400":"#70747C","grey500":"#51535C","purple":"#6B50D7","white":"#FFFFFF","whiteTransparent":"rgba(255, 255, 255, 0.6)"},"neutral":{"n100":"#E7E8EA","n200":"#D8DADE","n300":"#CBCCD0","n400":"#BCBEC4","n500":"#AEB0B6"},"progress":{"negative":"#FF144D","positive":"#6B50D7"},"shadow":{"base":"12px 40px 120px rgba(0, 0, 0, 0.3)","frame":"0px 10px 40px rgba(0, 0, 0, 0.26)","menu":"4px 10px 20px rgba(6, 6, 6, 0.12)","popup":"10px 20px 40px rgba(0, 0, 0, 0.2)","small":"0px, 4px, rgba(0, 0, 0, 0.25)","window":"0px 10px 60px rgba(0, 0, 0, 0.7)"},"status":{"negative":"#FF144D","positive":"#24B400"},"text":{"fileBrowser":"#787A85"}}},"page":"/compute","query":{},"buildId":"
|
|
23
|
+
data-styled.g80[id="indexstyle__VerticalNavigationStyleComponent-sc-ecogjt-1"]{content:"jQArIy,"}/*!sc*/
|
|
24
|
+
</style></head><body><div id="__next"><div class="" style="position:fixed;top:0;left:0;height:2px;background:transparent;z-index:99999999999;width:100%"><div class="" style="height:100%;background:#FF144D;transition:all 500ms ease;width:0%"><div style="box-shadow:0 0 10px #FF144D, 0 0 10px #FF144D;width:5%;opacity:1;position:absolute;height:100%;transition:all 500ms ease;transform:rotate(3deg) translate(0px, -4px);left:-10rem"></div></div></div><div class="indexstyle__HeaderStyle-sc-1bk8irg-0 gbXfes"><div></div></div><div class="indexstyle__ContainerStyle-sc-ecogjt-0 ijwRXz"><div class="indexstyle__VerticalNavigationStyleComponent-sc-ecogjt-1 jQArIy"><div class="Spacing__SpacingStyle-sc-1mpmtgj-0 hDBiHu"><div></div></div></div><div class="Flex-sc-sgfnl9-0 dKQluW"><div></div></div></div><div></div><div></div><div></div><div class="ToastWrapper-sc-1a33ph1-0 kOVcuR"><div class="Toastify"></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"auth":{"decodedToken":{"expires":0,"token":null}}},"currentTheme":{"accent":{"alert":"#F6540B","blue":"#4877FF","blueLight":"rgba(72, 119, 255, 0.5)","contentDefaultTransparent":"rgba(174, 174, 174, 0.5)","cyan":"#65E3FF","cyanLight":"rgba(101, 227, 255, 0.3)","cyanTransparent":"rgba(101, 227, 255, 0.12)","dbt":"#fc6949","dbtLight":"rgba(252, 105, 73, 0.5)","info":"#00ABFF","infoTransparent":"rgba(0, 171, 255, 0.5)","negative":"#FF1E59","negativeTransparent":"rgba(255, 30, 89, 0.3)","pink":"#FF4FF8","pinkLight":"rgb(255, 79, 248, 0.5)","positive":"#00A81A","primaryTransparent":"rgba(155, 108, 167, 0.5)","purple":"#7D55EC","purpleLight":"rgba(125, 85, 236, 0.5)","rose":"#D1A2AB","roseLight":"rgba(209, 162, 171, 0.5)","sky":"#6AA1E0","skyLight":"rgba(106, 161, 224, 0.05)","teal":"#00B4CC","tealLight":"rgba(0, 180, 204, 0.5)","warning":"#DD9900","warningTransparent":"rgba(221, 153, 0, 0.5)","yellow":"#FFCC19","yellowLight":"rgba(255, 204, 25, 0.5)"},"background":{"chartBlock":"#2E3036","codeArea":"#1E1F24","codeTextarea":"#000000","content":"#1B1C20","danger":"#FFD0DB","dark":"#B1B8C3","dashboard":"#18181C","header":"#1B1B1B","menu":"#0F4CFF","muted":"#F9FAFC","navigation":"#EDEDED","output":"#2E3036","page":"#1E1F24","panel":"#232429","popup":"#27292E","row":"#2C2C2C","row2":"#51535C","scrollbarThumb":"rgba(100, 100, 100, 0.5)","scrollbarThumbHover":"rgba(255, 255, 255, 0.3)","scrollbarTrack":"#2E3036","success":"#8ADE00","successLight":"rgb(138, 222, 0, 0.3)","table":"#292A2F","tag":"#3A4550"},"borders":{"button":"#454850","contrast":"#FFFFFF","danger":"#FF144D","dark":"#000000","darkLight":"#2E3036","info":"#FFCC19","light":"#2F3034","medium":"#1C1C1C","medium2":"#141414","success":"#2FCB52"},"brand":{"earth100":"#C6EEDB","earth200":"#9DDFBF","earth300":"#6BBF96","earth400":"#37A46F","earth400Transparent":"rgba(55, 164, 111, 0.4)","earth500":"#00954C","energy100":"#FFF4BA","energy200":"#FFED92","energy300":"#FFE662","energy400":"#FFDA19","energy400Transparent":"rgba(255, 218, 25, 0.04)","energy500":"#F6C000","fire100":"#FFD7E0","fire200":"#FFA3B9","fire300":"#FF547D","fire400":"#FF144D","fire400Transparent":"rgba(255, 20, 77, 0.4)","fire500":"#EB0032","stone100":"#F3E6D7","stone200":"#E3D4C2","stone400":"#BFA78B","stone500":"#AF8859","water100":"#BDCEFF","water200":"#81A1FF","water300":"#517DFF","water400":"#2A60FE","water400Transparent":"rgba(42, 96, 254, 0.4)","water500":"#0F4CFF","wind100":"#EEEAFF","wind200":"#CCC1F4","wind300":"#A698DD","wind400":"#6B50D7","wind400SuperTransparent":"rgba(107, 80, 215, 0.12)","wind400Transparent":"rgba(107, 80, 215, 0.4)","wind500":"#4E32BC"},"chart":{"backgroundPrimary":"#7D55EC","backgroundSecondary":"#FF144D","backgroundTertiary":"#86E2FF","button1":"#4877FF","button2":"#FFCC19","button3":"#8ADE00","button4":"#FF4FF8","button5":"#B98D95","lines":"#9B6CA7","primary":"#6B50D7","secondary":"#FF144D","tertiary":"#2A60FE"},"content":{"active":"#FFFFFF","default":"#AEAEAE","disabled":"rgba(255, 255, 255, 0.3)","inverted":"#2C2C2C","muted":"#787A85"},"elevation":{"visualizationAccent":"#996CFF","visualizationAccentAlt":"#C1ACF7"},"feature":{"active":"rgba(250, 248, 254, 0.14)","disabled":"rgba(201, 206, 218, 0.12)"},"icons":{"neutral":"#787878"},"interactive":{"activeBorder":"#060606","checked":"#060606","dangerBorder":"#FF144D","defaultBackground":"#36383F","defaultBorder":"#ffffff1a","disabledBorder":"#B1B8C3","focusBackground":"#B1B8C3","focusBorder":"#86E2FF","hoverBackground":"#4E4E4E","hoverBorder":"#B9BFCA","hoverOverlay":"rgba(255, 255, 255, 0.1)","linkPrimary":"#1752FF","linkPrimaryHover":"#4877FF","linkPrimaryLight":"#5982ff","linkSecondary":"#6B50D7","linkSecondaryDisabled":"#C4B9EF","linkText":"#6AA1E0","linkTextLight":"#9ECBFF","purple":"#885EFF","rowHoverBackground":"rgba(0, 0, 0, 0.1)","transparent":"rgba(255, 255, 255, 0)"},"loader":{"color":"#EB0032","colorInverted":"#8ADE00"},"logo":{"color":"#FFFFFF"},"monotone":{"black":"#060606","blackTransparent":"rgba(0, 0, 0, 0.6)","gray":"#B1B8C3","grey100":"#F2F2F2","grey200":"#D5D7DC","grey300":"#B4B8C0","grey400":"#70747C","grey500":"#51535C","purple":"#6B50D7","white":"#FFFFFF","whiteTransparent":"rgba(255, 255, 255, 0.6)"},"neutral":{"n100":"#E7E8EA","n200":"#D8DADE","n300":"#CBCCD0","n400":"#BCBEC4","n500":"#AEB0B6"},"progress":{"negative":"#FF144D","positive":"#6B50D7"},"shadow":{"base":"12px 40px 120px rgba(0, 0, 0, 0.3)","frame":"0px 10px 40px rgba(0, 0, 0, 0.26)","menu":"4px 10px 20px rgba(6, 6, 6, 0.12)","popup":"10px 20px 40px rgba(0, 0, 0, 0.2)","small":"0px, 4px, rgba(0, 0, 0, 0.25)","window":"0px 10px 60px rgba(0, 0, 0, 0.7)"},"status":{"negative":"#FF144D","positive":"#24B400"},"text":{"fileBrowser":"#787A85"}}},"page":"/compute","query":{},"buildId":"gDn6inKdLyj35NvURBSCV","assetPrefix":"/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_","nextExport":true,"isFallback":false,"gip":true,"appGip":true,"scriptLoader":[]}</script></body></html>
|