zenml-nightly 0.73.0.dev20250205__py3-none-any.whl → 0.74.0.dev20250207__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 (164) hide show
  1. zenml/VERSION +1 -1
  2. zenml/cli/utils.py +42 -53
  3. zenml/client.py +6 -2
  4. zenml/models/__init__.py +4 -2
  5. zenml/models/v2/base/filter.py +34 -11
  6. zenml/models/v2/base/scoped.py +4 -4
  7. zenml/models/v2/core/artifact.py +3 -3
  8. zenml/models/v2/core/artifact_version.py +22 -5
  9. zenml/models/v2/core/model.py +13 -3
  10. zenml/models/v2/core/model_version.py +13 -3
  11. zenml/models/v2/core/pipeline.py +11 -4
  12. zenml/models/v2/core/pipeline_run.py +20 -7
  13. zenml/models/v2/core/run_template.py +13 -3
  14. zenml/models/v2/core/step_run.py +9 -2
  15. zenml/pipelines/pipeline_definition.py +28 -12
  16. zenml/zen_server/dashboard/assets/{404-c8OuXDAT.js → 404-0leSZ7Vv.js} +1 -1
  17. zenml/zen_server/dashboard/assets/@radix-B7OY3d6N.js +85 -0
  18. zenml/zen_server/dashboard/assets/{@react-router-B3Z5rLr2.js → @react-router-CiF9laDg.js} +1 -1
  19. zenml/zen_server/dashboard/assets/@reactflow-DgwdIYyq.js +17 -0
  20. zenml/zen_server/dashboard/assets/@tanstack-W1pLDzVg.js +22 -0
  21. zenml/zen_server/dashboard/assets/{AlertDialogDropdownItem-8yPFDxEI.js → AlertDialogDropdownItem-BS4AoVte.js} +1 -1
  22. zenml/zen_server/dashboard/assets/CodeSnippet-CK2z-88v.js +9 -0
  23. zenml/zen_server/dashboard/assets/{CollapsibleCard-TiI4lId1.js → CollapsibleCard-BAuAdAje.js} +1 -1
  24. zenml/zen_server/dashboard/assets/{Commands-BcR2Arie.js → Commands-vjMqENS8.js} +1 -1
  25. zenml/zen_server/dashboard/assets/{ComponentBadge-BqQNUZgb.js → ComponentBadge-CNIM1NH_.js} +1 -1
  26. zenml/zen_server/dashboard/assets/{CopyButton-DCiXO3JC.js → CopyButton-BQf5nLgq.js} +1 -1
  27. zenml/zen_server/dashboard/assets/CsvVizualization-D77lRMYi.js +15 -0
  28. zenml/zen_server/dashboard/assets/{DeleteAlertDialog-DrPjHtXX.js → DeleteAlertDialog-CcDX1Hm_.js} +1 -1
  29. zenml/zen_server/dashboard/assets/{DialogItem-BYG7d_M2.js → DialogItem-L8-LNKgK.js} +1 -1
  30. zenml/zen_server/dashboard/assets/{DisplayDate-CDMUcQHS.js → DisplayDate-CZV8x8pB.js} +1 -1
  31. zenml/zen_server/dashboard/assets/{EmptyState-BzdlCwp3.js → EmptyState-C8-mkRwm.js} +1 -1
  32. zenml/zen_server/dashboard/assets/{Error-C1zbWr19.js → Error-DPRIglzA.js} +1 -1
  33. zenml/zen_server/dashboard/assets/{ExecutionStatus-Ct9srgHC.js → ExecutionStatus-DHmX6Vtj.js} +1 -1
  34. zenml/zen_server/dashboard/assets/{Helpbox-Bm_1Zx9f.js → Helpbox-DWOXAebr.js} +1 -1
  35. zenml/zen_server/dashboard/assets/{Infobox-OQdkCLSP.js → Infobox-Ls_918eD.js} +1 -1
  36. zenml/zen_server/dashboard/assets/{InlineAvatar-CQNjKoEQ.js → InlineAvatar-B9O7QxVo.js} +1 -1
  37. zenml/zen_server/dashboard/assets/{Lock-CYYy18Mm.js → Lock-6WGsAdiw.js} +1 -1
  38. zenml/zen_server/dashboard/assets/MarkdownVisualization-CPm4B45C.js +14 -0
  39. zenml/zen_server/dashboard/assets/{NestedCollapsible-DDgd2SGb.js → NestedCollapsible-CyUu7Vrm.js} +1 -1
  40. zenml/zen_server/dashboard/assets/{NumberBox-Dtp3J6g5.js → NumberBox-CqUodACv.js} +1 -1
  41. zenml/zen_server/dashboard/assets/{Partials-MD3e95Dk.js → Partials-CP_ZenWO.js} +1 -1
  42. zenml/zen_server/dashboard/assets/{PasswordChecker-B0nadgh6.js → PasswordChecker-Xh6Egpx9.js} +1 -1
  43. zenml/zen_server/dashboard/assets/ProBadge-DJCjz8Ox.js +1 -0
  44. zenml/zen_server/dashboard/assets/{ProCta-W2PEvNow.js → ProCta-BsYjjdUZ.js} +1 -1
  45. zenml/zen_server/dashboard/assets/{ProviderIcon-DfDUOeAy.js → ProviderIcon-C_XK4oaW.js} +1 -1
  46. zenml/zen_server/dashboard/assets/{ProviderRadio-B81Elxrc.js → ProviderRadio-C9z7SJnN.js} +1 -1
  47. zenml/zen_server/dashboard/assets/{RunSelector-DOXgdry5.js → RunSelector-C-YzhiVb.js} +1 -1
  48. zenml/zen_server/dashboard/assets/{RunsBody-Bnx2fxub.js → RunsBody-CNd_ej8-.js} +1 -1
  49. zenml/zen_server/dashboard/assets/{SearchField-Yjv-KRW4.js → SearchField-BYL1oNec.js} +1 -1
  50. zenml/zen_server/dashboard/assets/{SecretTooltip-EKpMlG2f.js → SecretTooltip-CYL2o5Gs.js} +1 -1
  51. zenml/zen_server/dashboard/assets/{SetPassword-CDLy57PZ.js → SetPassword-BnaLppIC.js} +1 -1
  52. zenml/zen_server/dashboard/assets/{StackList-DKQaLDo4.js → StackList-6XLpNMwt.js} +1 -1
  53. zenml/zen_server/dashboard/assets/{Tabs-B5E-o_h6.js → Tabs-BewshUAE.js} +1 -1
  54. zenml/zen_server/dashboard/assets/{Tick-DSYBiuXU.js → Tick-DHVI3HP0.js} +1 -1
  55. zenml/zen_server/dashboard/assets/{UpdatePasswordSchemas-HBNOeyoP.js → UpdatePasswordSchemas-CtzucewX.js} +1 -1
  56. zenml/zen_server/dashboard/assets/{UsageReason-DXtPS5nE.js → UsageReason-Bwhjhrv_.js} +1 -1
  57. zenml/zen_server/dashboard/assets/{WizardFooter-_1VSMZ_c.js → WizardFooter-CPk11vwc.js} +1 -1
  58. zenml/zen_server/dashboard/assets/{all-pipeline-runs-query-D0qDLdKB.js → all-pipeline-runs-query-Dh4L44hJ.js} +1 -1
  59. zenml/zen_server/dashboard/assets/{check-DloQpStc.js → check-BB0dVtdW.js} +1 -1
  60. zenml/zen_server/dashboard/assets/{check-circle-jNbX5-sR.js → check-circle-ByvKqRS_.js} +1 -1
  61. zenml/zen_server/dashboard/assets/{chevron-down-6JyMkfjR.js → chevron-down-DAWlSNuH.js} +1 -1
  62. zenml/zen_server/dashboard/assets/{chevron-right-double-D7ojK9Co.js → chevron-right-double-C5DtVuMS.js} +1 -1
  63. zenml/zen_server/dashboard/assets/clock-BWL9qBKt.js +1 -0
  64. zenml/zen_server/dashboard/assets/{code-browser-CUFUIHfp.js → code-browser-C6DP7a-M.js} +1 -1
  65. zenml/zen_server/dashboard/assets/{copy-C8XQA2Ug.js → copy-DmyMnHSy.js} +1 -1
  66. zenml/zen_server/dashboard/assets/{create-stack-7JzgAYAm.js → create-stack-BdNm_XEl.js} +1 -1
  67. zenml/zen_server/dashboard/assets/{delete-run-CUdtYFLl.js → delete-run-CUo7vxbD.js} +1 -1
  68. zenml/zen_server/dashboard/assets/{docker-BdA9vrnW.js → docker-C2dCztnc.js} +1 -1
  69. zenml/zen_server/dashboard/assets/{dots-horizontal-otGBOSDJ.js → dots-horizontal-C6QCz7jg.js} +1 -1
  70. zenml/zen_server/dashboard/assets/{form-schemas-B6PCV3Y4.js → form-schemas-B4cZxcUy.js} +1 -1
  71. zenml/zen_server/dashboard/assets/{gcp-CFtm4BA7.js → gcp-B1H0QrG5.js} +1 -1
  72. zenml/zen_server/dashboard/assets/{help-Cc9bBIJH.js → help-CgM5zwtY.js} +1 -1
  73. zenml/zen_server/dashboard/assets/index-4aOgYud0.js +1 -0
  74. zenml/zen_server/dashboard/assets/{index-CJ5IfeAl.js → index-6CSA2ij5.js} +1 -1
  75. zenml/zen_server/dashboard/assets/{index-Ceyzb1yI.js → index-BOeKQ3N4.js} +1 -1
  76. zenml/zen_server/dashboard/assets/{index-D4yoZ_gH.js → index-Cf1Ph5ra.js} +1 -1
  77. zenml/zen_server/dashboard/assets/index-D25WcEJJ.js +55 -0
  78. zenml/zen_server/dashboard/assets/index-apknmtn7.css +1 -0
  79. zenml/zen_server/dashboard/assets/index.esm-C5jC4e7W.js +1 -0
  80. zenml/zen_server/dashboard/assets/{key-icon-aH-QIa5R.js → key-icon-DuqxBBkq.js} +1 -1
  81. zenml/zen_server/dashboard/assets/{kubernetes-B2wmAJ1d.js → kubernetes-Bn54mlK-.js} +1 -1
  82. zenml/zen_server/dashboard/assets/{layout-BtHBmE4w.js → layout-Cj7MRWSi.js} +1 -1
  83. zenml/zen_server/dashboard/assets/{link-external-b9AXw_sW.js → link-external-CZxZlXqi.js} +1 -1
  84. zenml/zen_server/dashboard/assets/{login-mutation-BaeJ7MAg.js → login-mutation-EQPLh5Ne.js} +1 -1
  85. zenml/zen_server/dashboard/assets/{logs-WMSM52RF.js → logs-DYV_bf7Q.js} +1 -1
  86. zenml/zen_server/dashboard/assets/{not-found-MGptrNBk.js → not-found-DrxGMGNL.js} +1 -1
  87. zenml/zen_server/dashboard/assets/{package-C6uypY4h.js → package-MUwoWZFx.js} +1 -1
  88. zenml/zen_server/dashboard/assets/{page-C37IDa-Q.js → page-9AiMoKly.js} +1 -1
  89. zenml/zen_server/dashboard/assets/{page-yNh6PQKt.js → page-BF9z97Jf.js} +1 -1
  90. zenml/zen_server/dashboard/assets/{page-Aeu3v0MQ.js → page-BK6mVOKJ.js} +1 -1
  91. zenml/zen_server/dashboard/assets/{page-Ox-eC1ik.js → page-BK722dMv.js} +1 -1
  92. zenml/zen_server/dashboard/assets/{page-CbwI6emp.js → page-BNXv13PD.js} +1 -1
  93. zenml/zen_server/dashboard/assets/page-BmzgDMUV.js +1 -0
  94. zenml/zen_server/dashboard/assets/{page-Dv5lN2w7.js → page-BrUvz6Ag.js} +1 -1
  95. zenml/zen_server/dashboard/assets/{page-DyAuja95.js → page-Bt_6RgeM.js} +1 -1
  96. zenml/zen_server/dashboard/assets/{page-DKQ3wZgr.js → page-C2IJq-kV.js} +1 -1
  97. zenml/zen_server/dashboard/assets/{page-BhOXn-s9.js → page-C2KxJ-Cc.js} +1 -1
  98. zenml/zen_server/dashboard/assets/page-C9v0QDj8.js +2 -0
  99. zenml/zen_server/dashboard/assets/{page-CeNL9JWi.js → page-CHdCb7Xx.js} +1 -1
  100. zenml/zen_server/dashboard/assets/{page-CkPwPmLZ.js → page-CdQ_DdH1.js} +1 -1
  101. zenml/zen_server/dashboard/assets/page-ChFcVUFX.js +1 -0
  102. zenml/zen_server/dashboard/assets/{page-BXgXP-Qj.js → page-ChMOMdKd.js} +1 -1
  103. zenml/zen_server/dashboard/assets/{page-BbljjC-k.js → page-ChxtdsVY.js} +1 -1
  104. zenml/zen_server/dashboard/assets/{page-BXrtxEbw.js → page-Cj5NSnW5.js} +1 -1
  105. zenml/zen_server/dashboard/assets/{page-CXPc-HN1.js → page-Cz58X7s5.js} +2 -2
  106. zenml/zen_server/dashboard/assets/{page-D-KPzeQb.js → page-D-qjN5JP.js} +1 -1
  107. zenml/zen_server/dashboard/assets/{page-khp8QJ6b.js → page-D1jrbald.js} +1 -1
  108. zenml/zen_server/dashboard/assets/{page-CBiT2Ox9.js → page-DRYjt60M.js} +1 -1
  109. zenml/zen_server/dashboard/assets/{page-BKwwfTNy.js → page-De3oGQ3E.js} +1 -1
  110. zenml/zen_server/dashboard/assets/{page-BaUDR9Ri.js → page-DjO6yHuW.js} +1 -1
  111. zenml/zen_server/dashboard/assets/page-DzvVg_ZM.js +1 -0
  112. zenml/zen_server/dashboard/assets/{page-C4JpDeUM.js → page-JZ8WXQfh.js} +1 -1
  113. zenml/zen_server/dashboard/assets/{page-DbW8MfQ4.js → page-VUTBxySs.js} +1 -1
  114. zenml/zen_server/dashboard/assets/{page-CmJU3Gqo.js → page-YhLt4PLe.js} +1 -1
  115. zenml/zen_server/dashboard/assets/{page-CoFVtzhG.js → page-_ijqeiyw.js} +1 -1
  116. zenml/zen_server/dashboard/assets/page-ezpoc4vG.js +2 -0
  117. zenml/zen_server/dashboard/assets/{page-CB2_GdBA.js → page-fVsaiQi7.js} +1 -1
  118. zenml/zen_server/dashboard/assets/{page-Dvbq1BoF.js → page-q2kbm2x8.js} +1 -1
  119. zenml/zen_server/dashboard/assets/{page-BUjw8Tp1.js → page-qw7ivMVQ.js} +1 -1
  120. zenml/zen_server/dashboard/assets/{page-DzrdL2v1.js → page-y8flqx2D.js} +1 -1
  121. zenml/zen_server/dashboard/assets/{persist-K7AY0ju4.js → persist-CDPcIIlF.js} +1 -1
  122. zenml/zen_server/dashboard/assets/{persist-DBTFy--v.js → persist-Hxrm9o7f.js} +1 -1
  123. zenml/zen_server/dashboard/assets/{plus-tf1V2hTJ.js → plus-noRapLU5.js} +1 -1
  124. zenml/zen_server/dashboard/assets/react-error-boundary.esm-DOkSniBS.js +1 -0
  125. zenml/zen_server/dashboard/assets/{refresh-BjOeWlEq.js → refresh-Jr_advur.js} +1 -1
  126. zenml/zen_server/dashboard/assets/{rocket-DjT2cDvG.js → rocket-GOlMupOS.js} +1 -1
  127. zenml/zen_server/dashboard/assets/{service-BvOYLH5b.js → service-Db_ee3ql.js} +1 -1
  128. zenml/zen_server/dashboard/assets/sharedSchema-BE8kPXOv.js +14 -0
  129. zenml/zen_server/dashboard/assets/{stack-detail-query-DMJoxwgv.js → stack-detail-query-B2rvP4uR.js} +1 -1
  130. zenml/zen_server/dashboard/assets/{tick-circle-BEX_Tp4v.js → tick-circle-DKkiYi_R.js} +1 -1
  131. zenml/zen_server/dashboard/assets/{trash-arLUMWMS.js → trash-Dm8g1gZ8.js} +1 -1
  132. zenml/zen_server/dashboard/assets/{update-server-settings-mutation-ATZDNNZk.js → update-server-settings-mutation-Bgnr2Ssw.js} +1 -1
  133. zenml/zen_server/dashboard/assets/{url-BWJXzuI4.js → url-1R6qfphK.js} +1 -1
  134. zenml/zen_server/dashboard/assets/{zod-BwEbpOxH.js → zod-C2FdaFLe.js} +1 -1
  135. zenml/zen_server/dashboard/index.html +8 -8
  136. zenml/zen_stores/migrations/versions/0.74.0_release.py +23 -0
  137. zenml/zen_stores/schemas/artifact_schemas.py +31 -4
  138. zenml/zen_stores/schemas/model_schemas.py +31 -6
  139. zenml/zen_stores/schemas/pipeline_run_schemas.py +1 -1
  140. zenml/zen_stores/schemas/pipeline_schemas.py +35 -8
  141. zenml/zen_stores/schemas/run_template_schemas.py +42 -14
  142. {zenml_nightly-0.73.0.dev20250205.dist-info → zenml_nightly-0.74.0.dev20250207.dist-info}/METADATA +2 -2
  143. {zenml_nightly-0.73.0.dev20250205.dist-info → zenml_nightly-0.74.0.dev20250207.dist-info}/RECORD +148 -144
  144. zenml/zen_server/dashboard/assets/@radix-DeK6qiuw.js +0 -85
  145. zenml/zen_server/dashboard/assets/@reactflow-6JPoencd.js +0 -17
  146. zenml/zen_server/dashboard/assets/@tanstack-DT5WLu9C.js +0 -22
  147. zenml/zen_server/dashboard/assets/CodeSnippet-Qh1ae_DJ.js +0 -9
  148. zenml/zen_server/dashboard/assets/CsvVizualization-O9cVIaL8.js +0 -15
  149. zenml/zen_server/dashboard/assets/MarkdownVisualization-ylXaAxev.js +0 -14
  150. zenml/zen_server/dashboard/assets/ProBadge-D784iVNC.js +0 -1
  151. zenml/zen_server/dashboard/assets/index-B6U0OkEN.css +0 -1
  152. zenml/zen_server/dashboard/assets/index-CxO6541P.js +0 -55
  153. zenml/zen_server/dashboard/assets/index-Uu49AX48.js +0 -1
  154. zenml/zen_server/dashboard/assets/index.esm-Dy6Z9Ung.js +0 -1
  155. zenml/zen_server/dashboard/assets/page-BCgEdmhP.js +0 -1
  156. zenml/zen_server/dashboard/assets/page-DWWhxCoF.js +0 -1
  157. zenml/zen_server/dashboard/assets/page-I2B4Ocv8.js +0 -1
  158. zenml/zen_server/dashboard/assets/page-OdjGauvw.js +0 -2
  159. zenml/zen_server/dashboard/assets/sharedSchema-xJDsJNgJ.js +0 -14
  160. /zenml/zen_server/dashboard/assets/{@reactflow-C26Olbza.css → @reactflow-Fd0xVSp_.css} +0 -0
  161. /zenml/zen_server/dashboard/assets/{CodeSnippet-Bbx6fIb6.css → CodeSnippet-CK5CxKct.css} +0 -0
  162. {zenml_nightly-0.73.0.dev20250205.dist-info → zenml_nightly-0.74.0.dev20250207.dist-info}/LICENSE +0 -0
  163. {zenml_nightly-0.73.0.dev20250205.dist-info → zenml_nightly-0.74.0.dev20250207.dist-info}/WHEEL +0 -0
  164. {zenml_nightly-0.73.0.dev20250205.dist-info → zenml_nightly-0.74.0.dev20250207.dist-info}/entry_points.txt +0 -0
