mage-ai 0.9.74__py3-none-any.whl → 0.9.79__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.
Files changed (420) hide show
  1. mage_ai/ai/llm_pipeline_wizard.py +6 -4
  2. mage_ai/ai/openai_client.py +7 -5
  3. mage_ai/api/policies/PipelineSchedulePolicy.py +1 -0
  4. mage_ai/api/presenters/PipelineSchedulePresenter.py +11 -2
  5. mage_ai/api/resources/GitFileResource.py +8 -0
  6. mage_ai/api/resources/PipelineScheduleResource.py +20 -14
  7. mage_ai/api/resources/PipelineTriggerResource.py +3 -1
  8. mage_ai/api/resources/SessionResource.py +2 -2
  9. mage_ai/api/resources/SyncResource.py +1 -1
  10. mage_ai/api/resources/UserResource.py +1 -1
  11. mage_ai/cli/main.py +8 -1
  12. mage_ai/data_cleaner/analysis/charts.py +1 -1
  13. mage_ai/data_cleaner/cleaning_rules/reformat_values.py +1 -1
  14. mage_ai/data_integrations/destinations/constants.py +3 -0
  15. mage_ai/data_integrations/sources/constants.py +2 -0
  16. mage_ai/data_preparation/executors/block_executor.py +8 -3
  17. mage_ai/data_preparation/executors/pipeline_executor.py +35 -19
  18. mage_ai/data_preparation/git/utils.py +2 -2
  19. mage_ai/data_preparation/logging/logger_manager.py +31 -2
  20. mage_ai/data_preparation/models/block/__init__.py +33 -27
  21. mage_ai/data_preparation/models/block/dbt/dbt_adapter.py +20 -8
  22. mage_ai/data_preparation/models/block/dynamic/constants.py +0 -1
  23. mage_ai/data_preparation/models/block/dynamic/counter.py +1 -3
  24. mage_ai/data_preparation/models/block/outputs.py +7 -1
  25. mage_ai/data_preparation/models/block/r/__init__.py +16 -5
  26. mage_ai/data_preparation/models/block/sql/__init__.py +2 -0
  27. mage_ai/data_preparation/models/block/sql/mssql.py +8 -0
  28. mage_ai/data_preparation/models/block/sql/utils/shared.py +6 -2
  29. mage_ai/data_preparation/models/constants.py +4 -1
  30. mage_ai/data_preparation/models/pipeline.py +11 -2
  31. mage_ai/data_preparation/models/project/__init__.py +3 -1
  32. mage_ai/data_preparation/models/triggers/__init__.py +1 -1
  33. mage_ai/data_preparation/storage/local_storage.py +4 -1
  34. mage_ai/data_preparation/templates/constants.py +7 -0
  35. mage_ai/data_preparation/templates/data_exporters/streaming/elasticsearch.yaml +3 -0
  36. mage_ai/data_preparation/templates/data_loaders/airtable.py +28 -0
  37. mage_ai/data_preparation/templates/data_loaders/streaming/nats.yaml +6 -3
  38. mage_ai/data_preparation/templates/repo/io_config.yaml +2 -0
  39. mage_ai/io/airtable.py +104 -0
  40. mage_ai/io/base.py +30 -1
  41. mage_ai/io/bigquery.py +36 -0
  42. mage_ai/io/config.py +6 -0
  43. mage_ai/io/mssql.py +21 -9
  44. mage_ai/io/mysql.py +6 -1
  45. mage_ai/io/oracledb.py +2 -4
  46. mage_ai/io/postgres.py +41 -19
  47. mage_ai/io/qdrant.py +1 -1
  48. mage_ai/io/redshift.py +13 -0
  49. mage_ai/io/sql.py +1 -0
  50. mage_ai/io/utils.py +18 -0
  51. mage_ai/orchestration/db/__init__.py +23 -3
  52. mage_ai/orchestration/db/migrations/versions/39d36f1dab73_create_genericjob.py +47 -0
  53. mage_ai/orchestration/db/models/oauth.py +2 -1
  54. mage_ai/orchestration/db/models/schedules.py +108 -6
  55. mage_ai/orchestration/db/models/schedules_project_platform.py +1 -1
  56. mage_ai/orchestration/db/models/secrets.py +11 -1
  57. mage_ai/orchestration/job_manager.py +19 -0
  58. mage_ai/orchestration/metrics/pipeline_run.py +1 -1
  59. mage_ai/orchestration/notification/sender.py +2 -2
  60. mage_ai/orchestration/pipeline_scheduler_original.py +150 -6
  61. mage_ai/orchestration/pipeline_scheduler_project_platform.py +4 -5
  62. mage_ai/orchestration/queue/config.py +11 -1
  63. mage_ai/orchestration/queue/process_queue.py +4 -0
  64. mage_ai/orchestration/utils/distributed_lock.py +8 -1
  65. mage_ai/orchestration/utils/resources.py +56 -2
  66. mage_ai/sample_datasets/salary_survey.csv +52 -52
  67. mage_ai/server/api/base.py +41 -0
  68. mage_ai/server/api/constants.py +1 -0
  69. mage_ai/server/api/triggers.py +9 -0
  70. mage_ai/server/constants.py +1 -1
  71. mage_ai/server/frontend_dist/404.html +3 -3
  72. mage_ai/server/frontend_dist/_next/static/TUo4RceCdMufBTBTq8CAq/_buildManifest.js +1 -0
  73. mage_ai/server/frontend_dist/_next/static/chunks/{1187-839336d276186105.js → 1187-4560c3895e1d7099.js} +1 -1
  74. mage_ai/server/frontend_dist/_next/static/chunks/{1598-0adca9dce3ba4c60.js → 1598-cbf3f5a6078fc3f5.js} +1 -1
  75. mage_ai/server/frontend_dist/_next/static/chunks/2717-638a944d24d5abde.js +1 -0
  76. mage_ai/server/frontend_dist/_next/static/chunks/3548-36f746b1824004f2.js +1 -0
  77. mage_ai/server/frontend_dist/_next/static/chunks/{3763-39a5174f6a3924db.js → 3763-aabe2703076636b0.js} +1 -1
  78. mage_ai/server/frontend_dist/_next/static/chunks/3782-3e2acb5ed45b582b.js +1 -0
  79. mage_ai/server/frontend_dist/_next/static/chunks/449-5e2253c6aba42557.js +1 -0
  80. mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/5627-d5e559859dd0e1e0.js → frontend_dist/_next/static/chunks/5627-10e76bafa5a26f5f.js} +1 -1
  81. mage_ai/server/frontend_dist/_next/static/chunks/{5699-e49718dfc9eb2854.js → 5699-e99379e332bd0b41.js} +1 -1
  82. mage_ai/server/frontend_dist/_next/static/chunks/{7966-163da2621b8c987c.js → 7966-a5a7db345ce81263.js} +1 -1
  83. mage_ai/server/frontend_dist/_next/static/chunks/pages/_app-b697b35dfc4e6e26.js +2 -0
  84. mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/compute-ed67fa8e81662e8b.js → frontend_dist/_next/static/chunks/pages/compute-9e2dea78024e3bb4.js} +1 -1
  85. mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/files-e0ecd7ced09a63b2.js → frontend_dist/_next/static/chunks/pages/files-e08c7fe76f968f9c.js} +1 -1
  86. mage_ai/server/frontend_dist/_next/static/chunks/pages/global-data-products/{[...slug]-c7a729477ecda50e.js → [...slug]-30c3807057a4e65b.js} +1 -1
  87. mage_ai/server/frontend_dist/_next/static/chunks/pages/{global-data-products-fd6ae6a358a60a0c.js → global-data-products-8dcb3b31af9e0e39.js} +1 -1
  88. mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/global-hooks/[...slug]-8e50243797a7fe59.js → frontend_dist/_next/static/chunks/pages/global-hooks/[...slug]-85a64b64d27214b6.js} +1 -1
  89. mage_ai/server/frontend_dist/_next/static/chunks/pages/{global-hooks-d0c003446332dc0d.js → global-hooks-4ff959d51b8a9502.js} +1 -1
  90. mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/{files-a69ed8e9f814490c.js → files-d08a460641d0efaa.js} +1 -1
  91. mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/{overview-1aad7093c6d39257.js → overview-aae747f487e08d51.js} +1 -1
  92. mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/{pipeline-runs-528d30e0d13b0cc7.js → pipeline-runs-09a842d64a6ada62.js} +1 -1
  93. mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/{settings-fb9201d9cf63031d.js → settings-2e98e57d9376a458.js} +1 -1
  94. mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/users/{[user]-000f5a980a07da39.js → [user]-7be6e41ad66089bb.js} +1 -1
  95. mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/manage/users/new-e4e613f6e817a733.js → frontend_dist/_next/static/chunks/pages/manage/users/new-4c088833063bfa07.js} +1 -1
  96. mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/users-5db54821a3059c69.js +1 -0
  97. mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/manage-34d718b8a4066c23.js → frontend_dist/_next/static/chunks/pages/manage-868fcd8cbeb265f0.js} +1 -1
  98. mage_ai/server/frontend_dist/_next/static/chunks/pages/{oauth-3bfd1b8d7f036726.js → oauth-6ceceb62191dfe8a.js} +1 -1
  99. mage_ai/server/frontend_dist/_next/static/chunks/pages/overview-f65416f6dbe30ad3.js +1 -0
  100. mage_ai/server/frontend_dist/_next/static/chunks/pages/{pipeline-runs-5f8c100e648efa8a.js → pipeline-runs-2d0136b51b57de93.js} +1 -1
  101. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/backfills/{[...slug]-688c652f3296bb9c.js → [...slug]-1ad5238742e25b4c.js} +1 -1
  102. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/backfills-bd11e87d026bfbf9.js +1 -0
  103. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/{dashboard-1236e36d39b1637d.js → dashboard-0f4f47f721b0723f.js} +1 -1
  104. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/edit-5ae8efe9e0530212.js +1 -0
  105. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/logs-fe91dfb0091f6bc6.js +1 -0
  106. mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runs-0d68d4bf6290fefb.js → frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runs-cf794b2d22a80f31.js} +1 -1
  107. mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runtime-9254358d58f07714.js → frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runtime-a964caef91bed9e1.js} +1 -1
  108. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/{monitors-821001e690caebe2.js → monitors-80bebb4401eefe25.js} +1 -1
  109. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/runs/[run]-2eae7cb017027682.js +1 -0
  110. mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/runs-2d4b2a0800a66b33.js → frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/runs-776b2e5b0b6ceba8.js} +1 -1
  111. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/settings-03d9bca3bc5e6088.js +1 -0
  112. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/syncs-707ed8ca942ca802.js +1 -0
  113. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/triggers/{[...slug]-259143ed3cf59e31.js → [...slug]-8429f17d4146e1ec.js} +1 -1
  114. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/triggers-193045d9836d8d80.js +1 -0
  115. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines-d25d07db166cbb04.js +1 -0
  116. mage_ai/server/frontend_dist/_next/static/chunks/pages/platform/global-hooks/{[...slug]-5eeec927e4202b63.js → [...slug]-6834ae87bd668cb2.js} +1 -1
  117. mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/platform/global-hooks-fbe9ad995d46d837.js → frontend_dist/_next/static/chunks/pages/platform/global-hooks-b3f7309a23e592b2.js} +1 -1
  118. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/account/{profile-fc659962d4015cb3.js → profile-f8b7374385e1f1bf.js} +1 -1
  119. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/platform/preferences-8de68502a9afa299.js +1 -0
  120. mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/settings/platform/settings-a4f88c334414402b.js → frontend_dist/_next/static/chunks/pages/settings/platform/settings-50fb6a34f3913f1f.js} +1 -1
  121. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/permissions/{[...slug]-4deb9579ef99a3c6.js → [...slug]-2e5c098c21ea32b7.js} +1 -1
  122. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/{permissions-e0cda2f2bfce8d61.js → permissions-54e4b15b9585bfc4.js} +1 -1
  123. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/preferences-040f83d75d0f6537.js +1 -0
  124. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/roles/{[...slug]-910257d16c604ebd.js → [...slug]-95088f43034e3c95.js} +1 -1
  125. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/{roles-4f7a0756806cee34.js → roles-e9149e1fcf218f42.js} +1 -1
  126. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/{sync-data-208d6f955204d704.js → sync-data-75b67ae4a00818ef.js} +1 -1
  127. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/users/{[...slug]-c89dc67e5a1706a8.js → [...slug]-557dda05ca6c6124.js} +1 -1
  128. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/users-fa61dc6c1370e6a5.js +1 -0
  129. mage_ai/server/frontend_dist/_next/static/chunks/pages/{sign-in-054b33312d3193c3.js → sign-in-593c40985d63fcf7.js} +1 -1
  130. mage_ai/server/frontend_dist/_next/static/chunks/pages/templates/{[...slug]-b6ed6a5d818bfd20.js → [...slug]-252c4b6b818345d5.js} +1 -1
  131. mage_ai/server/frontend_dist/_next/static/chunks/pages/{templates-852357bc983af2ea.js → templates-ca528bc607753ab8.js} +1 -1
  132. mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/terminal-1f9c56d671bbc67d.js → frontend_dist/_next/static/chunks/pages/terminal-287362c1defcc96b.js} +1 -1
  133. mage_ai/server/frontend_dist/_next/static/chunks/pages/test-2f83af8c9f1378fe.js +1 -0
  134. mage_ai/server/frontend_dist/_next/static/chunks/pages/triggers-d9de73fb799efed8.js +1 -0
  135. mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/version-control-ae3469b992a341d6.js → frontend_dist/_next/static/chunks/pages/version-control-573f0225d7a703ed.js} +1 -1
  136. mage_ai/server/frontend_dist/block-layout.html +3 -3
  137. mage_ai/server/frontend_dist/compute.html +6 -6
  138. mage_ai/server/frontend_dist/files.html +6 -6
  139. mage_ai/server/frontend_dist/global-data-products/[...slug].html +6 -6
  140. mage_ai/server/frontend_dist/global-data-products.html +6 -6
  141. mage_ai/server/frontend_dist/global-hooks/[...slug].html +6 -6
  142. mage_ai/server/frontend_dist/global-hooks.html +6 -6
  143. mage_ai/server/frontend_dist/index.html +3 -3
  144. mage_ai/server/frontend_dist/manage/files.html +6 -6
  145. mage_ai/server/frontend_dist/manage/overview.html +6 -6
  146. mage_ai/server/frontend_dist/manage/pipeline-runs.html +6 -6
  147. mage_ai/server/frontend_dist/manage/settings.html +6 -6
  148. mage_ai/server/frontend_dist/manage/users/[user].html +6 -6
  149. mage_ai/server/frontend_dist/manage/users/new.html +6 -6
  150. mage_ai/server/frontend_dist/manage/users.html +6 -6
  151. mage_ai/server/frontend_dist/manage.html +6 -6
  152. mage_ai/server/frontend_dist/oauth.html +5 -5
  153. mage_ai/server/frontend_dist/overview.html +6 -6
  154. mage_ai/server/frontend_dist/pipeline-runs.html +6 -6
  155. mage_ai/server/frontend_dist/pipelines/[pipeline]/backfills/[...slug].html +6 -6
  156. mage_ai/server/frontend_dist/pipelines/[pipeline]/backfills.html +6 -6
  157. mage_ai/server/frontend_dist/pipelines/[pipeline]/dashboard.html +6 -6
  158. mage_ai/server/frontend_dist/pipelines/[pipeline]/edit.html +3 -3
  159. mage_ai/server/frontend_dist/pipelines/[pipeline]/logs.html +6 -6
  160. mage_ai/server/frontend_dist/pipelines/[pipeline]/monitors/block-runs.html +6 -6
  161. mage_ai/server/frontend_dist/pipelines/[pipeline]/monitors/block-runtime.html +6 -6
  162. mage_ai/server/frontend_dist/pipelines/[pipeline]/monitors.html +6 -6
  163. mage_ai/server/frontend_dist/pipelines/[pipeline]/runs/[run].html +6 -6
  164. mage_ai/server/frontend_dist/pipelines/[pipeline]/runs.html +6 -6
  165. mage_ai/server/frontend_dist/pipelines/[pipeline]/settings.html +6 -6
  166. mage_ai/server/frontend_dist/pipelines/[pipeline]/syncs.html +6 -6
  167. mage_ai/server/frontend_dist/pipelines/[pipeline]/triggers/[...slug].html +6 -6
  168. mage_ai/server/frontend_dist/pipelines/[pipeline]/triggers.html +6 -6
  169. mage_ai/server/frontend_dist/pipelines/[pipeline].html +3 -3
  170. mage_ai/server/frontend_dist/pipelines.html +6 -6
  171. mage_ai/server/frontend_dist/platform/global-hooks/[...slug].html +6 -6
  172. mage_ai/server/frontend_dist/platform/global-hooks.html +6 -6
  173. mage_ai/server/frontend_dist/settings/account/profile.html +6 -6
  174. mage_ai/server/frontend_dist/settings/platform/preferences.html +6 -6
  175. mage_ai/server/frontend_dist/settings/platform/settings.html +6 -6
  176. mage_ai/server/frontend_dist/settings/workspace/permissions/[...slug].html +6 -6
  177. mage_ai/server/frontend_dist/settings/workspace/permissions.html +6 -6
  178. mage_ai/server/frontend_dist/settings/workspace/preferences.html +6 -6
  179. mage_ai/server/frontend_dist/settings/workspace/roles/[...slug].html +6 -6
  180. mage_ai/server/frontend_dist/settings/workspace/roles.html +6 -6
  181. mage_ai/server/frontend_dist/settings/workspace/sync-data.html +6 -6
  182. mage_ai/server/frontend_dist/settings/workspace/users/[...slug].html +6 -6
  183. mage_ai/server/frontend_dist/settings/workspace/users.html +6 -6
  184. mage_ai/server/frontend_dist/settings.html +3 -3
  185. mage_ai/server/frontend_dist/sign-in.html +7 -7
  186. mage_ai/server/frontend_dist/templates/[...slug].html +6 -6
  187. mage_ai/server/frontend_dist/templates.html +6 -6
  188. mage_ai/server/frontend_dist/terminal.html +6 -6
  189. mage_ai/server/frontend_dist/test.html +3 -3
  190. mage_ai/server/frontend_dist/triggers.html +6 -6
  191. mage_ai/server/frontend_dist/v2/canvas.html +2 -2
  192. mage_ai/server/frontend_dist/v2.html +2 -2
  193. mage_ai/server/frontend_dist/version-control.html +6 -6
  194. mage_ai/server/frontend_dist_base_path_template/404.html +3 -3
  195. mage_ai/server/frontend_dist_base_path_template/_next/static/2QL-FT4lFR0a9bDZ7lNd9/_buildManifest.js +1 -0
  196. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{1187-839336d276186105.js → 1187-4560c3895e1d7099.js} +1 -1
  197. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{1598-0adca9dce3ba4c60.js → 1598-cbf3f5a6078fc3f5.js} +1 -1
  198. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/2717-638a944d24d5abde.js +1 -0
  199. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3548-36f746b1824004f2.js +1 -0
  200. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{3763-39a5174f6a3924db.js → 3763-aabe2703076636b0.js} +1 -1
  201. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3782-3e2acb5ed45b582b.js +1 -0
  202. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/449-5e2253c6aba42557.js +1 -0
  203. mage_ai/server/{frontend_dist/_next/static/chunks/5627-d5e559859dd0e1e0.js → frontend_dist_base_path_template/_next/static/chunks/5627-10e76bafa5a26f5f.js} +1 -1
  204. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{5699-e49718dfc9eb2854.js → 5699-e99379e332bd0b41.js} +1 -1
  205. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{7966-163da2621b8c987c.js → 7966-a5a7db345ce81263.js} +1 -1
  206. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/_app-f205accb03b9ff43.js +2 -0
  207. mage_ai/server/{frontend_dist/_next/static/chunks/pages/compute-ed67fa8e81662e8b.js → frontend_dist_base_path_template/_next/static/chunks/pages/compute-9e2dea78024e3bb4.js} +1 -1
  208. mage_ai/server/{frontend_dist/_next/static/chunks/pages/files-e0ecd7ced09a63b2.js → frontend_dist_base_path_template/_next/static/chunks/pages/files-e08c7fe76f968f9c.js} +1 -1
  209. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/global-data-products/{[...slug]-c7a729477ecda50e.js → [...slug]-30c3807057a4e65b.js} +1 -1
  210. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/{global-data-products-fd6ae6a358a60a0c.js → global-data-products-8dcb3b31af9e0e39.js} +1 -1
  211. mage_ai/server/{frontend_dist/_next/static/chunks/pages/global-hooks/[...slug]-8e50243797a7fe59.js → frontend_dist_base_path_template/_next/static/chunks/pages/global-hooks/[...slug]-85a64b64d27214b6.js} +1 -1
  212. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/{global-hooks-d0c003446332dc0d.js → global-hooks-4ff959d51b8a9502.js} +1 -1
  213. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/{files-a69ed8e9f814490c.js → files-d08a460641d0efaa.js} +1 -1
  214. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/{overview-1aad7093c6d39257.js → overview-aae747f487e08d51.js} +1 -1
  215. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/{pipeline-runs-528d30e0d13b0cc7.js → pipeline-runs-09a842d64a6ada62.js} +1 -1
  216. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/{settings-fb9201d9cf63031d.js → settings-2e98e57d9376a458.js} +1 -1
  217. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/users/{[user]-000f5a980a07da39.js → [user]-7be6e41ad66089bb.js} +1 -1
  218. mage_ai/server/{frontend_dist/_next/static/chunks/pages/manage/users/new-e4e613f6e817a733.js → frontend_dist_base_path_template/_next/static/chunks/pages/manage/users/new-4c088833063bfa07.js} +1 -1
  219. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/users-5db54821a3059c69.js +1 -0
  220. mage_ai/server/{frontend_dist/_next/static/chunks/pages/manage-34d718b8a4066c23.js → frontend_dist_base_path_template/_next/static/chunks/pages/manage-868fcd8cbeb265f0.js} +1 -1
  221. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/{oauth-3bfd1b8d7f036726.js → oauth-6ceceb62191dfe8a.js} +1 -1
  222. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/overview-f65416f6dbe30ad3.js +1 -0
  223. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/{pipeline-runs-5f8c100e648efa8a.js → pipeline-runs-2d0136b51b57de93.js} +1 -1
  224. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/backfills/{[...slug]-688c652f3296bb9c.js → [...slug]-1ad5238742e25b4c.js} +1 -1
  225. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/backfills-bd11e87d026bfbf9.js +1 -0
  226. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/{dashboard-1236e36d39b1637d.js → dashboard-0f4f47f721b0723f.js} +1 -1
  227. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/edit-5ae8efe9e0530212.js +1 -0
  228. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/logs-fe91dfb0091f6bc6.js +1 -0
  229. mage_ai/server/{frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runs-0d68d4bf6290fefb.js → frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runs-cf794b2d22a80f31.js} +1 -1
  230. mage_ai/server/{frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runtime-9254358d58f07714.js → frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runtime-a964caef91bed9e1.js} +1 -1
  231. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/{monitors-821001e690caebe2.js → monitors-80bebb4401eefe25.js} +1 -1
  232. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/runs/[run]-2eae7cb017027682.js +1 -0
  233. mage_ai/server/{frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/runs-2d4b2a0800a66b33.js → frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/runs-776b2e5b0b6ceba8.js} +1 -1
  234. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/settings-03d9bca3bc5e6088.js +1 -0
  235. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/syncs-707ed8ca942ca802.js +1 -0
  236. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/triggers/{[...slug]-259143ed3cf59e31.js → [...slug]-8429f17d4146e1ec.js} +1 -1
  237. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/triggers-193045d9836d8d80.js +1 -0
  238. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines-d25d07db166cbb04.js +1 -0
  239. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/platform/global-hooks/{[...slug]-5eeec927e4202b63.js → [...slug]-6834ae87bd668cb2.js} +1 -1
  240. mage_ai/server/{frontend_dist/_next/static/chunks/pages/platform/global-hooks-fbe9ad995d46d837.js → frontend_dist_base_path_template/_next/static/chunks/pages/platform/global-hooks-b3f7309a23e592b2.js} +1 -1
  241. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/account/{profile-fc659962d4015cb3.js → profile-f8b7374385e1f1bf.js} +1 -1
  242. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/platform/preferences-8de68502a9afa299.js +1 -0
  243. mage_ai/server/{frontend_dist/_next/static/chunks/pages/settings/platform/settings-a4f88c334414402b.js → frontend_dist_base_path_template/_next/static/chunks/pages/settings/platform/settings-50fb6a34f3913f1f.js} +1 -1
  244. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/permissions/{[...slug]-4deb9579ef99a3c6.js → [...slug]-2e5c098c21ea32b7.js} +1 -1
  245. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/{permissions-e0cda2f2bfce8d61.js → permissions-54e4b15b9585bfc4.js} +1 -1
  246. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/preferences-040f83d75d0f6537.js +1 -0
  247. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/roles/{[...slug]-910257d16c604ebd.js → [...slug]-95088f43034e3c95.js} +1 -1
  248. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/{roles-4f7a0756806cee34.js → roles-e9149e1fcf218f42.js} +1 -1
  249. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/{sync-data-208d6f955204d704.js → sync-data-75b67ae4a00818ef.js} +1 -1
  250. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/users/{[...slug]-c89dc67e5a1706a8.js → [...slug]-557dda05ca6c6124.js} +1 -1
  251. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/users-fa61dc6c1370e6a5.js +1 -0
  252. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/{sign-in-054b33312d3193c3.js → sign-in-593c40985d63fcf7.js} +1 -1
  253. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/templates/{[...slug]-b6ed6a5d818bfd20.js → [...slug]-252c4b6b818345d5.js} +1 -1
  254. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/{templates-852357bc983af2ea.js → templates-ca528bc607753ab8.js} +1 -1
  255. mage_ai/server/{frontend_dist/_next/static/chunks/pages/terminal-1f9c56d671bbc67d.js → frontend_dist_base_path_template/_next/static/chunks/pages/terminal-287362c1defcc96b.js} +1 -1
  256. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/test-2f83af8c9f1378fe.js +1 -0
  257. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/triggers-d9de73fb799efed8.js +1 -0
  258. mage_ai/server/{frontend_dist/_next/static/chunks/pages/version-control-ae3469b992a341d6.js → frontend_dist_base_path_template/_next/static/chunks/pages/version-control-573f0225d7a703ed.js} +1 -1
  259. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{webpack-12ad70eb5c31aa92.js → webpack-5f4be622608d9267.js} +1 -1
  260. mage_ai/server/frontend_dist_base_path_template/block-layout.html +3 -3
  261. mage_ai/server/frontend_dist_base_path_template/compute.html +6 -6
  262. mage_ai/server/frontend_dist_base_path_template/files.html +6 -6
  263. mage_ai/server/frontend_dist_base_path_template/global-data-products/[...slug].html +6 -6
  264. mage_ai/server/frontend_dist_base_path_template/global-data-products.html +6 -6
  265. mage_ai/server/frontend_dist_base_path_template/global-hooks/[...slug].html +6 -6
  266. mage_ai/server/frontend_dist_base_path_template/global-hooks.html +6 -6
  267. mage_ai/server/frontend_dist_base_path_template/index.html +3 -3
  268. mage_ai/server/frontend_dist_base_path_template/manage/files.html +6 -6
  269. mage_ai/server/frontend_dist_base_path_template/manage/overview.html +6 -6
  270. mage_ai/server/frontend_dist_base_path_template/manage/pipeline-runs.html +6 -6
  271. mage_ai/server/frontend_dist_base_path_template/manage/settings.html +6 -6
  272. mage_ai/server/frontend_dist_base_path_template/manage/users/[user].html +6 -6
  273. mage_ai/server/frontend_dist_base_path_template/manage/users/new.html +6 -6
  274. mage_ai/server/frontend_dist_base_path_template/manage/users.html +6 -6
  275. mage_ai/server/frontend_dist_base_path_template/manage.html +6 -6
  276. mage_ai/server/frontend_dist_base_path_template/oauth.html +5 -5
  277. mage_ai/server/frontend_dist_base_path_template/overview.html +6 -6
  278. mage_ai/server/frontend_dist_base_path_template/pipeline-runs.html +6 -6
  279. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/backfills/[...slug].html +6 -6
  280. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/backfills.html +6 -6
  281. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/dashboard.html +6 -6
  282. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/edit.html +3 -3
  283. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/logs.html +6 -6
  284. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/monitors/block-runs.html +6 -6
  285. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/monitors/block-runtime.html +6 -6
  286. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/monitors.html +6 -6
  287. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/runs/[run].html +6 -6
  288. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/runs.html +6 -6
  289. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/settings.html +6 -6
  290. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/syncs.html +6 -6
  291. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/triggers/[...slug].html +6 -6
  292. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/triggers.html +6 -6
  293. mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline].html +3 -3
  294. mage_ai/server/frontend_dist_base_path_template/pipelines.html +6 -6
  295. mage_ai/server/frontend_dist_base_path_template/platform/global-hooks/[...slug].html +6 -6
  296. mage_ai/server/frontend_dist_base_path_template/platform/global-hooks.html +6 -6
  297. mage_ai/server/frontend_dist_base_path_template/settings/account/profile.html +6 -6
  298. mage_ai/server/frontend_dist_base_path_template/settings/platform/preferences.html +6 -6
  299. mage_ai/server/frontend_dist_base_path_template/settings/platform/settings.html +6 -6
  300. mage_ai/server/frontend_dist_base_path_template/settings/workspace/permissions/[...slug].html +6 -6
  301. mage_ai/server/frontend_dist_base_path_template/settings/workspace/permissions.html +6 -6
  302. mage_ai/server/frontend_dist_base_path_template/settings/workspace/preferences.html +6 -6
  303. mage_ai/server/frontend_dist_base_path_template/settings/workspace/roles/[...slug].html +6 -6
  304. mage_ai/server/frontend_dist_base_path_template/settings/workspace/roles.html +6 -6
  305. mage_ai/server/frontend_dist_base_path_template/settings/workspace/sync-data.html +6 -6
  306. mage_ai/server/frontend_dist_base_path_template/settings/workspace/users/[...slug].html +6 -6
  307. mage_ai/server/frontend_dist_base_path_template/settings/workspace/users.html +6 -6
  308. mage_ai/server/frontend_dist_base_path_template/settings.html +3 -3
  309. mage_ai/server/frontend_dist_base_path_template/sign-in.html +7 -7
  310. mage_ai/server/frontend_dist_base_path_template/templates/[...slug].html +6 -6
  311. mage_ai/server/frontend_dist_base_path_template/templates.html +6 -6
  312. mage_ai/server/frontend_dist_base_path_template/terminal.html +6 -6
  313. mage_ai/server/frontend_dist_base_path_template/test.html +3 -3
  314. mage_ai/server/frontend_dist_base_path_template/triggers.html +6 -6
  315. mage_ai/server/frontend_dist_base_path_template/v2/canvas.html +2 -2
  316. mage_ai/server/frontend_dist_base_path_template/v2.html +2 -2
  317. mage_ai/server/frontend_dist_base_path_template/version-control.html +6 -6
  318. mage_ai/server/scheduler_manager.py +2 -0
  319. mage_ai/server/server.py +13 -0
  320. mage_ai/server/terminal_server.py +3 -0
  321. mage_ai/server/utils/output_display.py +5 -3
  322. mage_ai/services/aws/events/events.py +2 -2
  323. mage_ai/services/gcp/cloud_run/cloud_run.py +1 -1
  324. mage_ai/services/teams/config.py +13 -2
  325. mage_ai/services/teams/teams.py +13 -11
  326. mage_ai/settings/server.py +12 -1
  327. mage_ai/shared/constants.py +3 -1
  328. mage_ai/shared/croniter.py +1398 -0
  329. mage_ai/shared/enum.py +2 -5
  330. mage_ai/shared/environments.py +27 -3
  331. mage_ai/streaming/sinks/elasticsearch.py +15 -5
  332. mage_ai/streaming/sinks/kafka.py +21 -3
  333. mage_ai/streaming/sources/kafka.py +64 -7
  334. mage_ai/streaming/sources/kafka_oauth.py +182 -0
  335. mage_ai/tests/api/endpoints/test_blocks.py +1 -101
  336. mage_ai/tests/api/endpoints/test_configuration_options.py +1 -48
  337. mage_ai/tests/api/endpoints/test_configuration_options_project_platform.py +68 -0
  338. mage_ai/tests/api/endpoints/test_custom_designs.py +1 -106
  339. mage_ai/tests/api/endpoints/test_custom_designs_project_platform.py +132 -0
  340. mage_ai/tests/api/endpoints/test_dbt_blocks.py +111 -0
  341. mage_ai/tests/api/endpoints/test_file_contents.py +0 -48
  342. mage_ai/tests/api/endpoints/test_file_contents_with_project_platform.py +66 -0
  343. mage_ai/tests/api/endpoints/test_pipelines.py +0 -134
  344. mage_ai/tests/api/endpoints/test_pipelines_with_project_platform.py +143 -0
  345. mage_ai/tests/data_preparation/executors/test_block_executor.py +3 -3
  346. mage_ai/tests/data_preparation/logging/test_logger_manager.py +24 -5
  347. mage_ai/tests/data_preparation/models/block/dynamic/test_counter.py +1 -3
  348. mage_ai/tests/data_preparation/models/block/hook/test_hook_block.py +3 -3
  349. mage_ai/tests/data_preparation/models/test_block.py +7 -0
  350. mage_ai/tests/data_preparation/models/test_pipeline.py +55 -0
  351. mage_ai/tests/data_preparation/models/test_variable.py +2 -0
  352. mage_ai/tests/data_preparation/test_repo_manager.py +0 -63
  353. mage_ai/tests/data_preparation/test_repo_manager_project_platform.py +67 -0
  354. mage_ai/tests/data_preparation/test_variable_manager.py +0 -51
  355. mage_ai/tests/data_preparation/test_variable_manager_project_platform.py +41 -0
  356. mage_ai/tests/io/create_table/test_postgresql.py +28 -0
  357. mage_ai/tests/orchestration/db/models/test_schedules.py +1 -1
  358. mage_ai/tests/orchestration/notification/test_config.py +3 -3
  359. mage_ai/tests/orchestration/notification/test_sender.py +5 -1
  360. mage_ai/tests/orchestration/utils/__init__.py +0 -0
  361. mage_ai/tests/orchestration/utils/test_resources.py +235 -0
  362. mage_ai/tests/shared/test_croniter.py +2541 -0
  363. mage_ai/tests/streaming/sinks/test_kafka.py +130 -0
  364. mage_ai/tests/streaming/sources/test_kafka.py +125 -3
  365. mage_ai/tests/streaming/sources/test_kafka_oauth.py +208 -0
  366. mage_ai/tests/streaming/sources/test_kafka_raw_value.py +105 -0
  367. mage_ai/usage_statistics/logger.py +99 -15
  368. mage_ai-0.9.79.dist-info/METADATA +358 -0
  369. {mage_ai-0.9.74.dist-info → mage_ai-0.9.79.dist-info}/RECORD +377 -359
  370. {mage_ai-0.9.74.dist-info → mage_ai-0.9.79.dist-info}/WHEEL +1 -1
  371. mage_ai/server/frontend_dist/_next/static/chunks/1557-1ad0c64c2d08e569.js +0 -1
  372. mage_ai/server/frontend_dist/_next/static/chunks/2717-d65056b6b5e124eb.js +0 -1
  373. mage_ai/server/frontend_dist/_next/static/chunks/3548-b2c5edfb710886a6.js +0 -1
  374. mage_ai/server/frontend_dist/_next/static/chunks/3782-4b3091e550f809a2.js +0 -1
  375. mage_ai/server/frontend_dist/_next/static/chunks/pages/_app-5bdff745074fb350.js +0 -2
  376. mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/users-a5e9d77ed5b50205.js +0 -1
  377. mage_ai/server/frontend_dist/_next/static/chunks/pages/overview-69af3253ad0d0d89.js +0 -1
  378. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/backfills-fe112809feb25b05.js +0 -1
  379. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/edit-e9ca358209cdf93d.js +0 -1
  380. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/logs-a29f1615d2e7d330.js +0 -1
  381. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/runs/[run]-6d382ae5bad9745c.js +0 -1
  382. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/settings-cd49372ae1702963.js +0 -1
  383. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/syncs-135be8974f7f5f2b.js +0 -1
  384. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/triggers-3af13e89adff4d6c.js +0 -1
  385. mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines-b578b075a8d857e3.js +0 -1
  386. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/platform/preferences-058d283ee178c038.js +0 -1
  387. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/preferences-7b02bb70462144cb.js +0 -1
  388. mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/users-5212c01a9dc558da.js +0 -1
  389. mage_ai/server/frontend_dist/_next/static/chunks/pages/test-86b12cc12d4a625f.js +0 -1
  390. mage_ai/server/frontend_dist/_next/static/chunks/pages/triggers-2481c40b18d5b6d4.js +0 -1
  391. mage_ai/server/frontend_dist/_next/static/pLWT6Sqd09xYpufCVIqnz/_buildManifest.js +0 -1
  392. mage_ai/server/frontend_dist_base_path_template/_next/static/JQewSAObpbhO0wrdAM6Ng/_buildManifest.js +0 -1
  393. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/1557-1ad0c64c2d08e569.js +0 -1
  394. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/2717-d65056b6b5e124eb.js +0 -1
  395. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3548-b2c5edfb710886a6.js +0 -1
  396. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3782-4b3091e550f809a2.js +0 -1
  397. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/_app-90de19bc03f1484b.js +0 -2
  398. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/users-a5e9d77ed5b50205.js +0 -1
  399. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/overview-69af3253ad0d0d89.js +0 -1
  400. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/backfills-fe112809feb25b05.js +0 -1
  401. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/edit-e9ca358209cdf93d.js +0 -1
  402. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/logs-a29f1615d2e7d330.js +0 -1
  403. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/runs/[run]-6d382ae5bad9745c.js +0 -1
  404. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/settings-cd49372ae1702963.js +0 -1
  405. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/syncs-135be8974f7f5f2b.js +0 -1
  406. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/triggers-3af13e89adff4d6c.js +0 -1
  407. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines-b578b075a8d857e3.js +0 -1
  408. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/platform/preferences-058d283ee178c038.js +0 -1
  409. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/preferences-7b02bb70462144cb.js +0 -1
  410. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/users-5212c01a9dc558da.js +0 -1
  411. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/test-86b12cc12d4a625f.js +0 -1
  412. mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/triggers-2481c40b18d5b6d4.js +0 -1
  413. mage_ai-0.9.74.dist-info/METADATA +0 -544
  414. /mage_ai/server/frontend_dist/_next/static/{pLWT6Sqd09xYpufCVIqnz → TUo4RceCdMufBTBTq8CAq}/_ssgManifest.js +0 -0
  415. /mage_ai/server/frontend_dist/_next/static/chunks/pages/{_app-5bdff745074fb350.js.LICENSE.txt → _app-b697b35dfc4e6e26.js.LICENSE.txt} +0 -0
  416. /mage_ai/server/frontend_dist_base_path_template/_next/static/{JQewSAObpbhO0wrdAM6Ng → 2QL-FT4lFR0a9bDZ7lNd9}/_ssgManifest.js +0 -0
  417. /mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/{_app-90de19bc03f1484b.js.LICENSE.txt → _app-f205accb03b9ff43.js.LICENSE.txt} +0 -0
  418. {mage_ai-0.9.74.dist-info → mage_ai-0.9.79.dist-info}/entry_points.txt +0 -0
  419. {mage_ai-0.9.74.dist-info → mage_ai-0.9.79.dist-info/licenses}/LICENSE +0 -0
  420. {mage_ai-0.9.74.dist-info → mage_ai-0.9.79.dist-info}/top_level.txt +0 -0