@@ -1 +1 @@
1
- import{j as s}from"./@radix-DeK6qiuw.js";import{S as x}from"./refresh-BjOeWlEq.js";import{S as h,P as f}from"./SearchField-Yjv-KRW4.js";import{u as j}from"./all-pipeline-runs-query-D0qDLdKB.js";import{K as g,r as o,T as b,E as v,G as y,H as N,J as m,z as i,f as S,L as P,S as u}from"./index-CxO6541P.js";import{a as R,b as T,u as k,c as F}from"./RunSelector-DOXgdry5.js";import{C as p}from"./CopyButton-DCiXO3JC.js";import{D as C}from"./DisplayDate-CDMUcQHS.js";import{g as w,E}from"./ExecutionStatus-Ct9srgHC.js";import{I as D}from"./InlineAvatar-CQNjKoEQ.js";import{L as l,c as _}from"./@react-router-B3Z5rLr2.js";const A=[{id:"check",header:"",meta:{width:"1%"},accessorFn:e=>({id:e.id}),cell:({getValue:e})=>{const{id:a}=e();return s.jsx(R,{id:a})}},{id:"name",header:"Run",accessorFn:e=>{var a;return{id:e.id,name:e.name,status:(a=e.body)==null?void 0:a.status}},cell:({getValue:e})=>{const{name:a,status:t,id:r}=e();return s.jsxs("div",{className:"group/copybutton flex items-center gap-2",children:[s.jsx(g,{className:`h-5 w-5 ${w(t)}`}),s.jsxs("div",{children:[s.jsxs("div",{className:"flex items-center gap-1",children:[s.jsx(l,{to:o.runs.detail(r),className:"flex items-center gap-1",children:s.jsx("span",{className:"text-text-md font-semibold text-theme-text-primary",children:a})}),s.jsx(b,{children:s.jsxs(v,{children:[s.jsx(y,{className:"hover:text-theme-text-brand hover:underline",children:s.jsx(E,{status:t})}),s.jsx(N,{className:"z-20 capitalize",children:t})]})}),s.jsx(p,{copyText:a})]}),s.jsxs(l,{to:o.runs.detail(r),className:"flex items-center gap-1",children:[s.jsx("p",{className:"text-text-xs text-theme-text-secondary",children:r.split("-")[0]}),s.jsx(p,{copyText:r})]})]})]})}},{id:"pipeline",header:"Pipeline",accessorFn:e=>{var a,t;return(t=(a=e.body)==null?void 0:a.pipeline)==null?void 0:t.name},cell:({getValue:e})=>{const a=e();return a?s.jsx(l,{to:o.pipelines.namespace(a),children:s.jsx(m,{color:"purple",className:"inline-flex items-center gap-0.5 truncate",rounded:!1,emphasis:"subtle",children:a})}):null}},{id:"stack",header:"Stack",accessorFn:e=>{var a,t,r,n;return{name:(t=(a=e.body)==null?void 0:a.stack)==null?void 0:t.name,id:(n=(r=e.body)==null?void 0:r.stack)==null?void 0:n.id}},cell:({getValue:e})=>{const{name:a,id:t}=e();return!a||!t?null:s.jsx(m,{rounded:!1,className:"inline-block",color:"turquoise",emphasis:"subtle",children:a})}},{id:"created-at",header:"Created at",accessorFn:e=>{var a;return{date:(a=e.body)==null?void 0:a.created}},cell:({getValue:e})=>{const{date:a}=e();return s.jsx(C,{dateString:a})}},{id:"author",header:"Author",accessorFn:e=>{var a,t,r,n,d;return{name:((r=(t=(a=e.body)==null?void 0:a.user)==null?void 0:t.body)==null?void 0:r.full_name)||((d=(n=e.body)==null?void 0:n.user)==null?void 0:d.name)}},cell:({getValue:e})=>{const{name:a}=e();return s.jsx(D,{username:a})}},{id:"admin_actions",header:"",meta:{width:"5%"},cell:({row:e})=>s.jsx(T,{id:e.original.id})}],c=1,z=i.object({page:i.coerce.number().min(c).optional().default(c).catch(c),name:i.string().optional(),operator:i.enum(["and","or"]).optional(),status:i.enum(["pending","running","completed"]).optional()});function B(){const[e]=_(),{page:a,name:t,operator:r,status:n}=z.parse({page:e.get("page")||void 0,name:e.get("name")||void 0,operator:e.get("operator")||void 0,status:e.get("status")||void 0});return{page:a,name:t,logical_operator:r,status:n}}function Q({fixedQueryParams:e={}}){const{selectedRuns:a}=k(),t=B(),{data:r,refetch:n}=j({params:{...t,sort_by:"desc:updated",...e}});return s.jsxs("div",{className:"mt-5 flex flex-col gap-5",children:[s.jsxs("div",{className:"flex items-center justify-between",children:[a.length?s.jsx(F,{}):s.jsx(h,{searchParams:t}),s.jsx("div",{className:"flex justify-between",children:s.jsxs(S,{intent:"primary",emphasis:"subtle",size:"md",onClick:()=>n(),children:[s.jsx(x,{className:"h-5 w-5 fill-theme-text-brand"}),"Refresh"]})})]}),s.jsxs("div",{className:"flex flex-col items-center gap-5",children:[s.jsx("div",{className:"w-full",children:r?s.jsx(P,{columns:A,data:r.items}):s.jsx(u,{className:"h-[500px] w-full"})}),r?r.total_pages>1&&s.jsx(f,{searchParams:t,paginate:r}):s.jsx(u,{className:"h-[36px] w-[300px]"})]})]})}export{Q as R};
1
+ import{j as s}from"./@radix-B7OY3d6N.js";import{S as x}from"./refresh-Jr_advur.js";import{S as h,P as f}from"./SearchField-BYL1oNec.js";import{u as j}from"./all-pipeline-runs-query-Dh4L44hJ.js";import{K as g,r as o,T as b,E as v,G as y,H as N,J as m,z as i,f as S,L as P,S as u}from"./index-D25WcEJJ.js";import{a as R,b as T,u as k,c as F}from"./RunSelector-C-YzhiVb.js";import{C as p}from"./CopyButton-BQf5nLgq.js";import{D as C}from"./DisplayDate-CZV8x8pB.js";import{g as w,E}from"./ExecutionStatus-DHmX6Vtj.js";import{I as D}from"./InlineAvatar-B9O7QxVo.js";import{L as l,c as _}from"./@react-router-CiF9laDg.js";const A=[{id:"check",header:"",meta:{width:"1%"},accessorFn:e=>({id:e.id}),cell:({getValue:e})=>{const{id:a}=e();return s.jsx(R,{id:a})}},{id:"name",header:"Run",accessorFn:e=>{var a;return{id:e.id,name:e.name,status:(a=e.body)==null?void 0:a.status}},cell:({getValue:e})=>{const{name:a,status:t,id:r}=e();return s.jsxs("div",{className:"group/copybutton flex items-center gap-2",children:[s.jsx(g,{className:`h-5 w-5 ${w(t)}`}),s.jsxs("div",{children:[s.jsxs("div",{className:"flex items-center gap-1",children:[s.jsx(l,{to:o.runs.detail(r),className:"flex items-center gap-1",children:s.jsx("span",{className:"text-text-md font-semibold text-theme-text-primary",children:a})}),s.jsx(b,{children:s.jsxs(v,{children:[s.jsx(y,{className:"hover:text-theme-text-brand hover:underline",children:s.jsx(E,{status:t})}),s.jsx(N,{className:"z-20 capitalize",children:t})]})}),s.jsx(p,{copyText:a})]}),s.jsxs(l,{to:o.runs.detail(r),className:"flex items-center gap-1",children:[s.jsx("p",{className:"text-text-xs text-theme-text-secondary",children:r.split("-")[0]}),s.jsx(p,{copyText:r})]})]})]})}},{id:"pipeline",header:"Pipeline",accessorFn:e=>{var a,t;return(t=(a=e.body)==null?void 0:a.pipeline)==null?void 0:t.name},cell:({getValue:e})=>{const a=e();return a?s.jsx(l,{to:o.pipelines.namespace(a),children:s.jsx(m,{color:"purple",className:"inline-flex items-center gap-0.5 truncate",rounded:!1,emphasis:"subtle",children:a})}):null}},{id:"stack",header:"Stack",accessorFn:e=>{var a,t,r,n;return{name:(t=(a=e.body)==null?void 0:a.stack)==null?void 0:t.name,id:(n=(r=e.body)==null?void 0:r.stack)==null?void 0:n.id}},cell:({getValue:e})=>{const{name:a,id:t}=e();return!a||!t?null:s.jsx(m,{rounded:!1,className:"inline-block",color:"turquoise",emphasis:"subtle",children:a})}},{id:"created-at",header:"Created at",accessorFn:e=>{var a;return{date:(a=e.body)==null?void 0:a.created}},cell:({getValue:e})=>{const{date:a}=e();return s.jsx(C,{dateString:a})}},{id:"author",header:"Author",accessorFn:e=>{var a,t,r,n,d;return{name:((r=(t=(a=e.body)==null?void 0:a.user)==null?void 0:t.body)==null?void 0:r.full_name)||((d=(n=e.body)==null?void 0:n.user)==null?void 0:d.name)}},cell:({getValue:e})=>{const{name:a}=e();return s.jsx(D,{username:a})}},{id:"admin_actions",header:"",meta:{width:"5%"},cell:({row:e})=>s.jsx(T,{id:e.original.id})}],c=1,z=i.object({page:i.coerce.number().min(c).optional().default(c).catch(c),name:i.string().optional(),operator:i.enum(["and","or"]).optional(),status:i.enum(["pending","running","completed"]).optional()});function B(){const[e]=_(),{page:a,name:t,operator:r,status:n}=z.parse({page:e.get("page")||void 0,name:e.get("name")||void 0,operator:e.get("operator")||void 0,status:e.get("status")||void 0});return{page:a,name:t,logical_operator:r,status:n}}function Q({fixedQueryParams:e={}}){const{selectedRuns:a}=k(),t=B(),{data:r,refetch:n}=j({params:{...t,sort_by:"desc:updated",...e}});return s.jsxs("div",{className:"mt-5 flex flex-col gap-5",children:[s.jsxs("div",{className:"flex items-center justify-between",children:[a.length?s.jsx(F,{}):s.jsx(h,{searchParams:t}),s.jsx("div",{className:"flex justify-between",children:s.jsxs(S,{intent:"primary",emphasis:"subtle",size:"md",onClick:()=>n(),children:[s.jsx(x,{className:"h-5 w-5 fill-theme-text-brand"}),"Refresh"]})})]}),s.jsxs("div",{className:"flex flex-col items-center gap-5",children:[s.jsx("div",{className:"w-full",children:r?s.jsx(P,{columns:A,data:r.items}):s.jsx(u,{className:"h-[500px] w-full"})}),r?r.total_pages>1&&s.jsx(f,{searchParams:t,paginate:r}):s.jsx(u,{className:"h-[36px] w-[300px]"})]})]})}export{Q as R};
@@ -1 +1 @@
1
- import{r as l,j as e}from"./@radix-DeK6qiuw.js";import{S as C}from"./dots-horizontal-otGBOSDJ.js";import{S as w}from"./chevron-right-double-D7ojK9Co.js";import{aH as S,n as j,I as E}from"./index-CxO6541P.js";import{o as b}from"./url-BWJXzuI4.js";import{b as v,c as N}from"./@react-router-B3Z5rLr2.js";import{d as L}from"./index-Uu49AX48.js";const P=a=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...a},l.createElement("g",{id:"chevron-left-double"},l.createElement("path",{id:"Icon (Stroke)",fillRule:"evenodd",clipRule:"evenodd",d:"M11.7071 6.29289C12.0976 6.68342 12.0976 7.31658 11.7071 7.70711L7.41421 12L11.7071 16.2929C12.0976 16.6834 12.0976 17.3166 11.7071 17.7071C11.3166 18.0976 10.6834 18.0976 10.2929 17.7071L5.29289 12.7071C4.90237 12.3166 4.90237 11.6834 5.29289 11.2929L10.2929 6.29289C10.6834 5.90237 11.3166 5.90237 11.7071 6.29289ZM18.7071 6.29289C19.0976 6.68342 19.0976 7.31658 18.7071 7.70711L14.4142 12L18.7071 16.2929C19.0976 16.6834 19.0976 17.3166 18.7071 17.7071C18.3166 18.0976 17.6834 18.0976 17.2929 17.7071L12.2929 12.7071C11.9024 12.3166 11.9024 11.6834 12.2929 11.2929L17.2929 6.29289C17.6834 5.90237 18.3166 5.90237 18.7071 6.29289Z"}))),R=a=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...a},l.createElement("g",{id:"chevron-left"},l.createElement("path",{id:"Icon (Stroke)",fillRule:"evenodd",clipRule:"evenodd",d:"M15.7071 5.29289C16.0976 5.68342 16.0976 6.31658 15.7071 6.70711L10.4142 12L15.7071 17.2929C16.0976 17.6834 16.0976 18.3166 15.7071 18.7071C15.3166 19.0976 14.6834 19.0976 14.2929 18.7071L8.29289 12.7071C7.90237 12.3166 7.90237 11.6834 8.29289 11.2929L14.2929 5.29289C14.6834 4.90237 15.3166 4.90237 15.7071 5.29289Z"})));function D({paginate:a,searchParams:c,inMemoryHandler:i}){const g=v(),{index:s,total_pages:d}=a;function u(n){if(i){i(n);return}const o=new URLSearchParams(b(c));o.set("page",n.toString()),g(`?${o.toString()}`,{preventScrollReset:!1})}const f=()=>{const n=[];let p=!1,m=!1;for(let t=1;t<=d;t++){const r=t>1&&t<d&&Math.abs(t-s)>1;(t===1||t===d||r||Math.abs(t-s)<=1)&&(r?t<s&&!p?(n.push(e.jsx(x,{},"ellipsis-left")),p=!0):t>s&&!m&&(n.push(e.jsx(x,{},"ellipsis-right")),m=!0):n.push(e.jsx(h,{"aria-label":`Go to page ${t}`,"aria-current":t===s,className:`${t===s?"!bg-primary-500 text-theme-text-negative":""}`,onClick:()=>u(t),disabled:t===s,children:t},t)))}return n};return e.jsx("nav",{role:"navigation","aria-label":"Pagination Navigation",children:e.jsxs("ul",{className:"flex gap-1",children:[e.jsx("li",{children:e.jsx(h,{disabled:s===1,onClick:()=>u(1),"aria-label":"Go to first page",children:e.jsx(P,{className:"h-4 w-4 group-disabled/button:fill-neutral-300"})})}),e.jsx("li",{children:e.jsx(h,{disabled:s===1,onClick:()=>u(s-1),"aria-label":"Go to previous page",children:e.jsx(R,{className:"h-4 w-4 group-disabled/button:fill-neutral-300"})})}),f().map((n,o)=>e.jsx("li",{children:n},o)),e.jsx("li",{children:e.jsx(h,{disabled:s===d,onClick:()=>u(s+1),"aria-label":"Go to next page",children:e.jsx(S,{className:"h-4 w-4 group-disabled/button:fill-neutral-300"})})}),e.jsx("li",{children:e.jsx(h,{disabled:s===d,onClick:()=>u(d),"aria-label":"Go to last page",children:e.jsx(w,{className:"h-4 w-4 group-disabled/button:fill-neutral-300"})})})]})})}function x(){return e.jsx("div",{className:"flex h-[36px] w-[36px] items-center justify-center rounded-sm border border-theme-border-moderate",children:e.jsx(C,{className:"h-4 w-4"})})}const h=l.forwardRef(({className:a,...c},i)=>e.jsx("button",{...c,ref:i,className:j("group/button flex h-[36px] w-[36px] items-center justify-center rounded-sm border border-neutral-300 hover:bg-neutral-200 active:border-neutral-400 active:bg-neutral-300 disabled:pointer-events-none disabled:bg-theme-surface-primary ",a)}));h.displayName="PaginationButton";const y=a=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...a},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 4C7.13401 4 4 7.13401 4 11C4 14.866 7.13401 18 11 18C12.8859 18 14.5977 17.2542 15.8564 16.0414C15.8827 16.0072 15.9115 15.9742 15.9429 15.9429C15.9742 15.9115 16.0072 15.8827 16.0414 15.8564C17.2542 14.5977 18 12.8859 18 11C18 7.13401 14.866 4 11 4ZM18.0319 16.6177C19.2635 15.078 20 13.125 20 11C20 6.02944 15.9706 2 11 2C6.02944 2 2 6.02944 2 11C2 15.9706 6.02944 20 11 20C13.125 20 15.078 19.2635 16.6177 18.0319L20.2929 21.7071C20.6834 22.0976 21.3166 22.0976 21.7071 21.7071C22.0976 21.3166 22.0976 20.6834 21.7071 20.2929L18.0319 16.6177Z"})),k=["equals:","contains:","startswith:","endswith:","gte:","gt:","lte:","lt:"];function B(a){const c=k.find(i=>a.startsWith(i));return c?a.slice(c.length):a}const M=l.forwardRef(({searchParams:a,searchContains:c=!0,inMemoryHandler:i,...g},s)=>{const d=v(),[u]=N(),[f,n]=l.useState(B(a.name||"")||""),o=l.useMemo(()=>L(p,500),[]);l.useEffect(()=>()=>{o.cancel()},[o]);function p(t){if(i){i(t);return}const r=new URLSearchParams({...Object.fromEntries(u),...b(a)});r.delete("logical_operator"),t?(r.set("name",c?`contains:${t}`:`${t}`),r.set("operator","or"),r.set("page","1")):(r.delete("name"),r.delete("operator")),d(`?${r.toString()}`,{preventScrollReset:!0,replace:!0})}function m(t){const{value:r}=t.target;n(r),o(r)}return e.jsxs("div",{className:"relative",children:[e.jsx(E,{className:"pl-[36px]",...g,ref:s,value:f,onChange:m,placeholder:"Search...",inputSize:"md"}),e.jsx("div",{className:"absolute inset-y-0 left-0 flex items-center pl-1",children:e.jsx(y,{className:"size-4 fill-neutral-400"})})]})});M.displayName="SearchField";export{D as P,M as S};
1
+ import{r as l,j as e}from"./@radix-B7OY3d6N.js";import{S as C}from"./dots-horizontal-C6QCz7jg.js";import{S as w}from"./chevron-right-double-C5DtVuMS.js";import{aJ as S,n as j,I as E}from"./index-D25WcEJJ.js";import{o as b}from"./url-1R6qfphK.js";import{b as v,c as N}from"./@react-router-CiF9laDg.js";import{d as L}from"./index-4aOgYud0.js";const P=a=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...a},l.createElement("g",{id:"chevron-left-double"},l.createElement("path",{id:"Icon (Stroke)",fillRule:"evenodd",clipRule:"evenodd",d:"M11.7071 6.29289C12.0976 6.68342 12.0976 7.31658 11.7071 7.70711L7.41421 12L11.7071 16.2929C12.0976 16.6834 12.0976 17.3166 11.7071 17.7071C11.3166 18.0976 10.6834 18.0976 10.2929 17.7071L5.29289 12.7071C4.90237 12.3166 4.90237 11.6834 5.29289 11.2929L10.2929 6.29289C10.6834 5.90237 11.3166 5.90237 11.7071 6.29289ZM18.7071 6.29289C19.0976 6.68342 19.0976 7.31658 18.7071 7.70711L14.4142 12L18.7071 16.2929C19.0976 16.6834 19.0976 17.3166 18.7071 17.7071C18.3166 18.0976 17.6834 18.0976 17.2929 17.7071L12.2929 12.7071C11.9024 12.3166 11.9024 11.6834 12.2929 11.2929L17.2929 6.29289C17.6834 5.90237 18.3166 5.90237 18.7071 6.29289Z"}))),R=a=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...a},l.createElement("g",{id:"chevron-left"},l.createElement("path",{id:"Icon (Stroke)",fillRule:"evenodd",clipRule:"evenodd",d:"M15.7071 5.29289C16.0976 5.68342 16.0976 6.31658 15.7071 6.70711L10.4142 12L15.7071 17.2929C16.0976 17.6834 16.0976 18.3166 15.7071 18.7071C15.3166 19.0976 14.6834 19.0976 14.2929 18.7071L8.29289 12.7071C7.90237 12.3166 7.90237 11.6834 8.29289 11.2929L14.2929 5.29289C14.6834 4.90237 15.3166 4.90237 15.7071 5.29289Z"})));function D({paginate:a,searchParams:c,inMemoryHandler:i}){const g=v(),{index:s,total_pages:d}=a;function u(n){if(i){i(n);return}const o=new URLSearchParams(b(c));o.set("page",n.toString()),g(`?${o.toString()}`,{preventScrollReset:!1})}const f=()=>{const n=[];let p=!1,m=!1;for(let t=1;t<=d;t++){const r=t>1&&t<d&&Math.abs(t-s)>1;(t===1||t===d||r||Math.abs(t-s)<=1)&&(r?t<s&&!p?(n.push(e.jsx(x,{},"ellipsis-left")),p=!0):t>s&&!m&&(n.push(e.jsx(x,{},"ellipsis-right")),m=!0):n.push(e.jsx(h,{"aria-label":`Go to page ${t}`,"aria-current":t===s,className:`${t===s?"!bg-primary-500 text-theme-text-negative":""}`,onClick:()=>u(t),disabled:t===s,children:t},t)))}return n};return e.jsx("nav",{role:"navigation","aria-label":"Pagination Navigation",children:e.jsxs("ul",{className:"flex gap-1",children:[e.jsx("li",{children:e.jsx(h,{disabled:s===1,onClick:()=>u(1),"aria-label":"Go to first page",children:e.jsx(P,{className:"h-4 w-4 group-disabled/button:fill-neutral-300"})})}),e.jsx("li",{children:e.jsx(h,{disabled:s===1,onClick:()=>u(s-1),"aria-label":"Go to previous page",children:e.jsx(R,{className:"h-4 w-4 group-disabled/button:fill-neutral-300"})})}),f().map((n,o)=>e.jsx("li",{children:n},o)),e.jsx("li",{children:e.jsx(h,{disabled:s===d,onClick:()=>u(s+1),"aria-label":"Go to next page",children:e.jsx(S,{className:"h-4 w-4 group-disabled/button:fill-neutral-300"})})}),e.jsx("li",{children:e.jsx(h,{disabled:s===d,onClick:()=>u(d),"aria-label":"Go to last page",children:e.jsx(w,{className:"h-4 w-4 group-disabled/button:fill-neutral-300"})})})]})})}function x(){return e.jsx("div",{className:"flex h-[36px] w-[36px] items-center justify-center rounded-sm border border-theme-border-moderate",children:e.jsx(C,{className:"h-4 w-4"})})}const h=l.forwardRef(({className:a,...c},i)=>e.jsx("button",{...c,ref:i,className:j("group/button flex h-[36px] w-[36px] items-center justify-center rounded-sm border border-neutral-300 hover:bg-neutral-200 active:border-neutral-400 active:bg-neutral-300 disabled:pointer-events-none disabled:bg-theme-surface-primary ",a)}));h.displayName="PaginationButton";const y=a=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...a},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 4C7.13401 4 4 7.13401 4 11C4 14.866 7.13401 18 11 18C12.8859 18 14.5977 17.2542 15.8564 16.0414C15.8827 16.0072 15.9115 15.9742 15.9429 15.9429C15.9742 15.9115 16.0072 15.8827 16.0414 15.8564C17.2542 14.5977 18 12.8859 18 11C18 7.13401 14.866 4 11 4ZM18.0319 16.6177C19.2635 15.078 20 13.125 20 11C20 6.02944 15.9706 2 11 2C6.02944 2 2 6.02944 2 11C2 15.9706 6.02944 20 11 20C13.125 20 15.078 19.2635 16.6177 18.0319L20.2929 21.7071C20.6834 22.0976 21.3166 22.0976 21.7071 21.7071C22.0976 21.3166 22.0976 20.6834 21.7071 20.2929L18.0319 16.6177Z"})),k=["equals:","contains:","startswith:","endswith:","gte:","gt:","lte:","lt:"];function B(a){const c=k.find(i=>a.startsWith(i));return c?a.slice(c.length):a}const M=l.forwardRef(({searchParams:a,searchContains:c=!0,inMemoryHandler:i,...g},s)=>{const d=v(),[u]=N(),[f,n]=l.useState(B(a.name||"")||""),o=l.useMemo(()=>L(p,500),[]);l.useEffect(()=>()=>{o.cancel()},[o]);function p(t){if(i){i(t);return}const r=new URLSearchParams({...Object.fromEntries(u),...b(a)});r.delete("logical_operator"),t?(r.set("name",c?`contains:${t}`:`${t}`),r.set("operator","or"),r.set("page","1")):(r.delete("name"),r.delete("operator")),d(`?${r.toString()}`,{preventScrollReset:!0,replace:!0})}function m(t){const{value:r}=t.target;n(r),o(r)}return e.jsxs("div",{className:"relative",children:[e.jsx(E,{className:"pl-[36px]",...g,ref:s,value:f,onChange:m,placeholder:"Search...",inputSize:"md"}),e.jsx("div",{className:"absolute inset-y-0 left-0 flex items-center pl-1",children:e.jsx(y,{className:"size-4 fill-neutral-400"})})]})});M.displayName="SearchField";export{D as P,M as S};
@@ -1 +1 @@
1
- import{r as y,j as e}from"./@radix-DeK6qiuw.js";import{S as M}from"./plus-tf1V2hTJ.js";import{S as $}from"./trash-arLUMWMS.js";import{q as T,b as Q,a as z,c as L}from"./@tanstack-DT5WLu9C.js";import{p as C,q as w,k as g,s as v,F as N,z as c,af as Z,ag as G,ah as O,i as R,I as f,f as h,ak as B,al as H,am as U,T as J,E as X,G as _,X as W,H as Y}from"./index-CxO6541P.js";import{o as I}from"./url-BWJXzuI4.js";import{t as ee}from"./zod-BwEbpOxH.js";import{u as se,a as te,C as p}from"./index.esm-Dy6Z9Ung.js";import{C as ae}from"./CodeSnippet-Qh1ae_DJ.js";async function re({params:s}){const i=C(w.secrets.all+"?"+I(s)),t=await g(i,{method:"GET",headers:{"Content-Type":"application/json"}});if(t.status===404&&v(),!t.ok){const l=await t.json().then(n=>Array.isArray(n.detail)?n.detail[1]:n.detail).catch(()=>"Failed to fetch secrets");throw new N({status:t.status,statusText:t.statusText,message:l})}return t.json()}async function ie(s){const i=C(w.secrets.detail(s)),t=await g(i,{method:"GET",headers:{"Content-Type":"application/json"}});if(t.status===404&&v(),!t.ok){const l=await t.json().then(n=>Array.isArray(n.detail)?n.detail[1]:n.detail).catch(()=>`Failed to fetch secret ${s}`);throw new N({status:t.status,statusText:t.statusText,message:l})}return t.json()}const j={all:["secrets"],secretList:s=>T({queryKey:[...j.all,s],queryFn:async()=>re({params:s})}),secretDetail:s=>T({queryKey:[...j.all,s],queryFn:async()=>ie(s)})},le=s=>y.createElement("svg",{viewBox:"0 0 20 14",fill:"black",xmlns:"http://www.w3.org/2000/svg",...s},y.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.29898 3.86908C4.04374 4.91672 3.16532 6.14781 2.72143 6.85066C2.69198 6.89729 2.67138 6.92996 2.65417 6.95831C2.64281 6.97702 2.63531 6.98996 2.63029 6.99898C2.63029 6.99932 2.63029 6.99966 2.63029 6.99999C2.63029 7.00033 2.63029 7.00067 2.63029 7.001C2.63531 7.01003 2.64281 7.02297 2.65417 7.04168C2.67138 7.07003 2.69198 7.1027 2.72143 7.14933C3.16532 7.85218 4.04374 9.08327 5.29898 10.1309C6.55226 11.1769 8.13098 12 10.0004 12C11.8699 12 13.4486 11.1769 14.7019 10.1309C15.9571 9.08327 16.8355 7.85218 17.2794 7.14933C17.3089 7.1027 17.3295 7.07003 17.3467 7.04168C17.358 7.02297 17.3655 7.01002 17.3705 7.001C17.3705 7.00067 17.3705 7.00033 17.3705 6.99999C17.3705 6.99966 17.3705 6.99932 17.3705 6.99899C17.3655 6.98997 17.358 6.97702 17.3467 6.95831C17.3295 6.92996 17.3089 6.89729 17.2794 6.85066C16.8355 6.14781 15.9571 4.91672 14.7019 3.86908C13.4486 2.82308 11.8699 1.99999 10.0004 1.99999C8.13097 1.99999 6.55226 2.82308 5.29898 3.86908ZM4.23104 2.58952C5.67154 1.38726 7.61569 0.333328 10.0004 0.333328C12.3851 0.333328 14.3293 1.38726 15.7698 2.58952C17.2083 3.79014 18.1946 5.17857 18.6886 5.9607C18.6951 5.97104 18.7018 5.98159 18.7086 5.99236C18.8067 6.14664 18.9339 6.34696 18.9983 6.62764C19.0502 6.85426 19.0502 7.14573 18.9983 7.37235C18.9339 7.65303 18.8067 7.85335 18.7086 8.00763C18.7018 8.01841 18.6951 8.02895 18.6886 8.03929C18.1946 8.82142 17.2083 10.2098 15.7698 11.4105C14.3293 12.6127 12.3851 13.6667 10.0004 13.6667C7.61569 13.6667 5.67154 12.6127 4.23104 11.4105C2.7925 10.2098 1.80622 8.82142 1.31227 8.03929C1.30574 8.02895 1.29904 8.01841 1.2922 8.00764C1.19418 7.85335 1.06692 7.65303 1.00258 7.37235C0.950637 7.14573 0.950637 6.85426 1.00258 6.62764C1.06692 6.34696 1.19418 6.14664 1.2922 5.99235C1.29904 5.98158 1.30574 5.97104 1.31227 5.9607C1.80622 5.17857 2.7925 3.79014 4.23104 2.58952ZM10.0004 5.33333C9.07994 5.33333 8.33375 6.07952 8.33375 6.99999C8.33375 7.92047 9.07994 8.66666 10.0004 8.66666C10.9209 8.66666 11.6671 7.92047 11.6671 6.99999C11.6671 6.07952 10.9209 5.33333 10.0004 5.33333ZM6.66708 6.99999C6.66708 5.15905 8.15947 3.66666 10.0004 3.66666C11.8414 3.66666 13.3338 5.15905 13.3338 6.99999C13.3338 8.84094 11.8414 10.3333 10.0004 10.3333C8.15947 10.3333 6.66708 8.84094 6.66708 6.99999Z"})),ne=c.object({secretName:c.string().min(1,"Secret Name is required"),keysValues:c.array(c.object({key:c.string().min(1,"Key is required"),value:c.string().min(1,"Value is required"),showPassword:c.boolean().optional()}))});async function oe(s,i){const t=C(w.secrets.detail(s)),l=await g(t,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)});if(l.status===404&&v(),!l.ok)throw new N({message:"Error updating secret",status:l.status,statusText:l.statusText});return l.json()}function ce(s){return Q({mutationFn:async({id:i,body:t})=>oe(i,t),...s})}function we({secretId:s,isSecretNameEditable:i,dialogTitle:t}){return e.jsxs(Z,{className:"mx-auto w-[90vw] max-w-[744px]",children:[e.jsx(G,{children:e.jsx(O,{children:t})}),e.jsx(ue,{secretId:s,isSecretNameEditable:i})]})}function ue({secretId:s,isSecretNameEditable:i}){const{data:t,isLoading:l,isError:n}=z({...j.secretDetail(s)}),{handleSubmit:E,control:u,setValue:m,watch:b,formState:{isValid:V}}=se({resolver:ee(ne),defaultValues:{secretName:"",keysValues:[{key:"",value:""}]}}),{fields:x,append:q,remove:D}=te({control:u,name:"keysValues"});y.useEffect(()=>{var a;t&&(m("secretName",t.name),m("keysValues",Object.entries(((a=t.body)==null?void 0:a.values)||{}).map(([r,o])=>({key:r,value:String(o)}))))},[t,m]);const F=()=>{q({key:"",value:"",showPassword:!1})},{toast:k}=R(),S=L(),{mutate:P}=ce({onError(a){U(a)&&k({status:"error",emphasis:"subtle",description:a.message,rounded:!0})},onSuccess(){k({status:"success",emphasis:"subtle",description:"Secret updated successfull",rounded:!0}),S.invalidateQueries({queryKey:["secrets"]}),S.invalidateQueries({queryKey:["secretDetail",s]})}}),K=a=>{const r={name:a.secretName,scope:"workspace",values:a.keysValues.reduce((o,d)=>(d.key&&d.value&&(o[d.key]=d.value),o),{})};P({id:s,body:r})},A=a=>{const r=b(`keysValues.${a}.showPassword`);m(`keysValues.${a}.showPassword`,!r)};return l?e.jsx("p",{children:"Loading..."}):n?e.jsx("p",{children:"Error fetching secret details."}):e.jsxs(e.Fragment,{children:[e.jsx("form",{id:"edit-secret-form",className:"gap-5 p-5",onSubmit:E(K),children:e.jsxs("div",{className:"space-y-0.5",children:[e.jsxs("div",{className:"space-y-0.5",children:[e.jsxs("label",{className:"font-inter text-sm text-left font-medium leading-5",children:["Secret Name",e.jsx("span",{className:"ml-1 text-theme-text-error",children:"*"})]}),e.jsx(p,{name:"secretName",control:u,render:({field:a})=>e.jsx(f,{...a,className:"mb-3 w-full",required:!0,disabled:!i})})]}),e.jsxs("div",{className:"mt-10",children:[e.jsx("div",{children:e.jsx("h1",{className:"font-inter text-lg text-left font-semibold",children:"Keys"})}),e.jsxs("div",{className:"mt-5 flex flex-row",children:[e.jsx("div",{className:"flex-grow",children:e.jsx("label",{className:"font-inter text-sm text-left font-medium",children:"Key"})}),e.jsx("div",{className:"flex-grow pr-12",children:e.jsx("label",{className:"font-inter text-sm text-left font-medium",children:"Value"})})]})]}),x.map((a,r)=>e.jsxs("div",{className:"flex flex-row items-center space-x-1",children:[e.jsx("div",{className:"relative flex-grow",children:e.jsx(p,{name:`keysValues.${r}.key`,control:u,render:({field:o})=>e.jsx(f,{...o,className:"mb-2 w-full",required:!0,placeholder:"key"})})}),e.jsx("div",{className:"relative flex-grow",children:e.jsxs("div",{className:"relative",children:[e.jsx(p,{name:`keysValues.${r}.value`,control:u,render:({field:o})=>e.jsx(f,{...o,className:"mb-2 w-full pr-10",required:!0,placeholder:"•••••••••",type:b(`keysValues.${r}.showPassword`)?"text":"password"})}),e.jsx("button",{type:"button",onClick:()=>A(r),className:"absolute inset-y-1 right-0 flex items-center pb-1 pr-3",children:e.jsx(le,{className:"h-4 w-4 flex-shrink-0"})})]})}),e.jsxs("div",{className:"flex items-center",children:[r===x.length-1&&e.jsx(h,{intent:"primary",emphasis:"subtle",onClick:F,className:"mb-2 flex h-7 w-7 items-center justify-center",children:e.jsx(M,{className:"flex-shrink-0 fill-primary-600"})}),r!==x.length-1&&e.jsx(h,{intent:"secondary",emphasis:"minimal",onClick:()=>D(r),className:"mb-2 h-7 w-7 items-center justify-center",children:e.jsx($,{className:"flex-shrink-0 fill-theme-text-secondary"})})]})]},a.id))]})}),e.jsxs(B,{className:"gap-[10px]",children:[e.jsx(H,{asChild:!0,children:e.jsx(h,{size:"sm",intent:"secondary",children:"Cancel"})}),e.jsx(h,{intent:"primary",type:"submit",form:"edit-secret-form",disabled:!V,children:"Save Secret"})]})]})}function ge({code:s}){return e.jsx(J,{children:e.jsxs(X,{children:[e.jsx(_,{children:e.jsx(W,{className:"h-4 w-4 shrink-0 fill-theme-text-tertiary"})}),e.jsxs(Y,{className:"z-50 flex max-w-[480px] flex-col gap-2 bg-theme-surface-primary p-5 text-text-sm text-theme-text-primary",children:[e.jsx("p",{className:"text-md text-theme-text-primary",children:"To use your secret in a step, you can use the following code:"}),e.jsx(ae,{highlightCode:!0,wrap:!0,codeClasses:"break-words",code:s}),e.jsx("a",{className:"link w-fit text-primary-400",target:"_blank",href:"https://docs.zenml.io/how-to/interact-with-secrets#accessing-registered-secrets",children:"Learn More"})]})]})})}export{we as E,le as S,ge as a,j as b,ne as s,ce as u};
1
+ import{r as y,j as e}from"./@radix-B7OY3d6N.js";import{S as M}from"./plus-noRapLU5.js";import{S as $}from"./trash-Dm8g1gZ8.js";import{q as T,b as Q,a as z,c as L}from"./@tanstack-W1pLDzVg.js";import{p as C,q as w,k as g,s as v,F as N,z as c,af as Z,ag as G,ah as O,i as R,I as f,f as h,ak as B,al as H,am as U,T as J,E as X,G as _,X as W,H as Y}from"./index-D25WcEJJ.js";import{o as I}from"./url-1R6qfphK.js";import{t as ee}from"./zod-C2FdaFLe.js";import{u as se,a as te,C as p}from"./index.esm-C5jC4e7W.js";import{C as ae}from"./CodeSnippet-CK2z-88v.js";async function re({params:s}){const i=C(w.secrets.all+"?"+I(s)),t=await g(i,{method:"GET",headers:{"Content-Type":"application/json"}});if(t.status===404&&v(),!t.ok){const l=await t.json().then(n=>Array.isArray(n.detail)?n.detail[1]:n.detail).catch(()=>"Failed to fetch secrets");throw new N({status:t.status,statusText:t.statusText,message:l})}return t.json()}async function ie(s){const i=C(w.secrets.detail(s)),t=await g(i,{method:"GET",headers:{"Content-Type":"application/json"}});if(t.status===404&&v(),!t.ok){const l=await t.json().then(n=>Array.isArray(n.detail)?n.detail[1]:n.detail).catch(()=>`Failed to fetch secret ${s}`);throw new N({status:t.status,statusText:t.statusText,message:l})}return t.json()}const j={all:["secrets"],secretList:s=>T({queryKey:[...j.all,s],queryFn:async()=>re({params:s})}),secretDetail:s=>T({queryKey:[...j.all,s],queryFn:async()=>ie(s)})},le=s=>y.createElement("svg",{viewBox:"0 0 20 14",fill:"black",xmlns:"http://www.w3.org/2000/svg",...s},y.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.29898 3.86908C4.04374 4.91672 3.16532 6.14781 2.72143 6.85066C2.69198 6.89729 2.67138 6.92996 2.65417 6.95831C2.64281 6.97702 2.63531 6.98996 2.63029 6.99898C2.63029 6.99932 2.63029 6.99966 2.63029 6.99999C2.63029 7.00033 2.63029 7.00067 2.63029 7.001C2.63531 7.01003 2.64281 7.02297 2.65417 7.04168C2.67138 7.07003 2.69198 7.1027 2.72143 7.14933C3.16532 7.85218 4.04374 9.08327 5.29898 10.1309C6.55226 11.1769 8.13098 12 10.0004 12C11.8699 12 13.4486 11.1769 14.7019 10.1309C15.9571 9.08327 16.8355 7.85218 17.2794 7.14933C17.3089 7.1027 17.3295 7.07003 17.3467 7.04168C17.358 7.02297 17.3655 7.01002 17.3705 7.001C17.3705 7.00067 17.3705 7.00033 17.3705 6.99999C17.3705 6.99966 17.3705 6.99932 17.3705 6.99899C17.3655 6.98997 17.358 6.97702 17.3467 6.95831C17.3295 6.92996 17.3089 6.89729 17.2794 6.85066C16.8355 6.14781 15.9571 4.91672 14.7019 3.86908C13.4486 2.82308 11.8699 1.99999 10.0004 1.99999C8.13097 1.99999 6.55226 2.82308 5.29898 3.86908ZM4.23104 2.58952C5.67154 1.38726 7.61569 0.333328 10.0004 0.333328C12.3851 0.333328 14.3293 1.38726 15.7698 2.58952C17.2083 3.79014 18.1946 5.17857 18.6886 5.9607C18.6951 5.97104 18.7018 5.98159 18.7086 5.99236C18.8067 6.14664 18.9339 6.34696 18.9983 6.62764C19.0502 6.85426 19.0502 7.14573 18.9983 7.37235C18.9339 7.65303 18.8067 7.85335 18.7086 8.00763C18.7018 8.01841 18.6951 8.02895 18.6886 8.03929C18.1946 8.82142 17.2083 10.2098 15.7698 11.4105C14.3293 12.6127 12.3851 13.6667 10.0004 13.6667C7.61569 13.6667 5.67154 12.6127 4.23104 11.4105C2.7925 10.2098 1.80622 8.82142 1.31227 8.03929C1.30574 8.02895 1.29904 8.01841 1.2922 8.00764C1.19418 7.85335 1.06692 7.65303 1.00258 7.37235C0.950637 7.14573 0.950637 6.85426 1.00258 6.62764C1.06692 6.34696 1.19418 6.14664 1.2922 5.99235C1.29904 5.98158 1.30574 5.97104 1.31227 5.9607C1.80622 5.17857 2.7925 3.79014 4.23104 2.58952ZM10.0004 5.33333C9.07994 5.33333 8.33375 6.07952 8.33375 6.99999C8.33375 7.92047 9.07994 8.66666 10.0004 8.66666C10.9209 8.66666 11.6671 7.92047 11.6671 6.99999C11.6671 6.07952 10.9209 5.33333 10.0004 5.33333ZM6.66708 6.99999C6.66708 5.15905 8.15947 3.66666 10.0004 3.66666C11.8414 3.66666 13.3338 5.15905 13.3338 6.99999C13.3338 8.84094 11.8414 10.3333 10.0004 10.3333C8.15947 10.3333 6.66708 8.84094 6.66708 6.99999Z"})),ne=c.object({secretName:c.string().min(1,"Secret Name is required"),keysValues:c.array(c.object({key:c.string().min(1,"Key is required"),value:c.string().min(1,"Value is required"),showPassword:c.boolean().optional()}))});async function oe(s,i){const t=C(w.secrets.detail(s)),l=await g(t,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)});if(l.status===404&&v(),!l.ok)throw new N({message:"Error updating secret",status:l.status,statusText:l.statusText});return l.json()}function ce(s){return Q({mutationFn:async({id:i,body:t})=>oe(i,t),...s})}function we({secretId:s,isSecretNameEditable:i,dialogTitle:t}){return e.jsxs(Z,{className:"mx-auto w-[90vw] max-w-[744px]",children:[e.jsx(G,{children:e.jsx(O,{children:t})}),e.jsx(ue,{secretId:s,isSecretNameEditable:i})]})}function ue({secretId:s,isSecretNameEditable:i}){const{data:t,isLoading:l,isError:n}=z({...j.secretDetail(s)}),{handleSubmit:E,control:u,setValue:m,watch:b,formState:{isValid:V}}=se({resolver:ee(ne),defaultValues:{secretName:"",keysValues:[{key:"",value:""}]}}),{fields:x,append:q,remove:D}=te({control:u,name:"keysValues"});y.useEffect(()=>{var a;t&&(m("secretName",t.name),m("keysValues",Object.entries(((a=t.body)==null?void 0:a.values)||{}).map(([r,o])=>({key:r,value:String(o)}))))},[t,m]);const F=()=>{q({key:"",value:"",showPassword:!1})},{toast:k}=R(),S=L(),{mutate:P}=ce({onError(a){U(a)&&k({status:"error",emphasis:"subtle",description:a.message,rounded:!0})},onSuccess(){k({status:"success",emphasis:"subtle",description:"Secret updated successfull",rounded:!0}),S.invalidateQueries({queryKey:["secrets"]}),S.invalidateQueries({queryKey:["secretDetail",s]})}}),K=a=>{const r={name:a.secretName,scope:"workspace",values:a.keysValues.reduce((o,d)=>(d.key&&d.value&&(o[d.key]=d.value),o),{})};P({id:s,body:r})},A=a=>{const r=b(`keysValues.${a}.showPassword`);m(`keysValues.${a}.showPassword`,!r)};return l?e.jsx("p",{children:"Loading..."}):n?e.jsx("p",{children:"Error fetching secret details."}):e.jsxs(e.Fragment,{children:[e.jsx("form",{id:"edit-secret-form",className:"gap-5 p-5",onSubmit:E(K),children:e.jsxs("div",{className:"space-y-0.5",children:[e.jsxs("div",{className:"space-y-0.5",children:[e.jsxs("label",{className:"font-inter text-sm text-left font-medium leading-5",children:["Secret Name",e.jsx("span",{className:"ml-1 text-theme-text-error",children:"*"})]}),e.jsx(p,{name:"secretName",control:u,render:({field:a})=>e.jsx(f,{...a,className:"mb-3 w-full",required:!0,disabled:!i})})]}),e.jsxs("div",{className:"mt-10",children:[e.jsx("div",{children:e.jsx("h1",{className:"font-inter text-lg text-left font-semibold",children:"Keys"})}),e.jsxs("div",{className:"mt-5 flex flex-row",children:[e.jsx("div",{className:"flex-grow",children:e.jsx("label",{className:"font-inter text-sm text-left font-medium",children:"Key"})}),e.jsx("div",{className:"flex-grow pr-12",children:e.jsx("label",{className:"font-inter text-sm text-left font-medium",children:"Value"})})]})]}),x.map((a,r)=>e.jsxs("div",{className:"flex flex-row items-center space-x-1",children:[e.jsx("div",{className:"relative flex-grow",children:e.jsx(p,{name:`keysValues.${r}.key`,control:u,render:({field:o})=>e.jsx(f,{...o,className:"mb-2 w-full",required:!0,placeholder:"key"})})}),e.jsx("div",{className:"relative flex-grow",children:e.jsxs("div",{className:"relative",children:[e.jsx(p,{name:`keysValues.${r}.value`,control:u,render:({field:o})=>e.jsx(f,{...o,className:"mb-2 w-full pr-10",required:!0,placeholder:"•••••••••",type:b(`keysValues.${r}.showPassword`)?"text":"password"})}),e.jsx("button",{type:"button",onClick:()=>A(r),className:"absolute inset-y-1 right-0 flex items-center pb-1 pr-3",children:e.jsx(le,{className:"h-4 w-4 flex-shrink-0"})})]})}),e.jsxs("div",{className:"flex items-center",children:[r===x.length-1&&e.jsx(h,{intent:"primary",emphasis:"subtle",onClick:F,className:"mb-2 flex h-7 w-7 items-center justify-center",children:e.jsx(M,{className:"flex-shrink-0 fill-primary-600"})}),r!==x.length-1&&e.jsx(h,{intent:"secondary",emphasis:"minimal",onClick:()=>D(r),className:"mb-2 h-7 w-7 items-center justify-center",children:e.jsx($,{className:"flex-shrink-0 fill-theme-text-secondary"})})]})]},a.id))]})}),e.jsxs(B,{className:"gap-[10px]",children:[e.jsx(H,{asChild:!0,children:e.jsx(h,{size:"sm",intent:"secondary",children:"Cancel"})}),e.jsx(h,{intent:"primary",type:"submit",form:"edit-secret-form",disabled:!V,children:"Save Secret"})]})]})}function ge({code:s}){return e.jsx(J,{children:e.jsxs(X,{children:[e.jsx(_,{children:e.jsx(W,{className:"h-4 w-4 shrink-0 fill-theme-text-tertiary"})}),e.jsxs(Y,{className:"z-50 flex max-w-[480px] flex-col gap-2 bg-theme-surface-primary p-5 text-text-sm text-theme-text-primary",children:[e.jsx("p",{className:"text-md text-theme-text-primary",children:"To use your secret in a step, you can use the following code:"}),e.jsx(ae,{highlightCode:!0,wrap:!0,codeClasses:"break-words",code:s}),e.jsx("a",{className:"link w-fit text-primary-400",target:"_blank",href:"https://docs.zenml.io/how-to/interact-with-secrets#accessing-registered-secrets",children:"Learn More"})]})]})})}export{we as E,le as S,ge as a,j as b,ne as s,ce as u};
@@ -1 +1 @@
1
- import{j as s}from"./@radix-DeK6qiuw.js";import{I as a,f as p}from"./index-CxO6541P.js";import{u as w}from"./index.esm-Dy6Z9Ung.js";import{t as u}from"./zod-BwEbpOxH.js";import{P as f}from"./PasswordChecker-B0nadgh6.js";import{g as h}from"./form-schemas-B6PCV3Y4.js";function b({displayUsername:r=!1,submitHandler:l,headline:o="Create your password",subHeadine:c="Select a password for your account"}){var t;const{register:e,watch:m,handleSubmit:d,formState:{isValid:i,errors:n}}=w({resolver:u(h(r)),mode:"onChange",criteriaMode:"all",defaultValues:{username:""}}),x=(t=n.newPassword)==null?void 0:t.types;return s.jsxs("div",{className:"space-y-5",children:[s.jsxs("div",{children:[s.jsx("h1",{className:"text-display-xs font-semibold",children:o}),s.jsx("p",{className:"text-theme-text-secondary",children:c})]}),s.jsxs("form",{onSubmit:d(l),className:"space-y-5",children:[s.jsx("div",{className:"space-y-2",children:r&&s.jsxs("div",{className:"space-y-0.5",children:[s.jsx("label",{className:"text-text-sm",children:"Username"}),s.jsx(a,{...e("username"),className:"w-full"})]})}),s.jsxs("div",{className:"space-y-0.5",children:[s.jsx("label",{className:"text-text-sm",children:"New Password"}),s.jsx(a,{...e("newPassword"),type:"password",className:"w-full"})]}),s.jsxs("div",{className:"space-y-0.5",children:[s.jsx("label",{className:"text-text-sm",children:"Confirm Password"}),s.jsx(a,{...e("confirmPassword"),type:"password",className:"w-full"})]}),s.jsx(f,{val:m("newPassword"),errors:x||[]}),s.jsx(p,{disabled:!i,className:"w-full text-center",size:"md",children:s.jsx("span",{className:"w-full",children:"Continue"})})]})]})}export{b as S};
1
+ import{j as s}from"./@radix-B7OY3d6N.js";import{I as a,f as p}from"./index-D25WcEJJ.js";import{u as w}from"./index.esm-C5jC4e7W.js";import{t as u}from"./zod-C2FdaFLe.js";import{P as f}from"./PasswordChecker-Xh6Egpx9.js";import{g as h}from"./form-schemas-B4cZxcUy.js";function b({displayUsername:r=!1,submitHandler:l,headline:o="Create your password",subHeadine:c="Select a password for your account"}){var t;const{register:e,watch:m,handleSubmit:d,formState:{isValid:i,errors:n}}=w({resolver:u(h(r)),mode:"onChange",criteriaMode:"all",defaultValues:{username:""}}),x=(t=n.newPassword)==null?void 0:t.types;return s.jsxs("div",{className:"space-y-5",children:[s.jsxs("div",{children:[s.jsx("h1",{className:"text-display-xs font-semibold",children:o}),s.jsx("p",{className:"text-theme-text-secondary",children:c})]}),s.jsxs("form",{onSubmit:d(l),className:"space-y-5",children:[s.jsx("div",{className:"space-y-2",children:r&&s.jsxs("div",{className:"space-y-0.5",children:[s.jsx("label",{className:"text-text-sm",children:"Username"}),s.jsx(a,{...e("username"),className:"w-full"})]})}),s.jsxs("div",{className:"space-y-0.5",children:[s.jsx("label",{className:"text-text-sm",children:"New Password"}),s.jsx(a,{...e("newPassword"),type:"password",className:"w-full"})]}),s.jsxs("div",{className:"space-y-0.5",children:[s.jsx("label",{className:"text-text-sm",children:"Confirm Password"}),s.jsx(a,{...e("confirmPassword"),type:"password",className:"w-full"})]}),s.jsx(f,{val:m("newPassword"),errors:x||[]}),s.jsx(p,{disabled:!i,className:"w-full text-center",size:"md",children:s.jsx("span",{className:"w-full",children:"Continue"})})]})]})}export{b as S};
@@ -1 +1 @@
1
- import{j as e,r as l}from"./@radix-DeK6qiuw.js";import{S as I}from"./plus-tf1V2hTJ.js";import{S as z}from"./refresh-BjOeWlEq.js";import{S as O,P as R}from"./SearchField-Yjv-KRW4.js";import{s as g}from"./index-Ceyzb1yI.js";import{z as u,W as F,Z as L,$ as q,a0 as M,S as h,A as k,b as D,B as U,r as p,a7 as _,af as B,ag as H,ah as $,F as Q,p as W,q as G,i as K,j as Z,an as J,ao as V,ap as X,aq as Y,f,D as v,w as ee,x as se,as as te,L as ae}from"./index-CxO6541P.js";import{a as w,b as re,c as ne}from"./@tanstack-DT5WLu9C.js";import{c as ie,L as N,b as le}from"./@react-router-B3Z5rLr2.js";import{C as j}from"./CopyButton-DCiXO3JC.js";import{D as ce}from"./DisplayDate-CDMUcQHS.js";import{I as oe}from"./InlineAvatar-CQNjKoEQ.js";import{C as b}from"./CodeSnippet-Qh1ae_DJ.js";import{C as de}from"./CollapsibleCard-TiI4lId1.js";import{S as me}from"./chevron-right-double-D7ojK9Co.js";import{e as S}from"./components-Br2ezRib.js";import{s as xe}from"./url-BWJXzuI4.js";import{N as C}from"./NumberBox-Dtp3J6g5.js";import{C as ue}from"./ComponentBadge-BqQNUZgb.js";import{S as he}from"./dots-horizontal-otGBOSDJ.js";import{D as pe,S as fe}from"./DialogItem-BYG7d_M2.js";import{S as je}from"./trash-arLUMWMS.js";import{I as ge}from"./Infobox-OQdkCLSP.js";import{A as ye}from"./AlertDialogDropdownItem-8yPFDxEI.js";const y=1,Ne=u.object({page:u.coerce.number().min(y).optional().default(y).catch(y),name:u.string().optional(),operator:u.enum(["and","or"]).optional()});function be(){const[t]=ie(),{page:s,name:a,operator:r}=Ne.parse({page:t.get("page")||void 0,name:t.get("name")||void 0});return{page:s,name:a,logical_operator:r}}function we(){return e.jsx("div",{className:"flex h-9 items-center border-b border-theme-border-moderate bg-theme-surface-primary px-4 py-3",children:e.jsxs(F,{className:"focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:pointer-events-none",children:[e.jsx(me,{className:"h-5 w-5 fill-neutral-500"}),e.jsx("span",{className:"sr-only",children:"Close"})]})})}const A=l.createContext(null);function ve({children:t}){const[s,a]=l.useState([]);return e.jsx(A.Provider,{value:{integrations:s,setIntegrations:a},children:t})}function T(){const t=l.useContext(A);if(t===null)throw new Error("useIntegrationsContext must be used within an AuthProvider");return t}function Se({children:t,stackId:s,stackName:a}){return e.jsxs(L,{children:[e.jsx(q,{children:t}),e.jsx(M,{className:"w-[1000px] overflow-y-auto",children:e.jsxs(ve,{children:[e.jsx(we,{}),e.jsx(Ce,{stackId:s}),e.jsx(Ae,{name:a}),e.jsx(ke,{stackId:s})]})})]})}function Ce({stackId:t}){const s=w({...g.stackDetail(t)});return s.isError?null:s.isPending?e.jsx("div",{className:"p-5",children:e.jsx(h,{className:"h-6 w-full"})}):e.jsxs("div",{className:"flex items-center space-x-2 border-b border-theme-border-moderate bg-theme-surface-primary p-5",children:[e.jsx(k,{type:"square",size:"lg",children:e.jsx(D,{size:"lg",children:s.data.name[0]})}),e.jsxs("div",{children:[e.jsxs("div",{className:"group/copybutton flex items-center gap-0.5",children:[e.jsx("p",{className:"mb-0.5 text-text-sm text-theme-text-secondary",children:s.data.id}),e.jsx(j,{copyText:s.data.id})]}),e.jsx("div",{className:"flex items-center gap-1",children:e.jsx("h2",{className:"text-display-xs font-semibold",children:s.data.name})})]})]})}function ke({stackId:t}){var n;const{setIntegrations:s}=T(),a=w({...g.stackDetail(t)});if(l.useEffect(()=>{var d;if(!a.data)return;const c=S((d=a.data.metadata)==null?void 0:d.components).map(o=>{var m;return(m=o.body)==null?void 0:m.integration}).filter(o=>!!o&&o!=="built-in"&&o!=="custom");c.length>=1&&s(o=>Array.from(new Set([...o,...c])))},[a.data]),a.isError)return null;if(a.isPending)return e.jsx("div",{className:"p-5",children:e.jsx(h,{className:"h-[300px] w-full"})});const r=S((n=a.data.metadata)==null?void 0:n.components);return e.jsx("ul",{className:"space-y-5 p-5",children:r.map(i=>e.jsx("li",{children:e.jsx(De,{component:i})},i.id))})}function De({component:t}){var s,a,r,n;return e.jsxs(U,{className:"flex items-center justify-between p-5",children:[e.jsxs("div",{className:"flex items-center space-x-3",children:[e.jsx("img",{width:32,height:32,alt:`${(s=t.body)==null?void 0:s.flavor_name} logo`,src:xe(((a=t.body)==null?void 0:a.logo_url)||"")}),e.jsxs("div",{children:[e.jsx(N,{to:p.components.detail(t.id),className:"text-text-xl",children:t.name}),e.jsxs("div",{className:"group/copybutton flex items-center gap-0.5",children:[e.jsx("p",{className:"text-text-sm text-theme-text-secondary",children:t.id.split("-")[0]}),e.jsx(j,{copyText:t.id})]})]})]}),e.jsx(N,{to:p.components.overview,children:e.jsx(ue,{type:((r=t.body)==null?void 0:r.type)||"orchestrator",children:_(((n=t.body)==null?void 0:n.type)||"")})})]})}function Ae({name:t}){const{integrations:s}=T();return e.jsx("section",{className:"px-5 pt-5",children:e.jsx(de,{title:e.jsx("span",{className:"text-text-lg",children:"Set this stack"}),initialOpen:!0,children:e.jsxs("ul",{className:"space-y-5",children:[e.jsxs("li",{className:"space-y-2",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(C,{children:"1"}),e.jsx("p",{className:"font-semibold",children:"Set your stack"})]}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("p",{className:"text-text-sm text-theme-text-secondary",children:"Set the stack as active on your client"}),e.jsx(b,{codeClasses:"whitespace-pre-wrap",wrap:!0,code:`zenml stack set ${t}`})]})]}),s.length>=1&&e.jsxs("li",{className:"space-y-2",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(C,{children:"2"}),e.jsx("p",{className:"font-semibold",children:"Install the integrations"})]}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("p",{className:"text-text-sm text-theme-text-secondary",children:"Install the required integrations to run pipelines in your stack"}),e.jsx(b,{codeClasses:"whitespace-pre-wrap",wrap:!0,code:`zenml integration install ${s.join(" ")}`})]})]})]})})})}const P=l.forwardRef(({closeModal:t,name:s,...a},r)=>e.jsxs(B,{...a,ref:r,children:[e.jsx(H,{children:e.jsx($,{children:"Update Stack"})}),e.jsxs("div",{className:"space-y-5 p-7",children:[e.jsx(Te,{action:"update"}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("p",{className:"text-text-sm text-theme-text-secondary",children:"Update a stack"}),e.jsx(b,{codeClasses:"whitespace-pre-wrap",wrap:!0,code:`zenml stack update ${s} -o NEW_ORCHESTRATOR_NAME`})]})]})]}));P.displayName="UpdateStackDialog";function Te({action:t}){function s(){switch(t){case"delete":return"delete";case"update":return"update";case"describe":return"get details of"}}return e.jsx(ge,{children:e.jsx("div",{className:"flex w-full flex-wrap justify-between gap-2",children:e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"truncate text-text-sm font-semibold",children:"We are working on the new Stacks experience."}),e.jsxs("p",{className:"truncate text-text-sm",children:["Meanwhile you can use the CLI to ",s()," your stack."]})]})})})}async function Pe({stackId:t},s){const a=W(G.stacks.detail(t)),r=await fetch(a,{method:"DELETE",credentials:"include",headers:{"Content-Type":"application/json"}});if(!r.ok){const n=await r.json().then(i=>Array.isArray(i.detail)?i.detail[1]:i.detail).catch(()=>`Error while deleting stack ${t}`);throw new Q({status:r.status,statusText:r.statusText,message:n})}return r.json()}function Ee(t){return re({...t,mutationFn:async({stackId:s})=>Pe({stackId:s})})}function Ie(t){const{toast:s}=K(),a=ne(),r=le(),n=Ee({onSuccess:async()=>{a.invalidateQueries({queryKey:g.all}),r(p.stacks.overview)},onError:c=>{s({status:"error",emphasis:"subtle",icon:e.jsx(Z,{className:"h-5 w-5 shrink-0 fill-error-700"}),description:c.message,rounded:!0})}});function i(){n.mutate({stackId:t})}return{handleDelete:i,deleteStack:n}}const E=l.forwardRef(({closeModal:t,name:s,stackId:a,...r},n)=>{const{handleDelete:i,deleteStack:c}=Ie(a);return e.jsxs(J,{...r,className:"p-0",ref:n,children:[e.jsxs(V,{className:"m-0 py-2 pl-5 pr-3 text-text-lg font-semibold",children:["Delete ",s]}),e.jsx("div",{className:"border-y border-theme-border-moderate px-5 py-5",children:e.jsxs(X,{children:["Are you sure you want to delete this stack? ",e.jsx("br",{}),"This action cannot be undone."]})}),e.jsxs("div",{className:"flex justify-end gap-3 px-5 py-3",children:[e.jsx(Y,{onClick:()=>t==null?void 0:t(),asChild:!0,children:e.jsx(f,{intent:"secondary",children:"Cancel"})}),e.jsxs(f,{disabled:c.isPending,type:"button",onClick:()=>i(),intent:"danger",children:[c.isPending&&e.jsx("div",{role:"alert","aria-busy":"true",className:"full h-[20px] w-[20px] animate-spin rounded-rounded border-2 border-theme-text-negative border-b-theme-text-error"}),"Delete"]})]})]})});E.displayName="DeleteStackDialog";function ze({name:t,id:s}){const[a,r]=l.useState(!1),[n,i]=l.useState(!1),c=l.useRef(null),d=l.useRef(null);function o(){d.current=c.current}function m(x){r(x),x===!1&&i(!1)}return e.jsx(v,{open:n,onOpenChange:i,children:e.jsxs(v,{children:[e.jsx(ee,{className:"z-10",ref:c,children:e.jsx(he,{className:"h-5 w-5 fill-theme-text-secondary"})}),e.jsxs(se,{hidden:a,onCloseAutoFocus:x=>{d.current&&(d.current.focus(),d.current=null,x.preventDefault())},className:"z-10",align:"end",sideOffset:1,children:[e.jsx(pe,{onSelect:o,onOpenChange:m,icon:e.jsx(fe,{className:"h-3 w-3 !fill-neutral-400"}),triggerChildren:"Update",children:e.jsx(P,{name:t,className:"lg:min-w-[600px]",closeModal:()=>m(!1)})}),e.jsx(ye,{onSelect:o,onOpenChange:m,icon:e.jsx(je,{className:"h-3 w-3 !fill-neutral-400"}),triggerChildren:"Delete",children:e.jsx(E,{stackId:s,name:t,className:"lg:min-w-[600px]",closeModal:()=>m(!1)})})]})]})})}function Oe(){const t=[{id:"name",header:"Stack",accessorFn:s=>({name:s.name,id:s.id}),cell:({getValue:s})=>{const{name:a,id:r}=s();return e.jsxs("div",{className:"group/copybutton flex items-center gap-2",children:[e.jsx(k,{type:"square",size:"md",children:e.jsx(D,{size:"md",children:a[0]})}),e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx(Se,{stackName:a,stackId:r,children:e.jsx("h2",{className:"text-text-md font-semibold",children:a})}),e.jsx(j,{copyText:a})]}),e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx("p",{className:"text-text-xs text-theme-text-secondary",children:r.split("-")[0]}),e.jsx(j,{copyText:r})]})]})]})}},{id:"created",header:"Created at",accessorFn:s=>{var a;return(a=s.body)==null?void 0:a.created},cell:({getValue:s})=>e.jsx("p",{className:"text-text-sm text-theme-text-secondary",children:e.jsx(ce,{dateString:s()})})},{id:"author",header:"Author",accessorFn:s=>{var a;return{author:(a=s.body)==null?void 0:a.user}},cell:({getValue:s})=>{const{author:a}=s();return a?e.jsx(oe,{username:te(a)}):null}},{id:"actions",header:"",accessorFn:s=>({name:s.name,id:s.id}),cell:({getValue:s})=>{const{id:a,name:r}=s();return e.jsx(ze,{name:r,id:a})}}];return l.useMemo(()=>t,[])}function rs({fixedQueryParams:t={}}){const s=be(),a=Oe(),{refetch:r,data:n}=w({...g.stackList({...s,sort_by:"desc:updated",...t}),throwOnError:!0});return e.jsx("section",{children:e.jsxs("div",{className:"flex flex-col gap-5",children:[e.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-y-4",children:[e.jsx(O,{searchParams:s}),e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsxs(f,{intent:"primary",emphasis:"subtle",size:"md",onClick:()=>r(),children:[e.jsx(z,{className:"h-5 w-5 fill-theme-text-brand"}),"Refresh"]}),e.jsx(f,{size:"md",asChild:!0,children:e.jsxs(N,{to:p.stacks.create.index,children:[e.jsx(I,{className:"h-5 w-5 shrink-0 fill-white"}),e.jsx("span",{children:"New Stack"})]})})]})]}),e.jsxs("div",{className:"flex flex-col items-center gap-5",children:[e.jsx("div",{className:"w-full",children:n?e.jsx(ae,{columns:a,data:n.items}):e.jsx(h,{className:"h-[500px] w-full"})}),n?n.total_pages>1&&e.jsx(R,{searchParams:s,paginate:n}):e.jsx(h,{className:"h-[36px] w-[300px]"})]})]})})}export{rs as S};
1
+ import{j as e,r as l}from"./@radix-B7OY3d6N.js";import{S as I}from"./plus-noRapLU5.js";import{S as z}from"./refresh-Jr_advur.js";import{S as O,P as R}from"./SearchField-BYL1oNec.js";import{s as g}from"./index-BOeKQ3N4.js";import{z as u,W as F,Z as L,$ as q,a0 as M,S as h,A as k,b as D,B as U,r as p,a7 as _,af as B,ag as H,ah as $,F as Q,p as W,q as G,i as K,j as Z,an as J,ao as V,ap as X,aq as Y,f,D as v,w as ee,x as se,as as te,L as ae}from"./index-D25WcEJJ.js";import{a as w,b as re,c as ne}from"./@tanstack-W1pLDzVg.js";import{c as ie,L as N,b as le}from"./@react-router-CiF9laDg.js";import{C as j}from"./CopyButton-BQf5nLgq.js";import{D as ce}from"./DisplayDate-CZV8x8pB.js";import{I as oe}from"./InlineAvatar-B9O7QxVo.js";import{C as b}from"./CodeSnippet-CK2z-88v.js";import{C as de}from"./CollapsibleCard-BAuAdAje.js";import{S as me}from"./chevron-right-double-C5DtVuMS.js";import{e as S}from"./components-Br2ezRib.js";import{s as xe}from"./url-1R6qfphK.js";import{N as C}from"./NumberBox-CqUodACv.js";import{C as ue}from"./ComponentBadge-CNIM1NH_.js";import{S as he}from"./dots-horizontal-C6QCz7jg.js";import{D as pe,S as fe}from"./DialogItem-L8-LNKgK.js";import{S as je}from"./trash-Dm8g1gZ8.js";import{I as ge}from"./Infobox-Ls_918eD.js";import{A as ye}from"./AlertDialogDropdownItem-BS4AoVte.js";const y=1,Ne=u.object({page:u.coerce.number().min(y).optional().default(y).catch(y),name:u.string().optional(),operator:u.enum(["and","or"]).optional()});function be(){const[t]=ie(),{page:s,name:a,operator:r}=Ne.parse({page:t.get("page")||void 0,name:t.get("name")||void 0});return{page:s,name:a,logical_operator:r}}function we(){return e.jsx("div",{className:"flex h-9 items-center border-b border-theme-border-moderate bg-theme-surface-primary px-4 py-3",children:e.jsxs(F,{className:"focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:pointer-events-none",children:[e.jsx(me,{className:"h-5 w-5 fill-neutral-500"}),e.jsx("span",{className:"sr-only",children:"Close"})]})})}const A=l.createContext(null);function ve({children:t}){const[s,a]=l.useState([]);return e.jsx(A.Provider,{value:{integrations:s,setIntegrations:a},children:t})}function T(){const t=l.useContext(A);if(t===null)throw new Error("useIntegrationsContext must be used within an AuthProvider");return t}function Se({children:t,stackId:s,stackName:a}){return e.jsxs(L,{children:[e.jsx(q,{children:t}),e.jsx(M,{className:"w-[1000px] overflow-y-auto",children:e.jsxs(ve,{children:[e.jsx(we,{}),e.jsx(Ce,{stackId:s}),e.jsx(Ae,{name:a}),e.jsx(ke,{stackId:s})]})})]})}function Ce({stackId:t}){const s=w({...g.stackDetail(t)});return s.isError?null:s.isPending?e.jsx("div",{className:"p-5",children:e.jsx(h,{className:"h-6 w-full"})}):e.jsxs("div",{className:"flex items-center space-x-2 border-b border-theme-border-moderate bg-theme-surface-primary p-5",children:[e.jsx(k,{type:"square",size:"lg",children:e.jsx(D,{size:"lg",children:s.data.name[0]})}),e.jsxs("div",{children:[e.jsxs("div",{className:"group/copybutton flex items-center gap-0.5",children:[e.jsx("p",{className:"mb-0.5 text-text-sm text-theme-text-secondary",children:s.data.id}),e.jsx(j,{copyText:s.data.id})]}),e.jsx("div",{className:"flex items-center gap-1",children:e.jsx("h2",{className:"text-display-xs font-semibold",children:s.data.name})})]})]})}function ke({stackId:t}){var n;const{setIntegrations:s}=T(),a=w({...g.stackDetail(t)});if(l.useEffect(()=>{var d;if(!a.data)return;const c=S((d=a.data.metadata)==null?void 0:d.components).map(o=>{var m;return(m=o.body)==null?void 0:m.integration}).filter(o=>!!o&&o!=="built-in"&&o!=="custom");c.length>=1&&s(o=>Array.from(new Set([...o,...c])))},[a.data]),a.isError)return null;if(a.isPending)return e.jsx("div",{className:"p-5",children:e.jsx(h,{className:"h-[300px] w-full"})});const r=S((n=a.data.metadata)==null?void 0:n.components);return e.jsx("ul",{className:"space-y-5 p-5",children:r.map(i=>e.jsx("li",{children:e.jsx(De,{component:i})},i.id))})}function De({component:t}){var s,a,r,n;return e.jsxs(U,{className:"flex items-center justify-between p-5",children:[e.jsxs("div",{className:"flex items-center space-x-3",children:[e.jsx("img",{width:32,height:32,alt:`${(s=t.body)==null?void 0:s.flavor_name} logo`,src:xe(((a=t.body)==null?void 0:a.logo_url)||"")}),e.jsxs("div",{children:[e.jsx(N,{to:p.components.detail(t.id),className:"text-text-xl",children:t.name}),e.jsxs("div",{className:"group/copybutton flex items-center gap-0.5",children:[e.jsx("p",{className:"text-text-sm text-theme-text-secondary",children:t.id.split("-")[0]}),e.jsx(j,{copyText:t.id})]})]})]}),e.jsx(N,{to:p.components.overview,children:e.jsx(ue,{type:((r=t.body)==null?void 0:r.type)||"orchestrator",children:_(((n=t.body)==null?void 0:n.type)||"")})})]})}function Ae({name:t}){const{integrations:s}=T();return e.jsx("section",{className:"px-5 pt-5",children:e.jsx(de,{title:e.jsx("span",{className:"text-text-lg",children:"Set this stack"}),initialOpen:!0,children:e.jsxs("ul",{className:"space-y-5",children:[e.jsxs("li",{className:"space-y-2",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(C,{children:"1"}),e.jsx("p",{className:"font-semibold",children:"Set your stack"})]}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("p",{className:"text-text-sm text-theme-text-secondary",children:"Set the stack as active on your client"}),e.jsx(b,{codeClasses:"whitespace-pre-wrap",wrap:!0,code:`zenml stack set ${t}`})]})]}),s.length>=1&&e.jsxs("li",{className:"space-y-2",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(C,{children:"2"}),e.jsx("p",{className:"font-semibold",children:"Install the integrations"})]}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("p",{className:"text-text-sm text-theme-text-secondary",children:"Install the required integrations to run pipelines in your stack"}),e.jsx(b,{codeClasses:"whitespace-pre-wrap",wrap:!0,code:`zenml integration install ${s.join(" ")}`})]})]})]})})})}const P=l.forwardRef(({closeModal:t,name:s,...a},r)=>e.jsxs(B,{...a,ref:r,children:[e.jsx(H,{children:e.jsx($,{children:"Update Stack"})}),e.jsxs("div",{className:"space-y-5 p-7",children:[e.jsx(Te,{action:"update"}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("p",{className:"text-text-sm text-theme-text-secondary",children:"Update a stack"}),e.jsx(b,{codeClasses:"whitespace-pre-wrap",wrap:!0,code:`zenml stack update ${s} -o NEW_ORCHESTRATOR_NAME`})]})]})]}));P.displayName="UpdateStackDialog";function Te({action:t}){function s(){switch(t){case"delete":return"delete";case"update":return"update";case"describe":return"get details of"}}return e.jsx(ge,{children:e.jsx("div",{className:"flex w-full flex-wrap justify-between gap-2",children:e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"truncate text-text-sm font-semibold",children:"We are working on the new Stacks experience."}),e.jsxs("p",{className:"truncate text-text-sm",children:["Meanwhile you can use the CLI to ",s()," your stack."]})]})})})}async function Pe({stackId:t},s){const a=W(G.stacks.detail(t)),r=await fetch(a,{method:"DELETE",credentials:"include",headers:{"Content-Type":"application/json"}});if(!r.ok){const n=await r.json().then(i=>Array.isArray(i.detail)?i.detail[1]:i.detail).catch(()=>`Error while deleting stack ${t}`);throw new Q({status:r.status,statusText:r.statusText,message:n})}return r.json()}function Ee(t){return re({...t,mutationFn:async({stackId:s})=>Pe({stackId:s})})}function Ie(t){const{toast:s}=K(),a=ne(),r=le(),n=Ee({onSuccess:async()=>{a.invalidateQueries({queryKey:g.all}),r(p.stacks.overview)},onError:c=>{s({status:"error",emphasis:"subtle",icon:e.jsx(Z,{className:"h-5 w-5 shrink-0 fill-error-700"}),description:c.message,rounded:!0})}});function i(){n.mutate({stackId:t})}return{handleDelete:i,deleteStack:n}}const E=l.forwardRef(({closeModal:t,name:s,stackId:a,...r},n)=>{const{handleDelete:i,deleteStack:c}=Ie(a);return e.jsxs(J,{...r,className:"p-0",ref:n,children:[e.jsxs(V,{className:"m-0 py-2 pl-5 pr-3 text-text-lg font-semibold",children:["Delete ",s]}),e.jsx("div",{className:"border-y border-theme-border-moderate px-5 py-5",children:e.jsxs(X,{children:["Are you sure you want to delete this stack? ",e.jsx("br",{}),"This action cannot be undone."]})}),e.jsxs("div",{className:"flex justify-end gap-3 px-5 py-3",children:[e.jsx(Y,{onClick:()=>t==null?void 0:t(),asChild:!0,children:e.jsx(f,{intent:"secondary",children:"Cancel"})}),e.jsxs(f,{disabled:c.isPending,type:"button",onClick:()=>i(),intent:"danger",children:[c.isPending&&e.jsx("div",{role:"alert","aria-busy":"true",className:"full h-[20px] w-[20px] animate-spin rounded-rounded border-2 border-theme-text-negative border-b-theme-text-error"}),"Delete"]})]})]})});E.displayName="DeleteStackDialog";function ze({name:t,id:s}){const[a,r]=l.useState(!1),[n,i]=l.useState(!1),c=l.useRef(null),d=l.useRef(null);function o(){d.current=c.current}function m(x){r(x),x===!1&&i(!1)}return e.jsx(v,{open:n,onOpenChange:i,children:e.jsxs(v,{children:[e.jsx(ee,{className:"z-10",ref:c,children:e.jsx(he,{className:"h-5 w-5 fill-theme-text-secondary"})}),e.jsxs(se,{hidden:a,onCloseAutoFocus:x=>{d.current&&(d.current.focus(),d.current=null,x.preventDefault())},className:"z-10",align:"end",sideOffset:1,children:[e.jsx(pe,{onSelect:o,onOpenChange:m,icon:e.jsx(fe,{className:"h-3 w-3 !fill-neutral-400"}),triggerChildren:"Update",children:e.jsx(P,{name:t,className:"lg:min-w-[600px]",closeModal:()=>m(!1)})}),e.jsx(ye,{onSelect:o,onOpenChange:m,icon:e.jsx(je,{className:"h-3 w-3 !fill-neutral-400"}),triggerChildren:"Delete",children:e.jsx(E,{stackId:s,name:t,className:"lg:min-w-[600px]",closeModal:()=>m(!1)})})]})]})})}function Oe(){const t=[{id:"name",header:"Stack",accessorFn:s=>({name:s.name,id:s.id}),cell:({getValue:s})=>{const{name:a,id:r}=s();return e.jsxs("div",{className:"group/copybutton flex items-center gap-2",children:[e.jsx(k,{type:"square",size:"md",children:e.jsx(D,{size:"md",children:a[0]})}),e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx(Se,{stackName:a,stackId:r,children:e.jsx("h2",{className:"text-text-md font-semibold",children:a})}),e.jsx(j,{copyText:a})]}),e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx("p",{className:"text-text-xs text-theme-text-secondary",children:r.split("-")[0]}),e.jsx(j,{copyText:r})]})]})]})}},{id:"created",header:"Created at",accessorFn:s=>{var a;return(a=s.body)==null?void 0:a.created},cell:({getValue:s})=>e.jsx("p",{className:"text-text-sm text-theme-text-secondary",children:e.jsx(ce,{dateString:s()})})},{id:"author",header:"Author",accessorFn:s=>{var a;return{author:(a=s.body)==null?void 0:a.user}},cell:({getValue:s})=>{const{author:a}=s();return a?e.jsx(oe,{username:te(a)}):null}},{id:"actions",header:"",accessorFn:s=>({name:s.name,id:s.id}),cell:({getValue:s})=>{const{id:a,name:r}=s();return e.jsx(ze,{name:r,id:a})}}];return l.useMemo(()=>t,[])}function rs({fixedQueryParams:t={}}){const s=be(),a=Oe(),{refetch:r,data:n}=w({...g.stackList({...s,sort_by:"desc:updated",...t}),throwOnError:!0});return e.jsx("section",{children:e.jsxs("div",{className:"flex flex-col gap-5",children:[e.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-y-4",children:[e.jsx(O,{searchParams:s}),e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsxs(f,{intent:"primary",emphasis:"subtle",size:"md",onClick:()=>r(),children:[e.jsx(z,{className:"h-5 w-5 fill-theme-text-brand"}),"Refresh"]}),e.jsx(f,{size:"md",asChild:!0,children:e.jsxs(N,{to:p.stacks.create.index,children:[e.jsx(I,{className:"h-5 w-5 shrink-0 fill-white"}),e.jsx("span",{children:"New Stack"})]})})]})]}),e.jsxs("div",{className:"flex flex-col items-center gap-5",children:[e.jsx("div",{className:"w-full",children:n?e.jsx(ae,{columns:a,data:n.items}):e.jsx(h,{className:"h-[500px] w-full"})}),n?n.total_pages>1&&e.jsx(R,{searchParams:s,paginate:n}):e.jsx(h,{className:"h-[36px] w-[300px]"})]})]})})}export{rs as S};
@@ -1 +1 @@
1
- import{j as e,r as h}from"./@radix-DeK6qiuw.js";import{R as C,o as y,S as o,e as S,a7 as T,a1 as w,a2 as P,a3 as E,a4 as k,J as D,as as B,z as b,M as O,N as I,O as f,aE as R,a8 as U,K as q,P as g}from"./index-CxO6541P.js";import{s as v}from"./url-BWJXzuI4.js";import{C as H}from"./CopyButton-DCiXO3JC.js";import{S as K}from"./chevron-down-6JyMkfjR.js";import{c as M}from"./index-D4yoZ_gH.js";import{a as _}from"./@tanstack-DT5WLu9C.js";import{K as m,N as $}from"./NestedCollapsible-DDgd2SGb.js";import{D as N}from"./DisplayDate-CDMUcQHS.js";import{I as z}from"./InlineAvatar-CQNjKoEQ.js";import{c as A,b as F}from"./@react-router-B3Z5rLr2.js";function i(t){return _({...M.componentDetail(t),throwOnError:!0})}function ue({componentId:t,isPanel:a}){return e.jsxs(C,{className:"space-y-1",children:[e.jsx(L,{isPanel:a,componentId:t}),e.jsxs("div",{className:"flex items-center space-x-1",children:[e.jsx(V,{componentId:t}),e.jsx(Q,{componentId:t}),e.jsx(J,{componentId:t})]})]})}function L({componentId:t,isPanel:a}){const s=i(t),{setCurrentBreadcrumbData:r}=y();if(h.useEffect(()=>{s.data&&!a&&r({segment:"componentDetail",data:s.data})},[s.data,a]),s.isError)return null;if(s.isPending)return e.jsx(o,{className:"h-6 w-[200px]"});const n=s.data.id;return e.jsxs("div",{className:"group/copybutton flex items-center gap-0.5",children:[e.jsx("p",{className:"text-text-sm text-theme-text-secondary",children:n}),e.jsx(H,{copyText:n})]})}function Q({componentId:t}){const a=i(t);return a.isError?null:a.isPending?e.jsx(o,{className:"h-6 w-[100px]"}):e.jsx("p",{className:"truncate text-display-xs font-semibold",children:a.data.name})}function V({componentId:t}){var s;const a=i(t);return a.isError?null:a.isPending?e.jsx(o,{className:"h-5 w-5"}):e.jsx("img",{className:"h-5 w-5",src:v(((s=a.data.body)==null?void 0:s.logo_url)||""),alt:`Icon of component ${a.data.name}`})}function J({componentId:t}){var s;const a=i(t);return a.isError?null:a.isPending?e.jsx(o,{className:"h-6 w-[100px]"}):e.jsx(S,{className:"whitespace-nowrap rounded-md bg-turquoise-25 font-semibold text-turquoise-700",color:"turquoise",rounded:!1,children:T(((s=a.data.body)==null?void 0:s.type)||"")})}function G({componentId:t}){return e.jsxs("section",{className:"grid grid-cols-1 gap-5 @5xl:grid-cols-2",children:[e.jsx("div",{children:e.jsx(W,{componentId:t})}),e.jsx("div",{children:e.jsx(X,{componentId:t})})]})}function W({componentId:t}){var x,p,l,c,j;const[a,s]=h.useState(!0),r=i(t);if(r.isError)return null;if(r.isPending)return e.jsx(o,{className:"h-[150px] w-full"});const n=(x=r.data.body)==null?void 0:x.user,u=(p=r.data.body)==null?void 0:p.created,d=(l=r.data.body)==null?void 0:l.updated;return e.jsxs(w,{open:a,onOpenChange:s,children:[e.jsx(P,{className:"flex items-center gap-[10px]",children:e.jsxs(E,{className:"flex w-full items-center",children:[e.jsx(K,{className:` ${a?"":"-rotate-90"} mr-2 h-5 w-5 rounded-md fill-neutral-500 transition-transform duration-200 hover:bg-neutral-200`}),"Basic Parameters"]})}),e.jsx(k,{className:"border-t border-theme-border-moderate bg-theme-surface-primary px-5 py-3",children:e.jsxs("dl",{className:"grid grid-cols-1 gap-x-[10px] gap-y-2 md:grid-cols-3 md:gap-y-4",children:[e.jsx(m,{label:"Component Name",value:r.data.name}),e.jsx(m,{label:"Flavor",value:e.jsxs(D,{rounded:!1,className:"w-fit gap-0.5 text-theme-text-primary",color:"grey",emphasis:"minimal",children:[e.jsx("img",{width:20,height:20,src:v(((c=r.data.body)==null?void 0:c.logo_url)||""),alt:"Flavor Icon of Component"}),e.jsx("p",{className:"truncate",children:(j=r.data.body)==null?void 0:j.flavor_name})]})}),e.jsx(m,{label:"Author",value:n?e.jsx(z,{username:B(n)}):"Not available"}),e.jsx(m,{label:"Updated",value:d?e.jsx(N,{dateString:d}):"Not available"}),e.jsx(m,{label:"Created",value:u?e.jsx(N,{dateString:u}):"Not available"})]})})]})}function X({componentId:t}){var s;const a=i(t);return a.isError?null:a.isPending?e.jsx(o,{className:"h-[150px] w-full"}):e.jsx($,{isInitialOpen:!0,intent:"primary",title:"Configuration",data:(s=a.data.metadata)==null?void 0:s.configuration})}const Y=b.object({tab:b.enum(["configuration","stacks","runs"]).optional().default("configuration").catch("configuration")});function Z(){const[t]=A(),{tab:a}=Y.parse({tab:t.get("tab")||void 0});return a}function de({componentId:t,isPanel:a,stacksTabContent:s,runsTabContent:r}){const[n,u]=h.useState("configuration"),d=Z(),x=F();function p(l){if(a){u(l);return}const c=new URLSearchParams;c.set("tab",l),x(`?${c.toString()}`)}return e.jsx("div",{className:"p-5",children:e.jsxs(O,{value:a?n:d,onValueChange:p,children:[e.jsxs(I,{children:[e.jsxs(f,{className:"flex items-center gap-2 text-text-md",value:"configuration",children:[e.jsx(R,{className:"h-5 w-5 shrink-0 fill-theme-text-tertiary group-data-[state=active]/trigger:fill-theme-surface-strong"}),e.jsx("span",{children:"Configuration"})]}),e.jsxs(f,{className:"flex items-center gap-2 text-text-md",value:"stacks",children:[e.jsx(U,{className:"h-5 w-5 fill-theme-text-tertiary group-data-[state=active]/trigger:fill-theme-surface-strong"}),e.jsx("span",{children:"Stacks"})]}),e.jsxs(f,{className:"flex items-center gap-2 text-text-md",value:"runs",children:[e.jsx(q,{className:"h-5 w-5 fill-theme-text-tertiary group-data-[state=active]/trigger:fill-theme-surface-strong"}),e.jsx("span",{children:"Runs"})]})]}),e.jsx(g,{className:"m-0 mt-5 border-0 bg-transparent p-0",value:"configuration",children:e.jsx(G,{componentId:t})}),e.jsx(g,{className:"m-0 mt-5 border-0 bg-transparent p-0",value:"stacks",children:s}),e.jsx(g,{className:"m-0 mt-5 border-0 bg-transparent p-0",value:"runs",children:r})]})})}export{ue as S,de as a};
1
+ import{j as e,r as h}from"./@radix-B7OY3d6N.js";import{R as C,o as y,S as o,e as S,a7 as T,a1 as w,a2 as P,a3 as k,a4 as E,J as D,as as B,z as b,M as O,N as I,O as f,aG as R,a8 as U,K as q,P as g}from"./index-D25WcEJJ.js";import{s as v}from"./url-1R6qfphK.js";import{C as H}from"./CopyButton-BQf5nLgq.js";import{S as K}from"./chevron-down-DAWlSNuH.js";import{c as M}from"./index-Cf1Ph5ra.js";import{a as _}from"./@tanstack-W1pLDzVg.js";import{K as m,N as $}from"./NestedCollapsible-CyUu7Vrm.js";import{D as N}from"./DisplayDate-CZV8x8pB.js";import{I as z}from"./InlineAvatar-B9O7QxVo.js";import{c as A,b as F}from"./@react-router-CiF9laDg.js";function i(t){return _({...M.componentDetail(t),throwOnError:!0})}function ue({componentId:t,isPanel:a}){return e.jsxs(C,{className:"space-y-1",children:[e.jsx(L,{isPanel:a,componentId:t}),e.jsxs("div",{className:"flex items-center space-x-1",children:[e.jsx(V,{componentId:t}),e.jsx(Q,{componentId:t}),e.jsx(G,{componentId:t})]})]})}function L({componentId:t,isPanel:a}){const s=i(t),{setCurrentBreadcrumbData:r}=y();if(h.useEffect(()=>{s.data&&!a&&r({segment:"componentDetail",data:s.data})},[s.data,a]),s.isError)return null;if(s.isPending)return e.jsx(o,{className:"h-6 w-[200px]"});const n=s.data.id;return e.jsxs("div",{className:"group/copybutton flex items-center gap-0.5",children:[e.jsx("p",{className:"text-text-sm text-theme-text-secondary",children:n}),e.jsx(H,{copyText:n})]})}function Q({componentId:t}){const a=i(t);return a.isError?null:a.isPending?e.jsx(o,{className:"h-6 w-[100px]"}):e.jsx("p",{className:"truncate text-display-xs font-semibold",children:a.data.name})}function V({componentId:t}){var s;const a=i(t);return a.isError?null:a.isPending?e.jsx(o,{className:"h-5 w-5"}):e.jsx("img",{className:"h-5 w-5",src:v(((s=a.data.body)==null?void 0:s.logo_url)||""),alt:`Icon of component ${a.data.name}`})}function G({componentId:t}){var s;const a=i(t);return a.isError?null:a.isPending?e.jsx(o,{className:"h-6 w-[100px]"}):e.jsx(S,{className:"whitespace-nowrap rounded-md bg-turquoise-25 font-semibold text-turquoise-700",color:"turquoise",rounded:!1,children:T(((s=a.data.body)==null?void 0:s.type)||"")})}function J({componentId:t}){return e.jsxs("section",{className:"grid grid-cols-1 gap-5 @5xl:grid-cols-2",children:[e.jsx("div",{children:e.jsx(W,{componentId:t})}),e.jsx("div",{children:e.jsx(X,{componentId:t})})]})}function W({componentId:t}){var x,p,l,c,j;const[a,s]=h.useState(!0),r=i(t);if(r.isError)return null;if(r.isPending)return e.jsx(o,{className:"h-[150px] w-full"});const n=(x=r.data.body)==null?void 0:x.user,u=(p=r.data.body)==null?void 0:p.created,d=(l=r.data.body)==null?void 0:l.updated;return e.jsxs(w,{open:a,onOpenChange:s,children:[e.jsx(P,{className:"flex items-center gap-[10px]",children:e.jsxs(k,{className:"flex w-full items-center",children:[e.jsx(K,{className:` ${a?"":"-rotate-90"} mr-2 h-5 w-5 rounded-md fill-neutral-500 transition-transform duration-200 hover:bg-neutral-200`}),"Basic Parameters"]})}),e.jsx(E,{className:"border-t border-theme-border-moderate bg-theme-surface-primary px-5 py-3",children:e.jsxs("dl",{className:"grid grid-cols-1 gap-x-[10px] gap-y-2 md:grid-cols-3 md:gap-y-4",children:[e.jsx(m,{label:"Component Name",value:r.data.name}),e.jsx(m,{label:"Flavor",value:e.jsxs(D,{rounded:!1,className:"w-fit gap-0.5 text-theme-text-primary",color:"grey",emphasis:"minimal",children:[e.jsx("img",{width:20,height:20,src:v(((c=r.data.body)==null?void 0:c.logo_url)||""),alt:"Flavor Icon of Component"}),e.jsx("p",{className:"truncate",children:(j=r.data.body)==null?void 0:j.flavor_name})]})}),e.jsx(m,{label:"Author",value:n?e.jsx(z,{username:B(n)}):"Not available"}),e.jsx(m,{label:"Updated",value:d?e.jsx(N,{dateString:d}):"Not available"}),e.jsx(m,{label:"Created",value:u?e.jsx(N,{dateString:u}):"Not available"})]})})]})}function X({componentId:t}){var s;const a=i(t);return a.isError?null:a.isPending?e.jsx(o,{className:"h-[150px] w-full"}):e.jsx($,{isInitialOpen:!0,intent:"primary",title:"Configuration",data:(s=a.data.metadata)==null?void 0:s.configuration})}const Y=b.object({tab:b.enum(["configuration","stacks","runs"]).optional().default("configuration").catch("configuration")});function Z(){const[t]=A(),{tab:a}=Y.parse({tab:t.get("tab")||void 0});return a}function de({componentId:t,isPanel:a,stacksTabContent:s,runsTabContent:r}){const[n,u]=h.useState("configuration"),d=Z(),x=F();function p(l){if(a){u(l);return}const c=new URLSearchParams;c.set("tab",l),x(`?${c.toString()}`)}return e.jsx("div",{className:"p-5",children:e.jsxs(O,{value:a?n:d,onValueChange:p,children:[e.jsxs(I,{children:[e.jsxs(f,{className:"flex items-center gap-2 text-text-md",value:"configuration",children:[e.jsx(R,{className:"h-5 w-5 shrink-0 fill-theme-text-tertiary group-data-[state=active]/trigger:fill-theme-surface-strong"}),e.jsx("span",{children:"Configuration"})]}),e.jsxs(f,{className:"flex items-center gap-2 text-text-md",value:"stacks",children:[e.jsx(U,{className:"h-5 w-5 fill-theme-text-tertiary group-data-[state=active]/trigger:fill-theme-surface-strong"}),e.jsx("span",{children:"Stacks"})]}),e.jsxs(f,{className:"flex items-center gap-2 text-text-md",value:"runs",children:[e.jsx(q,{className:"h-5 w-5 fill-theme-text-tertiary group-data-[state=active]/trigger:fill-theme-surface-strong"}),e.jsx("span",{children:"Runs"})]})]}),e.jsx(g,{className:"m-0 mt-5 border-0 bg-transparent p-0",value:"configuration",children:e.jsx(J,{componentId:t})}),e.jsx(g,{className:"m-0 mt-5 border-0 bg-transparent p-0",value:"stacks",children:s}),e.jsx(g,{className:"m-0 mt-5 border-0 bg-transparent p-0",value:"runs",children:r})]})})}export{ue as S,de as a};
@@ -1 +1 @@
1
- import{j as s}from"./@radix-DeK6qiuw.js";import{aS as c,n as i}from"./index-CxO6541P.js";import{S as a}from"./check-DloQpStc.js";function n({tickClasses:r,...o}){return s.jsx(c,{...o,children:s.jsx(a,{className:i("h-4 w-4 fill-success-300",r)})})}export{n as T};
1
+ import{j as s}from"./@radix-B7OY3d6N.js";import{aU as c,n as i}from"./index-D25WcEJJ.js";import{S as a}from"./check-BB0dVtdW.js";function n({tickClasses:r,...o}){return s.jsx(c,{...o,children:s.jsx(a,{className:i("h-4 w-4 fill-success-300",r)})})}export{n as T};
@@ -1 +1 @@
1
- import{z as s}from"./index-CxO6541P.js";const e=s.string().min(8,"Password must be at least 8 characters").regex(/[A-Z]/,"Password must contain at least one uppercase letter").regex(/[a-z]/,"Password must contain at least one lowercase letter").regex(/[0-9]/,"Password must contain at least one number").regex(/[!@#$%^&*(),.?":{}|<>\/]/,"Password must contain at least one special character"),o=s.object({oldPassword:s.string().optional(),newPassword:e,confirmPassword:s.string().min(1)}),t=o.refine(a=>a.newPassword===a.confirmPassword,{path:["confirmPassword"],message:"Passwords do not match"});export{o as a,t as u};
1
+ import{z as s}from"./index-D25WcEJJ.js";const e=s.string().min(8,"Password must be at least 8 characters").regex(/[A-Z]/,"Password must contain at least one uppercase letter").regex(/[a-z]/,"Password must contain at least one lowercase letter").regex(/[0-9]/,"Password must contain at least one number").regex(/[!@#$%^&*(),.?":{}|<>\/]/,"Password must contain at least one special character"),o=s.object({oldPassword:s.string().optional(),newPassword:e,confirmPassword:s.string().min(1)}),t=o.refine(a=>a.newPassword===a.confirmPassword,{path:["confirmPassword"],message:"Passwords do not match"});export{o as a,t as u};
@@ -1 +1 @@
1
- import{j as e,r as t}from"./@radix-DeK6qiuw.js";import{u as Q,d as S,I as k,p as H,U as D}from"./form-schemas-B6PCV3Y4.js";import{f as A,A as U,a as T,b as R,I as E,C as u,a9 as w,n as F,aE as J}from"./index-CxO6541P.js";import{t as j}from"./zod-BwEbpOxH.js";import{u as L,C as Z}from"./index.esm-Dy6Z9Ung.js";import{S as O,b as V,a as K}from"./gcp-CFtm4BA7.js";import{S as z}from"./kubernetes-B2wmAJ1d.js";import{S as P}from"./rocket-DjT2cDvG.js";const Y="/assets/adam-e-y0WnB_.webp",q="/assets/alex-DcCuDHPg.webp",W="/assets/baris-C0ZrZ10g.webp",X="/assets/hamza-NKKOZz1I.webp",G="/assets/stefan-B08Ftbba.webp";function M1(){const{setSurveyStep:s}=Q();function o(){window.open("https://zenml.io/slack","_blank"),s(l=>l+1)}return e.jsxs("div",{className:"max-w-[540px] space-y-5",children:[e.jsxs("div",{children:[e.jsx("h1",{className:"text-display-xs font-semibold",children:"Join The ZenML Slack Community"}),e.jsx("p",{className:"text-theme-text-secondary",children:"Connect to our growing community and meet fellow ZenML enthusiasts, get support, and share your insights. Let's grow together!"})]}),e.jsx($,{}),e.jsx(A,{onClick:()=>o(),className:"h-auto min-h-8 w-full justify-center py-1",intent:"primary",emphasis:"bold",size:"lg",children:"Join the ZenML Community and Continue"}),e.jsx(A,{intent:"secondary",emphasis:"minimal",onClick:()=>s(l=>l+1),className:"mx-auto justify-center text-neutral-500",size:"sm",children:"Skip this step"})]})}const _=[{name:"Adam",image:Y},{name:"Hamza",image:X},{name:"Alex",image:q},{name:"Stefan",image:G},{name:"Baris",image:W}];function $(){return e.jsxs("div",{className:"space-y-1",children:[e.jsx("div",{className:"flex items-center justify-center -space-x-[7px]",children:_.map(s=>e.jsxs(U,{size:"lg",type:"rounded",children:[e.jsx(T,{alt:`Portrait of ${s.name}`,src:s.image}),e.jsx(R,{size:"lg",children:s.name[0]})]},s.name))}),e.jsx("p",{className:"text-center text-text-xs text-theme-text-tertiary",children:"Adam Probst, Hamza Tahir, and +1,800 others have already joined"})]})}function j1({email:s,fullName:o,submitHandler:l}){const i=t.useId(),r=t.useId(),d=t.useId(),{register:m,handleSubmit:x,control:h,watch:a,formState:{isValid:p}}=L({resolver:j(S),defaultValues:{fullName:o||"",getUpdates:!0,email:s||""}});return e.jsxs("div",{className:"space-y-5",children:[e.jsxs("div",{children:[e.jsx("h1",{className:"text-display-xs font-semibold",children:"Add your account details"}),e.jsx("p",{className:"text-theme-text-secondary",children:"Please, fill in your details to get started with ZenML."})]}),e.jsxs("form",{onSubmit:x(l),className:"space-y-5",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"space-y-0.5",children:[e.jsx("label",{htmlFor:i,className:"text-text-sm",children:"Name"}),e.jsx(E,{...m("fullName"),id:i,className:"w-full"})]}),e.jsxs("div",{className:"space-y-0.5",children:[e.jsxs("label",{htmlFor:r,className:"text-text-sm",children:["Email ",!a("getUpdates")&&e.jsx(e.Fragment,{children:"(optional)"})]}),e.jsx(E,{placeholder:"example@company.inc",...m("email"),type:"email",id:r,className:"w-full"})]})]}),e.jsxs("div",{className:"flex items-center space-x-1",children:[e.jsx(Z,{control:h,name:"getUpdates",render:({field:{onChange:c,value:C}})=>e.jsx(u,{checked:C,onCheckedChange:n=>c(!!n),id:d})}),e.jsx("label",{htmlFor:d,className:"text-text-sm",children:"I want to receive news and recommendations about how to use ZenML"})]}),e.jsx(A,{disabled:!p,className:"w-full text-center",size:"md",children:e.jsx("span",{className:"w-full",children:"Continue"})}),e.jsxs("p",{className:"text-center text-theme-text-secondary",children:["By continuing you agree to the"," ",e.jsx("a",{className:"link text-theme-text-brand",href:"https://www.zenml.io/privacy-policy",rel:"noopener noreferrer",target:"_blank",children:"Privacy Policy"})]})]})]})}const e1=s=>t.createElement("svg",{viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...s},t.createElement("path",{d:"M21.9999 8.18613C21.7761 7.72384 21.5171 7.2777 21.2166 6.85693L18.006 8.02537C18.3794 8.40751 18.6931 8.83704 18.9496 9.29639L21.9999 8.18613ZM7.80775 11.7372L4.59619 12.9056C4.63724 13.4206 4.72618 13.9294 4.85077 14.4278L7.90158 13.317C7.80236 12.801 7.76717 12.2693 7.80775 11.7372Z",fill:"#C22133"}),t.createElement("path",{d:"M14.9352 7.27651C15.6032 7.58829 16.1818 8.01343 16.67 8.51188L19.8806 7.34348C18.9912 6.09541 17.7798 5.05258 16.2957 4.36011C11.7056 2.21972 6.22948 4.21253 4.0896 8.80215C3.39666 10.2873 3.13911 11.8647 3.2603 13.3923L6.4714 12.2238C6.52464 11.528 6.69423 10.8307 7.0055 10.1622C8.3963 7.18027 11.9533 5.8863 14.9352 7.27651ZM18.3597 13.1438C18.3084 13.8392 18.1329 14.5365 17.8207 15.2055C16.4304 18.1879 12.8729 19.4819 9.89149 18.0916C9.22247 17.7793 8.6395 17.3576 8.15325 16.8582L4.94904 18.0242C5.83647 19.2722 7.04643 20.3155 8.53149 21.0085C13.1216 23.1484 18.5967 21.1556 20.7371 16.5655C21.4305 15.0814 21.6861 13.5039 21.5639 11.9778L18.3597 13.1438Z",fill:"#DB212E"}),t.createElement("path",{d:"M19.1492 9.22388L16.0983 10.3341C16.6652 11.3496 16.933 12.5185 16.845 13.6943L20.0493 12.5288C19.9575 11.3807 19.6523 10.2599 19.1492 9.22388ZM5.05081 14.3546L2 15.4658C2.28133 16.5824 2.76785 17.637 3.43475 18.5757L6.63849 17.4093C5.81607 16.5648 5.26923 15.4961 5.05081 14.3546Z",fill:"#EB2126"}),t.createElement("path",{d:"M21.535 7.34025C21.4338 7.17606 21.3288 7.01429 21.2169 6.85693L18.0063 8.02537C18.1475 8.17002 18.2775 8.32346 18.4016 8.48082L21.535 7.34025ZM7.79556 12.382C7.78742 12.167 7.79149 11.9518 7.80775 11.7374L4.59619 12.9058C4.61281 13.1115 4.63869 13.3158 4.66949 13.5196L7.79556 12.382Z",fill:"#AD213B"}),t.createElement("path",{d:"M21.5637 11.9778L18.3594 13.1438C18.3257 13.6051 18.2358 14.0674 18.0887 14.5218L21.5764 13.2503C21.6015 12.8263 21.5972 12.4012 21.5637 11.9778ZM4.94922 18.0246C5.19771 18.374 5.47059 18.7053 5.76581 19.0162L9.25396 17.7441C8.84641 17.489 8.47795 17.1915 8.15296 16.8582L4.94922 18.0246Z",fill:"#BA2133"})),s1=[{name:"GCP",icon:e.jsx(O,{className:"h-5 w-5 shrink-0"})},{name:"AWS",icon:e.jsx(V,{className:"h-5 w-5 shrink-0"})},{name:"Azure",icon:e.jsx(K,{className:"h-5 w-5 shrink-0"})},{name:"Native Kubernetes",icon:e.jsx(z,{className:"h-5 w-5 shrink-0"})},{name:"Openshift",icon:e.jsx(e1,{className:"h-5 w-5 shrink-0"})}];function L1({submitHandler:s}){const o=t.useRef(null),{register:l,setValue:i,watch:r,handleSubmit:d,control:m,formState:{isValid:x}}=L({resolver:j(k),defaultValues:{providers:[]},shouldUnregister:!0}),h=r("other");return t.useEffect(()=>{var a;h&&((a=o.current)==null||a.focus())},[h]),e.jsxs("div",{className:"space-y-5",children:[e.jsxs("div",{children:[e.jsx("h1",{className:"text-display-xs font-semibold",children:"What is your current infrastructure?"}),e.jsx("p",{className:"text-theme-text-secondary",children:"Select all the applicable options"})]}),e.jsxs("form",{onSubmit:d(s),className:"space-y-5",children:[e.jsxs("div",{className:"grid w-full grid-cols-1 gap-[20px] md:grid-cols-2 lg:min-w-[700px]",children:[e.jsx(Z,{control:m,name:"providers",render:({field:{onChange:a,value:p}})=>e.jsx(e.Fragment,{children:s1.map((c,C)=>e.jsxs("label",{className:w("flex items-center gap-1 rounded-md border pl-3 transition-all duration-150",{"border-primary-400 bg-primary-25 shadow-sm":r("providers").includes(c.name),"border-theme-border-minimal bg-theme-surface-primary hover:border-theme-border-bold hover:shadow-sm":!r("providers").includes(c.name)}),children:[e.jsx(u,{onCheckedChange:n=>{a(n?[...p,c.name]:p.filter(B=>B!==c.name))},value:c.name,className:"h-3 w-3"}),e.jsxs("div",{className:"flex w-full items-center gap-1 py-3 pr-3 text-theme-text-secondary hover:cursor-pointer",children:[c.icon,c.name]})]},C))})}),e.jsxs("div",{className:w("flex items-center rounded-md border bg-theme-surface-primary p-3 transition duration-150",{"border-primary-400":!!r("other"),"border-theme-border-minimal hover:border-theme-border-bold":!r("other")}),children:[e.jsx(u,{onCheckedChange:a=>i("other",!!a),...l("other",{value:!1}),className:"mr-2 h-3 w-3",id:"other"}),h?e.jsx("input",{...l("otherVal"),ref:a=>{l("otherVal").ref(a),o.current=a},placeholder:"Specify...",className:"w-full border-none p-0 pr-2 placeholder:text-theme-text-tertiary focus:outline-none focus:ring-0"}):e.jsx("label",{className:"w-full text-theme-text-secondary hover:cursor-pointer",htmlFor:"other",children:"Other"})]})]}),e.jsx(A,{disabled:!x,type:"submit",className:"w-full text-center",size:"md",children:e.jsx("span",{className:"w-full",children:"Continue"})}),e.jsx(A,{intent:"secondary",emphasis:"minimal",onClick:()=>s({providers:["local"],other:!1}),className:"mx-auto justify-center text-neutral-500",size:"sm",children:"Skip this step"})]})]})}const t1=s=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...s},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.16146 2H9.83854C10.3657 1.99998 10.8205 1.99997 11.195 2.03057C11.5904 2.06287 11.9836 2.13419 12.362 2.32698C12.9265 2.6146 13.3854 3.07354 13.673 3.63803C13.8658 4.01641 13.9371 4.40963 13.9694 4.80497C14 5.17955 14 5.63432 14 6.16148V10L17.8385 10C18.3657 9.99998 18.8205 9.99997 19.195 10.0306C19.5904 10.0629 19.9836 10.1342 20.362 10.327C20.9265 10.6146 21.3854 11.0735 21.673 11.638C21.8658 12.0164 21.9371 12.4096 21.9694 12.805C22 13.1795 22 13.6343 22 14.1614V20C22.5523 20 23 20.4477 23 21C23 21.5523 22.5523 22 22 22H2C1.44772 22 1 21.5523 1 21C1 20.4477 1.44772 20 2 20V6.16146C1.99998 5.63431 1.99997 5.17955 2.03057 4.80497C2.06287 4.40963 2.13419 4.01641 2.32698 3.63803C2.6146 3.07354 3.07354 2.6146 3.63803 2.32698C4.01641 2.13419 4.40963 2.06287 4.80497 2.03057C5.17954 1.99997 5.63431 1.99998 6.16146 2ZM4 20H12V6.2C12 5.62345 11.9992 5.25118 11.9761 4.96784C11.9539 4.69617 11.9162 4.59546 11.891 4.54601C11.7951 4.35785 11.6422 4.20487 11.454 4.109C11.4045 4.0838 11.3038 4.04612 11.0322 4.02393C10.7488 4.00078 10.3766 4 9.8 4H6.2C5.62345 4 5.25117 4.00078 4.96784 4.02393C4.69617 4.04612 4.59545 4.0838 4.54601 4.109C4.35785 4.20487 4.20487 4.35785 4.10899 4.54601C4.0838 4.59546 4.04612 4.69617 4.02393 4.96784C4.00078 5.25117 4 5.62345 4 6.2V20ZM14 12V20H20V14.2C20 13.6234 19.9992 13.2512 19.9761 12.9678C19.9539 12.6962 19.9162 12.5955 19.891 12.546C19.7951 12.3578 19.6422 12.2049 19.454 12.109C19.4045 12.0838 19.3038 12.0461 19.0322 12.0239C18.7488 12.0008 18.3766 12 17.8 12H14ZM5.5 7C5.5 6.44772 5.94772 6 6.5 6H9.5C10.0523 6 10.5 6.44772 10.5 7C10.5 7.55229 10.0523 8 9.5 8H6.5C5.94772 8 5.5 7.55229 5.5 7ZM5.5 11C5.5 10.4477 5.94772 10 6.5 10H9.5C10.0523 10 10.5 10.4477 10.5 11C10.5 11.5523 10.0523 12 9.5 12H6.5C5.94772 12 5.5 11.5523 5.5 11ZM5.5 15C5.5 14.4477 5.94772 14 6.5 14H9.5C10.0523 14 10.5 14.4477 10.5 15C10.5 15.5523 10.0523 16 9.5 16H6.5C5.94772 16 5.5 15.5523 5.5 15Z"})),r1=s=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...s},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.8026 4.52039L11.8026 4.52039L11.8026 4.52039ZM12 4.61798L19.7639 8.49994L19.5721 8.59583C19.5596 8.6018 19.5471 8.60803 19.5348 8.6145L17 9.88191L12.4472 7.60552C11.9532 7.35853 11.3526 7.55875 11.1056 8.05273C10.8586 8.54671 11.0588 9.14738 11.5528 9.39437L14.7639 10.9999L12 12.3819L4.4652 8.61451C4.4529 8.60803 4.44044 8.6018 4.42784 8.59583L4.23607 8.49994L12 4.61798ZM3 10.118L1.55279 9.39437C1.214 9.22498 1 8.87872 1 8.49994C1 8.12117 1.214 7.77491 1.55279 7.60552L11.195 2.7844C11.2024 2.7807 11.211 2.77633 11.2206 2.77143C11.3139 2.72382 11.507 2.62529 11.7234 2.58468C11.9062 2.55039 12.0938 2.55039 12.2766 2.58468C12.493 2.62529 12.6861 2.72382 12.7794 2.77143C12.789 2.77633 12.7976 2.7807 12.805 2.7844L22.4472 7.60552C22.786 7.77491 23 8.12117 23 8.49994C23 8.87872 22.786 9.22498 22.4472 9.39437L21 10.118V16.3066C21 16.332 21.0001 16.3582 21.0002 16.3851C21.0013 16.6707 21.0027 17.0296 20.884 17.3629C20.7814 17.6508 20.6142 17.9113 20.3952 18.1245C20.1417 18.3713 19.8149 18.5196 19.5548 18.6376C19.5303 18.6487 19.5065 18.6595 19.4833 18.6701L13.0833 21.6035C13.0667 21.6111 13.0496 21.619 13.0321 21.6271C12.8423 21.7147 12.6034 21.8251 12.3421 21.8704C12.1157 21.9097 11.8843 21.9097 11.6579 21.8704C11.3966 21.8251 11.1577 21.7147 10.9679 21.6271C10.9504 21.619 10.9333 21.6111 10.9167 21.6035L4.5167 18.6701L4.93335 17.7611L4.51669 18.6701C4.49354 18.6595 4.46967 18.6487 4.44522 18.6376C4.1851 18.5196 3.85826 18.3713 3.60476 18.1245C3.3858 17.9113 3.21862 17.6508 3.11604 17.3629C2.99727 17.0296 2.99867 16.6707 2.99979 16.3851C2.9999 16.3582 3 16.332 3 16.3066V10.118ZM5 11.118V16.3066C5 16.505 5.00047 16.6074 5.00521 16.6814C5.00536 16.6837 5.0055 16.6859 5.00565 16.688C5.00747 16.6889 5.00938 16.69 5.01138 16.6911C5.07675 16.7262 5.16965 16.7693 5.35001 16.852L11.75 19.7853C11.8813 19.8455 11.9473 19.8754 11.9962 19.895C11.9975 19.8955 11.9988 19.896 12 19.8965C12.0012 19.896 12.0025 19.8955 12.0038 19.895C12.0527 19.8754 12.1187 19.8455 12.25 19.7853L18.65 16.852C18.8304 16.7693 18.9233 16.7262 18.9886 16.6911C18.9906 16.69 18.9925 16.6889 18.9944 16.688C18.9945 16.6859 18.9946 16.6837 18.9948 16.6814C18.9995 16.6074 19 16.505 19 16.3066V11.118L18 11.618V14.4999C18 15.0522 17.5523 15.4999 17 15.4999C16.4477 15.4999 16 15.0522 16 14.4999V12.618L12.805 14.2155C12.7976 14.2192 12.789 14.2236 12.7794 14.2285C12.6861 14.2761 12.493 14.3746 12.2766 14.4152C12.0938 14.4495 11.9062 14.4495 11.7234 14.4152C11.507 14.3746 11.3139 14.2761 11.2206 14.2285C11.211 14.2236 11.2024 14.2192 11.195 14.2155L5 11.118ZM11.8026 12.4795C11.8024 12.4796 11.8024 12.4796 11.8026 12.4795L11.8026 12.4795ZM12.1974 12.4795C12.1976 12.4796 12.1976 12.4796 12.1974 12.4795L12.1974 12.4795ZM12.1974 4.52039L12.1974 4.52039L12.1974 4.52039Z"})),a1=s=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...s},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 4C10.067 4 8.50002 5.567 8.50002 7.5C8.50002 9.433 10.067 11 12 11C13.933 11 15.5 9.433 15.5 7.5C15.5 5.567 13.933 4 12 4ZM6.50002 7.5C6.50002 4.46243 8.96246 2 12 2C15.0376 2 17.5 4.46243 17.5 7.5C17.5 10.5376 15.0376 13 12 13C8.96246 13 6.50002 10.5376 6.50002 7.5ZM9.32629 14.5C9.38335 14.5 9.44125 14.5 9.50003 14.5H14.5C14.5588 14.5 14.6167 14.5 14.6738 14.5C15.901 14.4995 16.739 14.4992 17.4514 14.7153C19.0495 15.2 20.3 16.4506 20.7847 18.0486C21.0008 18.761 21.0005 19.599 21.0001 20.8263C21 20.8833 21 20.9412 21 21C21 21.5523 20.5523 22 20 22C19.4477 22 19 21.5523 19 21C19 19.5317 18.9892 19.0192 18.8708 18.6291C18.58 17.6703 17.8297 16.92 16.8709 16.6292C16.4808 16.5108 15.9683 16.5 14.5 16.5H9.50003C8.03171 16.5 7.51923 16.5108 7.12917 16.6292C6.17036 16.92 5.42005 17.6703 5.1292 18.6291C5.01088 19.0192 5.00002 19.5317 5.00002 21C5.00002 21.5523 4.55231 22 4.00002 22C3.44774 22 3.00002 21.5523 3.00002 21C3.00002 20.9412 3 20.8833 2.99998 20.8263C2.99953 19.599 2.99922 18.761 3.21532 18.0486C3.70007 16.4506 4.95059 15.2 6.54859 14.7153C7.261 14.4992 8.09902 14.4995 9.32629 14.5Z"})),M=t.forwardRef(({children:s,className:o,id:l,...i},r)=>e.jsxs("div",{className:"min-h-[160px] min-w-[160px]",children:[e.jsx("input",{id:l,...i,ref:r,className:F("peer sr-only",o),type:"radio"}),e.jsx("label",{htmlFor:l,className:"flex h-full w-full flex-col items-center justify-center space-y-5 rounded-md border border-theme-border-minimal bg-theme-surface-primary p-5 text-text-lg text-theme-text-secondary transition-all duration-150 hover:cursor-pointer hover:border-theme-border-bold hover:shadow-sm peer-checked:border-primary-400 peer-checked:bg-primary-25 peer-checked:shadow-sm peer-focus-visible:border-primary-100",children:s})]}));M.displayName="UseRadioButton";function Z1({submitHandler:s,user:o}){var d,m;const{handleSubmit:l,register:i,formState:{isValid:r}}=L({defaultValues:{primaryUse:(m=(d=o==null?void 0:o.metadata)==null?void 0:d.user_metadata)==null?void 0:m.primary_use},resolver:j(H)});return e.jsxs("div",{className:"space-y-5",children:[e.jsx("div",{children:e.jsx("h1",{className:"text-display-xs font-semibold",children:"What will be your primary use for ZenML?"})}),e.jsxs("form",{onSubmit:l(s),className:"space-y-5",children:[e.jsxs("div",{className:"grid grid-cols-1 gap-[20px] md:grid-cols-3",children:[e.jsxs(M,{id:"use-personal",...i("primaryUse"),value:"personal",children:[e.jsx(a1,{className:"h-7 w-7 fill-primary-400"}),e.jsx("span",{children:"Personal"})]}),e.jsxs(M,{...i("primaryUse"),id:"use-work",value:"work",children:[e.jsx(t1,{className:"h-7 w-7 fill-primary-400"}),e.jsx("span",{children:"Work"})]}),e.jsxs(M,{...i("primaryUse"),id:"use-student",value:"student",children:[e.jsx(r1,{className:"h-7 w-7 fill-primary-400"}),e.jsx("span",{children:"Student"})]})]}),e.jsx(A,{disabled:!r,className:"w-full text-center",size:"md",children:e.jsx("span",{className:"w-full",children:"Continue"})})]})]})}const l1="data:image/svg+xml,%3csvg%20viewBox='0%200%2025%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.82253%2022.4201L12.3982%2012.6043C12.4582%2012.5428%2012.4697%2012.4478%2012.4196%2012.3779C11.8371%2011.5648%2010.7629%2011.4239%2010.3647%2010.8777C9.18504%209.25951%208.88573%208.34364%208.37885%208.40044C8.34344%208.40442%208.31187%208.42347%208.28699%208.44897L4.82777%2011.9949C2.83774%2014.0348%202.55236%2018.5262%202.50002%2022.2871C2.49766%2022.457%202.70384%2022.5417%202.82253%2022.4201Z'%20fill='%23017CEE'%20/%3e%3cpath%20d='M22.4202%2022.1774L12.6044%2012.6017C12.543%2012.5418%2012.4479%2012.5302%2012.3781%2012.5803C11.565%2013.1628%2011.424%2014.237%2010.8778%2014.6353C9.25964%2015.8148%208.34376%2016.1142%208.40057%2016.6211C8.40454%2016.6565%208.42359%2016.6881%208.4491%2016.7129L11.9951%2020.1721C14.035%2022.1622%2018.5264%2022.4475%2022.2872%2022.4998C22.4571%2022.5023%2022.5418%2022.2961%2022.4202%2022.1774Z'%20fill='%2300AD46'%20/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.9954%2020.1722C10.8811%2019.0852%2010.3641%2016.9347%2012.5003%2012.5C9.02851%2014.0515%207.81187%2016.0911%208.41038%2016.675L11.9954%2020.1722Z'%20fill='%2304D659'%20/%3e%3cpath%20d='M22.1775%202.57985L12.6019%2012.3956C12.5419%2012.4571%2012.5304%2012.5521%2012.5804%2012.622C13.1629%2013.4351%2014.2372%2013.576%2014.6353%2014.1223C15.815%2015.7404%2016.1143%2016.6562%2016.6211%2016.5995C16.6565%2016.5955%2016.6881%2016.5764%2016.713%2016.5509L20.1722%2013.005C22.1623%2010.965%2022.4477%206.4737%2022.5%202.71283C22.5023%202.54288%2022.2962%202.45819%2022.1775%202.57985Z'%20fill='%2300C7D4'%20/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M20.1726%2013.005C19.0855%2014.1192%2016.935%2014.6363%2012.5002%2012.5C14.0518%2015.9718%2016.0913%2017.1885%2016.6752%2016.5899L20.1726%2013.005Z'%20fill='%2311E1EE'%20/%3e%3cpath%20d='M2.57973%202.82253L12.3955%2012.3982C12.457%2012.4581%2012.552%2012.4697%2012.6219%2012.4196C13.4349%2011.8371%2013.5759%2010.7629%2014.1221%2010.3647C15.7403%209.18504%2016.6562%208.88574%2016.5993%208.37885C16.5954%208.34344%2016.5763%208.31187%2016.5509%208.28699L13.0049%204.82777C10.9649%202.83774%206.47358%202.55236%202.71271%202.50002C2.54276%202.49765%202.45807%202.70384%202.57973%202.82253Z'%20fill='%23E43921'%20/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M13.0052%204.82764C14.1195%205.91469%2014.6365%208.06516%2012.5002%2012.4999C15.972%2010.9484%2017.1888%208.90882%2016.5902%208.32495L13.0052%204.82764Z'%20fill='%23FF7557'%20/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.828%2011.9953C5.91505%2010.881%208.06553%2010.364%2012.5003%2012.5002C10.9487%209.02839%208.90919%207.81175%208.32532%208.41025L4.828%2011.9953Z'%20fill='%230CB6FF'%20/%3e%3cpath%20d='M12.507%2012.9272C12.7434%2012.9242%2012.9328%2012.7302%2012.9298%2012.4937C12.9269%2012.2573%2012.7328%2012.0679%2012.4964%2012.0709C12.2599%2012.0738%2012.0706%2012.2679%2012.0735%2012.5043C12.0765%2012.7408%2012.2705%2012.9301%2012.507%2012.9272Z'%20fill='%234A4848'%20/%3e%3c/svg%3e",o1="/assets/flyte-Cj-xy_8I.svg",n1="data:image/svg+xml,%3csvg%20viewBox='0%200%2025%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3crect%20x='2.5'%20y='2.5'%20width='20'%20height='20'%20fill='url(%23pattern0_6205_839)'%20/%3e%3cdefs%3e%3cpattern%20id='pattern0_6205_839'%20patternContentUnits='objectBoundingBox'%20width='1'%20height='1'%3e%3cuse%20xlink:href='%23image0_6205_839'%20transform='scale(0.005)'%20/%3e%3c/pattern%3e%3cimage%20id='image0_6205_839'%20width='200'%20height='200'%20xlink:href='data:image/png;base64,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'%20/%3e%3c/defs%3e%3c/svg%3e",i1="/assets/metaflow-weOkWNyT.svg",c1="data:image/svg+xml,%3csvg%20viewBox='0%200%2025%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3crect%20x='2.5'%20y='2.5'%20width='20'%20height='20'%20fill='url(%23pattern0_6205_1180)'%20/%3e%3cdefs%3e%3cpattern%20id='pattern0_6205_1180'%20patternContentUnits='objectBoundingBox'%20width='1'%20height='1'%3e%3cuse%20xlink:href='%23image0_6205_1180'%20transform='scale(0.00416667)'%20/%3e%3c/pattern%3e%3cimage%20id='image0_6205_1180'%20width='240'%20height='240'%20xlink:href='data:image/png;base64,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'%20/%3e%3c/defs%3e%3c/svg%3e",C1=s=>t.createElement("svg",{viewBox:"0 0 24 25",fill:"black",xmlns:"http://www.w3.org/2000/svg",...s},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 1.5C15.4138 1.5 15.7848 1.75483 15.9333 2.14102L17.112 5.20544C17.4124 5.98648 17.5068 6.21155 17.6359 6.39315C17.7655 6.57535 17.9246 6.73455 18.1069 6.86411C18.2884 6.99323 18.5135 7.08763 19.2946 7.38803L22.359 8.56665C22.7452 8.71519 23 9.08623 23 9.5C23 9.91377 22.7452 10.2848 22.359 10.4333L19.2946 11.612C18.5135 11.9124 18.2884 12.0068 18.1069 12.1359C17.9246 12.2654 17.7655 12.4246 17.6359 12.6069C17.5068 12.7884 17.4124 13.0135 17.112 13.7946L15.9333 16.859C15.7848 17.2452 15.4138 17.5 15 17.5C14.5862 17.5 14.2152 17.2452 14.0667 16.859L12.888 13.7946C12.5876 13.0135 12.4932 12.7884 12.3641 12.6069C12.2345 12.4246 12.0754 12.2654 11.8931 12.1359C11.7116 12.0068 11.4865 11.9124 10.7054 11.612L7.64102 10.4333C7.25483 10.2848 7 9.91377 7 9.5C7 9.08623 7.25483 8.71519 7.64102 8.56665L10.7054 7.38803C11.4865 7.08763 11.7116 6.99323 11.8931 6.86411C12.0754 6.73455 12.2345 6.57535 12.3641 6.39315C12.4932 6.21155 12.5876 5.98648 12.888 5.20544L14.0667 2.14102C14.2152 1.75483 14.5862 1.5 15 1.5ZM15 5.28568L14.7547 5.9234C14.7415 5.95787 14.7284 5.99189 14.7155 6.02548C14.4719 6.65974 14.2879 7.13886 13.9941 7.55214C13.7349 7.91655 13.4166 8.23494 13.0521 8.49406C12.6389 8.78793 12.1597 8.97192 11.5255 9.2155C11.4919 9.2284 11.4579 9.24147 11.4234 9.25472L10.7857 9.5L11.4234 9.74528C11.4579 9.75854 11.4919 9.7716 11.5255 9.7845C12.1597 10.0281 12.6389 10.2121 13.0521 10.5059C13.4166 10.7651 13.7349 11.0834 13.9941 11.4479C14.2879 11.8611 14.4719 12.3403 14.7155 12.9745C14.7284 13.0081 14.7415 13.0421 14.7547 13.0766L15 13.7143L15.2453 13.0766C15.2585 13.0421 15.2716 13.0081 15.2845 12.9745C15.5281 12.3403 15.7121 11.8611 16.0059 11.4479C16.2651 11.0834 16.5834 10.7651 16.9479 10.5059C17.3611 10.2121 17.8403 10.0281 18.4745 9.7845C18.5081 9.7716 18.5421 9.75854 18.5766 9.74528L19.2143 9.5L18.5766 9.25472C18.5421 9.24146 18.5081 9.2284 18.4745 9.2155C17.8403 8.97192 17.3611 8.78793 16.9479 8.49406C16.5834 8.23494 16.2651 7.91655 16.0059 7.55214C15.7121 7.13886 15.5281 6.65974 15.2845 6.02548C15.2716 5.99189 15.2585 5.95787 15.2453 5.9234L15 5.28568ZM6.5 12.5C6.87877 12.5 7.22503 12.714 7.39443 13.0528L8.17889 14.6217C8.46137 15.1867 8.54745 15.3493 8.65204 15.4849C8.75695 15.621 8.87896 15.7431 9.01506 15.848C9.15075 15.9525 9.31333 16.0386 9.8783 16.3211L11.4472 17.1056C11.786 17.275 12 17.6212 12 18C12 18.3788 11.786 18.725 11.4472 18.8944L9.8783 19.6789C9.31333 19.9614 9.15075 20.0475 9.01506 20.152C8.87896 20.257 8.75695 20.379 8.65204 20.5151C8.54745 20.6507 8.46137 20.8133 8.17889 21.3783L7.39443 22.9472C7.22504 23.286 6.87877 23.5 6.5 23.5C6.12123 23.5 5.77497 23.286 5.60557 22.9472L4.82111 21.3783C4.53863 20.8133 4.45255 20.6507 4.34796 20.5151C4.24305 20.379 4.12104 20.257 3.98494 20.152C3.84925 20.0475 3.68667 19.9614 3.1217 19.6789L1.55279 18.8944C1.214 18.725 1 18.3788 1 18C1 17.6212 1.214 17.275 1.55279 17.1056L3.1217 16.3211C3.68667 16.0386 3.84925 15.9526 3.98494 15.848C4.12104 15.7431 4.24305 15.621 4.34796 15.4849C4.45255 15.3493 4.53863 15.1867 4.82111 14.6217L5.60557 13.0528C5.77496 12.714 6.12123 12.5 6.5 12.5ZM6.5 15.736C6.30478 16.1251 6.14371 16.4313 5.93198 16.706C5.72217 16.9781 5.47815 17.2222 5.20595 17.432C4.93128 17.6437 4.62509 17.8048 4.23604 18C4.62509 18.1952 4.93128 18.3563 5.20595 18.568C5.47814 18.7778 5.72217 19.0219 5.93198 19.294C6.14371 19.5687 6.30478 19.8749 6.5 20.264C6.69522 19.8749 6.85629 19.5687 7.06802 19.294C7.27784 19.0219 7.52186 18.7778 7.79405 18.568C8.06872 18.3563 8.37491 18.1952 8.76396 18C8.37491 17.8048 8.06872 17.6437 7.79405 17.432C7.52185 17.2222 7.27783 16.9781 7.06802 16.706C6.85629 16.4313 6.69522 16.1251 6.5 15.736Z"})),d1=s=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...s},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.2929 2.29289C15.6834 1.90237 16.3166 1.90237 16.7071 2.29289L20.7071 6.29289C21.0976 6.68342 21.0976 7.31658 20.7071 7.70711L16.7071 11.7071C16.3166 12.0976 15.6834 12.0976 15.2929 11.7071C14.9024 11.3166 14.9024 10.6834 15.2929 10.2929L17.5858 8H4C3.44772 8 3 7.55228 3 7C3 6.44772 3.44772 6 4 6H17.5858L15.2929 3.70711C14.9024 3.31658 14.9024 2.68342 15.2929 2.29289ZM8.70711 12.2929C9.09763 12.6834 9.09763 13.3166 8.70711 13.7071L6.41421 16H20C20.5523 16 21 16.4477 21 17C21 17.5523 20.5523 18 20 18H6.41421L8.70711 20.2929C9.09763 20.6834 9.09763 21.3166 8.70711 21.7071C8.31658 22.0976 7.68342 22.0976 7.29289 21.7071L3.29289 17.7071C2.90237 17.3166 2.90237 16.6834 3.29289 16.2929L7.29289 12.2929C7.68342 11.9024 8.31658 11.9024 8.70711 12.2929Z"})),f="h-5 w-5 shrink-0 fill-primary-400",m1=[{label:"I'm new to MLOps and exploring",key:"exploring",icon:e.jsx(C1,{className:f})},{label:"I'm planning or conducting a Proof of Concept",key:"planning_poc",icon:e.jsx(J,{className:f})},{label:"I'm comparing ZenML to other MLOps tools",key:"comparing_tools",icon:e.jsx(d1,{className:f})},{label:"I'm implementing ZenML in a production environment",key:"implementing_production_environment",icon:e.jsx(P,{className:f})}],h1=[{name:"Metaflow",icon:i1},{name:"Flyte",icon:o1},{name:"Prefect",icon:c1},{name:"Kedro",icon:n1},{name:"Airflow",icon:l1}];function y1({submitHandler:s}){const o=t.useRef(null),{register:l,setValue:i,watch:r,handleSubmit:d,control:m,formState:{isValid:x}}=L({resolver:j(D),defaultValues:{usageReason:""},shouldUnregister:!0}),h=r("otherTool");return t.useEffect(()=>{var a;h&&((a=o.current)==null||a.focus())},[h]),e.jsxs("div",{className:"space-y-5",children:[e.jsxs("div",{children:[e.jsx("h1",{className:"text-display-xs font-semibold",children:"What best describes your current situation with ZenML?"}),e.jsx("p",{className:"text-theme-text-secondary",children:"Select only one of the options"})]}),e.jsxs("form",{onSubmit:d(s),className:"w-full space-y-5 lg:w-[700px]",children:[e.jsx("ul",{className:"space-y-2",children:m1.map(({key:a,label:p,icon:c})=>e.jsxs("li",{className:"space-y-2",children:[e.jsxs("label",{className:w("flex items-center gap-1 rounded-md border pl-3 transition-all duration-150",{"border-primary-400 bg-primary-25 shadow-sm":r("usageReason")===a,"border-theme-border-minimal bg-theme-surface-primary hover:border-theme-border-bold hover:shadow-sm":r("usageReason")!==a}),children:[e.jsx("input",{type:"radio",...l("usageReason"),value:a,name:"usageReason",className:"h-3 w-3 border !border-theme-border-bold text-theme-surface-primary focus:ring-2 focus:ring-theme-surface-strong"}),e.jsxs("div",{className:"flex w-full items-center gap-1 py-3 pr-3 text-theme-text-secondary hover:cursor-pointer",children:[c,p]})]}),r("usageReason")==="comparing_tools"&&a==="comparing_tools"&&e.jsxs(e.Fragment,{children:[e.jsx("p",{className:"text-text-sm text-theme-text-secondary",children:"Select all the tools that apply:"}),e.jsxs("ul",{className:"grid w-full grid-cols-1 gap-2 xl:grid-cols-3",children:[h1.map(({icon:C,name:n})=>e.jsx("li",{className:"",children:e.jsx(Z,{defaultValue:[],control:m,name:"comparison_tools",render:({field:{onChange:B,value:g,...v}})=>{var y,b;return e.jsxs("label",{className:w("flex items-center gap-1 rounded-md border pl-3 transition-all duration-150",{"border-primary-400 bg-primary-25 shadow-sm":(y=r("comparison_tools"))==null?void 0:y.includes(n),"border-theme-border-minimal bg-theme-surface-primary hover:border-theme-border-bold hover:shadow-sm":!((b=r("comparison_tools"))!=null&&b.includes(n))}),children:[e.jsx(u,{...v,checked:g==null?void 0:g.includes(n),onCheckedChange:N=>{B(N?[...g??[],n]:g==null?void 0:g.filter(I=>I!==n))},value:n,className:"h-3 w-3"}),e.jsxs("div",{className:"flex w-full items-center gap-1 py-3 pr-3 text-theme-text-secondary hover:cursor-pointer",children:[e.jsx("img",{className:"h-5 w-5 shrink-0",src:C,alt:`${n} icon`}),n]})]})}})},n)),e.jsx("li",{children:e.jsxs("div",{className:w("flex h-full items-center rounded-md border bg-theme-surface-primary p-3 transition duration-150",{"border-primary-400":!!r("otherTool"),"border-theme-border-minimal hover:border-theme-border-bold":!r("otherTool")}),children:[e.jsx(u,{onCheckedChange:C=>i("otherTool",!!C),...l("otherTool",{value:!1}),className:"mr-2 h-3 w-3",id:"other"}),h?e.jsx("input",{...l("otherToolVal"),ref:C=>{l("otherToolVal").ref(C),o.current=C},placeholder:"Specify...",className:"box-border w-full border-none p-0 pr-1 placeholder:text-theme-text-tertiary focus:outline-none focus:ring-0"}):e.jsx("label",{className:"w-full text-theme-text-secondary hover:cursor-pointer",htmlFor:"other",children:"Other"})]})})]})]})]},a))}),e.jsx(A,{disabled:!x,type:"submit",className:"w-full text-center",size:"md",children:e.jsx("span",{className:"w-full",children:"Continue"})})]})]})}export{j1 as A,L1 as I,Z1 as P,M1 as S,y1 as U};
1
+ import{j as e,r as t}from"./@radix-B7OY3d6N.js";import{u as Q,d as S,I as k,p as H,U as D}from"./form-schemas-B4cZxcUy.js";import{f as A,A as U,a as T,b as R,I as E,C as u,a9 as w,n as F,aG as J}from"./index-D25WcEJJ.js";import{t as j}from"./zod-C2FdaFLe.js";import{u as L,C as Z}from"./index.esm-C5jC4e7W.js";import{S as O,b as V,a as K}from"./gcp-B1H0QrG5.js";import{S as z}from"./kubernetes-Bn54mlK-.js";import{S as P}from"./rocket-GOlMupOS.js";const Y="/assets/adam-e-y0WnB_.webp",q="/assets/alex-DcCuDHPg.webp",W="/assets/baris-C0ZrZ10g.webp",X="/assets/hamza-NKKOZz1I.webp",G="/assets/stefan-B08Ftbba.webp";function M1(){const{setSurveyStep:s}=Q();function o(){window.open("https://zenml.io/slack","_blank"),s(l=>l+1)}return e.jsxs("div",{className:"max-w-[540px] space-y-5",children:[e.jsxs("div",{children:[e.jsx("h1",{className:"text-display-xs font-semibold",children:"Join The ZenML Slack Community"}),e.jsx("p",{className:"text-theme-text-secondary",children:"Connect to our growing community and meet fellow ZenML enthusiasts, get support, and share your insights. Let's grow together!"})]}),e.jsx($,{}),e.jsx(A,{onClick:()=>o(),className:"h-auto min-h-8 w-full justify-center py-1",intent:"primary",emphasis:"bold",size:"lg",children:"Join the ZenML Community and Continue"}),e.jsx(A,{intent:"secondary",emphasis:"minimal",onClick:()=>s(l=>l+1),className:"mx-auto justify-center text-neutral-500",size:"sm",children:"Skip this step"})]})}const _=[{name:"Adam",image:Y},{name:"Hamza",image:X},{name:"Alex",image:q},{name:"Stefan",image:G},{name:"Baris",image:W}];function $(){return e.jsxs("div",{className:"space-y-1",children:[e.jsx("div",{className:"flex items-center justify-center -space-x-[7px]",children:_.map(s=>e.jsxs(U,{size:"lg",type:"rounded",children:[e.jsx(T,{alt:`Portrait of ${s.name}`,src:s.image}),e.jsx(R,{size:"lg",children:s.name[0]})]},s.name))}),e.jsx("p",{className:"text-center text-text-xs text-theme-text-tertiary",children:"Adam Probst, Hamza Tahir, and +1,800 others have already joined"})]})}function j1({email:s,fullName:o,submitHandler:l}){const i=t.useId(),r=t.useId(),d=t.useId(),{register:m,handleSubmit:x,control:h,watch:a,formState:{isValid:p}}=L({resolver:j(S),defaultValues:{fullName:o||"",getUpdates:!0,email:s||""}});return e.jsxs("div",{className:"space-y-5",children:[e.jsxs("div",{children:[e.jsx("h1",{className:"text-display-xs font-semibold",children:"Add your account details"}),e.jsx("p",{className:"text-theme-text-secondary",children:"Please, fill in your details to get started with ZenML."})]}),e.jsxs("form",{onSubmit:x(l),className:"space-y-5",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"space-y-0.5",children:[e.jsx("label",{htmlFor:i,className:"text-text-sm",children:"Name"}),e.jsx(E,{...m("fullName"),id:i,className:"w-full"})]}),e.jsxs("div",{className:"space-y-0.5",children:[e.jsxs("label",{htmlFor:r,className:"text-text-sm",children:["Email ",!a("getUpdates")&&e.jsx(e.Fragment,{children:"(optional)"})]}),e.jsx(E,{placeholder:"example@company.inc",...m("email"),type:"email",id:r,className:"w-full"})]})]}),e.jsxs("div",{className:"flex items-center space-x-1",children:[e.jsx(Z,{control:h,name:"getUpdates",render:({field:{onChange:c,value:C}})=>e.jsx(u,{checked:C,onCheckedChange:n=>c(!!n),id:d})}),e.jsx("label",{htmlFor:d,className:"text-text-sm",children:"I want to receive news and recommendations about how to use ZenML"})]}),e.jsx(A,{disabled:!p,className:"w-full text-center",size:"md",children:e.jsx("span",{className:"w-full",children:"Continue"})}),e.jsxs("p",{className:"text-center text-theme-text-secondary",children:["By continuing you agree to the"," ",e.jsx("a",{className:"link text-theme-text-brand",href:"https://www.zenml.io/privacy-policy",rel:"noopener noreferrer",target:"_blank",children:"Privacy Policy"})]})]})]})}const e1=s=>t.createElement("svg",{viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...s},t.createElement("path",{d:"M21.9999 8.18613C21.7761 7.72384 21.5171 7.2777 21.2166 6.85693L18.006 8.02537C18.3794 8.40751 18.6931 8.83704 18.9496 9.29639L21.9999 8.18613ZM7.80775 11.7372L4.59619 12.9056C4.63724 13.4206 4.72618 13.9294 4.85077 14.4278L7.90158 13.317C7.80236 12.801 7.76717 12.2693 7.80775 11.7372Z",fill:"#C22133"}),t.createElement("path",{d:"M14.9352 7.27651C15.6032 7.58829 16.1818 8.01343 16.67 8.51188L19.8806 7.34348C18.9912 6.09541 17.7798 5.05258 16.2957 4.36011C11.7056 2.21972 6.22948 4.21253 4.0896 8.80215C3.39666 10.2873 3.13911 11.8647 3.2603 13.3923L6.4714 12.2238C6.52464 11.528 6.69423 10.8307 7.0055 10.1622C8.3963 7.18027 11.9533 5.8863 14.9352 7.27651ZM18.3597 13.1438C18.3084 13.8392 18.1329 14.5365 17.8207 15.2055C16.4304 18.1879 12.8729 19.4819 9.89149 18.0916C9.22247 17.7793 8.6395 17.3576 8.15325 16.8582L4.94904 18.0242C5.83647 19.2722 7.04643 20.3155 8.53149 21.0085C13.1216 23.1484 18.5967 21.1556 20.7371 16.5655C21.4305 15.0814 21.6861 13.5039 21.5639 11.9778L18.3597 13.1438Z",fill:"#DB212E"}),t.createElement("path",{d:"M19.1492 9.22388L16.0983 10.3341C16.6652 11.3496 16.933 12.5185 16.845 13.6943L20.0493 12.5288C19.9575 11.3807 19.6523 10.2599 19.1492 9.22388ZM5.05081 14.3546L2 15.4658C2.28133 16.5824 2.76785 17.637 3.43475 18.5757L6.63849 17.4093C5.81607 16.5648 5.26923 15.4961 5.05081 14.3546Z",fill:"#EB2126"}),t.createElement("path",{d:"M21.535 7.34025C21.4338 7.17606 21.3288 7.01429 21.2169 6.85693L18.0063 8.02537C18.1475 8.17002 18.2775 8.32346 18.4016 8.48082L21.535 7.34025ZM7.79556 12.382C7.78742 12.167 7.79149 11.9518 7.80775 11.7374L4.59619 12.9058C4.61281 13.1115 4.63869 13.3158 4.66949 13.5196L7.79556 12.382Z",fill:"#AD213B"}),t.createElement("path",{d:"M21.5637 11.9778L18.3594 13.1438C18.3257 13.6051 18.2358 14.0674 18.0887 14.5218L21.5764 13.2503C21.6015 12.8263 21.5972 12.4012 21.5637 11.9778ZM4.94922 18.0246C5.19771 18.374 5.47059 18.7053 5.76581 19.0162L9.25396 17.7441C8.84641 17.489 8.47795 17.1915 8.15296 16.8582L4.94922 18.0246Z",fill:"#BA2133"})),s1=[{name:"GCP",icon:e.jsx(O,{className:"h-5 w-5 shrink-0"})},{name:"AWS",icon:e.jsx(V,{className:"h-5 w-5 shrink-0"})},{name:"Azure",icon:e.jsx(K,{className:"h-5 w-5 shrink-0"})},{name:"Native Kubernetes",icon:e.jsx(z,{className:"h-5 w-5 shrink-0"})},{name:"Openshift",icon:e.jsx(e1,{className:"h-5 w-5 shrink-0"})}];function L1({submitHandler:s}){const o=t.useRef(null),{register:l,setValue:i,watch:r,handleSubmit:d,control:m,formState:{isValid:x}}=L({resolver:j(k),defaultValues:{providers:[]},shouldUnregister:!0}),h=r("other");return t.useEffect(()=>{var a;h&&((a=o.current)==null||a.focus())},[h]),e.jsxs("div",{className:"space-y-5",children:[e.jsxs("div",{children:[e.jsx("h1",{className:"text-display-xs font-semibold",children:"What is your current infrastructure?"}),e.jsx("p",{className:"text-theme-text-secondary",children:"Select all the applicable options"})]}),e.jsxs("form",{onSubmit:d(s),className:"space-y-5",children:[e.jsxs("div",{className:"grid w-full grid-cols-1 gap-[20px] md:grid-cols-2 lg:min-w-[700px]",children:[e.jsx(Z,{control:m,name:"providers",render:({field:{onChange:a,value:p}})=>e.jsx(e.Fragment,{children:s1.map((c,C)=>e.jsxs("label",{className:w("flex items-center gap-1 rounded-md border pl-3 transition-all duration-150",{"border-primary-400 bg-primary-25 shadow-sm":r("providers").includes(c.name),"border-theme-border-minimal bg-theme-surface-primary hover:border-theme-border-bold hover:shadow-sm":!r("providers").includes(c.name)}),children:[e.jsx(u,{onCheckedChange:n=>{a(n?[...p,c.name]:p.filter(B=>B!==c.name))},value:c.name,className:"h-3 w-3"}),e.jsxs("div",{className:"flex w-full items-center gap-1 py-3 pr-3 text-theme-text-secondary hover:cursor-pointer",children:[c.icon,c.name]})]},C))})}),e.jsxs("div",{className:w("flex items-center rounded-md border bg-theme-surface-primary p-3 transition duration-150",{"border-primary-400":!!r("other"),"border-theme-border-minimal hover:border-theme-border-bold":!r("other")}),children:[e.jsx(u,{onCheckedChange:a=>i("other",!!a),...l("other",{value:!1}),className:"mr-2 h-3 w-3",id:"other"}),h?e.jsx("input",{...l("otherVal"),ref:a=>{l("otherVal").ref(a),o.current=a},placeholder:"Specify...",className:"w-full border-none p-0 pr-2 placeholder:text-theme-text-tertiary focus:outline-none focus:ring-0"}):e.jsx("label",{className:"w-full text-theme-text-secondary hover:cursor-pointer",htmlFor:"other",children:"Other"})]})]}),e.jsx(A,{disabled:!x,type:"submit",className:"w-full text-center",size:"md",children:e.jsx("span",{className:"w-full",children:"Continue"})}),e.jsx(A,{intent:"secondary",emphasis:"minimal",onClick:()=>s({providers:["local"],other:!1}),className:"mx-auto justify-center text-neutral-500",size:"sm",children:"Skip this step"})]})]})}const t1=s=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...s},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.16146 2H9.83854C10.3657 1.99998 10.8205 1.99997 11.195 2.03057C11.5904 2.06287 11.9836 2.13419 12.362 2.32698C12.9265 2.6146 13.3854 3.07354 13.673 3.63803C13.8658 4.01641 13.9371 4.40963 13.9694 4.80497C14 5.17955 14 5.63432 14 6.16148V10L17.8385 10C18.3657 9.99998 18.8205 9.99997 19.195 10.0306C19.5904 10.0629 19.9836 10.1342 20.362 10.327C20.9265 10.6146 21.3854 11.0735 21.673 11.638C21.8658 12.0164 21.9371 12.4096 21.9694 12.805C22 13.1795 22 13.6343 22 14.1614V20C22.5523 20 23 20.4477 23 21C23 21.5523 22.5523 22 22 22H2C1.44772 22 1 21.5523 1 21C1 20.4477 1.44772 20 2 20V6.16146C1.99998 5.63431 1.99997 5.17955 2.03057 4.80497C2.06287 4.40963 2.13419 4.01641 2.32698 3.63803C2.6146 3.07354 3.07354 2.6146 3.63803 2.32698C4.01641 2.13419 4.40963 2.06287 4.80497 2.03057C5.17954 1.99997 5.63431 1.99998 6.16146 2ZM4 20H12V6.2C12 5.62345 11.9992 5.25118 11.9761 4.96784C11.9539 4.69617 11.9162 4.59546 11.891 4.54601C11.7951 4.35785 11.6422 4.20487 11.454 4.109C11.4045 4.0838 11.3038 4.04612 11.0322 4.02393C10.7488 4.00078 10.3766 4 9.8 4H6.2C5.62345 4 5.25117 4.00078 4.96784 4.02393C4.69617 4.04612 4.59545 4.0838 4.54601 4.109C4.35785 4.20487 4.20487 4.35785 4.10899 4.54601C4.0838 4.59546 4.04612 4.69617 4.02393 4.96784C4.00078 5.25117 4 5.62345 4 6.2V20ZM14 12V20H20V14.2C20 13.6234 19.9992 13.2512 19.9761 12.9678C19.9539 12.6962 19.9162 12.5955 19.891 12.546C19.7951 12.3578 19.6422 12.2049 19.454 12.109C19.4045 12.0838 19.3038 12.0461 19.0322 12.0239C18.7488 12.0008 18.3766 12 17.8 12H14ZM5.5 7C5.5 6.44772 5.94772 6 6.5 6H9.5C10.0523 6 10.5 6.44772 10.5 7C10.5 7.55229 10.0523 8 9.5 8H6.5C5.94772 8 5.5 7.55229 5.5 7ZM5.5 11C5.5 10.4477 5.94772 10 6.5 10H9.5C10.0523 10 10.5 10.4477 10.5 11C10.5 11.5523 10.0523 12 9.5 12H6.5C5.94772 12 5.5 11.5523 5.5 11ZM5.5 15C5.5 14.4477 5.94772 14 6.5 14H9.5C10.0523 14 10.5 14.4477 10.5 15C10.5 15.5523 10.0523 16 9.5 16H6.5C5.94772 16 5.5 15.5523 5.5 15Z"})),r1=s=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...s},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.8026 4.52039L11.8026 4.52039L11.8026 4.52039ZM12 4.61798L19.7639 8.49994L19.5721 8.59583C19.5596 8.6018 19.5471 8.60803 19.5348 8.6145L17 9.88191L12.4472 7.60552C11.9532 7.35853 11.3526 7.55875 11.1056 8.05273C10.8586 8.54671 11.0588 9.14738 11.5528 9.39437L14.7639 10.9999L12 12.3819L4.4652 8.61451C4.4529 8.60803 4.44044 8.6018 4.42784 8.59583L4.23607 8.49994L12 4.61798ZM3 10.118L1.55279 9.39437C1.214 9.22498 1 8.87872 1 8.49994C1 8.12117 1.214 7.77491 1.55279 7.60552L11.195 2.7844C11.2024 2.7807 11.211 2.77633 11.2206 2.77143C11.3139 2.72382 11.507 2.62529 11.7234 2.58468C11.9062 2.55039 12.0938 2.55039 12.2766 2.58468C12.493 2.62529 12.6861 2.72382 12.7794 2.77143C12.789 2.77633 12.7976 2.7807 12.805 2.7844L22.4472 7.60552C22.786 7.77491 23 8.12117 23 8.49994C23 8.87872 22.786 9.22498 22.4472 9.39437L21 10.118V16.3066C21 16.332 21.0001 16.3582 21.0002 16.3851C21.0013 16.6707 21.0027 17.0296 20.884 17.3629C20.7814 17.6508 20.6142 17.9113 20.3952 18.1245C20.1417 18.3713 19.8149 18.5196 19.5548 18.6376C19.5303 18.6487 19.5065 18.6595 19.4833 18.6701L13.0833 21.6035C13.0667 21.6111 13.0496 21.619 13.0321 21.6271C12.8423 21.7147 12.6034 21.8251 12.3421 21.8704C12.1157 21.9097 11.8843 21.9097 11.6579 21.8704C11.3966 21.8251 11.1577 21.7147 10.9679 21.6271C10.9504 21.619 10.9333 21.6111 10.9167 21.6035L4.5167 18.6701L4.93335 17.7611L4.51669 18.6701C4.49354 18.6595 4.46967 18.6487 4.44522 18.6376C4.1851 18.5196 3.85826 18.3713 3.60476 18.1245C3.3858 17.9113 3.21862 17.6508 3.11604 17.3629C2.99727 17.0296 2.99867 16.6707 2.99979 16.3851C2.9999 16.3582 3 16.332 3 16.3066V10.118ZM5 11.118V16.3066C5 16.505 5.00047 16.6074 5.00521 16.6814C5.00536 16.6837 5.0055 16.6859 5.00565 16.688C5.00747 16.6889 5.00938 16.69 5.01138 16.6911C5.07675 16.7262 5.16965 16.7693 5.35001 16.852L11.75 19.7853C11.8813 19.8455 11.9473 19.8754 11.9962 19.895C11.9975 19.8955 11.9988 19.896 12 19.8965C12.0012 19.896 12.0025 19.8955 12.0038 19.895C12.0527 19.8754 12.1187 19.8455 12.25 19.7853L18.65 16.852C18.8304 16.7693 18.9233 16.7262 18.9886 16.6911C18.9906 16.69 18.9925 16.6889 18.9944 16.688C18.9945 16.6859 18.9946 16.6837 18.9948 16.6814C18.9995 16.6074 19 16.505 19 16.3066V11.118L18 11.618V14.4999C18 15.0522 17.5523 15.4999 17 15.4999C16.4477 15.4999 16 15.0522 16 14.4999V12.618L12.805 14.2155C12.7976 14.2192 12.789 14.2236 12.7794 14.2285C12.6861 14.2761 12.493 14.3746 12.2766 14.4152C12.0938 14.4495 11.9062 14.4495 11.7234 14.4152C11.507 14.3746 11.3139 14.2761 11.2206 14.2285C11.211 14.2236 11.2024 14.2192 11.195 14.2155L5 11.118ZM11.8026 12.4795C11.8024 12.4796 11.8024 12.4796 11.8026 12.4795L11.8026 12.4795ZM12.1974 12.4795C12.1976 12.4796 12.1976 12.4796 12.1974 12.4795L12.1974 12.4795ZM12.1974 4.52039L12.1974 4.52039L12.1974 4.52039Z"})),a1=s=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...s},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 4C10.067 4 8.50002 5.567 8.50002 7.5C8.50002 9.433 10.067 11 12 11C13.933 11 15.5 9.433 15.5 7.5C15.5 5.567 13.933 4 12 4ZM6.50002 7.5C6.50002 4.46243 8.96246 2 12 2C15.0376 2 17.5 4.46243 17.5 7.5C17.5 10.5376 15.0376 13 12 13C8.96246 13 6.50002 10.5376 6.50002 7.5ZM9.32629 14.5C9.38335 14.5 9.44125 14.5 9.50003 14.5H14.5C14.5588 14.5 14.6167 14.5 14.6738 14.5C15.901 14.4995 16.739 14.4992 17.4514 14.7153C19.0495 15.2 20.3 16.4506 20.7847 18.0486C21.0008 18.761 21.0005 19.599 21.0001 20.8263C21 20.8833 21 20.9412 21 21C21 21.5523 20.5523 22 20 22C19.4477 22 19 21.5523 19 21C19 19.5317 18.9892 19.0192 18.8708 18.6291C18.58 17.6703 17.8297 16.92 16.8709 16.6292C16.4808 16.5108 15.9683 16.5 14.5 16.5H9.50003C8.03171 16.5 7.51923 16.5108 7.12917 16.6292C6.17036 16.92 5.42005 17.6703 5.1292 18.6291C5.01088 19.0192 5.00002 19.5317 5.00002 21C5.00002 21.5523 4.55231 22 4.00002 22C3.44774 22 3.00002 21.5523 3.00002 21C3.00002 20.9412 3 20.8833 2.99998 20.8263C2.99953 19.599 2.99922 18.761 3.21532 18.0486C3.70007 16.4506 4.95059 15.2 6.54859 14.7153C7.261 14.4992 8.09902 14.4995 9.32629 14.5Z"})),M=t.forwardRef(({children:s,className:o,id:l,...i},r)=>e.jsxs("div",{className:"min-h-[160px] min-w-[160px]",children:[e.jsx("input",{id:l,...i,ref:r,className:F("peer sr-only",o),type:"radio"}),e.jsx("label",{htmlFor:l,className:"flex h-full w-full flex-col items-center justify-center space-y-5 rounded-md border border-theme-border-minimal bg-theme-surface-primary p-5 text-text-lg text-theme-text-secondary transition-all duration-150 hover:cursor-pointer hover:border-theme-border-bold hover:shadow-sm peer-checked:border-primary-400 peer-checked:bg-primary-25 peer-checked:shadow-sm peer-focus-visible:border-primary-100",children:s})]}));M.displayName="UseRadioButton";function Z1({submitHandler:s,user:o}){var d,m;const{handleSubmit:l,register:i,formState:{isValid:r}}=L({defaultValues:{primaryUse:(m=(d=o==null?void 0:o.metadata)==null?void 0:d.user_metadata)==null?void 0:m.primary_use},resolver:j(H)});return e.jsxs("div",{className:"space-y-5",children:[e.jsx("div",{children:e.jsx("h1",{className:"text-display-xs font-semibold",children:"What will be your primary use for ZenML?"})}),e.jsxs("form",{onSubmit:l(s),className:"space-y-5",children:[e.jsxs("div",{className:"grid grid-cols-1 gap-[20px] md:grid-cols-3",children:[e.jsxs(M,{id:"use-personal",...i("primaryUse"),value:"personal",children:[e.jsx(a1,{className:"h-7 w-7 fill-primary-400"}),e.jsx("span",{children:"Personal"})]}),e.jsxs(M,{...i("primaryUse"),id:"use-work",value:"work",children:[e.jsx(t1,{className:"h-7 w-7 fill-primary-400"}),e.jsx("span",{children:"Work"})]}),e.jsxs(M,{...i("primaryUse"),id:"use-student",value:"student",children:[e.jsx(r1,{className:"h-7 w-7 fill-primary-400"}),e.jsx("span",{children:"Student"})]})]}),e.jsx(A,{disabled:!r,className:"w-full text-center",size:"md",children:e.jsx("span",{className:"w-full",children:"Continue"})})]})]})}const l1="data:image/svg+xml,%3csvg%20viewBox='0%200%2025%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.82253%2022.4201L12.3982%2012.6043C12.4582%2012.5428%2012.4697%2012.4478%2012.4196%2012.3779C11.8371%2011.5648%2010.7629%2011.4239%2010.3647%2010.8777C9.18504%209.25951%208.88573%208.34364%208.37885%208.40044C8.34344%208.40442%208.31187%208.42347%208.28699%208.44897L4.82777%2011.9949C2.83774%2014.0348%202.55236%2018.5262%202.50002%2022.2871C2.49766%2022.457%202.70384%2022.5417%202.82253%2022.4201Z'%20fill='%23017CEE'%20/%3e%3cpath%20d='M22.4202%2022.1774L12.6044%2012.6017C12.543%2012.5418%2012.4479%2012.5302%2012.3781%2012.5803C11.565%2013.1628%2011.424%2014.237%2010.8778%2014.6353C9.25964%2015.8148%208.34376%2016.1142%208.40057%2016.6211C8.40454%2016.6565%208.42359%2016.6881%208.4491%2016.7129L11.9951%2020.1721C14.035%2022.1622%2018.5264%2022.4475%2022.2872%2022.4998C22.4571%2022.5023%2022.5418%2022.2961%2022.4202%2022.1774Z'%20fill='%2300AD46'%20/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.9954%2020.1722C10.8811%2019.0852%2010.3641%2016.9347%2012.5003%2012.5C9.02851%2014.0515%207.81187%2016.0911%208.41038%2016.675L11.9954%2020.1722Z'%20fill='%2304D659'%20/%3e%3cpath%20d='M22.1775%202.57985L12.6019%2012.3956C12.5419%2012.4571%2012.5304%2012.5521%2012.5804%2012.622C13.1629%2013.4351%2014.2372%2013.576%2014.6353%2014.1223C15.815%2015.7404%2016.1143%2016.6562%2016.6211%2016.5995C16.6565%2016.5955%2016.6881%2016.5764%2016.713%2016.5509L20.1722%2013.005C22.1623%2010.965%2022.4477%206.4737%2022.5%202.71283C22.5023%202.54288%2022.2962%202.45819%2022.1775%202.57985Z'%20fill='%2300C7D4'%20/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M20.1726%2013.005C19.0855%2014.1192%2016.935%2014.6363%2012.5002%2012.5C14.0518%2015.9718%2016.0913%2017.1885%2016.6752%2016.5899L20.1726%2013.005Z'%20fill='%2311E1EE'%20/%3e%3cpath%20d='M2.57973%202.82253L12.3955%2012.3982C12.457%2012.4581%2012.552%2012.4697%2012.6219%2012.4196C13.4349%2011.8371%2013.5759%2010.7629%2014.1221%2010.3647C15.7403%209.18504%2016.6562%208.88574%2016.5993%208.37885C16.5954%208.34344%2016.5763%208.31187%2016.5509%208.28699L13.0049%204.82777C10.9649%202.83774%206.47358%202.55236%202.71271%202.50002C2.54276%202.49765%202.45807%202.70384%202.57973%202.82253Z'%20fill='%23E43921'%20/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M13.0052%204.82764C14.1195%205.91469%2014.6365%208.06516%2012.5002%2012.4999C15.972%2010.9484%2017.1888%208.90882%2016.5902%208.32495L13.0052%204.82764Z'%20fill='%23FF7557'%20/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.828%2011.9953C5.91505%2010.881%208.06553%2010.364%2012.5003%2012.5002C10.9487%209.02839%208.90919%207.81175%208.32532%208.41025L4.828%2011.9953Z'%20fill='%230CB6FF'%20/%3e%3cpath%20d='M12.507%2012.9272C12.7434%2012.9242%2012.9328%2012.7302%2012.9298%2012.4937C12.9269%2012.2573%2012.7328%2012.0679%2012.4964%2012.0709C12.2599%2012.0738%2012.0706%2012.2679%2012.0735%2012.5043C12.0765%2012.7408%2012.2705%2012.9301%2012.507%2012.9272Z'%20fill='%234A4848'%20/%3e%3c/svg%3e",o1="/assets/flyte-Cj-xy_8I.svg",n1="data:image/svg+xml,%3csvg%20viewBox='0%200%2025%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3crect%20x='2.5'%20y='2.5'%20width='20'%20height='20'%20fill='url(%23pattern0_6205_839)'%20/%3e%3cdefs%3e%3cpattern%20id='pattern0_6205_839'%20patternContentUnits='objectBoundingBox'%20width='1'%20height='1'%3e%3cuse%20xlink:href='%23image0_6205_839'%20transform='scale(0.005)'%20/%3e%3c/pattern%3e%3cimage%20id='image0_6205_839'%20width='200'%20height='200'%20xlink:href='data:image/png;base64,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'%20/%3e%3c/defs%3e%3c/svg%3e",i1="/assets/metaflow-weOkWNyT.svg",c1="data:image/svg+xml,%3csvg%20viewBox='0%200%2025%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3crect%20x='2.5'%20y='2.5'%20width='20'%20height='20'%20fill='url(%23pattern0_6205_1180)'%20/%3e%3cdefs%3e%3cpattern%20id='pattern0_6205_1180'%20patternContentUnits='objectBoundingBox'%20width='1'%20height='1'%3e%3cuse%20xlink:href='%23image0_6205_1180'%20transform='scale(0.00416667)'%20/%3e%3c/pattern%3e%3cimage%20id='image0_6205_1180'%20width='240'%20height='240'%20xlink:href='data:image/png;base64,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'%20/%3e%3c/defs%3e%3c/svg%3e",C1=s=>t.createElement("svg",{viewBox:"0 0 24 25",fill:"black",xmlns:"http://www.w3.org/2000/svg",...s},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 1.5C15.4138 1.5 15.7848 1.75483 15.9333 2.14102L17.112 5.20544C17.4124 5.98648 17.5068 6.21155 17.6359 6.39315C17.7655 6.57535 17.9246 6.73455 18.1069 6.86411C18.2884 6.99323 18.5135 7.08763 19.2946 7.38803L22.359 8.56665C22.7452 8.71519 23 9.08623 23 9.5C23 9.91377 22.7452 10.2848 22.359 10.4333L19.2946 11.612C18.5135 11.9124 18.2884 12.0068 18.1069 12.1359C17.9246 12.2654 17.7655 12.4246 17.6359 12.6069C17.5068 12.7884 17.4124 13.0135 17.112 13.7946L15.9333 16.859C15.7848 17.2452 15.4138 17.5 15 17.5C14.5862 17.5 14.2152 17.2452 14.0667 16.859L12.888 13.7946C12.5876 13.0135 12.4932 12.7884 12.3641 12.6069C12.2345 12.4246 12.0754 12.2654 11.8931 12.1359C11.7116 12.0068 11.4865 11.9124 10.7054 11.612L7.64102 10.4333C7.25483 10.2848 7 9.91377 7 9.5C7 9.08623 7.25483 8.71519 7.64102 8.56665L10.7054 7.38803C11.4865 7.08763 11.7116 6.99323 11.8931 6.86411C12.0754 6.73455 12.2345 6.57535 12.3641 6.39315C12.4932 6.21155 12.5876 5.98648 12.888 5.20544L14.0667 2.14102C14.2152 1.75483 14.5862 1.5 15 1.5ZM15 5.28568L14.7547 5.9234C14.7415 5.95787 14.7284 5.99189 14.7155 6.02548C14.4719 6.65974 14.2879 7.13886 13.9941 7.55214C13.7349 7.91655 13.4166 8.23494 13.0521 8.49406C12.6389 8.78793 12.1597 8.97192 11.5255 9.2155C11.4919 9.2284 11.4579 9.24147 11.4234 9.25472L10.7857 9.5L11.4234 9.74528C11.4579 9.75854 11.4919 9.7716 11.5255 9.7845C12.1597 10.0281 12.6389 10.2121 13.0521 10.5059C13.4166 10.7651 13.7349 11.0834 13.9941 11.4479C14.2879 11.8611 14.4719 12.3403 14.7155 12.9745C14.7284 13.0081 14.7415 13.0421 14.7547 13.0766L15 13.7143L15.2453 13.0766C15.2585 13.0421 15.2716 13.0081 15.2845 12.9745C15.5281 12.3403 15.7121 11.8611 16.0059 11.4479C16.2651 11.0834 16.5834 10.7651 16.9479 10.5059C17.3611 10.2121 17.8403 10.0281 18.4745 9.7845C18.5081 9.7716 18.5421 9.75854 18.5766 9.74528L19.2143 9.5L18.5766 9.25472C18.5421 9.24146 18.5081 9.2284 18.4745 9.2155C17.8403 8.97192 17.3611 8.78793 16.9479 8.49406C16.5834 8.23494 16.2651 7.91655 16.0059 7.55214C15.7121 7.13886 15.5281 6.65974 15.2845 6.02548C15.2716 5.99189 15.2585 5.95787 15.2453 5.9234L15 5.28568ZM6.5 12.5C6.87877 12.5 7.22503 12.714 7.39443 13.0528L8.17889 14.6217C8.46137 15.1867 8.54745 15.3493 8.65204 15.4849C8.75695 15.621 8.87896 15.7431 9.01506 15.848C9.15075 15.9525 9.31333 16.0386 9.8783 16.3211L11.4472 17.1056C11.786 17.275 12 17.6212 12 18C12 18.3788 11.786 18.725 11.4472 18.8944L9.8783 19.6789C9.31333 19.9614 9.15075 20.0475 9.01506 20.152C8.87896 20.257 8.75695 20.379 8.65204 20.5151C8.54745 20.6507 8.46137 20.8133 8.17889 21.3783L7.39443 22.9472C7.22504 23.286 6.87877 23.5 6.5 23.5C6.12123 23.5 5.77497 23.286 5.60557 22.9472L4.82111 21.3783C4.53863 20.8133 4.45255 20.6507 4.34796 20.5151C4.24305 20.379 4.12104 20.257 3.98494 20.152C3.84925 20.0475 3.68667 19.9614 3.1217 19.6789L1.55279 18.8944C1.214 18.725 1 18.3788 1 18C1 17.6212 1.214 17.275 1.55279 17.1056L3.1217 16.3211C3.68667 16.0386 3.84925 15.9526 3.98494 15.848C4.12104 15.7431 4.24305 15.621 4.34796 15.4849C4.45255 15.3493 4.53863 15.1867 4.82111 14.6217L5.60557 13.0528C5.77496 12.714 6.12123 12.5 6.5 12.5ZM6.5 15.736C6.30478 16.1251 6.14371 16.4313 5.93198 16.706C5.72217 16.9781 5.47815 17.2222 5.20595 17.432C4.93128 17.6437 4.62509 17.8048 4.23604 18C4.62509 18.1952 4.93128 18.3563 5.20595 18.568C5.47814 18.7778 5.72217 19.0219 5.93198 19.294C6.14371 19.5687 6.30478 19.8749 6.5 20.264C6.69522 19.8749 6.85629 19.5687 7.06802 19.294C7.27784 19.0219 7.52186 18.7778 7.79405 18.568C8.06872 18.3563 8.37491 18.1952 8.76396 18C8.37491 17.8048 8.06872 17.6437 7.79405 17.432C7.52185 17.2222 7.27783 16.9781 7.06802 16.706C6.85629 16.4313 6.69522 16.1251 6.5 15.736Z"})),d1=s=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...s},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.2929 2.29289C15.6834 1.90237 16.3166 1.90237 16.7071 2.29289L20.7071 6.29289C21.0976 6.68342 21.0976 7.31658 20.7071 7.70711L16.7071 11.7071C16.3166 12.0976 15.6834 12.0976 15.2929 11.7071C14.9024 11.3166 14.9024 10.6834 15.2929 10.2929L17.5858 8H4C3.44772 8 3 7.55228 3 7C3 6.44772 3.44772 6 4 6H17.5858L15.2929 3.70711C14.9024 3.31658 14.9024 2.68342 15.2929 2.29289ZM8.70711 12.2929C9.09763 12.6834 9.09763 13.3166 8.70711 13.7071L6.41421 16H20C20.5523 16 21 16.4477 21 17C21 17.5523 20.5523 18 20 18H6.41421L8.70711 20.2929C9.09763 20.6834 9.09763 21.3166 8.70711 21.7071C8.31658 22.0976 7.68342 22.0976 7.29289 21.7071L3.29289 17.7071C2.90237 17.3166 2.90237 16.6834 3.29289 16.2929L7.29289 12.2929C7.68342 11.9024 8.31658 11.9024 8.70711 12.2929Z"})),f="h-5 w-5 shrink-0 fill-primary-400",m1=[{label:"I'm new to MLOps and exploring",key:"exploring",icon:e.jsx(C1,{className:f})},{label:"I'm planning or conducting a Proof of Concept",key:"planning_poc",icon:e.jsx(J,{className:f})},{label:"I'm comparing ZenML to other MLOps tools",key:"comparing_tools",icon:e.jsx(d1,{className:f})},{label:"I'm implementing ZenML in a production environment",key:"implementing_production_environment",icon:e.jsx(P,{className:f})}],h1=[{name:"Metaflow",icon:i1},{name:"Flyte",icon:o1},{name:"Prefect",icon:c1},{name:"Kedro",icon:n1},{name:"Airflow",icon:l1}];function y1({submitHandler:s}){const o=t.useRef(null),{register:l,setValue:i,watch:r,handleSubmit:d,control:m,formState:{isValid:x}}=L({resolver:j(D),defaultValues:{usageReason:""},shouldUnregister:!0}),h=r("otherTool");return t.useEffect(()=>{var a;h&&((a=o.current)==null||a.focus())},[h]),e.jsxs("div",{className:"space-y-5",children:[e.jsxs("div",{children:[e.jsx("h1",{className:"text-display-xs font-semibold",children:"What best describes your current situation with ZenML?"}),e.jsx("p",{className:"text-theme-text-secondary",children:"Select only one of the options"})]}),e.jsxs("form",{onSubmit:d(s),className:"w-full space-y-5 lg:w-[700px]",children:[e.jsx("ul",{className:"space-y-2",children:m1.map(({key:a,label:p,icon:c})=>e.jsxs("li",{className:"space-y-2",children:[e.jsxs("label",{className:w("flex items-center gap-1 rounded-md border pl-3 transition-all duration-150",{"border-primary-400 bg-primary-25 shadow-sm":r("usageReason")===a,"border-theme-border-minimal bg-theme-surface-primary hover:border-theme-border-bold hover:shadow-sm":r("usageReason")!==a}),children:[e.jsx("input",{type:"radio",...l("usageReason"),value:a,name:"usageReason",className:"h-3 w-3 border !border-theme-border-bold text-theme-surface-primary focus:ring-2 focus:ring-theme-surface-strong"}),e.jsxs("div",{className:"flex w-full items-center gap-1 py-3 pr-3 text-theme-text-secondary hover:cursor-pointer",children:[c,p]})]}),r("usageReason")==="comparing_tools"&&a==="comparing_tools"&&e.jsxs(e.Fragment,{children:[e.jsx("p",{className:"text-text-sm text-theme-text-secondary",children:"Select all the tools that apply:"}),e.jsxs("ul",{className:"grid w-full grid-cols-1 gap-2 xl:grid-cols-3",children:[h1.map(({icon:C,name:n})=>e.jsx("li",{className:"",children:e.jsx(Z,{defaultValue:[],control:m,name:"comparison_tools",render:({field:{onChange:B,value:g,...v}})=>{var y,b;return e.jsxs("label",{className:w("flex items-center gap-1 rounded-md border pl-3 transition-all duration-150",{"border-primary-400 bg-primary-25 shadow-sm":(y=r("comparison_tools"))==null?void 0:y.includes(n),"border-theme-border-minimal bg-theme-surface-primary hover:border-theme-border-bold hover:shadow-sm":!((b=r("comparison_tools"))!=null&&b.includes(n))}),children:[e.jsx(u,{...v,checked:g==null?void 0:g.includes(n),onCheckedChange:N=>{B(N?[...g??[],n]:g==null?void 0:g.filter(I=>I!==n))},value:n,className:"h-3 w-3"}),e.jsxs("div",{className:"flex w-full items-center gap-1 py-3 pr-3 text-theme-text-secondary hover:cursor-pointer",children:[e.jsx("img",{className:"h-5 w-5 shrink-0",src:C,alt:`${n} icon`}),n]})]})}})},n)),e.jsx("li",{children:e.jsxs("div",{className:w("flex h-full items-center rounded-md border bg-theme-surface-primary p-3 transition duration-150",{"border-primary-400":!!r("otherTool"),"border-theme-border-minimal hover:border-theme-border-bold":!r("otherTool")}),children:[e.jsx(u,{onCheckedChange:C=>i("otherTool",!!C),...l("otherTool",{value:!1}),className:"mr-2 h-3 w-3",id:"other"}),h?e.jsx("input",{...l("otherToolVal"),ref:C=>{l("otherToolVal").ref(C),o.current=C},placeholder:"Specify...",className:"box-border w-full border-none p-0 pr-1 placeholder:text-theme-text-tertiary focus:outline-none focus:ring-0"}):e.jsx("label",{className:"w-full text-theme-text-secondary hover:cursor-pointer",htmlFor:"other",children:"Other"})]})})]})]})]},a))}),e.jsx(A,{disabled:!x,type:"submit",className:"w-full text-center",size:"md",children:e.jsx("span",{className:"w-full",children:"Continue"})})]})]})}export{j1 as A,L1 as I,Z1 as P,M1 as S,y1 as U};
@@ -1 +1 @@
1
- import{j as e}from"./@radix-DeK6qiuw.js";import{B as o}from"./index-CxO6541P.js";import{a as s}from"./ProviderRadio-B81Elxrc.js";function m({children:r}){return e.jsx(o,{className:"w-full",children:r})}function u({children:r}){return e.jsx("div",{className:"border-b border-theme-border-moderate px-5 py-3 text-display-xs font-semibold",children:r})}function x({children:r}){return e.jsx("div",{className:"p-5",children:r})}function a({children:r}){return e.jsx("div",{className:"flex items-center justify-end gap-2 border-t border-theme-border-moderate p-5",children:r})}function c({children:r,displayCancel:t=!0}){return e.jsxs(a,{children:[t&&e.jsx(s,{}),r]})}export{x as B,u as H,c as S,m as W};
1
+ import{j as e}from"./@radix-B7OY3d6N.js";import{B as o}from"./index-D25WcEJJ.js";import{a as s}from"./ProviderRadio-C9z7SJnN.js";function m({children:r}){return e.jsx(o,{className:"w-full",children:r})}function u({children:r}){return e.jsx("div",{className:"border-b border-theme-border-moderate px-5 py-3 text-display-xs font-semibold",children:r})}function x({children:r}){return e.jsx("div",{className:"p-5",children:r})}function a({children:r}){return e.jsx("div",{className:"flex items-center justify-end gap-2 border-t border-theme-border-moderate p-5",children:r})}function c({children:r,displayCancel:t=!0}){return e.jsxs(a,{children:[t&&e.jsx(s,{}),r]})}export{x as B,u as H,c as S,m as W};
@@ -1 +1 @@
1
- import{p as r,q as n,k as a,s as o,F as u}from"./index-CxO6541P.js";import{a as i}from"./@tanstack-DT5WLu9C.js";import{o as c}from"./url-BWJXzuI4.js";function p({params:e}){return["runs",e]}async function l({params:e}){const s=r(n.runs.all+"?"+c(e)),t=await a(s,{method:"GET",headers:{"Content-Type":"application/json"}});if(t.status===404&&o(),!t.ok)throw new u({message:"Error while fetching pipeline runs",status:t.status,statusText:t.statusText});return t.json()}function y(e,s){return i({queryKey:p(e),queryFn:()=>l(e),...s})}export{y as u};
1
+ import{p as r,q as n,k as a,s as o,F as u}from"./index-D25WcEJJ.js";import{a as i}from"./@tanstack-W1pLDzVg.js";import{o as c}from"./url-1R6qfphK.js";function p({params:e}){return["runs",e]}async function l({params:e}){const s=r(n.runs.all+"?"+c(e)),t=await a(s,{method:"GET",headers:{"Content-Type":"application/json"}});if(t.status===404&&o(),!t.ok)throw new u({message:"Error while fetching pipeline runs",status:t.status,statusText:t.statusText});return t.json()}function y(e,s){return i({queryKey:p(e),queryFn:()=>l(e),...s})}export{y as u};
@@ -1 +1 @@
1
- import{r as e}from"./@radix-DeK6qiuw.js";const o=t=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.7071 5.29289C21.0976 5.68342 21.0976 6.31658 20.7071 6.70711L9.70711 17.7071C9.31658 18.0976 8.68342 18.0976 8.29289 17.7071L3.29289 12.7071C2.90237 12.3166 2.90237 11.6834 3.29289 11.2929C3.68342 10.9024 4.31658 10.9024 4.70711 11.2929L9 15.5858L19.2929 5.29289C19.6834 4.90237 20.3166 4.90237 20.7071 5.29289Z"}));export{o as S};
1
+ import{r as e}from"./@radix-B7OY3d6N.js";const o=t=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.7071 5.29289C21.0976 5.68342 21.0976 6.31658 20.7071 6.70711L9.70711 17.7071C9.31658 18.0976 8.68342 18.0976 8.29289 17.7071L3.29289 12.7071C2.90237 12.3166 2.90237 11.6834 3.29289 11.2929C3.68342 10.9024 4.31658 10.9024 4.70711 11.2929L9 15.5858L19.2929 5.29289C19.6834 4.90237 20.3166 4.90237 20.7071 5.29289Z"}));export{o as S};
@@ -1 +1 @@
1
- import{r as e}from"./@radix-DeK6qiuw.js";const t=C=>e.createElement("svg",{viewBox:"0 0 33 33",fill:"black",xmlns:"http://www.w3.org/2000/svg",...C},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.5 4.4834C9.87258 4.4834 4.49999 9.85598 4.49999 16.4834C4.49999 23.1108 9.87258 28.4834 16.5 28.4834C23.1274 28.4834 28.5 23.1108 28.5 16.4834C28.5 9.85598 23.1274 4.4834 16.5 4.4834ZM1.83333 16.4834C1.83333 8.38322 8.39982 1.81673 16.5 1.81673C24.6002 1.81673 31.1667 8.38322 31.1667 16.4834C31.1667 24.5836 24.6002 31.1501 16.5 31.1501C8.39982 31.1501 1.83333 24.5836 1.83333 16.4834ZM23.4428 11.5406C23.9635 12.0613 23.9635 12.9055 23.4428 13.4262L15.4428 21.4262C14.9221 21.9469 14.0779 21.9469 13.5572 21.4262L9.55719 17.4262C9.03649 16.9055 9.03649 16.0613 9.55719 15.5406C10.0779 15.0199 10.9221 15.0199 11.4428 15.5406L14.5 18.5978L21.5572 11.5406C22.0779 11.0199 22.9221 11.0199 23.4428 11.5406Z"}));export{t as S};
1
+ import{r as e}from"./@radix-B7OY3d6N.js";const t=C=>e.createElement("svg",{viewBox:"0 0 33 33",fill:"black",xmlns:"http://www.w3.org/2000/svg",...C},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.5 4.4834C9.87258 4.4834 4.49999 9.85598 4.49999 16.4834C4.49999 23.1108 9.87258 28.4834 16.5 28.4834C23.1274 28.4834 28.5 23.1108 28.5 16.4834C28.5 9.85598 23.1274 4.4834 16.5 4.4834ZM1.83333 16.4834C1.83333 8.38322 8.39982 1.81673 16.5 1.81673C24.6002 1.81673 31.1667 8.38322 31.1667 16.4834C31.1667 24.5836 24.6002 31.1501 16.5 31.1501C8.39982 31.1501 1.83333 24.5836 1.83333 16.4834ZM23.4428 11.5406C23.9635 12.0613 23.9635 12.9055 23.4428 13.4262L15.4428 21.4262C14.9221 21.9469 14.0779 21.9469 13.5572 21.4262L9.55719 17.4262C9.03649 16.9055 9.03649 16.0613 9.55719 15.5406C10.0779 15.0199 10.9221 15.0199 11.4428 15.5406L14.5 18.5978L21.5572 11.5406C22.0779 11.0199 22.9221 11.0199 23.4428 11.5406Z"}));export{t as S};
@@ -1 +1 @@
1
- import{r as e}from"./@radix-DeK6qiuw.js";const o=t=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.29289 8.29289C5.68342 7.90237 6.31658 7.90237 6.70711 8.29289L12 13.5858L17.2929 8.29289C17.6834 7.90237 18.3166 7.90237 18.7071 8.29289C19.0976 8.68342 19.0976 9.31658 18.7071 9.70711L12.7071 15.7071C12.3166 16.0976 11.6834 16.0976 11.2929 15.7071L5.29289 9.70711C4.90237 9.31658 4.90237 8.68342 5.29289 8.29289Z"}));export{o as S};
1
+ import{r as e}from"./@radix-B7OY3d6N.js";const o=t=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.29289 8.29289C5.68342 7.90237 6.31658 7.90237 6.70711 8.29289L12 13.5858L17.2929 8.29289C17.6834 7.90237 18.3166 7.90237 18.7071 8.29289C19.0976 8.68342 19.0976 9.31658 18.7071 9.70711L12.7071 15.7071C12.3166 16.0976 11.6834 16.0976 11.2929 15.7071L5.29289 9.70711C4.90237 9.31658 4.90237 8.68342 5.29289 8.29289Z"}));export{o as S};
@@ -1 +1 @@
1
- import{r as e}from"./@radix-DeK6qiuw.js";const l=t=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("g",{id:"chevron-right-double"},e.createElement("path",{id:"Icon (Stroke)",fillRule:"evenodd",clipRule:"evenodd",d:"M5.29289 6.29289C5.68342 5.90237 6.31658 5.90237 6.70711 6.29289L11.7071 11.2929C12.0976 11.6834 12.0976 12.3166 11.7071 12.7071L6.70711 17.7071C6.31658 18.0976 5.68342 18.0976 5.29289 17.7071C4.90237 17.3166 4.90237 16.6834 5.29289 16.2929L9.58579 12L5.29289 7.70711C4.90237 7.31658 4.90237 6.68342 5.29289 6.29289ZM12.2929 6.29289C12.6834 5.90237 13.3166 5.90237 13.7071 6.29289L18.7071 11.2929C19.0976 11.6834 19.0976 12.3166 18.7071 12.7071L13.7071 17.7071C13.3166 18.0976 12.6834 18.0976 12.2929 17.7071C11.9024 17.3166 11.9024 16.6834 12.2929 16.2929L16.5858 12L12.2929 7.70711C11.9024 7.31658 11.9024 6.68342 12.2929 6.29289Z"})));export{l as S};
1
+ import{r as e}from"./@radix-B7OY3d6N.js";const l=t=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("g",{id:"chevron-right-double"},e.createElement("path",{id:"Icon (Stroke)",fillRule:"evenodd",clipRule:"evenodd",d:"M5.29289 6.29289C5.68342 5.90237 6.31658 5.90237 6.70711 6.29289L11.7071 11.2929C12.0976 11.6834 12.0976 12.3166 11.7071 12.7071L6.70711 17.7071C6.31658 18.0976 5.68342 18.0976 5.29289 17.7071C4.90237 17.3166 4.90237 16.6834 5.29289 16.2929L9.58579 12L5.29289 7.70711C4.90237 7.31658 4.90237 6.68342 5.29289 6.29289ZM12.2929 6.29289C12.6834 5.90237 13.3166 5.90237 13.7071 6.29289L18.7071 11.2929C19.0976 11.6834 19.0976 12.3166 18.7071 12.7071L13.7071 17.7071C13.3166 18.0976 12.6834 18.0976 12.2929 17.7071C11.9024 17.3166 11.9024 16.6834 12.2929 16.2929L16.5858 12L12.2929 7.70711C11.9024 7.31658 11.9024 6.68342 12.2929 6.29289Z"})));export{l as S};
@@ -0,0 +1 @@
1
+ import{r as e}from"./@radix-B7OY3d6N.js";const t=C=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...C},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3ZM1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12ZM12 5C12.5523 5 13 5.44772 13 6V11.382L16.4472 13.1056C16.9412 13.3526 17.1414 13.9532 16.8944 14.4472C16.6474 14.9412 16.0468 15.1414 15.5528 14.8944L11.5528 12.8944C11.214 12.725 11 12.3788 11 12V6C11 5.44772 11.4477 5 12 5Z"}));export{t as S};
@@ -1 +1 @@
1
- import{r as C}from"./@radix-DeK6qiuw.js";const r=e=>C.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.75871 2L17.2413 2C18.0463 1.99999 18.7106 1.99998 19.2518 2.0442C19.8139 2.09012 20.3306 2.18869 20.816 2.43598C21.5686 2.81947 22.1805 3.43139 22.564 4.18404C22.8113 4.66938 22.9099 5.18608 22.9558 5.74818C23 6.28937 23 6.95372 23 7.75868V16.2413C23 17.0463 23 17.7106 22.9558 18.2518C22.9099 18.8139 22.8113 19.3306 22.564 19.816C22.1805 20.5686 21.5686 21.1805 20.816 21.564C20.3306 21.8113 19.8139 21.9099 19.2518 21.9558C18.7106 22 18.0463 22 17.2413 22H6.75877C5.95377 22 5.28939 22 4.74817 21.9558C4.18608 21.9099 3.66937 21.8113 3.18404 21.564C2.43139 21.1805 1.81947 20.5686 1.43597 19.816C1.18868 19.3306 1.09012 18.8139 1.04419 18.2518C0.999977 17.7106 0.999988 17.0463 1 16.2413L1 9.00066C1 9.00088 1 9.00044 1 9.00066C1 9.00044 1 8.99956 1 8.99934L1 7.7587C0.999988 6.95373 0.999977 6.28937 1.04419 5.74818C1.09012 5.18608 1.18868 4.66937 1.43598 4.18404C1.81947 3.43139 2.43139 2.81947 3.18404 2.43597C3.66938 2.18868 4.18608 2.09012 4.74818 2.04419C5.28937 1.99998 5.95374 1.99999 6.75871 2ZM3 10V16.2C3 17.0566 3.00078 17.6389 3.03755 18.089C3.07337 18.5274 3.1383 18.7516 3.21799 18.908C3.40973 19.2843 3.7157 19.5903 4.09202 19.782C4.24842 19.8617 4.47262 19.9266 4.91104 19.9624C5.36113 19.9992 5.94342 20 6.8 20H17.2C18.0566 20 18.6389 19.9992 19.089 19.9625C19.5274 19.9266 19.7516 19.8617 19.908 19.782C20.2843 19.5903 20.5903 19.2843 20.782 18.908C20.8617 18.7516 20.9266 18.5274 20.9625 18.089C20.9992 17.6389 21 17.0566 21 16.2V10H3ZM21 8H3V7.8C3 6.94342 3.00078 6.36113 3.03755 5.91104C3.07337 5.47262 3.1383 5.24842 3.21799 5.09202C3.40974 4.7157 3.7157 4.40973 4.09202 4.21799C4.24842 4.1383 4.47262 4.07337 4.91104 4.03755C5.36113 4.00078 5.94342 4 6.8 4L17.2 4C18.0566 4 18.6389 4.00078 19.089 4.03755C19.5274 4.07337 19.7516 4.1383 19.908 4.21799C20.2843 4.40974 20.5903 4.7157 20.782 5.09202C20.8617 5.24842 20.9266 5.47262 20.9625 5.91104C20.9992 6.36113 21 6.94342 21 7.8V8ZM10.7071 11.7929C11.0976 12.1834 11.0976 12.8166 10.7071 13.2071L8.91422 15L10.7071 16.7929C11.0976 17.1834 11.0976 17.8166 10.7071 18.2071C10.3166 18.5976 9.68342 18.5976 9.2929 18.2071L6.7929 15.7071C6.40237 15.3166 6.40237 14.6834 6.7929 14.2929L9.2929 11.7929C9.68342 11.4024 10.3166 11.4024 10.7071 11.7929ZM13.2929 11.7929C13.6834 11.4024 14.3166 11.4024 14.7071 11.7929L17.2071 14.2929C17.5976 14.6834 17.5976 15.3166 17.2071 15.7071L14.7071 18.2071C14.3166 18.5976 13.6834 18.5976 13.2929 18.2071C12.9024 17.8166 12.9024 17.1834 13.2929 16.7929L15.0858 15L13.2929 13.2071C12.9024 12.8166 12.9024 12.1834 13.2929 11.7929Z"}));export{r as S};
1
+ import{r as C}from"./@radix-B7OY3d6N.js";const r=e=>C.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.75871 2L17.2413 2C18.0463 1.99999 18.7106 1.99998 19.2518 2.0442C19.8139 2.09012 20.3306 2.18869 20.816 2.43598C21.5686 2.81947 22.1805 3.43139 22.564 4.18404C22.8113 4.66938 22.9099 5.18608 22.9558 5.74818C23 6.28937 23 6.95372 23 7.75868V16.2413C23 17.0463 23 17.7106 22.9558 18.2518C22.9099 18.8139 22.8113 19.3306 22.564 19.816C22.1805 20.5686 21.5686 21.1805 20.816 21.564C20.3306 21.8113 19.8139 21.9099 19.2518 21.9558C18.7106 22 18.0463 22 17.2413 22H6.75877C5.95377 22 5.28939 22 4.74817 21.9558C4.18608 21.9099 3.66937 21.8113 3.18404 21.564C2.43139 21.1805 1.81947 20.5686 1.43597 19.816C1.18868 19.3306 1.09012 18.8139 1.04419 18.2518C0.999977 17.7106 0.999988 17.0463 1 16.2413L1 9.00066C1 9.00088 1 9.00044 1 9.00066C1 9.00044 1 8.99956 1 8.99934L1 7.7587C0.999988 6.95373 0.999977 6.28937 1.04419 5.74818C1.09012 5.18608 1.18868 4.66937 1.43598 4.18404C1.81947 3.43139 2.43139 2.81947 3.18404 2.43597C3.66938 2.18868 4.18608 2.09012 4.74818 2.04419C5.28937 1.99998 5.95374 1.99999 6.75871 2ZM3 10V16.2C3 17.0566 3.00078 17.6389 3.03755 18.089C3.07337 18.5274 3.1383 18.7516 3.21799 18.908C3.40973 19.2843 3.7157 19.5903 4.09202 19.782C4.24842 19.8617 4.47262 19.9266 4.91104 19.9624C5.36113 19.9992 5.94342 20 6.8 20H17.2C18.0566 20 18.6389 19.9992 19.089 19.9625C19.5274 19.9266 19.7516 19.8617 19.908 19.782C20.2843 19.5903 20.5903 19.2843 20.782 18.908C20.8617 18.7516 20.9266 18.5274 20.9625 18.089C20.9992 17.6389 21 17.0566 21 16.2V10H3ZM21 8H3V7.8C3 6.94342 3.00078 6.36113 3.03755 5.91104C3.07337 5.47262 3.1383 5.24842 3.21799 5.09202C3.40974 4.7157 3.7157 4.40973 4.09202 4.21799C4.24842 4.1383 4.47262 4.07337 4.91104 4.03755C5.36113 4.00078 5.94342 4 6.8 4L17.2 4C18.0566 4 18.6389 4.00078 19.089 4.03755C19.5274 4.07337 19.7516 4.1383 19.908 4.21799C20.2843 4.40974 20.5903 4.7157 20.782 5.09202C20.8617 5.24842 20.9266 5.47262 20.9625 5.91104C20.9992 6.36113 21 6.94342 21 7.8V8ZM10.7071 11.7929C11.0976 12.1834 11.0976 12.8166 10.7071 13.2071L8.91422 15L10.7071 16.7929C11.0976 17.1834 11.0976 17.8166 10.7071 18.2071C10.3166 18.5976 9.68342 18.5976 9.2929 18.2071L6.7929 15.7071C6.40237 15.3166 6.40237 14.6834 6.7929 14.2929L9.2929 11.7929C9.68342 11.4024 10.3166 11.4024 10.7071 11.7929ZM13.2929 11.7929C13.6834 11.4024 14.3166 11.4024 14.7071 11.7929L17.2071 14.2929C17.5976 14.6834 17.5976 15.3166 17.2071 15.7071L14.7071 18.2071C14.3166 18.5976 13.6834 18.5976 13.2929 18.2071C12.9024 17.8166 12.9024 17.1834 13.2929 16.7929L15.0858 15L13.2929 13.2071C12.9024 12.8166 12.9024 12.1834 13.2929 11.7929Z"}));export{r as S};
@@ -1 +1 @@
1
- import{r as C}from"./@radix-DeK6qiuw.js";const l=e=>C.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.1458 4.05118C16.5289 4.00078 15.7366 4 14.6 4H7.5C6.94772 4 6.5 3.55229 6.5 3C6.5 2.44772 6.94772 2 7.5 2L14.6428 2C15.7266 1.99999 16.6007 1.99998 17.3086 2.05782C18.0375 2.11737 18.6777 2.24318 19.27 2.54497C20.2108 3.02433 20.9757 3.78924 21.455 4.73005C21.7568 5.32234 21.8826 5.96253 21.9422 6.69138C22 7.39925 22 8.27339 22 9.35717V16.5C22 17.0523 21.5523 17.5 21 17.5C20.4477 17.5 20 17.0523 20 16.5V9.4C20 8.26339 19.9992 7.47108 19.9488 6.85424C19.8994 6.24907 19.8072 5.90138 19.673 5.63803C19.3854 5.07354 18.9265 4.6146 18.362 4.32698C18.0986 4.19279 17.7509 4.10062 17.1458 4.05118ZM6.16146 5.5H14.3385C14.8657 5.49998 15.3205 5.49997 15.695 5.53057C16.0904 5.56287 16.4836 5.63419 16.862 5.82698C17.4265 6.1146 17.8854 6.57354 18.173 7.13803C18.3658 7.51641 18.4371 7.90963 18.4694 8.30497C18.5 8.67955 18.5 9.13432 18.5 9.66148V17.8385C18.5 18.3657 18.5 18.8205 18.4694 19.195C18.4371 19.5904 18.3658 19.9836 18.173 20.362C17.8854 20.9265 17.4265 21.3854 16.862 21.673C16.4836 21.8658 16.0904 21.9371 15.695 21.9694C15.3205 22 14.8657 22 14.3386 22H6.16144C5.6343 22 5.17954 22 4.80497 21.9694C4.40963 21.9371 4.01641 21.8658 3.63803 21.673C3.07354 21.3854 2.6146 20.9265 2.32698 20.362C2.13419 19.9836 2.06287 19.5904 2.03057 19.195C1.99997 18.8205 1.99998 18.3657 2 17.8385V9.66146C1.99998 9.13431 1.99997 8.67954 2.03057 8.30497C2.06287 7.90963 2.13419 7.51641 2.32698 7.13803C2.6146 6.57354 3.07354 6.1146 3.63803 5.82698C4.01641 5.63419 4.40963 5.56287 4.80497 5.53057C5.17955 5.49997 5.63431 5.49998 6.16146 5.5ZM4.96784 7.52393C4.69617 7.54612 4.59546 7.5838 4.54601 7.60899C4.35785 7.70487 4.20487 7.85785 4.109 8.04601C4.0838 8.09545 4.04612 8.19617 4.02393 8.46784C4.00078 8.75117 4 9.12345 4 9.7V17.8C4 18.3766 4.00078 18.7488 4.02393 19.0322C4.04612 19.3038 4.0838 19.4045 4.109 19.454C4.20487 19.6422 4.35785 19.7951 4.54601 19.891C4.59546 19.9162 4.69617 19.9539 4.96784 19.9761C5.25118 19.9992 5.62345 20 6.2 20H14.3C14.8766 20 15.2488 19.9992 15.5322 19.9761C15.8038 19.9539 15.9045 19.9162 15.954 19.891C16.1422 19.7951 16.2951 19.6422 16.391 19.454C16.4162 19.4045 16.4539 19.3038 16.4761 19.0322C16.4992 18.7488 16.5 18.3766 16.5 17.8V9.7C16.5 9.12345 16.4992 8.75117 16.4761 8.46784C16.4539 8.19617 16.4162 8.09545 16.391 8.04601C16.2951 7.85785 16.1422 7.70487 15.954 7.60899C15.9045 7.5838 15.8038 7.54612 15.5322 7.52393C15.2488 7.50078 14.8766 7.5 14.3 7.5H6.2C5.62345 7.5 5.25118 7.50078 4.96784 7.52393Z"}));export{l as S};
1
+ import{r as C}from"./@radix-B7OY3d6N.js";const l=e=>C.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.1458 4.05118C16.5289 4.00078 15.7366 4 14.6 4H7.5C6.94772 4 6.5 3.55229 6.5 3C6.5 2.44772 6.94772 2 7.5 2L14.6428 2C15.7266 1.99999 16.6007 1.99998 17.3086 2.05782C18.0375 2.11737 18.6777 2.24318 19.27 2.54497C20.2108 3.02433 20.9757 3.78924 21.455 4.73005C21.7568 5.32234 21.8826 5.96253 21.9422 6.69138C22 7.39925 22 8.27339 22 9.35717V16.5C22 17.0523 21.5523 17.5 21 17.5C20.4477 17.5 20 17.0523 20 16.5V9.4C20 8.26339 19.9992 7.47108 19.9488 6.85424C19.8994 6.24907 19.8072 5.90138 19.673 5.63803C19.3854 5.07354 18.9265 4.6146 18.362 4.32698C18.0986 4.19279 17.7509 4.10062 17.1458 4.05118ZM6.16146 5.5H14.3385C14.8657 5.49998 15.3205 5.49997 15.695 5.53057C16.0904 5.56287 16.4836 5.63419 16.862 5.82698C17.4265 6.1146 17.8854 6.57354 18.173 7.13803C18.3658 7.51641 18.4371 7.90963 18.4694 8.30497C18.5 8.67955 18.5 9.13432 18.5 9.66148V17.8385C18.5 18.3657 18.5 18.8205 18.4694 19.195C18.4371 19.5904 18.3658 19.9836 18.173 20.362C17.8854 20.9265 17.4265 21.3854 16.862 21.673C16.4836 21.8658 16.0904 21.9371 15.695 21.9694C15.3205 22 14.8657 22 14.3386 22H6.16144C5.6343 22 5.17954 22 4.80497 21.9694C4.40963 21.9371 4.01641 21.8658 3.63803 21.673C3.07354 21.3854 2.6146 20.9265 2.32698 20.362C2.13419 19.9836 2.06287 19.5904 2.03057 19.195C1.99997 18.8205 1.99998 18.3657 2 17.8385V9.66146C1.99998 9.13431 1.99997 8.67954 2.03057 8.30497C2.06287 7.90963 2.13419 7.51641 2.32698 7.13803C2.6146 6.57354 3.07354 6.1146 3.63803 5.82698C4.01641 5.63419 4.40963 5.56287 4.80497 5.53057C5.17955 5.49997 5.63431 5.49998 6.16146 5.5ZM4.96784 7.52393C4.69617 7.54612 4.59546 7.5838 4.54601 7.60899C4.35785 7.70487 4.20487 7.85785 4.109 8.04601C4.0838 8.09545 4.04612 8.19617 4.02393 8.46784C4.00078 8.75117 4 9.12345 4 9.7V17.8C4 18.3766 4.00078 18.7488 4.02393 19.0322C4.04612 19.3038 4.0838 19.4045 4.109 19.454C4.20487 19.6422 4.35785 19.7951 4.54601 19.891C4.59546 19.9162 4.69617 19.9539 4.96784 19.9761C5.25118 19.9992 5.62345 20 6.2 20H14.3C14.8766 20 15.2488 19.9992 15.5322 19.9761C15.8038 19.9539 15.9045 19.9162 15.954 19.891C16.1422 19.7951 16.2951 19.6422 16.391 19.454C16.4162 19.4045 16.4539 19.3038 16.4761 19.0322C16.4992 18.7488 16.5 18.3766 16.5 17.8V9.7C16.5 9.12345 16.4992 8.75117 16.4761 8.46784C16.4539 8.19617 16.4162 8.09545 16.391 8.04601C16.2951 7.85785 16.1422 7.70487 15.954 7.60899C15.9045 7.5838 15.8038 7.54612 15.5322 7.52393C15.2488 7.50078 14.8766 7.5 14.3 7.5H6.2C5.62345 7.5 5.25118 7.50078 4.96784 7.52393Z"}));export{l as S};
@@ -1 +1 @@
1
- import{r as o,j as n}from"./@radix-DeK6qiuw.js";import{n as i,F as d,p as u,q as m}from"./index-CxO6541P.js";import{b as p}from"./@tanstack-DT5WLu9C.js";const l=o.forwardRef(({className:e,...a},t)=>n.jsx("label",{ref:t,...a,className:i("flex w-full items-center gap-2 space-x-2 rounded-md border border-theme-border-moderate p-4 font-semibold transition-shadow duration-150 hover:cursor-pointer hover:shadow-sm data-[state=selected]:border-theme-surface-strong",e)}));l.displayName="RadioItemLabel";const f=o.forwardRef(({className:e,type:a,...t},r)=>n.jsx("input",{type:"radio",ref:r,...t,className:i("h-3 w-3 border !border-theme-border-bold text-theme-surface-primary focus:ring-2 focus:ring-theme-surface-strong",e)}));f.displayName="RadioItem";async function h({workspaceId:e,payload:a}){const t=u(m.workspaces.stacks(e)),r=await fetch(t,{method:"POST",credentials:"include",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)});if(!r.ok){const c=await r.json().then(s=>Array.isArray(s.detail)?s.detail[1]:s.detail).catch(()=>"Error while creating new stack");throw new d({status:r.status,statusText:r.statusText,message:c})}return r.json()}function x(e){return p({...e,mutationFn:async({workspaceId:a,payload:t})=>h({workspaceId:a,payload:t})})}export{l as R,f as a,x as u};
1
+ import{r as o,j as n}from"./@radix-B7OY3d6N.js";import{n as i,F as d,p as u,q as m}from"./index-D25WcEJJ.js";import{b as p}from"./@tanstack-W1pLDzVg.js";const l=o.forwardRef(({className:e,...a},t)=>n.jsx("label",{ref:t,...a,className:i("flex w-full items-center gap-2 space-x-2 rounded-md border border-theme-border-moderate p-4 font-semibold transition-shadow duration-150 hover:cursor-pointer hover:shadow-sm data-[state=selected]:border-theme-surface-strong",e)}));l.displayName="RadioItemLabel";const f=o.forwardRef(({className:e,type:a,...t},r)=>n.jsx("input",{type:"radio",ref:r,...t,className:i("h-3 w-3 border !border-theme-border-bold text-theme-surface-primary focus:ring-2 focus:ring-theme-surface-strong",e)}));f.displayName="RadioItem";async function h({workspaceId:e,payload:a}){const t=u(m.workspaces.stacks(e)),r=await fetch(t,{method:"POST",credentials:"include",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)});if(!r.ok){const c=await r.json().then(s=>Array.isArray(s.detail)?s.detail[1]:s.detail).catch(()=>"Error while creating new stack");throw new d({status:r.status,statusText:r.statusText,message:c})}return r.json()}function x(e){return p({...e,mutationFn:async({workspaceId:a,payload:t})=>h({workspaceId:a,payload:t})})}export{l as R,f as a,x as u};
@@ -1 +1 @@
1
- import{F as o,p as r,q as i}from"./index-CxO6541P.js";import{b as u}from"./@tanstack-DT5WLu9C.js";async function c({runId:e}){const a=r(i.runs.detail(e)),t=await fetch(a,{method:"DELETE",credentials:"include",headers:{"Content-Type":"application/json"}});if(!t.ok){const s=await t.json().then(n=>n.detail).catch(()=>`Failed to delete run ${e}`);throw new o({status:t.status,statusText:t.statusText,message:s})}return t.json()}function p(e){return u({mutationFn:c,...e})}export{p as u};
1
+ import{F as o,p as r,q as i}from"./index-D25WcEJJ.js";import{b as u}from"./@tanstack-W1pLDzVg.js";async function c({runId:e}){const a=r(i.runs.detail(e)),t=await fetch(a,{method:"DELETE",credentials:"include",headers:{"Content-Type":"application/json"}});if(!t.ok){const s=await t.json().then(n=>n.detail).catch(()=>`Failed to delete run ${e}`);throw new o({status:t.status,statusText:t.statusText,message:s})}return t.json()}function p(e){return u({mutationFn:c,...e})}export{p as u};
@@ -1 +1 @@
1
- import{r as C}from"./@radix-DeK6qiuw.js";const l=e=>C.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{d:"M21.6613 9.95778C21.6071 9.9147 21.1007 9.53236 20.0329 9.53236C19.7509 9.53359 19.4695 9.55777 19.1914 9.60469C18.9848 8.18806 17.8136 7.49738 17.761 7.46639L17.4743 7.30103L17.2857 7.57317C17.0495 7.93875 16.8771 8.34175 16.7759 8.76504C16.5847 9.5737 16.7009 10.3332 17.1117 10.9826C16.6157 11.259 15.82 11.3271 15.6589 11.3331H2.48463C2.14053 11.3335 1.8613 11.6116 1.85942 11.9557C1.84406 13.1098 2.03959 14.2571 2.43641 15.341C2.89024 16.5311 3.56541 17.4078 4.44382 17.9443C5.42815 18.5472 7.02735 18.8916 8.84013 18.8916C9.65906 18.8942 10.4765 18.8201 11.2816 18.6703C12.4008 18.4648 13.4778 18.0736 14.4679 17.5129C15.2838 17.0404 16.0181 16.4393 16.6424 15.7328C17.6862 14.5513 18.308 13.2354 18.7704 12.0659C18.8324 12.0659 18.8944 12.0659 18.9547 12.0659C20.0975 12.0659 20.8002 11.6086 21.1877 11.2254C21.4453 10.981 21.6463 10.6833 21.7768 10.3531L21.8586 10.1137L21.6613 9.95778Z",fill:"#0091E2"}),C.createElement("path",{d:"M3.70578 10.9474H5.47119C5.55634 10.9474 5.62533 10.8783 5.62533 10.7932V9.22068C5.62581 9.13554 5.55717 9.06615 5.47206 9.06567C5.47178 9.06567 5.47147 9.06567 5.47119 9.06567H3.70578C3.62063 9.06567 3.55164 9.1347 3.55164 9.21981C3.55164 9.22009 3.55164 9.2204 3.55164 9.22068V10.7932C3.55164 10.8783 3.62063 10.9474 3.70578 10.9474Z",fill:"#0091E2"}),C.createElement("path",{d:"M6.13862 10.9474H7.90403C7.98918 10.9474 8.05817 10.8783 8.05817 10.7932V9.22068C8.05865 9.13554 7.99002 9.06615 7.90487 9.06567C7.90459 9.06567 7.90428 9.06567 7.904 9.06567H6.13859C6.05297 9.06567 5.98358 9.13506 5.98358 9.22068V10.7932C5.98409 10.8785 6.05333 10.9474 6.13862 10.9474Z",fill:"#0091E2"}),C.createElement("path",{d:"M8.60845 10.9474H10.3739C10.459 10.9474 10.528 10.8783 10.528 10.7932V9.22068C10.5285 9.13554 10.4599 9.06615 10.3747 9.06567C10.3744 9.06567 10.3741 9.06567 10.3738 9.06567H8.60843C8.52328 9.06567 8.45428 9.1347 8.45428 9.21981C8.45428 9.22009 8.45428 9.2204 8.45428 9.22068V10.7932C8.45431 10.8783 8.52334 10.9474 8.60845 10.9474Z",fill:"#0091E2"}),C.createElement("path",{d:"M11.049 10.9474H12.8145C12.8997 10.9474 12.969 10.8785 12.9695 10.7932V9.22068C12.9695 9.13506 12.9001 9.06567 12.8145 9.06567H11.049C10.9639 9.06567 10.8949 9.1347 10.8949 9.21981C10.8949 9.22009 10.8949 9.2204 10.8949 9.22068V10.7932C10.8949 10.8783 10.9639 10.9474 11.049 10.9474Z",fill:"#0091E2"}),C.createElement("path",{d:"M6.13859 8.685H7.904C7.98926 8.68452 8.05814 8.61525 8.05814 8.52999V6.95749C8.05814 6.87234 7.98912 6.80334 7.904 6.80334H6.13859C6.05333 6.80334 5.98406 6.8722 5.98358 6.95749V8.52999C5.98406 8.61542 6.05316 8.68452 6.13859 8.685Z",fill:"#0091E2"}),C.createElement("path",{d:"M8.60849 8.685H10.3739C10.4592 8.68452 10.528 8.61525 10.528 8.52999V6.95749C10.528 6.87234 10.459 6.80334 10.3739 6.80334H8.60849C8.52334 6.80334 8.45435 6.87237 8.45435 6.95749V8.52999C8.45435 8.61525 8.52323 8.68452 8.60849 8.685Z",fill:"#0091E2"}),C.createElement("path",{d:"M11.049 8.685H12.8145C12.8999 8.68452 12.969 8.61542 12.9695 8.52999V6.95749C12.969 6.8722 12.8997 6.80334 12.8145 6.80334H11.049C10.9639 6.80334 10.8949 6.87237 10.8949 6.95749V8.52999C10.8949 8.61525 10.9638 8.68452 11.049 8.685Z",fill:"#0091E2"}),C.createElement("path",{d:"M11.049 6.42184H12.8145C12.8997 6.42184 12.969 6.35296 12.9695 6.2677V4.6943C12.969 4.60902 12.8997 4.54016 12.8145 4.54016H11.049C10.9639 4.54016 10.8949 4.60916 10.8949 4.6943V6.26768C10.8949 6.35282 10.9639 6.42184 11.049 6.42184Z",fill:"#0091E2"}),C.createElement("path",{d:"M13.5111 10.9474H15.2765C15.3618 10.9474 15.4311 10.8785 15.4316 10.7932V9.22068C15.4316 9.13506 15.3622 9.06567 15.2765 9.06567H13.5111C13.426 9.06567 13.357 9.1347 13.357 9.21981C13.357 9.22009 13.357 9.2204 13.357 9.22068V10.7932C13.357 10.8783 13.426 10.9474 13.5111 10.9474Z",fill:"#0091E2"}));export{l as S};
1
+ import{r as C}from"./@radix-B7OY3d6N.js";const l=e=>C.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{d:"M21.6613 9.95778C21.6071 9.9147 21.1007 9.53236 20.0329 9.53236C19.7509 9.53359 19.4695 9.55777 19.1914 9.60469C18.9848 8.18806 17.8136 7.49738 17.761 7.46639L17.4743 7.30103L17.2857 7.57317C17.0495 7.93875 16.8771 8.34175 16.7759 8.76504C16.5847 9.5737 16.7009 10.3332 17.1117 10.9826C16.6157 11.259 15.82 11.3271 15.6589 11.3331H2.48463C2.14053 11.3335 1.8613 11.6116 1.85942 11.9557C1.84406 13.1098 2.03959 14.2571 2.43641 15.341C2.89024 16.5311 3.56541 17.4078 4.44382 17.9443C5.42815 18.5472 7.02735 18.8916 8.84013 18.8916C9.65906 18.8942 10.4765 18.8201 11.2816 18.6703C12.4008 18.4648 13.4778 18.0736 14.4679 17.5129C15.2838 17.0404 16.0181 16.4393 16.6424 15.7328C17.6862 14.5513 18.308 13.2354 18.7704 12.0659C18.8324 12.0659 18.8944 12.0659 18.9547 12.0659C20.0975 12.0659 20.8002 11.6086 21.1877 11.2254C21.4453 10.981 21.6463 10.6833 21.7768 10.3531L21.8586 10.1137L21.6613 9.95778Z",fill:"#0091E2"}),C.createElement("path",{d:"M3.70578 10.9474H5.47119C5.55634 10.9474 5.62533 10.8783 5.62533 10.7932V9.22068C5.62581 9.13554 5.55717 9.06615 5.47206 9.06567C5.47178 9.06567 5.47147 9.06567 5.47119 9.06567H3.70578C3.62063 9.06567 3.55164 9.1347 3.55164 9.21981C3.55164 9.22009 3.55164 9.2204 3.55164 9.22068V10.7932C3.55164 10.8783 3.62063 10.9474 3.70578 10.9474Z",fill:"#0091E2"}),C.createElement("path",{d:"M6.13862 10.9474H7.90403C7.98918 10.9474 8.05817 10.8783 8.05817 10.7932V9.22068C8.05865 9.13554 7.99002 9.06615 7.90487 9.06567C7.90459 9.06567 7.90428 9.06567 7.904 9.06567H6.13859C6.05297 9.06567 5.98358 9.13506 5.98358 9.22068V10.7932C5.98409 10.8785 6.05333 10.9474 6.13862 10.9474Z",fill:"#0091E2"}),C.createElement("path",{d:"M8.60845 10.9474H10.3739C10.459 10.9474 10.528 10.8783 10.528 10.7932V9.22068C10.5285 9.13554 10.4599 9.06615 10.3747 9.06567C10.3744 9.06567 10.3741 9.06567 10.3738 9.06567H8.60843C8.52328 9.06567 8.45428 9.1347 8.45428 9.21981C8.45428 9.22009 8.45428 9.2204 8.45428 9.22068V10.7932C8.45431 10.8783 8.52334 10.9474 8.60845 10.9474Z",fill:"#0091E2"}),C.createElement("path",{d:"M11.049 10.9474H12.8145C12.8997 10.9474 12.969 10.8785 12.9695 10.7932V9.22068C12.9695 9.13506 12.9001 9.06567 12.8145 9.06567H11.049C10.9639 9.06567 10.8949 9.1347 10.8949 9.21981C10.8949 9.22009 10.8949 9.2204 10.8949 9.22068V10.7932C10.8949 10.8783 10.9639 10.9474 11.049 10.9474Z",fill:"#0091E2"}),C.createElement("path",{d:"M6.13859 8.685H7.904C7.98926 8.68452 8.05814 8.61525 8.05814 8.52999V6.95749C8.05814 6.87234 7.98912 6.80334 7.904 6.80334H6.13859C6.05333 6.80334 5.98406 6.8722 5.98358 6.95749V8.52999C5.98406 8.61542 6.05316 8.68452 6.13859 8.685Z",fill:"#0091E2"}),C.createElement("path",{d:"M8.60849 8.685H10.3739C10.4592 8.68452 10.528 8.61525 10.528 8.52999V6.95749C10.528 6.87234 10.459 6.80334 10.3739 6.80334H8.60849C8.52334 6.80334 8.45435 6.87237 8.45435 6.95749V8.52999C8.45435 8.61525 8.52323 8.68452 8.60849 8.685Z",fill:"#0091E2"}),C.createElement("path",{d:"M11.049 8.685H12.8145C12.8999 8.68452 12.969 8.61542 12.9695 8.52999V6.95749C12.969 6.8722 12.8997 6.80334 12.8145 6.80334H11.049C10.9639 6.80334 10.8949 6.87237 10.8949 6.95749V8.52999C10.8949 8.61525 10.9638 8.68452 11.049 8.685Z",fill:"#0091E2"}),C.createElement("path",{d:"M11.049 6.42184H12.8145C12.8997 6.42184 12.969 6.35296 12.9695 6.2677V4.6943C12.969 4.60902 12.8997 4.54016 12.8145 4.54016H11.049C10.9639 4.54016 10.8949 4.60916 10.8949 4.6943V6.26768C10.8949 6.35282 10.9639 6.42184 11.049 6.42184Z",fill:"#0091E2"}),C.createElement("path",{d:"M13.5111 10.9474H15.2765C15.3618 10.9474 15.4311 10.8785 15.4316 10.7932V9.22068C15.4316 9.13506 15.3622 9.06567 15.2765 9.06567H13.5111C13.426 9.06567 13.357 9.1347 13.357 9.21981C13.357 9.22009 13.357 9.2204 13.357 9.22068V10.7932C13.357 10.8783 13.426 10.9474 13.5111 10.9474Z",fill:"#0091E2"}));export{l as S};
@@ -1 +1 @@
1
- import{r as e}from"./@radix-DeK6qiuw.js";const o=t=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 12C3 10.8954 3.89543 10 5 10C6.10457 10 7 10.8954 7 12C7 13.1046 6.10457 14 5 14C3.89543 14 3 13.1046 3 12ZM10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12ZM17 12C17 10.8954 17.8954 10 19 10C20.1046 10 21 10.8954 21 12C21 13.1046 20.1046 14 19 14C17.8954 14 17 13.1046 17 12Z"}));export{o as S};
1
+ import{r as e}from"./@radix-B7OY3d6N.js";const o=t=>e.createElement("svg",{viewBox:"0 0 24 24",fill:"black",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 12C3 10.8954 3.89543 10 5 10C6.10457 10 7 10.8954 7 12C7 13.1046 6.10457 14 5 14C3.89543 14 3 13.1046 3 12ZM10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12ZM17 12C17 10.8954 17.8954 10 19 10C20.1046 10 21 10.8954 21 12C21 13.1046 20.1046 14 19 14C17.8954 14 17 13.1046 17 12Z"}));export{o as S};