@@ -1 +1 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2858],{94629:function(e,n,t){"use strict";t.d(n,{Z:function(){return C}});var r=t(82394),o=t(21831),i=t(82684),l=t(50724),s=t(82555),c=t(97618),u=t(70613),a=t(31557),d=t(68899),h=t(28598);function f(e,n){var t=e.children,r=e.noPadding;return(0,h.jsx)(d.HS,{noPadding:r,ref:n,children:t})}var m=i.forwardRef(f),j=t(62547),p=t(82571),x=t(77417),v=t(46684),b=t(75375);function Z(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 g(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Z(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Z(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function y(e,n){e.addProjectBreadcrumbToCustomBreadcrumbs;var t=e.after,r=e.afterHeader,i=e.afterHidden,f=e.afterWidth,Z=e.afterWidthOverride,y=e.appendBreadcrumbs,C=e.before,P=e.beforeHeader,_=e.beforeWidth,w=e.breadcrumbs,O=e.children,k=e.contained,I=e.errors,M=e.headerMenuItems,S=e.headerOffset,H=e.hideAfterCompletely,A=e.mainContainerHeader,E=e.navigationItems,R=e.setAfterHidden,D=e.setAfterWidth,F=e.setBeforeWidth,B=e.setErrors,N=e.subheaderChildren,U=e.subheaderNoPadding,V=e.title,T=e.uuid,L=(0,b.Z)(T,{beforeResizeOffset:b.H,setWidthAfter:D,setWidthBefore:F,widthAfter:f,widthBefore:_,widthOverrideAfter:Z}),q=L.mainContainerRef,G=L.mousedownActiveAfter,z=L.mousedownActiveBefore,W=L.setMousedownActiveAfter,Q=L.setMousedownActiveBefore,K=L.setWidthAfter,Y=L.setWidthBefore,X=L.widthAfter,J=L.widthBefore,$=(0,x.Z)().project,ee=[];return w&&ee.push.apply(ee,(0,o.Z)(w)),null!=w&&w.length&&!y||!$||null!=w&&w.length||ee.unshift({bold:!y,label:function(){return V}}),(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(u.Z,{title:V}),(0,h.jsx)(a.Z,{breadcrumbs:ee,menuItems:M}),(0,h.jsxs)(d.Nk,{ref:n,children:[0!==(null==E?void 0:E.length)&&(0,h.jsx)(d.lm,{showMore:!0,children:(0,h.jsx)(p.Z,{navigationItems:E,showMore:!0})}),(0,h.jsx)(c.Z,{flex:1,flexDirection:"column",children:(0,h.jsxs)(j.Z,{after:t,afterHeader:r,afterHeightOffset:v.Mz,afterHidden:i,afterMousedownActive:G,afterWidth:X,before:C,beforeHeader:P,beforeHeightOffset:v.Mz,beforeMousedownActive:z,beforeWidth:C?J:d.k1,contained:k,headerOffset:S,hideAfterCompletely:!t||H,leftOffset:C?d.k1:null,mainContainerHeader:A,mainContainerRef:q,setAfterHidden:R,setAfterMousedownActive:W,setAfterWidth:K,setBeforeMousedownActive:Q,setBeforeWidth:Y,children:[N&&(0,h.jsx)(m,{noPadding:U,children:N}),O]})})]}),I&&(0,h.jsx)(l.Z,{disableClickOutside:!0,isOpen:!0,onClickOutside:function(){return null==B?void 0:B(null)},children:(0,h.jsx)(s.Z,g(g({},I),{},{onClose:function(){return null==B?void 0:B(null)}}))})]})}var C=i.forwardRef(y)},93808:function(e,n,t){"use strict";t.d(n,{Z:function(){return O}});var r=t(77837),o=t(26304),i=t(62243),l=t(29385),s=t(80022),c=t(13692),u=t(93189),a=t(15544),d=t(82394),h=t(38860),f=t.n(h),m=t(82684),j=t(56663),p=t.n(j),x=t(40761),v=t(34661),b=t(36105),Z=t(50178),g=t(69419),y=t(28598),C=["auth"];function P(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?P(Object(t),!0).forEach((function(n){(0,d.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):P(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function w(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,r=(0,a.Z)(e);if(n){var o=(0,a.Z)(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return(0,u.Z)(this,t)}}function O(e){return function(n){(0,c.Z)(a,n);var t,u=w(a);function a(){var e;(0,i.Z)(this,a);for(var n=arguments.length,t=new Array(n),r=0;r<n;r++)t[r]=arguments[r];return e=u.call.apply(u,[this].concat(t)),(0,d.Z)((0,s.Z)(e),"state",{auth:new x.Z(e.props.token)}),e}return(0,l.Z)(a,[{key:"componentDidMount",value:function(){this.setState({auth:new x.Z(this.props.token)})}},{key:"render",value:function(){var n=this.props,t=(n.auth,(0,o.Z)(n,C));return(0,y.jsx)(e,_({auth:this.state.auth},t))}}],[{key:"getInitialProps",value:(t=(0,r.Z)(f().mark((function n(t){var r,o,i,l,s,c,u,a,d;return f().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r=p()(t),o=(0,Z.ex)(t),i=o.id,l=r[v.Mv],s=r[b.qt],c=new x.Z(l),u=_(_({},t),{},{auth:c,currentGroupId:i,theme:s}),(0,Z.YB)(t)&&c.isExpired&&(console.log("OAuth token has expired."),a=_(_({},t.query),{},{redirect_url:t.asPath}),(0,g.nL)("/sign-in?".concat((0,g.uM)(a)),t.res)),!e.getInitialProps){n.next=12;break}return n.next=10,e.getInitialProps(u);case 10:return d=n.sent,n.abrupt("return",_(_({},d),{},{auth:c,currentGroupId:i,theme:s}));case 12:return n.abrupt("return",u);case 13:case"end":return n.stop()}}),n)}))),function(e){return t.apply(this,arguments)})}]),a}(m.Component)}},91769:function(e,n,t){"use strict";t.d(n,{f:function(){return v},h:function(){return p}});var r=t(82394),o=t(82684),i=t(34376),l=t(68562),s=t(72473),c=t(70515),u=t(69419),a=t(53808),d=t(28598);var h=function(e){var n=e.oauthResponse,t=(0,i.useRouter)(),r=(0,o.useMemo)((function(){return n||{}}),[n]),h=r.url,f=r.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)(s.GoogleIcon,{size:2*c.iI}),bold:!0,inline:!0,onClick:function(){var e=(0,u.iV)(h).state;(0,a.t8)(e,m),t.push(h)},uuid:"SignForm/google",children:"Sign in with Google"})})};var f=function(e){var n=e.oauthResponse,t=(0,i.useRouter)(),r=(0,o.useMemo)((function(){return n||{}}),[n]),h=r.url,f=r.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)(s.MicrosoftIcon,{size:2*c.iI}),bold:!0,inline:!0,onClick:function(){var e=(0,u.iV)(h).state;m&&(0,a.t8)(e,m),t.push(h)},uuid:"SignForm/active_directory",children:"Sign in with Microsoft"})})};var m=function(e){var n=e.oauthResponse,t=(0,i.useRouter)(),r=(0,o.useMemo)((function(){return n||{}}),[n]),s=r.url,c=r.redirect_query_params,h=void 0===c?{}:c;return(0,d.jsx)(d.Fragment,{children:s&&(0,d.jsx)(l.ZP,{bold:!0,inline:!0,onClick:function(){var e=(0,u.iV)(s).state;(0,a.t8)(e,h),t.push(s)},uuid:"SignForm/oidc_generic",children:"Sign in with OIDC"})})};var j,p,x=function(e){var n=e.oauthResponse,t=(0,i.useRouter)(),r=(0,o.useMemo)((function(){return n||{}}),[n]),s=r.url,c=r.redirect_query_params,h=void 0===c?{}:c;return(0,d.jsx)(d.Fragment,{children:s&&(0,d.jsx)(l.ZP,{bold:!0,inline:!0,onClick:function(){var e=(0,u.iV)(s).state;(0,a.t8)(e,h),t.push(s)},uuid:"SignForm/okta",children:"Sign in with Okta"})})};!function(e){e.ACTIVE_DIRECTORY="active_directory",e.AZURE_DEVOPS="azure_devops",e.BITBUCKET="bitbucket",e.GITHUB="github",e.GITLAB="gitlab",e.GOOGLE="google",e.OIDC_GENERIC="oidc_generic",e.OKTA="okta"}(p||(p={}));var v=(j={},(0,r.Z)(j,p.ACTIVE_DIRECTORY,f),(0,r.Z)(j,p.GOOGLE,h),(0,r.Z)(j,p.OIDC_GENERIC,m),(0,r.Z)(j,p.OKTA,x),j)},37520:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return Ve}});var r=t(77837),o=t(38860),i=t.n(o),l=t(93808),s=t(82394),c=t(75582),u=t(82684),a=t(83455),d=t(71180),h=t(15338),f=t(55485),m=t(85854),j=t(44085),p=t(38276),x=t(4190),v=t(30160),b=t(35576),Z=t(17488),g=t(12468),y=t(35686),C=t(72473),P="clone",_="delete",w="fetch",O="merge",k="pull",I="push",M="rebase",S="reset --hard",H=(0,s.Z)({},w,["prune"]),A="git_remote_name",E="git_repository_name",R={uuid:"Branches"},D={uuid:"Commit"},F={uuid:"Push & Pull Requests"},B={uuid:"Remote & Auth"},N=[B,R,D,F],U=t(70515),V=t(81728),T=t(72619),L=t(28598);var q=function(e){var n=e.actionRemoteName,t=e.branch,r=e.branches,o=e.fetchBranch,i=e.fetchBranches,l=e.remotes,s=e.setActionRemoteName,P=e.showError,w=(0,u.useState)(""),k=w[0],I=w[1],S=(0,u.useState)(null),H=S[0],A=S[1],E=(0,u.useState)(null),R=E[0],F=E[1],N=(0,u.useState)(null),q=N[0],G=N[1],z=(0,u.useState)(""),W=z[0],Q=z[1],K=(0,u.useMemo)((function(){return null==l?void 0:l.find((function(e){return e.name===n}))}),[n,l]),Y=(0,u.useMemo)((function(){return(null==r?void 0:r.concat((null==K?void 0:K.refs)||[]))||[]}),[r,K]),X=(0,a.Db)(y.ZP.git_custom_branches.useCreate(),{onSuccess:function(e){return(0,T.wD)(e,{callback:function(){o(),i(),Q("")},onErrorCallback:function(e,n){return P({errors:n,response:e})}})}}),J=(0,c.Z)(X,2),$=J[0],ee=J[1].isLoading,ne=(0,a.Db)(y.ZP.git_custom_branches.useCreate(),{onSuccess:function(e){return(0,T.wD)(e,{callback:function(){o(),window.location.reload()},onErrorCallback:function(e,n){return P({errors:n,response:e})}})}}),te=(0,c.Z)(ne,2),re=te[0],oe=te[1].isLoading,ie=(0,a.Db)(y.ZP.git_custom_branches.useUpdate(encodeURIComponent(null==t?void 0:t.name)),{onSuccess:function(e){return(0,T.wD)(e,{callback:function(e){var n=e.git_custom_branch.progress;o(),I(""),A(""),F(n),G("")},onErrorCallback:function(e,n){return P({errors:n,response:e})}})}}),le=(0,c.Z)(ie,2),se=le[0],ce=le[1].isLoading;return(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)(p.Z,{mb:U.HN,children:[(0,L.jsxs)(m.Z,{children:["Branches",r?" (".concat(null==r?void 0:r.length,")"):""]}),(0,L.jsx)(p.Z,{mt:U.Mq,children:(0,L.jsxs)(f.ZP,{children:[(0,L.jsxs)("div",{children:[(0,L.jsx)(p.Z,{mb:1,children:(0,L.jsx)(v.ZP,{bold:!0,muted:!0,children:"Remote"})}),(0,L.jsx)(j.Z,{beforeIcon:(0,L.jsx)(C.MultiShare,{}),beforeIconSize:1.5*U.iI,monospace:!0,onChange:function(e){return s(e.target.value)},placeholder:"Choose a remote",value:n||"",children:null==l?void 0:l.map((function(e){var n=e.name;return(0,L.jsx)("option",{value:n,children:n},n)}))})]}),(0,L.jsx)(p.Z,{mr:1}),(0,L.jsxs)("div",{children:[(0,L.jsx)(p.Z,{mb:1,children:(0,L.jsx)(v.ZP,{bold:!0,muted:!0,children:"Current branch"})}),(0,L.jsxs)(f.ZP,{alignItems:"center",children:[(0,L.jsx)(g.Z,{fullSize:!0,label:"Choose a different branch to switch branches",widthFitContent:!0,children:(0,L.jsx)(j.Z,{beforeIcon:(0,L.jsx)(C.Branch,{muted:!1}),beforeIconSize:2*U.iI,monospace:!0,onChange:function(e){return re({git_custom_branch:{name:e.target.value,remote:n}})},value:null==t?void 0:t.name,children:(null==t?void 0:t.name)&&(null==Y?void 0:Y.map((function(e){var n=e.name;return(0,L.jsx)("option",{value:n,children:n},n)})))})}),(0,L.jsx)(p.Z,{mr:U.cd}),oe&&(0,L.jsx)(x.Z,{inverted:!0})]})]})]})}),(0,L.jsx)(p.Z,{mt:U.Mq,children:(0,L.jsxs)(f.ZP,{alignItems:"center",children:[(0,L.jsx)(Z.Z,{label:"New branch name",monospace:!0,onChange:function(e){var n;return Q(null==e||null===(n=e.target)||void 0===n?void 0:n.value)},value:W||""}),(0,L.jsx)(p.Z,{mr:1}),(0,L.jsx)(d.ZP,{beforeIcon:(0,L.jsx)(C.Add,{size:2*U.iI}),disabled:!W,loading:ee,onClick:function(){$({git_custom_branch:{name:W}})},primary:!0,children:"Create new branch"})]})})]}),(0,L.jsxs)(p.Z,{mb:U.HN,children:[(0,L.jsx)(m.Z,{children:"Actions"}),(0,L.jsxs)(p.Z,{mt:U.Mq,children:[(0,L.jsxs)(p.Z,{mb:U.Mq,children:[(0,L.jsx)(p.Z,{mb:1,children:(0,L.jsx)(v.ZP,{bold:!0,muted:!0,children:"Compare branch"})}),(null==t?void 0:t.name)&&(0,L.jsx)(v.ZP,{monospace:!0,children:null==t?void 0:t.name})]}),(0,L.jsxs)(f.ZP,{alignItems:"center",children:[(0,L.jsxs)("div",{children:[(0,L.jsx)(p.Z,{mb:1,children:(0,L.jsx)(v.ZP,{bold:!0,muted:!0,children:"Base branch"})}),(0,L.jsx)(j.Z,{beforeIcon:(0,L.jsx)(C.Branch,{}),beforeIconSize:1.5*U.iI,monospace:!0,onChange:function(e){return G(e.target.value)},placeholder:"Choose a branch",value:q,children:null==Y?void 0:Y.map((function(e){var n=e.name;return(0,L.jsx)("option",{value:n,children:n},n)}))})]}),(0,L.jsx)(p.Z,{mr:1}),(0,L.jsxs)("div",{children:[(0,L.jsx)(p.Z,{mb:1,children:(0,L.jsx)(v.ZP,{bold:!0,muted:!0,children:"Action"})}),(0,L.jsxs)(j.Z,{onChange:function(e){return A(e.target.value)},placeholder:"Choose action",value:H||"",children:[(0,L.jsx)("option",{value:O,children:(0,V.vg)(O)}),(0,L.jsx)("option",{value:M,children:(0,V.vg)(M)}),(0,L.jsx)("option",{value:_,children:(0,V.vg)(_)})]})]})]}),H&&[O,M].includes(H)&&(0,L.jsxs)(p.Z,{mt:U.cd,children:[(0,L.jsx)(p.Z,{mb:1,children:(0,L.jsxs)(v.ZP,{bold:!0,muted:!0,children:["Message for ",H]})}),(0,L.jsx)(b.Z,{monospace:!0,onChange:function(e){return I(e.target.value)},value:k||""})]}),(0,L.jsxs)(p.Z,{mt:U.cd,children:[(0,L.jsx)(d.ZP,{beforeIcon:(0,L.jsx)(C.Lightning,{size:2*U.iI}),disabled:!H||!q,loading:ce,onClick:function(){(_!==H||"undefined"!=typeof location&&window.confirm("Are you sure you want to delete branch ".concat(q,"?")))&&se({git_custom_branch:{action_payload:{base_branch:q},action_type:H,message:k}})},primary:!0,children:H?(0,V.vg)(H):"Execute action"}),R&&(0,L.jsx)(p.Z,{mt:U.cd,children:(0,L.jsx)(v.ZP,{default:!0,monospace:!0,preWrap:!0,children:R})})]})]})]}),(0,L.jsxs)(p.Z,{mb:U.HN,children:[(0,L.jsx)(p.Z,{mb:U.HN,children:(0,L.jsx)(h.Z,{light:!0})}),(0,L.jsxs)(f.ZP,{children:[(0,L.jsx)(d.ZP,{beforeIcon:(0,L.jsx)(C.PaginateArrowLeft,{}),linkProps:{href:"/version-control?tab=".concat(encodeURIComponent(B.uuid))},noBackground:!0,noHoverUnderline:!0,sameColorAsText:!0,children:B.uuid}),(0,L.jsx)(p.Z,{mr:1}),(0,L.jsxs)(d.ZP,{afterIcon:(0,L.jsx)(C.PaginateArrowRight,{}),linkProps:{href:"/version-control?tab=".concat(D.uuid)},noHoverUnderline:!0,sameColorAsText:!0,secondary:!0,children:["Next: ",D.uuid]})]})]})]})},G=t(90299),z=t(32013),W=t(98777),Q=t(48670),K=t(75499);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 X(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,s.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}var J={base_branch:null,body:null,compare_branch:null,repository:null,title:null};var $=function(e){var n=e.actionRemoteName,t=e.branch,r=e.branches,o=e.fetchBranch,i=e.loading,l=e.remotes,s=e.repositories,g=e.repositoryName,P=e.setActionRemoteName,_=e.setRepositoryName,w=e.showError,O=(0,u.useState)((null==t?void 0:t.name)||""),k=O[0],M=O[1],S=(0,u.useState)(null),H=S[0],A=S[1],E=(0,u.useState)(null),R=E[0],F=E[1],B=(0,u.useState)(J),N=B[0],q=B[1],G=(0,a.Db)(y.ZP.git_custom_branches.useUpdate(encodeURIComponent(null==t?void 0:t.name)),{onSuccess:function(e){return(0,T.wD)(e,{callback:function(e){var n=e.git_custom_branch,t=n.error,r=n.progress;t?(A(t),F(null)):(o(),A(null),F(r))},onErrorCallback:function(e,n){return w({errors:n,response:e})}})}}),Y=(0,c.Z)(G,2),$=Y[0],ee=Y[1].isLoading,ne=(0,u.useMemo)((function(){var e;return null==s||null===(e=s.find((function(e){return e.name===g})))||void 0===e?void 0:e.url}),[s,g]),te=y.ZP.pull_requests.list({remote_url:ne,repository:g},{},{pauseFetch:!g}),re=te.data,oe=te.mutate,ie=(0,u.useMemo)((function(){return(null==re?void 0:re.pull_requests)||[]}),[re]),le=(0,u.useMemo)((function(){return(0,L.jsx)(K.Z,{columnFlex:[null,null,null,null],columns:[{uuid:"Title"},{uuid:"Author"},{uuid:"Created"},{uuid:"Last modified"}],onClickRow:function(e){var n,t=null==ie||null===(n=ie[e])||void 0===n?void 0:n.url;t&&window.open(t,"_blank")},rows:null==ie?void 0:ie.map((function(e){var n=e.created_at,t=e.last_modified,r=e.title,o=e.url,i=e.user;return[(0,L.jsx)(Q.Z,{default:!0,href:o,monospace:!0,openNewWindow:!0,small:!0,children:r},"title"),(0,L.jsx)(v.ZP,{default:!0,monospace:!0,small:!0,children:i},"user"),(0,L.jsx)(v.ZP,{default:!0,monospace:!0,small:!0,children:n},"createdAt"),(0,L.jsx)(v.ZP,{default:!0,monospace:!0,small:!0,children:t||"-"},"lastModified")]})),uuid:"pull-requests"})}),[ie]),se=y.ZP.git_custom_branches.list({remote_url:ne,repository:g},{},{pauseFetch:!g}).data,ce=(0,u.useMemo)((function(){return(null==se?void 0:se.git_custom_branches)||[]}),[se]);(0,u.useEffect)((function(){null!=N&&N.compare_branch||null==ce||!ce.find((function(e){return e.name===(null==t?void 0:t.name)}))||q((function(e){return X(X({},e),{},{compare_branch:null==t?void 0:t.name})}))}),[t,ce,N]);var ue=(0,a.Db)(y.ZP.pull_requests.useCreate(),{onSuccess:function(e){return(0,T.wD)(e,{callback:function(){oe(),q(J)},onErrorCallback:function(e,n){return w({errors:n,response:e})}})}}),ae=(0,c.Z)(ue,2),de=ae[0],he=ae[1].isLoading;return(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)(p.Z,{mb:U.HN,children:[(0,L.jsx)(p.Z,{mb:1,children:(0,L.jsx)(m.Z,{children:(0,V.vg)(I)})}),(0,L.jsxs)(p.Z,{mt:U.Mq,children:[(0,L.jsxs)(f.ZP,{children:[(0,L.jsxs)("div",{children:[(0,L.jsx)(p.Z,{mb:1,children:(0,L.jsx)(v.ZP,{bold:!0,muted:!0,children:"Remote"})}),i&&(0,L.jsx)(x.Z,{inverted:!0}),!i&&(0,L.jsx)(j.Z,{beforeIcon:(0,L.jsx)(C.MultiShare,{}),beforeIconSize:1.5*U.iI,monospace:!0,onChange:function(e){return P(e.target.value)},placeholder:"Choose remote",value:n||"",children:null==l?void 0:l.map((function(e){var n=e.name;return(0,L.jsx)("option",{value:n,children:n},n)}))})]}),(0,L.jsx)(p.Z,{mr:1}),(0,L.jsxs)("div",{children:[(0,L.jsx)(p.Z,{mb:1,children:(0,L.jsx)(v.ZP,{bold:!0,muted:!0,children:"Branch"})}),(0,L.jsxs)(j.Z,{beforeIcon:(0,L.jsx)(C.Branch,{}),beforeIconSize:1.5*U.iI,monospace:!0,onChange:function(e){return M(e.target.value)},placeholder:"Choose branch",value:k||"",children:[(0,L.jsx)("option",{value:""}),null==r?void 0:r.map((function(e){var n=e.name;return(0,L.jsx)("option",{value:n,children:n},n)}))]})]})]}),(0,L.jsx)(p.Z,{mt:U.cd,children:(0,L.jsxs)(d.ZP,{beforeIcon:(0,L.jsx)(C.Lightning,{size:2*U.iI}),disabled:!n||!k,loading:ee,onClick:function(){F(null),$({git_custom_branch:{action_payload:{branch:k,remote:n},action_type:I}})},primary:!0,children:[(0,V.vg)(I)," ",n," ",n&&k]})}),(R||H)&&(0,L.jsx)(p.Z,{mt:U.cd,children:(0,L.jsx)(v.ZP,{danger:!!H,default:!!R,monospace:!0,preWrap:!0,children:R||H})})]})]}),(0,L.jsxs)(p.Z,{mb:U.HN,children:[(0,L.jsx)(p.Z,{mb:1,children:(0,L.jsx)(m.Z,{children:"Create pull request"})}),(0,L.jsxs)(p.Z,{mt:U.Mq,children:[i&&(0,L.jsx)(x.Z,{inverted:!0}),!i&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)(f.ZP,{children:[(0,L.jsxs)("div",{children:[(0,L.jsx)(p.Z,{mb:1,children:(0,L.jsx)(v.ZP,{bold:!0,muted:!0,children:"Repository"})}),(0,L.jsx)(j.Z,{monospace:!0,onChange:function(e){return _(e.target.value)},placeholder:"Choose repository",value:g||"",children:null==s?void 0:s.map((function(e){var n=e.name;return(0,L.jsx)("option",{value:n,children:n},n)}))})]}),(0,L.jsx)(p.Z,{mr:1}),(0,L.jsxs)("div",{children:[(0,L.jsx)(p.Z,{mb:1,children:(0,L.jsx)(v.ZP,{bold:!0,muted:!0,children:"Base branch"})}),g&&!se&&(0,L.jsx)(x.Z,{inverted:!0}),(!g||se)&&(0,L.jsx)(j.Z,{beforeIcon:(0,L.jsx)(C.Branch,{}),beforeIconSize:1.5*U.iI,disabled:!g,monospace:!0,onChange:function(e){return q((function(n){return X(X({},n),{},{base_branch:e.target.value})}))},placeholder:"Choose branch",value:(null==N?void 0:N.base_branch)||"",children:null==ce?void 0:ce.map((function(e){var n=e.name;return(0,L.jsx)("option",{value:n,children:n},n)}))})]}),(0,L.jsx)(p.Z,{mr:1}),(0,L.jsxs)("div",{children:[(0,L.jsx)(p.Z,{mb:1,children:(0,L.jsx)(v.ZP,{bold:!0,muted:!0,children:"Compare branch"})}),g&&!se&&(0,L.jsx)(x.Z,{inverted:!0}),(!g||se||(null==N?void 0:N.compare_branch))&&(0,L.jsxs)(j.Z,{beforeIcon:(0,L.jsx)(C.Branch,{}),beforeIconSize:1.5*U.iI,disabled:!g,monospace:!0,onChange:function(e){return q((function(n){return X(X({},n),{},{compare_branch:e.target.value})}))},placeholder:"Choose branch",value:(null==N?void 0:N.compare_branch)||"",children:[!(null!=ce&&ce.length)&&(null==N?void 0:N.compare_branch)&&(0,L.jsx)("option",{value:null==N?void 0:N.compare_branch,children:null==N?void 0:N.compare_branch}),null==ce?void 0:ce.map((function(e){var n=e.name;return(0,L.jsx)("option",{value:n,children:n},n)}))]})]})]}),(0,L.jsx)(p.Z,{mt:1,children:(0,L.jsx)(Z.Z,{label:"Title",monospace:!0,onChange:function(e){return q((function(n){return X(X({},n),{},{title:e.target.value})}))},value:(null==N?void 0:N.title)||""})}),(0,L.jsx)(p.Z,{mt:1,children:(0,L.jsx)(b.Z,{label:"Description",monospace:!0,onChange:function(e){return q((function(n){return X(X({},n),{},{body:e.target.value})}))},value:(null==N?void 0:N.body)||""})}),(0,L.jsx)(p.Z,{mt:U.cd,children:(0,L.jsx)(d.ZP,{beforeIcon:(0,L.jsx)(C.Lightning,{size:2*U.iI}),disabled:!(g&&null!=N&&N.title&&null!=N&&N.base_branch&&null!=N&&N.compare_branch),loading:he,onClick:function(){de({pull_request:X(X({},N),{},{remote_url:ne,repository:g})})},primary:!0,children:"Create new pull request"})})]})]}),(0,L.jsx)(p.Z,{mt:U.Mq,children:(0,L.jsx)(z.Z,{visibleMapping:{0:!g},children:(0,L.jsxs)(W.Z,{noPaddingContent:!0,title:re?"Pull requests (".concat(null==ie?void 0:ie.length,")"):"Pull requests",children:[!g&&(0,L.jsx)(p.Z,{p:U.cd,children:(0,L.jsx)(v.ZP,{muted:!0,children:"Please select a repository to view open pull requests."})}),g&&(0,L.jsxs)(L.Fragment,{children:[!re&&(0,L.jsx)(p.Z,{p:U.cd,children:(0,L.jsx)(x.Z,{inverted:!0})}),re&&le]})]})})})]}),(0,L.jsxs)(p.Z,{mb:U.HN,children:[(0,L.jsx)(p.Z,{mb:U.HN,children:(0,L.jsx)(h.Z,{light:!0})}),(0,L.jsx)(f.ZP,{children:(0,L.jsx)(d.ZP,{beforeIcon:(0,L.jsx)(C.PaginateArrowLeft,{}),linkProps:{href:"/version-control?tab=".concat(D.uuid)},noBackground:!0,noHoverUnderline:!0,sameColorAsText:!0,children:D.uuid})})]})]})},ee=t(94629),ne=t(78650),te=t(70652),re=t(97618),oe=t(9518),ie=oe.default.div.withConfig({displayName:"indexstyle__SpacingStyle",componentId:"sc-el09vr-0"})(["margin-top:","px;"],.5*U.iI),le=t(42122);function se(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 ce(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?se(Object(t),!0).forEach((function(n){(0,s.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):se(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var ue,ae=function(e){var n=e.branch,t=e.fetchBranch,r=e.modifiedFiles,o=e.setSelectedFilePath,i=e.showError,l=e.stagedFiles,s=e.untrackedFiles,j=(0,u.useRef)(null),Z=(0,u.useState)(""),g=Z[0],P=Z[1],_=(0,u.useState)({}),w=_[0],O=_[1],k=(0,u.useState)({}),I=k[0],M=k[1],S=(0,u.useMemo)((function(){return Object.keys(r).concat(Object.keys(s)).sort()}),[r,s]),H=(0,u.useMemo)((function(){return Object.keys(l||{})}),[l]),A=(0,u.useMemo)((function(){return H.length}),[H]),E=(0,u.useMemo)((function(){return Object.keys(w).length===(null==S?void 0:S.length)}),[w,S]),D=(0,u.useMemo)((function(){return Object.keys(I).length===(null==H?void 0:H.length)}),[I,H]),B=(0,u.useMemo)((function(){return{onErrorCallback:function(e,n){return i({errors:n,response:e})}}}),[i]),N=(0,u.useMemo)((function(){return{onSuccess:function(e){return(0,T.wD)(e,ce({callback:function(){t(),O({})}},B))}}}),[t,B]),q=(0,u.useMemo)((function(){return y.ZP.git_custom_branches.useUpdate(null==n?void 0:n.name)}),[n]),G=(0,a.Db)(q,N),Y=(0,c.Z)(G,2),X=Y[0],J=Y[1].isLoading,$=(0,a.Db)(q,N),ee=(0,c.Z)($,2),ne=ee[0],oe=ee[1].isLoading,se=(0,a.Db)(q,{onSuccess:function(e){return(0,T.wD)(e,ce({callback:function(){t(),M({})}},B))}}),ue=(0,c.Z)(se,2),ae=ue[0],de=ue[1].isLoading,he=(0,u.useCallback)((function(e,n,t,r,o){var i=(null==e?void 0:e.length)>=1;return(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(Q.Z,{block:!0,noHoverUnderline:!0,onClick:function(){t(o?{}:r)},preventDefault:!0,children:(0,L.jsxs)(f.ZP,{alignItems:"center",flexDirection:"row",children:[(0,L.jsx)(te.Z,{checked:i&&o,disabled:!i}),(0,L.jsx)(p.Z,{mr:1}),(0,L.jsx)(v.ZP,{bold:!0,children:i&&o?"Unselect all":"Select all"})]})}),e.map((function(e){return(0,L.jsx)(ie,{children:(0,L.jsx)(Q.Z,{block:!0,noHoverUnderline:!0,onClick:function(){return t((function(n){var t=ce({},n);return!(null!=t&&t[e])?t[e]=!0:delete t[e],t}))},preventDefault:!0,children:(0,L.jsxs)(f.ZP,{alignItems:"center",flexDirection:"row",children:[(0,L.jsx)(te.Z,{checked:!(null==n||!n[e])}),(0,L.jsx)(p.Z,{mr:1}),(0,L.jsx)(v.ZP,{default:!0,monospace:!0,children:e})]})})},e)}))]})}),[]),fe=(0,u.useMemo)((function(){return(0,le.Qr)(w)}),[w]),me=y.ZP.git_custom_branches.detail("with_logs",{_format:"with_logs"}),je=me.data,pe=me.mutate,xe=(0,u.useMemo)((function(){var e;return(null==je||null===(e=je.git_custom_branch)||void 0===e?void 0:e.logs)||[]}),[je]),ve=(0,a.Db)(y.ZP.git_custom_branches.useUpdate(null==n?void 0:n.name),{onSuccess:function(e){return(0,T.wD)(e,{callback:function(){pe(),t(),P("")},onErrorCallback:function(e,n){return i({errors:n,response:e})}})}}),be=(0,c.Z)(ve,2),Ze=be[0],ge=be[1].isLoading,ye=(0,u.useMemo)((function(){return(0,L.jsx)(K.Z,{columnFlex:[1,1,1],columns:[{uuid:"Author"},{uuid:"Date"},{uuid:"Message"}],rows:xe.map((function(e){var n=e.author,t=e.date,r=e.message;return[(0,L.jsx)(v.ZP,{default:!0,monospace:!0,small:!0,children:null==n?void 0:n.name},"author"),(0,L.jsx)(v.ZP,{default:!0,monospace:!0,small:!0,children:t},"date"),(0,L.jsx)(v.ZP,{default:!0,monospace:!0,small:!0,children:r},"message")]})),uuid:"git-branch-logs"})}),[xe]);return(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(p.Z,{mb:U.HN,children:(0,L.jsxs)(f.ZP,{children:[(0,L.jsxs)(re.Z,{flex:1,flexDirection:"column",children:[(0,L.jsxs)(m.Z,{children:["Not staged ",(null==S?void 0:S.length)>=1&&"(".concat(null==S?void 0:S.length,")")]}),(0,L.jsx)(p.Z,{my:U.cd,children:(0,L.jsx)(h.Z,{light:!0})}),(0,L.jsx)(p.Z,{mb:U.cd,children:(0,L.jsxs)(f.ZP,{flexDirection:"row",children:[(0,L.jsx)(d.ZP,{compact:!0,disabled:fe||de||oe,loading:J,onClick:function(){X({git_custom_branch:{action_type:"add",files:Object.keys(w)}}).then((function(e){var n,t=e.data;null!=t&&t.git_custom_branch&&(null==j||null===(n=j.current)||void 0===n||n.focus())}))},primary:!0,children:"Add files"}),(0,L.jsx)(p.Z,{mr:1}),(0,L.jsx)(d.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(w)}})},children:"Checkout files"})]})}),he(S,w,O,ce(ce({},r),s),E)]}),(0,L.jsx)(p.Z,{mr:U.cd}),(0,L.jsxs)(re.Z,{flex:1,flexDirection:"column",children:[(0,L.jsxs)(m.Z,{children:["Staged files ",(null==H?void 0:H.length)>=1&&"(".concat(null==H?void 0:H.length,")")]}),(0,L.jsx)(p.Z,{my:U.cd,children:(0,L.jsx)(h.Z,{light:!0})}),(0,L.jsx)(p.Z,{mb:U.cd,children:(0,L.jsx)(f.ZP,{flexDirection:"row",children:(0,L.jsx)(d.ZP,{compact:!0,disabled:(0,le.Qr)(I)||J||oe,loading:de,onClick:function(){ae({git_custom_branch:{action_type:"reset",files:Object.keys(I)}})},secondary:!0,children:"Reset files"})})}),he(H,I,M,l,D)]})]})}),(0,L.jsxs)(p.Z,{mb:U.HN,children:[(0,L.jsx)(p.Z,{mb:1,children:(0,L.jsx)(m.Z,{children:"Commit"})}),(0,L.jsx)(p.Z,{mb:U.cd,children:(0,L.jsx)(z.Z,{children:(0,L.jsx)(W.Z,{noPaddingContent:!0,title:A>=1?"Staged files (".concat(A,")"):"No staged files",children:null==H?void 0:H.map((function(e){return(0,L.jsx)(p.Z,{my:1,px:U.cd,children:(0,L.jsxs)(f.ZP,{justifyContent:"space-between",children:[(0,L.jsx)(Q.Z,{default:!0,monospace:!0,onClick:function(){return o((function(n){return n===e?null:e}))},warning:null==r?void 0:r[e],children:e}),(0,L.jsx)(p.Z,{mr:1}),(null==r?void 0:r[e])&&(0,L.jsx)(v.ZP,{warning:!0,children:"Modified after staging"})]})},e)}))})})}),(0,L.jsx)(b.Z,{label:"Commit message",monospace:!0,onChange:function(e){return P(e.target.value)},ref:j,value:g||""}),(0,L.jsx)(p.Z,{mt:U.cd,children:(0,L.jsxs)(f.ZP,{alignItems:"center",children:[(0,L.jsxs)(d.ZP,{disabled:0===A||!((null==g?void 0:g.length)>=1),loading:ge,onClick:function(){Ze({git_custom_branch:{action_type:"commit",message:g}})},primary:!0,children:["Commit ",(0,V._6)("file",A,!0)," with message"]}),0===A&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(p.Z,{mr:1}),(0,L.jsx)(v.ZP,{danger:!0,small:!0,children:"Please stage at least 1 file before committing."})]})]})})]}),(0,L.jsx)(p.Z,{mb:U.HN,children:(0,L.jsx)(z.Z,{children:(0,L.jsxs)(W.Z,{noPaddingContent:!0,title:"Logs",children:[!je&&(0,L.jsx)(p.Z,{p:U.cd,children:(0,L.jsx)(x.Z,{inverted:!0})}),je&&ye]})})}),(0,L.jsxs)(p.Z,{mb:U.HN,children:[(0,L.jsx)(p.Z,{mb:U.HN,children:(0,L.jsx)(h.Z,{light:!0})}),(0,L.jsxs)(f.ZP,{children:[(0,L.jsx)(d.ZP,{beforeIcon:(0,L.jsx)(C.PaginateArrowLeft,{}),linkProps:{href:"/version-control?tab=".concat(R.uuid)},noBackground:!0,noHoverUnderline:!0,sameColorAsText:!0,children:R.uuid}),(0,L.jsx)(p.Z,{mr:1}),(0,L.jsxs)(d.ZP,{afterIcon:(0,L.jsx)(C.PaginateArrowRight,{}),linkProps:fe?{href:"/version-control?tab=".concat(encodeURIComponent(F.uuid))}:null,noHoverUnderline:!0,primary:fe,sameColorAsText:!0,secondary:!fe,children:["Next: ",F.uuid]})]})]})]})},de=t(23531),he=t(12691),fe=t.n(he),me=t(34376),je=t(63403),pe=oe.default.svg.withConfig({displayName:"BitbucketWithText__SVGStyle",componentId:"sc-wdje9z-0"})([""]),xe=function(e){var n=e.fill,t=e.opacity,r=e.size,o=void 0===r?je.C:r,i=e.style,l=e.viewBox,s=void 0===l?"0 0 299 42":l;return(0,L.jsxs)(pe,{fill:n,height:o,opacity:t,style:i,viewBox:s,width:o,children:[(0,L.jsx)("path",{d:"M63.3372 2.9978H79.5353C87.4335 2.9978 91.2488 6.77741 91.2488 12.8379C91.2488 17.3994 89.1068 20.2016 84.756 21.179C90.4455 22.0914 93.3237 25.1542 93.3237 30.4978C93.3237 36.4931 89.1737 40.6637 80.4724 40.6637H63.3372V2.9978ZM68.625 19.0939H78.799C83.8191 19.0939 85.894 16.8782 85.894 13.2289C85.894 9.57954 83.6852 7.82008 78.799 7.82008H68.625V19.0939ZM68.625 23.7206V35.4504H80.673C85.7601 35.4504 88.036 33.6909 88.036 29.9113C88.036 25.871 85.827 23.7206 80.5393 23.7206H68.625Z",fill:n||"white"}),(0,L.jsx)("path",{d:"M101.958 0.977783C104.033 0.977783 105.506 2.21592 105.506 4.43157C105.506 6.58205 104.033 7.88536 101.958 7.88536C99.8833 7.88536 98.4106 6.6472 98.4106 4.43157C98.4106 2.21592 99.8833 0.977783 101.958 0.977783ZM99.3478 11.9907H104.435V40.6638H99.3478V11.9907Z",fill:n||"white"}),(0,L.jsx)("path",{d:"M123.779 36.0376C124.984 36.0376 126.055 35.7769 126.992 35.6466V40.4037C126.121 40.6643 125.117 40.8599 123.578 40.8599C117.286 40.8599 114.207 37.2756 114.207 31.9321V16.5529H109.455V11.9912H114.207V5.93091H119.16V11.9912H126.992V16.5529H119.16V31.7367C119.093 34.2781 120.633 36.0376 123.779 36.0376Z",fill:n||"white"}),(0,L.jsx)("path",{d:"M138.504 35.5806V40.5982H133.417V0H138.504V17.1386C140.378 13.359 143.926 11.4039 148.477 11.4039C156.309 11.4039 160.258 17.8554 160.258 26.3271C160.258 34.4076 156.108 41.25 147.875 41.25C143.524 41.25 140.244 39.3602 138.504 35.5806ZM147.072 16.0309C142.52 16.0309 138.504 18.8329 138.504 25.2191V27.5001C138.504 33.8863 142.186 36.6883 146.536 36.6883C152.226 36.6883 155.171 33.0392 155.171 26.3921C155.171 19.4194 152.36 16.0309 147.072 16.0309Z",fill:n||"white"}),(0,L.jsx)("path",{d:"M165.546 11.991H170.633V29.3252C170.633 34.4733 172.775 36.7541 177.594 36.7541C182.279 36.7541 185.559 33.6913 185.559 27.8915V11.991H190.647V40.664H185.559V35.972C183.685 39.3607 180.204 41.2505 176.255 41.2505C169.495 41.2505 165.613 36.6888 165.613 28.8039V11.991H165.546Z",fill:n||"white"}),(0,L.jsx)("path",{d:"M219.027 39.8814C217.287 40.7938 214.542 41.1847 211.864 41.1847C201.355 41.1847 196.469 34.9941 196.469 26.1967C196.469 17.5296 201.355 11.3389 211.864 11.3389C214.542 11.3389 216.55 11.6647 218.892 12.7072V17.2689C217.019 16.4218 215.011 15.9006 212.266 15.9006C204.636 15.9006 201.49 20.5924 201.49 26.1967C201.49 31.8009 204.702 36.4929 212.401 36.4929C215.412 36.4929 217.287 36.1018 219.092 35.4502V39.8814H219.027Z",fill:n||"white"}),(0,L.jsx)("path",{d:"M224.783 40.6635V0H229.87V25.4147L242.52 11.9904H249.147L235.29 26.0664L249.681 40.6635H242.789L229.802 27.2392V40.6635H224.783Z",fill:n||"white"}),(0,L.jsx)("path",{d:"M266.483 41.2506C255.437 41.2506 250.619 35.0599 250.619 26.2624C250.619 17.5954 255.572 11.4045 264.541 11.4045C273.644 11.4045 277.259 17.5302 277.259 26.2624V28.4781H255.773C256.51 33.3655 259.722 36.4935 266.684 36.4935C270.096 36.4935 272.974 35.8418 275.652 34.9296V39.4911C273.175 40.7944 269.494 41.2506 266.483 41.2506ZM255.706 24.2423H272.172C271.904 18.8987 269.427 15.9012 264.34 15.9012C258.919 15.9012 256.242 19.2897 255.706 24.2423Z",fill:n||"white"}),(0,L.jsx)("path",{d:"M294.929 36.0376C296.134 36.0376 297.205 35.7769 298.142 35.6466V40.4037C297.272 40.6643 296.267 40.8599 294.728 40.8599C288.437 40.8599 285.359 37.2756 285.359 31.9321V16.5529H280.606V11.9912H285.359V5.93091H290.311V11.9912H298.142V16.5529H290.311V31.7367C290.245 34.2781 291.784 36.0376 294.929 36.0376Z",fill:n||"white"}),(0,L.jsx)("path",{d:"M1.36497 4.1062C0.556341 4.1062 -0.117513 4.82301 0.0172582 5.605L5.74501 39.1654C5.87979 40.0127 6.62103 40.6642 7.56442 40.6642H34.9903C35.6641 40.6642 36.2032 40.208 36.338 39.5565L42.0658 5.605C42.2006 4.82301 41.594 4.1062 40.718 4.1062H1.36497ZM25.4889 28.3479H16.7288L14.3704 16.3573H27.6453L25.4889 28.3479Z",fill:n||"white"}),(0,L.jsx)("path",{d:"M40.2462 16.3572H27.5775L25.4886 28.3478H16.7286L6.3512 40.2079C6.3512 40.2079 6.82289 40.6641 7.56413 40.6641H34.99C35.6639 40.6641 36.2029 40.2079 36.3377 39.5562L40.2462 16.3572Z",fill:"url(#paint0_linear_13549_1163)"}),(0,L.jsx)("defs",{children:(0,L.jsxs)("linearGradient",{gradientUnits:"userSpaceOnUse",id:"paint0_linear_13549_1163",x1:"43.1513",x2:"22.7826",y1:"19.7256",y2:"36.1667",children:[(0,L.jsx)("stop",{offset:"0.176",stopColor:"#0052CC"}),(0,L.jsx)("stop",{offset:"1",stopColor:"#2684FF"})]})})]})},ve=t(91769),be=t(69419),Ze=t(53808),ge=(ue={},(0,s.Z)(ue,ve.h.AZURE_DEVOPS,C.DevOpsWithText),(0,s.Z)(ue,ve.h.BITBUCKET,xe),(0,s.Z)(ue,ve.h.GITHUB,C.GitHubWithTextIcon),(0,s.Z)(ue,ve.h.GITLAB,C.GitLabWithTextIcon),ue);function ye(e){var n=e.isLoadingCreateOauth,t=e.oauth,r=e.provider,o=e.showError,i=(0,me.useRouter)(),l=(0,a.Db)(y.ZP.oauths.useUpdate(r),{onSuccess:function(e){return(0,T.wD)(e,{callback:function(){return window.location.href=window.location.href.split("?")[0]},onErrorCallback:function(e,n){return o({errors:n,response:e})}})}}),s=(0,c.Z)(l,2),u=s[0],h=s[1].isLoading,m=ge[r];return(0,L.jsxs)(f.ZP,{justifyContent:"space-between",children:[(0,L.jsx)(re.Z,{children:(0,L.jsx)(m,{size:12*U.iI})}),(0,L.jsx)(re.Z,{alignItems:"center",children:null!=t&&t.authenticated?(0,L.jsx)(d.ZP,{loading:h,onClick:function(){return u({oauth:{action_type:"reset"}})},warning:!0,children:"Reset"}):(0,L.jsx)(d.ZP,{loading:n,onClick:function(){var e=null==t?void 0:t.url,n=(0,be.iV)(e).state;(0,Ze.t8)(n,(null==t?void 0:t.redirect_query_params)||{}),i.push(e)},primary:!0,children:"Authenticate"})})]})}var Ce=function(e){var n=e.branch,t=e.isLoadingCreateOauth,r=e.showError,o=y.ZP.oauths.list({type:"git",redirect_uri:encodeURIComponent(window.location.href)}),i=o.data,l=(o.mutate,y.ZP.oauths.detail(ve.h.GITHUB,{redirect_uri:encodeURIComponent(window.location.href)})),s=l.data,a=(l.mutate,(0,u.useMemo)((function(){return(null==s?void 0:s.oauth)||{}}),[s])),f=(0,u.useMemo)((function(){return null==n?void 0:n.access_token_exists}),[n]),j=(0,u.useMemo)((function(){var e,n=(null==i||null===(e=i.oauths)||void 0===e?void 0:e.reduce((function(e,n){return e[n.provider]=n,e}),{}))||{};return a&&(n[ve.h.GITHUB]=a),n}),[i,a]),x=(0,u.useMemo)((function(){return Object.values(j).some((function(e){return null==e?void 0:e.authenticated}))}),[j]);return(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(m.Z,{children:"Authentication"}),(0,L.jsxs)(p.Z,{mt:U.Mq,children:[f&&!x&&(0,L.jsxs)(p.Z,{mb:2,children:[(0,L.jsx)(d.ZP,{disabled:!0,children:"Using access token from Git Settings"}),(0,L.jsx)(p.Z,{mt:1,children:(0,L.jsx)(v.ZP,{muted:!0,children:"Some features may not work unless you authenticate with a Git client."})})]}),(0,L.jsxs)(p.Z,{mb:U.HN,children:[(0,L.jsx)(p.Z,{mb:U.Mq,children:(0,L.jsx)(v.ZP,{muted:!0,children:"Authenticating with the apps below will allow you to easily pull, push, and create pull requests."})}),(0,L.jsxs)(p.Z,{mb:U.Mq,style:{maxWidth:"600px"},children:[(0,L.jsx)(h.Z,{muted:!0}),Object.entries(j||{}).map((function(e){var n=(0,c.Z)(e,2),o=n[0],i=n[1];return(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(ye,{isLoadingCreateOauth:t,oauth:i,provider:o,showError:r},o),(0,L.jsx)(h.Z,{muted:!0})]})}))]})]})]})]})},Pe=t(77417);var _e=function(e){var n,t,r,o,i,l=e.actionRemoteName,s=e.branch,b=e.fetchBranch,g=e.loading,_=e.remotes,O=e.setActionRemoteName,I=e.showError,M=(0,me.useRouter)(),A=(0,Pe.Z)().project,E=(0,u.useRef)(null),D=(0,u.useState)(null),F=D[0],B=D[1],N=(0,u.useState)(null),q=N[0],G=N[1],Y=(0,u.useState)(null),X=Y[0],J=Y[1],$=(0,u.useState)(null),ee=$[0],ne=$[1],te=(0,u.useState)(null),oe=te[0],ie=te[1],le=(0,u.useState)(!1),se=le[0],ce=le[1],ue=(0,u.useState)(null),ae=ue[0],de=ue[1],he=(0,u.useState)(""),je=he[0],pe=he[1],xe=(0,u.useState)(""),Ze=xe[0],ge=xe[1],ye=(0,u.useState)(null),_e=ye[0],we=ye[1],Oe=(0,u.useMemo)((function(){return!(null==s||!s.name)}),[s]);(0,u.useEffect)((function(){var e,n;!_e&&(null!=s&&null!==(e=s.sync_config)&&void 0!==e&&e.repo_path||null!=A&&A.repo_path)&&we((null==s||null===(n=s.sync_config)||void 0===n?void 0:n.repo_path)||(null==A?void 0:A.repo_path))}),[s,A,_e]);var ke=(0,u.useMemo)((function(){var e,n;return null==_||null===(e=_.find((function(e){return e.name===l})))||void 0===e||null===(n=e.refs)||void 0===n?void 0:n.map((function(e){return{name:e.name.substring(l.length+1)}}))}),[l,_]),Ie=(0,a.Db)(y.ZP.syncs.useCreate(),{onSuccess:function(e){return(0,T.wD)(e,{callback:function(){b(),ce(!1)},onErrorCallback:function(e,n){return I({errors:n,response:e})}})}}),Me=(0,c.Z)(Ie,2),Se=Me[0],He=Me[1].isLoading,Ae=(0,a.Db)(y.ZP.git_custom_branches.useUpdate(encodeURIComponent(null==s?void 0:s.name)),{onSuccess:function(e){return(0,T.wD)(e,{callback:function(e){var n=e.git_custom_branch,t=n.error,r=n.progress;t?(G(t),ne(null)):(b(),B(null),G(null),J(null),ne(r))},onErrorCallback:function(e,n){return I({errors:n,response:e})}})}}),Ee=(0,c.Z)(Ae,2),Re=Ee[0],De=Ee[1].isLoading,Fe=(0,a.Db)(y.ZP.git_custom_branches.useUpdate(encodeURIComponent(null==s?void 0:s.name)),{onSuccess:function(e){return(0,T.wD)(e,{callback:function(){b(),pe(""),ge("")},onErrorCallback:function(e,n){return I({errors:n,response:e})}})}}),Be=(0,c.Z)(Fe,2),Ne=Be[0],Ue=Be[1].isLoading,Ve=(0,a.Db)(y.ZP.git_custom_branches.useUpdate(encodeURIComponent(null==s?void 0:s.name)),{onSuccess:function(e){return(0,T.wD)(e,{callback:function(){b(),de(null)},onErrorCallback:function(e,n){de(null),I({errors:n,response:e})}})}}),Te=(0,c.Z)(Ve,2),Le=Te[0],qe=Te[1].isLoading,Ge=(0,a.Db)(y.ZP.oauths.useCreate(),{onSuccess:function(e){return(0,T.wD)(e,{callback:function(){return window.location.href="".concat(null==M?void 0:M.basePath,"/version-control")},onErrorCallback:function(e,n){I({errors:n,response:e})}})}}),ze=(0,c.Z)(Ge,2),We=ze[0],Qe=ze[1].isLoading,Ke=(0,be.iV)()||{},Ye=Ke.access_token,Xe=Ke.provider,Je=Ke.refresh_token,$e=Ke.expires_in;(0,u.useEffect)((function(){Ye&&We({oauth:{expires_in:$e,provider:Xe||ve.h.GITHUB,refresh_token:Je,token:Ye}})}),[Ye,We,$e,Xe,Je]);var en=(0,u.useMemo)((function(){return null==_?void 0:_.map((function(e){var n=e.name,t=e.refs,r=e.urls;return(0,L.jsxs)(p.Z,{mt:U.Mq,children:[(0,L.jsx)(p.Z,{mb:1,children:(0,L.jsxs)(f.ZP,{alignItems:"center",justifyContent:"space-between",children:[(0,L.jsxs)(re.Z,{alignItems:"center",children:[(0,L.jsx)(v.ZP,{bold:!0,children:n}),(0,L.jsx)(p.Z,{mx:1,children:(0,L.jsx)(C.ChevronRight,{muted:!0})}),null==r?void 0:r.map((function(e){return(0,L.jsx)(p.Z,{mr:1,children:(0,L.jsx)(v.ZP,{default:!0,monospace:!0,small:!0,children:e})},e)}))]}),(0,L.jsx)(p.Z,{mr:1}),(0,L.jsx)(d.ZP,{compact:!0,disabled:qe&&ae!==n,iconOnly:!0,loading:qe&&ae===n,noBackground:!0,onClick:function(){"undefined"!=typeof location&&window.confirm("Are you sure you want to remove remote ".concat(n,"?"))&&(de(n),Le({git_custom_branch:{action_type:"remove_remote",action_payload:{name:n}}}).then((function(){l===n&&O(null)})))},small:!0,title:"Remote remote ".concat(n),children:(0,L.jsx)(C.Trash,{})})]})}),(0,L.jsx)(z.Z,{children:(0,L.jsxs)(W.Z,{noPaddingContent:!0,smallTitle:!0,title:"Refs (".concat(null==t?void 0:t.length,")"),children:[0===(null==t?void 0:t.length)&&(0,L.jsx)(p.Z,{p:U.cd,children:(0,L.jsx)(v.ZP,{muted:!0,children:"This remote has no refs."})}),(null==t?void 0:t.length)>=1&&(0,L.jsx)(K.Z,{columnFlex:[1,1,1],columns:[{uuid:"Ref"},{uuid:"Author"},{uuid:"Date"},{uuid:"Message"}],rows:t.map((function(e){var n,t=e.commit,r=e.name;return[(0,L.jsx)(v.ZP,{default:!0,monospace:!0,small:!0,children:r},"ref-name"),(0,L.jsx)(v.ZP,{default:!0,monospace:!0,small:!0,children:null==t||null===(n=t.author)||void 0===n?void 0:n.name},"author"),(0,L.jsx)(v.ZP,{default:!0,monospace:!0,small:!0,children:null==t?void 0:t.date},"date"),(0,L.jsx)(v.ZP,{default:!0,monospace:!0,small:!0,children:null==t?void 0:t.message},"message")]})),uuid:"git-branch-remotes-refs"})]})}),(0,L.jsx)(p.Z,{mt:U.Mq,children:(0,L.jsx)(h.Z,{light:!0})})]},n)}))}),[qe,ae,_,Le]);return(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)(p.Z,{mb:U.HN,children:[(0,L.jsx)(m.Z,{children:"Setup"}),(0,L.jsxs)(p.Z,{mt:U.Mq,children:[(0,L.jsxs)(p.Z,{mb:1,children:[(0,L.jsx)(v.ZP,{bold:!0,large:!0,children:Oe?"Git init directory":"Initialize Git directory"}),!Oe&&(0,L.jsxs)(v.ZP,{muted:!0,children:["Enter the directory you want to initialize git in.",(0,L.jsx)("br",{}),"The current project directoy is filled in for you. If you want to use that, click the save button."]}),Oe&&(0,L.jsxs)(v.ZP,{muted:!0,children:["If the directory below is blank, then the current working directory will be used to initialize git.",(0,L.jsx)("br",{}),"If git hasn’t been initialized in the directory below, Mage will automatically run git init for you."]})]}),(0,L.jsxs)(f.ZP,{alignItems:"center",children:[(0,L.jsx)(Z.Z,{disabled:Oe&&!se,fullWidth:!0,label:"Git directory",maxWidth:400,monospace:!0,onChange:function(e){return we(e.target.value)},ref:E,value:_e||""}),(0,L.jsx)(p.Z,{mr:1}),(!Oe||se)&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(d.ZP,{compact:!0,disabled:!Oe&&!_e,loading:He,onClick:function(){Se({sync:{repo_path:_e}})},primary:!0,small:!0,children:"Save"}),Oe&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(p.Z,{mr:1}),(0,L.jsx)(Q.Z,{onClick:function(){return ce(!1)},preventDefault:!0,sameColorAsText:!0,small:!0,children:"Cancel"})]})]}),Oe&&!se&&(0,L.jsx)(Q.Z,{onClick:function(){ce(!0),setTimeout((function(){var e;return null==E||null===(e=E.current)||void 0===e?void 0:e.focus()}),1)},preventDefault:!0,sameColorAsText:!0,small:!0,children:"Edit"})]})]})]}),(0,L.jsx)(p.Z,{mb:U.HN,children:(0,L.jsx)(Ce,{branch:s,isLoadingCreateOauth:Qe,showError:I})}),Oe&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)(p.Z,{mb:U.HN,children:[(0,L.jsxs)(m.Z,{children:["Remotes",!g&&_?" (".concat(null==_?void 0:_.length,")"):""]}),g&&(0,L.jsx)(p.Z,{mt:U.Mq,children:(0,L.jsx)(x.Z,{inverted:!0})}),!g&&en,(0,L.jsx)(p.Z,{mt:U.Mq,children:(0,L.jsxs)(f.ZP,{alignItems:"flex-start",children:[(0,L.jsx)(Z.Z,{label:"New remote name",monospace:!0,onChange:function(e){var n;return pe(null==e||null===(n=e.target)||void 0===n?void 0:n.value)},value:je||""}),(0,L.jsx)(p.Z,{mr:1}),(0,L.jsxs)(f.ZP,{flexDirection:"column",children:[(0,L.jsx)(Z.Z,{label:"Remote URL",monospace:!0,onChange:function(e){var n;return ge(null==e||null===(n=e.target)||void 0===n?void 0:n.value)},value:Ze||""}),(0,L.jsx)(p.Z,{mt:1,children:(0,L.jsxs)(v.ZP,{muted:!0,small:!0,children:["Use the https URL if you",(0,L.jsx)("br",{}),"authenticated with GitHub above."]})})]}),(0,L.jsx)(p.Z,{mr:1}),(0,L.jsx)(d.ZP,{beforeIcon:(0,L.jsx)(C.Add,{size:2*U.iI}),disabled:!je||!Ze,loading:Ue,onClick:function(){Ne({git_custom_branch:{action_type:"add_remote",action_payload:{name:je,url:Ze}}})},primary:!0,children:"Create new remote"})]})})]}),(0,L.jsxs)(p.Z,{mb:U.HN,children:[(0,L.jsx)(m.Z,{children:"Actions"}),(0,L.jsxs)(p.Z,{mt:U.Mq,children:[(0,L.jsxs)(p.Z,{mb:U.Mq,children:[(0,L.jsx)(p.Z,{mb:1,children:(0,L.jsx)(v.ZP,{bold:!0,muted:!0,children:"Current branch"})}),(null==s?void 0:s.name)&&(0,L.jsxs)(f.ZP,{alignItems:"center",children:[(0,L.jsx)(v.ZP,{monospace:!0,children:null==s?void 0:s.name}),(0,L.jsx)(p.Z,{mr:U.cd}),(0,L.jsx)(fe(),{href:"/version-control?tab=".concat(R.uuid),passHref:!0,children:(0,L.jsx)(Q.Z,{small:!0,children:"Switch branch"})})]})]}),(0,L.jsxs)(f.ZP,{children:[(0,L.jsxs)(j.Z,{onChange:function(e){return J(e.target.value)},placeholder:"Action",value:X||"",children:[(0,L.jsx)("option",{value:w,children:(0,V.vg)(w)}),(0,L.jsx)("option",{value:k,children:(0,V.vg)(k)}),(0,L.jsx)("option",{value:"reset",children:(0,V.vg)(S)}),(0,L.jsx)("option",{value:P,children:(0,V.vg)(P)})]}),(0,L.jsx)(p.Z,{mr:1}),(0,L.jsx)(j.Z,{beforeIcon:(0,L.jsx)(C.MultiShare,{}),beforeIconSize:1.5*U.iI,monospace:!0,onChange:function(e){return O(e.target.value)},placeholder:"Remote",value:l||"",children:null==_?void 0:_.map((function(e){var n=e.name;return(0,L.jsx)("option",{value:n,children:n},n)}))}),[k,S].includes(X)&&(0,L.jsx)(p.Z,{ml:1,children:(0,L.jsxs)(j.Z,{beforeIcon:(0,L.jsx)(C.Branch,{}),beforeIconSize:1.5*U.iI,monospace:!0,onChange:function(e){return B(e.target.value)},value:F||"",children:[(0,L.jsx)("option",{value:"",children:"All branches"}),null==ke?void 0:ke.map((function(e){var n=e.name;return(0,L.jsx)("option",{value:n,children:n},n)}))]})}),H[X]&&(0,L.jsx)(p.Z,{ml:1,children:(0,L.jsx)(j.Z,{label:"Additional argument",monospace:!0,onChange:function(e){return ie(e.target.value)},value:oe||"",children:null===(n=H[X])||void 0===n?void 0:n.map((function(e){return(0,L.jsx)("option",{value:e,children:(0,V.vg)(e)},e)}))})})]}),P===X&&(0,L.jsxs)(p.Z,{mt:U.cd,children:[(0,L.jsxs)(v.ZP,{muted:!0,small:!0,children:["Cloning a branch will copy all the files and folders from the remote repository and put them into the Git directory configured above:",(0,L.jsx)("br",{}),(0,L.jsx)(v.ZP,{default:!0,inline:!0,monospace:!0,small:!0,children:null==s||null===(t=s.sync_config)||void 0===t?void 0:t.repo_path}),"."]}),(0,L.jsx)(p.Z,{mt:1,children:(0,L.jsx)(v.ZP,{muted:!0,small:!0,children:"Cloning won’t automatically create a folder that is named after the remote repository."})}),(0,L.jsx)(p.Z,{mt:1,children:(0,L.jsxs)(v.ZP,{muted:!0,small:!0,children:["For example, if you have a file named ",(0,L.jsx)(v.ZP,{default:!0,inline:!0,monospace:!0,small:!0,children:"magic.py"})," in a remote repository named ",(0,L.jsx)(v.ZP,{default:!0,inline:!0,monospace:!0,small:!0,children:"project_romeo"}),(0,L.jsx)("br",{}),"then that file will be cloned here ",(0,L.jsxs)(v.ZP,{default:!0,inline:!0,monospace:!0,small:!0,children:[null==s||null===(r=s.sync_config)||void 0===r?void 0:r.repo_path,"/magic.py"]}),(0,L.jsx)("br",{}),"as opposed to ",(0,L.jsxs)(v.ZP,{default:!0,inline:!0,monospace:!0,small:!0,children:[null==s||null===(o=s.sync_config)||void 0===o?void 0:o.repo_path,"/project_romeo/magic.py"]}),"."]})}),(0,L.jsx)(p.Z,{mt:1,children:(0,L.jsxs)(v.ZP,{muted:!0,small:!0,children:["If you want to clone the content of a remote repository into a folder named after the remote repository, then change the Git init directoy above to",(0,L.jsx)("br",{}),(0,L.jsxs)(v.ZP,{default:!0,inline:!0,monospace:!0,small:!0,children:[null==s||null===(i=s.sync_config)||void 0===i?void 0:i.repo_path,"/",(0,L.jsx)(v.ZP,{inline:!0,monospace:!0,small:!0,children:"[remote repository name]"})]})]})})]}),(0,L.jsxs)(p.Z,{mt:U.cd,children:[(0,L.jsx)(d.ZP,{beforeIcon:(0,L.jsx)(C.Lightning,{size:2*U.iI}),disabled:!X||!l,loading:De,onClick:function(){ne(null),(X!==P||"undefined"!=typeof location&&window.confirm("Are you sure you want to clone remote ".concat(l,"? 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."))&&Re({git_custom_branch:{action_payload:{arg:oe,branch:F,remote:l},action_type:X}})},primary:!0,children:X?(0,V.vg)(X):"Execute action"}),(ee||q)&&(0,L.jsx)(p.Z,{mt:U.cd,children:(0,L.jsx)(v.ZP,{danger:!!q,default:!!ee,monospace:!0,preWrap:!0,children:ee||q})})]})]})]}),(0,L.jsxs)(p.Z,{mb:U.HN,children:[(0,L.jsx)(p.Z,{mb:U.HN,children:(0,L.jsx)(h.Z,{light:!0})}),(0,L.jsx)(f.ZP,{children:(0,L.jsxs)(d.ZP,{afterIcon:(0,L.jsx)(C.PaginateArrowRight,{}),linkProps:{href:"/version-control?tab=".concat(R.uuid)},noHoverUnderline:!0,sameColorAsText:!0,secondary:!0,children:["Next: ",R.uuid]})})]})]})]})},we=t(93528),Oe=t(98464),ke=t(46684),Ie=t(53005),Me=t(15610),Se=(t(17717),t(74401)),He=t(86735);function Ae(e,n){var t=(0,Se.a9)(e),r=Object.keys(n)||[];return null==r?void 0:r.find((function(e){return null==t?void 0:t.endsWith(e)}))}var Ee=t(23780);function Re(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 De(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Re(Object(t),!0).forEach((function(n){(0,s.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Re(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Fe="version_control/index",Be=30*U.iI;var Ne=function(){var e=(0,u.useRef)(null),n=(0,u.useRef)(null),t=(0,Ee.VI)(null,{},[],{uuid:"VersionControlPage"}),r=(0,c.Z)(t,1)[0],o=(0,u.useState)(!0),i=o[0],l=o[1],d=(0,u.useState)(Be),f=d[0],m=d[1],b="layout_before_".concat(Fe,"_width"),Z=(0,Ze.U2)(b,Be),C=(0,u.useState)(Z),P=C[0],_=C[1],w=(0,u.useState)({}),O=w[0],k=w[1],I=(0,u.useState)(null),M=I[0],S=I[1],H=(0,u.useState)(null),V=H[0],T=H[1],z=(0,u.useState)(N[0]),W=z[0],Q=z[1],K=(0,u.useState)({"All projects":{uuid:"All projects"},"Git directory":{uuid:"Git directory"}}),Y=K[0],X=K[1],J=(0,be.iV)();(0,u.useEffect)((function(){null!=J&&J.tab&&Q(N.find((function(e){return e.uuid===(null==J?void 0:J.tab)})))}),[J]);var te=y.ZP.git_custom_branches.list(),re=te.data,oe=te.mutate,ie=(0,u.useMemo)((function(){return null==re?void 0:re.git_custom_branches}),[re]);(0,u.useEffect)((function(){var e,n;!M&&(null==ie?void 0:ie.length)>=1&&null!==(e=ie[0])&&void 0!==e&&e.name&&S(null===(n=ie[0])||void 0===n?void 0:n.name)}),[M,ie]);var se=y.ZP.git_custom_branches.detail("current",{_format:"with_files"}),ce=se.data,ue=se.mutate,he=(0,u.useMemo)((function(){return(null==ce?void 0:ce.git_custom_branch)||{}}),[ce]),fe=(0,u.useMemo)((function(){return(null==he?void 0:he.files)||[]}),[he]),me=y.ZP.git_custom_branches.detail("with_remotes",{_format:"with_remotes"}),je=me.data,pe=me.mutate,xe=(0,u.useMemo)((function(){return null==je?void 0:je.git_custom_branch}),[je]),ve=(0,u.useMemo)((function(){return(null==xe?void 0:xe.remotes)||[]}),[xe]),ge=(0,u.useState)(null),ye=ge[0],Ce=ge[1],Pe=(0,u.useCallback)((function(e){(0,Ze.t8)(A,e),Ce(e)}),[]);(0,u.useEffect)((function(){var e=(0,Ze.U2)(A,null);if(je&&e){var n=null==ve?void 0:ve.find((function(n){return n.name===e}));Pe(n?null==n?void 0:n.name:null)}}),[je,ve,Pe]);var Se=(0,u.useState)((0,Ze.U2)(E,"")),Re=Se[0],Ne=Se[1],Ue=(0,u.useCallback)((function(e){(0,Ze.t8)(E,e),Ne(e)}),[]),Ve=(0,u.useMemo)((function(){return(0,He.Tw)(ve.reduce((function(e,n){var t;return e.concat((null==n||null===(t=n.repository_names)||void 0===t?void 0:t.map((function(e){var t;return{name:e,url:null==n||null===(t=n.urls)||void 0===t?void 0:t[0]}})))||[])}),[]),(function(e){return e.name}))}),[ve]);(0,u.useEffect)((function(){var e=(0,Ze.U2)(E,null);if(je&&e){var n=null==Ve?void 0:Ve.find((function(n){return n.name===e}));Ue(n?null==n?void 0:n.name:null)}}),[je,Ve,Ue]);var Te=y.ZP.git_files.detail(V?encodeURIComponent(V):null,{base_branch:M}),Le=Te.data,qe=Te.mutate,Ge=(0,u.useMemo)((function(){return null==Le?void 0:Le.git_file}),[Le]),ze=(0,Oe.Z)(Ge);(0,u.useEffect)((function(){if(Ge!==ze){var e,n=null==he||null===(e=he.files_absolute_path)||void 0===e?void 0:e[V];k((function(e){var t;return De(De({},e),{},(0,s.Z)({},n,De(De({},Ge),{},{fullPath:n,relativePath:V,repoPath:null==he||null===(t=he.sync_config)||void 0===t?void 0:t.repo_path})))}))}}),[he,Ge,ze]),(0,u.useEffect)((function(){M&&qe()}),[M,qe]),(0,u.useEffect)((function(){null!=Le&&Le.error&&r({errors:null==Le?void 0:Le.error,response:Le})}),[Le,r]);var We=(0,u.useMemo)((function(){var e,n,t;return{modifiedFiles:null==he||null===(e=he.modified_files)||void 0===e?void 0:e.reduce((function(e,n){return De(De({},e),{},(0,s.Z)({},n,!0))}),{}),stagedFiles:null==he||null===(n=he.staged_files)||void 0===n?void 0:n.reduce((function(e,n){return De(De({},e),{},(0,s.Z)({},n,!0))}),{}),untrackedFiles:null==he||null===(t=he.untracked_files)||void 0===t?void 0:t.reduce((function(e,n){return De(De({},e),{},(0,s.Z)({},n,!0))}),{})}}),[he]),Qe=We.modifiedFiles,Ke=void 0===Qe?{}:Qe,Ye=We.stagedFiles,Xe=void 0===Ye?{}:Ye,Je=We.untrackedFiles,$e=void 0===Je?{}:Je;(0,u.useEffect)((function(){V&&(0,le.Qr)(Ke)&&(0,le.Qr)(Xe)&&(0,le.Qr)($e)&&T(null)}),[Ke,V,Xe,$e]);var en=(0,u.useMemo)((function(){return(null==fe?void 0:fe.length)>=1?(0,L.jsx)(ne.Z,{allowEmptyFolders:!0,disableContextMenu:!0,fetchFiles:ue,files:fe,isFileDisabled:function(){return!1},onClickFile:function(e,t){T((function(t){if(!t||t!==e){var r;if(!M)null==n||null===(r=n.current)||void 0===r||r.focus();return e}return null})),qe()},ref:e,renderAfterContent:function(e){var n,t,r=e.children,o=(null==r?void 0:r.length)>=1,i=(0,Ie.a9)(e);o&&(i="".concat(i,"/"));var l={};return Ae(e,Ke)?(n="M",t="Modified",l.warning=!0):Ae(e,$e)?(n="U",t="Untracked",l.danger=!0):Ae(e,Xe)&&(n="S",t="Staged",l.success=!0),o&&!n?null:(0,L.jsx)(p.Z,{mx:1,children:(0,L.jsx)(g.Z,{appearBefore:!0,label:t,widthFitContent:!0,children:(0,L.jsx)(v.ZP,De(De({},l),{},{monospace:!0,rightAligned:!0,small:!0,children:n}))})})},useRootFolder:!0,uuid:"pages/VersionControl"}):(0,L.jsx)(p.Z,{p:U.cd,children:(0,L.jsx)(v.ZP,{monospace:!0,muted:!0,children:"No files modified"})})}),[M,ue,qe,e,fe,Ke,n,T,Xe,$e]),nn=((0,u.useMemo)((function(){return!Le||!Ge||V&&(null==Ge?void 0:Ge.filename)!==V}),[Le,Ge,V]),(0,u.useMemo)((function(){return ce&&null!=he&&he.name?N:N.slice(0,1)}),[he,ce])),tn=(0,u.useMemo)((function(){return(0,L.jsxs)("div",{style:{marginTop:5},children:[(0,L.jsx)(G.Z,{onClickTab:function(e){var n=e.uuid;(0,Me.u)({tab:n})},selectedTabUUID:null==W?void 0:W.uuid,tabs:nn,underlineStyle:!0}),(0,L.jsx)(h.Z,{light:!0})]})}),[W,nn]),rn=(0,u.useMemo)((function(){return(0,L.jsx)(_e,{actionRemoteName:ye,branch:he,fetchBranch:function(){ue(),pe()},loading:!je,remotes:ve,setActionRemoteName:Pe,showError:r})}),[ye,he,je,ue,pe,ve,Pe,r]),on=(0,u.useMemo)((function(){return(0,L.jsx)(q,{actionRemoteName:ye,branch:he,branches:ie,fetchBranch:ue,fetchBranches:oe,remotes:ve,setActionRemoteName:Pe,showError:r})}),[ye,he,ie,ue,oe,ve,Pe,r]),ln=(0,u.useMemo)((function(){return(0,L.jsx)(ae,{branch:he,fetchBranch:ue,modifiedFiles:Ke,setSelectedFilePath:T,showError:r,stagedFiles:Xe,untrackedFiles:$e})}),[he,ue,Ke,T,r,Xe,$e]),sn=(0,u.useMemo)((function(){return(0,L.jsx)($,{actionRemoteName:ye,branch:he,branches:ie,fetchBranch:ue,loading:!je,modifiedFiles:Ke,remotes:ve,repositories:Ve,repositoryName:Re,setActionRemoteName:Pe,setRepositoryName:Ue,showError:r,stagedFiles:Xe})}),[ye,he,ie,je,ue,Ke,ve,Ve,Re,Pe,Ue,r,Xe]),cn=(0,u.useMemo)((function(){return(0,L.jsx)(G.Z,{allowScroll:!0,onClickTab:function(e){X((function(n){return De(De({},(0,le.gR)(n,[null==e?void 0:e.uuid])),null!=n&&n[null==e?void 0:e.uuid]?{}:(0,s.Z)({},null==e?void 0:e.uuid,e))}))},selectedTabUUIDs:Y,tabs:[{uuid:"All projects"},{uuid:"Git directory"}],underlineStyle:!0})}),[Y]),un=(0,u.useCallback)((function(){qe()}),[qe]),an=(0,u.useCallback)((function(){ue()}),[ue]),dn=(0,u.useMemo)((function(){var e;if(V)return null==he||null===(e=he.files_absolute_path)||void 0===e?void 0:e[V]}),[he,V]),hn=(0,u.useCallback)((function(e){k((function(n){return(0,le.gR)(n,[e])}))}),[]),fn=(0,we.ZP)({codeEditorMaximumHeightOffset:2*ke.Mz+10,onClickTabClose:hn,onCreateFile:an,onUpdateFileSuccess:un,originalContent:O,selectedFilePath:dn,showHiddenFilesSetting:!0,uuid:"pages/VersionControlPage"}),mn=fn.browser,jn=fn.controller,pn=fn.filePaths,xn=(fn.menu,fn.selectedFilePath),vn=fn.tabs,bn=(0,a.Db)((function(e){var n=e.filePath,t=e.query;return y.ZP.git_files.detailAsync(encodeURIComponent(n),t)})),Zn=(0,c.Z)(bn,2),gn=Zn[0];Zn[1].isLoading,(0,u.useEffect)((function(){xn&&gn({filePath:xn,query:{base_branch:M,derive:!0}}).then((function(e){return k((function(n){var t;return De(De({},n),{},(0,s.Z)({},xn,null==e||null===(t=e.data)||void 0===t?void 0:t.git_file))}))}))}),[xn]),(0,u.useEffect)((function(){(null==pn?void 0:pn.length)>=1&&l(!1)}),[pn]);var yn=(0,u.useMemo)((function(){var e=[];return"All projects"in Y&&e.push([{render:function(e){var n=e.columnWidth;return(0,L.jsx)("div",{style:{width:"".concat(n,"px")},children:mn})}}]),"Git directory"in Y&&e.push([{render:function(){return(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(p.Z,{p:1,children:(0,L.jsx)(j.Z,{compact:!0,label:"Base branch",onChange:function(e){return S(e.target.value)},ref:n,small:!0,value:M||"",children:null==ie?void 0:ie.map((function(e){var n=e.name;return(0,L.jsx)("option",{value:n,children:n},n)}))})}),en]})}}]),(0,L.jsx)(de.Z,{columnsOfItems:e,fullHeight:!0,heightOffset:2*ke.Mz,uuid:"version-control-all-modified-files",width:P})}),[M,ie,mn,P,en,Y]);return(0,L.jsx)(ee.Z,{after:jn,afterHeader:vn,afterHidden:i,afterWidth:f,before:yn,beforeHeader:cn,beforeWidth:P,mainContainerHeader:tn,setAfterHidden:l,setAfterWidth:m,setBeforeWidth:_,title:"Version control",uuid:Fe,children:(0,L.jsxs)(p.Z,{p:U.cd,children:[!ce&&(0,L.jsx)(x.Z,{inverted:!0}),ce&&(0,L.jsxs)(L.Fragment,{children:[B.uuid===(null==W?void 0:W.uuid)&&rn,R.uuid===(null==W?void 0:W.uuid)&&on,D.uuid===(null==W?void 0:W.uuid)&&ln,F.uuid===(null==W?void 0:W.uuid)&&sn]})]})})};function Ue(){return(0,L.jsx)(Ne,{})}Ue.getInitialProps=(0,r.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 Ve=(0,l.Z)(Ue)},75302:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/version-control",function(){return t(37520)}])},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 o}});var r=t(61049);function o(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 i}});var r=t(12539),o=t(80022);function i(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,o.Z)(e)}}},function(e){e.O(0,[1557,9774,2888,179],(function(){return n=75302,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2858],{94629:function(e,n,t){"use strict";t.d(n,{Z:function(){return C}});var r=t(82394),o=t(21831),i=t(82684),l=t(50724),s=t(82555),c=t(97618),u=t(70613),a=t(92272),d=t(68899),h=t(28598);function f(e,n){var t=e.children,r=e.noPadding;return(0,h.jsx)(d.HS,{noPadding:r,ref:n,children:t})}var m=i.forwardRef(f),j=t(62547),p=t(82571),x=t(77417),v=t(46684),b=t(75375);function Z(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 g(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Z(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Z(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function y(e,n){e.addProjectBreadcrumbToCustomBreadcrumbs;var t=e.after,r=e.afterHeader,i=e.afterHidden,f=e.afterWidth,Z=e.afterWidthOverride,y=e.appendBreadcrumbs,C=e.before,P=e.beforeHeader,_=e.beforeWidth,w=e.breadcrumbs,O=e.children,k=e.contained,I=e.errors,M=e.headerMenuItems,S=e.headerOffset,H=e.hideAfterCompletely,A=e.mainContainerHeader,E=e.navigationItems,R=e.setAfterHidden,D=e.setAfterWidth,F=e.setBeforeWidth,B=e.setErrors,N=e.subheaderChildren,U=e.subheaderNoPadding,V=e.title,T=e.uuid,L=(0,b.Z)(T,{beforeResizeOffset:b.H,setWidthAfter:D,setWidthBefore:F,widthAfter:f,widthBefore:_,widthOverrideAfter:Z}),q=L.mainContainerRef,G=L.mousedownActiveAfter,z=L.mousedownActiveBefore,W=L.setMousedownActiveAfter,Q=L.setMousedownActiveBefore,K=L.setWidthAfter,Y=L.setWidthBefore,X=L.widthAfter,J=L.widthBefore,$=(0,x.Z)().project,ee=[];return w&&ee.push.apply(ee,(0,o.Z)(w)),null!=w&&w.length&&!y||!$||null!=w&&w.length||ee.unshift({bold:!y,label:function(){return V}}),(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(u.Z,{title:V}),(0,h.jsx)(a.Z,{breadcrumbs:ee,menuItems:M}),(0,h.jsxs)(d.Nk,{ref:n,children:[0!==(null==E?void 0:E.length)&&(0,h.jsx)(d.lm,{showMore:!0,children:(0,h.jsx)(p.Z,{navigationItems:E,showMore:!0})}),(0,h.jsx)(c.Z,{flex:1,flexDirection:"column",children:(0,h.jsxs)(j.Z,{after:t,afterHeader:r,afterHeightOffset:v.Mz,afterHidden:i,afterMousedownActive:G,afterWidth:X,before:C,beforeHeader:P,beforeHeightOffset:v.Mz,beforeMousedownActive:z,beforeWidth:C?J:d.k1,contained:k,headerOffset:S,hideAfterCompletely:!t||H,leftOffset:C?d.k1:null,mainContainerHeader:A,mainContainerRef:q,setAfterHidden:R,setAfterMousedownActive:W,setAfterWidth:K,setBeforeMousedownActive:Q,setBeforeWidth:Y,children:[N&&(0,h.jsx)(m,{noPadding:U,children:N}),O]})})]}),I&&(0,h.jsx)(l.Z,{disableClickOutside:!0,isOpen:!0,onClickOutside:function(){return null==B?void 0:B(null)},children:(0,h.jsx)(s.Z,g(g({},I),{},{onClose:function(){return null==B?void 0:B(null)}}))})]})}var C=i.forwardRef(y)},93808:function(e,n,t){"use strict";t.d(n,{Z:function(){return O}});var r=t(77837),o=t(26304),i=t(62243),l=t(29385),s=t(80022),c=t(13692),u=t(93189),a=t(15544),d=t(82394),h=t(38860),f=t.n(h),m=t(82684),j=t(56663),p=t.n(j),x=t(40761),v=t(34661),b=t(36105),Z=t(50178),g=t(69419),y=t(28598),C=["auth"];function P(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?P(Object(t),!0).forEach((function(n){(0,d.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):P(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function w(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,r=(0,a.Z)(e);if(n){var o=(0,a.Z)(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return(0,u.Z)(this,t)}}function O(e){return function(n){(0,c.Z)(a,n);var t,u=w(a);function a(){var e;(0,i.Z)(this,a);for(var n=arguments.length,t=new Array(n),r=0;r<n;r++)t[r]=arguments[r];return e=u.call.apply(u,[this].concat(t)),(0,d.Z)((0,s.Z)(e),"state",{auth:new x.Z(e.props.token)}),e}return(0,l.Z)(a,[{key:"componentDidMount",value:function(){this.setState({auth:new x.Z(this.props.token)})}},{key:"render",value:function(){var n=this.props,t=(n.auth,(0,o.Z)(n,C));return(0,y.jsx)(e,_({auth:this.state.auth},t))}}],[{key:"getInitialProps",value:(t=(0,r.Z)(f().mark((function n(t){var r,o,i,l,s,c,u,a,d;return f().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r=p()(t),o=(0,Z.ex)(t),i=o.id,l=r[v.Mv],s=r[b.qt],c=new x.Z(l),u=_(_({},t),{},{auth:c,currentGroupId:i,theme:s}),(0,Z.YB)(t)&&c.isExpired&&(console.log("OAuth token has expired."),a=_(_({},t.query),{},{redirect_url:t.asPath}),(0,g.nL)("/sign-in?".concat((0,g.uM)(a)),t.res)),!e.getInitialProps){n.next=12;break}return n.next=10,e.getInitialProps(u);case 10:return d=n.sent,n.abrupt("return",_(_({},d),{},{auth:c,currentGroupId:i,theme:s}));case 12:return n.abrupt("return",u);case 13:case"end":return n.stop()}}),n)}))),function(e){return t.apply(this,arguments)})}]),a}(m.Component)}},91769:function(e,n,t){"use strict";t.d(n,{f:function(){return v},h:function(){return p}});var r=t(82394),o=t(82684),i=t(34376),l=t(68562),s=t(72473),c=t(70515),u=t(69419),a=t(53808),d=t(28598);var h=function(e){var n=e.oauthResponse,t=(0,i.useRouter)(),r=(0,o.useMemo)((function(){return n||{}}),[n]),h=r.url,f=r.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)(s.GoogleIcon,{size:2*c.iI}),bold:!0,inline:!0,onClick:function(){var e=(0,u.iV)(h).state;(0,a.t8)(e,m),t.push(h)},uuid:"SignForm/google",children:"Sign in with Google"})})};var f=function(e){var n=e.oauthResponse,t=(0,i.useRouter)(),r=(0,o.useMemo)((function(){return n||{}}),[n]),h=r.url,f=r.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)(s.MicrosoftIcon,{size:2*c.iI}),bold:!0,inline:!0,onClick:function(){var e=(0,u.iV)(h).state;m&&(0,a.t8)(e,m),t.push(h)},uuid:"SignForm/active_directory",children:"Sign in with Microsoft"})})};var m=function(e){var n=e.oauthResponse,t=(0,i.useRouter)(),r=(0,o.useMemo)((function(){return n||{}}),[n]),s=r.url,c=r.redirect_query_params,h=void 0===c?{}:c;return(0,d.jsx)(d.Fragment,{children:s&&(0,d.jsx)(l.ZP,{bold:!0,inline:!0,onClick:function(){var e=(0,u.iV)(s).state;(0,a.t8)(e,h),t.push(s)},uuid:"SignForm/oidc_generic",children:"Sign in with OIDC"})})};var j,p,x=function(e){var n=e.oauthResponse,t=(0,i.useRouter)(),r=(0,o.useMemo)((function(){return n||{}}),[n]),s=r.url,c=r.redirect_query_params,h=void 0===c?{}:c;return(0,d.jsx)(d.Fragment,{children:s&&(0,d.jsx)(l.ZP,{bold:!0,inline:!0,onClick:function(){var e=(0,u.iV)(s).state;(0,a.t8)(e,h),t.push(s)},uuid:"SignForm/okta",children:"Sign in with Okta"})})};!function(e){e.ACTIVE_DIRECTORY="active_directory",e.AZURE_DEVOPS="azure_devops",e.BITBUCKET="bitbucket",e.GITHUB="github",e.GITLAB="gitlab",e.GOOGLE="google",e.OIDC_GENERIC="oidc_generic",e.OKTA="okta"}(p||(p={}));var v=(j={},(0,r.Z)(j,p.ACTIVE_DIRECTORY,f),(0,r.Z)(j,p.GOOGLE,h),(0,r.Z)(j,p.OIDC_GENERIC,m),(0,r.Z)(j,p.OKTA,x),j)},37520:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return Ve}});var r=t(77837),o=t(38860),i=t.n(o),l=t(93808),s=t(82394),c=t(75582),u=t(82684),a=t(83455),d=t(71180),h=t(15338),f=t(55485),m=t(85854),j=t(44085),p=t(38276),x=t(4190),v=t(30160),b=t(35576),Z=t(17488),g=t(12468),y=t(35686),C=t(72473),P="clone",_="delete",w="fetch",O="merge",k="pull",I="push",M="rebase",S="reset --hard",H=(0,s.Z)({},w,["prune"]),A="git_remote_name",E="git_repository_name",R={uuid:"Branches"},D={uuid:"Commit"},F={uuid:"Push & Pull Requests"},B={uuid:"Remote & Auth"},N=[B,R,D,F],U=t(70515),V=t(81728),T=t(72619),L=t(28598);var q=function(e){var n=e.actionRemoteName,t=e.branch,r=e.branches,o=e.fetchBranch,i=e.fetchBranches,l=e.remotes,s=e.setActionRemoteName,P=e.showError,w=(0,u.useState)(""),k=w[0],I=w[1],S=(0,u.useState)(null),H=S[0],A=S[1],E=(0,u.useState)(null),R=E[0],F=E[1],N=(0,u.useState)(null),q=N[0],G=N[1],z=(0,u.useState)(""),W=z[0],Q=z[1],K=(0,u.useMemo)((function(){return null==l?void 0:l.find((function(e){return e.name===n}))}),[n,l]),Y=(0,u.useMemo)((function(){return(null==r?void 0:r.concat((null==K?void 0:K.refs)||[]))||[]}),[r,K]),X=(0,a.Db)(y.ZP.git_custom_branches.useCreate(),{onSuccess:function(e){return(0,T.wD)(e,{callback:function(){o(),i(),Q("")},onErrorCallback:function(e,n){return P({errors:n,response:e})}})}}),J=(0,c.Z)(X,2),$=J[0],ee=J[1].isLoading,ne=(0,a.Db)(y.ZP.git_custom_branches.useCreate(),{onSuccess:function(e){return(0,T.wD)(e,{callback:function(){o(),window.location.reload()},onErrorCallback:function(e,n){return P({errors:n,response:e})}})}}),te=(0,c.Z)(ne,2),re=te[0],oe=te[1].isLoading,ie=(0,a.Db)(y.ZP.git_custom_branches.useUpdate(encodeURIComponent(null==t?void 0:t.name)),{onSuccess:function(e){return(0,T.wD)(e,{callback:function(e){var n=e.git_custom_branch.progress;o(),I(""),A(""),F(n),G("")},onErrorCallback:function(e,n){return P({errors:n,response:e})}})}}),le=(0,c.Z)(ie,2),se=le[0],ce=le[1].isLoading;return(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)(p.Z,{mb:U.HN,children:[(0,L.jsxs)(m.Z,{children:["Branches",r?" (".concat(null==r?void 0:r.length,")"):""]}),(0,L.jsx)(p.Z,{mt:U.Mq,children:(0,L.jsxs)(f.ZP,{children:[(0,L.jsxs)("div",{children:[(0,L.jsx)(p.Z,{mb:1,children:(0,L.jsx)(v.ZP,{bold:!0,muted:!0,children:"Remote"})}),(0,L.jsx)(j.Z,{beforeIcon:(0,L.jsx)(C.MultiShare,{}),beforeIconSize:1.5*U.iI,monospace:!0,onChange:function(e){return s(e.target.value)},placeholder:"Choose a remote",value:n||"",children:null==l?void 0:l.map((function(e){var n=e.name;return(0,L.jsx)("option",{value:n,children:n},n)}))})]}),(0,L.jsx)(p.Z,{mr:1}),(0,L.jsxs)("div",{children:[(0,L.jsx)(p.Z,{mb:1,children:(0,L.jsx)(v.ZP,{bold:!0,muted:!0,children:"Current branch"})}),(0,L.jsxs)(f.ZP,{alignItems:"center",children:[(0,L.jsx)(g.Z,{fullSize:!0,label:"Choose a different branch to switch branches",widthFitContent:!0,children:(0,L.jsx)(j.Z,{beforeIcon:(0,L.jsx)(C.Branch,{muted:!1}),beforeIconSize:2*U.iI,monospace:!0,onChange:function(e){return re({git_custom_branch:{name:e.target.value,remote:n}})},value:null==t?void 0:t.name,children:(null==t?void 0:t.name)&&(null==Y?void 0:Y.map((function(e){var n=e.name;return(0,L.jsx)("option",{value:n,children:n},n)})))})}),(0,L.jsx)(p.Z,{mr:U.cd}),oe&&(0,L.jsx)(x.Z,{inverted:!0})]})]})]})}),(0,L.jsx)(p.Z,{mt:U.Mq,children:(0,L.jsxs)(f.ZP,{alignItems:"center",children:[(0,L.jsx)(Z.Z,{label:"New branch name",monospace:!0,onChange:function(e){var n;return Q(null==e||null===(n=e.target)||void 0===n?void 0:n.value)},value:W||""}),(0,L.jsx)(p.Z,{mr:1}),(0,L.jsx)(d.ZP,{beforeIcon:(0,L.jsx)(C.Add,{size:2*U.iI}),disabled:!W,loading:ee,onClick:function(){$({git_custom_branch:{name:W}})},primary:!0,children:"Create new branch"})]})})]}),(0,L.jsxs)(p.Z,{mb:U.HN,children:[(0,L.jsx)(m.Z,{children:"Actions"}),(0,L.jsxs)(p.Z,{mt:U.Mq,children:[(0,L.jsxs)(p.Z,{mb:U.Mq,children:[(0,L.jsx)(p.Z,{mb:1,children:(0,L.jsx)(v.ZP,{bold:!0,muted:!0,children:"Compare branch"})}),(null==t?void 0:t.name)&&(0,L.jsx)(v.ZP,{monospace:!0,children:null==t?void 0:t.name})]}),(0,L.jsxs)(f.ZP,{alignItems:"center",children:[(0,L.jsxs)("div",{children:[(0,L.jsx)(p.Z,{mb:1,children:(0,L.jsx)(v.ZP,{bold:!0,muted:!0,children:"Base branch"})}),(0,L.jsx)(j.Z,{beforeIcon:(0,L.jsx)(C.Branch,{}),beforeIconSize:1.5*U.iI,monospace:!0,onChange:function(e){return G(e.target.value)},placeholder:"Choose a branch",value:q,children:null==Y?void 0:Y.map((function(e){var n=e.name;return(0,L.jsx)("option",{value:n,children:n},n)}))})]}),(0,L.jsx)(p.Z,{mr:1}),(0,L.jsxs)("div",{children:[(0,L.jsx)(p.Z,{mb:1,children:(0,L.jsx)(v.ZP,{bold:!0,muted:!0,children:"Action"})}),(0,L.jsxs)(j.Z,{onChange:function(e){return A(e.target.value)},placeholder:"Choose action",value:H||"",children:[(0,L.jsx)("option",{value:O,children:(0,V.vg)(O)}),(0,L.jsx)("option",{value:M,children:(0,V.vg)(M)}),(0,L.jsx)("option",{value:_,children:(0,V.vg)(_)})]})]})]}),H&&[O,M].includes(H)&&(0,L.jsxs)(p.Z,{mt:U.cd,children:[(0,L.jsx)(p.Z,{mb:1,children:(0,L.jsxs)(v.ZP,{bold:!0,muted:!0,children:["Message for ",H]})}),(0,L.jsx)(b.Z,{monospace:!0,onChange:function(e){return I(e.target.value)},value:k||""})]}),(0,L.jsxs)(p.Z,{mt:U.cd,children:[(0,L.jsx)(d.ZP,{beforeIcon:(0,L.jsx)(C.Lightning,{size:2*U.iI}),disabled:!H||!q,loading:ce,onClick:function(){(_!==H||"undefined"!=typeof location&&window.confirm("Are you sure you want to delete branch ".concat(q,"?")))&&se({git_custom_branch:{action_payload:{base_branch:q},action_type:H,message:k}})},primary:!0,children:H?(0,V.vg)(H):"Execute action"}),R&&(0,L.jsx)(p.Z,{mt:U.cd,children:(0,L.jsx)(v.ZP,{default:!0,monospace:!0,preWrap:!0,children:R})})]})]})]}),(0,L.jsxs)(p.Z,{mb:U.HN,children:[(0,L.jsx)(p.Z,{mb:U.HN,children:(0,L.jsx)(h.Z,{light:!0})}),(0,L.jsxs)(f.ZP,{children:[(0,L.jsx)(d.ZP,{beforeIcon:(0,L.jsx)(C.PaginateArrowLeft,{}),linkProps:{href:"/version-control?tab=".concat(encodeURIComponent(B.uuid))},noBackground:!0,noHoverUnderline:!0,sameColorAsText:!0,children:B.uuid}),(0,L.jsx)(p.Z,{mr:1}),(0,L.jsxs)(d.ZP,{afterIcon:(0,L.jsx)(C.PaginateArrowRight,{}),linkProps:{href:"/version-control?tab=".concat(D.uuid)},noHoverUnderline:!0,sameColorAsText:!0,secondary:!0,children:["Next: ",D.uuid]})]})]})]})},G=t(90299),z=t(32013),W=t(98777),Q=t(48670),K=t(75499);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 X(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,s.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}var J={base_branch:null,body:null,compare_branch:null,repository:null,title:null};var $=function(e){var n=e.actionRemoteName,t=e.branch,r=e.branches,o=e.fetchBranch,i=e.loading,l=e.remotes,s=e.repositories,g=e.repositoryName,P=e.setActionRemoteName,_=e.setRepositoryName,w=e.showError,O=(0,u.useState)((null==t?void 0:t.name)||""),k=O[0],M=O[1],S=(0,u.useState)(null),H=S[0],A=S[1],E=(0,u.useState)(null),R=E[0],F=E[1],B=(0,u.useState)(J),N=B[0],q=B[1],G=(0,a.Db)(y.ZP.git_custom_branches.useUpdate(encodeURIComponent(null==t?void 0:t.name)),{onSuccess:function(e){return(0,T.wD)(e,{callback:function(e){var n=e.git_custom_branch,t=n.error,r=n.progress;t?(A(t),F(null)):(o(),A(null),F(r))},onErrorCallback:function(e,n){return w({errors:n,response:e})}})}}),Y=(0,c.Z)(G,2),$=Y[0],ee=Y[1].isLoading,ne=(0,u.useMemo)((function(){var e;return null==s||null===(e=s.find((function(e){return e.name===g})))||void 0===e?void 0:e.url}),[s,g]),te=y.ZP.pull_requests.list({remote_url:ne,repository:g},{},{pauseFetch:!g}),re=te.data,oe=te.mutate,ie=(0,u.useMemo)((function(){return(null==re?void 0:re.pull_requests)||[]}),[re]),le=(0,u.useMemo)((function(){return(0,L.jsx)(K.Z,{columnFlex:[null,null,null,null],columns:[{uuid:"Title"},{uuid:"Author"},{uuid:"Created"},{uuid:"Last modified"}],onClickRow:function(e){var n,t=null==ie||null===(n=ie[e])||void 0===n?void 0:n.url;t&&window.open(t,"_blank")},rows:null==ie?void 0:ie.map((function(e){var n=e.created_at,t=e.last_modified,r=e.title,o=e.url,i=e.user;return[(0,L.jsx)(Q.Z,{default:!0,href:o,monospace:!0,openNewWindow:!0,small:!0,children:r},"title"),(0,L.jsx)(v.ZP,{default:!0,monospace:!0,small:!0,children:i},"user"),(0,L.jsx)(v.ZP,{default:!0,monospace:!0,small:!0,children:n},"createdAt"),(0,L.jsx)(v.ZP,{default:!0,monospace:!0,small:!0,children:t||"-"},"lastModified")]})),uuid:"pull-requests"})}),[ie]),se=y.ZP.git_custom_branches.list({remote_url:ne,repository:g},{},{pauseFetch:!g}).data,ce=(0,u.useMemo)((function(){return(null==se?void 0:se.git_custom_branches)||[]}),[se]);(0,u.useEffect)((function(){null!=N&&N.compare_branch||null==ce||!ce.find((function(e){return e.name===(null==t?void 0:t.name)}))||q((function(e){return X(X({},e),{},{compare_branch:null==t?void 0:t.name})}))}),[t,ce,N]);var ue=(0,a.Db)(y.ZP.pull_requests.useCreate(),{onSuccess:function(e){return(0,T.wD)(e,{callback:function(){oe(),q(J)},onErrorCallback:function(e,n){return w({errors:n,response:e})}})}}),ae=(0,c.Z)(ue,2),de=ae[0],he=ae[1].isLoading;return(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)(p.Z,{mb:U.HN,children:[(0,L.jsx)(p.Z,{mb:1,children:(0,L.jsx)(m.Z,{children:(0,V.vg)(I)})}),(0,L.jsxs)(p.Z,{mt:U.Mq,children:[(0,L.jsxs)(f.ZP,{children:[(0,L.jsxs)("div",{children:[(0,L.jsx)(p.Z,{mb:1,children:(0,L.jsx)(v.ZP,{bold:!0,muted:!0,children:"Remote"})}),i&&(0,L.jsx)(x.Z,{inverted:!0}),!i&&(0,L.jsx)(j.Z,{beforeIcon:(0,L.jsx)(C.MultiShare,{}),beforeIconSize:1.5*U.iI,monospace:!0,onChange:function(e){return P(e.target.value)},placeholder:"Choose remote",value:n||"",children:null==l?void 0:l.map((function(e){var n=e.name;return(0,L.jsx)("option",{value:n,children:n},n)}))})]}),(0,L.jsx)(p.Z,{mr:1}),(0,L.jsxs)("div",{children:[(0,L.jsx)(p.Z,{mb:1,children:(0,L.jsx)(v.ZP,{bold:!0,muted:!0,children:"Branch"})}),(0,L.jsxs)(j.Z,{beforeIcon:(0,L.jsx)(C.Branch,{}),beforeIconSize:1.5*U.iI,monospace:!0,onChange:function(e){return M(e.target.value)},placeholder:"Choose branch",value:k||"",children:[(0,L.jsx)("option",{value:""}),null==r?void 0:r.map((function(e){var n=e.name;return(0,L.jsx)("option",{value:n,children:n},n)}))]})]})]}),(0,L.jsx)(p.Z,{mt:U.cd,children:(0,L.jsxs)(d.ZP,{beforeIcon:(0,L.jsx)(C.Lightning,{size:2*U.iI}),disabled:!n||!k,loading:ee,onClick:function(){F(null),$({git_custom_branch:{action_payload:{branch:k,remote:n},action_type:I}})},primary:!0,children:[(0,V.vg)(I)," ",n," ",n&&k]})}),(R||H)&&(0,L.jsx)(p.Z,{mt:U.cd,children:(0,L.jsx)(v.ZP,{danger:!!H,default:!!R,monospace:!0,preWrap:!0,children:R||H})})]})]}),(0,L.jsxs)(p.Z,{mb:U.HN,children:[(0,L.jsx)(p.Z,{mb:1,children:(0,L.jsx)(m.Z,{children:"Create pull request"})}),(0,L.jsxs)(p.Z,{mt:U.Mq,children:[i&&(0,L.jsx)(x.Z,{inverted:!0}),!i&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)(f.ZP,{children:[(0,L.jsxs)("div",{children:[(0,L.jsx)(p.Z,{mb:1,children:(0,L.jsx)(v.ZP,{bold:!0,muted:!0,children:"Repository"})}),(0,L.jsx)(j.Z,{monospace:!0,onChange:function(e){return _(e.target.value)},placeholder:"Choose repository",value:g||"",children:null==s?void 0:s.map((function(e){var n=e.name;return(0,L.jsx)("option",{value:n,children:n},n)}))})]}),(0,L.jsx)(p.Z,{mr:1}),(0,L.jsxs)("div",{children:[(0,L.jsx)(p.Z,{mb:1,children:(0,L.jsx)(v.ZP,{bold:!0,muted:!0,children:"Base branch"})}),g&&!se&&(0,L.jsx)(x.Z,{inverted:!0}),(!g||se)&&(0,L.jsx)(j.Z,{beforeIcon:(0,L.jsx)(C.Branch,{}),beforeIconSize:1.5*U.iI,disabled:!g,monospace:!0,onChange:function(e){return q((function(n){return X(X({},n),{},{base_branch:e.target.value})}))},placeholder:"Choose branch",value:(null==N?void 0:N.base_branch)||"",children:null==ce?void 0:ce.map((function(e){var n=e.name;return(0,L.jsx)("option",{value:n,children:n},n)}))})]}),(0,L.jsx)(p.Z,{mr:1}),(0,L.jsxs)("div",{children:[(0,L.jsx)(p.Z,{mb:1,children:(0,L.jsx)(v.ZP,{bold:!0,muted:!0,children:"Compare branch"})}),g&&!se&&(0,L.jsx)(x.Z,{inverted:!0}),(!g||se||(null==N?void 0:N.compare_branch))&&(0,L.jsxs)(j.Z,{beforeIcon:(0,L.jsx)(C.Branch,{}),beforeIconSize:1.5*U.iI,disabled:!g,monospace:!0,onChange:function(e){return q((function(n){return X(X({},n),{},{compare_branch:e.target.value})}))},placeholder:"Choose branch",value:(null==N?void 0:N.compare_branch)||"",children:[!(null!=ce&&ce.length)&&(null==N?void 0:N.compare_branch)&&(0,L.jsx)("option",{value:null==N?void 0:N.compare_branch,children:null==N?void 0:N.compare_branch}),null==ce?void 0:ce.map((function(e){var n=e.name;return(0,L.jsx)("option",{value:n,children:n},n)}))]})]})]}),(0,L.jsx)(p.Z,{mt:1,children:(0,L.jsx)(Z.Z,{label:"Title",monospace:!0,onChange:function(e){return q((function(n){return X(X({},n),{},{title:e.target.value})}))},value:(null==N?void 0:N.title)||""})}),(0,L.jsx)(p.Z,{mt:1,children:(0,L.jsx)(b.Z,{label:"Description",monospace:!0,onChange:function(e){return q((function(n){return X(X({},n),{},{body:e.target.value})}))},value:(null==N?void 0:N.body)||""})}),(0,L.jsx)(p.Z,{mt:U.cd,children:(0,L.jsx)(d.ZP,{beforeIcon:(0,L.jsx)(C.Lightning,{size:2*U.iI}),disabled:!(g&&null!=N&&N.title&&null!=N&&N.base_branch&&null!=N&&N.compare_branch),loading:he,onClick:function(){de({pull_request:X(X({},N),{},{remote_url:ne,repository:g})})},primary:!0,children:"Create new pull request"})})]})]}),(0,L.jsx)(p.Z,{mt:U.Mq,children:(0,L.jsx)(z.Z,{visibleMapping:{0:!g},children:(0,L.jsxs)(W.Z,{noPaddingContent:!0,title:re?"Pull requests (".concat(null==ie?void 0:ie.length,")"):"Pull requests",children:[!g&&(0,L.jsx)(p.Z,{p:U.cd,children:(0,L.jsx)(v.ZP,{muted:!0,children:"Please select a repository to view open pull requests."})}),g&&(0,L.jsxs)(L.Fragment,{children:[!re&&(0,L.jsx)(p.Z,{p:U.cd,children:(0,L.jsx)(x.Z,{inverted:!0})}),re&&le]})]})})})]}),(0,L.jsxs)(p.Z,{mb:U.HN,children:[(0,L.jsx)(p.Z,{mb:U.HN,children:(0,L.jsx)(h.Z,{light:!0})}),(0,L.jsx)(f.ZP,{children:(0,L.jsx)(d.ZP,{beforeIcon:(0,L.jsx)(C.PaginateArrowLeft,{}),linkProps:{href:"/version-control?tab=".concat(D.uuid)},noBackground:!0,noHoverUnderline:!0,sameColorAsText:!0,children:D.uuid})})]})]})},ee=t(94629),ne=t(78650),te=t(70652),re=t(97618),oe=t(9518),ie=oe.default.div.withConfig({displayName:"indexstyle__SpacingStyle",componentId:"sc-el09vr-0"})(["margin-top:","px;"],.5*U.iI),le=t(42122);function se(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 ce(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?se(Object(t),!0).forEach((function(n){(0,s.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):se(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var ue,ae=function(e){var n=e.branch,t=e.fetchBranch,r=e.modifiedFiles,o=e.setSelectedFilePath,i=e.showError,l=e.stagedFiles,s=e.untrackedFiles,j=(0,u.useRef)(null),Z=(0,u.useState)(""),g=Z[0],P=Z[1],_=(0,u.useState)({}),w=_[0],O=_[1],k=(0,u.useState)({}),I=k[0],M=k[1],S=(0,u.useMemo)((function(){return Object.keys(r).concat(Object.keys(s)).sort()}),[r,s]),H=(0,u.useMemo)((function(){return Object.keys(l||{})}),[l]),A=(0,u.useMemo)((function(){return H.length}),[H]),E=(0,u.useMemo)((function(){return Object.keys(w).length===(null==S?void 0:S.length)}),[w,S]),D=(0,u.useMemo)((function(){return Object.keys(I).length===(null==H?void 0:H.length)}),[I,H]),B=(0,u.useMemo)((function(){return{onErrorCallback:function(e,n){return i({errors:n,response:e})}}}),[i]),N=(0,u.useMemo)((function(){return{onSuccess:function(e){return(0,T.wD)(e,ce({callback:function(){t(),O({})}},B))}}}),[t,B]),q=(0,u.useMemo)((function(){return y.ZP.git_custom_branches.useUpdate(null==n?void 0:n.name)}),[n]),G=(0,a.Db)(q,N),Y=(0,c.Z)(G,2),X=Y[0],J=Y[1].isLoading,$=(0,a.Db)(q,N),ee=(0,c.Z)($,2),ne=ee[0],oe=ee[1].isLoading,se=(0,a.Db)(q,{onSuccess:function(e){return(0,T.wD)(e,ce({callback:function(){t(),M({})}},B))}}),ue=(0,c.Z)(se,2),ae=ue[0],de=ue[1].isLoading,he=(0,u.useCallback)((function(e,n,t,r,o){var i=(null==e?void 0:e.length)>=1;return(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(Q.Z,{block:!0,noHoverUnderline:!0,onClick:function(){t(o?{}:r)},preventDefault:!0,children:(0,L.jsxs)(f.ZP,{alignItems:"center",flexDirection:"row",children:[(0,L.jsx)(te.Z,{checked:i&&o,disabled:!i}),(0,L.jsx)(p.Z,{mr:1}),(0,L.jsx)(v.ZP,{bold:!0,children:i&&o?"Unselect all":"Select all"})]})}),e.map((function(e){return(0,L.jsx)(ie,{children:(0,L.jsx)(Q.Z,{block:!0,noHoverUnderline:!0,onClick:function(){return t((function(n){var t=ce({},n);return!(null!=t&&t[e])?t[e]=!0:delete t[e],t}))},preventDefault:!0,children:(0,L.jsxs)(f.ZP,{alignItems:"center",flexDirection:"row",children:[(0,L.jsx)(te.Z,{checked:!(null==n||!n[e])}),(0,L.jsx)(p.Z,{mr:1}),(0,L.jsx)(v.ZP,{default:!0,monospace:!0,children:e})]})})},e)}))]})}),[]),fe=(0,u.useMemo)((function(){return(0,le.Qr)(w)}),[w]),me=y.ZP.git_custom_branches.detail("with_logs",{_format:"with_logs"}),je=me.data,pe=me.mutate,xe=(0,u.useMemo)((function(){var e;return(null==je||null===(e=je.git_custom_branch)||void 0===e?void 0:e.logs)||[]}),[je]),ve=(0,a.Db)(y.ZP.git_custom_branches.useUpdate(null==n?void 0:n.name),{onSuccess:function(e){return(0,T.wD)(e,{callback:function(){pe(),t(),P("")},onErrorCallback:function(e,n){return i({errors:n,response:e})}})}}),be=(0,c.Z)(ve,2),Ze=be[0],ge=be[1].isLoading,ye=(0,u.useMemo)((function(){return(0,L.jsx)(K.Z,{columnFlex:[1,1,1],columns:[{uuid:"Author"},{uuid:"Date"},{uuid:"Message"}],rows:xe.map((function(e){var n=e.author,t=e.date,r=e.message;return[(0,L.jsx)(v.ZP,{default:!0,monospace:!0,small:!0,children:null==n?void 0:n.name},"author"),(0,L.jsx)(v.ZP,{default:!0,monospace:!0,small:!0,children:t},"date"),(0,L.jsx)(v.ZP,{default:!0,monospace:!0,small:!0,children:r},"message")]})),uuid:"git-branch-logs"})}),[xe]);return(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(p.Z,{mb:U.HN,children:(0,L.jsxs)(f.ZP,{children:[(0,L.jsxs)(re.Z,{flex:1,flexDirection:"column",children:[(0,L.jsxs)(m.Z,{children:["Not staged ",(null==S?void 0:S.length)>=1&&"(".concat(null==S?void 0:S.length,")")]}),(0,L.jsx)(p.Z,{my:U.cd,children:(0,L.jsx)(h.Z,{light:!0})}),(0,L.jsx)(p.Z,{mb:U.cd,children:(0,L.jsxs)(f.ZP,{flexDirection:"row",children:[(0,L.jsx)(d.ZP,{compact:!0,disabled:fe||de||oe,loading:J,onClick:function(){X({git_custom_branch:{action_type:"add",files:Object.keys(w)}}).then((function(e){var n,t=e.data;null!=t&&t.git_custom_branch&&(null==j||null===(n=j.current)||void 0===n||n.focus())}))},primary:!0,children:"Add files"}),(0,L.jsx)(p.Z,{mr:1}),(0,L.jsx)(d.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(w)}})},children:"Checkout files"})]})}),he(S,w,O,ce(ce({},r),s),E)]}),(0,L.jsx)(p.Z,{mr:U.cd}),(0,L.jsxs)(re.Z,{flex:1,flexDirection:"column",children:[(0,L.jsxs)(m.Z,{children:["Staged files ",(null==H?void 0:H.length)>=1&&"(".concat(null==H?void 0:H.length,")")]}),(0,L.jsx)(p.Z,{my:U.cd,children:(0,L.jsx)(h.Z,{light:!0})}),(0,L.jsx)(p.Z,{mb:U.cd,children:(0,L.jsx)(f.ZP,{flexDirection:"row",children:(0,L.jsx)(d.ZP,{compact:!0,disabled:(0,le.Qr)(I)||J||oe,loading:de,onClick:function(){ae({git_custom_branch:{action_type:"reset",files:Object.keys(I)}})},secondary:!0,children:"Reset files"})})}),he(H,I,M,l,D)]})]})}),(0,L.jsxs)(p.Z,{mb:U.HN,children:[(0,L.jsx)(p.Z,{mb:1,children:(0,L.jsx)(m.Z,{children:"Commit"})}),(0,L.jsx)(p.Z,{mb:U.cd,children:(0,L.jsx)(z.Z,{children:(0,L.jsx)(W.Z,{noPaddingContent:!0,title:A>=1?"Staged files (".concat(A,")"):"No staged files",children:null==H?void 0:H.map((function(e){return(0,L.jsx)(p.Z,{my:1,px:U.cd,children:(0,L.jsxs)(f.ZP,{justifyContent:"space-between",children:[(0,L.jsx)(Q.Z,{default:!0,monospace:!0,onClick:function(){return o((function(n){return n===e?null:e}))},warning:null==r?void 0:r[e],children:e}),(0,L.jsx)(p.Z,{mr:1}),(null==r?void 0:r[e])&&(0,L.jsx)(v.ZP,{warning:!0,children:"Modified after staging"})]})},e)}))})})}),(0,L.jsx)(b.Z,{label:"Commit message",monospace:!0,onChange:function(e){return P(e.target.value)},ref:j,value:g||""}),(0,L.jsx)(p.Z,{mt:U.cd,children:(0,L.jsxs)(f.ZP,{alignItems:"center",children:[(0,L.jsxs)(d.ZP,{disabled:0===A||!((null==g?void 0:g.length)>=1),loading:ge,onClick:function(){Ze({git_custom_branch:{action_type:"commit",message:g}})},primary:!0,children:["Commit ",(0,V._6)("file",A,!0)," with message"]}),0===A&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(p.Z,{mr:1}),(0,L.jsx)(v.ZP,{danger:!0,small:!0,children:"Please stage at least 1 file before committing."})]})]})})]}),(0,L.jsx)(p.Z,{mb:U.HN,children:(0,L.jsx)(z.Z,{children:(0,L.jsxs)(W.Z,{noPaddingContent:!0,title:"Logs",children:[!je&&(0,L.jsx)(p.Z,{p:U.cd,children:(0,L.jsx)(x.Z,{inverted:!0})}),je&&ye]})})}),(0,L.jsxs)(p.Z,{mb:U.HN,children:[(0,L.jsx)(p.Z,{mb:U.HN,children:(0,L.jsx)(h.Z,{light:!0})}),(0,L.jsxs)(f.ZP,{children:[(0,L.jsx)(d.ZP,{beforeIcon:(0,L.jsx)(C.PaginateArrowLeft,{}),linkProps:{href:"/version-control?tab=".concat(R.uuid)},noBackground:!0,noHoverUnderline:!0,sameColorAsText:!0,children:R.uuid}),(0,L.jsx)(p.Z,{mr:1}),(0,L.jsxs)(d.ZP,{afterIcon:(0,L.jsx)(C.PaginateArrowRight,{}),linkProps:fe?{href:"/version-control?tab=".concat(encodeURIComponent(F.uuid))}:null,noHoverUnderline:!0,primary:fe,sameColorAsText:!0,secondary:!fe,children:["Next: ",F.uuid]})]})]})]})},de=t(23531),he=t(12691),fe=t.n(he),me=t(34376),je=t(63403),pe=oe.default.svg.withConfig({displayName:"BitbucketWithText__SVGStyle",componentId:"sc-wdje9z-0"})([""]),xe=function(e){var n=e.fill,t=e.opacity,r=e.size,o=void 0===r?je.C:r,i=e.style,l=e.viewBox,s=void 0===l?"0 0 299 42":l;return(0,L.jsxs)(pe,{fill:n,height:o,opacity:t,style:i,viewBox:s,width:o,children:[(0,L.jsx)("path",{d:"M63.3372 2.9978H79.5353C87.4335 2.9978 91.2488 6.77741 91.2488 12.8379C91.2488 17.3994 89.1068 20.2016 84.756 21.179C90.4455 22.0914 93.3237 25.1542 93.3237 30.4978C93.3237 36.4931 89.1737 40.6637 80.4724 40.6637H63.3372V2.9978ZM68.625 19.0939H78.799C83.8191 19.0939 85.894 16.8782 85.894 13.2289C85.894 9.57954 83.6852 7.82008 78.799 7.82008H68.625V19.0939ZM68.625 23.7206V35.4504H80.673C85.7601 35.4504 88.036 33.6909 88.036 29.9113C88.036 25.871 85.827 23.7206 80.5393 23.7206H68.625Z",fill:n||"white"}),(0,L.jsx)("path",{d:"M101.958 0.977783C104.033 0.977783 105.506 2.21592 105.506 4.43157C105.506 6.58205 104.033 7.88536 101.958 7.88536C99.8833 7.88536 98.4106 6.6472 98.4106 4.43157C98.4106 2.21592 99.8833 0.977783 101.958 0.977783ZM99.3478 11.9907H104.435V40.6638H99.3478V11.9907Z",fill:n||"white"}),(0,L.jsx)("path",{d:"M123.779 36.0376C124.984 36.0376 126.055 35.7769 126.992 35.6466V40.4037C126.121 40.6643 125.117 40.8599 123.578 40.8599C117.286 40.8599 114.207 37.2756 114.207 31.9321V16.5529H109.455V11.9912H114.207V5.93091H119.16V11.9912H126.992V16.5529H119.16V31.7367C119.093 34.2781 120.633 36.0376 123.779 36.0376Z",fill:n||"white"}),(0,L.jsx)("path",{d:"M138.504 35.5806V40.5982H133.417V0H138.504V17.1386C140.378 13.359 143.926 11.4039 148.477 11.4039C156.309 11.4039 160.258 17.8554 160.258 26.3271C160.258 34.4076 156.108 41.25 147.875 41.25C143.524 41.25 140.244 39.3602 138.504 35.5806ZM147.072 16.0309C142.52 16.0309 138.504 18.8329 138.504 25.2191V27.5001C138.504 33.8863 142.186 36.6883 146.536 36.6883C152.226 36.6883 155.171 33.0392 155.171 26.3921C155.171 19.4194 152.36 16.0309 147.072 16.0309Z",fill:n||"white"}),(0,L.jsx)("path",{d:"M165.546 11.991H170.633V29.3252C170.633 34.4733 172.775 36.7541 177.594 36.7541C182.279 36.7541 185.559 33.6913 185.559 27.8915V11.991H190.647V40.664H185.559V35.972C183.685 39.3607 180.204 41.2505 176.255 41.2505C169.495 41.2505 165.613 36.6888 165.613 28.8039V11.991H165.546Z",fill:n||"white"}),(0,L.jsx)("path",{d:"M219.027 39.8814C217.287 40.7938 214.542 41.1847 211.864 41.1847C201.355 41.1847 196.469 34.9941 196.469 26.1967C196.469 17.5296 201.355 11.3389 211.864 11.3389C214.542 11.3389 216.55 11.6647 218.892 12.7072V17.2689C217.019 16.4218 215.011 15.9006 212.266 15.9006C204.636 15.9006 201.49 20.5924 201.49 26.1967C201.49 31.8009 204.702 36.4929 212.401 36.4929C215.412 36.4929 217.287 36.1018 219.092 35.4502V39.8814H219.027Z",fill:n||"white"}),(0,L.jsx)("path",{d:"M224.783 40.6635V0H229.87V25.4147L242.52 11.9904H249.147L235.29 26.0664L249.681 40.6635H242.789L229.802 27.2392V40.6635H224.783Z",fill:n||"white"}),(0,L.jsx)("path",{d:"M266.483 41.2506C255.437 41.2506 250.619 35.0599 250.619 26.2624C250.619 17.5954 255.572 11.4045 264.541 11.4045C273.644 11.4045 277.259 17.5302 277.259 26.2624V28.4781H255.773C256.51 33.3655 259.722 36.4935 266.684 36.4935C270.096 36.4935 272.974 35.8418 275.652 34.9296V39.4911C273.175 40.7944 269.494 41.2506 266.483 41.2506ZM255.706 24.2423H272.172C271.904 18.8987 269.427 15.9012 264.34 15.9012C258.919 15.9012 256.242 19.2897 255.706 24.2423Z",fill:n||"white"}),(0,L.jsx)("path",{d:"M294.929 36.0376C296.134 36.0376 297.205 35.7769 298.142 35.6466V40.4037C297.272 40.6643 296.267 40.8599 294.728 40.8599C288.437 40.8599 285.359 37.2756 285.359 31.9321V16.5529H280.606V11.9912H285.359V5.93091H290.311V11.9912H298.142V16.5529H290.311V31.7367C290.245 34.2781 291.784 36.0376 294.929 36.0376Z",fill:n||"white"}),(0,L.jsx)("path",{d:"M1.36497 4.1062C0.556341 4.1062 -0.117513 4.82301 0.0172582 5.605L5.74501 39.1654C5.87979 40.0127 6.62103 40.6642 7.56442 40.6642H34.9903C35.6641 40.6642 36.2032 40.208 36.338 39.5565L42.0658 5.605C42.2006 4.82301 41.594 4.1062 40.718 4.1062H1.36497ZM25.4889 28.3479H16.7288L14.3704 16.3573H27.6453L25.4889 28.3479Z",fill:n||"white"}),(0,L.jsx)("path",{d:"M40.2462 16.3572H27.5775L25.4886 28.3478H16.7286L6.3512 40.2079C6.3512 40.2079 6.82289 40.6641 7.56413 40.6641H34.99C35.6639 40.6641 36.2029 40.2079 36.3377 39.5562L40.2462 16.3572Z",fill:"url(#paint0_linear_13549_1163)"}),(0,L.jsx)("defs",{children:(0,L.jsxs)("linearGradient",{gradientUnits:"userSpaceOnUse",id:"paint0_linear_13549_1163",x1:"43.1513",x2:"22.7826",y1:"19.7256",y2:"36.1667",children:[(0,L.jsx)("stop",{offset:"0.176",stopColor:"#0052CC"}),(0,L.jsx)("stop",{offset:"1",stopColor:"#2684FF"})]})})]})},ve=t(91769),be=t(69419),Ze=t(53808),ge=(ue={},(0,s.Z)(ue,ve.h.AZURE_DEVOPS,C.DevOpsWithText),(0,s.Z)(ue,ve.h.BITBUCKET,xe),(0,s.Z)(ue,ve.h.GITHUB,C.GitHubWithTextIcon),(0,s.Z)(ue,ve.h.GITLAB,C.GitLabWithTextIcon),ue);function ye(e){var n=e.isLoadingCreateOauth,t=e.oauth,r=e.provider,o=e.showError,i=(0,me.useRouter)(),l=(0,a.Db)(y.ZP.oauths.useUpdate(r),{onSuccess:function(e){return(0,T.wD)(e,{callback:function(){return window.location.href=window.location.href.split("?")[0]},onErrorCallback:function(e,n){return o({errors:n,response:e})}})}}),s=(0,c.Z)(l,2),u=s[0],h=s[1].isLoading,m=ge[r];return(0,L.jsxs)(f.ZP,{justifyContent:"space-between",children:[(0,L.jsx)(re.Z,{children:(0,L.jsx)(m,{size:12*U.iI})}),(0,L.jsx)(re.Z,{alignItems:"center",children:null!=t&&t.authenticated?(0,L.jsx)(d.ZP,{loading:h,onClick:function(){return u({oauth:{action_type:"reset"}})},warning:!0,children:"Reset"}):(0,L.jsx)(d.ZP,{loading:n,onClick:function(){var e=null==t?void 0:t.url,n=(0,be.iV)(e).state;(0,Ze.t8)(n,(null==t?void 0:t.redirect_query_params)||{}),i.push(e)},primary:!0,children:"Authenticate"})})]})}var Ce=function(e){var n=e.branch,t=e.isLoadingCreateOauth,r=e.showError,o=y.ZP.oauths.list({type:"git",redirect_uri:encodeURIComponent(window.location.href)}),i=o.data,l=(o.mutate,y.ZP.oauths.detail(ve.h.GITHUB,{redirect_uri:encodeURIComponent(window.location.href)})),s=l.data,a=(l.mutate,(0,u.useMemo)((function(){return(null==s?void 0:s.oauth)||{}}),[s])),f=(0,u.useMemo)((function(){return null==n?void 0:n.access_token_exists}),[n]),j=(0,u.useMemo)((function(){var e,n=(null==i||null===(e=i.oauths)||void 0===e?void 0:e.reduce((function(e,n){return e[n.provider]=n,e}),{}))||{};return a&&(n[ve.h.GITHUB]=a),n}),[i,a]),x=(0,u.useMemo)((function(){return Object.values(j).some((function(e){return null==e?void 0:e.authenticated}))}),[j]);return(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(m.Z,{children:"Authentication"}),(0,L.jsxs)(p.Z,{mt:U.Mq,children:[f&&!x&&(0,L.jsxs)(p.Z,{mb:2,children:[(0,L.jsx)(d.ZP,{disabled:!0,children:"Using access token from Git Settings"}),(0,L.jsx)(p.Z,{mt:1,children:(0,L.jsx)(v.ZP,{muted:!0,children:"Some features may not work unless you authenticate with a Git client."})})]}),(0,L.jsxs)(p.Z,{mb:U.HN,children:[(0,L.jsx)(p.Z,{mb:U.Mq,children:(0,L.jsx)(v.ZP,{muted:!0,children:"Authenticating with the apps below will allow you to easily pull, push, and create pull requests."})}),(0,L.jsxs)(p.Z,{mb:U.Mq,style:{maxWidth:"600px"},children:[(0,L.jsx)(h.Z,{muted:!0}),Object.entries(j||{}).map((function(e){var n=(0,c.Z)(e,2),o=n[0],i=n[1];return(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(ye,{isLoadingCreateOauth:t,oauth:i,provider:o,showError:r},o),(0,L.jsx)(h.Z,{muted:!0})]})}))]})]})]})]})},Pe=t(77417);var _e=function(e){var n,t,r,o,i,l=e.actionRemoteName,s=e.branch,b=e.fetchBranch,g=e.loading,_=e.remotes,O=e.setActionRemoteName,I=e.showError,M=(0,me.useRouter)(),A=(0,Pe.Z)().project,E=(0,u.useRef)(null),D=(0,u.useState)(null),F=D[0],B=D[1],N=(0,u.useState)(null),q=N[0],G=N[1],Y=(0,u.useState)(null),X=Y[0],J=Y[1],$=(0,u.useState)(null),ee=$[0],ne=$[1],te=(0,u.useState)(null),oe=te[0],ie=te[1],le=(0,u.useState)(!1),se=le[0],ce=le[1],ue=(0,u.useState)(null),ae=ue[0],de=ue[1],he=(0,u.useState)(""),je=he[0],pe=he[1],xe=(0,u.useState)(""),Ze=xe[0],ge=xe[1],ye=(0,u.useState)(null),_e=ye[0],we=ye[1],Oe=(0,u.useMemo)((function(){return!(null==s||!s.name)}),[s]);(0,u.useEffect)((function(){var e,n;!_e&&(null!=s&&null!==(e=s.sync_config)&&void 0!==e&&e.repo_path||null!=A&&A.repo_path)&&we((null==s||null===(n=s.sync_config)||void 0===n?void 0:n.repo_path)||(null==A?void 0:A.repo_path))}),[s,A,_e]);var ke=(0,u.useMemo)((function(){var e,n;return null==_||null===(e=_.find((function(e){return e.name===l})))||void 0===e||null===(n=e.refs)||void 0===n?void 0:n.map((function(e){return{name:e.name.substring(l.length+1)}}))}),[l,_]),Ie=(0,a.Db)(y.ZP.syncs.useCreate(),{onSuccess:function(e){return(0,T.wD)(e,{callback:function(){b(),ce(!1)},onErrorCallback:function(e,n){return I({errors:n,response:e})}})}}),Me=(0,c.Z)(Ie,2),Se=Me[0],He=Me[1].isLoading,Ae=(0,a.Db)(y.ZP.git_custom_branches.useUpdate(encodeURIComponent(null==s?void 0:s.name)),{onSuccess:function(e){return(0,T.wD)(e,{callback:function(e){var n=e.git_custom_branch,t=n.error,r=n.progress;t?(G(t),ne(null)):(b(),B(null),G(null),J(null),ne(r))},onErrorCallback:function(e,n){return I({errors:n,response:e})}})}}),Ee=(0,c.Z)(Ae,2),Re=Ee[0],De=Ee[1].isLoading,Fe=(0,a.Db)(y.ZP.git_custom_branches.useUpdate(encodeURIComponent(null==s?void 0:s.name)),{onSuccess:function(e){return(0,T.wD)(e,{callback:function(){b(),pe(""),ge("")},onErrorCallback:function(e,n){return I({errors:n,response:e})}})}}),Be=(0,c.Z)(Fe,2),Ne=Be[0],Ue=Be[1].isLoading,Ve=(0,a.Db)(y.ZP.git_custom_branches.useUpdate(encodeURIComponent(null==s?void 0:s.name)),{onSuccess:function(e){return(0,T.wD)(e,{callback:function(){b(),de(null)},onErrorCallback:function(e,n){de(null),I({errors:n,response:e})}})}}),Te=(0,c.Z)(Ve,2),Le=Te[0],qe=Te[1].isLoading,Ge=(0,a.Db)(y.ZP.oauths.useCreate(),{onSuccess:function(e){return(0,T.wD)(e,{callback:function(){return window.location.href="".concat(null==M?void 0:M.basePath,"/version-control")},onErrorCallback:function(e,n){I({errors:n,response:e})}})}}),ze=(0,c.Z)(Ge,2),We=ze[0],Qe=ze[1].isLoading,Ke=(0,be.iV)()||{},Ye=Ke.access_token,Xe=Ke.provider,Je=Ke.refresh_token,$e=Ke.expires_in;(0,u.useEffect)((function(){Ye&&We({oauth:{expires_in:$e,provider:Xe||ve.h.GITHUB,refresh_token:Je,token:Ye}})}),[Ye,We,$e,Xe,Je]);var en=(0,u.useMemo)((function(){return null==_?void 0:_.map((function(e){var n=e.name,t=e.refs,r=e.urls;return(0,L.jsxs)(p.Z,{mt:U.Mq,children:[(0,L.jsx)(p.Z,{mb:1,children:(0,L.jsxs)(f.ZP,{alignItems:"center",justifyContent:"space-between",children:[(0,L.jsxs)(re.Z,{alignItems:"center",children:[(0,L.jsx)(v.ZP,{bold:!0,children:n}),(0,L.jsx)(p.Z,{mx:1,children:(0,L.jsx)(C.ChevronRight,{muted:!0})}),null==r?void 0:r.map((function(e){return(0,L.jsx)(p.Z,{mr:1,children:(0,L.jsx)(v.ZP,{default:!0,monospace:!0,small:!0,children:e})},e)}))]}),(0,L.jsx)(p.Z,{mr:1}),(0,L.jsx)(d.ZP,{compact:!0,disabled:qe&&ae!==n,iconOnly:!0,loading:qe&&ae===n,noBackground:!0,onClick:function(){"undefined"!=typeof location&&window.confirm("Are you sure you want to remove remote ".concat(n,"?"))&&(de(n),Le({git_custom_branch:{action_type:"remove_remote",action_payload:{name:n}}}).then((function(){l===n&&O(null)})))},small:!0,title:"Remote remote ".concat(n),children:(0,L.jsx)(C.Trash,{})})]})}),(0,L.jsx)(z.Z,{children:(0,L.jsxs)(W.Z,{noPaddingContent:!0,smallTitle:!0,title:"Refs (".concat(null==t?void 0:t.length,")"),children:[0===(null==t?void 0:t.length)&&(0,L.jsx)(p.Z,{p:U.cd,children:(0,L.jsx)(v.ZP,{muted:!0,children:"This remote has no refs."})}),(null==t?void 0:t.length)>=1&&(0,L.jsx)(K.Z,{columnFlex:[1,1,1],columns:[{uuid:"Ref"},{uuid:"Author"},{uuid:"Date"},{uuid:"Message"}],rows:t.map((function(e){var n,t=e.commit,r=e.name;return[(0,L.jsx)(v.ZP,{default:!0,monospace:!0,small:!0,children:r},"ref-name"),(0,L.jsx)(v.ZP,{default:!0,monospace:!0,small:!0,children:null==t||null===(n=t.author)||void 0===n?void 0:n.name},"author"),(0,L.jsx)(v.ZP,{default:!0,monospace:!0,small:!0,children:null==t?void 0:t.date},"date"),(0,L.jsx)(v.ZP,{default:!0,monospace:!0,small:!0,children:null==t?void 0:t.message},"message")]})),uuid:"git-branch-remotes-refs"})]})}),(0,L.jsx)(p.Z,{mt:U.Mq,children:(0,L.jsx)(h.Z,{light:!0})})]},n)}))}),[qe,ae,_,Le]);return(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)(p.Z,{mb:U.HN,children:[(0,L.jsx)(m.Z,{children:"Setup"}),(0,L.jsxs)(p.Z,{mt:U.Mq,children:[(0,L.jsxs)(p.Z,{mb:1,children:[(0,L.jsx)(v.ZP,{bold:!0,large:!0,children:Oe?"Git init directory":"Initialize Git directory"}),!Oe&&(0,L.jsxs)(v.ZP,{muted:!0,children:["Enter the directory you want to initialize git in.",(0,L.jsx)("br",{}),"The current project directoy is filled in for you. If you want to use that, click the save button."]}),Oe&&(0,L.jsxs)(v.ZP,{muted:!0,children:["If the directory below is blank, then the current working directory will be used to initialize git.",(0,L.jsx)("br",{}),"If git hasn’t been initialized in the directory below, Mage will automatically run git init for you."]})]}),(0,L.jsxs)(f.ZP,{alignItems:"center",children:[(0,L.jsx)(Z.Z,{disabled:Oe&&!se,fullWidth:!0,label:"Git directory",maxWidth:400,monospace:!0,onChange:function(e){return we(e.target.value)},ref:E,value:_e||""}),(0,L.jsx)(p.Z,{mr:1}),(!Oe||se)&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(d.ZP,{compact:!0,disabled:!Oe&&!_e,loading:He,onClick:function(){Se({sync:{repo_path:_e}})},primary:!0,small:!0,children:"Save"}),Oe&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(p.Z,{mr:1}),(0,L.jsx)(Q.Z,{onClick:function(){return ce(!1)},preventDefault:!0,sameColorAsText:!0,small:!0,children:"Cancel"})]})]}),Oe&&!se&&(0,L.jsx)(Q.Z,{onClick:function(){ce(!0),setTimeout((function(){var e;return null==E||null===(e=E.current)||void 0===e?void 0:e.focus()}),1)},preventDefault:!0,sameColorAsText:!0,small:!0,children:"Edit"})]})]})]}),(0,L.jsx)(p.Z,{mb:U.HN,children:(0,L.jsx)(Ce,{branch:s,isLoadingCreateOauth:Qe,showError:I})}),Oe&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)(p.Z,{mb:U.HN,children:[(0,L.jsxs)(m.Z,{children:["Remotes",!g&&_?" (".concat(null==_?void 0:_.length,")"):""]}),g&&(0,L.jsx)(p.Z,{mt:U.Mq,children:(0,L.jsx)(x.Z,{inverted:!0})}),!g&&en,(0,L.jsx)(p.Z,{mt:U.Mq,children:(0,L.jsxs)(f.ZP,{alignItems:"flex-start",children:[(0,L.jsx)(Z.Z,{label:"New remote name",monospace:!0,onChange:function(e){var n;return pe(null==e||null===(n=e.target)||void 0===n?void 0:n.value)},value:je||""}),(0,L.jsx)(p.Z,{mr:1}),(0,L.jsxs)(f.ZP,{flexDirection:"column",children:[(0,L.jsx)(Z.Z,{label:"Remote URL",monospace:!0,onChange:function(e){var n;return ge(null==e||null===(n=e.target)||void 0===n?void 0:n.value)},value:Ze||""}),(0,L.jsx)(p.Z,{mt:1,children:(0,L.jsxs)(v.ZP,{muted:!0,small:!0,children:["Use the https URL if you",(0,L.jsx)("br",{}),"authenticated with GitHub above."]})})]}),(0,L.jsx)(p.Z,{mr:1}),(0,L.jsx)(d.ZP,{beforeIcon:(0,L.jsx)(C.Add,{size:2*U.iI}),disabled:!je||!Ze,loading:Ue,onClick:function(){Ne({git_custom_branch:{action_type:"add_remote",action_payload:{name:je,url:Ze}}})},primary:!0,children:"Create new remote"})]})})]}),(0,L.jsxs)(p.Z,{mb:U.HN,children:[(0,L.jsx)(m.Z,{children:"Actions"}),(0,L.jsxs)(p.Z,{mt:U.Mq,children:[(0,L.jsxs)(p.Z,{mb:U.Mq,children:[(0,L.jsx)(p.Z,{mb:1,children:(0,L.jsx)(v.ZP,{bold:!0,muted:!0,children:"Current branch"})}),(null==s?void 0:s.name)&&(0,L.jsxs)(f.ZP,{alignItems:"center",children:[(0,L.jsx)(v.ZP,{monospace:!0,children:null==s?void 0:s.name}),(0,L.jsx)(p.Z,{mr:U.cd}),(0,L.jsx)(fe(),{href:"/version-control?tab=".concat(R.uuid),passHref:!0,children:(0,L.jsx)(Q.Z,{small:!0,children:"Switch branch"})})]})]}),(0,L.jsxs)(f.ZP,{children:[(0,L.jsxs)(j.Z,{onChange:function(e){return J(e.target.value)},placeholder:"Action",value:X||"",children:[(0,L.jsx)("option",{value:w,children:(0,V.vg)(w)}),(0,L.jsx)("option",{value:k,children:(0,V.vg)(k)}),(0,L.jsx)("option",{value:"reset",children:(0,V.vg)(S)}),(0,L.jsx)("option",{value:P,children:(0,V.vg)(P)})]}),(0,L.jsx)(p.Z,{mr:1}),(0,L.jsx)(j.Z,{beforeIcon:(0,L.jsx)(C.MultiShare,{}),beforeIconSize:1.5*U.iI,monospace:!0,onChange:function(e){return O(e.target.value)},placeholder:"Remote",value:l||"",children:null==_?void 0:_.map((function(e){var n=e.name;return(0,L.jsx)("option",{value:n,children:n},n)}))}),[k,S].includes(X)&&(0,L.jsx)(p.Z,{ml:1,children:(0,L.jsxs)(j.Z,{beforeIcon:(0,L.jsx)(C.Branch,{}),beforeIconSize:1.5*U.iI,monospace:!0,onChange:function(e){return B(e.target.value)},value:F||"",children:[(0,L.jsx)("option",{value:"",children:"All branches"}),null==ke?void 0:ke.map((function(e){var n=e.name;return(0,L.jsx)("option",{value:n,children:n},n)}))]})}),H[X]&&(0,L.jsx)(p.Z,{ml:1,children:(0,L.jsx)(j.Z,{label:"Additional argument",monospace:!0,onChange:function(e){return ie(e.target.value)},value:oe||"",children:null===(n=H[X])||void 0===n?void 0:n.map((function(e){return(0,L.jsx)("option",{value:e,children:(0,V.vg)(e)},e)}))})})]}),P===X&&(0,L.jsxs)(p.Z,{mt:U.cd,children:[(0,L.jsxs)(v.ZP,{muted:!0,small:!0,children:["Cloning a branch will copy all the files and folders from the remote repository and put them into the Git directory configured above:",(0,L.jsx)("br",{}),(0,L.jsx)(v.ZP,{default:!0,inline:!0,monospace:!0,small:!0,children:null==s||null===(t=s.sync_config)||void 0===t?void 0:t.repo_path}),"."]}),(0,L.jsx)(p.Z,{mt:1,children:(0,L.jsx)(v.ZP,{muted:!0,small:!0,children:"Cloning won’t automatically create a folder that is named after the remote repository."})}),(0,L.jsx)(p.Z,{mt:1,children:(0,L.jsxs)(v.ZP,{muted:!0,small:!0,children:["For example, if you have a file named ",(0,L.jsx)(v.ZP,{default:!0,inline:!0,monospace:!0,small:!0,children:"magic.py"})," in a remote repository named ",(0,L.jsx)(v.ZP,{default:!0,inline:!0,monospace:!0,small:!0,children:"project_romeo"}),(0,L.jsx)("br",{}),"then that file will be cloned here ",(0,L.jsxs)(v.ZP,{default:!0,inline:!0,monospace:!0,small:!0,children:[null==s||null===(r=s.sync_config)||void 0===r?void 0:r.repo_path,"/magic.py"]}),(0,L.jsx)("br",{}),"as opposed to ",(0,L.jsxs)(v.ZP,{default:!0,inline:!0,monospace:!0,small:!0,children:[null==s||null===(o=s.sync_config)||void 0===o?void 0:o.repo_path,"/project_romeo/magic.py"]}),"."]})}),(0,L.jsx)(p.Z,{mt:1,children:(0,L.jsxs)(v.ZP,{muted:!0,small:!0,children:["If you want to clone the content of a remote repository into a folder named after the remote repository, then change the Git init directoy above to",(0,L.jsx)("br",{}),(0,L.jsxs)(v.ZP,{default:!0,inline:!0,monospace:!0,small:!0,children:[null==s||null===(i=s.sync_config)||void 0===i?void 0:i.repo_path,"/",(0,L.jsx)(v.ZP,{inline:!0,monospace:!0,small:!0,children:"[remote repository name]"})]})]})})]}),(0,L.jsxs)(p.Z,{mt:U.cd,children:[(0,L.jsx)(d.ZP,{beforeIcon:(0,L.jsx)(C.Lightning,{size:2*U.iI}),disabled:!X||!l,loading:De,onClick:function(){ne(null),(X!==P||"undefined"!=typeof location&&window.confirm("Are you sure you want to clone remote ".concat(l,"? 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."))&&Re({git_custom_branch:{action_payload:{arg:oe,branch:F,remote:l},action_type:X}})},primary:!0,children:X?(0,V.vg)(X):"Execute action"}),(ee||q)&&(0,L.jsx)(p.Z,{mt:U.cd,children:(0,L.jsx)(v.ZP,{danger:!!q,default:!!ee,monospace:!0,preWrap:!0,children:ee||q})})]})]})]}),(0,L.jsxs)(p.Z,{mb:U.HN,children:[(0,L.jsx)(p.Z,{mb:U.HN,children:(0,L.jsx)(h.Z,{light:!0})}),(0,L.jsx)(f.ZP,{children:(0,L.jsxs)(d.ZP,{afterIcon:(0,L.jsx)(C.PaginateArrowRight,{}),linkProps:{href:"/version-control?tab=".concat(R.uuid)},noHoverUnderline:!0,sameColorAsText:!0,secondary:!0,children:["Next: ",R.uuid]})})]})]})]})},we=t(93528),Oe=t(98464),ke=t(46684),Ie=t(53005),Me=t(15610),Se=(t(17717),t(74401)),He=t(86735);function Ae(e,n){var t=(0,Se.a9)(e),r=Object.keys(n)||[];return null==r?void 0:r.find((function(e){return null==t?void 0:t.endsWith(e)}))}var Ee=t(23780);function Re(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 De(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Re(Object(t),!0).forEach((function(n){(0,s.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Re(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Fe="version_control/index",Be=30*U.iI;var Ne=function(){var e=(0,u.useRef)(null),n=(0,u.useRef)(null),t=(0,Ee.VI)(null,{},[],{uuid:"VersionControlPage"}),r=(0,c.Z)(t,1)[0],o=(0,u.useState)(!0),i=o[0],l=o[1],d=(0,u.useState)(Be),f=d[0],m=d[1],b="layout_before_".concat(Fe,"_width"),Z=(0,Ze.U2)(b,Be),C=(0,u.useState)(Z),P=C[0],_=C[1],w=(0,u.useState)({}),O=w[0],k=w[1],I=(0,u.useState)(null),M=I[0],S=I[1],H=(0,u.useState)(null),V=H[0],T=H[1],z=(0,u.useState)(N[0]),W=z[0],Q=z[1],K=(0,u.useState)({"All projects":{uuid:"All projects"},"Git directory":{uuid:"Git directory"}}),Y=K[0],X=K[1],J=(0,be.iV)();(0,u.useEffect)((function(){null!=J&&J.tab&&Q(N.find((function(e){return e.uuid===(null==J?void 0:J.tab)})))}),[J]);var te=y.ZP.git_custom_branches.list(),re=te.data,oe=te.mutate,ie=(0,u.useMemo)((function(){return null==re?void 0:re.git_custom_branches}),[re]);(0,u.useEffect)((function(){var e,n;!M&&(null==ie?void 0:ie.length)>=1&&null!==(e=ie[0])&&void 0!==e&&e.name&&S(null===(n=ie[0])||void 0===n?void 0:n.name)}),[M,ie]);var se=y.ZP.git_custom_branches.detail("current",{_format:"with_files"}),ce=se.data,ue=se.mutate,he=(0,u.useMemo)((function(){return(null==ce?void 0:ce.git_custom_branch)||{}}),[ce]),fe=(0,u.useMemo)((function(){return(null==he?void 0:he.files)||[]}),[he]),me=y.ZP.git_custom_branches.detail("with_remotes",{_format:"with_remotes"}),je=me.data,pe=me.mutate,xe=(0,u.useMemo)((function(){return null==je?void 0:je.git_custom_branch}),[je]),ve=(0,u.useMemo)((function(){return(null==xe?void 0:xe.remotes)||[]}),[xe]),ge=(0,u.useState)(null),ye=ge[0],Ce=ge[1],Pe=(0,u.useCallback)((function(e){(0,Ze.t8)(A,e),Ce(e)}),[]);(0,u.useEffect)((function(){var e=(0,Ze.U2)(A,null);if(je&&e){var n=null==ve?void 0:ve.find((function(n){return n.name===e}));Pe(n?null==n?void 0:n.name:null)}}),[je,ve,Pe]);var Se=(0,u.useState)((0,Ze.U2)(E,"")),Re=Se[0],Ne=Se[1],Ue=(0,u.useCallback)((function(e){(0,Ze.t8)(E,e),Ne(e)}),[]),Ve=(0,u.useMemo)((function(){return(0,He.Tw)(ve.reduce((function(e,n){var t;return e.concat((null==n||null===(t=n.repository_names)||void 0===t?void 0:t.map((function(e){var t;return{name:e,url:null==n||null===(t=n.urls)||void 0===t?void 0:t[0]}})))||[])}),[]),(function(e){return e.name}))}),[ve]);(0,u.useEffect)((function(){var e=(0,Ze.U2)(E,null);if(je&&e){var n=null==Ve?void 0:Ve.find((function(n){return n.name===e}));Ue(n?null==n?void 0:n.name:null)}}),[je,Ve,Ue]);var Te=y.ZP.git_files.detail(V?encodeURIComponent(V):null,{base_branch:M}),Le=Te.data,qe=Te.mutate,Ge=(0,u.useMemo)((function(){return null==Le?void 0:Le.git_file}),[Le]),ze=(0,Oe.Z)(Ge);(0,u.useEffect)((function(){if(Ge!==ze){var e,n=null==he||null===(e=he.files_absolute_path)||void 0===e?void 0:e[V];k((function(e){var t;return De(De({},e),{},(0,s.Z)({},n,De(De({},Ge),{},{fullPath:n,relativePath:V,repoPath:null==he||null===(t=he.sync_config)||void 0===t?void 0:t.repo_path})))}))}}),[he,Ge,ze]),(0,u.useEffect)((function(){M&&qe()}),[M,qe]),(0,u.useEffect)((function(){null!=Le&&Le.error&&r({errors:null==Le?void 0:Le.error,response:Le})}),[Le,r]);var We=(0,u.useMemo)((function(){var e,n,t;return{modifiedFiles:null==he||null===(e=he.modified_files)||void 0===e?void 0:e.reduce((function(e,n){return De(De({},e),{},(0,s.Z)({},n,!0))}),{}),stagedFiles:null==he||null===(n=he.staged_files)||void 0===n?void 0:n.reduce((function(e,n){return De(De({},e),{},(0,s.Z)({},n,!0))}),{}),untrackedFiles:null==he||null===(t=he.untracked_files)||void 0===t?void 0:t.reduce((function(e,n){return De(De({},e),{},(0,s.Z)({},n,!0))}),{})}}),[he]),Qe=We.modifiedFiles,Ke=void 0===Qe?{}:Qe,Ye=We.stagedFiles,Xe=void 0===Ye?{}:Ye,Je=We.untrackedFiles,$e=void 0===Je?{}:Je;(0,u.useEffect)((function(){V&&(0,le.Qr)(Ke)&&(0,le.Qr)(Xe)&&(0,le.Qr)($e)&&T(null)}),[Ke,V,Xe,$e]);var en=(0,u.useMemo)((function(){return(null==fe?void 0:fe.length)>=1?(0,L.jsx)(ne.Z,{allowEmptyFolders:!0,disableContextMenu:!0,fetchFiles:ue,files:fe,isFileDisabled:function(){return!1},onClickFile:function(e,t){T((function(t){if(!t||t!==e){var r;if(!M)null==n||null===(r=n.current)||void 0===r||r.focus();return e}return null})),qe()},ref:e,renderAfterContent:function(e){var n,t,r=e.children,o=(null==r?void 0:r.length)>=1,i=(0,Ie.a9)(e);o&&(i="".concat(i,"/"));var l={};return Ae(e,Ke)?(n="M",t="Modified",l.warning=!0):Ae(e,$e)?(n="U",t="Untracked",l.danger=!0):Ae(e,Xe)&&(n="S",t="Staged",l.success=!0),o&&!n?null:(0,L.jsx)(p.Z,{mx:1,children:(0,L.jsx)(g.Z,{appearBefore:!0,label:t,widthFitContent:!0,children:(0,L.jsx)(v.ZP,De(De({},l),{},{monospace:!0,rightAligned:!0,small:!0,children:n}))})})},useRootFolder:!0,uuid:"pages/VersionControl"}):(0,L.jsx)(p.Z,{p:U.cd,children:(0,L.jsx)(v.ZP,{monospace:!0,muted:!0,children:"No files modified"})})}),[M,ue,qe,e,fe,Ke,n,T,Xe,$e]),nn=((0,u.useMemo)((function(){return!Le||!Ge||V&&(null==Ge?void 0:Ge.filename)!==V}),[Le,Ge,V]),(0,u.useMemo)((function(){return ce&&null!=he&&he.name?N:N.slice(0,1)}),[he,ce])),tn=(0,u.useMemo)((function(){return(0,L.jsxs)("div",{style:{marginTop:5},children:[(0,L.jsx)(G.Z,{onClickTab:function(e){var n=e.uuid;(0,Me.u)({tab:n})},selectedTabUUID:null==W?void 0:W.uuid,tabs:nn,underlineStyle:!0}),(0,L.jsx)(h.Z,{light:!0})]})}),[W,nn]),rn=(0,u.useMemo)((function(){return(0,L.jsx)(_e,{actionRemoteName:ye,branch:he,fetchBranch:function(){ue(),pe()},loading:!je,remotes:ve,setActionRemoteName:Pe,showError:r})}),[ye,he,je,ue,pe,ve,Pe,r]),on=(0,u.useMemo)((function(){return(0,L.jsx)(q,{actionRemoteName:ye,branch:he,branches:ie,fetchBranch:ue,fetchBranches:oe,remotes:ve,setActionRemoteName:Pe,showError:r})}),[ye,he,ie,ue,oe,ve,Pe,r]),ln=(0,u.useMemo)((function(){return(0,L.jsx)(ae,{branch:he,fetchBranch:ue,modifiedFiles:Ke,setSelectedFilePath:T,showError:r,stagedFiles:Xe,untrackedFiles:$e})}),[he,ue,Ke,T,r,Xe,$e]),sn=(0,u.useMemo)((function(){return(0,L.jsx)($,{actionRemoteName:ye,branch:he,branches:ie,fetchBranch:ue,loading:!je,modifiedFiles:Ke,remotes:ve,repositories:Ve,repositoryName:Re,setActionRemoteName:Pe,setRepositoryName:Ue,showError:r,stagedFiles:Xe})}),[ye,he,ie,je,ue,Ke,ve,Ve,Re,Pe,Ue,r,Xe]),cn=(0,u.useMemo)((function(){return(0,L.jsx)(G.Z,{allowScroll:!0,onClickTab:function(e){X((function(n){return De(De({},(0,le.gR)(n,[null==e?void 0:e.uuid])),null!=n&&n[null==e?void 0:e.uuid]?{}:(0,s.Z)({},null==e?void 0:e.uuid,e))}))},selectedTabUUIDs:Y,tabs:[{uuid:"All projects"},{uuid:"Git directory"}],underlineStyle:!0})}),[Y]),un=(0,u.useCallback)((function(){qe()}),[qe]),an=(0,u.useCallback)((function(){ue()}),[ue]),dn=(0,u.useMemo)((function(){var e;if(V)return null==he||null===(e=he.files_absolute_path)||void 0===e?void 0:e[V]}),[he,V]),hn=(0,u.useCallback)((function(e){k((function(n){return(0,le.gR)(n,[e])}))}),[]),fn=(0,we.ZP)({codeEditorMaximumHeightOffset:2*ke.Mz+10,onClickTabClose:hn,onCreateFile:an,onUpdateFileSuccess:un,originalContent:O,selectedFilePath:dn,showHiddenFilesSetting:!0,uuid:"pages/VersionControlPage"}),mn=fn.browser,jn=fn.controller,pn=fn.filePaths,xn=(fn.menu,fn.selectedFilePath),vn=fn.tabs,bn=(0,a.Db)((function(e){var n=e.filePath,t=e.query;return y.ZP.git_files.detailAsync(encodeURIComponent(n),t)})),Zn=(0,c.Z)(bn,2),gn=Zn[0];Zn[1].isLoading,(0,u.useEffect)((function(){xn&&gn({filePath:xn,query:{base_branch:M,derive:!0}}).then((function(e){return k((function(n){var t;return De(De({},n),{},(0,s.Z)({},xn,null==e||null===(t=e.data)||void 0===t?void 0:t.git_file))}))}))}),[xn]),(0,u.useEffect)((function(){(null==pn?void 0:pn.length)>=1&&l(!1)}),[pn]);var yn=(0,u.useMemo)((function(){var e=[];return"All projects"in Y&&e.push([{render:function(e){var n=e.columnWidth;return(0,L.jsx)("div",{style:{width:"".concat(n,"px")},children:mn})}}]),"Git directory"in Y&&e.push([{render:function(){return(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(p.Z,{p:1,children:(0,L.jsx)(j.Z,{compact:!0,label:"Base branch",onChange:function(e){return S(e.target.value)},ref:n,small:!0,value:M||"",children:null==ie?void 0:ie.map((function(e){var n=e.name;return(0,L.jsx)("option",{value:n,children:n},n)}))})}),en]})}}]),(0,L.jsx)(de.Z,{columnsOfItems:e,fullHeight:!0,heightOffset:2*ke.Mz,uuid:"version-control-all-modified-files",width:P})}),[M,ie,mn,P,en,Y]);return(0,L.jsx)(ee.Z,{after:jn,afterHeader:vn,afterHidden:i,afterWidth:f,before:yn,beforeHeader:cn,beforeWidth:P,mainContainerHeader:tn,setAfterHidden:l,setAfterWidth:m,setBeforeWidth:_,title:"Version control",uuid:Fe,children:(0,L.jsxs)(p.Z,{p:U.cd,children:[!ce&&(0,L.jsx)(x.Z,{inverted:!0}),ce&&(0,L.jsxs)(L.Fragment,{children:[B.uuid===(null==W?void 0:W.uuid)&&rn,R.uuid===(null==W?void 0:W.uuid)&&on,D.uuid===(null==W?void 0:W.uuid)&&ln,F.uuid===(null==W?void 0:W.uuid)&&sn]})]})})};function Ue(){return(0,L.jsx)(Ne,{})}Ue.getInitialProps=(0,r.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 Ve=(0,l.Z)(Ue)},75302:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/version-control",function(){return t(37520)}])},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 o}});var r=t(61049);function o(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 i}});var r=t(12539),o=t(80022);function i(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,o.Z)(e)}}},function(e){e.O(0,[449,9774,2888,179],(function(){return n=75302,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
@@ -1 +1 @@
1
- !function(){"use strict";var e,f,c,a,d,t,b,n,r={},o={};function i(e){var f=o[e];if(void 0!==f)return f.exports;var c=o[e]={id:e,loaded:!1,exports:{}},a=!0;try{r[e].call(c.exports,c,c.exports,i),a=!1}finally{a&&delete o[e]}return c.loaded=!0,c.exports}i.m=r,i.amdO={},e=[],i.O=function(f,c,a,d){if(!c){var t=1/0;for(o=0;o<e.length;o++){c=e[o][0],a=e[o][1],d=e[o][2];for(var b=!0,n=0;n<c.length;n++)(!1&d||t>=d)&&Object.keys(i.O).every((function(e){return i.O[e](c[n])}))?c.splice(n--,1):(b=!1,d<t&&(t=d));if(b){e.splice(o--,1);var r=a();void 0!==r&&(f=r)}}return f}d=d||0;for(var o=e.length;o>0&&e[o-1][2]>d;o--)e[o]=e[o-1];e[o]=[c,a,d]},i.n=function(e){var f=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(f,{a:f}),f},c=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},i.t=function(e,a){if(1&a&&(e=this(e)),8&a)return e;if("object"==typeof e&&e){if(4&a&&e.__esModule)return e;if(16&a&&"function"==typeof e.then)return e}var d=Object.create(null);i.r(d);var t={};f=f||[null,c({}),c([]),c(c)];for(var b=2&a&&e;"object"==typeof b&&!~f.indexOf(b);b=c(b))Object.getOwnPropertyNames(b).forEach((function(f){t[f]=function(){return e[f]}}));return t.default=function(){return e},i.d(d,t),d},i.d=function(e,f){for(var c in f)i.o(f,c)&&!i.o(e,c)&&Object.defineProperty(e,c,{enumerable:!0,get:f[c]})},i.f={},i.e=function(e){return Promise.all(Object.keys(i.f).reduce((function(f,c){return i.f[c](e,f),f}),[]))},i.u=function(e){return 9580===e?"static/chunks/9580-29d3a9839aec37a6.js":"static/chunks/"+({1599:"960de000",5573:"407ed829",5725:"c21aa0e9",5987:"72fdc299",6342:"5c0b189e",8009:"3c0f772d"}[e]||e)+"."+{52:"f85240ece214e16f",69:"9c8a9e0438483c9d",261:"0a24b4ece1d29aa1",266:"e301071d22592682",413:"7db119c191a5dd77",440:"3ab77942f659ea0c",739:"3d24945544b37e52",761:"d6bf7d3dd94a9236",792:"010ca00d79b2112f",797:"5802a33c17705e16",811:"8c9f9e7e0d1d4984",826:"75268ee34f93393a",964:"5c4c330861bee05c",1004:"a4db096bf00e5748",1040:"5ce2658611163884",1073:"3a009445e6f6efe0",1116:"8524c9223e5b5d9c",1150:"1378afaa474df64a",1235:"08afcba47315ab36",1240:"0819f45820d22263",1353:"3a6069eaacb21cf1",1450:"d383f64c169d4278",1599:"78974a9bd172ef53",1611:"a350e67704f570c8",1793:"92253d9ee5bda191",1869:"b0ae03a72e35d490",1949:"d669769f77d3d635",2155:"1fbb079e2a3e6541",2241:"7094ad0679c201e6",2243:"349a04761a3c7f47",2359:"ce45a80a4244fbd7",2417:"0122496cf206e259",2424:"ed7ee39f39fd71d1",2481:"0454a0e25dc7e027",2508:"724531e7f9cf5f36",2526:"ca9f099cac03a2ae",2545:"8371b39c898ae92b",2565:"c4d3e8cac68b9339",2577:"ba2edf9de7841595",2706:"77a56d40a3983b70",2730:"788c4e2eb5e273e1",2763:"fbae423361cdb074",2791:"a75d99554bba9368",2937:"45aa1e67e0751fde",2963:"cfd556961b02a3c0",3055:"c50b65da0efda4e8",3140:"c913f44a9d366368",3258:"2efdd06acfe6a260",3279:"a448389d0e8663c7",3453:"992f4b1667e9882c",3467:"38cd0654ba6f788f",3528:"ff9a1851b72c666f",3568:"2846268cea131344",3710:"24f68528dff47f35",3779:"2cc4c0b22aff542e",3793:"ca4e8b4bf56ee30d",3835:"df296b4e4078e985",3860:"2a79d6f1f5b5e602",3898:"880191695bb05845",4042:"5e16d36209052351",4070:"7061735c4fc7170a",4071:"7783e5303ba6a59c",4092:"536ee541241f4538",4152:"6efdcb7d59036344",4184:"89da165e55afb869",4199:"36bcc460e38d9fee",4255:"b4ed73822bd608fd",4261:"d74157a140111d66",4388:"04098706f32e69e7",4426:"ebbd30b486d29ed3",4450:"79f14f763d55c63e",4454:"13a2404adecaa39e",4478:"1eafc50141421dcc",4487:"0465f09dc04c8008",4541:"ffd561a6902db77e",4640:"eeead6d972644382",4659:"4b5f52cb70706ed9",4776:"753ad29fa0a29a4a",4809:"8ef70645642ce03b",4845:"3300e6c6ecb1da54",4851:"28a474ddb513e04a",4868:"725ec2da9b32edcb",4883:"a5bb0edbf8f3cc8f",5008:"29c2662ecc2b04c7",5047:"0b74c49215f463c8",5085:"6ceddbb9de39ac44",5100:"b85809e3c59ff305",5104:"1edcf4437c471dd4",5164:"857023e800905b6f",5496:"a8278e7c1084cea3",5503:"0b37f0eb71494262",5573:"8821d8c11658cf30",5626:"d73dba7360d50331",5654:"e648ab0e683d2cea",5714:"c56248a8405e5aa2",5725:"77f5b515f9c77867",5729:"0f2748e9e6dab951",5824:"628653557e904674",5855:"94633f5eef882f3b",5856:"cf102af1308536b7",5987:"18e83e06e3395a2f",6023:"43a9147a8746404e",6042:"c59010de9e699437",6096:"0dec070f7ab2781c",6107:"c00a5779515df014",6115:"0c85e507543394ea",6116:"871a682ddf535aca",6176:"157a3f898caca121",6201:"83dfaa88eaa485fd",6331:"0a0118ade10c69c2",6342:"4b9c326460aea3ac",6429:"abc656034f05f4ea",6434:"10380ee0968636ba",6443:"7b6d2b4e51018184",6507:"d3a17777d2c294e6",6589:"5853090653d3d530",6917:"c27b4d4ba8f07e0f",6958:"8f39c585d36737a7",7017:"9645e2622671ec09",7018:"7e1d114a155e1aa9",7068:"11e83e2c356085f4",7157:"f2b4d704a587e37e",7187:"b89e777470660b43",7231:"8560b61813359c9e",7272:"a9ef6c9714c383c4",7339:"51f0589b074dd624",7365:"13008c213f0ed4bc",7395:"25bd26b96823407c",7481:"c798152b12aab5b5",7559:"0ff02078c985f9a7",7568:"b543d272b8f1ba5a",7597:"bfb714a071f69233",7682:"a7f192e7f7048fe9",7725:"674cc866d65c26b9",7947:"77be4bec4d47774e",7951:"fee8b6c27c9ef777",7994:"6e41d2714310913e",8009:"3148f1b388e7eacd",8018:"968bf87c390e3312",8031:"7922971f690648e6",8097:"b0345f30a7390c1d",8179:"92e7a1f065ef8fde",8256:"290ceb269b1ffe26",8277:"5003e1d94bb85156",8305:"9e8c86c91f57e703",8313:"63fe89f46b5df1a3",8347:"e98494e7000bcac2",8439:"961d3314c4ef83a2",8613:"22d943ce8bc487ab",8630:"cfb422db89f3435e",8693:"e60ab60e50fdc71e",8762:"dff300f86bef8573",8807:"a68c69c8fe0a8c01",8826:"986f0ea3b82f033c",8834:"2c9736273be09191",8849:"db0d50b4d84b09a6",8864:"7850fff7eb0aacd7",8901:"21d26d5a1ee473fe",8920:"5700e380a2999098",8921:"8948fb1d14fa5d4a",9006:"76e325e4daeb96bf",9138:"222694f07e9cdef0",9196:"37096574fca1172e",9307:"d4baf7aebbcef1f0",9313:"ff7f9647f7fb61b5",9324:"268b9945d51abd6b",9335:"a0e97ac11eaf595a",9361:"a0820e3069f5ef74",9363:"6b811b4c86277e07",9392:"2c6c3946d6ac33c2",9433:"357034a81523cb26",9437:"a3c32f45cf9ef69b",9539:"964eb50deb1bc7f9",9566:"f8bd24768ed14ecb",9633:"40e5056ca1e2b22a",9669:"719f20218b9376ab",9785:"5ff26cb26d84d6a1",9799:"7c7f37eeca8649cd",9809:"49b6e2693f8f8c2e",9855:"c4394a68322be9f8",9856:"628a2846f81fdd56",9893:"ce9e4f537f1bbd1f",9927:"e82a3e1e21990d77",9969:"3730be18a28ba458"}[e]+".js"},i.miniCssF=function(e){return"static/css/"+{1611:"6de3cf9e4bed9aa1",2730:"2a5603bd3b217070",2888:"18782af6d2c4e826",4845:"f4a98ab2f1d50f04",5503:"ab28aa164f43cb7c",5855:"93632f5b9a6a7493",7365:"77f60b2a73467516",8826:"9754555763f038b5",9856:"2a5603bd3b217070"}[e]+".css"},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=function(e,f){return Object.prototype.hasOwnProperty.call(e,f)},a={},d="_N_E:",i.l=function(e,f,c,t){if(a[e])a[e].push(f);else{var b,n;if(void 0!==c)for(var r=document.getElementsByTagName("script"),o=0;o<r.length;o++){var u=r[o];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==d+c){b=u;break}}b||(n=!0,(b=document.createElement("script")).charset="utf-8",b.timeout=120,i.nc&&b.setAttribute("nonce",i.nc),b.setAttribute("data-webpack",d+c),b.src=i.tu(e)),a[e]=[f];var l=function(f,c){b.onerror=b.onload=null,clearTimeout(s);var d=a[e];if(delete a[e],b.parentNode&&b.parentNode.removeChild(b),d&&d.forEach((function(e){return e(c)})),f)return f(c)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:b}),12e4);b.onerror=l.bind(null,b.onerror),b.onload=l.bind(null,b.onload),n&&document.head.appendChild(b)}},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},i.U=function(e){var f=new URL(e,"x:/"),c={};for(var a in f)c[a]=f[a];for(var a in c.href=e,c.pathname=e.replace(/[?#].*/,""),c.origin=c.protocol="",c.toString=c.toJSON=function(){return e},c)Object.defineProperty(this,a,{enumerable:!0,configurable:!0,value:c[a]})},i.U.prototype=URL.prototype,i.tt=function(){return void 0===t&&(t={createScriptURL:function(e){return e}},"undefined"!=typeof trustedTypes&&trustedTypes.createPolicy&&(t=trustedTypes.createPolicy("nextjs#bundler",t))),t},i.tu=function(e){return i.tt().createScriptURL(e)},i.p="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_//_next/",b=function(e){return new Promise((function(f,c){var a=i.miniCssF(e),d=i.p+a;if(function(e,f){for(var c=document.getElementsByTagName("link"),a=0;a<c.length;a++){var d=(b=c[a]).getAttribute("data-href")||b.getAttribute("href");if("stylesheet"===b.rel&&(d===e||d===f))return b}var t=document.getElementsByTagName("style");for(a=0;a<t.length;a++){var b;if((d=(b=t[a]).getAttribute("data-href"))===e||d===f)return b}}(a,d))return f();!function(e,f,c,a){var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onerror=d.onload=function(t){if(d.onerror=d.onload=null,"load"===t.type)c();else{var b=t&&("load"===t.type?"missing":t.type),n=t&&t.target&&t.target.href||f,r=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");r.code="CSS_CHUNK_LOAD_FAILED",r.type=b,r.request=n,d.parentNode.removeChild(d),a(r)}},d.href=f,document.head.appendChild(d)}(e,d,f,c)}))},n={2272:0},i.f.miniCss=function(e,f){n[e]?f.push(n[e]):0!==n[e]&&{1611:1,2730:1,4845:1,5503:1,5855:1,7365:1,8826:1,9856:1}[e]&&f.push(n[e]=b(e).then((function(){n[e]=0}),(function(f){throw delete n[e],f})))},function(){i.b=document.baseURI||self.location.href;var e={2272:0};i.f.j=function(f,c){var a=i.o(e,f)?e[f]:void 0;if(0!==a)if(a)c.push(a[2]);else if(2272!=f){var d=new Promise((function(c,d){a=e[f]=[c,d]}));c.push(a[2]=d);var t=i.p+i.u(f),b=new Error;i.l(t,(function(c){if(i.o(e,f)&&(0!==(a=e[f])&&(e[f]=void 0),a)){var d=c&&("load"===c.type?"missing":c.type),t=c&&c.target&&c.target.src;b.message="Loading chunk "+f+" failed.\n("+d+": "+t+")",b.name="ChunkLoadError",b.type=d,b.request=t,a[1](b)}}),"chunk-"+f,f)}else e[f]=0},i.O.j=function(f){return 0===e[f]};var f=function(f,c){var a,d,t=c[0],b=c[1],n=c[2],r=0;if(t.some((function(f){return 0!==e[f]}))){for(a in b)i.o(b,a)&&(i.m[a]=b[a]);if(n)var o=n(i)}for(f&&f(c);r<t.length;r++)d=t[r],i.o(e,d)&&e[d]&&e[d][0](),e[d]=0;return i.O(o)},c=self.webpackChunk_N_E=self.webpackChunk_N_E||[];c.forEach(f.bind(null,0)),c.push=f.bind(null,c.push.bind(c))}(),i.nc=void 0}();
1
+ !function(){"use strict";var e,f,a,c,d,t,b,n,r={},o={};function i(e){var f=o[e];if(void 0!==f)return f.exports;var a=o[e]={id:e,loaded:!1,exports:{}},c=!0;try{r[e].call(a.exports,a,a.exports,i),c=!1}finally{c&&delete o[e]}return a.loaded=!0,a.exports}i.m=r,i.amdO={},e=[],i.O=function(f,a,c,d){if(!a){var t=1/0;for(o=0;o<e.length;o++){a=e[o][0],c=e[o][1],d=e[o][2];for(var b=!0,n=0;n<a.length;n++)(!1&d||t>=d)&&Object.keys(i.O).every((function(e){return i.O[e](a[n])}))?a.splice(n--,1):(b=!1,d<t&&(t=d));if(b){e.splice(o--,1);var r=c();void 0!==r&&(f=r)}}return f}d=d||0;for(var o=e.length;o>0&&e[o-1][2]>d;o--)e[o]=e[o-1];e[o]=[a,c,d]},i.n=function(e){var f=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(f,{a:f}),f},a=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},i.t=function(e,c){if(1&c&&(e=this(e)),8&c)return e;if("object"==typeof e&&e){if(4&c&&e.__esModule)return e;if(16&c&&"function"==typeof e.then)return e}var d=Object.create(null);i.r(d);var t={};f=f||[null,a({}),a([]),a(a)];for(var b=2&c&&e;"object"==typeof b&&!~f.indexOf(b);b=a(b))Object.getOwnPropertyNames(b).forEach((function(f){t[f]=function(){return e[f]}}));return t.default=function(){return e},i.d(d,t),d},i.d=function(e,f){for(var a in f)i.o(f,a)&&!i.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:f[a]})},i.f={},i.e=function(e){return Promise.all(Object.keys(i.f).reduce((function(f,a){return i.f[a](e,f),f}),[]))},i.u=function(e){return 9580===e?"static/chunks/9580-29d3a9839aec37a6.js":"static/chunks/"+({1599:"960de000",5573:"407ed829",5725:"c21aa0e9",5987:"72fdc299",6342:"5c0b189e",8009:"3c0f772d"}[e]||e)+"."+{52:"f85240ece214e16f",69:"9c8a9e0438483c9d",261:"0a24b4ece1d29aa1",266:"e301071d22592682",413:"7db119c191a5dd77",440:"3ab77942f659ea0c",739:"3d24945544b37e52",761:"d6bf7d3dd94a9236",792:"010ca00d79b2112f",797:"5802a33c17705e16",811:"8c9f9e7e0d1d4984",826:"75268ee34f93393a",964:"5c4c330861bee05c",1004:"a4db096bf00e5748",1040:"5ce2658611163884",1073:"3a009445e6f6efe0",1116:"8524c9223e5b5d9c",1150:"1378afaa474df64a",1235:"08afcba47315ab36",1240:"0819f45820d22263",1353:"3a6069eaacb21cf1",1450:"d383f64c169d4278",1599:"78974a9bd172ef53",1611:"a350e67704f570c8",1793:"92253d9ee5bda191",1869:"b0ae03a72e35d490",1949:"d669769f77d3d635",2155:"1fbb079e2a3e6541",2241:"7094ad0679c201e6",2243:"349a04761a3c7f47",2359:"ce45a80a4244fbd7",2417:"0122496cf206e259",2424:"ed7ee39f39fd71d1",2481:"0454a0e25dc7e027",2508:"724531e7f9cf5f36",2526:"ca9f099cac03a2ae",2545:"8371b39c898ae92b",2565:"c4d3e8cac68b9339",2577:"ba2edf9de7841595",2706:"77a56d40a3983b70",2730:"788c4e2eb5e273e1",2763:"fbae423361cdb074",2791:"a75d99554bba9368",2937:"45aa1e67e0751fde",2963:"cfd556961b02a3c0",3055:"c50b65da0efda4e8",3140:"c913f44a9d366368",3258:"2efdd06acfe6a260",3279:"a448389d0e8663c7",3453:"992f4b1667e9882c",3467:"38cd0654ba6f788f",3528:"ff9a1851b72c666f",3568:"2846268cea131344",3710:"24f68528dff47f35",3779:"2cc4c0b22aff542e",3793:"ca4e8b4bf56ee30d",3835:"df296b4e4078e985",3860:"2a79d6f1f5b5e602",3898:"880191695bb05845",4042:"5e16d36209052351",4070:"7061735c4fc7170a",4071:"7783e5303ba6a59c",4092:"536ee541241f4538",4152:"6efdcb7d59036344",4184:"89da165e55afb869",4199:"36bcc460e38d9fee",4255:"b4ed73822bd608fd",4261:"d74157a140111d66",4388:"04098706f32e69e7",4426:"ebbd30b486d29ed3",4450:"79f14f763d55c63e",4454:"13a2404adecaa39e",4478:"1eafc50141421dcc",4487:"0465f09dc04c8008",4541:"ffd561a6902db77e",4640:"eeead6d972644382",4659:"4b5f52cb70706ed9",4776:"753ad29fa0a29a4a",4809:"8ef70645642ce03b",4845:"3300e6c6ecb1da54",4851:"28a474ddb513e04a",4868:"725ec2da9b32edcb",4883:"a5bb0edbf8f3cc8f",5008:"29c2662ecc2b04c7",5047:"0b74c49215f463c8",5085:"6ceddbb9de39ac44",5100:"b85809e3c59ff305",5104:"1edcf4437c471dd4",5164:"857023e800905b6f",5496:"a8278e7c1084cea3",5503:"0b37f0eb71494262",5573:"8821d8c11658cf30",5626:"d73dba7360d50331",5654:"e648ab0e683d2cea",5714:"c56248a8405e5aa2",5725:"77f5b515f9c77867",5729:"0f2748e9e6dab951",5824:"628653557e904674",5855:"94633f5eef882f3b",5856:"cf102af1308536b7",5987:"18e83e06e3395a2f",6023:"43a9147a8746404e",6042:"c59010de9e699437",6096:"0dec070f7ab2781c",6107:"c00a5779515df014",6115:"0c85e507543394ea",6116:"871a682ddf535aca",6176:"157a3f898caca121",6201:"83dfaa88eaa485fd",6331:"0a0118ade10c69c2",6342:"4b9c326460aea3ac",6429:"abc656034f05f4ea",6434:"10380ee0968636ba",6443:"7b6d2b4e51018184",6507:"d3a17777d2c294e6",6589:"5853090653d3d530",6917:"c27b4d4ba8f07e0f",6958:"8f39c585d36737a7",7017:"9645e2622671ec09",7018:"7e1d114a155e1aa9",7068:"11e83e2c356085f4",7157:"f2b4d704a587e37e",7187:"b89e777470660b43",7231:"8560b61813359c9e",7272:"a9ef6c9714c383c4",7339:"51f0589b074dd624",7365:"13008c213f0ed4bc",7395:"25bd26b96823407c",7481:"c798152b12aab5b5",7559:"0ff02078c985f9a7",7568:"b543d272b8f1ba5a",7597:"bfb714a071f69233",7682:"a7f192e7f7048fe9",7725:"674cc866d65c26b9",7947:"77be4bec4d47774e",7951:"fee8b6c27c9ef777",7994:"6e41d2714310913e",8009:"3148f1b388e7eacd",8018:"968bf87c390e3312",8031:"7922971f690648e6",8097:"b0345f30a7390c1d",8179:"92e7a1f065ef8fde",8256:"290ceb269b1ffe26",8277:"5003e1d94bb85156",8305:"9e8c86c91f57e703",8313:"63fe89f46b5df1a3",8347:"e98494e7000bcac2",8439:"961d3314c4ef83a2",8613:"22d943ce8bc487ab",8630:"cfb422db89f3435e",8693:"e60ab60e50fdc71e",8762:"dff300f86bef8573",8807:"a68c69c8fe0a8c01",8826:"986f0ea3b82f033c",8834:"2c9736273be09191",8849:"db0d50b4d84b09a6",8864:"7850fff7eb0aacd7",8901:"21d26d5a1ee473fe",8920:"5700e380a2999098",8921:"8948fb1d14fa5d4a",9006:"76e325e4daeb96bf",9138:"222694f07e9cdef0",9196:"37096574fca1172e",9307:"d4baf7aebbcef1f0",9313:"ff7f9647f7fb61b5",9324:"268b9945d51abd6b",9335:"a0e97ac11eaf595a",9361:"a0820e3069f5ef74",9363:"6b811b4c86277e07",9392:"2c6c3946d6ac33c2",9433:"357034a81523cb26",9437:"a3c32f45cf9ef69b",9539:"964eb50deb1bc7f9",9566:"f8bd24768ed14ecb",9633:"40e5056ca1e2b22a",9669:"719f20218b9376ab",9785:"5ff26cb26d84d6a1",9799:"7c7f37eeca8649cd",9809:"49b6e2693f8f8c2e",9855:"c4394a68322be9f8",9856:"628a2846f81fdd56",9893:"ce9e4f537f1bbd1f",9927:"e82a3e1e21990d77",9969:"3730be18a28ba458"}[e]+".js"},i.miniCssF=function(e){return"static/css/"+{1611:"6de3cf9e4bed9aa1",2730:"2a5603bd3b217070",2888:"18782af6d2c4e826",4845:"f4a98ab2f1d50f04",5503:"ab28aa164f43cb7c",5855:"93632f5b9a6a7493",7365:"77f60b2a73467516",8826:"9754555763f038b5",9856:"2a5603bd3b217070"}[e]+".css"},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=function(e,f){return Object.prototype.hasOwnProperty.call(e,f)},c={},d="_N_E:",i.l=function(e,f,a,t){if(c[e])c[e].push(f);else{var b,n;if(void 0!==a)for(var r=document.getElementsByTagName("script"),o=0;o<r.length;o++){var u=r[o];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==d+a){b=u;break}}b||(n=!0,(b=document.createElement("script")).charset="utf-8",b.timeout=120,i.nc&&b.setAttribute("nonce",i.nc),b.setAttribute("data-webpack",d+a),b.src=i.tu(e)),c[e]=[f];var l=function(f,a){b.onerror=b.onload=null,clearTimeout(s);var d=c[e];if(delete c[e],b.parentNode&&b.parentNode.removeChild(b),d&&d.forEach((function(e){return e(a)})),f)return f(a)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:b}),12e4);b.onerror=l.bind(null,b.onerror),b.onload=l.bind(null,b.onload),n&&document.head.appendChild(b)}},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},i.U=function(e){var f=new URL(e,"x:/"),a={};for(var c in f)a[c]=f[c];for(var c in a.href=e,a.pathname=e.replace(/[?#].*/,""),a.origin=a.protocol="",a.toString=a.toJSON=function(){return e},a)Object.defineProperty(this,c,{enumerable:!0,configurable:!0,value:a[c]})},i.U.prototype=URL.prototype,i.tt=function(){return void 0===t&&(t={createScriptURL:function(e){return e}},"undefined"!=typeof trustedTypes&&trustedTypes.createPolicy&&(t=trustedTypes.createPolicy("nextjs#bundler",t))),t},i.tu=function(e){return i.tt().createScriptURL(e)},i.p="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_//_next/",b=function(e){return new Promise((function(f,a){var c=i.miniCssF(e),d=i.p+c;if(function(e,f){for(var a=document.getElementsByTagName("link"),c=0;c<a.length;c++){var d=(b=a[c]).getAttribute("data-href")||b.getAttribute("href");if("stylesheet"===b.rel&&(d===e||d===f))return b}var t=document.getElementsByTagName("style");for(c=0;c<t.length;c++){var b;if((d=(b=t[c]).getAttribute("data-href"))===e||d===f)return b}}(c,d))return f();!function(e,f,a,c){var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onerror=d.onload=function(t){if(d.onerror=d.onload=null,"load"===t.type)a();else{var b=t&&("load"===t.type?"missing":t.type),n=t&&t.target&&t.target.href||f,r=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");r.code="CSS_CHUNK_LOAD_FAILED",r.type=b,r.request=n,d.parentNode.removeChild(d),c(r)}},d.href=f,document.head.appendChild(d)}(e,d,f,a)}))},n={2272:0},i.f.miniCss=function(e,f){n[e]?f.push(n[e]):0!==n[e]&&{1611:1,2730:1,4845:1,5503:1,5855:1,7365:1,8826:1,9856:1}[e]&&f.push(n[e]=b(e).then((function(){n[e]=0}),(function(f){throw delete n[e],f})))},function(){i.b=document.baseURI||self.location.href;var e={2272:0};i.f.j=function(f,a){var c=i.o(e,f)?e[f]:void 0;if(0!==c)if(c)a.push(c[2]);else if(2272!=f){var d=new Promise((function(a,d){c=e[f]=[a,d]}));a.push(c[2]=d);var t=i.p+i.u(f),b=new Error;i.l(t,(function(a){if(i.o(e,f)&&(0!==(c=e[f])&&(e[f]=void 0),c)){var d=a&&("load"===a.type?"missing":a.type),t=a&&a.target&&a.target.src;b.message="Loading chunk "+f+" failed.\n("+d+": "+t+")",b.name="ChunkLoadError",b.type=d,b.request=t,c[1](b)}}),"chunk-"+f,f)}else e[f]=0},i.O.j=function(f){return 0===e[f]};var f=function(f,a){var c,d,t=a[0],b=a[1],n=a[2],r=0;if(t.some((function(f){return 0!==e[f]}))){for(c in b)i.o(b,c)&&(i.m[c]=b[c]);if(n)var o=n(i)}for(f&&f(a);r<t.length;r++)d=t[r],i.o(e,d)&&e[d]&&e[d][0](),e[d]=0;return i.O(o)},a=self.webpackChunk_N_E=self.webpackChunk_N_E||[];a.forEach(f.bind(null,0)),a.push=f.bind(null,a.push.bind(a))}(),i.nc=void 0}();
@@ -27,7 +27,7 @@
27
27
  };
28
28
  }
29
29
  })();
30
- </script><link rel="preload" href="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/css/18782af6d2c4e826.css" as="style"/><link rel="stylesheet" href="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/css/18782af6d2c4e826.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-12ad70eb5c31aa92.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/framework-ea07653270784974.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/main-342bedfde9cd81cf.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/pages/_app-90de19bc03f1484b.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/29107295-c0a511dcab14f9e9.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/125-5337af3c1566ed8e.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/2714-4ad4b9ab70fe921f.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/1799-33afa1735e3b9e98.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/140-3a57c1c5d23f15d8.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/2996-ffd19c1564306530.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/8095-aae2b7f0865f00a3.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/4168-f97c0dd41e6f2b34.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/8023-ba84a62148ef4d48.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/6065-0893edae462093a7.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/pages/block-layout-9bed8fa86d923ab9.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/JQewSAObpbhO0wrdAM6Ng/_buildManifest.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/JQewSAObpbhO0wrdAM6Ng/_ssgManifest.js" defer=""></script><style data-styled="" data-styled-version="5.3.11">html{-webkit-box-sizing:border-box;box-sizing:border-box;-ms-overflow-style:scrollbar;}/*!sc*/
30
+ </script><link rel="preload" href="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/css/18782af6d2c4e826.css" as="style"/><link rel="stylesheet" href="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/css/18782af6d2c4e826.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-5f4be622608d9267.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/framework-ea07653270784974.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/main-342bedfde9cd81cf.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/pages/_app-f205accb03b9ff43.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/29107295-c0a511dcab14f9e9.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/125-5337af3c1566ed8e.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/2714-4ad4b9ab70fe921f.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/1799-33afa1735e3b9e98.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/140-3a57c1c5d23f15d8.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/2996-ffd19c1564306530.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/8095-aae2b7f0865f00a3.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/4168-f97c0dd41e6f2b34.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/8023-ba84a62148ef4d48.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/6065-0893edae462093a7.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/pages/block-layout-9bed8fa86d923ab9.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/2QL-FT4lFR0a9bDZ7lNd9/_buildManifest.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/2QL-FT4lFR0a9bDZ7lNd9/_ssgManifest.js" defer=""></script><style data-styled="" data-styled-version="5.3.11">html{-webkit-box-sizing:border-box;box-sizing:border-box;-ms-overflow-style:scrollbar;}/*!sc*/
31
31
  *,*::before,*::after{-webkit-box-sizing:inherit;box-sizing:inherit;}/*!sc*/
32
32
  data-styled.g4[id="sc-global-czSCUT1"]{content:"sc-global-czSCUT1,"}/*!sc*/
33
33
  .dionUf .Toastify__toast-container{margin-top:24px;padding:0 !important;width:500px !important;}/*!sc*/
@@ -37,5 +37,5 @@ data-styled.g4[id="sc-global-czSCUT1"]{content:"sc-global-czSCUT1,"}/*!sc*/
37
37
  .dionUf .Toastify__toast--info{background:#00A81A !important;color:#FFFFFF !important;}/*!sc*/
38
38
  .dionUf .Toastify__toast--success{background:#00A81A !important;color:#FFFFFF !important;}/*!sc*/
39
39
  .dionUf .Toastify__toast--warning{background:#DD9900 !important;color:#FFFFFF !important;}/*!sc*/
40
- data-styled.g277[id="ToastWrapper-sc-1a33ph1-0"]{content:"dionUf,"}/*!sc*/
41
- </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 id="command-center-root"></div><div></div><div></div><div></div><div class="ToastWrapper-sc-1a33ph1-0 dionUf"><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","dbtDark":"rgba(252, 105, 73, 0.3)","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.5)","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":{"blackTransparent":"rgba(0, 0, 0, 0.6)","blackTransparentDark":"rgba(0, 0, 0, 0.8)","chartBlock":"#2E3036","codeArea":"#1E1F24","codeTextarea":"#000000","content":"#1B1C20","danger":"#FFD0DB","dark":"#B1B8C3","dashboard":"#18181C","dashboardTransparent":"rgba(24, 24, 28, 0.1)","header":"#1B1B1B","menu":"#0F4CFF","muted":"#F9FAFC","navigation":"#EDEDED","output":"#2E3036","page":"#1E1F24","panel":"#232429","panelTransparent":"rgba(35, 36, 41, 0.7)","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","blackBackgroundTransparent":"rgba(0, 0, 0, 0.5)","checked":"#060606","dangerBorder":"#FF144D","defaultBackground":"#36383F","defaultBackgroundTransparent":"rgba(54, 56, 63, 0.5)","defaultBorder":"#ffffff1a","disabledBorder":"#B1B8C3","focusBackground":"#B1B8C3","focusBorder":"#86E2FF","hoverBackground":"#4E4E4E","hoverBackgroundTransparent":"rgba(78, 78, 78, 0.5)","hoverBlackBackgroundTransparent":"rgba(0, 0, 0, 0.7)","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":"JQewSAObpbhO0wrdAM6Ng","assetPrefix":"/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_","nextExport":true,"isFallback":false,"gip":true,"appGip":true,"scriptLoader":[]}</script></body></html>
40
+ data-styled.g279[id="ToastWrapper-sc-1a33ph1-0"]{content:"dionUf,"}/*!sc*/
41
+ </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 id="command-center-root"></div><div></div><div></div><div></div><div class="ToastWrapper-sc-1a33ph1-0 dionUf"><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","dbtDark":"rgba(252, 105, 73, 0.3)","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.5)","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":{"blackTransparent":"rgba(0, 0, 0, 0.6)","blackTransparentDark":"rgba(0, 0, 0, 0.8)","chartBlock":"#2E3036","codeArea":"#1E1F24","codeTextarea":"#000000","content":"#1B1C20","danger":"#FFD0DB","dark":"#B1B8C3","dashboard":"#18181C","dashboardTransparent":"rgba(24, 24, 28, 0.1)","header":"#1B1B1B","menu":"#0F4CFF","muted":"#F9FAFC","navigation":"#EDEDED","output":"#2E3036","page":"#1E1F24","panel":"#232429","panelTransparent":"rgba(35, 36, 41, 0.7)","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","blackBackgroundTransparent":"rgba(0, 0, 0, 0.5)","checked":"#060606","dangerBorder":"#FF144D","defaultBackground":"#36383F","defaultBackgroundTransparent":"rgba(54, 56, 63, 0.5)","defaultBorder":"#ffffff1a","disabledBorder":"#B1B8C3","focusBackground":"#B1B8C3","focusBorder":"#86E2FF","hoverBackground":"#4E4E4E","hoverBackgroundTransparent":"rgba(78, 78, 78, 0.5)","hoverBlackBackgroundTransparent":"rgba(0, 0, 0, 0.7)","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":"2QL-FT4lFR0a9bDZ7lNd9","assetPrefix":"/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_","nextExport":true,"isFallback":false,"gip":true,"appGip":true,"scriptLoader":[]}</script></body></html>
@@ -27,7 +27,7 @@
27
27
  };
28
28
  }
29
29
  })();
30
- </script><link rel="preload" href="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/css/18782af6d2c4e826.css" as="style"/><link rel="stylesheet" href="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/css/18782af6d2c4e826.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-12ad70eb5c31aa92.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/framework-ea07653270784974.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/main-342bedfde9cd81cf.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/pages/_app-90de19bc03f1484b.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/1557-1ad0c64c2d08e569.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/3366-38098792730e685a.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/pages/compute-ed67fa8e81662e8b.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/JQewSAObpbhO0wrdAM6Ng/_buildManifest.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/JQewSAObpbhO0wrdAM6Ng/_ssgManifest.js" defer=""></script><style data-styled="" data-styled-version="5.3.11">html{-webkit-box-sizing:border-box;box-sizing:border-box;-ms-overflow-style:scrollbar;}/*!sc*/
30
+ </script><link rel="preload" href="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/css/18782af6d2c4e826.css" as="style"/><link rel="stylesheet" href="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/css/18782af6d2c4e826.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-5f4be622608d9267.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/framework-ea07653270784974.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/main-342bedfde9cd81cf.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/pages/_app-f205accb03b9ff43.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/449-5e2253c6aba42557.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/3366-38098792730e685a.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/chunks/pages/compute-9e2dea78024e3bb4.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/2QL-FT4lFR0a9bDZ7lNd9/_buildManifest.js" defer=""></script><script src="/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_/_next/static/2QL-FT4lFR0a9bDZ7lNd9/_ssgManifest.js" defer=""></script><style data-styled="" data-styled-version="5.3.11">html{-webkit-box-sizing:border-box;box-sizing:border-box;-ms-overflow-style:scrollbar;}/*!sc*/
31
31
  *,*::before,*::after{-webkit-box-sizing:inherit;box-sizing:inherit;}/*!sc*/
32
32
  data-styled.g4[id="sc-global-czSCUT1"]{content:"sc-global-czSCUT1,"}/*!sc*/
33
33
  .esCWvc{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}/*!sc*/
@@ -35,13 +35,13 @@ data-styled.g5[id="Flex-sc-sgfnl9-0"]{content:"esCWvc,"}/*!sc*/
35
35
  .kgseVY{padding-left:16px;padding-right:16px;padding-top:16px;padding-bottom:16px;}/*!sc*/
36
36
  data-styled.g7[id="Spacing__SpacingStyle-sc-1mpmtgj-0"]{content:"kgseVY,"}/*!sc*/
37
37
  .bVoYMS{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*/
38
- data-styled.g208[id="indexstyle__HeaderStyle-sc-1bk8irg-0"]{content:"bVoYMS,"}/*!sc*/
38
+ data-styled.g210[id="indexstyle__HeaderStyle-sc-1bk8irg-0"]{content:"bVoYMS,"}/*!sc*/
39
39
  .jrjFfx{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*/
40
- data-styled.g239[id="indexstyle__ContainerStyle-sc-ecogjt-0"]{content:"jrjFfx,"}/*!sc*/
40
+ data-styled.g241[id="indexstyle__ContainerStyle-sc-ecogjt-0"]{content:"jrjFfx,"}/*!sc*/
41
41
  .drmgmw{height:100%;background-color:#232429;border-right:1px solid #1C1C1C;}/*!sc*/
42
42
  @-webkit-keyframes animate-in{0%{width:168px;}100%{width:272px;}}/*!sc*/
43
43
  @keyframes animate-in{0%{width:168px;}100%{width:272px;}}/*!sc*/
44
- data-styled.g240[id="indexstyle__VerticalNavigationStyleComponent-sc-ecogjt-1"]{content:"drmgmw,"}/*!sc*/
44
+ data-styled.g242[id="indexstyle__VerticalNavigationStyleComponent-sc-ecogjt-1"]{content:"drmgmw,"}/*!sc*/
45
45
  .dionUf .Toastify__toast-container{margin-top:24px;padding:0 !important;width:500px !important;}/*!sc*/
46
46
  .dionUf .Toastify__toast{border-radius:8px !important;font-family:Greycliff Medium,Helvetica Neue,Helvetica,sans-serif !important;font-size:14px !important;line-height:20px !important;margin-bottom:0 !important;margin-left:0 !important;margin-right:0 !important;margin-top:16px !important;min-height:0 !important;padding:16px !important;}/*!sc*/
47
47
  .dionUf .Toastify__toast-body{margin:0 !important;}/*!sc*/
@@ -49,5 +49,5 @@ data-styled.g240[id="indexstyle__VerticalNavigationStyleComponent-sc-ecogjt-1"]{
49
49
  .dionUf .Toastify__toast--info{background:#00A81A !important;color:#FFFFFF !important;}/*!sc*/
50
50
  .dionUf .Toastify__toast--success{background:#00A81A !important;color:#FFFFFF !important;}/*!sc*/
51
51
  .dionUf .Toastify__toast--warning{background:#DD9900 !important;color:#FFFFFF !important;}/*!sc*/
52
- data-styled.g277[id="ToastWrapper-sc-1a33ph1-0"]{content:"dionUf,"}/*!sc*/
53
- </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 bVoYMS"></div><div class="indexstyle__ContainerStyle-sc-ecogjt-0 jrjFfx"><div class="indexstyle__VerticalNavigationStyleComponent-sc-ecogjt-1 drmgmw"><div class="Spacing__SpacingStyle-sc-1mpmtgj-0 kgseVY"></div></div><div class="Flex-sc-sgfnl9-0 esCWvc"></div></div><div id="command-center-root"></div><div></div><div></div><div></div><div class="ToastWrapper-sc-1a33ph1-0 dionUf"><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","dbtDark":"rgba(252, 105, 73, 0.3)","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.5)","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":{"blackTransparent":"rgba(0, 0, 0, 0.6)","blackTransparentDark":"rgba(0, 0, 0, 0.8)","chartBlock":"#2E3036","codeArea":"#1E1F24","codeTextarea":"#000000","content":"#1B1C20","danger":"#FFD0DB","dark":"#B1B8C3","dashboard":"#18181C","dashboardTransparent":"rgba(24, 24, 28, 0.1)","header":"#1B1B1B","menu":"#0F4CFF","muted":"#F9FAFC","navigation":"#EDEDED","output":"#2E3036","page":"#1E1F24","panel":"#232429","panelTransparent":"rgba(35, 36, 41, 0.7)","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","blackBackgroundTransparent":"rgba(0, 0, 0, 0.5)","checked":"#060606","dangerBorder":"#FF144D","defaultBackground":"#36383F","defaultBackgroundTransparent":"rgba(54, 56, 63, 0.5)","defaultBorder":"#ffffff1a","disabledBorder":"#B1B8C3","focusBackground":"#B1B8C3","focusBorder":"#86E2FF","hoverBackground":"#4E4E4E","hoverBackgroundTransparent":"rgba(78, 78, 78, 0.5)","hoverBlackBackgroundTransparent":"rgba(0, 0, 0, 0.7)","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":"JQewSAObpbhO0wrdAM6Ng","assetPrefix":"/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_","nextExport":true,"isFallback":false,"gip":true,"appGip":true,"scriptLoader":[]}</script></body></html>
52
+ data-styled.g279[id="ToastWrapper-sc-1a33ph1-0"]{content:"dionUf,"}/*!sc*/
53
+ </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 bVoYMS"></div><div class="indexstyle__ContainerStyle-sc-ecogjt-0 jrjFfx"><div class="indexstyle__VerticalNavigationStyleComponent-sc-ecogjt-1 drmgmw"><div class="Spacing__SpacingStyle-sc-1mpmtgj-0 kgseVY"></div></div><div class="Flex-sc-sgfnl9-0 esCWvc"></div></div><div id="command-center-root"></div><div></div><div></div><div></div><div class="ToastWrapper-sc-1a33ph1-0 dionUf"><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","dbtDark":"rgba(252, 105, 73, 0.3)","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.5)","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":{"blackTransparent":"rgba(0, 0, 0, 0.6)","blackTransparentDark":"rgba(0, 0, 0, 0.8)","chartBlock":"#2E3036","codeArea":"#1E1F24","codeTextarea":"#000000","content":"#1B1C20","danger":"#FFD0DB","dark":"#B1B8C3","dashboard":"#18181C","dashboardTransparent":"rgba(24, 24, 28, 0.1)","header":"#1B1B1B","menu":"#0F4CFF","muted":"#F9FAFC","navigation":"#EDEDED","output":"#2E3036","page":"#1E1F24","panel":"#232429","panelTransparent":"rgba(35, 36, 41, 0.7)","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","blackBackgroundTransparent":"rgba(0, 0, 0, 0.5)","checked":"#060606","dangerBorder":"#FF144D","defaultBackground":"#36383F","defaultBackgroundTransparent":"rgba(54, 56, 63, 0.5)","defaultBorder":"#ffffff1a","disabledBorder":"#B1B8C3","focusBackground":"#B1B8C3","focusBorder":"#86E2FF","hoverBackground":"#4E4E4E","hoverBackgroundTransparent":"rgba(78, 78, 78, 0.5)","hoverBlackBackgroundTransparent":"rgba(0, 0, 0, 0.7)","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":"2QL-FT4lFR0a9bDZ7lNd9","assetPrefix":"/CLOUD_NOTEBOOK_BASE_PATH_PLACEHOLDER_","nextExport":true,"isFallback":false,"gip":true,"appGip":true,"scriptLoader":[]}</script></body></html>